@vygruppen/spor-react 12.1.2 → 12.2.1

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.
Files changed (122) hide show
  1. package/.turbo/turbo-build.log +31 -12
  2. package/.turbo/turbo-typegen.log +19 -1
  3. package/CHANGELOG.md +14 -0
  4. package/dist/index.d.mts +189 -243
  5. package/dist/index.d.ts +189 -243
  6. package/dist/index.js +2485 -2072
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.mjs +2376 -1972
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +3 -3
  11. package/src/accordion/Accordion.tsx +2 -1
  12. package/src/accordion/Expandable.tsx +3 -1
  13. package/src/accordion/helpers.ts +2 -1
  14. package/src/alert/Alert.tsx +3 -1
  15. package/src/alert/AlertIcon.tsx +17 -10
  16. package/src/alert/ExpandableAlert.tsx +3 -2
  17. package/src/alert/ServiceAlert.tsx +2 -1
  18. package/src/breadcrumb/Breadcrumb.tsx +9 -8
  19. package/src/button/Button.tsx +2 -1
  20. package/src/button/ButtonGroup.tsx +2 -1
  21. package/src/button/Clipboard.tsx +3 -0
  22. package/src/button/CloseButton.tsx +8 -4
  23. package/src/button/FloatingActionButton.tsx +5 -5
  24. package/src/button/IconButton.tsx +1 -0
  25. package/src/color-mode/color-mode.tsx +2 -2
  26. package/src/datepicker/Calendar.tsx +0 -1
  27. package/src/datepicker/CalendarCell.tsx +5 -5
  28. package/src/datepicker/CalendarGrid.tsx +3 -2
  29. package/src/datepicker/CalendarHeader.tsx +1 -4
  30. package/src/datepicker/CalendarTriggerButton.tsx +3 -4
  31. package/src/datepicker/DateField.tsx +13 -6
  32. package/src/datepicker/DatePicker.tsx +2 -1
  33. package/src/datepicker/DateRangePicker.tsx +1 -1
  34. package/src/datepicker/DateTimeSegment.tsx +2 -1
  35. package/src/datepicker/RangeCalendar.tsx +1 -1
  36. package/src/datepicker/StyledField.tsx +1 -1
  37. package/src/datepicker/TimeField.tsx +3 -3
  38. package/src/datepicker/TimePicker.tsx +4 -2
  39. package/src/datepicker/utils.ts +10 -5
  40. package/src/dialog/Dialog.tsx +1 -0
  41. package/src/dialog/Drawer.tsx +28 -26
  42. package/src/i18n/index.tsx +1 -0
  43. package/src/input/AttachedInputs.tsx +6 -3
  44. package/src/input/CardSelect.tsx +3 -1
  45. package/src/input/Checkbox.tsx +1 -0
  46. package/src/input/CheckboxGroup.tsx +3 -1
  47. package/src/input/ChoiceChip.tsx +39 -66
  48. package/src/input/Combobox.tsx +6 -4
  49. package/src/input/CountryCodeSelect.tsx +10 -4
  50. package/src/input/Field.tsx +2 -0
  51. package/src/input/Input.tsx +2 -3
  52. package/src/input/InputGroup.tsx +1 -1
  53. package/src/input/ListBox.tsx +9 -8
  54. package/src/input/NativeSelect.tsx +1 -2
  55. package/src/input/NumericStepper.tsx +22 -23
  56. package/src/input/PasswordInput.tsx +2 -1
  57. package/src/input/PhoneNumberInput.tsx +6 -2
  58. package/src/input/Popover.tsx +2 -0
  59. package/src/input/Radio.tsx +2 -0
  60. package/src/input/SearchInput.tsx +2 -1
  61. package/src/input/Select.tsx +8 -2
  62. package/src/input/Switch.tsx +22 -34
  63. package/src/input/Textarea.tsx +6 -4
  64. package/src/input/index.ts +1 -1
  65. package/src/layout/PressableCard.tsx +5 -2
  66. package/src/layout/RadioCard.tsx +3 -1
  67. package/src/layout/Separator.tsx +2 -1
  68. package/src/layout/StaticCard.tsx +6 -3
  69. package/src/linjetag/InfoTag.tsx +3 -2
  70. package/src/linjetag/LineIcon.tsx +5 -4
  71. package/src/linjetag/TravelTag.tsx +12 -8
  72. package/src/link/TextLink.tsx +1 -1
  73. package/src/loader/ColorInlineLoader.tsx +0 -1
  74. package/src/loader/ColorSpinner.tsx +0 -1
  75. package/src/loader/ContentLoader.tsx +0 -1
  76. package/src/loader/DarkFullScreenLoader.tsx +0 -1
  77. package/src/loader/DarkInlineLoader.tsx +0 -1
  78. package/src/loader/DarkSpinner.tsx +0 -1
  79. package/src/loader/LightFullScreenLoader.tsx +0 -1
  80. package/src/loader/LightInlineLoader.tsx +0 -1
  81. package/src/loader/LightSpinner.tsx +0 -1
  82. package/src/loader/Lottie.tsx +1 -2
  83. package/src/loader/ProgressBar.tsx +1 -2
  84. package/src/loader/ProgressLoader.tsx +2 -7
  85. package/src/logo/CargonetLogo.tsx +2 -1
  86. package/src/logo/VyLogo.tsx +3 -4
  87. package/src/logo/VyLogoPride.tsx +4 -1
  88. package/src/media-controller/JumpButton.tsx +2 -1
  89. package/src/media-controller/PlayPauseButton.tsx +2 -1
  90. package/src/media-controller/SkipButton.tsx +2 -1
  91. package/src/nudge/Nudge.tsx +7 -14
  92. package/src/pagination/Pagination.tsx +5 -0
  93. package/src/popover/index.tsx +2 -0
  94. package/src/progress-indicator/ProgressDot.tsx +1 -1
  95. package/src/progress-indicator/ProgressIndicator.tsx +4 -2
  96. package/src/provider/SporProvider.tsx +0 -1
  97. package/src/stepper/Stepper.tsx +1 -1
  98. package/src/tab/Tabs.tsx +1 -1
  99. package/src/table/Table.tsx +2 -1
  100. package/src/theme/slot-recipes/alert-expandable.ts +0 -4
  101. package/src/theme/slot-recipes/anatomy.ts +10 -0
  102. package/src/theme/slot-recipes/choice-chip.ts +183 -0
  103. package/src/theme/slot-recipes/index.ts +2 -0
  104. package/src/theme/slot-recipes/info-tag.ts +0 -1
  105. package/src/theme/slot-recipes/popover.ts +0 -1
  106. package/src/theme/slot-recipes/radio-card.ts +0 -3
  107. package/src/theme/utils/accent-utils.ts +12 -6
  108. package/src/theme/utils/bg-utils.ts +6 -3
  109. package/src/theme/utils/brand-utils.ts +7 -7
  110. package/src/theme/utils/core-utils.ts +23 -13
  111. package/src/theme/utils/floating-utils.ts +16 -8
  112. package/src/theme/utils/ghost-utils.ts +8 -4
  113. package/src/theme/utils/input-utils.ts +7 -4
  114. package/src/theme/utils/outline-utils.ts +6 -3
  115. package/src/theme/utils/surface-utils.ts +8 -4
  116. package/src/toast/toast.tsx +0 -1
  117. package/src/typography/Badge.tsx +8 -5
  118. package/src/typography/Heading.tsx +1 -1
  119. package/src/typography/Text.tsx +1 -1
  120. package/src/util/slugify.tsx +8 -8
  121. package/tsconfig.json +1 -0
  122. package/src/theme/recipes/choice-chip.ts +0 -144
