@vygruppen/spor-react 12.0.0 → 12.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
 
2
- > @vygruppen/spor-react@12.0.0 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.0.2 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > pnpm typegen && tsup
4
4
 
5
5
 
6
- > @vygruppen/spor-react@12.0.0 typegen /home/runner/work/spor/spor/packages/spor-react
6
+ > @vygruppen/spor-react@12.0.2 typegen /home/runner/work/spor/spor/packages/spor-react
7
7
  > npx @chakra-ui/cli typegen src/theme/index.ts
8
8
 
9
9
  ┌ Chakra CLI ⚡️
@@ -31,12 +31,12 @@ CLI Target: node16
31
31
  CJS Build start
32
32
  ESM Build start
33
33
  DTS Build start
34
- ESM dist/index.mjs 292.29 KB
35
- ESM dist/index.mjs.map 619.55 KB
36
- ESM ⚡️ Build success in 1903ms
37
- CJS dist/index.js 311.52 KB
38
- CJS dist/index.js.map 619.55 KB
39
- CJS ⚡️ Build success in 1903ms
40
- DTS ⚡️ Build success in 21154ms
41
- DTS dist/index.d.ts 131.62 KB
42
- DTS dist/index.d.mts 131.62 KB
34
+ CJS dist/index.js 311.57 KB
35
+ CJS dist/index.js.map 619.74 KB
36
+ CJS ⚡️ Build success in 1860ms
37
+ ESM dist/index.mjs 292.34 KB
38
+ ESM dist/index.mjs.map 619.74 KB
39
+ ESM ⚡️ Build success in 1861ms
40
+ DTS ⚡️ Build success in 21713ms
41
+ DTS dist/index.d.ts 133.66 KB
42
+ DTS dist/index.d.mts 133.66 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.0.0 typegen /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.0.2 typegen /home/runner/work/spor/spor/packages/spor-react
3
3
  > npx @chakra-ui/cli typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6d33265: Tables: fix for horizontal scroll for tables on mobile version
8
+
9
+ ## 12.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 14720c4: Update peer dependencies to support all versions of react 18. Fix type errors with NativeSelect and Heading
14
+ - Updated dependencies [14720c4]
15
+ - @vygruppen/spor-icon-react@4.0.1
16
+
3
17
  ## 12.0.0
4
18
 
5
19
  ### Major Changes
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as sporDesignTokens from '@vygruppen/spor-design-tokens';
2
2
  export { sporDesignTokens as tokens };
3
3
  import * as _chakra_ui_react from '@chakra-ui/react';
