@tectra-ng/themes 0.4.1 → 0.4.3

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,4 +1,4 @@
1
- import { ACCENT_PALETTES, SEVERITY_PALETTES, SURFACE_PALETTES, layers, motion, radius, shadows, spacing, typography } from "@tectra-ng/tokens";
1
+ import { ACCENT_PALETTES, PRIMARY_ORDER, SEVERITY_PALETTES, SURFACE_PALETTES, layers, motion, radius, shadows, spacing, typography } from "@tectra-ng/tokens";
2
2
  function channel(hex, offset) {
3
3
  const value = parseInt(hex.slice(offset, offset + 2), 16) / 255;
4
4
  return value <= .03928 ? value / 12.92 : ((value + .055) / 1.055) ** 2.4;
@@ -78,7 +78,11 @@ function createLightSemantic({ accent, surface }) {
78
78
  list: { focusBackground: surface[100] },
79
79
  mask: { background: "rgba(12, 16, 21, 0.45)" },
80
80
  focusRing: { color: accent[600] },
81
- shadow: { ...shadows }
81
+ shadow: { ...shadows },
82
+ content: {
83
+ radius: "var(--tx-radius-lg)",
84
+ shadow: `0 1px 2px color-mix(in srgb, ${surface[950]}, transparent 95%)`
85
+ }
82
86
  };
83
87
  }
84
88
  function darkSeverity(scale, surface) {
@@ -148,7 +152,11 @@ function createDarkSemantic({ accent, surface }) {
148
152
  list: { focusBackground: surface[800] },
149
153
  mask: { background: "rgba(0, 0, 0, 0.6)" },
150
154
  focusRing: { color: accent[400] },
151
- shadow: { ...shadows }
155
+ shadow: { ...shadows },
156
+ content: {
157
+ radius: "var(--tx-radius-lg)",
158
+ shadow: `0 1px 2px color-mix(in srgb, ${surface[950]}, transparent 95%)`
159
+ }
152
160
  };
153
161
  }
154
162
  /* @__NO_SIDE_EFFECTS__ */
@@ -329,6 +337,10 @@ const buttonTokens = {
329
337
  activeColor: /* @__PURE__ */ tokenRef("primary-active")
330
338
  }
331
339
  };
