From 3607e6bc6f93a8b4495499981063a9c360d13f7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 09:57:01 +0000 Subject: [PATCH] Version Packages --- .changeset/core-expression.md | 9 --- .changeset/dark-theme.md | 10 --- .changeset/flow-scrolls-in-host.md | 12 ---- .changeset/new-bits-informatik.md | 35 ----------- .changeset/on-primary-token.md | 9 --- .changeset/page-font.md | 8 --- .changeset/parsons-long-lines.md | 7 --- .changeset/phone-fixes.md | 29 --------- .changeset/shareable-report.md | 9 --- packages/bitflow-core/CHANGELOG.md | 25 ++++++++ packages/bitflow-core/package.json | 2 +- packages/web-component/CHANGELOG.md | 98 +++++++++++++++++++++++++++++ packages/web-component/package.json | 2 +- platforms/vscode/CHANGELOG.md | 18 ++++++ platforms/vscode/package.json | 2 +- 15 files changed, 144 insertions(+), 131 deletions(-) delete mode 100644 .changeset/core-expression.md delete mode 100644 .changeset/dark-theme.md delete mode 100644 .changeset/flow-scrolls-in-host.md delete mode 100644 .changeset/new-bits-informatik.md delete mode 100644 .changeset/on-primary-token.md delete mode 100644 .changeset/page-font.md delete mode 100644 .changeset/parsons-long-lines.md delete mode 100644 .changeset/phone-fixes.md delete mode 100644 .changeset/shareable-report.md diff --git a/.changeset/core-expression.md b/.changeset/core-expression.md deleted file mode 100644 index c12cfbc3..00000000 --- a/.changeset/core-expression.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@bitflow/core": minor ---- - -`parseExpression` and `parseQuantity` — the small, hand-parsed arithmetic -language task-numeric reads answers with — are exported from core, with -optional named variables (`{ variables: { x: 2 } }`) and, when there are any, -multiplication by juxtaposition (`3x`). Nothing is ever passed to `eval` or -`Function`; a name nobody gave a value is not arithmetic. diff --git a/.changeset/dark-theme.md b/.changeset/dark-theme.md deleted file mode 100644 index 52510b6f..00000000 --- a/.changeset/dark-theme.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@bitflow/core": minor -"@bitflow/web-component": minor ---- - -A dark theme. Every colour token is a `light-dark()` pair, so bitflow follows -the `color-scheme` of the page around it: set `color-scheme: dark` on a -container (or `light dark` on the page to follow the OS) and the flow, its -native controls and its scrollbars go dark. A page that says nothing stays -light, whatever the OS prefers. diff --git a/.changeset/flow-scrolls-in-host.md b/.changeset/flow-scrolls-in-host.md deleted file mode 100644 index f726e940..00000000 --- a/.changeset/flow-scrolls-in-host.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -"@bitflow/web-component": patch ---- - -`` fits the box its host gives it instead of clipping whatever -does not fit — the result page in a fixed-height box lost its bottom half. The -progress bar stays at the top and the buttons at the bottom, in a compact bar -under a divider; only the step between them scrolls. With a fixed `height` the -flow fills it; with only a `max-height` it grows with the step up to the cap; -with neither it grows with the step. Moving to a new step scrolls back to the -top, and the step no longer draws a focus ring round itself when it takes -focus on arrival. diff --git a/.changeset/new-bits-informatik.md b/.changeset/new-bits-informatik.md deleted file mode 100644 index 613ec13f..00000000 --- a/.changeset/new-bits-informatik.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -"@bitflow/web-component": minor ---- - -Nine new task types, for the questions a school computer science book asks: - -- `task-array-steps` — the array after each step of an algorithm, answered by - swapping boxes for a sort or typing into them for a stack or a queue. -- `task-binary-tree` — a binary tree walked in a traversal order, searched, or - grown by inserting keys; the right answer is worked out from the tree. -- `task-pixel-grid` — a grid painted from a palette, marked cell by cell; the - form reads a pasted PBM listing. -- `task-table` — a table with blanks to fill in, for a predicted query result - (rows in any order), a value table or a copied spreadsheet formula. -- `task-point-plot` — points on a plot assigned to classes, for a - nearest-neighbour prediction or a k-means step. -- `task-call-stack` — the call stack at moments of a program's run, built by - pushing and popping frames; the code is never run. -- `task-cardinality` — an entity-relationship diagram whose relationship ends - are labelled in Chen, min-max or UML notation. -- `task-number-line` — values placed on a number line, each marked by how - close it lands. -- `task-function-plot` — a graph sketched by setting its value at a few x - positions, marked against the function the author wrote. - -A Parsons puzzle can also be drawn as a structogram (`display: "structogram"`), -a Nassi–Shneiderman diagram of the same lines: a line reading "wenn"/"if" is -drawn as a Verzweigung with its ja/nein triangle, "sonst"/"else" as the start -of its other case, and any other block as a loop's frame. - -A code trace takes `1,5` for 1.5 where a number is expected, and `wahr` and -`falsch` for `true` and `false` unless the author made case count. - -All nine can be answered by tapping or typing, so they work the same on a -phone. diff --git a/.changeset/on-primary-token.md b/.changeset/on-primary-token.md deleted file mode 100644 index a20a9239..00000000 --- a/.changeset/on-primary-token.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@bitflow/core": minor -"@bitflow/web-component": minor ---- - -New theme token `--bitflow-color-on-primary` for text drawn on the primary -colour (filled buttons, numbered badges), so a host with a light brand colour -can keep those labels readable. `--bitflow-shadow-outline` now derives from -`--bitflow-color-primary`. diff --git a/.changeset/page-font.md b/.changeset/page-font.md deleted file mode 100644 index a4a1e7fb..00000000 --- a/.changeset/page-font.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@bitflow/core": minor -"@bitflow/web-component": minor ---- - -bitflow no longer asks for Montserrat: `--bitflow-font-family` defaults to -`inherit`, so a flow is set in the font of the page it sits on. Set the token -to a font stack to give bitflow its own. diff --git a/.changeset/parsons-long-lines.md b/.changeset/parsons-long-lines.md deleted file mode 100644 index bf0d5fe0..00000000 --- a/.changeset/parsons-long-lines.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@bitflow/web-component": patch ---- - -Parsons puzzles wrap long lines of code inside their block, with continuations -hanging one step in, and an indented line no longer sticks out past its column -by its own indentation. diff --git a/.changeset/phone-fixes.md b/.changeset/phone-fixes.md deleted file mode 100644 index 9e70f789..00000000 --- a/.changeset/phone-fixes.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -"@bitflow/web-component": patch ---- - -Tasks work on a phone. - -- Ordering and Parsons lines are dragged by a grip with a finger, so a swipe - anywhere else on a line scrolls the step instead of being swallowed, and a - Parsons line can now be reordered and indented on a touch screen at all. A - drag held near the edge of the step or the page scrolls it. On a touch - screen every placed Parsons line also has buttons to move it up and down and - to indent and outdent it. -- An image annotation with point marks no longer traps a swipe that starts on - the picture. -- The graph in a graph-path task keeps readable labels and tappable places on - a narrow screen instead of shrinking with it. -- A numeric answer gets a ± key on touch screens, where the iPhone's decimal - keypad has no minus; a hexadecimal answer gets a keyboard with letters; code, - short answers and blanks are no longer capitalised or autocorrected. -- A long blank stays inside the screen, and the crossword's word boxes no - longer make iOS zoom the page. -- Drag-and-drop labels scale with the picture and have a larger target on touch - screens; highlighting spaces its words out for a finger; matching keeps the - held card in view while the learner scrolls to its partner. -- Keyboard-speed and mouse-accuracy tell a touch-screen learner that their - result will not be comparable. Nothing about the device is recorded. -- A host can reserve room at the end of the navigation bar for its own button - with `--bitflow-controls-inset-end`, and a printed flow shows the whole step - rather than the part scrolled into view. diff --git a/.changeset/shareable-report.md b/.changeset/shareable-report.md deleted file mode 100644 index bfef9698..00000000 --- a/.changeset/shareable-report.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@bitflow/web-component": minor ---- - -`createShareableReport(doc, attempt, subject)` — an attempt's report with every -answer taken out, for a page that tells a teacher how a learner is doing -without telling them what the learner wrote. Exported from the package and from -`@bitflow/web-component/flow`, together with `parseFlow` and `flowProgress`, so -a page embedding a flow for a class needs nothing else. diff --git a/packages/bitflow-core/CHANGELOG.md b/packages/bitflow-core/CHANGELOG.md index c0d4ebac..569c6bef 100644 --- a/packages/bitflow-core/CHANGELOG.md +++ b/packages/bitflow-core/CHANGELOG.md @@ -1,5 +1,30 @@ # @bitflow/core +## 0.8.0 + +### Minor Changes + +- [`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - `parseExpression` and `parseQuantity` — the small, hand-parsed arithmetic + language task-numeric reads answers with — are exported from core, with + optional named variables (`{ variables: { x: 2 } }`) and, when there are any, + multiplication by juxtaposition (`3x`). Nothing is ever passed to `eval` or + `Function`; a name nobody gave a value is not arithmetic. + +- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - A dark theme. Every colour token is a `light-dark()` pair, so bitflow follows + the `color-scheme` of the page around it: set `color-scheme: dark` on a + container (or `light dark` on the page to follow the OS) and the flow, its + native controls and its scrollbars go dark. A page that says nothing stays + light, whatever the OS prefers. + +- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - New theme token `--bitflow-color-on-primary` for text drawn on the primary + colour (filled buttons, numbered badges), so a host with a light brand colour + can keep those labels readable. `--bitflow-shadow-outline` now derives from + `--bitflow-color-primary`. + +- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - bitflow no longer asks for Montserrat: `--bitflow-font-family` defaults to + `inherit`, so a flow is set in the font of the page it sits on. Set the token + to a font stack to give bitflow its own. + ## 0.7.0 ### Minor Changes diff --git a/packages/bitflow-core/package.json b/packages/bitflow-core/package.json index e48eba47..4fd3b364 100644 --- a/packages/bitflow-core/package.json +++ b/packages/bitflow-core/package.json @@ -1,6 +1,6 @@ { "name": "@bitflow/core", - "version": "0.7.0", + "version": "0.8.0", "author": "Mike Barkmin", "description": "Schema, flow engine, attempt runtime and bit registry for bitflow. Pure TypeScript, no UI.", "homepage": "https://github.com/openpatch/bitflow#readme", diff --git a/packages/web-component/CHANGELOG.md b/packages/web-component/CHANGELOG.md index 5c6df441..6dff7056 100644 --- a/packages/web-component/CHANGELOG.md +++ b/packages/web-component/CHANGELOG.md @@ -1,5 +1,103 @@ # @bitflow/web-component +## 0.2.0 + +### Minor Changes + +- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - A dark theme. Every colour token is a `light-dark()` pair, so bitflow follows + the `color-scheme` of the page around it: set `color-scheme: dark` on a + container (or `light dark` on the page to follow the OS) and the flow, its + native controls and its scrollbars go dark. A page that says nothing stays + light, whatever the OS prefers. + +- [`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Nine new task types, for the questions a school computer science book asks: + + - `task-array-steps` — the array after each step of an algorithm, answered by + swapping boxes for a sort or typing into them for a stack or a queue. + - `task-binary-tree` — a binary tree walked in a traversal order, searched, or + grown by inserting keys; the right answer is worked out from the tree. + - `task-pixel-grid` — a grid painted from a palette, marked cell by cell; the + form reads a pasted PBM listing. + - `task-table` — a table with blanks to fill in, for a predicted query result + (rows in any order), a value table or a copied spreadsheet formula. + - `task-point-plot` — points on a plot assigned to classes, for a + nearest-neighbour prediction or a k-means step. + - `task-call-stack` — the call stack at moments of a program's run, built by + pushing and popping frames; the code is never run. + - `task-cardinality` — an entity-relationship diagram whose relationship ends + are labelled in Chen, min-max or UML notation. + - `task-number-line` — values placed on a number line, each marked by how + close it lands. + - `task-function-plot` — a graph sketched by setting its value at a few x + positions, marked against the function the author wrote. + + A Parsons puzzle can also be drawn as a structogram (`display: "structogram"`), + a Nassi–Shneiderman diagram of the same lines: a line reading "wenn"/"if" is + drawn as a Verzweigung with its ja/nein triangle, "sonst"/"else" as the start + of its other case, and any other block as a loop's frame. + + A code trace takes `1,5` for 1.5 where a number is expected, and `wahr` and + `falsch` for `true` and `false` unless the author made case count. + + All nine can be answered by tapping or typing, so they work the same on a + phone. + +- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - New theme token `--bitflow-color-on-primary` for text drawn on the primary + colour (filled buttons, numbered badges), so a host with a light brand colour + can keep those labels readable. `--bitflow-shadow-outline` now derives from + `--bitflow-color-primary`. + +- [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - bitflow no longer asks for Montserrat: `--bitflow-font-family` defaults to + `inherit`, so a flow is set in the font of the page it sits on. Set the token + to a font stack to give bitflow its own. + +- [`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - `createShareableReport(doc, attempt, subject)` — an attempt's report with every + answer taken out, for a page that tells a teacher how a learner is doing + without telling them what the learner wrote. Exported from the package and from + `@bitflow/web-component/flow`, together with `parseFlow` and `flowProgress`, so + a page embedding a flow for a class needs nothing else. + +### Patch Changes + +- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - `` fits the box its host gives it instead of clipping whatever + does not fit — the result page in a fixed-height box lost its bottom half. The + progress bar stays at the top and the buttons at the bottom, in a compact bar + under a divider; only the step between them scrolls. With a fixed `height` the + flow fills it; with only a `max-height` it grows with the step up to the cap; + with neither it grows with the step. Moving to a new step scrolls back to the + top, and the step no longer draws a focus ring round itself when it takes + focus on arrival. + +- [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Parsons puzzles wrap long lines of code inside their block, with continuations + hanging one step in, and an indented line no longer sticks out past its column + by its own indentation. + +- [`171964b`](https://github.com/openpatch/bitflow/commit/171964b214156a554baaeb83615b80f6d8288906) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Tasks work on a phone. + + - Ordering and Parsons lines are dragged by a grip with a finger, so a swipe + anywhere else on a line scrolls the step instead of being swallowed, and a + Parsons line can now be reordered and indented on a touch screen at all. A + drag held near the edge of the step or the page scrolls it. On a touch + screen every placed Parsons line also has buttons to move it up and down and + to indent and outdent it. + - An image annotation with point marks no longer traps a swipe that starts on + the picture. + - The graph in a graph-path task keeps readable labels and tappable places on + a narrow screen instead of shrinking with it. + - A numeric answer gets a ± key on touch screens, where the iPhone's decimal + keypad has no minus; a hexadecimal answer gets a keyboard with letters; code, + short answers and blanks are no longer capitalised or autocorrected. + - A long blank stays inside the screen, and the crossword's word boxes no + longer make iOS zoom the page. + - Drag-and-drop labels scale with the picture and have a larger target on touch + screens; highlighting spaces its words out for a finger; matching keeps the + held card in view while the learner scrolls to its partner. + - Keyboard-speed and mouse-accuracy tell a touch-screen learner that their + result will not be comparable. Nothing about the device is recorded. + - A host can reserve room at the end of the navigation bar for its own button + with `--bitflow-controls-inset-end`, and a printed flow shows the whole step + rather than the part scrolled into view. + ## 0.1.0 ### Minor Changes diff --git a/packages/web-component/package.json b/packages/web-component/package.json index 4e6392cc..e0c2adb0 100644 --- a/packages/web-component/package.json +++ b/packages/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@bitflow/web-component", - "version": "0.1.0", + "version": "0.2.0", "author": "Mike Barkmin", "description": "bitflow as framework-agnostic custom elements.", "homepage": "https://github.com/openpatch/bitflow#readme", diff --git a/platforms/vscode/CHANGELOG.md b/platforms/vscode/CHANGELOG.md index b4c0da8f..8191c70c 100644 --- a/platforms/vscode/CHANGELOG.md +++ b/platforms/vscode/CHANGELOG.md @@ -1,5 +1,23 @@ # bitflow-studio +## 0.1.2 + +### Patch Changes + +- Updated dependencies [[`e235646`](https://github.com/openpatch/bitflow/commit/e235646ad679307acf26a0b07fcaf2dc0f438ad2), [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd), [`08d3067`](https://github.com/openpatch/bitflow/commit/08d30673cdb2e49d3015c364bd472b3c729ef6a5), [`7d7de7f`](https://github.com/openpatch/bitflow/commit/7d7de7fae99128aebbb8fd398f8a2a2767b9d5cd)]: + - @bitflow/core@0.8.0 + - @bitflow/bitflow@0.0.0 + - @bitflow/element@0.0.0 + - @bitflow/end-tries@0.0.0 + - @bitflow/input-markdown@0.0.0 + - @bitflow/start-simple@0.0.0 + - @bitflow/task-choice@0.0.0 + - @bitflow/task-fill-in-the-blank@0.0.0 + - @bitflow/task-highlighting@0.0.0 + - @bitflow/task-input@0.0.0 + - @bitflow/task-yes-no@0.0.0 + - @bitflow/title-simple@0.0.0 + ## 0.1.1 ### Patch Changes diff --git a/platforms/vscode/package.json b/platforms/vscode/package.json index 87f10996..e7b54e7c 100644 --- a/platforms/vscode/package.json +++ b/platforms/vscode/package.json @@ -2,7 +2,7 @@ "name": "bitflow-studio", "displayName": "Bitflow Studio", "description": "Visual editor for .bitflow files \u2014 build and preview assessments", - "version": "0.1.1", + "version": "0.1.2", "publisher": "openpatch", "author": "Mike Barkmin", "license": "MIT",