Commit Graph

8849 Commits

Author SHA1 Message Date
dependabot[bot]
8fa216c226 chore(deps): bump gulp from 4.0.2 to 5.0.0 (#8463)
Bumps [gulp](https://github.com/gulpjs/gulp) from 4.0.2 to 5.0.0.
- [Release notes](https://github.com/gulpjs/gulp/releases)
- [Changelog](https://github.com/gulpjs/gulp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/gulp/compare/v4.0.2...v5.0.0)

---
updated-dependencies:
- dependency-name: gulp
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-09 19:14:47 +01:00
AbhinavKRNarayan
6b3f9a6723 fix(touch): prevent infinite loop on multi-touch drag (#8470)
* Change in gesture.ts

* prettier
2024-08-08 15:17:34 -07:00
dependabot[bot]
cf5a3c0fa3 chore(deps): bump @microsoft/api-documenter from 7.25.7 to 7.25.10 (#8464)
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter) from 7.25.7 to 7.25.10.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-documenter/CHANGELOG.md)
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-documenter_v7.25.10/apps/api-documenter)

---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 09:37:37 -07:00
Jeremiah Saunders
23e901120b feat: expose bringToFront() method (#8472)
* Remove internal from bringToFront JSDoc

* Add a note about the cost of this method

* Remove unnecessary colon
2024-08-07 09:07:48 -07:00
aishwaryavenkatesan
68dda11623 fix!: deleted styles without associated classes from css.ts, issue #8285 (#8465) 2024-08-07 09:07:34 -07:00
Shreshtha Sharma
9374c028d4 feat: added block's style as a CSS class to block's root SVG (#8436)
* fix: added block's style as a CSS class to block's root SVG

* fix: added block's style as a CSS class to block's root SVG

* fix: added block's style as a CSS class to block's root SVG
2024-08-06 09:35:35 -07:00
omwagh28
f10c3b0ee8 fix!: Renamed the blocklyTreeSelected CSS class to blocklyToolboxSelected https://github.com/google/blockly/issues/8351 (#8459) 2024-08-06 09:26:05 -07:00
John Nesky
cd31edbd9a fix: Update dev-tools and remove toolbox category tests Colour and Angles. (#8457) 2024-08-05 12:02:58 -07:00
dependabot[bot]
159c5c4d7d chore(deps): bump rimraf from 5.0.9 to 5.0.10 (#8461)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 5.0.9 to 5.0.10.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.9...v5.0.10)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 08:57:59 -07:00
Jeremiah Saunders
f020b54fd0 fix: bring comments and bubbles to the front on click (#8451)
* Bring comment to the block layer when clicked

* Bring bubbles to front when clicked
2024-08-02 13:09:30 -07:00
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
dependabot[bot]
612b8c89dc chore(deps): bump jsdom from 24.1.0 to 24.1.1 (#8444)
Bumps [jsdom](https://github.com/jsdom/jsdom) from 24.1.0 to 24.1.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/24.1.0...24.1.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-31 00:51:41 +01: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
John Nesky
e2310a4fed fix: Codify component weights with toolbox in front of flyouts. (#8432) 2024-07-29 10:30:29 -07:00
dependabot[bot]
0f74186227 chore(deps): bump @typescript-eslint/eslint-plugin from 7.16.1 to 7.17.0 (#8445)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.16.1 to 7.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.17.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 10:27:20 -07:00
dependabot[bot]
1d8e318028 chore(deps): bump @typescript-eslint/parser from 7.16.1 to 7.17.0 (#8442)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.16.1 to 7.17.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.17.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 10:26:32 -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
dependabot[bot]
ee4a9dd8a1 chore(deps): bump prettier from 3.3.2 to 3.3.3 (#8410)
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 19:28:10 +01:00
ℍ𝕠𝕝𝕝𝕠𝕨 𝕄𝕒𝕟
504de6a98c fix: drag strategy only clear group id set by us (#8355)
Add a condition check so that we don't unset
the group ID that is not set by us. Otherwise the
multi-select plugin undo/redo will be broken (apply
individually instead of all together)

Signed-off-by: Hollow Man <hollowman@opensuse.org>
2024-07-25 22:09:10 +01: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
Christopher Allen
ebb56b2ce8 docs(blocks): block.ts and blocks/* JSDoc / formatting / etc. cleanup (#8431)
* docs(block): Improve documentation for well-known block methods

  Improve the JSDocs for the declarations of well-known block
  methods:

  - getDeveloperVariables
  - compose
  - decompose
  - saveConnections

* docs(blocks): Improve block comments

  Fix JSDoc formatting in both core/block.ts and blocks/*, as well as
  making various other minor improvments.

* chore(blocks): Remove one unexported const
2024-07-25 17:25:24 +01: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
Beka Westberg
505f28f1a5 Revert "chore: Pin node.js v22 to v22.4.1 in CI (#8393)" (#8398)
This reverts commit 1e3d3fde1c.
2024-07-23 08:24:40 -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
Beka Westberg
47c97505f2 Merge pull request #8408 from google/dependabot/npm_and_yarn/develop/microsoft/api-documenter-7.25.7
chore(deps): bump @microsoft/api-documenter from 7.25.4 to 7.25.7
2024-07-22 22:08:32 +00:00
Aaron Dodson
26e6d80e15 refactor: clean up VariableModel. (#8416) 2024-07-22 10:51:56 -07:00
dependabot[bot]
625369ce7e chore(deps): bump rimraf from 5.0.7 to 5.0.9 (#8409)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 5.0.7 to 5.0.9.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.7...v5.0.9)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 09:39:59 -07:00
John Nesky
40c6d9c490 fix: Enable blocks if user can't manually enable them. (#8354)
* fix: Enable blocks if user can't manually enable them.

* Only change the affected test method.
2024-07-22 09:21:51 -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
dependabot[bot]
5cd3188b58 chore(deps): bump @typescript-eslint/eslint-plugin from 7.16.0 to 7.16.1 (#8411)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.16.0 to 7.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 08:12:01 -07:00
dependabot[bot]
1276c839f1 chore(deps): bump @microsoft/api-documenter from 7.25.4 to 7.25.7
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter) from 7.25.4 to 7.25.7.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-documenter/CHANGELOG.md)
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-documenter_v7.25.7/apps/api-documenter)

---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 09:21:57 +00: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
dependabot[bot]
8cad97a214 chore(deps): bump @hyperjump/json-schema from 1.6.7 to 1.9.3 (#8363)
* chore(deps): bump @hyperjump/json-schema from 1.6.7 to 1.9.3

  Bumps [@hyperjump/json-schema](https://github.com/hyperjump-io/json-schema) from 1.6.7 to 1.9.3.
  - [Commits](https://github.com/hyperjump-io/json-schema/compare/v1.6.7...v1.9.3)

  ---
  updated-dependencies:
  - dependency-name: "@hyperjump/json-schema"
    dependency-type: direct:development
    update-type: version-update:semver-minor
  ...

  Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): Add dev dependency on @hyperjump/browser

  @hyperjump/json-schema (v1.7.0 and later) depends upon
  @hyperjump/browser, but fails to declare it as a dependency,
  only listing it as a peer dependency, so said package must be
  installed separately.

* fix(tests): Use BASIC output as DETAILED is no longer supported

  See issue hyperjump-io/json-chema#68 for additional info.

* feat(tests): Add more informational output in case of test failure

  Since the BASIC output of the schema verifier is (slightly) less
  helpful than the old DETAILED output, add an additional output
  containing the first invalid path, e.g.:

      #/9.3.0/0/exports/textToDom/newModule

  in the results object returned by validate, since this is the
  most useful part of that info.

  Also use console.error and console.info instead of console.log
  where appropriate.

* chore(tests): Format

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher Allen <cpcallen+git@google.com>
2024-07-19 11:22:07 +01: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
Beka Westberg
9fa4b2c966 chore: fix package-lock 2024-07-18 17:22:25 +00:00
Christopher Allen
1e3d3fde1c chore: Pin node.js v22 to v22.4.1 in CI (#8393)
This should work around nodejs/node#53902 / npm/cli#7657 et al.
2024-07-18 17:12:57 +01:00