@rebasepro/ui 0.0.1-canary.eae7889 → 0.1.0

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.umd.js CHANGED
@@ -206,8 +206,8 @@
206
206
  const fieldBackgroundHoverMixin = "hover:bg-opacity-70 dark:hover:bg-surface-700 dark:hover:bg-opacity-40 hover:bg-surface-accent-200/70 hover:dark:bg-surface-700/40";
207
207
  const defaultBorderMixin = "border-surface-200/60 dark:border-surface-700/60 ";
208
208
  const paperMixin = "bg-white rounded-md dark:bg-surface-800 border border-surface-200/60 dark:border-surface-700/60";
209
- const cardMixin = "bg-white dark:bg-surface-800 rounded-md border border-surface-200/60 dark:border-surface-700/60 m-1 -p-1";
210
- const cardClickableMixin = "hover:bg-surface-accent-100 dark:hover:bg-surface-800 hover:ring-2 hover:ring-primary cursor-pointer hover:bg-primary/20 dark:hover:bg-primary/10 ";
209
+ const cardMixin = "bg-white dark:bg-surface-900 rounded-md border border-surface-200/60 dark:border-surface-700/60 m-1 -p-1";
210
+ const cardClickableMixin = "hover:bg-surface-accent-100 dark:hover:bg-surface-800 hover:ring-1 hover:ring-primary/50 hover:shadow-sm cursor-pointer hover:bg-primary/10 dark:hover:bg-primary/10 transition-all duration-150";
211
211
  const cardSelectedMixin = "bg-primary-bg/30 dark:bg-primary-bg/10 ring-1 ring-primary/75";
212
212
  const PortalContainerContext = React.createContext(void 0);
