@tectra-ng/themes 0.4.2 → 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.
- package/README.md +16 -3
- package/fesm2022/tectra-ng-themes.mjs +209 -303
- package/fesm2022/tectra-ng-themes.mjs.map +1 -1
- package/package.json +2 -2
- package/types/tectra-ng-themes.d.ts +189 -9
- package/types/tectra-ng-themes.d.ts.map +1 -1
|
@@ -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")),
|
|
@@ -1438,8 +1450,8 @@ const dividerTokens = { root: {
|
|
|
1438
1450
|
const cardTokens = { root: {
|
|
1439
1451
|
background: /* @__PURE__ */ tokenRef("surface-card"),
|
|
1440
1452
|
borderColor: /* @__PURE__ */ tokenRef("surface-border"),
|
|
1441
|
-
borderRadius: "
|
|
1442
|
-
shadow: /* @__PURE__ */
|
|
1453
|
+
borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
|
|
1454
|
+
shadow: /* @__PURE__ */ tokenRef("content-shadow"),
|
|
1443
1455
|
padding: "20px",
|
|
1444
1456
|
gap: "12px",
|
|
1445
1457
|
color: /* @__PURE__ */ tokenRef("text-primary"),
|
|
@@ -1452,7 +1464,8 @@ const panelTokens = {
|
|
|
1452
1464
|
root: {
|
|
1453
1465
|
background: /* @__PURE__ */ tokenRef("surface-card"),
|
|
1454
1466
|
borderColor: /* @__PURE__ */ tokenRef("surface-border"),
|
|
1455
|
-
borderRadius: "
|
|
1467
|
+
borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
|
|
1468
|
+
shadow: /* @__PURE__ */ tokenRef("content-shadow"),
|
|
1456
1469
|
padding: "24px",
|
|
1457
1470
|
gap: "20px",
|
|
1458
1471
|
color: /* @__PURE__ */ tokenRef("text-primary"),
|
|
@@ -1898,7 +1911,7 @@ const menuTokens = {
|
|
|
1898
1911
|
};
|
|
1899
1912
|
const splitButtonTokens = { root: {
|
|
1900
1913
|
dividerColor: "color-mix(in srgb, currentColor 32%, transparent)",
|
|
1901
|
-
dividerWidth: "
|
|
1914
|
+
dividerWidth: "1px"
|
|
1902
1915
|
} };
|
|
1903
1916
|
const speedDialTokens = {
|
|
1904
1917
|
root: {
|
|
@@ -1944,7 +1957,7 @@ const paginatorTokens = {
|
|
|
1944
1957
|
fontWeight: /* @__PURE__ */ tokenRef("font-weight-regular"),
|
|
1945
1958
|
fontSize: /* @__PURE__ */ tokenRef("font-size-md")
|
|
1946
1959
|
},
|
|
1947
|
-
jumpToPageInput: { maxWidth: "
|
|
1960
|
+
jumpToPageInput: { maxWidth: /* @__PURE__ */ joinCss("calc(2 * ", /* @__PURE__ */ tokenRef("form-field-padding-x"), " + 2px + 4ch)") },
|
|
1948
1961
|
total: {
|
|
1949
1962
|
color: /* @__PURE__ */ tokenRef("text-primary"),
|
|
1950
1963
|
fontWeight: /* @__PURE__ */ tokenRef("font-weight-bold"),
|
|
@@ -2195,9 +2208,14 @@ const dataViewTokens = {
|
|
|
2195
2208
|
color: /* @__PURE__ */ tokenRef("text-primary"),
|
|
2196
2209
|
borderColor: /* @__PURE__ */ tokenRef("surface-border"),
|
|
2197
2210
|
borderWidth: "0",
|
|
2198
|
-
borderRadius: "
|
|
2211
|
+
borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
|
|
2212
|
+
shadow: /* @__PURE__ */ tokenRef("content-shadow"),
|
|
2199
2213
|
transitionDuration: /* @__PURE__ */ tokenRef("motion-duration")
|
|
2200
2214
|
},
|
|
2215
|
+
content: {
|
|
2216
|
+
padding: "0",
|
|
2217
|
+
gridPadding: "12.25px"
|
|
2218
|
+
},
|
|
2201
2219
|
header: {
|
|
2202
2220
|
background: /* @__PURE__ */ tokenRef("surface-card"),
|
|
2203
2221
|
color: /* @__PURE__ */ tokenRef("text-primary"),
|
|
@@ -2265,7 +2283,8 @@ const statTileTokens = {
|
|
|
2265
2283
|
background: /* @__PURE__ */ tokenRef("surface-card"),
|
|
2266
2284
|
borderColor: /* @__PURE__ */ tokenRef("surface-border"),
|
|
2267
2285
|
borderWidth: "1px",
|
|
2268
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius
|
|
2286
|
+
borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
|
|
2287
|
+
shadow: /* @__PURE__ */ tokenRef("content-shadow"),
|
|
2269
2288
|
paddingX: "17.5px",
|
|
2270
2289
|
paddingY: "14px",
|
|
2271
2290
|
gap: "10.5px",
|
|
@@ -2371,7 +2390,7 @@ const analogClockTokens = {
|
|
|
2371
2390
|
transitionEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
2372
2391
|
},
|
|
2373
2392
|
tick: {
|
|
2374
|
-
width: "
|
|
2393
|
+
width: "1.667%",
|
|
2375
2394
|
height: "4%",
|
|
2376
2395
|
offset: "-1125%",
|
|
2377
2396
|
color: /* @__PURE__ */ tokenRef("surface-border"),
|
|
@@ -2380,22 +2399,22 @@ const analogClockTokens = {
|
|
|
2380
2399
|
majorColor: /* @__PURE__ */ tokenRef("text-muted")
|
|
2381
2400
|
},
|
|
2382
2401
|
hourHand: {
|
|
2383
|
-
width: "5
|
|
2402
|
+
width: "2.5%",
|
|
2384
2403
|
length: "27%",
|
|
2385
2404
|
color: /* @__PURE__ */ tokenRef("text-primary")
|
|
2386
2405
|
},
|
|
2387
2406
|
minuteHand: {
|
|
2388
|
-
width: "
|
|
2407
|
+
width: "1.667%",
|
|
2389
2408
|
length: "40%",
|
|
2390
2409
|
color: /* @__PURE__ */ tokenRef("primary-base")
|
|
2391
2410
|
},
|
|
2392
2411
|
secondHand: {
|
|
2393
|
-
width: "
|
|
2412
|
+
width: "0.833%",
|
|
2394
2413
|
length: "42%",
|
|
2395
2414
|
color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-600"), /* @__PURE__ */ tokenRef("red-400"))
|
|
2396
2415
|
},
|
|
2397
2416
|
pin: {
|
|
2398
|
-
size: "
|
|
2417
|
+
size: "6.667%",
|
|
2399
2418
|
color: /* @__PURE__ */ tokenRef("primary-base"),
|
|
2400
2419
|
ringWidth: "4px",
|
|
2401
2420
|
ringColor: /* @__PURE__ */ tokenRef("surface-card")
|
|
@@ -2439,6 +2458,7 @@ const datePickerTokens = {
|
|
|
2439
2458
|
borderColor: /* @__PURE__ */ tokenRef("form-field-border-color"),
|
|
2440
2459
|
hoverBorderColor: /* @__PURE__ */ tokenRef("form-field-border-color"),
|
|
2441
2460
|
activeBorderColor: /* @__PURE__ */ tokenRef("form-field-border-color"),
|
|
2461
|
+
invalidBorderColor: /* @__PURE__ */ tokenRef("form-field-invalid-border-color"),
|
|
2442
2462
|
color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-300")),
|
|
2443
2463
|
hoverColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-700"), /* @__PURE__ */ tokenRef("surface-200")),
|
|
2444
2464
|
activeColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-800"), /* @__PURE__ */ tokenRef("surface-100")),
|
|
@@ -2623,9 +2643,9 @@ const tabsTokens = {
|
|
|
2623
2643
|
gap: "3.5px",
|
|
2624
2644
|
padding: "3.5px",
|
|
2625
2645
|
borderWidth: "1px",
|
|
2626
|
-
borderColor: /* @__PURE__ */ tokenRef("surface-
|
|
2646
|
+
borderColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700")),
|
|
2627
2647
|
borderRadius: "10.5px",
|
|
2628
|
-
background: /* @__PURE__ */ tokenRef("surface-
|
|
2648
|
+
background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-800")),
|
|
2629
2649
|
focusRingOffset: "1px",
|
|
2630
2650
|
tab: {
|
|
2631
2651
|
padding: "8.75px 10.5px",
|
|
@@ -2654,8 +2674,8 @@ const tabsTokens = {
|
|
|
2654
2674
|
gap: "1.75px",
|
|
2655
2675
|
padding: "3.5px",
|
|
2656
2676
|
borderRadius: "10px",
|
|
2657
|
-
background: /* @__PURE__ */ tokenRef("surface-
|
|
2658
|
-
ringColor: /* @__PURE__ */ tokenRef("surface-
|
|
2677
|
+
background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-50"), /* @__PURE__ */ tokenRef("surface-800")),
|
|
2678
|
+
ringColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700")),
|
|
2659
2679
|
focusRingOffset: "1px",
|
|
2660
2680
|
transitionDuration: "0.15s",
|
|
2661
2681
|
tab: {
|
|
@@ -3360,9 +3380,9 @@ const toggleButtonTokens = {
|
|
|
3360
3380
|
color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
|
|
3361
3381
|
hoverColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-800"), /* @__PURE__ */ tokenRef("surface-300")),
|
|
3362
3382
|
checkedColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-900"), /* @__PURE__ */ tokenRef("surface-0")),
|
|
3363
|
-
disabledBackground: /* @__PURE__ */ tokenRef("
|
|
3364
|
-
disabledBorderColor: /* @__PURE__ */ tokenRef("
|
|
3365
|
-
disabledColor: /* @__PURE__ */ tokenRef("
|
|
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")),
|
|
3366
3386
|
invalidBorderColor: /* @__PURE__ */ tokenRef("danger-base"),
|
|
3367
3387
|
focusRing: {
|
|
3368
3388
|
width: "2px",
|
|
@@ -3384,7 +3404,7 @@ const toggleButtonTokens = {
|
|
|
3384
3404
|
color: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
|
|
3385
3405
|
hoverColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-700"), /* @__PURE__ */ tokenRef("surface-300")),
|
|
3386
3406
|
checkedColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-900"), /* @__PURE__ */ tokenRef("surface-0")),
|
|
3387
|
-
disabledColor: /* @__PURE__ */ tokenRef("
|
|
3407
|
+
disabledColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-600"))
|
|
3388
3408
|
},
|
|
3389
3409
|
content: {
|
|
3390
3410
|
padding: "4px 10px",
|
|
@@ -3395,6 +3415,68 @@ const toggleButtonTokens = {
|
|
|
3395
3415
|
lg: { padding: "5px 12px" }
|
|
3396
3416
|
}
|
|
3397
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
|
+
};
|
|
3398
3480
|
const numberShadow = "0px 0.5px 0px 0px rgba(0, 0, 0, 0.06), 0px 1px 1px 0px rgba(0, 0, 0, 0.12)";
|
|
3399
3481
|
const focusRing$1 = {
|
|
3400
3482
|
width: "2px",
|
|
@@ -3806,7 +3888,8 @@ const filtersPanelTokens = {
|
|
|
3806
3888
|
root: {
|
|
3807
3889
|
background: /* @__PURE__ */ tokenRef("surface-card"),
|
|
3808
3890
|
borderColor: /* @__PURE__ */ tokenRef("surface-border"),
|
|
3809
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius
|
|
3891
|
+
borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
|
|
3892
|
+
shadow: /* @__PURE__ */ tokenRef("content-shadow"),
|
|
3810
3893
|
padding: "17.5px",
|
|
3811
3894
|
gap: "10.5px",
|
|
3812
3895
|
color: /* @__PURE__ */ tokenRef("text-primary")
|
|
@@ -4781,7 +4864,9 @@ const confettiTokens = {
|
|
|
4781
4864
|
motion: {
|
|
4782
4865
|
duration: "1.1s",
|
|
4783
4866
|
easing: "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
4784
|
-
stagger: "40ms"
|
|
4867
|
+
stagger: "40ms",
|
|
4868
|
+
hold: "500ms",
|
|
4869
|
+
fadeDuration: "600ms"
|
|
4785
4870
|
}
|
|
4786
4871
|
};
|
|
4787
4872
|
const hoverEffectTokens = { root: {
|
|
@@ -4804,12 +4889,12 @@ const chartTokens = {
|
|
|
4804
4889
|
},
|
|
4805
4890
|
series: {
|
|
4806
4891
|
color1: /* @__PURE__ */ tokenRef("primary-400"),
|
|
4807
|
-
color2: "
|
|
4808
|
-
color3: "
|
|
4809
|
-
color4: "
|
|
4810
|
-
color5: "
|
|
4811
|
-
color6: "
|
|
4812
|
-
color7: "
|
|
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))"
|
|
4813
4898
|
},
|
|
4814
4899
|
toolbar: {
|
|
4815
4900
|
rowHeight: "31px",
|
|
@@ -5024,7 +5109,7 @@ const chartTokens = {
|
|
|
5024
5109
|
waterfall: {
|
|
5025
5110
|
upColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("green-500"), /* @__PURE__ */ tokenRef("green-400")),
|
|
5026
5111
|
downColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-500"), /* @__PURE__ */ tokenRef("red-400")),
|
|
5027
|
-
totalColor: /* @__PURE__ */ tokenRef("
|
|
5112
|
+
totalColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-500"), /* @__PURE__ */ tokenRef("surface-400")),
|
|
5028
5113
|
connectorColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-500")),
|
|
5029
5114
|
connectorWidth: "1",
|
|
5030
5115
|
connectorDash: "3 3",
|
|
@@ -5043,7 +5128,7 @@ const chartTokens = {
|
|
|
5043
5128
|
connectorOpacity: "0.16",
|
|
5044
5129
|
conversionColor: /* @__PURE__ */ tokenRef("text-muted"),
|
|
5045
5130
|
conversionFontSize: "11px",
|
|
5046
|
-
labelWidth: "0.
|
|
5131
|
+
labelWidth: "0.4",
|
|
5047
5132
|
dimmedOpacity: "0.35"
|
|
5048
5133
|
},
|
|
5049
5134
|
bullet: {
|
|
@@ -5126,6 +5211,11 @@ const chartTokens = {
|
|
|
5126
5211
|
milestoneSize: "14px",
|
|
5127
5212
|
milestoneColor: /* @__PURE__ */ tokenRef("text-primary"),
|
|
5128
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",
|
|
5129
5219
|
toolbarGap: "8px",
|
|
5130
5220
|
maxHeight: "420px",
|
|
5131
5221
|
radius: /* @__PURE__ */ tokenRef("radius-lg")
|
|
@@ -5225,18 +5315,18 @@ const chartTokens = {
|
|
|
5225
5315
|
strokeWidth: "2.5",
|
|
5226
5316
|
markerRadius: "4",
|
|
5227
5317
|
markerHoverRadius: "6",
|
|
5228
|
-
color1:
|
|
5229
|
-
color2: "
|
|
5230
|
-
color3:
|
|
5231
|
-
color4: "
|
|
5232
|
-
color5:
|
|
5233
|
-
color6: "
|
|
5234
|
-
color7:
|
|
5235
|
-
color8:
|
|
5236
|
-
color9: "
|
|
5237
|
-
color10: "
|
|
5238
|
-
color11: "
|
|
5239
|
-
color12:
|
|
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)"
|
|
5240
5330
|
},
|
|
5241
5331
|
orgChart: {
|
|
5242
5332
|
gap: "14px",
|
|
@@ -5256,7 +5346,7 @@ const chartTokens = {
|
|
|
5256
5346
|
connectorRadius: /* @__PURE__ */ tokenRef("radius-md"),
|
|
5257
5347
|
pathColor: /* @__PURE__ */ tokenRef("primary-base"),
|
|
5258
5348
|
pathWidth: "2px",
|
|
5259
|
-
cardWidth: "
|
|
5349
|
+
cardWidth: "224px",
|
|
5260
5350
|
cardPaddingX: "10.5px",
|
|
5261
5351
|
cardPaddingY: "8.75px",
|
|
5262
5352
|
cardGap: "10.5px",
|
|
@@ -5437,6 +5527,7 @@ const COMPONENT_TOKENS = {
|
|
|
5437
5527
|
floatLabel: floatLabelTokens,
|
|
5438
5528
|
iftaLabel: iftaLabelTokens,
|
|
5439
5529
|
button: buttonTokens,
|
|
5530
|
+
buttonGroup: buttonGroupTokens,
|
|
5440
5531
|
select: selectTokens,
|
|
5441
5532
|
listbox: listboxTokens,
|
|
5442
5533
|
chipsInput: chipsInputTokens,
|
|
@@ -5449,6 +5540,7 @@ const COMPONENT_TOKENS = {
|
|
|
5449
5540
|
emailSuggestion: emailSuggestionTokens,
|
|
5450
5541
|
badge: badgeTokens,
|
|
5451
5542
|
toggleButton: toggleButtonTokens,
|
|
5543
|
+
selectButton: selectButtonTokens,
|
|
5452
5544
|
message: messageTokens,
|
|
5453
5545
|
fieldMessage: fieldMessageTokens,
|
|
5454
5546
|
field: fieldTokens,
|
|
@@ -5547,6 +5639,10 @@ const COMPONENT_TOKENS = {
|
|
|
5547
5639
|
mascot: mascotTokens,
|
|
5548
5640
|
chart: chartTokens
|
|
5549
5641
|
};
|
|
5642
|
+
const content$1 = {
|
|
5643
|
+
radius: "var(--tx-radius-sm)",
|
|
5644
|
+
shadow: "0 1px 4px 0 rgba(0, 0, 0, 0.1)"
|
|
5645
|
+
};
|
|
5550
5646
|
function edgeLight({ accent, surface }) {
|
|
5551
5647
|
const base = primaryBaseStep(accent);
|
|
5552
5648
|
return {
|
|
@@ -5568,7 +5664,8 @@ function edgeLight({ accent, surface }) {
|
|
|
5568
5664
|
color: surface[0],
|
|
5569
5665
|
focusColor: surface[0]
|
|
5570
5666
|
},
|
|
5571
|
-
list: { focusBackground: surface[200] }
|
|
5667
|
+
list: { focusBackground: surface[200] },
|
|
5668
|
+
content: content$1
|
|
5572
5669
|
};
|
|
5573
5670
|
}
|
|
5574
5671
|
function edgeDark({ accent, surface }) {
|
|
@@ -5594,7 +5691,8 @@ function edgeDark({ accent, surface }) {
|
|
|
5594
5691
|
focusColor: surface[950]
|
|
5595
5692
|
},
|
|
5596
5693
|
list: { focusBackground: surface[700] },
|
|
5597
|
-
focusRing: { color: accent[500] }
|
|
5694
|
+
focusRing: { color: accent[500] },
|
|
5695
|
+
content: content$1
|
|
5598
5696
|
};
|
|
5599
5697
|
}
|
|
5600
5698
|
const filledBackground = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-800"));
|
|
@@ -5812,7 +5910,33 @@ const edgeControlsTokens = {
|
|
|
5812
5910
|
}
|
|
5813
5911
|
},
|
|
5814
5912
|
filtersPanel: { button: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") } },
|
|
5815
|
-
commandPalette: { trigger: { 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
|
+
}
|
|
5939
|
+
}
|
|
5816
5940
|
};
|
|
5817
5941
|
/* @__NO_SIDE_EFFECTS__ */
|
|
5818
5942
|
function solid$1(severity) {
|
|
@@ -5868,14 +5992,7 @@ const edgeDisplayTokens = {
|
|
|
5868
5992
|
color: /* @__PURE__ */ tokenRef("text-primary")
|
|
5869
5993
|
} },
|
|
5870
5994
|
divider: { root: { contentColor: /* @__PURE__ */ tokenRef("text-primary") } },
|
|
5871
|
-
|
|
5872
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
5873
|
-
shadow: "0 1px 4px 0 rgba(0, 0, 0, 0.1)"
|
|
5874
|
-
} },
|
|
5875
|
-
panel: { root: {
|
|
5876
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
|
|
5877
|
-
titleFontWeight: /* @__PURE__ */ tokenRef("font-weight-bold")
|
|
5878
|
-
} },
|
|
5995
|
+
panel: { root: { titleFontWeight: /* @__PURE__ */ tokenRef("font-weight-bold") } },
|
|
5879
5996
|
fieldset: { root: {
|
|
5880
5997
|
borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
|
|
5881
5998
|
padding: "8.75px 14px 14px 14px",
|
|
@@ -5980,241 +6097,9 @@ const edgeStyle = {
|
|
|
5980
6097
|
} }
|
|
5981
6098
|
})
|
|
5982
6099
|
};
|
|
5983
|
-
const
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
modal: "0 40px 80px -28px rgba(12, 16, 21, 0.4), 0 8px 24px -8px rgba(12, 16, 21, 0.12)"
|
|
5987
|
-
};
|
|
5988
|
-
function softLight({ surface }) {
|
|
5989
|
-
return {
|
|
5990
|
-
surface: {
|
|
5991
|
-
border: surface[100],
|
|
5992
|
-
overlayBorder: "transparent"
|
|
5993
|
-
},
|
|
5994
|
-
field: {
|
|
5995
|
-
disabledBackground: surface[200],
|
|
5996
|
-
placeholder: surface[600],
|
|
5997
|
-
icon: surface[600]
|
|
5998
|
-
},
|
|
5999
|
-
shadow
|
|
6000
|
-
};
|
|
6001
|
-
}
|
|
6002
|
-
function softDark({ surface }) {
|
|
6003
|
-
return {
|
|
6004
|
-
surface: {
|
|
6005
|
-
border: surface[800],
|
|
6006
|
-
overlayBorder: surface[800]
|
|
6007
|
-
},
|
|
6008
|
-
field: { disabledBackground: surface[700] },
|
|
6009
|
-
shadow
|
|
6010
|
-
};
|
|
6011
|
-
}
|
|
6012
|
-
const softGlow = /* @__NO_SIDE_EFFECTS__ */ (color) => /* @__PURE__ */ lightDark(/* @__PURE__ */ fade(/* @__PURE__ */ tokenRef(color), "72%"), /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef(color), "62%"));
|
|
6013
|
-
const softFocusShadow = /* @__NO_SIDE_EFFECTS__ */ (color = "primary-base") => /* @__PURE__ */ joinCss("0 0 0 3px ", /* @__PURE__ */ softGlow(color));
|
|
6014
|
-
const softFill = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-800"));
|
|
6015
|
-
const softFillHover = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-700"));
|
|
6016
|
-
const softLine = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-300"), /* @__PURE__ */ tokenRef("surface-600"));
|
|
6017
|
-
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%"));
|
|
6018
|
-
const softFormsTokens = {
|
|
6019
|
-
formField: { root: {
|
|
6020
|
-
background: softFill,
|
|
6021
|
-
filledBackground: softFill,
|
|
6022
|
-
filledHoverBackground: softFillHover,
|
|
6023
|
-
filledFocusBackground: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-0"), /* @__PURE__ */ tokenRef("surface-900")),
|
|
6024
|
-
placeholderColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
|
|
6025
|
-
iconColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-600"), /* @__PURE__ */ tokenRef("surface-400")),
|
|
6026
|
-
borderColor: softFill,
|
|
6027
|
-
hoverBorderColor: softLine,
|
|
6028
|
-
shadow: "none",
|
|
6029
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
|
|
6030
|
-
paddingX: "14px",
|
|
6031
|
-
sm: { paddingX: "12px" },
|
|
6032
|
-
lg: { paddingX: "16px" },
|
|
6033
|
-
focusRing: { shadow: /* @__PURE__ */ softFocusShadow() },
|
|
6034
|
-
invalidFocusRing: { shadow: /* @__PURE__ */ softFocusShadow("danger-base") }
|
|
6035
|
-
} },
|
|
6036
|
-
inputGroup: { addon: {
|
|
6037
|
-
background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-200"), /* @__PURE__ */ tokenRef("surface-800")),
|
|
6038
|
-
borderColor: softFill
|
|
6039
|
-
} },
|
|
6040
|
-
select: {
|
|
6041
|
-
overlay: { borderRadius: /* @__PURE__ */ tokenRef("radius-xl") },
|
|
6042
|
-
list: {
|
|
6043
|
-
padding: "6px",
|
|
6044
|
-
gap: "2px"
|
|
6045
|
-
},
|
|
6046
|
-
option: {
|
|
6047
|
-
padding: "8px 12px",
|
|
6048
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-lg")
|
|
6049
|
-
},
|
|
6050
|
-
chip: {
|
|
6051
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
|
|
6052
|
-
background: /* @__PURE__ */ lightDark(/* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("surface-950"), "90%"), /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("surface-0"), "88%"))
|
|
6053
|
-
},
|
|
6054
|
-
checkbox: {
|
|
6055
|
-
borderRadius: "6px",
|
|
6056
|
-
borderColor: softLine
|
|
6057
|
-
},
|
|
6058
|
-
optionGroup: { color: /* @__PURE__ */ tokenRef("text-muted") }
|
|
6059
|
-
},
|
|
6060
|
-
listbox: { root: { focusRingShadow: /* @__PURE__ */ softFocusShadow() } },
|
|
6061
|
-
chipsInput: { root: { chipBorderRadius: /* @__PURE__ */ tokenRef("radius-full") } },
|
|
6062
|
-
password: { panel: { borderRadius: /* @__PURE__ */ tokenRef("radius-xl") } }
|
|
6063
|
-
};
|
|
6064
|
-
const focus = /* @__NO_SIDE_EFFECTS__ */ (color) => ({ focusRing: {
|
|
6065
|
-
color: "transparent",
|
|
6066
|
-
shadow: /* @__PURE__ */ softFocusShadow(color)
|
|
6067
|
-
} });
|
|
6068
|
-
const tonal = /* @__NO_SIDE_EFFECTS__ */ (amount) => /* @__PURE__ */ mix(/* @__PURE__ */ tokenRef("primary-base"), amount, /* @__PURE__ */ tokenRef("surface-card"));
|
|
6069
|
-
const glowRing = {
|
|
6070
|
-
focusRingColor: /* @__PURE__ */ softGlow("primary-base"),
|
|
6071
|
-
focusRingWidth: "3px",
|
|
6072
|
-
focusRingOffset: "0"
|
|
6073
|
-
};
|
|
6074
|
-
const softStyle = {
|
|
6075
|
-
name: "soft",
|
|
6076
|
-
label: "Soft",
|
|
6077
|
-
light: softLight,
|
|
6078
|
-
dark: softDark,
|
|
6079
|
-
components: /* @__PURE__ */ mergeTokens(softFormsTokens, {
|
|
6080
|
-
button: { root: {
|
|
6081
|
-
borderRadius: "22px",
|
|
6082
|
-
paddingX: "16px",
|
|
6083
|
-
sm: { paddingX: "12px" },
|
|
6084
|
-
lg: { paddingX: "20px" },
|
|
6085
|
-
focusRing: {
|
|
6086
|
-
width: "0",
|
|
6087
|
-
style: "none",
|
|
6088
|
-
offset: "0"
|
|
6089
|
-
},
|
|
6090
|
-
primary: /* @__PURE__ */ focus("primary-base"),
|
|
6091
|
-
secondary: /* @__PURE__ */ mergeTokens({
|
|
6092
|
-
background: /* @__PURE__ */ tonal("12%"),
|
|
6093
|
-
hoverBackground: /* @__PURE__ */ tonal("18%"),
|
|
6094
|
-
activeBackground: /* @__PURE__ */ tonal("26%"),
|
|
6095
|
-
borderColor: /* @__PURE__ */ tonal("12%"),
|
|
6096
|
-
hoverBorderColor: /* @__PURE__ */ tonal("18%"),
|
|
6097
|
-
activeBorderColor: /* @__PURE__ */ tonal("26%"),
|
|
6098
|
-
color: /* @__PURE__ */ tokenRef("primary-soft-text"),
|
|
6099
|
-
hoverColor: /* @__PURE__ */ tokenRef("primary-soft-text"),
|
|
6100
|
-
activeColor: /* @__PURE__ */ tokenRef("primary-soft-text")
|
|
6101
|
-
}, /* @__PURE__ */ focus("primary-base")),
|
|
6102
|
-
info: /* @__PURE__ */ focus("info-base"),
|
|
6103
|
-
success: /* @__PURE__ */ focus("success-base"),
|
|
6104
|
-
warn: /* @__PURE__ */ focus("warn-base"),
|
|
6105
|
-
help: /* @__PURE__ */ focus("help-base"),
|
|
6106
|
-
danger: /* @__PURE__ */ focus("danger-base"),
|
|
6107
|
-
contrast: /* @__PURE__ */ focus("contrast-base")
|
|
6108
|
-
} },
|
|
6109
|
-
toggleButton: {
|
|
6110
|
-
root: {
|
|
6111
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
|
|
6112
|
-
borderColor: "transparent",
|
|
6113
|
-
checkedBorderColor: "transparent",
|
|
6114
|
-
focusRing: {
|
|
6115
|
-
width: "3px",
|
|
6116
|
-
color: /* @__PURE__ */ softGlow("primary-base"),
|
|
6117
|
-
offset: "0"
|
|
6118
|
-
}
|
|
6119
|
-
},
|
|
6120
|
-
content: { borderRadius: /* @__PURE__ */ tokenRef("radius-full") }
|
|
6121
|
-
},
|
|
6122
|
-
checkbox: { root: /* @__PURE__ */ mergeTokens({
|
|
6123
|
-
borderRadius: "6px",
|
|
6124
|
-
borderColor: softLine,
|
|
6125
|
-
hoverBorderColor: /* @__PURE__ */ tokenRef("primary-base"),
|
|
6126
|
-
disabledBorderColor: softLine
|
|
6127
|
-
}, glowRing) },
|
|
6128
|
-
radioButton: {
|
|
6129
|
-
root: /* @__PURE__ */ mergeTokens({
|
|
6130
|
-
borderColor: softLine,
|
|
6131
|
-
hoverBorderColor: /* @__PURE__ */ tokenRef("primary-base"),
|
|
6132
|
-
disabledBorderColor: softLine
|
|
6133
|
-
}, glowRing),
|
|
6134
|
-
tile: {
|
|
6135
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
|
|
6136
|
-
borderColor: "transparent",
|
|
6137
|
-
background: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-800"))
|
|
6138
|
-
}
|
|
6139
|
-
},
|
|
6140
|
-
toggleSwitch: { root: /* @__PURE__ */ mergeTokens({ background: softFillHover }, glowRing) },
|
|
6141
|
-
rating: { root: glowRing },
|
|
6142
|
-
knob: { root: glowRing },
|
|
6143
|
-
slider: { handle: glowRing },
|
|
6144
|
-
filtersPanel: { button: { borderRadius: "22px" } },
|
|
6145
|
-
commandPalette: { trigger: { borderRadius: /* @__PURE__ */ tokenRef("radius-xl") } }
|
|
6146
|
-
}, {
|
|
6147
|
-
card: { root: {
|
|
6148
|
-
borderRadius: "22px",
|
|
6149
|
-
shadow: softCardShadow
|
|
6150
|
-
} },
|
|
6151
|
-
panel: { root: { borderRadius: "22px" } },
|
|
6152
|
-
fieldset: { root: {
|
|
6153
|
-
borderRadius: "18px",
|
|
6154
|
-
legendBorderRadius: /* @__PURE__ */ tokenRef("radius-full")
|
|
6155
|
-
} },
|
|
6156
|
-
tag: {
|
|
6157
|
-
root: {
|
|
6158
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
|
|
6159
|
-
paddingX: "9px"
|
|
6160
|
-
},
|
|
6161
|
-
sm: { paddingX: "7px" },
|
|
6162
|
-
lg: { paddingX: "12px" }
|
|
6163
|
-
},
|
|
6164
|
-
chip: { root: { background: softFill } },
|
|
6165
|
-
message: { root: {
|
|
6166
|
-
borderRadius: "16px",
|
|
6167
|
-
borderColor: "transparent",
|
|
6168
|
-
borderTint: "28%"
|
|
6169
|
-
} },
|
|
6170
|
-
avatar: { root: { squareBorderRadius: /* @__PURE__ */ tokenRef("radius-xl") } },
|
|
6171
|
-
skeleton: { root: { borderRadius: /* @__PURE__ */ tokenRef("radius-lg") } }
|
|
6172
|
-
}, {
|
|
6173
|
-
tooltip: { root: { borderRadius: /* @__PURE__ */ tokenRef("radius-xl") } },
|
|
6174
|
-
popover: { root: { borderRadius: "18px" } },
|
|
6175
|
-
dialog: { root: { borderRadius: "26px" } },
|
|
6176
|
-
confirm: {
|
|
6177
|
-
root: { borderRadius: "26px" },
|
|
6178
|
-
popup: { borderRadius: "18px" }
|
|
6179
|
-
},
|
|
6180
|
-
menu: {
|
|
6181
|
-
root: {
|
|
6182
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
|
|
6183
|
-
padding: "6px"
|
|
6184
|
-
},
|
|
6185
|
-
item: {
|
|
6186
|
-
padding: "8px 12px",
|
|
6187
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-lg")
|
|
6188
|
-
}
|
|
6189
|
-
}
|
|
6190
|
-
}, {
|
|
6191
|
-
chart: {
|
|
6192
|
-
pie: { segmentRadius: "8px" },
|
|
6193
|
-
legend: {
|
|
6194
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
|
|
6195
|
-
paddingX: "10px",
|
|
6196
|
-
statRadius: /* @__PURE__ */ tokenRef("radius-xl")
|
|
6197
|
-
},
|
|
6198
|
-
tooltip: {
|
|
6199
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-xl"),
|
|
6200
|
-
padding: "10px 14px"
|
|
6201
|
-
},
|
|
6202
|
-
bar: { radius: "9px" },
|
|
6203
|
-
line: { strokeWidth: "2.5" }
|
|
6204
|
-
},
|
|
6205
|
-
paginator: {
|
|
6206
|
-
root: { borderRadius: /* @__PURE__ */ tokenRef("radius-full") },
|
|
6207
|
-
navButton: {
|
|
6208
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-full"),
|
|
6209
|
-
focusRing: {
|
|
6210
|
-
width: "0",
|
|
6211
|
-
shadow: /* @__PURE__ */ softFocusShadow()
|
|
6212
|
-
}
|
|
6213
|
-
}
|
|
6214
|
-
},
|
|
6215
|
-
tree: { node: { borderRadius: /* @__PURE__ */ tokenRef("radius-lg") } },
|
|
6216
|
-
dataView: { root: { borderRadius: "22px" } }
|
|
6217
|
-
})
|
|
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)"
|
|
6218
6103
|
};
|
|
6219
6104
|
function paperLight({ accent, surface }) {
|
|
6220
6105
|
const base = accent[primaryBaseStep(accent)];
|
|
@@ -6239,7 +6124,8 @@ function paperLight({ accent, surface }) {
|
|
|
6239
6124
|
background: `color-mix(in srgb, ${base}, transparent 88%)`,
|
|
6240
6125
|
focusBackground: `color-mix(in srgb, ${base}, transparent 76%)`
|
|
6241
6126
|
},
|
|
6242
|
-
mask: { background: "rgba(0, 0, 0, 0.32)" }
|
|
6127
|
+
mask: { background: "rgba(0, 0, 0, 0.32)" },
|
|
6128
|
+
content
|
|
6243
6129
|
};
|
|
6244
6130
|
}
|
|
6245
6131
|
function paperDark({ surface }) {
|
|
@@ -6253,7 +6139,8 @@ function paperDark({ surface }) {
|
|
|
6253
6139
|
hoverBorder: surface[400],
|
|
6254
6140
|
placeholder: surface[400],
|
|
6255
6141
|
icon: surface[400]
|
|
6256
|
-
}
|
|
6142
|
+
},
|
|
6143
|
+
content
|
|
6257
6144
|
};
|
|
6258
6145
|
}
|
|
6259
6146
|
const invalidColor = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-800"), /* @__PURE__ */ tokenRef("red-300"));
|
|
@@ -6517,7 +6404,33 @@ const paperControlsTokens = {
|
|
|
6517
6404
|
hoverRing: /* @__PURE__ */ joinCss("0 0 1px 10px ", /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("primary-base"), "92%"))
|
|
6518
6405
|
}, noFocusRing)
|
|
6519
6406
|
},
|
|
6520
|
-
filtersPanel: { button: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") } }
|
|
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
|
+
}
|
|
6433
|
+
}
|
|
6521
6434
|
};
|
|
6522
6435
|
/* @__NO_SIDE_EFFECTS__ */
|
|
6523
6436
|
function solid(severity) {
|
|
@@ -6597,16 +6510,11 @@ const paperDisplayTokens = {
|
|
|
6597
6510
|
contentGap: "7px"
|
|
6598
6511
|
} },
|
|
6599
6512
|
card: { root: {
|
|
6600
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6601
|
-
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)",
|
|
6602
6513
|
padding: "17.5px",
|
|
6603
6514
|
gap: "8.75px",
|
|
6604
6515
|
subtitleFontSize: "12.25px"
|
|
6605
6516
|
} },
|
|
6606
|
-
panel: { root: {
|
|
6607
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6608
|
-
padding: "15.75px"
|
|
6609
|
-
} },
|
|
6517
|
+
panel: { root: { padding: "15.75px" } },
|
|
6610
6518
|
fieldset: { root: {
|
|
6611
6519
|
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6612
6520
|
padding: "0 15.75px 15.75px 15.75px",
|
|
@@ -7040,7 +6948,6 @@ const tectraStyle = {
|
|
|
7040
6948
|
};
|
|
7041
6949
|
const TECTRA_STYLES = {
|
|
7042
6950
|
tectra: tectraStyle,
|
|
7043
|
-
soft: softStyle,
|
|
7044
6951
|
edge: edgeStyle,
|
|
7045
6952
|
paper: paperStyle
|
|
7046
6953
|
};
|
|
@@ -7098,7 +7005,6 @@ function createTectraPreset({ style = tectraStyle, primary = "blue", surface = "
|
|
|
7098
7005
|
};
|
|
7099
7006
|
}
|
|
7100
7007
|
const Tectra = /* @__PURE__ */ createTectraPreset();
|
|
7101
|
-
const Soft = /* @__PURE__ */ createTectraPreset({ style: softStyle });
|
|
7102
7008
|
const Edge = /* @__PURE__ */ createTectraPreset({ style: edgeStyle });
|
|
7103
7009
|
const Paper = /* @__PURE__ */ createTectraPreset({ style: paperStyle });
|
|
7104
7010
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -7177,6 +7083,6 @@ function presetToCss(preset) {
|
|
|
7177
7083
|
const components = /* @__PURE__ */ deepMerge(COMPONENT_TOKENS, preset.components);
|
|
7178
7084
|
return themeCss(preset, Object.entries(components).flatMap(([name, tokens]) => componentVariables(name, tokens)));
|
|
7179
7085
|
}
|
|
7180
|
-
export { COMPONENT_TOKENS, Edge, Paper,
|
|
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 };
|
|
7181
7087
|
|
|
7182
7088
|
//# sourceMappingURL=tectra-ng-themes.mjs.map
|