# Upstream design alignment

This audit compares published npm tarballs, public types, runtime code and release
notes, rather than assuming compatibility from package names. Latest audit: 2026-10-16.

## 2026-10-16 synchronization

All six families were checked against live npm metadata and published tarballs.
Bun updated exact pins in the root and library manifests and the authoritative
`package-lock.json`. Elements' own Core/CSS Art 1.20.5 dependencies remain independently
resolved alongside this repository's 1.20.6 pins.

| Package | Before | After / decision |
| --- | --- | --- |
| `@duskmoon-dev/core` | 1.20.4 | 1.20.6 |
| `@duskmoon-dev/css-art` | 1.20.4 | 1.20.6 |
| `@duskmoon-dev/elements` / `art-elements` | 1.9.1 | 1.9.3 |
| All 19 declared supporting `el-*` packages | 1.9.1 | 1.9.3 |
| `@duskmoon-dev/components` | 0.5.0 | 0.5.2 |
| `@duskmoon-dev/art-components` | Unused | Reviewed 0.5.2; existing CSS Art / art elements meet this library's needs |

### Component decisions

All affected integrations take the **Update** path. No Add or Remove is required:
existing public components retain their package selection and Phoenix API.

| Integration | Package path | Update and reason |
| --- | --- | --- |
| Pagination | Core | Use the shipped secondary active selector on the current native button/link; remove the obsolete secondary primary-token override while retaining LiveView navigation/events |
| Megamenu | Core | Consume upstream narrow-screen anchor fallback; preserve native popover behavior and verify constrained viewport placement |
| Screen-reader utilities | Core base CSS | Consume low-specificity, layered `sr-only`/`not-sr-only` rules that allow Tailwind focus variants |
| Button | Individual `el-button` | Keep the encapsulated native button; upstream now synchronizes host accessible names and referenced label mutations into its shadow button |
| Markdown Input | Individual `el-markdown-input` | Keep the rich editor; consume lazy preview rendering, bundled math adapters, KaTeX 0.18.2 and version-pinned Mermaid 11.17.0 assets; document existing HTTPS asset overrides through `rest` |
| React Form number field | Components `input-number` | Delegate read-only input and stepping to the fixed public API; remove the #82 controls/keyboard workaround |
| React Form selections | Components `select` | Pass `aria-required` through the fixed public API; remove the #83 DOM mutation workaround; consume upstream SVG icons and clear-button spacing |
| React schema form | Components `json-schema-form` | Forward canonical `form_class` to the new `className` prop, preserving upstream defaults, typed JSON, reset/reconnect and ignored LiveView ownership; remove the resolved #85 TODO |
| Chat / React Chat | Individual `el-chat` / Components `chat` | Keep each existing integration: shipped element and React chat runtime/type contracts are unchanged; no duplicate Core wrapper is needed for additive upstream CSS |
| Other element and art wrappers | Individual `el-*`, CSS Art / Art Elements | Update dependency pins; used registrations and public contracts remain compatible; CSS Art implementations are byte-identical |

Core exports, plugin entrypoints, generated themes and token declarations are
unchanged. All aggregate and individual element export maps remain compatible,
so lazy registrations and `element-theme-bridge.css` need no changes. Existing
Code Engine #9/#10 workarounds remain because its published runtime is unchanged.
React exports, peers, mount/unmount boundaries and props serialization remain
compatible. React/ReactDOM 19.3.0 satisfy the published peer requirements.

### Validation

- Frozen Bun installation, changed-file formatting, warnings-as-errors compilation
  and diff checks pass. The full umbrella suite passes 3,134 tests; the JavaScript
  suite passes 58 tests and 377 assertions.
- Both configured bundles build in strict precompiled mode with zero native
  compiler invocations. Storybook emits 70 JavaScript manifest entries, including
  the editor's lazy `render.js` chunk. Final CSS includes secondary Pagination,
  the new Megamenu fallback, Chat agent rules and layered screen-reader utilities.
- Four stale generated app-local dependency directories initially shadowed the
  updated root packages in the library build. Moving them aside, reinstalling
  with the frozen lockfile and rebuilding restores the current CSS in both
  library and Storybook assets.
- Desktop Chromium checks against the built assets verify both themes for
  secondary Pagination, native Megamenu opening/Escape, native modal dialogs,
  button accessible-name updates, React form classes and typed schema submission,
  required selection ARIA and SVG controls, and Gemini art input events.
  React Chat mounts its composer and existing messages successfully.
