@vygruppen/spor-react 7.2.2 → 8.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 +12 -12
- package/CHANGELOG.md +56 -0
- package/dist/{CountryCodeSelect-K45HQCJC.mjs → CountryCodeSelect-SCMCRKY4.mjs} +1 -1
- package/dist/{chunk-PPXTF3R3.mjs → chunk-5VZ5S46A.mjs} +749 -493
- package/dist/index.d.mts +302 -191
- package/dist/index.d.ts +302 -191
- package/dist/index.js +713 -474
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/accordion/Accordion.tsx +6 -6
- package/src/accordion/Expandable.tsx +2 -2
- package/src/datepicker/DatePicker.tsx +1 -0
- package/src/index.tsx +2 -1
- package/src/input/ChoiceChip.tsx +23 -12
- package/src/nudge/Nudge.tsx +146 -0
- package/src/nudge/WizardNudge.tsx +107 -0
- package/src/nudge/index.tsx +2 -0
- package/src/progress-indicator/ProgressIndicator.tsx +5 -1
- package/src/theme/components/accordion.ts +24 -40
- package/src/theme/components/button.ts +1 -1
- package/src/theme/components/choice-chip.ts +125 -27
- package/src/theme/components/datepicker.ts +0 -4
- package/src/theme/components/popover.ts +8 -9
- package/src/theme/utils/background-utils.ts +68 -2
- package/src/theme/utils/border-utils.ts +86 -0
- package/src/theme/utils/text-utils.ts +40 -0
- package/src/{popover/SimplePopover.tsx → tooltip/Tooltip.tsx} +17 -19
- package/src/tooltip/index.tsx +1 -0
- package/src/popover/PopoverWizardBody.tsx +0 -91
- package/src/popover/WizardPopover.tsx +0 -61
- package/src/popover/index.tsx +0 -23
package/dist/index.d.mts
CHANGED
@@ -3,9 +3,8 @@ import * as tokens from '@vygruppen/spor-design-tokens';
|
|
3
3
|
export { tokens };
|
4
4
|
import * as _chakra_ui_system_dist_system_types from '@chakra-ui/system/dist/system.types';
|
5
5
|
import { DividerProps as DividerProps$1, As, BoxProps, StackProps as StackProps$1, AccordionProps as AccordionProps$1, AccordionItemProps, BreadcrumbProps as BreadcrumbProps$1, ButtonProps as ButtonProps$1, ButtonGroupProps as ButtonGroupProps$1, IconButtonProps as IconButtonProps$1, ComponentWithAs, ResponsiveValue, FlexProps, CheckboxProps as CheckboxProps$1, CheckboxGroupProps as CheckboxGroupProps$1, StackDirection, FormControlProps as FormControlProps$1, FormLabelProps as FormLabelProps$1, InputProps as InputProps$1, InputElementProps as InputElementProps$1, SelectProps, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SwitchProps as SwitchProps$1, TextareaProps as TextareaProps$1, LinkProps as LinkProps$1, SkeletonTextProps as SkeletonTextProps$1, ModalHeaderProps as ModalHeaderProps$1, DrawerContentProps, DrawerProps as DrawerProps$1, PopoverProps, ChakraProviderProps, TabsProps as TabsProps$1, TableProps as TableProps$1, BadgeProps as BadgeProps$1, CodeProps as CodeProps$1, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
|
6
|
-
export { AccordionButton, AccordionButtonProps, AccordionIcon, AccordionItem, AccordionItemProps, AccordionPanel, AccordionPanelProps, Box, BoxProps, CSSWithMultiValues, Center, CenterProps, Collapse, CollapseProps, ComponentStyleConfig, Container, ContainerProps, DarkMode, DrawerBody, DrawerCloseButton, DrawerFooter, DrawerOverlay, DrawerProps, Fade, FadeProps, Flex, FlexProps, FormHelperText, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Img, ImgProps, InputGroup, InputGroupProps, LightMode, ListItem, ListItemProps, ListProps, Modal, ModalBody, ModalBodyProps, ModalCloseButton, ModalContent, ModalContentProps, ModalFooter, ModalFooterProps, ModalOverlay, ModalOverlayProps, ModalProps, OrderedList,
|
7
|
-
import
|
8
|
-
import React__default, { ChangeEvent } from 'react';
|
6
|
+
export { AccordionButton, AccordionButtonProps, AccordionIcon, AccordionItem, AccordionItemProps, AccordionPanel, AccordionPanelProps, Box, BoxProps, CSSWithMultiValues, Center, CenterProps, Collapse, CollapseProps, ComponentStyleConfig, Container, ContainerProps, DarkMode, DrawerBody, DrawerCloseButton, DrawerFooter, DrawerOverlay, DrawerProps, Fade, FadeProps, Flex, FlexProps, FormHelperText, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Img, ImgProps, InputGroup, InputGroupProps, LightMode, ListItem, ListItemProps, ListProps, Modal, ModalBody, ModalBodyProps, ModalCloseButton, ModalContent, ModalContentProps, ModalFooter, ModalFooterProps, ModalOverlay, ModalOverlayProps, ModalProps, OrderedList, Portal, PortalProps, ScaleFade, ScaleFadeProps, SimpleGrid, SimpleGridProps, Slide, SlideFade, SlideFadeProps, SlideProps, Spacer, SpacerProps, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabPanels, TabPanelsProps, TabProps, TableBodyProps, TableCaption, TableCaptionProps, TableCellProps, TableColumnHeaderProps, TableFooterProps, TableHeadProps, TableRowProps, Tbody, Td, Tfoot, Th, Thead, Tr, UnorderedList, UseClipboardOptions, UseDisclosureProps, UseOutsideClickProps, VStack, Wrap, WrapItem, WrapItemProps, WrapProps, defineStyleConfig, extendTheme, useBreakpointValue, useClipboard, useColorMode, useColorModePreference, useColorModeValue, useControllableProp, useDisclosure, useMediaQuery, useMergeRefs, useOutsideClick, usePrefersReducedMotion, useTheme, useToken } from '@chakra-ui/react';
|
7
|
+
import React, { ChangeEvent } from 'react';
|
9
8
|
import * as _chakra_ui_breadcrumb_dist_breadcrumb_link from '@chakra-ui/breadcrumb/dist/breadcrumb-link';
|
10
9
|
import * as _chakra_ui_breadcrumb_dist_breadcrumb_item from '@chakra-ui/breadcrumb/dist/breadcrumb-item';
|
11
10
|
import { DateValue } from '@internationalized/date';
|
@@ -70,39 +69,23 @@ type AccordionProps = Omit<AccordionProps$1, "variant" | "size"> & {
|
|
70
69
|
/**
|
71
70
|
* The display variant of the accordion items.
|
72
71
|
*
|
73
|
-
* - `
|
74
|
-
* - `
|
75
|
-
* - `
|
72
|
+
* - `ghost` renders a pretty unstyled expandable list without any borders
|
73
|
+
* - `base` renders an outlined version
|
74
|
+
* - `floating` renders a version with a drop shadow
|
76
75
|
*/
|
77
|
-
variant?: "
|
76
|
+
variant?: "ghost" | "base" | "floating";
|
78
77
|
size?: "sm" | "md" | "lg";
|
79
78
|
/** The margin between accordion items */
|
80
79
|
spacing?: StackProps["spacing"];
|
81
80
|
};
|
82
|
-
/**
|
83
|
-
* Wraps a set of ExpandableItem or AccordionItem components.
|
84
|
-
*
|
85
|
-
* ```tsx
|
86
|
-
* <Accordion variant="list" size="md">
|
87
|
-
* <ExpandableItem title="Is Spor easy?" headingLevel="h3">
|
88
|
-
* Yes
|
89
|
-
* </ExpandableItem>
|
90
|
-
* <ExpandableItem title="Is Spor lovable?" headingLevel="h3">
|
91
|
-
* 🥰
|
92
|
-
* </ExpandableItem>
|
93
|
-
* </Accordion>
|
94
|
-
* ```
|
95
|
-
*
|
96
|
-
* If you only have one expandable item, you can use the `<Expandable />` component instead.
|
97
|
-
*/
|
98
81
|
declare const Accordion: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", AccordionProps>;
|
99
82
|
|
100
83
|
type HeadingLevel = "h2" | "h3" | "h4" | "h5" | "h6";
|
101
84
|
type ExpandableProps = Omit<AccordionProps, "title"> & {
|
102
85
|
/** The hidden content */
|
103
|
-
children:
|
86
|
+
children: React.ReactNode;
|
104
87
|
/** The title that's shown inside the toggle button */
|
105
|
-
title:
|
88
|
+
title: React.ReactNode;
|
106
89
|
/** The semantic heading level of the toggle button */
|
107
90
|
headingLevel?: HeadingLevel;
|
108
91
|
/**
|
@@ -113,7 +96,7 @@ type ExpandableProps = Omit<AccordionProps, "title"> & {
|
|
113
96
|
* If the size is set to `sm` or `md` the icon should be 24px.
|
114
97
|
* If the size is set to `lg`, the icon should be 30px.
|
115
98
|
*/
|
116
|
-
leftIcon?:
|
99
|
+
leftIcon?: React.ReactNode;
|
117
100
|
};
|
118
101
|
/**
|
119
102
|
* A standalone expandable component.
|
@@ -122,17 +105,17 @@ type ExpandableProps = Omit<AccordionProps, "title"> & {
|
|
122
105
|
* If you want several expandables in a row, use the `Accordion` and `ExpandableItem` components instead.
|
123
106
|
*
|
124
107
|
* ```tsx
|
125
|
-
* <Expandable title="Click for more" variant="
|
108
|
+
* <Expandable title="Click for more" variant="base" size="lg">
|
126
109
|
* <Text>MORE! 🎉</Text>
|
127
110
|
* </Expandable>
|
128
111
|
* ```
|
129
112
|
*/
|
130
|
-
declare const Expandable: ({ children, headingLevel, title, leftIcon, size, ...rest }: ExpandableProps) =>
|
113
|
+
declare const Expandable: ({ children, headingLevel, title, leftIcon, size, ...rest }: ExpandableProps) => React.JSX.Element;
|
131
114
|
type ExpandableItemProps = Omit<AccordionItemProps, "title"> & {
|
132
115
|
/** The hidden content */
|
133
|
-
children:
|
116
|
+
children: React.ReactNode;
|
134
117
|
/** The title that's shown inside the toggle button */
|
135
|
-
title:
|
118
|
+
title: React.ReactNode;
|
136
119
|
/** The semantic heading level of the toggle button */
|
137
120
|
headingLevel?: HeadingLevel;
|
138
121
|
/**
|
@@ -140,13 +123,13 @@ type ExpandableItemProps = Omit<AccordionItemProps, "title"> & {
|
|
140
123
|
*
|
141
124
|
* Make sure it's the 30px outlined version of the icon
|
142
125
|
*/
|
143
|
-
leftIcon?:
|
126
|
+
leftIcon?: React.ReactNode;
|
144
127
|
};
|
145
128
|
/**
|
146
129
|
* An item in a set of Expandables. Must be wrapped in an `<Accordion>` component.
|
147
130
|
*
|
148
131
|
* ```tsx
|
149
|
-
* <Accordion variant="
|
132
|
+
* <Accordion variant="ghost" size="md">
|
150
133
|
* <ExpandableItem title="Is Spor easy?" headingLevel="h3">
|
151
134
|
* Yes
|
152
135
|
* </ExpandableItem>
|
@@ -158,13 +141,13 @@ type ExpandableItemProps = Omit<AccordionItemProps, "title"> & {
|
|
158
141
|
*
|
159
142
|
* If you need even more control, you can put together your own expandable with the `Accordion`, `AccordionItem`, `AccordionButton`, `AccordionIcon` and `AccordionPanel` components.
|
160
143
|
*/
|
161
|
-
declare const ExpandableItem: ({ children, title, headingLevel, leftIcon, ...rest }: ExpandableItemProps) =>
|
144
|
+
declare const ExpandableItem: ({ children, title, headingLevel, leftIcon, ...rest }: ExpandableItemProps) => React.JSX.Element;
|
162
145
|
|
163
146
|
type BaseAlertProps = BoxProps & {
|
164
147
|
/** The color scheme and icon of the alert */
|
165
148
|
variant: "info" | "success" | "warning" | "alt-transport" | "error";
|
166
149
|
/** The body content of the alert */
|
167
|
-
children:
|
150
|
+
children: React.ReactNode;
|
168
151
|
};
|
169
152
|
|
170
153
|
type ClosableAlertProps = BaseAlertProps & {
|
@@ -193,7 +176,7 @@ type ClosableAlertProps = BaseAlertProps & {
|
|
193
176
|
* <Text>Some info here</Text>
|
194
177
|
* </ClosableAlert>
|
195
178
|
*/
|
196
|
-
declare const ClosableAlert: ({ variant, children, onClose: externalOnClose, }: ClosableAlertProps) =>
|
179
|
+
declare const ClosableAlert: ({ variant, children, onClose: externalOnClose, }: ClosableAlertProps) => React.JSX.Element | null;
|
197
180
|
|
198
181
|
type ExpandableAlertProps = BaseAlertProps & {
|
199
182
|
/** The title string */
|
@@ -219,7 +202,7 @@ type ExpandableAlertProps = BaseAlertProps & {
|
|
219
202
|
* </ExpandableAlert>
|
220
203
|
* ```
|
221
204
|
*/
|
222
|
-
declare const ExpandableAlert: ({ variant, children, title, headingLevel, defaultOpen, onToggle, ...boxProps }: ExpandableAlertProps) =>
|
205
|
+
declare const ExpandableAlert: ({ variant, children, title, headingLevel, defaultOpen, onToggle, ...boxProps }: ExpandableAlertProps) => React.JSX.Element;
|
223
206
|
|
224
207
|
type StaticAlertProps = BaseAlertProps;
|
225
208
|
/**
|
@@ -233,7 +216,7 @@ type StaticAlertProps = BaseAlertProps;
|
|
233
216
|
* </StaticAlert>
|
234
217
|
* ```
|
235
218
|
*/
|
236
|
-
declare const StaticAlert: ({ children, ...props }: StaticAlertProps) =>
|
219
|
+
declare const StaticAlert: ({ children, ...props }: StaticAlertProps) => React.JSX.Element;
|
237
220
|
|
238
221
|
type BreadcrumbProps = BreadcrumbProps$1;
|
239
222
|
/**
|
@@ -252,7 +235,7 @@ type BreadcrumbProps = BreadcrumbProps$1;
|
|
252
235
|
* </Breadcrumb>
|
253
236
|
* ```
|
254
237
|
*/
|
255
|
-
declare const Breadcrumb: (props: BreadcrumbProps) =>
|
238
|
+
declare const Breadcrumb: (props: BreadcrumbProps) => React.JSX.Element;
|
256
239
|
declare const BreadcrumbItem: _chakra_ui_system_dist_system_types.ComponentWithAs<"li", _chakra_ui_breadcrumb_dist_breadcrumb_item.BreadcrumbItemProps>;
|
257
240
|
declare const BreadcrumbLink: _chakra_ui_system_dist_system_types.ComponentWithAs<"a", _chakra_ui_breadcrumb_dist_breadcrumb_link.BreadcrumbLinkProps>;
|
258
241
|
|
@@ -397,8 +380,8 @@ declare const CloseButton: _chakra_ui_system_dist_system_types.ComponentWithAs<"
|
|
397
380
|
type FloatingActionButtonProps = BoxProps & {
|
398
381
|
variant?: "accent" | "base" | "brand";
|
399
382
|
placement?: "bottom right" | "bottom left" | "top right" | "top left";
|
400
|
-
icon:
|
401
|
-
children:
|
383
|
+
icon: React.ReactNode;
|
384
|
+
children: React.ReactNode;
|
402
385
|
isTextVisible?: boolean;
|
403
386
|
};
|
404
387
|
/**
|
@@ -417,7 +400,7 @@ declare const FloatingActionButton: ComponentWithAs<ComponentWithAs<"a" | "butto
|
|
417
400
|
|
418
401
|
type CardProps = Exclude<BoxProps, "size"> & {
|
419
402
|
size?: "sm" | "lg";
|
420
|
-
children:
|
403
|
+
children: React.ReactNode;
|
421
404
|
colorScheme: "white" | "grey" | "blue" | "green" | "teal" | "yellow" | "orange" | "red";
|
422
405
|
};
|
423
406
|
/**
|
@@ -461,13 +444,13 @@ declare const Card: _chakra_ui_system_dist_system_types.ComponentWithAs<As, Card
|
|
461
444
|
* <DatePicker label="Dato" variant="base" />
|
462
445
|
* ```
|
463
446
|
*/
|
464
|
-
declare const DatePicker:
|
447
|
+
declare const DatePicker: React.ForwardRefExoticComponent<Omit<AriaDatePickerProps<DateValue>, "onChange"> & Pick<BoxProps, "width" | "minHeight"> & {
|
465
448
|
variant: ResponsiveValue<"base" | "floating" | "ghost">;
|
466
449
|
name?: string | undefined;
|
467
450
|
showYearNavigation?: boolean | undefined;
|
468
451
|
withPortal?: boolean | undefined;
|
469
452
|
onChange?: ((value: DateValue | null) => void) | undefined;
|
470
|
-
} &
|
453
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
471
454
|
|
472
455
|
type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue>, "onChange"> & Pick<BoxProps, "minHeight"> & {
|
473
456
|
startLabel?: string;
|
@@ -490,7 +473,7 @@ type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue>, "onChange"
|
|
490
473
|
* <DateRangePicker startLabel="From" startName="from" endLabel="To" endName="to" variant="base" />
|
491
474
|
* ```
|
492
475
|
*/
|
493
|
-
declare function DateRangePicker({ variant, minHeight, startName, endName, withPortal, ...props }: DateRangePickerProps):
|
476
|
+
declare function DateRangePicker({ variant, minHeight, startName, endName, withPortal, ...props }: DateRangePickerProps): React.JSX.Element;
|
494
477
|
|
495
478
|
type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & {
|
496
479
|
/** The label. Defaults to a localized version of "Time" */
|
@@ -540,7 +523,7 @@ type TimePickerProps = Omit<BoxProps, "defaultValue" | "onChange"> & {
|
|
540
523
|
*
|
541
524
|
* @see https://spor.vy.no/komponents/timepicker
|
542
525
|
*/
|
543
|
-
declare const TimePicker: ({ label: externalLabel, value, defaultValue, onChange, minuteInterval, isDisabled: isDisabledExternally, name, ...boxProps }: TimePickerProps) =>
|
526
|
+
declare const TimePicker: ({ label: externalLabel, value, defaultValue, onChange, minuteInterval, isDisabled: isDisabledExternally, name, ...boxProps }: TimePickerProps) => React.JSX.Element;
|
544
527
|
|
545
528
|
declare enum Language {
|
546
529
|
NorwegianBokmal = "nb",
|
@@ -549,7 +532,7 @@ declare enum Language {
|
|
549
532
|
English = "en"
|
550
533
|
}
|
551
534
|
type TranslationObject = {
|
552
|
-
[key in Language]: string |
|
535
|
+
[key in Language]: string | React.ReactElement;
|
553
536
|
};
|
554
537
|
type TranslationFunction = (...args: Array<string | number>) => TranslationObject;
|
555
538
|
type Translation = TranslationObject | TranslationFunction;
|
@@ -558,7 +541,7 @@ type Translations = {
|
|
558
541
|
};
|
559
542
|
type LanguageProviderProps = {
|
560
543
|
language: Language;
|
561
|
-
children:
|
544
|
+
children: React.ReactElement;
|
562
545
|
};
|
563
546
|
/**
|
564
547
|
* A language provider component.
|
@@ -580,7 +563,7 @@ type LanguageProviderProps = {
|
|
580
563
|
* ```
|
581
564
|
*
|
582
565
|
*/
|
583
|
-
declare function LanguageProvider({ language, children, }: LanguageProviderProps):
|
566
|
+
declare function LanguageProvider({ language, children, }: LanguageProviderProps): React.JSX.Element;
|
584
567
|
/**
|
585
568
|
* A hook that returns translation utilities. Typically used to translate text.
|
586
569
|
*
|
@@ -648,7 +631,7 @@ type AttachedInputsProps = FlexProps;
|
|
648
631
|
* </AttachedInputs>
|
649
632
|
* ```
|
650
633
|
*/
|
651
|
-
declare const AttachedInputs: ({ flexDirection, ...rest }: AttachedInputsProps) =>
|
634
|
+
declare const AttachedInputs: ({ flexDirection, ...rest }: AttachedInputsProps) => React.JSX.Element;
|
652
635
|
|
653
636
|
type CardSelectProps = BoxProps & {
|
654
637
|
/** The design of the trigger button.
|
@@ -669,9 +652,9 @@ type CardSelectProps = BoxProps & {
|
|
669
652
|
/** The text of the trigger button */
|
670
653
|
label: string;
|
671
654
|
/** An optional trigger button icon, rendered to the left of the label */
|
672
|
-
icon?:
|
655
|
+
icon?: React.ReactNode;
|
673
656
|
/** The content of the card select */
|
674
|
-
children:
|
657
|
+
children: React.ReactNode;
|
675
658
|
/** The horizontalOffset of the popover card */
|
676
659
|
crossOffset?: number;
|
677
660
|
/** The position of the popover card */
|
@@ -734,20 +717,22 @@ type CheckboxGroupProps = Exclude<CheckboxGroupProps$1, "colorScheme" | "size" |
|
|
734
717
|
* <Checkbox>First Class</Checkbox>
|
735
718
|
* </CheckboxGroup>
|
736
719
|
*/
|
737
|
-
declare const CheckboxGroup: ({ direction, children, ...props }: CheckboxGroupProps) =>
|
720
|
+
declare const CheckboxGroup: ({ direction, children, ...props }: CheckboxGroupProps) => React.JSX.Element;
|
738
721
|
|
739
722
|
type ChoiceChipProps = {
|
740
723
|
onChange?: (value: ChangeEvent<HTMLInputElement>) => void;
|
741
724
|
isChecked?: boolean;
|
725
|
+
isDisabled?: boolean;
|
742
726
|
defaultChecked?: boolean;
|
743
727
|
/** The button text */
|
744
|
-
children:
|
728
|
+
children: React.ReactNode;
|
745
729
|
icon?: {
|
746
|
-
default:
|
747
|
-
checked:
|
730
|
+
default: React.ReactNode;
|
731
|
+
checked: React.ReactNode;
|
748
732
|
};
|
749
733
|
size?: "sm" | "md" | "lg" | "xl";
|
750
|
-
|
734
|
+
chipType?: "icon" | "choice" | "filter";
|
735
|
+
variant?: "base" | "accent" | "floating";
|
751
736
|
};
|
752
737
|
/**
|
753
738
|
* Choice chips are checkboxes that look like selectable buttons.
|
@@ -761,21 +746,22 @@ type ChoiceChipProps = {
|
|
761
746
|
* </Stack>
|
762
747
|
* ```
|
763
748
|
*
|
764
|
-
* There are also three different
|
749
|
+
* There are also three different chipType - `icon`, `choice` and `filter`.
|
765
750
|
*
|
766
751
|
* ```tsx
|
767
752
|
* <Stack flexDirection="row">
|
768
|
-
* <ChoiceChip
|
769
|
-
* <ChoiceChip
|
770
|
-
* <ChoiceChip
|
753
|
+
* <ChoiceChip chipType="icon" icon={<Bus24Icon />}>Bus</ChoiceChip>
|
754
|
+
* <ChoiceChip chipType="choice" icon={<Bus24Icon />}>Bus</ChoiceChip>
|
755
|
+
* <ChoiceChip chipType="filter" icon={<Bus24Icon />}>Bus</ChoiceChip>
|
771
756
|
* </Stack>
|
772
757
|
*
|
773
|
-
*
|
758
|
+
* There are also three different variants - `base`, `accent` and `floating`.
|
774
759
|
*
|
775
760
|
* ```tsx
|
776
761
|
* <Stack flexDirection="row">
|
777
|
-
* <ChoiceChip
|
778
|
-
* <ChoiceChip
|
762
|
+
* <ChoiceChip variant="base">Bus</ChoiceChip>
|
763
|
+
* <ChoiceChip variant="accent">Boat</ChoiceChip>
|
764
|
+
* <ChoiceChip variant="floating">Train</ChoiceChip>
|
779
765
|
* </Stack>
|
780
766
|
* ```
|
781
767
|
*/
|
@@ -787,7 +773,7 @@ type ComboboxProps<T> = AriaComboBoxProps<T> & {
|
|
787
773
|
/** Whether or not the combobox is waiting for new suggestions */
|
788
774
|
isLoading?: boolean;
|
789
775
|
/** Optional UI to show when there are no matching items */
|
790
|
-
emptyContent?:
|
776
|
+
emptyContent?: React.ReactNode;
|
791
777
|
} & Pick<InputProps, "marginTop" | "marginBottom" | "marginRight" | "marginLeft" | "marginY" | "marginX" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingY" | "paddingX" | "leftIcon" | "rightIcon" | "borderTopRightRadius" | "borderTopLeftRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "onFocus">;
|
792
778
|
/**
|
793
779
|
* A combobox is a combination of an input and a list of suggestions.
|
@@ -812,7 +798,7 @@ type ComboboxProps<T> = AriaComboBoxProps<T> & {
|
|
812
798
|
* </Combobox>
|
813
799
|
* ```
|
814
800
|
*/
|
815
|
-
declare function Combobox<T extends object>({ label, isLoading, leftIcon, rightIcon, borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, borderTopRightRadius, marginBottom, marginTop, marginX, marginY, marginRight, marginLeft, paddingBottom, paddingRight, paddingTop, paddingLeft, paddingX, paddingY, emptyContent, ...rest }: ComboboxProps<T>):
|
801
|
+
declare function Combobox<T extends object>({ label, isLoading, leftIcon, rightIcon, borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, borderTopRightRadius, marginBottom, marginTop, marginX, marginY, marginRight, marginLeft, paddingBottom, paddingRight, paddingTop, paddingLeft, paddingX, paddingY, emptyContent, ...rest }: ComboboxProps<T>): React.JSX.Element;
|
816
802
|
|
817
803
|
type FormControlProps = FormControlProps$1;
|
818
804
|
declare const FormControl: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", FormControlProps$1>;
|
@@ -821,7 +807,7 @@ type FormErrorMessageProps = BoxProps & {
|
|
821
807
|
/**
|
822
808
|
* The error message itself.
|
823
809
|
*/
|
824
|
-
children:
|
810
|
+
children: React.ReactNode;
|
825
811
|
};
|
826
812
|
/** An error message
|
827
813
|
*
|
@@ -848,7 +834,7 @@ type FormErrorMessageProps = BoxProps & {
|
|
848
834
|
*
|
849
835
|
* @see https://spor.vy.no/components/form-control
|
850
836
|
*/
|
851
|
-
declare const FormErrorMessage: ({ children, ...boxProps }: FormErrorMessageProps) =>
|
837
|
+
declare const FormErrorMessage: ({ children, ...boxProps }: FormErrorMessageProps) => React.JSX.Element | null;
|
852
838
|
|
853
839
|
type FormLabelProps = FormLabelProps$1;
|
854
840
|
declare const FormLabel: _chakra_ui_system_dist_system_types.ComponentWithAs<"label", FormLabelProps$1>;
|
@@ -881,7 +867,7 @@ type InfoSelectProps<T extends object> = {
|
|
881
867
|
* </Select>
|
882
868
|
* ```
|
883
869
|
**/
|
884
|
-
children:
|
870
|
+
children: React.ReactElement | ((item: T) => React.ReactElement);
|
885
871
|
/**
|
886
872
|
* The items to render
|
887
873
|
*
|
@@ -987,15 +973,15 @@ type InfoSelectProps<T extends object> = {
|
|
987
973
|
*
|
988
974
|
* @see https://spor.vy.no/components/info-select
|
989
975
|
*/
|
990
|
-
declare function InfoSelect<T extends object>({ placeholder, width, height, onChange, value, isLabelSrOnly, defaultValue, variant, ...props }: InfoSelectProps<T>):
|
976
|
+
declare function InfoSelect<T extends object>({ placeholder, width, height, onChange, value, isLabelSrOnly, defaultValue, variant, ...props }: InfoSelectProps<T>): React.JSX.Element;
|
991
977
|
|
992
978
|
type InputProps = Omit<InputProps$1, "variant" | "size"> & {
|
993
979
|
/** The input's label */
|
994
980
|
label: string;
|
995
981
|
/** Icon that shows up to the left */
|
996
|
-
leftIcon?:
|
982
|
+
leftIcon?: React.ReactNode;
|
997
983
|
/** Icon that shows up to the right */
|
998
|
-
rightIcon?:
|
984
|
+
rightIcon?: React.ReactNode;
|
999
985
|
};
|
1000
986
|
/**
|
1001
987
|
* Inputs let you enter text or other data.
|
@@ -1048,13 +1034,13 @@ declare const InputRightElement: _chakra_ui_system_dist_system_types.ComponentWi
|
|
1048
1034
|
|
1049
1035
|
type ListBoxProps<T> = AriaListBoxProps<T> & Omit<BoxProps, "filter" | "autoFocus" | "children"> & {
|
1050
1036
|
/** External reference to the ListBox itself */
|
1051
|
-
listBoxRef:
|
1037
|
+
listBoxRef: React.RefObject<HTMLUListElement>;
|
1052
1038
|
/** Whether or not the listbox is waiting on new data, i.e. through a autosuggest search */
|
1053
1039
|
isLoading?: boolean;
|
1054
1040
|
/** The state of the listbox, provided externally somehow. */
|
1055
1041
|
state: ListState<T> | SelectState<T>;
|
1056
1042
|
/** UI to render if the collection is empty */
|
1057
|
-
emptyContent?:
|
1043
|
+
emptyContent?: React.ReactNode;
|
1058
1044
|
maxWidth?: BoxProps["maxWidth"];
|
1059
1045
|
};
|
1060
1046
|
/**
|
@@ -1091,23 +1077,23 @@ type ListBoxProps<T> = AriaListBoxProps<T> & Omit<BoxProps, "filter" | "autoFocu
|
|
1091
1077
|
* );
|
1092
1078
|
* ```
|
1093
1079
|
*/
|
1094
|
-
declare function ListBox<T extends object>({ isLoading, listBoxRef, state, maxWidth, ...props }: ListBoxProps<T>):
|
1080
|
+
declare function ListBox<T extends object>({ isLoading, listBoxRef, state, maxWidth, ...props }: ListBoxProps<T>): React.JSX.Element;
|
1095
1081
|
/**
|
1096
1082
|
* Renders a label for a listbox item.
|
1097
1083
|
*
|
1098
1084
|
* Useful if you want to render a custom Item - especially if it has a description.
|
1099
1085
|
*/
|
1100
1086
|
declare function ItemLabel({ children }: {
|
1101
|
-
children:
|
1102
|
-
}):
|
1087
|
+
children: React.ReactNode;
|
1088
|
+
}): React.JSX.Element;
|
1103
1089
|
/**
|
1104
1090
|
* Renders a description for an Item.
|
1105
1091
|
*
|
1106
1092
|
* Useful if you want to render a custom Item with more than just a label.
|
1107
1093
|
*/
|
1108
1094
|
declare function ItemDescription({ children }: {
|
1109
|
-
children:
|
1110
|
-
}):
|
1095
|
+
children: React.ReactNode;
|
1096
|
+
}): React.JSX.Element;
|
1111
1097
|
|
1112
1098
|
type NativeSelectProps = Exclude<SelectProps, "colorScheme" | "variant" | "size"> & {
|
1113
1099
|
label?: string;
|
@@ -1174,7 +1160,7 @@ type NumericStepperProps = {
|
|
1174
1160
|
* </FormControl>
|
1175
1161
|
* ```
|
1176
1162
|
*/
|
1177
|
-
declare function NumericStepper({ name: nameProp, id: idProp, value: valueProp, defaultValue, onChange: onChangeProp, minValue, maxValue, isDisabled, withInput, stepSize, showZero, ...boxProps }: NumericStepperProps):
|
1163
|
+
declare function NumericStepper({ name: nameProp, id: idProp, value: valueProp, defaultValue, onChange: onChangeProp, minValue, maxValue, isDisabled, withInput, stepSize, showZero, ...boxProps }: NumericStepperProps): React.JSX.Element;
|
1178
1164
|
|
1179
1165
|
type PasswordInputProps = InputProps;
|
1180
1166
|
declare const PasswordInput: _chakra_ui_system_dist_system_types.ComponentWithAs<"input", InputProps>;
|
@@ -1389,7 +1375,7 @@ type InfoTagProps = TagProps;
|
|
1389
1375
|
*
|
1390
1376
|
* @see https://spor.vy.no/components/line-tags
|
1391
1377
|
*/
|
1392
|
-
declare const InfoTag: ({ variant, size, title, description, ...customProps }: InfoTagProps) =>
|
1378
|
+
declare const InfoTag: ({ variant, size, title, description, ...customProps }: InfoTagProps) => React.JSX.Element;
|
1393
1379
|
|
1394
1380
|
type DefaultVariants = Exclude<TagProps["variant"], "custom">;
|
1395
1381
|
type DefaultVariantProps = {
|
@@ -1434,7 +1420,7 @@ type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & {
|
|
1434
1420
|
*
|
1435
1421
|
* @see https://spor.vy.no/components/line-tags
|
1436
1422
|
*/
|
1437
|
-
declare const LineIcon: ({ variant, size, sx, ...rest }: LineIconProps) =>
|
1423
|
+
declare const LineIcon: ({ variant, size, sx, ...rest }: LineIconProps) => React.JSX.Element | null;
|
1438
1424
|
|
1439
1425
|
type TravelTagProps = TagProps & BoxProps & {
|
1440
1426
|
deviationLevel?: "critical" | "major" | "minor" | "info" | "none";
|
@@ -1507,7 +1493,7 @@ type ColorInlineLoaderProps = Exclude<BoxProps, "children">;
|
|
1507
1493
|
*
|
1508
1494
|
* 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.
|
1509
1495
|
*/
|
1510
|
-
declare const ColorInlineLoader: ({ width, maxWidth, ...props }: ColorInlineLoaderProps) =>
|
1496
|
+
declare const ColorInlineLoader: ({ width, maxWidth, ...props }: ColorInlineLoaderProps) => React.JSX.Element;
|
1511
1497
|
|
1512
1498
|
type SpinnerProps = BoxProps;
|
1513
1499
|
type ColorSpinnerProps = SpinnerProps;
|
@@ -1526,23 +1512,23 @@ type ColorSpinnerProps = SpinnerProps;
|
|
1526
1512
|
* Hold your horses
|
1527
1513
|
* </ColorSpinner>
|
1528
1514
|
*/
|
1529
|
-
declare const ColorSpinner: ({ children, width, maxWidth, ...props }: SpinnerProps) =>
|
1515
|
+
declare const ColorSpinner: ({ children, width, maxWidth, ...props }: SpinnerProps) => React.JSX.Element;
|
1530
1516
|
|
1531
1517
|
type ContentLoaderProps = BoxProps;
|
1532
1518
|
/**
|
1533
1519
|
* ContentLoader is a component that renders a loading animation.
|
1534
1520
|
* It should mostly be used for
|
1535
1521
|
*/
|
1536
|
-
declare const ContentLoader: ({ children, ...props }: ContentLoaderProps) =>
|
1522
|
+
declare const ContentLoader: ({ children, ...props }: ContentLoaderProps) => React.JSX.Element;
|
1537
1523
|
|
1538
1524
|
type DarkFullScreenLoaderProps = BoxProps;
|
1539
|
-
declare const DarkFullScreenLoader: ({ width, maxWidth, ...props }: DarkFullScreenLoaderProps) =>
|
1525
|
+
declare const DarkFullScreenLoader: ({ width, maxWidth, ...props }: DarkFullScreenLoaderProps) => React.JSX.Element;
|
1540
1526
|
|
1541
1527
|
type DarkInlineLoaderProps = Exclude<BoxProps, "children">;
|
1542
1528
|
/**
|
1543
1529
|
* Loading component that works well in bounded contexts, like inside a button.
|
1544
1530
|
*/
|
1545
|
-
declare const DarkInlineLoader: ({ width, maxWidth, ...props }: DarkInlineLoaderProps) =>
|
1531
|
+
declare const DarkInlineLoader: ({ width, maxWidth, ...props }: DarkInlineLoaderProps) => React.JSX.Element;
|
1546
1532
|
|
1547
1533
|
type DarkSpinnerProps = BoxProps;
|
1548
1534
|
/** A circular spinner
|
@@ -1560,16 +1546,16 @@ type DarkSpinnerProps = BoxProps;
|
|
1560
1546
|
* Hold your horses
|
1561
1547
|
* </DarkSpinner>
|
1562
1548
|
*/
|
1563
|
-
declare const DarkSpinner: ({ children, width, maxWidth, ...props }: DarkSpinnerProps) =>
|
1549
|
+
declare const DarkSpinner: ({ children, width, maxWidth, ...props }: DarkSpinnerProps) => React.JSX.Element;
|
1564
1550
|
|
1565
1551
|
type LightFullScreenLoaderProps = BoxProps;
|
1566
|
-
declare const LightFullScreenLoader: ({ width, maxWidth, ...props }: LightFullScreenLoaderProps) =>
|
1552
|
+
declare const LightFullScreenLoader: ({ width, maxWidth, ...props }: LightFullScreenLoaderProps) => React.JSX.Element;
|
1567
1553
|
|
1568
1554
|
type LightInlineLoaderProps = Exclude<BoxProps, "children">;
|
1569
1555
|
/**
|
1570
1556
|
* Loading component that works well in bounded contexts, like inside a button.
|
1571
1557
|
*/
|
1572
|
-
declare const LightInlineLoader: ({ width, maxWidth, ...props }: LightInlineLoaderProps) =>
|
1558
|
+
declare const LightInlineLoader: ({ width, maxWidth, ...props }: LightInlineLoaderProps) => React.JSX.Element;
|
1573
1559
|
|
1574
1560
|
type LightSpinnerProps = BoxProps;
|
1575
1561
|
/** A circular spinner
|
@@ -1587,7 +1573,7 @@ type LightSpinnerProps = BoxProps;
|
|
1587
1573
|
* Hold your horses
|
1588
1574
|
* </LightSpinner>
|
1589
1575
|
*/
|
1590
|
-
declare const LightSpinner: ({ children, width, maxWidth, ...props }: LightSpinnerProps) =>
|
1576
|
+
declare const LightSpinner: ({ children, width, maxWidth, ...props }: LightSpinnerProps) => React.JSX.Element;
|
1591
1577
|
|
1592
1578
|
type ProgressBarProps = BoxProps & {
|
1593
1579
|
/** The percentage of progress made.
|
@@ -1643,7 +1629,7 @@ type ProgressBarProps = BoxProps & {
|
|
1643
1629
|
* <ProgressBar value={50} aria-label="Loading..." />
|
1644
1630
|
* ```
|
1645
1631
|
*/
|
1646
|
-
declare const ProgressBar: ({ value, label, labelRotationDelay, height, width, "aria-label": ariaLabel, ...rest }: ProgressBarProps) =>
|
1632
|
+
declare const ProgressBar: ({ value, label, labelRotationDelay, height, width, "aria-label": ariaLabel, ...rest }: ProgressBarProps) => React.JSX.Element;
|
1647
1633
|
|
1648
1634
|
type ProgressLoaderProps = BoxProps & {
|
1649
1635
|
/** The percentage of progress made.
|
@@ -1695,7 +1681,7 @@ type ProgressLoaderProps = BoxProps & {
|
|
1695
1681
|
* <ProgressLoader value={50} aria-label="Fetching your trips..." />
|
1696
1682
|
* ```
|
1697
1683
|
*/
|
1698
|
-
declare const ProgressLoader: ({ value, label, labelRotationDelay, "aria-label": ariaLabel, width, ...rest }: ProgressLoaderProps) =>
|
1684
|
+
declare const ProgressLoader: ({ value, label, labelRotationDelay, "aria-label": ariaLabel, width, ...rest }: ProgressLoaderProps) => React.JSX.Element;
|
1699
1685
|
|
1700
1686
|
type SkeletonProps = BoxProps & {
|
1701
1687
|
isLoaded?: boolean;
|
@@ -1709,13 +1695,13 @@ type SkeletonCircleProps = BoxProps;
|
|
1709
1695
|
/**
|
1710
1696
|
* SkeletonCircle renders a loading animation for a given circle. It works great as a placeholder to avoid layout shifts.
|
1711
1697
|
*/
|
1712
|
-
declare const SkeletonCircle: (props: SkeletonCircleProps) =>
|
1698
|
+
declare const SkeletonCircle: (props: SkeletonCircleProps) => React.JSX.Element;
|
1713
1699
|
|
1714
1700
|
type SkeletonTextProps = SkeletonTextProps$1;
|
1715
1701
|
/**
|
1716
1702
|
* SkeletonText renders a loading animation for a given text. It works great as a placeholder to avoid layout shifts.
|
1717
1703
|
*/
|
1718
|
-
declare const SkeletonText: (props: SkeletonTextProps) =>
|
1704
|
+
declare const SkeletonText: (props: SkeletonTextProps) => React.JSX.Element;
|
1719
1705
|
|
1720
1706
|
type VyLogoProps = {
|
1721
1707
|
/** The color of the logo
|
@@ -1725,7 +1711,7 @@ type VyLogoProps = {
|
|
1725
1711
|
*/
|
1726
1712
|
colorScheme: "light" | "dark";
|
1727
1713
|
} & BoxProps;
|
1728
|
-
declare const VyLogo: ({ colorScheme, ...boxProps }: VyLogoProps) =>
|
1714
|
+
declare const VyLogo: ({ colorScheme, ...boxProps }: VyLogoProps) => React.JSX.Element;
|
1729
1715
|
|
1730
1716
|
type JumpButtonProps = BoxProps & {
|
1731
1717
|
onClick: () => void;
|
@@ -1745,7 +1731,7 @@ type JumpButtonProps = BoxProps & {
|
|
1745
1731
|
* <JumpButton direction="forward" onClick={onGoForward} />
|
1746
1732
|
* ```
|
1747
1733
|
*/
|
1748
|
-
declare const JumpButton: ({ direction, isDisabled, size, ...props }: JumpButtonProps) =>
|
1734
|
+
declare const JumpButton: ({ direction, isDisabled, size, ...props }: JumpButtonProps) => React.JSX.Element;
|
1749
1735
|
|
1750
1736
|
type PlayPauseButtonProps = BoxProps & {
|
1751
1737
|
onClick: () => void;
|
@@ -1765,7 +1751,7 @@ type PlayPauseButtonProps = BoxProps & {
|
|
1765
1751
|
* <PlayPauseButton isPlaying={isPlaying} onClick={onPlaybackClick} />
|
1766
1752
|
* ```
|
1767
1753
|
*/
|
1768
|
-
declare const PlayPauseButton: ({ size, isPlaying, isDisabled, ...props }: PlayPauseButtonProps) =>
|
1754
|
+
declare const PlayPauseButton: ({ size, isPlaying, isDisabled, ...props }: PlayPauseButtonProps) => React.JSX.Element;
|
1769
1755
|
|
1770
1756
|
type SkipButtonProps = BoxProps & {
|
1771
1757
|
onClick: () => void;
|
@@ -1785,7 +1771,7 @@ type SkipButtonProps = BoxProps & {
|
|
1785
1771
|
* <SkipButton direction="forward" onClick={onNextChapter} />
|
1786
1772
|
* ```
|
1787
1773
|
*/
|
1788
|
-
declare const SkipButton: ({ direction, isDisabled, size, ...props }: SkipButtonProps) =>
|
1774
|
+
declare const SkipButton: ({ direction, isDisabled, size, ...props }: SkipButtonProps) => React.JSX.Element;
|
1789
1775
|
|
1790
1776
|
type ModalHeaderProps = ModalHeaderProps$1 & {
|
1791
1777
|
size?: "sm" | "lg";
|
@@ -1798,12 +1784,12 @@ type ModalHeaderProps = ModalHeaderProps$1 & {
|
|
1798
1784
|
declare const ModalHeader: _chakra_ui_system_dist_system_types.ComponentWithAs<"header", ModalHeaderProps>;
|
1799
1785
|
|
1800
1786
|
type DrawerProps = DrawerProps$1;
|
1801
|
-
declare const Drawer: (props: DrawerProps) =>
|
1787
|
+
declare const Drawer: (props: DrawerProps) => React.JSX.Element;
|
1802
1788
|
declare const DrawerContent: _chakra_ui_system_dist_system_types.ComponentWithAs<any, DrawerContentProps>;
|
1803
1789
|
|
1804
1790
|
type SimpleDrawerProps = {
|
1805
|
-
children:
|
1806
|
-
title?:
|
1791
|
+
children: React.ReactNode;
|
1792
|
+
title?: React.ReactNode;
|
1807
1793
|
placement: "top" | "right" | "bottom" | "left";
|
1808
1794
|
isOpen: boolean;
|
1809
1795
|
onClose: () => void;
|
@@ -1818,78 +1804,120 @@ type SimpleDrawerProps = {
|
|
1818
1804
|
*
|
1819
1805
|
* For more advanced use cases, see the [Drawer](./Drawer.tsx) component.
|
1820
1806
|
*/
|
1821
|
-
declare const SimpleDrawer: ({ placement, children, title, ...props }: SimpleDrawerProps) =>
|
1807
|
+
declare const SimpleDrawer: ({ placement, children, title, ...props }: SimpleDrawerProps) => React.JSX.Element;
|
1822
1808
|
|
1823
|
-
type
|
1824
|
-
/** Each child will be their own step */
|
1825
|
-
children: React.ReactNode;
|
1826
|
-
};
|
1827
|
-
/** A popover wizard is great for showing new features one by one */
|
1828
|
-
declare const PopoverWizardBody: ({ children }: PopoverWizardProps) => React.JSX.Element;
|
1829
|
-
|
1830
|
-
type SimplePopoverProps = PopoverProps & {
|
1809
|
+
type TooltipProps = PopoverProps & {
|
1831
1810
|
/**
|
1832
|
-
* Whatever is supposed to trigger the
|
1811
|
+
* Whatever is supposed to trigger the tooltip.
|
1833
1812
|
* Must be focusable - like a link or button */
|
1834
|
-
|
1835
|
-
/** Callback for when the
|
1813
|
+
children: React.ReactNode;
|
1814
|
+
/** Callback for when the tooltip is requested to close */
|
1836
1815
|
onClose?: () => void;
|
1837
|
-
/** Should the
|
1816
|
+
/** Should the tooltip have a close button? */
|
1838
1817
|
withCloseButton?: boolean;
|
1839
|
-
/** The content of the
|
1840
|
-
|
1818
|
+
/** The content of the tooltip */
|
1819
|
+
content: React.ReactNode;
|
1841
1820
|
/** Use this prop if you want to control the open state */
|
1842
1821
|
isOpen?: boolean;
|
1843
|
-
/** Whether or not the
|
1822
|
+
/** Whether or not the tooltip is open by default */
|
1844
1823
|
defaultIsOpen?: boolean;
|
1845
1824
|
/**
|
1846
|
-
* Where the
|
1825
|
+
* Where the tooltip should be placed by default.
|
1847
1826
|
*
|
1848
1827
|
* Note - this is a suggestion, and may be overridden by space concerns.
|
1849
1828
|
*/
|
1850
1829
|
placement?: "top" | "bottom" | "left" | "right";
|
1851
1830
|
/**
|
1852
1831
|
* The amount of spacing.
|
1853
|
-
*
|
1832
|
+
* Tooltips with lots of content should be `lg`. Defaults to `sm`.
|
1854
1833
|
**/
|
1855
1834
|
size?: "sm" | "lg";
|
1856
|
-
borderRadius?: string;
|
1857
1835
|
};
|
1858
|
-
/** A
|
1859
|
-
declare const
|
1836
|
+
/** A tooltip component. */
|
1837
|
+
declare const Tooltip: ({ children, content, onClose, isOpen, defaultIsOpen, placement, size, withCloseButton, ...props }: TooltipProps) => React.JSX.Element;
|
1860
1838
|
|
1861
|
-
type
|
1862
|
-
/**
|
1839
|
+
type NudgeProps = {
|
1840
|
+
/**
|
1841
|
+
* The ISO-formatted date of when the Nudge was introduced.
|
1842
|
+
*
|
1843
|
+
* After this date has been surpassed by 30 days, the nudge will no longer be shown,
|
1844
|
+
* and an error will be logged in development mode.
|
1845
|
+
*
|
1846
|
+
* ```tsx
|
1847
|
+
* <Nudge introducedDate="2024-02-19" {...otherProps} />
|
1848
|
+
* ```
|
1849
|
+
**/
|
1850
|
+
introducedDate: string;
|
1851
|
+
/**
|
1852
|
+
* The name of the nudge.
|
1853
|
+
* This will be used to check whether or not the nudge has been viewed.
|
1854
|
+
**/
|
1855
|
+
name: string;
|
1856
|
+
/**
|
1857
|
+
* The anchor of the nudge.
|
1858
|
+
*
|
1859
|
+
* The element that should be nudged toward.
|
1860
|
+
*
|
1861
|
+
* ```tsx
|
1862
|
+
* <Nudge content="This is a great new feature! Try it out.">
|
1863
|
+
* <MyFeature />
|
1864
|
+
* </Nudge>
|
1865
|
+
* ```
|
1866
|
+
* */
|
1863
1867
|
children: React.ReactNode;
|
1864
|
-
/** The element that triggers the wizard */
|
1865
|
-
triggerElement: React.ReactNode;
|
1866
1868
|
/**
|
1867
|
-
*
|
1869
|
+
* The content of the nudge.
|
1870
|
+
*/
|
1871
|
+
content: React.ReactNode;
|
1872
|
+
/**
|
1873
|
+
* Any actions you want to provide. Defaults to a close button and a "Show me" button.
|
1874
|
+
*/
|
1875
|
+
actions?: React.ReactNode;
|
1876
|
+
} & Omit<TooltipProps, "name" | "triggerElement" | "children" | "withCloseButton" | "defaultIsOpen" | "size" | "borderRadius">;
|
1877
|
+
/** A nudge.
|
1878
|
+
*
|
1879
|
+
* A nudge is a way to hint of a new feature.
|
1880
|
+
*
|
1881
|
+
* You're required to set an `introducedDate` to the nudge, which is the timestamp of when the nudge was introduced. After 30 days, the nudge will no longer be shown, and an error will be logged in development mode.
|
1882
|
+
*
|
1883
|
+
* ```tsx
|
1884
|
+
* <Nudge
|
1885
|
+
* introducedDate="2024-02-19"
|
1886
|
+
* name="my-nudge"
|
1887
|
+
* content="Check out this enormous new feature!"
|
1888
|
+
* >
|
1889
|
+
* <Card variant="base" padding={2} width="fit-content">My new feature</Card>
|
1890
|
+
* </Nudge>
|
1891
|
+
* ```
|
1892
|
+
*/
|
1893
|
+
declare const Nudge: ({ introducedDate, name, children, content, actions, ...props }: NudgeProps) => React.JSX.Element | null;
|
1894
|
+
|
1895
|
+
type WizardNudgeProps = Omit<NudgeProps, "actions" | "content"> & {
|
1896
|
+
/** Steps in the wizard. Each item is its own step. Should only be Step components */
|
1897
|
+
content: React.ReactNode[];
|
1898
|
+
/**
|
1899
|
+
* Where the nudge should be placed by default.
|
1868
1900
|
*
|
1869
1901
|
* Note - this is a suggestion, and may be overridden by space concerns.
|
1870
1902
|
*/
|
1871
1903
|
placement?: "top" | "bottom" | "left" | "right";
|
1872
|
-
/** Should the popover have a close button? */
|
1873
|
-
withCloseButton?: boolean;
|
1874
1904
|
};
|
1875
1905
|
/**
|
1876
|
-
* A
|
1877
|
-
*
|
1878
|
-
* Each child is its own step. If you want several components inside a
|
1879
|
-
* single slide, you want to wrap them in an external component (like a Stack).
|
1906
|
+
* A nudge that displays its children one at a time, with a step indicator.
|
1880
1907
|
*
|
1881
1908
|
* ```tsx
|
1882
|
-
* <
|
1883
|
-
*
|
1884
|
-
*
|
1885
|
-
*
|
1886
|
-
*
|
1887
|
-
*
|
1888
|
-
*
|
1889
|
-
*
|
1909
|
+
* <WizardNudge
|
1910
|
+
* content={["First step", "Second step"]}
|
1911
|
+
* name="my-wizard-nudge"
|
1912
|
+
* introducedDate="2024-02-19"
|
1913
|
+
* >
|
1914
|
+
* <Card width="fit-content" padding={2}>
|
1915
|
+
* My new feature
|
1916
|
+
* </Card>
|
1917
|
+
* </WizardNudge>
|
1890
1918
|
* ```
|
1891
1919
|
*/
|
1892
|
-
declare const
|
1920
|
+
declare const WizardNudge: ({ children, name, onClose, content, ...props }: WizardNudgeProps) => React.JSX.Element;
|
1893
1921
|
|
1894
1922
|
type ProgressIndicatorProps = {
|
1895
1923
|
numberOfSteps: number;
|
@@ -1908,7 +1936,7 @@ type ProgressIndicatorProps = {
|
|
1908
1936
|
* />
|
1909
1937
|
* ```
|
1910
1938
|
*/
|
1911
|
-
declare const ProgressIndicator: ({ numberOfSteps, activeStep, }: ProgressIndicatorProps) =>
|
1939
|
+
declare const ProgressIndicator: ({ numberOfSteps, activeStep, }: ProgressIndicatorProps) => React.JSX.Element;
|
1912
1940
|
|
1913
1941
|
type SporProviderProps = ChakraProviderProps & {
|
1914
1942
|
language?: Language;
|
@@ -1950,7 +1978,7 @@ type SporProviderProps = ChakraProviderProps & {
|
|
1950
1978
|
* );
|
1951
1979
|
* ```
|
1952
1980
|
*/
|
1953
|
-
declare const SporProvider: ({ theme, language, brand, children, ...props }: SporProviderProps) =>
|
1981
|
+
declare const SporProvider: ({ theme, language, brand, children, ...props }: SporProviderProps) => React.JSX.Element;
|
1954
1982
|
|
1955
1983
|
type StepperProps = {
|
1956
1984
|
/** Callback for when a step is clicked */
|
@@ -1998,15 +2026,15 @@ type StepperProps = {
|
|
1998
2026
|
* />
|
1999
2027
|
* ```
|
2000
2028
|
**/
|
2001
|
-
declare const Stepper: ({ onClick, onBackButtonClick, steps, activeStep: activeStepAsStringOrNumber, title, heading, headingLevel, variant, isDisabled, }: StepperProps) =>
|
2029
|
+
declare const Stepper: ({ onClick, onBackButtonClick, steps, activeStep: activeStepAsStringOrNumber, title, heading, headingLevel, variant, isDisabled, }: StepperProps) => React.JSX.Element;
|
2002
2030
|
|
2003
2031
|
type StepperStepProps = {
|
2004
|
-
children:
|
2032
|
+
children: React.ReactNode;
|
2005
2033
|
stepNumber: number;
|
2006
2034
|
variant: "base" | "accent";
|
2007
2035
|
isDisabled?: boolean;
|
2008
2036
|
};
|
2009
|
-
declare const StepperStep: ({ children, stepNumber, variant, isDisabled: isDisabledOverride, }: StepperStepProps) =>
|
2037
|
+
declare const StepperStep: ({ children, stepNumber, variant, isDisabled: isDisabledOverride, }: StepperStepProps) => React.JSX.Element;
|
2010
2038
|
|
2011
2039
|
type TabsProps = Exclude<TabsProps$1, "colorScheme" | "variant" | "orientation" | "size"> & {
|
2012
2040
|
colorScheme: "base" | "accent";
|
@@ -2109,6 +2137,10 @@ declare const theme: {
|
|
2109
2137
|
outlineStyle: string;
|
2110
2138
|
outlineOffset: string;
|
2111
2139
|
};
|
2140
|
+
textAlign: string;
|
2141
|
+
fontFamily: string;
|
2142
|
+
fontWeight: string;
|
2143
|
+
color: string;
|
2112
2144
|
transitionProperty: string;
|
2113
2145
|
transitionDuration: string;
|
2114
2146
|
border: string;
|
@@ -2116,10 +2148,6 @@ declare const theme: {
|
|
2116
2148
|
borderColor: string;
|
2117
2149
|
display: string;
|
2118
2150
|
justifyContent: string;
|
2119
|
-
color: string;
|
2120
|
-
textAlign: string;
|
2121
|
-
fontFamily: string;
|
2122
|
-
fontWeight: string;
|
2123
2151
|
};
|
2124
2152
|
panel: {
|
2125
2153
|
paddingY: number;
|
@@ -2168,7 +2196,7 @@ declare const theme: {
|
|
2168
2196
|
};
|
2169
2197
|
} | undefined;
|
2170
2198
|
variants?: {
|
2171
|
-
|
2199
|
+
ghost: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
2172
2200
|
button: {
|
2173
2201
|
boxShadow: string;
|
2174
2202
|
_hover: {
|
@@ -2179,7 +2207,7 @@ declare const theme: {
|
|
2179
2207
|
};
|
2180
2208
|
};
|
2181
2209
|
};
|
2182
|
-
|
2210
|
+
base: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
2183
2211
|
container: {
|
2184
2212
|
boxShadow: string;
|
2185
2213
|
};
|
@@ -2191,34 +2219,34 @@ declare const theme: {
|
|
2191
2219
|
boxShadow: string;
|
2192
2220
|
};
|
2193
2221
|
_active: {
|
2194
|
-
backgroundColor: string;
|
2195
2222
|
boxShadow: string;
|
2223
|
+
backgroundColor: string;
|
2196
2224
|
};
|
2197
2225
|
};
|
2198
2226
|
};
|
2199
|
-
|
2227
|
+
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
2200
2228
|
container: {
|
2201
|
-
backgroundColor: string;
|
2202
2229
|
boxShadow: string;
|
2230
|
+
backgroundColor: string;
|
2203
2231
|
};
|
2204
2232
|
button: {
|
2205
2233
|
_expanded: {
|
2206
2234
|
borderBottomRadius: string;
|
2207
2235
|
};
|
2208
2236
|
_hover: {
|
2209
|
-
backgroundColor: string;
|
2210
2237
|
boxShadow: string;
|
2238
|
+
backgroundColor: string;
|
2211
2239
|
};
|
2212
2240
|
_active: {
|
2213
|
-
backgroundColor: string;
|
2214
2241
|
boxShadow: string;
|
2242
|
+
backgroundColor: string;
|
2215
2243
|
};
|
2216
2244
|
};
|
2217
2245
|
};
|
2218
2246
|
} | undefined;
|
2219
2247
|
defaultProps?: {
|
2220
2248
|
size?: "sm" | "md" | "lg" | undefined;
|
2221
|
-
variant?: "
|
2249
|
+
variant?: "base" | "ghost" | "floating" | undefined;
|
2222
2250
|
colorScheme?: string | undefined;
|
2223
2251
|
} | undefined;
|
2224
2252
|
parts: ("button" | "container" | "icon" | "root" | "panel")[];
|
@@ -2421,7 +2449,6 @@ declare const theme: {
|
|
2421
2449
|
minHeight: number;
|
2422
2450
|
minWidth: number;
|
2423
2451
|
fontSize: string;
|
2424
|
-
paddingX: number;
|
2425
2452
|
fontWeight: string;
|
2426
2453
|
};
|
2427
2454
|
} | undefined;
|
@@ -2489,7 +2516,7 @@ declare const theme: {
|
|
2489
2516
|
} | undefined;
|
2490
2517
|
defaultProps?: {
|
2491
2518
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
2492
|
-
variant?: "
|
2519
|
+
variant?: "ghost" | "floating" | "primary" | "secondary" | "tertiary" | undefined;
|
2493
2520
|
colorScheme?: string | undefined;
|
2494
2521
|
} | undefined;
|
2495
2522
|
};
|
@@ -2753,7 +2780,7 @@ declare const theme: {
|
|
2753
2780
|
variant?: "base" | "ghost" | "floating" | undefined;
|
2754
2781
|
colorScheme?: string | undefined;
|
2755
2782
|
} | undefined;
|
2756
|
-
parts: ("
|
2783
|
+
parts: ("trigger" | "card")[];
|
2757
2784
|
};
|
2758
2785
|
Checkbox: {
|
2759
2786
|
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
@@ -2849,36 +2876,54 @@ declare const theme: {
|
|
2849
2876
|
ChoiceChip: {
|
2850
2877
|
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
2851
2878
|
container: {
|
2852
|
-
backgroundColor: string;
|
2853
|
-
boxShadow: string;
|
2854
|
-
color: string;
|
2855
2879
|
display: string;
|
2856
2880
|
alignItems: string;
|
2857
2881
|
fontSize: string;
|
2858
2882
|
px: number;
|
2883
|
+
cursor: string;
|
2859
2884
|
_checked: {
|
2860
|
-
|
2861
|
-
|
2885
|
+
_hover: {
|
2886
|
+
boxShadow: string;
|
2887
|
+
color: string;
|
2888
|
+
backgroundColor: string;
|
2889
|
+
};
|
2890
|
+
_active: {
|
2891
|
+
boxShadow: string;
|
2892
|
+
backgroundColor: string;
|
2893
|
+
color: string;
|
2894
|
+
};
|
2862
2895
|
boxShadow: string;
|
2896
|
+
backgroundColor: string;
|
2897
|
+
color: string;
|
2863
2898
|
};
|
2864
|
-
|
2865
|
-
outlineWidth: string;
|
2866
|
-
outlineColor: string;
|
2867
|
-
outlineStyle: string;
|
2868
|
-
outlineOffset: string;
|
2869
|
-
};
|
2870
|
-
"@media (hover:hover)": {
|
2899
|
+
_disabled: {
|
2871
2900
|
_hover: {
|
2872
2901
|
color: string;
|
2873
2902
|
boxShadow: string;
|
2874
|
-
|
2903
|
+
backgroundColor: string;
|
2904
|
+
};
|
2905
|
+
_checked: {
|
2906
|
+
_hover: {
|
2907
|
+
color: string;
|
2908
|
+
boxShadow: string;
|
2909
|
+
backgroundColor: string;
|
2910
|
+
};
|
2911
|
+
backgroundColor: string;
|
2912
|
+
color: string;
|
2875
2913
|
cursor: string;
|
2914
|
+
boxShadow: string;
|
2876
2915
|
};
|
2877
|
-
};
|
2878
|
-
_active: {
|
2879
2916
|
backgroundColor: string;
|
2917
|
+
color: string;
|
2918
|
+
cursor: string;
|
2880
2919
|
boxShadow: string;
|
2881
2920
|
};
|
2921
|
+
"input:focus-visible + &": {
|
2922
|
+
outlineWidth: string;
|
2923
|
+
outlineColor: string;
|
2924
|
+
outlineStyle: string;
|
2925
|
+
outlineOffset: string;
|
2926
|
+
};
|
2882
2927
|
};
|
2883
2928
|
icon: {
|
2884
2929
|
mr: number;
|
@@ -2888,6 +2933,9 @@ declare const theme: {
|
|
2888
2933
|
sm: {
|
2889
2934
|
container: {
|
2890
2935
|
borderRadius: string;
|
2936
|
+
_checked: {
|
2937
|
+
borderRadius: string;
|
2938
|
+
};
|
2891
2939
|
height: string;
|
2892
2940
|
px: number;
|
2893
2941
|
};
|
@@ -2895,6 +2943,9 @@ declare const theme: {
|
|
2895
2943
|
md: {
|
2896
2944
|
container: {
|
2897
2945
|
borderRadius: string;
|
2946
|
+
_checked: {
|
2947
|
+
borderRadius: string;
|
2948
|
+
};
|
2898
2949
|
height: string;
|
2899
2950
|
px: number;
|
2900
2951
|
};
|
@@ -2902,6 +2953,9 @@ declare const theme: {
|
|
2902
2953
|
lg: {
|
2903
2954
|
container: {
|
2904
2955
|
borderRadius: string;
|
2956
|
+
_checked: {
|
2957
|
+
borderRadius: string;
|
2958
|
+
};
|
2905
2959
|
height: string;
|
2906
2960
|
px: number;
|
2907
2961
|
};
|
@@ -2909,19 +2963,78 @@ declare const theme: {
|
|
2909
2963
|
xl: {
|
2910
2964
|
container: {
|
2911
2965
|
borderRadius: string;
|
2966
|
+
_checked: {
|
2967
|
+
borderRadius: string;
|
2968
|
+
};
|
2912
2969
|
height: string;
|
2913
2970
|
px: number;
|
2914
2971
|
};
|
2915
2972
|
};
|
2916
2973
|
} | undefined;
|
2917
2974
|
variants?: {
|
2918
|
-
|
2919
|
-
|
2920
|
-
|
2975
|
+
base: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
2976
|
+
container: {
|
2977
|
+
"@media (hover:hover)": {
|
2978
|
+
_hover: {
|
2979
|
+
backgroundColor: string;
|
2980
|
+
boxShadow: string;
|
2981
|
+
color: string;
|
2982
|
+
};
|
2983
|
+
};
|
2984
|
+
_active: {
|
2985
|
+
boxShadow: string;
|
2986
|
+
backgroundColor: string;
|
2987
|
+
};
|
2988
|
+
color: string;
|
2989
|
+
boxShadow: string;
|
2990
|
+
backgroundColor: string;
|
2991
|
+
};
|
2992
|
+
};
|
2993
|
+
accent: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
2994
|
+
container: {
|
2995
|
+
"@media (hover:hover)": {
|
2996
|
+
_hover: {
|
2997
|
+
color: string;
|
2998
|
+
boxShadow: string;
|
2999
|
+
backgroundColor: string;
|
3000
|
+
};
|
3001
|
+
};
|
3002
|
+
_active: {
|
3003
|
+
backgroundColor: string;
|
3004
|
+
boxShadow: string;
|
3005
|
+
color: string;
|
3006
|
+
};
|
3007
|
+
boxShadow: string;
|
3008
|
+
color: string;
|
3009
|
+
backgroundColor: string;
|
3010
|
+
};
|
3011
|
+
_active: {
|
3012
|
+
backgroundColor: string;
|
3013
|
+
boxShadow: string;
|
3014
|
+
color: string;
|
3015
|
+
};
|
3016
|
+
};
|
3017
|
+
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
3018
|
+
container: {
|
3019
|
+
_hover: {
|
3020
|
+
color: string;
|
3021
|
+
boxShadow: string;
|
3022
|
+
backgroundColor: string;
|
3023
|
+
};
|
3024
|
+
_active: {
|
3025
|
+
color: string;
|
3026
|
+
boxShadow: string;
|
3027
|
+
backgroundColor: string;
|
3028
|
+
};
|
3029
|
+
boxShadow: string;
|
3030
|
+
color: string;
|
3031
|
+
backgroundColor: string;
|
3032
|
+
};
|
3033
|
+
};
|
2921
3034
|
} | undefined;
|
2922
3035
|
defaultProps?: {
|
2923
3036
|
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
2924
|
-
variant?:
|
3037
|
+
variant?: "base" | "floating" | "accent" | undefined;
|
2925
3038
|
colorScheme?: string | undefined;
|
2926
3039
|
} | undefined;
|
2927
3040
|
parts: ("label" | "container" | "icon")[];
|
@@ -3044,7 +3157,6 @@ declare const theme: {
|
|
3044
3157
|
outlineOffset: string;
|
3045
3158
|
};
|
3046
3159
|
backgroundColor: string;
|
3047
|
-
boxShadow: string;
|
3048
3160
|
width: number;
|
3049
3161
|
display: string;
|
3050
3162
|
alignItems: string;
|
@@ -4451,15 +4563,15 @@ declare const theme: {
|
|
4451
4563
|
clipPath: string;
|
4452
4564
|
};
|
4453
4565
|
closeButton: {
|
4566
|
+
_hover: {
|
4567
|
+
backgroundColor: string;
|
4568
|
+
};
|
4454
4569
|
_active: {
|
4455
4570
|
backgroundColor: string;
|
4456
4571
|
};
|
4457
4572
|
borderRadius: string;
|
4458
4573
|
top: number;
|
4459
|
-
|
4460
|
-
width: number;
|
4461
|
-
height: number;
|
4462
|
-
padding: number;
|
4574
|
+
right: number;
|
4463
4575
|
_focusVisible: {
|
4464
4576
|
outlineWidth: string;
|
4465
4577
|
outlineColor: string;
|
@@ -4468,7 +4580,6 @@ declare const theme: {
|
|
4468
4580
|
};
|
4469
4581
|
position: string;
|
4470
4582
|
color: string;
|
4471
|
-
hover: string;
|
4472
4583
|
};
|
4473
4584
|
}) | undefined;
|
4474
4585
|
sizes?: {
|
@@ -7385,7 +7496,7 @@ declare const brandTheme: {
|
|
7385
7496
|
};
|
7386
7497
|
|
7387
7498
|
type BaseToastProps = {
|
7388
|
-
children:
|
7499
|
+
children: React.ReactNode;
|
7389
7500
|
variant: "success" | "info" | "error";
|
7390
7501
|
id?: string;
|
7391
7502
|
};
|
@@ -7445,7 +7556,7 @@ type BadgeProps = Omit<BadgeProps$1, "variant" | "colorScheme" | "size"> & {
|
|
7445
7556
|
*
|
7446
7557
|
* Make sure you pass in the 18px version of the icon.
|
7447
7558
|
*/
|
7448
|
-
icon?:
|
7559
|
+
icon?: React.ReactElement;
|
7449
7560
|
};
|
7450
7561
|
/**
|
7451
7562
|
* Shows some additional information about the component it's used within.
|
@@ -7512,7 +7623,7 @@ type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
|
|
7512
7623
|
* <Heading as="h1" autoId>Page heading</Heading> // Will set id="page-heading"
|
7513
7624
|
* ```
|
7514
7625
|
*/
|
7515
|
-
declare const Heading: ({ as, variant, autoId, id: externalId, ...props }: HeadingProps) =>
|
7626
|
+
declare const Heading: ({ as, variant, autoId, id: externalId, ...props }: HeadingProps) => React.JSX.Element;
|
7516
7627
|
|
7517
7628
|
type TextProps = Omit<TextProps$1, "textStyle"> & {
|
7518
7629
|
/** The size and style of the text.
|
@@ -7540,4 +7651,4 @@ declare const Text: _chakra_ui_system_dist_system_types.ComponentWithAs<"p", Tex
|
|
7540
7651
|
**/
|
7541
7652
|
declare function slugify(text: string | string[], maxLength?: number): string;
|
7542
7653
|
|
7543
|
-
export { Accordion, AccordionProps, AttachedInputs, Badge, BadgeProps, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, CardSelect, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceChip, ChoiceChipProps, ClosableAlert, CloseButton, CloseButtonProps, Code, CodeProps, ColorInlineLoader, ColorInlineLoaderProps, ColorSpinner, ColorSpinnerProps, Combobox, ComboboxProps, ContentLoader, ContentLoaderProps, DarkFullScreenLoader, DarkInlineLoader, DarkInlineLoaderProps, DarkSpinner, DarkSpinnerProps, DatePicker, DateRangePicker, Divider, DividerProps, Drawer, DrawerContent, ModalHeader as DrawerHeader, Expandable, ExpandableAlert, ExpandableItem, ExpandableItemProps, FloatingActionButton, FormControl, FormControlProps, FormErrorMessage, FormErrorMessageProps, FormLabel, FormLabelProps, Heading, HeadingProps, IconButton, IconButtonProps, InfoSelect, InfoTag, InfoTagProps, Input, InputElementProps, InputLeftElement, InputProps, InputRightElement, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightInlineLoaderProps, LightSpinner, LightSpinnerProps, LineIcon, LineIconProps, ListBox, ModalHeader, ModalHeaderProps, NativeSelect, NativeSelectProps, NumericStepper, PasswordInput, PasswordInputProps, PhoneNumberInput, PlayPauseButton,
|
7654
|
+
export { Accordion, AccordionProps, AttachedInputs, Badge, BadgeProps, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, CardSelect, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceChip, ChoiceChipProps, ClosableAlert, CloseButton, CloseButtonProps, Code, CodeProps, ColorInlineLoader, ColorInlineLoaderProps, ColorSpinner, ColorSpinnerProps, Combobox, ComboboxProps, ContentLoader, ContentLoaderProps, DarkFullScreenLoader, DarkInlineLoader, DarkInlineLoaderProps, DarkSpinner, DarkSpinnerProps, DatePicker, DateRangePicker, Divider, DividerProps, Drawer, DrawerContent, ModalHeader as DrawerHeader, Expandable, ExpandableAlert, ExpandableItem, ExpandableItemProps, FloatingActionButton, FormControl, FormControlProps, FormErrorMessage, FormErrorMessageProps, FormLabel, FormLabelProps, Heading, HeadingProps, IconButton, IconButtonProps, InfoSelect, InfoTag, InfoTagProps, Input, InputElementProps, InputLeftElement, InputProps, InputRightElement, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightInlineLoaderProps, LightSpinner, LightSpinnerProps, LineIcon, LineIconProps, ListBox, ModalHeader, ModalHeaderProps, NativeSelect, NativeSelectProps, Nudge, NudgeProps, NumericStepper, PasswordInput, PasswordInputProps, PhoneNumberInput, PlayPauseButton, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioGroup, RadioGroupProps, RadioProps, SearchInput, SearchInputProps, SimpleDrawer, SimpleDrawerProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonText, SkeletonTextProps, SkipButton, SpinnerProps, SporProvider, Stack, StackProps, StaticAlert, Stepper, StepperStep, Switch, SwitchProps, Table, TableProps, Tabs, TabsProps, Text, TextLink, TextProps, Textarea, TextareaProps, TimePicker, ToastOptions, Tooltip, TooltipProps, Translations, TravelTag, TravelTagProps, VyLogo, VyLogoProps, WizardNudge, WizardNudgeProps, brandTheme, createTexts, fontFaces, slugify, theme, useToast, useTranslation };
|