Repository navigation
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.