feat: publish ColorSwatchPicker and shared swatch picker parts

This commit is contained in:
maoyingjie
2026-10-27 14:42:29 +08:00
parent fa4146ee0b
commit 8d9adda8da
38 changed files with 3232 additions and 9 deletions
+31
View File
@@ -1227,6 +1227,37 @@ export type {
ColorSwatchStyleFn,
} from "./types";
export {
default as ColorSwatchPicker,
default as ColorSwatchPickerRoot,
} from "./components/color-swatch-picker/ColorSwatchPicker.vue";
export { default as ColorSwatchPickerItem } from "./components/color-swatch-picker/ColorSwatchPickerItem.vue";
export { default as ColorSwatchPickerSwatch } from "./components/color-swatch-picker/ColorSwatchPickerSwatch.vue";
export { default as ColorSwatchPickerIndicator } from "./components/color-swatch-picker/ColorSwatchPickerIndicator.vue";
export {
colorSwatchPickerVariants,
type ColorSwatchPickerVariants,
} from "@heroui-vue/styles";
export type {
ColorSwatchPickerIndicatorProps,
ColorSwatchPickerItemProps,
ColorSwatchPickerProps,
ColorSwatchPickerRootProps,
ColorSwatchPickerSwatchProps,
} from "./types";
export type {
ColorSwatchPickerExpose,
ColorSwatchPickerIndicatorSlots,
ColorSwatchPickerItemExpose,
ColorSwatchPickerItemRenderProps,
ColorSwatchPickerItemSlots,
ColorSwatchPickerLayout,
ColorSwatchPickerRenderProps,
ColorSwatchPickerShape,
ColorSwatchPickerSize,
ColorSwatchPickerSlots,
} from "./components/color-swatch-picker/types";
export {
default as TimeField,
default as TimeFieldRoot,