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
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
Christopher Allen
71f094b901
chore(deps): Enable legacy-peer-deps, update @blockly/ plugins ( #8366 )
...
* chore(deps): Enable npm legacy-peer-deps option
Add legacy-peer-deps=true to .npmrc:
- Doesn't install a second, probably out-of-date copy of Blockly
in node_modules/blockly/.
- Prevents version conflicts when trying to update @blockly/*
dev dependencies, beause npm doesn't seem to be clever enough
to resovle peer dependency version conflicts for the blockly
package when updating plugins (which have blockly as a peer),
even if all plugins are updated at the same time.
- Brings the configuration of the blockly repo in line with
blockly-samples, for whatever that is worth. (Might avoid
problems during monorepo migration.)
* chore(deps): Update @blockly plugins following v11 release
Achieved by running:
npm install --save-dev @blockly/theme-modern@latest @blockly/block-test@latest @blockly/dev-tools@latest
* chore(deps): Install missing @typescript-eslint/parser dev dependency
Our .eslintrc.js references th @typescript-eslint/parser plugin,
but this plugin was not actually included in the devDependencies
section in package.json.
2024-07-17 16:24:26 +01: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
dependabot[bot]
e634b51e41
chore(deps): bump mocha from 10.2.0 to 10.6.0 ( #8364 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 10.2.0 to 10.6.0.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.6.0 )
---
updated-dependencies:
- dependency-name: mocha
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-15 13:20:30 -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
dependabot[bot]
baadb52496
chore(deps): bump typescript from 5.4.3 to 5.5.3 ( #8239 )
...
* chore(deps): bump typescript from 5.4.3 to 5.5.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.4.3 to 5.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.3...v5.5.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix: Update typescript and an indirect dependency for compatibility.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Nesky <johnnesky@gmail.com >
2024-07-12 20:33:54 -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
f8025a1bdd
Merge pull request #8298 from gonfunko/width-fix
...
fix: use the correct with in getBoundingRectangleWithoutChildren().
2024-07-10 15:57:48 -07:00
Aaron Dodson
b0169ab724
fix: use the correct with in getBoundingRectangleWithoutChildren().
2024-07-10 15:54:56 -07:00
dependabot[bot]
0e85c7110c
chore(deps): bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.16.0 ( #8296 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.12.0 to 7.16.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.16.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-10 15:45:22 -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
dependabot[bot]
17dfa462a3
chore(deps): bump google-closure-compiler ( #8251 )
...
Bumps [google-closure-compiler](https://github.com/google/closure-compiler-npm ) from 20230802.0.0 to 20240317.0.0.
- [Release notes](https://github.com/google/closure-compiler-npm/releases )
- [Commits](https://github.com/google/closure-compiler-npm/compare/v20230802.0.0...v20240317.0.0 )
---
updated-dependencies:
- dependency-name: google-closure-compiler
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-07-09 17:49:15 +01:00
Christopher Allen
be87eb7aca
test(CI): Have GitHub use npm ci instead of npm install ( #8245 )
...
This should help ensure that CI catches PRs that update
package.json without updating package-lock.json to match.
Proposed in response to breakage caused by PR #8209 .
2024-07-09 17:18:47 +01:00
dependabot[bot]
293bb7c182
chore(deps): bump prettier from 3.2.5 to 3.3.2 ( #8250 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 3.2.5 to 3.3.2.
- [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.2.5...3.3.2 )
---
updated-dependencies:
- dependency-name: prettier
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-08 15:49:22 -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