diff --git a/.github/workflows/assign_reviewers.yml b/.github/workflows/assign_reviewers.yml index 042f1553e7..850c7c805f 100644 --- a/.github/workflows/assign_reviewers.yml +++ b/.github/workflows/assign_reviewers.yml @@ -15,9 +15,11 @@ on: jobs: requested-reviewer: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - name: Assign requested reviewer - uses: actions/github-script@v5 + uses: actions/github-script@v7 with: script: | try { diff --git a/codelabs/custom_generator/custom_generator.md b/codelabs/custom_generator/custom_generator.md index 34ab94ac6a..5f8db1134d 100644 --- a/codelabs/custom_generator/custom_generator.md +++ b/codelabs/custom_generator/custom_generator.md @@ -203,7 +203,7 @@ A custom language generator is simply an instance of `Blockly.Generator`. Create ```js import * as Blockly from 'blockly'; -export const jsonGenerator = new Blockly.Generator('JSON'); +export const jsonGenerator = new Blockly.CodeGenerator('JSON'); ``` ### Generate code diff --git a/codelabs/keyboard_navigation/AST.png b/codelabs/keyboard_navigation/AST.png deleted file mode 100644 index 556e883ed6..0000000000 Binary files a/codelabs/keyboard_navigation/AST.png and /dev/null differ diff --git a/codelabs/keyboard_navigation/block_terms.png b/codelabs/keyboard_navigation/block_terms.png deleted file mode 100644 index 789a3dce15..0000000000 Binary files a/codelabs/keyboard_navigation/block_terms.png and /dev/null differ diff --git a/codelabs/keyboard_navigation/flashing_cursor.gif b/codelabs/keyboard_navigation/flashing_cursor.gif deleted file mode 100644 index a6db40a29e..0000000000 Binary files a/codelabs/keyboard_navigation/flashing_cursor.gif and /dev/null differ diff --git a/codelabs/keyboard_navigation/keyboard_navigation.md b/codelabs/keyboard_navigation/keyboard_navigation.md deleted file mode 100644 index 6249e8160d..0000000000 --- a/codelabs/keyboard_navigation/keyboard_navigation.md +++ /dev/null @@ -1,567 +0,0 @@ -author: Abby Schmiedt -summary: Codelab to configure keyboard navigation -id: keyboard-navigation -categories: blockly,codelab,accessibility,keyboard navigation -status: Published -Feedback Link: https://github.com/google/blockly-samples/issues/new/choose - -# Keyboard navigation - -## Codelab overview - -Keyboard navigation is the first step in making Blockly more accessible. This guide focuses on how to modify keyboard navigation. - -### What you'll learn - -- How to change the behavior of a cursor. -- How to change the look of cursors and markers. -- How to add a shortcut. -- How to change the current key mappings. - -### What you'll build - -- A cursor that displays a red blinking image over the block. -- A cursor that skips over previous and next connections. -- A keyboard shortcut for moving the cursor to the top of a stack. - -### What you'll need - -- Basic understanding of blocks and toolboxes in Blockly. -- NPM installed ([instructions](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)). -- Comfort using the command line/terminal. -- Familiarity with the blockly keyboard navigation [documentation](https://developers.google.com/blockly/guides/configure/web/keyboard-nav). - -## Setup - -This codelab will demonstrate how to install the [keyboard navigation plugin](https://www.npmjs.com/package/@blockly/keyboard-navigation) on top of the Blockly sample app and then add code to create and use a custom `Cursor` and `Marker`. - -### The application - -Use the [`npx @blockly/create-package app`](https://www.npmjs.com/package/@blockly/create-package) command to create a standalone application that contains a sample setup of Blockly, including custom blocks and a display of the generated code and output. - 1. Run `npx @blockly/create-package app keyboard-navigation-codelab`. This will create a blockly application in the folder `keyboard-navigation-codelab`. - 1. `cd` into the new directory: `cd keyboard-navigation-codelab`. - 1. Install the [keyboard navigation plugin](https://www.npmjs.com/package/@blockly/keyboard-navigation): `npm install @blockly/keyboard-navigation --save` - 1. Run `npm start` to start the server and run the sample application. - 1. The sample app will automatically run in the browser window that opens. - -## Terminology - -A [**Marker**](https://developers.google.com/blockly/reference/js/blockly.marker_class) holds a location and is not movable. A marker is used to mark a location on the workspace, such as marking the spot where the user can drop a block from the toolbox. - -A [**Cursor**](https://developers.google.com/blockly/reference/js/blockly.cursor_class) is a marker that can move. It extends a `Blockly.Marker` but adds logic to allow the marker to move through the blocks, inputs, fields, connections and workspace coordinates. - -The below image displays different parts of a block that a user can navigate to using keyboard navigation. - -![Displays the different parts of a block. The previous connection on the top of a block. The next connection on the bottom of a block. Input value as a cut out of a puzzle piece. The statement input as a connection inside of a block. The output connection as a puzzle piece.](./block_terms.png) - -## Initialize NavigationController plugin - -First, import and set up a `NavigationController` in `index.js`. `NavigationController` is the class in charge of registering all keyboard shortcuts. - -Import `NavigationController` at the top of `index.js`: - -```js -import {NavigationController} from '@blockly/keyboard-navigation'; -``` - -Then, somewhere after the existing code that injects the workspace, create an instance of `NavigationController`, initialize it, and add it to the workspace: - -```js -// Initialize NavigationController plugin and add to our workspace. -const navigationController = new NavigationController(); -navigationController.init(); -navigationController.addWorkspace(ws); -``` - -At this point, the app will have default keyboard navigation enabled. Pressing **ctrl + shift + k** will enter the user into keyboard navigation mode. From here, `WASD` style commands can be used to navigate around. Further details can be found in [the blockly keyboard navigation documentation](https://developers.google.com/blockly/guides/configure/web/keyboard-nav). - -## Understand AST Nodes - -Blockly organizes all the different components in a workspace in a structured way by representing them as an abstract syntax tree ([AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree)). - -The following image displays the AST for a workspace. - -![](./AST.png) - -There are four different levels to the AST: -1. Workspace Level (green): Holds all workspace nodes. -1. Stack Level (blue): Holds all stack nodes. -1. Block and Connection Level (red): Holds all block and connection nodes. -1. Field and Input Level (yellow): Holds all field and input nodes. - -For a more detailed explanation of the different levels please see the [keyboard navigation documentation](https://developers.google.com/blockly/guides/configure/web/keyboard-nav#using_the_default_cursor). - -### Create AST nodes - -The `Blockly.ASTNode` class is used to represent the AST. The `Blockly.ASTNode` class holds a workspace component. This component can be a block, connection, field, input or workspace coordinate. - -The following code shows how to create a `Blockly.ASTNode` for the different workspace components: - -```js -const workspaceNode = Blockly.ASTNode.createWorkspaceNode( - workspace, wsCoordinate); -const stackNode = Blockly.ASTNode.createStackNode(topBlock); -const connectionNode = Blockly.ASTNode.createConnectionNode(connection); -const blockNode = Blockly.ASTNode.createBlockNode(block); -const fieldNode = Blockly.ASTNode.createFieldNode(field); -const inputNode = Blockly.ASTNode.createInputNode(input); -``` - -### Use AST nodes - -These nodes are used in the cursor to decide where to go and what to draw. - -Every node can: -1. Return the node below it (`in()`) -1. Return the node above it (`out()`) -1. Return the previous node (`prev()`) -1. Return the next node (`next()`) - -For example, the following code can be used to get the stack node from a workspace node: - -```js -const stackNode = workspaceNode.in(); -``` - -## Define and set a custom marker - -The `Blockly.blockRendering.MarkerSvg` class contains the logic to draw cursors and markers. It decides what to draw depending on the current node the cursor or marker holds. - -To start, create a new directory at `src/markers` and add a file inside named `custom_marker_svg.js`. - -At the top of the file, import `blockly/core`: - -```js -import * as Blockly from 'blockly/core'; -``` - -Then define a new custom marker and have it extend `Blockly.blockRendering.MarkerSvg`: - -```js -class CustomMarkerSvg extends Blockly.blockRendering.MarkerSvg { - constructor(workspace, constants, marker) { - super(workspace, constants, marker); - } -} -``` - -Now, inside `CustomMarkerSvg`, override `createDomInternal_()`. This method is in charge of creating all DOM elements for the marker. Add a new path element for when the cursor is on a block: - -```js - /** - * @override - */ - createDomInternal_() { - super.createDomInternal_(); - - // Create the svg element for the marker when it is on a block and set the - // parent to markerSvg_. - this.blockPath_ = Blockly.utils.dom.createSvgElement( - 'path', {}, this.markerSvg_); - - // If this is a cursor make the cursor blink. - if (this.isCursor()) { - const blinkProperties = this.getBlinkProperties_(); - Blockly.utils.dom.createSvgElement('animate', blinkProperties, - this.blockPath_); - } - } -``` - -Next, create a method named `showWithBlock_(curNode)` that will: - -- Update the block path. -- Set the current marker. -- Set the parent. -- Show the current marker. - -This method will be called within `showAtLocation_(curNode)` when the user moves to a new block: - -```js - showWithBlock_(curNode) { - // Get the block from the AST Node - const block = curNode.getLocation(); - - // Get the path of the block. - const blockPath = block.pathObject.svgPath.getAttribute('d'); - - // Set the path for the cursor. - this.blockPath_.setAttribute('d', blockPath); - - // Set the current marker. - this.currentMarkerSvg = this.blockPath_; - - // Set the parent of the cursor as the block. - this.setParent_(block); - - // Show the current marker. - this.showCurrent_(); - } -``` - -Then, override `showAtLocation_(curNode)`. This method is used to decide what to display at a given node: - -```js - /** - * @override - */ - showAtLocation_(curNode) { - let handled = false; - // If the cursor is on a block call the new method we created to draw the - // cursor. - if (curNode.getType() == Blockly.ASTNode.types.BLOCK) { - this.showWithBlock_(curNode); - handled = true; - } - - // If we have not drawn the cursor let the parent draw it. - if (!handled) { - super.showAtLocation_.call(this, curNode); - } - } -``` - -Finally, override the `hide()` method: - -```js - /** - * @override - */ - hide() { - super.hide(); - // Hide the marker we created. - this.blockPath_.style.display = 'none'; - } -``` - -### Renderer setup - -Override the renderer to have it use the cursor `CustomMarkerSvg`. For more information on customizing a renderer see the custom renderer [codelab](https://blocklycodelabs.dev/codelabs/custom-renderer/index.html). - -Add the following code to the bottom of `custom_marker_svg.js`, outside of the `CustomMarkerSvg` class definition: - -```js -class CustomRenderer extends Blockly.geras.Renderer { - constructor(name) { - super(name); - } -} -Blockly.blockRendering.register('custom_renderer', CustomRenderer); -``` - -Now override the method responsible for returning the drawer for markers and cursors. - -Add the following method inside the `CustomRenderer` class: - -```js -makeMarkerDrawer(workspace, marker) { - return new CustomMarkerSvg(workspace, this.getConstants(), marker); -} -``` - -In order to use the custom renderer, it has to be imported at the top of `index.js`. - -```js -import './markers/custom_marker_svg'; -``` - -Then, change the call to `Blockly.inject` to pass the newly registered renderer named `custom_renderer`: - -```js -const ws = Blockly.inject(blocklyDiv, { - toolbox: toolbox, - renderer: 'custom_renderer', -}); -``` - -### Test it out - -Open the sample app and drag a function block on to the workspace. Press **ctrl + shift + k** to enter into keyboard navigation mode. Notice how the entire block starts flashing red. - -![The cursor flashing red](./flashing_cursor.gif) - -## Define and set a custom cursor - -Create a new directory at `src/cursors` and add a file inside named `custom.js`. - -At the top of the new file, add an import of `blockly/core`: - -```js -import * as Blockly from 'blockly/core'; -``` - -Then define a new custom cursor and have it extend the base cursor, `Blockly.Cursor`: - -```js -export class CustomCursor extends Blockly.Cursor { - constructor() { - super(); - } -} -``` - -Import the cursor at the top of `src/index.js`. - -```js -import {CustomCursor} from './cursors/custom'; -``` - -Somewhere after the existing code that injects the workspace, use its `MarkerManager` to set the new custom cursor: - -```js -// Add CustomCursor to workspace -ws.getMarkerManager().setCursor(new CustomCursor()); -``` - -## Change the cursor behavior - -### Override the move methods - -Override the methods that move the cursor in order to skip over previous and next connections. - -Add the following code to `cursors/custom.js`, inside the `CustomCursor` class definition (these implementations are just a starting point that will be improved upon in the next step): - -```js - next() { - // The current Blockly.ASTNode the cursor is on. - const curNode = this.getCurNode(); - if (!curNode) { - return null; - } - // The next Blockly.ASTNode. - let newNode = curNode.next(); - if (newNode) { - this.setCurNode(newNode); - } - return newNode; - } - - in() { - const curNode = this.getCurNode(); - if (!curNode) { - return null; - } - let newNode = curNode.in(); - if (newNode) { - this.setCurNode(newNode); - } - return newNode; - } - - prev() { - const curNode = this.getCurNode(); - if (!curNode) { - return null; - } - let newNode = curNode.prev(); - if (newNode) { - this.setCurNode(newNode); - } - return newNode; - } - - out() { - const curNode = this.getCurNode(); - if (!curNode) { - return null; - } - let newNode = curNode.out(); - if (newNode) { - this.setCurNode(newNode); - } - return newNode; - } -``` - -### Modify the move methods - -Now add logic to the move methods to skip over the previous and next connections. The following image represents the logic being added. The red boxes represent the nodes to skip. - -![Displays the abstract syntax tree with the previous and next connection nodes highlighted in red.](./skip_connections.png) - -Change the `next` method so it will skip over any previous or next connections and go straight to the next block: - -```js - next() { - const curNode = this.getCurNode(); - if (!curNode) { - return null; - } - let newNode = curNode.next(); - // While the newNode exists and is either a previous or next type go to the - // next value. - while (newNode && (newNode.getType() === Blockly.ASTNode.types.PREVIOUS || - newNode.getType() === Blockly.ASTNode.types.NEXT)) { - newNode = newNode.next(); - } - if (newNode) { - this.setCurNode(newNode); - } - return newNode; - } -``` - -Change the `prev` method so it will skip over any previous or next connections and go straight to the previous block: - -```js - prev() { - const curNode = this.getCurNode(); - if (!curNode) { - return null; - } - let newNode = curNode.prev(); - // While the newNode exists and is either a previous or next connection go - // to the previous value. - while (newNode && (newNode.getType() === Blockly.ASTNode.types.PREVIOUS || - newNode.getType() === Blockly.ASTNode.types.NEXT)) { - newNode = newNode.prev(); - } - if (newNode) { - this.setCurNode(newNode); - } - return newNode; - } -``` - -Change the `in` method so that it will skip over any previous connections and go straight to the contained block: - -```js - in() { - const curNode = this.getCurNode(); - if (!curNode) { - return null; - } - let newNode = curNode.in(); - // If the newNode is a previous connection go to the next value in the - // level. This will be the block. - if (newNode && newNode.getType() === Blockly.ASTNode.types.PREVIOUS) { - newNode = newNode.next(); - } - if (newNode) { - this.setCurNode(newNode); - } - return newNode; - } -``` - -#### Test it out - -Open the sample app and enter into keyboard navigation mode (**ctrl + shift + k**). Drag some blocks on to the workspace and navigate to the first block. From here hit the **S** key to go to the next block. Notice how the cursor skips over the previous and next connection and goes straight to the next block. - -![](./new_cursor.gif) - -## Adding a shortcut - -This section will add a shortcut that will allow users to move their cursor to the top of their current stack by pressing **ctrl + W**. - -### Create a key mapping - -A key mapping connects a key code or combination of key codes to a shortcut. When the key code or combination of key codes are pressed the shortcut will run. - -Primary keys can be combined with modifier keys by using the `createSerializedKey()` method. A list of the available modifier keys are: - -- `Blockly.ShortcutRegistry.modifierKeys.SHIFT` -- `Blockly.ShortcutRegistry.modifierKeys.CONTROL` -- `Blockly.ShortcutRegistry.modifierKeys.ALT` -- `Blockly.ShortcutRegistry.modifierKeys.META` - -Create a key code for **ctrl + W** by adding the following code to the bottom of `index.js`: - -```js -// Create a serialized key from the primary key and any modifiers. -const ctrlW = Blockly.ShortcutRegistry.registry.createSerializedKey( - Blockly.utils.KeyCodes.W, [Blockly.ShortcutRegistry.modifierKeys.Control]); -``` - -### Create a shortcut - -A shortcut has several properties: -- `name`: The name of the shortcut. This must be unique. -- `keyCodes`: A list of key codes that when pressed will trigger this shortcut. This shortcut will use the `ctrlW` defined above. -- `preconditionFn`: A function that returns true if and only if the shortcut should be run. This shortcut will only run when `workspace.keyboardAccessibilityMode` is true. -- `callback`: A function that is called when the shortcut has been executed. This should return true if the shortcut has been handled. If a shortcut returns true, no other shortcuts with the same key mapping will be handled. - -Add the following code to the bottom of `index.js`: - -```js -const moveToStack = { - name: 'moveToStack', - keyCodes: [ctrlW], // The custom key mapping. - preconditionFn: function(workspace) { - return workspace.keyboardAccessibilityMode; - }, - callback: function(workspace) { - const cursor = workspace.getCursor(); - // Gets the current node. - const currentNode = cursor.getCurNode(); - // Gets the source block from the current node. - const currentBlock = currentNode.getSourceBlock(); - // If we are on a workspace node there will be no source block. - if (currentBlock) { - // Gets the top block in the stack. - const rootBlock = currentBlock.getRootBlock(); - // Gets the top node on a block. This is either the previous connection, - // output connection, or the block itself. - const topNode = Blockly.ASTNode.createTopNode(rootBlock); - // Update the location of the cursor. - cursor.setCurNode(topNode); - return true; - } - }, -}; - -``` -Once the shortcut is created, it can be registered by adding the following code to the bottom of `index.js`: - -```js -Blockly.ShortcutRegistry.registry.register(moveToStack); -``` - -### Test it out - -Open the sample app and create a stack of blocks. Enter into keyboard navigation mode (**ctrl + shift + k**). Move the cursor down a few blocks and then press **ctrl + W**. Notice how the cursor jumps to the top of the stack of blocks. - -![](./skip_to_top.gif) - -## Change current key mappings - -This section will update key mappings so users can use the arrow keys for their cursor instead of the default **WASD** keys. - -Before adding the key mappings below, import the shortcut names by adding the -following line to the top of `index.js`: - -```js -import {Constants} from '@blockly/keyboard-navigation'; -``` - -Now set the keys for the next, previous, in, and out actions at the bottom of `index.js`: - -```js -Blockly.ShortcutRegistry.registry.removeAllKeyMappings(Constants.SHORTCUT_NAMES.OUT); -Blockly.ShortcutRegistry.registry.addKeyMapping(Blockly.utils.KeyCodes.LEFT, Constants.SHORTCUT_NAMES.OUT); - -Blockly.ShortcutRegistry.registry.removeAllKeyMappings(Constants.SHORTCUT_NAMES.IN); -Blockly.ShortcutRegistry.registry.addKeyMapping(Blockly.utils.KeyCodes.RIGHT, Constants.SHORTCUT_NAMES.IN); - -Blockly.ShortcutRegistry.registry.removeAllKeyMappings(Constants.SHORTCUT_NAMES.PREVIOUS); -Blockly.ShortcutRegistry.registry.addKeyMapping(Blockly.utils.KeyCodes.UP, Constants.SHORTCUT_NAMES.PREVIOUS); - -Blockly.ShortcutRegistry.registry.removeAllKeyMappings(Constants.SHORTCUT_NAMES.NEXT); -Blockly.ShortcutRegistry.registry.addKeyMapping(Blockly.utils.KeyCodes.DOWN, Constants.SHORTCUT_NAMES.NEXT); -``` - -Note: For a full list of the shortcuts registered in the keyboard navigation plugin see the [constants file](https://github.com/google/blockly-samples/blob/master/plugins/keyboard-navigation/src/constants.js). - -### Test it out - -Open the sample app and enter into keyboard navigation mode (**ctrl + shift + k**). The arrow keys can now be used to move around instead of the default **WASD** keys. - -## Summary - -There is still a lot of work to be done in figuring out the best way to provide -keyboard navigation support for users. - -In this codelab you learned: -- How to create a new cursor. -- How to change the look of markers and cursors. -- How to add shortcuts. diff --git a/codelabs/keyboard_navigation/new_cursor.gif b/codelabs/keyboard_navigation/new_cursor.gif deleted file mode 100644 index 635cb876dc..0000000000 Binary files a/codelabs/keyboard_navigation/new_cursor.gif and /dev/null differ diff --git a/codelabs/keyboard_navigation/skip_connections.png b/codelabs/keyboard_navigation/skip_connections.png deleted file mode 100644 index c4d6c77a72..0000000000 Binary files a/codelabs/keyboard_navigation/skip_connections.png and /dev/null differ diff --git a/codelabs/keyboard_navigation/skip_to_top.gif b/codelabs/keyboard_navigation/skip_to_top.gif deleted file mode 100644 index 2da398380a..0000000000 Binary files a/codelabs/keyboard_navigation/skip_to_top.gif and /dev/null differ diff --git a/eslint.config.js b/eslint.config.js index 3bd67633df..4ce99166d9 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -40,6 +40,7 @@ module.exports = [ '**/dist/', '**/build/', 'examples/blockly-svelte/public/bundle.js', + 'plugins/migration/test/manual-test-data/', // specific examples that are sometimes copied into plugins 'plugins/dev-create/templates/sample-app', 'plugins/dev-create/templates/sample-app-ts', diff --git a/plugins/block-dynamic-connection/CHANGELOG.md b/plugins/block-dynamic-connection/CHANGELOG.md index 03bd02926a..7db1f6b7ac 100644 --- a/plugins/block-dynamic-connection/CHANGELOG.md +++ b/plugins/block-dynamic-connection/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.7.14](https://github.com/google/blockly-samples/compare/@blockly/block-dynamic-connection@0.7.13...@blockly/block-dynamic-connection@0.7.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/block-dynamic-connection + + + + + +## [0.7.13](https://github.com/google/blockly-samples/compare/@blockly/block-dynamic-connection@0.7.12...@blockly/block-dynamic-connection@0.7.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/block-dynamic-connection + + + + + +## [0.7.12](https://github.com/google/blockly-samples/compare/@blockly/block-dynamic-connection@0.7.11...@blockly/block-dynamic-connection@0.7.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/block-dynamic-connection + + + + + ## [0.7.11](https://github.com/google/blockly-samples/compare/@blockly/block-dynamic-connection@0.7.10...@blockly/block-dynamic-connection@0.7.11) (2024-11-07) **Note:** Version bump only for package @blockly/block-dynamic-connection diff --git a/plugins/block-dynamic-connection/package-lock.json b/plugins/block-dynamic-connection/package-lock.json index 261a044ae4..9e0f3955b8 100644 --- a/plugins/block-dynamic-connection/package-lock.json +++ b/plugins/block-dynamic-connection/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/block-dynamic-connection", - "version": "0.7.11", + "version": "0.7.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/block-dynamic-connection", - "version": "0.7.11", + "version": "0.7.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/block-dynamic-connection/package.json b/plugins/block-dynamic-connection/package.json index de9fae96b1..88aa8483a3 100644 --- a/plugins/block-dynamic-connection/package.json +++ b/plugins/block-dynamic-connection/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/block-dynamic-connection", - "version": "0.7.11", + "version": "0.7.14", "description": "A group of blocks that add connections dynamically.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "mocha": "^10.2.0", "typescript": "^5.4.5" diff --git a/plugins/block-plus-minus/CHANGELOG.md b/plugins/block-plus-minus/CHANGELOG.md index b4be0ea9be..4aed2badfb 100644 --- a/plugins/block-plus-minus/CHANGELOG.md +++ b/plugins/block-plus-minus/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.0.14](https://github.com/google/blockly-samples/compare/@blockly/block-plus-minus@8.0.13...@blockly/block-plus-minus@8.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/block-plus-minus + + + + + +## [8.0.13](https://github.com/google/blockly-samples/compare/@blockly/block-plus-minus@8.0.12...@blockly/block-plus-minus@8.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/block-plus-minus + + + + + +## [8.0.12](https://github.com/google/blockly-samples/compare/@blockly/block-plus-minus@8.0.11...@blockly/block-plus-minus@8.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/block-plus-minus + + + + + ## [8.0.11](https://github.com/google/blockly-samples/compare/@blockly/block-plus-minus@8.0.10...@blockly/block-plus-minus@8.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/block-plus-minus diff --git a/plugins/block-plus-minus/package-lock.json b/plugins/block-plus-minus/package-lock.json index f2279d352f..a29283d3ed 100644 --- a/plugins/block-plus-minus/package-lock.json +++ b/plugins/block-plus-minus/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/block-plus-minus", - "version": "8.0.11", + "version": "8.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/block-plus-minus", - "version": "8.0.11", + "version": "8.0.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/block-plus-minus/package.json b/plugins/block-plus-minus/package.json index ed8c2ffe4b..cc6841c9ae 100644 --- a/plugins/block-plus-minus/package.json +++ b/plugins/block-plus-minus/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/block-plus-minus", - "version": "8.0.11", + "version": "8.0.14", "description": "A group of blocks that replace the built-in mutator UI with a +/- based UI.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "mocha": "^10.2.0", "sinon": "^9.0.1" diff --git a/plugins/block-shareable-procedures/CHANGELOG.md b/plugins/block-shareable-procedures/CHANGELOG.md index 7101903887..462742ebac 100644 --- a/plugins/block-shareable-procedures/CHANGELOG.md +++ b/plugins/block-shareable-procedures/CHANGELOG.md @@ -3,6 +3,41 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.15](https://github.com/google/blockly-samples/compare/@blockly/block-shareable-procedures@5.0.14...@blockly/block-shareable-procedures@5.0.15) (2025-02-27) + + +### Bug Fixes + +* Mitigate shareable procedure flyout bug. ([a37225a](https://github.com/google/blockly-samples/commit/a37225a6dc4369fcec14e2a704eaa6bef9842b8c)) + + + + + +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/block-shareable-procedures@5.0.13...@blockly/block-shareable-procedures@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/block-shareable-procedures + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/block-shareable-procedures@5.0.12...@blockly/block-shareable-procedures@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/block-shareable-procedures + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/block-shareable-procedures@5.0.11...@blockly/block-shareable-procedures@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/block-shareable-procedures + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/block-shareable-procedures@5.0.10...@blockly/block-shareable-procedures@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/block-shareable-procedures diff --git a/plugins/block-shareable-procedures/package-lock.json b/plugins/block-shareable-procedures/package-lock.json index 6627a2a8dc..e6487b02ff 100644 --- a/plugins/block-shareable-procedures/package-lock.json +++ b/plugins/block-shareable-procedures/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/block-shareable-procedures", - "version": "5.0.11", + "version": "5.0.15", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@blockly/block-shareable-procedures", - "version": "5.0.11", + "version": "5.0.15", "license": "Apache-2.0", "devDependencies": { "chai": "^4.3.7", diff --git a/plugins/block-shareable-procedures/package.json b/plugins/block-shareable-procedures/package.json index 48ce23de2f..3a90e4928b 100644 --- a/plugins/block-shareable-procedures/package.json +++ b/plugins/block-shareable-procedures/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/block-shareable-procedures", - "version": "5.0.11", + "version": "5.0.15", "description": "A plugin that adds procedure blocks which are backed by explicit data models.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -41,8 +41,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.3.7", "jsdom": "^16.4.0", "jsdom-global": "^3.0.2", diff --git a/plugins/block-shareable-procedures/src/blocks.ts b/plugins/block-shareable-procedures/src/blocks.ts index 83346409a6..07f2cc50ca 100644 --- a/plugins/block-shareable-procedures/src/blocks.ts +++ b/plugins/block-shareable-procedures/src/blocks.ts @@ -1068,7 +1068,10 @@ const procedureCallerUpdateShapeMixin = { doProcedureUpdate: function () { if (!this.getProcedureModel()) return; const id = this.getProcedureModel().getId(); - if (!this.getTargetWorkspace_().getProcedureMap().has(id)) { + if ( + !this.getTargetWorkspace_().getProcedureMap().has(id) && + !this.isInFlyout + ) { this.dispose(true); return; } diff --git a/plugins/block-test/CHANGELOG.md b/plugins/block-test/CHANGELOG.md index 9dfe1872d6..ee1eec88e6 100644 --- a/plugins/block-test/CHANGELOG.md +++ b/plugins/block-test/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.11](https://github.com/google/blockly-samples/compare/@blockly/block-test@6.0.10...@blockly/block-test@6.0.11) (2024-12-03) + +**Note:** Version bump only for package @blockly/block-test + + + + + ## [6.0.10](https://github.com/google/blockly-samples/compare/@blockly/block-test@6.0.9...@blockly/block-test@6.0.10) (2024-11-07) **Note:** Version bump only for package @blockly/block-test diff --git a/plugins/block-test/package-lock.json b/plugins/block-test/package-lock.json index b57a6f2925..14cc1222f9 100644 --- a/plugins/block-test/package-lock.json +++ b/plugins/block-test/package-lock.json @@ -1,15 +1,15 @@ { "name": "@blockly/block-test", - "version": "6.0.10", + "version": "6.0.11", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/block-test", - "version": "6.0.10", + "version": "6.0.11", "license": "Apache 2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/block-test/package.json b/plugins/block-test/package.json index e0492d1968..b24df6bcd1 100644 --- a/plugins/block-test/package.json +++ b/plugins/block-test/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/block-test", - "version": "6.0.10", + "version": "6.0.11", "description": "A group of Blockly test blocks.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,7 +39,7 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/content-highlight/CHANGELOG.md b/plugins/content-highlight/CHANGELOG.md index 5f6adec1ca..6c66ad8e5e 100644 --- a/plugins/content-highlight/CHANGELOG.md +++ b/plugins/content-highlight/CHANGELOG.md @@ -3,6 +3,41 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.15](https://github.com/google/blockly-samples/compare/@blockly/workspace-content-highlight@5.0.14...@blockly/workspace-content-highlight@5.0.15) (2025-02-20) + + +### Bug Fixes + +* update content highlight when undoing the deletion of blocks. ([#2487](https://github.com/google/blockly-samples/issues/2487)) ([b216e9e](https://github.com/google/blockly-samples/commit/b216e9eeaf84e5f51af2bc72b8b15a40c7137697)) + + + + + +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/workspace-content-highlight@5.0.13...@blockly/workspace-content-highlight@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/workspace-content-highlight + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/workspace-content-highlight@5.0.12...@blockly/workspace-content-highlight@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/workspace-content-highlight + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/workspace-content-highlight@5.0.11...@blockly/workspace-content-highlight@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/workspace-content-highlight + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/workspace-content-highlight@5.0.10...@blockly/workspace-content-highlight@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/workspace-content-highlight diff --git a/plugins/content-highlight/package-lock.json b/plugins/content-highlight/package-lock.json index e0ce8cd264..fb2c9d961a 100644 --- a/plugins/content-highlight/package-lock.json +++ b/plugins/content-highlight/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/workspace-content-highlight", - "version": "5.0.11", + "version": "5.0.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/workspace-content-highlight", - "version": "5.0.11", + "version": "5.0.15", "license": "Apache-2.0", "devDependencies": { "typescript": "^5.4.5" diff --git a/plugins/content-highlight/package.json b/plugins/content-highlight/package.json index 72286d1216..8049142616 100644 --- a/plugins/content-highlight/package.json +++ b/plugins/content-highlight/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/workspace-content-highlight", - "version": "5.0.11", + "version": "5.0.15", "description": "A Blockly workspace plugin that adds a highlight around the content area.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -43,8 +43,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "typescript": "^5.4.5" }, "peerDependencies": { diff --git a/plugins/content-highlight/src/index.ts b/plugins/content-highlight/src/index.ts index 4ec5a2d23f..e87c687b9d 100644 --- a/plugins/content-highlight/src/index.ts +++ b/plugins/content-highlight/src/index.ts @@ -15,6 +15,7 @@ import * as Blockly from 'blockly/core'; */ const contentChangeEvents = [ Blockly.Events.VIEWPORT_CHANGE, + Blockly.Events.BLOCK_CREATE, Blockly.Events.BLOCK_MOVE, Blockly.Events.BLOCK_DELETE, Blockly.Events.COMMENT_MOVE, diff --git a/plugins/continuous-toolbox/CHANGELOG.md b/plugins/continuous-toolbox/CHANGELOG.md index 3a73e9ff07..d124b0bec8 100644 --- a/plugins/continuous-toolbox/CHANGELOG.md +++ b/plugins/continuous-toolbox/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.14](https://github.com/google/blockly-samples/compare/@blockly/continuous-toolbox@6.0.13...@blockly/continuous-toolbox@6.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/continuous-toolbox + + + + + +## [6.0.13](https://github.com/google/blockly-samples/compare/@blockly/continuous-toolbox@6.0.12...@blockly/continuous-toolbox@6.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/continuous-toolbox + + + + + +## [6.0.12](https://github.com/google/blockly-samples/compare/@blockly/continuous-toolbox@6.0.11...@blockly/continuous-toolbox@6.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/continuous-toolbox + + + + + ## [6.0.11](https://github.com/google/blockly-samples/compare/@blockly/continuous-toolbox@6.0.10...@blockly/continuous-toolbox@6.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/continuous-toolbox diff --git a/plugins/continuous-toolbox/package-lock.json b/plugins/continuous-toolbox/package-lock.json index dff8845f3d..b084d403e5 100644 --- a/plugins/continuous-toolbox/package-lock.json +++ b/plugins/continuous-toolbox/package-lock.json @@ -1,16 +1,16 @@ { "name": "@blockly/continuous-toolbox", - "version": "6.0.11", + "version": "6.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/continuous-toolbox", - "version": "6.0.11", + "version": "6.0.14", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/continuous-toolbox/package.json b/plugins/continuous-toolbox/package.json index 3b3d256e11..2cee9ff6f2 100644 --- a/plugins/continuous-toolbox/package.json +++ b/plugins/continuous-toolbox/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/continuous-toolbox", - "version": "6.0.11", + "version": "6.0.14", "description": "A Blockly plugin that adds a continous-scrolling style toolbox and flyout", "scripts": { "build": "blockly-scripts build", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/cross-tab-copy-paste/CHANGELOG.md b/plugins/cross-tab-copy-paste/CHANGELOG.md index d75ea6ae9b..05ed0d9550 100644 --- a/plugins/cross-tab-copy-paste/CHANGELOG.md +++ b/plugins/cross-tab-copy-paste/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.14](https://github.com/google/blockly-samples/compare/@blockly/plugin-cross-tab-copy-paste@6.0.13...@blockly/plugin-cross-tab-copy-paste@6.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/plugin-cross-tab-copy-paste + + + + + +## [6.0.13](https://github.com/google/blockly-samples/compare/@blockly/plugin-cross-tab-copy-paste@6.0.12...@blockly/plugin-cross-tab-copy-paste@6.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/plugin-cross-tab-copy-paste + + + + + +## [6.0.12](https://github.com/google/blockly-samples/compare/@blockly/plugin-cross-tab-copy-paste@6.0.11...@blockly/plugin-cross-tab-copy-paste@6.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/plugin-cross-tab-copy-paste + + + + + ## [6.0.11](https://github.com/google/blockly-samples/compare/@blockly/plugin-cross-tab-copy-paste@6.0.10...@blockly/plugin-cross-tab-copy-paste@6.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/plugin-cross-tab-copy-paste diff --git a/plugins/cross-tab-copy-paste/package-lock.json b/plugins/cross-tab-copy-paste/package-lock.json index d2473f4947..1805e9ac15 100644 --- a/plugins/cross-tab-copy-paste/package-lock.json +++ b/plugins/cross-tab-copy-paste/package-lock.json @@ -1,16 +1,16 @@ { "name": "@blockly/plugin-cross-tab-copy-paste", - "version": "6.0.11", + "version": "6.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/plugin-cross-tab-copy-paste", - "version": "6.0.11", + "version": "6.0.14", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/cross-tab-copy-paste/package.json b/plugins/cross-tab-copy-paste/package.json index 53abf093ac..a9d27074ac 100644 --- a/plugins/cross-tab-copy-paste/package.json +++ b/plugins/cross-tab-copy-paste/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/plugin-cross-tab-copy-paste", - "version": "6.0.11", + "version": "6.0.14", "description": "Allows you to copy blocks with cross-tab.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/dev-scripts/CHANGELOG.md b/plugins/dev-scripts/CHANGELOG.md index 50ee3701f7..5a7e8d6205 100644 --- a/plugins/dev-scripts/CHANGELOG.md +++ b/plugins/dev-scripts/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.7](https://github.com/google/blockly-samples/compare/@blockly/dev-scripts@4.0.6...@blockly/dev-scripts@4.0.7) (2024-12-03) + +**Note:** Version bump only for package @blockly/dev-scripts + + + + + ## [4.0.6](https://github.com/google/blockly-samples/compare/@blockly/dev-scripts@4.0.5...@blockly/dev-scripts@4.0.6) (2024-11-07) diff --git a/plugins/dev-scripts/package-lock.json b/plugins/dev-scripts/package-lock.json index 1c2c141274..03b53c7b1c 100644 --- a/plugins/dev-scripts/package-lock.json +++ b/plugins/dev-scripts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/dev-scripts", - "version": "4.0.6", + "version": "4.0.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@blockly/dev-scripts", - "version": "4.0.6", + "version": "4.0.7", "license": "Apache-2.0", "dependencies": { "@babel/code-frame": "^7.8.3", diff --git a/plugins/dev-scripts/package.json b/plugins/dev-scripts/package.json index feab7bb06a..8add4d19ed 100644 --- a/plugins/dev-scripts/package.json +++ b/plugins/dev-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/dev-scripts", - "version": "4.0.6", + "version": "4.0.7", "description": "Configuration and scripts for Blockly plugins.", "scripts": { "lint": "eslint ." diff --git a/plugins/dev-tools/CHANGELOG.md b/plugins/dev-tools/CHANGELOG.md index 32210b1030..a4e3447801 100644 --- a/plugins/dev-tools/CHANGELOG.md +++ b/plugins/dev-tools/CHANGELOG.md @@ -3,6 +3,36 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [8.1.0](https://github.com/google/blockly-samples/compare/@blockly/dev-tools@8.0.13...@blockly/dev-tools@8.1.0) (2025-02-13) + + +### Features + +* Added button to Advanced Playground to import state. ([#2483](https://github.com/google/blockly-samples/issues/2483)) ([fed7ee0](https://github.com/google/blockly-samples/commit/fed7ee0e82cd0a2f3d2f00cec69abd5932feb42f)) + + + + + +## [8.0.13](https://github.com/google/blockly-samples/compare/@blockly/dev-tools@8.0.12...@blockly/dev-tools@8.0.13) (2024-12-19) + + +### Bug Fixes + +* Update screenshot plugin for compatibility with CSS vars. ([#2472](https://github.com/google/blockly-samples/issues/2472)) ([eecfccd](https://github.com/google/blockly-samples/commit/eecfccda56027a613d76f9ace70e62d9143f1c2e)) + + + + + +## [8.0.12](https://github.com/google/blockly-samples/compare/@blockly/dev-tools@8.0.11...@blockly/dev-tools@8.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/dev-tools + + + + + ## [8.0.11](https://github.com/google/blockly-samples/compare/@blockly/dev-tools@8.0.10...@blockly/dev-tools@8.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/dev-tools diff --git a/plugins/dev-tools/package-lock.json b/plugins/dev-tools/package-lock.json index c8e73b7bee..677520674e 100644 --- a/plugins/dev-tools/package-lock.json +++ b/plugins/dev-tools/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/dev-tools", - "version": "8.0.11", + "version": "8.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@blockly/dev-tools", - "version": "8.0.11", + "version": "8.1.0", "license": "Apache-2.0", "dependencies": { "chai": "^4.2.0", diff --git a/plugins/dev-tools/package.json b/plugins/dev-tools/package.json index dc0903be25..3d046efee4 100644 --- a/plugins/dev-tools/package.json +++ b/plugins/dev-tools/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/dev-tools", - "version": "8.0.11", + "version": "8.1.0", "description": "A library of common utilities for Blockly extension development.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -38,11 +38,11 @@ "src" ], "dependencies": { - "@blockly/block-test": "^6.0.10", - "@blockly/theme-dark": "^7.0.9", - "@blockly/theme-deuteranopia": "^6.0.9", - "@blockly/theme-highcontrast": "^6.0.9", - "@blockly/theme-tritanopia": "^6.0.9", + "@blockly/block-test": "^6.0.11", + "@blockly/theme-dark": "^7.0.10", + "@blockly/theme-deuteranopia": "^6.0.10", + "@blockly/theme-highcontrast": "^6.0.10", + "@blockly/theme-tritanopia": "^6.0.10", "chai": "^4.2.0", "dat.gui": "^0.7.7", "lodash.assign": "^4.2.0", @@ -51,7 +51,7 @@ "sinon": "^9.0.2" }, "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", + "@blockly/dev-scripts": "^4.0.7", "@types/dat.gui": "^0.7.5" }, "peerDependencies": { diff --git a/plugins/dev-tools/src/playground/index.js b/plugins/dev-tools/src/playground/index.js index c0f8001ee4..70a9c9c8ef 100644 --- a/plugins/dev-tools/src/playground/index.js +++ b/plugins/dev-tools/src/playground/index.js @@ -24,7 +24,12 @@ import {id} from './id'; import {addCodeEditor} from './monaco'; import {addGUIControls} from './options'; import {LocalStorageState} from './state'; -import {renderCheckbox, renderCodeTab, renderPlayground} from './ui'; +import { + renderButton, + renderCheckbox, + renderCodeTab, + renderPlayground, +} from './ui'; // Declare external types to make eslint happy. /* global dat, monaco */ @@ -222,6 +227,7 @@ export function createPlayground( // Update editor state. editorXmlContextKey.set(isXml); editorJsonContextKey.set(isJson); + updateImportButtonDisplay(); playgroundState.set('activeTab', tab.state.name); playgroundState.save(); }; @@ -341,6 +347,26 @@ export function createPlayground( playgroundState.save(); }); + // Create a button to import state from the editor tab to the workspace. + const importButton = renderButton('Import'); + tabButtons.appendChild(importButton); + importButton.addEventListener('click', (e) => { + if (editorXmlContextKey.get()) { + editor.getAction('import-xml').run(); + } + if (editorJsonContextKey.get()) { + editor.getAction('import-json').run(); + } + }); + const updateImportButtonDisplay = function () { + // The import button is only relevant for the XML and JSON tabs. + if (editorXmlContextKey.get() || editorJsonContextKey.get()) { + importButton.style.display = ''; + } else { + importButton.style.display = 'none'; + } + }; + // Set the initial tab as active. const activeTab = playgroundState.get('activeTab'); let currentTab = tabs[activeTab]; @@ -552,7 +578,10 @@ function registerEditorCommands(editor, playground) { const xml = editor.getModel().getValue(); const workspace = playground.getWorkspace(); try { - Blockly.Xml.domToWorkspace(Blockly.utils.xml.textToDom(xml), workspace); + Blockly.Xml.clearWorkspaceAndLoadFromXml( + Blockly.utils.xml.textToDom(xml), + workspace, + ); } catch (e) { // If this fails that's fine. return false; diff --git a/plugins/dev-tools/src/playground/ui.js b/plugins/dev-tools/src/playground/ui.js index 9e24f665f1..855b0becd9 100644 --- a/plugins/dev-tools/src/playground/ui.js +++ b/plugins/dev-tools/src/playground/ui.js @@ -109,7 +109,6 @@ export function renderPlayground(container) { const tabButtons = document.createElement('div'); tabButtons.style.position = 'absolute'; tabButtons.style.height = '30px'; - tabButtons.style.width = '50px'; tabButtons.style.top = '0'; tabButtons.style.right = '0'; tabButtons.style.display = 'flex'; @@ -166,3 +165,15 @@ export function renderCheckbox(id, label) { checkboxLabel.setAttribute('for', id); return [checkbox, checkboxLabel]; } + +/** + * Render a button. + * @param {string} label The text content of the button. + * @returns {HTMLButtonElement} The button element. + */ +export function renderButton(label) { + const button = document.createElement('button'); + button.setAttribute('type', 'button'); + button.textContent = label; + return button; +} diff --git a/plugins/dev-tools/src/screenshot.js b/plugins/dev-tools/src/screenshot.js index b10bf89741..6b233dd051 100644 --- a/plugins/dev-tools/src/screenshot.js +++ b/plugins/dev-tools/src/screenshot.js @@ -84,7 +84,11 @@ function workspaceToSvg_(workspace, callback, customCss) { ); svg.setAttribute('width', width); svg.setAttribute('height', height); - svg.setAttribute('style', 'background-color: transparent'); + svg.setAttribute( + 'style', + 'background-color: transparent; ' + + workspace.getInjectionDiv().style.cssText, // has CSS vars for SVG filters + ); const css = [].slice .call(document.head.querySelectorAll('style')) diff --git a/plugins/disable-top-blocks/CHANGELOG.md b/plugins/disable-top-blocks/CHANGELOG.md index 668dfba2ac..9aecad62ec 100644 --- a/plugins/disable-top-blocks/CHANGELOG.md +++ b/plugins/disable-top-blocks/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.5.14](https://github.com/google/blockly-samples/compare/@blockly/disable-top-blocks@0.5.13...@blockly/disable-top-blocks@0.5.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/disable-top-blocks + + + + + +## [0.5.13](https://github.com/google/blockly-samples/compare/@blockly/disable-top-blocks@0.5.12...@blockly/disable-top-blocks@0.5.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/disable-top-blocks + + + + + +## [0.5.12](https://github.com/google/blockly-samples/compare/@blockly/disable-top-blocks@0.5.11...@blockly/disable-top-blocks@0.5.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/disable-top-blocks + + + + + ## [0.5.11](https://github.com/google/blockly-samples/compare/@blockly/disable-top-blocks@0.5.10...@blockly/disable-top-blocks@0.5.11) (2024-11-07) **Note:** Version bump only for package @blockly/disable-top-blocks diff --git a/plugins/disable-top-blocks/package-lock.json b/plugins/disable-top-blocks/package-lock.json index 7de7a9e986..9dc1330df6 100644 --- a/plugins/disable-top-blocks/package-lock.json +++ b/plugins/disable-top-blocks/package-lock.json @@ -1,16 +1,16 @@ { "name": "@blockly/disable-top-blocks", - "version": "0.5.11", + "version": "0.5.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/disable-top-blocks", - "version": "0.5.11", + "version": "0.5.14", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/disable-top-blocks/package.json b/plugins/disable-top-blocks/package.json index 191929eca8..54d0dfefe1 100644 --- a/plugins/disable-top-blocks/package.json +++ b/plugins/disable-top-blocks/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/disable-top-blocks", - "version": "0.5.11", + "version": "0.5.14", "description": "A Blockly plugin that shows the 'disable' context menu option only on non-orphan blocks.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -38,8 +38,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/eslint-config/package.json b/plugins/eslint-config/package.json index ce64e8a7ce..36f3f42863 100644 --- a/plugins/eslint-config/package.json +++ b/plugins/eslint-config/package.json @@ -1,6 +1,7 @@ { "name": "@blockly/eslint-config", "version": "4.0.1", + "private": true, "description": "ESlint configuration used by Blockly plugins.", "files": [ "index.js" diff --git a/plugins/field-angle/CHANGELOG.md b/plugins/field-angle/CHANGELOG.md index 5218afaca0..7ea91c5316 100644 --- a/plugins/field-angle/CHANGELOG.md +++ b/plugins/field-angle/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-angle@5.0.13...@blockly/field-angle@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-angle + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-angle@5.0.12...@blockly/field-angle@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-angle + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-angle@5.0.11...@blockly/field-angle@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-angle + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-angle@5.0.10...@blockly/field-angle@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-angle diff --git a/plugins/field-angle/package-lock.json b/plugins/field-angle/package-lock.json index 436070e579..08c89ba518 100644 --- a/plugins/field-angle/package-lock.json +++ b/plugins/field-angle/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-angle", - "version": "5.0.11", + "version": "5.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-angle", - "version": "5.0.11", + "version": "5.0.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/field-angle/package.json b/plugins/field-angle/package.json index bda233683b..4e7f3e24ff 100644 --- a/plugins/field-angle/package.json +++ b/plugins/field-angle/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-angle", - "version": "5.0.11", + "version": "5.0.14", "description": "A Blockly angle field.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "sinon": "^9.0.1", "typescript": "^5.4.5" diff --git a/plugins/field-bitmap/CHANGELOG.md b/plugins/field-bitmap/CHANGELOG.md index a9cd64b736..0709df2617 100644 --- a/plugins/field-bitmap/CHANGELOG.md +++ b/plugins/field-bitmap/CHANGELOG.md @@ -3,6 +3,41 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.15](https://github.com/google/blockly-samples/compare/@blockly/field-bitmap@5.0.14...@blockly/field-bitmap@5.0.15) (2025-02-27) + + +### Bug Fixes + +* [#2463](https://github.com/google/blockly-samples/issues/2463) update event handling for field-bitmap to support touch ([c105002](https://github.com/google/blockly-samples/commit/c1050025e41dd456c822301555b1b3a20577d03e)) + + + + + +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-bitmap@5.0.13...@blockly/field-bitmap@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-bitmap + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-bitmap@5.0.12...@blockly/field-bitmap@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-bitmap + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-bitmap@5.0.11...@blockly/field-bitmap@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-bitmap + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-bitmap@5.0.10...@blockly/field-bitmap@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-bitmap diff --git a/plugins/field-bitmap/package-lock.json b/plugins/field-bitmap/package-lock.json index 9a456cb1b5..8ee96365fa 100644 --- a/plugins/field-bitmap/package-lock.json +++ b/plugins/field-bitmap/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-bitmap", - "version": "5.0.11", + "version": "5.0.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-bitmap", - "version": "5.0.11", + "version": "5.0.15", "license": "Apache-2.0", "devDependencies": { "chai": "^4.3.6", diff --git a/plugins/field-bitmap/package.json b/plugins/field-bitmap/package.json index 86b6e62828..c7a5f80d56 100644 --- a/plugins/field-bitmap/package.json +++ b/plugins/field-bitmap/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-bitmap", - "version": "5.0.11", + "version": "5.0.15", "description": "A field that lets users input a pixel grid with their mouse.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.3.6", "mocha": "^10.7.0", "typescript": "^5.4.5" diff --git a/plugins/field-bitmap/src/field-bitmap.ts b/plugins/field-bitmap/src/field-bitmap.ts index 70b4fea421..e19156c66c 100644 --- a/plugins/field-bitmap/src/field-bitmap.ts +++ b/plugins/field-bitmap/src/field-bitmap.ts @@ -37,7 +37,7 @@ export class FieldBitmap extends Blockly.Field { private editorPixels: HTMLElement[][] | null = null; private blockDisplayPixels: SVGElement[][] | null = null; /** Stateful variables */ - private mouseIsDown = false; + private pointerIsDown = false; private valToPaintWith?: number; buttonOptions: Buttons; pixelSize: number; @@ -292,9 +292,13 @@ export class FieldBitmap extends Blockly.Field { // This prevents the normal max-height from adding a scroll bar for large images. Blockly.DropDownDiv.getContentDiv().classList.add('contains-bitmap-editor'); - this.bindEvent(dropdownEditor, 'mouseup', this.onMouseUp); - this.bindEvent(dropdownEditor, 'mouseleave', this.onMouseUp); - this.bindEvent(dropdownEditor, 'dragstart', (e: Event) => { + this.bindEvent(dropdownEditor, 'pointermove', this.onPointerMove); + this.bindEvent(dropdownEditor, 'pointerup', this.onPointerEnd); + this.bindEvent(dropdownEditor, 'pointerleave', this.onPointerEnd); + this.bindEvent(dropdownEditor, 'pointerdown', this.onPointerStart); + this.bindEvent(dropdownEditor, 'pointercancel', this.onPointerEnd); + // Stop the browser from handling touch events and cancelling the event. + this.bindEvent(dropdownEditor, 'touchmove', (e: Event) => { e.preventDefault(); }); @@ -314,16 +318,9 @@ export class FieldBitmap extends Blockly.Field { ? this.pixelColours.filled : this.pixelColours.empty; - // Handle clicking a pixel - this.bindEvent(button, 'mousedown', () => { - this.onMouseDownInPixel(r, c); - return true; - }); - - // Handle dragging into a pixel when mouse is down - this.bindEvent(button, 'mouseenter', () => { - this.onMouseEnterPixel(r, c); - }); + // Set the custom data attributes for row and column indices + button.setAttribute('data-row', r.toString()); + button.setAttribute('data-col', c.toString()); } pixelContainer.appendChild(rowDiv); } @@ -473,29 +470,63 @@ export class FieldBitmap extends Blockly.Field { } /** - * Called when a mousedown event occurs within the bounds of a pixel. + * Checks if a down event is on a pixel in this editor and if it is starts an + * edit gesture. + * + * @param e The down event. + */ + private onPointerStart(e: PointerEvent) { + const currentElement = document.elementFromPoint(e.clientX, e.clientY); + const rowIndex = currentElement?.getAttribute('data-row'); + const colIndex = currentElement?.getAttribute('data-col'); + if (rowIndex && colIndex) { + this.onPointerDownInPixel(parseInt(rowIndex), parseInt(colIndex)); + this.pointerIsDown = true; + e.preventDefault(); + } + } + + /** + * Updates the editor if we're in an edit gesture and the pointer is over a + * pixel. + * + * @param e The move event. + */ + private onPointerMove(e: PointerEvent) { + if (!this.pointerIsDown) { + return; + } + const currentElement = document.elementFromPoint(e.clientX, e.clientY); + const rowIndex = currentElement?.getAttribute('data-row'); + const colIndex = currentElement?.getAttribute('data-col'); + if (rowIndex && colIndex) { + this.updatePixelValue(parseInt(rowIndex), parseInt(colIndex)); + } + e.preventDefault(); + } + + /** + * Starts an interaction with the bitmap dropdown when there's a pointerdown + * within one of the pixels in the editor. * * @param r Row number of grid. * @param c Column number of grid. */ - private onMouseDownInPixel(r: number, c: number) { + private onPointerDownInPixel(r: number, c: number) { // Toggle that pixel to the opposite of its value const newPixelValue = 1 - this.getPixel(r, c); this.setPixel(r, c, newPixelValue); - this.mouseIsDown = true; + this.pointerIsDown = true; this.valToPaintWith = newPixelValue; } /** - * Called when the mouse drags over a pixel in the editor. + * Sets the specified pixel in the editor to the current value being painted. * * @param r Row number of grid. * @param c Column number of grid. */ - private onMouseEnterPixel(r: number, c: number) { - if (!this.mouseIsDown) { - return; - } + private updatePixelValue(r: number, c: number) { if ( this.valToPaintWith !== undefined && this.getPixel(r, c) !== this.valToPaintWith @@ -505,11 +536,11 @@ export class FieldBitmap extends Blockly.Field { } /** - * Resets mouse state (e.g. After either a mouseup event or if the mouse - * leaves the editor area). + * Resets pointer state (e.g. After either a pointerup event or if the + * gesture is canceled). */ - private onMouseUp() { - this.mouseIsDown = false; + private onPointerEnd() { + this.pointerIsDown = false; this.valToPaintWith = undefined; } @@ -594,10 +625,10 @@ export class FieldBitmap extends Blockly.Field { private bindEvent( element: HTMLElement, eventName: string, - callback: (e: Event) => void, + callback: (e: PointerEvent) => void, ) { this.boundEvents.push( - Blockly.browserEvents.conditionalBind(element, eventName, this, callback), + Blockly.browserEvents.bind(element, eventName, this, callback), ); } diff --git a/plugins/field-colour-hsv-sliders/CHANGELOG.md b/plugins/field-colour-hsv-sliders/CHANGELOG.md index e6c0261287..ae1ce742a6 100644 --- a/plugins/field-colour-hsv-sliders/CHANGELOG.md +++ b/plugins/field-colour-hsv-sliders/CHANGELOG.md @@ -3,6 +3,54 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.17](https://github.com/google/blockly-samples/compare/@blockly/field-colour-hsv-sliders@5.0.16...@blockly/field-colour-hsv-sliders@5.0.17) (2025-05-08) + +**Note:** Version bump only for package @blockly/field-colour-hsv-sliders + + + + + +## [5.0.16](https://github.com/google/blockly-samples/compare/@blockly/field-colour-hsv-sliders@5.0.15...@blockly/field-colour-hsv-sliders@5.0.16) (2025-03-27) + +**Note:** Version bump only for package @blockly/field-colour-hsv-sliders + + + + + +## [5.0.15](https://github.com/google/blockly-samples/compare/@blockly/field-colour-hsv-sliders@5.0.14...@blockly/field-colour-hsv-sliders@5.0.15) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-colour-hsv-sliders + + + + + +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-colour-hsv-sliders@5.0.13...@blockly/field-colour-hsv-sliders@5.0.14) (2025-01-23) + +**Note:** Version bump only for package @blockly/field-colour-hsv-sliders + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-colour-hsv-sliders@5.0.12...@blockly/field-colour-hsv-sliders@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-colour-hsv-sliders + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-colour-hsv-sliders@5.0.11...@blockly/field-colour-hsv-sliders@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-colour-hsv-sliders + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-colour-hsv-sliders@5.0.10...@blockly/field-colour-hsv-sliders@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-colour-hsv-sliders diff --git a/plugins/field-colour-hsv-sliders/package-lock.json b/plugins/field-colour-hsv-sliders/package-lock.json index e187cca896..ec5a03693f 100644 --- a/plugins/field-colour-hsv-sliders/package-lock.json +++ b/plugins/field-colour-hsv-sliders/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-colour-hsv-sliders", - "version": "5.0.11", + "version": "5.0.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-colour-hsv-sliders", - "version": "5.0.11", + "version": "5.0.17", "license": "Apache-2.0", "devDependencies": { "typescript": "^5.4.5" diff --git a/plugins/field-colour-hsv-sliders/package.json b/plugins/field-colour-hsv-sliders/package.json index 1c174d8371..ddb2614813 100644 --- a/plugins/field-colour-hsv-sliders/package.json +++ b/plugins/field-colour-hsv-sliders/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-colour-hsv-sliders", - "version": "5.0.11", + "version": "5.0.17", "description": "A Blockly colour field using HSV sliders.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -41,11 +41,11 @@ "src" ], "dependencies": { - "@blockly/field-colour": "^5.0.11" + "@blockly/field-colour": "^5.0.17" }, "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "typescript": "^5.4.5" }, "peerDependencies": { diff --git a/plugins/field-colour/CHANGELOG.md b/plugins/field-colour/CHANGELOG.md index b26a184ea6..e932b64a73 100644 --- a/plugins/field-colour/CHANGELOG.md +++ b/plugins/field-colour/CHANGELOG.md @@ -3,6 +3,63 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.17](https://github.com/google/blockly-samples/compare/@blockly/field-colour@5.0.16...@blockly/field-colour@5.0.17) (2025-05-08) + + +### Bug Fixes + +* Add `getClass()` to `FieldColour`. ([#2506](https://github.com/google/blockly-samples/issues/2506)) ([f5a577b](https://github.com/google/blockly-samples/commit/f5a577b8fe25b6fbf1502ca85902c22777fd8270)) + + + + + +## [5.0.16](https://github.com/google/blockly-samples/compare/@blockly/field-colour@5.0.15...@blockly/field-colour@5.0.16) (2025-03-27) + + +### Bug Fixes + +* Don't call blur() when mouse leaves the colour picker. ([#2499](https://github.com/google/blockly-samples/issues/2499)) ([e8d4a87](https://github.com/google/blockly-samples/commit/e8d4a874c44cdb0e1ad05b08122251b9e758655c)) + + + + + +## [5.0.15](https://github.com/google/blockly-samples/compare/@blockly/field-colour@5.0.14...@blockly/field-colour@5.0.15) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-colour + + + + + +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-colour@5.0.13...@blockly/field-colour@5.0.14) (2025-01-23) + + +### Bug Fixes + +* Fix bug that prevented keyboard navigation of color swatches. ([#2479](https://github.com/google/blockly-samples/issues/2479)) ([5945e7c](https://github.com/google/blockly-samples/commit/5945e7c0412faedc08c422f9f538ef22193cc659)) + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-colour@5.0.12...@blockly/field-colour@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-colour + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-colour@5.0.11...@blockly/field-colour@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-colour + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-colour@5.0.10...@blockly/field-colour@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-colour diff --git a/plugins/field-colour/package-lock.json b/plugins/field-colour/package-lock.json index 001ae23069..29292421d8 100644 --- a/plugins/field-colour/package-lock.json +++ b/plugins/field-colour/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-colour", - "version": "5.0.11", + "version": "5.0.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-colour", - "version": "5.0.11", + "version": "5.0.17", "license": "Apache-2.0", "devDependencies": { "@typescript-eslint/parser": "^5.59.5", diff --git a/plugins/field-colour/package.json b/plugins/field-colour/package.json index ce5d006ddf..e6c02aed06 100644 --- a/plugins/field-colour/package.json +++ b/plugins/field-colour/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-colour", - "version": "5.0.11", + "version": "5.0.17", "description": "A Blockly colour field.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "@typescript-eslint/parser": "^5.59.5", "chai": "^4.2.0", "sinon": "^9.0.1", diff --git a/plugins/field-colour/src/field_colour.ts b/plugins/field-colour/src/field_colour.ts index dc5c88dfe4..1fb72115c4 100644 --- a/plugins/field-colour/src/field_colour.ts +++ b/plugins/field-colour/src/field_colour.ts @@ -475,7 +475,7 @@ export class FieldColour extends Blockly.Field { * @param dy Change of y. */ private moveHighlightBy(dx: number, dy: number) { - if (!this.highlightedIndex) { + if (this.highlightedIndex === null) { return; } @@ -547,11 +547,10 @@ export class FieldColour extends Blockly.Field { } /** - * Handle a mouse leave event. Blur the picker and unhighlight - * the currently highlighted colour. + * Handle a mouse leave event by unnhighlighting the currently highlighted + * colour. */ private onMouseLeave() { - this.picker?.blur(); const highlighted = this.getHighlighted(); if (highlighted) { Blockly.utils.dom.removeClass(highlighted, 'blocklyColourHighlighted'); @@ -564,7 +563,7 @@ export class FieldColour extends Blockly.Field { * @returns Highlighted item (null if none). */ private getHighlighted(): HTMLElement | null { - if (!this.highlightedIndex) { + if (this.highlightedIndex === null) { return null; } @@ -732,6 +731,15 @@ export class FieldColour extends Blockly.Field { // the static fromJson method. return new this(options.colour, undefined, options); } + + /** + * Returns the class of this field. + * + * @returns FieldColour. + */ + getClass() { + return FieldColour; + } } /** The default value for this field. */ diff --git a/plugins/field-date/CHANGELOG.md b/plugins/field-date/CHANGELOG.md index 8b3e99003a..6da12492ee 100644 --- a/plugins/field-date/CHANGELOG.md +++ b/plugins/field-date/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-date@9.0.13...@blockly/field-date@9.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-date + + + + + +## [9.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-date@9.0.12...@blockly/field-date@9.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-date + + + + + +## [9.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-date@9.0.11...@blockly/field-date@9.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-date + + + + + ## [9.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-date@9.0.10...@blockly/field-date@9.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-date diff --git a/plugins/field-date/package-lock.json b/plugins/field-date/package-lock.json index 3188571ff2..931659822b 100644 --- a/plugins/field-date/package-lock.json +++ b/plugins/field-date/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-date", - "version": "9.0.11", + "version": "9.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-date", - "version": "9.0.11", + "version": "9.0.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/field-date/package.json b/plugins/field-date/package.json index ea07be08e3..989c908154 100644 --- a/plugins/field-date/package.json +++ b/plugins/field-date/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-date", - "version": "9.0.11", + "version": "9.0.14", "description": "A Blockly date picker field that uses the browser's date picker.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -42,8 +42,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "sinon": "^9.0.1", "typescript": "^5.4.5" diff --git a/plugins/field-dependent-dropdown/CHANGELOG.md b/plugins/field-dependent-dropdown/CHANGELOG.md index b54a73474f..257bcca149 100644 --- a/plugins/field-dependent-dropdown/CHANGELOG.md +++ b/plugins/field-dependent-dropdown/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-dependent-dropdown@4.0.13...@blockly/field-dependent-dropdown@4.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-dependent-dropdown + + + + + +## [4.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-dependent-dropdown@4.0.12...@blockly/field-dependent-dropdown@4.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-dependent-dropdown + + + + + +## [4.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-dependent-dropdown@4.0.11...@blockly/field-dependent-dropdown@4.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-dependent-dropdown + + + + + ## [4.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-dependent-dropdown@4.0.10...@blockly/field-dependent-dropdown@4.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-dependent-dropdown diff --git a/plugins/field-dependent-dropdown/package-lock.json b/plugins/field-dependent-dropdown/package-lock.json index 7645a13aa5..ae6698aca0 100644 --- a/plugins/field-dependent-dropdown/package-lock.json +++ b/plugins/field-dependent-dropdown/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-dependent-dropdown", - "version": "4.0.11", + "version": "4.0.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@blockly/field-dependent-dropdown", - "version": "4.0.11", + "version": "4.0.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/field-dependent-dropdown/package.json b/plugins/field-dependent-dropdown/package.json index 35f331a1a0..3318646560 100644 --- a/plugins/field-dependent-dropdown/package.json +++ b/plugins/field-dependent-dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-dependent-dropdown", - "version": "4.0.11", + "version": "4.0.14", "description": "A Blockly dropdown field that automatically updates its available options depending on the value of another field.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -41,8 +41,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "sinon": "^9.0.1", "typescript": "^5.4.5" diff --git a/plugins/field-grid-dropdown/CHANGELOG.md b/plugins/field-grid-dropdown/CHANGELOG.md index 9494ee524f..0aefe3121b 100644 --- a/plugins/field-grid-dropdown/CHANGELOG.md +++ b/plugins/field-grid-dropdown/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-grid-dropdown@5.0.13...@blockly/field-grid-dropdown@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-grid-dropdown + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-grid-dropdown@5.0.12...@blockly/field-grid-dropdown@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-grid-dropdown + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-grid-dropdown@5.0.11...@blockly/field-grid-dropdown@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-grid-dropdown + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-grid-dropdown@5.0.10...@blockly/field-grid-dropdown@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-grid-dropdown diff --git a/plugins/field-grid-dropdown/package-lock.json b/plugins/field-grid-dropdown/package-lock.json index c60ad35804..dc219e1e1a 100644 --- a/plugins/field-grid-dropdown/package-lock.json +++ b/plugins/field-grid-dropdown/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-grid-dropdown", - "version": "5.0.11", + "version": "5.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-grid-dropdown", - "version": "5.0.11", + "version": "5.0.14", "license": "Apache 2.0", "devDependencies": { "typescript": "^5.4.5" diff --git a/plugins/field-grid-dropdown/package.json b/plugins/field-grid-dropdown/package.json index 08495cfb3c..79777e9749 100644 --- a/plugins/field-grid-dropdown/package.json +++ b/plugins/field-grid-dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-grid-dropdown", - "version": "5.0.11", + "version": "5.0.14", "description": "A Blockly dropdown field with grid layout.", "scripts": { "build": "blockly-scripts build", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "typescript": "^5.4.5" }, "peerDependencies": { diff --git a/plugins/field-multilineinput/CHANGELOG.md b/plugins/field-multilineinput/CHANGELOG.md index 54699b357a..d539783345 100644 --- a/plugins/field-multilineinput/CHANGELOG.md +++ b/plugins/field-multilineinput/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.15](https://github.com/google/blockly-samples/compare/@blockly/field-multilineinput@5.0.14...@blockly/field-multilineinput@5.0.15) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-multilineinput + + + + + +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-multilineinput@5.0.13...@blockly/field-multilineinput@5.0.14) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-multilineinput + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-multilineinput@5.0.12...@blockly/field-multilineinput@5.0.13) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-multilineinput + + + + + ## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-multilineinput@5.0.11...@blockly/field-multilineinput@5.0.12) (2024-11-07) **Note:** Version bump only for package @blockly/field-multilineinput diff --git a/plugins/field-multilineinput/package-lock.json b/plugins/field-multilineinput/package-lock.json index 0bde5c2d7e..117725375f 100644 --- a/plugins/field-multilineinput/package-lock.json +++ b/plugins/field-multilineinput/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-multilineinput", - "version": "5.0.12", + "version": "5.0.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-multilineinput", - "version": "5.0.12", + "version": "5.0.15", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/field-multilineinput/package.json b/plugins/field-multilineinput/package.json index c6d94237a1..8b1b79aa47 100644 --- a/plugins/field-multilineinput/package.json +++ b/plugins/field-multilineinput/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-multilineinput", - "version": "5.0.12", + "version": "5.0.15", "description": "A Blockly multilineinput field.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "sinon": "^9.0.1", "typescript": "^5.4.5" diff --git a/plugins/field-slider/CHANGELOG.md b/plugins/field-slider/CHANGELOG.md index 530bc9e495..3cfa1343a0 100644 --- a/plugins/field-slider/CHANGELOG.md +++ b/plugins/field-slider/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.0.14](https://github.com/google/blockly-samples/compare/@blockly/field-slider@7.0.13...@blockly/field-slider@7.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/field-slider + + + + + +## [7.0.13](https://github.com/google/blockly-samples/compare/@blockly/field-slider@7.0.12...@blockly/field-slider@7.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/field-slider + + + + + +## [7.0.12](https://github.com/google/blockly-samples/compare/@blockly/field-slider@7.0.11...@blockly/field-slider@7.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/field-slider + + + + + ## [7.0.11](https://github.com/google/blockly-samples/compare/@blockly/field-slider@7.0.10...@blockly/field-slider@7.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/field-slider diff --git a/plugins/field-slider/package-lock.json b/plugins/field-slider/package-lock.json index 9b772fed0d..d5212882d5 100644 --- a/plugins/field-slider/package-lock.json +++ b/plugins/field-slider/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/field-slider", - "version": "7.0.11", + "version": "7.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/field-slider", - "version": "7.0.11", + "version": "7.0.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/field-slider/package.json b/plugins/field-slider/package.json index 043a38ea92..c297fffb13 100644 --- a/plugins/field-slider/package.json +++ b/plugins/field-slider/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/field-slider", - "version": "7.0.11", + "version": "7.0.14", "description": "A Blockly slider field.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "sinon": "^9.0.1", "typescript": "^5.4.5" diff --git a/plugins/fixed-edges/CHANGELOG.md b/plugins/fixed-edges/CHANGELOG.md index 70dfe75db4..6fdcc1a3d1 100644 --- a/plugins/fixed-edges/CHANGELOG.md +++ b/plugins/fixed-edges/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/fixed-edges@5.0.13...@blockly/fixed-edges@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/fixed-edges + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/fixed-edges@5.0.12...@blockly/fixed-edges@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/fixed-edges + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/fixed-edges@5.0.11...@blockly/fixed-edges@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/fixed-edges + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/fixed-edges@5.0.10...@blockly/fixed-edges@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/fixed-edges diff --git a/plugins/fixed-edges/package-lock.json b/plugins/fixed-edges/package-lock.json index 955596bf51..5c222d4471 100644 --- a/plugins/fixed-edges/package-lock.json +++ b/plugins/fixed-edges/package-lock.json @@ -1,16 +1,16 @@ { "name": "@blockly/fixed-edges", - "version": "5.0.11", + "version": "5.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/fixed-edges", - "version": "5.0.11", + "version": "5.0.14", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/fixed-edges/package.json b/plugins/fixed-edges/package.json index 915ef9df5d..26ca5d34d1 100644 --- a/plugins/fixed-edges/package.json +++ b/plugins/fixed-edges/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/fixed-edges", - "version": "5.0.11", + "version": "5.0.14", "description": "A plugin that provides a MetricsManager that can be used to prevent the workspace from expanding to the top/left/right/bottom when blocks are dragged to that edge.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -38,8 +38,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11" + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/keyboard-navigation/CHANGELOG.md b/plugins/keyboard-navigation/CHANGELOG.md index 91f7f28b8c..805ed4315f 100644 --- a/plugins/keyboard-navigation/CHANGELOG.md +++ b/plugins/keyboard-navigation/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.6.14](https://github.com/google/blockly-samples/compare/@blockly/keyboard-navigation@0.6.13...@blockly/keyboard-navigation@0.6.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/keyboard-navigation + + + + + +## [0.6.13](https://github.com/google/blockly-samples/compare/@blockly/keyboard-navigation@0.6.12...@blockly/keyboard-navigation@0.6.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/keyboard-navigation + + + + + +## [0.6.12](https://github.com/google/blockly-samples/compare/@blockly/keyboard-navigation@0.6.11...@blockly/keyboard-navigation@0.6.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/keyboard-navigation + + + + + ## [0.6.11](https://github.com/google/blockly-samples/compare/@blockly/keyboard-navigation@0.6.10...@blockly/keyboard-navigation@0.6.11) (2024-11-07) **Note:** Version bump only for package @blockly/keyboard-navigation diff --git a/plugins/keyboard-navigation/package-lock.json b/plugins/keyboard-navigation/package-lock.json index a8cd4831c6..2037b47982 100644 --- a/plugins/keyboard-navigation/package-lock.json +++ b/plugins/keyboard-navigation/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/keyboard-navigation", - "version": "0.6.11", + "version": "0.6.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/keyboard-navigation", - "version": "0.6.11", + "version": "0.6.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/keyboard-navigation/package.json b/plugins/keyboard-navigation/package.json index 0193fb9aff..14cba18f45 100644 --- a/plugins/keyboard-navigation/package.json +++ b/plugins/keyboard-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/keyboard-navigation", - "version": "0.6.11", + "version": "0.6.14", "description": "A Blockly plugin that adds keyboard navigation support.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "jsdom": "^16.4.0", "jsdom-global": "^3.0.2", diff --git a/plugins/migration/CHANGELOG.md b/plugins/migration/CHANGELOG.md index d9a8438d55..33a5d899d8 100644 --- a/plugins/migration/CHANGELOG.md +++ b/plugins/migration/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.3](https://github.com/google/blockly-samples/compare/@blockly/migrate@3.0.2...@blockly/migrate@3.0.3) (2025-03-13) + +**Note:** Version bump only for package @blockly/migrate + + + + + ## [3.0.2](https://github.com/google/blockly-samples/compare/@blockly/migrate@3.0.1...@blockly/migrate@3.0.2) (2024-08-08) diff --git a/plugins/migration/bin/fix-imports.js b/plugins/migration/bin/fix-imports.js index abaa79bee7..642767c715 100644 --- a/plugins/migration/bin/fix-imports.js +++ b/plugins/migration/bin/fix-imports.js @@ -99,6 +99,13 @@ const database = [ newImport: `import * as libraryBlocks from 'blockly/blocks';`, newRequire: `const libraryBlocks = require('blockly/blocks');`, }, + { + import: 'blockly', + oldIdentifier: 'Blockly', + newIdentifier: 'Blockly', // no-op + newImport: `import * as Blockly from 'blockly';`, + newRequire: `const Blockly = require('blockly');`, // no-op + }, ]; /** @@ -125,9 +132,18 @@ function migrateContents(contents) { */ function fixImport(contents, migrationData) { const identifier = getIdentifier(contents, migrationData); + // Don't need to run if there are no references. if (!identifier) return contents; - const newContents = replaceReferences(contents, migrationData, identifier); - if (newContents !== contents) return addImport(newContents, migrationData); + // If the identifier changed, update all references to it and the import + if (migrationData.oldIdentifier !== migrationData.newIdentifier) { + const newContents = replaceReferences(contents, migrationData, identifier); + if (newContents !== contents) { + return addImport(newContents, migrationData); + } + } else { + // Just the import changed + return addImport(contents, migrationData); + } return contents; } diff --git a/plugins/migration/package-lock.json b/plugins/migration/package-lock.json index 24f0cfaea3..a485ded8aa 100644 --- a/plugins/migration/package-lock.json +++ b/plugins/migration/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/migrate", - "version": "3.0.2", + "version": "3.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/migrate", - "version": "3.0.2", + "version": "3.0.3", "license": "Apache-2.0", "dependencies": { "chalk": "^5.0.1", @@ -2062,4 +2062,4 @@ "dev": true } } -} +} \ No newline at end of file diff --git a/plugins/migration/package.json b/plugins/migration/package.json index 4f93c81182..d752897ff0 100644 --- a/plugins/migration/package.json +++ b/plugins/migration/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/migrate", - "version": "3.0.2", + "version": "3.0.3", "description": "A collection of tools that help with migrating apps using Blockly to new versions of BLockly.", "bin": "./bin/migrate.js", "author": "Blockly Team", diff --git a/plugins/migration/test/manual-test-data/fix-imports/import.txt b/plugins/migration/test/manual-test-data/fix-imports/import.js similarity index 85% rename from plugins/migration/test/manual-test-data/fix-imports/import.txt rename to plugins/migration/test/manual-test-data/fix-imports/import.js index 4344593a55..721272e09e 100644 --- a/plugins/migration/test/manual-test-data/fix-imports/import.txt +++ b/plugins/migration/test/manual-test-data/fix-imports/import.js @@ -1,11 +1,11 @@ // Manual test data for the renamings migration. // Run using: -// node ./bin/migrate fix-imports --from ./test/manual-test-data/fix-imports/import.txt +// node ./bin/migrate fix-imports --from ./test/manual-test-data/fix-imports/import.js import Blockly from 'blockly'; -import * as BlocklyDart from "blockly/dart"; +import * as BlocklyDart from 'blockly/dart'; import * as BlocklyLua from 'blockly/lua'; -import * as BlocklyPhp from "blockly/php"; +import * as BlocklyPhp from 'blockly/php'; import * as BlocklyPython from 'blockly/python'; Blockly.JavaScript.something; @@ -31,3 +31,5 @@ Some.Other.identifer; Blockly.libraryBlocks.something; const something = Blockly.libraryBlocks.something; Some.Other.identifer; + +Blockly.zelos; diff --git a/plugins/migration/test/manual-test-data/fix-imports/mixed-1.txt b/plugins/migration/test/manual-test-data/fix-imports/mixed-1.js similarity index 98% rename from plugins/migration/test/manual-test-data/fix-imports/mixed-1.txt rename to plugins/migration/test/manual-test-data/fix-imports/mixed-1.js index 1c45be79da..77ffed9a26 100644 --- a/plugins/migration/test/manual-test-data/fix-imports/mixed-1.txt +++ b/plugins/migration/test/manual-test-data/fix-imports/mixed-1.js @@ -31,3 +31,5 @@ Some.Other.identifer; Blockly.libraryBlocks.something; const something = Blockly.libraryBlocks.something; Some.Other.identifer; + +Blockly.zelos; diff --git a/plugins/migration/test/manual-test-data/fix-imports/mixed-2.txt b/plugins/migration/test/manual-test-data/fix-imports/mixed-2.js similarity index 89% rename from plugins/migration/test/manual-test-data/fix-imports/mixed-2.txt rename to plugins/migration/test/manual-test-data/fix-imports/mixed-2.js index 320ddd2fe0..d8b8ca3fdc 100644 --- a/plugins/migration/test/manual-test-data/fix-imports/mixed-2.txt +++ b/plugins/migration/test/manual-test-data/fix-imports/mixed-2.js @@ -3,9 +3,9 @@ // node ./bin/migrate fix-imports --from ./test/manual-test-data/fix-imports/mixed-1.txt const Blockly = require('blockly'); -import * as BlocklyDart from "blockly/dart"; +import * as BlocklyDart from 'blockly/dart'; const BlocklyLua = require('blockly/lua'); -import * as BlocklyPhp from "blockly/php"; +import * as BlocklyPhp from 'blockly/php'; const BlocklyPython = require('blockly/python'); Blockly.JavaScript.something; @@ -31,3 +31,5 @@ Some.Other.identifer; Blockly.libraryBlocks.something; const something = Blockly.libraryBlocks.something; Some.Other.identifer; + +Blockly.zelos; diff --git a/plugins/migration/test/manual-test-data/fix-imports/require.txt b/plugins/migration/test/manual-test-data/fix-imports/require.js similarity index 89% rename from plugins/migration/test/manual-test-data/fix-imports/require.txt rename to plugins/migration/test/manual-test-data/fix-imports/require.js index 58b8fa0d88..d6a9410582 100644 --- a/plugins/migration/test/manual-test-data/fix-imports/require.txt +++ b/plugins/migration/test/manual-test-data/fix-imports/require.js @@ -3,9 +3,9 @@ // node ./bin/migrate fix-imports --from ./test/manual-test-data/fix-imports/require.txt const Blockly = require('blockly'); -const BlocklyDart = require("blockly/dart"); +const BlocklyDart = require('blockly/dart'); const BlocklyLua = require('blockly/lua'); -let BlocklyPhp = require("blockly/php"); +let BlocklyPhp = require('blockly/php'); var BlocklyPython = require('blockly/python'); Blockly.JavaScript.something; @@ -31,3 +31,5 @@ Some.Other.identifer; Blockly.libraryBlocks.something; const something = Blockly.libraryBlocks.something; Some.Other.identifer; + +Blockly.zelos; diff --git a/plugins/migration/test/manual-test-data/rename.txt b/plugins/migration/test/manual-test-data/rename.js similarity index 99% rename from plugins/migration/test/manual-test-data/rename.txt rename to plugins/migration/test/manual-test-data/rename.js index 6ce4c46d61..55bb51b878 100644 --- a/plugins/migration/test/manual-test-data/rename.txt +++ b/plugins/migration/test/manual-test-data/rename.js @@ -25,4 +25,4 @@ class SubClass extends Blockly.moduleC { const thingA = /** @type {Blockly.moduleD} */ (new Blockly.moduleE()); return thingA.someMethod(paramA, paramB); } -}; +} diff --git a/plugins/modal/CHANGELOG.md b/plugins/modal/CHANGELOG.md index e537ac675e..a3e34e76c1 100644 --- a/plugins/modal/CHANGELOG.md +++ b/plugins/modal/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.0.14](https://github.com/google/blockly-samples/compare/@blockly/plugin-modal@7.0.13...@blockly/plugin-modal@7.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/plugin-modal + + + + + +## [7.0.13](https://github.com/google/blockly-samples/compare/@blockly/plugin-modal@7.0.12...@blockly/plugin-modal@7.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/plugin-modal + + + + + +## [7.0.12](https://github.com/google/blockly-samples/compare/@blockly/plugin-modal@7.0.11...@blockly/plugin-modal@7.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/plugin-modal + + + + + ## [7.0.11](https://github.com/google/blockly-samples/compare/@blockly/plugin-modal@7.0.10...@blockly/plugin-modal@7.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/plugin-modal diff --git a/plugins/modal/package-lock.json b/plugins/modal/package-lock.json index 56372b293b..91cfc1a495 100644 --- a/plugins/modal/package-lock.json +++ b/plugins/modal/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/plugin-modal", - "version": "7.0.11", + "version": "7.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/plugin-modal", - "version": "7.0.11", + "version": "7.0.14", "license": "Apache 2.0", "devDependencies": { "jsdom": "^19.0.0", diff --git a/plugins/modal/package.json b/plugins/modal/package.json index 74e2c988bc..8be8b25446 100644 --- a/plugins/modal/package.json +++ b/plugins/modal/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/plugin-modal", - "version": "7.0.11", + "version": "7.0.14", "description": "A Blockly plugin that creates a modal.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "jsdom": "^19.0.0", "jsdom-global": "3.0.2", "mocha": "^10.1.0", diff --git a/plugins/scroll-options/CHANGELOG.md b/plugins/scroll-options/CHANGELOG.md index 37895e55b7..14602d7137 100644 --- a/plugins/scroll-options/CHANGELOG.md +++ b/plugins/scroll-options/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.14](https://github.com/google/blockly-samples/compare/@blockly/plugin-scroll-options@6.0.13...@blockly/plugin-scroll-options@6.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/plugin-scroll-options + + + + + +## [6.0.13](https://github.com/google/blockly-samples/compare/@blockly/plugin-scroll-options@6.0.12...@blockly/plugin-scroll-options@6.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/plugin-scroll-options + + + + + +## [6.0.12](https://github.com/google/blockly-samples/compare/@blockly/plugin-scroll-options@6.0.11...@blockly/plugin-scroll-options@6.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/plugin-scroll-options + + + + + ## [6.0.11](https://github.com/google/blockly-samples/compare/@blockly/plugin-scroll-options@6.0.10...@blockly/plugin-scroll-options@6.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/plugin-scroll-options diff --git a/plugins/scroll-options/package-lock.json b/plugins/scroll-options/package-lock.json index fd8ed5d868..1e5dbb7851 100644 --- a/plugins/scroll-options/package-lock.json +++ b/plugins/scroll-options/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/plugin-scroll-options", - "version": "6.0.11", + "version": "6.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/plugin-scroll-options", - "version": "6.0.11", + "version": "6.0.14", "license": "Apache-2.0", "devDependencies": { "typescript": "^5.4.5" diff --git a/plugins/scroll-options/package.json b/plugins/scroll-options/package.json index 38294a7f0d..56deab5ed2 100644 --- a/plugins/scroll-options/package.json +++ b/plugins/scroll-options/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/plugin-scroll-options", - "version": "6.0.11", + "version": "6.0.14", "description": "A Blockly plugin that adds advanced scroll options such as scroll-on-drag and scroll while holding a block.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "typescript": "^5.4.5" }, "peerDependencies": { diff --git a/plugins/shadow-block-converter/CHANGELOG.md b/plugins/shadow-block-converter/CHANGELOG.md index e3bda47a3a..6f8f83874f 100644 --- a/plugins/shadow-block-converter/CHANGELOG.md +++ b/plugins/shadow-block-converter/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.15](https://github.com/google/blockly-samples/compare/@blockly/shadow-block-converter@6.0.14...@blockly/shadow-block-converter@6.0.15) (2025-02-13) + +**Note:** Version bump only for package @blockly/shadow-block-converter + + + + + +## [6.0.14](https://github.com/google/blockly-samples/compare/@blockly/shadow-block-converter@6.0.13...@blockly/shadow-block-converter@6.0.14) (2024-12-19) + +**Note:** Version bump only for package @blockly/shadow-block-converter + + + + + +## [6.0.13](https://github.com/google/blockly-samples/compare/@blockly/shadow-block-converter@6.0.12...@blockly/shadow-block-converter@6.0.13) (2024-12-03) + +**Note:** Version bump only for package @blockly/shadow-block-converter + + + + + ## [6.0.12](https://github.com/google/blockly-samples/compare/@blockly/shadow-block-converter@6.0.11...@blockly/shadow-block-converter@6.0.12) (2024-11-07) **Note:** Version bump only for package @blockly/shadow-block-converter diff --git a/plugins/shadow-block-converter/package-lock.json b/plugins/shadow-block-converter/package-lock.json index 693140389f..6de9e0efa3 100644 --- a/plugins/shadow-block-converter/package-lock.json +++ b/plugins/shadow-block-converter/package-lock.json @@ -1,16 +1,16 @@ { "name": "@blockly/shadow-block-converter", - "version": "6.0.12", + "version": "6.0.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/shadow-block-converter", - "version": "6.0.12", + "version": "6.0.15", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "jsdom": "^19.0.0", "jsdom-global": "^3.0.2", diff --git a/plugins/shadow-block-converter/package.json b/plugins/shadow-block-converter/package.json index 41c6e8cd83..93fe936d09 100644 --- a/plugins/shadow-block-converter/package.json +++ b/plugins/shadow-block-converter/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/shadow-block-converter", - "version": "6.0.12", + "version": "6.0.15", "description": "A workspace change listener that converts shadow blocks to real blocks when the user edits them.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "jsdom": "^19.0.0", "jsdom-global": "^3.0.2", diff --git a/plugins/strict-connection-checker/CHANGELOG.md b/plugins/strict-connection-checker/CHANGELOG.md index b33ff707c0..31a27ec151 100644 --- a/plugins/strict-connection-checker/CHANGELOG.md +++ b/plugins/strict-connection-checker/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/plugin-strict-connection-checker@5.0.13...@blockly/plugin-strict-connection-checker@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/plugin-strict-connection-checker + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/plugin-strict-connection-checker@5.0.12...@blockly/plugin-strict-connection-checker@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/plugin-strict-connection-checker + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/plugin-strict-connection-checker@5.0.11...@blockly/plugin-strict-connection-checker@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/plugin-strict-connection-checker + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/plugin-strict-connection-checker@5.0.10...@blockly/plugin-strict-connection-checker@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/plugin-strict-connection-checker diff --git a/plugins/strict-connection-checker/package-lock.json b/plugins/strict-connection-checker/package-lock.json index edc591e1df..2b487deaa7 100644 --- a/plugins/strict-connection-checker/package-lock.json +++ b/plugins/strict-connection-checker/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/plugin-strict-connection-checker", - "version": "5.0.11", + "version": "5.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/plugin-strict-connection-checker", - "version": "5.0.11", + "version": "5.0.14", "license": "Apache 2.0", "devDependencies": { "chai": "^4.2.0" diff --git a/plugins/strict-connection-checker/package.json b/plugins/strict-connection-checker/package.json index cd6acf00d1..abd03b83c4 100644 --- a/plugins/strict-connection-checker/package.json +++ b/plugins/strict-connection-checker/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/plugin-strict-connection-checker", - "version": "5.0.11", + "version": "5.0.14", "description": "A connection checker that prevents blocks that don't provide type information from being connected to blocks that do.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0" }, "peerDependencies": { diff --git a/plugins/suggested-blocks/CHANGELOG.md b/plugins/suggested-blocks/CHANGELOG.md index 7569bf71e9..8b31d6a7a7 100644 --- a/plugins/suggested-blocks/CHANGELOG.md +++ b/plugins/suggested-blocks/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.14](https://github.com/google/blockly-samples/compare/@blockly/suggested-blocks@5.0.13...@blockly/suggested-blocks@5.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/suggested-blocks + + + + + +## [5.0.13](https://github.com/google/blockly-samples/compare/@blockly/suggested-blocks@5.0.12...@blockly/suggested-blocks@5.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/suggested-blocks + + + + + +## [5.0.12](https://github.com/google/blockly-samples/compare/@blockly/suggested-blocks@5.0.11...@blockly/suggested-blocks@5.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/suggested-blocks + + + + + ## [5.0.11](https://github.com/google/blockly-samples/compare/@blockly/suggested-blocks@5.0.10...@blockly/suggested-blocks@5.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/suggested-blocks diff --git a/plugins/suggested-blocks/package-lock.json b/plugins/suggested-blocks/package-lock.json index 932fb8b3fc..b90f616abc 100644 --- a/plugins/suggested-blocks/package-lock.json +++ b/plugins/suggested-blocks/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/suggested-blocks", - "version": "5.0.11", + "version": "5.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/suggested-blocks", - "version": "5.0.11", + "version": "5.0.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.3.6", diff --git a/plugins/suggested-blocks/package.json b/plugins/suggested-blocks/package.json index 2c743f79e7..b0029974f4 100644 --- a/plugins/suggested-blocks/package.json +++ b/plugins/suggested-blocks/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/suggested-blocks", - "version": "5.0.11", + "version": "5.0.14", "description": "A plugin that adds toolbox panes with suggested blocks based on the user's past usage of blocks.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.3.6", "sinon": "^14.0.0" }, diff --git a/plugins/theme-dark/CHANGELOG.md b/plugins/theme-dark/CHANGELOG.md index 8bb46b9689..749e6d7653 100644 --- a/plugins/theme-dark/CHANGELOG.md +++ b/plugins/theme-dark/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [7.0.10](https://github.com/google/blockly-samples/compare/@blockly/theme-dark@7.0.9...@blockly/theme-dark@7.0.10) (2024-12-03) + +**Note:** Version bump only for package @blockly/theme-dark + + + + + ## [7.0.9](https://github.com/google/blockly-samples/compare/@blockly/theme-dark@7.0.8...@blockly/theme-dark@7.0.9) (2024-11-07) **Note:** Version bump only for package @blockly/theme-dark diff --git a/plugins/theme-dark/package-lock.json b/plugins/theme-dark/package-lock.json index de6b71c0d0..f10f30ece3 100644 --- a/plugins/theme-dark/package-lock.json +++ b/plugins/theme-dark/package-lock.json @@ -1,15 +1,15 @@ { "name": "@blockly/theme-dark", - "version": "7.0.9", + "version": "7.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/theme-dark", - "version": "7.0.9", + "version": "7.0.10", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/theme-dark/package.json b/plugins/theme-dark/package.json index 131b65085e..cfeac6d660 100644 --- a/plugins/theme-dark/package.json +++ b/plugins/theme-dark/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/theme-dark", - "version": "7.0.9", + "version": "7.0.10", "description": "A Blockly dark theme.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,7 +40,7 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/theme-deuteranopia/CHANGELOG.md b/plugins/theme-deuteranopia/CHANGELOG.md index 14a4149caa..9edc14361f 100644 --- a/plugins/theme-deuteranopia/CHANGELOG.md +++ b/plugins/theme-deuteranopia/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.10](https://github.com/google/blockly-samples/compare/@blockly/theme-deuteranopia@6.0.9...@blockly/theme-deuteranopia@6.0.10) (2024-12-03) + +**Note:** Version bump only for package @blockly/theme-deuteranopia + + + + + ## [6.0.9](https://github.com/google/blockly-samples/compare/@blockly/theme-deuteranopia@6.0.8...@blockly/theme-deuteranopia@6.0.9) (2024-11-07) **Note:** Version bump only for package @blockly/theme-deuteranopia diff --git a/plugins/theme-deuteranopia/package-lock.json b/plugins/theme-deuteranopia/package-lock.json index 6178e9d7cf..38cba68ab6 100644 --- a/plugins/theme-deuteranopia/package-lock.json +++ b/plugins/theme-deuteranopia/package-lock.json @@ -1,15 +1,15 @@ { "name": "@blockly/theme-deuteranopia", - "version": "6.0.9", + "version": "6.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/theme-deuteranopia", - "version": "6.0.9", + "version": "6.0.10", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/theme-deuteranopia/package.json b/plugins/theme-deuteranopia/package.json index 0b95497730..ac9b0936b5 100644 --- a/plugins/theme-deuteranopia/package.json +++ b/plugins/theme-deuteranopia/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/theme-deuteranopia", - "version": "6.0.9", + "version": "6.0.10", "description": "A Blockly theme for people that have deuteranopia.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,7 +40,7 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/theme-highcontrast/CHANGELOG.md b/plugins/theme-highcontrast/CHANGELOG.md index 1a86faa465..14aa9d636e 100644 --- a/plugins/theme-highcontrast/CHANGELOG.md +++ b/plugins/theme-highcontrast/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.10](https://github.com/google/blockly-samples/compare/@blockly/theme-highcontrast@6.0.9...@blockly/theme-highcontrast@6.0.10) (2024-12-03) + +**Note:** Version bump only for package @blockly/theme-highcontrast + + + + + ## [6.0.9](https://github.com/google/blockly-samples/compare/@blockly/theme-highcontrast@6.0.8...@blockly/theme-highcontrast@6.0.9) (2024-11-07) **Note:** Version bump only for package @blockly/theme-highcontrast diff --git a/plugins/theme-highcontrast/package-lock.json b/plugins/theme-highcontrast/package-lock.json index 9ba8d520f0..b99c1ec691 100644 --- a/plugins/theme-highcontrast/package-lock.json +++ b/plugins/theme-highcontrast/package-lock.json @@ -1,15 +1,15 @@ { "name": "@blockly/theme-highcontrast", - "version": "6.0.9", + "version": "6.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/theme-highcontrast", - "version": "6.0.9", + "version": "6.0.10", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/theme-highcontrast/package.json b/plugins/theme-highcontrast/package.json index d35daf54cf..a264dcd52b 100644 --- a/plugins/theme-highcontrast/package.json +++ b/plugins/theme-highcontrast/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/theme-highcontrast", - "version": "6.0.9", + "version": "6.0.10", "description": "A Blockly high contrast theme.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,7 +40,7 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/theme-modern/CHANGELOG.md b/plugins/theme-modern/CHANGELOG.md index 90ea69d3ba..0ed1f1a4de 100644 --- a/plugins/theme-modern/CHANGELOG.md +++ b/plugins/theme-modern/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.10](https://github.com/google/blockly-samples/compare/@blockly/theme-modern@6.0.9...@blockly/theme-modern@6.0.10) (2024-12-03) + +**Note:** Version bump only for package @blockly/theme-modern + + + + + ## [6.0.9](https://github.com/google/blockly-samples/compare/@blockly/theme-modern@6.0.8...@blockly/theme-modern@6.0.9) (2024-11-07) **Note:** Version bump only for package @blockly/theme-modern diff --git a/plugins/theme-modern/package-lock.json b/plugins/theme-modern/package-lock.json index bc79786b39..1da58cb6b6 100644 --- a/plugins/theme-modern/package-lock.json +++ b/plugins/theme-modern/package-lock.json @@ -1,15 +1,15 @@ { "name": "@blockly/theme-modern", - "version": "6.0.9", + "version": "6.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/theme-modern", - "version": "6.0.9", + "version": "6.0.10", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/theme-modern/package.json b/plugins/theme-modern/package.json index c4c283f4ac..37862bc36e 100644 --- a/plugins/theme-modern/package.json +++ b/plugins/theme-modern/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/theme-modern", - "version": "6.0.9", + "version": "6.0.10", "description": "A Blockly modern theme with darker block borders.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,7 +40,7 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/theme-tritanopia/CHANGELOG.md b/plugins/theme-tritanopia/CHANGELOG.md index d242843678..e70f985331 100644 --- a/plugins/theme-tritanopia/CHANGELOG.md +++ b/plugins/theme-tritanopia/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.10](https://github.com/google/blockly-samples/compare/@blockly/theme-tritanopia@6.0.9...@blockly/theme-tritanopia@6.0.10) (2024-12-03) + +**Note:** Version bump only for package @blockly/theme-tritanopia + + + + + ## [6.0.9](https://github.com/google/blockly-samples/compare/@blockly/theme-tritanopia@6.0.8...@blockly/theme-tritanopia@6.0.9) (2024-11-07) **Note:** Version bump only for package @blockly/theme-tritanopia diff --git a/plugins/theme-tritanopia/package-lock.json b/plugins/theme-tritanopia/package-lock.json index e5dde935da..d22bea9cb1 100644 --- a/plugins/theme-tritanopia/package-lock.json +++ b/plugins/theme-tritanopia/package-lock.json @@ -1,15 +1,15 @@ { "name": "@blockly/theme-tritanopia", - "version": "6.0.9", + "version": "6.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/theme-tritanopia", - "version": "6.0.9", + "version": "6.0.10", "license": "Apache-2.0", "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "engines": { "node": ">=8.17.0" diff --git a/plugins/theme-tritanopia/package.json b/plugins/theme-tritanopia/package.json index 70d1630294..965b77dc5d 100644 --- a/plugins/theme-tritanopia/package.json +++ b/plugins/theme-tritanopia/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/theme-tritanopia", - "version": "6.0.9", + "version": "6.0.10", "description": "A Blockly theme for people that have tritanopia.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,7 +40,7 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6" + "@blockly/dev-scripts": "^4.0.7" }, "peerDependencies": { "blockly": "^11.0.0" diff --git a/plugins/toolbox-search/CHANGELOG.md b/plugins/toolbox-search/CHANGELOG.md index 20df03c229..eab82421bf 100644 --- a/plugins/toolbox-search/CHANGELOG.md +++ b/plugins/toolbox-search/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.14](https://github.com/google/blockly-samples/compare/@blockly/toolbox-search@2.0.13...@blockly/toolbox-search@2.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/toolbox-search + + + + + +## [2.0.13](https://github.com/google/blockly-samples/compare/@blockly/toolbox-search@2.0.12...@blockly/toolbox-search@2.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/toolbox-search + + + + + +## [2.0.12](https://github.com/google/blockly-samples/compare/@blockly/toolbox-search@2.0.11...@blockly/toolbox-search@2.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/toolbox-search + + + + + ## [2.0.11](https://github.com/google/blockly-samples/compare/@blockly/toolbox-search@2.0.10...@blockly/toolbox-search@2.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/toolbox-search diff --git a/plugins/toolbox-search/package-lock.json b/plugins/toolbox-search/package-lock.json index c6776174aa..145c69b2ac 100644 --- a/plugins/toolbox-search/package-lock.json +++ b/plugins/toolbox-search/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/toolbox-search", - "version": "2.0.11", + "version": "2.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/toolbox-search", - "version": "2.0.11", + "version": "2.0.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.3.7", diff --git a/plugins/toolbox-search/package.json b/plugins/toolbox-search/package.json index 795cfc1b0f..92f3716999 100644 --- a/plugins/toolbox-search/package.json +++ b/plugins/toolbox-search/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/toolbox-search", - "version": "2.0.11", + "version": "2.0.14", "description": "A Blockly plugin that adds a toolbox category that allows searching for blocks.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.3.7", "typescript": "^5.4.5" }, diff --git a/plugins/typed-variable-modal/CHANGELOG.md b/plugins/typed-variable-modal/CHANGELOG.md index 025704d33c..9cba36691e 100644 --- a/plugins/typed-variable-modal/CHANGELOG.md +++ b/plugins/typed-variable-modal/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [8.0.14](https://github.com/google/blockly-samples/compare/@blockly/plugin-typed-variable-modal@8.0.13...@blockly/plugin-typed-variable-modal@8.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/plugin-typed-variable-modal + + + + + +## [8.0.13](https://github.com/google/blockly-samples/compare/@blockly/plugin-typed-variable-modal@8.0.12...@blockly/plugin-typed-variable-modal@8.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/plugin-typed-variable-modal + + + + + +## [8.0.12](https://github.com/google/blockly-samples/compare/@blockly/plugin-typed-variable-modal@8.0.11...@blockly/plugin-typed-variable-modal@8.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/plugin-typed-variable-modal + + + + + ## [8.0.11](https://github.com/google/blockly-samples/compare/@blockly/plugin-typed-variable-modal@8.0.10...@blockly/plugin-typed-variable-modal@8.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/plugin-typed-variable-modal diff --git a/plugins/typed-variable-modal/package-lock.json b/plugins/typed-variable-modal/package-lock.json index 7c0a428a86..b27ce0145f 100644 --- a/plugins/typed-variable-modal/package-lock.json +++ b/plugins/typed-variable-modal/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/plugin-typed-variable-modal", - "version": "8.0.11", + "version": "8.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/plugin-typed-variable-modal", - "version": "8.0.11", + "version": "8.0.14", "license": "Apache-2.0", "devDependencies": { "jsdom": "^19.0.0", diff --git a/plugins/typed-variable-modal/package.json b/plugins/typed-variable-modal/package.json index 3bab1ba27c..18bca88d7d 100644 --- a/plugins/typed-variable-modal/package.json +++ b/plugins/typed-variable-modal/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/plugin-typed-variable-modal", - "version": "8.0.11", + "version": "8.0.14", "description": "A Blockly plugin to create a modal for creating typed variables.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "jsdom": "^19.0.0", "jsdom-global": "3.0.2", "mocha": "^10.1.0", @@ -50,7 +50,7 @@ "blockly": "^11.0.0" }, "dependencies": { - "@blockly/plugin-modal": "^7.0.11" + "@blockly/plugin-modal": "^7.0.14" }, "publishConfig": { "access": "public", diff --git a/plugins/workspace-backpack/CHANGELOG.md b/plugins/workspace-backpack/CHANGELOG.md index 7e25b368a0..a27e14b919 100644 --- a/plugins/workspace-backpack/CHANGELOG.md +++ b/plugins/workspace-backpack/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.14](https://github.com/google/blockly-samples/compare/@blockly/workspace-backpack@6.0.13...@blockly/workspace-backpack@6.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/workspace-backpack + + + + + +## [6.0.13](https://github.com/google/blockly-samples/compare/@blockly/workspace-backpack@6.0.12...@blockly/workspace-backpack@6.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/workspace-backpack + + + + + +## [6.0.12](https://github.com/google/blockly-samples/compare/@blockly/workspace-backpack@6.0.11...@blockly/workspace-backpack@6.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/workspace-backpack + + + + + ## [6.0.11](https://github.com/google/blockly-samples/compare/@blockly/workspace-backpack@6.0.10...@blockly/workspace-backpack@6.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/workspace-backpack diff --git a/plugins/workspace-backpack/package-lock.json b/plugins/workspace-backpack/package-lock.json index a4f56a628d..13ffe72b5d 100644 --- a/plugins/workspace-backpack/package-lock.json +++ b/plugins/workspace-backpack/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/workspace-backpack", - "version": "6.0.11", + "version": "6.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/workspace-backpack", - "version": "6.0.11", + "version": "6.0.14", "license": "Apache-2.0", "devDependencies": { "typescript": "^5.4.5" diff --git a/plugins/workspace-backpack/package.json b/plugins/workspace-backpack/package.json index 9216a40033..474968d045 100644 --- a/plugins/workspace-backpack/package.json +++ b/plugins/workspace-backpack/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/workspace-backpack", - "version": "6.0.11", + "version": "6.0.14", "description": "A Blockly plugin that adds Backpack support.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -40,8 +40,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "typescript": "^5.4.5" }, "peerDependencies": { diff --git a/plugins/workspace-minimap/CHANGELOG.md b/plugins/workspace-minimap/CHANGELOG.md index 67f3c8b886..65acd9b28a 100644 --- a/plugins/workspace-minimap/CHANGELOG.md +++ b/plugins/workspace-minimap/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [0.2.14](https://github.com/google/blockly-samples/compare/@blockly/workspace-minimap@0.2.13...@blockly/workspace-minimap@0.2.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/workspace-minimap + + + + + +## [0.2.13](https://github.com/google/blockly-samples/compare/@blockly/workspace-minimap@0.2.12...@blockly/workspace-minimap@0.2.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/workspace-minimap + + + + + +## [0.2.12](https://github.com/google/blockly-samples/compare/@blockly/workspace-minimap@0.2.11...@blockly/workspace-minimap@0.2.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/workspace-minimap + + + + + ## [0.2.11](https://github.com/google/blockly-samples/compare/@blockly/workspace-minimap@0.2.10...@blockly/workspace-minimap@0.2.11) (2024-11-07) **Note:** Version bump only for package @blockly/workspace-minimap diff --git a/plugins/workspace-minimap/package-lock.json b/plugins/workspace-minimap/package-lock.json index 5c9c59de53..f50f1003f6 100644 --- a/plugins/workspace-minimap/package-lock.json +++ b/plugins/workspace-minimap/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/workspace-minimap", - "version": "0.2.11", + "version": "0.2.14", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@blockly/workspace-minimap", - "version": "0.2.11", + "version": "0.2.14", "license": "Apache-2.0", "devDependencies": { "chai": "^4.2.0", diff --git a/plugins/workspace-minimap/package.json b/plugins/workspace-minimap/package.json index c7cd28ea46..6c00eb4d45 100644 --- a/plugins/workspace-minimap/package.json +++ b/plugins/workspace-minimap/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/workspace-minimap", - "version": "0.2.11", + "version": "0.2.14", "description": "A Blockly plugin.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "chai": "^4.2.0", "typescript": "^5.4.5" }, diff --git a/plugins/workspace-search/CHANGELOG.md b/plugins/workspace-search/CHANGELOG.md index 831cd9fb88..cb7d6b86ee 100644 --- a/plugins/workspace-search/CHANGELOG.md +++ b/plugins/workspace-search/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [9.1.8](https://github.com/google/blockly-samples/compare/@blockly/plugin-workspace-search@9.1.7...@blockly/plugin-workspace-search@9.1.8) (2025-02-13) + +**Note:** Version bump only for package @blockly/plugin-workspace-search + + + + + +## [9.1.7](https://github.com/google/blockly-samples/compare/@blockly/plugin-workspace-search@9.1.6...@blockly/plugin-workspace-search@9.1.7) (2024-12-19) + +**Note:** Version bump only for package @blockly/plugin-workspace-search + + + + + +## [9.1.6](https://github.com/google/blockly-samples/compare/@blockly/plugin-workspace-search@9.1.5...@blockly/plugin-workspace-search@9.1.6) (2024-12-03) + +**Note:** Version bump only for package @blockly/plugin-workspace-search + + + + + ## [9.1.5](https://github.com/google/blockly-samples/compare/@blockly/plugin-workspace-search@9.1.4...@blockly/plugin-workspace-search@9.1.5) (2024-11-07) **Note:** Version bump only for package @blockly/plugin-workspace-search diff --git a/plugins/workspace-search/package-lock.json b/plugins/workspace-search/package-lock.json index dbe488bebb..82c30c72a2 100644 --- a/plugins/workspace-search/package-lock.json +++ b/plugins/workspace-search/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/plugin-workspace-search", - "version": "9.1.5", + "version": "9.1.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/plugin-workspace-search", - "version": "9.1.5", + "version": "9.1.8", "license": "Apache-2.0", "devDependencies": { "jsdom": "^19.0.0", diff --git a/plugins/workspace-search/package.json b/plugins/workspace-search/package.json index 0a44dc5479..f24519ba4e 100644 --- a/plugins/workspace-search/package.json +++ b/plugins/workspace-search/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/plugin-workspace-search", - "version": "9.1.5", + "version": "9.1.8", "description": "A Blockly plugin that adds workspace search support.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -39,8 +39,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "jsdom": "^19.0.0", "jsdom-global": "3.0.2", "sinon": "^9.0.1", diff --git a/plugins/zoom-to-fit/CHANGELOG.md b/plugins/zoom-to-fit/CHANGELOG.md index 9f79a278ae..bb32f3d93b 100644 --- a/plugins/zoom-to-fit/CHANGELOG.md +++ b/plugins/zoom-to-fit/CHANGELOG.md @@ -3,6 +3,30 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [6.0.14](https://github.com/google/blockly-samples/compare/@blockly/zoom-to-fit@6.0.13...@blockly/zoom-to-fit@6.0.14) (2025-02-13) + +**Note:** Version bump only for package @blockly/zoom-to-fit + + + + + +## [6.0.13](https://github.com/google/blockly-samples/compare/@blockly/zoom-to-fit@6.0.12...@blockly/zoom-to-fit@6.0.13) (2024-12-19) + +**Note:** Version bump only for package @blockly/zoom-to-fit + + + + + +## [6.0.12](https://github.com/google/blockly-samples/compare/@blockly/zoom-to-fit@6.0.11...@blockly/zoom-to-fit@6.0.12) (2024-12-03) + +**Note:** Version bump only for package @blockly/zoom-to-fit + + + + + ## [6.0.11](https://github.com/google/blockly-samples/compare/@blockly/zoom-to-fit@6.0.10...@blockly/zoom-to-fit@6.0.11) (2024-11-07) **Note:** Version bump only for package @blockly/zoom-to-fit diff --git a/plugins/zoom-to-fit/package-lock.json b/plugins/zoom-to-fit/package-lock.json index 040d020fb8..b3384a47e3 100644 --- a/plugins/zoom-to-fit/package-lock.json +++ b/plugins/zoom-to-fit/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockly/zoom-to-fit", - "version": "6.0.11", + "version": "6.0.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@blockly/zoom-to-fit", - "version": "6.0.11", + "version": "6.0.14", "license": "Apache-2.0", "devDependencies": { "typescript": "^5.4.5" diff --git a/plugins/zoom-to-fit/package.json b/plugins/zoom-to-fit/package.json index 7c5aab25b3..86b7fad92f 100644 --- a/plugins/zoom-to-fit/package.json +++ b/plugins/zoom-to-fit/package.json @@ -1,6 +1,6 @@ { "name": "@blockly/zoom-to-fit", - "version": "6.0.11", + "version": "6.0.14", "description": "A Blockly plugin that adds a zoom-to-fit control to the workspace.", "scripts": { "audit:fix": "blockly-scripts auditFix", @@ -38,8 +38,8 @@ "src" ], "devDependencies": { - "@blockly/dev-scripts": "^4.0.6", - "@blockly/dev-tools": "^8.0.11", + "@blockly/dev-scripts": "^4.0.7", + "@blockly/dev-tools": "^8.1.0", "typescript": "^5.4.5" }, "peerDependencies": {