feat: add public ColorArea components, docs, and package contract

This commit is contained in:
maoyingjie
2026-10-26 23:51:31 +08:00
parent 01882160e6
commit ae364578ce
33 changed files with 2201 additions and 151 deletions
+21
View File
@@ -1828,6 +1828,27 @@ export const colorSwatchVariants = tv({
export type ColorSwatchVariants = VariantProps<typeof colorSwatchVariants>;
/** HeroUI 3.2.6 / ce90ea3, Apache-2.0; hv namespace only. */
export const colorAreaVariants = tv({
defaultVariants: {
showDots: false,
},
slots: {
base: "hv-color-area",
thumb: "hv-color-area__thumb",
},
variants: {
showDots: {
false: {},
true: {
base: "hv-color-area--show-dots",
},
},
},
});
export type ColorAreaVariants = VariantProps<typeof colorAreaVariants>;
/** HeroUI 3.2.6 / ce90ea3, Apache-2.0; hv namespace only. */
export const timeFieldVariants = tv({
base: "hv-time-field",