feat: establish color slider geometry and picker composition

This commit is contained in:
maoyingjie
2026-10-25 14:37:48 +08:00
parent e59d1bea8b
commit 712b6c6037
28 changed files with 1760 additions and 7 deletions
+14
View File
@@ -41,3 +41,17 @@ void hueSlider;
void missingChannel;
void invalidChannel;
void invalidSpace;
import type { ColorSliderOptions } from "../../packages/vue/src/components/color/slider";
const verticalSlider: ColorSliderOptions = {
channel: "alpha",
orientation: "vertical",
dir: "rtl",
};
const invalidOrientation: ColorSliderOptions = {
channel: "hue",
// @ts-expect-error no third orientation
orientation: "diagonal",
};
void verticalSlider;
void invalidOrientation;