feat: migrate ColorSwatch and public color boundary

This commit is contained in:
maoyingjie
2026-10-26 13:25:21 +08:00
parent 60af6ee40b
commit 270dea5cff
29 changed files with 1427 additions and 18 deletions
+28
View File
@@ -1083,3 +1083,31 @@ export {
autocompleteVariants,
type AutocompleteVariants,
} from "@heroui-vue/styles";
export { default as ColorSwatch } from "./components/color-swatch/ColorSwatch.vue";
export { default as ColorSwatchRoot } from "./components/color-swatch/ColorSwatch.vue";
export {
colorSwatchVariants,
type ColorSwatchVariants,
} from "@heroui-vue/styles";
export {
Color,
parseColor,
type ColorAxisChannel,
type ColorChannel,
type ColorFormat,
type ColorInput,
type ColorSpace,
type ColorValue,
type HSLColor,
type HSBColor,
type RGBColor,
} from "./components/color/value";
export type {
ColorSwatchProps,
ColorSwatchRenderProps,
ColorSwatchRootProps,
ColorSwatchSlots,
ColorSwatchStyle,
ColorSwatchStyleFn,
} from "./types";