Skip to content

Releases: fapost-lab/ui

Release list

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 23 Oct 08:25
664e8f5

Changed

  • badge: StatusDot with a label renders as a soft badge in its tone (dot, then label), like the other status badges;
    without a label it stays the bare dot.

Fixed

  • switch: the track keeps its width (min-w-10) when a caller passes a width class, and the thumb has a border and the
    unchecked track an inner shadow, so both read on a card.
  • data-table: the toolbar slot is always right-aligned, with or without a search box.

v0.1.0

Choose a tag to compare

@bpartner bpartner released this 15 Oct 11:50
560604e

The kit leaves FaPost Core and becomes a package of its own. Its history comes along: the commits before this release
are the kit's commits in fapost-lab/core (resources/js/ui).

Added

  • 29 components, each at its own subpath @fapost/ui/components/<name>: alert-dialog, avatar, badge, button,
    card, checkbox, command, confirm-dialog, data-table, dialog, dropdown-menu, empty-state,
    form-field, form-section, input, label, localized-field, options-picker, select, separator, sheet,
    skeleton, sonner, switch, table, tabs, textarea, tooltip, value-list-input.
  • @fapost/ui/lib/utils (cn, interpolate) and @fapost/ui/lib/relative-time (relativeTime).
  • @fapost/ui/lib/messages: KIT_MESSAGES, useKitMessages() and the KitMessages type — the host application
    provides the kit's strings (dialog close, DataTable labels); English defaults otherwise.
  • CSS: @fapost/ui/styles.css (everything, with @source on the components), theme.css (the Tailwind 4 theme over
    the tokens, without preflight), tokens.css (Warm Minimal custom properties on :root and .dark) and
    fonts.css (Onest, Roboto Condensed, Victor Mono).
  • @fapost/ui/surface.json: the subpaths a FaPost Solution may import, which Core puts in a Solution's import map;
    the package root @fapost/ui re-exports exactly these.
  • Shipped as source (.vue, .ts, .css) for Vite with @vitejs/plugin-vue and Tailwind CSS 4; vue,
    @inertiajs/vue3, reka-ui, vue-sonner and tailwindcss are peer dependencies.

Published to npm: https://www.npmjs.com/package/@fapost/ui (0.1.0 was published by hand; later versions are published from release.yml with provenance).