@yamada-ui/color-picker 1.4.10-dev-20241116143410 → 1.4.10-dev-20241117113320
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{chunk-YU3KOEL7.mjs → chunk-AJTCPCFF.mjs} +2 -2
- package/dist/{chunk-RW7HCRPR.mjs → chunk-ASZZSRFB.mjs} +2 -2
- package/dist/{chunk-XCHWCHHP.mjs → chunk-LEN56PPD.mjs} +4 -4
- package/dist/chunk-LEN56PPD.mjs.map +1 -0
- package/dist/{chunk-TED6IK5W.mjs → chunk-QWG3QE6A.mjs} +2 -2
- package/dist/color-picker.js +3 -3
- package/dist/color-picker.js.map +1 -1
- package/dist/color-picker.mjs +4 -4
- package/dist/color-selector.js +3 -3
- package/dist/color-selector.js.map +1 -1
- package/dist/color-selector.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/saturation-slider.js +3 -3
- package/dist/saturation-slider.js.map +1 -1
- package/dist/saturation-slider.mjs +2 -2
- package/dist/use-saturation-slider.js +3 -3
- package/dist/use-saturation-slider.js.map +1 -1
- package/dist/use-saturation-slider.mjs +1 -1
- package/package.json +3 -3
- package/dist/chunk-XCHWCHHP.mjs.map +0 -1
- /package/dist/{chunk-YU3KOEL7.mjs.map → chunk-AJTCPCFF.mjs.map} +0 -0
- /package/dist/{chunk-RW7HCRPR.mjs.map → chunk-ASZZSRFB.mjs.map} +0 -0
- /package/dist/{chunk-TED6IK5W.mjs.map → chunk-QWG3QE6A.mjs.map} +0 -0
package/dist/color-selector.mjs
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
"use client"
|
2
2
|
import {
|
3
3
|
ColorSelector
|
4
|
-
} from "./chunk-
|
5
|
-
import "./chunk-
|
6
|
-
import "./chunk-
|
4
|
+
} from "./chunk-QWG3QE6A.mjs";
|
5
|
+
import "./chunk-AJTCPCFF.mjs";
|
6
|
+
import "./chunk-LEN56PPD.mjs";
|
7
7
|
import "./chunk-XSZZBWND.mjs";
|
8
8
|
import "./chunk-RJOBF4LI.mjs";
|
9
9
|
import "./chunk-6XIZXZXV.mjs";
|
package/dist/index.js
CHANGED
@@ -1436,7 +1436,7 @@ var useSaturationSlider = ({
|
|
1436
1436
|
...props
|
1437
1437
|
}) => {
|
1438
1438
|
if (!focusThumbOnChange) props.isReadOnly = true;
|
1439
|
-
|
1439
|
+
const {
|
1440
1440
|
id,
|
1441
1441
|
name,
|
1442
1442
|
defaultValue = [0, 0, 1],
|
@@ -1643,8 +1643,8 @@ var useSaturationSlider = ({
|
|
1643
1643
|
style,
|
1644
1644
|
"aria-valuemax": 100,
|
1645
1645
|
"aria-valuemin": 0,
|
1646
|
-
"aria-valuenow": s,
|
1647
|
-
"aria-valuetext": `
|
1646
|
+
"aria-valuenow": s * 100,
|
1647
|
+
"aria-valuetext": `Saturation ${s * 100}%, Brightness ${v * 100}%`,
|
1648
1648
|
"data-active": (0, import_utils11.dataAttr)(isDragging && focusThumbOnChange),
|
1649
1649
|
role: "slider",
|
1650
1650
|
tabIndex: isInteractive && focusThumbOnChange ? 0 : void 0,
|