@vygruppen/spor-react 12.0.0 → 12.0.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.
- package/.turbo/turbo-build.log +11 -10
- package/.turbo/turbo-typegen.log +2 -3
- package/CHANGELOG.md +8 -0
- package/dist/index.d.mts +60 -7
- package/dist/index.d.ts +60 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/input/NativeSelect.tsx +10 -8
- package/src/typography/Heading.tsx +3 -3
package/.turbo/turbo-build.log
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.0.
|
2
|
+
> @vygruppen/spor-react@12.0.1 build /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> pnpm typegen && tsup
|
4
4
|
|
5
5
|
|
6
|
-
> @vygruppen/spor-react@12.0.
|
6
|
+
> @vygruppen/spor-react@12.0.1 typegen /home/runner/work/spor/spor/packages/spor-react
|
7
7
|
> npx @chakra-ui/cli typegen src/theme/index.ts
|
8
8
|
|
9
9
|
[90m┌[39m Chakra CLI ⚡️
|
@@ -16,7 +16,8 @@
|
|
16
16
|
[?25h[?25l[90m│[39m
|
17
17
|
[32m◇[39m ✅ Generated utility typings
|
18
18
|
[?25h[?25l[90m│[39m
|
19
|
-
[
|
19
|
+
[35m◒[39m Generating token types...
|
20
|
+
[999D[J[32m◇[39m ✅ Generated token typings
|
20
21
|
[?25h[?25l[90m│[39m
|
21
22
|
[35m◒[39m Generating system types...
|
22
23
|
[999D[J[32m◇[39m ✅ Generated system types
|
@@ -32,11 +33,11 @@ CJS Build start
|
|
32
33
|
ESM Build start
|
33
34
|
DTS Build start
|
34
35
|
ESM dist/index.mjs 292.29 KB
|
35
|
-
ESM dist/index.mjs.map 619.
|
36
|
-
ESM ⚡️ Build success in
|
36
|
+
ESM dist/index.mjs.map 619.66 KB
|
37
|
+
ESM ⚡️ Build success in 1885ms
|
37
38
|
CJS dist/index.js 311.52 KB
|
38
|
-
CJS dist/index.js.map 619.
|
39
|
-
CJS ⚡️ Build success in
|
40
|
-
DTS ⚡️ Build success in
|
41
|
-
DTS dist/index.d.ts
|
42
|
-
DTS dist/index.d.mts
|
39
|
+
CJS dist/index.js.map 619.66 KB
|
40
|
+
CJS ⚡️ Build success in 1887ms
|
41
|
+
DTS ⚡️ Build success in 22227ms
|
42
|
+
DTS dist/index.d.ts 133.66 KB
|
43
|
+
DTS dist/index.d.mts 133.66 KB
|
package/.turbo/turbo-typegen.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> @vygruppen/spor-react@12.0.
|
2
|
+
> @vygruppen/spor-react@12.0.1 typegen /home/runner/work/spor/spor/packages/spor-react
|
3
3
|
> npx @chakra-ui/cli typegen src/theme/index.ts
|
4
4
|
|
5
5
|
[90m┌[39m Chakra CLI ⚡️
|
@@ -10,8 +10,7 @@
|
|
10
10
|
[35m◒[39m Generating recipe types...
|
11
11
|
[999D[J[32m◇[39m ✅ Generated recipe typings
|
12
12
|
[?25h[?25l[90m│[39m
|
13
|
-
[
|
14
|
-
[999D[J[32m◇[39m ✅ Generated utility typings
|
13
|
+
[32m◇[39m ✅ Generated utility typings
|
15
14
|
[?25h[?25l[90m│[39m
|
16
15
|
[35m◒[39m Generating token types...
|
17
16
|
[999D[J[32m◇[39m ✅ Generated token typings
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# @vygruppen/spor-react
|
2
2
|
|
3
|
+
## 12.0.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 14720c4: Update peer dependencies to support all versions of react 18. Fix type errors with NativeSelect and Heading
|
8
|
+
- Updated dependencies [14720c4]
|
9
|
+
- @vygruppen/spor-icon-react@4.0.1
|
10
|
+
|
3
11
|
## 12.0.0
|
4
12
|
|
5
13
|
### 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" | "
|
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 "
|
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="
|
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" | "
|
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" | "
|
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 "
|
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="
|
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" | "
|
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 };
|