Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/dom-attributes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-basic-creation.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-character-data.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-child-node-remove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-create-element-ns.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-dataset.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-document-fragment.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-document-notify.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-events.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-get-element-by-id.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-inline-styles.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-is-connected.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-node-properties.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-public-elements.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-style-rendering.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dom-tree-insertion.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-abort-signal.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-detect-terminal.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-element-replay.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-layout-style-reuse.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ui-node-construction.md

This file was deleted.

30 changes: 30 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# @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.
- 83e840c: Support native event listeners and bubbling through the UI's node tree.
- aff2e8f: Add Node nextSibling and previousSibling properties that reflect the current tree after insertion, reordering, removal, and reparenting.
- 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
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clack/ui",
"version": "0.0.0",
"version": "0.1.0",
"keywords": [
"bombshell",
"cli"
Expand Down
Loading