Minor Changes
-
ff8ad54: Improves Banner contrast and CTA colors, adds compact sizing, and keeps components that consume the updated status tokens visually balanced.
- Updated status tokens to improve contrast between Banner backgrounds, text, and CTAs.
- Rebalanced Badge status tints, Toast backgrounds, and Command Palette search highlights to correspond with the updated tokens.
- Added a new
Banner.ActionCTA compound that builds onButtonwith banner-specific accent styling. It supportsprimary(filled),secondary(accent-hued outline on a transparent background), andghostvariants. - Added a
sizeprop toBanner("base"|"sm"); the compact"sm"size suits dialogs and other tight spaces and sets itsBanner.Actionchildren to thexssize.
-
f919182: Improve chart loading states with a static, reduced-motion-aware
TimeseriesChartskeleton (line and bar variants matchingtype) and a newloadingprop forChartLegend.SmallItemandChartLegend.LargeItem. -
535d579: Add a
disabledprop toLinkButton. When disabled, it renders a real disabled<button>(dropping anchor-only attributes and event handlers) and supportstitletooltips explaining why the action is unavailable.Also removes stale Storybook references from the README and drops
.stories.tsxgeneration from the component scaffolder, since Storybook is no longer set up in this repo. -
aae94f1:
LinkButtonnow wraps in a KumoTooltipwhen atitleis provided, matchingButton's behavior. Previously an enabledLinkButtononly set a nativetitleattribute; it now surfaces the same styled tooltip on hover and focus. -
9e083d2: Add
fullScreenOnMobileprop toSidebar. When set, the mobile navigation
sheet expands to the full viewport instead of leaving a sliver of the page
visible, giving nav items comfortable touch targets. The backdrop is suppressed
and the divider border dropped, since neither has anything to separate. Defaults
tofalse.Also adds
Sidebar.Close, a ghost button that dismisses the mobile sheet. It is
intended forSidebar.Headerin full-screen mobile layouts where the backdrop is
hidden and there is no adjacent page content to tap.Also fixes
Breadcrumbs.Linkshrinking alongside the current crumb. Flexbox
distributed truncation across every crumb, turning the trail into unreadable
stubs; ancestors now hold their width so only the current page truncates. -
51aa44c: Add
Sidebar.Loading, a nav loading skeleton so apps stop hand-rolling their own. It renders nav-item-shaped placeholder rows (icon + label) grouped like the real nav, composed fromSkeletonLineand matching theSidebar.MenuButtonbox model so there's no layout shift when the real nav swaps in. Collapse-aware (icon squares only when collapsed) and exposesrole="status"with a configurablelabel. -
86ee08c: Add
useTableOfContentsActiveIdhook forTableOfContentsscroll tracking.The
TableOfContentscomponent is presentational, so consumers had to wire up their own scroll-position tracking. This adds a shared hook: pass the section ids (in document order) and it returns the active section id plus aselectSectionaction for click handling.const { activeId, selectSection } = useTableOfContentsActiveId({ ids: headings.map((h) => h.slug), offset: HEADER_HEIGHT, });
- Highlights the topmost section actually in view (via
IntersectionObserver), offset by an optional fixed-headeroffset; supports custom scroll containers viaroot. - Handles
location.hashdeep links on load andhashchangeautomatically (opt out withtrackHash: false). selectSectionpins a clicked section until scrolling settles, so short sections stay highlighted after a jump. Works on browsers withoutscrollendsupport.- SSR-safe: all DOM access happens in effects, so it renders under Astro/Next SSR (
activeIdisnullon the server).
The docs site "On this page" table of contents now consumes this hook instead of its own bespoke observer.
- Highlights the topmost section actually in view (via
-
87d1ebc: Ship unminified
distoutput without sourcemaps or declaration mapsConsumers' bundlers minify (and tree-shake) the library code anyway, so
pre-minifying only obscured the shipped modules, and the declaration maps
pointed at source files that aren't published. The package shrinks from
~13.9 MB to ~6.5 MB unpacked, and the code innode_modulesis now
readable. No API or behavior changes; final application bundle sizes are
effectively unchanged.
Patch Changes
-
fc5e222: Use a string or numeric Button title as the fallback accessible label when the button has no text children.
-
8e71b38: Bump Prettier 3.6.2 → 3.9.5 and reformat (Prettier changed e.g. interface heritage-clause wrapping). No functional changes.
-
2a463f7: Prevent TimeseriesChart tooltips from following the cursor outside the chart after a browser context menu interaction.
-
0f0c44d: ClipboardText: keep the check icon until the last copy click settles, and bump the anchored "Copied" toast (without stacking) when the button is pressed again while it's open.
-
b171c71: Render Kumo Link actions inline in compact Banners while keeping CTA actions trailing.
-
4f0ed75: Fix purple badge token fallback colors to use purple OKLCH values.
-
5efe6dd: Add a lint rule that verifies custom components used with
Flow.Node'srenderprop forward refs and spread received props. -
32b2168: Keep TimeseriesChart brush-to-zoom active after replacing ECharts options.
-
b0870e1: Remove the subtle
shadow-xsdrop shadow fromInputGroupRootand from nestedInputGroup.Button, so the component matches the flat appearance of the standaloneInputand other form controls (previously non-ghost button variants still had the base Button'sshadow-xs). -
34e1672: Bundle the library with vp pack (tsdown) instead of Vite lib mode; declarations are now bundled per entry and export types paths follow the import paths
-
2575f9c: Use muted chart colors for timeseries axes and horizontal gridlines.
-
7c33107: One-time repo-wide format with the repo's own Prettier 3.6.2 (formatting was never enforced; drift accumulated). No functional changes.
-
ee6e569: Set default
text-baseandtext-lgline heights to 1.5. -
927d19f: Remove inert Tailwind classes surfaced by class sorting:
ringalongsidering-2(overridden — later stylesheet rule wins) and bareoutlinein three places (no such utility in Tailwind v4;outline-1already applies the default solid style). No visual changes. -
924f07a: Split Base UI across fine-grained chunks instead of one
vendor-base-uichunkComponents now pull in only the Base UI modules they actually use, improving
consumer tree-shaking: a single-Button app bundle drops from ~173 KB to
~129 KB minified (~57 KB to ~44 KB gzipped) compared to 2.8.0. -
7ef8c46: Add clearer edge affordances when Tabs overflow horizontally.
-
86afc2b: Show Button title tooltips when the button is disabled or loading.
-
5516c22: Fix command palette match highlight contrast in dark mode.
-
24149b9: Normalize Tailwind class strings via Oxfmt class sorting (
sortTailwindcss, canonical Tailwind order, duplicates removed). No functional changes. -
8de0551: Migrate the toolchain to Vite+ (
vp): the library now builds with Vite 8 on Rolldown, tests run throughvp test(Vitest), and linting/formatting run throughvp lint(Oxlint) /vp fmt(Oxfmt, replacing Prettier). No API changes; published output is functionally identical, though entry files are now re-export facades whose source maps live in the shared chunks, anduse-sync-external-storeis now an explicit dependency instead of being bundled (bundling it left CJSrequire("react")calls that broke importing the package directly in Node). -
60f5bfa: Enable full type-checking in
vp check/vp lint(typeAware + typeCheck) and fix the type issues it surfaced in filestsc --noEmitnever covered. Only runtime-visible change: the CLI entrypoint explicitly voids itsmain()promise.