@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.
- package/dist/{chunk-VO2YWPCO.mjs → chunk-5CQI26IR.mjs} +2 -2
- 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-MVCNJELN.mjs → chunk-ONIOGROX.mjs} +7 -12
- package/dist/chunk-ONIOGROX.mjs.map +1 -0
- package/dist/{chunk-CR3JRFXA.mjs → chunk-SBN7FEOE.mjs} +5 -5
- package/dist/chunk-SBN7FEOE.mjs.map +1 -0
- package/dist/{chunk-VBH7AXVT.mjs → chunk-ZUPKUHBV.mjs} +3 -3
- package/dist/color-picker.js +6 -6
- package/dist/color-picker.js.map +1 -1
- package/dist/color-picker.mjs +6 -6
- 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 +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/use-color-picker.js +2 -2
- package/dist/use-color-picker.js.map +1 -1
- package/dist/use-color-picker.mjs +1 -1
- package/package.json +15 -15
- package/dist/chunk-CR3JRFXA.mjs.map +0 -1
- package/dist/chunk-JLVD63SI.mjs.map +0 -1
- package/dist/chunk-MVCNJELN.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.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-
|
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-
|
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
|
-
|
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)(
|
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-
|
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
|
}
|