@harnessio/ui 0.5.37 → 0.5.39

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.
@@ -1,6 +1,6 @@
1
- import { p as R, t as I } from "./tailwind-design-system-D9j_K4lL.js";
2
- import { F as S, C as l } from "./form-constants-CdD106iI.js";
3
- const T = {
1
+ import { p as I, t as T } from "./tailwind-design-system-D9j_K4lL.js";
2
+ import { F as z, C as l } from "./form-constants-CdD106iI.js";
3
+ const W = {
4
4
  ".cn-accordion": {
5
5
  display: "flex",
6
6
  flexDirection: "column",
@@ -27,7 +27,7 @@ const T = {
27
27
  "@apply font-heading-base": ""
28
28
  },
29
29
  "&.cn-accordion-card": {
30
- [`@apply ${S}`]: ""
30
+ [`@apply ${z}`]: ""
31
31
  }
32
32
  },
33
33
  "&-item": {
@@ -121,7 +121,7 @@ const T = {
121
121
  }
122
122
  }
123
123
  }
124
- }, W = ["info", "danger", "warning", "success"], B = {
124
+ }, B = ["info", "danger", "warning", "success"], H = {
125
125
  info: {
126
126
  backgroundColor: "gray-secondary",
127
127
  color: "text-cn-2",
@@ -143,10 +143,10 @@ const T = {
143
143
  fadeBgColor: "success"
144
144
  }
145
145
  };
146
- function H() {
146
+ function L() {
147
147
  const r = {};
148
- return W.forEach((e) => {
149
- const n = {}, { backgroundColor: o, color: a, fadeBgColor: t } = B[e];
148
+ return B.forEach((e) => {
149
+ const n = {}, { backgroundColor: o, color: a, fadeBgColor: t } = H[e];
150
150
  n.backgroundColor = `var(--cn-set-${o}-bg)`, n["> .cn-alert-icon"] = {
151
151
  color: `var(--cn-${a})`
152
152
  }, n[" .cn-alert-fade-overlay"] = {
@@ -154,7 +154,7 @@ function H() {
154
154
  }, r[`&:where(.cn-alert-${e})`] = n;
155
155
  }), r;
156
156
  }
157
- const L = {
157
+ const A = {
158
158
  ".cn-alert": {
159
159
  gap: "var(--cn-alert-gap)",
160
160
  paddingTop: "var(--cn-alert-py)",
@@ -243,12 +243,12 @@ const L = {
243
243
  "&-link-wrapper": {
244
244
  paddingTop: "var(--cn-spacing-1)"
245
245
  },
246
- ...H()
246
+ ...L()
247
247
  }
248
- }, A = ["md", "sm", "lg", "xs"];
249
- function D() {
248
+ }, D = ["md", "sm", "lg", "xs"];
249
+ function E() {
250
250
  const r = {};
251
- return A.forEach((e) => {
251
+ return D.forEach((e) => {
252
252
  e === "xs" ? r[`&:where(.cn-avatar-${e})`] = {
253
253
  height: `var(--cn-avatar-size-${e})`,
254
254
  width: `var(--cn-avatar-size-${e})`,
@@ -263,7 +263,7 @@ function D() {
263
263
  };
264
264
  }), r;
265
265
  }
266
- const E = {
266
+ const j = {
267
267
  ".cn-avatar": {
268
268
  display: "inline-flex",
269
269
  alignItems: "center",
@@ -274,7 +274,7 @@ const E = {
274
274
  boxShadow: "var(--cn-comp-shadow-avatar-inner)",
275
275
  letterSpacing: "var(--cn-tracking-tight)",
276
276
  "@apply shrink-0": "",
277
- ...D(),
277
+ ...E(),
278
278
  "&:where(.cn-avatar-rounded)": {
279
279
  borderRadius: "var(--cn-avatar-radius-rounded)"
280
280
  },
@@ -298,7 +298,7 @@ const E = {
298
298
  // Avatar xs → Icon xs, Avatar sm → Icon sm, Avatar md → Icon sm, Avatar lg → Icon md
299
299
  ".cn-avatar-icon": {}
300
300
  }
301
- }, j = ["primary", "secondary", "outline", "status", "ghost"], P = ["success", "info", "warning", "danger", "muted", "merged", "risk"], O = {
301
+ }, P = ["primary", "secondary", "outline", "status", "ghost"], O = ["success", "info", "warning", "danger", "muted", "merged", "risk"], _ = {
302
302
  success: "success",
303
303
  info: "blue",
304
304
  warning: "warning",
@@ -307,18 +307,18 @@ const E = {
307
307
  merged: "purple",
308
308
  risk: "orange"
309
309
  };
310
- function _() {
310
+ function X() {
311
311
  const r = {}, e = {};
312
- return j.forEach((n) => {
313
- P.forEach((o) => {
314
- const a = {}, t = O[o];
312
+ return P.forEach((n) => {
313
+ O.forEach((o) => {
314
+ const a = {}, t = _[o];
315
315
  n === "ghost" ? (a.color = `var(--cn-set-${t}-outline-text)`, r[`&:where(.cn-badge-${n}.cn-badge-${o})`] = a) : n !== "status" ? (a.backgroundColor = `var(--cn-set-${t}-${n}-bg)`, a.color = `var(--cn-set-${t}-${n}-text)`, a.borderColor = `var(--cn-set-${t}-${n}-border, var(--cn-set-${t}-${n}-bg))`, r[`&:where(.cn-badge-${n}.cn-badge-${o})`] = a) : e[`&.cn-badge-status.cn-badge-${o} > .cn-badge-indicator`] = {
316
316
  backgroundColor: `var(--cn-set-${t}-primary-bg)`
317
317
  };
318
318
  });
319
319
  }), { ...r, ...e };
320
320
  }
321
- const X = {
321
+ const F = {
322
322
  ".cn-badge": {
323
323
  paddingBlock: "var(--cn-badge-md-py)",
324
324
  paddingInline: "var(--cn-badge-md-px)",
@@ -371,9 +371,9 @@ const X = {
371
371
  }
372
372
  },
373
373
  /** Variants */
374
- ..._()
374
+ ...X()
375
375
  }
376
- }, F = {
376
+ }, V = {
377
377
  ".cn-breadcrumb": {
378
378
  "@apply flex flex-wrap items-center break-words select-none": "",
379
379
  gap: "var(--cn-spacing-1)"
@@ -476,23 +476,23 @@ const X = {
476
476
  color: "var(--cn-text-1)"
477
477
  }
478
478
  }
479
- }, V = ["primary", "secondary", "outline", "ghost"], Y = ["success", "danger", "default"], G = ["3xs", "2xs", "xs", "sm", "md"], v = "0.99", s = "150ms", p = "ease-in-out", N = {
479
+ }, Y = ["primary", "secondary", "outline", "ghost"], G = ["success", "danger", "default"], N = ["3xs", "2xs", "xs", "sm", "md"], u = "0.99", s = "150ms", p = "ease-in-out", M = {
480
480
  success: "success",
481
481
  danger: "danger",
482
482
  default: "gray"
483
483
  };
484
- function M() {
484
+ function U() {
485
485
  const r = {}, e = {};
486
- return V.forEach((n) => {
487
- Y.forEach((o) => {
488
- const a = {}, t = N[o];
486
+ return Y.forEach((n) => {
487
+ G.forEach((o) => {
488
+ const a = {}, t = M[o];
489
489
  if (n === "ghost") {
490
490
  a.color = `var(--cn-set-${t}-outline-text)`;
491
- const c = o === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${t}-outline-bg-hover)`, $ = o === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${t}-outline-bg-selected)`;
491
+ const c = o === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${t}-outline-bg-hover)`, R = o === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${t}-outline-bg-selected)`;
492
492
  a["&:hover:not(:disabled, .cn-button-disabled)"] = {
493
493
  backgroundColor: c
494
494
  }, a["&:active:not(:disabled, .cn-button-disabled), &:where(.cn-button-active), &:where([data-state=open])"] = {
495
- backgroundColor: $
495
+ backgroundColor: R
496
496
  };
497
497
  } else {
498
498
  const c = n === "primary" && o === "default" ? "brand" : t;
@@ -521,9 +521,9 @@ function M() {
521
521
  });
522
522
  }), { ...r, ...e };
523
523
  }
524
- function U() {
524
+ function K() {
525
525
  const r = {};
526
- return G.forEach((e) => {
526
+ return N.forEach((e) => {
527
527
  r[`&:where(.cn-button-${e})`] = {
528
528
  height: `var(--cn-btn-size-${e})`,
529
529
  paddingBlock: `var(--cn-btn-py-${e})`,
@@ -532,7 +532,7 @@ function U() {
532
532
  };
533
533
  }), r;
534
534
  }
535
- const K = {
535
+ const q = {
536
536
  ".cn-button": {
537
537
  transitionProperty: "color, background-color, border-color, text-decoration-color, fill, stroke, transform, box-shadow, opacity",
538
538
  transitionDuration: s,
@@ -548,7 +548,7 @@ const K = {
548
548
  border: "var(--cn-btn-border) solid var(--cn-set-gray-outline-border)",
549
549
  "@apply font-body-single-line-normal select-none overflow-hidden inline-flex items-center justify-center whitespace-nowrap": "",
550
550
  "&:active:not(:disabled, .cn-button-disabled, .cn-button-split-dropdown)": {
551
- transform: `scale(${v})`
551
+ transform: `scale(${u})`
552
552
  },
553
553
  "&:where(.cn-button-split-dropdown)": {
554
554
  height: "var(--cn-btn-size-md)",
@@ -564,7 +564,7 @@ const K = {
564
564
  }
565
565
  },
566
566
  // sizes
567
- ...U(),
567
+ ...K(),
568
568
  "&:where(.cn-button-xs, .cn-button-3xs, .cn-button-2xs)": {
569
569
  "@apply font-caption-single-line-normal": ""
570
570
  },
@@ -610,7 +610,7 @@ const K = {
610
610
  }
611
611
  },
612
612
  // variant styles
613
- ...M(),
613
+ ...U(),
614
614
  // Rounded
615
615
  "&:where(.cn-button-rounded)": {
616
616
  borderRadius: "var(--cn-btn-rounded-radius)"
@@ -724,10 +724,10 @@ const K = {
724
724
  transform: "none !important"
725
725
  },
726
726
  "&:has(> .cn-button:active)": {
727
- transform: `scale(${v})`
727
+ transform: `scale(${u})`
728
728
  }
729
729
  }
730
- }, q = {
730
+ }, J = {
731
731
  ".cn-button-group": {
732
732
  "@apply flex": "",
733
733
  "&-horizontal": {
@@ -768,7 +768,7 @@ const K = {
768
768
  }
769
769
  }
770
770
  }
771
- }, J = {
771
+ }, Q = {
772
772
  ".cn-button-layout": {
773
773
  gap: "var(--cn-layout-sm)",
774
774
  "@apply flex": "",
@@ -808,7 +808,7 @@ const K = {
808
808
  "@apply flex": ""
809
809
  }
810
810
  }
811
- }, Q = {
811
+ }, Z = {
812
812
  ".cn-caption": {
813
813
  gap: "var(--cn-spacing-1)",
814
814
  "@apply w-full inline-flex items-start": ""
@@ -816,7 +816,7 @@ const K = {
816
816
  ":where([disabled]) + .cn-caption": {
817
817
  "@apply opacity-cn-disabled": ""
818
818
  }
819
- }, Z = {
819
+ }, ee = {
820
820
  ".cn-card": {
821
821
  border: "var(--cn-card-border) solid var(--cn-border-2)",
822
822
  borderRadius: "var(--cn-card-md-radius)",
@@ -901,7 +901,7 @@ const K = {
901
901
  "@apply outline-offset-cn-tight": ""
902
902
  }
903
903
  }
904
- }, ee = {
904
+ }, re = {
905
905
  ".cn-card-select-root": {
906
906
  display: "grid",
907
907
  "&:where(.cn-card-select-horizontal)": {
@@ -977,7 +977,7 @@ const K = {
977
977
  ".cn-card-select-hidden-input": {
978
978
  "@apply sr-only": ""
979
979
  }
980
- }, re = {
980
+ }, ne = {
981
981
  ".cn-checkbox-wrapper": {
982
982
  display: "flex",
983
983
  gap: "var(--cn-spacing-2-half)",
@@ -1106,7 +1106,7 @@ const K = {
1106
1106
  },
1107
1107
  "@apply truncate": ""
1108
1108
  }
1109
- }, ne = {
1109
+ }, ae = {
1110
1110
  ".cn-modal-dialog-overlay": {
1111
1111
  backgroundColor: "var(--cn-comp-dialog-backdrop)",
1112
1112
  padding: "var(--cn-dialog-safezone)",
@@ -1275,7 +1275,7 @@ const K = {
1275
1275
  opacity: "0"
1276
1276
  }
1277
1277
  }
1278
- }, ae = {
1278
+ }, oe = {
1279
1279
  ".cn-drawer": {
1280
1280
  "&-content": {
1281
1281
  userSelect: "auto !important",
@@ -1680,7 +1680,7 @@ const K = {
1680
1680
  }
1681
1681
  }
1682
1682
  }
1683
- }, oe = [
1683
+ }, te = [
1684
1684
  "gray",
1685
1685
  "green",
1686
1686
  "red",
@@ -1695,14 +1695,14 @@ const K = {
1695
1695
  "orange",
1696
1696
  "pink",
1697
1697
  "violet"
1698
- ], te = () => {
1698
+ ], ce = () => {
1699
1699
  const r = {};
1700
- return oe.forEach((e) => {
1700
+ return te.forEach((e) => {
1701
1701
  r[`&.cn-dropdown-menu-item-indicator-${e}`] = {
1702
1702
  backgroundColor: `var(--cn-set-${e}-solid-bg)`
1703
1703
  };
1704
1704
  }), r;
1705
- }, ce = {
1705
+ }, ie = {
1706
1706
  ".cn-dropdown-menu": {
1707
1707
  zIndex: "50",
1708
1708
  minWidth: "var(--cn-dropdown-min-width)",
@@ -1780,7 +1780,7 @@ const K = {
1780
1780
  height: "var(--cn-badge-indicator-size-sm)",
1781
1781
  borderRadius: "var(--cn-rounded-full)",
1782
1782
  flexShrink: "0",
1783
- ...te()
1783
+ ...ce()
1784
1784
  }
1785
1785
  },
1786
1786
  "&-group-label": {
@@ -1808,9 +1808,9 @@ const K = {
1808
1808
  padding: "calc(var(--cn-dropdown-item-py) + var(--cn-spacing-4)) var(--cn-dropdown-item-px)"
1809
1809
  }
1810
1810
  }
1811
- }, ie = {
1811
+ }, de = {
1812
1812
  ".cn-form": {
1813
- [`@apply flex flex-col ${S}`]: ""
1813
+ [`@apply flex flex-col ${z}`]: ""
1814
1814
  },
1815
1815
  ":where(.cn-control-group)": {
1816
1816
  [`@apply relative flex flex-col ${l}`]: "",
@@ -1832,15 +1832,15 @@ const K = {
1832
1832
  ":where(.cn-control-group-input)": {
1833
1833
  [`@apply relative flex flex-col ${l}`]: ""
1834
1834
  }
1835
- }, de = ["2xs", "xs", "sm", "md", "lg", "xl"], le = ["xs", "sm", "md", "lg"];
1835
+ }, le = ["2xs", "xs", "sm", "md", "lg", "xl"], se = ["xs", "sm", "md", "lg"];
1836
1836
  function b(r) {
1837
- const e = r === "icon" ? de : le, n = r === "symbol" ? "logo" : r, o = {};
1837
+ const e = r === "icon" ? le : se, n = r === "symbol" ? "logo" : r, o = {};
1838
1838
  return e.forEach((a) => {
1839
1839
  const t = {};
1840
1840
  t.width = `var(--cn-${n}-size-${a})`, t["min-width"] = `var(--cn-${n}-size-${a})`, t.height = `var(--cn-${n}-size-${a})`, t["min-height"] = `var(--cn-${n}-size-${a})`, r === "icon" && (t["stroke-width"] = `var(--cn-icon-stroke-width-${a})`), o[`&:where(.cn-${r}-${a})`] = t;
1841
1841
  }), o;
1842
1842
  }
1843
- const se = {
1843
+ const pe = {
1844
1844
  ".cn-icon": {
1845
1845
  ...b("icon")
1846
1846
  },
@@ -1850,10 +1850,10 @@ const se = {
1850
1850
  ".cn-symbol": {
1851
1851
  ...b("symbol")
1852
1852
  }
1853
- }, pe = ["danger", "warning", "success"];
1854
- function be() {
1853
+ }, be = ["danger", "warning", "success"];
1854
+ function ge() {
1855
1855
  const r = {};
1856
- return pe.forEach((e) => {
1856
+ return be.forEach((e) => {
1857
1857
  r[`&:where(.cn-input-${e}):not(:has(input[disabled]))`] = {
1858
1858
  borderColor: `var(--cn-border-${e})`,
1859
1859
  boxShadow: `var(--cn-ring-${e})`,
@@ -1868,7 +1868,7 @@ function be() {
1868
1868
  };
1869
1869
  }), r;
1870
1870
  }
1871
- const ge = {
1871
+ const ve = {
1872
1872
  ".cn-input": {
1873
1873
  "&-input": {
1874
1874
  height: "100%",
@@ -1956,7 +1956,7 @@ const ge = {
1956
1956
  "@apply h-full border-0 border-l rounded-l-cn-none": "",
1957
1957
  borderColor: "inherit"
1958
1958
  },
1959
- ...be()
1959
+ ...ge()
1960
1960
  },
1961
1961
  "&-search": {
1962
1962
  "&:where(.cn-input-input)": {
@@ -1967,7 +1967,7 @@ const ge = {
1967
1967
  }
1968
1968
  }
1969
1969
  }
1970
- }, ve = {
1970
+ }, ue = {
1971
1971
  ".cn-label": {
1972
1972
  "@apply font-body-normal": "",
1973
1973
  display: "grid",
@@ -1995,7 +1995,7 @@ const ge = {
1995
1995
  color: "var(--cn-set-danger-secondary-text)"
1996
1996
  }
1997
1997
  }
1998
- }, ue = {
1998
+ }, he = {
1999
1999
  ".cn-link": {
2000
2000
  display: "inline-flex",
2001
2001
  alignItems: "center",
@@ -2056,7 +2056,7 @@ const ge = {
2056
2056
  textDecorationLine: "none !important"
2057
2057
  }
2058
2058
  }
2059
- }, he = {
2059
+ }, me = {
2060
2060
  ".cn-message-bubble": {
2061
2061
  display: "flex",
2062
2062
  flexDirection: "column",
@@ -2082,7 +2082,7 @@ const ge = {
2082
2082
  gap: "var(--cn-spacing-1)"
2083
2083
  }
2084
2084
  }
2085
- }, me = {
2085
+ }, xe = {
2086
2086
  ".cn-meter": {
2087
2087
  "@apply flex h-[19px] items-stretch gap-cn-3xs": "",
2088
2088
  "&:has(.cn-meter-tooltip-bar:hover) .cn-meter-bar:not(:hover)": {
@@ -2096,10 +2096,10 @@ const ge = {
2096
2096
  transition: "all 0.15s"
2097
2097
  }
2098
2098
  }
2099
- }, xe = ["danger", "warning"];
2100
- function ye() {
2099
+ }, ye = ["danger", "warning"];
2100
+ function fe() {
2101
2101
  const r = {};
2102
- return xe.forEach((e) => {
2102
+ return ye.forEach((e) => {
2103
2103
  r[`&:where(.cn-multi-select-${e}):not(:has(input[disabled]))`] = {
2104
2104
  borderColor: `var(--cn-border-${e})`,
2105
2105
  boxShadow: `var(--cn-ring-${e})`,
@@ -2114,7 +2114,7 @@ function ye() {
2114
2114
  };
2115
2115
  }), r;
2116
2116
  }
2117
- const fe = {
2117
+ const we = {
2118
2118
  ".cn-multi-select": {
2119
2119
  "&-outer-container": {
2120
2120
  "@apply flex flex-col gap-cn-xs": ""
@@ -2134,7 +2134,7 @@ const fe = {
2134
2134
  "&:where(:hover):not(:has(input[disabled]))": {
2135
2135
  borderColor: "var(--cn-border-brand)"
2136
2136
  },
2137
- ...ye()
2137
+ ...fe()
2138
2138
  },
2139
2139
  "&-tag-wrapper": {
2140
2140
  "@apply relative flex flex-wrap items-center gap-cn-xs": ""
@@ -2161,7 +2161,7 @@ const fe = {
2161
2161
  "@apply border rounded-cn-3 shadow-cn-3 mt-cn-3xs overflow-hidden animate-in absolute top-cn-3xs z-[55] w-full outline-none": ""
2162
2162
  }
2163
2163
  }
2164
- }, we = {
2164
+ }, ke = {
2165
2165
  ".cn-pagination": {
2166
2166
  "&-root": {
2167
2167
  containerType: "inline-size",
@@ -2201,7 +2201,7 @@ const fe = {
2201
2201
  paddingInline: "var(--cn-pagination-btn-px)"
2202
2202
  }
2203
2203
  }
2204
- }, ke = {
2204
+ }, Ce = {
2205
2205
  ".cn-popover": {
2206
2206
  "&-content": {
2207
2207
  display: "grid",
@@ -2285,7 +2285,7 @@ const fe = {
2285
2285
  }
2286
2286
  }
2287
2287
  }
2288
- }, Ce = ["sm", "md", "lg"], Se = ["processing", "completed", "paused", "failed"], i = {
2288
+ }, Se = ["sm", "md", "lg"], ze = ["processing", "completed", "paused", "failed"], i = {
2289
2289
  processing: {
2290
2290
  progressBg: "progress",
2291
2291
  color: "text-cn-3"
@@ -2302,25 +2302,25 @@ const fe = {
2302
2302
  progressBg: "danger",
2303
2303
  color: "text-danger"
2304
2304
  }
2305
- }, g = "var(--cn-comp-slider-track-progress-stripes)", ze = `linear-gradient(45deg,
2305
+ }, g = "var(--cn-comp-slider-track-progress-stripes)", $e = `linear-gradient(45deg,
2306
2306
  ${g} 18.75%,
2307
2307
  transparent 18.75%,
2308
2308
  transparent 50%,
2309
2309
  ${g} 50%,
2310
2310
  ${g} 68.75%,
2311
2311
  transparent 68.75%,
2312
- transparent)`, $e = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
2313
- function Re() {
2312
+ transparent)`, Re = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
2313
+ function Ie() {
2314
2314
  const r = {};
2315
- return Ce.forEach((e) => {
2315
+ return Se.forEach((e) => {
2316
2316
  const n = {};
2317
2317
  n[" .cn-progress-root"] = {
2318
2318
  height: `var(--cn-progress-size-${e})`
2319
2319
  }, n[" .cn-progress-processing-fake"] = {
2320
- "background-size": $e(e),
2320
+ "background-size": Re(e),
2321
2321
  "animation-name": `cnProgressBar-${e}`
2322
2322
  }, r[`&:where(.cn-progress-${e})`] = n;
2323
- }), Se.forEach((e) => {
2323
+ }), ze.forEach((e) => {
2324
2324
  const n = {};
2325
2325
  n[" .cn-progress-root::-webkit-progress-value"] = {
2326
2326
  "background-color": `var(--cn-comp-slider-track-${i[e].progressBg})`
@@ -2335,7 +2335,7 @@ function Re() {
2335
2335
  }, r[`&:where(.cn-progress-${e})`] = n;
2336
2336
  }), r;
2337
2337
  }
2338
- const Ie = {
2338
+ const Te = {
2339
2339
  ".cn-progress": {
2340
2340
  "&-container": {
2341
2341
  position: "relative"
@@ -2420,13 +2420,13 @@ const Ie = {
2420
2420
  },
2421
2421
  "&-processing-fake": {
2422
2422
  "background-color": "var(--cn-comp-slider-track-progress)",
2423
- "background-image": ze,
2423
+ "background-image": $e,
2424
2424
  "background-size": "16px 16px",
2425
2425
  height: "100%",
2426
2426
  width: "100%",
2427
2427
  animation: "cnProgressBar-md 0.8s linear infinite"
2428
2428
  },
2429
- ...Re(),
2429
+ ...Ie(),
2430
2430
  "@keyframes cnProgressIndeterminateAnimation": {
2431
2431
  "0%": {
2432
2432
  transform: "translateX(-100%)"
@@ -2460,7 +2460,7 @@ const Ie = {
2460
2460
  }
2461
2461
  }
2462
2462
  }
2463
- }, Te = {
2463
+ }, We = {
2464
2464
  "@property --cn-angle": {
2465
2465
  syntax: '"<angle>"',
2466
2466
  inherits: "true",
@@ -2526,7 +2526,7 @@ const Ie = {
2526
2526
  boxShadow: "0 0 3px 0 color-mix(in srgb, var(--cn-gradient-ai-stop-3) 30%, transparent), 0 0 12px 2px color-mix(in srgb, var(--cn-gradient-ai-stop-3) 15%, transparent), 0 0 28px 6px color-mix(in srgb, var(--cn-gradient-ai-stop-3) 8%, transparent)"
2527
2527
  }
2528
2528
  }
2529
- }, We = {
2529
+ }, Be = {
2530
2530
  ":where(.cn-radio-control)": {
2531
2531
  [`@apply ${l}`]: ""
2532
2532
  },
@@ -2611,7 +2611,7 @@ const Ie = {
2611
2611
  "@apply opacity-cn-disabled": ""
2612
2612
  }
2613
2613
  }
2614
- }, Be = {
2614
+ }, He = {
2615
2615
  ".cn-reasoning": {
2616
2616
  marginBottom: "var(--cn-spacing-4)"
2617
2617
  },
@@ -2664,7 +2664,7 @@ const Ie = {
2664
2664
  opacity: "0"
2665
2665
  }
2666
2666
  }
2667
- }, He = {
2667
+ }, Le = {
2668
2668
  ".cn-repo": {
2669
2669
  "&-header": {
2670
2670
  paddingTop: "var(--cn-page-container-spacing-py)",
@@ -2679,7 +2679,7 @@ const Ie = {
2679
2679
  }
2680
2680
  }
2681
2681
  }
2682
- }, Le = {
2682
+ }, Ae = {
2683
2683
  ".cn-sandbox-layout": {
2684
2684
  "&-content": {
2685
2685
  paddingTop: "var(--cn-page-container-spacing-py)",
@@ -2695,7 +2695,7 @@ const Ie = {
2695
2695
  paddingRight: "var(--cn-page-container-spacing-px)"
2696
2696
  }
2697
2697
  }
2698
- }, Ae = {
2698
+ }, De = {
2699
2699
  ".cn-scroll-area": {
2700
2700
  "@apply overflow-auto grid min-w-full": "",
2701
2701
  "&-content": {
@@ -2717,10 +2717,10 @@ const Ie = {
2717
2717
  }
2718
2718
  }
2719
2719
  }
2720
- }, De = ["danger", "warning"], Ee = ["sm"];
2721
- function je() {
2720
+ }, Ee = ["danger", "warning"], je = ["sm"];
2721
+ function Pe() {
2722
2722
  const r = {};
2723
- return De.forEach((e) => {
2723
+ return Ee.forEach((e) => {
2724
2724
  r[`&:where(.cn-select-${e}):not(:disabled)`] = {
2725
2725
  borderColor: `var(--cn-border-${e})`,
2726
2726
  boxShadow: `var(--cn-ring-${e})`,
@@ -2729,7 +2729,7 @@ function je() {
2729
2729
  boxShadow: `var(--cn-ring-${e}-hover)`
2730
2730
  }
2731
2731
  };
2732
- }), Ee.forEach((e) => {
2732
+ }), je.forEach((e) => {
2733
2733
  r[`&.cn-select-${e}`] = {
2734
2734
  height: `var(--cn-input-size-${e})`
2735
2735
  }, r[`&.cn-select-${e} .cn-select-trigger`] = {
@@ -2737,7 +2737,7 @@ function je() {
2737
2737
  };
2738
2738
  }), r;
2739
2739
  }
2740
- const Pe = {
2740
+ const Oe = {
2741
2741
  ".cn-select": {
2742
2742
  display: "flex",
2743
2743
  alignItems: "center",
@@ -2788,9 +2788,9 @@ const Pe = {
2788
2788
  aspectRatio: "1",
2789
2789
  height: "100%"
2790
2790
  },
2791
- ...je()
2791
+ ...Pe()
2792
2792
  }
2793
- }, Oe = {
2793
+ }, _e = {
2794
2794
  ".cn-shimmer": {
2795
2795
  position: "relative",
2796
2796
  display: "inline-block",
@@ -2801,7 +2801,7 @@ const Pe = {
2801
2801
  backgroundImage: "var(--shimmer-highlight), linear-gradient(var(--shimmer-color), var(--shimmer-color))",
2802
2802
  backgroundRepeat: "no-repeat, padding-box"
2803
2803
  }
2804
- }, _e = {
2804
+ }, Xe = {
2805
2805
  ".cn-shortcut": {
2806
2806
  "&, &.cn-input-suffix": {
2807
2807
  display: "inline-flex",
@@ -2818,15 +2818,15 @@ const Pe = {
2818
2818
  }, d = (r) => ({
2819
2819
  color: r,
2820
2820
  "& svg, & path": { color: r, stroke: r, fill: "none" }
2821
- }), Xe = {
2821
+ }), Fe = {
2822
2822
  ".cn-sidebar-item-content-title": { color: "var(--cn-comp-sidebar-item-text-hover)" },
2823
2823
  ".cn-sidebar-item-content-icon": { color: "var(--cn-comp-sidebar-item-text-hover)" }
2824
- }, u = {
2824
+ }, h = {
2825
2825
  ".cn-sidebar-item-content-title": { color: "var(--cn-comp-sidebar-item-text-selected)" },
2826
2826
  ".cn-sidebar-item-content-icon": { color: "var(--cn-comp-sidebar-item-text-selected)" }
2827
- }, h = {
2828
- "& .cn-sidebar-item-content-icon": { color: "var(--cn-text-1)" }
2829
2827
  }, m = {
2828
+ "& .cn-sidebar-item-content-icon": { color: "var(--cn-text-1)" }
2829
+ }, x = {
2830
2830
  ".cn-sidebar-item-content.cn-sidebar-item-content-w-description": {
2831
2831
  ".cn-sidebar-item-content-icon": {
2832
2832
  alignSelf: "stretch",
@@ -2834,7 +2834,7 @@ const Pe = {
2834
2834
  alignItems: "center"
2835
2835
  }
2836
2836
  }
2837
- }, Fe = {
2837
+ }, Ve = {
2838
2838
  "& .cn-input-prefix": {
2839
2839
  "@apply ml-0": ""
2840
2840
  },
@@ -2870,7 +2870,7 @@ const Pe = {
2870
2870
  opacity: "0"
2871
2871
  }
2872
2872
  }
2873
- }, Ve = {
2873
+ }, Ye = {
2874
2874
  ".cn-sidebar": {
2875
2875
  "&.cn-sidebar": {
2876
2876
  display: "flex",
@@ -3001,7 +3001,7 @@ const Pe = {
3001
3001
  overflow: "hidden",
3002
3002
  "@apply duration-150 transition-[max-width,margin-left,padding] ease-linear": "",
3003
3003
  // Router-active (e.g. NavLink); label colors — hover is handled on .cn-sidebar-item-wrapper
3004
- "&-active": u,
3004
+ "&-active": h,
3005
3005
  "&:hover": {
3006
3006
  textDecoration: "none !important"
3007
3007
  },
@@ -3042,7 +3042,7 @@ const Pe = {
3042
3042
  "&[data-active=false] .cn-sidebar-item-content": {
3043
3043
  backgroundColor: "var(--cn-state-hover)"
3044
3044
  },
3045
- ...Xe,
3045
+ ...Fe,
3046
3046
  ".cn-sidebar-item-action-menu": { opacity: "1" },
3047
3047
  ".cn-sidebar-item-content-action-buttons": { display: "flex !important" },
3048
3048
  ".cn-sidebar-item-grip-handle": { opacity: "1" },
@@ -3052,7 +3052,7 @@ const Pe = {
3052
3052
  ".cn-sidebar-item-content": {
3053
3053
  background: "var(--cn-comp-sidebar-item-selected)"
3054
3054
  },
3055
- ...u,
3055
+ ...h,
3056
3056
  ".cn-sidebar-item-action-menu": { opacity: "1" },
3057
3057
  ".cn-sidebar-item-active-indicator": {
3058
3058
  backgroundColor: "var(--cn-set-brand-primary-bg)",
@@ -3106,7 +3106,7 @@ const Pe = {
3106
3106
  `,
3107
3107
  gridTemplateColumns: "auto 1fr auto"
3108
3108
  },
3109
- ...h
3109
+ ...m
3110
3110
  },
3111
3111
  "&-w-r-element": {
3112
3112
  gridTemplateAreas: '"icon title elem"',
@@ -3130,7 +3130,7 @@ const Pe = {
3130
3130
  `,
3131
3131
  gridTemplateColumns: "auto 1fr auto auto"
3132
3132
  },
3133
- ...h
3133
+ ...m
3134
3134
  },
3135
3135
  /** Reserves space for active bar + grip handle so icon/title stay stable when active or dragging */
3136
3136
  "&-icon": { gridArea: "icon", marginLeft: "var(--cn-layout-sm)" },
@@ -3262,7 +3262,7 @@ const Pe = {
3262
3262
  }
3263
3263
  }
3264
3264
  },
3265
- "&[data-state=collapsed]": Fe
3265
+ "&[data-state=collapsed]": Ve
3266
3266
  },
3267
3267
  ".cn-sidebar-popover-measurement": {
3268
3268
  position: "fixed",
@@ -3284,11 +3284,11 @@ const Pe = {
3284
3284
  width: "var(--cn-size-64)",
3285
3285
  height: "100vh",
3286
3286
  borderRadius: "0 var(--cn-popover-radius) var(--cn-popover-radius) 0",
3287
- ...m
3287
+ ...x
3288
3288
  },
3289
3289
  ".cn-popover-content.cn-sidebar-popover": {
3290
3290
  backgroundColor: "var(--cn-bg-2)",
3291
- ...m,
3291
+ ...x,
3292
3292
  ".cn-sidebar-group-header": {
3293
3293
  padding: "var(--cn-layout-2xs)"
3294
3294
  },
@@ -3308,33 +3308,33 @@ const Pe = {
3308
3308
  backgroundColor: "var(--cn-comp-sidebar-separator)"
3309
3309
  }
3310
3310
  }
3311
- }, Ye = ["sm", "md", "lg", "xs"], Ge = ["2xs", "xs", "sm", "md", "lg", "xl"], Ne = ["xs", "sm", "md", "lg"], Me = ["sm"];
3312
- function Ue() {
3311
+ }, Ge = ["sm", "md", "lg", "xs"], Ne = ["2xs", "xs", "sm", "md", "lg", "xl"], Me = ["xs", "sm", "md", "lg"], Ue = ["sm"];
3312
+ function Ke() {
3313
3313
  const r = {};
3314
- return Ye.forEach((e) => {
3314
+ return Ge.forEach((e) => {
3315
3315
  r[`&:where(.cn-skeleton-avatar-${e})`] = {
3316
3316
  width: `var(--cn-avatar-size-${e})`,
3317
3317
  height: `var(--cn-avatar-size-${e})`
3318
3318
  };
3319
3319
  }), r;
3320
3320
  }
3321
- function x(r) {
3322
- const e = r === "icon" ? Ge : Ne, n = {};
3321
+ function y(r) {
3322
+ const e = r === "icon" ? Ne : Me, n = {};
3323
3323
  return e.forEach((o) => {
3324
3324
  const a = {};
3325
3325
  a.width = `var(--cn-${r}-size-${o})`, a["min-width"] = `var(--cn-${r}-size-${o})`, a.height = `var(--cn-${r}-size-${o})`, a["min-height"] = `var(--cn-${r}-size-${o})`, n[`&:where(.cn-skeleton-${r}-${o})`] = a;
3326
3326
  }), n;
3327
3327
  }
3328
- function Ke() {
3328
+ function qe() {
3329
3329
  const r = {};
3330
- return Me.forEach((e) => {
3330
+ return Ue.forEach((e) => {
3331
3331
  r[`&.cn-skeleton-form-item-${e}`] = {
3332
3332
  padding: `var(--cn-input-${e}-py) var(--cn-input-${e}-pr) var(--cn-input-${e}-py) var(--cn-input-${e}-pl)`,
3333
3333
  height: `var(--cn-input-size-${e})`
3334
3334
  };
3335
3335
  }), r;
3336
3336
  }
3337
- const qe = {
3337
+ const Je = {
3338
3338
  ".cn-skeleton": {
3339
3339
  "&-base": {
3340
3340
  backgroundImage: "var(--cn-comp-skeleton-bg)",
@@ -3349,13 +3349,13 @@ const qe = {
3349
3349
  "&:where(.cn-skeleton-avatar-rounded)": {
3350
3350
  borderRadius: "var(--cn-avatar-radius-rounded)"
3351
3351
  },
3352
- ...Ue()
3352
+ ...Ke()
3353
3353
  },
3354
3354
  "&-icon": {
3355
- ...x("icon")
3355
+ ...y("icon")
3356
3356
  },
3357
3357
  "&-logo": {
3358
- ...x("logo")
3358
+ ...y("logo")
3359
3359
  },
3360
3360
  "&-typography": {
3361
3361
  "&-wrapper": {
@@ -3385,7 +3385,7 @@ const qe = {
3385
3385
  border: "var(--cn-input-border) solid var(--cn-border-2)",
3386
3386
  borderRadius: "var(--cn-input-radius)",
3387
3387
  backgroundColor: "var(--cn-comp-input-bg)",
3388
- ...Ke()
3388
+ ...qe()
3389
3389
  }
3390
3390
  },
3391
3391
  "&-list": {
@@ -3406,7 +3406,7 @@ const qe = {
3406
3406
  backgroundPosition: "-200% 0"
3407
3407
  }
3408
3408
  }
3409
- }, Je = {
3409
+ }, Qe = {
3410
3410
  ".cn-slider": {
3411
3411
  display: "flex",
3412
3412
  flexDirection: "column",
@@ -3682,7 +3682,7 @@ const qe = {
3682
3682
  }
3683
3683
  }
3684
3684
  }
3685
- }, Qe = {
3685
+ }, Ze = {
3686
3686
  ".cn-stacked-list": {
3687
3687
  "@apply w-full bg-cn-1 border rounded-cn-3": "",
3688
3688
  "& > *:first-child > .cn-stacked-list-item": {
@@ -3750,7 +3750,7 @@ const qe = {
3750
3750
  }
3751
3751
  }
3752
3752
  }
3753
- }, Ze = {
3753
+ }, er = {
3754
3754
  ".cn-sticky-list-section": {
3755
3755
  "@apply relative": "",
3756
3756
  "&-sentinel": {
@@ -3777,14 +3777,14 @@ const qe = {
3777
3777
  "@apply relative": ""
3778
3778
  }
3779
3779
  }
3780
- }, z = ".cn-studio-card-header, .cn-studio-card-message, .cn-studio-card-footer, .cn-studio-card-content > .cn-studio-card-expand-button, .cn-studio-card-content > .cn-studio-card-button, .cn-studio-card-tag, .cn-studio-card-status", y = {
3781
- [z]: {
3780
+ }, $ = ".cn-studio-card-header, .cn-studio-card-message, .cn-studio-card-footer, .cn-studio-card-content > .cn-studio-card-expand-button, .cn-studio-card-content > .cn-studio-card-button, .cn-studio-card-tag, .cn-studio-card-status", f = {
3781
+ [$]: {
3782
3782
  opacity: "0.45 !important",
3783
3783
  transition: "opacity 200ms ease-in-out"
3784
3784
  }
3785
- }, f = {
3785
+ }, w = {
3786
3786
  boxShadow: "0 4px 6px -1px lch(from var(--cn-shadow-color-3) l c h / 0.05), 0 2px 8px -2px lch(from var(--cn-shadow-color-3) l c h / 0.05)"
3787
- }, er = {
3787
+ }, rr = {
3788
3788
  ".cn-studio-card": {
3789
3789
  borderRadius: "var(--cn-rounded-4)",
3790
3790
  border: "1px solid var(--cn-border-2)",
@@ -3829,9 +3829,9 @@ const qe = {
3829
3829
  "&:has(.cn-studio-card-group:hover)": {
3830
3830
  backgroundColor: "lch(from var(--cn-bg-3) l c h / 0.45) !important",
3831
3831
  borderColor: "lch(from var(--cn-border-2) l c h / 0.65) !important",
3832
- ...f,
3832
+ ...w,
3833
3833
  ">": {
3834
- ...y
3834
+ ...f
3835
3835
  }
3836
3836
  },
3837
3837
  // Group card variant
@@ -3958,8 +3958,8 @@ const qe = {
3958
3958
  '&:not(:has(> [data-status="executing"]))': {
3959
3959
  borderColor: "lch(from var(--cn-border-2) l c h / 0.65) !important"
3960
3960
  },
3961
- ...f,
3962
- ...y
3961
+ ...w,
3962
+ ...f
3963
3963
  },
3964
3964
  // Preserve opacity for the hovered group itself
3965
3965
  "& .cn-studio-card-group:hover": {
@@ -3973,7 +3973,7 @@ const qe = {
3973
3973
  // borderColor: 'lch(from var(--cn-border-2) l c h / 0.65) !important',
3974
3974
  },
3975
3975
  "@apply shadow-cn-3": "",
3976
- [z]: {
3976
+ [$]: {
3977
3977
  opacity: "1 !important"
3978
3978
  }
3979
3979
  }
@@ -4053,6 +4053,13 @@ const qe = {
4053
4053
  }
4054
4054
  }
4055
4055
  },
4056
+ // Stage footer (all sizes): exclude from intrinsic card width; fill width set by steps
4057
+ ".cn-studio-card-group.cn-studio-card-stage > .cn-studio-card-footer": {
4058
+ width: "0",
4059
+ minWidth: "100%",
4060
+ maxWidth: "100%",
4061
+ overflow: "hidden"
4062
+ },
4056
4063
  ".cn-studio-card-expand-button-main": {
4057
4064
  zIndex: "2",
4058
4065
  height: "100%",
@@ -4149,7 +4156,7 @@ const qe = {
4149
4156
  }
4150
4157
  }
4151
4158
  }
4152
- }, rr = {
4159
+ }, nr = {
4153
4160
  ".cn-switch-wrapper": {
4154
4161
  display: "flex",
4155
4162
  gap: "var(--cn-spacing-2-half)",
@@ -4238,7 +4245,7 @@ const qe = {
4238
4245
  },
4239
4246
  "@apply truncate": ""
4240
4247
  }
4241
- }, nr = {
4248
+ }, v = "linear-gradient(var(--cn-table-pinned-overlay), var(--cn-table-pinned-overlay)), var(--cn-table-pinned-base)", ar = {
4242
4249
  ".cn-table-v2": {
4243
4250
  "@apply w-full": "",
4244
4251
  // Table container
@@ -4298,7 +4305,12 @@ const qe = {
4298
4305
  // Header
4299
4306
  "&-header": {
4300
4307
  "@apply border-b": "",
4301
- borderColor: "var(--cn-border-3)"
4308
+ borderColor: "var(--cn-border-3)",
4309
+ // Separator between group row and leaf row in multi-row headers
4310
+ 'tr[data-header-depth="0"]:not(:last-child)': {
4311
+ "@apply border-b": "",
4312
+ borderColor: "var(--cn-border-3)"
4313
+ }
4302
4314
  },
4303
4315
  // Container highlight on hover
4304
4316
  "&:where(.cn-table-v2-highlight-hover) tbody > tr": {
@@ -4307,7 +4319,8 @@ const qe = {
4307
4319
  backgroundColor: "var(--cn-state-hover)"
4308
4320
  },
4309
4321
  "&>td.cn-table-v2-cell-pinned": {
4310
- background: "linear-gradient(var(--cn-state-hover), var(--cn-state-hover)), var(--cn-bg-1)"
4322
+ "--cn-table-pinned-overlay": "var(--cn-state-hover)",
4323
+ background: v
4311
4324
  },
4312
4325
  "& .cn-row-pin:not(.cn-row-pin-on)": {
4313
4326
  opacity: "1"
@@ -4334,6 +4347,10 @@ const qe = {
4334
4347
  "&:where([data-checked=true]) td": {
4335
4348
  backgroundColor: "var(--cn-state-selected)"
4336
4349
  },
4350
+ "&:where([data-checked=true]) td.cn-table-v2-cell-pinned": {
4351
+ "--cn-table-pinned-overlay": "var(--cn-state-selected)",
4352
+ background: v
4353
+ },
4337
4354
  "&-expanded": {
4338
4355
  backgroundColor: "var(--cn-state-selected)"
4339
4356
  },
@@ -4356,7 +4373,9 @@ const qe = {
4356
4373
  },
4357
4374
  // Head cell
4358
4375
  "&-head": {
4359
- "@apply text-cn-3 text-left align-middle font-medium overflow-hidden bg-cn-2 transition-colors": "",
4376
+ "--cn-table-pinned-base": "var(--cn-bg-2)",
4377
+ backgroundColor: "var(--cn-table-pinned-base)",
4378
+ "@apply text-cn-3 text-left align-middle font-medium overflow-hidden transition-colors": "",
4360
4379
  "@apply [&:has([role=checkbox])]:py-0 [&:has([role=checkbox])]:!pr-0 [&>[role=checkbox]]:translate-y-[2px]": "",
4361
4380
  "@apply [&:has([role=button])]:py-0 [&:has([role=button])]:!pr-0": "",
4362
4381
  paddingLeft: "var(--cn-table-header-px)",
@@ -4366,6 +4385,10 @@ const qe = {
4366
4385
  gap: "var(--cn-table-header-gap)",
4367
4386
  minHeight: "var(--cn-table-header-min)"
4368
4387
  },
4388
+ // Group header cell (parent column spanning child columns)
4389
+ "&-head-group": {
4390
+ "@apply uppercase": ""
4391
+ },
4369
4392
  // Sortable head cell
4370
4393
  "&-head-sortable": {
4371
4394
  "@apply cursor-pointer select-none": ""
@@ -4373,6 +4396,10 @@ const qe = {
4373
4396
  "&-head-sortable:hover": {
4374
4397
  backgroundColor: "var(--cn-state-hover)"
4375
4398
  },
4399
+ "&-head-sortable.cn-table-v2-cell-pinned:hover": {
4400
+ "--cn-table-pinned-overlay": "var(--cn-state-hover)",
4401
+ background: v
4402
+ },
4376
4403
  "&-head-divider": {
4377
4404
  position: "absolute",
4378
4405
  top: "0",
@@ -4381,8 +4408,10 @@ const qe = {
4381
4408
  },
4382
4409
  // Data cell
4383
4410
  "&-cell": {
4411
+ "--cn-table-pinned-base": "var(--cn-bg-1)",
4412
+ backgroundColor: "var(--cn-table-pinned-base)",
4384
4413
  position: "relative",
4385
- "@apply align-middle bg-cn-1 transition-colors": "",
4414
+ "@apply align-middle transition-colors": "",
4386
4415
  "@apply [&:has([role=checkbox])]:py-0 [&:has([role=checkbox])]:!pr-0 [&>[role=checkbox]]:translate-y-[2px]": "",
4387
4416
  "@apply [&:has([role=button])]:py-0 [&:has([role=button])]:!pr-0": "",
4388
4417
  paddingLeft: "var(--cn-table-cell-px)",
@@ -4415,7 +4444,7 @@ const qe = {
4415
4444
  ".cn-row-pin-on": {
4416
4445
  opacity: "1"
4417
4446
  }
4418
- }, ar = {
4447
+ }, or = {
4419
4448
  ".cn-tabs-scroll-container": {
4420
4449
  position: "relative",
4421
4450
  width: "100%",
@@ -4640,7 +4669,7 @@ const qe = {
4640
4669
  "@apply opacity-cn-disabled": ""
4641
4670
  }
4642
4671
  }
4643
- }, or = [
4672
+ }, tr = [
4644
4673
  "gray",
4645
4674
  "blue",
4646
4675
  "brown",
@@ -4656,24 +4685,24 @@ const qe = {
4656
4685
  "red",
4657
4686
  "violet",
4658
4687
  "yellow"
4659
- ], tr = {
4688
+ ], cr = {
4660
4689
  green: "success",
4661
4690
  red: "danger",
4662
4691
  yellow: "warning"
4663
- }, w = (r, e) => ({
4692
+ }, k = (r, e) => ({
4664
4693
  backgroundColor: `var(--cn-set-${r}-${e ? "outline-bg-hover" : "secondary-bg-hover"})`,
4665
4694
  borderColor: `var(--cn-set-${r}-${e ? "outline-border" : "secondary-bg-hover"})`
4666
4695
  });
4667
- function k(r) {
4696
+ function C(r) {
4668
4697
  const e = {};
4669
- return or.forEach((n) => {
4670
- const o = tr[n] ?? n, a = r === "outline", t = {
4698
+ return tr.forEach((n) => {
4699
+ const o = cr[n] ?? n, a = r === "outline", t = {
4671
4700
  color: `var(--cn-set-${o}-${a ? "outline-text" : "secondary-text"})`,
4672
4701
  backgroundColor: `var(--cn-set-${o}-${a ? "outline-bg" : "secondary-bg"})`,
4673
4702
  borderColor: `var(--cn-set-${o}-${a ? "outline-border" : "secondary-bg"})`,
4674
- "&.cn-tag-hoverable:hover:not(.cn-tag-split *)": w(o, a),
4703
+ "&.cn-tag-hoverable:hover:not(.cn-tag-split *)": k(o, a),
4675
4704
  "&:where(.cn-tag-split-left)": {
4676
- ".cn-tag-split.cn-tag-split-hoverable:hover &": w(o, a)
4705
+ ".cn-tag-split.cn-tag-split-hoverable:hover &": k(o, a)
4677
4706
  },
4678
4707
  "&:where(.cn-tag-split-right)": a ? {
4679
4708
  borderColor: `var(--cn-set-${o}-secondary-bg)`,
@@ -4694,7 +4723,7 @@ function k(r) {
4694
4723
  e[`&:where(.cn-tag-${o})`] = t;
4695
4724
  }), e;
4696
4725
  }
4697
- const cr = {
4726
+ const ir = {
4698
4727
  ".cn-tag": {
4699
4728
  display: "inline-flex",
4700
4729
  alignItems: "center",
@@ -4740,19 +4769,19 @@ const cr = {
4740
4769
  }
4741
4770
  },
4742
4771
  "&:where(.cn-tag-outline)": {
4743
- ...k("outline")
4772
+ ...C("outline")
4744
4773
  },
4745
4774
  "&:where(.cn-tag-secondary)": {
4746
- ...k("secondary")
4775
+ ...C("secondary")
4747
4776
  },
4748
4777
  ".cn-tag-text": {
4749
4778
  "@apply truncate leading-normal align-middle inline-block": ""
4750
4779
  }
4751
4780
  }
4752
- }, ir = ["danger", "warning"], dr = ["sm"];
4753
- function lr() {
4781
+ }, dr = ["danger", "warning"], lr = ["sm"];
4782
+ function sr() {
4754
4783
  const r = {};
4755
- return ir.forEach((e) => {
4784
+ return dr.forEach((e) => {
4756
4785
  r[`&:where(.cn-textarea-${e}):not(:disabled)`] = {
4757
4786
  borderColor: `var(--cn-border-${e})`,
4758
4787
  boxShadow: `var(--cn-ring-${e})`,
@@ -4765,13 +4794,13 @@ function lr() {
4765
4794
  boxShadow: `var(--cn-ring-${e})`
4766
4795
  }
4767
4796
  };
4768
- }), dr.forEach((e) => {
4797
+ }), lr.forEach((e) => {
4769
4798
  r[`&.cn-textarea-${e}`] = {
4770
4799
  padding: `var(--cn-input-${e}-py) var(--cn-input-${e}-pr) var(--cn-input-${e}-py) var(--cn-input-${e}-pl)`
4771
4800
  };
4772
4801
  }), r;
4773
4802
  }
4774
- const sr = {
4803
+ const pr = {
4775
4804
  ".cn-textarea": {
4776
4805
  borderRadius: "var(--cn-input-radius)",
4777
4806
  padding: "var(--cn-input-md-py) var(--cn-input-md-pr) var(--cn-input-md-py) var(--cn-input-md-pl)",
@@ -4810,7 +4839,7 @@ const sr = {
4810
4839
  "&-resizable": {
4811
4840
  resize: "vertical"
4812
4841
  },
4813
- ...lr(),
4842
+ ...sr(),
4814
4843
  "&-label-wrapper": {
4815
4844
  display: "flex",
4816
4845
  alignItems: "center",
@@ -4831,7 +4860,7 @@ const sr = {
4831
4860
  }
4832
4861
  }
4833
4862
  }
4834
- }, pr = {
4863
+ }, br = {
4835
4864
  ".cn-time-ago-card": {
4836
4865
  "&-trigger": {
4837
4866
  "@apply leading-snug whitespace-nowrap truncate max-w-full": "",
@@ -4853,7 +4882,7 @@ const sr = {
4853
4882
  "@apply grid grid-cols-[auto_1fr_auto] items-center whitespace-nowrap": ""
4854
4883
  }
4855
4884
  }
4856
- }, br = {
4885
+ }, gr = {
4857
4886
  ".cn-toast-wrapper": {
4858
4887
  right: "var(--cn-toast-offset-right)",
4859
4888
  bottom: "var(--cn-toast-offset-bottom)"
@@ -4929,9 +4958,9 @@ const sr = {
4929
4958
  }
4930
4959
  }
4931
4960
  }
4932
- }, gr = ["xs", "sm", "md"], vr = () => {
4961
+ }, vr = ["xs", "sm", "md"], ur = () => {
4933
4962
  const r = {};
4934
- return gr.forEach((e) => {
4963
+ return vr.forEach((e) => {
4935
4964
  r[`&.cn-toggle-${e}.cn-toggle-transparent.cn-toggle-text`] = {
4936
4965
  paddingLeft: `var(--cn-btn-px-${e})`,
4937
4966
  paddingRight: `var(--cn-btn-px-${e})`,
@@ -4940,15 +4969,15 @@ const sr = {
4940
4969
  border: "var(--cn-btn-border) solid transparent"
4941
4970
  };
4942
4971
  }), r;
4943
- }, ur = {
4972
+ }, hr = {
4944
4973
  ".cn-toggle": {
4945
4974
  transitionDuration: "100ms",
4946
- ...vr(),
4975
+ ...ur(),
4947
4976
  '&[data-state="on"]': {
4948
4977
  color: "var(--cn-text-1)"
4949
4978
  }
4950
4979
  }
4951
- }, hr = {
4980
+ }, mr = {
4952
4981
  ".cn-toggle-group": {
4953
4982
  gap: "var(--cn-layout-3xs)",
4954
4983
  "@apply flex": "",
@@ -4956,7 +4985,7 @@ const sr = {
4956
4985
  "@apply flex-col": ""
4957
4986
  }
4958
4987
  }
4959
- }, mr = {
4988
+ }, xr = {
4960
4989
  ".cn-tooltip": {
4961
4990
  minWidth: "var(--cn-tooltip-min)",
4962
4991
  maxWidth: "var(--cn-tooltip-max)",
@@ -5008,17 +5037,17 @@ const sr = {
5008
5037
  }
5009
5038
  }
5010
5039
  }
5011
- }, C = {
5040
+ }, S = {
5012
5041
  "@apply text-cn-2 font-body-normal": "",
5013
5042
  minHeight: "var(--cn-tree-item-height)",
5014
5043
  padding: "var(--cn-tree-item-py) var(--cn-tree-item-pr) var(--cn-tree-item-py)"
5015
- }, xr = {
5044
+ }, yr = {
5016
5045
  ".cn-file-tree": {
5017
5046
  "&-base-item": {
5018
- ...C
5047
+ ...S
5019
5048
  },
5020
5049
  "&-item": {
5021
- ...C,
5050
+ ...S,
5022
5051
  "@apply relative gap-cn-3xs flex items-center w-[fill-available]": "",
5023
5052
  "&-wrapper": {
5024
5053
  "@apply relative transition-colors": "",
@@ -5058,72 +5087,72 @@ const sr = {
5058
5087
  }
5059
5088
  }
5060
5089
  }
5061
- }, yr = [
5062
- T,
5063
- L,
5064
- X,
5065
- K,
5066
- ce,
5067
- rr,
5068
- ve,
5069
- cr,
5090
+ }, fr = [
5091
+ W,
5092
+ A,
5093
+ F,
5094
+ q,
5095
+ ie,
5096
+ nr,
5070
5097
  ue,
5071
- E,
5072
- Z,
5098
+ ir,
5099
+ he,
5100
+ j,
5073
5101
  ee,
5074
- we,
5075
- Ie,
5102
+ re,
5103
+ ke,
5104
+ Te,
5105
+ oe,
5106
+ Q,
5107
+ or,
5076
5108
  ae,
5077
- J,
5078
- ar,
5079
- ne,
5080
- He,
5081
5109
  Le,
5082
5110
  Ae,
5083
- ke,
5084
- mr,
5111
+ De,
5112
+ Ce,
5113
+ xr,
5114
+ gr,
5115
+ Ye,
5116
+ V,
5117
+ pe,
5085
5118
  br,
5086
- Ve,
5087
- F,
5088
- se,
5089
- pr,
5090
- _e,
5091
- ur,
5119
+ Xe,
5092
5120
  hr,
5093
- q,
5094
- Te,
5095
- qe,
5096
- Qe,
5121
+ mr,
5122
+ J,
5123
+ We,
5124
+ Je,
5097
5125
  Ze,
5098
5126
  er,
5099
- xr,
5127
+ rr,
5128
+ yr,
5129
+ xe,
5100
5130
  me,
5101
- he,
5102
- Be,
5103
- Oe,
5104
- Je,
5131
+ He,
5132
+ _e,
5133
+ Qe,
5105
5134
  // Form styles
5106
- Pe,
5107
- ie,
5108
- re,
5109
- We,
5110
- sr,
5111
- ge,
5112
- Q,
5113
- fe,
5114
- nr
5115
- ], fr = {
5135
+ Oe,
5136
+ de,
5137
+ ne,
5138
+ Be,
5139
+ pr,
5140
+ ve,
5141
+ Z,
5142
+ we,
5143
+ ar
5144
+ ], wr = {
5116
5145
  content: [],
5117
5146
  plugins: [
5118
- R(({ addComponents: r }) => {
5119
- r(yr);
5147
+ I(({ addComponents: r }) => {
5148
+ r(fr);
5120
5149
  })
5121
5150
  ]
5122
- }, Cr = {
5123
- presets: [fr, I],
5151
+ }, Sr = {
5152
+ presets: [wr, T],
5124
5153
  content: ["./src/**/*.{ts,tsx}"]
5125
5154
  };
5126
5155
  export {
5127
- Cr as default
5156
+ Sr as default
5128
5157
  };
5129
5158
  //# sourceMappingURL=tailwind.config.js.map