@vygruppen/spor-react 12.4.4 → 12.4.6

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.4.4 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.4.6 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/icons/index.mjs 110.00 B
14
- ESM dist/icons/index.mjs.map 157.00 B
15
- ESM dist/index.mjs 294.81 KB
16
- ESM dist/index.mjs.map 633.53 KB
17
- ESM ⚡️ Build success in 2742ms
13
+ CJS dist/index.js 310.51 KB
18
14
  CJS dist/icons/index.js 380.00 B
15
+ CJS dist/index.js.map 622.22 KB
19
16
  CJS dist/icons/index.js.map 157.00 B
20
- CJS dist/index.js 315.09 KB
21
- CJS dist/index.js.map 633.53 KB
22
- CJS ⚡️ Build success in 2743ms
23
- DTS ⚡️ Build success in 28946ms
17
+ CJS ⚡️ Build success in 2607ms
18
+ ESM dist/index.mjs 290.17 KB
19
+ ESM dist/icons/index.mjs 110.00 B
20
+ ESM dist/index.mjs.map 622.22 KB
21
+ ESM dist/icons/index.mjs.map 157.00 B
22
+ ESM ⚡️ Build success in 2607ms
23
+ DTS ⚡️ Build success in 26071ms
24
24
  DTS dist/icons/index.d.ts 44.00 B
25
- DTS dist/index.d.ts 126.10 KB
25
+ DTS dist/index.d.ts 126.31 KB
26
26
  DTS dist/icons/index.d.mts 44.00 B
27
- DTS dist/index.d.mts 126.10 KB
27
+ DTS dist/index.d.mts 126.31 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.4.4 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.4.6 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 15b6def: TravelTag, InfoTag, LineIcon: Size is no longer required and variants have been added to recipe
8
+ - e249e04: Accordion: Fixed styling on different variants
9
+
10
+ ## 12.4.5
11
+
12
+ ### Patch Changes
13
+
14
+ - 9f9f9c0: Replace style utils with tokens for better maintainability
15
+ - @vygruppen/spor-design-tokens@4.0.7
16
+ - @vygruppen/spor-icon-react@4.1.0
17
+
3
18
  ## 12.4.4
4
19
 
5
20
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -28,7 +28,7 @@ type ExpandableItemProps = HeadingLevel & {
28
28
  };
29
29
 
