@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 CHANGED
@@ -709,7 +709,7 @@ interface VariantBaseProps<TValue> {
709
709
  * State flags.
710
710
  */
711
711
  disabled?: boolean;
712
- defaultValue?: TValue;
712
+ defaultValue?: any;
713
713
  readOnly?: boolean;
714
714
  required?: boolean;
715
715
  alias?: string;
package/dist/index.d.ts CHANGED
@@ -709,7 +709,7 @@ interface VariantBaseProps<TValue> {
709
709
  * State flags.
710
710
  */
711
711
  disabled?: boolean;
712
- defaultValue?: TValue;
712
+ defaultValue?: any;
713
713
  readOnly?: boolean;
714
714
  required?: boolean;
715
715
  alias?: string;
package/dist/index.js CHANGED
@@ -18417,7 +18417,7 @@ var Input = React54__namespace.forwardRef(
18417
18417
  );
18418
18418
  const baseBoxClasses = cx(
18419
18419
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30",
18420
- "border-input w-full min-w-0 rounded-md border bg-[var(--surfaces-input, transparent)] shadow-xs",
18420
+ "border-input w-full min-w-0 rounded-md border bg-[var(--surfaces-input,_transparent)] shadow-xs",
18421
18421
  "transition-[color,box-shadow] outline-none",
18422
18422
  "file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium",
18423
18423
  "disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
@@ -26408,7 +26408,7 @@ function SelectTrigger2({
26408
26408
  "data-slot": "select-trigger",
26409
26409
  "data-size": size4,
26410
26410
  className: cn(
26411
- "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",
26411
+ "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",
26412
26412
  className
26413
26413
  ),
26414
26414
  ...props,
@@ -33554,7 +33554,7 @@ var Textarea = React54__namespace.forwardRef(
33554
33554
  const frameClasses = cn(
33555
33555
  "border-input placeholder:text-muted-foreground focus-within:border-ring focus-within:ring-ring/50 focus-within:ring-[3px]",
33556
33556
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
33557
- "dark:bg-input/30 rounded-md border bg-[var(--surfaces-input, transparent)] shadow-xs transition-[color,box-shadow] outline-none",
33557
+ "dark:bg-input/30 rounded-md border bg-[var(--surfaces-input,_transparent)] shadow-xs transition-[color,box-shadow] outline-none",
33558
33558
  "disabled:cursor-not-allowed disabled:opacity-50"
33559
33559
  );
33560
33560
  const framePaddingClasses = cn(
@@ -41616,7 +41616,7 @@ var ShadcnFileVariant = React54__namespace.forwardRef(
41616
41616
  className: cn(
41617
41617
  "relative flex w-full cursor-pointer items-center gap-2 px-3 transition-all",
41618
41618
  heightCls,
41619
- (!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",
41619
+ (!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",
41620
41620
  dragOver && "border-primary ring-2 ring-primary/20",
41621
41621
  isDisabled && "cursor-not-allowed opacity-50",
41622
41622
  error && "border-destructive text-destructive",
@@ -41819,7 +41819,7 @@ var ShadcnFileVariant = React54__namespace.forwardRef(
41819
41819
  children: [
41820
41820
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(
41821
41821
  "flex w-full",
41822
- 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"
41822
+ 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"
41823
41823
  ), children: [
41824
41824
  leadingControl && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(
41825
41825
  "flex items-center",