Beka Westberg
cdc90f4059
Refactored field utilities.
2019-08-16 09:57:27 -07:00
Sam El-Husseini
f9d7af7125
Add Blockly aria utils ( #2813 )
...
* Add aria utils
2019-08-14 11:22:36 -07:00
Sam El-Husseini
b9d932559c
Add a singleton id generator util ( #2815 )
...
* Add a singleton id generator utility
2019-08-14 10:06:46 -07:00
Sam El-Husseini
a0dcf7f495
Add extra style methods used by closure components ( #2816 )
2019-08-13 18:34:48 -07:00
Sam El-Husseini
a41a3c5f33
Add keycode utils to reference keycodes via an enum ( #2814 )
2019-08-13 16:25:26 -07:00
Sam El-Husseini
109e32b866
Revert "Add extra style methods used by closure components"
...
This reverts commit cb461b2c94 .
2019-08-13 14:19:25 -07:00
Sam El-Husseini
cb461b2c94
Add extra style methods used by closure components
2019-08-13 14:18:40 -07:00
Sam El-Husseini
6425287daa
Support getting sizes of elements that are not visible ( #2786 )
...
* Support getting sizes of elements that are not visible
2019-08-08 21:09:15 -07:00
Sam El-Husseini
f34f2beac7
Remove all calls to goog.style ( #2781 )
...
* Remove dependency on goog.style
2019-08-06 14:54:13 -07:00
Neil Fraser
6aedfab4d1
Misc JSDoc fixes. ( #2747 )
2019-07-30 16:28:48 -07:00
Sam El-Husseini
57868e7e83
Remove all calls to goog.math ( #2739 )
...
* Replace calls to goog.math.Size and goog.math.Coordinate with Blockly equivelants
2019-07-30 11:22:08 -07:00
Sam El-Husseini
5ce8c68833
Fix node build and add node tests ( #2736 )
...
* Fix node build and add node tests
2019-07-30 11:13:52 -07:00
Rachel Fenichel
087eaa2665
rename Blockly.utils.Paths -> Blockly.utils.svgPath
2019-07-17 15:46:55 -07:00
Abby
fe4bff70da
Add @public annotation
2019-07-17 11:52:14 -07:00
Abby
0f4a417052
Remove @packages annotation from public methods
2019-07-17 11:38:08 -07:00
Neil Fraser
20d4a27f0a
Add namespacing to XML
...
Fixes #1978 .
2019-07-08 13:29:43 -07:00
Neil Fraser
74be35e23d
Rename Blockly.Xml.utils to Blockly.utils.xml
2019-07-08 13:29:43 -07:00
Rachel Fenichel
f2be890f9f
More cleanup
2019-06-28 16:55:04 -07:00
Rachel Fenichel
2aa1bed83f
Add some spaces
2019-06-28 16:36:59 -07:00
Rachel Fenichel
f1e05b1e68
Lowercase l in comments
2019-06-28 15:09:59 -07:00
Rachel Fenichel
1f82f9d9e2
Create svg_utils file
2019-06-28 15:00:09 -07:00
Neil Fraser
b8cbd9e7df
Resolve 13 warnings
...
Reduce count from 632 to 619.
Eliminate copy-paste code duplication in Field.prototype.setValue
2019-06-12 10:59:33 -07:00
Neil Fraser
6947010c49
Change Rect to use top/bottom/left/right
...
Instead of top/left/height/width. Given our uses of Rect, it makes the math slightly simpler.
This is a setup for using Rect in other places. Currently it is only used to describe delete areas.
2019-06-07 10:32:57 -07:00
Neil Fraser
98a98bcce6
Add Blockly.utils.dom.XLINK_NS
...
And fix provide/require mixup.
2019-06-07 10:32:57 -07:00
Neil Fraser
848d3a3509
Move setCssTransform & createSvgElement to dom.
...
Also move SVG_NS and HTML_NS properties.
2019-06-07 10:32:57 -07:00
Neil Fraser
566f182fa8
Move Blockly.userAgent to Blockly.utils.userAgent
2019-06-07 10:32:57 -07:00
Neil Fraser
d1a29739d8
Move utilities into own directory.
...
TODO: There are more functions which may be migrated into dom and string.
2019-06-07 10:32:57 -07:00