@timeax/form-palette 0.0.9 → 0.0.11
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -18396,7 +18396,7 @@ var Input = React54.forwardRef(
|
|
|
18396
18396
|
);
|
|
18397
18397
|
const baseBoxClasses = cx(
|
|
18398
18398
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30",
|
|
18399
|
-
"border-input w-full min-w-0 rounded-md border bg-[var(--surfaces-input,
|
|
18399
|
+
"border-input w-full min-w-0 rounded-md border bg-[var(--surfaces-input,_transparent)] shadow-xs",
|
|
18400
18400
|
"transition-[color,box-shadow] outline-none",
|
|
18401
18401
|
"file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium",
|
|
18402
18402
|
"disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
@@ -26387,7 +26387,7 @@ function SelectTrigger2({
|
|
|
26387
26387
|
"data-slot": "select-trigger",
|
|
26388
26388
|
"data-size": size4,
|
|
26389
26389
|
className: cn(
|
|
26390
|
-
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-[var(--surfaces-input,
|
|
26390
|
+
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-[var(--surfaces-input,_transparent)] px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
26391
26391
|
className
|
|
26392
26392
|
),
|
|
26393
26393
|
...props,
|
|
@@ -33533,7 +33533,7 @@ var Textarea = React54.forwardRef(
|
|
|
33533
33533
|
const frameClasses = cn(
|
|
33534
33534
|
"border-input placeholder:text-muted-foreground focus-within:border-ring focus-within:ring-ring/50 focus-within:ring-[3px]",
|
|
33535
33535
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
33536
|
-
"dark:bg-input/30 rounded-md border bg-[var(--surfaces-input,
|
|
33536
|
+
"dark:bg-input/30 rounded-md border bg-[var(--surfaces-input,_transparent)] shadow-xs transition-[color,box-shadow] outline-none",
|
|
33537
33537
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
33538
33538
|
);
|
|
33539
33539
|
const framePaddingClasses = cn(
|
|
@@ -41595,7 +41595,7 @@ var ShadcnFileVariant = React54.forwardRef(
|
|
|
41595
41595
|
className: cn(
|
|
41596
41596
|
"relative flex w-full cursor-pointer items-center gap-2 px-3 transition-all",
|
|
41597
41597
|
heightCls,
|
|
41598
|
-
(!joinControls || !hasExternalControls) && "rounded-md border border-input bg-[var(--surfaces-input,
|
|
41598
|
+
(!joinControls || !hasExternalControls) && "rounded-md border border-input bg-[var(--surfaces-input,_transparent)] shadow-xs ring-offset-background hover:bg-accent/5 focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",
|
|
41599
41599
|
dragOver && "border-primary ring-2 ring-primary/20",
|
|
41600
41600
|
isDisabled && "cursor-not-allowed opacity-50",
|
|
41601
41601
|
error && "border-destructive text-destructive",
|
|
@@ -41798,7 +41798,7 @@ var ShadcnFileVariant = React54.forwardRef(
|
|
|
41798
41798
|
children: [
|
|
41799
41799
|
/* @__PURE__ */ jsxs("div", { className: cn(
|
|
41800
41800
|
"flex w-full",
|
|
41801
|
-
joinControls && extendBoxToControls && !showDropArea ? "items-stretch rounded-md border border-input bg-[var(--surfaces-input,
|
|
41801
|
+
joinControls && extendBoxToControls && !showDropArea ? "items-stretch rounded-md border border-input bg-[var(--surfaces-input,_transparent)] shadow-xs ring-offset-background focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2" : "items-start gap-2"
|
|
41802
41802
|
), children: [
|
|
41803
41803
|
leadingControl && /* @__PURE__ */ jsx("div", { className: cn(
|
|
41804
41804
|
"flex items-center",
|