@vygruppen/spor-react 12.24.5 → 12.24.7
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 +2 -2
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs +200 -191
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -11
- package/dist/index.d.ts +9 -11
- package/dist/index.mjs +200 -191
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/datepicker/CalendarTriggerButton.tsx +1 -1
- package/src/datepicker/DateTimeSegment.tsx +1 -1
- package/src/input/Autocomplete.tsx +3 -1
- package/src/input/Select.tsx +18 -6
- package/src/theme/slot-recipes/switch.ts +14 -15
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 tokens22__default from '@vygruppen/spor-design-tokens';
|
|
23
|
+
import * as tokens22 from '@vygruppen/spor-design-tokens';
|
|
24
|
+
export { tokens22 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';
|
|
@@ -2292,7 +2292,7 @@ var CalendarTriggerButton = forwardRef(({ variant, disabled, onPress: _, ...butt
|
|
|
2292
2292
|
key: "datePicker"
|
|
2293
2293
|
});
|
|
2294
2294
|
const styles = recipe({ variant });
|
|
2295
|
-
return /* @__PURE__ */ jsx(PopoverAnchor, { ...buttonProps, ref, children: /* @__PURE__ */ jsx(
|
|
2295
|
+
return /* @__PURE__ */ jsx(PopoverAnchor, { ...buttonProps, ref, asChild: true, children: /* @__PURE__ */ jsx(
|
|
2296
2296
|
IconButton,
|
|
2297
2297
|
{
|
|
2298
2298
|
icon: /* @__PURE__ */ jsx(CalendarOutline24Icon, {}),
|
|
@@ -2341,7 +2341,7 @@ var DateTimeSegment = forwardRef(
|
|
|
2341
2341
|
borderRadius: "xs",
|
|
2342
2342
|
fontSize: ["mobile.sm", "desktop.sm"],
|
|
2343
2343
|
css: styles.dateTimeSegment,
|
|
2344
|
-
"aria-
|
|
2344
|
+
"aria-label": ariaDescription,
|
|
2345
2345
|
"aria-labelledby": ariaLabel,
|
|
2346
2346
|
children: isPaddable(segment.type) ? segment.text.padStart(2, "0") : segment.text
|
|
2347
2347
|
}
|
|
@@ -3306,6 +3306,7 @@ var Autocomplete = ({
|
|
|
3306
3306
|
loading,
|
|
3307
3307
|
disabled,
|
|
3308
3308
|
emptyLabel,
|
|
3309
|
+
onFocus,
|
|
3309
3310
|
openOnClick = true,
|
|
3310
3311
|
openOnFocus = true,
|
|
3311
3312
|
...rest
|
|
@@ -3361,7 +3362,8 @@ var Autocomplete = ({
|
|
|
3361
3362
|
helperText,
|
|
3362
3363
|
errorText,
|
|
3363
3364
|
required,
|
|
3364
|
-
onFocus: () => {
|
|
3365
|
+
onFocus: (event) => {
|
|
3366
|
+
onFocus == null ? void 0 : onFocus(event);
|
|
3365
3367
|
if (openOnFocus)
|
|
3366
3368
|
combobox.setOpen(true);
|
|
3367
3369
|
}
|
|
@@ -4483,7 +4485,7 @@ var Select = React20.forwardRef(
|
|
|
4483
4485
|
children: [
|
|
4484
4486
|
/* @__PURE__ */ jsx(SelectTrigger, { "data-attachable": true, children: /* @__PURE__ */ jsx(SelectValueText, { withPlaceholder: label ? true : false }) }),
|
|
4485
4487
|
label && /* @__PURE__ */ jsx(SelectLabel, { css: styles.label, children: label }),
|
|
4486
|
-
/* @__PURE__ */ jsx(SelectContent, { css: styles.selectContent, children })
|
|
4488
|
+
/* @__PURE__ */ jsx(SelectContent, { css: styles.selectContent, baseStyle: css, children })
|
|
4487
4489
|
]
|
|
4488
4490
|
}
|
|
4489
4491
|
)
|
|
@@ -4510,7 +4512,7 @@ var SelectItem = React20.forwardRef(
|
|
|
4510
4512
|
return /* @__PURE__ */ jsxs(Select$1.Item, { item, ...rest, ref, css: styles.item, children: [
|
|
4511
4513
|
/* @__PURE__ */ jsxs(Box, { width: "100%", children: [
|
|
4512
4514
|
/* @__PURE__ */ jsx(Select$1.ItemText, { display: "flex", children }),
|
|
4513
|
-
description && /* @__PURE__ */ jsx(Box, { css: styles.itemDescription, children: description })
|
|
4515
|
+
description && /* @__PURE__ */ jsx(Box, { "data-part": "item-description", css: styles.itemDescription, children: description })
|
|
4514
4516
|
] }),
|
|
4515
4517
|
/* @__PURE__ */ jsx(Select$1.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckmarkFill18Icon, {}) })
|
|
4516
4518
|
] });
|
|
@@ -4530,10 +4532,17 @@ var SelectTrigger = React20.forwardRef(function SelectTrigger2(props, ref) {
|
|
|
4530
4532
|
const styles = recipe();
|
|
4531
4533
|
return /* @__PURE__ */ jsxs(Select$1.Control, { ...rest, css: styles.control, children: [
|
|
4532
4534
|
/* @__PURE__ */ jsx(Select$1.Trigger, { ref, css: styles.trigger, children }),
|
|
4533
|
-
/* @__PURE__ */ jsxs(
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4535
|
+
/* @__PURE__ */ jsxs(
|
|
4536
|
+
Select$1.IndicatorGroup,
|
|
4537
|
+
{
|
|
4538
|
+
css: styles.indicatorGroup,
|
|
4539
|
+
"data-part": "indicator-group",
|
|
4540
|
+
children: [
|
|
4541
|
+
clearable && /* @__PURE__ */ jsx(SelectClearTrigger, {}),
|
|
4542
|
+
/* @__PURE__ */ jsx(Box, { css: styles.indicator, "data-part": "indicator", children: /* @__PURE__ */ jsx(DropdownDownFill24Icon, {}) })
|
|
4543
|
+
]
|
|
4544
|
+
}
|
|
4545
|
+
)
|
|
4537
4546
|
] });
|
|
4538
4547
|
});
|
|
4539
4548
|
var SelectClearTrigger = React20.forwardRef(function SelectClearTrigger2(props, ref) {
|
|
@@ -4548,8 +4557,8 @@ var SelectClearTrigger = React20.forwardRef(function SelectClearTrigger2(props,
|
|
|
4548
4557
|
) });
|
|
4549
4558
|
});
|
|
4550
4559
|
var SelectContent = React20.forwardRef(function SelectContent2(props, ref) {
|
|
4551
|
-
const { portalled = true, portalRef, ...rest } = props;
|
|
4552
|
-
return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(Select$1.Positioner, { children: /* @__PURE__ */ jsx(Select$1.Content, { ...rest, ref }) }) });
|
|
4560
|
+
const { portalled = true, portalRef, baseStyle, ...rest } = props;
|
|
4561
|
+
return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(Select$1.Positioner, { css: baseStyle, children: /* @__PURE__ */ jsx(Select$1.Content, { ...rest, ref }) }) });
|
|
4553
4562
|
});
|
|
4554
4563
|
var SelectValueText = React20.forwardRef(function SelectValueText2(props, ref) {
|
|
4555
4564
|
const { children, withPlaceholder, placeholder, ...rest } = props;
|
|
@@ -5972,7 +5981,7 @@ var texts26 = createTexts({
|
|
|
5972
5981
|
});
|
|
5973
5982
|
var fontFaces = `
|
|
5974
5983
|
@font-face {
|
|
5975
|
-
font-family: ${
|
|
5984
|
+
font-family: ${tokens22__default.asset.font["vy-sans"]["light"].name};
|
|
5976
5985
|
src: url("https://www.vy.no/styles/font/VySans-Light.woff2") format("woff2"),
|
|
5977
5986
|
url("https://www.vy.no/styles/font/VySans-Light.woff") format("woff");
|
|
5978
5987
|
font-style: normal;
|
|
@@ -5980,7 +5989,7 @@ var fontFaces = `
|
|
|
5980
5989
|
font-display: swap
|
|
5981
5990
|
}
|
|
5982
5991
|
@font-face {
|
|
5983
|
-
font-family: ${
|
|
5992
|
+
font-family: ${tokens22__default.asset.font["vy-sans"]["light-italic"].name};
|
|
5984
5993
|
src: url("https://www.vy.no/styles/font/VySans-LightItalic.woff2")
|
|
5985
5994
|
format("woff2"),
|
|
5986
5995
|
url("https://www.vy.no/styles/font/VySans-LightItalic.woff") format("woff");
|
|
@@ -5989,7 +5998,7 @@ var fontFaces = `
|
|
|
5989
5998
|
font-display: swap
|
|
5990
5999
|
}
|
|
5991
6000
|
@font-face {
|
|
5992
|
-
font-family: ${
|
|
6001
|
+
font-family: ${tokens22__default.asset.font["vy-sans"]["medium"].name};
|
|
5993
6002
|
src: url("https://www.vy.no/styles/font/VySans-Regular.woff2") format("woff2"),
|
|
5994
6003
|
url("https://www.vy.no/styles/font/VySans-Regular.woff") format("woff");
|
|
5995
6004
|
font-style: normal;
|
|
@@ -5997,7 +6006,7 @@ var fontFaces = `
|
|
|
5997
6006
|
font-display: swap
|
|
5998
6007
|
}
|
|
5999
6008
|
@font-face {
|
|
6000
|
-
font-family: ${
|
|
6009
|
+
font-family: ${tokens22__default.asset.font["vy-sans"]["medium-italic"].name};
|
|
6001
6010
|
src: url("https://www.vy.no/styles/font/VySans-RegularItalic.woff2")
|
|
6002
6011
|
format("woff2"),
|
|
6003
6012
|
url("https://www.vy.no/styles/font/VySans-RegularItalic.woff")
|
|
@@ -6007,7 +6016,7 @@ var fontFaces = `
|
|
|
6007
6016
|
font-display: swap
|
|
6008
6017
|
}
|
|
6009
6018
|
@font-face {
|
|
6010
|
-
font-family: ${
|
|
6019
|
+
font-family: ${tokens22__default.asset.font["vy-sans"]["bold"].name};
|
|
6011
6020
|
src: url("https://www.vy.no/styles/font/VySans-Bold.woff2") format("woff2"),
|
|
6012
6021
|
url("https://www.vy.no/styles/font/VySans-Bold.woff") format("woff");
|
|
6013
6022
|
font-style: normal;
|
|
@@ -6015,7 +6024,7 @@ var fontFaces = `
|
|
|
6015
6024
|
font-display: swap
|
|
6016
6025
|
}
|
|
6017
6026
|
@font-face {
|
|
6018
|
-
font-family: ${
|
|
6027
|
+
font-family: ${tokens22__default.asset.font["vy-sans"]["bold-italic"].name};
|
|
6019
6028
|
src: url("https://www.vy.no/styles/font/VySans-BoldItalic.woff2")
|
|
6020
6029
|
format("woff2"),
|
|
6021
6030
|
url("https://www.vy.no/styles/font/VySans-BoldItalic.woff") format("woff");
|
|
@@ -6024,7 +6033,7 @@ var fontFaces = `
|
|
|
6024
6033
|
font-display: swap
|
|
6025
6034
|
}
|
|
6026
6035
|
@font-face {
|
|
6027
|
-
font-family: ${
|
|
6036
|
+
font-family: ${tokens22__default.asset.font["vy-display"].name};
|
|
6028
6037
|
src: url("https://www.vy.no/styles/font/VyDisplay-Medium.woff2")
|
|
6029
6038
|
format("woff2"),
|
|
6030
6039
|
url("https://www.vy.no/styles/font/VyDisplay-Medium.woff") format("woff");
|
|
@@ -6500,7 +6509,7 @@ var buttonRecipe = defineRecipe({
|
|
|
6500
6509
|
background: "surface.disabled"
|
|
6501
6510
|
},
|
|
6502
6511
|
_focus: {
|
|
6503
|
-
outlineOffset:
|
|
6512
|
+
outlineOffset: tokens22__default.size.stroke.md
|
|
6504
6513
|
}
|
|
6505
6514
|
},
|
|
6506
6515
|
variants: {
|
|
@@ -6531,19 +6540,19 @@ var buttonRecipe = defineRecipe({
|
|
|
6531
6540
|
color: "core.text",
|
|
6532
6541
|
outline: "solid",
|
|
6533
6542
|
fontWeight: "normal",
|
|
6534
|
-
outlineWidth:
|
|
6543
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
6535
6544
|
outlineColor: "core.outline",
|
|
6536
6545
|
_hover: {
|
|
6537
|
-
outlineWidth:
|
|
6546
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
6538
6547
|
outlineColor: "core.outline.hover",
|
|
6539
6548
|
_active: {
|
|
6540
6549
|
background: "core.surface.active",
|
|
6541
|
-
outlineWidth:
|
|
6550
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
6542
6551
|
outlineColor: "core.outline"
|
|
6543
6552
|
}
|
|
6544
6553
|
},
|
|
6545
6554
|
_focus: {
|
|
6546
|
-
outlineWidth:
|
|
6555
|
+
outlineWidth: tokens22__default.size.stroke.sm
|
|
6547
6556
|
}
|
|
6548
6557
|
},
|
|
6549
6558
|
ghost: {
|
|
@@ -6859,15 +6868,15 @@ var pressableCardRecipe = defineRecipe({
|
|
|
6859
6868
|
},
|
|
6860
6869
|
core: {
|
|
6861
6870
|
outlineColor: "core.outline",
|
|
6862
|
-
outlineWidth:
|
|
6871
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
6863
6872
|
outlineStyle: "solid",
|
|
6864
6873
|
_hover: {
|
|
6865
6874
|
outlineColor: "core.outline.hover",
|
|
6866
|
-
outlineWidth:
|
|
6875
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
6867
6876
|
outlineStyle: "solid",
|
|
6868
6877
|
_active: {
|
|
6869
6878
|
backgroundColor: "core.surface.active",
|
|
6870
|
-
outlineWidth:
|
|
6879
|
+
outlineWidth: tokens22__default.size.stroke.sm
|
|
6871
6880
|
}
|
|
6872
6881
|
}
|
|
6873
6882
|
},
|
|
@@ -7093,34 +7102,34 @@ var cargonetColors = defineSemanticTokens.colors({
|
|
|
7093
7102
|
...tokens4.color.cargonet.color.cargonet
|
|
7094
7103
|
});
|
|
7095
7104
|
var radii = defineSemanticTokens.radii({
|
|
7096
|
-
none: { value:
|
|
7097
|
-
xxs: { value:
|
|
7098
|
-
xs: { value:
|
|
7099
|
-
sm: { value:
|
|
7100
|
-
md: { value:
|
|
7101
|
-
lg: { value:
|
|
7102
|
-
xl: { value:
|
|
7103
|
-
"2xl": { value:
|
|
7105
|
+
none: { value: tokens22__default.size["border-radius"].none },
|
|
7106
|
+
xxs: { value: tokens22__default.size["border-radius"].xxs },
|
|
7107
|
+
xs: { value: tokens22__default.size["border-radius"].xs },
|
|
7108
|
+
sm: { value: tokens22__default.size["border-radius"].sm },
|
|
7109
|
+
md: { value: tokens22__default.size["border-radius"].md },
|
|
7110
|
+
lg: { value: tokens22__default.size["border-radius"].lg },
|
|
7111
|
+
xl: { value: tokens22__default.size["border-radius"].xl },
|
|
7112
|
+
"2xl": { value: tokens22__default.size["border-radius"]["2xl"] },
|
|
7104
7113
|
round: { value: "50%" }
|
|
7105
7114
|
});
|
|
7106
7115
|
var shadows = defineSemanticTokens.shadows({
|
|
7107
7116
|
none: { value: "none" },
|
|
7108
7117
|
sm: {
|
|
7109
7118
|
value: {
|
|
7110
|
-
_light:
|
|
7111
|
-
_dark:
|
|
7119
|
+
_light: tokens22__default.depth.shadow.sm.value._light,
|
|
7120
|
+
_dark: tokens22__default.depth.shadow.sm.value._dark
|
|
7112
7121
|
}
|
|
7113
7122
|
},
|
|
7114
7123
|
md: {
|
|
7115
7124
|
value: {
|
|
7116
|
-
_light:
|
|
7117
|
-
_dark:
|
|
7125
|
+
_light: tokens22__default.depth.shadow.md.value._light,
|
|
7126
|
+
_dark: tokens22__default.depth.shadow.md.value._dark
|
|
7118
7127
|
}
|
|
7119
7128
|
},
|
|
7120
7129
|
lg: {
|
|
7121
7130
|
value: {
|
|
7122
|
-
_light:
|
|
7123
|
-
_dark:
|
|
7131
|
+
_light: tokens22__default.depth.shadow.lg.value._light,
|
|
7132
|
+
_dark: tokens22__default.depth.shadow.lg.value._dark
|
|
7124
7133
|
}
|
|
7125
7134
|
}
|
|
7126
7135
|
});
|
|
@@ -7480,7 +7489,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
7480
7489
|
core: {
|
|
7481
7490
|
item: {
|
|
7482
7491
|
outline: "solid",
|
|
7483
|
-
outlineWidth:
|
|
7492
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
7484
7493
|
outlineColor: "core.outline"
|
|
7485
7494
|
},
|
|
7486
7495
|
itemTrigger: {
|
|
@@ -7488,14 +7497,14 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
7488
7497
|
borderBottomRadius: "none"
|
|
7489
7498
|
},
|
|
7490
7499
|
"&:hover": {
|
|
7491
|
-
outlineWidth:
|
|
7500
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
7492
7501
|
outlineColor: "core.outline",
|
|
7493
7502
|
outline: "2px solid",
|
|
7494
7503
|
outlineOffset: 0
|
|
7495
7504
|
},
|
|
7496
7505
|
"&:active": {
|
|
7497
7506
|
backgroundColor: "core.surface.active",
|
|
7498
|
-
outlineWidth:
|
|
7507
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
7499
7508
|
outline: "none"
|
|
7500
7509
|
}
|
|
7501
7510
|
}
|
|
@@ -7513,7 +7522,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
7513
7522
|
floating: {
|
|
7514
7523
|
item: {
|
|
7515
7524
|
outline: "1px solid",
|
|
7516
|
-
outlineWidth:
|
|
7525
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
7517
7526
|
boxShadow: "sm",
|
|
7518
7527
|
outlineColor: "floating.outline"
|
|
7519
7528
|
},
|
|
@@ -7522,14 +7531,14 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
|
7522
7531
|
borderBottomRadius: "none"
|
|
7523
7532
|
},
|
|
7524
7533
|
"&:hover": {
|
|
7525
|
-
outlineWidth:
|
|
7534
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
7526
7535
|
outline: "1px solid",
|
|
7527
7536
|
outlineColor: "floating.outline.hover",
|
|
7528
7537
|
outlineOffset: 1
|
|
7529
7538
|
},
|
|
7530
7539
|
"&:active": {
|
|
7531
7540
|
backgroundColor: "floating.surface.active",
|
|
7532
|
-
outlineWidth:
|
|
7541
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
7533
7542
|
outline: "none"
|
|
7534
7543
|
}
|
|
7535
7544
|
}
|
|
@@ -7953,7 +7962,7 @@ var breadcrumbSlotRecipe = defineSlotRecipe({
|
|
|
7953
7962
|
link: {
|
|
7954
7963
|
_hover: {
|
|
7955
7964
|
outlineColor: "core.outline.hover",
|
|
7956
|
-
outlineWidth:
|
|
7965
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
7957
7966
|
outlineStyle: "solid",
|
|
7958
7967
|
_active: {
|
|
7959
7968
|
backgroundColor: "core.surface.active",
|
|
@@ -8043,10 +8052,10 @@ var checkboxSlotRecipe = defineSlotRecipe({
|
|
|
8043
8052
|
_focus: {
|
|
8044
8053
|
outlineStyle: "solid",
|
|
8045
8054
|
outlineColor: "outline.focus",
|
|
8046
|
-
outlineOffset:
|
|
8047
|
-
outlineWidth:
|
|
8055
|
+
outlineOffset: tokens22__default.size.stroke.md,
|
|
8056
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
8048
8057
|
borderColor: "core.outline",
|
|
8049
|
-
borderWidth:
|
|
8058
|
+
borderWidth: tokens22__default.size.stroke.md
|
|
8050
8059
|
}
|
|
8051
8060
|
},
|
|
8052
8061
|
label: {
|
|
@@ -8975,7 +8984,7 @@ var floatingActionButtonSlotRecipe = defineSlotRecipe({
|
|
|
8975
8984
|
position: "fixed",
|
|
8976
8985
|
zIndex: "dropdown",
|
|
8977
8986
|
_focus: {
|
|
8978
|
-
outlineOffset:
|
|
8987
|
+
outlineOffset: tokens22__default.size.stroke.lg,
|
|
8979
8988
|
outlineColor: "outline.focus"
|
|
8980
8989
|
},
|
|
8981
8990
|
_disabled: {
|
|
@@ -10084,25 +10093,25 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
|
10084
10093
|
core: {
|
|
10085
10094
|
item: {
|
|
10086
10095
|
outlineColor: "core.outline",
|
|
10087
|
-
outlineWidth:
|
|
10096
|
+
outlineWidth: tokens22__default.size.stroke.sm,
|
|
10088
10097
|
outlineStyle: "solid",
|
|
10089
10098
|
_hover: {
|
|
10090
10099
|
outlineColor: "core.outline.hover",
|
|
10091
|
-
outlineWidth:
|
|
10100
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
10092
10101
|
outlineStyle: "solid",
|
|
10093
10102
|
_active: {
|
|
10094
10103
|
backgroundColor: "core.surface.active",
|
|
10095
|
-
outlineWidth:
|
|
10104
|
+
outlineWidth: tokens22__default.size.stroke.sm
|
|
10096
10105
|
}
|
|
10097
10106
|
},
|
|
10098
10107
|
_checked: {
|
|
10099
10108
|
outlineColor: "outline.focus",
|
|
10100
|
-
outlineWidth:
|
|
10109
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
10101
10110
|
outlineStyle: "solid",
|
|
10102
10111
|
backgroundColor: "core.surface.active",
|
|
10103
10112
|
_focusVisible: {
|
|
10104
10113
|
outlineStyle: "double",
|
|
10105
|
-
outlineWidth: `calc(3 * ${
|
|
10114
|
+
outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
|
|
10106
10115
|
// space for double outline
|
|
10107
10116
|
}
|
|
10108
10117
|
}
|
|
@@ -10127,12 +10136,12 @@ var radioCardSlotRecipe = defineSlotRecipe({
|
|
|
10127
10136
|
},
|
|
10128
10137
|
_checked: {
|
|
10129
10138
|
outlineColor: "outline.focus",
|
|
10130
|
-
outlineWidth:
|
|
10139
|
+
outlineWidth: tokens22__default.size.stroke.md,
|
|
10131
10140
|
outlineStyle: "solid",
|
|
10132
10141
|
backgroundColor: "core.surface.active",
|
|
10133
10142
|
_focusVisible: {
|
|
10134
10143
|
outlineStyle: "double",
|
|
10135
|
-
outlineWidth: `calc(3 * ${
|
|
10144
|
+
outlineWidth: `calc(3 * ${tokens22__default.size.stroke.md})`
|
|
10136
10145
|
// space for double outline
|
|
10137
10146
|
}
|
|
10138
10147
|
}
|
|
@@ -10529,7 +10538,8 @@ var switchSlotRecipe = defineSlotRecipe({
|
|
|
10529
10538
|
height: "var(--switch-height)",
|
|
10530
10539
|
transitionProperty: "common",
|
|
10531
10540
|
transitionDuration: "fast",
|
|
10532
|
-
outline: "
|
|
10541
|
+
outline: "1px solid",
|
|
10542
|
+
outlineOffset: "-1px",
|
|
10533
10543
|
outlineColor: "core.outline",
|
|
10534
10544
|
_hover: {
|
|
10535
10545
|
outline: "2px solid",
|
|
@@ -10542,14 +10552,16 @@ var switchSlotRecipe = defineSlotRecipe({
|
|
|
10542
10552
|
_focusVisible: {
|
|
10543
10553
|
outlineWidth: "2px",
|
|
10544
10554
|
outlineColor: "outline.focus",
|
|
10545
|
-
outlineStyle: "
|
|
10555
|
+
outlineStyle: "double"
|
|
10546
10556
|
},
|
|
10547
10557
|
_checked: {
|
|
10548
10558
|
backgroundColor: "brand.surface",
|
|
10559
|
+
outline: "none",
|
|
10549
10560
|
_focusVisible: {
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10561
|
+
outlineOffset: "1px",
|
|
10562
|
+
outlineStyle: "solid",
|
|
10563
|
+
outlineColor: "outline.focus",
|
|
10564
|
+
outlineWidth: "2px"
|
|
10553
10565
|
}
|
|
10554
10566
|
},
|
|
10555
10567
|
_disabled: {
|
|
@@ -10571,32 +10583,29 @@ var switchSlotRecipe = defineSlotRecipe({
|
|
|
10571
10583
|
size: {
|
|
10572
10584
|
sm: {
|
|
10573
10585
|
root: {
|
|
10574
|
-
"--switch-width": "
|
|
10575
|
-
"--switch-height": "1.
|
|
10586
|
+
"--switch-width": "3rem",
|
|
10587
|
+
"--switch-height": "1.125rem"
|
|
10576
10588
|
},
|
|
10577
10589
|
control: {
|
|
10578
|
-
borderRadius: "lg"
|
|
10579
|
-
padding: "0.12rem"
|
|
10590
|
+
borderRadius: "lg"
|
|
10580
10591
|
}
|
|
10581
10592
|
},
|
|
10582
10593
|
md: {
|
|
10583
10594
|
root: {
|
|
10584
|
-
"--switch-width": "
|
|
10585
|
-
"--switch-height": "1.
|
|
10595
|
+
"--switch-width": "3.75rem",
|
|
10596
|
+
"--switch-height": "1.5rem"
|
|
10586
10597
|
},
|
|
10587
10598
|
control: {
|
|
10588
|
-
borderRadius: "xl"
|
|
10589
|
-
padding: 0.5
|
|
10599
|
+
borderRadius: "xl"
|
|
10590
10600
|
}
|
|
10591
10601
|
},
|
|
10592
10602
|
lg: {
|
|
10593
10603
|
root: {
|
|
10594
|
-
"--switch-width": "4.
|
|
10595
|
-
"--switch-height": "
|
|
10604
|
+
"--switch-width": "4.5rem",
|
|
10605
|
+
"--switch-height": "1.875rem"
|
|
10596
10606
|
},
|
|
10597
10607
|
control: {
|
|
10598
|
-
borderRadius: "2xl"
|
|
10599
|
-
padding: 0.5
|
|
10608
|
+
borderRadius: "2xl"
|
|
10600
10609
|
}
|
|
10601
10610
|
}
|
|
10602
10611
|
}
|
|
@@ -11114,22 +11123,22 @@ var borders = defineTokens.borders({
|
|
|
11114
11123
|
value: "0"
|
|
11115
11124
|
},
|
|
11116
11125
|
sm: {
|
|
11117
|
-
value: `${
|
|
11126
|
+
value: `${tokens22__default.size.stroke.sm} solid`
|
|
11118
11127
|
},
|
|
11119
11128
|
"sm-dashed": {
|
|
11120
|
-
value: `${
|
|
11129
|
+
value: `${tokens22__default.size.stroke.sm} dashed`
|
|
11121
11130
|
},
|
|
11122
11131
|
md: {
|
|
11123
|
-
value: `${
|
|
11132
|
+
value: `${tokens22__default.size.stroke.md} solid`
|
|
11124
11133
|
},
|
|
11125
11134
|
"md-dashed": {
|
|
11126
|
-
value: `${
|
|
11135
|
+
value: `${tokens22__default.size.stroke.md} dashed`
|
|
11127
11136
|
},
|
|
11128
11137
|
lg: {
|
|
11129
|
-
value: `${
|
|
11138
|
+
value: `${tokens22__default.size.stroke.lg} solid`
|
|
11130
11139
|
},
|
|
11131
11140
|
"lg-dashed": {
|
|
11132
|
-
value: `${
|
|
11141
|
+
value: `${tokens22__default.size.stroke.lg} dashed`
|
|
11133
11142
|
}
|
|
11134
11143
|
});
|
|
11135
11144
|
var colors = defineTokens.colors({
|
|
@@ -11201,33 +11210,33 @@ var easings = defineTokens.easings({
|
|
|
11201
11210
|
}
|
|
11202
11211
|
});
|
|
11203
11212
|
var fontSizes = defineTokens.fontSizes({
|
|
11204
|
-
"2xs": { value:
|
|
11205
|
-
xs: { value:
|
|
11206
|
-
sm: { value:
|
|
11207
|
-
md: { value:
|
|
11208
|
-
lg: { value:
|
|
11209
|
-
xl: { value:
|
|
11210
|
-
"2xl": { value:
|
|
11211
|
-
"3xl": { value:
|
|
11213
|
+
"2xs": { value: tokens22__default.size.font.xs.mobile },
|
|
11214
|
+
xs: { value: tokens22__default.size.font.sm.mobile },
|
|
11215
|
+
sm: { value: tokens22__default.size.font.md.mobile },
|
|
11216
|
+
md: { value: tokens22__default.size.font.lg.mobile },
|
|
11217
|
+
lg: { value: tokens22__default.size.font.xl.mobile },
|
|
11218
|
+
xl: { value: tokens22__default.size.font.xxl.mobile },
|
|
11219
|
+
"2xl": { value: tokens22__default.size.font.xl.desktop },
|
|
11220
|
+
"3xl": { value: tokens22__default.size.font.xxl.desktop },
|
|
11212
11221
|
mobile: {
|
|
11213
|
-
"2xs": { value:
|
|
11214
|
-
xs: { value:
|
|
11215
|
-
sm: { value:
|
|
11216
|
-
md: { value:
|
|
11217
|
-
"md-lg": { value:
|
|
11218
|
-
lg: { value:
|
|
11219
|
-
xl: { value:
|
|
11220
|
-
xxl: { value:
|
|
11222
|
+
"2xs": { value: tokens22__default.size.font["2xs"].mobile },
|
|
11223
|
+
xs: { value: tokens22__default.size.font.xs.mobile },
|
|
11224
|
+
sm: { value: tokens22__default.size.font.sm.mobile },
|
|
11225
|
+
md: { value: tokens22__default.size.font.md.mobile },
|
|
11226
|
+
"md-lg": { value: tokens22__default.size.font["md-lg"].mobile },
|
|
11227
|
+
lg: { value: tokens22__default.size.font.lg.mobile },
|
|
11228
|
+
xl: { value: tokens22__default.size.font.xl.mobile },
|
|
11229
|
+
xxl: { value: tokens22__default.size.font.xxl.mobile }
|
|
11221
11230
|
},
|
|
11222
11231
|
desktop: {
|
|
11223
|
-
"2xs": { value:
|
|
11224
|
-
xs: { value:
|
|
11225
|
-
sm: { value:
|
|
11226
|
-
md: { value:
|
|
11227
|
-
"md-lg": { value:
|
|
11228
|
-
lg: { value:
|
|
11229
|
-
xl: { value:
|
|
11230
|
-
xxl: { value:
|
|
11232
|
+
"2xs": { value: tokens22__default.size.font["2xs"].desktop },
|
|
11233
|
+
xs: { value: tokens22__default.size.font.xs.desktop },
|
|
11234
|
+
sm: { value: tokens22__default.size.font.sm.desktop },
|
|
11235
|
+
md: { value: tokens22__default.size.font.md.desktop },
|
|
11236
|
+
"md-lg": { value: tokens22__default.size.font["md-lg"].desktop },
|
|
11237
|
+
lg: { value: tokens22__default.size.font.lg.desktop },
|
|
11238
|
+
xl: { value: tokens22__default.size.font.xl.desktop },
|
|
11239
|
+
xxl: { value: tokens22__default.size.font.xxl.desktop }
|
|
11231
11240
|
}
|
|
11232
11241
|
});
|
|
11233
11242
|
var fontWeights = defineTokens.fontWeights({
|
|
@@ -11260,9 +11269,9 @@ var fontWeights = defineTokens.fontWeights({
|
|
|
11260
11269
|
}
|
|
11261
11270
|
});
|
|
11262
11271
|
var fonts = defineTokens.fonts({
|
|
11263
|
-
body: { value: `${
|
|
11264
|
-
heading: { value: `${
|
|
11265
|
-
mono: { value: `${
|
|
11272
|
+
body: { value: `${tokens22__default.font.family.body}, arial, sans-serif` },
|
|
11273
|
+
heading: { value: `${tokens22__default.font.family.heading}, arial, sans-serif` },
|
|
11274
|
+
mono: { value: `${tokens22__default.font.family.monospace}, monospace` }
|
|
11266
11275
|
});
|
|
11267
11276
|
var letterSpacings = defineTokens.letterSpacings({
|
|
11268
11277
|
tighter: {
|
|
@@ -11299,32 +11308,32 @@ var lineHeights = defineTokens.lineHeights({
|
|
|
11299
11308
|
}
|
|
11300
11309
|
});
|
|
11301
11310
|
var radii2 = defineTokens.radii({
|
|
11302
|
-
none: { value:
|
|
11303
|
-
xs: { value:
|
|
11304
|
-
sm: { value:
|
|
11305
|
-
md: { value:
|
|
11306
|
-
lg: { value:
|
|
11307
|
-
xl: { value:
|
|
11308
|
-
"2xl": { value:
|
|
11311
|
+
none: { value: tokens22__default.size["border-radius"].none },
|
|
11312
|
+
xs: { value: tokens22__default.size["border-radius"].xs },
|
|
11313
|
+
sm: { value: tokens22__default.size["border-radius"].sm },
|
|
11314
|
+
md: { value: tokens22__default.size["border-radius"].md },
|
|
11315
|
+
lg: { value: tokens22__default.size["border-radius"].lg },
|
|
11316
|
+
xl: { value: tokens22__default.size["border-radius"].xl },
|
|
11317
|
+
"2xl": { value: tokens22__default.size["border-radius"]["2xl"] },
|
|
11309
11318
|
round: { value: "50%" }
|
|
11310
11319
|
});
|
|
11311
11320
|
var spacing = defineTokens.spacing({
|
|
11312
|
-
0: { value:
|
|
11313
|
-
0.5: { value:
|
|
11314
|
-
1: { value:
|
|
11315
|
-
1.5: { value:
|
|
11316
|
-
2: { value:
|
|
11317
|
-
3: { value:
|
|
11318
|
-
4: { value:
|
|
11319
|
-
5: { value:
|
|
11320
|
-
6: { value:
|
|
11321
|
-
7: { value:
|
|
11322
|
-
8: { value:
|
|
11323
|
-
9: { value:
|
|
11324
|
-
10: { value:
|
|
11325
|
-
11: { value:
|
|
11326
|
-
12: { value:
|
|
11327
|
-
13: { value:
|
|
11321
|
+
0: { value: tokens22__default.size.spacing["0"] },
|
|
11322
|
+
0.5: { value: tokens22__default.size.spacing["0.5"] },
|
|
11323
|
+
1: { value: tokens22__default.size.spacing["1"] },
|
|
11324
|
+
1.5: { value: tokens22__default.size.spacing["1.5"] },
|
|
11325
|
+
2: { value: tokens22__default.size.spacing["2"] },
|
|
11326
|
+
3: { value: tokens22__default.size.spacing["3"] },
|
|
11327
|
+
4: { value: tokens22__default.size.spacing["4"] },
|
|
11328
|
+
5: { value: tokens22__default.size.spacing["5"] },
|
|
11329
|
+
6: { value: tokens22__default.size.spacing["6"] },
|
|
11330
|
+
7: { value: tokens22__default.size.spacing["7"] },
|
|
11331
|
+
8: { value: tokens22__default.size.spacing["8"] },
|
|
11332
|
+
9: { value: tokens22__default.size.spacing["9"] },
|
|
11333
|
+
10: { value: tokens22__default.size.spacing["10"] },
|
|
11334
|
+
11: { value: tokens22__default.size.spacing["11"] },
|
|
11335
|
+
12: { value: tokens22__default.size.spacing["12"] },
|
|
11336
|
+
13: { value: tokens22__default.size.spacing["13"] }
|
|
11328
11337
|
});
|
|
11329
11338
|
|
|
11330
11339
|
// src/theme/tokens/sizes.ts
|
|
@@ -11361,10 +11370,10 @@ var namedSizes = defineTokens.sizes({
|
|
|
11361
11370
|
});
|
|
11362
11371
|
var container = defineTokens.sizes({
|
|
11363
11372
|
base: { value: 0 },
|
|
11364
|
-
sm: { value:
|
|
11365
|
-
md: { value:
|
|
11366
|
-
lg: { value:
|
|
11367
|
-
xl: { value:
|
|
11373
|
+
sm: { value: tokens22__default.size.breakpoint.sm },
|
|
11374
|
+
md: { value: tokens22__default.size.breakpoint.md },
|
|
11375
|
+
lg: { value: tokens22__default.size.breakpoint.lg },
|
|
11376
|
+
xl: { value: tokens22__default.size.breakpoint.xl }
|
|
11368
11377
|
});
|
|
11369
11378
|
var sizes = {
|
|
11370
11379
|
...largeSizes,
|
|
@@ -11373,22 +11382,22 @@ var sizes = {
|
|
|
11373
11382
|
container
|
|
11374
11383
|
};
|
|
11375
11384
|
var zIndex = defineTokens.zIndex({
|
|
11376
|
-
hide: { value:
|
|
11385
|
+
hide: { value: tokens22__default.depth["z-index"].hide },
|
|
11377
11386
|
auto: { value: "auto" },
|
|
11378
|
-
base: { value:
|
|
11379
|
-
docked: { value:
|
|
11380
|
-
dropdown: { value:
|
|
11381
|
-
sticky: { value:
|
|
11382
|
-
banner: { value:
|
|
11383
|
-
overlay: { value:
|
|
11384
|
-
modal: { value:
|
|
11385
|
-
popover: { value:
|
|
11386
|
-
skipLink: { value:
|
|
11387
|
-
toast: { value:
|
|
11387
|
+
base: { value: tokens22__default.depth["z-index"].base },
|
|
11388
|
+
docked: { value: tokens22__default.depth["z-index"].docked },
|
|
11389
|
+
dropdown: { value: tokens22__default.depth["z-index"].dropdown },
|
|
11390
|
+
sticky: { value: tokens22__default.depth["z-index"].sticky },
|
|
11391
|
+
banner: { value: tokens22__default.depth["z-index"].banner },
|
|
11392
|
+
overlay: { value: tokens22__default.depth["z-index"].overlay },
|
|
11393
|
+
modal: { value: tokens22__default.depth["z-index"].modal },
|
|
11394
|
+
popover: { value: tokens22__default.depth["z-index"].popover },
|
|
11395
|
+
skipLink: { value: tokens22__default.depth["z-index"].skipLink },
|
|
11396
|
+
toast: { value: tokens22__default.depth["z-index"].toast }
|
|
11388
11397
|
});
|
|
11389
11398
|
|
|
11390
11399
|
// src/theme/tokens/index.ts
|
|
11391
|
-
var
|
|
11400
|
+
var tokens20 = {
|
|
11392
11401
|
aspectRatios,
|
|
11393
11402
|
animations,
|
|
11394
11403
|
blurs,
|
|
@@ -11456,10 +11465,10 @@ var animationStyles = defineAnimationStyles({
|
|
|
11456
11465
|
}
|
|
11457
11466
|
});
|
|
11458
11467
|
var breakpoints = {
|
|
11459
|
-
sm:
|
|
11460
|
-
md:
|
|
11461
|
-
lg:
|
|
11462
|
-
xl:
|
|
11468
|
+
sm: tokens22__default.size.breakpoint.sm,
|
|
11469
|
+
md: tokens22__default.size.breakpoint.md,
|
|
11470
|
+
lg: tokens22__default.size.breakpoint.lg,
|
|
11471
|
+
xl: tokens22__default.size.breakpoint.xl
|
|
11463
11472
|
};
|
|
11464
11473
|
|
|
11465
11474
|
// src/theme/tokens/config.ts
|
|
@@ -11749,91 +11758,91 @@ var textStyles = defineTextStyles({
|
|
|
11749
11758
|
xxl: {
|
|
11750
11759
|
value: {
|
|
11751
11760
|
fontSize: [
|
|
11752
|
-
|
|
11753
|
-
|
|
11761
|
+
tokens22__default.font.style.xxl["font-size"].mobile,
|
|
11762
|
+
tokens22__default.font.style.xxl["font-size"].desktop
|
|
11754
11763
|
],
|
|
11755
|
-
fontFamily:
|
|
11756
|
-
lineHeight:
|
|
11764
|
+
fontFamily: tokens22__default.font.style.xxl["font-family"],
|
|
11765
|
+
lineHeight: tokens22__default.font.style.xxl["line-height"]
|
|
11757
11766
|
}
|
|
11758
11767
|
},
|
|
11759
11768
|
"xl-display": {
|
|
11760
11769
|
value: {
|
|
11761
11770
|
fontSize: [
|
|
11762
|
-
|
|
11763
|
-
|
|
11771
|
+
tokens22__default.font.style["xl-display"]["font-size"].mobile,
|
|
11772
|
+
tokens22__default.font.style["xl-display"]["font-size"].desktop
|
|
11764
11773
|
],
|
|
11765
|
-
fontFamily:
|
|
11766
|
-
lineHeight:
|
|
11774
|
+
fontFamily: tokens22__default.font.style["xl-display"]["font-family"],
|
|
11775
|
+
lineHeight: tokens22__default.font.style["xl-display"]["line-height"]
|
|
11767
11776
|
}
|
|
11768
11777
|
},
|
|
11769
11778
|
"xl-sans": {
|
|
11770
11779
|
value: {
|
|
11771
11780
|
fontSize: [
|
|
11772
|
-
|
|
11773
|
-
|
|
11781
|
+
tokens22__default.font.style["xl-sans"]["font-size"].mobile,
|
|
11782
|
+
tokens22__default.font.style["xl-sans"]["font-size"].desktop
|
|
11774
11783
|
],
|
|
11775
|
-
fontFamily:
|
|
11776
|
-
lineHeight:
|
|
11784
|
+
fontFamily: tokens22__default.font.style["xl-sans"]["font-family"],
|
|
11785
|
+
lineHeight: tokens22__default.font.style["xl-sans"]["line-height"]
|
|
11777
11786
|
}
|
|
11778
11787
|
},
|
|
11779
11788
|
lg: {
|
|
11780
11789
|
value: {
|
|
11781
11790
|
fontSize: [
|
|
11782
|
-
|
|
11783
|
-
|
|
11791
|
+
tokens22__default.font.style.lg["font-size"].mobile,
|
|
11792
|
+
tokens22__default.font.style.lg["font-size"].desktop
|
|
11784
11793
|
],
|
|
11785
|
-
fontFamily:
|
|
11786
|
-
lineHeight:
|
|
11794
|
+
fontFamily: tokens22__default.font.style.lg["font-family"],
|
|
11795
|
+
lineHeight: tokens22__default.font.style.lg["line-height"]
|
|
11787
11796
|
}
|
|
11788
11797
|
},
|
|
11789
11798
|
"md-lg": {
|
|
11790
11799
|
value: {
|
|
11791
11800
|
fontSize: [
|
|
11792
|
-
|
|
11793
|
-
|
|
11801
|
+
tokens22__default.font.style["md-lg"]["font-size"].mobile,
|
|
11802
|
+
tokens22__default.font.style["md-lg"]["font-size"].desktop
|
|
11794
11803
|
],
|
|
11795
|
-
fontFamily:
|
|
11796
|
-
lineHeight:
|
|
11804
|
+
fontFamily: tokens22__default.font.style["md-lg"]["font-family"],
|
|
11805
|
+
lineHeight: tokens22__default.font.style["md-lg"]["line-height"]
|
|
11797
11806
|
}
|
|
11798
11807
|
},
|
|
11799
11808
|
md: {
|
|
11800
11809
|
value: {
|
|
11801
11810
|
fontSize: [
|
|
11802
|
-
|
|
11803
|
-
|
|
11811
|
+
tokens22__default.font.style.md["font-size"].mobile,
|
|
11812
|
+
tokens22__default.font.style.md["font-size"].desktop
|
|
11804
11813
|
],
|
|
11805
|
-
fontFamily:
|
|
11806
|
-
lineHeight:
|
|
11814
|
+
fontFamily: tokens22__default.font.style.md["font-family"],
|
|
11815
|
+
lineHeight: tokens22__default.font.style.md["line-height"]
|
|
11807
11816
|
}
|
|
11808
11817
|
},
|
|
11809
11818
|
sm: {
|
|
11810
11819
|
value: {
|
|
11811
11820
|
fontSize: [
|
|
11812
|
-
|
|
11813
|
-
|
|
11821
|
+
tokens22__default.font.style.sm["font-size"].mobile,
|
|
11822
|
+
tokens22__default.font.style.sm["font-size"].desktop
|
|
11814
11823
|
],
|
|
11815
|
-
fontFamily:
|
|
11816
|
-
lineHeight:
|
|
11824
|
+
fontFamily: tokens22__default.font.style.sm["font-family"],
|
|
11825
|
+
lineHeight: tokens22__default.font.style.sm["line-height"]
|
|
11817
11826
|
}
|
|
11818
11827
|
},
|
|
11819
11828
|
xs: {
|
|
11820
11829
|
value: {
|
|
11821
11830
|
fontSize: [
|
|
11822
|
-
|
|
11823
|
-
|
|
11831
|
+
tokens22__default.font.style.xs["font-size"].mobile,
|
|
11832
|
+
tokens22__default.font.style.xs["font-size"].desktop
|
|
11824
11833
|
],
|
|
11825
|
-
fontFamily:
|
|
11826
|
-
lineHeight:
|
|
11834
|
+
fontFamily: tokens22__default.font.style.xs["font-family"],
|
|
11835
|
+
lineHeight: tokens22__default.font.style.xs["line-height"]
|
|
11827
11836
|
}
|
|
11828
11837
|
},
|
|
11829
11838
|
"2xs": {
|
|
11830
11839
|
value: {
|
|
11831
11840
|
fontSize: [
|
|
11832
|
-
|
|
11833
|
-
|
|
11841
|
+
tokens22__default.font.style["2xs"]["font-size"].mobile,
|
|
11842
|
+
tokens22__default.font.style["2xs"]["font-size"].desktop
|
|
11834
11843
|
],
|
|
11835
|
-
fontFamily:
|
|
11836
|
-
lineHeight:
|
|
11844
|
+
fontFamily: tokens22__default.font.style["2xs"]["font-family"],
|
|
11845
|
+
lineHeight: tokens22__default.font.style["2xs"]["line-height"]
|
|
11837
11846
|
}
|
|
11838
11847
|
}
|
|
11839
11848
|
});
|
|
@@ -11844,7 +11853,7 @@ var generateTheme = (brand) => {
|
|
|
11844
11853
|
theme: {
|
|
11845
11854
|
breakpoints,
|
|
11846
11855
|
keyframes,
|
|
11847
|
-
tokens:
|
|
11856
|
+
tokens: tokens20,
|
|
11848
11857
|
semanticTokens: semanticTokens[brand],
|
|
11849
11858
|
recipes,
|
|
11850
11859
|
slotRecipes,
|