@harnessio/ui 1.0.7 → 1.0.9

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 H, t as D } from "./tailwind-design-system-D1osiuq5.js";
2
- import { F as W, C as p } from "./form-constants-CdD106iI.js";
3
- const A = {
1
+ import { p as D, t as A } from "./tailwind-design-system-D1osiuq5.js";
2
+ import { F as B, C as p } from "./form-constants-CdD106iI.js";
3
+ const j = {
4
4
  ".cn-accordion": {
5
5
  display: "flex",
6
6
  flexDirection: "column",
@@ -27,7 +27,7 @@ const A = {
27
27
  "@apply font-heading-base": ""
28
28
  },
29
29
  "&.cn-accordion-card": {
30
- [`@apply ${W}`]: ""
30
+ [`@apply ${B}`]: ""
31
31
  }
32
32
  },
33
33
  "&-item": {
@@ -130,7 +130,7 @@ const A = {
130
130
  overflow: "visible"
131
131
  }
132
132
  }
133
- }, j = ["info", "danger", "warning", "success"], E = {
133
+ }, E = ["info", "danger", "warning", "success"], P = {
134
134
  info: {
135
135
  backgroundColor: "gray-secondary",
136
136
  color: "text-cn-2",
@@ -152,10 +152,10 @@ const A = {
152
152
  fadeBgColor: "success"
153
153
  }
154
154
  };
155
- function P() {
155
+ function O() {
156
156
  const r = {};
157
- return j.forEach((e) => {
158
- const n = {}, { backgroundColor: t, color: a, fadeBgColor: o } = E[e];
157
+ return E.forEach((e) => {
158
+ const n = {}, { backgroundColor: t, color: a, fadeBgColor: o } = P[e];
159
159
  n.backgroundColor = `var(--cn-set-${t}-bg)`, n["> .cn-alert-icon"] = {
160
160
  color: `var(--cn-${a})`
161
161
  }, n[" .cn-alert-fade-overlay"] = {
@@ -163,7 +163,7 @@ function P() {
163
163
  }, r[`&:where(.cn-alert-${e})`] = n;
164
164
  }), r;
165
165
  }
166
- const O = {
166
+ const _ = {
167
167
  ".cn-alert": {
168
168
  gap: "var(--cn-alert-gap)",
169
169
  paddingTop: "var(--cn-alert-py)",
@@ -253,12 +253,12 @@ const O = {
253
253
  "&-link-wrapper": {
254
254
  paddingTop: "var(--cn-spacing-1)"
255
255
  },
256
- ...P()
256
+ ...O()
257
257
  }
258
- }, _ = ["md", "sm", "lg", "xs"];
259
- function X() {
258
+ }, X = ["md", "sm", "lg", "xs"];
259
+ function G() {
260
260
  const r = {};
261
- return _.forEach((e) => {
261
+ return X.forEach((e) => {
262
262
  e === "xs" ? r[`&:where(.cn-avatar-${e})`] = {
263
263
  height: `var(--cn-avatar-size-${e})`,
264
264
  width: `var(--cn-avatar-size-${e})`,
@@ -284,7 +284,7 @@ const Y = {
284
284
  boxShadow: "var(--cn-comp-shadow-avatar-inner)",
285
285
  letterSpacing: "var(--cn-tracking-tight)",
286
286
  "@apply shrink-0": "",
287
- ...X(),
287
+ ...G(),
288
288
  "&:where(.cn-avatar-rounded)": {
289
289
  borderRadius: "var(--cn-avatar-radius-rounded)"
290
290
  },
@@ -308,7 +308,7 @@ const Y = {
308
308
  // Avatar xs → Icon xs, Avatar sm → Icon sm, Avatar md → Icon sm, Avatar lg → Icon md
309
309
  ".cn-avatar-icon": {}
310
310
  }
311
- }, F = ["primary", "secondary", "outline", "status", "ghost"], G = ["success", "info", "warning", "danger", "muted", "merged", "risk"], N = {
311
+ }, F = ["primary", "secondary", "outline", "status", "ghost"], N = ["success", "info", "warning", "danger", "muted", "merged", "risk"], V = {
312
312
  success: "success",
313
313
  info: "blue",
314
314
  warning: "warning",
@@ -317,11 +317,11 @@ const Y = {
317
317
  merged: "purple",
318
318
  risk: "orange"
319
319
  };
320
- function V() {
320
+ function M() {
321
321
  const r = {}, e = {};
322
322
  return F.forEach((n) => {
323
- G.forEach((t) => {
324
- const a = {}, o = N[t];
323
+ N.forEach((t) => {
324
+ const a = {}, o = V[t];
325
325
  n === "ghost" ? (a.color = `var(--cn-set-${o}-outline-text)`, r[`&:where(.cn-badge-${n}.cn-badge-${t})`] = a) : n !== "status" ? (a.backgroundColor = `var(--cn-set-${o}-${n}-bg)`, a.color = `var(--cn-set-${o}-${n}-text)`, a.borderColor = `var(--cn-set-${o}-${n}-border, var(--cn-set-${o}-${n}-bg))`, r[`&:where(.cn-badge-${n}.cn-badge-${t})`] = a) : e[`&.cn-badge-status.cn-badge-${t} > .cn-badge-indicator`] = {
326
326
  backgroundColor: `var(--cn-set-${o}-primary-bg)`
327
327
  };
@@ -381,9 +381,9 @@ const U = {
381
381
  }
382
382
  },
383
383
  /** Variants */
384
- ...V()
384
+ ...M()
385
385
  }
386
- }, M = {
386
+ }, q = {
387
387
  ".cn-breadcrumb": {
388
388
  "@apply flex flex-wrap items-center break-words select-none": "",
389
389
  gap: "var(--cn-spacing-1)"
@@ -486,23 +486,23 @@ const U = {
486
486
  color: "var(--cn-text-1)"
487
487
  }
488
488
  }
489
- }, q = ["primary", "secondary", "outline", "ghost"], K = ["success", "danger", "default"], J = ["3xs", "2xs", "xs", "sm", "md"], x = "0.99", b = "150ms", g = "ease-in-out", Q = {
489
+ }, K = ["primary", "secondary", "outline", "ghost"], J = ["success", "danger", "default"], Q = ["3xs", "2xs", "xs", "sm", "md"], x = "0.99", b = "150ms", g = "ease-in-out", Z = {
490
490
  success: "success",
491
491
  danger: "danger",
492
492
  default: "gray"
493
493
  };
494
- function Z() {
494
+ function ee() {
495
495
  const r = {}, e = {};
496
- return q.forEach((n) => {
497
- K.forEach((t) => {
498
- const a = {}, o = Q[t];
496
+ return K.forEach((n) => {
497
+ J.forEach((t) => {
498
+ const a = {}, o = Z[t];
499
499
  if (n === "ghost") {
500
500
  a.color = `var(--cn-set-${o}-outline-text)`;
501
- const c = t === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${o}-outline-bg-hover)`, L = t === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${o}-outline-bg-selected)`;
501
+ const c = t === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${o}-outline-bg-hover)`, H = t === "default" ? "var(--cn-state-hover)" : `var(--cn-set-${o}-outline-bg-selected)`;
502
502
  a["&:hover:not(:disabled, .cn-button-disabled)"] = {
503
503
  backgroundColor: c
504
504
  }, a["&:active:not(:disabled, .cn-button-disabled), &:where(.cn-button-active), &:where([data-state=open])"] = {
505
- backgroundColor: L
505
+ backgroundColor: H
506
506
  };
507
507
  } else {
508
508
  const c = n === "primary" && t === "default" ? "brand" : o;
@@ -531,9 +531,9 @@ function Z() {
531
531
  });
532
532
  }), { ...r, ...e };
533
533
  }
534
- function ee() {
534
+ function re() {
535
535
  const r = {};
536
- return J.forEach((e) => {
536
+ return Q.forEach((e) => {
537
537
  r[`&:where(.cn-button-${e})`] = {
538
538
  height: `var(--cn-btn-size-${e})`,
539
539
  paddingBlock: `var(--cn-btn-py-${e})`,
@@ -542,7 +542,7 @@ function ee() {
542
542
  };
543
543
  }), r;
544
544
  }
545
- const re = {
545
+ const ne = {
546
546
  ".cn-button": {
547
547
  transitionProperty: "color, background-color, border-color, text-decoration-color, fill, stroke, transform, box-shadow, opacity",
548
548
  transitionDuration: b,
@@ -574,7 +574,7 @@ const re = {
574
574
  }
575
575
  },
576
576
  // sizes
577
- ...ee(),
577
+ ...re(),
578
578
  "&:where(.cn-button-xs, .cn-button-3xs, .cn-button-2xs)": {
579
579
  "@apply font-caption-single-line-normal": ""
580
580
  },
@@ -620,7 +620,7 @@ const re = {
620
620
  }
621
621
  },
622
622
  // variant styles
623
- ...Z(),
623
+ ...ee(),
624
624
  // Rounded
625
625
  "&:where(.cn-button-rounded)": {
626
626
  borderRadius: "var(--cn-btn-rounded-radius)"
@@ -737,7 +737,7 @@ const re = {
737
737
  transform: `scale(${x})`
738
738
  }
739
739
  }
740
- }, ne = {
740
+ }, ae = {
741
741
  ".cn-button-group": {
742
742
  "@apply flex": "",
743
743
  "&-horizontal": {
@@ -778,7 +778,7 @@ const re = {
778
778
  }
779
779
  }
780
780
  }
781
- }, ae = {
781
+ }, te = {
782
782
  ".cn-button-layout": {
783
783
  gap: "var(--cn-layout-sm)",
784
784
  "@apply flex": "",
@@ -818,7 +818,7 @@ const re = {
818
818
  "@apply flex": ""
819
819
  }
820
820
  }
821
- }, te = {
821
+ }, oe = {
822
822
  ".cn-caption": {
823
823
  gap: "var(--cn-spacing-1)",
824
824
  "@apply w-full inline-flex items-start": ""
@@ -826,7 +826,7 @@ const re = {
826
826
  ":where([disabled]) + .cn-caption": {
827
827
  "@apply opacity-cn-disabled": ""
828
828
  }
829
- }, oe = {
829
+ }, ce = {
830
830
  ".cn-card": {
831
831
  border: "var(--cn-card-border) solid var(--cn-border-2)",
832
832
  borderRadius: "var(--cn-card-md-radius)",
@@ -911,7 +911,7 @@ const re = {
911
911
  "@apply outline-offset-cn-tight": ""
912
912
  }
913
913
  }
914
- }, ce = {
914
+ }, ie = {
915
915
  ".cn-card-select-root": {
916
916
  display: "grid",
917
917
  "&:where(.cn-card-select-horizontal)": {
@@ -987,7 +987,7 @@ const re = {
987
987
  ".cn-card-select-hidden-input": {
988
988
  "@apply sr-only": ""
989
989
  }
990
- }, ie = {
990
+ }, de = {
991
991
  ".cn-checkbox-wrapper": {
992
992
  display: "flex",
993
993
  gap: "var(--cn-spacing-2-half)",
@@ -1116,7 +1116,7 @@ const re = {
1116
1116
  },
1117
1117
  "@apply truncate": ""
1118
1118
  }
1119
- }, de = {
1119
+ }, se = {
1120
1120
  ".cn-checkbox-tree": {
1121
1121
  "@apply w-full": ""
1122
1122
  },
@@ -1153,7 +1153,7 @@ const re = {
1153
1153
  "@apply hidden": ""
1154
1154
  }
1155
1155
  }
1156
- }, se = {
1156
+ }, le = {
1157
1157
  ".cn-modal-dialog-overlay": {
1158
1158
  backgroundColor: "var(--cn-comp-dialog-backdrop)",
1159
1159
  padding: "var(--cn-dialog-safezone)",
@@ -1322,7 +1322,7 @@ const re = {
1322
1322
  opacity: "0"
1323
1323
  }
1324
1324
  }
1325
- }, le = {
1325
+ }, pe = {
1326
1326
  ".cn-drawer": {
1327
1327
  "&-content": {
1328
1328
  userSelect: "auto !important",
@@ -1727,7 +1727,7 @@ const re = {
1727
1727
  }
1728
1728
  }
1729
1729
  }
1730
- }, pe = [
1730
+ }, be = [
1731
1731
  "gray",
1732
1732
  "green",
1733
1733
  "red",
@@ -1742,14 +1742,14 @@ const re = {
1742
1742
  "orange",
1743
1743
  "pink",
1744
1744
  "violet"
1745
- ], be = () => {
1745
+ ], ge = () => {
1746
1746
  const r = {};
1747
- return pe.forEach((e) => {
1747
+ return be.forEach((e) => {
1748
1748
  r[`&.cn-dropdown-menu-item-indicator-${e}`] = {
1749
1749
  backgroundColor: `var(--cn-set-${e}-solid-bg)`
1750
1750
  };
1751
1751
  }), r;
1752
- }, ge = {
1752
+ }, ve = {
1753
1753
  ".cn-dropdown-menu": {
1754
1754
  zIndex: "50",
1755
1755
  minWidth: "var(--cn-dropdown-min-width)",
@@ -1837,7 +1837,7 @@ const re = {
1837
1837
  height: "var(--cn-badge-indicator-size-sm)",
1838
1838
  borderRadius: "var(--cn-rounded-full)",
1839
1839
  flexShrink: "0",
1840
- ...be()
1840
+ ...ge()
1841
1841
  }
1842
1842
  },
1843
1843
  "&-group-label": {
@@ -1865,7 +1865,7 @@ const re = {
1865
1865
  padding: "calc(var(--cn-dropdown-item-py) + var(--cn-spacing-4)) var(--cn-dropdown-item-px)"
1866
1866
  }
1867
1867
  }
1868
- }, ve = {
1868
+ }, ue = {
1869
1869
  ".cn-dual-pane-stepper-root": {
1870
1870
  display: "flex",
1871
1871
  flexDirection: "column",
@@ -1952,7 +1952,7 @@ const re = {
1952
1952
  flexShrink: "0"
1953
1953
  }
1954
1954
  }
1955
- }, ue = {
1955
+ }, he = {
1956
1956
  ".cn-flow-stepper-card": {
1957
1957
  position: "relative",
1958
1958
  background: "var(--cn-bg-1)",
@@ -2069,9 +2069,9 @@ const re = {
2069
2069
  gap: "var(--cn-spacing-2)",
2070
2070
  flexShrink: "0"
2071
2071
  }
2072
- }, he = {
2072
+ }, me = {
2073
2073
  ".cn-form": {
2074
- [`@apply flex flex-col ${W}`]: ""
2074
+ [`@apply flex flex-col ${B}`]: ""
2075
2075
  },
2076
2076
  ":where(.cn-control-group)": {
2077
2077
  [`@apply relative flex flex-col ${p}`]: "",
@@ -2118,7 +2118,7 @@ const re = {
2118
2118
  width: "var(--cn-size-26, 104px)"
2119
2119
  }
2120
2120
  };
2121
- function me() {
2121
+ function xe() {
2122
2122
  return Object.fromEntries(
2123
2123
  Object.entries(m).map(([r, e]) => [
2124
2124
  `&:where(.cn-gauge-size-${r})`,
@@ -2132,7 +2132,7 @@ function me() {
2132
2132
  ])
2133
2133
  );
2134
2134
  }
2135
- function xe() {
2135
+ function fe() {
2136
2136
  return Object.fromEntries(
2137
2137
  Object.keys(f).map((r) => [
2138
2138
  `&:where(.cn-gauge-status-${r})`,
@@ -2144,7 +2144,7 @@ function xe() {
2144
2144
  ])
2145
2145
  );
2146
2146
  }
2147
- const fe = {
2147
+ const ye = {
2148
2148
  ".cn-gauge": {
2149
2149
  display: "inline-flex",
2150
2150
  flexDirection: "column",
@@ -2190,18 +2190,18 @@ const fe = {
2190
2190
  userSelect: "none",
2191
2191
  pointerEvents: "none"
2192
2192
  },
2193
- ...me(),
2194
- ...xe()
2193
+ ...xe(),
2194
+ ...fe()
2195
2195
  }
2196
- }, ye = ["2xs", "xs", "sm", "md", "lg", "xl"], we = ["xs", "sm", "md", "lg"];
2196
+ }, we = ["2xs", "xs", "sm", "md", "lg", "xl"], ke = ["xs", "sm", "md", "lg"];
2197
2197
  function v(r) {
2198
- const e = r === "icon" ? ye : we, n = r === "symbol" ? "logo" : r, t = {};
2198
+ const e = r === "icon" ? we : ke, n = r === "symbol" ? "logo" : r, t = {};
2199
2199
  return e.forEach((a) => {
2200
2200
  const o = {};
2201
2201
  o.width = `var(--cn-${n}-size-${a})`, o["min-width"] = `var(--cn-${n}-size-${a})`, o.height = `var(--cn-${n}-size-${a})`, o["min-height"] = `var(--cn-${n}-size-${a})`, r === "icon" && (o["stroke-width"] = `var(--cn-icon-stroke-width-${a})`), t[`&:where(.cn-${r}-${a})`] = o;
2202
2202
  }), t;
2203
2203
  }
2204
- const ke = {
2204
+ const Ce = {
2205
2205
  ".cn-icon": {
2206
2206
  ...v("icon")
2207
2207
  },
@@ -2211,10 +2211,10 @@ const ke = {
2211
2211
  ".cn-symbol": {
2212
2212
  ...v("symbol")
2213
2213
  }
2214
- }, Ce = ["danger", "warning", "success"];
2215
- function Se() {
2214
+ }, Se = ["danger", "warning", "success"];
2215
+ function ze() {
2216
2216
  const r = {};
2217
- return Ce.forEach((e) => {
2217
+ return Se.forEach((e) => {
2218
2218
  r[`&:where(.cn-input-${e}):not(:has(input[disabled]))`] = {
2219
2219
  borderColor: `var(--cn-border-${e})`,
2220
2220
  boxShadow: `var(--cn-ring-${e})`,
@@ -2229,7 +2229,7 @@ function Se() {
2229
2229
  };
2230
2230
  }), r;
2231
2231
  }
2232
- const ze = {
2232
+ const $e = {
2233
2233
  ".cn-input": {
2234
2234
  "&-input": {
2235
2235
  height: "100%",
@@ -2317,7 +2317,7 @@ const ze = {
2317
2317
  "@apply h-full border-0 border-l rounded-l-cn-none": "",
2318
2318
  borderColor: "inherit"
2319
2319
  },
2320
- ...Se()
2320
+ ...ze()
2321
2321
  },
2322
2322
  "&-search": {
2323
2323
  "&:where(.cn-input-input)": {
@@ -2328,7 +2328,7 @@ const ze = {
2328
2328
  }
2329
2329
  }
2330
2330
  }
2331
- }, $e = {
2331
+ }, Ie = {
2332
2332
  ".cn-label": {
2333
2333
  "@apply font-body-normal": "",
2334
2334
  display: "grid",
@@ -2356,7 +2356,7 @@ const ze = {
2356
2356
  color: "var(--cn-set-danger-secondary-text)"
2357
2357
  }
2358
2358
  }
2359
- }, Ie = {
2359
+ }, Re = {
2360
2360
  ".cn-link": {
2361
2361
  display: "inline-flex",
2362
2362
  alignItems: "center",
@@ -2417,7 +2417,7 @@ const ze = {
2417
2417
  textDecorationLine: "none !important"
2418
2418
  }
2419
2419
  }
2420
- }, Re = {
2420
+ }, Te = {
2421
2421
  ".cn-message-bubble": {
2422
2422
  display: "flex",
2423
2423
  flexDirection: "column",
@@ -2443,7 +2443,7 @@ const ze = {
2443
2443
  gap: "var(--cn-spacing-1)"
2444
2444
  }
2445
2445
  }
2446
- }, Te = {
2446
+ }, We = {
2447
2447
  ".cn-meter": {
2448
2448
  "@apply flex h-[19px] items-stretch gap-cn-3xs": "",
2449
2449
  "&:has(.cn-meter-tooltip-bar:hover) .cn-meter-bar:not(:hover)": {
@@ -2457,10 +2457,10 @@ const ze = {
2457
2457
  transition: "all 0.15s"
2458
2458
  }
2459
2459
  }
2460
- }, We = ["danger", "warning"];
2461
- function Be() {
2460
+ }, Be = ["danger", "warning"];
2461
+ function Le() {
2462
2462
  const r = {};
2463
- return We.forEach((e) => {
2463
+ return Be.forEach((e) => {
2464
2464
  r[`&:where(.cn-multi-select-${e}):not(:has(input[disabled]))`] = {
2465
2465
  borderColor: `var(--cn-border-${e})`,
2466
2466
  boxShadow: `var(--cn-ring-${e})`,
@@ -2475,7 +2475,7 @@ function Be() {
2475
2475
  };
2476
2476
  }), r;
2477
2477
  }
2478
- const Le = {
2478
+ const He = {
2479
2479
  ".cn-multi-select": {
2480
2480
  "&-outer-container": {
2481
2481
  "@apply flex flex-col gap-cn-xs": ""
@@ -2495,7 +2495,7 @@ const Le = {
2495
2495
  "&:where(:hover):not(:has(input[disabled]))": {
2496
2496
  borderColor: "var(--cn-border-brand)"
2497
2497
  },
2498
- ...Be()
2498
+ ...Le()
2499
2499
  },
2500
2500
  "&-tag-wrapper": {
2501
2501
  "@apply relative flex flex-wrap items-center gap-cn-xs": ""
@@ -2522,7 +2522,7 @@ const Le = {
2522
2522
  "@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": ""
2523
2523
  }
2524
2524
  }
2525
- }, He = {
2525
+ }, De = {
2526
2526
  ".cn-page": {
2527
2527
  // Horizontal page padding for scrollable content. Mirrors the sticky header's padding
2528
2528
  // (see page-header-v2) so the header and the content below it stay edge-aligned.
@@ -2536,7 +2536,7 @@ const Le = {
2536
2536
  paddingTop: "var(--cn-page-container-spacing-py)"
2537
2537
  }
2538
2538
  }
2539
- }, De = {
2539
+ }, Ae = {
2540
2540
  ".cn-pagination": {
2541
2541
  "&-root": {
2542
2542
  containerType: "inline-size",
@@ -2576,7 +2576,7 @@ const Le = {
2576
2576
  paddingInline: "var(--cn-pagination-btn-px)"
2577
2577
  }
2578
2578
  }
2579
- }, Ae = {
2579
+ }, je = {
2580
2580
  ".cn-popover": {
2581
2581
  "&-content": {
2582
2582
  display: "grid",
@@ -2660,7 +2660,7 @@ const Le = {
2660
2660
  }
2661
2661
  }
2662
2662
  }
2663
- }, je = ["sm", "md", "lg"], Ee = ["processing", "completed", "paused", "failed"], Pe = [
2663
+ }, Ee = ["sm", "md", "lg"], Pe = ["processing", "completed", "paused", "failed"], Oe = [
2664
2664
  "gray",
2665
2665
  "blue",
2666
2666
  "brown",
@@ -2676,7 +2676,7 @@ const Le = {
2676
2676
  "red",
2677
2677
  "violet",
2678
2678
  "yellow"
2679
- ], Oe = {
2679
+ ], _e = {
2680
2680
  green: "success",
2681
2681
  red: "danger",
2682
2682
  yellow: "warning"
@@ -2697,25 +2697,25 @@ const Le = {
2697
2697
  progressBg: "danger",
2698
2698
  color: "text-danger"
2699
2699
  }
2700
- }, u = "var(--cn-comp-slider-track-progress-stripes)", _e = `linear-gradient(45deg,
2700
+ }, u = "var(--cn-comp-slider-track-progress-stripes)", Xe = `linear-gradient(45deg,
2701
2701
  ${u} 18.75%,
2702
2702
  transparent 18.75%,
2703
2703
  transparent 50%,
2704
2704
  ${u} 50%,
2705
2705
  ${u} 68.75%,
2706
2706
  transparent 68.75%,
2707
- transparent)`, Xe = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
2707
+ transparent)`, Ge = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
2708
2708
  function Ye() {
2709
2709
  const r = {};
2710
- return je.forEach((e) => {
2710
+ return Ee.forEach((e) => {
2711
2711
  const n = {};
2712
2712
  n[" .cn-progress-root"] = {
2713
2713
  height: `var(--cn-progress-size-${e})`
2714
2714
  }, n[" .cn-progress-processing-fake"] = {
2715
- "background-size": Xe(e),
2715
+ "background-size": Ge(e),
2716
2716
  "animation-name": `cnProgressBar-${e}`
2717
2717
  }, r[`&:where(.cn-progress-${e})`] = n;
2718
- }), Ee.forEach((e) => {
2718
+ }), Pe.forEach((e) => {
2719
2719
  const n = {};
2720
2720
  n[" .cn-progress-root::-webkit-progress-value"] = {
2721
2721
  "background-color": `var(--cn-comp-slider-track-${i[e].progressBg})`
@@ -2728,8 +2728,8 @@ function Ye() {
2728
2728
  }, n[" .cn-progress-subtitle"] = {
2729
2729
  color: `var(--cn-${i[e].color})`
2730
2730
  }, r[`&:where(.cn-progress-${e})`] = n;
2731
- }), Pe.forEach((e) => {
2732
- const t = `var(--cn-set-${Oe[e] ?? e}-primary-bg)`;
2731
+ }), Oe.forEach((e) => {
2732
+ const t = `var(--cn-set-${_e[e] ?? e}-primary-bg)`;
2733
2733
  r[`&:where(.cn-progress-color-${e})`] = {
2734
2734
  " .cn-progress-root::-webkit-progress-value": { "background-color": t },
2735
2735
  " .cn-progress-root::-moz-progress-bar": { "background-color": t },
@@ -2822,7 +2822,7 @@ const Fe = {
2822
2822
  },
2823
2823
  "&-processing-fake": {
2824
2824
  "background-color": "var(--cn-comp-slider-track-progress)",
2825
- "background-image": _e,
2825
+ "background-image": Xe,
2826
2826
  "background-size": "16px 16px",
2827
2827
  height: "100%",
2828
2828
  width: "100%",
@@ -2862,7 +2862,7 @@ const Fe = {
2862
2862
  }
2863
2863
  }
2864
2864
  }
2865
- }, Ge = {
2865
+ }, Ne = {
2866
2866
  "@property --cn-angle": {
2867
2867
  syntax: '"<angle>"',
2868
2868
  inherits: "true",
@@ -2928,7 +2928,7 @@ const Fe = {
2928
2928
  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)"
2929
2929
  }
2930
2930
  }
2931
- }, Ne = {
2931
+ }, Ve = {
2932
2932
  ":where(.cn-radio-control)": {
2933
2933
  [`@apply ${p}`]: ""
2934
2934
  },
@@ -3013,7 +3013,7 @@ const Fe = {
3013
3013
  "@apply opacity-cn-disabled": ""
3014
3014
  }
3015
3015
  }
3016
- }, Ve = {
3016
+ }, Me = {
3017
3017
  ".cn-reasoning": {
3018
3018
  marginBottom: "var(--cn-spacing-4)"
3019
3019
  },
@@ -3081,7 +3081,7 @@ const Fe = {
3081
3081
  }
3082
3082
  }
3083
3083
  }
3084
- }, Me = {
3084
+ }, qe = {
3085
3085
  ".cn-sandbox-layout": {
3086
3086
  "&-content": {
3087
3087
  paddingTop: "var(--cn-page-container-spacing-py)",
@@ -3097,7 +3097,7 @@ const Fe = {
3097
3097
  paddingRight: "var(--cn-page-container-spacing-px)"
3098
3098
  }
3099
3099
  }
3100
- }, qe = {
3100
+ }, Ke = {
3101
3101
  ".cn-scroll-area": {
3102
3102
  "@apply overflow-auto grid min-w-full": "",
3103
3103
  "&-content": {
@@ -3119,10 +3119,10 @@ const Fe = {
3119
3119
  }
3120
3120
  }
3121
3121
  }
3122
- }, Ke = ["danger", "warning"], Je = ["sm"];
3123
- function Qe() {
3122
+ }, Je = ["danger", "warning"], Qe = ["sm"];
3123
+ function Ze() {
3124
3124
  const r = {};
3125
- return Ke.forEach((e) => {
3125
+ return Je.forEach((e) => {
3126
3126
  r[`&:where(.cn-select-${e}):not(:disabled)`] = {
3127
3127
  borderColor: `var(--cn-border-${e})`,
3128
3128
  boxShadow: `var(--cn-ring-${e})`,
@@ -3131,7 +3131,7 @@ function Qe() {
3131
3131
  boxShadow: `var(--cn-ring-${e}-hover)`
3132
3132
  }
3133
3133
  };
3134
- }), Je.forEach((e) => {
3134
+ }), Qe.forEach((e) => {
3135
3135
  r[`&.cn-select-${e}`] = {
3136
3136
  height: `var(--cn-input-size-${e})`
3137
3137
  }, r[`&.cn-select-${e} .cn-select-trigger`] = {
@@ -3139,7 +3139,7 @@ function Qe() {
3139
3139
  };
3140
3140
  }), r;
3141
3141
  }
3142
- const Ze = {
3142
+ const er = {
3143
3143
  ".cn-select": {
3144
3144
  display: "flex",
3145
3145
  alignItems: "center",
@@ -3190,9 +3190,9 @@ const Ze = {
3190
3190
  aspectRatio: "1",
3191
3191
  height: "100%"
3192
3192
  },
3193
- ...Qe()
3193
+ ...Ze()
3194
3194
  }
3195
- }, er = {
3195
+ }, rr = {
3196
3196
  ".cn-shimmer": {
3197
3197
  position: "relative",
3198
3198
  display: "inline-block",
@@ -3203,7 +3203,7 @@ const Ze = {
3203
3203
  backgroundImage: "var(--shimmer-highlight), linear-gradient(var(--shimmer-color), var(--shimmer-color))",
3204
3204
  backgroundRepeat: "no-repeat, padding-box"
3205
3205
  }
3206
- }, rr = {
3206
+ }, nr = {
3207
3207
  ".cn-shortcut": {
3208
3208
  "&, &.cn-input-suffix": {
3209
3209
  display: "inline-flex",
@@ -3220,7 +3220,7 @@ const Ze = {
3220
3220
  }, d = (r) => ({
3221
3221
  color: r,
3222
3222
  "& svg, & path": { color: r, stroke: r, fill: "none" }
3223
- }), nr = {
3223
+ }), ar = {
3224
3224
  ".cn-sidebar-item-content-title": { color: "var(--cn-comp-sidebar-item-text-hover)" },
3225
3225
  ".cn-sidebar-item-content-icon": { color: "var(--cn-comp-sidebar-item-text-hover)" }
3226
3226
  }, y = {
@@ -3236,7 +3236,7 @@ const Ze = {
3236
3236
  alignItems: "center"
3237
3237
  }
3238
3238
  }
3239
- }, ar = {
3239
+ }, tr = {
3240
3240
  "& .cn-input-prefix": {
3241
3241
  "@apply ml-0": ""
3242
3242
  },
@@ -3272,7 +3272,7 @@ const Ze = {
3272
3272
  opacity: "0"
3273
3273
  }
3274
3274
  }
3275
- }, tr = {
3275
+ }, or = {
3276
3276
  ".cn-sidebar": {
3277
3277
  "&.cn-sidebar": {
3278
3278
  display: "flex",
@@ -3446,7 +3446,7 @@ const Ze = {
3446
3446
  "&[data-active=false] .cn-sidebar-item-content": {
3447
3447
  backgroundColor: "var(--cn-state-hover)"
3448
3448
  },
3449
- ...nr,
3449
+ ...ar,
3450
3450
  ".cn-sidebar-item-action-menu": { opacity: "1" },
3451
3451
  ".cn-sidebar-item-content-action-buttons": { display: "flex !important" },
3452
3452
  ".cn-sidebar-item-grip-handle": { opacity: "1" },
@@ -3666,7 +3666,7 @@ const Ze = {
3666
3666
  }
3667
3667
  }
3668
3668
  },
3669
- "&[data-state=collapsed]": ar
3669
+ "&[data-state=collapsed]": tr
3670
3670
  },
3671
3671
  ".cn-sidebar-popover-measurement": {
3672
3672
  position: "fixed",
@@ -3712,7 +3712,7 @@ const Ze = {
3712
3712
  backgroundColor: "var(--cn-comp-sidebar-separator)"
3713
3713
  }
3714
3714
  }
3715
- }, or = {
3715
+ }, cr = {
3716
3716
  ".cn-single-pane-stepper-root": {
3717
3717
  display: "flex",
3718
3718
  flexDirection: "column",
@@ -3801,10 +3801,10 @@ const Ze = {
3801
3801
  flexShrink: "0"
3802
3802
  }
3803
3803
  }
3804
- }, cr = ["sm", "md", "lg", "xs"], ir = ["2xs", "xs", "sm", "md", "lg", "xl"], dr = ["xs", "sm", "md", "lg"], sr = ["sm"];
3805
- function lr() {
3804
+ }, ir = ["sm", "md", "lg", "xs"], dr = ["2xs", "xs", "sm", "md", "lg", "xl"], sr = ["xs", "sm", "md", "lg"], lr = ["sm"];
3805
+ function pr() {
3806
3806
  const r = {};
3807
- return cr.forEach((e) => {
3807
+ return ir.forEach((e) => {
3808
3808
  r[`&:where(.cn-skeleton-avatar-${e})`] = {
3809
3809
  width: `var(--cn-avatar-size-${e})`,
3810
3810
  height: `var(--cn-avatar-size-${e})`
@@ -3812,22 +3812,22 @@ function lr() {
3812
3812
  }), r;
3813
3813
  }
3814
3814
  function C(r) {
3815
- const e = r === "icon" ? ir : dr, n = {};
3815
+ const e = r === "icon" ? dr : sr, n = {};
3816
3816
  return e.forEach((t) => {
3817
3817
  const a = {};
3818
3818
  a.width = `var(--cn-${r}-size-${t})`, a["min-width"] = `var(--cn-${r}-size-${t})`, a.height = `var(--cn-${r}-size-${t})`, a["min-height"] = `var(--cn-${r}-size-${t})`, n[`&:where(.cn-skeleton-${r}-${t})`] = a;
3819
3819
  }), n;
3820
3820
  }
3821
- function pr() {
3821
+ function br() {
3822
3822
  const r = {};
3823
- return sr.forEach((e) => {
3823
+ return lr.forEach((e) => {
3824
3824
  r[`&.cn-skeleton-form-item-${e}`] = {
3825
3825
  padding: `var(--cn-input-${e}-py) var(--cn-input-${e}-pr) var(--cn-input-${e}-py) var(--cn-input-${e}-pl)`,
3826
3826
  height: `var(--cn-input-size-${e})`
3827
3827
  };
3828
3828
  }), r;
3829
3829
  }
3830
- const br = {
3830
+ const gr = {
3831
3831
  ".cn-skeleton": {
3832
3832
  "&-base": {
3833
3833
  backgroundImage: "var(--cn-comp-skeleton-bg)",
@@ -3842,7 +3842,7 @@ const br = {
3842
3842
  "&:where(.cn-skeleton-avatar-rounded)": {
3843
3843
  borderRadius: "var(--cn-avatar-radius-rounded)"
3844
3844
  },
3845
- ...lr()
3845
+ ...pr()
3846
3846
  },
3847
3847
  "&-icon": {
3848
3848
  ...C("icon")
@@ -3878,7 +3878,7 @@ const br = {
3878
3878
  border: "var(--cn-input-border) solid var(--cn-border-2)",
3879
3879
  borderRadius: "var(--cn-input-radius)",
3880
3880
  backgroundColor: "var(--cn-comp-input-bg)",
3881
- ...pr()
3881
+ ...br()
3882
3882
  }
3883
3883
  },
3884
3884
  "&-list": {
@@ -3899,7 +3899,7 @@ const br = {
3899
3899
  backgroundPosition: "-200% 0"
3900
3900
  }
3901
3901
  }
3902
- }, gr = {
3902
+ }, vr = {
3903
3903
  ".cn-slider": {
3904
3904
  display: "flex",
3905
3905
  flexDirection: "column",
@@ -4175,7 +4175,7 @@ const br = {
4175
4175
  }
4176
4176
  }
4177
4177
  }
4178
- }, vr = {
4178
+ }, ur = {
4179
4179
  ".cn-stacked-list": {
4180
4180
  "@apply w-full bg-cn-1 border rounded-cn-3": "",
4181
4181
  "& > *:first-child > .cn-stacked-list-item": {
@@ -4276,7 +4276,7 @@ const br = {
4276
4276
  background: "var(--cn-border-2)",
4277
4277
  pointerEvents: "none"
4278
4278
  }
4279
- }, ur = {
4279
+ }, hr = {
4280
4280
  ".cn-stepper": {
4281
4281
  minWidth: "200px",
4282
4282
  width: "100%",
@@ -4860,7 +4860,7 @@ const br = {
4860
4860
  }
4861
4861
  }
4862
4862
  }
4863
- }, hr = {
4863
+ }, mr = {
4864
4864
  ".cn-sticky-list-section": {
4865
4865
  "@apply relative": "",
4866
4866
  "&-sentinel": {
@@ -4904,14 +4904,14 @@ const br = {
4904
4904
  ".cn-sticky-list-section-contained .cn-sticky-list-section-header-stuck": {
4905
4905
  backgroundColor: "var(--cn-sticky-header-bg, var(--cn-bg-1))"
4906
4906
  }
4907
- }, B = ".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", z = {
4908
- [B]: {
4907
+ }, L = ".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", z = {
4908
+ [L]: {
4909
4909
  opacity: "0.45 !important",
4910
4910
  transition: "opacity 200ms ease-in-out"
4911
4911
  }
4912
4912
  }, $ = {
4913
4913
  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)"
4914
- }, mr = {
4914
+ }, I = "var(--cn-size-28)", xr = "var(--cn-layout-2xs)", fr = {
4915
4915
  ".cn-studio-card": {
4916
4916
  // Step cards (base, no group/stage). Three-way radius split — see overrides below.
4917
4917
  borderRadius: "var(--cn-rounded-5)",
@@ -5112,7 +5112,7 @@ const br = {
5112
5112
  // borderColor: 'lch(from var(--cn-border-2) l c h / 0.65) !important',
5113
5113
  },
5114
5114
  "@apply shadow-cn-3": "",
5115
- [B]: {
5115
+ [L]: {
5116
5116
  opacity: "1 !important"
5117
5117
  }
5118
5118
  }
@@ -5125,6 +5125,7 @@ const br = {
5125
5125
  // Tag Component
5126
5126
  ".cn-studio-card-tag": {
5127
5127
  "@apply flex gap-cn-3xs p-cn-2xs border rounded-t-cn-4 top-[-28px] right-0 absolute select-none": "",
5128
+ maxWidth: I,
5128
5129
  color: "var(--cn-set-purple-outline-text)",
5129
5130
  "background-color": "var(--cn-set-purple-outline-bg)",
5130
5131
  "border-color": "var(--cn-set-purple-outline-border)",
@@ -5149,7 +5150,13 @@ const br = {
5149
5150
  // Status Component
5150
5151
  ".cn-studio-card-status": {
5151
5152
  position: "absolute",
5152
- top: "-28px"
5153
+ top: "-28px",
5154
+ maxWidth: "100%",
5155
+ // Override `.cn-badge` min-width: fit-content so max-width can take effect.
5156
+ minWidth: "0",
5157
+ ".cn-studio-card:has(> .cn-studio-card-tag) > &": {
5158
+ maxWidth: `calc(100% - ${I} - ${xr})`
5159
+ }
5153
5160
  },
5154
5161
  // Footer Component
5155
5162
  ".cn-studio-card-footer": {
@@ -5299,7 +5306,7 @@ const br = {
5299
5306
  }
5300
5307
  }
5301
5308
  }
5302
- }, xr = {
5309
+ }, yr = {
5303
5310
  ".cn-switch-wrapper": {
5304
5311
  display: "flex",
5305
5312
  gap: "var(--cn-spacing-2-half)",
@@ -5388,7 +5395,7 @@ const br = {
5388
5395
  },
5389
5396
  "@apply truncate": ""
5390
5397
  }
5391
- }, l = "linear-gradient(var(--cn-table-pinned-overlay), var(--cn-table-pinned-overlay)), var(--cn-table-pinned-base)", fr = {
5398
+ }, l = "linear-gradient(var(--cn-table-pinned-overlay), var(--cn-table-pinned-overlay)), var(--cn-table-pinned-base)", wr = {
5392
5399
  ".cn-table-v2": {
5393
5400
  "@apply w-full": "",
5394
5401
  // Table container
@@ -5668,7 +5675,7 @@ const br = {
5668
5675
  ".cn-row-pin-on": {
5669
5676
  opacity: "1"
5670
5677
  }
5671
- }, yr = {
5678
+ }, kr = {
5672
5679
  ".cn-tabs-scroll-container": {
5673
5680
  position: "relative",
5674
5681
  width: "100%",
@@ -5893,7 +5900,7 @@ const br = {
5893
5900
  "@apply opacity-cn-disabled": ""
5894
5901
  }
5895
5902
  }
5896
- }, wr = [
5903
+ }, Cr = [
5897
5904
  "gray",
5898
5905
  "blue",
5899
5906
  "brown",
@@ -5909,24 +5916,24 @@ const br = {
5909
5916
  "red",
5910
5917
  "violet",
5911
5918
  "yellow"
5912
- ], kr = {
5919
+ ], Sr = {
5913
5920
  green: "success",
5914
5921
  red: "danger",
5915
5922
  yellow: "warning"
5916
- }, I = (r, e) => ({
5923
+ }, R = (r, e) => ({
5917
5924
  backgroundColor: `var(--cn-set-${r}-${e ? "outline-bg-hover" : "secondary-bg-hover"})`,
5918
5925
  borderColor: `var(--cn-set-${r}-${e ? "outline-border" : "secondary-bg-hover"})`
5919
5926
  });
5920
- function R(r) {
5927
+ function T(r) {
5921
5928
  const e = {};
5922
- return wr.forEach((n) => {
5923
- const t = kr[n] ?? n, a = r === "outline", o = {
5929
+ return Cr.forEach((n) => {
5930
+ const t = Sr[n] ?? n, a = r === "outline", o = {
5924
5931
  color: `var(--cn-set-${t}-${a ? "outline-text" : "secondary-text"})`,
5925
5932
  backgroundColor: `var(--cn-set-${t}-${a ? "outline-bg" : "secondary-bg"})`,
5926
5933
  borderColor: `var(--cn-set-${t}-${a ? "outline-border" : "secondary-bg"})`,
5927
- "&.cn-tag-hoverable:hover:not(.cn-tag-split *)": I(t, a),
5934
+ "&.cn-tag-hoverable:hover:not(.cn-tag-split *)": R(t, a),
5928
5935
  "&:where(.cn-tag-split-left)": {
5929
- ".cn-tag-split.cn-tag-split-hoverable:hover &": I(t, a)
5936
+ ".cn-tag-split.cn-tag-split-hoverable:hover &": R(t, a)
5930
5937
  },
5931
5938
  "&:where(.cn-tag-split-right)": a ? {
5932
5939
  borderColor: `var(--cn-set-${t}-secondary-bg)`,
@@ -5947,7 +5954,7 @@ function R(r) {
5947
5954
  e[`&:where(.cn-tag-${t})`] = o;
5948
5955
  }), e;
5949
5956
  }
5950
- const Cr = {
5957
+ const zr = {
5951
5958
  ".cn-tag": {
5952
5959
  display: "inline-flex",
5953
5960
  alignItems: "center",
@@ -5955,9 +5962,9 @@ const Cr = {
5955
5962
  gap: "var(--cn-tag-gap)",
5956
5963
  borderWidth: "var(--cn-tag-border)",
5957
5964
  borderRadius: "var(--cn-tag-radius-default)",
5958
- maxWidth: "var(--cn-tag-max-width)",
5965
+ maxWidth: "min(var(--cn-tag-max-width), 100%)",
5959
5966
  height: "var(--cn-tag-size-md)",
5960
- "@apply w-fit items-center transition-colors select-none font-body-single-line-normal": "",
5967
+ "@apply w-fit min-w-0 items-center transition-colors select-none font-body-single-line-normal": "",
5961
5968
  ":where(.cn-tag-action-icon-button)": {
5962
5969
  marginRight: "calc(-1 * var(--cn-tag-px))",
5963
5970
  marginLeft: "calc(-1 * var(--cn-tag-gap))",
@@ -5993,19 +6000,23 @@ const Cr = {
5993
6000
  }
5994
6001
  },
5995
6002
  "&:where(.cn-tag-outline)": {
5996
- ...R("outline")
6003
+ ...T("outline")
5997
6004
  },
5998
6005
  "&:where(.cn-tag-secondary)": {
5999
- ...R("secondary")
6006
+ ...T("secondary")
6000
6007
  },
6001
6008
  ".cn-tag-text": {
6002
6009
  "@apply truncate leading-normal align-middle inline-block": ""
6003
6010
  }
6011
+ },
6012
+ ".cn-tag-split": {
6013
+ maxWidth: "min(var(--cn-tag-split-max-width), 100%)",
6014
+ "@apply min-w-0": ""
6004
6015
  }
6005
- }, Sr = ["danger", "warning"], zr = ["sm"];
6006
- function $r() {
6016
+ }, $r = ["danger", "warning"], Ir = ["sm"];
6017
+ function Rr() {
6007
6018
  const r = {};
6008
- return Sr.forEach((e) => {
6019
+ return $r.forEach((e) => {
6009
6020
  r[`&:where(.cn-textarea-${e}):not(:disabled)`] = {
6010
6021
  borderColor: `var(--cn-border-${e})`,
6011
6022
  boxShadow: `var(--cn-ring-${e})`,
@@ -6018,13 +6029,13 @@ function $r() {
6018
6029
  boxShadow: `var(--cn-ring-${e})`
6019
6030
  }
6020
6031
  };
6021
- }), zr.forEach((e) => {
6032
+ }), Ir.forEach((e) => {
6022
6033
  r[`&.cn-textarea-${e}`] = {
6023
6034
  padding: `var(--cn-input-${e}-py) var(--cn-input-${e}-pr) var(--cn-input-${e}-py) var(--cn-input-${e}-pl)`
6024
6035
  };
6025
6036
  }), r;
6026
6037
  }
6027
- const Ir = {
6038
+ const Tr = {
6028
6039
  ".cn-textarea": {
6029
6040
  borderRadius: "var(--cn-input-radius)",
6030
6041
  padding: "var(--cn-input-md-py) var(--cn-input-md-pr) var(--cn-input-md-py) var(--cn-input-md-pl)",
@@ -6063,7 +6074,7 @@ const Ir = {
6063
6074
  "&-resizable": {
6064
6075
  resize: "vertical"
6065
6076
  },
6066
- ...$r(),
6077
+ ...Rr(),
6067
6078
  "&-label-wrapper": {
6068
6079
  display: "flex",
6069
6080
  alignItems: "center",
@@ -6084,7 +6095,7 @@ const Ir = {
6084
6095
  }
6085
6096
  }
6086
6097
  }
6087
- }, Rr = {
6098
+ }, Wr = {
6088
6099
  ".cn-time-ago-card": {
6089
6100
  "&-trigger": {
6090
6101
  "@apply leading-snug whitespace-nowrap truncate max-w-full": "",
@@ -6106,7 +6117,7 @@ const Ir = {
6106
6117
  "@apply grid grid-cols-[auto_1fr_auto] items-center whitespace-nowrap": ""
6107
6118
  }
6108
6119
  }
6109
- }, Tr = {
6120
+ }, Br = {
6110
6121
  ".cn-time-input": {
6111
6122
  // Hide the native time picker indicator across browsers so the
6112
6123
  // configurable IconV2 icon is the only affordance shown.
@@ -6118,7 +6129,7 @@ const Ir = {
6118
6129
  "-webkit-appearance": "none"
6119
6130
  }
6120
6131
  }
6121
- }, Wr = {
6132
+ }, Lr = {
6122
6133
  ".cn-toast-wrapper": {
6123
6134
  right: "var(--cn-toast-offset-right)",
6124
6135
  bottom: "var(--cn-toast-offset-bottom)"
@@ -6194,9 +6205,9 @@ const Ir = {
6194
6205
  }
6195
6206
  }
6196
6207
  }
6197
- }, Br = ["xs", "sm", "md"], Lr = () => {
6208
+ }, Hr = ["xs", "sm", "md"], Dr = () => {
6198
6209
  const r = {};
6199
- return Br.forEach((e) => {
6210
+ return Hr.forEach((e) => {
6200
6211
  r[`&.cn-toggle-${e}.cn-toggle-transparent.cn-toggle-text`] = {
6201
6212
  paddingLeft: `var(--cn-btn-px-${e})`,
6202
6213
  paddingRight: `var(--cn-btn-px-${e})`,
@@ -6205,15 +6216,15 @@ const Ir = {
6205
6216
  border: "var(--cn-btn-border) solid transparent"
6206
6217
  };
6207
6218
  }), r;
6208
- }, Hr = {
6219
+ }, Ar = {
6209
6220
  ".cn-toggle": {
6210
6221
  transitionDuration: "100ms",
6211
- ...Lr(),
6222
+ ...Dr(),
6212
6223
  '&[data-state="on"]': {
6213
6224
  color: "var(--cn-text-1)"
6214
6225
  }
6215
6226
  }
6216
- }, Dr = {
6227
+ }, jr = {
6217
6228
  ".cn-toggle-group": {
6218
6229
  gap: "var(--cn-layout-3xs)",
6219
6230
  "@apply flex": "",
@@ -6221,7 +6232,7 @@ const Ir = {
6221
6232
  "@apply flex-col": ""
6222
6233
  }
6223
6234
  }
6224
- }, Ar = {
6235
+ }, Er = {
6225
6236
  ".cn-tooltip": {
6226
6237
  minWidth: "var(--cn-tooltip-min)",
6227
6238
  maxWidth: "var(--cn-tooltip-max)",
@@ -6273,17 +6284,17 @@ const Ir = {
6273
6284
  }
6274
6285
  }
6275
6286
  }
6276
- }, T = {
6287
+ }, W = {
6277
6288
  "@apply text-cn-2 font-body-normal": "",
6278
6289
  minHeight: "var(--cn-tree-item-height)",
6279
6290
  padding: "var(--cn-tree-item-py) var(--cn-tree-item-pr) var(--cn-tree-item-py)"
6280
- }, jr = {
6291
+ }, Pr = {
6281
6292
  ".cn-file-tree": {
6282
6293
  "&-base-item": {
6283
- ...T
6294
+ ...W
6284
6295
  },
6285
6296
  "&-item": {
6286
- ...T,
6297
+ ...W,
6287
6298
  "@apply relative gap-cn-3xs flex items-center w-[fill-available]": "",
6288
6299
  "&-wrapper": {
6289
6300
  "@apply relative transition-colors": "",
@@ -6323,7 +6334,7 @@ const Ir = {
6323
6334
  }
6324
6335
  }
6325
6336
  }
6326
- }, Er = {
6337
+ }, Or = {
6327
6338
  ".cn-yaml-output-panel": {
6328
6339
  display: "flex",
6329
6340
  flexDirection: "column",
@@ -6343,81 +6354,81 @@ const Ir = {
6343
6354
  minHeight: "0",
6344
6355
  overflow: "hidden"
6345
6356
  }
6346
- }, Pr = [
6347
- A,
6348
- O,
6357
+ }, _r = [
6358
+ j,
6359
+ _,
6349
6360
  U,
6350
- re,
6351
- ge,
6352
- xr,
6353
- $e,
6354
- Cr,
6361
+ ne,
6362
+ ve,
6363
+ yr,
6355
6364
  Ie,
6365
+ zr,
6366
+ Re,
6356
6367
  Y,
6357
- oe,
6358
6368
  ce,
6359
- De,
6369
+ ie,
6370
+ Ae,
6360
6371
  Fe,
6361
- fe,
6372
+ ye,
6373
+ pe,
6374
+ te,
6375
+ kr,
6362
6376
  le,
6363
- ae,
6364
- yr,
6365
- se,
6366
- He,
6377
+ De,
6367
6378
  Ue,
6368
- Me,
6369
6379
  qe,
6370
- Ae,
6371
- Ar,
6380
+ Ke,
6381
+ je,
6382
+ Er,
6383
+ Lr,
6384
+ or,
6385
+ q,
6386
+ Ce,
6372
6387
  Wr,
6373
- tr,
6374
- M,
6375
- ke,
6376
- Rr,
6377
- rr,
6378
- Hr,
6379
- Dr,
6380
- ne,
6381
- Ge,
6382
- br,
6383
- vr,
6384
- hr,
6385
- mr,
6388
+ nr,
6389
+ Ar,
6386
6390
  jr,
6387
- Te,
6388
- Re,
6389
- Ve,
6390
- er,
6391
+ ae,
6392
+ Ne,
6391
6393
  gr,
6392
- ve,
6393
- or,
6394
- ue,
6395
- Er,
6396
6394
  ur,
6397
- // Form styles
6398
- Ze,
6395
+ mr,
6396
+ fr,
6397
+ Pr,
6398
+ We,
6399
+ Te,
6400
+ Me,
6401
+ rr,
6402
+ vr,
6403
+ ue,
6404
+ cr,
6399
6405
  he,
6400
- ie,
6406
+ Or,
6407
+ hr,
6408
+ // Form styles
6409
+ er,
6410
+ me,
6401
6411
  de,
6402
- Ne,
6403
- Ir,
6404
- ze,
6405
- te,
6406
- Le,
6412
+ se,
6413
+ Ve,
6407
6414
  Tr,
6408
- fr
6409
- ], Or = {
6415
+ $e,
6416
+ oe,
6417
+ He,
6418
+ Br,
6419
+ wr
6420
+ ], Xr = {
6410
6421
  content: [],
6411
6422
  plugins: [
6412
- H(({ addComponents: r }) => {
6413
- r(Pr);
6423
+ D(({ addComponents: r }) => {
6424
+ r(_r);
6414
6425
  })
6415
6426
  ]
6416
- }, Yr = {
6417
- presets: [Or, D],
6427
+ }, Fr = {
6428
+ presets: [Xr, A],
6418
6429
  content: ["./src/**/*.{ts,tsx}"]
6419
6430
  };
6420
6431
  export {
6421
- Yr as default
6432
+ Fr as default
6422
6433
  };
6423
6434
  //# sourceMappingURL=tailwind.config.js.map