30
30
  declare const Accordion: React$1.ForwardRefExoticComponent<Accordion$1.RootProps & {
31
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
31
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
32
32
  } & {
33
33
  children?: React$1.ReactNode | undefined;
34
34
  } & {
@@ -56,7 +56,7 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Accordion$1.ItemP
56
56
  * ```
57
57
  */
58
58
  declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.AccordionRootProps & {
59
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
59
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
60
60
  } & {
61
61
  children?: React$1.ReactNode | undefined;
62
62
  } & {
@@ -139,7 +139,7 @@ declare const Alert: React$1.ForwardRefExoticComponent<Omit<Alert$1.RootProps, "
139
139
  * ```
140
140
  */
141
141
  declare const ExpandableAlert: React$1.ForwardRefExoticComponent<{
142
- variant?: ConditionalValue<"error" | "alt" | "important" | "success" | "info" | undefined>;
142
+ variant?: ConditionalValue<"alt" | "error" | "important" | "success" | "info" | undefined>;
143
143
  } & {
144
144
  children?: React$1.ReactNode | undefined;
145
145
  } & Omit<Accordion$1.RootProps, "size" | "variant" | "orientation" | "value"> & {
@@ -321,7 +321,7 @@ type ButtonProps = Exclude<ButtonProps$1, "size" | "variant" | "colorPalette"> &
321
321
  href?: string;
322
322
  };
323
323
  declare const Button: React__default.ForwardRefExoticComponent<ButtonProps$1 & {
324
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "secondary" | "tertiary" | "ghost" | "primary" | undefined>;
324
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined>;
325
325
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | "xs" | undefined>;
326
326
  } & {
327
327
  children?: React__default.ReactNode | undefined;
@@ -357,7 +357,7 @@ declare const ButtonGroup: React$1.ForwardRefExoticComponent<GroupProps & {
357
357
  } & React$1.RefAttributes<HTMLDivElement>>;
358
358
 
359
359
  declare const ClipboardButton: React$1.ForwardRefExoticComponent<_chakra_ui_react.ButtonProps & {
360
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "secondary" | "tertiary" | "ghost" | "primary" | undefined>;
360
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined>;
361
361
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | "xs" | undefined>;
362
362
  } & {
363
363
  children?: React$1.ReactNode | undefined;
@@ -419,7 +419,7 @@ type IconButtonProps = Exclude<IconButtonProps$1, "variant" | "spinner" | "icon"
419
419
  * ```
420
420
  */
421
421
  declare const IconButton: React__default.ForwardRefExoticComponent<IconButtonProps$1 & {
422
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "secondary" | "tertiary" | "ghost" | "primary" | undefined>;
422
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined>;
423
423
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | "xs" | undefined>;
424
424
  } & {
425
425
  children?: React__default.ReactNode | undefined;
@@ -610,7 +610,7 @@ type DatePickerVariantProps = RecipeVariantProps<typeof datePickerSlotRecipe>;
610
610
  * ```
611
611
  */
612
612
  declare const DatePicker: React__default.ForwardRefExoticComponent<Omit<AriaDatePickerProps<DateValue>, "onChange"> & Pick<BoxProps, "minHeight" | "width"> & {
613
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
613
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
614
614
  } & {
615
615
  children?: React__default.ReactNode | undefined;
616
616
  } & CalendarVariants & {
@@ -1349,7 +1349,7 @@ type NativeSelectdProps = React$1.PropsWithChildren<NativeSelectVariantProps> &
1349
1349
  *
1350
1350
  */
1351
1351
  declare const NativeSelect: React$1.ForwardRefExoticComponent<{
1352
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1352
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1353
1353
  } & {
1354
1354
  children?: React$1.ReactNode | undefined;
1355
1355
  } & FieldBaseProps & NativeSelect$1.FieldProps & {
@@ -1782,23 +1782,23 @@ type TextareaProps = Exclude<TextareaProps$1, "size" | "colorPalette"> & FieldPr
1782
1782
  declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps$1 & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1783
1783
  children?: ReactNode | undefined;
1784
1784
  } & FieldBaseProps & {
1785
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1785
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1786
1786
  } & {
1787
1787
  label: ReactNode;
1788
1788
  } & React__default.RefAttributes<HTMLTextAreaElement>>;
1789
1789
 
1790
1790
  declare const PressableCard: React$1.ForwardRefExoticComponent<{
1791
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | "accent" | undefined>;
1791
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | "accent" | undefined>;
1792
1792
  } & ButtonProps$1 & React$1.RefAttributes<HTMLDivElement>>;
1793
1793
 
1794
1794
  declare const RadioCard: React__default.ForwardRefExoticComponent<RadioCard$1.ItemProps & {
1795
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1795
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1796
1796
  } & {
1797
1797
  inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
1798
1798
  ariaLabel?: string;
1799
1799
  } & React__default.RefAttributes<HTMLInputElement>>;
1800
1800
  declare const RadioCardGroup: React__default.ForwardRefExoticComponent<{
1801
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1801
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1802
1802
  } & RadioCard$1.RootProps & {
1803
1803
  children: React__default.ReactNode;
1804
1804
  gap?: string | number;
@@ -1855,13 +1855,17 @@ declare const StaticCard: React$1.ForwardRefExoticComponent<{
1855
1855
 
1856
1856
  declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
1857
1857
  variant: {
1858
- walk: {
1859
- iconContainer: {
1860
- icon: {
1861
- color: string;
1862
- };
1863
- };
1864
- };
1858
+ walk: {};
1859
+ ferry: {};
1860
+ subway: {};
1861
+ tram: {};
1862
+ "local-train": {};
1863
+ "region-train": {};
1864
+ "region-express-train": {};
1865
+ "long-distance-train": {};
1866
+ "airport-express-train": {};
1867
+ "vy-bus": {};
1868
+ "local-bus": {};
1865
1869
  };
1866
1870
  size: {
1867
1871
  sm: {
@@ -1906,7 +1910,7 @@ declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
1906
1910
  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
1911
  type Size = "sm" | "md" | "lg";
1908
1912
  type TagProps = VariantProps$1 & {
1909
- size: Size;
1913
+ size?: Size;
1910
1914
  title: string;
1911
1915
  description?: string;
1912
1916
  };
@@ -2078,7 +2082,7 @@ type DefaultVariantProps = {
2078
2082
  };
2079
2083
  type VariantProps = DefaultVariantProps | CustomVariantProps;
2080
2084
  type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChildren<LineIconVariantProps> & {
2081
- size: TagProps["size"];
2085
+ size?: TagProps["size"];
2082
2086
  foregroundColor?: string;
2083
2087
  backgroundColor?: string;
2084
2088
  disabled?: boolean;
@@ -2325,23 +2329,23 @@ declare const TravelTag: React$1.ForwardRefExoticComponent<TravelTagProps & Reac
2325
2329
  declare const linkRecipe: _chakra_ui_react.RecipeDefinition<{
2326
2330
  variant: {
2327
2331
  primary: {
2332
+ color: "core.text";
2328
2333
  _hover: {
2329
2334
  color: "text.default";
2330
2335
  _active: {
2331
2336
  color: "text.disabled";
2332
2337
  };
2333
2338
  };
2334
- color: string;
2335
2339
  };
2336
2340
  secondary: {
2341
+ color: "text.hightlight";
2337
2342
  padding: "2px";
2338
2343
  _hover: {
2344
+ color: "text.hightlight";
2339
2345
  _active: {
2340
2346
  color: "text.disabled";
2341
2347
  };
2342
- color: string;
2343
2348
  };
2344
- color: string;
2345
2349
  };
2346
2350
  };
2347
2351
  }>;
@@ -2354,7 +2358,7 @@ type LinkProps = Exclude<LinkProps$1, "variant"> & PropsWithChildren<linkVariant
2354
2358
  external?: boolean;
2355
2359
  };
2356
2360
  declare const TextLink: React__default.ForwardRefExoticComponent<LinkProps$1 & {
2357
- variant?: _chakra_ui_react.ConditionalValue<"secondary" | "primary" | undefined>;
2361
+ variant?: _chakra_ui_react.ConditionalValue<"primary" | "secondary" | undefined>;
2358
2362
  } & {
2359
2363
  children?: React__default.ReactNode | undefined;
2360
2364
  } & {
@@ -2989,13 +2993,13 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
2989
2993
  _dark: "whiteAlpha.900";
2990
2994
  };
2991
2995
  _disabled: {
2992
- color: string;
2996
+ color: "core.text";
2993
2997
  };
2994
2998
  _currentStep: {
2995
- color: string;
2999
+ color: "accent.text";
2996
3000
  };
2997
3001
  _hover: {
2998
- backgroundColor: string;
3002
+ backgroundColor: "accent.surface.hover";
2999
3003
  _disabled: {
3000
3004
  backgroundColor: "transparent";
3001
3005
  };
@@ -3003,7 +3007,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
3003
3007
  };
3004
3008
  backButton: {
3005
3009
  _hover: {
3006
- backgroundColor: string;
3010
+ backgroundColor: "brand.surface.hover";
3007
3011
  };
3008
3012
  };
3009
3013
  };
package/dist/index.d.ts CHANGED
@@ -28,7 +28,7 @@ type ExpandableItemProps = HeadingLevel & {
28
28
  };
29
29
 
30
30
  declare const Accordion: React$1.ForwardRefExoticComponent<Accordion$1.RootProps & {
31
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
31
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
32
32
  } & {
33
33
  children?: React$1.ReactNode | undefined;
34
34
  } & {
@@ -56,7 +56,7 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Accordion$1.ItemP
56
56
  * ```
57
57
  */
58
58
  declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.AccordionRootProps & {
59
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
59
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
60
60
  } & {
61
61
  children?: React$1.ReactNode | undefined;
62
62
  } & {
@@ -139,7 +139,7 @@ declare const Alert: React$1.ForwardRefExoticComponent<Omit<Alert$1.RootProps, "
139
139
  * ```
140
140
  */
141
141
  declare const ExpandableAlert: React$1.ForwardRefExoticComponent<{
142
- variant?: ConditionalValue<"error" | "alt" | "important" | "success" | "info" | undefined>;
142
+ variant?: ConditionalValue<"alt" | "error" | "important" | "success" | "info" | undefined>;
143
143
  } & {
144
144
  children?: React$1.ReactNode | undefined;
145
145
  } & Omit<Accordion$1.RootProps, "size" | "variant" | "orientation" | "value"> & {
@@ -321,7 +321,7 @@ type ButtonProps = Exclude<ButtonProps$1, "size" | "variant" | "colorPalette"> &
321
321
  href?: string;
322
322
  };
323
323
  declare const Button: React__default.ForwardRefExoticComponent<ButtonProps$1 & {
324
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "secondary" | "tertiary" | "ghost" | "primary" | undefined>;
324
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined>;
325
325
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | "xs" | undefined>;
326
326
  } & {
327
327
  children?: React__default.ReactNode | undefined;
@@ -357,7 +357,7 @@ declare const ButtonGroup: React$1.ForwardRefExoticComponent<GroupProps & {
357
357
  } & React$1.RefAttributes<HTMLDivElement>>;
358
358
 
359
359
  declare const ClipboardButton: React$1.ForwardRefExoticComponent<_chakra_ui_react.ButtonProps & {
360
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "secondary" | "tertiary" | "ghost" | "primary" | undefined>;
360
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined>;
361
361
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | "xs" | undefined>;
362
362
  } & {
363
363
  children?: React$1.ReactNode | undefined;
@@ -419,7 +419,7 @@ type IconButtonProps = Exclude<IconButtonProps$1, "variant" | "spinner" | "icon"
419
419
  * ```
420
420
  */
421
421
  declare const IconButton: React__default.ForwardRefExoticComponent<IconButtonProps$1 & {
422
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "secondary" | "tertiary" | "ghost" | "primary" | undefined>;
422
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined>;
423
423
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | "xs" | undefined>;
424
424
  } & {
425
425
  children?: React__default.ReactNode | undefined;
@@ -610,7 +610,7 @@ type DatePickerVariantProps = RecipeVariantProps<typeof datePickerSlotRecipe>;
610
610
  * ```
611
611
  */
612
612
  declare const DatePicker: React__default.ForwardRefExoticComponent<Omit<AriaDatePickerProps<DateValue>, "onChange"> & Pick<BoxProps, "minHeight" | "width"> & {
613
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
613
+ variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
614
614
  } & {
615
615
  children?: React__default.ReactNode | undefined;
616
616
  } & CalendarVariants & {
@@ -1349,7 +1349,7 @@ type NativeSelectdProps = React$1.PropsWithChildren<NativeSelectVariantProps> &
1349
1349
  *
1350
1350
  */
1351
1351
  declare const NativeSelect: React$1.ForwardRefExoticComponent<{
1352
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1352
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1353
1353
  } & {
1354
1354
  children?: React$1.ReactNode | undefined;
1355
1355
  } & FieldBaseProps & NativeSelect$1.FieldProps & {
@@ -1782,23 +1782,23 @@ type TextareaProps = Exclude<TextareaProps$1, "size" | "colorPalette"> & FieldPr
1782
1782
  declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps$1 & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1783
1783
  children?: ReactNode | undefined;
1784
1784
  } & FieldBaseProps & {
1785
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1785
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1786
1786
  } & {
1787
1787
  label: ReactNode;
1788
1788
  } & React__default.RefAttributes<HTMLTextAreaElement>>;
1789
1789
 
1790
1790
  declare const PressableCard: React$1.ForwardRefExoticComponent<{
1791
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | "accent" | undefined>;
1791
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | "accent" | undefined>;
1792
1792
  } & ButtonProps$1 & React$1.RefAttributes<HTMLDivElement>>;
1793
1793
 
1794
1794
  declare const RadioCard: React__default.ForwardRefExoticComponent<RadioCard$1.ItemProps & {
1795
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1795
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1796
1796
  } & {
1797
1797
  inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
1798
1798
  ariaLabel?: string;
1799
1799
  } & React__default.RefAttributes<HTMLInputElement>>;
1800
1800
  declare const RadioCardGroup: React__default.ForwardRefExoticComponent<{
1801
- variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1801
+ variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
1802
1802
  } & RadioCard$1.RootProps & {
1803
1803
  children: React__default.ReactNode;
1804
1804
  gap?: string | number;
@@ -1855,13 +1855,17 @@ declare const StaticCard: React$1.ForwardRefExoticComponent<{
1855
1855
 
1856
1856
  declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
1857
1857
  variant: {
1858
- walk: {
1859
- iconContainer: {
1860
- icon: {
1861
- color: string;
1862
- };
1863
- };
1864
- };
1858
+ walk: {};
1859
+ ferry: {};
1860
+ subway: {};
1861
+ tram: {};
1862
+ "local-train": {};
1863
+ "region-train": {};
1864
+ "region-express-train": {};
1865
+ "long-distance-train": {};
1866
+ "airport-express-train": {};
1867
+ "vy-bus": {};
1868
+ "local-bus": {};
1865
1869
  };
1866
1870
  size: {
1867
1871
  sm: {
@@ -1906,7 +1910,7 @@ declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" |
1906
1910
  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
1911
  type Size = "sm" | "md" | "lg";
1908
1912
  type TagProps = VariantProps$1 & {
1909
- size: Size;
1913
+ size?: Size;
1910
1914
  title: string;
1911
1915
  description?: string;
1912
1916
  };
@@ -2078,7 +2082,7 @@ type DefaultVariantProps = {
2078
2082
  };
2079
2083
  type VariantProps = DefaultVariantProps | CustomVariantProps;
2080
2084
  type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChildren<LineIconVariantProps> & {
2081
- size: TagProps["size"];
2085
+ size?: TagProps["size"];
2082
2086
  foregroundColor?: string;
2083
2087
  backgroundColor?: string;
2084
2088
  disabled?: boolean;
@@ -2325,23 +2329,23 @@ declare const TravelTag: React$1.ForwardRefExoticComponent<TravelTagProps & Reac
2325
2329
  declare const linkRecipe: _chakra_ui_react.RecipeDefinition<{
2326
2330
  variant: {
2327
2331
  primary: {
2332
+ color: "core.text";
2328
2333
  _hover: {
2329
2334
  color: "text.default";
2330
2335
  _active: {
2331
2336
  color: "text.disabled";
2332
2337
  };
2333
2338
  };
2334
- color: string;
2335
2339
  };
2336
2340
  secondary: {
2341
+ color: "text.hightlight";
2337
2342
  padding: "2px";
2338
2343
  _hover: {
2344
+ color: "text.hightlight";
2339
2345
  _active: {
2340
2346
  color: "text.disabled";
2341
2347
  };
2342
- color: string;
2343
2348
  };
2344
- color: string;
2345
2349
  };
2346
2350
  };
2347
2351
  }>;
@@ -2354,7 +2358,7 @@ type LinkProps = Exclude<LinkProps$1, "variant"> & PropsWithChildren<linkVariant
2354
2358
  external?: boolean;
2355
2359
  };
2356
2360
  declare const TextLink: React__default.ForwardRefExoticComponent<LinkProps$1 & {
2357
- variant?: _chakra_ui_react.ConditionalValue<"secondary" | "primary" | undefined>;
2361
+ variant?: _chakra_ui_react.ConditionalValue<"primary" | "secondary" | undefined>;
2358
2362
  } & {
2359
2363
  children?: React__default.ReactNode | undefined;
2360
2364
  } & {
@@ -2989,13 +2993,13 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
2989
2993
  _dark: "whiteAlpha.900";
2990
2994
  };
2991
2995
  _disabled: {
2992
- color: string;
2996
+ color: "core.text";
2993
2997
  };
2994
2998
  _currentStep: {
2995
- color: string;
2999
+ color: "accent.text";
2996
3000
  };
2997
3001
  _hover: {
2998
- backgroundColor: string;
3002
+ backgroundColor: "accent.surface.hover";
2999
3003
  _disabled: {
3000
3004
  backgroundColor: "transparent";
3001
3005
  };
@@ -3003,7 +3007,7 @@ declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" |
3003
3007
  };
3004
3008
  backButton: {
3005
3009
  _hover: {
3006
- backgroundColor: string;
3010
+ backgroundColor: "brand.surface.hover";
3007
3011
  };
3008
3012
  };
3009
3013
  };