@yamada-ui/color-picker 2.0.0-next-20240409133350 → 2.0.0-next-20240513040311

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/{chunk-VO2YWPCO.mjs → chunk-5CQI26IR.mjs} +2 -2
  2. package/dist/{chunk-DSAPB5E3.mjs → chunk-NGSPXJBL.mjs} +2 -2
  3. package/dist/{chunk-DSAPB5E3.mjs.map → chunk-NGSPXJBL.mjs.map} +1 -1
  4. package/dist/{chunk-JLVD63SI.mjs → chunk-NMHU434U.mjs} +2 -2
  5. package/dist/chunk-NMHU434U.mjs.map +1 -0
  6. package/dist/{chunk-MVCNJELN.mjs → chunk-ONIOGROX.mjs} +7 -12
  7. package/dist/chunk-ONIOGROX.mjs.map +1 -0
  8. package/dist/{chunk-CR3JRFXA.mjs → chunk-SBN7FEOE.mjs} +5 -5
  9. package/dist/chunk-SBN7FEOE.mjs.map +1 -0
  10. package/dist/{chunk-VBH7AXVT.mjs → chunk-ZUPKUHBV.mjs} +3 -3
  11. package/dist/color-picker.js +6 -6
  12. package/dist/color-picker.js.map +1 -1
  13. package/dist/color-picker.mjs +6 -6
  14. package/dist/color-selector-body.js +1 -1
  15. package/dist/color-selector-body.js.map +1 -1
  16. package/dist/color-selector-body.mjs +2 -2
  17. package/dist/color-selector-eye-dropper.js +1 -1
  18. package/dist/color-selector-eye-dropper.js.map +1 -1
  19. package/dist/color-selector-eye-dropper.mjs +1 -1
  20. package/dist/color-selector-swatches.js +1 -1
  21. package/dist/color-selector-swatches.js.map +1 -1
  22. package/dist/color-selector-swatches.mjs +1 -1
  23. package/dist/color-selector.js +2 -2
  24. package/dist/color-selector.js.map +1 -1
  25. package/dist/color-selector.mjs +4 -4
  26. package/dist/index.js +6 -6
  27. package/dist/index.js.map +1 -1
  28. package/dist/index.mjs +6 -6
  29. package/dist/use-color-picker.js +2 -2
  30. package/dist/use-color-picker.js.map +1 -1
  31. package/dist/use-color-picker.mjs +1 -1
  32. package/package.json +15 -15
  33. package/dist/chunk-CR3JRFXA.mjs.map +0 -1
  34. package/dist/chunk-JLVD63SI.mjs.map +0 -1
  35. package/dist/chunk-MVCNJELN.mjs.map +0 -1
  36. /package/dist/{chunk-VO2YWPCO.mjs.map → chunk-5CQI26IR.mjs.map} +0 -0
  37. /package/dist/{chunk-VBH7AXVT.mjs.map → chunk-ZUPKUHBV.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -465,7 +465,7 @@ var ColorSelectorEyeDropper = (0, import_core.forwardRef)(({ className, ...rest
465
465
  size,
466
466
  __css: css,
467
467
  ...getEyeDropperProps(rest, ref),
468
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EyeDropperIcon, { className: "ui-color-selector__eye-dropper__icon" })
468
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EyeDropperIcon, { className: "ui-color-selector__eye-dropper-icon" })
469
469
  }
470
470
  );
471
471
  });
@@ -1241,7 +1241,7 @@ var ColorSelectorSwatches = (0, import_core8.forwardRef)(
1241
1241
  swatchesLabel ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1242
1242
  import_core8.ui.p,
1243
1243
  {
1244
- className: "ui-color-selector__swatches__label",
1244
+ className: "ui-color-selector__swatches-label",
1245
1245
  __css: { ...styles.swatchesLabel },
1246
1246
  children: swatchesLabel
1247
1247
  }
@@ -1816,9 +1816,9 @@ var useColorPicker = ({
1816
1816
  }) => {
1817
1817
  var _a;
1818
1818
  rest = (0, import_form_control4.useFormControlProps)(rest);
1819
- const formControlProps = (0, import_utils14.pickObject)(
1819
+ const { "aria-readonly": _ariaReadonly, ...formControlProps } = (0, import_utils14.pickObject)(
1820
1820
  rest,
1821
- (0, import_form_control4.getFormControlProperties)({ omit: ["aria-readonly"] })
1821
+ import_form_control4.formControlProperties
1822
1822
  );
1823
1823
  const { disabled, readOnly } = formControlProps;
1824
1824
  const [containerProps, inputProps] = (0, import_utils14.splitObject)(
@@ -2132,7 +2132,7 @@ var ColorPicker = (0, import_core12.forwardRef)(
2132
2132
  channelProps,
2133
2133
  portalProps = { isDisabled: true },
2134
2134
  ...computedProps
2135
- } = (0, import_core12.omitThemeProps)((0, import_utils15.omitObject)(mergedProps, ["withSwatch"]));
2135
+ } = (0, import_core12.omitThemeProps)(mergedProps, ["withSwatch"]);
2136
2136
  const {
2137
2137
  allowInput,
2138
2138
  eyeDropperSupported,
@@ -2294,7 +2294,7 @@ var ColorPickerEyeDropper = (0, import_core12.forwardRef)(
2294
2294
  className: (0, import_utils15.cx)("ui-color-picker__eye-dropper", className),
2295
2295
  __css: css,
2296
2296
  ...rest,
2297
- children: (0, import_utils15.isValidElement)(children) ? cloneChildren : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(EyeDropperIcon, { className: "ui-color-picker__eye-dropper__icon" })
2297
+ children: (0, import_utils15.isValidElement)(children) ? cloneChildren : /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(EyeDropperIcon, { className: "ui-color-picker__eye-dropper-icon" })
2298
2298
  }
2299
2299
  );
2300
2300
  }