- Markdown Input renders both KaTeX math and Mermaid SVG in both themes. The
  actual version-pinned jsDelivr Mermaid module and KaTeX 0.18.2 stylesheet load
  successfully; its new relative render chunk is served by the built bundle.
  Checked pages report no console warnings or errors.
- Focused Chromium regressions also cover Pagination button/link hover colors,
  constrained Megamenu placement and scrolling, button accessibility-tree names
  after referenced label changes, and read-only numeric stepping.

No new upstream blockers were found. This synchronization does not commit or
publish a release.

## 2026-10-09 synchronization

All six package families were checked against published npm artifacts. Bun updates
the exact pins in both manifests and the authoritative lockfile, preserving its
pre-existing URL changes. No other JavaScript lockfile is present.

| Package | Before | After / decision |
| --- | --- | --- |
| `@duskmoon-dev/core` / `css-art` | 1.20.3 | 1.20.3; shipped CSS, themes and plugin remain compatible |
| `@duskmoon-dev/elements` / `art-elements` | 1.8.1 | 1.9.0 |
| All 19 declared supporting `el-*` packages | 1.8.1 | 1.9.0 |
| `@duskmoon-dev/components` | 0.4.1 | 0.4.1; retain existing React integrations |
| `@duskmoon-dev/art-components` | Unused | Reviewed 0.4.1; no React art integration required |

### Component decisions

| Integration | Package path | Lifecycle and reason |
| --- | --- | --- |
| Chat / Chat Scroll | Individual `el-chat` registration | Update dependency: upstream preserves CSS timeline animation across hover/focus; existing attributes, slots, events and Phoenix API remain valid |
| Markdown | Individual `el-markdown` registration | Update dependency: shipped DOMPurify advances from 3.3.3 to 3.4.16; rendering and streaming contracts are unchanged |
| Remaining element wrappers | Individual `el-*` registration | Update dependencies: executable component code is unchanged; dependencies now use Core 1.20.3 |
| Art wrappers | CSS Art / individual `el-art-*` registration | Update dependencies: all 15 art implementations and public contracts are unchanged; dependencies now use CSS Art 1.20.3 |
| Retired `el-pin-input` integration | Core native OTP/PIN | Remove obsolete theme-bridge selector: Elements removes this export; `dm_pin_input` already uses native Core controls, so its public API remains intact |

No new wrappers or wrapper removals are required. Ordinary and art aggregate
packages now ship their previously missing root type declarations. All existing
lazy registration entrypoints remain valid. React peers and mount/unmount
boundaries remain compatible. Code Engine #9/#10 workarounds remain because the
published editor runtime is unchanged.

### Validation and limitations

- Both configured asset bundles build; Storybook retains its existing single-file
  fallback for ambiguous split exports. Generated CSS excludes the retired PIN
  selector and includes current theme tokens; JavaScript includes updated element
  registrations and Chat Scroll timeline rules.
- Warnings-as-errors compilation, frozen Bun installation and diff checks pass.
- The umbrella suite passes 3,719 tests and 2 doctests. The JavaScript suite passes
  33 tests and 208 assertions.
- Desktop Chromium checks against the built assets pass in both themes for Chat
  Scroll timelines/hover/focus and reply navigation, Markdown rendering and
  sanitization, native PIN masking, and Gemini input registration/input. Accordion,
  native dialog and React Chat pages load without console errors.
