@vygruppen/spor-react 12.4.5 → 12.4.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 +10 -10
- package/.turbo/turbo-postinstall.log +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/index.d.mts +25 -16
- package/dist/index.d.ts +25 -16
- package/dist/index.js +24 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/datepicker/TimePicker.tsx +5 -0
- package/src/linjetag/InfoTag.tsx +0 -1
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/linjetag/types.ts +1 -1
- package/src/loader/ProgressBar.tsx +3 -3
- package/src/theme/slot-recipes/accordion.ts +9 -10
- package/src/theme/slot-recipes/info-tag.ts +11 -7
- package/src/util/externals.tsx +1 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.4.
|
2
|
+
> @vygruppen/spor-react@12.4.7 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
|
@@ -10,18 +10,18 @@ CLI Target: node16
|
|
10
10
|
CJS Build start
|
11
11
|
ESM Build start
|
12
12
|
DTS Build start
|
13
|
-
ESM dist/index.mjs 290.
|
13
|
+
ESM dist/index.mjs 290.18 KB
|
14
14
|
ESM dist/icons/index.mjs 110.00 B
|
15
|
-
ESM dist/index.mjs.map 622.
|
15
|
+
ESM dist/index.mjs.map 622.39 KB
|
16
16
|
ESM dist/icons/index.mjs.map 157.00 B
|
17
|
-
ESM ⚡️ Build success in
|
17
|
+
ESM ⚡️ Build success in 2865ms
|
18
18
|
CJS dist/icons/index.js 380.00 B
|
19
|
-
CJS dist/index.js 310.
|
19
|
+
CJS dist/index.js 310.62 KB
|
20
20
|
CJS dist/icons/index.js.map 157.00 B
|
21
|
-
CJS dist/index.js.map 622.
|
22
|
-
CJS ⚡️ Build success in
|
23
|
-
DTS ⚡️ Build success in
|
21
|
+
CJS dist/index.js.map 622.39 KB
|
22
|
+
CJS ⚡️ Build success in 2866ms
|
23
|
+
DTS ⚡️ Build success in 28808ms
|
24
24
|
DTS dist/icons/index.d.ts 44.00 B
|
25
|
-
DTS dist/index.d.ts 126.
|
25
|
+
DTS dist/index.d.ts 126.45 KB
|
26
26
|
DTS dist/icons/index.d.mts 44.00 B
|
27
|
-
DTS dist/index.d.mts 126.
|
27
|
+
DTS dist/index.d.mts 126.45 KB
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.4.7
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 5b6e4fa: Export ClientOnly and fix types for ProgressBar
|
8
|
+
- 727a771: Fix variant type in timepicker
|
9
|
+
|
10
|
+
## 12.4.6
|
11
|
+
|
12
|
+
### Patch Changes
|
13
|
+
|
14
|
+
- 15b6def: TravelTag, InfoTag, LineIcon: Size is no longer required and variants have been added to recipe
|
15
|
+
- e249e04: Accordion: Fixed styling on different variants
|
16
|
+
|
3
17
|
## 12.4.5
|
4
18
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
|
|
2
2
|
import React__default, { PropsWithChildren, ReactNode } from 'react';
|
3
3
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
4
4
|
import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, InputProps as InputProps$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
|
5
|
-
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
5
|
+
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
7
7
|
import { IconComponent } from '@vygruppen/spor-icon-react';
|
8
8
|
import { ThemeProviderProps } from 'next-themes';
|
@@ -672,6 +672,11 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & FieldBasePr
|
|
672
672
|
minuteInterval?: number;
|
673
673
|
/** Whether or not the field is disabled */
|
674
674
|
disabled?: boolean;
|
675
|
+
/**
|
676
|
+
* The variant of the time picker.
|
677
|
+
* Defaults to "core".
|
678
|
+
*/
|
679
|
+
variant?: "core" | "floating" | "ghost";
|
675
680
|
};
|
676
681
|
/** A time picker component.
|
677
682
|
*
|
@@ -1855,13 +1860,17 @@ declare const StaticCard: React$1.ForwardRefExoticComponent<{
|
|
1855
1860
|
|
1856
1861
|
declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
|
1857
1862
|
variant: {
|
1858
|
-
walk: {
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
};
|
1863
|
+
walk: {};
|
1864
|
+
ferry: {};
|
1865
|
+
subway: {};
|
1866
|
+
tram: {};
|
1867
|
+
"local-train": {};
|
1868
|
+
"region-train": {};
|
1869
|
+
"region-express-train": {};
|
1870
|
+
"long-distance-train": {};
|
1871
|
+
"airport-express-train": {};
|
1872
|
+
"vy-bus": {};
|
1873
|
+
"local-bus": {};
|
1865
1874
|
};
|
1866
1875
|
size: {
|
1867
1876
|
sm: {
|
@@ -1906,7 +1915,7 @@ declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
|
|
1906
1915
|
type Variant$1 = "local-train" | "region-train" | "region-express-train" | "long-distance-train" | "airport-express-train" | "vy-bus" | "local-bus" | "ferry" | "subway" | "tram" | "alt-transport" | "walk";
|
1907
1916
|
type Size = "sm" | "md" | "lg";
|
1908
1917
|
type TagProps = VariantProps$1 & {
|
1909
|
-
size
|
1918
|
+
size?: Size;
|
1910
1919
|
title: string;
|
1911
1920
|
description?: string;
|
1912
1921
|
};
|
@@ -2078,7 +2087,7 @@ type DefaultVariantProps = {
|
|
2078
2087
|
};
|
2079
2088
|
type VariantProps = DefaultVariantProps | CustomVariantProps;
|
2080
2089
|
type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChildren<LineIconVariantProps> & {
|
2081
|
-
size
|
2090
|
+
size?: TagProps["size"];
|
2082
2091
|
foregroundColor?: string;
|
2083
2092
|
backgroundColor?: string;
|
2084
2093
|
disabled?: boolean;
|
@@ -2478,7 +2487,7 @@ declare const progressBarRecipe: _chakra_ui_react.SlotRecipeDefinition<"descript
|
|
2478
2487
|
|
2479
2488
|
type ProgressBarVariants = RecipeVariantProps<typeof progressBarRecipe>;
|
2480
2489
|
type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<ProgressBarVariants> & {
|
2481
|
-
children
|
2490
|
+
children?: React__default.ReactNode;
|
2482
2491
|
/** The height of the progress bar.
|
2483
2492
|
* Defaults to .5rem
|
2484
2493
|
**/
|
@@ -2489,12 +2498,12 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
|
|
2489
2498
|
**/
|
2490
2499
|
width?: BoxProps["width"];
|
2491
2500
|
/** Pass if no label is passed to the label */
|
2492
|
-
"aria-label"
|
2501
|
+
"aria-label"?: string;
|
2493
2502
|
/** Optional text shown below the loader.
|
2494
2503
|
*
|
2495
2504
|
* If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
|
2496
2505
|
*/
|
2497
|
-
label
|
2506
|
+
label?: string | string[];
|
2498
2507
|
/** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
|
2499
2508
|
*
|
2500
2509
|
* Defaults to 5000 (5 seconds).
|
@@ -2535,7 +2544,7 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
|
|
2535
2544
|
declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & UseProgressProps & {
|
2536
2545
|
children?: React__default.ReactNode | undefined;
|
2537
2546
|
} & {
|
2538
|
-
children
|
2547
|
+
children?: React__default.ReactNode;
|
2539
2548
|
/** The height of the progress bar.
|
2540
2549
|
* Defaults to .5rem
|
2541
2550
|
**/
|
@@ -2546,12 +2555,12 @@ declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & U
|
|
2546
2555
|
**/
|
2547
2556
|
width?: BoxProps["width"];
|
2548
2557
|
/** Pass if no label is passed to the label */
|
2549
|
-
"aria-label"
|
2558
|
+
"aria-label"?: string;
|
2550
2559
|
/** Optional text shown below the loader.
|
2551
2560
|
*
|
2552
2561
|
* If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
|
2553
2562
|
*/
|
2554
|
-
label
|
2563
|
+
label?: string | string[];
|
2555
2564
|
/** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
|
2556
2565
|
*
|
2557
2566
|
* Defaults to 5000 (5 seconds).
|
package/dist/index.d.ts
CHANGED
@@ -2,7 +2,7 @@ import * as React$1 from 'react';
|
|
2
2
|
import React__default, { PropsWithChildren, ReactNode } from 'react';
|
3
3
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
4
4
|
import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, InputProps as InputProps$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
|
5
|
-
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
5
|
+
export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
7
7
|
import { IconComponent } from '@vygruppen/spor-icon-react';
|
8
8
|
import { ThemeProviderProps } from 'next-themes';
|
@@ -672,6 +672,11 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & FieldBasePr
|
|
672
672
|
minuteInterval?: number;
|
673
673
|
/** Whether or not the field is disabled */
|
674
674
|
disabled?: boolean;
|
675
|
+
/**
|
676
|
+
* The variant of the time picker.
|
677
|
+
* Defaults to "core".
|
678
|
+
*/
|
679
|
+
variant?: "core" | "floating" | "ghost";
|
675
680
|
};
|
676
681
|
/** A time picker component.
|
677
682
|
*
|
@@ -1855,13 +1860,17 @@ declare const StaticCard: React$1.ForwardRefExoticComponent<{
|
|
1855
1860
|
|
1856
1861
|
declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
|
1857
1862
|
variant: {
|
1858
|
-
walk: {
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1863
|
-
|
1864
|
-
};
|
1863
|
+
walk: {};
|
1864
|
+
ferry: {};
|
1865
|
+
subway: {};
|
1866
|
+
tram: {};
|
1867
|
+
"local-train": {};
|
1868
|
+
"region-train": {};
|
1869
|
+
"region-express-train": {};
|
1870
|
+
"long-distance-train": {};
|
1871
|
+
"airport-express-train": {};
|
1872
|
+
"vy-bus": {};
|
1873
|
+
"local-bus": {};
|
1865
1874
|
};
|
1866
1875
|
size: {
|
1867
1876
|
sm: {
|
@@ -1906,7 +1915,7 @@ declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
|
|
1906
1915
|
type Variant$1 = "local-train" | "region-train" | "region-express-train" | "long-distance-train" | "airport-express-train" | "vy-bus" | "local-bus" | "ferry" | "subway" | "tram" | "alt-transport" | "walk";
|
1907
1916
|
type Size = "sm" | "md" | "lg";
|
1908
1917
|
type TagProps = VariantProps$1 & {
|
1909
|
-
size
|
1918
|
+
size?: Size;
|
1910
1919
|
title: string;
|
1911
1920
|
description?: string;
|
1912
1921
|
};
|
@@ -2078,7 +2087,7 @@ type DefaultVariantProps = {
|
|
2078
2087
|
};
|
2079
2088
|
type VariantProps = DefaultVariantProps | CustomVariantProps;
|
2080
2089
|
type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChildren<LineIconVariantProps> & {
|
2081
|
-
size
|
2090
|
+
size?: TagProps["size"];
|
2082
2091
|
foregroundColor?: string;
|
2083
2092
|
backgroundColor?: string;
|
2084
2093
|
disabled?: boolean;
|
@@ -2478,7 +2487,7 @@ declare const progressBarRecipe: _chakra_ui_react.SlotRecipeDefinition<"descript
|
|
2478
2487
|
|
2479
2488
|
type ProgressBarVariants = RecipeVariantProps<typeof progressBarRecipe>;
|
2480
2489
|
type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<ProgressBarVariants> & {
|
2481
|
-
children
|
2490
|
+
children?: React__default.ReactNode;
|
2482
2491
|
/** The height of the progress bar.
|
2483
2492
|
* Defaults to .5rem
|
2484
2493
|
**/
|
@@ -2489,12 +2498,12 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
|
|
2489
2498
|
**/
|
2490
2499
|
width?: BoxProps["width"];
|
2491
2500
|
/** Pass if no label is passed to the label */
|
2492
|
-
"aria-label"
|
2501
|
+
"aria-label"?: string;
|
2493
2502
|
/** Optional text shown below the loader.
|
2494
2503
|
*
|
2495
2504
|
* If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
|
2496
2505
|
*/
|
2497
|
-
label
|
2506
|
+
label?: string | string[];
|
2498
2507
|
/** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
|
2499
2508
|
*
|
2500
2509
|
* Defaults to 5000 (5 seconds).
|
@@ -2535,7 +2544,7 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
|
|
2535
2544
|
declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & UseProgressProps & {
|
2536
2545
|
children?: React__default.ReactNode | undefined;
|
2537
2546
|
} & {
|
2538
|
-
children
|
2547
|
+
children?: React__default.ReactNode;
|
2539
2548
|
/** The height of the progress bar.
|
2540
2549
|
* Defaults to .5rem
|
2541
2550
|
**/
|
@@ -2546,12 +2555,12 @@ declare const ProgressBar: React__default.ForwardRefExoticComponent<BoxProps & U
|
|
2546
2555
|
**/
|
2547
2556
|
width?: BoxProps["width"];
|
2548
2557
|
/** Pass if no label is passed to the label */
|
2549
|
-
"aria-label"
|
2558
|
+
"aria-label"?: string;
|
2550
2559
|
/** Optional text shown below the loader.
|
2551
2560
|
*
|
2552
2561
|
* If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop.
|
2553
2562
|
*/
|
2554
|
-
label
|
2563
|
+
label?: string | string[];
|
2555
2564
|
/** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop.
|
2556
2565
|
*
|
2557
2566
|
* Defaults to 5000 (5 seconds).
|
package/dist/index.js
CHANGED
@@ -4784,7 +4784,6 @@ var InfoTag = ({
|
|
4784
4784
|
}) => {
|
4785
4785
|
const recipe = react.useSlotRecipe({ key: "infoTag" });
|
4786
4786
|
const styles = recipe({
|
4787
|
-
variant,
|
4788
4787
|
size,
|
4789
4788
|
...customProps
|
4790
4789
|
});
|
@@ -6845,23 +6844,23 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
6845
6844
|
},
|
6846
6845
|
"&:hover": {
|
6847
6846
|
outlineWidth: tokens23__namespace.default.size.stroke.md,
|
6848
|
-
outlineColor: "core.outline
|
6849
|
-
outline: "solid",
|
6847
|
+
outlineColor: "core.outline",
|
6848
|
+
outline: "2px solid",
|
6850
6849
|
outlineOffset: 0
|
6851
6850
|
},
|
6852
6851
|
"&:active": {
|
6853
6852
|
backgroundColor: "core.surface.active",
|
6854
6853
|
outlineWidth: tokens23__namespace.default.size.stroke.sm,
|
6855
|
-
|
6856
|
-
outline: "solid"
|
6854
|
+
outline: "none"
|
6857
6855
|
}
|
6858
6856
|
}
|
6859
6857
|
},
|
6860
6858
|
floating: {
|
6861
6859
|
item: {
|
6862
|
-
outline: "solid",
|
6860
|
+
outline: "1px solid",
|
6863
6861
|
outlineWidth: tokens23__namespace.default.size.stroke.sm,
|
6864
|
-
|
6862
|
+
boxShadow: "sm",
|
6863
|
+
outlineColor: "floating.outline"
|
6865
6864
|
},
|
6866
6865
|
itemTrigger: {
|
6867
6866
|
_expanded: {
|
@@ -6869,15 +6868,14 @@ var accordionSlotRecipe = react.defineSlotRecipe({
|
|
6869
6868
|
},
|
6870
6869
|
"&:hover": {
|
6871
6870
|
outlineWidth: tokens23__namespace.default.size.stroke.md,
|
6871
|
+
outline: "1px solid",
|
6872
6872
|
outlineColor: "floating.outline.hover",
|
6873
|
-
|
6874
|
-
outlineOffset: 0
|
6873
|
+
outlineOffset: 1
|
6875
6874
|
},
|
6876
6875
|
"&:active": {
|
6877
6876
|
backgroundColor: "floating.surface.active",
|
6878
6877
|
outlineWidth: tokens23__namespace.default.size.stroke.sm,
|
6879
|
-
|
6880
|
-
outline: "solid"
|
6878
|
+
outline: "none"
|
6881
6879
|
}
|
6882
6880
|
}
|
6883
6881
|
}
|
@@ -8249,13 +8247,17 @@ var infoTagSlotRecipe = react.defineSlotRecipe({
|
|
8249
8247
|
},
|
8250
8248
|
variants: {
|
8251
8249
|
variant: {
|
8252
|
-
walk: {
|
8253
|
-
|
8254
|
-
|
8255
|
-
|
8256
|
-
|
8257
|
-
|
8258
|
-
}
|
8250
|
+
walk: {},
|
8251
|
+
ferry: {},
|
8252
|
+
subway: {},
|
8253
|
+
tram: {},
|
8254
|
+
"local-train": {},
|
8255
|
+
"region-train": {},
|
8256
|
+
"region-express-train": {},
|
8257
|
+
"long-distance-train": {},
|
8258
|
+
"airport-express-train": {},
|
8259
|
+
"vy-bus": {},
|
8260
|
+
"local-bus": {}
|
8259
8261
|
},
|
8260
8262
|
size: {
|
8261
8263
|
...(_a4 = travelTagSlotRecipe.variants) == null ? void 0 : _a4.size,
|
@@ -10544,6 +10546,10 @@ Object.defineProperty(exports, "Center", {
|
|
10544
10546
|
enumerable: true,
|
10545
10547
|
get: function () { return react.Center; }
|
10546
10548
|
});
|
10549
|
+
Object.defineProperty(exports, "ClientOnly", {
|
10550
|
+
enumerable: true,
|
10551
|
+
get: function () { return react.ClientOnly; }
|
10552
|
+
});
|
10547
10553
|
Object.defineProperty(exports, "Collapsible", {
|
10548
10554
|
enumerable: true,
|
10549
10555
|
get: function () { return react.Collapsible; }
|