@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/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { useSlotRecipe, Accordion as Accordion$1, Stack, Box, HStack, Progress, defineRecipe, chakra, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group, Badge as Badge$1, Code as Code$1, Clipboard as Clipboard$1, IconButton as IconButton$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, ClientOnly as ClientOnly$1, Field, defineStyle, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, useDialogContext, Drawer as Drawer$1,
|
1
|
+
import { useSlotRecipe, Accordion as Accordion$1, Stack, Box, HStack, Progress, defineRecipe, chakra, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group, Badge as Badge$1, Code as Code$1, Clipboard as Clipboard$1, IconButton as IconButton$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, ClientOnly as ClientOnly$1, Field, defineStyle, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, useDialogContext, Drawer as Drawer$1, usePopoverContext, Checkbox as Checkbox$1, CheckboxCard, Fieldset as Fieldset$1, InputElement, Input as Input$1, NativeSelect as NativeSelect$1, useControllableState, createListCollection, RadioGroup as RadioGroup$1, Select as Select$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, RadioCard as RadioCard$1, Separator as Separator$1, Link, List as List$1, Center, PopoverCloseTrigger, Pagination as Pagination$1, usePaginationContext, createToaster, Tabs as Tabs$1, Table as Table$1, defineSemanticTokens, defineSlotRecipe, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, Tooltip as Tooltip$1, VisuallyHidden, defineConfig, CheckboxGroup as CheckboxGroup$1, ListItem, ChakraProvider, Toaster as Toaster$1, Toast, Icon } from '@chakra-ui/react';
|
2
2
|
export { AspectRatio, Box, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, ClientOnly, Collapsible, Container, Em, Flex, For, FormatByte, FormatNumber, Grid, GridItem, HStack, Icon, Image, Kbd, LocaleProvider, Portal, Show, SimpleGrid, Spacer, Span, Stack, TableBody, TableCaption, TableCell, TableColumn, TableColumnGroup, TableColumnHeader, TableFooter, TableHeader, TableRoot, TableRow, VStack, VisuallyHidden, createIcon, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useRecipe, useSlotRecipe, useToken } from '@chakra-ui/react';
|
3
3
|
import { DropdownDownFill24Icon, CopyOutline18Icon, CheckmarkFill18Icon, CloseFill18Icon, CloseFill30Icon, CloseFill24Icon, ServiceFill24Icon, QuestionFill24Icon, ErrorOutline24Icon, ErrorFill24Icon, AltTransportFill24Icon, WarningFill24Icon, SuccessFill24Icon, InformationFill24Icon, DropdownDownFill18Icon, DropdownRightFill18Icon, CalendarOutline24Icon, ArrowLeftFill24Icon, CloseOutline24Icon, SearchOutline24Icon, InformationFill18Icon, WarningFill18Icon, ErrorFill18Icon, Forward15MediaControllerFill30Icon, Backward15MediaControllerFill30Icon, PauseMediaControllerFill24Icon, PlayMediaControllerFill24Icon, NextMediaControllerFill30Icon, PreviousMediaControllerFill30Icon, ArrowRightFill18Icon, DropdownLeftOutline18Icon, DropdownRightOutline18Icon, WalkFill30Icon, WalkFill24Icon, WalkFill18Icon, AltTransportFill30Icon, AltTransportFill18Icon, TramFill30Icon, TramFill24Icon, TramFill18Icon, SubwayFill30Icon, SubwayFill24Icon, SubwayFill18Icon, FerryFill30Icon, FerryFill24Icon, FerryFill18Icon, BusFill30Icon, BusFill24Icon, BusFill18Icon, ExpressBusFill30Icon, ExpressBusFill24Icon, ExpressBusFill18Icon, TrainFill30Icon, TrainFill24Icon, TrainFill18Icon, LinkOutOutline24Icon, LinkOutOutline18Icon, ArrowLeftOutline24Icon, ArrowRightOutline24Icon, DropdownLeftFill18Icon, SuccessFill18Icon } from '@vygruppen/spor-icon-react';
|
4
4
|
import * as React27 from 'react';
|
@@ -1208,15 +1208,7 @@ var ServiceAlert = forwardRef(
|
|
1208
1208
|
]
|
1209
1209
|
}
|
1210
1210
|
) }),
|
1211
|
-
/* @__PURE__ */ jsx(Accordion$1.ItemContent, {
|
1212
|
-
Accordion$1.ItemBody,
|
1213
|
-
{
|
1214
|
-
as: Stack,
|
1215
|
-
width: contentWidth,
|
1216
|
-
css: styles.itemBody,
|
1217
|
-
children
|
1218
|
-
}
|
1219
|
-
) }) })
|
1211
|
+
/* @__PURE__ */ jsx(Accordion$1.ItemContent, { css: styles.itemContent, children: /* @__PURE__ */ jsx(Accordion$1.ItemBody, { maxWidth: contentWidth, css: styles.itemBody, children }) })
|
1220
1212
|
] })
|
1221
1213
|
}
|
1222
1214
|
);
|
@@ -1384,7 +1376,7 @@ var Field3 = React27.forwardRef(
|
|
1384
1376
|
]
|
1385
1377
|
}
|
1386
1378
|
),
|
1387
|
-
helperText && /* @__PURE__ */ jsx(Text3, {
|
1379
|
+
helperText && /* @__PURE__ */ jsx(Text3, { variant: "sm", color: "text.tertiary", children: helperText })
|
1388
1380
|
] });
|
1389
1381
|
}
|
1390
1382
|
);
|
@@ -1617,10 +1609,10 @@ var CalendarNavigator = ({
|
|
1617
1609
|
}
|
1618
1610
|
),
|
1619
1611
|
/* @__PURE__ */ jsx(
|
1620
|
-
|
1612
|
+
Text3,
|
1621
1613
|
{
|
1622
1614
|
role: "heading",
|
1623
|
-
|
1615
|
+
variant: "md",
|
1624
1616
|
fontWeight: "bold",
|
1625
1617
|
flex: "1",
|
1626
1618
|
textAlign: "center",
|
@@ -1801,19 +1793,11 @@ var DateField = forwardRef(
|
|
1801
1793
|
css: styles.inputLabel,
|
1802
1794
|
position: "absolute",
|
1803
1795
|
paddingTop: "2px",
|
1804
|
-
children: /* @__PURE__ */ jsxs(
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
...props.labelProps,
|
1810
|
-
children: [
|
1811
|
-
props.label,
|
1812
|
-
" ",
|
1813
|
-
/* @__PURE__ */ jsx(Field.RequiredIndicator, {})
|
1814
|
-
]
|
1815
|
-
}
|
1816
|
-
)
|
1796
|
+
children: /* @__PURE__ */ jsxs(Label, { padding: "0", ...props.labelProps, children: [
|
1797
|
+
props.label,
|
1798
|
+
" ",
|
1799
|
+
/* @__PURE__ */ jsx(Field.RequiredIndicator, {})
|
1800
|
+
] })
|
1817
1801
|
}
|
1818
1802
|
),
|
1819
1803
|
/* @__PURE__ */ jsx(Flex, { ...fieldProps, ref, paddingTop: "3", paddingBottom: "0.5", children: state.segments.map((segment, i) => /* @__PURE__ */ jsx(
|
@@ -2371,6 +2355,20 @@ var DialogTitle = Dialog.Title;
|
|
2371
2355
|
var DialogDescription = Dialog.Description;
|
2372
2356
|
var DialogTrigger = Dialog.Trigger;
|
2373
2357
|
var DialogActionTrigger = Dialog.ActionTrigger;
|
2358
|
+
var ResponsiveButton = ({ label, icon, ...props }) => {
|
2359
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
2360
|
+
/* @__PURE__ */ jsx(Button, { display: ["none", "flex"], leftIcon: icon, ...props, children: label }),
|
2361
|
+
/* @__PURE__ */ jsx(
|
2362
|
+
IconButton,
|
2363
|
+
{
|
2364
|
+
display: ["flex", "none"],
|
2365
|
+
"aria-label": label,
|
2366
|
+
icon,
|
2367
|
+
...props
|
2368
|
+
}
|
2369
|
+
)
|
2370
|
+
] });
|
2371
|
+
};
|
2374
2372
|
var [RootDrawerProvider, useRootDrawerProps] = createContext$1({
|
2375
2373
|
name: "RootDrawerProvider"
|
2376
2374
|
});
|
@@ -2417,20 +2415,37 @@ CloseDrawerLine.displayName = "CloseDrawerLine";
|
|
2417
2415
|
var DrawerCloseTrigger = forwardRef(function DrawerCloseTrigger2(props, ref) {
|
2418
2416
|
const { size } = useRootDrawerProps();
|
2419
2417
|
const { t } = useTranslation();
|
2420
|
-
return /* @__PURE__ */ jsx(Drawer$1.CloseTrigger, { ref, ...props, asChild: true, children: size === "full" ? /* @__PURE__ */ jsx(
|
2418
|
+
return /* @__PURE__ */ jsx(Drawer$1.CloseTrigger, { ref, ...props, asChild: true, children: size === "full" ? /* @__PURE__ */ jsx(
|
2419
|
+
ResponsiveButton,
|
2420
|
+
{
|
2421
|
+
variant: "ghost",
|
2422
|
+
icon: /* @__PURE__ */ jsx(CloseFill24Icon, {}),
|
2423
|
+
label: t(texts12.close)
|
2424
|
+
}
|
2425
|
+
) : /* @__PURE__ */ jsx(CloseButton, { size: "md" }) });
|
2421
2426
|
});
|
2422
2427
|
var DrawerBackTrigger = forwardRef((props, ref) => {
|
2423
2428
|
const { t } = useTranslation();
|
2424
|
-
return /* @__PURE__ */ jsx(Drawer$1.CloseTrigger, { asChild: true, ...props, ref,
|
2429
|
+
return /* @__PURE__ */ jsx(Drawer$1.CloseTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ jsx(
|
2430
|
+
ResponsiveButton,
|
2431
|
+
{
|
2432
|
+
variant: "ghost",
|
2433
|
+
icon: /* @__PURE__ */ jsx(ArrowLeftFill24Icon, {}),
|
2434
|
+
label: t(texts12.back)
|
2435
|
+
}
|
2436
|
+
) });
|
2425
2437
|
});
|
2426
2438
|
DrawerBackTrigger.displayName = "DrawerBackTrigger";
|
2427
2439
|
var DrawerFullScreenHeader = forwardRef((props, ref) => {
|
2428
2440
|
const { backTrigger = true, closeTrigger = true, children } = props;
|
2429
|
-
return /* @__PURE__ */
|
2430
|
-
/* @__PURE__ */ jsx(
|
2431
|
-
/* @__PURE__ */ jsx(
|
2432
|
-
|
2433
|
-
|
2441
|
+
return /* @__PURE__ */ jsxs(Drawer$1.Header, { ...props, ref, children: [
|
2442
|
+
/* @__PURE__ */ jsx(Box, { children: backTrigger && /* @__PURE__ */ jsx(DrawerBackTrigger, {}) }),
|
2443
|
+
/* @__PURE__ */ jsx(DrawerTitle, { children }),
|
2444
|
+
/* @__PURE__ */ jsxs(Box, { children: [
|
2445
|
+
" ",
|
2446
|
+
closeTrigger && /* @__PURE__ */ jsx(DrawerCloseTrigger, {})
|
2447
|
+
] })
|
2448
|
+
] });
|
2434
2449
|
});
|
2435
2450
|
DrawerFullScreenHeader.displayName = "DrawerFullScreenHeader";
|
2436
2451
|
var Drawer = (props) => {
|
@@ -2928,7 +2943,15 @@ function ItemDescription({ children }) {
|
|
2928
2943
|
const { descriptionProps } = useOptionContext();
|
2929
2944
|
const recipe = useSlotRecipe({ key: "listbox" });
|
2930
2945
|
const styles = recipe({});
|
2931
|
-
return /* @__PURE__ */ jsx(
|
2946
|
+
return /* @__PURE__ */ jsx(
|
2947
|
+
Box,
|
2948
|
+
{
|
2949
|
+
...descriptionProps,
|
2950
|
+
css: styles,
|
2951
|
+
fontSize: ["mobile.xs", "desktop.xs"],
|
2952
|
+
children
|
2953
|
+
}
|
2954
|
+
);
|
2932
2955
|
}
|
2933
2956
|
function Option({ item, state }) {
|
2934
2957
|
const ref = useRef(null);
|
@@ -3005,7 +3028,7 @@ function ListBoxSection({ section, state }) {
|
|
3005
3028
|
section.rendered && /* @__PURE__ */ jsx(
|
3006
3029
|
Box,
|
3007
3030
|
{
|
3008
|
-
fontSize: "mobile.
|
3031
|
+
fontSize: ["mobile.sm", "desktop.sm"],
|
3009
3032
|
color: titleColor,
|
3010
3033
|
paddingTop: 1,
|
3011
3034
|
marginTop: isFirstSection ? 0 : 2,
|
@@ -3679,7 +3702,7 @@ var Switch = forwardRef(
|
|
3679
3702
|
children: [
|
3680
3703
|
/* @__PURE__ */ jsx(Switch$1.HiddenInput, { ref }),
|
3681
3704
|
/* @__PURE__ */ jsx(Switch$1.Control, { css: styles.control, children: /* @__PURE__ */ jsx(Switch$1.Thumb, {}) }),
|
3682
|
-
/* @__PURE__ */ jsx(Switch$1.Label, { children: label })
|
3705
|
+
label && /* @__PURE__ */ jsx(Switch$1.Label, { children: label })
|
3683
3706
|
]
|
3684
3707
|
}
|
3685
3708
|
)
|
@@ -5408,7 +5431,6 @@ var StepperStep = ({
|
|
5408
5431
|
Text3,
|
5409
5432
|
{
|
5410
5433
|
variant: "xs",
|
5411
|
-
fontSize: "1rem",
|
5412
5434
|
color: disabledTextColor,
|
5413
5435
|
cursor: "default",
|
5414
5436
|
paddingX: 2,
|
@@ -6447,13 +6469,13 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
6447
6469
|
textAlign: "left",
|
6448
6470
|
width: "full",
|
6449
6471
|
alignItems: "center",
|
6450
|
-
fontSize: ["mobile.sm",
|
6472
|
+
fontSize: ["mobile.sm", "desktop.sm"],
|
6451
6473
|
fontFamily: "body",
|
6452
6474
|
fontWeight: "bold",
|
6453
6475
|
outlineOffset: "-2px",
|
6454
|
-
paddingX: [2,
|
6455
|
-
paddingY: [1,
|
6456
|
-
minHeight: [6,
|
6476
|
+
paddingX: [2, 3],
|
6477
|
+
paddingY: [1, 1.5],
|
6478
|
+
minHeight: [6, 7],
|
6457
6479
|
cursor: "pointer",
|
6458
6480
|
_disabled: {
|
6459
6481
|
pointerEvents: "none",
|
@@ -6462,7 +6484,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
6462
6484
|
},
|
6463
6485
|
itemContent: {
|
6464
6486
|
borderBottomRadius: "sm",
|
6465
|
-
fontSize: ["mobile.sm",
|
6487
|
+
fontSize: ["mobile.sm", "desktop.sm"],
|
6466
6488
|
color: "text",
|
6467
6489
|
height: "auto",
|
6468
6490
|
overflow: "hidden",
|
@@ -6477,7 +6499,7 @@ var accordionSlotRecipe = defineSlotRecipe({
|
|
6477
6499
|
},
|
6478
6500
|
itemBody: {
|
6479
6501
|
paddingY: 2,
|
6480
|
-
paddingX: [2,
|
6502
|
+
paddingX: [2, 3]
|
6481
6503
|
},
|
6482
6504
|
itemIndicator: {
|
6483
6505
|
transition: "rotate 0.2s",
|
@@ -6779,7 +6801,8 @@ var alertServiceSlotRecipe = defineSlotRecipe({
|
|
6779
6801
|
display: "flex",
|
6780
6802
|
flexDirection: "column",
|
6781
6803
|
justifyContent: "center",
|
6782
|
-
padding: [2,
|
6804
|
+
padding: ["2", "3"],
|
6805
|
+
paddingBottom: "1",
|
6783
6806
|
borderBottomRadius: "md",
|
6784
6807
|
borderTopRadius: "none",
|
6785
6808
|
width: "full",
|
@@ -6795,27 +6818,37 @@ var alertServiceSlotRecipe = defineSlotRecipe({
|
|
6795
6818
|
}
|
6796
6819
|
},
|
6797
6820
|
itemTriggerTitle: {
|
6798
|
-
fontSize: ["
|
6821
|
+
fontSize: ["mobile.sm", "desktop.sm"]
|
6799
6822
|
},
|
6800
6823
|
notificationText: {
|
6801
6824
|
fontWeight: "400",
|
6802
|
-
fontSize: ["
|
6803
|
-
textWrap: "nowrap"
|
6825
|
+
fontSize: ["mobile.xs", "desktop.xs"],
|
6826
|
+
textWrap: "nowrap",
|
6827
|
+
color: "alert.service.text.secondary"
|
6828
|
+
},
|
6829
|
+
itemContent: {
|
6830
|
+
paddingX: ["2", "3"],
|
6831
|
+
paddingBottom: ["2", "3"],
|
6832
|
+
paddingTop: ["1", "2"]
|
6804
6833
|
},
|
6805
6834
|
itemBody: {
|
6806
6835
|
marginX: "auto",
|
6807
6836
|
padding: "0 !important",
|
6808
|
-
|
6809
|
-
|
6837
|
+
color: "alert.service.text.secondary",
|
6838
|
+
gap: 0,
|
6839
|
+
flexDirection: "column",
|
6840
|
+
display: "flex",
|
6810
6841
|
"& > p": {
|
6811
|
-
gap: 2,
|
6812
6842
|
width: "full",
|
6813
6843
|
borderBottom: "1px dashed",
|
6814
6844
|
borderColor: "outline.inverted",
|
6815
|
-
|
6816
|
-
|
6845
|
+
paddingY: ["1", "1.5"],
|
6846
|
+
_first: {
|
6847
|
+
paddingTop: 0
|
6848
|
+
},
|
6817
6849
|
_last: {
|
6818
|
-
borderBottom: "none"
|
6850
|
+
borderBottom: "none",
|
6851
|
+
paddingBottom: 0
|
6819
6852
|
}
|
6820
6853
|
}
|
6821
6854
|
}
|
@@ -6960,7 +6993,6 @@ var choiceChipSlotRecipe = defineSlotRecipe({
|
|
6960
6993
|
display: "inline-flex",
|
6961
6994
|
alignItems: "center",
|
6962
6995
|
boxAlign: "center",
|
6963
|
-
fontSize: "xs",
|
6964
6996
|
cursor: "pointer",
|
6965
6997
|
transitionProperty: "all",
|
6966
6998
|
borderRadius: "xl",
|
@@ -7013,8 +7045,7 @@ var choiceChipSlotRecipe = defineSlotRecipe({
|
|
7013
7045
|
label: {
|
7014
7046
|
display: "flex",
|
7015
7047
|
alignItems: "center",
|
7016
|
-
gap: "1"
|
7017
|
-
fontSize: "xs"
|
7048
|
+
gap: "1"
|
7018
7049
|
}
|
7019
7050
|
},
|
7020
7051
|
variants: {
|
@@ -7026,6 +7057,10 @@ var choiceChipSlotRecipe = defineSlotRecipe({
|
|
7026
7057
|
},
|
7027
7058
|
height: 5,
|
7028
7059
|
paddingX: 1.5
|
7060
|
+
},
|
7061
|
+
label: {
|
7062
|
+
fontSize: { base: "mobile.sm", sm: "desktop.sm" },
|
7063
|
+
fontWeight: "medium"
|
7029
7064
|
}
|
7030
7065
|
},
|
7031
7066
|
sm: {
|
@@ -7035,6 +7070,10 @@ var choiceChipSlotRecipe = defineSlotRecipe({
|
|
7035
7070
|
},
|
7036
7071
|
height: 6,
|
7037
7072
|
paddingX: 2
|
7073
|
+
},
|
7074
|
+
label: {
|
7075
|
+
fontSize: { base: "mobile.sm", sm: "desktop.sm" },
|
7076
|
+
fontWeight: "bold"
|
7038
7077
|
}
|
7039
7078
|
},
|
7040
7079
|
md: {
|
@@ -7044,6 +7083,10 @@ var choiceChipSlotRecipe = defineSlotRecipe({
|
|
7044
7083
|
},
|
7045
7084
|
height: 7,
|
7046
7085
|
paddingX: 2
|
7086
|
+
},
|
7087
|
+
label: {
|
7088
|
+
fontSize: { base: "mobile.md", sm: "desktop.md" },
|
7089
|
+
fontWeight: "bold"
|
7047
7090
|
}
|
7048
7091
|
},
|
7049
7092
|
lg: {
|
@@ -7053,6 +7096,10 @@ var choiceChipSlotRecipe = defineSlotRecipe({
|
|
7053
7096
|
},
|
7054
7097
|
height: 8,
|
7055
7098
|
paddingX: 3
|
7099
|
+
},
|
7100
|
+
label: {
|
7101
|
+
fontSize: { base: "mobile.md", sm: "desktop.md" },
|
7102
|
+
fontWeight: "bold"
|
7056
7103
|
}
|
7057
7104
|
}
|
7058
7105
|
},
|
@@ -7112,7 +7159,7 @@ var choiceChipSlotRecipe = defineSlotRecipe({
|
|
7112
7159
|
}
|
7113
7160
|
},
|
7114
7161
|
defaultVariants: {
|
7115
|
-
size: "
|
7162
|
+
size: "sm",
|
7116
7163
|
variant: "core",
|
7117
7164
|
chipType: "choice"
|
7118
7165
|
}
|
@@ -7171,7 +7218,7 @@ var datePickerSlotRecipe = defineSlotRecipe({
|
|
7171
7218
|
}
|
7172
7219
|
},
|
7173
7220
|
inputLabel: {
|
7174
|
-
fontSize: "mobile.xs",
|
7221
|
+
fontSize: ["mobile.xs", "desktop.xs"],
|
7175
7222
|
margin: 0,
|
7176
7223
|
cursor: "text"
|
7177
7224
|
},
|
@@ -7645,7 +7692,8 @@ var drawerSlotRecipe = defineSlotRecipe({
|
|
7645
7692
|
display: "flex",
|
7646
7693
|
alignItems: "center",
|
7647
7694
|
justifyContent: "space-between",
|
7648
|
-
paddingX: ["
|
7695
|
+
paddingX: ["2", null, null, "5"],
|
7696
|
+
gap: "1",
|
7649
7697
|
paddingBottom: "1"
|
7650
7698
|
},
|
7651
7699
|
body: {
|
@@ -8291,6 +8339,10 @@ var lineIconSlotRecipe = defineSlotRecipe({
|
|
8291
8339
|
"alt-transport": {
|
8292
8340
|
iconContainer: {
|
8293
8341
|
backgroundColor: "linjetag.altTransport"
|
8342
|
+
},
|
8343
|
+
icon: {
|
8344
|
+
// eslint-disable-next-line spor/use-semantic-tokens
|
8345
|
+
color: "darkGrey"
|
8294
8346
|
}
|
8295
8347
|
},
|
8296
8348
|
walk: {
|