@vygruppen/spor-react 12.4.4 → 12.4.6
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/.turbo/turbo-build.log +12 -12
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +15 -0
- package/dist/index.d.mts +33 -29
- package/dist/index.d.ts +33 -29
- package/dist/index.js +197 -458
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +197 -458
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/linjetag/InfoTag.tsx +0 -1
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/linjetag/types.ts +1 -1
- package/src/theme/recipes/close-button.ts +2 -4
- package/src/theme/recipes/link.ts +3 -5
- package/src/theme/slot-recipes/accordion.ts +23 -19
- package/src/theme/slot-recipes/checkbox.ts +9 -15
- package/src/theme/slot-recipes/info-tag.ts +11 -7
- package/src/theme/slot-recipes/native-select.ts +1 -2
- package/src/theme/slot-recipes/pagination.ts +3 -6
- package/src/theme/slot-recipes/stepper.ts +4 -7
- package/src/theme/utils/accent-utils.ts +0 -47
- package/src/theme/utils/bg-utils.ts +0 -20
- package/src/theme/utils/brand-utils.ts +0 -29
- package/src/theme/utils/core-utils.ts +0 -101
- package/src/theme/utils/floating-utils.ts +0 -69
- package/src/theme/utils/ghost-utils.ts +0 -49
- package/src/theme/utils/input-utils.ts +0 -117
- package/src/theme/utils/outline-utils.ts +0 -22
- package/src/theme/utils/sr-utils.ts +0 -13
- package/src/theme/utils/surface-utils.ts +0 -25
package/dist/index.mjs
CHANGED
@@ -18,9 +18,9 @@ import { popoverAnatomy as popoverAnatomy$1 } from '@ark-ui/react/popover';
|
|
18
18
|
import { GregorianCalendar, createCalendar, getLocalTimeZone, endOfMonth, getWeeksInMonth, isSameMonth, isToday, parseTime } from '@internationalized/date';
|
19
19
|
export { Time } from '@internationalized/date';
|
20
20
|
import { getSupportedCallingCodes } from 'awesome-phonenumber';
|
21
|
-
import
|
22
|
-
import * as
|
23
|
-
export {
|
21
|
+
import tokens23__default from '@vygruppen/spor-design-tokens';
|
22
|
+
import * as tokens23 from '@vygruppen/spor-design-tokens';
|
23
|
+
export { tokens23 as tokens };
|
24
24
|
import { Global } from '@emotion/react';
|
25
25
|
import tokens4 from '@vygruppen/spor-design-tokens/raw-tokens';
|
26
26
|
|
@@ -3554,141 +3554,6 @@ function ListBoxSection({ section, state }) {
|
|
3554
3554
|
) })
|
3555
3555
|
] }) });
|
3556
3556
|
}
|
3557
|
-
|
3558
|
-
// src/theme/utils/brand-utils.ts
|
3559
|
-
function brandBackground(state) {
|
3560
|
-
switch (state) {
|
3561
|
-
case "active": {
|
3562
|
-
return {
|
3563
|
-
backgroundColor: "brand.surface.active"
|
3564
|
-
};
|
3565
|
-
}
|
3566
|
-
case "hover": {
|
3567
|
-
return {
|
3568
|
-
backgroundColor: "brand.surface.hover"
|
3569
|
-
};
|
3570
|
-
}
|
3571
|
-
default: {
|
3572
|
-
return {
|
3573
|
-
backgroundColor: "brand.surface"
|
3574
|
-
};
|
3575
|
-
}
|
3576
|
-
}
|
3577
|
-
}
|
3578
|
-
function brandText() {
|
3579
|
-
return {
|
3580
|
-
color: "brand.text"
|
3581
|
-
};
|
3582
|
-
}
|
3583
|
-
|
3584
|
-
// src/theme/utils/surface-utils.ts
|
3585
|
-
var surface = (surface2) => {
|
3586
|
-
switch (surface2) {
|
3587
|
-
case "default": {
|
3588
|
-
return {
|
3589
|
-
backgroundColor: "surface"
|
3590
|
-
};
|
3591
|
-
}
|
3592
|
-
case "secondary": {
|
3593
|
-
return {
|
3594
|
-
backgroundColor: "surface.secondary"
|
3595
|
-
};
|
3596
|
-
}
|
3597
|
-
case "tertiary": {
|
3598
|
-
return {
|
3599
|
-
backgroundColor: "surface.tertiary"
|
3600
|
-
};
|
3601
|
-
}
|
3602
|
-
case "disabled": {
|
3603
|
-
return {
|
3604
|
-
backgroundColor: "surface.disabled"
|
3605
|
-
};
|
3606
|
-
}
|
3607
|
-
}
|
3608
|
-
};
|
3609
|
-
|
3610
|
-
// src/theme/utils/core-utils.ts
|
3611
|
-
function coreBackground(state) {
|
3612
|
-
switch (state) {
|
3613
|
-
case "active": {
|
3614
|
-
return brandBackground("active");
|
3615
|
-
}
|
3616
|
-
case "selected": {
|
3617
|
-
return brandBackground("default");
|
3618
|
-
}
|
3619
|
-
case "disabled": {
|
3620
|
-
return surface("disabled");
|
3621
|
-
}
|
3622
|
-
default: {
|
3623
|
-
return { backgroundColor: "transparent" };
|
3624
|
-
}
|
3625
|
-
}
|
3626
|
-
}
|
3627
|
-
function coreBorder(state) {
|
3628
|
-
switch (state) {
|
3629
|
-
case "hover": {
|
3630
|
-
return {
|
3631
|
-
outline: "2px solid",
|
3632
|
-
outlineColor: "core.outline"
|
3633
|
-
};
|
3634
|
-
}
|
3635
|
-
case "disabled": {
|
3636
|
-
return {
|
3637
|
-
outline: "1px solid",
|
3638
|
-
outlineColor: "outline.disabled"
|
3639
|
-
};
|
3640
|
-
}
|
3641
|
-
case "active": {
|
3642
|
-
return {
|
3643
|
-
outline: "1px solid",
|
3644
|
-
outlineColor: "core.outline"
|
3645
|
-
};
|
3646
|
-
}
|
3647
|
-
case "invalid": {
|
3648
|
-
return {
|
3649
|
-
outline: "2px solid",
|
3650
|
-
outlineColor: "outline.error"
|
3651
|
-
};
|
3652
|
-
}
|
3653
|
-
default: {
|
3654
|
-
return {
|
3655
|
-
outline: "1px solid",
|
3656
|
-
outlineColor: "core.outline"
|
3657
|
-
};
|
3658
|
-
}
|
3659
|
-
}
|
3660
|
-
}
|
3661
|
-
function coreText(state) {
|
3662
|
-
switch (state) {
|
3663
|
-
case "selected": {
|
3664
|
-
return {
|
3665
|
-
color: "brand.text"
|
3666
|
-
};
|
3667
|
-
}
|
3668
|
-
case "active": {
|
3669
|
-
return {
|
3670
|
-
color: "brand.text"
|
3671
|
-
};
|
3672
|
-
}
|
3673
|
-
case "highlight": {
|
3674
|
-
return {
|
3675
|
-
color: "text.highlight"
|
3676
|
-
};
|
3677
|
-
}
|
3678
|
-
case "disabled": {
|
3679
|
-
return {
|
3680
|
-
color: "text.disabled"
|
3681
|
-
};
|
3682
|
-
}
|
3683
|
-
default: {
|
3684
|
-
return {
|
3685
|
-
color: "core.text"
|
3686
|
-
};
|
3687
|
-
}
|
3688
|
-
}
|
3689
|
-
}
|
3690
|
-
|
3691
|
-
// src/theme/slot-recipes/native-select.ts
|
3692
3557
|
var _a2, _b;
|
3693
3558
|
var nativeSelectSlotRecipe = defineSlotRecipe({
|
3694
3559
|
slots: NativeSelectAnatomy.keys(),
|
@@ -3720,7 +3585,7 @@ var nativeSelectSlotRecipe = defineSlotRecipe({
|
|
3720
3585
|
color: "currentColor",
|
3721
3586
|
fontSize: "sm",
|
3722
3587
|
_disabled: {
|
3723
|
-
|
3588
|
+
color: "text.disabled"
|
3724
3589
|
}
|
3725
3590
|
}
|
3726
3591
|
},
|
@@ -4576,16 +4441,16 @@ var pressableCardRecipe = defineRecipe({
|
|
4576
4441
|
},
|
4577
4442
|
core: {
|
4578
4443
|
outlineColor: "core.outline",
|
4579
|
-
outlineWidth:
|
4444
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
4580
4445
|
outlineStyle: "solid",
|
4581
4446
|
backgroundColor: "core.surface",
|
4582
4447
|
_hover: {
|
4583
4448
|
outlineColor: "core.outline.hover",
|
4584
|
-
outlineWidth:
|
4449
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
4585
4450
|
outlineStyle: "solid",
|
4586
4451
|
_active: {
|
4587
4452
|
backgroundColor: "core.surface.active",
|
4588
|
-
outlineWidth:
|
4453
|
+
outlineWidth: tokens23__default.size.stroke.sm
|
4589
4454
|
}
|
4590
4455
|
}
|
4591
4456
|
},
|
@@ -4899,7 +4764,6 @@ var InfoTag = ({
|
|
4899
4764
|
}) => {
|
4900
4765
|
const recipe = useSlotRecipe({ key: "infoTag" });
|
4901
4766
|
const styles = recipe({
|
4902
|
-
variant,
|
4903
4767
|
size,
|
4904
4768
|
...customProps
|
4905
4769
|
});
|
@@ -6016,7 +5880,7 @@ var texts24 = createTexts({
|
|
6016
5880
|
});
|
6017
5881
|
var fontFaces = `
|
6018
5882
|
@font-face {
|
6019
|
-
font-family: ${
|
5883
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["light"].name};
|
6020
5884
|
src: url("https://www.vy.no/styles/font/VySans-Light.woff2") format("woff2"),
|
6021
5885
|
url("https://www.vy.no/styles/font/VySans-Light.woff") format("woff");
|
6022
5886
|
font-style: normal;
|
@@ -6024,7 +5888,7 @@ var fontFaces = `
|
|
6024
5888
|
font-display: swap
|
6025
5889
|
}
|
6026
5890
|
@font-face {
|
6027
|
-
font-family: ${
|
5891
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["light-italic"].name};
|
6028
5892
|
src: url("https://www.vy.no/styles/font/VySans-LightItalic.woff2")
|
6029
5893
|
format("woff2"),
|
6030
5894
|
url("https://www.vy.no/styles/font/VySans-LightItalic.woff") format("woff");
|
@@ -6033,7 +5897,7 @@ var fontFaces = `
|
|
6033
5897
|
font-display: swap
|
6034
5898
|
}
|
6035
5899
|
@font-face {
|
6036
|
-
font-family: ${
|
5900
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["medium"].name};
|
6037
5901
|
src: url("https://www.vy.no/styles/font/VySans-Regular.woff2") format("woff2"),
|
6038
5902
|
url("https://www.vy.no/styles/font/VySans-Regular.woff") format("woff");
|
6039
5903
|
font-style: normal;
|
@@ -6041,7 +5905,7 @@ var fontFaces = `
|
|
6041
5905
|
font-display: swap
|
6042
5906
|
}
|
6043
5907
|
@font-face {
|
6044
|
-
font-family: ${
|
5908
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["medium-italic"].name};
|
6045
5909
|
src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
|
6046
5910
|
format("woff2"),
|
6047
5911
|
url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
|
@@ -6051,7 +5915,7 @@ var fontFaces = `
|
|
6051
5915
|
font-display: swap
|
6052
5916
|
}
|
6053
5917
|
@font-face {
|
6054
|
-
font-family: ${
|
5918
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["bold"].name};
|
6055
5919
|
src: url("https://www.vy.no/styles/font/VySans-Bold.woff2") format("woff2"),
|
6056
5920
|
url("https://www.vy.no/styles/font/VySans-Bold.woff") format("woff");
|
6057
5921
|
font-style: normal;
|
@@ -6059,7 +5923,7 @@ var fontFaces = `
|
|
6059
5923
|
font-display: swap
|
6060
5924
|
}
|
6061
5925
|
@font-face {
|
6062
|
-
font-family: ${
|
5926
|
+
font-family: ${tokens23__default.asset.font["vy-sans"]["bold-italic"].name};
|
6063
5927
|
src: url("https://www.vy.no/styles/font/VySans-BoldItalic.woff2")
|
6064
5928
|
format("woff2"),
|
6065
5929
|
url("https://www.vy.no/styles/font/VySans-BoldItalic.woff") format("woff");
|
@@ -6068,7 +5932,7 @@ var fontFaces = `
|
|
6068
5932
|
font-display: swap
|
6069
5933
|
}
|
6070
5934
|
@font-face {
|
6071
|
-
font-family: ${
|
5935
|
+
font-family: ${tokens23__default.asset.font["vy-display"].name};
|
6072
5936
|
src: url("https://www.vy.no/styles/font/VyDisplay-Medium.woff2")
|
6073
5937
|
format("woff2"),
|
6074
5938
|
url("https://www.vy.no/styles/font/VyDisplay-Medium.woff") format("woff");
|
@@ -6577,7 +6441,7 @@ var buttonRecipe = defineRecipe({
|
|
6577
6441
|
background: "surface.disabled"
|
6578
6442
|
},
|
6579
6443
|
_focus: {
|
6580
|
-
outlineOffset:
|
6444
|
+
outlineOffset: tokens23__default.size.stroke.md
|
6581
6445
|
}
|
6582
6446
|
},
|
6583
6447
|
variants: {
|
@@ -6605,19 +6469,19 @@ var buttonRecipe = defineRecipe({
|
|
6605
6469
|
tertiary: {
|
6606
6470
|
color: "core.text",
|
6607
6471
|
outline: "solid",
|
6608
|
-
outlineWidth:
|
6472
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6609
6473
|
outlineColor: "core.outline",
|
6610
6474
|
_hover: {
|
6611
|
-
outlineWidth:
|
6475
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
6612
6476
|
outlineColor: "core.outline.hover",
|
6613
6477
|
_active: {
|
6614
6478
|
background: "core.surface.active",
|
6615
|
-
outlineWidth:
|
6479
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6616
6480
|
outlineColor: "core.outline"
|
6617
6481
|
}
|
6618
6482
|
},
|
6619
6483
|
_focus: {
|
6620
|
-
outlineWidth:
|
6484
|
+
outlineWidth: tokens23__default.size.stroke.sm
|
6621
6485
|
}
|
6622
6486
|
},
|
6623
6487
|
ghost: {
|
@@ -6677,34 +6541,6 @@ var buttonRecipe = defineRecipe({
|
|
6677
6541
|
size: "md"
|
6678
6542
|
}
|
6679
6543
|
});
|
6680
|
-
|
6681
|
-
// src/theme/utils/ghost-utils.ts
|
6682
|
-
function ghostBackground(state) {
|
6683
|
-
switch (state) {
|
6684
|
-
case "hover": {
|
6685
|
-
return {
|
6686
|
-
backgroundColor: "ghost.surface.hover"
|
6687
|
-
};
|
6688
|
-
}
|
6689
|
-
case "active": {
|
6690
|
-
return {
|
6691
|
-
backgroundColor: "ghost.surface.active"
|
6692
|
-
};
|
6693
|
-
}
|
6694
|
-
case "selected": {
|
6695
|
-
return {
|
6696
|
-
backgroundColor: "ghost.surface.selected"
|
6697
|
-
};
|
6698
|
-
}
|
6699
|
-
case "default": {
|
6700
|
-
return {
|
6701
|
-
backgroundColor: "transparent"
|
6702
|
-
};
|
6703
|
-
}
|
6704
|
-
}
|
6705
|
-
}
|
6706
|
-
|
6707
|
-
// src/theme/recipes/close-button.ts
|
6708
6544
|
var closeButtonRecipe = defineRecipe({
|
6709
6545
|
base: {
|
6710
6546
|
transitionProperty: "common",
|
@@ -6714,12 +6550,12 @@ var closeButtonRecipe = defineRecipe({
|
|
6714
6550
|
color: "darkGrey",
|
6715
6551
|
fontWeight: "normal",
|
6716
6552
|
_hover: {
|
6717
|
-
|
6553
|
+
background: "ghost.surface.hover",
|
6718
6554
|
_disabled: {
|
6719
6555
|
color: "dimGrey"
|
6720
6556
|
},
|
6721
6557
|
_active: {
|
6722
|
-
|
6558
|
+
background: "ghost.surface.active"
|
6723
6559
|
}
|
6724
6560
|
}
|
6725
6561
|
},
|
@@ -6781,7 +6617,7 @@ var linkRecipe = defineRecipe({
|
|
6781
6617
|
variants: {
|
6782
6618
|
variant: {
|
6783
6619
|
primary: {
|
6784
|
-
|
6620
|
+
color: "core.text",
|
6785
6621
|
_hover: {
|
6786
6622
|
color: "text.default",
|
6787
6623
|
_active: {
|
@@ -6790,10 +6626,10 @@ var linkRecipe = defineRecipe({
|
|
6790
6626
|
}
|
6791
6627
|
},
|
6792
6628
|
secondary: {
|
6793
|
-
|
6629
|
+
color: "text.hightlight",
|
6794
6630
|
padding: "2px",
|
6795
6631
|
_hover: {
|
6796
|
-
|
6632
|
+
color: "text.hightlight",
|
6797
6633
|
_active: {
|
6798
6634
|
color: "text.disabled"
|
6799
6635
|
}
|
@@ -6854,14 +6690,14 @@ var cargonetColors = defineSemanticTokens.colors({
|
|
6854
6690
|
...tokens4.color.cargonet.color.cargonet
|
6855
6691
|
});
|
6856
6692
|
var radii = defineSemanticTokens.radii({
|
6857
|
-
none: { value:
|
6858
|
-
xxs: { value:
|
6859
|
-
xs: { value:
|
6860
|
-
sm: { value:
|
6861
|
-
md: { value:
|
6862
|
-
lg: { value:
|
6863
|
-
xl: { value:
|
6864
|
-
"2xl": { value:
|
6693
|
+
none: { value: tokens23__default.size["border-radius"].none },
|
6694
|
+
xxs: { value: tokens23__default.size["border-radius"].xxs },
|
6695
|
+
xs: { value: tokens23__default.size["border-radius"].xs },
|
6696
|
+
sm: { value: tokens23__default.size["border-radius"].sm },
|
6697
|
+
md: { value: tokens23__default.size["border-radius"].md },
|
6698
|
+
lg: { value: tokens23__default.size["border-radius"].lg },
|
6699
|
+
xl: { value: tokens23__default.size["border-radius"].xl },
|
6700
|
+
"2xl": { value: tokens23__default.size["border-radius"]["2xl"] },
|
6865
6701
|
round: { value: "50%" }
|
6866
6702
|
});
|
6867
6703
|
var shadows = defineSemanticTokens.shadows({
|
@@ -6869,13 +6705,13 @@ var shadows = defineSemanticTokens.shadows({
|
|
6869
6705
|
value: "none"
|
6870
6706
|
},
|
6871
6707
|
sm: {
|
6872
|
-
value:
|
6708
|
+
value: tokens23__default.depth.shadow.sm.value
|
6873
6709
|
},
|
6874
6710
|
md: {
|
6875
|
-
value:
|
6711
|
+
value: tokens23__default.depth.shadow.md.value
|
6876
6712
|
},
|
6877
6713
|
lg: {
|
6878
|
-
value:
|
6714
|
+
value: tokens23__default.depth.shadow.lg.value
|
6879
6715
|
}
|
6880
6716
|
});
|
6881
6717
|
|
@@ -6898,66 +6734,6 @@ var semanticTokens = {
|
|
6898
6734
|
colors: vyDigitalColors
|
6899
6735
|
}
|
6900
6736
|
};
|
6901
|
-
|
6902
|
-
// src/theme/utils/floating-utils.ts
|
6903
|
-
function floatingBackground(state) {
|
6904
|
-
switch (state) {
|
6905
|
-
case "focus": {
|
6906
|
-
return brandBackground("default");
|
6907
|
-
}
|
6908
|
-
case "active": {
|
6909
|
-
return {
|
6910
|
-
backgroundColor: "floating.surface.active"
|
6911
|
-
};
|
6912
|
-
}
|
6913
|
-
case "hover": {
|
6914
|
-
return {
|
6915
|
-
backgroundColor: {
|
6916
|
-
_light: "floating.surface.hover",
|
6917
|
-
_dark: `color-mix(in srgb, white 10%, var(--spor-colors-bg))`
|
6918
|
-
}
|
6919
|
-
};
|
6920
|
-
}
|
6921
|
-
case "default": {
|
6922
|
-
return {
|
6923
|
-
backgroundColor: {
|
6924
|
-
_light: "bg",
|
6925
|
-
_dark: `color-mix(in srgb, white 10%, var(--spor-colors-bg))`
|
6926
|
-
}
|
6927
|
-
};
|
6928
|
-
}
|
6929
|
-
}
|
6930
|
-
}
|
6931
|
-
function floatingBorder(state) {
|
6932
|
-
switch (state) {
|
6933
|
-
case "hover": {
|
6934
|
-
return {
|
6935
|
-
outline: "1px solid",
|
6936
|
-
outlineColor: "floating.outline.hover"
|
6937
|
-
};
|
6938
|
-
}
|
6939
|
-
case "focus": {
|
6940
|
-
return {
|
6941
|
-
outline: "1px solid",
|
6942
|
-
outlineColor: "outline.focus"
|
6943
|
-
};
|
6944
|
-
}
|
6945
|
-
case "active": {
|
6946
|
-
return {
|
6947
|
-
outline: "1px solid",
|
6948
|
-
outlineColor: "floating.outline.active"
|
6949
|
-
};
|
6950
|
-
}
|
6951
|
-
default: {
|
6952
|
-
return {
|
6953
|
-
outline: "1px solid",
|
6954
|
-
outlineColor: "floating.outline"
|
6955
|
-
};
|
6956
|
-
}
|
6957
|
-
}
|
6958
|
-
}
|
6959
|
-
|
6960
|
-
// src/theme/slot-recipes/accordion.ts
|
6961
6737
|
var accordionSlotRecipe = defineSlotRecipe({
|
6962
6738
|
className: "spor-accordion",
|
6963
6739
|
slots: accordionAnatomy.keys(),
|
@@ -6973,7 +6749,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
6973
6749
|
borderRadius: "sm",
|
6974
6750
|
display: "flex",
|
6975
6751
|
justifyContent: "space-between",
|
6976
|
-
|
6752
|
+
color: "core.text",
|
6977
6753
|
textAlign: "left",
|
6978
6754
|
width: "full",
|
6979
6755
|
alignItems: "center",
|
@@ -7024,58 +6800,62 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
7024
6800
|
variants: {
|
7025
6801
|
variant: {
|
7026
6802
|
ghost: {
|
7027
|
-
|
6803
|
+
item: {
|
7028
6804
|
outline: "none"
|
7029
6805
|
},
|
7030
6806
|
itemTrigger: {
|
7031
6807
|
"&:hover": {
|
7032
|
-
|
6808
|
+
background: "ghost.surface.hover"
|
7033
6809
|
},
|
7034
6810
|
"&:active": {
|
7035
|
-
|
6811
|
+
backgroundColor: "ghost.surface.active"
|
7036
6812
|
}
|
7037
6813
|
}
|
7038
6814
|
},
|
7039
6815
|
core: {
|
7040
6816
|
item: {
|
7041
|
-
|
6817
|
+
outline: "solid",
|
6818
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6819
|
+
outlineColor: "core.outline"
|
7042
6820
|
},
|
7043
6821
|
itemTrigger: {
|
7044
6822
|
_expanded: {
|
7045
6823
|
borderBottomRadius: "none"
|
7046
6824
|
},
|
7047
6825
|
"&:hover": {
|
7048
|
-
|
6826
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
6827
|
+
outlineColor: "core.outline",
|
6828
|
+
outline: "2px solid",
|
7049
6829
|
outlineOffset: 0
|
7050
6830
|
},
|
7051
6831
|
"&:active": {
|
7052
6832
|
backgroundColor: "core.surface.active",
|
7053
|
-
|
6833
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6834
|
+
outline: "none"
|
7054
6835
|
}
|
7055
6836
|
}
|
7056
6837
|
},
|
7057
6838
|
floating: {
|
7058
6839
|
item: {
|
7059
|
-
|
7060
|
-
|
7061
|
-
boxShadow: "sm"
|
6840
|
+
outline: "1px solid",
|
6841
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6842
|
+
boxShadow: "sm",
|
6843
|
+
outlineColor: "floating.outline"
|
7062
6844
|
},
|
7063
6845
|
itemTrigger: {
|
7064
6846
|
_expanded: {
|
7065
6847
|
borderBottomRadius: "none"
|
7066
6848
|
},
|
7067
6849
|
"&:hover": {
|
7068
|
-
|
7069
|
-
|
7070
|
-
|
7071
|
-
|
7072
|
-
backgroundColor: "floating.surface.active",
|
7073
|
-
...floatingBorder("default")
|
7074
|
-
}
|
6850
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
6851
|
+
outline: "1px solid",
|
6852
|
+
outlineColor: "floating.outline.hover",
|
6853
|
+
outlineOffset: 1
|
7075
6854
|
},
|
7076
6855
|
"&:active": {
|
7077
6856
|
backgroundColor: "floating.surface.active",
|
7078
|
-
|
6857
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
6858
|
+
outline: "none"
|
7079
6859
|
}
|
7080
6860
|
}
|
7081
6861
|
}
|
@@ -7378,7 +7158,7 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
|
|
7378
7158
|
link: {
|
7379
7159
|
_hover: {
|
7380
7160
|
outlineColor: "core.outline.hover",
|
7381
|
-
outlineWidth:
|
7161
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
7382
7162
|
outlineStyle: "solid",
|
7383
7163
|
_active: {
|
7384
7164
|
backgroundColor: "core.surface.active",
|
@@ -7412,12 +7192,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
7412
7192
|
gap: 1.5,
|
7413
7193
|
_hover: {
|
7414
7194
|
"& > input:enabled:not([aria-invalid]) + .spor-checkbox__control": {
|
7415
|
-
|
7416
|
-
borderColor: brandBackground("hover").backgroundColor
|
7195
|
+
borderColor: "core.outline.hover"
|
7417
7196
|
},
|
7418
7197
|
"& > input:enabled:checked:not([aria-invalid]) + .spor-checkbox__control": {
|
7419
|
-
|
7420
|
-
borderColor: brandBackground("hover").backgroundColor
|
7198
|
+
background: "brand.surface.hover"
|
7421
7199
|
}
|
7422
7200
|
}
|
7423
7201
|
},
|
@@ -7441,17 +7219,16 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
7441
7219
|
border: "2px solid",
|
7442
7220
|
borderColor: "core.outline",
|
7443
7221
|
borderRadius: "xs",
|
7444
|
-
...coreBackground("default"),
|
7445
7222
|
_checked: {
|
7446
|
-
|
7447
|
-
|
7448
|
-
|
7223
|
+
color: "brand.icon",
|
7224
|
+
borderColor: "brand.surface",
|
7225
|
+
background: "brand.surface",
|
7449
7226
|
_focus: {
|
7450
7227
|
borderColor: "brand.surface.active"
|
7451
7228
|
},
|
7452
7229
|
_disabled: {
|
7453
|
-
|
7454
|
-
|
7230
|
+
background: "surface.disabled",
|
7231
|
+
color: "text.disabled",
|
7455
7232
|
borderColor: "currentColor"
|
7456
7233
|
},
|
7457
7234
|
_invalid: {
|
@@ -7460,20 +7237,19 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
7460
7237
|
}
|
7461
7238
|
},
|
7462
7239
|
_disabled: {
|
7463
|
-
|
7464
|
-
borderColor:
|
7240
|
+
// borderColor: coreText("disabled").color,
|
7241
|
+
borderColor: "text.disabled"
|
7465
7242
|
},
|
7466
7243
|
_invalid: {
|
7467
|
-
...coreBackground("default"),
|
7468
7244
|
borderColor: "outline.error"
|
7469
7245
|
},
|
7470
7246
|
_focus: {
|
7471
7247
|
outlineStyle: "solid",
|
7472
7248
|
outlineColor: "outline.focus",
|
7473
|
-
outlineOffset:
|
7474
|
-
outlineWidth:
|
7249
|
+
outlineOffset: tokens23__default.size.stroke.md,
|
7250
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
7475
7251
|
borderColor: "core.outline",
|
7476
|
-
borderWidth:
|
7252
|
+
borderWidth: tokens23__default.size.stroke.md
|
7477
7253
|
}
|
7478
7254
|
},
|
7479
7255
|
label: {
|
@@ -8127,7 +7903,7 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
|
|
8127
7903
|
position: "fixed",
|
8128
7904
|
zIndex: "dropdown",
|
8129
7905
|
_focus: {
|
8130
|
-
outlineOffset:
|
7906
|
+
outlineOffset: tokens23__default.size.stroke.lg,
|
8131
7907
|
outlineColor: "outline.focus"
|
8132
7908
|
},
|
8133
7909
|
_disabled: {
|
@@ -8451,13 +8227,17 @@ var infoTagSlotRecipe = defineSlotRecipe({
|
|
8451
8227
|
},
|
8452
8228
|
variants: {
|
8453
8229
|
variant: {
|
8454
|
-
walk: {
|
8455
|
-
|
8456
|
-
|
8457
|
-
|
8458
|
-
|
8459
|
-
|
8460
|
-
}
|
8230
|
+
walk: {},
|
8231
|
+
ferry: {},
|
8232
|
+
subway: {},
|
8233
|
+
tram: {},
|
8234
|
+
"local-train": {},
|
8235
|
+
"region-train": {},
|
8236
|
+
"region-express-train": {},
|
8237
|
+
"long-distance-train": {},
|
8238
|
+
"airport-express-train": {},
|
8239
|
+
"vy-bus": {},
|
8240
|
+
"local-bus": {}
|
8461
8241
|
},
|
8462
8242
|
size: {
|
8463
8243
|
...(_a4 = travelTagSlotRecipe.variants) == null ? void 0 : _a4.size,
|
@@ -8870,13 +8650,12 @@ var paginationSlotRecipe = defineSlotRecipe({
|
|
8870
8650
|
width: "5",
|
8871
8651
|
fontSize: "xs",
|
8872
8652
|
borderRadius: "xl",
|
8873
|
-
|
8653
|
+
color: "core.text",
|
8874
8654
|
cursor: "pointer",
|
8875
|
-
...coreBackground("default"),
|
8876
8655
|
_hover: {
|
8877
|
-
|
8656
|
+
background: "ghost.surface.hover",
|
8878
8657
|
_active: {
|
8879
|
-
|
8658
|
+
background: "ghost.surface.active"
|
8880
8659
|
}
|
8881
8660
|
},
|
8882
8661
|
_selected: {
|
@@ -9132,26 +8911,26 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
9132
8911
|
core: {
|
9133
8912
|
item: {
|
9134
8913
|
outlineColor: "core.outline",
|
9135
|
-
outlineWidth:
|
8914
|
+
outlineWidth: tokens23__default.size.stroke.sm,
|
9136
8915
|
outlineStyle: "solid",
|
9137
8916
|
backgroundColor: "core.surface",
|
9138
8917
|
_hover: {
|
9139
8918
|
outlineColor: "core.outline.hover",
|
9140
|
-
outlineWidth:
|
8919
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
9141
8920
|
outlineStyle: "solid",
|
9142
8921
|
_active: {
|
9143
8922
|
backgroundColor: "core.surface.active",
|
9144
|
-
outlineWidth:
|
8923
|
+
outlineWidth: tokens23__default.size.stroke.sm
|
9145
8924
|
}
|
9146
8925
|
},
|
9147
8926
|
_checked: {
|
9148
8927
|
outlineColor: "outline.focus",
|
9149
|
-
outlineWidth:
|
8928
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
9150
8929
|
outlineStyle: "solid",
|
9151
8930
|
backgroundColor: "core.surface.active",
|
9152
8931
|
_focusVisible: {
|
9153
8932
|
outlineStyle: "double",
|
9154
|
-
outlineWidth: `calc(3 * ${
|
8933
|
+
outlineWidth: `calc(3 * ${tokens23__default.size.stroke.md})`
|
9155
8934
|
// space for double outline
|
9156
8935
|
}
|
9157
8936
|
}
|
@@ -9176,12 +8955,12 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
9176
8955
|
},
|
9177
8956
|
_checked: {
|
9178
8957
|
outlineColor: "outline.focus",
|
9179
|
-
outlineWidth:
|
8958
|
+
outlineWidth: tokens23__default.size.stroke.md,
|
9180
8959
|
outlineStyle: "solid",
|
9181
8960
|
backgroundColor: "core.surface.active",
|
9182
8961
|
_focusVisible: {
|
9183
8962
|
outlineStyle: "double",
|
9184
|
-
outlineWidth: `calc(3 * ${
|
8963
|
+
outlineWidth: `calc(3 * ${tokens23__default.size.stroke.md})`
|
9185
8964
|
// space for double outline
|
9186
8965
|
}
|
9187
8966
|
}
|
@@ -9437,46 +9216,6 @@ var selectSlotRecipe = defineSlotRecipe({
|
|
9437
9216
|
}
|
9438
9217
|
}
|
9439
9218
|
});
|
9440
|
-
|
9441
|
-
// src/theme/utils/accent-utils.ts
|
9442
|
-
function accentBackground(state) {
|
9443
|
-
switch (state) {
|
9444
|
-
case "selected": {
|
9445
|
-
return brandBackground("default");
|
9446
|
-
}
|
9447
|
-
case "active": {
|
9448
|
-
return {
|
9449
|
-
backgroundColor: "accent.surface.active"
|
9450
|
-
};
|
9451
|
-
}
|
9452
|
-
case "hover": {
|
9453
|
-
return {
|
9454
|
-
backgroundColor: "accent.surface.hover"
|
9455
|
-
};
|
9456
|
-
}
|
9457
|
-
default: {
|
9458
|
-
return {
|
9459
|
-
backgroundColor: "accent.surface"
|
9460
|
-
};
|
9461
|
-
}
|
9462
|
-
}
|
9463
|
-
}
|
9464
|
-
function accentText(state) {
|
9465
|
-
switch (state) {
|
9466
|
-
case "selected": {
|
9467
|
-
return {
|
9468
|
-
color: "brand.text"
|
9469
|
-
};
|
9470
|
-
}
|
9471
|
-
default: {
|
9472
|
-
return {
|
9473
|
-
color: "accent.text"
|
9474
|
-
};
|
9475
|
-
}
|
9476
|
-
}
|
9477
|
-
}
|
9478
|
-
|
9479
|
-
// src/theme/slot-recipes/stepper.ts
|
9480
9219
|
var stepperSlotRecipe = defineSlotRecipe({
|
9481
9220
|
slots: stepperAnatomy.keys(),
|
9482
9221
|
className: "spor-stepper",
|
@@ -9542,13 +9281,13 @@ var stepperSlotRecipe = defineSlotRecipe({
|
|
9542
9281
|
_dark: "whiteAlpha.900"
|
9543
9282
|
},
|
9544
9283
|
_disabled: {
|
9545
|
-
color:
|
9284
|
+
color: "core.text"
|
9546
9285
|
},
|
9547
9286
|
_currentStep: {
|
9548
|
-
color:
|
9287
|
+
color: "accent.text"
|
9549
9288
|
},
|
9550
9289
|
_hover: {
|
9551
|
-
backgroundColor:
|
9290
|
+
backgroundColor: "accent.surface.hover",
|
9552
9291
|
_disabled: {
|
9553
9292
|
backgroundColor: "transparent"
|
9554
9293
|
}
|
@@ -9556,7 +9295,7 @@ var stepperSlotRecipe = defineSlotRecipe({
|
|
9556
9295
|
},
|
9557
9296
|
backButton: {
|
9558
9297
|
_hover: {
|
9559
|
-
|
9298
|
+
backgroundColor: "brand.surface.hover"
|
9560
9299
|
}
|
9561
9300
|
}
|
9562
9301
|
}
|
@@ -9646,7 +9385,7 @@ var switchSlotRecipe = defineSlotRecipe({
|
|
9646
9385
|
backgroundColor: "brand.surface",
|
9647
9386
|
_focusVisible: {
|
9648
9387
|
outlineStyle: "double",
|
9649
|
-
outlineWidth: `calc(3 * ${
|
9388
|
+
outlineWidth: `calc(3 * ${tokens23__default.size.stroke.md})`
|
9650
9389
|
// space for double outline
|
9651
9390
|
}
|
9652
9391
|
},
|
@@ -10022,22 +9761,22 @@ var borders = defineTokens.borders({
|
|
10022
9761
|
value: "0"
|
10023
9762
|
},
|
10024
9763
|
sm: {
|
10025
|
-
value: `${
|
9764
|
+
value: `${tokens23__default.size.stroke.sm} solid`
|
10026
9765
|
},
|
10027
9766
|
"sm-dashed": {
|
10028
|
-
value: `${
|
9767
|
+
value: `${tokens23__default.size.stroke.sm} dashed`
|
10029
9768
|
},
|
10030
9769
|
md: {
|
10031
|
-
value: `${
|
9770
|
+
value: `${tokens23__default.size.stroke.md} solid`
|
10032
9771
|
},
|
10033
9772
|
"md-dashed": {
|
10034
|
-
value: `${
|
9773
|
+
value: `${tokens23__default.size.stroke.md} dashed`
|
10035
9774
|
},
|
10036
9775
|
lg: {
|
10037
|
-
value: `${
|
9776
|
+
value: `${tokens23__default.size.stroke.lg} solid`
|
10038
9777
|
},
|
10039
9778
|
"lg-dashed": {
|
10040
|
-
value: `${
|
9779
|
+
value: `${tokens23__default.size.stroke.lg} dashed`
|
10041
9780
|
}
|
10042
9781
|
});
|
10043
9782
|
var colors = defineTokens.colors({
|
@@ -10109,29 +9848,29 @@ var easings = defineTokens.easings({
|
|
10109
9848
|
}
|
10110
9849
|
});
|
10111
9850
|
var fontSizes = defineTokens.fontSizes({
|
10112
|
-
"2xs": { value:
|
10113
|
-
xs: { value:
|
10114
|
-
sm: { value:
|
10115
|
-
md: { value:
|
10116
|
-
lg: { value:
|
10117
|
-
xl: { value:
|
10118
|
-
"2xl": { value:
|
10119
|
-
"3xl": { value:
|
9851
|
+
"2xs": { value: tokens23__default.size.font.xs.mobile },
|
9852
|
+
xs: { value: tokens23__default.size.font.sm.mobile },
|
9853
|
+
sm: { value: tokens23__default.size.font.md.mobile },
|
9854
|
+
md: { value: tokens23__default.size.font.lg.mobile },
|
9855
|
+
lg: { value: tokens23__default.size.font.xl.mobile },
|
9856
|
+
xl: { value: tokens23__default.size.font.xxl.mobile },
|
9857
|
+
"2xl": { value: tokens23__default.size.font.xl.desktop },
|
9858
|
+
"3xl": { value: tokens23__default.size.font.xxl.desktop },
|
10120
9859
|
mobile: {
|
10121
|
-
xs: { value:
|
10122
|
-
sm: { value:
|
10123
|
-
md: { value:
|
10124
|
-
lg: { value:
|
10125
|
-
xl: { value:
|
10126
|
-
xxl: { value:
|
9860
|
+
xs: { value: tokens23__default.size.font.xs.mobile },
|
9861
|
+
sm: { value: tokens23__default.size.font.sm.mobile },
|
9862
|
+
md: { value: tokens23__default.size.font.md.mobile },
|
9863
|
+
lg: { value: tokens23__default.size.font.lg.mobile },
|
9864
|
+
xl: { value: tokens23__default.size.font.xl.mobile },
|
9865
|
+
xxl: { value: tokens23__default.size.font.xxl.mobile }
|
10127
9866
|
},
|
10128
9867
|
desktop: {
|
10129
|
-
xs: { value:
|
10130
|
-
sm: { value:
|
10131
|
-
md: { value:
|
10132
|
-
lg: { value:
|
10133
|
-
xl: { value:
|
10134
|
-
xxl: { value:
|
9868
|
+
xs: { value: tokens23__default.size.font.xs.desktop },
|
9869
|
+
sm: { value: tokens23__default.size.font.sm.desktop },
|
9870
|
+
md: { value: tokens23__default.size.font.md.desktop },
|
9871
|
+
lg: { value: tokens23__default.size.font.lg.desktop },
|
9872
|
+
xl: { value: tokens23__default.size.font.xl.desktop },
|
9873
|
+
xxl: { value: tokens23__default.size.font.xxl.desktop }
|
10135
9874
|
}
|
10136
9875
|
});
|
10137
9876
|
var fontWeights = defineTokens.fontWeights({
|
@@ -10164,9 +9903,9 @@ var fontWeights = defineTokens.fontWeights({
|
|
10164
9903
|
}
|
10165
9904
|
});
|
10166
9905
|
var fonts = defineTokens.fonts({
|
10167
|
-
body: { value: `${
|
10168
|
-
heading: { value: `${
|
10169
|
-
mono: { value: `${
|
9906
|
+
body: { value: `${tokens23__default.font.family.body}, arial, sans-serif` },
|
9907
|
+
heading: { value: `${tokens23__default.font.family.heading}, arial, sans-serif` },
|
9908
|
+
mono: { value: `${tokens23__default.font.family.monospace}, monospace` }
|
10170
9909
|
});
|
10171
9910
|
var letterSpacings = defineTokens.letterSpacings({
|
10172
9911
|
tighter: {
|
@@ -10203,31 +9942,31 @@ var lineHeights = defineTokens.lineHeights({
|
|
10203
9942
|
}
|
10204
9943
|
});
|
10205
9944
|
var radii2 = defineTokens.radii({
|
10206
|
-
none: { value:
|
10207
|
-
xs: { value:
|
10208
|
-
sm: { value:
|
10209
|
-
md: { value:
|
10210
|
-
lg: { value:
|
10211
|
-
xl: { value:
|
10212
|
-
"2xl": { value:
|
9945
|
+
none: { value: tokens23__default.size["border-radius"].none },
|
9946
|
+
xs: { value: tokens23__default.size["border-radius"].xs },
|
9947
|
+
sm: { value: tokens23__default.size["border-radius"].sm },
|
9948
|
+
md: { value: tokens23__default.size["border-radius"].md },
|
9949
|
+
lg: { value: tokens23__default.size["border-radius"].lg },
|
9950
|
+
xl: { value: tokens23__default.size["border-radius"].xl },
|
9951
|
+
"2xl": { value: tokens23__default.size["border-radius"]["2xl"] },
|
10213
9952
|
round: { value: "50%" }
|
10214
9953
|
});
|
10215
9954
|
var spacing = defineTokens.spacing({
|
10216
|
-
0: { value:
|
10217
|
-
0.5: { value:
|
10218
|
-
1: { value:
|
10219
|
-
1.5: { value:
|
10220
|
-
2: { value:
|
10221
|
-
3: { value:
|
10222
|
-
4: { value:
|
10223
|
-
5: { value:
|
10224
|
-
6: { value:
|
10225
|
-
7: { value:
|
10226
|
-
8: { value:
|
10227
|
-
9: { value:
|
10228
|
-
10: { value:
|
10229
|
-
11: { value:
|
10230
|
-
12: { value:
|
9955
|
+
0: { value: tokens23__default.size.spacing["0"] },
|
9956
|
+
0.5: { value: tokens23__default.size.spacing["0.5"] },
|
9957
|
+
1: { value: tokens23__default.size.spacing["1"] },
|
9958
|
+
1.5: { value: tokens23__default.size.spacing["1.5"] },
|
9959
|
+
2: { value: tokens23__default.size.spacing["2"] },
|
9960
|
+
3: { value: tokens23__default.size.spacing["3"] },
|
9961
|
+
4: { value: tokens23__default.size.spacing["4"] },
|
9962
|
+
5: { value: tokens23__default.size.spacing["5"] },
|
9963
|
+
6: { value: tokens23__default.size.spacing["6"] },
|
9964
|
+
7: { value: tokens23__default.size.spacing["7"] },
|
9965
|
+
8: { value: tokens23__default.size.spacing["8"] },
|
9966
|
+
9: { value: tokens23__default.size.spacing["9"] },
|
9967
|
+
10: { value: tokens23__default.size.spacing["10"] },
|
9968
|
+
11: { value: tokens23__default.size.spacing["11"] },
|
9969
|
+
12: { value: tokens23__default.size.spacing["12"] }
|
10231
9970
|
});
|
10232
9971
|
|
10233
9972
|
// src/theme/tokens/sizes.ts
|
@@ -10264,10 +10003,10 @@ var namedSizes = defineTokens.sizes({
|
|
10264
10003
|
});
|
10265
10004
|
var container = defineTokens.sizes({
|
10266
10005
|
base: { value: 0 },
|
10267
|
-
sm: { value:
|
10268
|
-
md: { value:
|
10269
|
-
lg: { value:
|
10270
|
-
xl: { value:
|
10006
|
+
sm: { value: tokens23__default.size.breakpoint.sm },
|
10007
|
+
md: { value: tokens23__default.size.breakpoint.md },
|
10008
|
+
lg: { value: tokens23__default.size.breakpoint.lg },
|
10009
|
+
xl: { value: tokens23__default.size.breakpoint.xl }
|
10271
10010
|
});
|
10272
10011
|
var sizes = {
|
10273
10012
|
...largeSizes,
|
@@ -10276,22 +10015,22 @@ var sizes = {
|
|
10276
10015
|
container
|
10277
10016
|
};
|
10278
10017
|
var zIndex = defineTokens.zIndex({
|
10279
|
-
hide: { value:
|
10018
|
+
hide: { value: tokens23__default.depth["z-index"].hide },
|
10280
10019
|
auto: { value: "auto" },
|
10281
|
-
base: { value:
|
10282
|
-
docked: { value:
|
10283
|
-
dropdown: { value:
|
10284
|
-
sticky: { value:
|
10285
|
-
banner: { value:
|
10286
|
-
overlay: { value:
|
10287
|
-
modal: { value:
|
10288
|
-
popover: { value:
|
10289
|
-
skipLink: { value:
|
10290
|
-
toast: { value:
|
10020
|
+
base: { value: tokens23__default.depth["z-index"].base },
|
10021
|
+
docked: { value: tokens23__default.depth["z-index"].docked },
|
10022
|
+
dropdown: { value: tokens23__default.depth["z-index"].dropdown },
|
10023
|
+
sticky: { value: tokens23__default.depth["z-index"].sticky },
|
10024
|
+
banner: { value: tokens23__default.depth["z-index"].banner },
|
10025
|
+
overlay: { value: tokens23__default.depth["z-index"].overlay },
|
10026
|
+
modal: { value: tokens23__default.depth["z-index"].modal },
|
10027
|
+
popover: { value: tokens23__default.depth["z-index"].popover },
|
10028
|
+
skipLink: { value: tokens23__default.depth["z-index"].skipLink },
|
10029
|
+
toast: { value: tokens23__default.depth["z-index"].toast }
|
10291
10030
|
});
|
10292
10031
|
|
10293
10032
|
// src/theme/tokens/index.ts
|
10294
|
-
var
|
10033
|
+
var tokens21 = {
|
10295
10034
|
aspectRatios,
|
10296
10035
|
animations,
|
10297
10036
|
blurs,
|
@@ -10360,10 +10099,10 @@ var animationStyles = defineAnimationStyles({
|
|
10360
10099
|
});
|
10361
10100
|
var breakpoints = {
|
10362
10101
|
base: "0px",
|
10363
|
-
sm:
|
10364
|
-
md:
|
10365
|
-
lg:
|
10366
|
-
xl:
|
10102
|
+
sm: tokens23__default.size.breakpoint.sm,
|
10103
|
+
md: tokens23__default.size.breakpoint.md,
|
10104
|
+
lg: tokens23__default.size.breakpoint.lg,
|
10105
|
+
xl: tokens23__default.size.breakpoint.xl
|
10367
10106
|
};
|
10368
10107
|
|
10369
10108
|
// src/theme/tokens/config.ts
|
@@ -10653,85 +10392,85 @@ var textStyles = defineTextStyles({
|
|
10653
10392
|
xxl: {
|
10654
10393
|
value: {
|
10655
10394
|
fontSize: [
|
10656
|
-
|
10395
|
+
tokens23__default.font.style.xxl["font-size"].mobile,
|
10657
10396
|
null,
|
10658
10397
|
null,
|
10659
|
-
|
10398
|
+
tokens23__default.font.style.xxl["font-size"].desktop
|
10660
10399
|
],
|
10661
|
-
fontFamily:
|
10662
|
-
lineHeight:
|
10400
|
+
fontFamily: tokens23__default.font.style.xxl["font-family"],
|
10401
|
+
lineHeight: tokens23__default.font.style.xxl["line-height"]
|
10663
10402
|
}
|
10664
10403
|
},
|
10665
10404
|
"xl-display": {
|
10666
10405
|
value: {
|
10667
10406
|
fontSize: [
|
10668
|
-
|
10407
|
+
tokens23__default.font.style["xl-display"]["font-size"].mobile,
|
10669
10408
|
null,
|
10670
10409
|
null,
|
10671
|
-
|
10410
|
+
tokens23__default.font.style["xl-display"]["font-size"].desktop
|
10672
10411
|
],
|
10673
|
-
fontFamily:
|
10674
|
-
lineHeight:
|
10412
|
+
fontFamily: tokens23__default.font.style["xl-display"]["font-family"],
|
10413
|
+
lineHeight: tokens23__default.font.style["xl-display"]["line-height"]
|
10675
10414
|
}
|
10676
10415
|
},
|
10677
10416
|
"xl-sans": {
|
10678
10417
|
value: {
|
10679
10418
|
fontSize: [
|
10680
|
-
|
10419
|
+
tokens23__default.font.style["xl-sans"]["font-size"].mobile,
|
10681
10420
|
null,
|
10682
10421
|
null,
|
10683
|
-
|
10422
|
+
tokens23__default.font.style["xl-sans"]["font-size"].desktop
|
10684
10423
|
],
|
10685
|
-
fontFamily:
|
10686
|
-
lineHeight:
|
10424
|
+
fontFamily: tokens23__default.font.style["xl-sans"]["font-family"],
|
10425
|
+
lineHeight: tokens23__default.font.style["xl-sans"]["line-height"]
|
10687
10426
|
}
|
10688
10427
|
},
|
10689
10428
|
lg: {
|
10690
10429
|
value: {
|
10691
10430
|
fontSize: [
|
10692
|
-
|
10431
|
+
tokens23__default.font.style.lg["font-size"].mobile,
|
10693
10432
|
null,
|
10694
10433
|
null,
|
10695
|
-
|
10434
|
+
tokens23__default.font.style.lg["font-size"].desktop
|
10696
10435
|
],
|
10697
|
-
fontFamily:
|
10698
|
-
lineHeight:
|
10436
|
+
fontFamily: tokens23__default.font.style.lg["font-family"],
|
10437
|
+
lineHeight: tokens23__default.font.style.lg["line-height"]
|
10699
10438
|
}
|
10700
10439
|
},
|
10701
10440
|
md: {
|
10702
10441
|
value: {
|
10703
10442
|
fontSize: [
|
10704
|
-
|
10443
|
+
tokens23__default.font.style.md["font-size"].mobile,
|
10705
10444
|
null,
|
10706
10445
|
null,
|
10707
|
-
|
10446
|
+
tokens23__default.font.style.md["font-size"].desktop
|
10708
10447
|
],
|
10709
|
-
fontFamily:
|
10710
|
-
lineHeight:
|
10448
|
+
fontFamily: tokens23__default.font.style.md["font-family"],
|
10449
|
+
lineHeight: tokens23__default.font.style.md["line-height"]
|
10711
10450
|
}
|
10712
10451
|
},
|
10713
10452
|
sm: {
|
10714
10453
|
value: {
|
10715
10454
|
fontSize: [
|
10716
|
-
|
10455
|
+
tokens23__default.font.style.sm["font-size"].mobile,
|
10717
10456
|
null,
|
10718
10457
|
null,
|
10719
|
-
|
10458
|
+
tokens23__default.font.style.sm["font-size"].desktop
|
10720
10459
|
],
|
10721
|
-
fontFamily:
|
10722
|
-
lineHeight:
|
10460
|
+
fontFamily: tokens23__default.font.style.sm["font-family"],
|
10461
|
+
lineHeight: tokens23__default.font.style.sm["line-height"]
|
10723
10462
|
}
|
10724
10463
|
},
|
10725
10464
|
xs: {
|
10726
10465
|
value: {
|
10727
10466
|
fontSize: [
|
10728
|
-
|
10467
|
+
tokens23__default.font.style.xs["font-size"].mobile,
|
10729
10468
|
null,
|
10730
10469
|
null,
|
10731
|
-
|
10470
|
+
tokens23__default.font.style.xs["font-size"].desktop
|
10732
10471
|
],
|
10733
|
-
fontFamily:
|
10734
|
-
lineHeight:
|
10472
|
+
fontFamily: tokens23__default.font.style.xs["font-family"],
|
10473
|
+
lineHeight: tokens23__default.font.style.xs["line-height"]
|
10735
10474
|
}
|
10736
10475
|
}
|
10737
10476
|
});
|
@@ -10742,7 +10481,7 @@ var generateTheme = (brand) => {
|
|
10742
10481
|
theme: {
|
10743
10482
|
breakpoints,
|
10744
10483
|
keyframes,
|
10745
|
-
tokens:
|
10484
|
+
tokens: tokens21,
|
10746
10485
|
semanticTokens: semanticTokens[brand],
|
10747
10486
|
recipes,
|
10748
10487
|
slotRecipes,
|