feat: add token system and ui contracts

This commit is contained in:
2026-03-19 14:21:13 +08:00
parent 937855362b
commit 3960e0a0e7
14 changed files with 1389 additions and 32 deletions
+33 -2
View File
@@ -1,4 +1,35 @@
export { cn } from "./lib/cn";
export { cva, cx, type VariantProps } from "./lib/cva";
export { motionDurations, motionEasings } from "./lib/motion";
export {
authoringChecklist,
commonSlotNames,
commonStateNames,
createDataAttributes,
createSlot,
cvaConventions,
dataAttr,
withRootProps,
type AsChildProp,
type ButtonLikeElementProps,
type CommonComponentProps,
type ControllableStateProps,
type DataAttributes,
type DisableableProps,
type FieldStateProps,
type InputLikeElementProps,
type InvalidatableProps,
type LoadingProps,
type PressableStateProps,
type ReadonlyProps,
type RequiredProps,
type SlotAttributes
} from "./lib/contracts";
export {
getMotionRecipeClassNames,
motionDistances,
motionDurations,
motionEasings,
motionRecipes,
motionScales,
type MotionRecipeName
} from "./lib/motion";