@yamada-ui/color-picker 1.4.10-next-20241114172614 → 1.4.10-next-20241117114930

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
1
1
  "use client"
2
2
  import {
3
3
  ColorSelector
4
- } from "./chunk-TED6IK5W.mjs";
5
- import "./chunk-YU3KOEL7.mjs";
6
- import "./chunk-XCHWCHHP.mjs";
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
- let {
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": `saturation ${s}, brightness ${v}`,
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,