@harnessio/ui 1.3.33 → 1.3.34

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.
@@ -1380,7 +1380,7 @@ const ce = {
1380
1380
  opacity: "0"
1381
1381
  }
1382
1382
  }
1383
- }, he = {
1383
+ }, ue = {
1384
1384
  ".cn-drawer": {
1385
1385
  "&-content": {
1386
1386
  userSelect: "auto !important",
@@ -1788,7 +1788,7 @@ const ce = {
1788
1788
  }
1789
1789
  }
1790
1790
  }
1791
- }, ue = [
1791
+ }, he = [
1792
1792
  "gray",
1793
1793
  "green",
1794
1794
  "red",
@@ -1805,7 +1805,7 @@ const ce = {
1805
1805
  "violet"
1806
1806
  ], me = () => {
1807
1807
  const r = {};
1808
- return ue.forEach((e) => {
1808
+ return he.forEach((e) => {
1809
1809
  r[`&.cn-dropdown-menu-item-indicator-${e}`] = {
1810
1810
  backgroundColor: `var(--cn-set-${e}-solid-bg)`
1811
1811
  };
@@ -2304,7 +2304,7 @@ const Se = {
2304
2304
  ...Ce()
2305
2305
  }
2306
2306
  }, ze = ["2xs", "xs", "sm", "md", "lg", "xl"], $e = ["xs", "sm", "md", "lg"];
2307
- function h(r) {
2307
+ function u(r) {
2308
2308
  const e = r === "icon" ? ze : $e, n = r === "symbol" ? "logo" : r, a = {};
2309
2309
  return e.forEach((t) => {
2310
2310
  const o = {};
@@ -2313,13 +2313,13 @@ function h(r) {
2313
2313
  }
2314
2314
  const Ie = {
2315
2315
  ".cn-icon": {
2316
- ...h("icon")
2316
+ ...u("icon")
2317
2317
  },
2318
2318
  ".cn-logo": {
2319
- ...h("logo")
2319
+ ...u("logo")
2320
2320
  },
2321
2321
  ".cn-symbol": {
2322
- ...h("symbol")
2322
+ ...u("symbol")
2323
2323
  }
2324
2324
  }, Re = ["danger", "warning", "success"];
2325
2325
  function We() {
@@ -2807,12 +2807,12 @@ const Ee = {
2807
2807
  progressBg: "danger",
2808
2808
  color: "text-danger"
2809
2809
  }
2810
- }, u = "var(--cn-comp-slider-track-progress-stripes)", Ne = `linear-gradient(45deg,
2811
- ${u} 18.75%,
2810
+ }, h = "var(--cn-comp-slider-track-progress-stripes)", Ne = `linear-gradient(45deg,
2811
+ ${h} 18.75%,
2812
2812
  transparent 18.75%,
2813
2813
  transparent 50%,
2814
- ${u} 50%,
2815
- ${u} 68.75%,
2814
+ ${h} 50%,
2815
+ ${h} 68.75%,
2816
2816
  transparent 68.75%,
2817
2817
  transparent)`, Ve = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
2818
2818
  function Me() {
@@ -3937,7 +3937,7 @@ const tr = {
3937
3937
  padding: "var(--cn-spacing-4) var(--cn-spacing-10) var(--cn-spacing-4)"
3938
3938
  }
3939
3939
  }, pr = ["sm", "md", "lg", "xs"], gr = ["2xs", "xs", "sm", "md", "lg", "xl"], br = ["xs", "sm", "md", "lg"], vr = ["sm"];
3940
- function hr() {
3940
+ function ur() {
3941
3941
  const r = {};
3942
3942
  return pr.forEach((e) => {
3943
3943
  r[`&:where(.cn-skeleton-avatar-${e})`] = {
@@ -3953,7 +3953,7 @@ function S(r) {
3953
3953
  t.width = `var(--cn-${r}-size-${a})`, t["min-width"] = `var(--cn-${r}-size-${a})`, t.height = `var(--cn-${r}-size-${a})`, t["min-height"] = `var(--cn-${r}-size-${a})`, n[`&:where(.cn-skeleton-${r}-${a})`] = t;
3954
3954
  }), n;
3955
3955
  }
3956
- function ur() {
3956
+ function hr() {
3957
3957
  const r = {};
3958
3958
  return vr.forEach((e) => {
3959
3959
  r[`&.cn-skeleton-form-item-${e}`] = {
@@ -3977,7 +3977,7 @@ const mr = {
3977
3977
  "&:where(.cn-skeleton-avatar-rounded)": {
3978
3978
  borderRadius: "var(--cn-avatar-radius-rounded)"
3979
3979
  },
3980
- ...hr()
3980
+ ...ur()
3981
3981
  },
3982
3982
  "&-icon": {
3983
3983
  ...S("icon")
@@ -4015,7 +4015,7 @@ const mr = {
4015
4015
  border: "var(--cn-input-border) solid var(--cn-border-2)",
4016
4016
  borderRadius: "var(--cn-input-radius)",
4017
4017
  backgroundColor: "var(--cn-comp-input-bg)",
4018
- ...ur()
4018
+ ...hr()
4019
4019
  }
4020
4020
  },
4021
4021
  "&-list": {
@@ -5245,8 +5245,15 @@ const mr = {
5245
5245
  '&[data-theme="danger"]': {
5246
5246
  border: "1px solid var(--cn-border-danger) !important",
5247
5247
  boxShadow: "0 0 0 3px color-mix(in srgb, var(--cn-border-danger) 20%, transparent) !important"
5248
+ },
5249
+ '&[data-theme="info"]': {
5250
+ border: "1px solid var(--cn-set-blue-outline-border) !important",
5251
+ boxShadow: "0 0 0 3px color-mix(in srgb, var(--cn-set-blue-outline-border) 20%, transparent) !important"
5248
5252
  }
5249
5253
  },
5254
+ '&[data-theme="info"]': {
5255
+ backgroundColor: "var(--cn-set-blue-outline-bg)"
5256
+ },
5250
5257
  "&:has(.cn-studio-card-group:hover)": {
5251
5258
  backgroundColor: "lch(from var(--cn-bg-3) l c h / 0.45) !important",
5252
5259
  ...I,
@@ -5411,9 +5418,22 @@ const mr = {
5411
5418
  ".cn-studio-card-tag": {
5412
5419
  "@apply flex gap-cn-3xs p-cn-2xs border rounded-t-cn-4 top-[-28px] right-0 absolute select-none": "",
5413
5420
  maxWidth: R,
5414
- color: "var(--cn-set-purple-secondary-text)",
5415
- "background-color": "var(--cn-set-purple-outline-bg)",
5416
- "border-color": "var(--cn-set-purple-outline-border)",
5421
+ "--cn-studio-card-tag-text": "var(--cn-set-purple-secondary-text)",
5422
+ "--cn-studio-card-tag-outline-bg": "var(--cn-set-purple-outline-bg)",
5423
+ "--cn-studio-card-tag-outline-border": "var(--cn-set-purple-outline-border)",
5424
+ color: "var(--cn-studio-card-tag-text)",
5425
+ "background-color": "var(--cn-studio-card-tag-outline-bg)",
5426
+ "border-color": "var(--cn-studio-card-tag-outline-border)",
5427
+ '&[data-theme="blue"]': {
5428
+ "--cn-studio-card-tag-text": "var(--cn-set-blue-secondary-text)",
5429
+ "--cn-studio-card-tag-outline-bg": "var(--cn-set-blue-outline-bg)",
5430
+ "--cn-studio-card-tag-outline-border": "var(--cn-set-blue-outline-border)"
5431
+ },
5432
+ '&[data-theme="gray"]': {
5433
+ "--cn-studio-card-tag-text": "var(--cn-set-gray-secondary-text)",
5434
+ "--cn-studio-card-tag-outline-bg": "var(--cn-set-gray-outline-bg)",
5435
+ "--cn-studio-card-tag-outline-border": "var(--cn-set-gray-outline-border)"
5436
+ },
5417
5437
  // NOT a reusable pattern — values are hand-tuned to --cn-rounded-6.
5418
5438
  // Width, height, bottom offset, and gradient stops must all be
5419
5439
  // recalculated together if the card's corner radius changes.
@@ -5424,8 +5444,8 @@ const mr = {
5424
5444
  right: "-1px",
5425
5445
  width: "var(--cn-rounded-6)",
5426
5446
  height: "var(--cn-rounded-6)",
5427
- background: "radial-gradient(circle at bottom left, transparent 0px, transparent calc(var(--cn-rounded-6) - 1px), var(--cn-set-purple-outline-border) calc(var(--cn-rounded-6) - 1px), var(--cn-set-purple-outline-border) var(--cn-rounded-6), var(--cn-set-purple-outline-bg) calc(var(--cn-rounded-6) - 1px))",
5428
- borderRight: "1px solid var(--cn-set-purple-outline-border)"
5447
+ background: "radial-gradient(circle at bottom left, transparent 0px, transparent calc(var(--cn-rounded-6) - 1px), var(--cn-studio-card-tag-outline-border) calc(var(--cn-rounded-6) - 1px), var(--cn-studio-card-tag-outline-border) var(--cn-rounded-6), var(--cn-studio-card-tag-outline-bg) calc(var(--cn-rounded-6) - 1px))",
5448
+ borderRight: "1px solid var(--cn-studio-card-tag-outline-border)"
5429
5449
  }
5430
5450
  },
5431
5451
  // Message Component
@@ -6666,7 +6686,7 @@ const Hr = {
6666
6686
  Oe,
6667
6687
  Ue,
6668
6688
  Se,
6669
- he,
6689
+ ue,
6670
6690
  de,
6671
6691
  $r,
6672
6692
  ve,