Skip to content

0.5.0

Choose a tag to compare

@joshstovall joshstovall released this 02 Dec 00:14
· 51 commits to main since this release

UI Package (@platform-blocks/ui)

  • Carousel picked up a full Embla-style responsive system: media-query breakpoints, slidesToScroll, startIndex, align, containScroll, drag-free momentum, snap skipping, manual duration, and deterministic page virtualization so multi-item decks render identically across web/native (ui/src/components/Carousel/Carousel.tsx, ui/src/components/Carousel/types.ts). New demos (including motionControls) walk through drag-free and locked-snap setups.
  • Slider + RangeSlider now accept palette-driven overrides (colorScheme, trackColor, activeTrackColor, thumbColor, tickColor, activeTickColor) along with trackSize, custom thumb sizing/styling, and smarter default value labels so they can adopt product branding without re-implementing the primitive (ui/src/components/Slider/Slider.tsx, ui/src/components/Slider/SliderCore.tsx, ui/src/components/Slider/types.ts). The new customStyles demo shows both single-value and range palettes in action.
  • DataTable exposes a dedicated striped prop that can force alternating row backgrounds independent of the broader variant you choose (ui/src/components/DataTable/DataTable.tsx, ui/src/components/DataTable/types.ts).
  • Input borders no longer disappear when the field is disabled—neutral borders remain in place for accessibility clarity (ui/src/components/Input/styles.ts).
  • AppShell keeps the header mounted on mobile so the docs header/search/shortcuts stay reachable regardless of breakpoint (ui/src/components/AppShell/AppShell.tsx, docs/components/layout/Header.tsx).

Documentation & Demos

  • Component detail pages now show a "Further reading" card whenever a component supplies resources metadata. The loader and sample metadata were updated accordingly (docs/screens/ComponentDetailScreen.tsx, docs/utils/demosLoader.ts, ui/src/components/Button/meta/component.md, ui/src/components/Avatar/meta/component.md).
  • The playground builder allows control-specific labels so we can rename options without forking the control type (docs/components/playground/ComponentPlayground.tsx, docs/components/playground/registry.ts).
  • Header tweaks keep the command palette shortcut, search affordance, and nav toggle aligned for both desktop and mobile (docs/components/layout/Header.tsx).

Tooling & Release

  • scripts/generate-demos.ts now parses structured frontmatter (arrays/objects) instead of plain strings, which lets contributors declare tags, highlightLines, or translation metadata without breaking the generator.
  • The workspace manifest knows about the new CLI package and the release script performs a UI build before running publish-release.ts to ensure artifacts are up to date (package.json, package-lock.json).