Skip to content
Alpha

Hololink UI is under active development. Components, APIs and these docs may change without notice.

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 holoClose bubbles and is composed, so a nested dialog’s close reaches listeners on the outer one. Guard host handlers with event.target === event.currentTarget. Docs, stories and JSDoc only; the event’s behaviour is unchanged.

  • 43201e4: holo-popover, holo-menu: document that holoClose bubbles and is composed, so a menu or popover nested in a dialog, drawer, popover or menu also reaches holoClose listeners on that ancestor. Guard host handlers with event.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 programmatic dialog.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 one whenDefined watcher per unregistered tag across grids, warn, when the library is compiled in development mode, when a direct child has role="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 to body.

  • 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 list prop to holo-grid. It gives the grid role="list" and each element child without a role role="listitem", kept in sync as children are added and removed. Without the prop, behaviour is unchanged.
  • cfb0554: Add a min-item-width prop to holo-grid. It switches the grid to fluid mode, which fits as many columns as the grid’s own width allows, from 1 up to cols, so a grid can show more than one column on narrow screens. Without the prop, behaviour is unchanged.
  • c9efda8: holo-pagination has a new href-template prop (for example ?page={page}) that renders the previous, page and next controls as real links. holoPageChange can be cancelled in link mode to route client-side. page-label now replaces every {page} token, not just the first.

Patch Changes

  • 21cb11c: Fix holo-carousel and holo-carousel-item overflowing their containers: the carousel frame and the slide box now use box-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 with inline-size: calc(100% - …), remove that workaround.

  • d9a4229: Fix holo-carousel slide indicators: the container is now a role="group" of buttons instead of a role="tablist" with no tabs (axe aria-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”), and aria-current="true" is only present on the current indicator instead of aria-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-subtle dot, 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 uses ButtonText and the current dot uses Highlight. 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, hint and error slots of holo-form-field as internal: the component populates them from its props, and consumers must not slot their own content. Only the generated custom-elements.json and readme wording change.

  • 4213623: Fix holo-grid overflowing its container below 768px when an item contains long unbreakable content, by using minmax(0, 1fr) for the single-column track.

  • 5a0a967: Compile the components with strictNullChecks. The generated custom-elements.json and component readmes now list optional props as T | undefined, and the holoCarouselChange detail 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 host member of every component class is now typed as the tag-specific element (for example HTMLHoloTabElement) instead of HTMLElement. In custom-elements.json, selected on holo-tab, active on holo-tab-panel and holo-carousel-item and checked on holo-radio now report mutable: false; the components never write them and parents still set them from outside. holo-form-field now documents its label, hint and error slots.

0.4.0

Minor Changes

  • 65ee875: The package is now published to the public npm registry as @philbob/hololink-ui and is no longer published to GitHub Packages. Consumers should remove any @philbob-sideprojects registry/auth lines from their .npmrc and update imports to the new @philbob scope.
  • 6f8ecfd: Remove the unused my-component starter scaffold, its ./my-component export and the format helper that only it used.

0.3.0

Minor Changes

  • 97d1261: Rebrand from Holocron to Hololink UI. The package is renamed from @philbob-sideprojects/holocron-ui to @philbob/hololink-ui: update your dependency and imports (for example @philbob/hololink-ui/holo-button and @philbob/hololink-ui/styles/global.css). The Stencil namespace is now hololink, so the lazy-loader bundle moves from dist/holocron/holocron.esm.js to dist/hololink/hololink.esm.js; the package exports (., ./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 dist is refreshed), vitest and @vitest/browser-playwright 4.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 unpaired mouseleave or focusout could start a second timer and emit holoDismiss twice.

0.2.0

Minor Changes

  • d22aca8: Remove the Stencil starter scaffold: the my-component element, its ./my-component package export, and the format helper 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/ArrowRight now move the selection, and arrow keys, Home and End skip disabled radios.
    • holo-list-item: interactive items render a native <button>, so they are announced as actionable. The host is no longer given tabindex.
    • holo-popover: sets aria-expanded on 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: Esc and backdrop clicks no longer close them when dismissible is false. Focus now returns to the element that really had focus (for example the inner button of a holo-button).
    • holo-text-field: new autocomplete prop forwarded to the inner input (WCAG 1.3.5).
    • holo-tag: the remove button is named “Remove ”; new remove-label prop.
    • holo-alert: new dismiss-label prop. holo-pagination: new label, previous-label, next-label and page-label props. holo-breadcrumb: new label prop.
    • holo-table: the responsive scroll container is focusable and, with a caption, a named region.
  • e7e01c6: Fix holo-table cell 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-color and --holo-table-header-color hooks 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 in styles/global.css (new components/table.css layer). Sections appended with DOM APIs still render inside the shadow <table> as before.

0.1.1

Patch Changes

  • fabf4e1: u-spin-holo and u-shimmer-scan now stop animating under prefers-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.ts enforces 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}-bg and --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-950 and --p-color-neutral-550.
    • Forced light/dark via data-theme. Themed colours are defined once with light-dark() and follow color-scheme. data-theme="light" now forces light even when the OS is dark, and data-theme="dark" forces dark. Either works on <html> or on any container. The prefers-color-scheme media block has been removed.
    • Deprecated. --p-color-success, --p-color-warning, --p-color-danger and --p-color-info remain as aliases of the 500 shades. Migrate to --s-color-status-*.
  • a69234c: First release to GitHub Packages. The package has been renamed from @holocron/ui to @philbob/hololink-ui; update imports and dependencies to the new scope.