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
Monica Kozbial
26db9167db
Move of render contant START_HAT into ConstantProvider. ( #3563 )
...
* Move of render contant START_HAT into ConstantProvider.
2020-01-07 16:18:05 -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
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
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
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
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
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
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
Rachel Fenichel
c2bf971947
Merge pull request #3474 from rachel-fenichel/constant_comments
...
Add comments to many rendering constants
2019-11-25 16:54:20 -08:00
Rachel Fenichel
8d92b05e6a
Type annotation
2019-11-25 16:50:03 -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
Rachel Fenichel
17b40dfc67
Add comments to many rendering constants
2019-11-25 14:45:59 -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
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
139382e009
Field textinput pixel perfect input ( #3443 )
...
* Fix sizing of text input field in zelos, pixel perfect input in other browsers
2019-11-14 16:13:22 -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
Sam El-Husseini
c868a86bdd
Field dropdown with an SVG arrow ( #3442 )
...
* Add SVG arrow as an option on the dropdown field
2019-11-14 15:00:49 -08:00
alschmiedt
564af764d0
Cursor renderer ( #3440 )
...
* Initial commit for adding the cursor to renderer
2019-11-14 13:36:29 -08:00
Sam El-Husseini
2dea7038d5
Moves field layout constants into the renderer ( #3437 )
...
* Add field constants into renderer constants
2019-11-13 16:41:35 -08:00
Rachel Fenichel
939bafddd8
Merge branch 'develop' into single_field_blocks
2019-11-12 11:52:03 -08:00
Sam El-Husseini
95f2b232b9
Field constants ( #3423 )
...
* Move field text sizing constants to renderer constants
2019-11-11 16:13:50 -08:00
Rachel Fenichel
5f4a308a40
Full-block editors for single-field reporters.
2019-11-11 14:32:31 -08:00
Rachel Fenichel
13e4d671c3
Moved setHighlighted and setDisabled into the path object.
2019-11-01 14:28:51 -07:00
Rachel Fenichel
46f323971a
Move filter and pattern creation from inject into constants.
2019-11-01 13:32:17 -07:00
Sam El-Husseini
e7752e6ea2
Dummy input right alignment ( #3342 )
...
* Fix dummy input alignment in geras.
2019-10-28 16:20:54 -07:00
Sam El-Husseini
06b5bb1945
Might right corner support to common. Making it so there's always a right corner element, square by default. ( #3311 )
2019-10-23 21:58:43 -04:00
Sam El-Husseini
3d6eb48937
Render a notch after a statement input in zelos ( #3326 )
2019-10-23 21:58:18 -04:00
Rachel Fenichel
9ce41598c0
Clean up todos.
2019-10-07 13:25:47 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Monica Kozbial
21c5698e98
Moving DARK_PATH_OFFSET to geras only. ( #3066 )
...
* Moving DARK_PATH_OFFSET to geras.
* Adding compressed and uncompressed files.
* Adding missing newlines
* Reverting commit of messages.
* Reverting compressed files.
* Updating compressed files.
* Addressing PR comments.
* Removing unecessary input overrides.
2019-09-23 15:57:59 -07:00
Rachel Fenichel
77185906d8
Renderers define which paths a block has. ( #2981 )
...
* Move render elements into a path object.
2019-09-16 12:13:32 -07:00
Neil Fraser
23caa12571
Error is a constructor, ‘new’ is not required.
2019-09-12 18:02:59 -07:00
Rachel Fenichel
4b17234cba
Alphabetize requires
2019-09-10 13:01:13 -07:00
kozbial
e063ae5a38
Simplify statement input height computation logic.
2019-08-27 16:50:09 -07:00
Rachel Fenichel
d28c5dd8be
Rename rendering files and folders
2019-08-26 10:48:44 -07:00