feat: add public ColorArea components, docs, and package contract
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user