@vygruppen/spor-react 13.4.0 → 13.4.2
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 +3 -4
- package/CHANGELOG.md +16 -0
- package/__tests__/accordion.test.tsx +110 -0
- package/dist/index.cjs +204 -244
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +139 -58
- package/dist/index.d.ts +139 -58
- package/dist/index.mjs +204 -244
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dialog/Dialog.tsx +3 -1
- package/src/input/AttachedInputs.tsx +24 -11
- package/src/linjetag/InfoTag.tsx +4 -2
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/linjetag/TravelTag.tsx +4 -4
- package/src/linjetag/types.ts +4 -0
- package/src/theme/slot-recipes/breadcrumb.ts +3 -6
- package/src/theme/slot-recipes/travel-tag.ts +15 -58
- package/src/typography/Badge.tsx +9 -1
package/dist/index.mjs
CHANGED
|
@@ -19,9 +19,9 @@ import { LuMoon, LuSun } from 'react-icons/lu';
|
|
|
19
19
|
import { useSwipeable } from 'react-swipeable';
|
|
20
20
|
import { getSupportedCallingCodes } from 'awesome-phonenumber';
|
|
21
21
|
import { Global } from '@emotion/react';
|
|
22
|
-
import
|
|
23
|
-
import * as
|
|
24
|
-
export {
|
|
22
|
+
import tokens21__default from '@vygruppen/spor-design-tokens';
|
|
23
|
+
import * as tokens21 from '@vygruppen/spor-design-tokens';
|
|
24
|
+
export { tokens21 as tokens };
|
|
25
25
|
import tokens4 from '@vygruppen/spor-design-tokens/raw-tokens';
|
|
26
26
|
import { comboboxAnatomy as comboboxAnatomy$1 } from '@ark-ui/react';
|
|
27
27
|
import { createAnatomy } from '@ark-ui/react/anatomy';
|
|
@@ -3064,11 +3064,12 @@ var DialogContent = ({
|
|
|
3064
3064
|
portalled = true,
|
|
3065
3065
|
portalRef,
|
|
3066
3066
|
backdrop = true,
|
|
3067
|
+
positionerProps,
|
|
3067
3068
|
...rest
|
|
3068
3069
|
} = props;
|
|
3069
3070
|
return /* @__PURE__ */ jsxs(Portal, { disabled: !portalled, container: portalRef, children: [
|
|
3070
3071
|
backdrop && /* @__PURE__ */ jsx(Dialog.Backdrop, {}),
|
|
3071
|
-
/* @__PURE__ */ jsx(Dialog.Positioner, { children: /* @__PURE__ */ jsx(Dialog.Content, { ref, ...rest, asChild: false, children }) })
|
|
3072
|
+
/* @__PURE__ */ jsx(Dialog.Positioner, { ...positionerProps, children: /* @__PURE__ */ jsx(Dialog.Content, { ref, ...rest, asChild: false, children }) })
|
|
3072
3073
|
] });
|
|
3073
3074
|
};
|
|
3074
3075
|
var DialogCloseTrigger = function DialogCloseTrigger2({
|
|
@@ -3344,6 +3345,7 @@ var ErrorSummaryItem = ({
|
|
|
3344
3345
|
};
|
|
3345
3346
|
var AttachedInputs = ({
|
|
3346
3347
|
ref,
|
|
3348
|
+
flipButtonProps,
|
|
3347
3349
|
...props
|
|
3348
3350
|
}) => {
|
|
3349
3351
|
const recipe = useRecipe({ key: "attachedInputs" });
|
|
@@ -3372,7 +3374,11 @@ var AttachedInputs = ({
|
|
|
3372
3374
|
variant: "tertiary",
|
|
3373
3375
|
size: ["xs", null, "sm"],
|
|
3374
3376
|
"aria-label": flipAriaLabel,
|
|
3375
|
-
onClick: onFlip
|
|
3377
|
+
onClick: onFlip,
|
|
3378
|
+
position: "absolute",
|
|
3379
|
+
bg: "bg",
|
|
3380
|
+
outlineWidth: "1px",
|
|
3381
|
+
...flipButtonProps
|
|
3376
3382
|
}
|
|
3377
3383
|
)
|
|
3378
3384
|
] });
|
|
@@ -3381,23 +3387,20 @@ var SwitchButton = chakra(
|
|
|
3381
3387
|
IconButton,
|
|
3382
3388
|
defineRecipe({
|
|
3383
3389
|
base: {
|
|
3384
|
-
|
|
3385
|
-
zIndex: "101 !important",
|
|
3386
|
-
// eslint-disable-next-line spor/use-semantic-tokens
|
|
3387
|
-
bg: "bg !important",
|
|
3388
|
-
outlineWidth: "1px !important",
|
|
3390
|
+
zIndex: "101",
|
|
3389
3391
|
_focus: {
|
|
3390
|
-
outlineOffset: "0px
|
|
3392
|
+
outlineOffset: "0px",
|
|
3393
|
+
alignItems: "center"
|
|
3391
3394
|
}
|
|
3392
3395
|
},
|
|
3393
3396
|
variants: {
|
|
3394
3397
|
orientation: {
|
|
3395
3398
|
horizontal: {
|
|
3396
|
-
top: "calc(50% -
|
|
3397
|
-
right: "calc(50% -
|
|
3399
|
+
top: "calc(50% - 1.1rem)",
|
|
3400
|
+
right: "calc(50% - 1.1rem)"
|
|
3398
3401
|
},
|
|
3399
3402
|
vertical: {
|
|
3400
|
-
top: "calc(50% -
|
|
3403
|
+
top: "calc(50% - 1.1rem)",
|
|
3401
3404
|
right: "3rem",
|
|
3402
3405
|
transform: "rotate(90deg)"
|
|
3403
3406
|
}
|
|
@@ -5389,7 +5392,7 @@ var LineIcon = function LineIcon2({
|
|
|
5389
5392
|
borderColor: variant === "walk" ? "outline.core" : "transparent",
|
|
5390
5393
|
"aria-label": label,
|
|
5391
5394
|
ref,
|
|
5392
|
-
className: clsx_default("light", rest.className),
|
|
5395
|
+
className: variant === "walk" ? void 0 : clsx_default("light", rest.className),
|
|
5393
5396
|
children: /* @__PURE__ */ jsx(LinjeTagIcon, { size, css: styles.icon, variant: getIconVariant() })
|
|
5394
5397
|
}
|
|
5395
5398
|
);
|
|
@@ -5399,6 +5402,8 @@ var InfoTag = ({
|
|
|
5399
5402
|
size = "md",
|
|
5400
5403
|
title,
|
|
5401
5404
|
description,
|
|
5405
|
+
descriptionProps,
|
|
5406
|
+
titleProps,
|
|
5402
5407
|
...customProps
|
|
5403
5408
|
}) => {
|
|
5404
5409
|
const recipe = useSlotRecipe({ key: "infoTag" });
|
|
@@ -5417,9 +5422,9 @@ var InfoTag = ({
|
|
|
5417
5422
|
}
|
|
5418
5423
|
),
|
|
5419
5424
|
/* @__PURE__ */ jsxs(Box, { css: styles.textContainer, children: [
|
|
5420
|
-
title && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.title, children: title }),
|
|
5425
|
+
title && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.title, ...titleProps, children: title }),
|
|
5421
5426
|
title && description && " ",
|
|
5422
|
-
description && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.description, children: description })
|
|
5427
|
+
description && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.description, ...descriptionProps, children: description })
|
|
5423
5428
|
] })
|
|
5424
5429
|
] });
|
|
5425
5430
|
};
|
|
@@ -5451,6 +5456,8 @@ var TravelTag = function TravelTag2({
|
|
|
5451
5456
|
foregroundColor,
|
|
5452
5457
|
backgroundColor,
|
|
5453
5458
|
customIconVariant,
|
|
5459
|
+
descriptionProps,
|
|
5460
|
+
titleProps,
|
|
5454
5461
|
...rest
|
|
5455
5462
|
}) {
|
|
5456
5463
|
const recipie = useSlotRecipe({ key: "travelTag" });
|
|
@@ -5465,7 +5472,6 @@ var TravelTag = function TravelTag2({
|
|
|
5465
5472
|
css: styles.container,
|
|
5466
5473
|
"aria-disabled": disabled,
|
|
5467
5474
|
ref,
|
|
5468
|
-
className: clsx_default("light", rest.className),
|
|
5469
5475
|
backgroundColor,
|
|
5470
5476
|
...rest,
|
|
5471
5477
|
children: [
|
|
@@ -5483,9 +5489,9 @@ var TravelTag = function TravelTag2({
|
|
|
5483
5489
|
}
|
|
5484
5490
|
),
|
|
5485
5491
|
/* @__PURE__ */ jsxs(Box, { css: styles.textContainer, children: [
|
|
5486
|
-
title && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.title, children: title }),
|
|
5492
|
+
title && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.title, ...titleProps, children: title }),
|
|
5487
5493
|
title && description && " ",
|
|
5488
|
-
description && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.description, children: description })
|
|
5494
|
+
description && /* @__PURE__ */ jsx(Box, { as: "span", css: styles.description, ...descriptionProps, children: description })
|
|
5489
5495
|
] }),
|
|
5490
5496
|
renderDeviationLevelIcon(deviationLevel, size, styles.deviationIcon)
|
|
5491
5497
|
]
|
|
@@ -6546,7 +6552,7 @@ var texts26 = createTexts({
|
|
|
6546
6552
|
});
|
|
6547
6553
|
var fontFaces = `
|
|
6548
6554
|
@font-face {
|
|
6549
|
-
font-family: ${
|
|
6555
|
+
font-family: ${tokens21__default.asset.font["vy-sans"]["light"].name};
|
|
6550
6556
|
src: url("https://www.vy.no/styles/font/VySans-Light.woff2") format("woff2"),
|
|
6551
6557
|
url("https://www.vy.no/styles/font/VySans-Light.woff") format("woff");
|
|
6552
6558
|
font-style: normal;
|
|
@@ -6554,7 +6560,7 @@ var fontFaces = `
|
|
|
6554
6560
|
font-display: swap
|
|
6555
6561
|
}
|
|
6556
6562
|
@font-face {
|
|
6557
|
-
font-family: ${
|
|
6563
|
+
font-family: ${tokens21__default.asset.font["vy-sans"]["light-italic"].name};
|
|
6558
6564
|
src: url("https://www.vy.no/styles/font/VySans-LightItalic.woff2")
|
|
6559
6565
|
format("woff2"),
|
|
6560
6566
|
url("https://www.vy.no/styles/font/VySans-LightItalic.woff") format("woff");
|
|
@@ -6563,7 +6569,7 @@ var fontFaces = `
|
|
|
6563
6569
|
font-display: swap
|
|
6564
6570
|
}
|
|
6565
6571
|
@font-face {
|
|
6566
|
-
font-family: ${
|
|
6572
|
+
font-family: ${tokens21__default.asset.font["vy-sans"]["medium"].name};
|
|
6567
6573
|
src: url("https://www.vy.no/styles/font/VySans-Regular.woff2") format("woff2"),
|
|
6568
6574
|
url("https://www.vy.no/styles/font/VySans-Regular.woff") format("woff");
|
|
6569
6575
|
font-style: normal;
|
|
@@ -6571,7 +6577,7 @@ var fontFaces = `
|
|
|
6571
6577
|
font-display: swap
|
|
6572
6578
|
}
|
|
6573
6579
|
@font-face {
|
|
6574
|
-
font-family: ${
|
|
6580
|
+
font-family: ${tokens21__default.asset.font["vy-sans"]["medium-italic"].name};
|
|
6575
6581
|
src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
|
|
6576
6582
|
format("woff2"),
|
|
6577
6583
|
url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
|
|
@@ -6581,7 +6587,7 @@ var fontFaces = `
|
|
|
6581
6587
|
font-display: swap
|
|
6582
6588
|
}
|
|
6583
6589
|
@font-face {
|
|
6584
|
-
font-family: ${
|
|
6590
|
+
font-family: ${tokens21__default.asset.font["vy-sans"]["bold"].name};
|
|
6585
6591
|
src: url("https://www.vy.no/styles/font/VySans-Bold.woff2") format("woff2"),
|
|
6586
6592
|
url("https://www.vy.no/styles/font/VySans-Bold.woff") format("woff");
|
|
6587
6593
|
font-style: normal;
|
|
@@ -6589,7 +6595,7 @@ var fontFaces = `
|
|
|
6589
6595
|
font-display: swap
|
|
6590
6596
|
}
|
|
6591
6597
|
@font-face {
|
|
6592
|
-
font-family: ${
|
|
6598
|
+
font-family: ${tokens21__default.asset.font["vy-sans"]["bold-italic"].name};
|
|
6593
6599
|
src: url("https://www.vy.no/styles/font/VySans-BoldItalic.woff2")
|
|
6594
6600
|
format("woff2"),
|
|
6595
6601
|
url("https://www.vy.no/styles/font/VySans-BoldItalic.woff") format("woff");
|
|
@@ -6598,7 +6604,7 @@ var fontFaces = `
|
|
|
6598
6604
|
font-display: swap
|
|
6599
6605
|
}
|
|
6600
6606
|
@font-face {
|
|
6601
|
-
font-family: ${
|
|
6607
|
+
font-family: ${tokens21__default.asset.font["vy-display"].name};
|
|
6602
6608
|
src: url("https://www.vy.no/styles/font/VyDisplay-Medium.woff2")
|
|
6603
6609
|
format("woff2"),
|
|
6604
6610
|
url("https://www.vy.no/styles/font/VyDisplay-Medium.woff") format("woff");
|
|
@@ -7098,7 +7104,7 @@ var buttonRecipe = defineRecipe({
|
|
|
7098
7104
|
background: "surface.disabled"
|
|
7099
7105
|
},
|
|
7100
7106
|
_focus: {
|
|
7101
|
-
outlineOffset:
|
|
7107
|
+
outlineOffset: tokens21__default.size.stroke.md
|
|
7102
7108
|
}
|
|
7103
7109
|
},
|
|
7104
7110
|
variants: {
|
|
@@ -7129,19 +7135,19 @@ var buttonRecipe = defineRecipe({
|
|
|
7129
7135
|
color: "text.core",
|
|
7130
7136
|
outline: "solid",
|
|
7131
7137
|
fontWeight: "normal",
|
|
7132
|
-
outlineWidth:
|
|
7138
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
7133
7139
|
outlineColor: "outline.core",
|
|
7134
7140
|
_hover: {
|
|
7135
|
-
outlineWidth:
|
|
7141
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
7136
7142
|
outlineColor: "outline.core.hover",
|
|
7137
7143
|
_active: {
|
|
7138
7144
|
background: "surface.core.active",
|
|
7139
|
-
outlineWidth:
|
|
7145
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
7140
7146
|
outlineColor: "outline.core"
|
|
7141
7147
|
}
|
|
7142
7148
|
},
|
|
7143
7149
|
_focus: {
|
|
7144
|
-
outlineWidth:
|
|
7150
|
+
outlineWidth: tokens21__default.size.stroke.sm
|
|
7145
7151
|
}
|
|
7146
7152
|
},
|
|
7147
7153
|
ghost: {
|
|
@@ -7469,15 +7475,15 @@ var pressableCardRecipe = defineRecipe({
|
|
|
7469
7475
|
},
|
|
7470
7476
|
core: {
|
|
7471
7477
|
outlineColor: "outline.core",
|
|
7472
|
-
outlineWidth:
|
|
7478
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
7473
7479
|
outlineStyle: "solid",
|
|
7474
7480
|
_hover: {
|
|
7475
7481
|
outlineColor: "outline.core.hover",
|
|
7476
|
-
outlineWidth:
|
|
7482
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
7477
7483
|
outlineStyle: "solid",
|
|
7478
7484
|
_active: {
|
|
7479
7485
|
backgroundColor: "surface.core.active",
|
|
7480
|
-
outlineWidth:
|
|
7486
|
+
outlineWidth: tokens21__default.size.stroke.sm
|
|
7481
7487
|
}
|
|
7482
7488
|
}
|
|
7483
7489
|
},
|
|
@@ -7703,34 +7709,34 @@ var cargonetColors = defineSemanticTokens.colors({
|
|
|
7703
7709
|
...tokens4.color["cargonet"].color.cargonet
|
|
7704
7710
|
});
|
|
7705
7711
|
var radii = defineSemanticTokens.radii({
|
|
7706
|
-
none: { value:
|
|
7707
|
-
xxs: { value:
|
|
7708
|
-
xs: { value:
|
|
7709
|
-
sm: { value:
|
|
7710
|
-
md: { value:
|
|
7711
|
-
lg: { value:
|
|
7712
|
-
xl: { value:
|
|
7713
|
-
"2xl": { value:
|
|
7712
|
+
none: { value: tokens21__default.size["border-radius"].none },
|
|
7713
|
+
xxs: { value: tokens21__default.size["border-radius"].xxs },
|
|
7714
|
+
xs: { value: tokens21__default.size["border-radius"].xs },
|
|
7715
|
+
sm: { value: tokens21__default.size["border-radius"].sm },
|
|
7716
|
+
md: { value: tokens21__default.size["border-radius"].md },
|
|
7717
|
+
lg: { value: tokens21__default.size["border-radius"].lg },
|
|
7718
|
+
xl: { value: tokens21__default.size["border-radius"].xl },
|
|
7719
|
+
"2xl": { value: tokens21__default.size["border-radius"]["2xl"] },
|
|
7714
7720
|
round: { value: "50%" }
|
|
7715
7721
|
});
|
|
7716
7722
|
var shadows = defineSemanticTokens.shadows({
|
|
7717
7723
|
none: { value: "none" },
|
|
7718
7724
|
sm: {
|
|
7719
7725
|
value: {
|
|
7720
|
-
_light:
|
|
7721
|
-
_dark:
|
|
7726
|
+
_light: tokens21__default.depth.shadow.sm.value._light,
|
|
7727
|
+
_dark: tokens21__default.depth.shadow.sm.value._dark
|
|
7722
7728
|
}
|
|
7723
7729
|
},
|
|
7724
7730
|
md: {
|
|
7725
7731
|
value: {
|
|
7726
|
-
_light:
|
|
7727
|
-
_dark:
|
|
7732
|
+
_light: tokens21__default.depth.shadow.md.value._light,
|
|
7733
|
+
_dark: tokens21__default.depth.shadow.md.value._dark
|
|
7728
7734
|
}
|
|
7729
7735
|
},
|
|
7730
7736
|
lg: {
|
|
7731
7737
|
value: {
|
|
7732
|
-
_light:
|
|
7733
|
-
_dark:
|
|
7738
|
+
_light: tokens21__default.depth.shadow.lg.value._light,
|
|
7739
|
+
_dark: tokens21__default.depth.shadow.lg.value._dark
|
|
7734
7740
|
}
|
|
7735
7741
|
}
|
|
7736
7742
|
});
|
|
@@ -8109,7 +8115,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
8109
8115
|
core: {
|
|
8110
8116
|
item: {
|
|
8111
8117
|
outline: "solid",
|
|
8112
|
-
outlineWidth:
|
|
8118
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
8113
8119
|
outlineColor: "outline.core"
|
|
8114
8120
|
},
|
|
8115
8121
|
itemTrigger: {
|
|
@@ -8117,14 +8123,14 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
8117
8123
|
borderBottomRadius: "none"
|
|
8118
8124
|
},
|
|
8119
8125
|
"&:hover": {
|
|
8120
|
-
outlineWidth:
|
|
8126
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
8121
8127
|
outlineColor: "outline.core",
|
|
8122
8128
|
outline: "2px solid",
|
|
8123
8129
|
outlineOffset: 0
|
|
8124
8130
|
},
|
|
8125
8131
|
"&:active": {
|
|
8126
8132
|
backgroundColor: "surface.core.active",
|
|
8127
|
-
outlineWidth:
|
|
8133
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
8128
8134
|
outline: "none"
|
|
8129
8135
|
}
|
|
8130
8136
|
}
|
|
@@ -8142,7 +8148,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
8142
8148
|
floating: {
|
|
8143
8149
|
item: {
|
|
8144
8150
|
outline: "1px solid",
|
|
8145
|
-
outlineWidth:
|
|
8151
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
8146
8152
|
boxShadow: "sm",
|
|
8147
8153
|
outlineColor: "outline.floating"
|
|
8148
8154
|
},
|
|
@@ -8151,14 +8157,14 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
8151
8157
|
borderBottomRadius: "none"
|
|
8152
8158
|
},
|
|
8153
8159
|
"&:hover": {
|
|
8154
|
-
outlineWidth:
|
|
8160
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
8155
8161
|
outline: "1px solid",
|
|
8156
8162
|
outlineColor: "outline.floating.hover",
|
|
8157
8163
|
outlineOffset: 1
|
|
8158
8164
|
},
|
|
8159
8165
|
"&:active": {
|
|
8160
8166
|
backgroundColor: "surface.floating.active",
|
|
8161
|
-
outlineWidth:
|
|
8167
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
8162
8168
|
outline: "none"
|
|
8163
8169
|
}
|
|
8164
8170
|
}
|
|
@@ -8563,10 +8569,10 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
|
|
|
8563
8569
|
},
|
|
8564
8570
|
link: {
|
|
8565
8571
|
cursor: "pointer",
|
|
8566
|
-
borderRadius: "xs"
|
|
8572
|
+
borderRadius: "xs",
|
|
8573
|
+
textDecoration: "underline"
|
|
8567
8574
|
},
|
|
8568
8575
|
currentLink: {
|
|
8569
|
-
borderRadius: "xs",
|
|
8570
8576
|
cursor: "default"
|
|
8571
8577
|
},
|
|
8572
8578
|
separator: {
|
|
@@ -8580,12 +8586,9 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
|
|
|
8580
8586
|
core: {
|
|
8581
8587
|
link: {
|
|
8582
8588
|
_hover: {
|
|
8583
|
-
|
|
8584
|
-
outlineWidth: tokens22__default.size.stroke.md,
|
|
8585
|
-
outlineStyle: "solid",
|
|
8589
|
+
textDecoration: "none",
|
|
8586
8590
|
_active: {
|
|
8587
|
-
backgroundColor: "surface.core.active"
|
|
8588
|
-
outline: "none"
|
|
8591
|
+
backgroundColor: "surface.core.active"
|
|
8589
8592
|
}
|
|
8590
8593
|
}
|
|
8591
8594
|
}
|
|
@@ -8667,10 +8670,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
|
8667
8670
|
_focus: {
|
|
8668
8671
|
outlineStyle: "solid",
|
|
8669
8672
|
outlineColor: "outline.focus",
|
|
8670
|
-
outlineOffset:
|
|
8671
|
-
outlineWidth:
|
|
8673
|
+
outlineOffset: tokens21__default.size.stroke.md,
|
|
8674
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
8672
8675
|
borderColor: "outline.core",
|
|
8673
|
-
borderWidth:
|
|
8676
|
+
borderWidth: tokens21__default.size.stroke.md
|
|
8674
8677
|
}
|
|
8675
8678
|
},
|
|
8676
8679
|
label: {
|
|
@@ -9873,7 +9876,7 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
|
|
|
9873
9876
|
position: "fixed",
|
|
9874
9877
|
zIndex: "dropdown",
|
|
9875
9878
|
_focus: {
|
|
9876
|
-
outlineOffset:
|
|
9879
|
+
outlineOffset: tokens21__default.size.stroke.lg,
|
|
9877
9880
|
outlineColor: "outline.focus"
|
|
9878
9881
|
},
|
|
9879
9882
|
_disabled: {
|
|
@@ -9989,9 +9992,7 @@ var travelTagSlotRecipe = defineSlotRecipe({
|
|
|
9989
9992
|
display: "flex",
|
|
9990
9993
|
alignItems: "center",
|
|
9991
9994
|
padding: 0.5,
|
|
9992
|
-
|
|
9993
|
-
background: "surface.disabled"
|
|
9994
|
-
},
|
|
9995
|
+
backgroundColor: "surface.disabled",
|
|
9995
9996
|
width: "fit-content",
|
|
9996
9997
|
transitionDuration: "fast",
|
|
9997
9998
|
transitionProperty: "common",
|
|
@@ -10055,62 +10056,21 @@ var travelTagSlotRecipe = defineSlotRecipe({
|
|
|
10055
10056
|
none: {}
|
|
10056
10057
|
},
|
|
10057
10058
|
variant: {
|
|
10058
|
-
"local-train": {
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
},
|
|
10063
|
-
"
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
},
|
|
10068
|
-
"
|
|
10069
|
-
container: {
|
|
10070
|
-
backgroundColor: "linjetag.regionEkspressLight"
|
|
10071
|
-
}
|
|
10072
|
-
},
|
|
10073
|
-
"long-distance-train": {
|
|
10074
|
-
container: {
|
|
10075
|
-
backgroundColor: "linjetag.fjerntogLight"
|
|
10076
|
-
}
|
|
10077
|
-
},
|
|
10078
|
-
"airport-express-train": {
|
|
10079
|
-
container: {
|
|
10080
|
-
backgroundColor: "linjetag.flytogLight"
|
|
10081
|
-
}
|
|
10082
|
-
},
|
|
10083
|
-
"vy-bus": {
|
|
10084
|
-
container: {
|
|
10085
|
-
backgroundColor: "linjetag.vyBussLight"
|
|
10086
|
-
}
|
|
10087
|
-
},
|
|
10088
|
-
"local-bus": {
|
|
10089
|
-
container: {
|
|
10090
|
-
backgroundColor: "linjetag.lokalbussLight"
|
|
10091
|
-
}
|
|
10092
|
-
},
|
|
10093
|
-
ferry: {
|
|
10094
|
-
container: {
|
|
10095
|
-
backgroundColor: "linjetag.fergeLight"
|
|
10096
|
-
}
|
|
10097
|
-
},
|
|
10098
|
-
subway: {
|
|
10099
|
-
container: {
|
|
10100
|
-
backgroundColor: "linjetag.tbaneLight"
|
|
10101
|
-
}
|
|
10102
|
-
},
|
|
10103
|
-
tram: {
|
|
10104
|
-
container: {
|
|
10105
|
-
backgroundColor: "linjetag.trikkLight"
|
|
10106
|
-
}
|
|
10107
|
-
},
|
|
10108
|
-
"alt-transport": {
|
|
10109
|
-
container: {
|
|
10110
|
-
backgroundColor: "linjetag.altTransportLight"
|
|
10111
|
-
}
|
|
10112
|
-
},
|
|
10059
|
+
"local-train": {},
|
|
10060
|
+
"region-train": {},
|
|
10061
|
+
"region-express-train": {},
|
|
10062
|
+
"long-distance-train": {},
|
|
10063
|
+
"airport-express-train": {},
|
|
10064
|
+
"vy-bus": {},
|
|
10065
|
+
"local-bus": {},
|
|
10066
|
+
ferry: {},
|
|
10067
|
+
subway: {},
|
|
10068
|
+
tram: {},
|
|
10069
|
+
"alt-transport": {},
|
|
10113
10070
|
walk: {
|
|
10071
|
+
container: {
|
|
10072
|
+
backgroundColor: "none"
|
|
10073
|
+
},
|
|
10114
10074
|
textContainer: {
|
|
10115
10075
|
position: "absolute",
|
|
10116
10076
|
left: "0.875rem",
|
|
@@ -11228,25 +11188,25 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
|
11228
11188
|
core: {
|
|
11229
11189
|
item: {
|
|
11230
11190
|
outlineColor: "outline.core",
|
|
11231
|
-
outlineWidth:
|
|
11191
|
+
outlineWidth: tokens21__default.size.stroke.sm,
|
|
11232
11192
|
outlineStyle: "solid",
|
|
11233
11193
|
_hover: {
|
|
11234
11194
|
outlineColor: "outline.core.hover",
|
|
11235
|
-
outlineWidth:
|
|
11195
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
11236
11196
|
outlineStyle: "solid",
|
|
11237
11197
|
_active: {
|
|
11238
11198
|
backgroundColor: "surface.core.active",
|
|
11239
|
-
outlineWidth:
|
|
11199
|
+
outlineWidth: tokens21__default.size.stroke.sm
|
|
11240
11200
|
}
|
|
11241
11201
|
},
|
|
11242
11202
|
_checked: {
|
|
11243
11203
|
outlineColor: "outline.focus",
|
|
11244
|
-
outlineWidth:
|
|
11204
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
11245
11205
|
outlineStyle: "solid",
|
|
11246
11206
|
backgroundColor: "surface.core.active",
|
|
11247
11207
|
_focusVisible: {
|
|
11248
11208
|
outlineStyle: "double",
|
|
11249
|
-
outlineWidth: `calc(3 * ${
|
|
11209
|
+
outlineWidth: `calc(3 * ${tokens21__default.size.stroke.md})`
|
|
11250
11210
|
// space for double outline
|
|
11251
11211
|
}
|
|
11252
11212
|
}
|
|
@@ -11271,12 +11231,12 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
|
11271
11231
|
},
|
|
11272
11232
|
_checked: {
|
|
11273
11233
|
outlineColor: "outline.focus",
|
|
11274
|
-
outlineWidth:
|
|
11234
|
+
outlineWidth: tokens21__default.size.stroke.md,
|
|
11275
11235
|
outlineStyle: "solid",
|
|
11276
11236
|
backgroundColor: "surface.core.active",
|
|
11277
11237
|
_focusVisible: {
|
|
11278
11238
|
outlineStyle: "double",
|
|
11279
|
-
outlineWidth: `calc(3 * ${
|
|
11239
|
+
outlineWidth: `calc(3 * ${tokens21__default.size.stroke.md})`
|
|
11280
11240
|
// space for double outline
|
|
11281
11241
|
}
|
|
11282
11242
|
}
|
|
@@ -12315,22 +12275,22 @@ var borders = defineTokens.borders({
|
|
|
12315
12275
|
value: "0"
|
|
12316
12276
|
},
|
|
12317
12277
|
sm: {
|
|
12318
|
-
value: `${
|
|
12278
|
+
value: `${tokens21__default.size.stroke.sm} solid`
|
|
12319
12279
|
},
|
|
12320
12280
|
"sm-dashed": {
|
|
12321
|
-
value: `${
|
|
12281
|
+
value: `${tokens21__default.size.stroke.sm} dashed`
|
|
12322
12282
|
},
|
|
12323
12283
|
md: {
|
|
12324
|
-
value: `${
|
|
12284
|
+
value: `${tokens21__default.size.stroke.md} solid`
|
|
12325
12285
|
},
|
|
12326
12286
|
"md-dashed": {
|
|
12327
|
-
value: `${
|
|
12287
|
+
value: `${tokens21__default.size.stroke.md} dashed`
|
|
12328
12288
|
},
|
|
12329
12289
|
lg: {
|
|
12330
|
-
value: `${
|
|
12290
|
+
value: `${tokens21__default.size.stroke.lg} solid`
|
|
12331
12291
|
},
|
|
12332
12292
|
"lg-dashed": {
|
|
12333
|
-
value: `${
|
|
12293
|
+
value: `${tokens21__default.size.stroke.lg} dashed`
|
|
12334
12294
|
}
|
|
12335
12295
|
});
|
|
12336
12296
|
var colors = defineTokens.colors({
|
|
@@ -12402,33 +12362,33 @@ var easings = defineTokens.easings({
|
|
|
12402
12362
|
}
|
|
12403
12363
|
});
|
|
12404
12364
|
var fontSizes = defineTokens.fontSizes({
|
|
12405
|
-
"2xs": { value:
|
|
12406
|
-
xs: { value:
|
|
12407
|
-
sm: { value:
|
|
12408
|
-
md: { value:
|
|
12409
|
-
lg: { value:
|
|
12410
|
-
xl: { value:
|
|
12411
|
-
"2xl": { value:
|
|
12412
|
-
"3xl": { value:
|
|
12365
|
+
"2xs": { value: tokens21__default.size.font.xs.mobile },
|
|
12366
|
+
xs: { value: tokens21__default.size.font.sm.mobile },
|
|
12367
|
+
sm: { value: tokens21__default.size.font.md.mobile },
|
|
12368
|
+
md: { value: tokens21__default.size.font.lg.mobile },
|
|
12369
|
+
lg: { value: tokens21__default.size.font.xl.mobile },
|
|
12370
|
+
xl: { value: tokens21__default.size.font.xxl.mobile },
|
|
12371
|
+
"2xl": { value: tokens21__default.size.font.xl.desktop },
|
|
12372
|
+
"3xl": { value: tokens21__default.size.font.xxl.desktop },
|
|
12413
12373
|
mobile: {
|
|
12414
|
-
"2xs": { value:
|
|
12415
|
-
xs: { value:
|
|
12416
|
-
sm: { value:
|
|
12417
|
-
md: { value:
|
|
12418
|
-
"md-lg": { value:
|
|
12419
|
-
lg: { value:
|
|
12420
|
-
xl: { value:
|
|
12421
|
-
xxl: { value:
|
|
12374
|
+
"2xs": { value: tokens21__default.size.font["2xs"].mobile },
|
|
12375
|
+
xs: { value: tokens21__default.size.font.xs.mobile },
|
|
12376
|
+
sm: { value: tokens21__default.size.font.sm.mobile },
|
|
12377
|
+
md: { value: tokens21__default.size.font.md.mobile },
|
|
12378
|
+
"md-lg": { value: tokens21__default.size.font["md-lg"].mobile },
|
|
12379
|
+
lg: { value: tokens21__default.size.font.lg.mobile },
|
|
12380
|
+
xl: { value: tokens21__default.size.font.xl.mobile },
|
|
12381
|
+
xxl: { value: tokens21__default.size.font.xxl.mobile }
|
|
12422
12382
|
},
|
|
12423
12383
|
desktop: {
|
|
12424
|
-
"2xs": { value:
|
|
12425
|
-
xs: { value:
|
|
12426
|
-
sm: { value:
|
|
12427
|
-
md: { value:
|
|
12428
|
-
"md-lg": { value:
|
|
12429
|
-
lg: { value:
|
|
12430
|
-
xl: { value:
|
|
12431
|
-
xxl: { value:
|
|
12384
|
+
"2xs": { value: tokens21__default.size.font["2xs"].desktop },
|
|
12385
|
+
xs: { value: tokens21__default.size.font.xs.desktop },
|
|
12386
|
+
sm: { value: tokens21__default.size.font.sm.desktop },
|
|
12387
|
+
md: { value: tokens21__default.size.font.md.desktop },
|
|
12388
|
+
"md-lg": { value: tokens21__default.size.font["md-lg"].desktop },
|
|
12389
|
+
lg: { value: tokens21__default.size.font.lg.desktop },
|
|
12390
|
+
xl: { value: tokens21__default.size.font.xl.desktop },
|
|
12391
|
+
xxl: { value: tokens21__default.size.font.xxl.desktop }
|
|
12432
12392
|
}
|
|
12433
12393
|
});
|
|
12434
12394
|
var fontWeights = defineTokens.fontWeights({
|
|
@@ -12461,9 +12421,9 @@ var fontWeights = defineTokens.fontWeights({
|
|
|
12461
12421
|
}
|
|
12462
12422
|
});
|
|
12463
12423
|
var fonts = defineTokens.fonts({
|
|
12464
|
-
body: { value: `${
|
|
12465
|
-
heading: { value: `${
|
|
12466
|
-
mono: { value: `${
|
|
12424
|
+
body: { value: `${tokens21__default.font.family.body}, arial, sans-serif` },
|
|
12425
|
+
heading: { value: `${tokens21__default.font.family.heading}, arial, sans-serif` },
|
|
12426
|
+
mono: { value: `${tokens21__default.font.family.monospace}, monospace` }
|
|
12467
12427
|
});
|
|
12468
12428
|
var letterSpacings = defineTokens.letterSpacings({
|
|
12469
12429
|
tighter: {
|
|
@@ -12500,32 +12460,32 @@ var lineHeights = defineTokens.lineHeights({
|
|
|
12500
12460
|
}
|
|
12501
12461
|
});
|
|
12502
12462
|
var radii2 = defineTokens.radii({
|
|
12503
|
-
none: { value:
|
|
12504
|
-
xs: { value:
|
|
12505
|
-
sm: { value:
|
|
12506
|
-
md: { value:
|
|
12507
|
-
lg: { value:
|
|
12508
|
-
xl: { value:
|
|
12509
|
-
"2xl": { value:
|
|
12463
|
+
none: { value: tokens21__default.size["border-radius"].none },
|
|
12464
|
+
xs: { value: tokens21__default.size["border-radius"].xs },
|
|
12465
|
+
sm: { value: tokens21__default.size["border-radius"].sm },
|
|
12466
|
+
md: { value: tokens21__default.size["border-radius"].md },
|
|
12467
|
+
lg: { value: tokens21__default.size["border-radius"].lg },
|
|
12468
|
+
xl: { value: tokens21__default.size["border-radius"].xl },
|
|
12469
|
+
"2xl": { value: tokens21__default.size["border-radius"]["2xl"] },
|
|
12510
12470
|
round: { value: "50%" }
|
|
12511
12471
|
});
|
|
12512
12472
|
var spacing = defineTokens.spacing({
|
|
12513
|
-
0: { value:
|
|
12514
|
-
0.5: { value:
|
|
12515
|
-
1: { value:
|
|
12516
|
-
1.5: { value:
|
|
12517
|
-
2: { value:
|
|
12518
|
-
3: { value:
|
|
12519
|
-
4: { value:
|
|
12520
|
-
5: { value:
|
|
12521
|
-
6: { value:
|
|
12522
|
-
7: { value:
|
|
12523
|
-
8: { value:
|
|
12524
|
-
9: { value:
|
|
12525
|
-
10: { value:
|
|
12526
|
-
11: { value:
|
|
12527
|
-
12: { value:
|
|
12528
|
-
13: { value:
|
|
12473
|
+
0: { value: tokens21__default.size.spacing["0"] },
|
|
12474
|
+
0.5: { value: tokens21__default.size.spacing["0.5"] },
|
|
12475
|
+
1: { value: tokens21__default.size.spacing["1"] },
|
|
12476
|
+
1.5: { value: tokens21__default.size.spacing["1.5"] },
|
|
12477
|
+
2: { value: tokens21__default.size.spacing["2"] },
|
|
12478
|
+
3: { value: tokens21__default.size.spacing["3"] },
|
|
12479
|
+
4: { value: tokens21__default.size.spacing["4"] },
|
|
12480
|
+
5: { value: tokens21__default.size.spacing["5"] },
|
|
12481
|
+
6: { value: tokens21__default.size.spacing["6"] },
|
|
12482
|
+
7: { value: tokens21__default.size.spacing["7"] },
|
|
12483
|
+
8: { value: tokens21__default.size.spacing["8"] },
|
|
12484
|
+
9: { value: tokens21__default.size.spacing["9"] },
|
|
12485
|
+
10: { value: tokens21__default.size.spacing["10"] },
|
|
12486
|
+
11: { value: tokens21__default.size.spacing["11"] },
|
|
12487
|
+
12: { value: tokens21__default.size.spacing["12"] },
|
|
12488
|
+
13: { value: tokens21__default.size.spacing["13"] }
|
|
12529
12489
|
});
|
|
12530
12490
|
|
|
12531
12491
|
// src/theme/tokens/sizes.ts
|
|
@@ -12562,10 +12522,10 @@ var namedSizes = defineTokens.sizes({
|
|
|
12562
12522
|
});
|
|
12563
12523
|
var container = defineTokens.sizes({
|
|
12564
12524
|
base: { value: 0 },
|
|
12565
|
-
sm: { value:
|
|
12566
|
-
md: { value:
|
|
12567
|
-
lg: { value:
|
|
12568
|
-
xl: { value:
|
|
12525
|
+
sm: { value: tokens21__default.size.breakpoint.sm },
|
|
12526
|
+
md: { value: tokens21__default.size.breakpoint.md },
|
|
12527
|
+
lg: { value: tokens21__default.size.breakpoint.lg },
|
|
12528
|
+
xl: { value: tokens21__default.size.breakpoint.xl }
|
|
12569
12529
|
});
|
|
12570
12530
|
var sizes = {
|
|
12571
12531
|
...largeSizes,
|
|
@@ -12574,22 +12534,22 @@ var sizes = {
|
|
|
12574
12534
|
container
|
|
12575
12535
|
};
|
|
12576
12536
|
var zIndex = defineTokens.zIndex({
|
|
12577
|
-
hide: { value:
|
|
12537
|
+
hide: { value: tokens21__default.depth["z-index"].hide },
|
|
12578
12538
|
auto: { value: "auto" },
|
|
12579
|
-
base: { value:
|
|
12580
|
-
docked: { value:
|
|
12581
|
-
dropdown: { value:
|
|
12582
|
-
sticky: { value:
|
|
12583
|
-
banner: { value:
|
|
12584
|
-
overlay: { value:
|
|
12585
|
-
modal: { value:
|
|
12586
|
-
popover: { value:
|
|
12587
|
-
skipLink: { value:
|
|
12588
|
-
toast: { value:
|
|
12539
|
+
base: { value: tokens21__default.depth["z-index"].base },
|
|
12540
|
+
docked: { value: tokens21__default.depth["z-index"].docked },
|
|
12541
|
+
dropdown: { value: tokens21__default.depth["z-index"].dropdown },
|
|
12542
|
+
sticky: { value: tokens21__default.depth["z-index"].sticky },
|
|
12543
|
+
banner: { value: tokens21__default.depth["z-index"].banner },
|
|
12544
|
+
overlay: { value: tokens21__default.depth["z-index"].overlay },
|
|
12545
|
+
modal: { value: tokens21__default.depth["z-index"].modal },
|
|
12546
|
+
popover: { value: tokens21__default.depth["z-index"].popover },
|
|
12547
|
+
skipLink: { value: tokens21__default.depth["z-index"].skipLink },
|
|
12548
|
+
toast: { value: tokens21__default.depth["z-index"].toast }
|
|
12589
12549
|
});
|
|
12590
12550
|
|
|
12591
12551
|
// src/theme/tokens/index.ts
|
|
12592
|
-
var
|
|
12552
|
+
var tokens19 = {
|
|
12593
12553
|
aspectRatios,
|
|
12594
12554
|
animations,
|
|
12595
12555
|
blurs,
|
|
@@ -12657,10 +12617,10 @@ var animationStyles = defineAnimationStyles({
|
|
|
12657
12617
|
}
|
|
12658
12618
|
});
|
|
12659
12619
|
var breakpoints = {
|
|
12660
|
-
sm:
|
|
12661
|
-
md:
|
|
12662
|
-
lg:
|
|
12663
|
-
xl:
|
|
12620
|
+
sm: tokens21__default.size.breakpoint.sm,
|
|
12621
|
+
md: tokens21__default.size.breakpoint.md,
|
|
12622
|
+
lg: tokens21__default.size.breakpoint.lg,
|
|
12623
|
+
xl: tokens21__default.size.breakpoint.xl
|
|
12664
12624
|
};
|
|
12665
12625
|
|
|
12666
12626
|
// src/theme/tokens/config.ts
|
|
@@ -12950,91 +12910,91 @@ var textStyles = defineTextStyles({
|
|
|
12950
12910
|
xxl: {
|
|
12951
12911
|
value: {
|
|
12952
12912
|
fontSize: [
|
|
12953
|
-
|
|
12954
|
-
|
|
12913
|
+
tokens21__default.font.style.xxl["font-size"].mobile,
|
|
12914
|
+
tokens21__default.font.style.xxl["font-size"].desktop
|
|
12955
12915
|
],
|
|
12956
|
-
fontFamily:
|
|
12957
|
-
lineHeight:
|
|
12916
|
+
fontFamily: tokens21__default.font.style.xxl["font-family"],
|
|
12917
|
+
lineHeight: tokens21__default.font.style.xxl["line-height"]
|
|
12958
12918
|
}
|
|
12959
12919
|
},
|
|
12960
12920
|
"xl-display": {
|
|
12961
12921
|
value: {
|
|
12962
12922
|
fontSize: [
|
|
12963
|
-
|
|
12964
|
-
|
|
12923
|
+
tokens21__default.font.style["xl-display"]["font-size"].mobile,
|
|
12924
|
+
tokens21__default.font.style["xl-display"]["font-size"].desktop
|
|
12965
12925
|
],
|
|
12966
|
-
fontFamily:
|
|
12967
|
-
lineHeight:
|
|
12926
|
+
fontFamily: tokens21__default.font.style["xl-display"]["font-family"],
|
|
12927
|
+
lineHeight: tokens21__default.font.style["xl-display"]["line-height"]
|
|
12968
12928
|
}
|
|
12969
12929
|
},
|
|
12970
12930
|
"xl-sans": {
|
|
12971
12931
|
value: {
|
|
12972
12932
|
fontSize: [
|
|
12973
|
-
|
|
12974
|
-
|
|
12933
|
+
tokens21__default.font.style["xl-sans"]["font-size"].mobile,
|
|
12934
|
+
tokens21__default.font.style["xl-sans"]["font-size"].desktop
|
|
12975
12935
|
],
|
|
12976
|
-
fontFamily:
|
|
12977
|
-
lineHeight:
|
|
12936
|
+
fontFamily: tokens21__default.font.style["xl-sans"]["font-family"],
|
|
12937
|
+
lineHeight: tokens21__default.font.style["xl-sans"]["line-height"]
|
|
12978
12938
|
}
|
|
12979
12939
|
},
|
|
12980
12940
|
lg: {
|
|
12981
12941
|
value: {
|
|
12982
12942
|
fontSize: [
|
|
12983
|
-
|
|
12984
|
-
|
|
12943
|
+
tokens21__default.font.style.lg["font-size"].mobile,
|
|
12944
|
+
tokens21__default.font.style.lg["font-size"].desktop
|
|
12985
12945
|
],
|
|
12986
|
-
fontFamily:
|
|
12987
|
-
lineHeight:
|
|
12946
|
+
fontFamily: tokens21__default.font.style.lg["font-family"],
|
|
12947
|
+
lineHeight: tokens21__default.font.style.lg["line-height"]
|
|
12988
12948
|
}
|
|
12989
12949
|
},
|
|
12990
12950
|
"md-lg": {
|
|
12991
12951
|
value: {
|
|
12992
12952
|
fontSize: [
|
|
12993
|
-
|
|
12994
|
-
|
|
12953
|
+
tokens21__default.font.style["md-lg"]["font-size"].mobile,
|
|
12954
|
+
tokens21__default.font.style["md-lg"]["font-size"].desktop
|
|
12995
12955
|
],
|
|
12996
|
-
fontFamily:
|
|
12997
|
-
lineHeight:
|
|
12956
|
+
fontFamily: tokens21__default.font.style["md-lg"]["font-family"],
|
|
12957
|
+
lineHeight: tokens21__default.font.style["md-lg"]["line-height"]
|
|
12998
12958
|
}
|
|
12999
12959
|
},
|
|
13000
12960
|
md: {
|
|
13001
12961
|
value: {
|
|
13002
12962
|
fontSize: [
|
|
13003
|
-
|
|
13004
|
-
|
|
12963
|
+
tokens21__default.font.style.md["font-size"].mobile,
|
|
12964
|
+
tokens21__default.font.style.md["font-size"].desktop
|
|
13005
12965
|
],
|
|
13006
|
-
fontFamily:
|
|
13007
|
-
lineHeight:
|
|
12966
|
+
fontFamily: tokens21__default.font.style.md["font-family"],
|
|
12967
|
+
lineHeight: tokens21__default.font.style.md["line-height"]
|
|
13008
12968
|
}
|
|
13009
12969
|
},
|
|
13010
12970
|
sm: {
|
|
13011
12971
|
value: {
|
|
13012
12972
|
fontSize: [
|
|
13013
|
-
|
|
13014
|
-
|
|
12973
|
+
tokens21__default.font.style.sm["font-size"].mobile,
|
|
12974
|
+
tokens21__default.font.style.sm["font-size"].desktop
|
|
13015
12975
|
],
|
|
13016
|
-
fontFamily:
|
|
13017
|
-
lineHeight:
|
|
12976
|
+
fontFamily: tokens21__default.font.style.sm["font-family"],
|
|
12977
|
+
lineHeight: tokens21__default.font.style.sm["line-height"]
|
|
13018
12978
|
}
|
|
13019
12979
|
},
|
|
13020
12980
|
xs: {
|
|
13021
12981
|
value: {
|
|
13022
12982
|
fontSize: [
|
|
13023
|
-
|
|
13024
|
-
|
|
12983
|
+
tokens21__default.font.style.xs["font-size"].mobile,
|
|
12984
|
+
tokens21__default.font.style.xs["font-size"].desktop
|
|
13025
12985
|
],
|
|
13026
|
-
fontFamily:
|
|
13027
|
-
lineHeight:
|
|
12986
|
+
fontFamily: tokens21__default.font.style.xs["font-family"],
|
|
12987
|
+
lineHeight: tokens21__default.font.style.xs["line-height"]
|
|
13028
12988
|
}
|
|
13029
12989
|
},
|
|
13030
12990
|
"2xs": {
|
|
13031
12991
|
value: {
|
|
13032
12992
|
fontSize: [
|
|
13033
|
-
|
|
13034
|
-
|
|
12993
|
+
tokens21__default.font.style["2xs"]["font-size"].mobile,
|
|
12994
|
+
tokens21__default.font.style["2xs"]["font-size"].desktop
|
|
13035
12995
|
],
|
|
13036
|
-
fontFamily:
|
|
13037
|
-
lineHeight:
|
|
12996
|
+
fontFamily: tokens21__default.font.style["2xs"]["font-family"],
|
|
12997
|
+
lineHeight: tokens21__default.font.style["2xs"]["line-height"]
|
|
13038
12998
|
}
|
|
13039
12999
|
}
|
|
13040
13000
|
});
|
|
@@ -13045,7 +13005,7 @@ var generateTheme = (brand) => {
|
|
|
13045
13005
|
theme: {
|
|
13046
13006
|
breakpoints,
|
|
13047
13007
|
keyframes,
|
|
13048
|
-
tokens:
|
|
13008
|
+
tokens: tokens19,
|
|
13049
13009
|
semanticTokens: semanticTokens[brand],
|
|
13050
13010
|
recipes,
|
|
13051
13011
|
slotRecipes,
|