@yamada-ui/color-picker 2.0.0-next-20240409133350 → 2.0.0-next-20240513035416
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{chunk-VO2YWPCO.mjs → chunk-5CQI26IR.mjs} +2 -2
- package/dist/{chunk-MVCNJELN.mjs → chunk-KCV32DAB.mjs} +4 -4
- package/dist/{chunk-MVCNJELN.mjs.map → chunk-KCV32DAB.mjs.map} +1 -1
- package/dist/{chunk-DSAPB5E3.mjs → chunk-NGSPXJBL.mjs} +2 -2
- package/dist/{chunk-DSAPB5E3.mjs.map → chunk-NGSPXJBL.mjs.map} +1 -1
- package/dist/{chunk-JLVD63SI.mjs → chunk-NMHU434U.mjs} +2 -2
- package/dist/chunk-NMHU434U.mjs.map +1 -0
- package/dist/{chunk-VBH7AXVT.mjs → chunk-ZUPKUHBV.mjs} +3 -3
- package/dist/color-picker.js +3 -3
- package/dist/color-picker.js.map +1 -1
- package/dist/color-picker.mjs +5 -5
- package/dist/color-selector-body.js +1 -1
- package/dist/color-selector-body.js.map +1 -1
- package/dist/color-selector-body.mjs +2 -2
- package/dist/color-selector-eye-dropper.js +1 -1
- package/dist/color-selector-eye-dropper.js.map +1 -1
- package/dist/color-selector-eye-dropper.mjs +1 -1
- package/dist/color-selector-swatches.js +1 -1
- package/dist/color-selector-swatches.js.map +1 -1
- package/dist/color-selector-swatches.mjs +1 -1
- package/dist/color-selector.js +2 -2
- package/dist/color-selector.js.map +1 -1
- package/dist/color-selector.mjs +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/package.json +15 -15
- package/dist/chunk-JLVD63SI.mjs.map +0 -1
- /package/dist/{chunk-VO2YWPCO.mjs.map → chunk-5CQI26IR.mjs.map} +0 -0
- /package/dist/{chunk-VBH7AXVT.mjs.map → chunk-ZUPKUHBV.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
"use client"
|
2
2
|
import {
|
3
3
|
ColorPicker
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-KCV32DAB.mjs";
|
5
5
|
import "./chunk-CR3JRFXA.mjs";
|
6
6
|
import {
|
7
7
|
ColorSelector
|
8
|
-
} from "./chunk-
|
8
|
+
} from "./chunk-ZUPKUHBV.mjs";
|
9
9
|
import {
|
10
10
|
SaturationSlider
|
11
11
|
} from "./chunk-RR6V37S5.mjs";
|
12
12
|
import "./chunk-KKQ3MOXJ.mjs";
|
13
|
-
import "./chunk-
|
13
|
+
import "./chunk-5CQI26IR.mjs";
|
14
14
|
import "./chunk-2PW2Z2XD.mjs";
|
15
|
-
import "./chunk-
|
15
|
+
import "./chunk-NMHU434U.mjs";
|
16
16
|
import "./chunk-JFTUHZYL.mjs";
|
17
17
|
import {
|
18
18
|
HueSlider
|
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
AlphaSlider
|
22
22
|
} from "./chunk-YD5QBKEV.mjs";
|
23
23
|
import "./chunk-R4DLOKLT.mjs";
|
24
|
-
import "./chunk-
|
24
|
+
import "./chunk-NGSPXJBL.mjs";
|
25
25
|
import {
|
26
26
|
ColorSwatch
|
27
27
|
} from "./chunk-UQWAM6TA.mjs";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yamada-ui/color-picker",
|
3
|
-
"version": "2.0.0-next-
|
3
|
+
"version": "2.0.0-next-20240513035416",
|
4
4
|
"description": "Yamada UI color picker component",
|
5
5
|
"keywords": [
|
6
6
|
"yamada",
|
@@ -36,21 +36,21 @@
|
|
36
36
|
"url": "https://github.com/yamada-ui/yamada-ui/issues"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@yamada-ui/button": "1.0.
|
40
|
-
"@yamada-ui/core": "1.6.
|
41
|
-
"@yamada-ui/form-control": "1.0.
|
42
|
-
"@yamada-ui/use-disclosure": "1.0.
|
43
|
-
"@yamada-ui/icon": "1.0.
|
44
|
-
"@yamada-ui/input": "1.0.
|
45
|
-
"@yamada-ui/popover": "1.
|
46
|
-
"@yamada-ui/portal": "1.0.
|
47
|
-
"@yamada-ui/use-controllable-state": "1.0.
|
48
|
-
"@yamada-ui/use-eye-dropper": "^1.0.
|
39
|
+
"@yamada-ui/button": "1.0.28",
|
40
|
+
"@yamada-ui/core": "1.6.7",
|
41
|
+
"@yamada-ui/form-control": "1.0.28",
|
42
|
+
"@yamada-ui/use-disclosure": "1.0.13",
|
43
|
+
"@yamada-ui/icon": "1.0.25",
|
44
|
+
"@yamada-ui/input": "1.0.29-next-20240513035416",
|
45
|
+
"@yamada-ui/popover": "1.1.2",
|
46
|
+
"@yamada-ui/portal": "1.0.14",
|
47
|
+
"@yamada-ui/use-controllable-state": "1.0.13",
|
48
|
+
"@yamada-ui/use-eye-dropper": "^1.0.10",
|
49
49
|
"@yamada-ui/use-latest-ref": "^1.0.1",
|
50
|
-
"@yamada-ui/use-outside-click": "1.0.
|
51
|
-
"@yamada-ui/use-pan-event": "^1.0.
|
52
|
-
"@yamada-ui/use-size": "^1.0.
|
53
|
-
"@yamada-ui/utils": "1.
|
50
|
+
"@yamada-ui/use-outside-click": "1.0.13",
|
51
|
+
"@yamada-ui/use-pan-event": "^1.0.14",
|
52
|
+
"@yamada-ui/use-size": "^1.0.13",
|
53
|
+
"@yamada-ui/utils": "1.2.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"clean-package": "2.2.0",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../src/color-selector-eye-dropper.tsx"],"sourcesContent":["import type { IconButtonProps } from \"@yamada-ui/button\"\nimport { IconButton } from \"@yamada-ui/button\"\nimport { forwardRef } from \"@yamada-ui/core\"\nimport type { CSSUIObject } from \"@yamada-ui/core\"\nimport type { IconProps } from \"@yamada-ui/icon\"\nimport { Icon } from \"@yamada-ui/icon\"\nimport { cx } from \"@yamada-ui/utils\"\nimport type { FC } from \"react\"\nimport { useColorSelectorContext } from \"./use-color-selector\"\n\nexport type ColorSelectorEyeDropperProps = IconButtonProps\n\nexport const ColorSelectorEyeDropper = forwardRef<\n ColorSelectorEyeDropperProps,\n \"button\"\n>(({ className, ...rest }, ref) => {\n const { getEyeDropperProps, readOnly, size, styles } =\n useColorSelectorContext()\n\n const css: CSSUIObject = {\n h: \"auto\",\n minW: \"auto\",\n pointerEvents: readOnly ? \"none\" : undefined,\n ...styles.eyeDropper,\n }\n\n return (\n <IconButton\n className={cx(\"ui-color-selector__eye-dropper\", className)}\n variant=\"outline\"\n size={size}\n __css={css}\n {...getEyeDropperProps(rest, ref)}\n >\n <EyeDropperIcon className=\"ui-color-selector__eye-dropper__icon\" />\n </IconButton>\n )\n})\n\nexport const EyeDropperIcon: FC<IconProps> = ({ ...rest }) => {\n return (\n <Icon\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n {...rest}\n >\n <path d=\"m2 22 1-1h3l9-9\" />\n <path d=\"M3 21v-3l9-9\" />\n <path d=\"m15 6 3.4-3.4a2.1 2.1 0 1 1 3 3L18 9l.4.4a2.1 2.1 0 1 1-3 3l-3.8-3.8a2.1 2.1 0 1 1 3-3l.4.4Z\" />\n </Icon>\n )\n}\n"],"mappings":";;;;;;AACA,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAG3B,SAAS,YAAY;AACrB,SAAS,UAAU;AA4Bb,cAOF,YAPE;AAtBC,IAAM,0BAA0B,WAGrC,CAAC,EAAE,WAAW,GAAG,KAAK,GAAG,QAAQ;AACjC,QAAM,EAAE,oBAAoB,UAAU,MAAM,OAAO,IACjD,wBAAwB;AAE1B,QAAM,MAAmB;AAAA,IACvB,GAAG;AAAA,IACH,MAAM;AAAA,IACN,eAAe,WAAW,SAAS;AAAA,IACnC,GAAG,OAAO;AAAA,EACZ;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,kCAAkC,SAAS;AAAA,MACzD,SAAQ;AAAA,MACR;AAAA,MACA,OAAO;AAAA,MACN,GAAG,mBAAmB,MAAM,GAAG;AAAA,MAEhC,8BAAC,kBAAe,WAAU,wCAAuC;AAAA;AAAA,EACnE;AAEJ,CAAC;AAEM,IAAM,iBAAgC,CAAC,EAAE,GAAG,KAAK,MAAM;AAC5D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MACd,GAAG;AAAA,MAEJ;AAAA,4BAAC,UAAK,GAAE,mBAAkB;AAAA,QAC1B,oBAAC,UAAK,GAAE,gBAAe;AAAA,QACvB,oBAAC,UAAK,GAAE,gGAA+F;AAAA;AAAA;AAAA,EACzG;AAEJ;","names":[]}
|
File without changes
|
File without changes
|