feat: migrate Slider with native range semantics and strict ESM declarations

This commit is contained in:
maoyingjie
2026-10-23 13:12:26 +08:00
parent b1cb00deba
commit 4da45b109e
40 changed files with 2239 additions and 3 deletions
+12
View File
@@ -1200,3 +1200,15 @@ export const numberFieldVariants = tv({
});
export type NumberFieldVariants = VariantProps<typeof numberFieldVariants>;
export const sliderVariants = tv({
slots: {
base: "hv-slider",
fill: "hv-slider__fill",
marks: "hv-slider__marks",
output: "hv-slider__output",
thumb: "hv-slider__thumb",
track: "hv-slider__track",
},
});
export type SliderVariants = VariantProps<typeof sliderVariants>;