feat: port Table, Pagination, Drawer, EmptyState; fix Badge themes #1
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/ui-contributions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Ports the Credit App
bureau/src/components/ui/primitives into the library as TypeScript source, and fixes the Badge theme gap.amber+violetthemes (unknown themes previously rendered colourless via anundefinedclass lookup),classNamepassthrough viacn(), dev warning + gray fallback for unknown themes. Lookup tables are typedRecord<BadgeTheme, ...>so a missing theme class is now a compile error.ListEmptyState).pageWindow()helper.@headlessui/reactDialog (focus trap, Escape, scroll-lock, aria).aria-sort, nulls-last).Every component ships
types.ts+index.ts+.stories.tsx+tests/, registered incomponents/index.ts.Validation
pnpm lint:types(tsc): cleaneslinton all touched paths: cleanpnpm test:uniton the 5 suites: 47/47 passFollow-ups
Split into per-component PRs for upstream rtCamp (each needs a discussion issue first per their contributing guide).