@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/index.mjs CHANGED
@@ -1,18 +1,18 @@
1
1
  "use client"
2
2
  import {
3
3
  ColorPicker
4
- } from "./chunk-MVCNJELN.mjs";
4
+ } from "./chunk-KCV32DAB.mjs";
5
5
  import "./chunk-CR3JRFXA.mjs";
6
6
  import {
7
7
  ColorSelector
8
- } from "./chunk-VBH7AXVT.mjs";
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-VO2YWPCO.mjs";
13
+ import "./chunk-5CQI26IR.mjs";
14
14
  import "./chunk-2PW2Z2XD.mjs";
15
- import "./chunk-JLVD63SI.mjs";
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-DSAPB5E3.mjs";
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-20240409133350",
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.23-next-20240409133350",
40
- "@yamada-ui/core": "1.6.1",
41
- "@yamada-ui/form-control": "1.0.22",
42
- "@yamada-ui/use-disclosure": "1.0.9",
43
- "@yamada-ui/icon": "1.0.19",
44
- "@yamada-ui/input": "1.0.22",
45
- "@yamada-ui/popover": "1.0.21-next-20240409133350",
46
- "@yamada-ui/portal": "1.0.9",
47
- "@yamada-ui/use-controllable-state": "1.0.9",
48
- "@yamada-ui/use-eye-dropper": "^1.0.6",
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.9",
51
- "@yamada-ui/use-pan-event": "^1.0.10",
52
- "@yamada-ui/use-size": "^1.0.9",
53
- "@yamada-ui/utils": "1.1.0"
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":[]}