Commit Graph

8598 Commits

Author SHA1 Message Date
Christopher Allen
5f1dea0a3c Merge pull request #8224 from google/master
chore: Merge `master` back into `develop` following v11.1.1 release
2024-06-21 07:13:20 +01:00
dependabot[bot]
ed7eed9a85 chore(deps): bump @microsoft/api-extractor from 7.43.0 to 7.47.0 (#8219)
Bumps [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) from 7.43.0 to 7.47.0.
- [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md)
- [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.47.0/apps/api-extractor)

---
updated-dependencies:
- dependency-name: "@microsoft/api-extractor"
  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-06-17 16:53:32 +01:00
dependabot[bot]
bfb5b1dd49 chore(deps): Bump chai from 4.3.10 to 5.1.1 (#8092)
* chore(deps): Bump chai from 4.3.10 to 5.1.1

  Bumps [chai](https://github.com/chaijs/chai) from 4.3.10 to 5.1.1.
  - [Release notes](https://github.com/chaijs/chai/releases)
  - [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
  - [Commits](https://github.com/chaijs/chai/compare/v4.3.10...v5.1.1)

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

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

* fix(tests): Migrate all usage of chai to ESM (#8216)

* fix(tests): Migrate node tests from CJS to ESM

  This allows us to import (rather than require) chai, fixing failures
  caused by that package dropping suppport for CJS in chai v5.0.0.

* fix(tests): Have mocha tests directly import chai

  Previously they relied on obtaining it from the global scope, but it's
  better if imports are explicit.

* fix(tests): Remove broken load of chai as script

  Chai v5.0.0 no longer supports being loaded as a script, so this did
  nothing but emit an syntax error message on the console.

* fix(tests): Migrate browser tests from CJS to ESM

  This allows us to import (rather than require) chai, fixing failures
  caused by chai no longer supporting CJS.

* 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-06-17 16:48:21 +01:00
Maribeth Bottorff
3fa46f45fe chore: tsdoc for generator exceptions (#8214)
* chore: tsdoc for generator exceptions

* chore: missed a period
2024-06-13 17:07:24 -07:00
Maribeth Bottorff
24fe13f0c9 fix: only initSvg on rendered blocks (#8215) 2024-06-13 08:13:17 -07:00
dependabot[bot]
e455a94ae3 chore(deps): bump @typescript-eslint/eslint-plugin from 7.3.1 to 7.12.0 (#8200)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.3.1 to 7.12.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.12.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-06-13 15:26:25 +01:00
dependabot[bot]
5e2c7ca4dd chore(deps): bump glob from 10.3.10 to 10.4.1 (#8199)
Bumps [glob](https://github.com/isaacs/node-glob) from 10.3.10 to 10.4.1.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.3.10...v10.4.1)

---
updated-dependencies:
- dependency-name: glob
  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-06-13 15:25:27 +01:00
Maribeth Bottorff
7a154ea89b release: version 11.1.1
release: version 11.1.1
blockly-v11.1.1
2024-06-12 10:36:16 -07:00
Christopher Allen
5a9a31ad1d feat(scripts): Create script to help with CJS -> ESM migration (#8197)
* feat(scripts): Create script to help with CJS -> ESM migration

  This is based on js2ts, but considerably simplified since we
  no longer need to deal with goog.module IDs.

* feat(scripts): Add support for module.exports = {...}

  Support (optionally renaming) assignments to module.exports, in
  addition to the existing support for simple exports property
  assignmenets.

* fix(scripts): Typo corrections + other improvments for PR #8197

* chore(scripts): Format
2024-06-12 18:29:47 +01:00
Maribeth Moffatt
63de4728c5 release: update version number to 11.1.1 2024-06-12 10:28:52 -07:00
Beka Westberg
3a2152cbce fix: c-blocks disappearing (#8203)
(cherry picked from commit dc91c3ab54)
2024-06-12 10:27:27 -07:00
Beka Westberg
dc91c3ab54 fix: c-blocks disappearing (#8203) 2024-06-11 11:21:48 -07:00
dependabot[bot]
c94d8c2ca0 chore(deps): bump webdriverio from 8.32.2 to 8.38.2 (#8195)
Bumps [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio) from 8.32.2 to 8.38.2.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/v8.38.2/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v8.38.2/packages/webdriverio)

---
updated-dependencies:
- dependency-name: webdriverio
  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-06-06 17:05:46 +00:00
dependabot[bot]
af907bf98e chore(deps): bump @microsoft/api-documenter from 7.23.14 to 7.25.2 (#8190)
Bumps [@microsoft/api-documenter](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-documenter) from 7.23.14 to 7.25.2.
- [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.2/apps/api-documenter)

---
updated-dependencies:
- dependency-name: "@microsoft/api-documenter"
  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-06-03 08:17:39 -07:00
Mark Friedman
5881ce32c1 fix: change which element keydown is bound to from document to injection div (#8188)
* Change which element keydown is bound to

* Modify keydown tests

* Use browserEvents.conditionalBind()

* Remove commented out code.
2024-05-31 23:19:46 +01:00
Beka Westberg
547bf2373d chore: Merge master back into develop following v11.1.0 release
Merge pull request #8186 from google/master
2024-05-30 19:08:38 +00:00
Beka Westberg
e03d526864 release: v11.1.0
Merge pull request #8185 from google/rc/v11.1.0
blockly-v11.1.0
2024-05-30 18:53:04 +00:00
Beka Westberg
4f596aa9d4 release: Update version number to 11.1.0 2024-05-30 18:39:14 +00:00
Beka Westberg
3707d45972 release: Merge branch 'develop' into rc/v11.1.0 2024-05-30 18:38:40 +00:00
Beka Westberg
c3d41cfd9f fix: comment body height too short (#8182) 2024-05-29 11:13:43 -07:00
Beka Westberg
6e4ba00be5 fix: dragging and disposing of shadows (#8172)
* Revert "fix: dragging blocks by shadows to delete (#8138)"

This reverts commit 3fd749205f.

* fix: dragging shadows
2024-05-28 10:28:16 -07:00
Beka Westberg
933e210037 fix: lang file imports (#8179) 2024-05-28 10:01:50 -07:00
Maribeth Bottorff
98958f3a50 Merge pull request #8173 from maribethb/merge-osd
feat: merge branch `osd` into `develop`
2024-05-23 16:49:27 -07:00
Maribeth Moffatt
c4287d1276 chore: format 2024-05-23 16:13:52 -07:00
Maribeth Moffatt
5d3ae222e7 feat: paste in viewport 2024-05-23 16:13:39 -07:00
Maribeth Moffatt
aa4ae33f50 chore: fix package-lock 2024-05-23 11:25:43 -07:00
Maribeth Moffatt
4040e78ffb Revert "feat: Paste block in viewport / near cursor (#7521)"
This reverts commit c37f4b8749.
2024-05-23 11:06:46 -07:00
Maribeth Moffatt
7c6fbec23c Merge branch 'osd' into merge-osd 2024-05-23 10:59:53 -07:00
Sampada Bhujel
260bc6f678 feat(tests): Browser test helper to get workspace svg root (#8166)
* feat: Add helper to get the svg root of workspace to be clicked on

* feat: Add helper to get the mutator svg root to be clicked on

* fix: fix style format issue
2024-05-23 15:52:00 +01:00
Maribeth Bottorff
d7d5b9af6c chore: update git url (#8169) 2024-05-21 14:42:22 -07:00
Maribeth Bottorff
1a1face205 chore: merge master into develop following v11.0.0
chore: merge master into develop following v11.0.0
2024-05-20 14:32:08 -07:00
Maribeth Bottorff
9519333c28 release: v11.0.0
Merge pull request #8164 from google/rc/v11.0.0
blockly-v11.0.0
2024-05-20 13:36:49 -07:00
John Nesky
9b2ab79e73 fix: Only hide WidgetDiv if it is associated with the affected workspace. (#8150)
* Associate a workspace with WidgetDiv.

* Minor fixes after merging.

* Hide widget if owner is in an unknown workspace.
2024-05-20 12:48:05 -07:00
Maribeth Moffatt
2f15621f6d release: Update version number to 11.0.0 2024-05-20 11:41:06 -07:00
Maribeth Moffatt
44e0ba8449 release: Merge branch 'develop' into rc/v11.0.0 2024-05-20 11:39:11 -07:00
Maribeth Bottorff
3ac2fb9f82 chore: update metadata for v11 release (#8163) 2024-05-20 11:33:52 -07:00
Maribeth Bottorff
b4414c3142 chore: rollup of updates from TranslateWiki (#8162)
* chore: rollup of updates from TranslateWiki

* chore: Roll up additional translatewiki changes

Not sure how these were omitted from PR originally.

---------

Co-authored-by: Christopher Allen <cpcallen+git@google.com>
2024-05-20 11:32:33 -07:00
Maribeth Bottorff
28de9ef494 fix: paste in a better spot (#8123)
* fix: paste in a better spot

* fix: include bump offset

* chore: rename param

---------

Co-authored-by: Beka Westberg <bwestberg@google.com>
2024-05-20 10:09:47 -07:00
Neil Fraser
fcdb8fc33d fix: Normalize CSS between comment types (#8161)
Merge the CSS so that both comment types (block and workspace) are the same -- other than a border.
2024-05-20 18:59:24 +02:00
Beka Westberg
7c4b0bd703 fix: delete area animation (#8149)
* fix: delete area animation

* chore: format

* Update core/dragging/dragger.ts

Co-authored-by: Christopher Allen <cpcallen+github@gmail.com>

---------

Co-authored-by: Christopher Allen <cpcallen+github@gmail.com>
2024-05-20 09:58:48 -07:00
Beka Westberg
139b4b993f fix: creating comments in RTL (#8153) 2024-05-20 09:54:30 -07:00
Neil Fraser
70ca676c24 fix: Properly size comments. (#8158)
* Properly size comments.

Fixes multiple rendering and sizing issues across different browsers.

Tip: `text-overflow: hidden;` is not legal CSS and did nothing.

Resolves #8142
2024-05-20 09:30:38 -07:00
Beka Westberg
36b75696a2 fix: comment text area bottom border hidden (#8152) 2024-05-20 09:03:59 -07:00
Maribeth Bottorff
c1a2284d94 chore: load block factory from unpkg (#8154) 2024-05-17 16:05:15 -07:00
Beka Westberg
69db8a63d6 fix: comment size not respecting collapsed-ness (#8136)
* fix: comment size not respecting collapsed-ness

* chore: fix tests the only way I know how, by adding explicit clock ticks
2024-05-17 13:23:13 -07:00
Beka Westberg
3fd749205f fix: dragging blocks by shadows to delete (#8138)
* Revert "fix: dragging shadow blocks (#7992)"

This reverts commit c0e6e6745f.

* fix: dragging by shadow not being deletable

* fix: unselecting shadows

* fix: revert changes to select and unselect
2024-05-17 13:22:53 -07:00
Neil Fraser
5a8969f855 fix: Zelos comments shouldn't be bold (#8141)
Resolves #8061
2024-05-17 21:33:52 +02:00
Beka Westberg
12ff96674b fix: comment handle position in RTL (#8151) 2024-05-17 12:27:14 -07:00
Beka Westberg
75d81620ab fix: undoing block delete over trashcan creates block in wrong place (#8126) 2024-05-17 12:26:10 -07:00
Maribeth Bottorff
53cc12da77 chore: fix playground context menu (#8139) 2024-05-17 09:48:41 -07:00