From 25ad952239e9567022418c2f7c2f7e51540e6fbf Mon Sep 17 00:00:00 2001 From: "bombshell-bot[bot]" <187071675+bombshell-bot[bot]@users.noreply.github.com> Date: Sun, 6 Dec 2026 01:58:21 +0000 Subject: [PATCH] [ci] release --- .changeset/dom-attributes.md | 5 ---- .changeset/dom-basic-creation.md | 5 ---- .changeset/dom-character-data.md | 5 ---- .changeset/dom-child-node-remove.md | 5 ---- .changeset/dom-create-element-ns.md | 5 ---- .changeset/dom-dataset.md | 5 ---- .changeset/dom-document-forms.md | 5 ---- .changeset/dom-document-fragment.md | 5 ---- .changeset/dom-document-notify.md | 5 ---- .changeset/dom-events.md | 5 ---- .changeset/dom-focus.md | 5 ---- .changeset/dom-get-element-by-id.md | 5 ---- .changeset/dom-inert.md | 5 ---- .changeset/dom-inline-styles.md | 5 ---- .changeset/dom-is-connected.md | 5 ---- .changeset/dom-node-properties.md | 5 ---- .changeset/dom-public-elements.md | 5 ---- .changeset/dom-query-selector-all.md | 5 ---- .changeset/dom-style-rendering.md | 5 ---- .changeset/dom-tabindex.md | 5 ---- .changeset/dom-tree-insertion.md | 5 ---- .changeset/ui-abort-signal.md | 5 ---- .changeset/ui-detect-terminal.md | 5 ---- .changeset/ui-element-replay.md | 5 ---- .changeset/ui-layout-style-reuse.md | 5 ---- .changeset/ui-node-construction.md | 5 ---- packages/ui/CHANGELOG.md | 35 ++++++++++++++++++++++++++++ packages/ui/package.json | 2 +- 28 files changed, 36 insertions(+), 131 deletions(-) delete mode 100644 .changeset/dom-attributes.md delete mode 100644 .changeset/dom-basic-creation.md delete mode 100644 .changeset/dom-character-data.md delete mode 100644 .changeset/dom-child-node-remove.md delete mode 100644 .changeset/dom-create-element-ns.md delete mode 100644 .changeset/dom-dataset.md delete mode 100644 .changeset/dom-document-forms.md delete mode 100644 .changeset/dom-document-fragment.md delete mode 100644 .changeset/dom-document-notify.md delete mode 100644 .changeset/dom-events.md delete mode 100644 .changeset/dom-focus.md delete mode 100644 .changeset/dom-get-element-by-id.md delete mode 100644 .changeset/dom-inert.md delete mode 100644 .changeset/dom-inline-styles.md delete mode 100644 .changeset/dom-is-connected.md delete mode 100644 .changeset/dom-node-properties.md delete mode 100644 .changeset/dom-public-elements.md delete mode 100644 .changeset/dom-query-selector-all.md delete mode 100644 .changeset/dom-style-rendering.md delete mode 100644 .changeset/dom-tabindex.md delete mode 100644 .changeset/dom-tree-insertion.md delete mode 100644 .changeset/ui-abort-signal.md delete mode 100644 .changeset/ui-detect-terminal.md delete mode 100644 .changeset/ui-element-replay.md delete mode 100644 .changeset/ui-layout-style-reuse.md delete mode 100644 .changeset/ui-node-construction.md create mode 100644 packages/ui/CHANGELOG.md diff --git a/.changeset/dom-attributes.md b/.changeset/dom-attributes.md deleted file mode 100644 index e8271e8f..00000000 --- a/.changeset/dom-attributes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add attribute factories and Element attribute operations backed by an ordered NamedNodeMap. diff --git a/.changeset/dom-basic-creation.md b/.changeset/dom-basic-creation.md deleted file mode 100644 index 35ede761..00000000 --- a/.changeset/dom-basic-creation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add DOM element, text, and comment creation with string conversion, element name validation, ASCII-only HTML name casing, and node ownership and metadata. Add the CharacterData base class and enable the existing WPT creation tests. diff --git a/.changeset/dom-character-data.md b/.changeset/dom-character-data.md deleted file mode 100644 index 3cc6996d..00000000 --- a/.changeset/dom-character-data.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Support Text and Comment nodeValue and textContent assignment and normalize CharacterData data assignments to strings, treating null as an empty string. diff --git a/.changeset/dom-child-node-remove.md b/.changeset/dom-child-node-remove.md deleted file mode 100644 index f8764478..00000000 --- a/.changeset/dom-child-node-remove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add node removal and processing-instruction nodes, and enable upstream removal tests for elements, text, comments, and processing instructions. diff --git a/.changeset/dom-create-element-ns.md b/.changeset/dom-create-element-ns.md deleted file mode 100644 index 34571e61..00000000 --- a/.changeset/dom-create-element-ns.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add provisional namespace-aware element creation with qualified-name validation and span element types, and enable the upstream createElementNS tests. diff --git a/.changeset/dom-dataset.md b/.changeset/dom-dataset.md deleted file mode 100644 index 91b5ee20..00000000 --- a/.changeset/dom-dataset.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add [HTMLElement.dataset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset) as a live [DOMStringMap](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringMap) backed by the element's data attributes. diff --git a/.changeset/dom-document-forms.md b/.changeset/dom-document-forms.md deleted file mode 100644 index 042bdf8e..00000000 --- a/.changeset/dom-document-forms.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add a live, same-object `Document.forms` collection with named lookup of HTML form elements. diff --git a/.changeset/dom-document-fragment.md b/.changeset/dom-document-fragment.md deleted file mode 100644 index 8812f1fb..00000000 --- a/.changeset/dom-document-fragment.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Add document fragment creation and child transfer during insertion, and support reading and replacing text content on elements and fragments. diff --git a/.changeset/dom-document-notify.md b/.changeset/dom-document-notify.md deleted file mode 100644 index 2bde14da..00000000 --- a/.changeset/dom-document-notify.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Route DOM mutation notifications through the owning document. Detached attributes no longer request renders, and attached attributes notify their owning element's document even when created by another document. diff --git a/.changeset/dom-events.md b/.changeset/dom-events.md deleted file mode 100644 index bd41cf2c..00000000 --- a/.changeset/dom-events.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Support native event listeners and bubbling through the UI's node tree. diff --git a/.changeset/dom-focus.md b/.changeset/dom-focus.md deleted file mode 100644 index aeda4878..00000000 --- a/.changeset/dom-focus.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add programmatic element focus and blur, document.activeElement tracking, and trusted focus events. diff --git a/.changeset/dom-get-element-by-id.md b/.changeset/dom-get-element-by-id.md deleted file mode 100644 index 6295d3fe..00000000 --- a/.changeset/dom-get-element-by-id.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Add document ID lookup in tree order and live tag-name collections with indexed own properties, covered by original upstream Web Platform Tests. diff --git a/.changeset/dom-inert.md b/.changeset/dom-inert.md deleted file mode 100644 index c986096d..00000000 --- a/.changeset/dom-inert.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Reflect the inert attribute on HTML elements and prevent programmatic focus inside inert subtrees. diff --git a/.changeset/dom-inline-styles.md b/.changeset/dom-inline-styles.md deleted file mode 100644 index 158a636f..00000000 --- a/.changeset/dom-inline-styles.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Add inline style declarations with shared camelCase, dashed, and setProperty access, supported CSS value parsing, and change notifications. diff --git a/.changeset/dom-is-connected.md b/.changeset/dom-is-connected.md deleted file mode 100644 index 4a84f407..00000000 --- a/.changeset/dom-is-connected.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Add Node.isConnected, Node.contains(), Document.createCDATASection(), Element.append(), and DocumentFragment.append(). diff --git a/.changeset/dom-node-properties.md b/.changeset/dom-node-properties.md deleted file mode 100644 index 27775eeb..00000000 --- a/.changeset/dom-node-properties.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add Node nextSibling and previousSibling properties that reflect the current tree after insertion, reordering, removal, and reparenting. diff --git a/.changeset/dom-public-elements.md b/.changeset/dom-public-elements.md deleted file mode 100644 index 93321dee..00000000 --- a/.changeset/dom-public-elements.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Export Document, Element, and Text for applications that build terminal UI trees directly. diff --git a/.changeset/dom-query-selector-all.md b/.changeset/dom-query-selector-all.md deleted file mode 100644 index 7544c444..00000000 --- a/.changeset/dom-query-selector-all.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add `querySelectorAll()` methods to `Document`, `Element`, and `DocumentFragment`. diff --git a/.changeset/dom-style-rendering.md b/.changeset/dom-style-rendering.md deleted file mode 100644 index 9921fcef..00000000 --- a/.changeset/dom-style-rendering.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Apply element styles to terminal layout, spacing, borders, and colors, including default display modes and inherited foreground colors. diff --git a/.changeset/dom-tabindex.md b/.changeset/dom-tabindex.md deleted file mode 100644 index 64bc9c7e..00000000 --- a/.changeset/dom-tabindex.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add `tabIndex` property on HTML elements, and introduce Button / Focusable mixin diff --git a/.changeset/dom-tree-insertion.md b/.changeset/dom-tree-insertion.md deleted file mode 100644 index 84773cb1..00000000 --- a/.changeset/dom-tree-insertion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Add node parent relationships and basic insertion and removal operations, with appendChild delegating to insertBefore. diff --git a/.changeset/ui-abort-signal.md b/.changeset/ui-abort-signal.md deleted file mode 100644 index 3e8804b8..00000000 --- a/.changeset/ui-abort-signal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': minor ---- - -Require an AbortSignal when creating a UI. Stop the UI by aborting the signal and await main() for in-flight output and terminal restoration; UI instances no longer implement AsyncDisposable. Terminal settings are applied only when main() starts. diff --git a/.changeset/ui-detect-terminal.md b/.changeset/ui-detect-terminal.md deleted file mode 100644 index e4d23cba..00000000 --- a/.changeset/ui-detect-terminal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Updates `createUI` to detect terminal color support, so colors render as truecolor where supported and fall back to the 256- or 16-color palette elsewhere diff --git a/.changeset/ui-element-replay.md b/.changeset/ui-element-replay.md deleted file mode 100644 index ef8489c9..00000000 --- a/.changeset/ui-element-replay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Improves incremental rendering by replaying unchanged element subtrees with TTY 0.12.0. Solid borders without a `border-color` now draw in the terminal's default foreground instead of reserving empty space. diff --git a/.changeset/ui-layout-style-reuse.md b/.changeset/ui-layout-style-reuse.md deleted file mode 100644 index e68c83cf..00000000 --- a/.changeset/ui-layout-style-reuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Improves rendering memory use by sharing default styles and reusing the computed style of unchanged elements diff --git a/.changeset/ui-node-construction.md b/.changeset/ui-node-construction.md deleted file mode 100644 index f5cc6f45..00000000 --- a/.changeset/ui-node-construction.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@clack/ui': patch ---- - -Improves the speed of building DOM nodes with `createElement` by about three times diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md new file mode 100644 index 00000000..fd05e05a --- /dev/null +++ b/packages/ui/CHANGELOG.md @@ -0,0 +1,35 @@ +# @clack/ui + +## 0.1.0 + +### Minor Changes + +- fc09ae7: Add attribute factories and Element attribute operations backed by an ordered NamedNodeMap. +- ed10c9f: Add DOM element, text, and comment creation with string conversion, element name validation, ASCII-only HTML name casing, and node ownership and metadata. Add the CharacterData base class and enable the existing WPT creation tests. +- aa3e927: Support Text and Comment nodeValue and textContent assignment and normalize CharacterData data assignments to strings, treating null as an empty string. +- bd069ea: Add node removal and processing-instruction nodes, and enable upstream removal tests for elements, text, comments, and processing instructions. +- 24a95ca: Add provisional namespace-aware element creation with qualified-name validation and span element types, and enable the upstream createElementNS tests. +- fa9cdd7: Add [HTMLElement.dataset](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset) as a live [DOMStringMap](https://developer.mozilla.org/en-US/docs/Web/API/DOMStringMap) backed by the element's data attributes. +- b148b6d: Add a live, same-object `Document.forms` collection with named lookup of HTML form elements. +- 83e840c: Support native event listeners and bubbling through the UI's node tree. +- 4878f79: Add programmatic element focus and blur, document.activeElement tracking, and trusted focus events. +- fb7da7b: Reflect the inert attribute on HTML elements and prevent programmatic focus inside inert subtrees. +- aff2e8f: Add Node nextSibling and previousSibling properties that reflect the current tree after insertion, reordering, removal, and reparenting. +- cd9a8c9: Add `querySelectorAll()` methods to `Document`, `Element`, and `DocumentFragment`. +- 32c2bb5: Add `tabIndex` property on HTML elements, and introduce Button / Focusable mixin +- baa93e3: Add node parent relationships and basic insertion and removal operations, with appendChild delegating to insertBefore. +- 5c6d3d4: Require an AbortSignal when creating a UI. Stop the UI by aborting the signal and await main() for in-flight output and terminal restoration; UI instances no longer implement AsyncDisposable. Terminal settings are applied only when main() starts. + +### Patch Changes + +- 80a8c6a: Add document fragment creation and child transfer during insertion, and support reading and replacing text content on elements and fragments. +- fa93c3a: Route DOM mutation notifications through the owning document. Detached attributes no longer request renders, and attached attributes notify their owning element's document even when created by another document. +- bd59818: Add document ID lookup in tree order and live tag-name collections with indexed own properties, covered by original upstream Web Platform Tests. +- ad20af5: Add inline style declarations with shared camelCase, dashed, and setProperty access, supported CSS value parsing, and change notifications. +- 9312bdb: Add Node.isConnected, Node.contains(), Document.createCDATASection(), Element.append(), and DocumentFragment.append(). +- 019b344: Export Document, Element, and Text for applications that build terminal UI trees directly. +- 18a26a4: Apply element styles to terminal layout, spacing, borders, and colors, including default display modes and inherited foreground colors. +- d1fdb68: Updates `createUI` to detect terminal color support, so colors render as truecolor where supported and fall back to the 256- or 16-color palette elsewhere +- d1fdb68: Improves incremental rendering by replaying unchanged element subtrees with TTY 0.12.0. Solid borders without a `border-color` now draw in the terminal's default foreground instead of reserving empty space. +- 3481fbe: Improves rendering memory use by sharing default styles and reusing the computed style of unchanged elements +- c35d878: Improves the speed of building DOM nodes with `createElement` by about three times diff --git a/packages/ui/package.json b/packages/ui/package.json index 384f3acf..5d858b67 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@clack/ui", - "version": "0.0.0", + "version": "0.1.0", "keywords": [ "bombshell", "cli"