Changelog
Hololink UI follows semantic versioning. While the version is below 1.0, minor releases may contain breaking changes, so each entry says what to change. Releases are cut with Changesets. See Contributing for how a change reaches this page.
This page renders the package’s CHANGELOG.md, so it always matches what was published. The same notes appear on the repository’s GitHub releases.
@philbob/hololink-ui
0.5.1
Patch Changes
-
772efae: holo-dialog, holo-drawer: document that
holoClosebubbles and is composed, so a nested dialog’s close reaches listeners on the outer one. Guard host handlers withevent.target === event.currentTarget. Docs, stories and JSDoc only; the event’s behaviour is unchanged. -
43201e4: holo-popover, holo-menu: document that
holoClosebubbles and is composed, so a menu or popover nested in a dialog, drawer, popover or menu also reachesholoCloselisteners on that ancestor. Guard host handlers withevent.target === event.currentTarget. Docs, stories and JSDoc only; the event’s behaviour is unchanged. -
ebcd3a6: holo-drawer: clicks on slotted content, the footer and the close button now propagate normally to the host, its ancestors and
document, so delegated handlers, analytics and click-outside logic work for content inside the drawer. Backdrop dismissal now requires both the press and the release to happen on the backdrop; dragging from inside the drawer (e.g. selecting text) no longer closes it. Behaviour note: handlers that relied on clicks inside a drawer not reaching outer listeners will now fire.A click on the
<dialog>with no preceding primary pointer press (for example a programmaticdialog.click()) closes holo-drawer on the target check alone, whatever position the drawer is anchored to. holo-dialog gets the same logic so the two stay in step. -
a3a0ff8: holo-grid
list: re-sync in hidden tabs where animation frames are paused, share onewhenDefinedwatcher per unregistered tag across grids, warn, when the library is compiled in development mode, when a direct child hasrole="list", and document the late-registration limits for non-Stencil components. -
c7c49a4:
holo-pagination: keep keyboard focus after activation. Controls now have stable keys, and when the focused control is removed or becomes disabled (for example Next on the last page), focus moves to the current-page control instead of falling back tobody. -
2312f92:
holo-pagination: wrap the controls onto extra rows instead of overflowing horizontally at 320px (WCAG 1.4.10). Targets stay at least 24x24px.
0.5.0
Minor Changes
- 15e4aa1: Add a
listprop toholo-grid. It gives the gridrole="list"and each element child without a rolerole="listitem", kept in sync as children are added and removed. Without the prop, behaviour is unchanged. - cfb0554: Add a
min-item-widthprop toholo-grid. It switches the grid to fluid mode, which fits as many columns as the grid’s own width allows, from 1 up tocols, so a grid can show more than one column on narrow screens. Without the prop, behaviour is unchanged. - c9efda8:
holo-paginationhas a newhref-templateprop (for example?page={page}) that renders the previous, page and next controls as real links.holoPageChangecan be cancelled in link mode to route client-side.page-labelnow replaces every{page}token, not just the first.
Patch Changes
-
21cb11c: Fix
holo-carouselandholo-carousel-itemoverflowing their containers: the carousel frame and the slide box now usebox-sizing: border-box, so padding and border no longer make them wider than the host (the slide’s right border was clipped by the viewport). If you shrank the host to compensate for the overflow, for example withinline-size: calc(100% - …), remove that workaround. -
d9a4229: Fix
holo-carouselslide indicators: the container is now arole="group"of buttons instead of arole="tablist"with no tabs (axearia-required-children), and each indicator has a 24 by 24 CSS px hit area (WCAG 2.5.8) while the dot stays 12px. Indicator accessible names are now “Slide N of M” followed by the slide label when set (for example “Slide 2 of 5: Pricing”), andaria-current="true"is only present on the current indicator instead ofaria-current="false"on the others. Keyboard behaviour is unchanged.Layout change: the indicator row is now 24px tall instead of 12px, and the visible spacing between dots grows from 8px to 16px (24px hit areas with a 4px gap around 12px dots). Inactive indicators are now a hollow 2px ring in
--s-color-border-control(was a filled--s-color-border-subtledot, about 1.2:1) and the current indicator is a solid dot in--s-color-border-interactive, so the current slide is identifiable by shape and not only by colour (WCAG 1.4.1) and both states reach at least 3:1 against the surface (WCAG 1.4.11). In forced-colors mode the ring usesButtonTextand the current dot usesHighlight. Slides added or removed after the first render now update the indicators, and the current index is clamped if the current slide is removed. -
f5d6310: holo-dialog: clicks on slotted content, the footer and the close button now propagate normally to the host, its ancestors and
document, so delegated handlers, analytics and click-outside logic work for content inside the dialog. Backdrop dismissal is unchanged. Behaviour note: if you relied on clicks inside a dialog not reaching outer handlers (for example a document-level click listener that you did not expect to fire for dialog content), those handlers will now fire. -
5f20be6: holo-dialog: only dismiss on backdrop when both the press and the release happen on the backdrop; dragging from inside the dialog (e.g. selecting text) no longer closes it.
-
400f002: Document the
label,hintanderrorslots ofholo-form-fieldas internal: the component populates them from its props, and consumers must not slot their own content. Only the generatedcustom-elements.jsonand readme wording change. -
4213623: Fix
holo-gridoverflowing its container below 768px when an item contains long unbreakable content, by usingminmax(0, 1fr)for the single-column track. -
5a0a967: Compile the components with
strictNullChecks. The generatedcustom-elements.jsonand component readmes now list optional props asT | undefined, and theholoCarouselChangedetail as{ index: number; item: HTMLElement | null }, which matches the TypeScript declarations. The type declarations and runtime behaviour are unchanged. -
a04a367: Enforce the Stencil lint rules in CI and tidy the components accordingly. No runtime behaviour changes. In the published type declarations, the private
hostmember of every component class is now typed as the tag-specific element (for exampleHTMLHoloTabElement) instead ofHTMLElement. Incustom-elements.json,selectedonholo-tab,activeonholo-tab-panelandholo-carousel-itemandcheckedonholo-radionow reportmutable: false; the components never write them and parents still set them from outside.holo-form-fieldnow documents itslabel,hintanderrorslots.
0.4.0
Minor Changes
- 65ee875: The package is now published to the public npm registry as
@philbob/hololink-uiand is no longer published to GitHub Packages. Consumers should remove any@philbob-sideprojectsregistry/auth lines from their.npmrcand update imports to the new@philbobscope. - 6f8ecfd: Remove the unused
my-componentstarter scaffold, its./my-componentexport and theformathelper that only it used.
0.3.0
Minor Changes
- 97d1261: Rebrand from Holocron to Hololink UI. The package is renamed from
@philbob-sideprojects/holocron-uito@philbob/hololink-ui: update your dependency and imports (for example@philbob/hololink-ui/holo-buttonand@philbob/hololink-ui/styles/global.css). The Stencil namespace is nowhololink, so the lazy-loader bundle moves fromdist/holocron/holocron.esm.jstodist/hololink/hololink.esm.js; the packageexports(.,./loader,./holo-*) already point at the new paths. Element tags (holo-*), events, CSS custom properties and utility classes are unchanged. Docs are now at https://www.hololink-ui.co.uk.
Patch Changes
- 45fa7a2: Update build and test dependencies for security fixes: Stencil core 4.45.1 (the Stencil runtime bundled into
distis refreshed), vitest and@vitest/browser-playwright4.1.11, vite 6.4.3, playwright 1.63. No API changes. - 29a1c58:
holo-toast: the auto-dismiss timer now stays paused while the toast has either hover or focus, and resumes only when both are released. Previously, moving the pointer away resumed the timer even if the toast still had focus, and an unpairedmouseleaveorfocusoutcould start a second timer and emitholoDismisstwice.
0.2.0
Minor Changes
- d22aca8: Remove the Stencil starter scaffold: the
my-componentelement, its./my-componentpackage export, and theformathelper exported from the package root. They were placeholder code from the starter template, not part of the Holocron component set. This removes public exports, so it is breaking; while the package is 0.x, a minor bump signals that.
Patch Changes
-
7a4df98: Accessibility fixes from the component documentation audit:
holo-form-field: the label, hint and error are now light-DOM elements projected into named slots, so the slotted control actually gets its accessible name and description (shadow-root ID references did not resolve).holo-tooltip: finds its trigger in its own document or shadow root, describes the trigger through the tooltip host so the description resolves, and stays open while the pointer is over the tooltip (WCAG 1.4.13).holo-radio-group:ArrowLeft/ArrowRightnow move the selection, and arrow keys,HomeandEndskip disabled radios.holo-list-item: interactive items render a native<button>, so they are announced as actionable. The host is no longer giventabindex.holo-popover: setsaria-expandedon the trigger, moves focus into the panel on open, and only returns focus to the trigger if focus was inside the popover.holo-dialog/holo-drawer:Escand backdrop clicks no longer close them whendismissibleis false. Focus now returns to the element that really had focus (for example the inner button of aholo-button).holo-text-field: newautocompleteprop forwarded to the inner input (WCAG 1.3.5).holo-tag: the remove button is named “Remove”; new remove-labelprop.holo-alert: newdismiss-labelprop.holo-pagination: newlabel,previous-label,next-labelandpage-labelprops.holo-breadcrumb: newlabelprop.holo-table: theresponsivescroll container is focusable and, with acaption, a named region.
-
e7e01c6: Fix
holo-tablecell styling and HTML-authored markup. The::slotted(th)/::slotted(td)rules never matched (cells are nested inside slotted sections), so the--holo-table-cell-padding,--holo-table-border-colorand--holo-table-header-colorhooks had no effect; and the HTML parser drops<thead>/<tr>/<td>tags written directly inside<holo-table>. Wrap a native<table>in<holo-table>instead: it is slotted as-is, and cell, header and caption styles now ship instyles/global.css(newcomponents/table.csslayer). Sections appended with DOM APIs still render inside the shadow<table>as before.
0.1.1
Patch Changes
- fabf4e1:
u-spin-holoandu-shimmer-scannow stop animating underprefers-reduced-motion: reduce, as DESIGN.md requires.
0.1.0
Minor Changes
-
a69234c: Make the design tokens WCAG 2.2 AA compliant and easier to theme.
- AA-compliant colours. Status colours now use darker shades in light (700) and lighter shades in dark (400) and pass 4.5:1 on surfaces and on their tints. Secondary and tertiary text, link and dark-theme interactive colours were adjusted. A new contrast test in
tokens.unit.test.tsenforces these pairings. - New semantic tokens. Colour:
--s-color-text-link,--s-color-text-link-hover,--s-color-text-inverse,--s-color-bg-inverse,--s-color-bg-backdrop,--s-color-border-control,--s-color-status-{success,warning,danger,info}-bgand--s-color-accent-{glow,grid,grid-strong}. Non-colour:--s-space-{2xs..xl},--s-font-size-{caption,label,body,lead,title,headline,display},--s-radius-{subtle,pill},--s-shadow-depth-4,--s-shadow-glass,--s-duration-*,--s-easing-*and--s-z-index-*. New primitives:--p-color-{green,amber,red,blue}-{50,400,500,700,950},--p-color-indigo-950and--p-color-neutral-550. - Forced light/dark via
data-theme. Themed colours are defined once withlight-dark()and followcolor-scheme.data-theme="light"now forces light even when the OS is dark, anddata-theme="dark"forces dark. Either works on<html>or on any container. Theprefers-color-schememedia block has been removed. - Deprecated.
--p-color-success,--p-color-warning,--p-color-dangerand--p-color-inforemain as aliases of the 500 shades. Migrate to--s-color-status-*.
- AA-compliant colours. Status colours now use darker shades in light (700) and lighter shades in dark (400) and pass 4.5:1 on surfaces and on their tints. Secondary and tertiary text, link and dark-theme interactive colours were adjusted. A new contrast test in
-
a69234c: First release to GitHub Packages. The package has been renamed from
@holocron/uito@philbob/hololink-ui; update imports and dependencies to the new scope.