@yamada-ui/color-picker 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +28 -0
- package/dist/alpha-slider.d.mts +62 -0
- package/dist/alpha-slider.d.ts +62 -0
- package/dist/alpha-slider.js +438 -0
- package/dist/alpha-slider.mjs +8 -0
- package/dist/chunk-3EO2XBIZ.mjs +54 -0
- package/dist/chunk-3KASGDAY.mjs +122 -0
- package/dist/chunk-3N443XSV.mjs +105 -0
- package/dist/chunk-73BVTMII.mjs +73 -0
- package/dist/chunk-7QGCTVDG.mjs +66 -0
- package/dist/chunk-DTB2Z3IJ.mjs +278 -0
- package/dist/chunk-EMWFECJD.mjs +123 -0
- package/dist/chunk-HNVFOSAM.mjs +210 -0
- package/dist/chunk-KJS52X4M.mjs +330 -0
- package/dist/chunk-MAHWFXUG.mjs +294 -0
- package/dist/chunk-N2GG5L7Q.mjs +39 -0
- package/dist/chunk-NR2XCTSD.mjs +430 -0
- package/dist/chunk-PTTNJPGJ.mjs +98 -0
- package/dist/chunk-PVWIBTBL.mjs +67 -0
- package/dist/chunk-TFQ62YSQ.mjs +68 -0
- package/dist/chunk-U6OJ4TDG.mjs +127 -0
- package/dist/color-input.d.mts +79 -0
- package/dist/color-input.d.ts +79 -0
- package/dist/color-input.js +2283 -0
- package/dist/color-input.mjs +21 -0
- package/dist/color-picker-body.d.mts +38 -0
- package/dist/color-picker-body.d.ts +38 -0
- package/dist/color-picker-body.js +794 -0
- package/dist/color-picker-body.mjs +14 -0
- package/dist/color-picker-channels.d.mts +20 -0
- package/dist/color-picker-channels.d.ts +20 -0
- package/dist/color-picker-channels.js +101 -0
- package/dist/color-picker-channels.mjs +10 -0
- package/dist/color-picker-eye-dropper.d.mts +10 -0
- package/dist/color-picker-eye-dropper.d.ts +10 -0
- package/dist/color-picker-eye-dropper.js +88 -0
- package/dist/color-picker-eye-dropper.mjs +10 -0
- package/dist/color-picker-sliders.d.mts +30 -0
- package/dist/color-picker-sliders.d.ts +30 -0
- package/dist/color-picker-sliders.js +590 -0
- package/dist/color-picker-sliders.mjs +11 -0
- package/dist/color-picker-swatches.d.mts +34 -0
- package/dist/color-picker-swatches.d.ts +34 -0
- package/dist/color-picker-swatches.js +195 -0
- package/dist/color-picker-swatches.mjs +9 -0
- package/dist/color-picker.d.mts +59 -0
- package/dist/color-picker.d.ts +59 -0
- package/dist/color-picker.js +1790 -0
- package/dist/color-picker.mjs +19 -0
- package/dist/color-swatch.d.mts +36 -0
- package/dist/color-swatch.d.ts +36 -0
- package/dist/color-swatch.js +124 -0
- package/dist/color-swatch.mjs +6 -0
- package/dist/hue-slider.d.mts +56 -0
- package/dist/hue-slider.d.ts +56 -0
- package/dist/hue-slider.js +409 -0
- package/dist/hue-slider.mjs +8 -0
- package/dist/index.d.mts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +2295 -0
- package/dist/index.mjs +36 -0
- package/dist/saturation-slider.d.mts +33 -0
- package/dist/saturation-slider.d.ts +33 -0
- package/dist/saturation-slider.js +414 -0
- package/dist/saturation-slider.mjs +7 -0
- package/dist/use-color-input.d.mts +90 -0
- package/dist/use-color-input.d.ts +90 -0
- package/dist/use-color-input.js +340 -0
- package/dist/use-color-input.mjs +10 -0
- package/dist/use-color-picker.d.mts +131 -0
- package/dist/use-color-picker.d.ts +131 -0
- package/dist/use-color-picker.js +472 -0
- package/dist/use-color-picker.mjs +11 -0
- package/dist/use-color-slider.d.mts +69 -0
- package/dist/use-color-slider.d.ts +69 -0
- package/dist/use-color-slider.js +321 -0
- package/dist/use-color-slider.mjs +7 -0
- package/dist/use-saturation-slider.d.mts +77 -0
- package/dist/use-saturation-slider.d.ts +77 -0
- package/dist/use-saturation-slider.js +302 -0
- package/dist/use-saturation-slider.mjs +6 -0
- package/package.json +88 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ColorInput
|
|
3
|
+
} from "./chunk-HNVFOSAM.mjs";
|
|
4
|
+
import "./chunk-KJS52X4M.mjs";
|
|
5
|
+
import "./chunk-EMWFECJD.mjs";
|
|
6
|
+
import "./chunk-3KASGDAY.mjs";
|
|
7
|
+
import "./chunk-MAHWFXUG.mjs";
|
|
8
|
+
import "./chunk-73BVTMII.mjs";
|
|
9
|
+
import "./chunk-PVWIBTBL.mjs";
|
|
10
|
+
import "./chunk-3EO2XBIZ.mjs";
|
|
11
|
+
import "./chunk-7QGCTVDG.mjs";
|
|
12
|
+
import "./chunk-PTTNJPGJ.mjs";
|
|
13
|
+
import "./chunk-U6OJ4TDG.mjs";
|
|
14
|
+
import "./chunk-DTB2Z3IJ.mjs";
|
|
15
|
+
import "./chunk-TFQ62YSQ.mjs";
|
|
16
|
+
import "./chunk-3N443XSV.mjs";
|
|
17
|
+
import "./chunk-NR2XCTSD.mjs";
|
|
18
|
+
import "./chunk-N2GG5L7Q.mjs";
|
|
19
|
+
export {
|
|
20
|
+
ColorInput
|
|
21
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
|
+
import { HTMLUIProps } from '@yamada-ui/core';
|
|
3
|
+
import { ForwardedRef } from 'react';
|
|
4
|
+
import { ColorPickerEyeDropperProps } from './color-picker-eye-dropper.mjs';
|
|
5
|
+
import { ColorPickerSlidersProps } from './color-picker-sliders.mjs';
|
|
6
|
+
import '@yamada-ui/button';
|
|
7
|
+
import '@yamada-ui/icon';
|
|
8
|
+
import './alpha-slider.mjs';
|
|
9
|
+
import './use-color-slider.mjs';
|
|
10
|
+
import '@yamada-ui/form-control';
|
|
11
|
+
import './hue-slider.mjs';
|
|
12
|
+
|
|
13
|
+
type ColorPickerBodyOptions = {
|
|
14
|
+
/**
|
|
15
|
+
* If `true`, display the result component.
|
|
16
|
+
*
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
withResult?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* If `true` display the eye dropper component.
|
|
22
|
+
*
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
withEyeDropper?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Ref for the eye dropper component.
|
|
28
|
+
*/
|
|
29
|
+
eyeDropperRef?: ForwardedRef<HTMLButtonElement>;
|
|
30
|
+
/**
|
|
31
|
+
* Props for the eye dropper component.
|
|
32
|
+
*/
|
|
33
|
+
eyeDropperProps?: ColorPickerEyeDropperProps;
|
|
34
|
+
};
|
|
35
|
+
type ColorPickerBodyProps = Omit<HTMLUIProps<"div">, "children"> & ColorPickerBodyOptions & Pick<ColorPickerSlidersProps, "hueSliderRef" | "hueSliderProps" | "alphaSliderRef" | "alphaSliderProps">;
|
|
36
|
+
declare const ColorPickerBody: _yamada_ui_core.Component<"div", ColorPickerBodyProps>;
|
|
37
|
+
|
|
38
|
+
export { ColorPickerBody, type ColorPickerBodyProps };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
|
+
import { HTMLUIProps } from '@yamada-ui/core';
|
|
3
|
+
import { ForwardedRef } from 'react';
|
|
4
|
+
import { ColorPickerEyeDropperProps } from './color-picker-eye-dropper.js';
|
|
5
|
+
import { ColorPickerSlidersProps } from './color-picker-sliders.js';
|
|
6
|
+
import '@yamada-ui/button';
|
|
7
|
+
import '@yamada-ui/icon';
|
|
8
|
+
import './alpha-slider.js';
|
|
9
|
+
import './use-color-slider.js';
|
|
10
|
+
import '@yamada-ui/form-control';
|
|
11
|
+
import './hue-slider.js';
|
|
12
|
+
|
|
13
|
+
type ColorPickerBodyOptions = {
|
|
14
|
+
/**
|
|
15
|
+
* If `true`, display the result component.
|
|
16
|
+
*
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
withResult?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* If `true` display the eye dropper component.
|
|
22
|
+
*
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
withEyeDropper?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Ref for the eye dropper component.
|
|
28
|
+
*/
|
|
29
|
+
eyeDropperRef?: ForwardedRef<HTMLButtonElement>;
|
|
30
|
+
/**
|
|
31
|
+
* Props for the eye dropper component.
|
|
32
|
+
*/
|
|
33
|
+
eyeDropperProps?: ColorPickerEyeDropperProps;
|
|
34
|
+
};
|
|
35
|
+
type ColorPickerBodyProps = Omit<HTMLUIProps<"div">, "children"> & ColorPickerBodyOptions & Pick<ColorPickerSlidersProps, "hueSliderRef" | "hueSliderProps" | "alphaSliderRef" | "alphaSliderProps">;
|
|
36
|
+
declare const ColorPickerBody: _yamada_ui_core.Component<"div", ColorPickerBodyProps>;
|
|
37
|
+
|
|
38
|
+
export { ColorPickerBody, type ColorPickerBodyProps };
|