- Follow-up fixes resolve the two failures found in the production bundles.
  Code Engine's stylesheet reuse bug in
  [code-engine #9](https://github.com/duskmoon-dev/code-engine/issues/9) returns an
  incomplete StyleSet for subsequent editor roots. Its existing workaround now
  selects per-root style tags only for Code Engine, without relying on stack names
  lost during minification or overriding native adopted stylesheets. Upstream
  #9/#10 remain open; both workarounds are marked at their callsites.
- The bundler preserves unmodified JSON modules as JSON so CommonJS `require`
  receives the schema object, while ESM imports retain their expected exports.
  This fixes AJV's empty meta-schema ID collisions. Plugin-generated JavaScript
  keeps its existing processing. React form cleanup also initializes its field
  list before mounting, preserving the original error if schema setup fails.
- Follow-up validation passes 495 scoped tests and 2 doctests, plus 36 JavaScript
  tests and 240 assertions; strict compilation, formatting and both asset builds
  pass. Chromium verifies all seven editors, editing and dynamic mounts, plus
  schema defaults, client/server validation, typed submission, presets, reset and
  reconnect in both themes without console errors/warnings or nested forms.
  Development vendor-cache failures were excluded by checking final static assets.

## 2026-10-08 synchronization

All six package families were checked against live npm metadata and shipped
artifacts. Exact version pins in both manifests and the authoritative `package-lock.json`
are synchronized. Existing lockfile URL edits were preserved; no unrelated
package versions changed. There is no npm lockfile in this checkout.

| Package | Before | After / decision |
| --- | --- | --- |
| `@duskmoon-dev/core` | 1.19.10 | 1.20.3 |
| `@duskmoon-dev/css-art` | 1.19.10 | 1.20.3 |
| `@duskmoon-dev/elements` | 1.8.0 | 1.8.1 |
| `@duskmoon-dev/art-elements` | 1.8.0 | 1.8.1 |
| All 19 declared supporting `el-*` packages | 1.8.0 | 1.8.1 |
| `@duskmoon-dev/components` | 0.3.1 | 0.4.1 |
| `@duskmoon-dev/art-components` | Unused | Reviewed 0.4.1; retain CSS Art / art elements |

### Component decisions

All affected existing integrations take the **Update** path. No new public
wrapper or removal is needed; the existing PIN API has a supported OTP styling
replacement. Core/CSS Art remain the smallest paths for native components/art;
Elements retain their custom-element event/form contracts, and React remains
appropriate for the existing stateful form and streaming chat islands.

| Integration | Package path | Decision and reason |
| --- | --- | --- |
| Avatar | Core | Update: expose shipped `size="2xl"` (6rem), retaining existing sizes |
| Form skeleton | Core | Update: text/select/default fields use shipped `skeleton-input` sizing (2.75rem) |
| PIN Input | Core OTP | Update: replace removed `pin-*` styles with supported `otp-*` selectors; keep public attrs, per-digit names/values, labels and errors; use native password masking and Tailwind circle/dots utilities |
| Timeline | Core | Update: pass supported marker colors to the marker itself; add neutral/base examples; keep existing item classes and accent-to-tertiary compatibility |
| Markdown Input / Chat Input | Elements | Update: optional `auto_grow={true}` emits `auto-grow`; defaults remain false; Chat forwards it to its Markdown editor |
| React Chat | Components | Update: use published Chat Bubble/content, Tool, Status, Actions and Scroll primitives; navigate the latest 24 assistant replies with panel-local targets; retain LiveView mount/unmount and transport/state contracts |
| React Form | Components | Update: wrap existing controls with published Form.Item and Form.ErrorList; link labels/errors to native inputs and Select triggers; add optional schema mode through published JsonSchemaForm/compileForm; retain typed nested JSON and LiveView events |
| Core chat / native form controls | Core | Update imported CSS: bubble/tail/marker refinements and reserved OTP error space require no Phoenix markup change |
| Dropdown / native overlays | Core | Update imported CSS: existing unique anchors and native hint/dialog APIs remain valid; `dm_modal` consumes unchanged `dialog` classes |
| Themes / plugin | Core | Update Sunshine palette from published generated tokens; token names and ESM/CJS plugin files are unchanged; Moonlight is unchanged |
| CSS Art / art elements | CSS Art / Art Elements | Update dependency versions; all 15 CSS Art files and used art-element contracts/registrations remain unchanged |

PIN consumers with custom selectors must migrate `pin-group`, `pin-label`,
`pin-input`, and `pin-input-field` to their `otp-*` counterparts. Circle/dots
presentation uses Tailwind utilities, and `visible={false}` uses `type="password"`.
The removed PIN error-shake animation is no longer supplied. Native OTP's new
single-input presentation is additive; the established multi-field OTP/PIN form
contract is retained.

Elements exports, slots, events and registration entrypoints remain compatible.
No registrar or theme-bridge changes are required. React/ReactDOM 19.3.0 and Core
1.20.3 satisfy Components' published peer ranges. Existing Code Engine workarounds
for upstream #9/#10 remain because their shipped runtime has not changed.

### Validation and resolved upstream issues

- Both configured production asset bundles build. Final assets contain the new
  Avatar/Skeleton/Timeline selectors, native overlay rules, current Sunshine tokens
  and editor registrations. Four orphan app-local installations still held older
  versions after Bun installation; they were moved out of `node_modules`, followed
  by a frozen installation and library rebuild, restoring current package resolution.
  Storybook retains its existing
  single-bundle fallback for ambiguous split exports.
- Warnings-as-errors compilation and changed-file formatting pass.
- Final umbrella suite: 3,667 tests and 2 doctests, zero failures.
- JavaScript suite: 33 tests / 208 assertions, zero failures, including React Chat
  composition/streaming/tool rendering and existing native overlay/state behavior.
- Desktop Chromium verifies both themes for Avatar 2xl, form skeleton dimensions,
  PIN circles/masking, Timeline neutral/base markers, editor auto growth and React
  Chat. Chat Input forwards auto-grow and emits the unchanged `send` value/files
  payload. React Form submits nested JSON through LiveView. Native hint tooltips
  open on focus; native dialogs open modally and close on Escape. Checked pages
  have no console warnings/errors.
- Components 0.4.0 browser checks confirm tools and final content share one
  Bubble, generating status appears during streaming, reply markers navigate
  within a long transcript, manual scrolling is retained during updates, and
  Jump to latest resumes following. Form label/error association, preset reset,
  nested JSON submission and both themes pass. The dev vendor cache for Chat
  required regeneration after its imported source changed; browser verification
  uses the refreshed module.

Components 0.4.0 resolves the earlier embedded Core chat stylesheet conflict:
its shipped chat rules match Core 1.20.3 and the obsolete inset bubble outline is
absent. Keep its stylesheet for React-only number/select/form/Markdown styles.
No local chat CSS overrides are required.

Components 0.4.1 resolves [React #79](https://github.com/duskmoon-dev/duskmoon-react/issues/79)
by publishing `JsonSchemaForm` and `compileForm` at `./json-schema-form`, with AJV
and format validation dependencies. The canonical `dm_react_form` now accepts
`schema`: the upstream renderer owns one form and its fields, client validation,
array controls and Submit/Reset actions. The ignored Phoenix mount has no parent
form. Omitted values use schema defaults; explicit values keep their JSON types.
The existing LiveView event contract, debounce, targets, revision checks and reset
event remain supported. Nested/dotted backend errors are adapted to escaped JSON
Pointer keys; single changes report the affected path, bulk changes its common
parent. Reset clears pending changes and remounts the renderer to clear local
errors. Disconnection cancels pending validation while preserving the draft. Replies from an older draft or a destroyed mount are ignored.

[React #78](https://github.com/duskmoon-dev/duskmoon-react/issues/78) is also resolved:
Select IDs, label and error attributes now reach the interactive trigger. The
callsite TODOs for both issues are removed; no copied schema engine or local DOM
workaround is needed.

Desktop Chromium verifies schema defaults, nested objects and arrays, numeric
Select values, booleans, required-field client validation and focus, backend
pointer errors, typed submission, server presets and Reset. Classic fields and
schema forms coexist without nested forms. Both themes and navigation between
Form and Chat are checked with no console errors/warnings. The generated assets
contain schema controls and upstream styles. The cached development React Form
vendor module was regenerated before checking the new mount behavior.

## Core-first cleanup (2026-09-24)

This cleanup supersedes the wrapper inventory in the earlier synchronization below.
It intentionally removes public APIs; consumers must migrate before upgrading.

| Removed API | Replacement |
| --- | --- |
| `dm_kbd` | `<kbd class="kbd kbd-sm">Ctrl</kbd>` |
| `dm_mask` | `<img class="mask mask-hexagon" src="/avatar.png" alt="Team avatar" />` |
| `dm_stack` | `<div class="stack stack-end">...</div>`; retain content order and caller-owned `aria-hidden` / `inert` on decorative layers |
| `dm_join` | `<div class="join join-horizontal" role="group" aria-label="Actions">...</div>`; use `join-vertical` for vertical groups and `join-item` on direct children |
| `dm_indicator` | `.indicator` container with `.indicator-item.indicator-top.indicator-end`; preserve accessible status text |
| `dm_hero` | `<section class="hero" aria-label="Welcome"><div class="hero-content">...</div></section>`; optional `.hero-overlay` is decorative |
| `dm_steps` | `dm_stepper` with `:step` slots; map zero-based `current` to `active` and `completed`, and `orientation="vertical"` to `vertical` |
| `dm_nested_menu`, `dm_nested_menu_item` | `dm_left_menu` and `dm_left_menu_group`; map groups to `:menu` slots and item state to stable IDs with `active` |

Native Core primitives retain their upstream CSS without Phoenix modules, stories,
or dedicated wrapper tests. Do not add a new wrapper merely to show a CSS class.

```heex
<.dm_stepper vertical clickable>
  <:step :for={{step, index} <- Enum.with_index(@steps)}
    label={step.label}
    description={step[:description]}
    active={index == @current}
    completed={index < @current}
    disabled={step[:disabled]}
    on_click={JS.push("select-step", value: %{step: index})} />
</.dm_stepper>
```

The LiveView handles `select-step` and owns `@current`; the old element's automatic
client state and `change` event are not retained. The canonical Core stepper
supports its documented color/variant set; old arbitrary colors/icons require an
explicit application design rather than forwarding unsupported element attributes.

```heex
<.dm_left_menu nav_label="Workspace">
  <:menu>
    <.dm_left_menu_group active="reports">
      <:title>Workspace</:title>
      <:menu id="reports" to="/reports">Reports</:menu>
    </.dm_left_menu_group>
  </:menu>
</.dm_left_menu>
```

LeftMenu uses Phoenix `navigate` links; it is the canonical grouped sidebar API.
For standalone ordinary `href` lists or Core's compact/bordered modifiers, use native
`<ul class="nested-menu nested-menu-bordered nested-menu-compact">` markup.
The duplicate Steps/NestedMenu Storybook pages and routes are removed.

`dm_badge`, `dm_card`, and `dm_async_card` keep their Phoenix attributes and slots,
but render native Core markup without element registration or shadow DOM.
Update custom selectors, `::part` styling and DOM queries accordingly:

- Badge uses `.badge`, color, outlined/soft and dot classes. `soft` takes precedence
  over `outline`. `accent` remains mapped to tertiary. Ghost uses transparent
  Tailwind utilities; `xs` retains the former default-size fallback (`badge-md`),
  and `pill` uses `rounded-full` (Core badges are already rounded). Dot labels are
  visually hidden but remain accessible. Dot dimensions follow Core.
- Card uses `.card`, `.card-image`, `.card-body`, `.card-title`, `.card-actions`.
  `body_class` now styles the actual Core body rather than a nested wrapper.
  Padding maps to Core's `--card-p`; shadow uses literal Tailwind utilities.
  `interactive` retains focus and Enter/Space click activation on the card itself;
  nested native controls retain their own keyboard handling.
- Async loading keeps image/content skeletons; failures show the existing alert;
  success passes the loaded result to body and action slots. One shared native
  card layout renders all states.

Storybook removes 27 unused/obsolete lazy registrar entries (24 already unused,
plus badge/card/stepper), and 25 root direct package declarations (the two unused art entries were transitive).
Elements/Art Elements aggregates remain part of the public dependency contract,
so those packages can still be installed transitively. Theme bridge support for
other direct custom-element consumers remains; only badge/card/stepper selectors
are removed. Button and its registration are unchanged.

The local Tailwind loader now preserves the official `theme, base, components,
utilities` layer order when expanding `@import "tailwindcss"`. Without it, Core
component rules loaded after utilities masked card shadows and ghost badges.
This fixes the loader rather than adding local component CSS overrides.

Cleanup validation:

- 169 focused Phoenix component tests and 13 Storybook tests passed.
- All 15 Tailwind tests passed, including layer precedence before/after minification.
- Changed-file formatting, warnings-as-errors compilation and both asset builds passed.
  Storybook retains its existing single-bundle fallback for ambiguous split exports.
- Desktop Chrome confirmed native Badge/Card rendering, both themes, ghost transparency,
  card padding/image/shadow variants, Enter/Space activation, and a single click from
  a nested native button. Stepper uses named native buttons; old navigation links are absent.
  No console warnings/errors on the checked Card page.
- The earlier full-suite icon/QuickBEAM/CDP timeouts below remain unresolved; the full
  suite was not rerun for cleanup. The focused tests are not a claim of full-suite success.

## 2026-09-24 synchronization (before cleanup)

| Package | Before | Target / decision |
| --- | --- | --- |
| `@duskmoon-dev/core` | 1.19.9 | 1.19.10 |
| `@duskmoon-dev/css-art` | 1.19.9 | 1.19.10 |
| `@duskmoon-dev/elements` | 1.7.6 | 1.8.0 |
| `@duskmoon-dev/art-elements` | 1.7.6 | 1.8.0 |
| Declared `@duskmoon-dev/el-*` packages | 1.7.6 or 1.8.0 | 1.8.0 |
| `@duskmoon-dev/components` | Not installed | Reviewed 0.3.1; no required React integration |
| `@duskmoon-dev/art-components` | Not installed | Reviewed 0.3.1; existing CSS Art / element integration retained |

The comparison uses published tarballs. Core changes the horizontal join selectors
so they no longer affect vertical groups. CSS Art styles are unchanged. Existing
Elements and Art Elements public types and ESM runtime code are unchanged after
excluding generated source-path/debug comments; their dependency versions change.

- **Update:** expose `dm_join orientation="vertical"` using Core's fixed CSS;
  preserve horizontal as the default, and remove the obsolete upstream TODO.
- **Keep existing implementations:** the new Elements exports for carousel,
  countdown, diff, dropdown, fab, filter-group, footer, hero, indicator, join,
  kbd, link, loading, mask, megamenu, radial-progress, range, sidebar-layout,
  stack, stat, swap, toggle-switch, file-input and validator overlap existing
  Core/native controls, layout or form behavior. They do not require new wrappers
  or registrations in this synchronization.
- **No new page wrappers:** console-page, home-page and sign-page are application
  page-shell compositions, outside the current component synchronization scope.
- **No removals:** no previously consumed upstream export was removed.
- **React packages:** both use React/ReactDOM peers. Their exports were inventoried;
  introducing a React island is unnecessary for the changed join/art contracts.

duskmoon_npm updates the root and Phoenix manifests and `package-lock.json`. Storybook uses
`workspace:*` for the Phoenix package so the lockfile no longer retains an old
`file:` dependency snapshot with stale nested Duskmoon versions. The existing
`package-lock.json` is an older npm snapshot and is not the update source.
Validation for this synchronization:

- Both configured bundles built in `MIX_ENV=test`; Storybook's bundler used its
  single-bundle fallback after detecting ambiguous split exports.
- `MIX_ENV=test mix compile --warnings-as-errors` and changed-file formatting passed.
- Focused component and Storybook tests: 18 + 12 passed.
- Desktop Chrome DevTools checks passed for join corners/orientation in both themes,
  native button focus, Accordion registration/toggling, and Gemini Art registration/input.
- The isolated join browser test (subsequently removed with the wrapper) was blocked by CDP timeouts. The existing
  hoisted registrar browser test also timed out through the same helper.
- The umbrella run (`mix test --max-failures 5`) did not pass: five Phoenix tests
  timed out in icon loading and bundler tests timed out in QuickBEAM/CDP. The run
  was interrupted after these failures; remaining tests were not completed.

The following version inventory records the earlier 2026-09-22 synchronization.

## Exact dependency versions

The root manifest pins every existing dependency below. The Phoenix npm manifest
also pins Core, CSS Art, Elements and Art Elements to the same versions.

| Package | Before | After |
| --- | --- | --- |
| `@duskmoon-dev/art-elements` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/core` | 1.18.1 | 1.19.9 |
| `@duskmoon-dev/css-art` | 1.18.1 | 1.19.9 |
| `@duskmoon-dev/el-accordion` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-alert` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-art-gemini-input` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-autocomplete` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-base` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-badge` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-bottom-navigation` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-bottom-sheet` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-breadcrumbs` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-button` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-card` | 1.7.2 | 1.8.0 |
| `@duskmoon-dev/el-cascader` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-chat` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-chip` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-circle-menu` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-code-block` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-code-engine` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-datepicker` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-datetime` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-drawer` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-file-upload` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-form` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-form-group` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-input` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-markdown` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-markdown-input` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-menu` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-navbar` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-navigation` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-nested-menu` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-otp-input` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-pagination` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-pin-input` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-pro-data-grid` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-progress` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-segment-control` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-select` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-slider` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-stepper` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-switch` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-table` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-tabs` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-theme-controller` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/el-time-input` | 1.7.2 | 1.7.6 |
| `@duskmoon-dev/elements` | 1.7.2 | 1.7.6 |

Elements 1.7.6 pins its aggregate dependencies to 1.7.6. Ten direct packages
have a newer published 1.8.0; their public types remain compatible. We register
individual packages lazily in Storybook. Unpublished 1.8.0 aggregate components
are not assumed available and no dependencies on them are introduced.

## Public component mapping

Core 1.19.9 adds 32 public CSS component modules relative to 1.18.1; none are removed.

| Upstream additions | Phoenix integration |
| --- | --- |
| carousel, countdown, diff, kbd, radial-progress | New native DataDisplay components |
| fab, swap | New native Action components |
| filter-group | New native DataEntry component |
| hero, indicator, join, mask, sidebar-layout, stack | New Layout components |
| megamenu | New native Navigation component |
| breadcrumbs, dropdown, file-input, footer, link, menu, navbar, pagination, range, tabs, toggle-switch | Existing Phoenix components preserve their native or Elements APIs; new CSS is available through the aggregate import |
| loading, stat | Existing spinner and stat markup now uses upstream component classes |
| validator | Opt-in class on native input controls; server error messages and application validation remain application-owned |
| console-page, home-page, sign-page | Optional page composition CSS included in the bundle; application page templates are not new public Phoenix components |

Existing native dialog/popover contracts remain intact. Core's regular-element
Modal styling does not replace the library's native dialog implementation.
Menu, drawer and bottom-sheet retain Elements behavior because replacing their
methods and events would be a breaking change. Their former Core blocker #61 is resolved.

The new native components require no registration. Timers, progress values,
filter updates, and layout state are supplied by applications. Slots accept normal
Phoenix components and native controls, preserving form and navigation behavior.

Sunshine keeps the same token names with updated semantic contrast values;
Moonlight is unchanged. The theme bridge inherits these values without local
color overrides. Core plugin entrypoint paths remain compatible, and component
and theme exports now also include a CSS default condition.

## Elements and CSS Art

All 43 directly declared non-art Elements packages, including `el-base`, were
compared using their published old/new type contracts. Chat gains its timeline
setting, scroll wrapper, and File attachment event contract. Chip gains semantic interaction attributes and
`dm-click`, `dm-change`, and `dm-delete` events. Markdown input synchronizes its
observed attributes upstream without requiring a Phoenix wrapper change.

Lazy registration recognizes standalone chat subcomponents, including chat scroll.
The existing code-engine registration behavior is preserved. Element theme selectors
remain valid; the new chat scroll wrapper does not introduce host theme defaults.

All 15 individual CSS Art stylesheets (excluding the aggregate `index.css`) and
all 15 art element public type contracts are unchanged.
Every used art stylesheet, registration and required bridge selector is already present.
There are no removed art components and no new decorative wrappers are needed.

## Resolved compatibility code

- Core #43: removed local collapse padding overrides; shipped CSS now handles the closed state.
- Elements #65: removed the Object.values highlighting patch; shipped `el-code-engine` imports oneDark explicitly.
- Elements #66: removed inline form submission from `dm_btn`; shipped button runtime submits once.
- Elements #67/#68: native breadcrumb and pagination navigation remain intentional public APIs.
- Elements #74: native chip paths remain for Phoenix navigation/patching and JS delete commands;
  new Elements interactions are exposed for custom-element consumers.
- Code Engine #9/#10: still open; existing marked workarounds remain.

## Resolved vertical join defect

Core 1.19.10 excludes vertical groups from its horizontal corner rules, resolving
the shipped CSS defect tracked by [Core #63](https://github.com/duskmoon-dev/duskmoonui/issues/63).
Native `.join.join-vertical` and `.join.join-horizontal` groups now use the fixed rules.
Both orientations use upstream CSS without local overrides.

Storybook now declares its application script as an ES module so the lazy element
registrations execute on component story pages. Its development source root and
workspace resolution directories are absolute, so umbrella code reload cannot
resolve them from a temporary application working directory. The production build
explicitly resolves Bun's root `node_modules` directory as well as workspace apps
and dependencies, ensuring lazy imports are included in emitted assets.

## Sources and verification

- [Core releases](https://github.com/duskmoon-dev/duskmoonui/releases)
- [Elements releases](https://github.com/duskmoon-dev/duskmoon-elements/releases)
- Installed `@duskmoon-dev/core/dist/components`, themes and plugin exports.
- Published package `dist/*.d.ts`, ESM implementations, manifests and registration entrypoints.

Verification covers both built bundles, warnings-as-errors compilation, component
render tests, native browser behavior, the umbrella suite, and representative
Storybook pages in light/dark themes at desktop/mobile widths. Browser `File`
attachments require an application upload mechanism; the generic LiveView event
bridge does not serialize their binary contents.
