Repository navigation
Releases: fapost-lab/ui
Releases · fapost-lab/ui
Release list
v0.1.1
Changed
badge:StatusDotwith 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: thetoolbarslot is always right-aligned, with or without a search box.
v0.1.0
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 theKitMessagestype — the host application
provides the kit's strings (dialog close,DataTablelabels); English defaults otherwise.- CSS:
@fapost/ui/styles.css(everything, with@sourceon the components),theme.css(the Tailwind 4 theme over
the tokens, without preflight),tokens.css(Warm Minimal custom properties on:rootand.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/uire-exports exactly these.- Shipped as source (
.vue,.ts,.css) for Vite with@vitejs/plugin-vueand Tailwind CSS 4;vue,
@inertiajs/vue3,reka-ui,vue-sonnerandtailwindcssare 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).