package/dist/index.d.ts CHANGED
@@ -1,15 +1,16 @@
1
- import * as _chakra_ui_react from '@chakra-ui/react';
2
- 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, Dialog, Drawer as Drawer$1, InputElementProps, PopoverRootProps, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, Fieldset as Fieldset$1, Field as Field$1, InputProps as InputProps$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, 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';
3
- export { Box, BoxProps, 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';
4
1
  import * as React$1 from 'react';
5
- import React__default, { PropsWithChildren, ReactNode, ChangeEvent } from 'react';
2
+ import React__default, { PropsWithChildren, ReactNode } from 'react';
3
+ import * as _chakra_ui_react from '@chakra-ui/react';
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, Dialog, Drawer as Drawer$1, InputElementProps, PopoverRootProps, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxCardRootProps, CheckboxCard, Field as Field$1, Fieldset as Fieldset$1, InputProps as InputProps$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, 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';
6
+ import * as react_jsx_runtime from 'react/jsx-runtime';
6
7
  import { IconComponent } from '@vygruppen/spor-icon-react';
7
8
  import { ThemeProviderProps } from 'next-themes';
8
9
  import { AriaDatePickerProps, DateValue, AriaDateRangePickerProps, AriaComboBoxProps, AriaListBoxProps } from 'react-aria';
9
10
  import { DateValue as DateValue$1 } from '@internationalized/date';
10
11
  export { Time } from '@internationalized/date';
11
12
  import { TimeValue } from '@react-types/datepicker';
12
- import { SelectState, ListState } from 'react-stately';
13
+ import { ListState, SelectState } from 'react-stately';
13
14
  export { Item, Section } from 'react-stately';
14
15
  export { useIsClient, useMap, useOnClickOutside } from 'usehooks-ts';
15
16
  import * as sporDesignTokens from '@vygruppen/spor-design-tokens';
@@ -26,21 +27,21 @@ type ExpandableItemProps = HeadingLevel & {
26
27
  startElement?: React.ReactNode;
27
28
  };
28
29
 
29
- declare const Accordion: React__default.ForwardRefExoticComponent<Accordion$1.RootProps & {
30
+ declare const Accordion: React$1.ForwardRefExoticComponent<Accordion$1.RootProps & {
30
31
  variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
31
32
  } & {
32
- children?: React__default.ReactNode | undefined;
33
+ children?: React$1.ReactNode | undefined;
33
34
  } & {
34
35
  variant?: "ghost" | "core" | "floating";
35
36
  gap?: string | number;
36
- } & React__default.RefAttributes<HTMLDivElement>>;
37
- declare const AccordionItemTrigger: React__default.ForwardRefExoticComponent<Omit<Accordion$1.ItemTriggerProps, "indicatorElement"> & HeadingLevel & {
38
- startElement?: React__default.ReactNode;
39
- } & React__default.RefAttributes<HTMLButtonElement>>;
40
- declare const AccordionItemContent: React__default.ForwardRefExoticComponent<Accordion$1.ItemContentProps & {
41
- children?: React__default.ReactNode;
42
- } & React__default.RefAttributes<HTMLDivElement>>;
43
- declare const AccordionItem: React__default.ForwardRefExoticComponent<Accordion$1.ItemProps & React__default.RefAttributes<HTMLDivElement>>;
37
+ } & React$1.RefAttributes<HTMLDivElement>>;
38
+ declare const AccordionItemTrigger: React$1.ForwardRefExoticComponent<Omit<Accordion$1.ItemTriggerProps, "indicatorElement"> & HeadingLevel & {
39
+ startElement?: React.ReactNode;
40
+ } & React$1.RefAttributes<HTMLButtonElement>>;
41
+ declare const AccordionItemContent: React$1.ForwardRefExoticComponent<Accordion$1.ItemContentProps & {
42
+ children?: React.ReactNode;
43
+ } & React$1.RefAttributes<HTMLDivElement>>;
44
+ declare const AccordionItem: React$1.ForwardRefExoticComponent<Accordion$1.ItemProps & React$1.RefAttributes<HTMLDivElement>>;
44
45
 
45
46
  /**
46
47
  * A standalone expandable component.
@@ -54,18 +55,18 @@ declare const AccordionItem: React__default.ForwardRefExoticComponent<Accordion$
54
55
  * </Expandable>
55
56
  * ```
56
57
  */
57
- declare const Expandable: React__default.ForwardRefExoticComponent<_chakra_ui_react.AccordionRootProps & {
58
+ declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.AccordionRootProps & {
58
59
  variant?: _chakra_ui_react.ConditionalValue<"floating" | "ghost" | "core" | undefined>;
59
60
  } & {
60
- children?: React__default.ReactNode | undefined;
61
+ children?: React$1.ReactNode | undefined;
61
62
  } & {
62
63
  variant?: "ghost" | "core" | "floating";
63
64
  gap?: string | number;
64
65
  } & Omit<_chakra_ui_react.AccordionItemTriggerProps, "indicatorElement"> & HeadingLevel & {
65
- startElement?: React__default.ReactNode;
66
+ startElement?: React.ReactNode;
66
67
  } & {
67
68
  title: string;
68
- } & React__default.RefAttributes<HTMLDivElement>>;
69
+ } & React$1.RefAttributes<HTMLDivElement>>;
69
70
  /**
70
71
  * An item in a set of Expandables. Must be wrapped in an `<Accordion>` component.
71
72
  *
@@ -85,7 +86,7 @@ declare const Expandable: React__default.ForwardRefExoticComponent<_chakra_ui_re
85
86
  *
86
87
  * @see https://spor.vy.no/components/accordion
87
88
  */
88
- declare const ExpandableItem: (props: ExpandableItemProps) => React__default.JSX.Element;
89
+ declare const ExpandableItem: (props: ExpandableItemProps) => react_jsx_runtime.JSX.Element;
89
90
 
90
91
  type AlertProps = Omit<Alert$1.RootProps, "colorPalette"> & {
91
92
  /** Whether or not to show the alert icon */
@@ -116,7 +117,7 @@ type AlertProps = Omit<Alert$1.RootProps, "colorPalette"> & {
116
117
  *
117
118
  * @see Docs https://spor.vy.no/alert
118
119
  */
119
- declare const Alert: React__default.ForwardRefExoticComponent<Omit<Alert$1.RootProps, "colorPalette"> & {
120
+ declare const Alert: React$1.ForwardRefExoticComponent<Omit<Alert$1.RootProps, "colorPalette"> & {
120
121
  /** Whether or not to show the alert icon */
121
122
  showIndicator?: boolean;
122
123
  /** Whether or not the alert is closable */
@@ -124,7 +125,7 @@ declare const Alert: React__default.ForwardRefExoticComponent<Omit<Alert$1.RootP
124
125
  closable?: boolean;
125
126
  /** Callback for when the alert is closed */
126
127
  onAlertClose?: () => void;
127
- } & React__default.RefAttributes<HTMLDivElement>>;
128
+ } & React$1.RefAttributes<HTMLDivElement>>;
128
129
 
129
130
  /**
130
131
  * An expandable alert component.
@@ -137,10 +138,10 @@ declare const Alert: React__default.ForwardRefExoticComponent<Omit<Alert$1.RootP
137
138
  * </ExpandableAlert>
138
139
  * ```
139
140
  */
140
- declare const ExpandableAlert: React__default.ForwardRefExoticComponent<{
141
+ declare const ExpandableAlert: React$1.ForwardRefExoticComponent<{
141
142
  variant?: ConditionalValue<"error" | "alt" | "important" | "success" | "info" | undefined>;
142
143
  } & {
143
- children?: React__default.ReactNode | undefined;
144
+ children?: React$1.ReactNode | undefined;
144
145
  } & Omit<Accordion$1.RootProps, "size" | "variant" | "orientation" | "value"> & {
145
146
  /** The title string */
146
147
  title: string;
@@ -164,7 +165,7 @@ declare const ExpandableAlert: React__default.ForwardRefExoticComponent<{
164
165
  | "global-deviation";
165
166
  */
166
167
  variant?: ConditionalValue<"important" | "success" | "alt" | "info" | "error" | undefined>;
167
- } & React__default.RefAttributes<HTMLDivElement>>;
168
+ } & React$1.RefAttributes<HTMLDivElement>>;
168
169
 
169
170
  /**
170
171
  * A service alert component.
@@ -177,8 +178,8 @@ declare const ExpandableAlert: React__default.ForwardRefExoticComponent<{
177
178
  * </ServiceAlert>
178
179
  * ```
179
180
  */
180
- declare const ServiceAlert: React__default.ForwardRefExoticComponent<Omit<AlertProps, "variant"> & {
181
- children?: React__default.ReactNode | undefined;
181
+ declare const ServiceAlert: React$1.ForwardRefExoticComponent<Omit<AlertProps, "variant"> & {
182
+ children?: React$1.ReactNode | undefined;
182
183
  } & Omit<Accordion$1.RootProps, "size" | "variant" | "orientation" | "value"> & {
183
184
  /** The title string */
184
185
  title: string;
@@ -197,7 +198,7 @@ declare const ServiceAlert: React__default.ForwardRefExoticComponent<Omit<AlertP
197
198
  headingLevel?: "h2" | "h3" | "h4" | "h5" | "h6";
198
199
  /** The variant of Service Alert. Default: service */
199
200
  variant?: "service" | "global-deviation";
200
- } & React__default.RefAttributes<HTMLDivElement>>;
201
+ } & React$1.RefAttributes<HTMLDivElement>>;
201
202
 
202
203
  /**
203
204
  * A breadcrumb component.
@@ -214,9 +215,6 @@ declare const ServiceAlert: React__default.ForwardRefExoticComponent<Omit<AlertP
214
215
  * ```
215
216
  */
216
217
  declare const Breadcrumb: React__default.ForwardRefExoticComponent<Breadcrumb$1.RootProps & React__default.RefAttributes<HTMLDivElement>>;
217
- declare const BreadcrumbLink: React__default.ForwardRefExoticComponent<Breadcrumb$1.LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
218
- declare const BreadcrumbCurrentLink: React__default.ForwardRefExoticComponent<Breadcrumb$1.CurrentLinkProps & React__default.RefAttributes<HTMLElement>>;
219
- declare const BreadcrumbEllipsis: React__default.ForwardRefExoticComponent<Breadcrumb$1.EllipsisProps & React__default.RefAttributes<HTMLElement>>;
220
218
 
221
219
  declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
222
220
  variant: {
@@ -352,11 +350,11 @@ declare const groupRecipe: _chakra_ui_react.RecipeDefinition<{
352
350
 
353
351
  type GroupVariantProps = RecipeVariantProps<typeof groupRecipe>;
354
352
  type ButtonGroupProps = GroupProps & PropsWithChildren<GroupVariantProps>;
355
- declare const ButtonGroup: React__default.ForwardRefExoticComponent<GroupProps & {
353
+ declare const ButtonGroup: React$1.ForwardRefExoticComponent<GroupProps & {
356
354
  disabled?: _chakra_ui_react.ConditionalValue<boolean | undefined>;
357
355
  } & {
358
- children?: React__default.ReactNode | undefined;
359
- } & React__default.RefAttributes<HTMLDivElement>>;
356
+ children?: React$1.ReactNode | undefined;
357
+ } & React$1.RefAttributes<HTMLDivElement>>;
360
358
 
361
359
  declare const ClipboardButton: React$1.ForwardRefExoticComponent<_chakra_ui_react.ButtonProps & {
362
360
  variant?: _chakra_ui_react.ConditionalValue<"floating" | "secondary" | "tertiary" | "ghost" | "primary" | undefined>;
@@ -450,10 +448,10 @@ type CloseButtonProps = Omit<IconButtonProps, "variant" | "aria-label"> & {
450
448
  * <CloseButton onClick={closeModal} />
451
449
  * ```
452
450
  */
453
- declare const CloseButton: React__default.ForwardRefExoticComponent<Omit<IconButtonProps, "variant" | "aria-label"> & {
451
+ declare const CloseButton: React$1.ForwardRefExoticComponent<Omit<IconButtonProps, "variant" | "aria-label"> & {
454
452
  /** Defaults to a localized version of "close" */
455
453
  "aria-label"?: string;
456
- } & React__default.RefAttributes<HTMLButtonElement>>;
454
+ } & React$1.RefAttributes<HTMLButtonElement>>;
457
455
 
458
456
  /**
459
457
  * Creates a floating action button.
@@ -480,9 +478,8 @@ declare const FloatingActionButton: React__default.ForwardRefExoticComponent<Box
480
478
  isTextVisible?: boolean;
481
479
  } & React__default.RefAttributes<HTMLButtonElement>>;
482
480
 
483
- interface ColorModeProviderProps extends ThemeProviderProps {
484
- }
485
- declare function ColorModeProvider(props: ColorModeProviderProps): React$1.JSX.Element;
481
+ type ColorModeProviderProps = ThemeProviderProps;
482
+ declare function ColorModeProvider(props: ColorModeProviderProps): react_jsx_runtime.JSX.Element;
486
483
  type ColorMode = "light" | "dark";
487
484
  interface UseColorModeReturn {
488
485
  colorMode: ColorMode;
@@ -491,9 +488,8 @@ interface UseColorModeReturn {
491
488
  }
492
489
  declare function useColorMode(): UseColorModeReturn;
493
490
  declare function useColorModeValue<T>(light: T, dark: T): T;
494
- declare function ColorModeIcon(): React$1.JSX.Element;
495
- interface ColorModeButtonProps extends Omit<IconButtonProps$1, "aria-label"> {
496
- }
491
+ declare function ColorModeIcon(): react_jsx_runtime.JSX.Element;
492
+ type ColorModeButtonProps = Omit<IconButtonProps$1, "aria-label">;
497
493
  declare const ColorModeButton: React$1.ForwardRefExoticComponent<ColorModeButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
498
494
 
499
495
  declare const datePickerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"cell" | "arrow" | "wrapper" | "calendarTriggerButton" | "calendarPopover" | "calendar" | "weekdays" | "weekend" | "dateCell" | "inputLabel" | "dateTimeSegment" | "box" | "rangeCalendarPopover", {
@@ -570,7 +566,7 @@ type DatePickerVariantProps = RecipeVariantProps<typeof datePickerSlotRecipe>;
570
566
  /**
571
567
  * A date picker component.
572
568
  *
573
- * There are three different variants – `core`, `floating` and `ghost`.
569
+ * There are three different variants –`core`, `floating` and `ghost`.
574
570
  *
575
571
  * ```tsx
576
572
  * <DatePicker label="Dato" variant="core" />
@@ -607,7 +603,7 @@ type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue$1>, "onChang
607
603
  * ```tsx
608
604
  * <DateRangePicker startLabel="From" startName="from" endLabel="To" endName="to" variant="core" />
609
605
  * ```
610
- */ declare function DateRangePicker({ variant, minHeight, startName, endName, withPortal, ...props }: DateRangePickerProps): React__default.JSX.Element;
606
+ */ declare function DateRangePicker({ variant, minHeight, startName, endName, withPortal, ...props }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
611
607
 
612
608
  type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & {
613
609
  /** The label. Defaults to a localized version of "Time" */
@@ -657,7 +653,7 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & {
657
653
  *
658
654
  * @see https://spor.vy.no/komponents/timepicker
659
655
  */
660
- declare const TimePicker: ({ label: externalLabel, value, defaultValue, onChange, minuteInterval, disabled: isDisabledExternally, name, ...boxProps }: TimePickerProps) => React__default.JSX.Element;
656
+ declare const TimePicker: ({ label: externalLabel, value, defaultValue, onChange, minuteInterval, disabled: isDisabledExternally, name, ...boxProps }: TimePickerProps) => react_jsx_runtime.JSX.Element;
661
657
 
662
658
  interface DialogContentProps extends Dialog.ContentProps {
663
659
  portalled?: boolean;
@@ -802,31 +798,31 @@ type DrawerProps = Omit<Drawer$1.RootProps, "colorPalette" | "contained" | "unst
802
798
  children: React.ReactNode;
803
799
  };
804
800
 
805
- declare const DrawerContent: React__default.ForwardRefExoticComponent<Drawer$1.ContentProps & {
801
+ declare const DrawerContent: React$1.ForwardRefExoticComponent<Drawer$1.ContentProps & {
806
802
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | "xl" | "xs" | "full" | undefined>;
807
803
  placement?: _chakra_ui_react.ConditionalValue<"bottom" | "top" | "end" | "start" | undefined>;
808
804
  } & {
809
- children?: React__default.ReactNode | undefined;
805
+ children?: React$1.ReactNode | undefined;
810
806
  } & {
811
- children: React__default.ReactNode;
807
+ children: React.ReactNode;
812
808
  portalled?: boolean;
813
- portalRef?: React__default.RefObject<HTMLElement>;
814
- } & React__default.RefAttributes<HTMLDivElement>>;
815
- declare const CloseDrawerLine: React__default.ForwardRefExoticComponent<React__default.RefAttributes<HTMLButtonElement>>;
816
- declare const DrawerCloseTrigger: React__default.ForwardRefExoticComponent<Drawer$1.CloseTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
817
- declare const DrawerBackTrigger: React__default.ForwardRefExoticComponent<Drawer$1.CloseTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
818
- declare const DrawerFullScreenHeader: React__default.ForwardRefExoticComponent<Drawer$1.HeaderProps & {
809
+ portalRef?: React.RefObject<HTMLElement>;
810
+ } & React$1.RefAttributes<HTMLDivElement>>;
811
+ declare const CloseDrawerLine: React$1.ForwardRefExoticComponent<React$1.RefAttributes<HTMLButtonElement>>;
812
+ declare const DrawerCloseTrigger: React$1.ForwardRefExoticComponent<Drawer$1.CloseTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
813
+ declare const DrawerBackTrigger: React$1.ForwardRefExoticComponent<Drawer$1.CloseTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
814
+ declare const DrawerFullScreenHeader: React$1.ForwardRefExoticComponent<Drawer$1.HeaderProps & {
819
815
  backTrigger?: boolean;
820
816
  title?: string;
821
- } & React__default.RefAttributes<HTMLDivElement>>;
822
- declare const Drawer: (props: DrawerProps) => React__default.JSX.Element;
823
- declare const DrawerTrigger: React__default.ForwardRefExoticComponent<Drawer$1.TriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
824
- declare const DrawerFooter: React__default.ForwardRefExoticComponent<Drawer$1.FooterProps & React__default.RefAttributes<HTMLDivElement>>;
825
- declare const DrawerBody: React__default.ForwardRefExoticComponent<Drawer$1.BodyProps & React__default.RefAttributes<HTMLDivElement>>;
826
- declare const DrawerBackdrop: React__default.ForwardRefExoticComponent<Drawer$1.BackdropProps & React__default.RefAttributes<HTMLDivElement>>;
827
- declare const DrawerTitle: React__default.ForwardRefExoticComponent<Drawer$1.TitleProps & React__default.RefAttributes<HTMLDivElement>>;
828
- declare const DrawerActionTrigger: React__default.ForwardRefExoticComponent<Drawer$1.ActionTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
829
- declare const DrawerHeader: React__default.ForwardRefExoticComponent<Drawer$1.HeaderProps & React__default.RefAttributes<HTMLDivElement>>;
817
+ } & React$1.RefAttributes<HTMLDivElement>>;
818
+ declare const Drawer: (props: DrawerProps) => react_jsx_runtime.JSX.Element;
819
+ declare const DrawerTrigger: React$1.ForwardRefExoticComponent<Drawer$1.TriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
820
+ declare const DrawerFooter: React$1.ForwardRefExoticComponent<Drawer$1.FooterProps & React$1.RefAttributes<HTMLDivElement>>;
821
+ declare const DrawerBody: React$1.ForwardRefExoticComponent<Drawer$1.BodyProps & React$1.RefAttributes<HTMLDivElement>>;
822
+ declare const DrawerBackdrop: React$1.ForwardRefExoticComponent<Drawer$1.BackdropProps & React$1.RefAttributes<HTMLDivElement>>;
823
+ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Drawer$1.TitleProps & React$1.RefAttributes<HTMLDivElement>>;
824
+ declare const DrawerActionTrigger: React$1.ForwardRefExoticComponent<Drawer$1.ActionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
825
+ declare const DrawerHeader: React$1.ForwardRefExoticComponent<Drawer$1.HeaderProps & React$1.RefAttributes<HTMLDivElement>>;
830
826
 
831
827
  declare enum Language {
832
828
  NorwegianBokmal = "nb",
@@ -866,7 +862,7 @@ type LanguageProviderProps = {
866
862
  * ```
867
863
  *
868
864
  */
869
- declare function LanguageProvider({ language, children, }: LanguageProviderProps): React__default.JSX.Element;
865
+ declare function LanguageProvider({ language, children, }: LanguageProviderProps): react_jsx_runtime.JSX.Element;
870
866
  /**
871
867
  * A hook that returns translation utilities. Typically used to translate text.
872
868
  *
@@ -972,21 +968,21 @@ type InputGroupProps = GroupProps & {
972
968
  * ```
973
969
  */
974
970
  type AttachedInputsProps = RecipeVariantProps<typeof attachedInputsRecipe> & InputGroupProps;
975
- declare const AttachedInputs: React__default.ForwardRefExoticComponent<{
971
+ declare const AttachedInputs: React$1.ForwardRefExoticComponent<{
976
972
  orientation?: _chakra_ui_react.ConditionalValue<"horizontal" | "vertical" | undefined>;
977
973
  } & _chakra_ui_react.GroupProps & {
978
974
  startElementProps?: _chakra_ui_react.InputElementProps;
979
975
  endElementProps?: _chakra_ui_react.InputElementProps;
980
- startElement?: React__default.ReactNode;
981
- endElement?: React__default.ReactNode;
982
- children: React__default.ReactElement;
976
+ startElement?: React.ReactNode;
977
+ endElement?: React.ReactNode;
978
+ children: React.ReactElement;
983
979
  label?: string;
984
- } & React__default.RefAttributes<HTMLDivElement>>;
980
+ } & React$1.RefAttributes<HTMLDivElement>>;
985
981
 
986
- declare const CardSelect: ({ size, ...props }: PopoverRootProps) => React__default.JSX.Element;
987
- declare const CardSelectContent: React__default.ForwardRefExoticComponent<{
982
+ declare const CardSelect: ({ size, ...props }: PopoverRootProps) => react_jsx_runtime.JSX.Element;
983
+ declare const CardSelectContent: React$1.ForwardRefExoticComponent<{
988
984
  colorPalette?: _chakra_ui_react.ConditionalValue<"white" | "blue" | "green" | "grey" | "orange" | "red" | "yellow" | "darkYellow" | undefined>;
989
- } & _chakra_ui_react.BoxProps & React__default.RefAttributes<HTMLDivElement>>;
985
+ } & _chakra_ui_react.BoxProps & React$1.RefAttributes<HTMLDivElement>>;
990
986
  type CardSelectTriggerProps = {
991
987
  /** The design of the trigger button.
992
988
  *
@@ -1000,7 +996,7 @@ type CardSelectTriggerProps = {
1000
996
  /** Whether or not to show the chevron. Defaults to true */
1001
997
  withChevron?: boolean;
1002
998
  } & Omit<ButtonProps, "variant" | "rightIcon" | "leftIcon">;
1003
- declare const CardSelectTrigger: React__default.ForwardRefExoticComponent<{
999
+ declare const CardSelectTrigger: React$1.ForwardRefExoticComponent<{
1004
1000
  /** The design of the trigger button.
1005
1001
  *
1006
1002
  * - `ghost` is a transparent button with text
@@ -1012,7 +1008,7 @@ declare const CardSelectTrigger: React__default.ForwardRefExoticComponent<{
1012
1008
  icon?: ReactNode;
1013
1009
  /** Whether or not to show the chevron. Defaults to true */
1014
1010
  withChevron?: boolean;
1015
- } & Omit<ButtonProps, "variant" | "leftIcon" | "rightIcon"> & React__default.RefAttributes<HTMLButtonElement>>;
1011
+ } & Omit<ButtonProps, "variant" | "leftIcon" | "rightIcon"> & React$1.RefAttributes<HTMLButtonElement>>;
1016
1012
 
1017
1013
  /**
1018
1014
  * Creates a checkbox.
@@ -1062,98 +1058,47 @@ type CheckboxGroupProps = Exclude<CheckboxGroupProps$1, "colorPalette" | "size"
1062
1058
  */
1063
1059
  declare const CheckboxGroup: React__default.ForwardRefExoticComponent<Omit<CheckboxGroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1064
1060
 
1065
- declare const choiceChipRecipe: _chakra_ui_react.RecipeDefinition<{
1066
- variant: {
1067
- core: {
1068
- color: "core.text";
1069
- outlineColor: "core.outline";
1070
- _hover: {
1071
- outline: "2px solid";
1072
- outlineColor: "core.outline.hover";
1073
- _active: {
1074
- outline: "1px solid";
1075
- outlineColor: "core.outline";
1076
- backgroundColor: "core.surface.active";
1077
- };
1078
- };
1079
- };
1080
- accent: {
1081
- backgroundColor: "accent.surface";
1082
- color: "accent.text";
1083
- outline: "none";
1084
- _hover: {
1085
- backgroundColor: "accent.surface.hover";
1086
- _active: {
1087
- backgroundColor: "accent.surface.active";
1088
- };
1089
- };
1090
- };
1091
- floating: {
1092
- backgroundColor: "floating.surface";
1093
- outline: "1px solid";
1094
- outlineColor: "floating.outline";
1095
- color: "floating.text";
1096
- boxShadow: "sm";
1097
- _hover: {
1098
- backgroundColor: "floating.surface.hover";
1099
- outline: "1px solid";
1100
- outlineColor: "floating.outline.hover";
1101
- _active: {
1102
- backgroundColor: "floating.surface.active";
1103
- outline: "1px solid";
1104
- outlineColor: "floating.outline";
1105
- };
1106
- };
1107
- };
1108
- };
1109
- size: {
1110
- xs: {
1111
- _checked: {
1112
- borderRadius: "0.563rem";
1113
- };
1114
- height: number;
1115
- paddingX: number;
1116
- };
1117
- sm: {
1118
- _checked: {
1119
- borderRadius: "sm";
1120
- };
1121
- height: number;
1122
- paddingX: number;
1123
- };
1124
- md: {
1125
- _checked: {
1126
- borderRadius: "sm";
1127
- };
1128
- height: number;
1129
- paddingX: number;
1130
- };
1131
- lg: {
1132
- _checked: {
1133
- borderRadius: "md";
1134
- };
1135
- height: number;
1136
- paddingX: number;
1137
- };
1138
- };
1139
- }>;
1140
-
1141
- type ChoiceChipVariantProps = RecipeVariantProps<typeof choiceChipRecipe>;
1142
- type ChoiceChipProps = PropsWithChildren<ChoiceChipVariantProps> & {
1143
- onChange?: (value: ChangeEvent<HTMLInputElement>) => void;
1144
- checked?: boolean;
1145
- disabled?: boolean;
1146
- defaultChecked?: boolean;
1147
- /** The button text */
1148
- children: React__default.ReactNode;
1149
- icon?: {
1150
- default: React__default.ReactNode;
1151
- checked: React__default.ReactNode;
1152
- };
1153
- chipType?: "icon" | "choice" | "filter";
1154
- "aria-label"?: string;
1061
+ type CheckBoxIcon = {
1062
+ default: React__default.ReactNode;
1063
+ checked: React__default.ReactNode;
1064
+ };
1065
+ type ChoiceChipProps = CheckboxCardRootProps & {
1066
+ icon?: CheckBoxIcon;
1155
1067
  };
1156
- declare const ChoiceChip: ({ children, icon, size, chipType, variant, ...props }: ChoiceChipProps) => React__default.JSX.Element;
1068
+ /**
1069
+ * Choice chips are checkboxes that look like selectable buttons.
1070
+ *
1071
+ * Choice chips are available in four different sizes - `xs`, `sm`, `md` and `lg`.
1072
+ *
1073
+ * ```tsx
1074
+ * <Stack flexDirection="row">
1075
+ * <ChoiceChip size="lg">Bus</ChoiceChip>
1076
+ * <ChoiceChip size="lg">Train</ChoiceChip>
1077
+ * </Stack>
1078
+ * ```
1079
+ *
1080
+ * There are also three different chipType - `icon`, `choice` and `filter`.
1081
+ *
1082
+ * ```tsx
1083
+ * <Stack flexDirection="row">
1084
+ * <ChoiceChip chipType="icon" icon={<Bus24Icon />}>Bus</ChoiceChip>
1085
+ * <ChoiceChip chipType="choice" icon={<Bus24Icon />}>Bus</ChoiceChip>
1086
+ * <ChoiceChip chipType="filter" icon={<Bus24Icon />}>Bus</ChoiceChip>
1087
+ * </Stack>
1088
+ *
1089
+ * There are also three different variants - `core`, `accent` and `floating`.
1090
+ *
1091
+ * ```tsx
1092
+ * <Stack flexDirection="row">
1093
+ * <ChoiceChip variant="core">Bus</ChoiceChip>
1094
+ * <ChoiceChip variant="accent">Boat</ChoiceChip>
1095
+ * <ChoiceChip variant="floating">Train</ChoiceChip>
1096
+ * </Stack>
1097
+ * ```
1098
+ */
1099
+ declare const ChoiceChip: React__default.ForwardRefExoticComponent<CheckboxCard.RootProps & {
1100
+ icon?: CheckBoxIcon;
1101
+ } & React__default.RefAttributes<HTMLInputElement>>;
1157
1102
 
1158
1103
  type ComboboxProps<T> = Exclude<InputProps, "variant" | "colorPalette" | "size"> & AriaComboBoxProps<T> & {
1159
1104
  /** The label of the combobox */
@@ -1221,12 +1166,6 @@ declare const Combobox: React__default.ForwardRefExoticComponent<_chakra_ui_reac
1221
1166
  children?: React__default.ReactNode;
1222
1167
  } & React__default.RefAttributes<HTMLDivElement>>;
1223
1168
 
1224
- declare const Fieldset: React$1.ForwardRefExoticComponent<Fieldset$1.RootProps & React$1.RefAttributes<HTMLFieldSetElement>>;
1225
- declare const FieldsetLegend: React$1.ForwardRefExoticComponent<Fieldset$1.LegendProps & React$1.RefAttributes<HTMLLegendElement>>;
1226
- declare const FieldsetContent: React$1.ForwardRefExoticComponent<Fieldset$1.ContentProps & React$1.RefAttributes<HTMLDivElement>>;
1227
- declare const FieldsetHelperText: React$1.ForwardRefExoticComponent<Fieldset$1.HelperTextProps & React$1.RefAttributes<HTMLSpanElement>>;
1228
- declare const FieldsetErrorText: React$1.ForwardRefExoticComponent<Fieldset$1.ErrorTextProps & React$1.RefAttributes<HTMLSpanElement>>;
1229
-
1230
1169
  declare const fieldSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "label" | "requiredIndicator" | "helperText" | "errorText", _chakra_ui_react.SlotRecipeVariantRecord<"root" | "label" | "requiredIndicator" | "helperText" | "errorText">>;
1231
1170
 
1232
1171
  type FieldVariantProps = RecipeVariantProps<typeof fieldSlotRecipe>;
@@ -1267,6 +1206,12 @@ declare const Field: React$1.ForwardRefExoticComponent<Omit<Field$1.RootProps, "
1267
1206
  declare const FieldErrorText: React$1.ForwardRefExoticComponent<Field$1.ErrorTextProps & React$1.RefAttributes<HTMLDivElement>>;
1268
1207
  declare const FieldLabel: React$1.ForwardRefExoticComponent<Field$1.LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
1269
1208
 
1209
+ declare const Fieldset: React$1.ForwardRefExoticComponent<Fieldset$1.RootProps & React$1.RefAttributes<HTMLFieldSetElement>>;
1210
+ declare const FieldsetLegend: React$1.ForwardRefExoticComponent<Fieldset$1.LegendProps & React$1.RefAttributes<HTMLLegendElement>>;
1211
+ declare const FieldsetContent: React$1.ForwardRefExoticComponent<Fieldset$1.ContentProps & React$1.RefAttributes<HTMLDivElement>>;
1212
+ declare const FieldsetHelperText: React$1.ForwardRefExoticComponent<Fieldset$1.HelperTextProps & React$1.RefAttributes<HTMLSpanElement>>;
1213
+ declare const FieldsetErrorText: React$1.ForwardRefExoticComponent<Fieldset$1.ErrorTextProps & React$1.RefAttributes<HTMLSpanElement>>;
1214
+
1270
1215
  type InputProps = Exclude<InputProps$1, "size" | "label" | "colorPalette"> & FieldProps & {
1271
1216
  /** The input's label */
1272
1217
  label: string;
@@ -1313,7 +1258,7 @@ declare const Input: React__default.ForwardRefExoticComponent<InputProps$1 & Omi
1313
1258
  *
1314
1259
  * @example
1315
1260
  * ```jsx
1316
- * const { data, isLoading } = useSWR('/api/options')
1261
+ * const { data, isLoading } = useSWR('/api/options')
1317
1262
  * const state = useListState({ items: data });
1318
1263
  * const ref = useRef(null);
1319
1264
  *
@@ -1334,7 +1279,7 @@ declare const ListBox: React__default.ForwardRefExoticComponent<AriaListBoxProps
1334
1279
  /** Whether or not the listbox is waiting on new data, i.e. through a autosuggest search */
1335
1280
  loading?: boolean;
1336
1281
  /** The state of the listbox, provided externally somehow. */
1337
- state: SelectState<object> | ListState<object>;
1282
+ state: ListState<object> | SelectState<unknown>;
1338
1283
  /** UI to render if the collection is empty */
1339
1284
  emptyContent?: React__default.ReactNode;
1340
1285
  maxWidth?: BoxProps["maxWidth"];
@@ -1349,7 +1294,7 @@ declare const ListBox: React__default.ForwardRefExoticComponent<AriaListBoxProps
1349
1294
  */
1350
1295
  declare function ItemLabel({ children }: {
1351
1296
  children: React__default.ReactNode;
1352
- }): React__default.JSX.Element;
1297
+ }): react_jsx_runtime.JSX.Element;
1353
1298
  /**
1354
1299
  * Renders a description for an Item.
1355
1300
  *
@@ -1357,7 +1302,7 @@ declare function ItemLabel({ children }: {
1357
1302
  */
1358
1303
  declare function ItemDescription({ children }: {
1359
1304
  children: React__default.ReactNode;
1360
- }): React__default.JSX.Element;
1305
+ }): react_jsx_runtime.JSX.Element;
1361
1306
 
1362
1307
  declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "root" | "field", {
1363
1308
  variant: {
@@ -1579,16 +1524,16 @@ type CountryCodeAndPhoneNumber = {
1579
1524
  * />
1580
1525
  * ```
1581
1526
  */
1582
- declare const PhoneNumberInput: React__default.ForwardRefExoticComponent<_chakra_ui_react.InputProps & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1583
- children?: React__default.ReactNode | undefined;
1527
+ declare const PhoneNumberInput: React$1.ForwardRefExoticComponent<_chakra_ui_react.InputProps & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1528
+ children?: React$1.ReactNode | undefined;
1584
1529
  } & {
1585
- label?: React__default.ReactNode;
1586
- helperText?: React__default.ReactNode;
1587
- errorText?: React__default.ReactNode;
1530
+ label?: React.ReactNode;
1531
+ helperText?: React.ReactNode;
1532
+ errorText?: React.ReactNode;
1588
1533
  } & {
1589
1534
  label: string;
1590
- startElement?: React__default.ReactNode;
1591
- endElement?: React__default.ReactNode;
1535
+ startElement?: React.ReactNode;
1536
+ endElement?: React.ReactNode;
1592
1537
  } & {
1593
1538
  /** The label. Defaults to a localized version of "Phone number" */
1594
1539
  label?: string;
@@ -1598,9 +1543,10 @@ declare const PhoneNumberInput: React__default.ForwardRefExoticComponent<_chakra
1598
1543
  value?: CountryCodeAndPhoneNumber;
1599
1544
  /** Returns an extra optional text when true */
1600
1545
  optional?: boolean;
1546
+ allowedCountryCodes?: string[];
1601
1547
  invalid?: boolean;
1602
1548
  errorText?: string;
1603
- } & React__default.RefAttributes<HTMLInputElement>>;
1549
+ } & React$1.RefAttributes<HTMLInputElement>>;
1604
1550
 
1605
1551
  declare const radioGroupSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "label" | "itemText" | "itemControl", {
1606
1552
  orientation: {
@@ -1649,20 +1595,20 @@ type SearchInputProps = InputProps & {
1649
1595
  *
1650
1596
  * Includes a search icon, a localized label and a reset button.
1651
1597
  */
1652
- declare const SearchInput: React__default.ForwardRefExoticComponent<_chakra_ui_react.InputProps & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1653
- children?: React__default.ReactNode | undefined;
1598
+ declare const SearchInput: React$1.ForwardRefExoticComponent<_chakra_ui_react.InputProps & Omit<_chakra_ui_react.FieldRootProps, "label"> & {
1599
+ children?: React$1.ReactNode | undefined;
1654
1600
  } & {
1655
- label?: React__default.ReactNode;
1656
- helperText?: React__default.ReactNode;
1657
- errorText?: React__default.ReactNode;
1601
+ label?: React.ReactNode;
1602
+ helperText?: React.ReactNode;
1603
+ errorText?: React.ReactNode;
1658
1604
  } & {
1659
1605
  label: string;
1660
- startElement?: React__default.ReactNode;
1661
- endElement?: React__default.ReactNode;
1606
+ startElement?: React.ReactNode;
1607
+ endElement?: React.ReactNode;
1662
1608
  } & {
1663
1609
  /** Callback for when the clear button is clicked */
1664
1610
  onReset?: () => void;
1665
- } & React__default.RefAttributes<HTMLInputElement>>;
1611
+ } & React$1.RefAttributes<HTMLInputElement>>;
1666
1612
 
1667
1613
  declare const selectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "indicator" | "label" | "control" | "itemText" | "itemDescription" | "trigger" | "indicatorGroup" | "selectContent" | "itemGroup" | "itemGroupLabel" | "valueText", {
1668
1614
  variant: {
@@ -1980,9 +1926,9 @@ declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps$1
1980
1926
  label: ReactNode;
1981
1927
  } & React__default.RefAttributes<HTMLTextAreaElement>>;
1982
1928
 
1983
- declare const PressableCard: React__default.ForwardRefExoticComponent<{
1929
+ declare const PressableCard: React$1.ForwardRefExoticComponent<{
1984
1930
  variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | "accent" | undefined>;
1985
- } & ButtonProps$1 & React__default.RefAttributes<HTMLDivElement>>;
1931
+ } & ButtonProps$1 & React$1.RefAttributes<HTMLDivElement>>;
1986
1932
 
1987
1933
  declare const RadioCard: React__default.ForwardRefExoticComponent<RadioCard$1.ItemProps & {
1988
1934
  variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
@@ -2000,16 +1946,16 @@ declare const RadioCardGroup: React__default.ForwardRefExoticComponent<{
2000
1946
  } & React__default.RefAttributes<HTMLDivElement>>;
2001
1947
  declare const RadioCardLabel: React__default.ForwardRefExoticComponent<RadioCard$1.LabelProps & React__default.RefAttributes<HTMLDivElement>>;
2002
1948
 
2003
- declare const Separator: React__default.ForwardRefExoticComponent<SeparatorProps & {
1949
+ declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & {
2004
1950
  variant?: _chakra_ui_react.ConditionalValue<"dashed" | "solid" | undefined>;
2005
1951
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | undefined>;
2006
1952
  orientation?: _chakra_ui_react.ConditionalValue<"horizontal" | "vertical" | undefined>;
2007
1953
  } & {
2008
- children?: React__default.ReactNode | undefined;
1954
+ children?: React$1.ReactNode | undefined;
2009
1955
  } & {
2010
1956
  size?: "sm" | "md" | "lg";
2011
1957
  variant?: "solid" | "dashed";
2012
- } & React__default.RefAttributes<HTMLDivElement>>;
1958
+ } & React$1.RefAttributes<HTMLDivElement>>;
2013
1959
 
2014
1960
  declare const staticCardRecipe: _chakra_ui_react.RecipeDefinition<{
2015
1961
  colorPalette: {
@@ -2042,9 +1988,9 @@ declare const staticCardRecipe: _chakra_ui_react.RecipeDefinition<{
2042
1988
  }>;
2043
1989
 
2044
1990
  type StaticCardProps = RecipeVariantProps<typeof staticCardRecipe> & BoxProps;
2045
- declare const StaticCard: React__default.ForwardRefExoticComponent<{
1991
+ declare const StaticCard: React$1.ForwardRefExoticComponent<{
2046
1992
  colorPalette?: _chakra_ui_react.ConditionalValue<"white" | "blue" | "green" | "grey" | "orange" | "red" | "yellow" | "darkYellow" | undefined>;
2047
- } & BoxProps & React__default.RefAttributes<HTMLDivElement>>;
1993
+ } & BoxProps & React$1.RefAttributes<HTMLDivElement>>;
2048
1994
 
2049
1995
  declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
2050
1996
  variant: {
@@ -2129,7 +2075,7 @@ type InfoTagProps = TagProps & PropsWithChildren<InfoTagVariantProps>;
2129
2075
  * ```tsx
2130
2076
  * <InfoTag variant="subway" title="3" description="Ringen" />
2131
2077
  * ```
2132
- * They support three different sizes – `sm`, `md` and `lg`.
2078
+ * They support three different sizes –`sm`, `md` and `lg`.
2133
2079
  *
2134
2080
  * ```tsx
2135
2081
  * <InfoTag
@@ -2153,7 +2099,7 @@ type InfoTagProps = TagProps & PropsWithChildren<InfoTagVariantProps>;
2153
2099
  *
2154
2100
  * @see https://spor.vy.no/components/line-tags
2155
2101
  */
2156
- declare const InfoTag: ({ variant, size, title, description, ...customProps }: InfoTagProps) => React__default.JSX.Element;
2102
+ declare const InfoTag: ({ variant, size, title, description, ...customProps }: InfoTagProps) => react_jsx_runtime.JSX.Element;
2157
2103
 
2158
2104
  declare const lineIconSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "root" | "title" | "iconContainer" | "desc", {
2159
2105
  variant: {
@@ -2287,7 +2233,7 @@ type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChil
2287
2233
  * <LineIcon variant="subway" />
2288
2234
  * ```
2289
2235
  *
2290
- * They support three different sizes – `sm`, `md` and `lg`.
2236
+ * They support three different sizes - `sm`, `md` and `lg`.
2291
2237
  *
2292
2238
  * ```tsx
2293
2239
  * <LineIcon variant="subway" size="lg" />
@@ -2470,7 +2416,7 @@ type TravelTagProps = TagProps & BoxProps & PropsWithChildren<TravelTagVariantPr
2470
2416
  * <TravelTag variant="subway" title="3" description="Ringen" />
2471
2417
  * ```
2472
2418
  *
2473
- * They support three different sizes – `sm`, `md` and `lg`.
2419
+ * They support three different sizes - `sm`, `md` and `lg`.
2474
2420
  *
2475
2421
  * You can also render them with a deviation level to indicate an extra focus:
2476
2422
  *
@@ -2513,7 +2459,7 @@ type TravelTagProps = TagProps & BoxProps & PropsWithChildren<TravelTagVariantPr
2513
2459
  *
2514
2460
  * @see https://spor.vy.no/components/line-tags
2515
2461
  */
2516
- declare const TravelTag: React__default.ForwardRefExoticComponent<TravelTagProps & React__default.RefAttributes<HTMLDivElement>>;
2462
+ declare const TravelTag: React$1.ForwardRefExoticComponent<TravelTagProps & React$1.RefAttributes<HTMLDivElement>>;
2517
2463
 
2518
2464
  declare const linkRecipe: _chakra_ui_react.RecipeDefinition<{
2519
2465
  variant: {
@@ -2585,7 +2531,7 @@ type ColorInlineLoaderProps = Exclude<BoxProps, "children">;
2585
2531
  *
2586
2532
  * This component should only be used on light backgrounds with low saturation (e.g. white, light grey etc.). For colored backgrounds, please use the LightInlineLoader component.
2587
2533
  */
2588
- declare const ColorInlineLoader: ({ width, maxWidth, ...props }: ColorInlineLoaderProps) => React__default.JSX.Element;
2534
+ declare const ColorInlineLoader: ({ width, maxWidth, ...props }: ColorInlineLoaderProps) => react_jsx_runtime.JSX.Element;
2589
2535
 
2590
2536
  type SpinnerProps = BoxProps;
2591
2537
  type ColorSpinnerProps = SpinnerProps;
@@ -2604,23 +2550,23 @@ type ColorSpinnerProps = SpinnerProps;
2604
2550
  * Hold your horses
2605
2551
  * </ColorSpinner>
2606
2552
  */
2607
- declare const ColorSpinner: ({ children, width, maxWidth, ...props }: SpinnerProps) => React__default.JSX.Element;
2553
+ declare const ColorSpinner: ({ children, width, maxWidth, ...props }: SpinnerProps) => react_jsx_runtime.JSX.Element;
2608
2554
 
2609
2555
  type ContentLoaderProps = BoxProps;
2610
2556
  /**
2611
2557
  * ContentLoader is a component that renders a loading animation.
2612
2558
  * It should mostly be used for loading content that is not yet available.
2613
2559
  */
2614
- declare const ContentLoader: ({ children, ...props }: ContentLoaderProps) => React__default.JSX.Element;
2560
+ declare const ContentLoader: ({ children, ...props }: ContentLoaderProps) => react_jsx_runtime.JSX.Element;
2615
2561
 
2616
2562
  type DarkFullScreenLoaderProps = BoxProps;
2617
- declare const DarkFullScreenLoader: ({ width, maxWidth, ...props }: DarkFullScreenLoaderProps) => React__default.JSX.Element;
2563
+ declare const DarkFullScreenLoader: ({ width, maxWidth, ...props }: DarkFullScreenLoaderProps) => react_jsx_runtime.JSX.Element;
2618
2564
 
2619
2565
  type DarkInlineLoaderProps = Exclude<BoxProps, "children">;
2620
2566
  /**
2621
2567
  * Loading component that works well in bounded contexts, like inside a button.
2622
2568
  */
2623
- declare const DarkInlineLoader: ({ width, maxWidth, ...props }: DarkInlineLoaderProps) => React__default.JSX.Element;
2569
+ declare const DarkInlineLoader: ({ width, maxWidth, ...props }: DarkInlineLoaderProps) => react_jsx_runtime.JSX.Element;
2624
2570
 
2625
2571
  type DarkSpinnerProps = BoxProps;
2626
2572
  /** A circular spinner
@@ -2638,16 +2584,16 @@ type DarkSpinnerProps = BoxProps;
2638
2584
  * Hold your horses
2639
2585
  * </DarkSpinner>
2640
2586
  */
2641
- declare const DarkSpinner: ({ children, width, maxWidth, ...props }: DarkSpinnerProps) => React__default.JSX.Element;
2587
+ declare const DarkSpinner: ({ children, width, maxWidth, ...props }: DarkSpinnerProps) => react_jsx_runtime.JSX.Element;
2642
2588
 
2643
2589
  type LightFullScreenLoaderProps = BoxProps;
2644
- declare const LightFullScreenLoader: ({ width, maxWidth, ...props }: LightFullScreenLoaderProps) => React__default.JSX.Element;
2590
+ declare const LightFullScreenLoader: ({ width, maxWidth, ...props }: LightFullScreenLoaderProps) => react_jsx_runtime.JSX.Element;
2645
2591
 
2646
2592
  type LightInlineLoaderProps = Exclude<BoxProps, "children">;
2647
2593
  /**
2648
2594
  * Loading component that works well in bounded contexts, like inside a button.
2649
2595
  */
2650
- declare const LightInlineLoader: ({ width, maxWidth, ...props }: LightInlineLoaderProps) => React__default.JSX.Element;
2596
+ declare const LightInlineLoader: ({ width, maxWidth, ...props }: LightInlineLoaderProps) => react_jsx_runtime.JSX.Element;
2651
2597
 
2652
2598
  type LightSpinnerProps = BoxProps;
2653
2599
  /** A circular spinner
@@ -2665,7 +2611,7 @@ type LightSpinnerProps = BoxProps;
2665
2611
  * Hold your horses
2666
2612
  * </LightSpinner>
2667
2613
  */
2668
- declare const LightSpinner: ({ children, width, maxWidth, ...props }: LightSpinnerProps) => React__default.JSX.Element;
2614
+ declare const LightSpinner: ({ children, width, maxWidth, ...props }: LightSpinnerProps) => react_jsx_runtime.JSX.Element;
2669
2615
 
2670
2616
  declare const progressBarRecipe: _chakra_ui_react.SlotRecipeDefinition<"description" | "container" | "background" | "progress" | "disabledBackground", _chakra_ui_react.SlotRecipeVariantRecord<"description" | "container" | "background" | "progress" | "disabledBackground">>;
2671
2617
 
@@ -2921,14 +2867,14 @@ type CargonetLogoProps = {
2921
2867
  */
2922
2868
  colorPalette: "light" | "dark";
2923
2869
  };
2924
- declare const CargonetLogo: React__default.ForwardRefExoticComponent<CargonetLogoProps & React__default.RefAttributes<SVGSVGElement>>;
2870
+ declare const CargonetLogo: React$1.ForwardRefExoticComponent<CargonetLogoProps & React$1.RefAttributes<SVGSVGElement>>;
2925
2871
 
2926
2872
  declare const SvgBox: _chakra_ui_react.ChakraComponent<"svg", {}>;
2927
2873
  type VyLogoProps = BoxProps & React__default.SVGProps<SVGSVGElement>;
2928
2874
  declare const VyLogo: React__default.ForwardRefExoticComponent<Omit<VyLogoProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
2929
2875
 
2930
2876
  type VyLogoPrideProps = BoxProps;
2931
- declare const VyLogoPride: React__default.ForwardRefExoticComponent<BoxProps & React__default.RefAttributes<SVGSVGElement>>;
2877
+ declare const VyLogoPride: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<SVGSVGElement>>;
2932
2878
 
2933
2879
  declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "root", {
2934
2880
  variant: {
@@ -2997,18 +2943,18 @@ type MediaControllerVariantProps = RecipeVariantProps<typeof mediaControllerSlot
2997
2943
  * <JumpButton direction="forward" onClick={onGoForward} />
2998
2944
  * ```
2999
2945
  */
3000
- declare const JumpButton: React__default.ForwardRefExoticComponent<BoxProps & {
2946
+ declare const JumpButton: React$1.ForwardRefExoticComponent<BoxProps & {
3001
2947
  variant?: _chakra_ui_react.ConditionalValue<"play" | "jumpSkip" | undefined>;
3002
2948
  size?: _chakra_ui_react.ConditionalValue<"sm" | "lg" | undefined>;
3003
2949
  } & {
3004
- children?: React__default.ReactNode | undefined;
2950
+ children?: React$1.ReactNode | undefined;
3005
2951
  } & {
3006
2952
  onClick: () => void;
3007
2953
  "aria-label"?: string;
3008
2954
  disabled?: boolean;
3009
2955
  direction: "backward" | "forward";
3010
2956
  size: "sm" | "lg";
3011
- } & React__default.RefAttributes<HTMLButtonElement>>;
2957
+ } & React$1.RefAttributes<HTMLButtonElement>>;
3012
2958
 
3013
2959
  /**
3014
2960
  * A playback button.
@@ -3021,18 +2967,18 @@ declare const JumpButton: React__default.ForwardRefExoticComponent<BoxProps & {
3021
2967
  * <PlayPauseButton playing={playing} onClick={onPlaybackClick} />
3022
2968
  * ```
3023
2969
  */
3024
- declare const PlayPauseButton: React__default.ForwardRefExoticComponent<BoxProps & {
2970
+ declare const PlayPauseButton: React$1.ForwardRefExoticComponent<BoxProps & {
3025
2971
  variant?: _chakra_ui_react.ConditionalValue<"play" | "jumpSkip" | undefined>;
3026
2972
  size?: _chakra_ui_react.ConditionalValue<"sm" | "lg" | undefined>;
3027
2973
  } & {
3028
- children?: React__default.ReactNode | undefined;
2974
+ children?: React$1.ReactNode | undefined;
3029
2975
  } & {
3030
2976
  onClick: () => void;
3031
2977
  "aria-label"?: string;
3032
2978
  disabled?: boolean;
3033
2979
  playing: boolean;
3034
2980
  size: "sm" | "lg";
3035
- } & React__default.RefAttributes<HTMLButtonElement>>;
2981
+ } & React$1.RefAttributes<HTMLButtonElement>>;
3036
2982
 
3037
2983
  /**
3038
2984
  * A skip button.
@@ -3045,28 +2991,28 @@ declare const PlayPauseButton: React__default.ForwardRefExoticComponent<BoxProps
3045
2991
  * <SkipButton direction="forward" onClick={onNextChapter} />
3046
2992
  * ```
3047
2993
  */
3048
- declare const SkipButton: React__default.ForwardRefExoticComponent<BoxProps & {
2994
+ declare const SkipButton: React$1.ForwardRefExoticComponent<BoxProps & {
3049
2995
  variant?: _chakra_ui_react.ConditionalValue<"play" | "jumpSkip" | undefined>;
3050
2996
  size?: _chakra_ui_react.ConditionalValue<"sm" | "lg" | undefined>;
3051
2997
  } & {
3052
- children?: React__default.ReactNode | undefined;
2998
+ children?: React$1.ReactNode | undefined;
3053
2999
  } & {
3054
3000
  onClick: () => void;
3055
3001
  "aria-label"?: string;
3056
3002
  disabled?: boolean;
3057
3003
  direction: "backward" | "forward";
3058
3004
  size: "sm" | "lg";
3059
- } & React__default.RefAttributes<HTMLButtonElement>>;
3005
+ } & React$1.RefAttributes<HTMLButtonElement>>;
3060
3006
 
3061
3007
  type NudgeProps = {
3062
3008
  introducedDate: string;
3063
3009
  } & PopoverRootProps;
3064
- declare const Nudge: (props: NudgeProps) => React__default.JSX.Element | null;
3010
+ declare const Nudge: (props: NudgeProps) => react_jsx_runtime.JSX.Element | null;
3065
3011
  declare const NudgeTrigger: React__default.ForwardRefExoticComponent<Popover$1.TriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
3066
3012
  declare const NudgeContent: React__default.ForwardRefExoticComponent<Omit<PopoverProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
3067
- declare const NudgeActions: ({ className, ...props }: BoxProps) => React__default.JSX.Element;
3013
+ declare const NudgeActions: ({ ...props }: BoxProps) => react_jsx_runtime.JSX.Element;
3068
3014
  declare const NudgeWizardStep: {
3069
- ({ children }: PropsWithChildren): React__default.JSX.Element;
3015
+ ({ children }: PropsWithChildren): react_jsx_runtime.JSX.Element;
3070
3016
  displayName: string;
3071
3017
  };
3072
3018
  declare const NudgeCloseTrigger: React__default.ForwardRefExoticComponent<Popover$1.TriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
@@ -3082,7 +3028,7 @@ declare const PaginationEllipsis: React$1.ForwardRefExoticComponent<Pagination$1
3082
3028
  declare const PaginationItem: React$1.ForwardRefExoticComponent<Pagination$1.ItemProps & React$1.RefAttributes<HTMLButtonElement>>;
3083
3029
  declare const PaginationPrevTrigger: React$1.ForwardRefExoticComponent<Pagination$1.PrevTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
3084
3030
  declare const PaginationNextTrigger: React$1.ForwardRefExoticComponent<Pagination$1.NextTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
3085
- declare const PaginationItems: (props: React$1.HTMLAttributes<HTMLElement> & {}) => React$1.JSX.Element;
3031
+ declare const PaginationItems: (props: React$1.HTMLAttributes<HTMLElement> & {}) => react_jsx_runtime.JSX.Element;
3086
3032
 
3087
3033
  declare const Popover: React__default.FC<Popover$1.RootProps>;
3088
3034
  declare const PopoverTrigger: React__default.ForwardRefExoticComponent<Popover$1.TriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
@@ -3163,7 +3109,7 @@ import { theme } from '../../../../apps/docs/app/features/portable-text/code-blo
3163
3109
  * );
3164
3110
  * ```
3165
3111
  */
3166
- declare const SporProvider: ({ language, theme, children, }: SporProviderProps) => React__default.JSX.Element;
3112
+ declare const SporProvider: ({ language, theme, children, }: SporProviderProps) => react_jsx_runtime.JSX.Element;
3167
3113
 
3168
3114
  declare const stepperSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "title" | "closeButton" | "container" | "innerContainer" | "stepCounter" | "stepContainer" | "stepButton" | "stepNumber" | "stepTitle" | "backButton", {
3169
3115
  variant: {
@@ -3218,10 +3164,10 @@ type StepperVariantProps = RecipeVariantProps<typeof stepperSlotRecipe>;
3218
3164
  * />
3219
3165
  * ```
3220
3166
  **/
3221
- declare const Stepper: React__default.ForwardRefExoticComponent<{
3167
+ declare const Stepper: React$1.ForwardRefExoticComponent<{
3222
3168
  variant?: _chakra_ui_react.ConditionalValue<"core" | "accent" | undefined>;
3223
3169
  } & {
3224
- children?: React__default.ReactNode | undefined;
3170
+ children?: React$1.ReactNode | undefined;
3225
3171
  } & {
3226
3172
  /** Callback for when a step is clicked */
3227
3173
  onClick: (clickedStep: number) => void;
@@ -3248,7 +3194,7 @@ declare const Stepper: React__default.ForwardRefExoticComponent<{
3248
3194
  variant: "core" | "accent";
3249
3195
  /** Disables all clicks */
3250
3196
  disabled?: boolean;
3251
- } & React__default.RefAttributes<HTMLDivElement>>;
3197
+ } & React$1.RefAttributes<HTMLDivElement>>;
3252
3198
 
3253
3199
  type StepperStepProps = PropsWithChildren<StepperVariantProps> & {
3254
3200
  children: React__default.ReactNode;
@@ -3256,7 +3202,7 @@ type StepperStepProps = PropsWithChildren<StepperVariantProps> & {
3256
3202
  variant: "core" | "accent";
3257
3203
  disabled?: boolean;
3258
3204
  };
3259
- declare const StepperStep: ({ children, stepNumber, variant, disabled: disabledOverride, }: StepperStepProps) => React__default.JSX.Element;
3205
+ declare const StepperStep: ({ children, stepNumber, variant, disabled: disabledOverride, }: StepperStepProps) => react_jsx_runtime.JSX.Element;
3260
3206
 
3261
3207
  declare const tabsSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "indicator" | "content" | "list" | "trigger", {
3262
3208
  fitted: {
@@ -3646,16 +3592,16 @@ type TableProps = Exclude<TableRootProps, "variant" | "colorPalette"> & PropsWit
3646
3592
  * </Table>
3647
3593
  * ```
3648
3594
  */
3649
- declare const Table: React__default.ForwardRefExoticComponent<Table$1.RootProps & {
3595
+ declare const Table: React$1.ForwardRefExoticComponent<Table$1.RootProps & {
3650
3596
  colorPalette?: _chakra_ui_react.ConditionalValue<"white" | "green" | "grey" | undefined>;
3651
3597
  variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | undefined>;
3652
3598
  size?: _chakra_ui_react.ConditionalValue<"sm" | "md" | "lg" | undefined>;
3653
3599
  } & {
3654
- children?: React__default.ReactNode | undefined;
3600
+ children?: React$1.ReactNode | undefined;
3655
3601
  } & {
3656
3602
  variant?: "ghost" | "core";
3657
3603
  colorPalette?: "grey" | "green" | "white";
3658
- } & React__default.RefAttributes<HTMLTableElement>>;
3604
+ } & React$1.RefAttributes<HTMLTableElement>>;
3659
3605
 
3660
3606
  declare const themes: {
3661
3607
  VyDigital: _chakra_ui_react.SystemContext;
@@ -3680,14 +3626,14 @@ type ToastProps = {
3680
3626
  variant: Variant;
3681
3627
  id?: string;
3682
3628
  };
3683
- declare const createToast: ({ text, variant, id, duration, }: ToastProps) => string | undefined;
3629
+ declare const createToast: ({ text, variant, id, duration, }: ToastProps) => string;
3684
3630
 
3685
3631
  type BadgeProps = BadgeProps$1 & {
3686
3632
  icon?: IconComponent;
3687
3633
  };
3688
- declare const Badge: React__default.ForwardRefExoticComponent<BadgeProps$1 & {
3634
+ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps$1 & {
3689
3635
  icon?: IconComponent;
3690
- } & React__default.RefAttributes<HTMLSpanElement>>;
3636
+ } & React$1.RefAttributes<HTMLSpanElement>>;
3691
3637
 
3692
3638
  declare const Code: React__default.ForwardRefExoticComponent<{
3693
3639
  colorPalette?: _chakra_ui_react.ConditionalValue<undefined>;
@@ -3724,14 +3670,14 @@ type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
3724
3670
  * <Heading as="h1" autoId>Page heading</Heading> // Will set id="page-heading"
3725
3671
  * ```
3726
3672
  */
3727
- declare const Heading: React__default.ForwardRefExoticComponent<Omit<HeadingProps$1, "textStyle" | "as"> & {
3673
+ declare const Heading: React$1.ForwardRefExoticComponent<Omit<HeadingProps$1, "textStyle" | "as"> & {
3728
3674
  /** The heading level, e.g. h1, h2, h3... **/
3729
3675
  as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
3730
3676
  /** The size and style of the heading. Defaults to xl-display */
3731
3677
  variant?: ConditionalValue<"sm" | "md" | "lg" | "xxl" | "xl-display" | "xl-sans" | "xs">;
3732
3678
  /** If true, generate an ID based on the children */
3733
3679
  autoId?: boolean;
3734
- } & React__default.RefAttributes<HTMLHeadingElement>>;
3680
+ } & React$1.RefAttributes<HTMLHeadingElement>>;
3735
3681
 
3736
3682
  type TextProps = Omit<TextProps$1, "textStyle"> & {
3737
3683
  /** The size and style of the text.
@@ -3747,13 +3693,13 @@ type TextProps = Omit<TextProps$1, "textStyle"> & {
3747
3693
  * <Text>Welcome to this paragraph of text.</Text>
3748
3694
  * ```
3749
3695
  */
3750
- declare const Text: React__default.ForwardRefExoticComponent<Omit<TextProps$1, "textStyle"> & {
3696
+ declare const Text: React$1.ForwardRefExoticComponent<Omit<TextProps$1, "textStyle"> & {
3751
3697
  /** The size and style of the text.
3752
3698
  *
3753
3699
  * Defaults to "sm"
3754
3700
  * textStyle values are: "sm" | "md" | "lg" | "2xl" | "xl-display" | "xl-sans" | "xs" */
3755
3701
  variant?: TextProps$1["textStyle"];
3756
- } & React__default.RefAttributes<HTMLParagraphElement>>;
3702
+ } & React$1.RefAttributes<HTMLParagraphElement>>;
3757
3703
 
3758
3704
  /**
3759
3705
  * Makes a slug-version of any string.
@@ -3766,4 +3712,4 @@ declare const Text: React__default.ForwardRefExoticComponent<Omit<TextProps$1, "
3766
3712
  **/
3767
3713
  declare function slugify(text: string | string[], maxLength?: number): string;
3768
3714
 
3769
- export { Accordion, AccordionItem, AccordionItemContent, AccordionItemTrigger, Alert, type AlertProps, AttachedInputs, type AttachedInputsProps, Badge, type BadgeProps, Brand, Breadcrumb, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonVariantProps, CardSelect, CardSelectContent, CardSelectTrigger, type CardSelectTriggerProps, CargonetLogo, type CargonetLogoProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, ChoiceChip, type ChoiceChipProps, Clipboard, ClipboardButton, CloseButton, type CloseButtonProps, CloseDrawerLine, Code, ColorInlineLoader, type ColorInlineLoaderProps, type ColorMode, ColorModeButton, ColorModeIcon, ColorModeProvider, type ColorModeProviderProps, ColorSpinner, type ColorSpinnerProps, Combobox, type ComboboxProps, ContentLoader, type ContentLoaderProps, type CountryCodeAndPhoneNumber, DarkFullScreenLoader, DarkInlineLoader, type DarkInlineLoaderProps, DarkSpinner, type DarkSpinnerProps, DatePicker, type DatePickerVariantProps, DateRangePicker, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, Drawer, DrawerActionTrigger, DrawerBackTrigger, DrawerBackdrop, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerFooter, DrawerFullScreenHeader, DrawerHeader, DrawerTitle, DrawerTrigger, Expandable, ExpandableAlert, ExpandableItem, Field, FieldErrorText, FieldLabel, type FieldProps, Fieldset, FieldsetContent, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FloatingActionButton, type GroupVariantProps, Heading, type HeadingProps, IconButton, type IconButtonProps, InfoTag, type InfoTagProps, Input, type InputProps, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, type LightInlineLoaderProps, LightSpinner, type LightSpinnerProps, LineIcon, type LineIconProps, type LinkProps, List, ListBox, ListIndicator, ListItem, type MediaControllerVariantProps, NativeSelect, type NativeSelectdProps, Nudge, NudgeActions, NudgeCloseTrigger, NudgeContent, type NudgeProps, NudgeTrigger, NudgeWizardStep, NumericStepper, type NumericStepperProps, Pagination, PaginationEllipsis, PaginationItem, PaginationItems, PaginationNextTrigger, PaginationPrevTrigger, PasswordInput, type PasswordInputProps, type PasswordVisibilityProps, PhoneNumberInput, PlayPauseButton, Popover, PopoverContent, type PopoverProps, PopoverTrigger, PressableCard, ProgressBar, type ProgressBarProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorVariantProps, ProgressLoader, type ProgressLoaderProps, type ProgressLoaderVariantProps, Radio, RadioCard, RadioCardGroup, RadioCardLabel, RadioGroup, type RadioProps, SearchInput, type SearchInputProps, Select, SelectContent, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, type SelectProps, SelectRoot, SelectTrigger, SelectValueText, Separator, ServiceAlert, Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, SkipButton, type SpinnerProps, SporProvider, StaticCard, type StaticCardProps, Stepper, StepperStep, type StepperVariantProps, SvgBox, Switch, type SwitchProps, Table, type TableProps, Tabs, TabsContent, TabsIndicator, TabsList, type TabsProps, TabsTrigger, Text, TextLink, type TextProps, Textarea, type TextareaProps, TimePicker, type TranslationObject, type Translations, TravelTag, type TravelTagProps, type UseColorModeReturn, VyLogo, VyLogoPride, type VyLogoPrideProps, createTexts, createToast, fontFaces, slugify, system, themes, useColorMode, useColorModeValue, useTranslation };
3715
+ export { Accordion, AccordionItem, AccordionItemContent, AccordionItemTrigger, Alert, type AlertProps, AttachedInputs, type AttachedInputsProps, Badge, type BadgeProps, Brand, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonVariantProps, CardSelect, CardSelectContent, CardSelectTrigger, type CardSelectTriggerProps, CargonetLogo, type CargonetLogoProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, ChoiceChip, type ChoiceChipProps, Clipboard, ClipboardButton, CloseButton, type CloseButtonProps, CloseDrawerLine, Code, ColorInlineLoader, type ColorInlineLoaderProps, type ColorMode, ColorModeButton, ColorModeIcon, ColorModeProvider, type ColorModeProviderProps, ColorSpinner, type ColorSpinnerProps, Combobox, type ComboboxProps, ContentLoader, type ContentLoaderProps, type CountryCodeAndPhoneNumber, DarkFullScreenLoader, DarkInlineLoader, type DarkInlineLoaderProps, DarkSpinner, type DarkSpinnerProps, DatePicker, type DatePickerVariantProps, DateRangePicker, DialogActionTrigger, DialogBackdrop, DialogBody, DialogCloseTrigger, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, DialogTrigger, Drawer, DrawerActionTrigger, DrawerBackTrigger, DrawerBackdrop, DrawerBody, DrawerCloseTrigger, DrawerContent, DrawerFooter, DrawerFullScreenHeader, DrawerHeader, DrawerTitle, DrawerTrigger, Expandable, ExpandableAlert, ExpandableItem, Field, FieldErrorText, FieldLabel, type FieldProps, Fieldset, FieldsetContent, FieldsetErrorText, FieldsetHelperText, FieldsetLegend, FloatingActionButton, type GroupVariantProps, Heading, type HeadingProps, IconButton, type IconButtonProps, InfoTag, type InfoTagProps, Input, type InputProps, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, type LightInlineLoaderProps, LightSpinner, type LightSpinnerProps, LineIcon, type LineIconProps, type LinkProps, List, ListBox, ListIndicator, ListItem, type MediaControllerVariantProps, NativeSelect, type NativeSelectdProps, Nudge, NudgeActions, NudgeCloseTrigger, NudgeContent, type NudgeProps, NudgeTrigger, NudgeWizardStep, NumericStepper, type NumericStepperProps, Pagination, PaginationEllipsis, PaginationItem, PaginationItems, PaginationNextTrigger, PaginationPrevTrigger, PasswordInput, type PasswordInputProps, type PasswordVisibilityProps, PhoneNumberInput, PlayPauseButton, Popover, PopoverContent, type PopoverProps, PopoverTrigger, PressableCard, ProgressBar, type ProgressBarProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorVariantProps, ProgressLoader, type ProgressLoaderProps, type ProgressLoaderVariantProps, Radio, RadioCard, RadioCardGroup, RadioCardLabel, RadioGroup, type RadioProps, SearchInput, type SearchInputProps, Select, SelectContent, SelectItem, SelectItemGroup, SelectItemText, SelectLabel, type SelectProps, SelectRoot, SelectTrigger, SelectValueText, Separator, ServiceAlert, Skeleton, SkeletonCircle, type SkeletonCircleProps, type SkeletonProps, SkeletonText, type SkeletonTextProps, SkipButton, type SpinnerProps, SporProvider, StaticCard, type StaticCardProps, Stepper, StepperStep, type StepperVariantProps, SvgBox, Switch, type SwitchProps, Table, type TableProps, Tabs, TabsContent, TabsIndicator, TabsList, type TabsProps, TabsTrigger, Text, TextLink, type TextProps, Textarea, type TextareaProps, TimePicker, type TranslationObject, type Translations, TravelTag, type TravelTagProps, type UseColorModeReturn, VyLogo, VyLogoPride, type VyLogoPrideProps, createTexts, createToast, fontFaces, slugify, system, themes, useColorMode, useColorModeValue, useTranslation };