Skip to content

Releases

1.4.1 - Restore TabContent DocBlocks

Choose a tag to compare

@stierpm stierpm released this 14 Oct 18:33
7bddf89

1.4.1 - Restore TabContent DocBlocks

  • Restore and expand DocBlocks for every TabContent method, including the
    constructor, parameter/return documentation, validation, and lifecycle details.
  • Add JSDoc typedefs for public item/state snapshots and callback documentation.
  • Regenerate distribution bundles and source maps.
  • No executable behavior or API changes from 1.4.0; verified by comparing
    executable source tokens.

Validation

  • All three Rollup builds passed.
  • All 69 Playwright tests passed across Chromium, Firefox, and WebKit, including
    SurfMenu-style regressions and ESM/UMD/minified bundle smoke tests.
  • All 16 packed files match the release worktree. Package and lockfile versions
    are both 1.4.1; the matching Git tag is 1.4.1.

npm publication pending

npm authentication returned E401 in the agent environment. This GitHub release
and its attached npm tarball are release-ready, but npm publication has not
occurred; the registry's latest published version remains 1.3.5.

An authorized maintainer can publish this patch directly (1.4.0 does not need
to be published first):

git switch --detach 1.4.1
npm ci
npm run build
npm login --scope=@atendesign
npm publish --access public
npm view @atendesign/javascript-components@1.4.1 version

Alternatively, publish the attached verified 1.4.1 tarball after authenticating.
Do not move the tag or publish a different version under it.

1.4.0 - Responsive TabContent

Choose a tag to compare

@stierpm stierpm released this 14 Oct 18:24
5ab26fc

TabContent 1.4.0

Features and fixes

  • Add horizontal/vertical keyboard navigation with manual activation, roving
    focus, Home/End, wrapping, and prevention of scrolling for handled keys.
  • Correct responsive tablist/tab/tabpanel and native accordion button/region
    semantics, relationships, visibility, and focus.
  • Preserve the active item when changing layouts.
  • Add opt-in single-open and non-collapsible accordion modes, retaining existing
    multiple-open/collapsible defaults.
  • Preserve fractional breakpoint precision across browser engines. Use
    breakpoint: 768.0001 for accordion through 768px; the legacy default remains
    tabs at 768px and above.
  • Add public getState() and synchronous onChange notifications for video
    iframe lifecycle, including cleanup on destroy.
  • Make repeated init/destroy safe and restore authored DOM on teardown.

Compatibility and validation

  • Existing package exports, horizontal/manual defaults, integer breakpoint
    semantics, expanded class, and Menu implementation are unchanged.
  • 69 Playwright checks passed across Chromium, Firefox, and WebKit, including
    SurfMenu-style subclass regressions and ESM/UMD/minified bundle smoke tests.
  • All three Rollup builds passed. The packed artifact was checked byte-for-byte
    against release sources and builds; manifest and lockfile versions are 1.4.0.
  • See README and CHANGELOG for options, accessibility details, and a Drupal
    video playlist lifecycle example.

npm publication status

npm publication is pending. The agent environment's npm authentication
returned E401; npm still has 1.3.5 as latest. No npm publication is claimed.
The source tag and prepared npm package version are both 1.4.0.

An authorized maintainer can publish from the exact tagged commit:

git switch --detach 1.4.0
npm ci
npx playwright install chromium firefox webkit
npm run build
npm test
npm login --scope=@atendesign
npm publish --access public
npm view @atendesign/javascript-components@1.4.0 version

After successful publication, update this release's npm status. Do not move the
tag or publish a different package version under this tag.

1.3.3

Choose a tag to compare

@stierpm stierpm released this 14 Apr 15:24

Bug Fixes

  • Menu: Restore focus to trigger on ArrowLeft ArrowRight boundary (#9, closes #10)

    When keyboard focus was inside a dropdown at the first or last top-level menu item and the user pressed ArrowLeft or ArrowRight respectively, focus was silently dropped. The optional chaining (?.focus()) produced a no-op when no adjacent sibling existed, leaving users with no focused element — a WCAG 2.1 failure.

    Focus now falls back to the trigger that owns the dropdown, matching Escape key behavior."