Commit Graph

9588 Commits

Author SHA1 Message Date
lizschwab 2903ec9f3a fix: Field text hidden from ARIA (#9734) 2026-04-17 15:18:23 -07:00
Greg Annandale 03443975d3 Merge pull request #9671 from grega/docs
chore(docs): migrate to Docusaurus and GitHub Pages
2026-04-16 16:16:57 +01:00
Aaron Dodson 1de9aa920e fix: Fix bug that caused blocks in flyout to disappear on click in Chrome (#9729) 2026-04-15 09:19:09 -07:00
Aaron Dodson 0e0a516990 fix: Increase contrast of active tree focus ring color (#9726) 2026-04-15 09:18:34 -07:00
Aaron Dodson 743cdd8ff3 fix: Inhibit keyboard navigation shortcuts when the dropdown or widget divs are open (#9724) 2026-04-15 09:17:44 -07:00
Aaron Dodson af9cdea250 chore: Fix import paths (#9723) 2026-04-15 09:15:16 -07:00
Aaron Dodson 0c4ec192ba fix: Fix bug that caused blocks inserted via Enter to not attach (#9699) 2026-04-15 08:29:43 -07:00
Aaron Dodson 91d02eee02 feat: Add basic support for generating ARIA labels and roles for blocks (#9696)
* feat: Add basic support for generating ARIA labels and roles for blocks

* test: Add tests

* chore: Fix lint

* chore: Revert tooling removal of authors

* chore: Adjust casing of method name

* chore: Tweak name of verbosity enum value

* chore: Adjust name of shadow block label method

* chore: Add trailing newline

* chore: Fix method casing

* feat: Add method to retrieve a block's ARIA label

* fix: Fix TSDoc

* chore: Adjust method casing
2026-04-15 08:12:08 -07:00
Aaron Dodson dc2afe3527 fix: Improve accuracy of block navigability detection (#9725) 2026-04-15 08:04:06 -07:00
Aaron Dodson 3b9ed58f71 feat: Add keyboard shortcut for duplicating blocks and workspace comments (#9727)
* feat: Add keyboard shortcut for duplicating blocks and workspace comments

* test: Add tests

* chore: Fix copypasta
2026-04-14 12:47:01 -07:00
Aaron Dodson 4734bf95f0 feat: Add keyboard shortcut to clean up the workspace (#9728)
* feat: Add a keyboard shortcut to clean up the workspace

* test: Add tests
2026-04-14 10:25:32 -07:00
Greg Annandale 172adb5608 chore(docs): handle hoisted node_modules in Mocha tests
With npm installing packages to the root `node_modules` dir (due to now handling both packages/blockly and packages/docs), the Mocha script location is most likely to be `node_modules/mocha`, but maintains a fallback path for `packages/blockly/node_modules/mocha`.
2026-04-13 23:57:57 +01:00
Greg Annandale 50ea8768f0 chore(docs): isolate type_definitions from docs related types
Prevents auto loading of @types packages by TypeScript test config. This avoids docs @types/mdx leaking into Blockly’s type_definitions check.
2026-04-13 23:05:14 +01:00
Greg Annandale 593d877504 chore(docs): fix eslint version inconsistency between packages
Ensure that the docs package utilises the same version of eslint and prettier as the blockly package.
2026-04-13 23:05:14 +01:00
translatewiki.net 50445ed16e Localisation updates from https://translatewiki.net. (#9716) 2026-04-13 13:31:10 -07:00
Aaron Dodson 13459a2b53 fix: Fix positioning of move marker on blocks (#9722)
* fix: Fix positioning of move marker on blocks.

* refactor: Move block topline calculation out of loop
2026-04-13 13:24:32 -07:00
Michael Harvey 1478b1f093 chore!: remove unused statuses
This reverts commit 956f049dbd.
2026-04-13 10:51:15 -04:00
lizschwab a61222f727 fix: Add default aria role to svg and group elements (#9697)
* fix: Add default aria role to svg and group elements

* addressed pr feedback
2026-04-10 14:40:42 -07:00
Michael Harvey 956f049dbd Revert "chore: remove unused statuses (#9698)" (#9700)
This reverts commit 229450a1b7.
2026-04-10 16:52:21 -04:00
Michael Harvey 229450a1b7 chore: remove unused statuses (#9698)
* chore: remove unused statuses

* fix: revert removal of valuemax and valuemin
2026-04-10 16:37:51 -04:00
Aaron Dodson c7fd3f339e release: Bump version to 13.0.0-beta.0 (#9693) blockly-v13.0.0-beta.0 2026-04-08 13:29:03 -07:00
Aaron Dodson 41319baf5d feat: Add keyboard shortcut to perform an action on the currently focused element (#9673)
* feat: Add keyboard shortcut to perform an action on the currently focused element

* test: Add tests

* chore: Add example of shortcut formats

* fix: Don't show toast if shortcut doesn't exist

* chore: Clarify use of Zelos in tests

* fix: Skip help hint toast until shortcut is added
2026-04-08 13:14:04 -07:00
Michael Harvey 5bc04b6435 chore: add example to JSDoc for getAriaValue (#9692) 2026-04-08 16:12:00 -04:00
Greg Annandale bb89514dda chore(docs): allow override of Pages base URL 2026-04-08 17:21:23 +01:00
Maribeth Moffatt 4163db8505 chore: merge main into v13
chore: merge main into v13
2026-04-08 12:12:43 -04:00
Greg Annandale 7a8f646997 chore(docs): fix broken links
Primarily to reference docs, also links to the GitHub repo prior to the monorepo reshuffle.
2026-04-08 16:59:43 +01:00
Greg Annandale 059a9c741d chore(docs): replace CompareBlock component with admonition syntax 2026-04-08 16:59:43 +01:00
Greg Annandale 541c8d645a chore(docs): move CodelabCards component into own dir 2026-04-08 16:59:43 +01:00
Greg Annandale d44f955e27 chore(docs): remove index.html path requirement for all Code Labs paths/URLs 2026-04-08 16:59:43 +01:00
Greg Annandale 703991ec99 chore(docs): replace CodelabImage with standard Image component 2026-04-08 16:59:43 +01:00
Greg Annandale e0cb73d90c chore(docs): add api documenter patch 2026-04-08 16:59:42 +01:00
Greg Annandale b3fc849010 chore(docs): set Docusaurus base_url in env var 2026-04-08 16:57:39 +01:00
Greg Annandale cca97ed298 chore(docs): generate just typings for docs build Workflow
ie. no need to build the entire Blockly package, with Closure compiler, just for the docs
2026-04-08 16:57:39 +01:00
Greg Annandale 363edf083b chore(docs): fix Actions workflow to correctly build reference docs
Before generating the site, also gracefully handle the missing "references" sidebar config. Remove the, now generated, _reference.js sidebar config file
2026-04-08 16:51:59 +01:00
Greg Annandale 062c403a72 Merge branch 'main' of github.com:grega/blockly 2026-04-08 16:51:40 +01:00
Michael Harvey b4d21b2f94 feat: aria utility additions / improvements (#9690) 2026-04-08 14:38:20 +00:00
Michael Harvey 9d5307cc37 feat: Add aria APIs to Field base class (#9683)
* feat: Add aria APIs to Field base class

* fix: no underscores in new code
2026-04-08 10:00:36 -04:00
Aaron Dodson cb0d1c96ce fix: Fix navigation between toolbox and flyout in all layouts (#9681)
* fix: Fix navigation between toolbox and flyout in all layouts

* test: Add tests
2026-04-07 14:11:38 -07:00
Aaron Dodson b665711646 chore: Remove the build size check from npm run test (#9689) 2026-04-07 14:04:07 -07:00
Maribeth Moffatt cdcdaf3286 chore: add ability to publish prereleases (#9687)
* chore: add ability to publish prereleases

* chore: error if release version is not valid
2026-04-07 16:59:00 -04:00
lizschwab 61583fff31 fix: add group when cutting workspace comments (#9680)
* fix: add group when cutting workspace comments

* Update shortcut_items.ts

* added check for group to the cut workspace comment unit test
2026-04-07 13:50:28 -07:00
Michael Harvey b49fe1ec7d feat: i shortcut on workspace gives overview (#9677)
* feat: i shortcut on workspace gives overview

* fix: code review changes
2026-04-06 16:54:11 -04:00
Michael Harvey 34c265fcf8 feat!: announce toasts via shared ARIA live region (#9672)
* feat: announce toasts via shared ARIA live region

* chore: add extra space
2026-04-03 09:06:11 -04:00
Greg Annandale 86a06d965b Merge branch 'docs' 2026-04-03 10:07:39 +01:00
Greg Annandale 6692142416 chore(docs): point docs Workflow at root-level package.json
Since we're using npm workspaces
2026-04-03 10:07:27 +01:00
Greg Annandale 2851979c11 Merge branch 'docs' 2026-04-03 09:57:23 +01:00
Aaron Dodson 3389f87cee feat: Add keyboard shortcuts to navigate between stacks (#9678)
* feat: Add keyboard shortcuts to navigate between stacks

* test: Add tests for stack jumping shortcuts

* chore: Clarify logic

* test: Add additional tests for no-op stack navigation
2026-04-02 12:26:52 -07:00
Aaron Dodson dc4d751b93 fix: Display focus rings on flyout buttons and labels (#9679) 2026-04-02 12:08:15 -07:00
Heliacer 0bdae1497b feat: Add a JSON Block definition interface (#9613) 2026-04-02 14:16:54 -04:00
Aaron Dodson 43be0edf5d fix!: Fix types on BlockSvg connections (#9669) 2026-04-02 11:01:29 -07:00