Aaron Dodson
6887940e22
feat: add a method for subclasses of FieldVariable to get the default type. ( #8453 )
2024-08-02 10:57:15 -07:00
Aayush Khopade
8a1b01568e
feat: Add a blocklyNumberField CSS class to number fields ( #8414 )
...
* feat: Add a blocklyNumberField CSS class to number fields https://github.com/google/blockly/issues/8313
* feat: add 'blocklyNumberField' CSS class to FieldNumber Fixes https://github.com/google/blockly/issues/8313
2024-07-31 15:34:14 -07:00
UtkershBasnet
17db6039b5
fix!: Rename blocklyTreeIconOpen to blocklyToolboxCategoryIconOpen ( #8440 )
2024-07-31 15:33:25 -07:00
surajguduru
6393ab39ce
feat: add blocklyLabelField CSS class to label fields ( #8423 )
2024-07-30 18:26:17 -07:00
Tejas Ghatule
203e422977
feat: add the block's type as a CSS class to the block's root SVG ( #8428 )
...
* feat: Added the block's type as a CSS class to the block's root SVG https://github.com/google/blockly/issues/8268
* fix: Added the block type as a CSS class to the blocks root SVG https://github.com/google/blockly/issues/8268
2024-07-30 18:12:48 -07:00
Shreshtha Sharma
9c88970d46
feat: added blocklyNotDetetable class to block_svg ( #8406 )
...
* feat: added blocklynotdetetable class to block_svg
* feat: added blocklynotdetetable class to block_svg
2024-07-31 00:50:38 +01:00
dakshkanaujia
dc1f276759
fix!: Redundant blockly non selectable #8328 ( #8433 )
...
* Remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes
* Removed .gitpod file
* fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes https://github.com/google/blockly/issues/8328
* fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328
* fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328
* fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328
* fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes #8328
* fix: remove redundant blocklyNonSelectable class and integrate non-selectability into existing classes
2024-07-30 08:24:15 -07:00
Bhargav
4b95cb77af
feat: Added blocklyImageField CSS class to image fields https://github.com/google/blockly/issues/8314 ( #8439 )
2024-07-29 19:31:37 -07:00
Aaron Dodson
82c7aad4e7
feat: Add a VarTypeChange event. ( #8402 )
...
* feat: Add a VarTypeChange event.
* chore: Update copyright date.
* refactor: Inline fields in the constructor.
2024-07-29 12:00:52 -07:00
Skye
af0a724b3e
fix: use :focus pseudo class instead of blocklyFocused ( #8360 )
...
* bug: removed blocklyFocused from menu.ts and dropdown.ts, changed css style to :focus
* removed blocklyFocused from menu.ts
* resubmit
* core css removed blocklyFocused
* fix core css
* menu file import cleanup, linting error
2024-07-26 18:16:22 -07:00
Aaron Dodson
5d825f0a60
chore: Removed @internal annotation from public Field methods. ( #8426 )
...
* chore: Removed @internal annotation from public Field methods.
* chore: make forceRerender non-internal.
2024-07-25 10:07:48 -07:00
dianaprahoveanu23
2619fb803c
feat: Add a blocklyNotEditable CSS class to the block's root SVG ( #8391 )
...
* feat: added blockyNotEditable CSS class to the block's root SVG
* Run linter to fix code style issues
2024-07-23 08:33:59 -07:00
Aaron Dodson
91892ac303
refactor: deprecate and clean up variable-related methods. ( #8415 )
...
* refactor: deprecate and clean up variable-related methods.
* chore: Add deprecation JSDoc.
2024-07-22 17:13:20 -07:00
Shreyans Pathak
fb82c9c9bb
feat: add blocklyMiniWorkspaceBubble css class ( #8390 )
2024-07-22 16:09:10 -07:00
Chaitanya Yeole
76eebc2f24
feat: Add a blocklyBlock CSS class to the block's root SVG ( #8397 )
2024-07-22 16:05:19 -07:00
Gabriel Fleury
e29d7abfdb
fix!: Rename editing CSS class to blocklyEditing ( #8287 ) ( #8301 )
...
* chore!: Rename editing CSS class to blocklyEditing (#8287 )
* further changes
2024-07-22 15:38:40 -07:00
Gabriel Fleury
348313a1b6
feat: Add a blocklyCollapsed CSS class to collapsed blocks' root SVG ( #8264 ) ( #8308 )
...
* feat: Add a blocklyCollapsed CSS class to collapsed blocks' root SVG (#8264 )
* format
2024-07-22 15:14:45 -07:00
Gabriel Fleury
58abf6ef89
fix: Remove references to getFastTextWidth ( #8277 ) ( #8307 )
...
* feat: Remove references to getFastTextWidth (#8277 )
* format
2024-07-22 15:14:17 -07:00
Aaron Dodson
26e6d80e15
refactor: clean up VariableModel. ( #8416 )
2024-07-22 10:51:56 -07:00
Aaron Dodson
21c0a7d999
refactor!: Use IVariableMap instead of VariableMap ( #8401 )
...
* refactor: use IVariableMap in place of VariableMap.
* refactor!: move variable deletion prompting out of VariableMap.
* chore: Remove unused imports.
2024-07-22 09:17:40 -07:00
Aaron Dodson
294ef74d1b
refactor: Use IVariableModel instead of VariableModel. ( #8400 )
...
* refactor: Use IVariableModel methods instead of directly accessing properties.
* refactor: replace references to VariableModel with IVariableModel.
2024-07-19 14:58:04 -07:00
Aaron Dodson
02e64bebbe
refactor: make VariableMap implement IVariableMap. ( #8395 )
...
* refactor: make VariableMap implement IVariableMap.
* chore: remove unused arrayUtils import.
* chore: fix comment on variable map backing store.
* chore: Added JSDoc to new VariableMap methods.
* chore: Improve test descriptions.
2024-07-19 10:53:16 -07:00
Beka Westberg
107403bc0f
Merge pull request #8394 from google/develop
...
chore: develop into V12 to pin node version
2024-07-18 18:46:10 +00:00
Aaron Dodson
32f8e24337
refactor: update the variable interfaces. ( #8388 )
2024-07-18 11:01:22 -07:00
Suryansh Shakya
0a1524f577
feat: added blocklyToolboxFlyout CSS class to the flyout ( #8386 )
2024-07-17 10:45:11 -07:00
Ruthwik Chikoti
e1753ae066
fix!: Renamed the blocklyToolboxContents CSS class to blocklyToolboxCategoryGroup ( #8384 )
2024-07-17 10:38:29 -07:00
Shreyans Pathak
a2a5749694
feat: Add css classes from json block definitions ( #8377 )
...
* fix: override `jsonInit` method to add css classes
* fix: lint
* refactor: simplify logic
2024-07-17 10:24:09 -07:00
Chaitanya Yeole
e298f55412
feat: Added blocklyTrashcanFlyout CSS class ( #8372 )
...
* feat: Add blocklyTrashcanFlyout class
* Fixed formatting issues
* fix: versioning reverted to original
* fix: prettier version resolved
* fix: clean installation
2024-07-17 10:19:53 -07:00
Arun Chandran
ae80adfe9c
fix!: Replace Closure UI CSS classes with Blockly CSS classes ( #8339 )
...
* fix!: Replace Closure UI CSS classes with Blockly CSS classes
* chore: remove comments about deprecated goog-x class
* chore: remove deprecated goog-x classes
* fix: correct coding format to pass CI checks
2024-07-17 10:18:14 -07:00
Krishnakumar Chavan
33b53718eb
fix!: renamed blocklyTreeIcon Css class to blocklyToolboxCategoryIcon #8347 ( #8367 )
...
* renamed blocklyTreeIcon Css class to blocklyToolboxCategoryIcon
* fix!: renamed blocklyTreeIcon Css class to blocklyToolboxCategoryIcon #8347
* fixed whitespace formatting
2024-07-17 09:45:36 -07:00
Devesh Rahatekar
8cca066bcf
feat: Add a blocklyShadow class ( #8336 )
...
* feat: Add blockShadow class
* formatted the file
2024-07-17 09:44:24 -07:00
Aaron Dodson
bef8d8319d
refactor: make VariableModel implement IVariableModel. ( #8381 )
...
* refactor: make VariableModel implement IVariableModel.
* chore: assauge the linter.
2024-07-16 15:47:43 -07:00
Nirmal Kumar
c5532066f5
feat: Add a blocklyTextBubble CSS class to the text bubble #8331 ( #8333 )
2024-07-16 13:09:49 -07:00
Abhinav Choudhary
ae2fea484f
fix!: Rename blocklyTreeRow and blocklyToolboxCategory CSS classes ( #8357 )
...
* fix!: #8345 rename css class
This commit renames the blocklyTreeRow CSS class to blocklyToolboxCategory
* Update category.ts
* fix: css class conflicts
Rename original blocklyToolboxCategory to blocklyToolboxCategoryContainer
2024-07-16 11:00:32 -07:00
Chang Min Bark
4cdca28fe5
fix: added id to rendered ws comments; made getCommentById public; added blocklyDraggable class to ws comments ( #8358 )
2024-07-15 18:39:39 -07:00
Aaron Dodson
aecfe34c38
feat: add the IVariableMap and IVariableModel interfaces. ( #8369 )
...
* feat: add the IVariableMap and IVariableModel interfaces.
* chore: add license headers.
2024-07-15 15:29:19 -07:00
Shashwat Pathak
00d090edcf
feat: Add a blocklyVariableField CSS class to variable fields ( #8359 )
2024-07-15 13:28:39 -07:00
Shreyans Pathak
7c22c46ee6
refactor: Add addClass and removeClass methods to blockSvg ( #8337 )
...
* refactor: Add `addClass` and `removeClass` methods to blockSvg
* fix: lint
* fix: jsdoc
2024-07-15 11:54:30 -07:00
Gabriel Fleury
968494205a
feat: Add a blocklyFieldText CSS class to fields' text elements ( #8291 ) ( #8302 )
...
* feat!: Add a blocklyFieldText CSS class to fields' text elements (#8291 )
* add class instead of replace
Co-authored-by: Beka Westberg <bwestberg@google.com >
---------
Co-authored-by: Beka Westberg <bwestberg@google.com >
2024-07-12 09:37:20 -07:00
Shashwat Pathak
dd18edd343
fix!: Make IPathObject styling methods optional ( #8332 )
2024-07-12 09:36:25 -07:00
Suryansh Shakya
5a32c3fe43
feat: added blocklyField to field's SVG Group ( #8334 )
2024-07-12 09:35:10 -07:00
Gabriel Fleury
9ba791c144
bug: Rename the blockly icon CSS classes to use camelCase ( #8329 ) ( #8335 )
2024-07-12 09:34:42 -07:00
Shreyans Pathak
f45270e083
refactor: field_checkbox dom.addClass params ( #8309 )
2024-07-12 09:11:19 -07:00
Aaron Dodson
b0169ab724
fix: use the correct with in getBoundingRectangleWithoutChildren().
2024-07-10 15:54:56 -07:00
Aaron Dodson
d355b56877
Merge pull request #8292 from google/develop
...
chore: merge develop into rc/v12
2024-07-10 15:41:58 -07:00
Aaron Dodson
fa15cda950
feat: allow fetching block bounds not including children. ( #8284 )
...
* feat: allow fetching block bounds not including children.
* chore: run formatter.
* chore: run the other formatter.
* fix: don't include subsequent blocks in the childless bounding rect.
* chore: remove logging.
2024-07-10 14:52:07 -07:00
Aaron Dodson
8323642d0e
fix: export the layer constants. ( #8256 )
...
* fix: export the layer constants.
* refactor: remove @internal annotations from layer constants.
2024-07-09 15:25:20 -07:00
Aaron Dodson
f097fc0098
Merge pull request #8252 from google/develop
...
chore: merge develop into v12
2024-07-08 13:23:55 -07:00
Aaron Dodson
a6361fbd81
chore: make getEventWorkspace_() public ( #8241 )
2024-07-02 14:48:16 -07:00
Aaron Dodson
21a73c463f
fix: correctly report the pre-resize-drag size to workspace comment size change listeners ( #8240 )
...
* fix: correctly report the pre-resize-drag size to workspace comment size change listeners
* chore: run formatter
* refactor: implicitly use the presence of preResizeSize to identify a drag.
2024-07-02 14:42:47 -07:00