@iclips/ui 1.0.65 → 1.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/number-input.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +39 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49711,7 +49711,7 @@ const _c = I.forwardRef(
|
|
|
49711
49711
|
}, de = (G) => {
|
|
49712
49712
|
!d || h || m || !N || (G.preventDefault(), G.deltaY < 0 ? V() : G.deltaY > 0 && q());
|
|
49713
49713
|
};
|
|
49714
|
-
return I.useImperativeHandle(v, () => k.current), /* @__PURE__ */ b("div", { className: "relative
|
|
49714
|
+
return I.useImperativeHandle(v, () => k.current), /* @__PURE__ */ b("div", { className: "relative w-full", children: [
|
|
49715
49715
|
/* @__PURE__ */ l(
|
|
49716
49716
|
"input",
|
|
49717
49717
|
{
|
|
@@ -49720,7 +49720,7 @@ const _c = I.forwardRef(
|
|
|
49720
49720
|
inputMode: "decimal",
|
|
49721
49721
|
"data-slot": "input",
|
|
49722
49722
|
className: M(
|
|
49723
|
-
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border
|
|
49723
|
+
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border pl-3 pr-14 py-1 text-base bg-input-background transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
49724
49724
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
49725
49725
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
49726
49726
|
"text-right tabular-nums",
|
|
@@ -49741,36 +49741,43 @@ const _c = I.forwardRef(
|
|
|
49741
49741
|
...g
|
|
49742
49742
|
}
|
|
49743
49743
|
),
|
|
49744
|
-
/* @__PURE__ */ b(
|
|
49745
|
-
|
|
49746
|
-
|
|
49747
|
-
|
|
49748
|
-
|
|
49749
|
-
|
|
49750
|
-
|
|
49751
|
-
|
|
49752
|
-
|
|
49753
|
-
|
|
49754
|
-
|
|
49755
|
-
|
|
49756
|
-
|
|
49757
|
-
|
|
49758
|
-
|
|
49759
|
-
|
|
49760
|
-
|
|
49761
|
-
|
|
49762
|
-
|
|
49763
|
-
|
|
49764
|
-
|
|
49765
|
-
|
|
49766
|
-
|
|
49767
|
-
|
|
49768
|
-
|
|
49769
|
-
|
|
49770
|
-
|
|
49771
|
-
|
|
49772
|
-
|
|
49773
|
-
|
|
49744
|
+
/* @__PURE__ */ b(
|
|
49745
|
+
"div",
|
|
49746
|
+
{
|
|
49747
|
+
className: "absolute top-1/2 -translate-y-1/2 flex flex-col gap-0.5 pointer-events-auto",
|
|
49748
|
+
style: { right: "4px" },
|
|
49749
|
+
children: [
|
|
49750
|
+
/* @__PURE__ */ l(
|
|
49751
|
+
R,
|
|
49752
|
+
{
|
|
49753
|
+
type: "button",
|
|
49754
|
+
variant: "ghost",
|
|
49755
|
+
size: "icon",
|
|
49756
|
+
className: "h-3.5 w-7 rounded-sm p-0 hover:bg-muted pointer-events-auto",
|
|
49757
|
+
onClick: V,
|
|
49758
|
+
disabled: h || m || S >= a,
|
|
49759
|
+
tabIndex: -1,
|
|
49760
|
+
"aria-label": "Increment value",
|
|
49761
|
+
children: /* @__PURE__ */ l(Sv, { className: "h-3 w-3" })
|
|
49762
|
+
}
|
|
49763
|
+
),
|
|
49764
|
+
/* @__PURE__ */ l(
|
|
49765
|
+
R,
|
|
49766
|
+
{
|
|
49767
|
+
type: "button",
|
|
49768
|
+
variant: "ghost",
|
|
49769
|
+
size: "icon",
|
|
49770
|
+
className: "h-3.5 w-7 rounded-sm p-0 hover:bg-muted pointer-events-auto",
|
|
49771
|
+
onClick: q,
|
|
49772
|
+
disabled: h || m || S <= i,
|
|
49773
|
+
tabIndex: -1,
|
|
49774
|
+
"aria-label": "Decrement value",
|
|
49775
|
+
children: /* @__PURE__ */ l(qa, { className: "h-3 w-3" })
|
|
49776
|
+
}
|
|
49777
|
+
)
|
|
49778
|
+
]
|
|
49779
|
+
}
|
|
49780
|
+
)
|
|
49774
49781
|
] });
|
|
49775
49782
|
}
|
|
49776
49783
|
);
|