340
+ const buttonGroupTokens = { root: {
341
+ dividerColor: /* @__PURE__ */ fade("currentColor", "68%"),
342
+ dividerWidth: "1px"
343
+ } };
332
344
  const formFieldTokens = { root: {
333
345
  background: /* @__PURE__ */ tokenRef("field-background"),
334
346
  filledBackground: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-800")),
@@ -752,6 +764,7 @@ const messageTokens = {
752
764
  fontSize: "14px",
753
765
  tint: "15%"
754
766
  },
767
+ actions: { gap: "8px" },
755
768
  closeButton: {
756
769
  size: "26px",
757
770
  borderRadius: /* @__PURE__ */ tokenRef("radius-md"),
@@ -1085,6 +1098,39 @@ const ratingTokens = {
1085
1098
  gap: "4px"
1086
1099
  }
1087
1100
  };
1101
+ const colorSwatchesTokens = {
1102
+ root: {
1103
+ gap: "6px",
1104
+ size: "22px",
1105
+ borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
1106
+ ringColor: /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("text-primary"), "88%"),
1107
+ hoverScale: "1.12",
1108
+ selectedRingColor: /* @__PURE__ */ tokenRef("primary-base"),
1109
+ selectedRingWidth: "2px",
1110
+ selectedRingOffset: "2px",
1111
+ checkColor: /* @__PURE__ */ tokenRef("surface-0"),
1112
+ checkShadow: /* @__PURE__ */ joinCss("0 0 1.5px ", /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("surface-950"), "30%")),
1113
+ checkSize: "12px",
1114
+ checkStrokeWidth: "2.5",
1115
+ focusRingColor: /* @__PURE__ */ tokenRef("focus-ring-color"),
1116
+ focusRingWidth: "2px",
1117
+ focusRingOffset: "2px",
1118
+ invalidRingColor: /* @__PURE__ */ tokenRef("form-field-invalid-border-color"),
1119
+ disabledOpacity: "0.5",
1120
+ transitionDuration: /* @__PURE__ */ tokenRef("motion-duration"),
1121
+ transitionEasing: /* @__PURE__ */ tokenRef("motion-easing")
1122
+ },
1123
+ sm: {
1124
+ size: "18px",
1125
+ gap: "4px",
1126
+ checkSize: "10px"
1127
+ },
1128
+ lg: {
1129
+ size: "28px",
1130
+ gap: "8px",
1131
+ checkSize: "15px"
1132
+ }
1133
+ };
1088
1134
  const knobTokens = { root: {
1089
1135
  valueColor: /* @__PURE__ */ tokenRef("primary-base"),
1090
1136
  rangeColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700")),
@@ -1404,8 +1450,8 @@ const dividerTokens = { root: {
1404
1450
  const cardTokens = { root: {
1405
1451
  background: /* @__PURE__ */ tokenRef("surface-card"),
1406
1452
  borderColor: /* @__PURE__ */ tokenRef("surface-border"),
1407
- borderRadius: "16px",
1408
- shadow: /* @__PURE__ */ joinCss("0 1px 2px ", /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("surface-950"), "95%")),
1453
+ borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
1454
+ shadow: /* @__PURE__ */ tokenRef("content-shadow"),
1409
1455
  padding: "20px",
1410
1456
  gap: "12px",
1411
1457
  color: /* @__PURE__ */ tokenRef("text-primary"),
@@ -1418,7 +1464,8 @@ const panelTokens = {
1418
1464
  root: {
1419
1465
  background: /* @__PURE__ */ tokenRef("surface-card"),
1420
1466
  borderColor: /* @__PURE__ */ tokenRef("surface-border"),
1421
- borderRadius: "16px",
1467
+ borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
1468
+ shadow: /* @__PURE__ */ tokenRef("content-shadow"),
1422
1469
  padding: "24px",
1423
1470
  gap: "20px",
1424
1471
  color: /* @__PURE__ */ tokenRef("text-primary"),
@@ -1555,8 +1602,10 @@ const tooltipTokens = {
1555
1602
  lineHeight: "1.5"
1556
1603
  },
1557
1604
  arrow: {
1558
- size: "5px",
1559
- inset: "10px"
1605
+ size: "3.5px",
1606
+ inset: "10px",
1607
+ background: "initial",
1608
+ shadow: "drop-shadow(0 1.5px 1.5px rgba(12, 16, 21, 0.1))"
1560
1609
  }
1561
1610
  };
1562
1611
  const popoverTokens = {
@@ -1595,7 +1644,11 @@ const popoverTokens = {
1595
1644
  },
1596
1645
  arrow: {
1597
1646
  size: "14px",
1598
- inset: "15.75px"
1647
+ inset: "15.75px",
1648
+ background: "initial",
1649
+ borderColor: "initial",
1650
+ borderWidth: "initial",
1651
+ shadow: "none"
1599
1652
  },
1600
1653
  focusRing: {
1601
1654
  width: "2px",
@@ -1830,6 +1883,14 @@ const menuTokens = {
1830
1883
  fontWeight: /* @__PURE__ */ tokenRef("font-weight-medium"),
1831
1884
  itemBorderWidth: "1px"
1832
1885
  },
1886
+ arrow: {
1887
+ size: "14px",
1888
+ inset: "15.75px",
1889
+ background: "initial",
1890
+ borderColor: "initial",
1891
+ borderWidth: "1px",
1892
+ shadow: "none"
1893
+ },
1833
1894
  context: {
1834
1895
  background: /* @__PURE__ */ joinCss("color-mix(in srgb, ", /* @__PURE__ */ tokenRef("surface-card"), " 92%, transparent)"),
1835
1896
  borderColor: /* @__PURE__ */ tokenRef("surface-border"),
@@ -1850,7 +1911,7 @@ const menuTokens = {
1850
1911
  };
1851
1912
  const splitButtonTokens = { root: {
1852
1913
  dividerColor: "color-mix(in srgb, currentColor 32%, transparent)",
1853
- dividerWidth: "0px"
1914
+ dividerWidth: "1px"
1854
1915
  } };
1855
1916
  const speedDialTokens = {
1856
1917
  root: {
@@ -1896,7 +1957,7 @@ const paginatorTokens = {
1896
1957
  fontWeight: /* @__PURE__ */ tokenRef("font-weight-regular"),
1897
1958
  fontSize: /* @__PURE__ */ tokenRef("font-size-md")
1898
1959
  },
1899
- jumpToPageInput: { maxWidth: "31.5px" },
1960
+ jumpToPageInput: { maxWidth: /* @__PURE__ */ joinCss("calc(2 * ", /* @__PURE__ */ tokenRef("form-field-padding-x"), " + 2px + 4ch)") },
1900
1961
  total: {
1901
1962
  color: /* @__PURE__ */ tokenRef("text-primary"),
1902
1963
  fontWeight: /* @__PURE__ */ tokenRef("font-weight-bold"),
@@ -1954,7 +2015,7 @@ const tableTokens = {
1954
2015
  color: /* @__PURE__ */ tokenRef("text-primary"),
1955
2016
  stripedBackground: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-950")),
1956
2017
  selectedBackground: /* @__PURE__ */ tokenRef("highlight-background"),
1957
- selectedColor: /* @__PURE__ */ tokenRef("highlight-color"),
2018
+ selectedColor: /* @__PURE__ */ tokenRef("text-primary"),
1958
2019
  menuBackground: /* @__PURE__ */ mix(/* @__PURE__ */ tokenRef("primary-base"), "8%", /* @__PURE__ */ tokenRef("surface-card")),
1959
2020
  focusRing: {
1960
2021
  width: "2px",
@@ -2147,9 +2208,14 @@ const dataViewTokens = {
2147
2208
  color: /* @__PURE__ */ tokenRef("text-primary"),
2148
2209
  borderColor: /* @__PURE__ */ tokenRef("surface-border"),
2149
2210
  borderWidth: "0",
2150
- borderRadius: "0",
2211
+ borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
2212
+ shadow: /* @__PURE__ */ tokenRef("content-shadow"),
2151
2213
  transitionDuration: /* @__PURE__ */ tokenRef("motion-duration")
2152
2214
  },
2215
+ content: {
2216
+ padding: "0",
2217
+ gridPadding: "12.25px"
2218
+ },
2153
2219
  header: {
2154
2220
  background: /* @__PURE__ */ tokenRef("surface-card"),
2155
2221
  color: /* @__PURE__ */ tokenRef("text-primary"),
@@ -2217,7 +2283,8 @@ const statTileTokens = {
2217
2283
  background: /* @__PURE__ */ tokenRef("surface-card"),
2218
2284
  borderColor: /* @__PURE__ */ tokenRef("surface-border"),
2219
2285
  borderWidth: "1px",
2220
- borderRadius: /* @__PURE__ */ tokenRef("radius-lg"),
2286
+ borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
2287
+ shadow: /* @__PURE__ */ tokenRef("content-shadow"),
2221
2288
  paddingX: "17.5px",
2222
2289
  paddingY: "14px",
2223
2290
  gap: "10.5px",
@@ -2323,7 +2390,7 @@ const analogClockTokens = {
2323
2390
  transitionEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)"
2324
2391
  },
2325
2392
  tick: {
2326
- width: "3.5px",
2393
+ width: "1.667%",
2327
2394
  height: "4%",
2328
2395
  offset: "-1125%",
2329
2396
  color: /* @__PURE__ */ tokenRef("surface-border"),
@@ -2332,22 +2399,22 @@ const analogClockTokens = {
2332
2399
  majorColor: /* @__PURE__ */ tokenRef("text-muted")
2333
2400
  },
2334
2401
  hourHand: {
2335
- width: "5.25px",
2402
+ width: "2.5%",
2336
2403
  length: "27%",
2337
2404
  color: /* @__PURE__ */ tokenRef("text-primary")
2338
2405
  },
2339
2406
  minuteHand: {
2340
- width: "3.5px",
2407
+ width: "1.667%",
2341
2408
  length: "40%",
2342
2409
  color: /* @__PURE__ */ tokenRef("primary-base")
2343
2410
  },
2344
2411
  secondHand: {
2345
- width: "1.75px",
2412
+ width: "0.833%",
2346
2413
  length: "42%",
2347
2414
  color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-600"), /* @__PURE__ */ tokenRef("red-400"))
2348
2415
  },
2349
2416
  pin: {
2350
- size: "14px",
2417
+ size: "6.667%",
2351
2418
  color: /* @__PURE__ */ tokenRef("primary-base"),
2352
2419
  ringWidth: "4px",
2353
2420
  ringColor: /* @__PURE__ */ tokenRef("surface-card")
@@ -2391,6 +2458,7 @@ const datePickerTokens = {
2391
2458
  borderColor: /* @__PURE__ */ tokenRef("form-field-border-color"),
2392
2459
  hoverBorderColor: /* @__PURE__ */ tokenRef("form-field-border-color"),
2393
2460
  activeBorderColor: /* @__PURE__ */ tokenRef("form-field-border-color"),
2461
+ invalidBorderColor: /* @__PURE__ */ tokenRef("form-field-invalid-border-color"),
2394
2462
  color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-300")),
2395
2463
  hoverColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-700"), /* @__PURE__ */ tokenRef("surface-200")),
2396
2464
  activeColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-800"), /* @__PURE__ */ tokenRef("surface-100")),
@@ -2575,9 +2643,9 @@ const tabsTokens = {
2575
2643
  gap: "3.5px",
2576
2644
  padding: "3.5px",
2577
2645
  borderWidth: "1px",
2578
- borderColor: /* @__PURE__ */ tokenRef("surface-border"),
2646
+ borderColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700")),
2579
2647
  borderRadius: "10.5px",
2580
- background: /* @__PURE__ */ tokenRef("surface-ground"),
2648
+ background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-800")),
2581
2649
  focusRingOffset: "1px",
2582
2650
  tab: {
2583
2651
  padding: "8.75px 10.5px",
@@ -2606,8 +2674,8 @@ const tabsTokens = {
2606
2674
  gap: "1.75px",
2607
2675
  padding: "3.5px",
2608
2676
  borderRadius: "10px",
2609
- background: /* @__PURE__ */ tokenRef("surface-ground"),
2610
- ringColor: /* @__PURE__ */ tokenRef("surface-border"),
2677
+ background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-800")),
2678
+ ringColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700")),
2611
2679
  focusRingOffset: "1px",
2612
2680
  transitionDuration: "0.15s",
2613
2681
  tab: {
@@ -3312,9 +3380,9 @@ const toggleButtonTokens = {
3312
3380
  color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
3313
3381
  hoverColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-800"), /* @__PURE__ */ tokenRef("surface-300")),
3314
3382
  checkedColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-900"), /* @__PURE__ */ tokenRef("surface-0")),
3315
- disabledBackground: /* @__PURE__ */ tokenRef("field-disabled-background"),
3316
- disabledBorderColor: /* @__PURE__ */ tokenRef("field-disabled-background"),
3317
- disabledColor: /* @__PURE__ */ tokenRef("text-muted"),
3383
+ disabledBackground: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-950")),
3384
+ disabledBorderColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-900")),
3385
+ disabledColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-600")),
3318
3386
  invalidBorderColor: /* @__PURE__ */ tokenRef("danger-base"),
3319
3387
  focusRing: {
3320
3388
  width: "2px",
@@ -3336,7 +3404,7 @@ const toggleButtonTokens = {
3336
3404
  color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
3337
3405
  hoverColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-700"), /* @__PURE__ */ tokenRef("surface-300")),
3338
3406
  checkedColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-900"), /* @__PURE__ */ tokenRef("surface-0")),
3339
- disabledColor: /* @__PURE__ */ tokenRef("text-muted")
3407
+ disabledColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-600"))
3340
3408
  },
3341
3409
  content: {
3342
3410
  padding: "4px 10px",
@@ -3347,6 +3415,68 @@ const toggleButtonTokens = {
3347
3415
  lg: { padding: "5px 12px" }
3348
3416
  }
3349
3417
  };
3418
+ const selectButtonTokens = {
3419
+ root: {
3420
+ gap: "3.5px",
3421
+ padding: "3.5px",
3422
+ borderWidth: "1px",
3423
+ borderColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700")),
3424
+ borderRadius: "10.5px",
3425
+ background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-800")),
3426
+ invalidBorderColor: /* @__PURE__ */ tokenRef("danger-base"),
3427
+ disabledOpacity: "0.6",
3428
+ transitionDuration: "0.2s",
3429
+ focusRing: {
3430
+ width: "2px",
3431
+ color: /* @__PURE__ */ tokenRef("focus-ring-color"),
3432
+ offset: "1px"
3433
+ },
3434
+ sm: {
3435
+ gap: "1.75px",
3436
+ padding: "1.75px",
3437
+ borderRadius: "7px"
3438
+ },
3439
+ lg: {
3440
+ gap: "3.5px",
3441
+ padding: "3.5px",
3442
+ borderRadius: "12.25px"
3443
+ }
3444
+ },
3445
+ item: {
3446
+ padding: "8.75px 10.5px",
3447
+ iconOnlyPadding: "8.75px",
3448
+ gap: "7px",
3449
+ borderRadius: "7px",
3450
+ fontSize: /* @__PURE__ */ tokenRef("font-size-md"),
3451
+ fontWeight: /* @__PURE__ */ tokenRef("font-weight-semibold"),
3452
+ lineHeight: "1.25",
3453
+ color: /* @__PURE__ */ tokenRef("text-muted"),
3454
+ hoverColor: /* @__PURE__ */ tokenRef("text-primary"),
3455
+ hoverBackground: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-700")),
3456
+ activeBackground: /* @__PURE__ */ tokenRef("primary-base"),
3457
+ activeColor: /* @__PURE__ */ tokenRef("primary-contrast"),
3458
+ activeShadow: "none",
3459
+ sm: {
3460
+ padding: "5.25px 7px",
3461
+ iconOnlyPadding: "5.25px",
3462
+ gap: "3.5px",
3463
+ fontSize: "12.25px",
3464
+ borderRadius: "5.25px"
3465
+ },
3466
+ lg: {
3467
+ padding: "10.5px 14px",
3468
+ iconOnlyPadding: "10.5px",
3469
+ gap: "8.75px",
3470
+ fontSize: /* @__PURE__ */ tokenRef("font-size-lg"),
3471
+ borderRadius: "8.75px"
3472
+ }
3473
+ },
3474
+ activate: {
3475
+ scale: "0.94",
3476
+ duration: "220ms",
3477
+ easing: "cubic-bezier(0.2, 0.9, 0.3, 1.2)"
3478
+ }
3479
+ };
3350
3480
  const numberShadow = "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)";
3351
3481
  const focusRing$1 = {
3352
3482
  width: "2px",
@@ -3481,6 +3611,12 @@ const breadcrumbTokens = {
3481
3611
  item: {
3482
3612
  color: /* @__PURE__ */ tokenRef("text-muted"),
3483
3613
  hoverColor: /* @__PURE__ */ tokenRef("text-primary"),
3614
+ textColor: /* @__PURE__ */ tokenRef("text-muted"),
3615
+ linkDecoration: "underline",
3616
+ linkDecorationColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-300"), /* @__PURE__ */ tokenRef("surface-600")),
3617
+ linkHoverDecorationColor: "currentColor",
3618
+ linkDecorationThickness: "1px",
3619
+ linkUnderlineOffset: "3px",
3484
3620
  borderRadius: /* @__PURE__ */ tokenRef("radius-lg"),
3485
3621
  gap: "7px",
3486
3622
  fontSize: /* @__PURE__ */ tokenRef("font-size-md"),
@@ -3752,7 +3888,8 @@ const filtersPanelTokens = {
3752
3888
  root: {
3753
3889
  background: /* @__PURE__ */ tokenRef("surface-card"),
3754
3890
  borderColor: /* @__PURE__ */ tokenRef("surface-border"),
3755
- borderRadius: /* @__PURE__ */ tokenRef("radius-lg"),
3891
+ borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
3892
+ shadow: /* @__PURE__ */ tokenRef("content-shadow"),
3756
3893
  padding: "17.5px",
3757
3894
  gap: "10.5px",
3758
3895
  color: /* @__PURE__ */ tokenRef("text-primary")
@@ -3805,9 +3942,10 @@ const filtersPanelTokens = {
3805
3942
  shadow: "0 16px 40px -12px rgb(0 0 0 / 0.22), 0 4px 12px -4px rgb(0 0 0 / 0.1)",
3806
3943
  headPadding: "5.25px 8.75px 7px",
3807
3944
  headGap: "10.5px",
3808
- titleFontSize: "9.625px",
3945
+ titleFontSize: /* @__PURE__ */ tokenRef("font-size-xs"),
3809
3946
  titleFontWeight: /* @__PURE__ */ tokenRef("font-weight-semibold"),
3810
- titleLetterSpacing: "0.05em",
3947
+ titleLetterSpacing: "normal",
3948
+ titleTextTransform: "none",
3811
3949
  mutedColor: /* @__PURE__ */ tokenRef("text-muted"),
3812
3950
  rowGap: "1px",
3813
3951
  rowHeight: "28px",
@@ -4160,9 +4298,9 @@ const wizardTokens = {
4160
4298
  progress: {
4161
4299
  gap: "7px",
4162
4300
  labelColor: /* @__PURE__ */ tokenRef("text-muted"),
4163
- labelFontSize: "10.5px",
4301
+ labelFontSize: /* @__PURE__ */ tokenRef("font-size-xs"),
4164
4302
  labelFontWeight: /* @__PURE__ */ tokenRef("font-weight-medium"),
4165
- labelLetterSpacing: "0.08em",
4303
+ labelLetterSpacing: "normal",
4166
4304
  segmentGap: "5.25px",
4167
4305
  segmentHeight: "5.25px",
4168
4306
  segmentBackground: /* @__PURE__ */ tokenRef("surface-border"),
@@ -4314,9 +4452,10 @@ const commandPaletteTokens = {
4314
4452
  results: {
4315
4453
  padding: "7px",
4316
4454
  groupPadding: "10.5px 10.5px 5.25px",
4317
- groupFontSize: "9.625px",
4455
+ groupFontSize: /* @__PURE__ */ tokenRef("font-size-xs"),
4318
4456
  groupFontWeight: /* @__PURE__ */ tokenRef("font-weight-semibold"),
4319
- groupLetterSpacing: "0.05em",
4457
+ groupLetterSpacing: "normal",
4458
+ groupTextTransform: "none",
4320
4459
  groupColor: /* @__PURE__ */ tokenRef("text-muted"),
4321
4460
  statusGap: "7px",
4322
4461
  statusPadding: "28px 14px",
@@ -4501,6 +4640,14 @@ const switchThemeTokens = {
4501
4640
  hiddenScale: "0.5"
4502
4641
  }
4503
4642
  };
4643
+ const themeConfiguratorTokens = { root: {
4644
+ width: "17.5rem",
4645
+ gap: "16px",
4646
+ sectionGap: "8px",
4647
+ labelColor: /* @__PURE__ */ tokenRef("text-muted"),
4648
+ labelFontSize: /* @__PURE__ */ tokenRef("font-size-sm"),
4649
+ labelFontWeight: /* @__PURE__ */ tokenRef("font-weight-semibold")
4650
+ } };
4504
4651
  const switchLanguageTokens = {
4505
4652
  root: {
4506
4653
  height: "37px",
@@ -4717,7 +4864,9 @@ const confettiTokens = {
4717
4864
  motion: {
4718
4865
  duration: "1.1s",
4719
4866
  easing: "cubic-bezier(0.16, 1, 0.3, 1)",
4720
- stagger: "40ms"
4867
+ stagger: "40ms",
4868
+ hold: "500ms",
4869
+ fadeDuration: "600ms"
4721
4870
  }
4722
4871
  };
4723
4872
  const hoverEffectTokens = { root: {
@@ -4740,12 +4889,12 @@ const chartTokens = {
4740
4889
  },
4741
4890
  series: {
4742
4891
  color1: /* @__PURE__ */ tokenRef("primary-400"),
4743
- color2: "#5ccfb6",
4744
- color3: "#f7ad6a",
4745
- color4: "#f290b0",
4746
- color5: "#a797f2",
4747
- color6: "#6cc3e6",
4748
- color7: "#9fd47a"
4892
+ color2: "oklch(from var(--tx-primary-400) 0.78 0.11 calc(h - 90))",
4893
+ color3: "oklch(from var(--tx-primary-400) 0.8 0.12 calc(h + 160))",
4894
+ color4: "oklch(from var(--tx-primary-400) 0.76 0.12 calc(h + 95))",
4895
+ color5: "oklch(from var(--tx-primary-400) 0.72 0.13 calc(h + 28))",
4896
+ color6: "oklch(from var(--tx-primary-400) 0.77 0.1 calc(h - 37))",
4897
+ color7: "oklch(from var(--tx-primary-400) 0.81 0.13 calc(h - 130))"
4749
4898
  },
4750
4899
  toolbar: {
4751
4900
  rowHeight: "31px",
@@ -4960,7 +5109,7 @@ const chartTokens = {
4960
5109
  waterfall: {
4961
5110
  upColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("green-500"), /* @__PURE__ */ tokenRef("green-400")),
4962
5111
  downColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-500"), /* @__PURE__ */ tokenRef("red-400")),
4963
- totalColor: /* @__PURE__ */ tokenRef("primary-base"),
5112
+ totalColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-500"), /* @__PURE__ */ tokenRef("surface-400")),
4964
5113
  connectorColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-500")),
4965
5114
  connectorWidth: "1",
4966
5115
  connectorDash: "3 3",
@@ -4979,7 +5128,7 @@ const chartTokens = {
4979
5128
  connectorOpacity: "0.16",
4980
5129
  conversionColor: /* @__PURE__ */ tokenRef("text-muted"),
4981
5130
  conversionFontSize: "11px",
4982
- labelWidth: "0.3",
5131
+ labelWidth: "0.4",
4983
5132
  dimmedOpacity: "0.35"
4984
5133
  },
4985
5134
  bullet: {
@@ -5062,6 +5211,11 @@ const chartTokens = {
5062
5211
  milestoneSize: "14px",
5063
5212
  milestoneColor: /* @__PURE__ */ tokenRef("text-primary"),
5064
5213
  milestoneRadius: "2px",
5214
+ dependencyColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-500")),
5215
+ dependencyWidth: "1.5px",
5216
+ dependencyActiveColor: /* @__PURE__ */ tokenRef("text-primary"),
5217
+ dependencyActiveWidth: "2px",
5218
+ dimmedOpacity: "0.35",
5065
5219
  toolbarGap: "8px",
5066
5220
  maxHeight: "420px",
5067
5221
  radius: /* @__PURE__ */ tokenRef("radius-lg")
@@ -5161,18 +5315,18 @@ const chartTokens = {
5161
5315
  strokeWidth: "2.5",
5162
5316
  markerRadius: "4",
5163
5317
  markerHoverRadius: "6",
5164
- color1: /* @__PURE__ */ tokenRef("primary-500"),
5165
- color2: "#1f9d90",
5166
- color3: /* @__PURE__ */ tokenRef("orange-400"),
5167
- color4: "#f43f5e",
5168
- color5: /* @__PURE__ */ tokenRef("purple-500"),
5169
- color6: "#0899b6",
5170
- color7: /* @__PURE__ */ tokenRef("green-500"),
5171
- color8: /* @__PURE__ */ tokenRef("amber-500"),
5172
- color9: "#6366f1",
5173
- color10: "#ec4899",
5174
- color11: "#65a30d",
5175
- color12: /* @__PURE__ */ tokenRef("sky-600")
5318
+ color1: "var(--tx-chart-series-color1)",
5319
+ color2: "var(--tx-chart-series-color2)",
5320
+ color3: "var(--tx-chart-series-color3)",
5321
+ color4: "var(--tx-chart-series-color4)",
5322
+ color5: "var(--tx-chart-series-color5)",
5323
+ color6: "var(--tx-chart-series-color6)",
5324
+ color7: "var(--tx-chart-series-color7)",
5325
+ color8: "oklch(from var(--tx-chart-series-color2) calc(l - 0.18) c h)",
5326
+ color9: "oklch(from var(--tx-chart-series-color3) calc(l - 0.18) c h)",
5327
+ color10: "oklch(from var(--tx-chart-series-color4) calc(l - 0.18) c h)",
5328
+ color11: "oklch(from var(--tx-chart-series-color5) calc(l - 0.18) c h)",
5329
+ color12: "oklch(from var(--tx-chart-series-color6) calc(l - 0.18) c h)"
5176
5330
  },
5177
5331
  orgChart: {
5178
5332
  gap: "14px",
@@ -5192,7 +5346,7 @@ const chartTokens = {
5192
5346
  connectorRadius: /* @__PURE__ */ tokenRef("radius-md"),
5193
5347
  pathColor: /* @__PURE__ */ tokenRef("primary-base"),
5194
5348
  pathWidth: "2px",
5195
- cardWidth: "196px",
5349
+ cardWidth: "224px",
5196
5350
  cardPaddingX: "10.5px",
5197
5351
  cardPaddingY: "8.75px",
5198
5352
  cardGap: "10.5px",
@@ -5373,17 +5527,20 @@ const COMPONENT_TOKENS = {
5373
5527
  floatLabel: floatLabelTokens,
5374
5528
  iftaLabel: iftaLabelTokens,
5375
5529
  button: buttonTokens,
5530
+ buttonGroup: buttonGroupTokens,
5376
5531
  select: selectTokens,
5377
5532
  listbox: listboxTokens,
5378
5533
  chipsInput: chipsInputTokens,
5379
5534
  country: countryTokens,
5380
5535
  colorPicker: colorPickerTokens,
5536
+ colorSwatches: colorSwatchesTokens,
5381
5537
  mention: mentionTokens,
5382
5538
  tree: treeTokens,
5383
5539
  cascadeSelect: cascadeSelectTokens,
5384
5540
  emailSuggestion: emailSuggestionTokens,
5385
5541
  badge: badgeTokens,
5386
5542
  toggleButton: toggleButtonTokens,
5543
+ selectButton: selectButtonTokens,
5387
5544
  message: messageTokens,
5388
5545
  fieldMessage: fieldMessageTokens,
5389
5546
  field: fieldTokens,
@@ -5470,6 +5627,7 @@ const COMPONENT_TOKENS = {
5470
5627
  actionsMenu: actionsMenuTokens,
5471
5628
  actionTile: actionTileTokens,
5472
5629
  switchTheme: switchThemeTokens,
5630
+ themeConfigurator: themeConfiguratorTokens,
5473
5631
  switchLanguage: switchLanguageTokens,
5474
5632
  topbarPreferences: topbarPreferencesTokens,
5475
5633
  publicHeader: publicHeaderTokens,
@@ -5481,6 +5639,10 @@ const COMPONENT_TOKENS = {
5481
5639
  mascot: mascotTokens,
5482
5640
  chart: chartTokens
5483
5641
  };
5642
+ const content$1 = {
5643
+ radius: "var(--tx-radius-sm)",
5644
+ shadow: "0 1px 4px 0 rgba(0, 0, 0, 0.1)"
5645
+ };
5484
5646
  function edgeLight({ accent, surface }) {
5485
5647
  const base = primaryBaseStep(accent);
5486
5648
  return {
@@ -5502,7 +5664,8 @@ function edgeLight({ accent, surface }) {
5502
5664
  color: surface[0],
5503
5665
  focusColor: surface[0]
5504
5666
  },
5505
- list: { focusBackground: surface[200] }
5667
+ list: { focusBackground: surface[200] },
5668
+ content: content$1
5506
5669
  };
5507
5670
  }
5508
5671
  function edgeDark({ accent, surface }) {
@@ -5528,7 +5691,8 @@ function edgeDark({ accent, surface }) {
5528
5691
  focusColor: surface[950]
5529
5692
  },
5530
5693
  list: { focusBackground: surface[700] },
5531
- focusRing: { color: accent[500] }
5694
+ focusRing: { color: accent[500] },
5695
+ content: content$1
5532
5696
  };
5533
5697
  }
5534
5698
  const filledBackground = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-800"));
@@ -5744,6 +5908,34 @@ const edgeControlsTokens = {
5744
5908
  background: /* @__PURE__ */ tokenRef("primary-base"),
5745
5909
  shadow: "none"
5746
5910
  }
5911
+ },
5912
+ filtersPanel: { button: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") } },
5913
+ commandPalette: { trigger: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") } },
5914
+ tabs: {
5915
+ segmented: {
5916
+ borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
5917
+ tab: { borderRadius: "1px" },
5918
+ sm: {
5919
+ borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
5920
+ tabBorderRadius: "1px"
5921
+ }
5922
+ },
5923
+ pills: {
5924
+ borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
5925
+ tab: { borderRadius: "1px" }
5926
+ }
5927
+ },
5928
+ selectButton: {
5929
+ root: {
5930
+ borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
5931
+ sm: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") },
5932
+ lg: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") }
5933
+ },
5934
+ item: {
5935
+ borderRadius: "1px",
5936
+ sm: { borderRadius: "1px" },
5937
+ lg: { borderRadius: "1px" }
5938
+ }
5747
5939
  }
5748
5940
  };
5749
5941
  /* @__NO_SIDE_EFFECTS__ */
@@ -5800,14 +5992,7 @@ const edgeDisplayTokens = {
5800
5992
  color: /* @__PURE__ */ tokenRef("text-primary")
5801
5993
  } },
5802
5994
  divider: { root: { contentColor: /* @__PURE__ */ tokenRef("text-primary") } },
5803
- card: { root: {
5804
- borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
5805
- shadow: "0 1px 4px 0 rgba(0, 0, 0, 0.1)"
5806
- } },
5807
- panel: { root: {
5808
- borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
5809
- titleFontWeight: /* @__PURE__ */ tokenRef("font-weight-bold")
5810
- } },
5995
+ panel: { root: { titleFontWeight: /* @__PURE__ */ tokenRef("font-weight-bold") } },
5811
5996
  fieldset: { root: {
5812
5997
  borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
5813
5998
  padding: "8.75px 14px 14px 14px",
@@ -5902,6 +6087,7 @@ const edgeStyle = {
5902
6087
  },
5903
6088
  table: {
5904
6089
  root: { borderColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-300"), /* @__PURE__ */ tokenRef("surface-600")) },
6090
+ row: { selectedColor: /* @__PURE__ */ tokenRef("highlight-color") },
5905
6091
  headerCell: { fontWeight: /* @__PURE__ */ tokenRef("font-weight-bold") },
5906
6092
  footerCell: { fontWeight: /* @__PURE__ */ tokenRef("font-weight-bold") }
5907
6093
  },
@@ -5911,235 +6097,9 @@ const edgeStyle = {
5911
6097
  } }
5912
6098
  })
5913
6099
  };
5914
- const shadow = {
5915
- field: "none",
5916
- overlay: "0 18px 44px -16px rgba(12, 16, 21, 0.26), 0 4px 12px -4px rgba(12, 16, 21, 0.08)",
5917
- modal: "0 40px 80px -28px rgba(12, 16, 21, 0.4), 0 8px 24px -8px rgba(12, 16, 21, 0.12)"
5918
- };
5919
- function softLight({ surface }) {
5920
- return {
5921
- surface: {
5922
- border: surface[100],
5923
- overlayBorder: "transparent"
5924
- },
5925
- field: {
5926
- disabledBackground: surface[200],
5927
- placeholder: surface[600],
5928
- icon: surface[600]
5929
- },
5930
- shadow
5931
- };
5932
- }
5933
- function softDark({ surface }) {
5934
- return {
5935
- surface: {
5936
- border: surface[800],
5937
- overlayBorder: surface[800]
5938
- },
5939
- field: { disabledBackground: surface[700] },
5940
- shadow
5941
- };
5942
- }
5943
- const softGlow = /* @__NO_SIDE_EFFECTS__ */ (color) => /* @__PURE__ */ lightDark(/* @__PURE__ */ fade(/* @__PURE__ */ tokenRef(color), "72%"), /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef(color), "62%"));
5944
- const softFocusShadow = /* @__NO_SIDE_EFFECTS__ */ (color = "primary-base") => /* @__PURE__ */ joinCss("0 0 0 3px ", /* @__PURE__ */ softGlow(color));
5945
- const softFill = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-800"));
5946
- const softFillHover = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700"));
5947
- const softLine = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-300"), /* @__PURE__ */ tokenRef("surface-600"));
5948
- const softCardShadow = /* @__PURE__ */ joinCss("0 1px 2px ", /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("surface-950"), "96%"), ", 0 8px 24px -12px ", /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("surface-950"), "86%"));
5949
- const softFormsTokens = {
5950
- formField: { root: {
5951
- background: softFill,
5952
- filledBackground: softFill,
5953
- filledHoverBackground: softFillHover,
5954
- filledFocusBackground: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-0"), /* @__PURE__ */ tokenRef("surface-900")),
5955
- placeholderColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
5956
- iconColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
5957
- borderColor: softFill,
5958
- hoverBorderColor: softLine,
5959
- shadow: "none",
5960
- borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
5961
- paddingX: "14px",
5962
- sm: { paddingX: "12px" },
5963
- lg: { paddingX: "16px" },
5964
- focusRing: { shadow: /* @__PURE__ */ softFocusShadow() },
5965
- invalidFocusRing: { shadow: /* @__PURE__ */ softFocusShadow("danger-base") }
5966
- } },
5967
- inputGroup: { addon: {
5968
- background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-800")),
5969
- borderColor: softFill
5970
- } },
5971
- select: {
5972
- overlay: { borderRadius: /* @__PURE__ */ tokenRef("radius-xl") },
5973
- list: {
5974
- padding: "6px",
5975
- gap: "2px"
5976
- },
5977
- option: {
5978
- padding: "8px 12px",
5979
- borderRadius: /* @__PURE__ */ tokenRef("radius-lg")
5980
- },
5981
- chip: { borderRadius: /* @__PURE__ */ tokenRef("radius-full") },
5982
- checkbox: {
5983
- borderRadius: "6px",
5984
- borderColor: softLine
5985
- },
5986
- optionGroup: { color: /* @__PURE__ */ tokenRef("text-muted") }
5987
- },
5988
- listbox: { root: { focusRingShadow: /* @__PURE__ */ softFocusShadow() } },
5989
- chipsInput: { root: { chipBorderRadius: /* @__PURE__ */ tokenRef("radius-full") } },
5990
- password: { panel: { borderRadius: /* @__PURE__ */ tokenRef("radius-xl") } }
5991
- };
5992
- const focus = /* @__NO_SIDE_EFFECTS__ */ (color) => ({ focusRing: {
5993
- color: "transparent",
5994
- shadow: /* @__PURE__ */ softFocusShadow(color)
5995
- } });
5996
- const tonal = /* @__NO_SIDE_EFFECTS__ */ (amount) => /* @__PURE__ */ mix(/* @__PURE__ */ tokenRef("primary-base"), amount, /* @__PURE__ */ tokenRef("surface-card"));
5997
- const glowRing = {
5998
- focusRingColor: /* @__PURE__ */ softGlow("primary-base"),
5999
- focusRingWidth: "3px",
6000
- focusRingOffset: "0"
6001
- };
6002
- const softStyle = {
6003
- name: "soft",
6004
- label: "Soft",
6005
- light: softLight,
6006
- dark: softDark,
6007
- components: /* @__PURE__ */ mergeTokens(softFormsTokens, {
6008
- button: { root: {
6009
- borderRadius: "22px",
6010
- paddingX: "16px",
6011
- sm: { paddingX: "12px" },
6012
- lg: { paddingX: "20px" },
6013
- focusRing: {
6014
- width: "0",
6015
- style: "none",
6016
- offset: "0"
6017
- },
6018
- primary: /* @__PURE__ */ focus("primary-base"),
6019
- secondary: /* @__PURE__ */ mergeTokens({
6020
- background: /* @__PURE__ */ tonal("12%"),
6021
- hoverBackground: /* @__PURE__ */ tonal("18%"),
6022
- activeBackground: /* @__PURE__ */ tonal("26%"),
6023
- borderColor: /* @__PURE__ */ tonal("12%"),
6024
- hoverBorderColor: /* @__PURE__ */ tonal("18%"),
6025
- activeBorderColor: /* @__PURE__ */ tonal("26%"),
6026
- color: /* @__PURE__ */ tokenRef("primary-soft-text"),
6027
- hoverColor: /* @__PURE__ */ tokenRef("primary-soft-text"),
6028
- activeColor: /* @__PURE__ */ tokenRef("primary-soft-text")
6029
- }, /* @__PURE__ */ focus("primary-base")),
6030
- info: /* @__PURE__ */ focus("info-base"),
6031
- success: /* @__PURE__ */ focus("success-base"),
6032
- warn: /* @__PURE__ */ focus("warn-base"),
6033
- help: /* @__PURE__ */ focus("help-base"),
6034
- danger: /* @__PURE__ */ focus("danger-base"),
6035
- contrast: /* @__PURE__ */ focus("contrast-base")
6036
- } },
6037
- toggleButton: {
6038
- root: {
6039
- borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
6040
- borderColor: "transparent",
6041
- checkedBorderColor: "transparent",
6042
- focusRing: {
6043
- width: "3px",
6044
- color: /* @__PURE__ */ softGlow("primary-base"),
6045
- offset: "0"
6046
- }
6047
- },
6048
- content: { borderRadius: /* @__PURE__ */ tokenRef("radius-full") }
6049
- },
6050
- checkbox: { root: /* @__PURE__ */ mergeTokens({
6051
- borderRadius: "6px",
6052
- borderColor: softLine,
6053
- hoverBorderColor: /* @__PURE__ */ tokenRef("primary-base"),
6054
- disabledBorderColor: softLine
6055
- }, glowRing) },
6056
- radioButton: {
6057
- root: /* @__PURE__ */ mergeTokens({
6058
- borderColor: softLine,
6059
- hoverBorderColor: /* @__PURE__ */ tokenRef("primary-base"),
6060
- disabledBorderColor: softLine
6061
- }, glowRing),
6062
- tile: {
6063
- borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
6064
- borderColor: "transparent",
6065
- background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-800"))
6066
- }
6067
- },
6068
- toggleSwitch: { root: /* @__PURE__ */ mergeTokens({ background: softFillHover }, glowRing) },
6069
- rating: { root: glowRing },
6070
- knob: { root: glowRing },
6071
- slider: { handle: glowRing }
6072
- }, {
6073
- card: { root: {
6074
- borderRadius: "22px",
6075
- shadow: softCardShadow
6076
- } },
6077
- panel: { root: { borderRadius: "22px" } },
6078
- fieldset: { root: {
6079
- borderRadius: "18px",
6080
- legendBorderRadius: /* @__PURE__ */ tokenRef("radius-full")
6081
- } },
6082
- tag: {
6083
- root: {
6084
- borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
6085
- paddingX: "9px"
6086
- },
6087
- sm: { paddingX: "7px" },
6088
- lg: { paddingX: "12px" }
6089
- },
6090
- chip: { root: { background: softFill } },
6091
- message: { root: {
6092
- borderRadius: "16px",
6093
- borderWidth: "0"
6094
- } },
6095
- avatar: { root: { squareBorderRadius: /* @__PURE__ */ tokenRef("radius-xl") } },
6096
- skeleton: { root: { borderRadius: /* @__PURE__ */ tokenRef("radius-lg") } }
6097
- }, {
6098
- tooltip: { root: { borderRadius: /* @__PURE__ */ tokenRef("radius-xl") } },
6099
- popover: { root: { borderRadius: "18px" } },
6100
- dialog: { root: { borderRadius: "26px" } },
6101
- confirm: {
6102
- root: { borderRadius: "26px" },
6103
- popup: { borderRadius: "18px" }
6104
- },
6105
- menu: {
6106
- root: {
6107
- borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
6108
- padding: "6px"
6109
- },
6110
- item: {
6111
- padding: "8px 12px",
6112
- borderRadius: /* @__PURE__ */ tokenRef("radius-lg")
6113
- }
6114
- }
6115
- }, {
6116
- chart: {
6117
- pie: { segmentRadius: "8px" },
6118
- legend: {
6119
- borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
6120
- paddingX: "10px",
6121
- statRadius: /* @__PURE__ */ tokenRef("radius-xl")
6122
- },
6123
- tooltip: {
6124
- borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
6125
- padding: "10px 14px"
6126
- },
6127
- bar: { radius: "9px" },
6128
- line: { strokeWidth: "2.5" }
6129
- },
6130
- paginator: {
6131
- root: { borderRadius: /* @__PURE__ */ tokenRef("radius-full") },
6132
- navButton: {
6133
- borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
6134
- focusRing: {
6135
- width: "0",
6136
- shadow: /* @__PURE__ */ softFocusShadow()
6137
- }
6138
- }
6139
- },
6140
- tree: { node: { borderRadius: /* @__PURE__ */ tokenRef("radius-lg") } },
6141
- dataView: { root: { borderRadius: "22px" } }
6142
- })
6100
+ const content = {
6101
+ radius: "var(--tx-radius-sm)",
6102
+ shadow: "0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12)"
6143
6103
  };
6144
6104
  function paperLight({ accent, surface }) {
6145
6105
  const base = accent[primaryBaseStep(accent)];
@@ -6164,7 +6124,8 @@ function paperLight({ accent, surface }) {
6164
6124
  background: `color-mix(in srgb, ${base}, transparent 88%)`,
6165
6125
  focusBackground: `color-mix(in srgb, ${base}, transparent 76%)`
6166
6126
  },
6167
- mask: { background: "rgba(0, 0, 0, 0.32)" }
6127
+ mask: { background: "rgba(0, 0, 0, 0.32)" },
6128
+ content
6168
6129
  };
6169
6130
  }
6170
6131
  function paperDark({ surface }) {
@@ -6178,7 +6139,8 @@ function paperDark({ surface }) {
6178
6139
  hoverBorder: surface[400],
6179
6140
  placeholder: surface[400],
6180
6141
  icon: surface[400]
6181
- }
6142
+ },
6143
+ content
6182
6144
  };
6183
6145
  }
6184
6146
  const invalidColor = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-800"), /* @__PURE__ */ tokenRef("red-300"));
@@ -6441,6 +6403,33 @@ const paperControlsTokens = {
6441
6403
  shadow: "0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12)",
6442
6404
  hoverRing: /* @__PURE__ */ joinCss("0 0 1px 10px ", /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("primary-base"), "92%"))
6443
6405
  }, noFocusRing)
6406
+ },
6407
+ filtersPanel: { button: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") } },
6408
+ tabs: {
6409
+ segmented: {
6410
+ borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
6411
+ tab: { borderRadius: "2px" },
6412
+ sm: {
6413
+ borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
6414
+ tabBorderRadius: "2px"
6415
+ }
6416
+ },
6417
+ pills: {
6418
+ borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
6419
+ tab: { borderRadius: "2px" }
6420
+ }
6421
+ },
6422
+ selectButton: {
6423
+ root: {
6424
+ borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
6425
+ sm: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") },
6426
+ lg: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") }
6427
+ },
6428
+ item: {
6429
+ borderRadius: "2px",
6430
+ sm: { borderRadius: "2px" },
6431
+ lg: { borderRadius: "2px" }
6432
+ }
6444
6433
  }
6445
6434
  };
6446
6435
  /* @__NO_SIDE_EFFECTS__ */
@@ -6521,16 +6510,11 @@ const paperDisplayTokens = {
6521
6510
  contentGap: "7px"
6522
6511
  } },
6523
6512
  card: { root: {
6524
- borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
6525
- shadow: "0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12)",
6526
6513
  padding: "17.5px",
6527
6514
  gap: "8.75px",
6528
6515
  subtitleFontSize: "12.25px"
6529
6516
  } },
6530
- panel: { root: {
6531
- borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
6532
- padding: "15.75px"
6533
- } },
6517
+ panel: { root: { padding: "15.75px" } },
6534
6518
  fieldset: { root: {
6535
6519
  borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
6536
6520
  padding: "0 15.75px 15.75px 15.75px",
@@ -6964,7 +6948,6 @@ const tectraStyle = {
6964
6948
  };
6965
6949
  const TECTRA_STYLES = {
6966
6950
  tectra: tectraStyle,
6967
- soft: softStyle,
6968
6951
  edge: edgeStyle,
6969
6952
  paper: paperStyle
6970
6953
  };
@@ -7013,13 +6996,43 @@ function createTectraPreset({ style = tectraStyle, primary = "blue", surface = "
7013
6996
  light: /* @__PURE__ */ deepMerge(createLightSemantic(palettes), definition.light?.(palettes)),
7014
6997
  dark: /* @__PURE__ */ deepMerge(createDarkSemantic(palettes), definition.dark?.(palettes)),
7015
6998
  components: definition.components ?? {},
7016
- css: definition.css
6999
+ css: definition.css,
7000
+ source: {
7001
+ style: definition,
7002
+ primary,
7003
+ surface
7004
+ }
7017
7005
  };
7018
7006
  }
7019
7007
  const Tectra = /* @__PURE__ */ createTectraPreset();
7020
- const Soft = /* @__PURE__ */ createTectraPreset({ style: softStyle });
7021
7008
  const Edge = /* @__PURE__ */ createTectraPreset({ style: edgeStyle });
7022
7009
  const Paper = /* @__PURE__ */ createTectraPreset({ style: paperStyle });
7010
+ /* @__NO_SIDE_EFFECTS__ */
7011
+ function title(value) {
7012
+ return value.charAt(0).toUpperCase() + value.slice(1);
7013
+ }
7014
+ /* @__NO_SIDE_EFFECTS__ */
7015
+ function tectraPrimaryChoices() {
7016
+ return PRIMARY_ORDER.map((value) => ({
7017
+ value,
7018
+ label: /* @__PURE__ */ title(value),
7019
+ color: value === "noir" ? /* @__PURE__ */ tokenRef("text-primary") : ACCENT_PALETTES[value][500]
7020
+ }));
7021
+ }
7022
+ /* @__NO_SIDE_EFFECTS__ */
7023
+ function tectraSurfaceChoices() {
7024
+ return Object.keys(SURFACE_PALETTES).map((value) => ({
7025
+ value,
7026
+ label: /* @__PURE__ */ title(value),
7027
+ color: SURFACE_PALETTES[value][500]
7028
+ }));
7029
+ }
7030
+ function isTectraPrimary(value) {
7031
+ return typeof value === "string" && PRIMARY_ORDER.includes(value);
7032
+ }
7033
+ function isTectraSurface(value) {
7034
+ return typeof value === "string" && Object.hasOwn(SURFACE_PALETTES, value);
7035
+ }
7023
7036
  function kebab(key) {
7024
7037
  return key.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
7025
7038
  }
@@ -7070,6 +7083,6 @@ function presetToCss(preset) {
7070
7083
  const components = /* @__PURE__ */ deepMerge(COMPONENT_TOKENS, preset.components);
7071
7084
  return themeCss(preset, Object.entries(components).flatMap(([name, tokens]) => componentVariables(name, tokens)));
7072
7085
  }
7073
- export { COMPONENT_TOKENS, Edge, Paper, Soft, TECTRA_STYLES, Tectra, accordionTokens, actionTileTokens, actionsMenuTokens, amountTokens, analogClockTokens, appFooterTokens, appLayoutTokens, avatarTokens, badgeTokens, breadcrumbTokens, buttonTokens, cardTokens, carouselTokens, cascadeSelectTokens, chartTokens, checkboxTokens, chipTokens, chipsInputTokens, codeDiffTokens, codeEditorTokens, codeHighlightTokens, codeSyntaxTokens, colorPickerTokens, commandPaletteTokens, componentTokensCss, componentVariables, confettiTokens, confirmTokens, consoleLayoutTokens, contrastWithWhite, cookieNoticeTokens, countdownTokens, countryTokens, createDarkSemantic, createLightSemantic, createTectraPreset, dataViewTokens, datePickerTokens, deepMerge, definePreset, dialogTokens, dividerTokens, edgeStyle, editorContentTokens, editorTokens, emailSuggestionTokens, emptyStateTokens, extendTokens, fade, fieldMessageTokens, fieldTokens, fieldsetTokens, fileUploadTokens, filtersPanelTokens, floatLabelTokens, formFieldTokens, galleriaTokens, highlightTextTokens, hoverEffectTokens, iconLinkTokens, iconTokens, iftaLabelTokens, imageTokens, inputGroupTokens, inputNumberTokens, inputOtpTokens, joinCss, kanbanTokens, knobTokens, labelTokens, lightDark, linkTokens, listInputTokens, listboxTokens, mascotTokens, mentionTokens, menuTokens, menubarTokens, mergeTokens, messageTokens, mix, monthCalendarTokens, networkStatusTokens, noirScale, overlayBadgeTokens, pageHeaderTokens, paginatorTokens, panelMenuTokens, panelTokens, paperStyle, passwordTokens, pillTokens, pinnedTabsTokens, popoverTokens, presetBaseCss, presetToCss, primaryBaseStep, progressBarTokens, progressSpinnerTokens, publicHeaderTokens, qrCodeTokens, radioButtonTokens, ratingTokens, relativeLuminance, rippleTokens, scrollPanelTokens, selectTokens, skeletonTokens, sliderTokens, softStyle, sparklineTokens, speedDialTokens, splitButtonTokens, splitterTokens, statTileTokens, statTilesTokens, statusIconTokens, stepperTokens, stepsTokens, switchLanguageTokens, switchThemeTokens, tableTokens, tabsTokens, tagTokens, tectraStyle, textareaTokens, timelineTokens, toCssVariables, toStyleObject, toastTokens, toggleButtonTokens, toggleSwitchTokens, tokenRef, toolbarTokens, tooltipTokens, topbarPreferencesTokens, treeTableTokens, treeTokens, truncateTextTokens, virtualScrollerTokens, wizardTokens };
7086
+ export { COMPONENT_TOKENS, Edge, Paper, TECTRA_STYLES, Tectra, accordionTokens, actionTileTokens, actionsMenuTokens, amountTokens, analogClockTokens, appFooterTokens, appLayoutTokens, avatarTokens, badgeTokens, breadcrumbTokens, buttonGroupTokens, buttonTokens, cardTokens, carouselTokens, cascadeSelectTokens, chartTokens, checkboxTokens, chipTokens, chipsInputTokens, codeDiffTokens, codeEditorTokens, codeHighlightTokens, codeSyntaxTokens, colorPickerTokens, colorSwatchesTokens, commandPaletteTokens, componentTokensCss, componentVariables, confettiTokens, confirmTokens, consoleLayoutTokens, contrastWithWhite, cookieNoticeTokens, countdownTokens, countryTokens, createDarkSemantic, createLightSemantic, createTectraPreset, dataViewTokens, datePickerTokens, deepMerge, definePreset, dialogTokens, dividerTokens, edgeStyle, editorContentTokens, editorTokens, emailSuggestionTokens, emptyStateTokens, extendTokens, fade, fieldMessageTokens, fieldTokens, fieldsetTokens, fileUploadTokens, filtersPanelTokens, floatLabelTokens, formFieldTokens, galleriaTokens, highlightTextTokens, hoverEffectTokens, iconLinkTokens, iconTokens, iftaLabelTokens, imageTokens, inputGroupTokens, inputNumberTokens, inputOtpTokens, isTectraPrimary, isTectraSurface, joinCss, kanbanTokens, knobTokens, labelTokens, lightDark, linkTokens, listInputTokens, listboxTokens, mascotTokens, mentionTokens, menuTokens, menubarTokens, mergeTokens, messageTokens, mix, monthCalendarTokens, networkStatusTokens, noirScale, overlayBadgeTokens, pageHeaderTokens, paginatorTokens, panelMenuTokens, panelTokens, paperStyle, passwordTokens, pillTokens, pinnedTabsTokens, popoverTokens, presetBaseCss, presetToCss, primaryBaseStep, progressBarTokens, progressSpinnerTokens, publicHeaderTokens, qrCodeTokens, radioButtonTokens, ratingTokens, relativeLuminance, rippleTokens, scrollPanelTokens, selectButtonTokens, selectTokens, skeletonTokens, sliderTokens, sparklineTokens, speedDialTokens, splitButtonTokens, splitterTokens, statTileTokens, statTilesTokens, statusIconTokens, stepperTokens, stepsTokens, switchLanguageTokens, switchThemeTokens, tableTokens, tabsTokens, tagTokens, tectraPrimaryChoices, tectraStyle, tectraSurfaceChoices, textareaTokens, themeConfiguratorTokens, timelineTokens, toCssVariables, toStyleObject, toastTokens, toggleButtonTokens, toggleSwitchTokens, tokenRef, toolbarTokens, tooltipTokens, topbarPreferencesTokens, treeTableTokens, treeTokens, truncateTextTokens, virtualScrollerTokens, wizardTokens };
7074
7087
 
7075
7088
  //# sourceMappingURL=tectra-ng-themes.mjs.map