Repository navigation
Releases
ln-ashlar v2.2.10
Release:
v2.2.10
Date: November 28, 2026
Summary: Lifecycle & DOM ownership fixes inln-translationsandln-repeater, sharedcoerceBool()helper inln-core, automated doc link validation, and MCP/doctrine alignment.
Overview
1. Lifecycle & DOM Ownership (ln-translations & ln-repeater).
ln-translations.destroy()now tracks and removes only dynamically cloned fields (_clonedFields), stripsdata-ln-translatable-langonly from originals it tagged (_flaggedOriginals), preserves server-rendered (SSR) translation inputs, and restores the initialhiddenstate of[data-ln-translations-add](_triggerHiddenSnapshots).ln-repeater.destroy()now snapshots and restores initialdisabledandaria-disabledstate across all mutated triggers via aMap(_triggerSnapshots), preserving authored state even on moved or retargeted external[data-ln-repeater-add-for]triggers.
2. Shared Boolean Coercion (ln-core + ln-repeater).
- Lifted
_coerceBoolfromcomponents/ln-core/form.jsas exportedcoerceBool()(also re-exported fromcomponents/ln-coreandwindow.lnCore.coerceBool). - Updated
ln-repeater._populateRow()to usecoerceBool()instead of!!val, ensuring boolean strings such as"false","0","off", and"no"coerce tofalse.
3. Documentation Integrity, Router & Automated Verification.
- Added
scripts/check-doc-links.mjs(npm run check:doc-links) and wired it intonpm test, verifying all markdown files with zero broken relative links and zerofile:///paths. - Unified 3-layer architecture numbering across
README.md,DOCTRINE.md, and.agents/AGENTS.md; updatedREADME.mdto document both prebuiltdist/exports and raw source imports. - Updated
docs-mcp/component-router.md(removed staleln-dictionaryTODO, correctedln-translationssummary, refined Golden Rule #2) and alignedln-sortable/ln-httpand MCP component docs (status: stable). - Explicitly documented intentional design boundaries: Tailwind v4 semantic component stylesheet (
theme/tailwind/) parity with class-free HTML, non-transactionalln-fillclearing inln-translations, component-ownedactive/menumount containers,_populateRow()vs.populateForm()rationale inln-repeater, anddata-ln-valuetype widening in global IDE metadata.
4. Schema Classification & Test Coverage.
- Partitioned intentional
KNOWN_CSS_ONLY_ATTRSfrom unplaced CSS attributes inscripts/sync-ln-schemas.mjs. - Added
coerceBool()unit tests intests/ln-repeater.test.js, SSRdestroy()checks intests/headless/translations.mjs, andtests/headless/repeater.mjs(including nested repeaters and retargeted external trigger teardown).
ln-ashlar v2.2.9
Release:
v2.2.9
Date: November 24, 2026
Summary: npm registry release forln-repeaterandln-translationsdynamic-row sync (superseding previously used npm version2.2.8), plus draft-release handling fix inscripts/publish-github-releases.mjs.
Overview
1. npm Version Bump (Supersedes 2.2.8).
- Publishes the full
v2.2.8feature set (ln-repeaterdynamic form-row component,ln-translationsonSubtreeChangedynamic-row sync &resolveTranslationValue, interactivedemo/admin/repeater.html, schemas, and documentation) as@livenetworks/ashlar@2.2.9on npm.
2. GitHub Releases Automation Fix.
- Updated
scripts/publish-github-releases.mjsto pass--draft=false(and--prerelease=falsewhen setting--latest) duringgh release edit, preventingHTTP 422: Latest release cannot be draft or prereleasewhen re-publishing a tag that had a leftover draft release.
ln-ashlar v2.2.8
Release:
v2.2.8
Date: November 24, 2026
Summary: Newln-repeatergeneric dynamic form-row component (min/maxbounds,{index}/{index1}token substitution, optional reindexing, externaldata-ln-repeater-add-fortriggers,ln-fillhydration, andln-sortablecomposition) plus automatic dynamic-row synchronization (onSubtreeChange,sync(), and nested prefix value resolution) inln-translations.
Overview
1. New ln-repeater Component (components/ln-repeater/).
- Implemented the Two-Tier
ln-repeaterprimitive (repeater-model.js + ln-repeater.js) for dynamic repeatable form rows cloned from an authored HTML<template>. - Supports
data-ln-repeater-min/data-ln-repeater-maxbounds (auto-seeding rows on init when empty and syncing nativedisabled/aria-disabledon internal and external[data-ln-repeater-add-for]/[data-ln-repeater-remove]triggers),{index}(0-based) and{index1}(1-based) placeholder substitution, SSR max-index detection, monotonic default indices, opt-in sequential renumbering viadata-ln-repeater-reindex(including onln-sortable:reordered), accessible focus management on add/remove, andln-fillcreate/edit hydration. - Added functional CSS (
components/ln-repeater/ln-repeater.scss), theme mixin and bindings (theme/config/mixins/_repeater.scss,theme/components/_repeater.scss) with horizontal flex side-by-side layout for[data-ln-translatable]fields inside repeater rows, and dev diagnostics (components/ln-repeater/ln-repeater-dev.scss).
2. Dynamic Row Synchronization & Nested Prefix Resolution in ln-translations.
- Wired
onSubtreeChangevialn-core's shared lifecycle observer and addeddom.lnTranslations.sync()(components/ln-translations/src/ln-translations.js) so dynamically inserted[data-ln-translatable]wrappers (such as rows appended byln-repeater) automatically receive default-language flags and clones for every currently active language with zero coupling between components. - Added
resolveTranslationValue(values, field, prefix)incomponents/ln-translations/src/translations-model.jsto resolve nested bracketed prefix paths (e.g.options[0]→values.options[0].label) cleanly duringln-fillhydration without leaking top-level field values.
3. Demo Page, Documentation, Schemas & Tests.
- Added the interactive admin demo page (
demo/admin/src/pages/repeater.html→demo/admin/repeater.html) showcasing basic options, translatable + sortable rows, multi-field indexed rows with external add trigger, and modal create/editln-fillhydration. - Added component documentation (
components/ln-repeater/README.md,docs-mcp/components/ln-repeater.md), updateddocs-mcp/component-router.md,README.md,docs/README.md,llms.txt/llms-full.txt, attribute/event catalogs, and unit tests (tests/ln-repeater.test.js,tests/ln-translations.test.js).
ln-ashlar v2.2.7
Release:
v2.2.7
Date: November 23, 2026
Summary:ln-fillreactivity and modal/dropdown styling fixes forln-translations, keyboard-accessible wrapping pills andfieldset/legenddefaults, new@mixin icon-tile/card-add/btn-header/grid-fillmixins with container-query grid support, plus rootCHANGELOG.md, npm release-note packaging, and automated GitHub Releases workflow.
Overview
1. ln-translations ln-fill Integration & Dropdown/Modal Styling Fixes.
- Added host-level
ln-fillhandling (components/ln-translations/src/ln-translations.js) to clear stale language fields cleanly and repopulate translations frome.detail.trans, registered inscripts/sync-ln-events.mjs, and demonstrated with a create/edit modal flow (demo/admin/src/pages/translations.html) and expanded headless tests (tests/headless/translations.mjs). - Enforced
&:not(.open) { display: none; }on[data-ln-dropdown-menu](components/ln-dropdown/ln-dropdown.scss), addeddisplay: blocktoliintheme/config/mixins/_dropdown.scss, scopedpanel-headerlist/button selectors intheme/config/mixins/_card.scssaway from nested menus/popovers and translation controls, and fixed Tailwind's[data-ln-dropdown-menu]panel selector (theme/tailwind/components.css). - Added vertical gap across stacked
[data-ln-translatable-lang]fields,@mixin translations-header, asymmetricalpadding-inlineon badges,--btn-*hover/sizing fixes on translation add/remove buttons (theme/config/mixins/_translations.scss,theme/components/_translations.scss), and updated.form-element's trailing slot selector to exclude siblingselect/textareaclones (theme/config/mixins/_form.scss).
2. Button Mixin Self-Inclusion & @mixin btn-header.
- Included
@include button-basedirectly inside@mixin btn,btn-soft,btn-ghost,btn-outline,btn-link,btn-sm, andbtn-lg(theme/config/mixins/_btn.scss) so.btn*prototype classes (theme/components/_button.scss) and semantic selectors no longer require explicit@include button-baseboilerplate, parameterized via--btn-gap,--btn-font-size, and--btn-line-height. - Added
@mixin btn-header(and.btn-header) shared across<button>and<a>header actions in@mixin panel-header.
3. Cards, @mixin icon-tile, @mixin card-add, Container-Query Grids & Accessible Pills.
- Extracted
@mixin icon-tileintotheme/config/mixins/_icon-tile.scss(adopted bystat-cardin_stat-card.scss), added dashed empty-action tile@mixin card-add, folded--surface-highlightinto--shadowoncard/floating-panel, and added flush tablist and[data-ln-table-coordinator]handling insidepanel-header/panel-body(theme/config/mixins/_card.scss). - Added
@mixin grid-filland optional$containerparameter ongrid,grid-2, andgrid-4for@container-driven column breakpoints (theme/config/mixins/_layout.scss), plus--max-w-container-expandedand table legend resets (theme/config/mixins/_ln-table.scss). - Updated
@mixin pillto use visual-only hiding (position: absolute; clip-path: inset(50%)) with:focus-visiblefocus rings so checkboxes/radios remain keyboard-focusable (_form.scss,_popover.scss,_picklist.scss), updatedpills/pills-outlineto wrap cleanly, and added border-lessfieldset/legenddefaults (@mixin form-label-basein_form.scss,theme/components/_form.scss).
4. Changelog Generation, npm Release Visibility & Automated GitHub Releases.
- Added
scripts/sync-changelog.mjs(integrated intonpm run buildandnpm testviasync:changelog/sync:changelog:check) generating rootCHANGELOG.mdfromreleases/with absolute GitHub URLs. - Added
scripts/publish-github-releases.mjsand.github/workflows/release.ymlto publish GitHub Releases automatically onv*tag pushes and via manual backfill (workflow_dispatch). - Added
CHANGELOG.mdandreleases/topackage.jsonfilesand added direct Releases/Changelog links at the top ofREADME.md.