4
- import { Accordion as Accordion$1, ConditionalValue, Alert as Alert$1, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, IconButtonProps as IconButtonProps$1, BoxProps, Clipboard as Clipboard$1, InputElementProps, PopoverRootProps, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, Fieldset as Fieldset$1, Field, InputProps as InputProps$1, ListRootProps, RadioGroup as RadioGroup$1, Switch as Switch$1, TextareaProps as TextareaProps$1, SelectRootProps, Select as Select$1, CollectionItem, SeparatorProps, RadioCard as RadioCard$1, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Drawer as Drawer$1, Dialog, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, 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';
4
+ import { Accordion as Accordion$1, ConditionalValue, Alert as Alert$1, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, IconButtonProps as IconButtonProps$1, BoxProps, Clipboard as Clipboard$1, InputElementProps, PopoverRootProps, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, Fieldset as Fieldset$1, Field, InputProps as InputProps$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, Switch as Switch$1, TextareaProps as TextareaProps$1, SelectRootProps, Select as Select$1, CollectionItem, SeparatorProps, RadioCard as RadioCard$1, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Drawer as Drawer$1, Dialog, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, 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
5
  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, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
6
6
  import * as React$1 from 'react';
7
7
  import React__default, { PropsWithChildren, ReactNode, ChangeEvent } from 'react';
@@ -1205,6 +1205,59 @@ declare function ItemDescription({ children }: {
1205
1205
  children: React__default.ReactNode;
1206
1206
  }): React__default.JSX.Element;
1207
1207
 
1208
+ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "icon" | "field", {
1209
+ variant: {
1210
+ core: {
1211
+ field: {
1212
+ backgroundColor?: "transparent" | undefined;
1213
+ outline?: "1px solid" | undefined;
1214
+ outlineColor?: "core.outline" | undefined;
1215
+ _hover?: {
1216
+ outline: "2px solid";
1217
+ outlineColor: "core.outline.hover";
1218
+ _active: {
1219
+ outline: "1px solid";
1220
+ outlineColor: "outline.disabled";
1221
+ backgroundColor: "core.surface.active";
1222
+ };
1223
+ } | undefined;
1224
+ _focus?: {
1225
+ outline: "2px solid";
1226
+ outlineColor: "outline.focus";
1227
+ } | undefined;
1228
+ };
1229
+ };
1230
+ floating: {
1231
+ field: {
1232
+ boxShadow?: "sm" | undefined;
1233
+ bg?: "floating.surface" | undefined;
1234
+ outline?: "1px solid" | undefined;
1235
+ outlineColor?: "floating.outline" | undefined;
1236
+ _hover?: {
1237
+ outline: "1px solid";
1238
+ outlineColor: "floating.outline.hover";
1239
+ } | undefined;
1240
+ _active?: {
1241
+ outline: "1px solid";
1242
+ outlineColor: "floating.outline.active";
1243
+ backgroundColor: "floating.surface.active";
1244
+ } | undefined;
1245
+ focus?: {
1246
+ outline: string;
1247
+ outlineColor: string;
1248
+ } | undefined;
1249
+ };
1250
+ };
1251
+ };
1252
+ }>;
1253
+
1254
+ type NativeSelectVariantProps = RecipeVariantProps<typeof nativeSelectSlotRecipe>;
1255
+ type NativeSelectdProps = React$1.PropsWithChildren<NativeSelectVariantProps> & NativeSelectFieldProps & {
1256
+ icon?: React$1.ReactNode;
1257
+ label: string;
1258
+ invalid?: boolean;
1259
+ disabled?: boolean;
1260
+ };
1208
1261
  /**
1209
1262
  * Selects let you choose between several options
1210
1263
  *
@@ -1225,7 +1278,7 @@ declare const NativeSelect: React$1.ForwardRefExoticComponent<{
1225
1278
  variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1226
1279
  } & {
1227
1280
  children?: React$1.ReactNode | undefined;
1228
- } & {
1281
+ } & NativeSelect$1.FieldProps & {
1229
1282
  icon?: React$1.ReactNode;
1230
1283
  label: string;
1231
1284
  invalid?: boolean;
@@ -3645,7 +3698,7 @@ type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
3645
3698
  /** The heading level, e.g. h1, h2, h3... **/
3646
3699
  as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
3647
3700
  /** The size and style of the heading. Defaults to xl-display */
3648
- variant?: ConditionalValue<"sm" | "md" | "lg" | "2xl" | "xl-display" | "xl-sans" | "xs">;
3701
+ variant?: ConditionalValue<"sm" | "md" | "lg" | "xxl" | "xl-display" | "xl-sans" | "xs">;
3649
3702
  /** If true, generate an ID based on the children */
3650
3703
  autoId?: boolean;
3651
3704
  };
@@ -3659,10 +3712,10 @@ type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
3659
3712
  * <Heading as="h1">Page heading</Heading>
3660
3713
  * ```
3661
3714
  *
3662
- * You can specify the variant, which is one of "xs", "sm", "md", "lg", "xl-sans", "xs-serif" and "2xl". The default is "xl-sans".
3715
+ * You can specify the variant, which is one of "xs", "sm", "md", "lg", "xl-sans", "xs-serif" and "xxl". The default is "xl-sans".
3663
3716
  *
3664
3717
  * ```tsx
3665
- * <Heading as="h1" variant="2xl">Look at me!</Heading>
3718
+ * <Heading as="h1" variant="xxl">Look at me!</Heading>
3666
3719
  * ```
3667
3720
  *
3668
3721
  * If you want to generate an ID based on the children, you can use the `autoId` prop.
@@ -3676,7 +3729,7 @@ declare const Heading: React__default.ForwardRefExoticComponent<Omit<HeadingProp
3676
3729
  /** The heading level, e.g. h1, h2, h3... **/
3677
3730
  as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
3678
3731
  /** The size and style of the heading. Defaults to xl-display */
3679
- variant?: ConditionalValue<"sm" | "md" | "lg" | "2xl" | "xl-display" | "xl-sans" | "xs">;
3732
+ variant?: ConditionalValue<"sm" | "md" | "lg" | "xxl" | "xl-display" | "xl-sans" | "xs">;
3680
3733
  /** If true, generate an ID based on the children */
3681
3734
  autoId?: boolean;
3682
3735
  } & React__default.RefAttributes<HTMLHeadingElement>>;
@@ -3721,4 +3774,4 @@ type PopoverProps = Popover$1.ContentProps & React__default.RefAttributes<HTMLDi
3721
3774
  };
3722
3775
  declare const PopoverContent: React__default.ForwardRefExoticComponent<Omit<PopoverProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
3723
3776
 
3724
- 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, 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, 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 };
3777
+ 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, 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 };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as sporDesignTokens from '@vygruppen/spor-design-tokens';
2
2
  export { sporDesignTokens as tokens };
3
3
  import * as _chakra_ui_react from '@chakra-ui/react';
4
- import { Accordion as Accordion$1, ConditionalValue, Alert as Alert$1, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, IconButtonProps as IconButtonProps$1, BoxProps, Clipboard as Clipboard$1, InputElementProps, PopoverRootProps, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, Fieldset as Fieldset$1, Field, InputProps as InputProps$1, ListRootProps, RadioGroup as RadioGroup$1, Switch as Switch$1, TextareaProps as TextareaProps$1, SelectRootProps, Select as Select$1, CollectionItem, SeparatorProps, RadioCard as RadioCard$1, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Drawer as Drawer$1, Dialog, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, 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';
4
+ import { Accordion as Accordion$1, ConditionalValue, Alert as Alert$1, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, IconButtonProps as IconButtonProps$1, BoxProps, Clipboard as Clipboard$1, InputElementProps, PopoverRootProps, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, Fieldset as Fieldset$1, Field, InputProps as InputProps$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, Switch as Switch$1, TextareaProps as TextareaProps$1, SelectRootProps, Select as Select$1, CollectionItem, SeparatorProps, RadioCard as RadioCard$1, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Drawer as Drawer$1, Dialog, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, 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
5
  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, defineRecipe, defineStyle, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
6
6
  import * as React$1 from 'react';
7
7
  import React__default, { PropsWithChildren, ReactNode, ChangeEvent } from 'react';
@@ -1205,6 +1205,59 @@ declare function ItemDescription({ children }: {
1205
1205
  children: React__default.ReactNode;
1206
1206
  }): React__default.JSX.Element;
1207
1207
 
1208
+ declare const nativeSelectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "icon" | "field", {
1209
+ variant: {
1210
+ core: {
1211
+ field: {
1212
+ backgroundColor?: "transparent" | undefined;
1213
+ outline?: "1px solid" | undefined;
1214
+ outlineColor?: "core.outline" | undefined;
1215
+ _hover?: {
1216
+ outline: "2px solid";
1217
+ outlineColor: "core.outline.hover";
1218
+ _active: {
1219
+ outline: "1px solid";
1220
+ outlineColor: "outline.disabled";
1221
+ backgroundColor: "core.surface.active";
1222
+ };
1223
+ } | undefined;
1224
+ _focus?: {
1225
+ outline: "2px solid";
1226
+ outlineColor: "outline.focus";
1227
+ } | undefined;
1228
+ };
1229
+ };
1230
+ floating: {
1231
+ field: {
1232
+ boxShadow?: "sm" | undefined;
1233
+ bg?: "floating.surface" | undefined;
1234
+ outline?: "1px solid" | undefined;
1235
+ outlineColor?: "floating.outline" | undefined;
1236
+ _hover?: {
1237
+ outline: "1px solid";
1238
+ outlineColor: "floating.outline.hover";
1239
+ } | undefined;
1240
+ _active?: {
1241
+ outline: "1px solid";
1242
+ outlineColor: "floating.outline.active";
1243
+ backgroundColor: "floating.surface.active";
1244
+ } | undefined;
1245
+ focus?: {
1246
+ outline: string;
1247
+ outlineColor: string;
1248
+ } | undefined;
1249
+ };
1250
+ };
1251
+ };
1252
+ }>;
1253
+
1254
+ type NativeSelectVariantProps = RecipeVariantProps<typeof nativeSelectSlotRecipe>;
1255
+ type NativeSelectdProps = React$1.PropsWithChildren<NativeSelectVariantProps> & NativeSelectFieldProps & {
1256
+ icon?: React$1.ReactNode;
1257
+ label: string;
1258
+ invalid?: boolean;
1259
+ disabled?: boolean;
1260
+ };
1208
1261
  /**
1209
1262
  * Selects let you choose between several options
1210
1263
  *
@@ -1225,7 +1278,7 @@ declare const NativeSelect: React$1.ForwardRefExoticComponent<{
1225
1278
  variant?: _chakra_ui_react.ConditionalValue<"floating" | "core" | undefined>;
1226
1279
  } & {
1227
1280
  children?: React$1.ReactNode | undefined;
1228
- } & {
1281
+ } & NativeSelect$1.FieldProps & {
1229
1282
  icon?: React$1.ReactNode;
1230
1283
  label: string;
1231
1284
  invalid?: boolean;
@@ -3645,7 +3698,7 @@ type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
3645
3698
  /** The heading level, e.g. h1, h2, h3... **/
3646
3699
  as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
3647
3700
  /** The size and style of the heading. Defaults to xl-display */
3648
- variant?: ConditionalValue<"sm" | "md" | "lg" | "2xl" | "xl-display" | "xl-sans" | "xs">;
3701
+ variant?: ConditionalValue<"sm" | "md" | "lg" | "xxl" | "xl-display" | "xl-sans" | "xs">;
3649
3702
  /** If true, generate an ID based on the children */
3650
3703
  autoId?: boolean;
3651
3704
  };
@@ -3659,10 +3712,10 @@ type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
3659
3712
  * <Heading as="h1">Page heading</Heading>
3660
3713
  * ```
3661
3714
  *
3662
- * You can specify the variant, which is one of "xs", "sm", "md", "lg", "xl-sans", "xs-serif" and "2xl". The default is "xl-sans".
3715
+ * You can specify the variant, which is one of "xs", "sm", "md", "lg", "xl-sans", "xs-serif" and "xxl". The default is "xl-sans".
3663
3716
  *
3664
3717
  * ```tsx
3665
- * <Heading as="h1" variant="2xl">Look at me!</Heading>
3718
+ * <Heading as="h1" variant="xxl">Look at me!</Heading>
3666
3719
  * ```
3667
3720
  *
3668
3721
  * If you want to generate an ID based on the children, you can use the `autoId` prop.
@@ -3676,7 +3729,7 @@ declare const Heading: React__default.ForwardRefExoticComponent<Omit<HeadingProp
3676
3729
  /** The heading level, e.g. h1, h2, h3... **/
3677
3730
  as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
3678
3731
  /** The size and style of the heading. Defaults to xl-display */
3679
- variant?: ConditionalValue<"sm" | "md" | "lg" | "2xl" | "xl-display" | "xl-sans" | "xs">;
3732
+ variant?: ConditionalValue<"sm" | "md" | "lg" | "xxl" | "xl-display" | "xl-sans" | "xs">;
3680
3733
  /** If true, generate an ID based on the children */
3681
3734
  autoId?: boolean;
3682
3735
  } & React__default.RefAttributes<HTMLHeadingElement>>;
@@ -3721,4 +3774,4 @@ type PopoverProps = Popover$1.ContentProps & React__default.RefAttributes<HTMLDi
3721
3774
  };
3722
3775
  declare const PopoverContent: React__default.ForwardRefExoticComponent<Omit<PopoverProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
3723
3776
 
3724
- 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, 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, 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 };
3777
+ 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, 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 };
package/dist/index.js CHANGED
@@ -6560,7 +6560,9 @@ var tableSlotRecipe = react.defineSlotRecipe({
6560
6560
  root: {
6561
6561
  tableLayout: "fixed",
6562
6562
  borderCollapse: "collapse",
6563
- width: "100%"
6563
+ width: "100%",
6564
+ minWidth: "36rem",
6565
+ overflowX: "auto"
6564
6566
  },
6565
6567
  columnHeader: {
6566
6568
  fontWeight: "bold",