@tectra-ng/themes 0.4.2 → 0.4.4
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 +212 -303
- package/fesm2022/tectra-ng-themes.mjs.map +1 -1
- package/package.json +2 -2
- package/types/tectra-ng-themes.d.ts +195 -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",
|
|
@@ -3439,6 +3521,9 @@ const stepperTokens = {
|
|
|
3439
3521
|
borderWidth: "2px",
|
|
3440
3522
|
color: /* @__PURE__ */ tokenRef("text-muted"),
|
|
3441
3523
|
activeColor: /* @__PURE__ */ tokenRef("primary-base"),
|
|
3524
|
+
completedBackground: /* @__PURE__ */ mix(/* @__PURE__ */ tokenRef("primary-base"), "10%", /* @__PURE__ */ tokenRef("surface-card")),
|
|
3525
|
+
completedBorderColor: /* @__PURE__ */ tokenRef("primary-base"),
|
|
3526
|
+
completedColor: /* @__PURE__ */ tokenRef("primary-base"),
|
|
3442
3527
|
size: "28px",
|
|
3443
3528
|
fontSize: "14px",
|
|
3444
3529
|
fontWeight: /* @__PURE__ */ tokenRef("font-weight-medium"),
|
|
@@ -3806,7 +3891,8 @@ const filtersPanelTokens = {
|
|
|
3806
3891
|
root: {
|
|
3807
3892
|
background: /* @__PURE__ */ tokenRef("surface-card"),
|
|
3808
3893
|
borderColor: /* @__PURE__ */ tokenRef("surface-border"),
|
|
3809
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius
|
|
3894
|
+
borderRadius: /* @__PURE__ */ tokenRef("content-radius"),
|
|
3895
|
+
shadow: /* @__PURE__ */ tokenRef("content-shadow"),
|
|
3810
3896
|
padding: "17.5px",
|
|
3811
3897
|
gap: "10.5px",
|
|
3812
3898
|
color: /* @__PURE__ */ tokenRef("text-primary")
|
|
@@ -4781,7 +4867,9 @@ const confettiTokens = {
|
|
|
4781
4867
|
motion: {
|
|
4782
4868
|
duration: "1.1s",
|
|
4783
4869
|
easing: "cubic-bezier(0.16, 1, 0.3, 1)",
|
|
4784
|
-
stagger: "40ms"
|
|
4870
|
+
stagger: "40ms",
|
|
4871
|
+
hold: "500ms",
|
|
4872
|
+
fadeDuration: "600ms"
|
|
4785
4873
|
}
|
|
4786
4874
|
};
|
|
4787
4875
|
const hoverEffectTokens = { root: {
|
|
@@ -4804,12 +4892,12 @@ const chartTokens = {
|
|
|
4804
4892
|
},
|
|
4805
4893
|
series: {
|
|
4806
4894
|
color1: /* @__PURE__ */ tokenRef("primary-400"),
|
|
4807
|
-
color2: "
|
|
4808
|
-
color3: "
|
|
4809
|
-
color4: "
|
|
4810
|
-
color5: "
|
|
4811
|
-
color6: "
|
|
4812
|
-
color7: "
|
|
4895
|
+
color2: "oklch(from var(--tx-primary-400) 0.78 0.11 calc(h - 90))",
|
|
4896
|
+
color3: "oklch(from var(--tx-primary-400) 0.8 0.12 calc(h + 160))",
|
|
4897
|
+
color4: "oklch(from var(--tx-primary-400) 0.76 0.12 calc(h + 95))",
|
|
4898
|
+
color5: "oklch(from var(--tx-primary-400) 0.72 0.13 calc(h + 28))",
|
|
4899
|
+
color6: "oklch(from var(--tx-primary-400) 0.77 0.1 calc(h - 37))",
|
|
4900
|
+
color7: "oklch(from var(--tx-primary-400) 0.81 0.13 calc(h - 130))"
|
|
4813
4901
|
},
|
|
4814
4902
|
toolbar: {
|
|
4815
4903
|
rowHeight: "31px",
|
|
@@ -5024,7 +5112,7 @@ const chartTokens = {
|
|
|
5024
5112
|
waterfall: {
|
|
5025
5113
|
upColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("green-500"), /* @__PURE__ */ tokenRef("green-400")),
|
|
5026
5114
|
downColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-500"), /* @__PURE__ */ tokenRef("red-400")),
|
|
5027
|
-
totalColor: /* @__PURE__ */ tokenRef("
|
|
5115
|
+
totalColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-500"), /* @__PURE__ */ tokenRef("surface-400")),
|
|
5028
5116
|
connectorColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-500")),
|
|
5029
5117
|
connectorWidth: "1",
|
|
5030
5118
|
connectorDash: "3 3",
|
|
@@ -5043,7 +5131,7 @@ const chartTokens = {
|
|
|
5043
5131
|
connectorOpacity: "0.16",
|
|
5044
5132
|
conversionColor: /* @__PURE__ */ tokenRef("text-muted"),
|
|
5045
5133
|
conversionFontSize: "11px",
|
|
5046
|
-
labelWidth: "0.
|
|
5134
|
+
labelWidth: "0.4",
|
|
5047
5135
|
dimmedOpacity: "0.35"
|
|
5048
5136
|
},
|
|
5049
5137
|
bullet: {
|
|
@@ -5126,6 +5214,11 @@ const chartTokens = {
|
|
|
5126
5214
|
milestoneSize: "14px",
|
|
5127
5215
|
milestoneColor: /* @__PURE__ */ tokenRef("text-primary"),
|
|
5128
5216
|
milestoneRadius: "2px",
|
|
5217
|
+
dependencyColor: /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-400"), /* @__PURE__ */ tokenRef("surface-500")),
|
|
5218
|
+
dependencyWidth: "1.5px",
|
|
5219
|
+
dependencyActiveColor: /* @__PURE__ */ tokenRef("text-primary"),
|
|
5220
|
+
dependencyActiveWidth: "2px",
|
|
5221
|
+
dimmedOpacity: "0.35",
|
|
5129
5222
|
toolbarGap: "8px",
|
|
5130
5223
|
maxHeight: "420px",
|
|
5131
5224
|
radius: /* @__PURE__ */ tokenRef("radius-lg")
|
|
@@ -5225,18 +5318,18 @@ const chartTokens = {
|
|
|
5225
5318
|
strokeWidth: "2.5",
|
|
5226
5319
|
markerRadius: "4",
|
|
5227
5320
|
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:
|
|
5321
|
+
color1: "var(--tx-chart-series-color1)",
|
|
5322
|
+
color2: "var(--tx-chart-series-color2)",
|
|
5323
|
+
color3: "var(--tx-chart-series-color3)",
|
|
5324
|
+
color4: "var(--tx-chart-series-color4)",
|
|
5325
|
+
color5: "var(--tx-chart-series-color5)",
|
|
5326
|
+
color6: "var(--tx-chart-series-color6)",
|
|
5327
|
+
color7: "var(--tx-chart-series-color7)",
|
|
5328
|
+
color8: "oklch(from var(--tx-chart-series-color2) calc(l - 0.18) c h)",
|
|
5329
|
+
color9: "oklch(from var(--tx-chart-series-color3) calc(l - 0.18) c h)",
|
|
5330
|
+
color10: "oklch(from var(--tx-chart-series-color4) calc(l - 0.18) c h)",
|
|
5331
|
+
color11: "oklch(from var(--tx-chart-series-color5) calc(l - 0.18) c h)",
|
|
5332
|
+
color12: "oklch(from var(--tx-chart-series-color6) calc(l - 0.18) c h)"
|
|
5240
5333
|
},
|
|
5241
5334
|
orgChart: {
|
|
5242
5335
|
gap: "14px",
|
|
@@ -5256,7 +5349,7 @@ const chartTokens = {
|
|
|
5256
5349
|
connectorRadius: /* @__PURE__ */ tokenRef("radius-md"),
|
|
5257
5350
|
pathColor: /* @__PURE__ */ tokenRef("primary-base"),
|
|
5258
5351
|
pathWidth: "2px",
|
|
5259
|
-
cardWidth: "
|
|
5352
|
+
cardWidth: "224px",
|
|
5260
5353
|
cardPaddingX: "10.5px",
|
|
5261
5354
|
cardPaddingY: "8.75px",
|
|
5262
5355
|
cardGap: "10.5px",
|
|
@@ -5437,6 +5530,7 @@ const COMPONENT_TOKENS = {
|
|
|
5437
5530
|
floatLabel: floatLabelTokens,
|
|
5438
5531
|
iftaLabel: iftaLabelTokens,
|
|
5439
5532
|
button: buttonTokens,
|
|
5533
|
+
buttonGroup: buttonGroupTokens,
|
|
5440
5534
|
select: selectTokens,
|
|
5441
5535
|
listbox: listboxTokens,
|
|
5442
5536
|
chipsInput: chipsInputTokens,
|
|
@@ -5449,6 +5543,7 @@ const COMPONENT_TOKENS = {
|
|
|
5449
5543
|
emailSuggestion: emailSuggestionTokens,
|
|
5450
5544
|
badge: badgeTokens,
|
|
5451
5545
|
toggleButton: toggleButtonTokens,
|
|
5546
|
+
selectButton: selectButtonTokens,
|
|
5452
5547
|
message: messageTokens,
|
|
5453
5548
|
fieldMessage: fieldMessageTokens,
|
|
5454
5549
|
field: fieldTokens,
|
|
@@ -5547,6 +5642,10 @@ const COMPONENT_TOKENS = {
|
|
|
5547
5642
|
mascot: mascotTokens,
|
|
5548
5643
|
chart: chartTokens
|
|
5549
5644
|
};
|
|
5645
|
+
const content$1 = {
|
|
5646
|
+
radius: "var(--tx-radius-sm)",
|
|
5647
|
+
shadow: "0 1px 4px 0 rgba(0, 0, 0, 0.1)"
|
|
5648
|
+
};
|
|
5550
5649
|
function edgeLight({ accent, surface }) {
|
|
5551
5650
|
const base = primaryBaseStep(accent);
|
|
5552
5651
|
return {
|
|
@@ -5568,7 +5667,8 @@ function edgeLight({ accent, surface }) {
|
|
|
5568
5667
|
color: surface[0],
|
|
5569
5668
|
focusColor: surface[0]
|
|
5570
5669
|
},
|
|
5571
|
-
list: { focusBackground: surface[200] }
|
|
5670
|
+
list: { focusBackground: surface[200] },
|
|
5671
|
+
content: content$1
|
|
5572
5672
|
};
|
|
5573
5673
|
}
|
|
5574
5674
|
function edgeDark({ accent, surface }) {
|
|
@@ -5594,7 +5694,8 @@ function edgeDark({ accent, surface }) {
|
|
|
5594
5694
|
focusColor: surface[950]
|
|
5595
5695
|
},
|
|
5596
5696
|
list: { focusBackground: surface[700] },
|
|
5597
|
-
focusRing: { color: accent[500] }
|
|
5697
|
+
focusRing: { color: accent[500] },
|
|
5698
|
+
content: content$1
|
|
5598
5699
|
};
|
|
5599
5700
|
}
|
|
5600
5701
|
const filledBackground = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("surface-100"), /* @__PURE__ */ tokenRef("surface-800"));
|
|
@@ -5812,7 +5913,33 @@ const edgeControlsTokens = {
|
|
|
5812
5913
|
}
|
|
5813
5914
|
},
|
|
5814
5915
|
filtersPanel: { button: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") } },
|
|
5815
|
-
commandPalette: { trigger: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") } }
|
|
5916
|
+
commandPalette: { trigger: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") } },
|
|
5917
|
+
tabs: {
|
|
5918
|
+
segmented: {
|
|
5919
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
|
|
5920
|
+
tab: { borderRadius: "1px" },
|
|
5921
|
+
sm: {
|
|
5922
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
|
|
5923
|
+
tabBorderRadius: "1px"
|
|
5924
|
+
}
|
|
5925
|
+
},
|
|
5926
|
+
pills: {
|
|
5927
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
|
|
5928
|
+
tab: { borderRadius: "1px" }
|
|
5929
|
+
}
|
|
5930
|
+
},
|
|
5931
|
+
selectButton: {
|
|
5932
|
+
root: {
|
|
5933
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
|
|
5934
|
+
sm: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") },
|
|
5935
|
+
lg: { borderRadius: /* @__PURE__ */ tokenRef("radius-xs") }
|
|
5936
|
+
},
|
|
5937
|
+
item: {
|
|
5938
|
+
borderRadius: "1px",
|
|
5939
|
+
sm: { borderRadius: "1px" },
|
|
5940
|
+
lg: { borderRadius: "1px" }
|
|
5941
|
+
}
|
|
5942
|
+
}
|
|
5816
5943
|
};
|
|
5817
5944
|
/* @__NO_SIDE_EFFECTS__ */
|
|
5818
5945
|
function solid$1(severity) {
|
|
@@ -5868,14 +5995,7 @@ const edgeDisplayTokens = {
|
|
|
5868
5995
|
color: /* @__PURE__ */ tokenRef("text-primary")
|
|
5869
5996
|
} },
|
|
5870
5997
|
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
|
-
} },
|
|
5998
|
+
panel: { root: { titleFontWeight: /* @__PURE__ */ tokenRef("font-weight-bold") } },
|
|
5879
5999
|
fieldset: { root: {
|
|
5880
6000
|
borderRadius: /* @__PURE__ */ tokenRef("radius-xs"),
|
|
5881
6001
|
padding: "8.75px 14px 14px 14px",
|
|
@@ -5980,241 +6100,9 @@ const edgeStyle = {
|
|
|
5980
6100
|
} }
|
|
5981
6101
|
})
|
|
5982
6102
|
};
|
|
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
|
-
})
|
|
6103
|
+
const content = {
|
|
6104
|
+
radius: "var(--tx-radius-sm)",
|
|
6105
|
+
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
6106
|
};
|
|
6219
6107
|
function paperLight({ accent, surface }) {
|
|
6220
6108
|
const base = accent[primaryBaseStep(accent)];
|
|
@@ -6239,7 +6127,8 @@ function paperLight({ accent, surface }) {
|
|
|
6239
6127
|
background: `color-mix(in srgb, ${base}, transparent 88%)`,
|
|
6240
6128
|
focusBackground: `color-mix(in srgb, ${base}, transparent 76%)`
|
|
6241
6129
|
},
|
|
6242
|
-
mask: { background: "rgba(0, 0, 0, 0.32)" }
|
|
6130
|
+
mask: { background: "rgba(0, 0, 0, 0.32)" },
|
|
6131
|
+
content
|
|
6243
6132
|
};
|
|
6244
6133
|
}
|
|
6245
6134
|
function paperDark({ surface }) {
|
|
@@ -6253,7 +6142,8 @@ function paperDark({ surface }) {
|
|
|
6253
6142
|
hoverBorder: surface[400],
|
|
6254
6143
|
placeholder: surface[400],
|
|
6255
6144
|
icon: surface[400]
|
|
6256
|
-
}
|
|
6145
|
+
},
|
|
6146
|
+
content
|
|
6257
6147
|
};
|
|
6258
6148
|
}
|
|
6259
6149
|
const invalidColor = /* @__PURE__ */ lightDark(/* @__PURE__ */ tokenRef("red-800"), /* @__PURE__ */ tokenRef("red-300"));
|
|
@@ -6517,7 +6407,33 @@ const paperControlsTokens = {
|
|
|
6517
6407
|
hoverRing: /* @__PURE__ */ joinCss("0 0 1px 10px ", /* @__PURE__ */ fade(/* @__PURE__ */ tokenRef("primary-base"), "92%"))
|
|
6518
6408
|
}, noFocusRing)
|
|
6519
6409
|
},
|
|
6520
|
-
filtersPanel: { button: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") } }
|
|
6410
|
+
filtersPanel: { button: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") } },
|
|
6411
|
+
tabs: {
|
|
6412
|
+
segmented: {
|
|
6413
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6414
|
+
tab: { borderRadius: "2px" },
|
|
6415
|
+
sm: {
|
|
6416
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6417
|
+
tabBorderRadius: "2px"
|
|
6418
|
+
}
|
|
6419
|
+
},
|
|
6420
|
+
pills: {
|
|
6421
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6422
|
+
tab: { borderRadius: "2px" }
|
|
6423
|
+
}
|
|
6424
|
+
},
|
|
6425
|
+
selectButton: {
|
|
6426
|
+
root: {
|
|
6427
|
+
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6428
|
+
sm: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") },
|
|
6429
|
+
lg: { borderRadius: /* @__PURE__ */ tokenRef("radius-sm") }
|
|
6430
|
+
},
|
|
6431
|
+
item: {
|
|
6432
|
+
borderRadius: "2px",
|
|
6433
|
+
sm: { borderRadius: "2px" },
|
|
6434
|
+
lg: { borderRadius: "2px" }
|
|
6435
|
+
}
|
|
6436
|
+
}
|
|
6521
6437
|
};
|
|
6522
6438
|
/* @__NO_SIDE_EFFECTS__ */
|
|
6523
6439
|
function solid(severity) {
|
|
@@ -6597,16 +6513,11 @@ const paperDisplayTokens = {
|
|
|
6597
6513
|
contentGap: "7px"
|
|
6598
6514
|
} },
|
|
6599
6515
|
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
6516
|
padding: "17.5px",
|
|
6603
6517
|
gap: "8.75px",
|
|
6604
6518
|
subtitleFontSize: "12.25px"
|
|
6605
6519
|
} },
|
|
6606
|
-
panel: { root: {
|
|
6607
|
-
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6608
|
-
padding: "15.75px"
|
|
6609
|
-
} },
|
|
6520
|
+
panel: { root: { padding: "15.75px" } },
|
|
6610
6521
|
fieldset: { root: {
|
|
6611
6522
|
borderRadius: /* @__PURE__ */ tokenRef("radius-sm"),
|
|
6612
6523
|
padding: "0 15.75px 15.75px 15.75px",
|
|
@@ -7040,7 +6951,6 @@ const tectraStyle = {
|
|
|
7040
6951
|
};
|
|
7041
6952
|
const TECTRA_STYLES = {
|
|
7042
6953
|
tectra: tectraStyle,
|
|
7043
|
-
soft: softStyle,
|
|
7044
6954
|
edge: edgeStyle,
|
|
7045
6955
|
paper: paperStyle
|
|
7046
6956
|
};
|
|
@@ -7098,7 +7008,6 @@ function createTectraPreset({ style = tectraStyle, primary = "blue", surface = "
|
|
|
7098
7008
|
};
|
|
7099
7009
|
}
|
|
7100
7010
|
const Tectra = /* @__PURE__ */ createTectraPreset();
|
|
7101
|
-
const Soft = /* @__PURE__ */ createTectraPreset({ style: softStyle });
|
|
7102
7011
|
const Edge = /* @__PURE__ */ createTectraPreset({ style: edgeStyle });
|
|
7103
7012
|
const Paper = /* @__PURE__ */ createTectraPreset({ style: paperStyle });
|
|
7104
7013
|
/* @__NO_SIDE_EFFECTS__ */
|
|
@@ -7177,6 +7086,6 @@ function presetToCss(preset) {
|
|
|
7177
7086
|
const components = /* @__PURE__ */ deepMerge(COMPONENT_TOKENS, preset.components);
|
|
7178
7087
|
return themeCss(preset, Object.entries(components).flatMap(([name, tokens]) => componentVariables(name, tokens)));
|
|
7179
7088
|
}
|
|
7180
|
-
export { COMPONENT_TOKENS, Edge, Paper,
|
|
7089
|
+
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
7090
|
|
|
7182
7091
|
//# sourceMappingURL=tectra-ng-themes.mjs.map
|