213
213
  function PortalContainerProvider(t0) {
@@ -630,16 +630,16 @@
630
630
  const getColorClasses = (severity) => {
631
631
  switch (severity) {
632
632
  case "error":
633
- return "bg-red-50 dark:bg-red-800 dark:text-red-100 text-red-900";
633
+ return "bg-red-50 dark:bg-red-800 dark:text-red-100 text-red-900 border-l-[3px] border-l-red-500";
634
634
  case "warning":
635
- return "bg-amber-50 dark:bg-amber-800 dark:text-amber-100 text-amber-900";
635
+ return "bg-amber-50 dark:bg-amber-800 dark:text-amber-100 text-amber-900 border-l-[3px] border-l-amber-500";
636
636
  case "info":
637
- return "bg-blue-100 dark:bg-blue-800 dark:text-blue-100 text-blue-900";
637
+ return "bg-blue-100 dark:bg-blue-800 dark:text-blue-100 text-blue-900 border-l-[3px] border-l-blue-500";
638
638
  case "success":
639
- return "bg-emerald-50 dark:bg-emerald-800 dark:text-emerald-100 text-emerald-900";
639
+ return "bg-emerald-50 dark:bg-emerald-800 dark:text-emerald-100 text-emerald-900 border-l-[3px] border-l-emerald-500";
640
640
  case "base":
641
641
  default:
642
- return "bg-surface-accent-50 dark:bg-surface-accent-800 dark:text-white text-surface-accent-900";
642
+ return "bg-surface-accent-50 dark:bg-surface-accent-800 dark:text-white text-surface-accent-900 border-l-[3px] border-l-surface-accent-400";
643
643
  }
644
644
  };
645
645
  const Alert = (t0) => {
@@ -823,7 +823,7 @@
823
823
  onValueChange?.(!value);
824
824
  }
825
825
  }, className: cls(size === "smallest" ? "w-[34px] h-[18px] min-w-[34px] min-h-[18px]" : size === "small" ? "w-[38px] h-[22px] min-w-[38px] min-h-[22px]" : "w-[44px] h-[26px] min-w-[44px] min-h-[26px]", "outline-none outline-hidden rounded-full relative shadow-sm", value ? disabled ? "bg-white bg-opacity-54 bg-white/54 dark:bg-surface-accent-950 border-surface-accent-100 dark:border-surface-accent-700 ring-1 ring-surface-accent-200 dark:ring-surface-accent-700" : "ring-secondary ring-1 bg-secondary dark:bg-secondary" : "bg-white bg-opacity-54 bg-white/54 dark:bg-surface-accent-900 ring-1 ring-surface-accent-200 dark:ring-surface-accent-700", className), ...props, children: [
826
- allowIndeterminate && (value === null || value === void 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cls("block rounded-full transition-transform duration-100 transform will-change-auto", disabled ? "bg-surface-accent-400 dark:bg-surface-accent-600" : "bg-surface-accent-400 dark:bg-surface-accent-600", {
826
+ allowIndeterminate && (value === null || value === void 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cls("block rounded-full transition-transform duration-100 ease-out transform will-change-auto shadow-sm", disabled ? "bg-surface-accent-400 dark:bg-surface-accent-600" : "bg-surface-accent-400 dark:bg-surface-accent-600", {
827
827
  "w-[21px] h-[10px]": size === "medium" || size === "large",
828
828
  "w-[19px] h-[8px]": size === "small",
829
829
  "w-[16px] h-[6px]": size === "smallest",
@@ -831,7 +831,7 @@
831
831
  "translate-x-[9px]": size === "small",
832
832
  "translate-x-[8px]": size === "smallest"
833
833
  }) }, "knob"),
834
- !(allowIndeterminate && (value === null || value === void 0)) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cls("block rounded-full transition-transform duration-100 transform will-change-auto", disabled ? "bg-surface-accent-300 dark:bg-surface-accent-700" : value ? "bg-white" : "bg-surface-accent-600 dark:bg-surface-accent-400", {
834
+ !(allowIndeterminate && (value === null || value === void 0)) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cls("block rounded-full transition-transform duration-100 ease-out transform will-change-auto shadow-sm", disabled ? "bg-surface-accent-300 dark:bg-surface-700" : value ? "bg-white shadow" : "bg-surface-accent-600 dark:bg-surface-accent-400", {
835
835
  "w-[21px] h-[21px]": size === "medium" || size === "large",
836
836
  "w-[19px] h-[19px]": size === "small",
837
837
  "w-[16px] h-[16px]": size === "smallest",
@@ -967,21 +967,21 @@
967
967
  const buttonClasses2 = cls({
968
968
  "w-full": fullWidth,
969
969
  "w-fit": t7,
970
- "border border-primary bg-primary focus:ring-primary shadow hover:ring-1 hover:ring-primary text-white hover:text-white": t8,
971
- "border border-secondary bg-secondary focus:ring-secondary shadow hover:ring-1 hover:ring-secondary text-white hover:text-white": t9,
972
- "border border-red-500 bg-red-500 hover:bg-red-500 focus:ring-red-500 shadow hover:ring-1 hover:ring-red-600 text-white hover:text-white": t10,
973
- "border border-surface-accent-200 bg-surface-accent-200 hover:bg-surface-accent-300 focus:ring-surface-accent-400 shadow hover:ring-1 hover:ring-surface-accent-400 text-text-primary hover:text-text-primary dark:text-text-primary-dark hover:dark:text-text-primary-dark": t11,
974
- "border border-transparent bg-surface-100 hover:bg-surface-accent-200 text-text-primary dark:bg-surface-900 dark:hover:bg-surface-accent-700 dark:text-text-primary-dark hover:text-text-primary dark:text-text-primary-dark hover:dark:text-text-primary-dark": t12,
970
+ "border border-primary bg-primary focus:ring-primary shadow-sm hover:shadow-md hover:brightness-110 text-white hover:text-white": t8,
971
+ "border border-secondary bg-secondary focus:ring-secondary shadow-sm hover:shadow-md hover:brightness-110 text-white hover:text-white": t9,
972
+ "border border-red-500 bg-red-500 hover:bg-red-600 focus:ring-red-500 shadow-sm hover:shadow-md text-white hover:text-white": t10,
973
+ "border border-surface-accent-200 bg-surface-accent-200 hover:bg-surface-accent-300 focus:ring-surface-accent-400 shadow-sm hover:shadow-md text-text-primary hover:text-text-primary dark:border-surface-accent-700 dark:bg-surface-accent-700 dark:hover:bg-surface-accent-600 dark:text-text-primary-dark hover:dark:text-text-primary-dark": t11,
974
+ "border border-transparent bg-surface-100 hover:bg-surface-accent-200 text-text-primary dark:bg-surface-700 dark:hover:bg-surface-accent-700 dark:text-text-primary-dark hover:text-text-primary dark:text-text-primary-dark hover:dark:text-text-primary-dark": t12,
975
975
  "border border-transparent text-primary hover:text-primary hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:hover:bg-surface-accent-800": t13,
976
976
  "border border-transparent text-secondary hover:text-secondary hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:hover:bg-surface-accent-800": t14,
977
977
  "border border-transparent text-red-500 hover:text-red-500 hover:bg-red-500 hover:bg-opacity-10 hover:bg-red-500/10": t15,
978
- "border border-transparent text-text-primary hover:text-text-primary dark:text-text-primary-dark hover:dark:text-text-primary-dark hover:bg-surface-accent-200 hover:dark:bg-surface-700": t16,
979
- "border border-transparent text-text-primary hover:text-text-primary hover:bg-surface-accent-200 dark:text-text-primary-dark dark:hover:text-text-primary-dark dark:hover:bg-surface-accent-700": t17,
978
+ "border border-transparent text-text-primary hover:text-text-primary dark:text-text-primary-dark hover:dark:text-text-primary-dark hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:hover:bg-surface-accent-800": t16,
979
+ "border border-transparent text-text-primary hover:text-text-primary hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:text-text-primary-dark dark:hover:text-text-primary-dark dark:hover:bg-surface-accent-800": t17,
980
980
  "border border-primary text-primary hover:text-primary hover:bg-primary-bg hover:bg-primary/10": t18,
981
981
  "border border-secondary text-secondary hover:text-secondary hover:bg-secondary-bg": t19,
982
982
  "border border-red-500 text-red-500 hover:text-red-500 hover:bg-red-500 hover:text-white": t20,
983
- "border border-surface-accent-400 text-text-primary hover:text-text-primary dark:text-text-primary-dark hover:bg-surface-accent-200": t21,
984
- "border border-surface-300 text-text-primary hover:bg-surface-accent-200 dark:border-surface-600 dark:text-text-primary-dark dark:hover:bg-surface-accent-700": t22,
983
+ "border border-surface-accent-400 text-text-primary hover:text-text-primary dark:text-text-primary-dark dark:border-surface-accent-600 hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:hover:bg-surface-accent-800": t21,
984
+ "border border-surface-300 text-text-primary hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:border-surface-600 dark:text-text-primary-dark dark:hover:bg-surface-accent-800": t22,
985
985
  "text-text-disabled dark:text-text-disabled-dark": disabled,
986
986
  "border border-transparent opacity-50": t23,
987
987
  "border border-surface-500 opacity-50": t24,
@@ -996,7 +996,7 @@
996
996
  });
997
997
  const iconColorClass = (color === "neutral" || color === "text") && !disabled ? "[&>svg]:text-surface-accent-500 dark:[&>svg]:text-surface-accent-300" : "";
998
998
  if (Component) {
999
- t30 = /* @__PURE__ */ jsxRuntime.jsxs(Component, { ref, onClick: props.onClick, className: cls(startIcon ? "pl-3" : "", "typography-button h-fit rounded-md whitespace-nowrap inline-flex items-center justify-center p-2 px-4 focus:outline-none transition ease-in-out duration-150 gap-2", buttonClasses2, sizeClasses2, iconColorClass, className), ...props, children: [
999
+ t30 = /* @__PURE__ */ jsxRuntime.jsxs(Component, { ref, onClick: props.onClick, className: cls(startIcon ? "pl-3" : "", "typography-button h-fit rounded-md whitespace-nowrap inline-flex items-center justify-center p-2 px-4 focus:outline-none transition-all ease-in-out duration-150 gap-2 active:scale-[0.98]", buttonClasses2, sizeClasses2, iconColorClass, className), ...props, children: [
1000
1000
  startIcon,
1001
1001
  children
1002
1002
  ] });
@@ -1005,7 +1005,7 @@
1005
1005
  t26 = ref;
1006
1006
  t27 = props.type ?? "button";
1007
1007
  t28 = props.onClick;
1008
- t29 = cls(startIcon ? "pl-3" : "", "typography-button h-fit rounded-md whitespace-nowrap inline-flex items-center justify-center p-2 px-4 focus:outline-none transition ease-in-out duration-150 gap-2", buttonClasses2, sizeClasses2, iconColorClass, className);
1008
+ t29 = cls(startIcon ? "pl-3" : "", "typography-button h-fit rounded-md whitespace-nowrap inline-flex items-center justify-center p-2 px-4 focus:outline-none transition-all ease-in-out duration-150 gap-2 active:scale-[0.98]", buttonClasses2, sizeClasses2, iconColorClass, className);
1009
1009
  }
1010
1010
  $[11] = Component;
1011
1011
  $[12] = children;
@@ -1641,7 +1641,7 @@
1641
1641
  const t13 = sizeClasses$1[size];
1642
1642
  const t14 = disabled ? indeterminate || isChecked ? "bg-surface-accent-400 dark:bg-surface-accent-600" : "bg-surface-accent-400 dark:bg-surface-accent-600" : indeterminate || isChecked ? colorClasses$2[color] : "bg-white dark:bg-surface-900";
1643
1643
  const t15 = indeterminate || isChecked ? "text-surface-accent-100 dark:text-surface-accent-900" : "";
1644
- const t16 = disabled ? "border-transparent" : indeterminate || isChecked ? "border-transparent" : "border-surface-accent-800 dark:border-surface-accent-200";
1644
+ const t16 = disabled ? "border-transparent" : indeterminate || isChecked ? "border-transparent" : "border-surface-accent-800 dark:border-surface-accent-500";
1645
1645
  let t17;
1646
1646
  if ($[5] !== t13 || $[6] !== t14 || $[7] !== t15 || $[8] !== t16) {
1647
1647
  t17 = cls("border-2 relative transition-colors ease-in-out duration-150", t13, t14, t15, t16);
@@ -1782,7 +1782,7 @@
1782
1782
  return t11;
1783
1783
  }
1784
1784
  const Tooltip = (t0) => {
1785
- const $ = reactCompilerRuntime.c(28);
1785
+ const $ = reactCompilerRuntime.c(30);
1786
1786
  const {
1787
1787
  open,
1788
1788
  defaultOpen,
@@ -1830,61 +1830,72 @@
1830
1830
  }
1831
1831
  const trigger = t4;
1832
1832
  let t5;
1833
- if ($[7] !== tooltipClassName) {
1834
- t5 = cls("TooltipContent", "max-w-lg leading-relaxed", "z-50 rounded px-3 py-2 text-xs leading-none bg-surface-accent-700 dark:bg-surface-accent-800 bg-opacity-90 bg-surface-accent-700/90 dark:bg-surface-accent-800/90 font-medium text-surface-accent-50 shadow-2xl select-none duration-400 ease-in transform opacity-100", tooltipClassName);
1835
- $[7] = tooltipClassName;
1836
- $[8] = t5;
1833
+ if ($[7] !== onOpenChange || $[8] !== open) {
1834
+ t5 = open !== void 0 ? {
1835
+ open,
1836
+ onOpenChange
1837
+ } : {};
1838
+ $[7] = onOpenChange;
1839
+ $[8] = open;
1840
+ $[9] = t5;
1837
1841
  } else {
1838
- t5 = $[8];
1842
+ t5 = $[9];
1839
1843
  }
1840
- const t6 = sideOffset === void 0 ? 4 : sideOffset;
1841
- let t7;
1842
- if ($[9] !== align || $[10] !== side || $[11] !== t5 || $[12] !== t6 || $[13] !== title || $[14] !== tooltipStyle) {
1843
- t7 = /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Content, { className: t5, style: tooltipStyle, sideOffset: t6, align, side, children: title });
1844
- $[9] = align;
1845
- $[10] = side;
1846
- $[11] = t5;
1847
- $[12] = t6;
1848
- $[13] = title;
1849
- $[14] = tooltipStyle;
1850
- $[15] = t7;
1844
+ let t6;
1845
+ if ($[10] !== tooltipClassName) {
1846
+ t6 = cls("TooltipContent", "max-w-lg leading-relaxed", "z-50 rounded px-3 py-2 text-xs leading-none bg-surface-accent-700 dark:bg-surface-accent-800 bg-opacity-90 bg-surface-accent-700/90 dark:bg-surface-accent-800/90 font-medium text-surface-accent-50 shadow-2xl select-none duration-400 ease-in transform opacity-100", tooltipClassName);
1847
+ $[10] = tooltipClassName;
1848
+ $[11] = t6;
1851
1849
  } else {
1852
- t7 = $[15];
1850
+ t6 = $[11];
1853
1851
  }
1852
+ const t7 = sideOffset === void 0 ? 4 : sideOffset;
1854
1853
  let t8;
1855
- if ($[16] !== finalContainer || $[17] !== t7) {
1856
- t8 = /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { container: finalContainer, children: t7 });
1857
- $[16] = finalContainer;
1858
- $[17] = t7;
1854
+ if ($[12] !== align || $[13] !== side || $[14] !== t6 || $[15] !== t7 || $[16] !== title || $[17] !== tooltipStyle) {
1855
+ t8 = /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Content, { className: t6, style: tooltipStyle, sideOffset: t7, align, side, children: title });
1856
+ $[12] = align;
1857
+ $[13] = side;
1858
+ $[14] = t6;
1859
+ $[15] = t7;
1860
+ $[16] = title;
1861
+ $[17] = tooltipStyle;
1859
1862
  $[18] = t8;
1860
1863
  } else {
1861
1864
  t8 = $[18];
1862
1865
  }
1863
1866
  let t9;
1864
- if ($[19] !== defaultOpen || $[20] !== onOpenChange || $[21] !== open || $[22] !== t8 || $[23] !== trigger) {
1865
- t9 = /* @__PURE__ */ jsxRuntime.jsxs(TooltipPrimitive__namespace.Root, { open, onOpenChange, defaultOpen, children: [
1867
+ if ($[19] !== finalContainer || $[20] !== t8) {
1868
+ t9 = /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { container: finalContainer, children: t8 });
1869
+ $[19] = finalContainer;
1870
+ $[20] = t8;
1871
+ $[21] = t9;
1872
+ } else {
1873
+ t9 = $[21];
1874
+ }
1875
+ let t10;
1876
+ if ($[22] !== defaultOpen || $[23] !== t5 || $[24] !== t9 || $[25] !== trigger) {
1877
+ t10 = /* @__PURE__ */ jsxRuntime.jsxs(TooltipPrimitive__namespace.Root, { ...t5, defaultOpen, children: [
1866
1878
  trigger,
1867
- t8
1879
+ t9
1868
1880
  ] });
1869
- $[19] = defaultOpen;
1870
- $[20] = onOpenChange;
1871
- $[21] = open;
1872
- $[22] = t8;
1873
- $[23] = trigger;
1881
+ $[22] = defaultOpen;
1882
+ $[23] = t5;
1874
1883
  $[24] = t9;
1884
+ $[25] = trigger;
1885
+ $[26] = t10;
1875
1886
  } else {
1876
- t9 = $[24];
1887
+ t10 = $[26];
1877
1888
  }
1878
- let t10;
1879
- if ($[25] !== delayDuration || $[26] !== t9) {
1880
- t10 = /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Provider, { delayDuration, children: t9 });
1881
- $[25] = delayDuration;
1882
- $[26] = t9;
1883
- $[27] = t10;
1889
+ let t11;
1890
+ if ($[27] !== delayDuration || $[28] !== t10) {
1891
+ t11 = /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Provider, { delayDuration, children: t10 });
1892
+ $[27] = delayDuration;
1893
+ $[28] = t10;
1894
+ $[29] = t11;
1884
1895
  } else {
1885
- t10 = $[27];
1896
+ t11 = $[29];
1886
1897
  }
1887
- return t10;
1898
+ return t11;
1888
1899
  };
1889
1900
  const styles$2 = `
1890
1901
 
@@ -2029,7 +2040,7 @@
2029
2040
  }
2030
2041
  return t7;
2031
2042
  }
2032
- const buttonClasses = "hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:hover:bg-surface-accent-800 hover:scale-105 transition-transform";
2043
+ const buttonClasses = "hover:bg-surface-accent-200 hover:bg-opacity-75 hover:bg-surface-accent-200/75 dark:hover:bg-surface-accent-800 hover:scale-[1.04] active:scale-95 transition-transform";
2033
2044
  const baseClasses = "inline-flex items-center justify-center p-2 text-sm font-medium focus:outline-none transition-colors ease-in-out duration-150";
2034
2045
  const colorClasses$1 = "text-surface-accent-500 visited:text-surface-accent-500 dark:text-surface-accent-300 dark:visited:text-surface-300";
2035
2046
  const sizeClasses = {
@@ -2340,7 +2351,7 @@
2340
2351
  /* @__PURE__ */ jsxRuntime.jsx(IconButton, { onClick: (e_2) => {
2341
2352
  e_2.stopPropagation();
2342
2353
  inputRef.current?.showPicker();
2343
- }, className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-surface-accent-500!", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CalendarIcon, { color: "disabled" }) }),
2354
+ }, className: "absolute right-3 top-1/2 transform -translate-y-1/2 text-surface-accent-500!", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CalendarIcon, {}) }),
2344
2355
  clearable && value && /* @__PURE__ */ jsxRuntime.jsx(IconButton, { onClick: handleClear, className: "absolute right-14 top-1/2 transform -translate-y-1/2 text-surface-accent-400 ", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.XIcon, {}) })
2345
2356
  ] }),
2346
2357
  invalidValue && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center m-2", children: [
@@ -2443,7 +2454,7 @@
2443
2454
  const t10 = displayed && open ? "opacity-100" : "opacity-0";
2444
2455
  let t11;
2445
2456
  if ($[5] !== t10) {
2446
- t11 = cls("fixed inset-0 transition-opacity ease-in-out duration-200 bg-black dark:bg-opacity-60 dark:bg-black/60 bg-opacity-50 bg-black/50 dark: bg-black/60 backdrop-blur-sm ", t10, "z-50 fixed top-0 left-0 w-full h-full flex justify-center items-center");
2457
+ t11 = cls("fixed inset-0 transition-opacity ease-in-out duration-200 bg-black dark:bg-opacity-60 dark:bg-black/60 bg-opacity-50 bg-black/50 backdrop-blur-sm", t10, "z-50 fixed top-0 left-0 w-full h-full flex justify-center items-center");
2447
2458
  $[5] = t10;
2448
2459
  $[6] = t11;
2449
2460
  } else {
@@ -2494,7 +2505,7 @@
2494
2505
  const t18 = fullHeight && !fullScreen ? "h-full" : void 0;
2495
2506
  const t19 = fullScreen ? "h-screen w-screen" : "max-h-[90vh] shadow-xl";
2496
2507
  const t20 = scrollable && "overflow-y-auto";
2497
- const t21 = displayed && open ? "opacity-100" : "opacity-0";
2508
+ const t21 = displayed && open ? "opacity-100 scale-100" : "opacity-0 scale-[0.97]";
2498
2509
  const t22 = maxWidth && !fullScreen ? widthClasses[maxWidth] : void 0;
2499
2510
  let t23;
2500
2511
  if ($[16] !== className || $[17] !== t17 || $[18] !== t18 || $[19] !== t19 || $[20] !== t20 || $[21] !== t21 || $[22] !== t22) {
@@ -2829,7 +2840,7 @@
2829
2840
  const t13 = asField && fieldBackgroundMixin;
2830
2841
  let t14;
2831
2842
  if ($[11] !== t10 || $[12] !== t11 || $[13] !== t12 || $[14] !== t13 || $[15] !== titleClassName) {
2832
- t14 = cls("rounded-t flex items-center justify-between w-full min-h-[52px]", "hover:bg-surface-accent-200 hover:bg-opacity-40 hover:bg-surface-accent-200/40 dark:hover:bg-surface-800 dark:hover:bg-opacity-40 dark:hover:bg-surface-800/40", t10, t11, "transition-all duration-200", t12, t13, titleClassName, "cursor-pointer");
2843
+ t14 = cls("rounded-t flex items-center justify-between w-full min-h-[52px]", "hover:bg-surface-accent-200 hover:bg-opacity-40 hover:bg-surface-accent-200/40 dark:hover:bg-surface-800 dark:hover:bg-opacity-40 dark:hover:bg-surface-800/40 active:bg-surface-accent-300/50 dark:active:bg-surface-700/50", t10, t11, "transition-all duration-200", t12, t13, titleClassName, "cursor-pointer");
2833
2844
  $[11] = t10;
2834
2845
  $[12] = t11;
2835
2846
  $[13] = t12;
@@ -4038,7 +4049,7 @@
4038
4049
  if (orientation === "horizontal") {
4039
4050
  let t1;
4040
4051
  if ($[0] !== className) {
4041
- t1 = cls("dark:bg-opacity-80 dark:bg-surface-900 dark:bg-surface-900/80 bg-surface-100 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px my-4", className);
4052
+ t1 = cls("dark:bg-surface-700 bg-surface-200 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px my-4", className);
4042
4053
  $[0] = className;
4043
4054
  $[1] = t1;
4044
4055
  } else {
@@ -4057,7 +4068,7 @@
4057
4068
  } else {
4058
4069
  let t1;
4059
4070
  if ($[5] !== className) {
4060
- t1 = cls("dark:bg-opacity-80 dark:bg-surface-900 dark:bg-surface-900/80 bg-surface-100 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px mx-4", className);
4071
+ t1 = cls("dark:bg-surface-700 bg-surface-200 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px mx-4", className);
4061
4072
  $[5] = className;
4062
4073
  $[6] = t1;
4063
4074
  } else {
@@ -5052,12 +5063,13 @@
5052
5063
  autoFocus,
5053
5064
  disabled,
5054
5065
  loading,
5055
- inputRef
5066
+ inputRef,
5067
+ initialValue
5056
5068
  } = t0;
5057
5069
  const placeholder = t1 === void 0 ? "Search" : t1;
5058
5070
  const expandable = t2 === void 0 ? false : t2;
5059
5071
  const size = t3 === void 0 ? "medium" : t3;
5060
- const [searchText, setSearchText] = React.useState("");
5072
+ const [searchText, setSearchText] = React.useState(initialValue ?? "");
5061
5073
  const [active, setActive] = React.useState(false);
5062
5074
  const deferredValues = useDebounceValue(searchText, 200);
5063
5075
  let t4;
@@ -5107,7 +5119,7 @@
5107
5119
  const inputPaddingClass = size === "smallest" ? "pl-8" : size === "small" ? "pl-8" : "pl-12";
5108
5120
  let t7;
5109
5121
  if ($[7] !== className || $[8] !== heightClass) {
5110
- t7 = cls("relative transition-all", heightClass, "bg-surface-accent-50 dark:bg-surface-900 border", defaultBorderMixin, "focus-within:ring-2 focus-within:ring-primary focus-within:border-primary", "rounded-lg overflow-hidden", className);
5122
+ t7 = cls("relative transition-all", heightClass, "bg-surface-accent-50 dark:bg-surface-900 border", defaultBorderMixin, "focus-within:ring-1 focus-within:ring-primary/60 focus-within:border-primary focus-within:shadow-[0_0_0_3px_rgba(0,112,244,0.1)]", "rounded-lg overflow-hidden", className);
5111
5123
  $[7] = className;
5112
5124
  $[8] = heightClass;
5113
5125
  $[9] = t7;
@@ -5615,7 +5627,7 @@
5615
5627
  }
5616
5628
  let t40;
5617
5629
  if ($[99] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
5618
- t40 = cls(focusedDisabled, "z-50 relative overflow-hidden border bg-white dark:bg-surface-800 p-2 rounded-lg", defaultBorderMixin);
5630
+ t40 = cls(focusedDisabled, "z-50 relative overflow-hidden border bg-white dark:bg-surface-800 p-2 rounded-lg shadow-lg animate-in fade-in-0 zoom-in-95 duration-150", defaultBorderMixin);
5619
5631
  $[99] = t40;
5620
5632
  } else {
5621
5633
  t40 = $[99];
@@ -6707,7 +6719,7 @@
6707
6719
  const {
6708
6720
  variant
6709
6721
  } = React.useContext(TabsContext);
6710
- const t1 = variant === "standard" && "rounded-sm px-3 py-1.5 data-[state=active]:bg-white data-[state=active]:text-surface-900 dark:data-[state=active]:bg-surface-900 dark:data-[state=active]:text-surface-50";
6722
+ const t1 = variant === "standard" && "rounded-sm px-3 py-1.5 data-[state=active]:bg-white data-[state=active]:text-surface-900 data-[state=active]:shadow-sm dark:data-[state=active]:bg-surface-900 dark:data-[state=active]:text-surface-50";
6711
6723
  let t2;
6712
6724
  if ($[0] !== className || $[1] !== innerClassName || $[2] !== t1 || $[3] !== variant) {
6713
6725
  t2 = cls("inline-flex items-center justify-center whitespace-nowrap text-sm font-medium ring-offset-white transition-all", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-surface-400 focus-visible:ring-offset-2", "disabled:pointer-events-none disabled:opacity-50", t1, variant === "boxy" && cls("flex-shrink-0 flex items-center gap-1.5 px-3.5 h-9 border-r border-surface-200 dark:border-surface-800 cursor-pointer text-[12px] font-medium transition-colors group relative box-border overflow-hidden", "border-b-2 border-b-transparent", "data-[state=active]:bg-surface-50 dark:data-[state=active]:bg-surface-900", "data-[state=active]:text-text-primary dark:data-[state=active]:text-text-primary-dark", "data-[state=active]:border-b-primary", "text-text-secondary dark:text-text-secondary-dark hover:bg-surface-100 dark:hover:bg-surface-800"), variant === "pill" && cls("px-2 py-0.5 rounded text-[10px] font-medium transition-colors", "data-[state=active]:bg-primary/10 data-[state=active]:text-primary dark:data-[state=active]:bg-primary/20 dark:data-[state=active]:text-blue-400", "text-text-disabled dark:text-text-disabled-dark hover:text-text-secondary dark:hover:text-text-secondary-dark"), className, variant === "standard" && innerClassName);
@@ -7291,8 +7303,8 @@
7291
7303
  }
7292
7304
  let t5;
7293
7305
  if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
7294
- t5 = /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/40 dark:via-white/5 to-transparent", style: {
7295
- animation: "shimmer 1s infinite"
7306
+ t5 = /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/50 dark:via-white/8 to-transparent", style: {
7307
+ animation: "shimmer 1.8s ease-in-out infinite"
7296
7308
  } });
7297
7309
  $[5] = t5;
7298
7310
  } else {
@@ -7334,7 +7346,7 @@
7334
7346
  if (!option.disabled) {
7335
7347
  onValueChange(option.value);
7336
7348
  }
7337
- }, disabled: option.disabled, "aria-pressed": value === option.value, "aria-disabled": option.disabled || void 0, className: cls("flex flex-row items-center justify-center gap-2 py-3 px-4 rounded-md transition-colors", value === option.value ? "bg-white dark:bg-surface-900 text-primary dark:text-primary-300" : "text-surface-500 dark:text-surface-400 hover:bg-surface-100 dark:hover:bg-surface-700", option.disabled && "opacity-50 cursor-not-allowed"), children: [
7349
+ }, disabled: option.disabled, "aria-pressed": value === option.value, "aria-disabled": option.disabled || void 0, className: cls("flex flex-row items-center justify-center gap-2 py-3 px-4 rounded-md transition-colors", value === option.value ? "bg-white dark:bg-surface-900 text-primary dark:text-primary-300 shadow-sm" : "text-surface-500 dark:text-surface-400 hover:bg-surface-100 dark:hover:bg-surface-700", option.disabled && "opacity-50 cursor-not-allowed"), children: [
7338
7350
  option.icon,
7339
7351
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm font-medium", children: option.label })
7340
7352
  ] }, option.value);
@@ -8104,7 +8116,7 @@
8104
8116
  /* @__PURE__ */ jsxRuntime.jsx("div", { style: {
8105
8117
  position: "sticky",
8106
8118
  top: 0,
8107
- zIndex: 10
8119
+ zIndex: 20
8108
8120
  }, children: /* @__PURE__ */ jsxRuntime.jsx(VirtualTableHeaderRow, { ...virtualTableProps }) }),
8109
8121
  !customView && children
8110
8122
  ] }) }),
@@ -8297,7 +8309,7 @@
8297
8309
  const customView = error ? /* @__PURE__ */ jsxRuntime.jsxs(CenteredView, { maxWidth: "2xl", className: "flex flex-col gap-2", children: [
8298
8310
  /* @__PURE__ */ jsxRuntime.jsx(Typography, { variant: "h6", children: "Error" }),
8299
8311
  error?.message && /* @__PURE__ */ jsxRuntime.jsx(SafeLinkRenderer, { text: error.message })
8300
- ] }) : empty ? loading ? /* @__PURE__ */ jsxRuntime.jsx(CircularProgressCenter, {}) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col overflow-auto items-center justify-center p-8 h-full", children: emptyComponent }) : void 0;
8312
+ ] }) : empty ? loading ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12 px-8", children: /* @__PURE__ */ jsxRuntime.jsx(CircularProgress, { size: "small" }) }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col overflow-auto items-center justify-center py-12 px-8", children: emptyComponent }) : void 0;
8301
8313
  const virtualListController = React.useMemo(() => ({
8302
8314
  data,
8303
8315
  rowHeight,