Andy O'Neill
ffcd546474
feat: add quaternary color for selected dropdowns
2023-03-02 13:46:07 -05:00
Rachel Fenichel
3c992dee6a
More lint and small changes from Blockly
2018-04-30 15:42:02 -07:00
Rachel Fenichel
413faaa778
Switch to Blockly.Field.fromJson
2018-04-17 14:15:18 -07:00
Rachel Fenichel
ed072e258c
Return early from field init if the field has already been initialized.
2017-11-16 14:27:31 -08:00
Rachel Fenichel
e802fb921b
Unify code for positioning the widget div ( #1334 )
...
* New widget div functions, used in context menu code
* Make all widget div positioning functions use the same argument order
* Use new widget div functions for fields
* share code for measuring menu size
* Get rid of positionMenu
* Update copyright date
* Rebuild blockly_uncompressed because there's a new require in town
2017-10-19 14:58:41 -04:00
Rachel Fenichel
6868b9cccb
Code cleanup: widget creation ( #1332 )
2017-10-19 14:47:32 -04:00
Paul Kaplan
7738e61e4e
Remove eyedropper code from grid colour picker
2017-09-19 10:54:33 -04:00
Paul Kaplan
468bff28c7
Move new slider picker into new field_colour_slider field file
2017-09-19 10:34:32 -04:00
Paul Kaplan
c55bc4b8c3
Replace colour grid with sliders
2017-09-19 10:34:32 -04:00
Paul Kaplan
b388e709d1
Mark activateEyedropper as private with comment about future changes
2017-09-06 10:48:28 -04:00
Paul Kaplan
2996533949
Fix linting
2017-09-05 14:13:42 -04:00
Paul Kaplan
2d3c915887
Replace closure button with basic html
2017-09-05 10:55:02 -04:00
Paul Kaplan
b8c2bedebe
Add eyedropper button and callback
2017-08-29 14:57:28 -04:00
Paul Kaplan
50db913460
Explain comment
2017-07-19 14:31:45 -04:00
Paul Kaplan
6a903b74c3
Set primary, secondary and tertiary colours on setValue
2017-07-19 13:40:26 -04:00
Paul Kaplan
fce962c0fc
Merge 06-22
2017-06-22 11:30:37 -04:00
Andrew Sliwinski
be9d5fefed
Merge from Upstream Blockly ( #776 )
...
* WIP merge from upstream google/blockly
* fixing some merging bugs. Getting the drag surface to work, updating some function calls, etc.
* make the trash can lid animate again and fix the cursor to show an x when things will be removed.
* Fix text rendering logic in fields
* Hand apply some more changes from blockly flyout.js to flyout_base.js.
Also revert 08efd1381c
in scratch-blocks since it breaks variables and there is more work fenichel is planning
to do here.
* Fix drop-down field rendering
* Resolve issue with text input field widths on init
* Remove unused blockly (built) files
* Remove unused language files
* Resolve lint issues and rebuild
* Add blockly build targets to cleanup script
* Return 0 if 'this.arrow_' does not exist in a dropdown field
* Remove unused / irrelevant comments
2017-02-02 14:17:43 -05:00
Airhogs777
3bafc2e2fb
Switch from Replacing argType to Appending To It ( #661 )
...
* switch from replacing argType to appending to it
* switch argType to array, rename function to addArgType
2016-10-05 13:28:44 -04:00
Airhogs777
bac07dc65a
Add attribute for argument type (take 2) ( #645 )
...
* a more robust way to add an attribute to arguments
* always run superclass constructor before setting argtype
2016-10-02 13:36:32 -04:00
Rachel Fenichel
8e652db9fe
Merge branch 'develop' of https://github.com/google/blockly into feature/pull_google/7_11
2016-07-11 15:53:14 -07:00
Tim Mickel
b299a90178
Set FieldColour's color on the source block ( #489 )
2016-07-07 11:25:25 -04:00
Tim Mickel
179b75da59
Basic fixes for FieldColour ( #482 )
...
* Fix field_colour's borderRect_ problem
* Use actual width and height instead of NBSPs
* Get corner radius from BlockSvg
* Improve colour picker CSS to not have borders
2016-07-06 20:38:05 -04:00
Neil Fraser
555eac8b7f
Simplify field validator chaining.
2016-06-29 17:44:12 -07:00
miguel76
1e3297ba0a
Fix #326
...
Parameter block is removed from init prototype of fields and its usage
is replaced by this.sourceBlock_
2016-04-09 12:01:38 -03:00
Tim Mickel
2fc35e5797
Add comments and CSS style for field refactor
2016-04-05 20:43:54 -04:00
Tim Mickel
e413d47f4d
Remove borderRect_, clean up, and fix RTL
2016-04-05 12:19:01 -04:00
Neil Fraser
b567d6b0d7
Allow shadow blocks to be edited.
2016-02-26 00:22:31 -08:00
Neil Fraser
63c112932b
Rename Field.setChangeHandler to Field.setValidator
2016-02-10 14:33:13 -08:00
Neil Fraser
c429949a4e
Add Create, Delete, and Change events.
...
Not counting change for mutators.
2016-01-20 19:11:03 -08:00
Neil Fraser
36fe3994c9
Misc cleanup.
2016-01-15 15:36:06 -08:00
Neil Fraser
4253de041a
Remove old realtime.
2016-01-08 13:03:22 -08:00
Neil Fraser
9b26d0d260
De-shadow blocks that have been edited.
2015-10-14 18:20:53 -07:00
Neil Fraser
3f8e586fe8
Use prototypes for primitive properties.
2015-09-12 19:31:22 -07:00
Neil Fraser
5b7fec7092
Add zooming feature.
...
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser
45fd0e9d44
Remove unused field clone.
2015-07-20 16:17:21 -07:00
Neil Fraser
e0f90e6e33
Adding more type documentation.
2015-07-13 15:03:22 -07:00
Neil Fraser
edd3e3bf33
Lint corrections.
2015-06-17 13:05:24 -07:00
Neil Fraser
9050e32954
Adding JsonInit method of creating blocks.
2015-06-08 15:54:18 -07:00
Neil Fraser
17961f7f58
Support multiple Blockly instances.
2015-04-28 13:51:25 -07:00
Neil Fraser
f899b5bed7
Lint cleanup.
2015-04-03 16:07:25 -07:00
Neil Fraser
626a29a5ca
Allow colour fields to set custom colours.
2015-04-02 15:36:01 -07:00
Neil Fraser
c9addf7e31
Improve accuracy of goog.require calls.
2015-02-06 15:27:25 -08:00
Neil Fraser
cbb7204c27
Internationalize date picker.
2015-02-04 22:57:45 -08:00
Neil Fraser
df89e1060a
Remove some DOM creation from headless fields.
2014-12-24 00:22:01 -08:00
Neil Fraser
0f8d01209c
Headless workspaces and blocks.
2014-12-23 11:22:02 -08:00
Neil Fraser
6539211104
Change official project URL.
2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373
Changing project location from Google Code to GitHub.
2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec
Update to latest version.
2014-09-08 14:26:52 -07:00
ellen.spertus
6ee38cdec3
Automatic commit Tue Jan 28 03:00:09 PST 2014
2014-01-28 03:00:09 -08:00
ellen.spertus
eb5895d70a
Automatic commit Sat Dec 14 03:00:02 PST 2013
2013-12-14 03:00:02 -08:00