@vygruppen/spor-react 12.14.0 → 12.14.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 +2 -2
- package/CHANGELOG.md +17 -0
- package/dist/index.cjs +110 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +111 -59
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/alert/ServiceAlert.tsx +4 -11
- package/src/button/ResponsiveButton.tsx +27 -0
- package/src/datepicker/CalendarHeader.tsx +6 -4
- package/src/datepicker/DateField.tsx +1 -5
- package/src/dialog/Drawer.tsx +18 -24
- package/src/input/Field.tsx +1 -1
- package/src/input/ListBox.tsx +6 -2
- package/src/input/Switch.tsx +1 -1
- package/src/stepper/StepperStep.tsx +0 -1
- package/src/theme/slot-recipes/accordion.ts +6 -6
- package/src/theme/slot-recipes/alert-service.ts +23 -8
- package/src/theme/slot-recipes/choice-chip.ts +17 -3
- package/src/theme/slot-recipes/datepicker.ts +1 -1
- package/src/theme/slot-recipes/drawer.ts +2 -1
- package/src/theme/slot-recipes/line-icon.ts +4 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.14.
|
2
|
+
> @vygruppen/spor-react@12.14.2 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> tsup
|
4
4
|
|
5
5
|
CLI Building entry: src/index.tsx, src/icons/index.tsx
|
@@ -11,18 +11,18 @@ CLI Cleaning output folder
|
|
11
11
|
ESM Build start
|
12
12
|
CJS Build start
|
13
13
|
DTS Build start
|
14
|
-
|
15
|
-
CJS dist/icons/index.cjs 381.00 B
|
16
|
-
CJS dist/index.cjs.map 636.92 KB
|
17
|
-
CJS dist/icons/index.cjs.map 157.00 B
|
18
|
-
CJS ⚡️ Build success in 2691ms
|
19
|
-
ESM dist/index.mjs 298.29 KB
|
14
|
+
ESM dist/index.mjs 298.93 KB
|
20
15
|
ESM dist/icons/index.mjs 110.00 B
|
21
|
-
ESM dist/index.mjs.map 636.92 KB
|
22
16
|
ESM dist/icons/index.mjs.map 157.00 B
|
23
|
-
ESM
|
24
|
-
|
17
|
+
ESM dist/index.mjs.map 638.54 KB
|
18
|
+
ESM ⚡️ Build success in 2541ms
|
19
|
+
CJS dist/index.cjs 320.53 KB
|
20
|
+
CJS dist/icons/index.cjs 381.00 B
|
21
|
+
CJS dist/icons/index.cjs.map 157.00 B
|
22
|
+
CJS dist/index.cjs.map 638.54 KB
|
23
|
+
CJS ⚡️ Build success in 2541ms
|
24
|
+
DTS ⚡️ Build success in 18296ms
|
25
25
|
DTS dist/icons/index.d.ts 44.00 B
|
26
|
-
DTS dist/index.d.ts 157.
|
26
|
+
DTS dist/index.d.ts 157.08 KB
|
27
27
|
DTS dist/icons/index.d.cts 44.00 B
|
28
|
-
DTS dist/index.d.cts 157.
|
28
|
+
DTS dist/index.d.cts 157.08 KB
|
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.14.
|
2
|
+
> @vygruppen/spor-react@12.14.2 postinstall /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> chakra typegen src/theme/index.ts
|
4
4
|
|
5
|
-
[dotenv@17.2.2] injecting env (0) from .env -- tip:
|
5
|
+
[dotenv@17.2.2] injecting env (0) from .env -- tip: ⚙️ enable debug logging with { debug: true }
|
6
6
|
[90m┌[39m Chakra CLI ⚡️
|
7
7
|
[?25l[90m│[39m
|
8
8
|
[35m◒[39m Generating conditions types...
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.14.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 02bdd99: Fix issue where switch without label has empty space on right
|
8
|
+
- 2b611fa: Fix layout on full screen drawer header.
|
9
|
+
|
10
|
+
## 12.14.1
|
11
|
+
|
12
|
+
### Patch Changes
|
13
|
+
|
14
|
+
- f582d9c: Resolved padding and overflow issues in the ServiceAlert component
|
15
|
+
|
16
|
+
Also adjust some stylings that were inconsistent with figma for other components.
|
17
|
+
|
18
|
+
- 86345da: Correct icon color for alt-transport LineTags.
|
19
|
+
|
3
20
|
## 12.14.0
|
4
21
|
|
5
22
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
@@ -1228,15 +1228,7 @@ var ServiceAlert = React27.forwardRef(
|
|
1228
1228
|
]
|
1229
1229
|
}
|
1230
1230
|
) }),
|
1231
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemContent, {
|
1232
|
-
react.Accordion.ItemBody,
|
1233
|
-
{
|
1234
|
-
as: react.Stack,
|
1235
|
-
width: contentWidth,
|
1236
|
-
css: styles.itemBody,
|
1237
|
-
children
|
1238
|
-
}
|
1239
|
-
) }) })
|
1231
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemContent, { css: styles.itemContent, children: /* @__PURE__ */ jsxRuntime.jsx(react.Accordion.ItemBody, { maxWidth: contentWidth, css: styles.itemBody, children }) })
|
1240
1232
|
] })
|
1241
1233
|
}
|
1242
1234
|
);
|
@@ -1404,7 +1396,7 @@ var Field3 = React27__namespace.forwardRef(
|
|
1404
1396
|
]
|
1405
1397
|
}
|
1406
1398
|
),
|
1407
|
-
helperText && /* @__PURE__ */ jsxRuntime.jsx(Text3, {
|
1399
|
+
helperText && /* @__PURE__ */ jsxRuntime.jsx(Text3, { variant: "sm", color: "text.tertiary", children: helperText })
|
1408
1400
|
] });
|
1409
1401
|
}
|
1410
1402
|
);
|
@@ -1637,10 +1629,10 @@ var CalendarNavigator = ({
|
|
1637
1629
|
}
|
1638
1630
|
),
|
1639
1631
|
/* @__PURE__ */ jsxRuntime.jsx(
|
1640
|
-
|
1632
|
+
Text3,
|
1641
1633
|
{
|
1642
1634
|
role: "heading",
|
1643
|
-
|
1635
|
+
variant: "md",
|
1644
1636
|
fontWeight: "bold",
|
1645
1637
|
flex: "1",
|
1646
1638
|
textAlign: "center",
|
@@ -1821,19 +1813,11 @@ var DateField = React27.forwardRef(
|
|
1821
1813
|
css: styles.inputLabel,
|
1822
1814
|
position: "absolute",
|
1823
1815
|
paddingTop: "2px",
|
1824
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
...props.labelProps,
|
1830
|
-
children: [
|
1831
|
-
props.label,
|
1832
|
-
" ",
|
1833
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Field.RequiredIndicator, {})
|
1834
|
-
]
|
1835
|
-
}
|
1836
|
-
)
|
1816
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(Label, { padding: "0", ...props.labelProps, children: [
|
1817
|
+
props.label,
|
1818
|
+
" ",
|
1819
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Field.RequiredIndicator, {})
|
1820
|
+
] })
|
1837
1821
|
}
|
1838
1822
|
),
|
1839
1823
|
/* @__PURE__ */ jsxRuntime.jsx(react.Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
@@ -2391,6 +2375,20 @@ var DialogTitle = react.Dialog.Title;
|
|
2391
2375
|
var DialogDescription = react.Dialog.Description;
|
2392
2376
|
var DialogTrigger = react.Dialog.Trigger;
|
2393
2377
|
var DialogActionTrigger = react.Dialog.ActionTrigger;
|
2378
|
+
var ResponsiveButton = ({ label, icon, ...props }) => {
|
2379
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
2380
|
+
/* @__PURE__ */ jsxRuntime.jsx(Button, { display: ["none", "flex"], leftIcon: icon, ...props, children: label }),
|
2381
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
2382
|
+
IconButton,
|
2383
|
+
{
|
2384
|
+
display: ["flex", "none"],
|
2385
|
+
"aria-label": label,
|
2386
|
+
icon,
|
2387
|
+
...props
|
2388
|
+
}
|
2389
|
+
)
|
2390
|
+
] });
|
2391
|
+
};
|
2394
2392
|
var [RootDrawerProvider, useRootDrawerProps] = react.createContext({
|
2395
2393
|
name: "RootDrawerProvider"
|
2396
2394
|
});
|
@@ -2437,20 +2435,37 @@ CloseDrawerLine.displayName = "CloseDrawerLine";
|
|
2437
2435
|
var DrawerCloseTrigger = React27.forwardRef(function DrawerCloseTrigger2(props, ref) {
|
2438
2436
|
const { size } = useRootDrawerProps();
|
2439
2437
|
const { t } = useTranslation();
|
2440
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Drawer.CloseTrigger, { ref, ...props, asChild: true, children: size === "full" ? /* @__PURE__ */ jsxRuntime.jsx(
|
2438
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Drawer.CloseTrigger, { ref, ...props, asChild: true, children: size === "full" ? /* @__PURE__ */ jsxRuntime.jsx(
|
2439
|
+
ResponsiveButton,
|
2440
|
+
{
|
2441
|
+
variant: "ghost",
|
2442
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(sporIconReact.CloseFill24Icon, {}),
|
2443
|
+
label: t(texts12.close)
|
2444
|
+
}
|
2445
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(CloseButton, { size: "md" }) });
|
2441
2446
|
});
|
2442
2447
|
var DrawerBackTrigger = React27.forwardRef((props, ref) => {
|
2443
2448
|
const { t } = useTranslation();
|
2444
|
-
return /* @__PURE__ */ jsxRuntime.jsx(react.Drawer.CloseTrigger, { asChild: true, ...props, ref,
|
2449
|
+
return /* @__PURE__ */ jsxRuntime.jsx(react.Drawer.CloseTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ jsxRuntime.jsx(
|
2450
|
+
ResponsiveButton,
|
2451
|
+
{
|
2452
|
+
variant: "ghost",
|
2453
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(sporIconReact.ArrowLeftFill24Icon, {}),
|
2454
|
+
label: t(texts12.back)
|
2455
|
+
}
|
2456
|
+
) });
|
2445
2457
|
});
|
2446
2458
|
DrawerBackTrigger.displayName = "DrawerBackTrigger";
|
2447
2459
|
var DrawerFullScreenHeader = React27.forwardRef((props, ref) => {
|
2448
2460
|
const { backTrigger = true, closeTrigger = true, children } = props;
|
2449
|
-
return /* @__PURE__ */ jsxRuntime.
|
2450
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.
|
2451
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
2452
|
-
|
2453
|
-
|
2461
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(react.Drawer.Header, { ...props, ref, children: [
|
2462
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Box, { children: backTrigger && /* @__PURE__ */ jsxRuntime.jsx(DrawerBackTrigger, {}) }),
|
2463
|
+
/* @__PURE__ */ jsxRuntime.jsx(DrawerTitle, { children }),
|
2464
|
+
/* @__PURE__ */ jsxRuntime.jsxs(react.Box, { children: [
|
2465
|
+
" ",
|
2466
|
+
closeTrigger && /* @__PURE__ */ jsxRuntime.jsx(DrawerCloseTrigger, {})
|
2467
|
+
] })
|
2468
|
+
] });
|
2454
2469
|
});
|
2455
2470
|
DrawerFullScreenHeader.displayName = "DrawerFullScreenHeader";
|
2456
2471
|
var Drawer = (props) => {
|
@@ -2948,7 +2963,15 @@ function ItemDescription({ children }) {
|
|
2948
2963
|
const { descriptionProps } = useOptionContext();
|
2949
2964
|
const recipe = react.useSlotRecipe({ key: "listbox" });
|
2950
2965
|
const styles = recipe({});
|
2951
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
2966
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
2967
|
+
react.Box,
|
2968
|
+
{
|
2969
|
+
...descriptionProps,
|
2970
|
+
css: styles,
|
2971
|
+
fontSize: ["mobile.xs", "desktop.xs"],
|
2972
|
+
children
|
2973
|
+
}
|
2974
|
+
);
|
2952
2975
|
}
|
2953
2976
|
function Option({ item, state }) {
|
2954
2977
|
const ref = React27.useRef(null);
|
@@ -3025,7 +3048,7 @@ function ListBoxSection({ section, state }) {
|
|
3025
3048
|
section.rendered && /* @__PURE__ */ jsxRuntime.jsx(
|
3026
3049
|
react.Box,
|
3027
3050
|
{
|
3028
|
-
fontSize: "mobile.
|
3051
|
+
fontSize: ["mobile.sm", "desktop.sm"],
|
3029
3052
|
color: titleColor,
|
3030
3053
|
paddingTop: 1,
|
3031
3054
|
marginTop: isFirstSection ? 0 : 2,
|
@@ -3699,7 +3722,7 @@ var Switch = React27.forwardRef(
|
|
3699
3722
|
children: [
|
3700
3723
|
/* @__PURE__ */ jsxRuntime.jsx(react.Switch.HiddenInput, { ref }),
|
3701
3724
|
/* @__PURE__ */ jsxRuntime.jsx(react.Switch.Control, { css: styles.control, children: /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Thumb, {}) }),
|
3702
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.Switch.Label, { children: label })
|
3725
|
+
label && /* @__PURE__ */ jsxRuntime.jsx(react.Switch.Label, { children: label })
|
3703
3726
|
]
|
3704
3727
|
}
|
3705
3728
|
)
|
@@ -5428,7 +5451,6 @@ var StepperStep = ({
|
|
5428
5451
|
Text3,
|
5429
5452
|
{
|
5430
5453
|
variant: "xs",
|
5431
|
-
fontSize: "1rem",
|
5432
5454
|
color: disabledTextColor,
|
5433
5455
|
cursor: "default",
|
5434
5456
|
paddingX: 2,
|
@@ -6467,13 +6489,13 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
6467
6489
|
textAlign: "left",
|
6468
6490
|
width: "full",
|
6469
6491
|
alignItems: "center",
|
6470
|
-
fontSize: ["mobile.sm",
|
6492
|
+
fontSize: ["mobile.sm", "desktop.sm"],
|
6471
6493
|
fontFamily: "body",
|
6472
6494
|
fontWeight: "bold",
|
6473
6495
|
outlineOffset: "-2px",
|
6474
|
-
paddingX: [2,
|
6475
|
-
paddingY: [1,
|
6476
|
-
minHeight: [6,
|
6496
|
+
paddingX: [2, 3],
|
6497
|
+
paddingY: [1, 1.5],
|
6498
|
+
minHeight: [6, 7],
|
6477
6499
|
cursor: "pointer",
|
6478
6500
|
_disabled: {
|
6479
6501
|
pointerEvents: "none",
|
@@ -6482,7 +6504,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
6482
6504
|
},
|
6483
6505
|
itemContent: {
|
6484
6506
|
borderBottomRadius: "sm",
|
6485
|
-
fontSize: ["mobile.sm",
|
6507
|
+
fontSize: ["mobile.sm", "desktop.sm"],
|
6486
6508
|
color: "text",
|
6487
6509
|
height: "auto",
|
6488
6510
|
overflow: "hidden",
|
@@ -6497,7 +6519,7 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
6497
6519
|
},
|
6498
6520
|
itemBody: {
|
6499
6521
|
paddingY: 2,
|
6500
|
-
paddingX: [2,
|
6522
|
+
paddingX: [2, 3]
|
6501
6523
|
},
|
6502
6524
|
itemIndicator: {
|
6503
6525
|
transition: "rotate 0.2s",
|
@@ -6799,7 +6821,8 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
|
|
6799
6821
|
display: "flex",
|
6800
6822
|
flexDirection: "column",
|
6801
6823
|
justifyContent: "center",
|
6802
|
-
padding: [2,
|
6824
|
+
padding: ["2", "3"],
|
6825
|
+
paddingBottom: "1",
|
6803
6826
|
borderBottomRadius: "md",
|
6804
6827
|
borderTopRadius: "none",
|
6805
6828
|
width: "full",
|
@@ -6815,27 +6838,37 @@ var alertServiceSlotRecipe = react.defineSlotRecipe({
|
|
6815
6838
|
}
|
6816
6839
|
},
|
6817
6840
|
itemTriggerTitle: {
|
6818
|
-
fontSize: ["
|
6841
|
+
fontSize: ["mobile.sm", "desktop.sm"]
|
6819
6842
|
},
|
6820
6843
|
notificationText: {
|
6821
6844
|
fontWeight: "400",
|
6822
|
-
fontSize: ["
|
6823
|
-
textWrap: "nowrap"
|
6845
|
+
fontSize: ["mobile.xs", "desktop.xs"],
|
6846
|
+
textWrap: "nowrap",
|
6847
|
+
color: "alert.service.text.secondary"
|
6848
|
+
},
|
6849
|
+
itemContent: {
|
6850
|
+
paddingX: ["2", "3"],
|
6851
|
+
paddingBottom: ["2", "3"],
|
6852
|
+
paddingTop: ["1", "2"]
|
6824
6853
|
},
|
6825
6854
|
itemBody: {
|
6826
6855
|
marginX: "auto",
|
6827
6856
|
padding: "0 !important",
|
6828
|
-
|
6829
|
-
|
6857
|
+
color: "alert.service.text.secondary",
|
6858
|
+
gap: 0,
|
6859
|
+
flexDirection: "column",
|
6860
|
+
display: "flex",
|
6830
6861
|
"& > p": {
|
6831
|
-
gap: 2,
|
6832
6862
|
width: "full",
|
6833
6863
|
borderBottom: "1px dashed",
|
6834
6864
|
borderColor: "outline.inverted",
|
6835
|
-
|
6836
|
-
|
6865
|
+
paddingY: ["1", "1.5"],
|
6866
|
+
_first: {
|
6867
|
+
paddingTop: 0
|
6868
|
+
},
|
6837
6869
|
_last: {
|
6838
|
-
borderBottom: "none"
|
6870
|
+
borderBottom: "none",
|
6871
|
+
paddingBottom: 0
|
6839
6872
|
}
|
6840
6873
|
}
|
6841
6874
|
}
|
@@ -6980,7 +7013,6 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
|
|
6980
7013
|
display: "inline-flex",
|
6981
7014
|
alignItems: "center",
|
6982
7015
|
boxAlign: "center",
|
6983
|
-
fontSize: "xs",
|
6984
7016
|
cursor: "pointer",
|
6985
7017
|
transitionProperty: "all",
|
6986
7018
|
borderRadius: "xl",
|
@@ -7033,8 +7065,7 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
|
|
7033
7065
|
label: {
|
7034
7066
|
display: "flex",
|
7035
7067
|
alignItems: "center",
|
7036
|
-
gap: "1"
|
7037
|
-
fontSize: "xs"
|
7068
|
+
gap: "1"
|
7038
7069
|
}
|
7039
7070
|
},
|
7040
7071
|
variants: {
|
@@ -7046,6 +7077,10 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
|
|
7046
7077
|
},
|
7047
7078
|
height: 5,
|
7048
7079
|
paddingX: 1.5
|
7080
|
+
},
|
7081
|
+
label: {
|
7082
|
+
fontSize: { base: "mobile.sm", sm: "desktop.sm" },
|
7083
|
+
fontWeight: "medium"
|
7049
7084
|
}
|
7050
7085
|
},
|
7051
7086
|
sm: {
|
@@ -7055,6 +7090,10 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
|
|
7055
7090
|
},
|
7056
7091
|
height: 6,
|
7057
7092
|
paddingX: 2
|
7093
|
+
},
|
7094
|
+
label: {
|
7095
|
+
fontSize: { base: "mobile.sm", sm: "desktop.sm" },
|
7096
|
+
fontWeight: "bold"
|
7058
7097
|
}
|
7059
7098
|
},
|
7060
7099
|
md: {
|
@@ -7064,6 +7103,10 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
|
|
7064
7103
|
},
|
7065
7104
|
height: 7,
|
7066
7105
|
paddingX: 2
|
7106
|
+
},
|
7107
|
+
label: {
|
7108
|
+
fontSize: { base: "mobile.md", sm: "desktop.md" },
|
7109
|
+
fontWeight: "bold"
|
7067
7110
|
}
|
7068
7111
|
},
|
7069
7112
|
lg: {
|
@@ -7073,6 +7116,10 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
|
|
7073
7116
|
},
|
7074
7117
|
height: 8,
|
7075
7118
|
paddingX: 3
|
7119
|
+
},
|
7120
|
+
label: {
|
7121
|
+
fontSize: { base: "mobile.md", sm: "desktop.md" },
|
7122
|
+
fontWeight: "bold"
|
7076
7123
|
}
|
7077
7124
|
}
|
7078
7125
|
},
|
@@ -7132,7 +7179,7 @@ var choiceChipSlotRecipe = react.defineSlotRecipe({
|
|
7132
7179
|
}
|
7133
7180
|
},
|
7134
7181
|
defaultVariants: {
|
7135
|
-
size: "
|
7182
|
+
size: "sm",
|
7136
7183
|
variant: "core",
|
7137
7184
|
chipType: "choice"
|
7138
7185
|
}
|
@@ -7191,7 +7238,7 @@ var datePickerSlotRecipe = react.defineSlotRecipe({
|
|
7191
7238
|
}
|
7192
7239
|
},
|
7193
7240
|
inputLabel: {
|
7194
|
-
fontSize: "mobile.xs",
|
7241
|
+
fontSize: ["mobile.xs", "desktop.xs"],
|
7195
7242
|
margin: 0,
|
7196
7243
|
cursor: "text"
|
7197
7244
|
},
|
@@ -7665,7 +7712,8 @@ var drawerSlotRecipe = react.defineSlotRecipe({
|
|
7665
7712
|
display: "flex",
|
7666
7713
|
alignItems: "center",
|
7667
7714
|
justifyContent: "space-between",
|
7668
|
-
paddingX: ["
|
7715
|
+
paddingX: ["2", null, null, "5"],
|
7716
|
+
gap: "1",
|
7669
7717
|
paddingBottom: "1"
|
7670
7718
|
},
|
7671
7719
|
body: {
|
@@ -8311,6 +8359,10 @@ var lineIconSlotRecipe = react.defineSlotRecipe({
|
|
8311
8359
|
"alt-transport": {
|
8312
8360
|
iconContainer: {
|
8313
8361
|
backgroundColor: "linjetag.altTransport"
|
8362
|
+
},
|
8363
|
+
icon: {
|
8364
|
+
// eslint-disable-next-line spor/use-semantic-tokens
|
8365
|
+
color: "darkGrey"
|
8314
8366
|
}
|
8315
8367
|
},
|
8316
8368
|
walk: {
|