You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9dfaf6a
Browse filesBrowse the repository at this point in the historyBrowse files
Build the reference frontend on @antfu/design's Vue components directly instead
of hand-rolled markup, so it tracks the shared design system and stops drifting.
- Icon wraps DisplayIconifyRemoteIcon, which fetches with color=currentColor —
fixing the reported bug where a button/text icon didn't inherit its color.
- Button→ActionButton, Badge→DisplayBadge, Card→LayoutCard, Divider→
LayoutSeparator, TextInput→FormTextInput, Switch→FormSwitch,
Progress→DisplayProgressBar, KeyValueTable→DisplayKeyValue.
- Stack, Text, CodeBlock, the value-tree Tree, and the row-clickable/loadable
DataTable stay bespoke where @antfu/design has no matching primitive.
- @antfu/design becomes a peer dependency, kept external in the tsdown build
(its .vue is compiled by the consumer's Vite); a *.vue shim resolves types.
Consumers exclude it from optimizeDeps and safelist the runtime badge colors.
Docs and the minimal-json-render example updated for the consumer setup.
Created with the help of an agent.
0 commit comments