Sam El-Husseini
8475976103
Fix start hats ( #3651 )
2020-01-24 13:02:27 -08:00
Beka Westberg
025d087e6a
fix: Fixed insertion preview logic. And fixed markers not handling typed statements. ( #3526 )
...
* Added planned functions.
* Added default getConnectionPreviewMethod method.
* Moved show preview logic into their new functions.
* Fixed default getConnectinPreviewMethod logic.
* Reverted to lastConnectionInRow call (for output connections) for behavioral backwards-compat.
* Added zelos logic.
* Removed unused functions, and added docs.
2020-01-24 07:49:31 -08:00
Monica Kozbial
26a11faf49
Update CSS rules for cursor. ( #3627 )
2020-01-22 11:41:59 -08:00
Sam El-Husseini
af84e6a40c
Zelos rename highlightfilter ( #3630 )
...
* Rename highlight filter to selected filter
* Update comment
2020-01-22 11:07:45 -08:00
Sam El-Husseini
6a4251b11a
Add constant for field dropdown arrow padding ( #3581 )
...
* Add constants for field dropdown arrow padding for more control over where the arrow shows up.
2020-01-14 13:27:47 -08:00
Sam El-Husseini
899162c420
Fix zelos top row spacer height when it precedes a statement input. ( #3587 )
2020-01-13 18:39:24 -08:00
Sam El-Husseini
4f80bd6cbf
Simplify zelos tight nesting logic ( #3583 )
2020-01-13 15:47:54 -08:00
Sam El-Husseini
8013f80251
Start hat support in zelos. ( #3580 )
...
* Start hat support in zelos.
2020-01-13 13:22:49 -08:00
Sam El-Husseini
1661d640d6
Geras inline alignment of rows + max bottom row width ( #3575 )
...
* Add a desired width getter method for input rows. Override in geras to fix the width of the bottom row and statement input to a max width.
2020-01-13 10:40:52 -08:00
Sam El-Husseini
8b50df01c0
Fix zelos statement input alignment for spacers ( #3578 )
2020-01-13 10:32:49 -08:00
Sam El-Husseini
e162f3b45f
[zelos] Don't add next notch in a statement input if the connection block doesn't have a next connection ( #3562 )
...
* Don't add a next notch for statement inputs that have a connected block without a next connection.
2020-01-09 08:37:20 -08:00
Sam El-Husseini
e530f209cd
Fix bug in zelos tight nesting code. ( #3565 )
2020-01-08 08:47:10 -08:00
Sam El-Husseini
8151b94c2c
Add output shape on a block. Add squared shape. ( #3558 )
...
* Add output shape on the block. Add squared shape.
2020-01-07 14:10:51 -08:00
Sam El-Husseini
267877115f
Adjust single field row alignment so that it takes up less vertical space ( #3557 )
2020-01-07 13:52:57 -08:00
Sam El-Husseini
8d6ff39e64
[zelos] Support dropdown fields with no border rect ( #3547 )
...
* Dropdown fields without a border rect.
2020-01-06 13:16:59 -08:00
Sam El-Husseini
ec0ba27afc
Reduce an empty row surrounded by statement inputs to match size of bottom row ( #3544 )
2020-01-06 12:39:07 -08:00
Sam El-Husseini
6794f282d4
[zelos] Fix breakout loop block ( #3545 )
...
* Fix breakout loop block by only applying the small padding if the block doesn't have a statement input
2020-01-06 12:38:54 -08:00
Sam El-Husseini
b6596ceddb
Deal with the case where we have two dummy inputs on the same row, one with left alignment and the other right. ( #3540 )
2020-01-03 15:31:28 -08:00
Sam El-Husseini
8c80c3e509
[zelos] Bump / tight nest for all rows that are preceded and followed by a notch ( #3541 )
...
* Bump inputs past notch for every row that has a prev and next notch. Use the same logic for tight nesting.
2020-01-03 15:31:11 -08:00
Sam El-Husseini
3d66eab311
[zelos] Output connection position ( #3516 )
...
* Move connection point for output connections to the left and centerline
2019-12-16 14:06:10 -08:00
Sam El-Husseini
88451457a2
[zelos] Jagged teeth ( #3514 )
...
* Update jagged teeth code to use height / width, and use 0 for zelos.
2019-12-16 14:05:50 -08:00
Sam El-Husseini
38e2b9d3ca
[zelos] Statement input centreline ( #3513 )
...
* Make statement inputs in zelos use the top row centreline.
2019-12-15 02:34:58 -08:00
Sam El-Husseini
c892496668
Update zelos constants to use GRID UNIT, add shadow dummy input height ( #3515 )
2019-12-15 02:34:39 -08:00
Sam El-Husseini
595bc5270f
Remove BEFORE/AFTER statement input spacer measurable ( #3506 )
...
* Remove before / after statement input measurable and use spacer properties instead.
2019-12-11 19:29:31 -08:00
Sam El-Husseini
adc06cc544
[zelos] Add extra offset for statement input to account for right corner width ( #3508 )
...
* Add additional offset to the statement input in zelos to account for the width of right corner.
* inside corners
2019-12-11 17:00:22 -08:00
Sam El-Husseini
bb5939f77c
[zelos] Multi-line rendering ( #3501 )
...
* Add isMultiRow property and computation for padding with multirow blocks.
2019-12-11 14:12:36 -08:00
Sam El-Husseini
2b335dcb6b
Make alignment common renderer behaviour ( #3498 )
...
* Make alignment common
2019-12-11 13:42:10 -08:00
Sam El-Husseini
38fe5189bb
[zelos] Limit vertical tightnesting ( #3504 )
...
* Limit vertical tight nesting to blocks with a certain height
* Use const.
2019-12-10 16:51:36 -08:00
Sam El-Husseini
5852bef90d
Inject constants CSS in createDom ( #3502 )
...
* Inject constants CSS in createDom instead. Use a random identifier to pre-emptively set CSS that uses the disabled pattern id.
2019-12-10 15:00:32 -08:00
Sam El-Husseini
8cbec2eaee
Make checkbox field width a constant. ( #3499 )
2019-12-10 08:32:26 -08:00
Sam El-Husseini
63f7af115c
[zelos] Set field rect background colour ( #3500 )
...
* More consistent field rect colour in zelos. Only overriding in full block fields. Fix disabled block colours.
* Use a better constant name and fix build.
2019-12-10 08:31:43 -08:00
Sam El-Husseini
a779d44104
Reduce the vertical spacing for spacers before and after an input row if it contains non-shadow connected blocks. ( #3496 )
2019-12-09 13:17:00 -08:00
Sam El-Husseini
f5bb5b6143
Zelos horizontal tight nesting. ( #3490 )
...
* Reduce the amount of implicit spacing added by the connection shape by adding negative spacing to the first and last spacer in an output block
2019-12-06 10:51:50 -08:00
Sam El-Husseini
55997784ca
Move blockStyles into constants ( #3485 )
...
* Move blockStyles into constants.
2019-12-06 10:51:36 -08:00
Sam El-Husseini
4eb791bd70
[zelos] Add right connection shape element. ( #3488 )
...
* Add right connection shape element
2019-12-05 17:51:39 -08:00
Sam El-Husseini
bcb9e949d2
Adjust zelos spacing constants ( #3487 )
2019-12-05 11:20:51 -08:00
alschmiedt
10b3a9aa9a
Refactor marker and cursor ( #3484 )
...
* Refactor marker and cursor
2019-12-04 14:50:58 -08:00
Sam El-Husseini
e5cb8e753e
Move CSS to constants ( #3482 )
2019-12-04 09:46:18 -08:00
Sam El-Husseini
b038c1cef5
[zelos] Set dropdown div colour to match block colour ( #3462 )
...
* Set dropdown div colour to match block colour
2019-11-27 09:30:29 -08:00
Sam El-Husseini
9fcc532977
[zelos] Cross browser pixel perfect text input ( #3466 )
...
* Align text and widget div text input pixel perfect on all browsers
2019-11-25 15:54:24 -08:00
Sam El-Husseini
5ddf374327
[zelos] bump fields to min x position ( #3464 )
...
* Bump up all non-text fields in the first row to a min x position.
2019-11-25 15:40:46 -08:00
Sam El-Husseini
f4431b3361
[Zelos] apply Colour ( #3465 )
...
* Only apply colour from a single entry point. Zelos rendering apply colour
2019-11-25 14:18:10 -08:00
Sam El-Husseini
30a49c3225
Statement inputs have minimum widths. ( #3463 )
2019-11-22 13:53:49 -08:00
Sam El-Husseini
2a8e7d9ac8
[zelos] Full field colour ( #3461 )
...
* Support showing the colour value on the entire block.
2019-11-22 13:50:33 -08:00
Sam El-Husseini
426e17a06d
Move more CSS into renderers. ( #3455 )
...
* Move more CSS into renderers.
2019-11-20 11:57:37 -08:00
Sam El-Husseini
329a21c572
Add theme and renderer classnames onto the widget and dropdown div. ( #3456 )
...
* Add theme and renderer classnames onto the widget and dropdown div.
2019-11-20 11:07:39 -08:00
Sam El-Husseini
24627f0b3e
Fix zelos flickering in flyout ( #3448 )
2019-11-19 08:41:00 -08:00
Sam El-Husseini
70c24cf94e
CSS in renderers ( #3446 )
...
* Have each renderer declare some CSS that is specific to the renderer.
2019-11-18 16:14:19 -08:00
Sam El-Husseini
3c120f9d46
Highlight input shape in Zelos ( #3444 )
...
* Highlight shape for input in zelos rendering
2019-11-15 13:14:39 -08:00
Sam El-Husseini
d8476306f4
Fix up more zelos spacing ( #3445 )
...
* Fix up more of zelos spacing
2019-11-14 16:04:46 -08:00