feat: migrate public ColorPicker composition

This commit is contained in:
maoyingjie
2026-10-27 17:47:52 +08:00
parent 312d223f7c
commit ee5fce9adb
38 changed files with 1783 additions and 48 deletions
+11
View File
@@ -1828,6 +1828,17 @@ export const colorSwatchVariants = tv({
export type ColorSwatchVariants = VariantProps<typeof colorSwatchVariants>;
/** HeroUI 3.2.6 / ce90ea3, Apache-2.0; hv namespace only. Baseline has base/trigger/popover only. */
export const colorPickerVariants = tv({
slots: {
base: "hv-color-picker",
popover: "hv-color-picker__popover",
trigger: "hv-color-picker__trigger",
},
});
export type ColorPickerVariants = VariantProps<typeof colorPickerVariants>;
/** HeroUI 3.2.6 / ce90ea3, Apache-2.0; hv namespace only. */
export const colorSwatchPickerVariants = tv({
defaultVariants: {