* Don't force text-centering around FIELD_WIDTH if arrow present
* Add dark arrow asset
* Refactor FieldNumber restrictor generator to be static
* Allow disabling of FieldDropDown colour changing
* Add FieldTextDropDown and FieldNumberDropDown
* Add number drop-downs to list blocks
* Add docs
* Update `setArgType` -> `addArgType`
* Ensure arrow only created once
* Update list index min
* Refactor shared components of num restriction
* Line breaks
* Clear touch identifier
* Clear touch identifier when text drop-down closed
* Inheritance simplification
* Add textinput restrictor and FieldNumber use
* Update FieldNumber to remove validator and add appropriate restrictor
* Update blocks for new restrictors
* Remove restriction on FIELD_WIDTH_MAX_EDIT
* Remove extra console.log
* Version of FieldNumber that brings back min/max/precision
* opt_validator order to match Blockly
* Math.floor(precision) == precision
* Fixing JSDoc
* Invert decimalAllowed_
* Reverse opt_validator positioning per Neil
* Don't allow typing 'e', per design meeting
* Update for agreed-upon API
* Allow NaN constraints per agreement
* Remove optional parameters from math.js blocks
* Recompile 2, June 23
* Correct JSDoc for optionals
This matches the style of the rest of Blockly, and means that the
dropdowns can be tested with Chrome's Device Mode, which was not
possible before due to this bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=133915
This also adds listeners for mousedown/mouseup - this should be better
on PCs with touchscreens (#305), although we'll need a further change to
open the numpad on touch events.
* Implement basic field_number type
* Add whole number and positive number
* Remove bad arguments for showEditor_
* Basic implementation and styling of num-pad
* Remove virtual keyboards; add selection and read-only
* Add editing for the number pad
* Add backspace button to number pad
* Fix text padding for font-weight and extra magic
* Don't show decimal point for integers
* Re-update default WeDo numbers
* Refactor and improve documentation of field_number