@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.cjs
CHANGED
|
@@ -15,7 +15,7 @@ var lu = require('react-icons/lu');
|
|
|
15
15
|
var reactSwipeable = require('react-swipeable');
|
|
16
16
|
var awesomePhonenumber = require('awesome-phonenumber');
|
|
17
17
|
var react$2 = require('@emotion/react');
|
|
18
|
-
var
|
|
18
|
+
var tokens21 = require('@vygruppen/spor-design-tokens');
|
|
19
19
|
var tokens4 = require('@vygruppen/spor-design-tokens/raw-tokens');
|
|
20
20
|
var react$1 = require('@ark-ui/react');
|
|
21
21
|
var anatomy = require('@ark-ui/react/anatomy');
|
|
@@ -44,7 +44,7 @@ function _interopNamespace(e) {
|
|
|
44
44
|
|
|
45
45
|
var spor_icon_react_star__namespace = /*#__PURE__*/_interopNamespace(spor_icon_react_star);
|
|
46
46
|
var React14__namespace = /*#__PURE__*/_interopNamespace(React14);
|
|
47
|
-
var
|
|
47
|
+
var tokens21__namespace = /*#__PURE__*/_interopNamespace(tokens21);
|
|
48
48
|
var tokens4__default = /*#__PURE__*/_interopDefault(tokens4);
|
|
49
49
|
|
|
50
50
|
var __defProp = Object.defineProperty;
|
|
@@ -3083,11 +3083,12 @@ var DialogContent = ({
|
|
|
3083
3083
|
portalled = true,
|
|
3084
3084
|
portalRef,
|
|
3085
3085
|
backdrop = true,
|
|
3086
|
+
positionerProps,
|
|
3086
3087
|
...rest
|
|
3087
3088
|
} = props;
|
|
3088
3089
|
return /* @__PURE__ */ jsxRuntime.jsxs(react.Portal, { disabled: !portalled, container: portalRef, children: [
|
|
3089
3090
|
backdrop && /* @__PURE__ */ jsxRuntime.jsx(react.Dialog.Backdrop, {}),
|
|
3090
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Dialog.Positioner, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Dialog.Content, { ref, ...rest, asChild: false, children }) })
|
|
3091
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Dialog.Positioner, { ...positionerProps, children: /* @__PURE__ */ jsxRuntime.jsx(react.Dialog.Content, { ref, ...rest, asChild: false, children }) })
|
|
3091
3092
|
] });
|
|
3092
3093
|
};
|
|
3093
3094
|
var DialogCloseTrigger = function DialogCloseTrigger2({
|
|
@@ -3363,6 +3364,7 @@ var ErrorSummaryItem = ({
|
|
|
3363
3364
|
};
|
|
3364
3365
|
var AttachedInputs = ({
|
|
3365
3366
|
ref,
|
|
3367
|
+
flipButtonProps,
|
|
3366
3368
|
...props
|
|
3367
3369
|
}) => {
|
|
3368
3370
|
const recipe = react.useRecipe({ key: "attachedInputs" });
|
|
@@ -3391,7 +3393,11 @@ var AttachedInputs = ({
|
|
|
3391
3393
|
variant: "tertiary",
|
|
3392
3394
|
size: ["xs", null, "sm"],
|
|
3393
3395
|
"aria-label": flipAriaLabel,
|
|
3394
|
-
onClick: onFlip
|
|
3396
|
+
onClick: onFlip,
|
|
3397
|
+
position: "absolute",
|
|
3398
|
+
bg: "bg",
|
|
3399
|
+
outlineWidth: "1px",
|
|
3400
|
+
...flipButtonProps
|
|
3395
3401
|
}
|
|
3396
3402
|
)
|
|
3397
3403
|
] });
|
|
@@ -3400,23 +3406,20 @@ var SwitchButton = react.chakra(
|
|
|
3400
3406
|
IconButton,
|
|
3401
3407
|
react.defineRecipe({
|
|
3402
3408
|
base: {
|
|
3403
|
-
|
|
3404
|
-
zIndex: "101 !important",
|
|
3405
|
-
// eslint-disable-next-line spor/use-semantic-tokens
|
|
3406
|
-
bg: "bg !important",
|
|
3407
|
-
outlineWidth: "1px !important",
|
|
3409
|
+
zIndex: "101",
|
|
3408
3410
|
_focus: {
|
|
3409
|
-
outlineOffset: "0px
|
|
3411
|
+
outlineOffset: "0px",
|
|
3412
|
+
alignItems: "center"
|
|
3410
3413
|
}
|
|
3411
3414
|
},
|
|
3412
3415
|
variants: {
|
|
3413
3416
|
orientation: {
|
|
3414
3417
|
horizontal: {
|
|
3415
|
-
top: "calc(50% -
|
|
3416
|
-
right: "calc(50% -
|
|
3418
|
+
top: "calc(50% - 1.1rem)",
|
|
3419
|
+
right: "calc(50% - 1.1rem)"
|
|
3417
3420
|
},
|
|
3418
3421
|
vertical: {
|
|
3419
|
-
top: "calc(50% -
|
|
3422
|
+
top: "calc(50% - 1.1rem)",
|
|
3420
3423
|
right: "3rem",
|
|
3421
3424
|
transform: "rotate(90deg)"
|
|
3422
3425
|
}
|
|
@@ -5408,7 +5411,7 @@ var LineIcon = function LineIcon2({
|
|
|
5408
5411
|
borderColor: variant === "walk" ? "outline.core" : "transparent",
|
|
5409
5412
|
"aria-label": label,
|
|
5410
5413
|
ref,
|
|
5411
|
-
className: clsx_default("light", rest.className),
|
|
5414
|
+
className: variant === "walk" ? void 0 : clsx_default("light", rest.className),
|
|
5412
5415
|
children: /* @__PURE__ */ jsxRuntime.jsx(LinjeTagIcon, { size, css: styles.icon, variant: getIconVariant() })
|
|
5413
5416
|
}
|
|
5414
5417
|
);
|
|
@@ -5418,6 +5421,8 @@ var InfoTag = ({
|
|
|
5418
5421
|
size = "md",
|
|
5419
5422
|
title,
|
|
5420
5423
|
description,
|
|
5424
|
+
descriptionProps,
|
|
5425
|
+
titleProps,
|
|
5421
5426
|
...customProps
|
|
5422
5427
|
}) => {
|
|
5423
5428
|
const recipe = react.useSlotRecipe({ key: "infoTag" });
|
|
@@ -5436,9 +5441,9 @@ var InfoTag = ({
|
|
|
5436
5441
|
}
|
|
5437
5442
|
),
|
|
5438
5443
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Box, { css: styles.textContainer, children: [
|
|
5439
|
-
title && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.title, children: title }),
|
|
5444
|
+
title && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.title, ...titleProps, children: title }),
|
|
5440
5445
|
title && description && " ",
|
|
5441
|
-
description && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.description, children: description })
|
|
5446
|
+
description && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.description, ...descriptionProps, children: description })
|
|
5442
5447
|
] })
|
|
5443
5448
|
] });
|
|
5444
5449
|
};
|
|
@@ -5470,6 +5475,8 @@ var TravelTag = function TravelTag2({
|
|
|
5470
5475
|
foregroundColor,
|
|
5471
5476
|
backgroundColor,
|
|
5472
5477
|
customIconVariant,
|
|
5478
|
+
descriptionProps,
|
|
5479
|
+
titleProps,
|
|
5473
5480
|
...rest
|
|
5474
5481
|
}) {
|
|
5475
5482
|
const recipie = react.useSlotRecipe({ key: "travelTag" });
|
|
@@ -5484,7 +5491,6 @@ var TravelTag = function TravelTag2({
|
|
|
5484
5491
|
css: styles.container,
|
|
5485
5492
|
"aria-disabled": disabled,
|
|
5486
5493
|
ref,
|
|
5487
|
-
className: clsx_default("light", rest.className),
|
|
5488
5494
|
backgroundColor,
|
|
5489
5495
|
...rest,
|
|
5490
5496
|
children: [
|
|
@@ -5502,9 +5508,9 @@ var TravelTag = function TravelTag2({
|
|
|
5502
5508
|
}
|
|
5503
5509
|
),
|
|
5504
5510
|
/* @__PURE__ */ jsxRuntime.jsxs(react.Box, { css: styles.textContainer, children: [
|
|
5505
|
-
title && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.title, children: title }),
|
|
5511
|
+
title && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.title, ...titleProps, children: title }),
|
|
5506
5512
|
title && description && " ",
|
|
5507
|
-
description && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.description, children: description })
|
|
5513
|
+
description && /* @__PURE__ */ jsxRuntime.jsx(react.Box, { as: "span", css: styles.description, ...descriptionProps, children: description })
|
|
5508
5514
|
] }),
|
|
5509
5515
|
renderDeviationLevelIcon(deviationLevel, size, styles.deviationIcon)
|
|
5510
5516
|
]
|
|
@@ -6565,7 +6571,7 @@ var texts26 = createTexts({
|
|
|
6565
6571
|
});
|
|
6566
6572
|
var fontFaces = `
|
|
6567
6573
|
@font-face {
|
|
6568
|
-
font-family: ${
|
|
6574
|
+
font-family: ${tokens21__namespace.default.asset.font["vy-sans"]["light"].name};
|
|
6569
6575
|
src: url("https://www.vy.no/styles/font/VySans-Light.woff2") format("woff2"),
|
|
6570
6576
|
url("https://www.vy.no/styles/font/VySans-Light.woff") format("woff");
|
|
6571
6577
|
font-style: normal;
|
|
@@ -6573,7 +6579,7 @@ var fontFaces = `
|
|
|
6573
6579
|
font-display: swap
|
|
6574
6580
|
}
|
|
6575
6581
|
@font-face {
|
|
6576
|
-
font-family: ${
|
|
6582
|
+
font-family: ${tokens21__namespace.default.asset.font["vy-sans"]["light-italic"].name};
|
|
6577
6583
|
src: url("https://www.vy.no/styles/font/VySans-LightItalic.woff2")
|
|
6578
6584
|
format("woff2"),
|
|
6579
6585
|
url("https://www.vy.no/styles/font/VySans-LightItalic.woff") format("woff");
|
|
@@ -6582,7 +6588,7 @@ var fontFaces = `
|
|
|
6582
6588
|
font-display: swap
|
|
6583
6589
|
}
|
|
6584
6590
|
@font-face {
|
|
6585
|
-
font-family: ${
|
|
6591
|
+
font-family: ${tokens21__namespace.default.asset.font["vy-sans"]["medium"].name};
|
|
6586
6592
|
src: url("https://www.vy.no/styles/font/VySans-Regular.woff2") format("woff2"),
|
|
6587
6593
|
url("https://www.vy.no/styles/font/VySans-Regular.woff") format("woff");
|
|
6588
6594
|
font-style: normal;
|
|
@@ -6590,7 +6596,7 @@ var fontFaces = `
|
|
|
6590
6596
|
font-display: swap
|
|
6591
6597
|
}
|
|
6592
6598
|
@font-face {
|
|
6593
|
-
font-family: ${
|
|
6599
|
+
font-family: ${tokens21__namespace.default.asset.font["vy-sans"]["medium-italic"].name};
|
|
6594
6600
|
src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
|
|
6595
6601
|
format("woff2"),
|
|
6596
6602
|
url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
|
|
@@ -6600,7 +6606,7 @@ var fontFaces = `
|
|
|
6600
6606
|
font-display: swap
|
|
6601
6607
|
}
|
|
6602
6608
|
@font-face {
|
|
6603
|
-
font-family: ${
|
|
6609
|
+
font-family: ${tokens21__namespace.default.asset.font["vy-sans"]["bold"].name};
|
|
6604
6610
|
src: url("https://www.vy.no/styles/font/VySans-Bold.woff2") format("woff2"),
|
|
6605
6611
|
url("https://www.vy.no/styles/font/VySans-Bold.woff") format("woff");
|
|
6606
6612
|
font-style: normal;
|
|
@@ -6608,7 +6614,7 @@ var fontFaces = `
|
|
|
6608
6614
|
font-display: swap
|
|
6609
6615
|
}
|
|
6610
6616
|
@font-face {
|
|
6611
|
-
font-family: ${
|
|
6617
|
+
font-family: ${tokens21__namespace.default.asset.font["vy-sans"]["bold-italic"].name};
|
|
6612
6618
|
src: url("https://www.vy.no/styles/font/VySans-BoldItalic.woff2")
|
|
6613
6619
|
format("woff2"),
|
|
6614
6620
|
url("https://www.vy.no/styles/font/VySans-BoldItalic.woff") format("woff");
|
|
@@ -6617,7 +6623,7 @@ var fontFaces = `
|
|
|
6617
6623
|
font-display: swap
|
|
6618
6624
|
}
|
|
6619
6625
|
@font-face {
|
|
6620
|
-
font-family: ${
|
|
6626
|
+
font-family: ${tokens21__namespace.default.asset.font["vy-display"].name};
|
|
6621
6627
|
src: url("https://www.vy.no/styles/font/VyDisplay-Medium.woff2")
|
|
6622
6628
|
format("woff2"),
|
|
6623
6629
|
url("https://www.vy.no/styles/font/VyDisplay-Medium.woff") format("woff");
|
|
@@ -7117,7 +7123,7 @@ var buttonRecipe = react.defineRecipe({
|
|
|
7117
7123
|
background: "surface.disabled"
|
|
7118
7124
|
},
|
|
7119
7125
|
_focus: {
|
|
7120
|
-
outlineOffset:
|
|
7126
|
+
outlineOffset: tokens21__namespace.default.size.stroke.md
|
|
7121
7127
|
}
|
|
7122
7128
|
},
|
|
7123
7129
|
variants: {
|
|
@@ -7148,19 +7154,19 @@ var buttonRecipe = react.defineRecipe({
|
|
|
7148
7154
|
color: "text.core",
|
|
7149
7155
|
outline: "solid",
|
|
7150
7156
|
fontWeight: "normal",
|
|
7151
|
-
outlineWidth:
|
|
7157
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
7152
7158
|
outlineColor: "outline.core",
|
|
7153
7159
|
_hover: {
|
|
7154
|
-
outlineWidth:
|
|
7160
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
7155
7161
|
outlineColor: "outline.core.hover",
|
|
7156
7162
|
_active: {
|
|
7157
7163
|
background: "surface.core.active",
|
|
7158
|
-
outlineWidth:
|
|
7164
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
7159
7165
|
outlineColor: "outline.core"
|
|
7160
7166
|
}
|
|
7161
7167
|
},
|
|
7162
7168
|
_focus: {
|
|
7163
|
-
outlineWidth:
|
|
7169
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm
|
|
7164
7170
|
}
|
|
7165
7171
|
},
|
|
7166
7172
|
ghost: {
|
|
@@ -7488,15 +7494,15 @@ var pressableCardRecipe = react.defineRecipe({
|
|
|
7488
7494
|
},
|
|
7489
7495
|
core: {
|
|
7490
7496
|
outlineColor: "outline.core",
|
|
7491
|
-
outlineWidth:
|
|
7497
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
7492
7498
|
outlineStyle: "solid",
|
|
7493
7499
|
_hover: {
|
|
7494
7500
|
outlineColor: "outline.core.hover",
|
|
7495
|
-
outlineWidth:
|
|
7501
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
7496
7502
|
outlineStyle: "solid",
|
|
7497
7503
|
_active: {
|
|
7498
7504
|
backgroundColor: "surface.core.active",
|
|
7499
|
-
outlineWidth:
|
|
7505
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm
|
|
7500
7506
|
}
|
|
7501
7507
|
}
|
|
7502
7508
|
},
|
|
@@ -7722,34 +7728,34 @@ var cargonetColors = react.defineSemanticTokens.colors({
|
|
|
7722
7728
|
...tokens4__default.default.color["cargonet"].color.cargonet
|
|
7723
7729
|
});
|
|
7724
7730
|
var radii = react.defineSemanticTokens.radii({
|
|
7725
|
-
none: { value:
|
|
7726
|
-
xxs: { value:
|
|
7727
|
-
xs: { value:
|
|
7728
|
-
sm: { value:
|
|
7729
|
-
md: { value:
|
|
7730
|
-
lg: { value:
|
|
7731
|
-
xl: { value:
|
|
7732
|
-
"2xl": { value:
|
|
7731
|
+
none: { value: tokens21__namespace.default.size["border-radius"].none },
|
|
7732
|
+
xxs: { value: tokens21__namespace.default.size["border-radius"].xxs },
|
|
7733
|
+
xs: { value: tokens21__namespace.default.size["border-radius"].xs },
|
|
7734
|
+
sm: { value: tokens21__namespace.default.size["border-radius"].sm },
|
|
7735
|
+
md: { value: tokens21__namespace.default.size["border-radius"].md },
|
|
7736
|
+
lg: { value: tokens21__namespace.default.size["border-radius"].lg },
|
|
7737
|
+
xl: { value: tokens21__namespace.default.size["border-radius"].xl },
|
|
7738
|
+
"2xl": { value: tokens21__namespace.default.size["border-radius"]["2xl"] },
|
|
7733
7739
|
round: { value: "50%" }
|
|
7734
7740
|
});
|
|
7735
7741
|
var shadows = react.defineSemanticTokens.shadows({
|
|
7736
7742
|
none: { value: "none" },
|
|
7737
7743
|
sm: {
|
|
7738
7744
|
value: {
|
|
7739
|
-
_light:
|
|
7740
|
-
_dark:
|
|
7745
|
+
_light: tokens21__namespace.default.depth.shadow.sm.value._light,
|
|
7746
|
+
_dark: tokens21__namespace.default.depth.shadow.sm.value._dark
|
|
7741
7747
|
}
|
|
7742
7748
|
},
|
|
7743
7749
|
md: {
|
|
7744
7750
|
value: {
|
|
7745
|
-
_light:
|
|
7746
|
-
_dark:
|
|
7751
|
+
_light: tokens21__namespace.default.depth.shadow.md.value._light,
|
|
7752
|
+
_dark: tokens21__namespace.default.depth.shadow.md.value._dark
|
|
7747
7753
|
}
|
|
7748
7754
|
},
|
|
7749
7755
|
lg: {
|
|
7750
7756
|
value: {
|
|
7751
|
-
_light:
|
|
7752
|
-
_dark:
|
|
7757
|
+
_light: tokens21__namespace.default.depth.shadow.lg.value._light,
|
|
7758
|
+
_dark: tokens21__namespace.default.depth.shadow.lg.value._dark
|
|
7753
7759
|
}
|
|
7754
7760
|
}
|
|
7755
7761
|
});
|
|
@@ -8128,7 +8134,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
|
8128
8134
|
core: {
|
|
8129
8135
|
item: {
|
|
8130
8136
|
outline: "solid",
|
|
8131
|
-
outlineWidth:
|
|
8137
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
8132
8138
|
outlineColor: "outline.core"
|
|
8133
8139
|
},
|
|
8134
8140
|
itemTrigger: {
|
|
@@ -8136,14 +8142,14 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
|
8136
8142
|
borderBottomRadius: "none"
|
|
8137
8143
|
},
|
|
8138
8144
|
"&:hover": {
|
|
8139
|
-
outlineWidth:
|
|
8145
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
8140
8146
|
outlineColor: "outline.core",
|
|
8141
8147
|
outline: "2px solid",
|
|
8142
8148
|
outlineOffset: 0
|
|
8143
8149
|
},
|
|
8144
8150
|
"&:active": {
|
|
8145
8151
|
backgroundColor: "surface.core.active",
|
|
8146
|
-
outlineWidth:
|
|
8152
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
8147
8153
|
outline: "none"
|
|
8148
8154
|
}
|
|
8149
8155
|
}
|
|
@@ -8161,7 +8167,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
|
8161
8167
|
floating: {
|
|
8162
8168
|
item: {
|
|
8163
8169
|
outline: "1px solid",
|
|
8164
|
-
outlineWidth:
|
|
8170
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
8165
8171
|
boxShadow: "sm",
|
|
8166
8172
|
outlineColor: "outline.floating"
|
|
8167
8173
|
},
|
|
@@ -8170,14 +8176,14 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
|
8170
8176
|
borderBottomRadius: "none"
|
|
8171
8177
|
},
|
|
8172
8178
|
"&:hover": {
|
|
8173
|
-
outlineWidth:
|
|
8179
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
8174
8180
|
outline: "1px solid",
|
|
8175
8181
|
outlineColor: "outline.floating.hover",
|
|
8176
8182
|
outlineOffset: 1
|
|
8177
8183
|
},
|
|
8178
8184
|
"&:active": {
|
|
8179
8185
|
backgroundColor: "surface.floating.active",
|
|
8180
|
-
outlineWidth:
|
|
8186
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
8181
8187
|
outline: "none"
|
|
8182
8188
|
}
|
|
8183
8189
|
}
|
|
@@ -8582,10 +8588,10 @@ var breadcrumbSlotRecipe = react.defineSlotRecipe({
|
|
|
8582
8588
|
},
|
|
8583
8589
|
link: {
|
|
8584
8590
|
cursor: "pointer",
|
|
8585
|
-
borderRadius: "xs"
|
|
8591
|
+
borderRadius: "xs",
|
|
8592
|
+
textDecoration: "underline"
|
|
8586
8593
|
},
|
|
8587
8594
|
currentLink: {
|
|
8588
|
-
borderRadius: "xs",
|
|
8589
8595
|
cursor: "default"
|
|
8590
8596
|
},
|
|
8591
8597
|
separator: {
|
|
@@ -8599,12 +8605,9 @@ var breadcrumbSlotRecipe = react.defineSlotRecipe({
|
|
|
8599
8605
|
core: {
|
|
8600
8606
|
link: {
|
|
8601
8607
|
_hover: {
|
|
8602
|
-
|
|
8603
|
-
outlineWidth: tokens22__namespace.default.size.stroke.md,
|
|
8604
|
-
outlineStyle: "solid",
|
|
8608
|
+
textDecoration: "none",
|
|
8605
8609
|
_active: {
|
|
8606
|
-
backgroundColor: "surface.core.active"
|
|
8607
|
-
outline: "none"
|
|
8610
|
+
backgroundColor: "surface.core.active"
|
|
8608
8611
|
}
|
|
8609
8612
|
}
|
|
8610
8613
|
}
|
|
@@ -8686,10 +8689,10 @@ var checkboxSlotRecipe = react.defineSlotRecipe({
|
|
|
8686
8689
|
_focus: {
|
|
8687
8690
|
outlineStyle: "solid",
|
|
8688
8691
|
outlineColor: "outline.focus",
|
|
8689
|
-
outlineOffset:
|
|
8690
|
-
outlineWidth:
|
|
8692
|
+
outlineOffset: tokens21__namespace.default.size.stroke.md,
|
|
8693
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
8691
8694
|
borderColor: "outline.core",
|
|
8692
|
-
borderWidth:
|
|
8695
|
+
borderWidth: tokens21__namespace.default.size.stroke.md
|
|
8693
8696
|
}
|
|
8694
8697
|
},
|
|
8695
8698
|
label: {
|
|
@@ -9892,7 +9895,7 @@ var floatingActionButtonSlotRecipe = react.defineSlotRecipe({
|
|
|
9892
9895
|
position: "fixed",
|
|
9893
9896
|
zIndex: "dropdown",
|
|
9894
9897
|
_focus: {
|
|
9895
|
-
outlineOffset:
|
|
9898
|
+
outlineOffset: tokens21__namespace.default.size.stroke.lg,
|
|
9896
9899
|
outlineColor: "outline.focus"
|
|
9897
9900
|
},
|
|
9898
9901
|
_disabled: {
|
|
@@ -10008,9 +10011,7 @@ var travelTagSlotRecipe = react.defineSlotRecipe({
|
|
|
10008
10011
|
display: "flex",
|
|
10009
10012
|
alignItems: "center",
|
|
10010
10013
|
padding: 0.5,
|
|
10011
|
-
|
|
10012
|
-
background: "surface.disabled"
|
|
10013
|
-
},
|
|
10014
|
+
backgroundColor: "surface.disabled",
|
|
10014
10015
|
width: "fit-content",
|
|
10015
10016
|
transitionDuration: "fast",
|
|
10016
10017
|
transitionProperty: "common",
|
|
@@ -10074,62 +10075,21 @@ var travelTagSlotRecipe = react.defineSlotRecipe({
|
|
|
10074
10075
|
none: {}
|
|
10075
10076
|
},
|
|
10076
10077
|
variant: {
|
|
10077
|
-
"local-train": {
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10081
|
-
},
|
|
10082
|
-
"
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
},
|
|
10087
|
-
"
|
|
10088
|
-
container: {
|
|
10089
|
-
backgroundColor: "linjetag.regionEkspressLight"
|
|
10090
|
-
}
|
|
10091
|
-
},
|
|
10092
|
-
"long-distance-train": {
|
|
10093
|
-
container: {
|
|
10094
|
-
backgroundColor: "linjetag.fjerntogLight"
|
|
10095
|
-
}
|
|
10096
|
-
},
|
|
10097
|
-
"airport-express-train": {
|
|
10098
|
-
container: {
|
|
10099
|
-
backgroundColor: "linjetag.flytogLight"
|
|
10100
|
-
}
|
|
10101
|
-
},
|
|
10102
|
-
"vy-bus": {
|
|
10103
|
-
container: {
|
|
10104
|
-
backgroundColor: "linjetag.vyBussLight"
|
|
10105
|
-
}
|
|
10106
|
-
},
|
|
10107
|
-
"local-bus": {
|
|
10108
|
-
container: {
|
|
10109
|
-
backgroundColor: "linjetag.lokalbussLight"
|
|
10110
|
-
}
|
|
10111
|
-
},
|
|
10112
|
-
ferry: {
|
|
10113
|
-
container: {
|
|
10114
|
-
backgroundColor: "linjetag.fergeLight"
|
|
10115
|
-
}
|
|
10116
|
-
},
|
|
10117
|
-
subway: {
|
|
10118
|
-
container: {
|
|
10119
|
-
backgroundColor: "linjetag.tbaneLight"
|
|
10120
|
-
}
|
|
10121
|
-
},
|
|
10122
|
-
tram: {
|
|
10123
|
-
container: {
|
|
10124
|
-
backgroundColor: "linjetag.trikkLight"
|
|
10125
|
-
}
|
|
10126
|
-
},
|
|
10127
|
-
"alt-transport": {
|
|
10128
|
-
container: {
|
|
10129
|
-
backgroundColor: "linjetag.altTransportLight"
|
|
10130
|
-
}
|
|
10131
|
-
},
|
|
10078
|
+
"local-train": {},
|
|
10079
|
+
"region-train": {},
|
|
10080
|
+
"region-express-train": {},
|
|
10081
|
+
"long-distance-train": {},
|
|
10082
|
+
"airport-express-train": {},
|
|
10083
|
+
"vy-bus": {},
|
|
10084
|
+
"local-bus": {},
|
|
10085
|
+
ferry: {},
|
|
10086
|
+
subway: {},
|
|
10087
|
+
tram: {},
|
|
10088
|
+
"alt-transport": {},
|
|
10132
10089
|
walk: {
|
|
10090
|
+
container: {
|
|
10091
|
+
backgroundColor: "none"
|
|
10092
|
+
},
|
|
10133
10093
|
textContainer: {
|
|
10134
10094
|
position: "absolute",
|
|
10135
10095
|
left: "0.875rem",
|
|
@@ -11247,25 +11207,25 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
|
|
|
11247
11207
|
core: {
|
|
11248
11208
|
item: {
|
|
11249
11209
|
outlineColor: "outline.core",
|
|
11250
|
-
outlineWidth:
|
|
11210
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm,
|
|
11251
11211
|
outlineStyle: "solid",
|
|
11252
11212
|
_hover: {
|
|
11253
11213
|
outlineColor: "outline.core.hover",
|
|
11254
|
-
outlineWidth:
|
|
11214
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
11255
11215
|
outlineStyle: "solid",
|
|
11256
11216
|
_active: {
|
|
11257
11217
|
backgroundColor: "surface.core.active",
|
|
11258
|
-
outlineWidth:
|
|
11218
|
+
outlineWidth: tokens21__namespace.default.size.stroke.sm
|
|
11259
11219
|
}
|
|
11260
11220
|
},
|
|
11261
11221
|
_checked: {
|
|
11262
11222
|
outlineColor: "outline.focus",
|
|
11263
|
-
outlineWidth:
|
|
11223
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
11264
11224
|
outlineStyle: "solid",
|
|
11265
11225
|
backgroundColor: "surface.core.active",
|
|
11266
11226
|
_focusVisible: {
|
|
11267
11227
|
outlineStyle: "double",
|
|
11268
|
-
outlineWidth: `calc(3 * ${
|
|
11228
|
+
outlineWidth: `calc(3 * ${tokens21__namespace.default.size.stroke.md})`
|
|
11269
11229
|
// space for double outline
|
|
11270
11230
|
}
|
|
11271
11231
|
}
|
|
@@ -11290,12 +11250,12 @@ var radioCardSlotRecipe = react.defineSlotRecipe({
|
|
|
11290
11250
|
},
|
|
11291
11251
|
_checked: {
|
|
11292
11252
|
outlineColor: "outline.focus",
|
|
11293
|
-
outlineWidth:
|
|
11253
|
+
outlineWidth: tokens21__namespace.default.size.stroke.md,
|
|
11294
11254
|
outlineStyle: "solid",
|
|
11295
11255
|
backgroundColor: "surface.core.active",
|
|
11296
11256
|
_focusVisible: {
|
|
11297
11257
|
outlineStyle: "double",
|
|
11298
|
-
outlineWidth: `calc(3 * ${
|
|
11258
|
+
outlineWidth: `calc(3 * ${tokens21__namespace.default.size.stroke.md})`
|
|
11299
11259
|
// space for double outline
|
|
11300
11260
|
}
|
|
11301
11261
|
}
|
|
@@ -12334,22 +12294,22 @@ var borders = react.defineTokens.borders({
|
|
|
12334
12294
|
value: "0"
|
|
12335
12295
|
},
|
|
12336
12296
|
sm: {
|
|
12337
|
-
value: `${
|
|
12297
|
+
value: `${tokens21__namespace.default.size.stroke.sm} solid`
|
|
12338
12298
|
},
|
|
12339
12299
|
"sm-dashed": {
|
|
12340
|
-
value: `${
|
|
12300
|
+
value: `${tokens21__namespace.default.size.stroke.sm} dashed`
|
|
12341
12301
|
},
|
|
12342
12302
|
md: {
|
|
12343
|
-
value: `${
|
|
12303
|
+
value: `${tokens21__namespace.default.size.stroke.md} solid`
|
|
12344
12304
|
},
|
|
12345
12305
|
"md-dashed": {
|
|
12346
|
-
value: `${
|
|
12306
|
+
value: `${tokens21__namespace.default.size.stroke.md} dashed`
|
|
12347
12307
|
},
|
|
12348
12308
|
lg: {
|
|
12349
|
-
value: `${
|
|
12309
|
+
value: `${tokens21__namespace.default.size.stroke.lg} solid`
|
|
12350
12310
|
},
|
|
12351
12311
|
"lg-dashed": {
|
|
12352
|
-
value: `${
|
|
12312
|
+
value: `${tokens21__namespace.default.size.stroke.lg} dashed`
|
|
12353
12313
|
}
|
|
12354
12314
|
});
|
|
12355
12315
|
var colors = react.defineTokens.colors({
|
|
@@ -12421,33 +12381,33 @@ var easings = react.defineTokens.easings({
|
|
|
12421
12381
|
}
|
|
12422
12382
|
});
|
|
12423
12383
|
var fontSizes = react.defineTokens.fontSizes({
|
|
12424
|
-
"2xs": { value:
|
|
12425
|
-
xs: { value:
|
|
12426
|
-
sm: { value:
|
|
12427
|
-
md: { value:
|
|
12428
|
-
lg: { value:
|
|
12429
|
-
xl: { value:
|
|
12430
|
-
"2xl": { value:
|
|
12431
|
-
"3xl": { value:
|
|
12384
|
+
"2xs": { value: tokens21__namespace.default.size.font.xs.mobile },
|
|
12385
|
+
xs: { value: tokens21__namespace.default.size.font.sm.mobile },
|
|
12386
|
+
sm: { value: tokens21__namespace.default.size.font.md.mobile },
|
|
12387
|
+
md: { value: tokens21__namespace.default.size.font.lg.mobile },
|
|
12388
|
+
lg: { value: tokens21__namespace.default.size.font.xl.mobile },
|
|
12389
|
+
xl: { value: tokens21__namespace.default.size.font.xxl.mobile },
|
|
12390
|
+
"2xl": { value: tokens21__namespace.default.size.font.xl.desktop },
|
|
12391
|
+
"3xl": { value: tokens21__namespace.default.size.font.xxl.desktop },
|
|
12432
12392
|
mobile: {
|
|
12433
|
-
"2xs": { value:
|
|
12434
|
-
xs: { value:
|
|
12435
|
-
sm: { value:
|
|
12436
|
-
md: { value:
|
|
12437
|
-
"md-lg": { value:
|
|
12438
|
-
lg: { value:
|
|
12439
|
-
xl: { value:
|
|
12440
|
-
xxl: { value:
|
|
12393
|
+
"2xs": { value: tokens21__namespace.default.size.font["2xs"].mobile },
|
|
12394
|
+
xs: { value: tokens21__namespace.default.size.font.xs.mobile },
|
|
12395
|
+
sm: { value: tokens21__namespace.default.size.font.sm.mobile },
|
|
12396
|
+
md: { value: tokens21__namespace.default.size.font.md.mobile },
|
|
12397
|
+
"md-lg": { value: tokens21__namespace.default.size.font["md-lg"].mobile },
|
|
12398
|
+
lg: { value: tokens21__namespace.default.size.font.lg.mobile },
|
|
12399
|
+
xl: { value: tokens21__namespace.default.size.font.xl.mobile },
|
|
12400
|
+
xxl: { value: tokens21__namespace.default.size.font.xxl.mobile }
|
|
12441
12401
|
},
|
|
12442
12402
|
desktop: {
|
|
12443
|
-
"2xs": { value:
|
|
12444
|
-
xs: { value:
|
|
12445
|
-
sm: { value:
|
|
12446
|
-
md: { value:
|
|
12447
|
-
"md-lg": { value:
|
|
12448
|
-
lg: { value:
|
|
12449
|
-
xl: { value:
|
|
12450
|
-
xxl: { value:
|
|
12403
|
+
"2xs": { value: tokens21__namespace.default.size.font["2xs"].desktop },
|
|
12404
|
+
xs: { value: tokens21__namespace.default.size.font.xs.desktop },
|
|
12405
|
+
sm: { value: tokens21__namespace.default.size.font.sm.desktop },
|
|
12406
|
+
md: { value: tokens21__namespace.default.size.font.md.desktop },
|
|
12407
|
+
"md-lg": { value: tokens21__namespace.default.size.font["md-lg"].desktop },
|
|
12408
|
+
lg: { value: tokens21__namespace.default.size.font.lg.desktop },
|
|
12409
|
+
xl: { value: tokens21__namespace.default.size.font.xl.desktop },
|
|
12410
|
+
xxl: { value: tokens21__namespace.default.size.font.xxl.desktop }
|
|
12451
12411
|
}
|
|
12452
12412
|
});
|
|
12453
12413
|
var fontWeights = react.defineTokens.fontWeights({
|
|
@@ -12480,9 +12440,9 @@ var fontWeights = react.defineTokens.fontWeights({
|
|
|
12480
12440
|
}
|
|
12481
12441
|
});
|
|
12482
12442
|
var fonts = react.defineTokens.fonts({
|
|
12483
|
-
body: { value: `${
|
|
12484
|
-
heading: { value: `${
|
|
12485
|
-
mono: { value: `${
|
|
12443
|
+
body: { value: `${tokens21__namespace.default.font.family.body}, arial, sans-serif` },
|
|
12444
|
+
heading: { value: `${tokens21__namespace.default.font.family.heading}, arial, sans-serif` },
|
|
12445
|
+
mono: { value: `${tokens21__namespace.default.font.family.monospace}, monospace` }
|
|
12486
12446
|
});
|
|
12487
12447
|
var letterSpacings = react.defineTokens.letterSpacings({
|
|
12488
12448
|
tighter: {
|
|
@@ -12519,32 +12479,32 @@ var lineHeights = react.defineTokens.lineHeights({
|
|
|
12519
12479
|
}
|
|
12520
12480
|
});
|
|
12521
12481
|
var radii2 = react.defineTokens.radii({
|
|
12522
|
-
none: { value:
|
|
12523
|
-
xs: { value:
|
|
12524
|
-
sm: { value:
|
|
12525
|
-
md: { value:
|
|
12526
|
-
lg: { value:
|
|
12527
|
-
xl: { value:
|
|
12528
|
-
"2xl": { value:
|
|
12482
|
+
none: { value: tokens21__namespace.default.size["border-radius"].none },
|
|
12483
|
+
xs: { value: tokens21__namespace.default.size["border-radius"].xs },
|
|
12484
|
+
sm: { value: tokens21__namespace.default.size["border-radius"].sm },
|
|
12485
|
+
md: { value: tokens21__namespace.default.size["border-radius"].md },
|
|
12486
|
+
lg: { value: tokens21__namespace.default.size["border-radius"].lg },
|
|
12487
|
+
xl: { value: tokens21__namespace.default.size["border-radius"].xl },
|
|
12488
|
+
"2xl": { value: tokens21__namespace.default.size["border-radius"]["2xl"] },
|
|
12529
12489
|
round: { value: "50%" }
|
|
12530
12490
|
});
|
|
12531
12491
|
var spacing = react.defineTokens.spacing({
|
|
12532
|
-
0: { value:
|
|
12533
|
-
0.5: { value:
|
|
12534
|
-
1: { value:
|
|
12535
|
-
1.5: { value:
|
|
12536
|
-
2: { value:
|
|
12537
|
-
3: { value:
|
|
12538
|
-
4: { value:
|
|
12539
|
-
5: { value:
|
|
12540
|
-
6: { value:
|
|
12541
|
-
7: { value:
|
|
12542
|
-
8: { value:
|
|
12543
|
-
9: { value:
|
|
12544
|
-
10: { value:
|
|
12545
|
-
11: { value:
|
|
12546
|
-
12: { value:
|
|
12547
|
-
13: { value:
|
|
12492
|
+
0: { value: tokens21__namespace.default.size.spacing["0"] },
|
|
12493
|
+
0.5: { value: tokens21__namespace.default.size.spacing["0.5"] },
|
|
12494
|
+
1: { value: tokens21__namespace.default.size.spacing["1"] },
|
|
12495
|
+
1.5: { value: tokens21__namespace.default.size.spacing["1.5"] },
|
|
12496
|
+
2: { value: tokens21__namespace.default.size.spacing["2"] },
|
|
12497
|
+
3: { value: tokens21__namespace.default.size.spacing["3"] },
|
|
12498
|
+
4: { value: tokens21__namespace.default.size.spacing["4"] },
|
|
12499
|
+
5: { value: tokens21__namespace.default.size.spacing["5"] },
|
|
12500
|
+
6: { value: tokens21__namespace.default.size.spacing["6"] },
|
|
12501
|
+
7: { value: tokens21__namespace.default.size.spacing["7"] },
|
|
12502
|
+
8: { value: tokens21__namespace.default.size.spacing["8"] },
|
|
12503
|
+
9: { value: tokens21__namespace.default.size.spacing["9"] },
|
|
12504
|
+
10: { value: tokens21__namespace.default.size.spacing["10"] },
|
|
12505
|
+
11: { value: tokens21__namespace.default.size.spacing["11"] },
|
|
12506
|
+
12: { value: tokens21__namespace.default.size.spacing["12"] },
|
|
12507
|
+
13: { value: tokens21__namespace.default.size.spacing["13"] }
|
|
12548
12508
|
});
|
|
12549
12509
|
|
|
12550
12510
|
// src/theme/tokens/sizes.ts
|
|
@@ -12581,10 +12541,10 @@ var namedSizes = react.defineTokens.sizes({
|
|
|
12581
12541
|
});
|
|
12582
12542
|
var container = react.defineTokens.sizes({
|
|
12583
12543
|
base: { value: 0 },
|
|
12584
|
-
sm: { value:
|
|
12585
|
-
md: { value:
|
|
12586
|
-
lg: { value:
|
|
12587
|
-
xl: { value:
|
|
12544
|
+
sm: { value: tokens21__namespace.default.size.breakpoint.sm },
|
|
12545
|
+
md: { value: tokens21__namespace.default.size.breakpoint.md },
|
|
12546
|
+
lg: { value: tokens21__namespace.default.size.breakpoint.lg },
|
|
12547
|
+
xl: { value: tokens21__namespace.default.size.breakpoint.xl }
|
|
12588
12548
|
});
|
|
12589
12549
|
var sizes = {
|
|
12590
12550
|
...largeSizes,
|
|
@@ -12593,22 +12553,22 @@ var sizes = {
|
|
|
12593
12553
|
container
|
|
12594
12554
|
};
|
|
12595
12555
|
var zIndex = react.defineTokens.zIndex({
|
|
12596
|
-
hide: { value:
|
|
12556
|
+
hide: { value: tokens21__namespace.default.depth["z-index"].hide },
|
|
12597
12557
|
auto: { value: "auto" },
|
|
12598
|
-
base: { value:
|
|
12599
|
-
docked: { value:
|
|
12600
|
-
dropdown: { value:
|
|
12601
|
-
sticky: { value:
|
|
12602
|
-
banner: { value:
|
|
12603
|
-
overlay: { value:
|
|
12604
|
-
modal: { value:
|
|
12605
|
-
popover: { value:
|
|
12606
|
-
skipLink: { value:
|
|
12607
|
-
toast: { value:
|
|
12558
|
+
base: { value: tokens21__namespace.default.depth["z-index"].base },
|
|
12559
|
+
docked: { value: tokens21__namespace.default.depth["z-index"].docked },
|
|
12560
|
+
dropdown: { value: tokens21__namespace.default.depth["z-index"].dropdown },
|
|
12561
|
+
sticky: { value: tokens21__namespace.default.depth["z-index"].sticky },
|
|
12562
|
+
banner: { value: tokens21__namespace.default.depth["z-index"].banner },
|
|
12563
|
+
overlay: { value: tokens21__namespace.default.depth["z-index"].overlay },
|
|
12564
|
+
modal: { value: tokens21__namespace.default.depth["z-index"].modal },
|
|
12565
|
+
popover: { value: tokens21__namespace.default.depth["z-index"].popover },
|
|
12566
|
+
skipLink: { value: tokens21__namespace.default.depth["z-index"].skipLink },
|
|
12567
|
+
toast: { value: tokens21__namespace.default.depth["z-index"].toast }
|
|
12608
12568
|
});
|
|
12609
12569
|
|
|
12610
12570
|
// src/theme/tokens/index.ts
|
|
12611
|
-
var
|
|
12571
|
+
var tokens19 = {
|
|
12612
12572
|
aspectRatios,
|
|
12613
12573
|
animations,
|
|
12614
12574
|
blurs,
|
|
@@ -12676,10 +12636,10 @@ var animationStyles = react.defineAnimationStyles({
|
|
|
12676
12636
|
}
|
|
12677
12637
|
});
|
|
12678
12638
|
var breakpoints = {
|
|
12679
|
-
sm:
|
|
12680
|
-
md:
|
|
12681
|
-
lg:
|
|
12682
|
-
xl:
|
|
12639
|
+
sm: tokens21__namespace.default.size.breakpoint.sm,
|
|
12640
|
+
md: tokens21__namespace.default.size.breakpoint.md,
|
|
12641
|
+
lg: tokens21__namespace.default.size.breakpoint.lg,
|
|
12642
|
+
xl: tokens21__namespace.default.size.breakpoint.xl
|
|
12683
12643
|
};
|
|
12684
12644
|
|
|
12685
12645
|
// src/theme/tokens/config.ts
|
|
@@ -12969,91 +12929,91 @@ var textStyles = react.defineTextStyles({
|
|
|
12969
12929
|
xxl: {
|
|
12970
12930
|
value: {
|
|
12971
12931
|
fontSize: [
|
|
12972
|
-
|
|
12973
|
-
|
|
12932
|
+
tokens21__namespace.default.font.style.xxl["font-size"].mobile,
|
|
12933
|
+
tokens21__namespace.default.font.style.xxl["font-size"].desktop
|
|
12974
12934
|
],
|
|
12975
|
-
fontFamily:
|
|
12976
|
-
lineHeight:
|
|
12935
|
+
fontFamily: tokens21__namespace.default.font.style.xxl["font-family"],
|
|
12936
|
+
lineHeight: tokens21__namespace.default.font.style.xxl["line-height"]
|
|
12977
12937
|
}
|
|
12978
12938
|
},
|
|
12979
12939
|
"xl-display": {
|
|
12980
12940
|
value: {
|
|
12981
12941
|
fontSize: [
|
|
12982
|
-
|
|
12983
|
-
|
|
12942
|
+
tokens21__namespace.default.font.style["xl-display"]["font-size"].mobile,
|
|
12943
|
+
tokens21__namespace.default.font.style["xl-display"]["font-size"].desktop
|
|
12984
12944
|
],
|
|
12985
|
-
fontFamily:
|
|
12986
|
-
lineHeight:
|
|
12945
|
+
fontFamily: tokens21__namespace.default.font.style["xl-display"]["font-family"],
|
|
12946
|
+
lineHeight: tokens21__namespace.default.font.style["xl-display"]["line-height"]
|
|
12987
12947
|
}
|
|
12988
12948
|
},
|
|
12989
12949
|
"xl-sans": {
|
|
12990
12950
|
value: {
|
|
12991
12951
|
fontSize: [
|
|
12992
|
-
|
|
12993
|
-
|
|
12952
|
+
tokens21__namespace.default.font.style["xl-sans"]["font-size"].mobile,
|
|
12953
|
+
tokens21__namespace.default.font.style["xl-sans"]["font-size"].desktop
|
|
12994
12954
|
],
|
|
12995
|
-
fontFamily:
|
|
12996
|
-
lineHeight:
|
|
12955
|
+
fontFamily: tokens21__namespace.default.font.style["xl-sans"]["font-family"],
|
|
12956
|
+
lineHeight: tokens21__namespace.default.font.style["xl-sans"]["line-height"]
|
|
12997
12957
|
}
|
|
12998
12958
|
},
|
|
12999
12959
|
lg: {
|
|
13000
12960
|
value: {
|
|
13001
12961
|
fontSize: [
|
|
13002
|
-
|
|
13003
|
-
|
|
12962
|
+
tokens21__namespace.default.font.style.lg["font-size"].mobile,
|
|
12963
|
+
tokens21__namespace.default.font.style.lg["font-size"].desktop
|
|
13004
12964
|
],
|
|
13005
|
-
fontFamily:
|
|
13006
|
-
lineHeight:
|
|
12965
|
+
fontFamily: tokens21__namespace.default.font.style.lg["font-family"],
|
|
12966
|
+
lineHeight: tokens21__namespace.default.font.style.lg["line-height"]
|
|
13007
12967
|
}
|
|
13008
12968
|
},
|
|
13009
12969
|
"md-lg": {
|
|
13010
12970
|
value: {
|
|
13011
12971
|
fontSize: [
|
|
13012
|
-
|
|
13013
|
-
|
|
12972
|
+
tokens21__namespace.default.font.style["md-lg"]["font-size"].mobile,
|
|
12973
|
+
tokens21__namespace.default.font.style["md-lg"]["font-size"].desktop
|
|
13014
12974
|
],
|
|
13015
|
-
fontFamily:
|
|
13016
|
-
lineHeight:
|
|
12975
|
+
fontFamily: tokens21__namespace.default.font.style["md-lg"]["font-family"],
|
|
12976
|
+
lineHeight: tokens21__namespace.default.font.style["md-lg"]["line-height"]
|
|
13017
12977
|
}
|
|
13018
12978
|
},
|
|
13019
12979
|
md: {
|
|
13020
12980
|
value: {
|
|
13021
12981
|
fontSize: [
|
|
13022
|
-
|
|
13023
|
-
|
|
12982
|
+
tokens21__namespace.default.font.style.md["font-size"].mobile,
|
|
12983
|
+
tokens21__namespace.default.font.style.md["font-size"].desktop
|
|
13024
12984
|
],
|
|
13025
|
-
fontFamily:
|
|
13026
|
-
lineHeight:
|
|
12985
|
+
fontFamily: tokens21__namespace.default.font.style.md["font-family"],
|
|
12986
|
+
lineHeight: tokens21__namespace.default.font.style.md["line-height"]
|
|
13027
12987
|
}
|
|
13028
12988
|
},
|
|
13029
12989
|
sm: {
|
|
13030
12990
|
value: {
|
|
13031
12991
|
fontSize: [
|
|
13032
|
-
|
|
13033
|
-
|
|
12992
|
+
tokens21__namespace.default.font.style.sm["font-size"].mobile,
|
|
12993
|
+
tokens21__namespace.default.font.style.sm["font-size"].desktop
|
|
13034
12994
|
],
|
|
13035
|
-
fontFamily:
|
|
13036
|
-
lineHeight:
|
|
12995
|
+
fontFamily: tokens21__namespace.default.font.style.sm["font-family"],
|
|
12996
|
+
lineHeight: tokens21__namespace.default.font.style.sm["line-height"]
|
|
13037
12997
|
}
|
|
13038
12998
|
},
|
|
13039
12999
|
xs: {
|
|
13040
13000
|
value: {
|
|
13041
13001
|
fontSize: [
|
|
13042
|
-
|
|
13043
|
-
|
|
13002
|
+
tokens21__namespace.default.font.style.xs["font-size"].mobile,
|
|
13003
|
+
tokens21__namespace.default.font.style.xs["font-size"].desktop
|
|
13044
13004
|
],
|
|
13045
|
-
fontFamily:
|
|
13046
|
-
lineHeight:
|
|
13005
|
+
fontFamily: tokens21__namespace.default.font.style.xs["font-family"],
|
|
13006
|
+
lineHeight: tokens21__namespace.default.font.style.xs["line-height"]
|
|
13047
13007
|
}
|
|
13048
13008
|
},
|
|
13049
13009
|
"2xs": {
|
|
13050
13010
|
value: {
|
|
13051
13011
|
fontSize: [
|
|
13052
|
-
|
|
13053
|
-
|
|
13012
|
+
tokens21__namespace.default.font.style["2xs"]["font-size"].mobile,
|
|
13013
|
+
tokens21__namespace.default.font.style["2xs"]["font-size"].desktop
|
|
13054
13014
|
],
|
|
13055
|
-
fontFamily:
|
|
13056
|
-
lineHeight:
|
|
13015
|
+
fontFamily: tokens21__namespace.default.font.style["2xs"]["font-family"],
|
|
13016
|
+
lineHeight: tokens21__namespace.default.font.style["2xs"]["line-height"]
|
|
13057
13017
|
}
|
|
13058
13018
|
}
|
|
13059
13019
|
});
|
|
@@ -13064,7 +13024,7 @@ var generateTheme = (brand) => {
|
|
|
13064
13024
|
theme: {
|
|
13065
13025
|
breakpoints,
|
|
13066
13026
|
keyframes,
|
|
13067
|
-
tokens:
|
|
13027
|
+
tokens: tokens19,
|
|
13068
13028
|
semanticTokens: semanticTokens[brand],
|
|
13069
13029
|
recipes,
|
|
13070
13030
|
slotRecipes,
|
|
@@ -13357,7 +13317,7 @@ Object.defineProperty(exports, "Section", {
|
|
|
13357
13317
|
enumerable: true,
|
|
13358
13318
|
get: function () { return reactStately.Section; }
|
|
13359
13319
|
});
|
|
13360
|
-
exports.tokens =
|
|
13320
|
+
exports.tokens = tokens21__namespace;
|
|
13361
13321
|
exports.Accordion = Accordion;
|
|
13362
13322
|
exports.AccordionItem = AccordionItem;
|
|
13363
13323
|
exports.AccordionItemContent = AccordionItemContent;
|