@iclips/ui 1.0.67 → 1.0.69
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 +6 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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 pl-3 pr-
|
|
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-10 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",
|
|
@@ -49744,34 +49744,30 @@ const _c = I.forwardRef(
|
|
|
49744
49744
|
/* @__PURE__ */ b(
|
|
49745
49745
|
"div",
|
|
49746
49746
|
{
|
|
49747
|
-
className: "absolute top-1/2 -translate-y-1/2 flex flex-col gap-0.5
|
|
49747
|
+
className: "absolute top-1/2 -translate-y-1/2 flex flex-col gap-0.5",
|
|
49748
49748
|
style: { right: "4px" },
|
|
49749
49749
|
children: [
|
|
49750
49750
|
/* @__PURE__ */ l(
|
|
49751
|
-
|
|
49751
|
+
"button",
|
|
49752
49752
|
{
|
|
49753
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
49754
|
onClick: V,
|
|
49758
49755
|
disabled: h || m || S >= a,
|
|
49759
49756
|
tabIndex: -1,
|
|
49760
49757
|
"aria-label": "Increment value",
|
|
49758
|
+
className: "h-4 w-7 rounded flex items-center justify-center hover:bg-muted transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
49761
49759
|
children: /* @__PURE__ */ l(Sv, { className: "h-3 w-3" })
|
|
49762
49760
|
}
|
|
49763
49761
|
),
|
|
49764
49762
|
/* @__PURE__ */ l(
|
|
49765
|
-
|
|
49763
|
+
"button",
|
|
49766
49764
|
{
|
|
49767
49765
|
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
49766
|
onClick: q,
|
|
49772
49767
|
disabled: h || m || S <= i,
|
|
49773
49768
|
tabIndex: -1,
|
|
49774
49769
|
"aria-label": "Decrement value",
|
|
49770
|
+
className: "h-4 w-7 rounded flex items-center justify-center hover:bg-muted transition-colors disabled:opacity-50 disabled:cursor-not-allowed",
|
|
49775
49771
|
children: /* @__PURE__ */ l(qa, { className: "h-3 w-3" })
|
|
49776
49772
|
}
|
|
49777
49773
|
)
|