@vygruppen/spor-react 13.0.0 → 13.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-postinstall.log +4 -6
- package/CHANGELOG.md +15 -0
- package/dist/index.cjs +97 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +85 -85
- package/dist/index.d.ts +85 -85
- package/dist/index.mjs +97 -134
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/accordion/Accordion.tsx +3 -3
- package/src/accordion/Expandable.tsx +1 -1
- package/src/alert/Alert.tsx +1 -1
- package/src/alert/AlertIcon.tsx +1 -57
- package/src/alert/ExpandableAlert.tsx +1 -1
- package/src/alert/ServiceAlert.tsx +1 -1
- package/src/breadcrumb/Breadcrumb.tsx +1 -1
- package/src/button/Button.tsx +1 -1
- package/src/button/ButtonGroup.tsx +1 -1
- package/src/button/Clipboard.tsx +3 -3
- package/src/button/CloseButton.tsx +1 -1
- package/src/button/FloatingActionButton.tsx +1 -1
- package/src/button/IconButton.tsx +1 -1
- package/src/calendar/CalendarContext.tsx +1 -1
- package/src/color-mode/color-mode.tsx +1 -1
- package/src/datepicker/CalendarTriggerButton.tsx +1 -1
- package/src/datepicker/DateField.tsx +1 -1
- package/src/datepicker/DatePicker.tsx +1 -1
- package/src/datepicker/DateTimeSegment.tsx +1 -1
- package/src/datepicker/StyledField.tsx +1 -1
- package/src/dialog/Dialog.tsx +2 -2
- package/src/dialog/Drawer.tsx +4 -4
- package/src/input/AttachedInputs.tsx +1 -1
- package/src/input/Autocomplete.tsx +1 -1
- package/src/input/CardSelect.tsx +2 -2
- package/src/input/Checkbox.tsx +1 -1
- package/src/input/ChoiceChip.tsx +1 -1
- package/src/input/CountryCodeSelect.tsx +1 -1
- package/src/input/Field.tsx +2 -2
- package/src/input/FloatingLabel.tsx +1 -1
- package/src/input/Input.tsx +1 -1
- package/src/input/NativeSelect.tsx +1 -1
- package/src/input/NumericStepper.tsx +2 -2
- package/src/input/PasswordInput.tsx +2 -2
- package/src/input/PhoneNumberInput.tsx +1 -1
- package/src/input/Popover.tsx +1 -1
- package/src/input/Radio.tsx +2 -2
- package/src/input/SearchInput.tsx +1 -1
- package/src/input/Select.tsx +7 -7
- package/src/input/Switch.tsx +10 -2
- package/src/input/Textarea.tsx +1 -1
- package/src/input/useFLoatingInputState.tsx +1 -1
- package/src/layout/PressableCard.tsx +1 -1
- package/src/layout/RadioCard.tsx +2 -2
- package/src/layout/Separator.tsx +2 -2
- package/src/layout/StaticCard.tsx +1 -1
- package/src/linjetag/LineIcon.tsx +1 -1
- package/src/linjetag/TravelTag.tsx +1 -1
- package/src/link/TextLink.tsx +1 -1
- package/src/loader/ProgressBar.tsx +1 -1
- package/src/loader/ProgressLoader.tsx +1 -1
- package/src/loader/Skeleton.tsx +1 -1
- package/src/logo/CargonetLogo.tsx +1 -1
- package/src/logo/VyLogo.tsx +1 -1
- package/src/logo/VyLogoPride.tsx +1 -1
- package/src/media-controller/JumpButton.tsx +1 -1
- package/src/media-controller/PlayPauseButton.tsx +1 -1
- package/src/media-controller/SkipButton.tsx +1 -1
- package/src/nudge/Nudge.tsx +3 -3
- package/src/pagination/Pagination.tsx +5 -5
- package/src/popover/index.tsx +2 -2
- package/src/progress-indicator/ProgressIndicator.tsx +1 -1
- package/src/stepper/Stepper.tsx +1 -1
- package/src/tab/Tabs.tsx +1 -1
- package/src/theme/recipes/link.ts +1 -0
- package/src/toast/toast.tsx +5 -2
- package/src/tooltip.tsx +2 -2
- package/src/typography/Badge.tsx +1 -1
- package/src/typography/Code.tsx +1 -1
- package/src/typography/Heading.tsx +1 -1
- package/src/typography/Text.tsx +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -130,13 +130,13 @@ type ExpandableItemProps = HeadingLevel & {
|
|
|
130
130
|
};
|
|
131
131
|
|
|
132
132
|
declare const Accordion: ({ ref, ...props }: AccordionProps & {
|
|
133
|
-
ref?: React.
|
|
133
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
134
134
|
}) => react_jsx_runtime.JSX.Element;
|
|
135
135
|
declare const AccordionItemTrigger: ({ ref, ...props }: AccordionItemTriggerProps & {
|
|
136
|
-
ref?: React.
|
|
136
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
137
137
|
}) => react_jsx_runtime.JSX.Element;
|
|
138
138
|
declare const AccordionItemContent: ({ ref, ...props }: AccordionItemContentProps & {
|
|
139
|
-
ref?: React.
|
|
139
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
140
140
|
}) => react_jsx_runtime.JSX.Element;
|
|
141
141
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Accordion$1.ItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
142
142
|
|
|
@@ -153,7 +153,7 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Accordion$1.ItemP
|
|
|
153
153
|
* ```
|
|
154
154
|
*/
|
|
155
155
|
declare const Expandable: ({ ref, ...props }: ExpandableProps & {
|
|
156
|
-
ref?: React.
|
|
156
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
157
157
|
}) => react_jsx_runtime.JSX.Element;
|
|
158
158
|
/**
|
|
159
159
|
* An item in a set of Expandables. Must be wrapped in an `<Accordion>` component.
|
|
@@ -206,7 +206,7 @@ type AlertProps = Omit<Alert$1.RootProps, "colorPalette"> & {
|
|
|
206
206
|
* @see Docs https://spor.vy.no/alert
|
|
207
207
|
*/
|
|
208
208
|
declare const Alert: ({ ref, ...props }: AlertProps & {
|
|
209
|
-
ref?: React.
|
|
209
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
210
210
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
211
211
|
|
|
212
212
|
declare const alertExpandableSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "itemTrigger" | "itemContent" | "itemIndicator" | "indicator" | "title", {
|
|
@@ -366,7 +366,7 @@ type ExpandableAlertProps = PropsWithChildren<ExpandableAlertVariantProps> & Omi
|
|
|
366
366
|
* ```
|
|
367
367
|
*/
|
|
368
368
|
declare const ExpandableAlert: ({ ref, ...props }: ExpandableAlertProps & {
|
|
369
|
-
ref?: React.
|
|
369
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
370
370
|
}) => react_jsx_runtime.JSX.Element;
|
|
371
371
|
|
|
372
372
|
declare const alertServiceSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "itemTrigger" | "itemBody" | "itemContent" | "itemTriggerTitle" | "notificationText", _chakra_ui_react.SlotRecipeVariantRecord<"root" | "itemTrigger" | "itemBody" | "itemContent" | "itemTriggerTitle" | "notificationText">>;
|
|
@@ -403,7 +403,7 @@ type ServiceAlertProps = Omit<AlertProps, "variant"> & PropsWithChildren<Service
|
|
|
403
403
|
* ```
|
|
404
404
|
*/
|
|
405
405
|
declare const ServiceAlert: ({ ref, ...props }: ServiceAlertProps & {
|
|
406
|
-
ref?: React.
|
|
406
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
407
407
|
}) => react_jsx_runtime.JSX.Element;
|
|
408
408
|
|
|
409
409
|
/**
|
|
@@ -421,7 +421,7 @@ declare const ServiceAlert: ({ ref, ...props }: ServiceAlertProps & {
|
|
|
421
421
|
* ```
|
|
422
422
|
*/
|
|
423
423
|
declare const Breadcrumb: ({ ref, children, css, ...props }: BreadcrumbRootProps & {
|
|
424
|
-
ref?: React__default.
|
|
424
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
425
425
|
}) => react_jsx_runtime.JSX.Element;
|
|
426
426
|
|
|
427
427
|
declare const buttonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
@@ -534,7 +534,7 @@ type ButtonProps = Exclude<ButtonProps$1, "size" | "variant" | "colorPalette"> &
|
|
|
534
534
|
href?: string;
|
|
535
535
|
};
|
|
536
536
|
declare const Button: ({ ref, loading, disabled, loadingText, variant, size, leftIcon, rightIcon, type, children, ...rest }: ButtonProps & {
|
|
537
|
-
ref?: React__default.
|
|
537
|
+
ref?: React__default.Ref<HTMLButtonElement>;
|
|
538
538
|
}) => react_jsx_runtime.JSX.Element;
|
|
539
539
|
|
|
540
540
|
declare const groupRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
@@ -584,12 +584,12 @@ type ButtonGroupProps = GroupProps & PropsWithChildren<GroupVariantProps>;
|
|
|
584
584
|
* </ButtonGroup>
|
|
585
585
|
*/
|
|
586
586
|
declare const ButtonGroup: ({ ref, ...props }: ButtonGroupProps & {
|
|
587
|
-
ref?: React.
|
|
587
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
588
588
|
}) => react_jsx_runtime.JSX.Element;
|
|
589
589
|
|
|
590
590
|
type ClipboardButtonProps = ButtonProps;
|
|
591
591
|
declare const ClipboardButton: ({ ref, ...props }: ClipboardButtonProps & {
|
|
592
|
-
ref?: React$1.
|
|
592
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
593
593
|
}) => react_jsx_runtime.JSX.Element;
|
|
594
594
|
declare const Clipboard: React$1.ForwardRefExoticComponent<Clipboard$1.RootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
595
595
|
|
|
@@ -639,7 +639,7 @@ type IconButtonProps = Exclude<IconButtonProps$1, "variant" | "spinner" | "icon"
|
|
|
639
639
|
* ```
|
|
640
640
|
*/
|
|
641
641
|
declare const IconButton: ({ ref, ...props }: IconButtonProps & {
|
|
642
|
-
ref?: React__default.
|
|
642
|
+
ref?: React__default.Ref<HTMLButtonElement | null>;
|
|
643
643
|
}) => react_jsx_runtime.JSX.Element;
|
|
644
644
|
|
|
645
645
|
type CloseButtonProps = Omit<IconButtonProps, "variant" | "aria-label"> & {
|
|
@@ -656,7 +656,7 @@ type CloseButtonProps = Omit<IconButtonProps, "variant" | "aria-label"> & {
|
|
|
656
656
|
* ```
|
|
657
657
|
*/
|
|
658
658
|
declare const CloseButton: ({ ref, size, ...props }: CloseButtonProps & {
|
|
659
|
-
ref?: React.
|
|
659
|
+
ref?: React.Ref<HTMLButtonElement | null>;
|
|
660
660
|
}) => react_jsx_runtime.JSX.Element;
|
|
661
661
|
|
|
662
662
|
declare const floatingActionButtonSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "root" | "text", {
|
|
@@ -754,7 +754,7 @@ type FloatingActionButtonProps = BoxProps & PropsWithChildren<FloatingActionButt
|
|
|
754
754
|
* />
|
|
755
755
|
*/
|
|
756
756
|
declare const FloatingActionButton: ({ ref, children, icon, variant, isTextVisible: externalIsTextVisible, placement, ...props }: FloatingActionButtonProps & {
|
|
757
|
-
ref?: React__default.
|
|
757
|
+
ref?: React__default.Ref<HTMLButtonElement>;
|
|
758
758
|
}) => react_jsx_runtime.JSX.Element;
|
|
759
759
|
|
|
760
760
|
type Props$5 = {
|
|
@@ -785,7 +785,7 @@ type BaseCalendarState = {
|
|
|
785
785
|
prevButtonProps: AriaButtonProps<"button">;
|
|
786
786
|
startValue: CalendarDate | null;
|
|
787
787
|
isSelectingRange: boolean;
|
|
788
|
-
ref?: React.
|
|
788
|
+
ref?: React.Ref<HTMLDivElement | null>;
|
|
789
789
|
};
|
|
790
790
|
type SingleCalendarState = BaseCalendarState & {
|
|
791
791
|
mode: "single";
|
|
@@ -921,7 +921,7 @@ declare const pressableCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
921
921
|
*/
|
|
922
922
|
type PressableCardProps = RecipeVariantProps<typeof pressableCardRecipe> & ButtonProps$1;
|
|
923
923
|
declare const PressableCard: ({ ref, ...props }: PressableCardProps & {
|
|
924
|
-
ref?: React.
|
|
924
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
925
925
|
}) => react_jsx_runtime.JSX.Element;
|
|
926
926
|
|
|
927
927
|
declare const radioCardSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "itemContent" | "label" | "itemText" | "itemDescription", {
|
|
@@ -1008,7 +1008,7 @@ type RadioCardItemProps = Exclude<RadioCard$1.ItemProps, "colorPalette" | "indic
|
|
|
1008
1008
|
ariaLabel?: string;
|
|
1009
1009
|
};
|
|
1010
1010
|
declare const RadioCard: ({ ref, ...props }: RadioCardItemProps & {
|
|
1011
|
-
ref?: React__default.
|
|
1011
|
+
ref?: React__default.Ref<HTMLInputElement>;
|
|
1012
1012
|
}) => react_jsx_runtime.JSX.Element;
|
|
1013
1013
|
type RadioCardRootProps = RadioCardVariantProps & Exclude<RadioCard$1.RootProps, "variant"> & {
|
|
1014
1014
|
children: React__default.ReactNode;
|
|
@@ -1017,12 +1017,12 @@ type RadioCardRootProps = RadioCardVariantProps & Exclude<RadioCard$1.RootProps,
|
|
|
1017
1017
|
display?: string;
|
|
1018
1018
|
};
|
|
1019
1019
|
declare const RadioCardGroup: ({ ref, ...props }: RadioCardRootProps & {
|
|
1020
|
-
ref?: React__default.
|
|
1020
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
1021
1021
|
}) => react_jsx_runtime.JSX.Element;
|
|
1022
1022
|
declare const RadioCardLabel: React__default.ForwardRefExoticComponent<RadioCard$1.LabelProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1023
1023
|
|
|
1024
1024
|
declare const Separator: ({ ref, ...props }: SeparatorProps & {
|
|
1025
|
-
ref?: React.
|
|
1025
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1026
1026
|
}) => react_jsx_runtime.JSX.Element;
|
|
1027
1027
|
|
|
1028
1028
|
declare const staticCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
@@ -1093,7 +1093,7 @@ declare const staticCardRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
|
1093
1093
|
*/
|
|
1094
1094
|
type StaticCardProps = RecipeVariantProps<typeof staticCardRecipe> & BoxProps;
|
|
1095
1095
|
declare const StaticCard: ({ ref, ...props }: StaticCardProps & {
|
|
1096
|
-
ref?: React.
|
|
1096
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1097
1097
|
}) => react_jsx_runtime.JSX.Element;
|
|
1098
1098
|
|
|
1099
1099
|
/**
|
|
@@ -1114,7 +1114,7 @@ declare function useColorModeValue<T>(light: T, dark: T): T;
|
|
|
1114
1114
|
declare function ColorModeIcon(): react_jsx_runtime.JSX.Element;
|
|
1115
1115
|
type ColorModeButtonProps = Omit<IconButtonProps$1, "aria-label">;
|
|
1116
1116
|
declare const ColorModeButton: ({ ref, ...props }: ColorModeButtonProps & {
|
|
1117
|
-
ref?: React$1.
|
|
1117
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
1118
1118
|
}) => react_jsx_runtime.JSX.Element;
|
|
1119
1119
|
|
|
1120
1120
|
declare const fieldSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "label" | "requiredIndicator" | "helperText" | "errorText", _chakra_ui_react.SlotRecipeVariantRecord<"root" | "label" | "requiredIndicator" | "helperText" | "errorText">>;
|
|
@@ -1151,10 +1151,10 @@ type FieldProps = Omit<Field$1.RootProps, "label" | "onChange" | "onBlur"> & Rea
|
|
|
1151
1151
|
* This component is not exported and should be used as a wrapper for other input components.
|
|
1152
1152
|
*/
|
|
1153
1153
|
declare const Field: ({ ref, ...props }: FieldProps & {
|
|
1154
|
-
ref?: React$1.
|
|
1154
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1155
1155
|
}) => react_jsx_runtime.JSX.Element;
|
|
1156
1156
|
declare const FieldErrorText: ({ ref, ...props }: Field$1.ErrorTextProps & {
|
|
1157
|
-
ref?: React$1.
|
|
1157
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1158
1158
|
}) => react_jsx_runtime.JSX.Element;
|
|
1159
1159
|
declare const FieldLabel: React$1.ForwardRefExoticComponent<Field$1.LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1160
1160
|
|
|
@@ -1269,7 +1269,7 @@ type DatePickerProps = Omit<AriaDatePickerProps<DateValue>, "onChange"> & Pick<B
|
|
|
1269
1269
|
* ```
|
|
1270
1270
|
*/
|
|
1271
1271
|
declare const DatePicker: ({ ref: externalRef, variant, errorText, minHeight, showYearNavigation, withPortal, width, invalid, helperText, positioning, css, ...props }: DatePickerProps & {
|
|
1272
|
-
ref?: React__default.
|
|
1272
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
1273
1273
|
}) => react_jsx_runtime.JSX.Element;
|
|
1274
1274
|
|
|
1275
1275
|
type DateRangePickerProps = Omit<AriaDateRangePickerProps<DateValue>, "onChange" | "errorMessage" | "isInvalid" | "isRequired"> & Pick<BoxProps, "minHeight"> & PropsWithChildren<DatePickerVariantProps> & CalendarVariants & {
|
|
@@ -1359,10 +1359,10 @@ interface DialogContentProps extends Dialog.ContentProps {
|
|
|
1359
1359
|
children?: React$1.ReactNode;
|
|
1360
1360
|
}
|
|
1361
1361
|
declare const DialogContent: ({ ref, ...props }: DialogContentProps & {
|
|
1362
|
-
ref?: React$1.
|
|
1362
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
1363
1363
|
}) => react_jsx_runtime.JSX.Element;
|
|
1364
1364
|
declare const DialogCloseTrigger: ({ ref, ...props }: Dialog.CloseTriggerProps & {
|
|
1365
|
-
ref?: React$1.
|
|
1365
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
1366
1366
|
}) => react_jsx_runtime.JSX.Element;
|
|
1367
1367
|
declare const DialogRoot: React$1.FC<Dialog.RootProps>;
|
|
1368
1368
|
declare const DialogFooter: React$1.ForwardRefExoticComponent<Dialog.FooterProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1513,17 +1513,17 @@ type DrawerCloseTriggerProps = Drawer$1.CloseTriggerProps & {
|
|
|
1513
1513
|
};
|
|
1514
1514
|
|
|
1515
1515
|
declare const DrawerContent: ({ ref, ...props }: DrawerContentProps & {
|
|
1516
|
-
ref?: React.
|
|
1516
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1517
1517
|
}) => react_jsx_runtime.JSX.Element;
|
|
1518
1518
|
declare const CloseDrawerLine: ({ ref, ...props }: React.ComponentProps<typeof Box>) => react_jsx_runtime.JSX.Element;
|
|
1519
1519
|
declare const DrawerCloseTrigger: ({ ref, ...props }: DrawerCloseTriggerProps & {
|
|
1520
|
-
ref?: React.
|
|
1520
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
1521
1521
|
}) => react_jsx_runtime.JSX.Element;
|
|
1522
1522
|
declare const DrawerBackTrigger: ({ ref, ...props }: Drawer$1.CloseTriggerProps & {
|
|
1523
|
-
ref?: React.
|
|
1523
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
1524
1524
|
}) => react_jsx_runtime.JSX.Element;
|
|
1525
1525
|
declare const DrawerFullScreenHeader: ({ ref, ...props }: DrawerFullScreenHeaderProps & {
|
|
1526
|
-
ref?: React.
|
|
1526
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1527
1527
|
}) => react_jsx_runtime.JSX.Element;
|
|
1528
1528
|
declare const Drawer: (props: DrawerProps) => react_jsx_runtime.JSX.Element;
|
|
1529
1529
|
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<Drawer$1.TriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1686,7 +1686,7 @@ type AttachedInputsProps = RecipeVariantProps<typeof attachedInputsRecipe> & Gro
|
|
|
1686
1686
|
flipAriaLabel: string;
|
|
1687
1687
|
});
|
|
1688
1688
|
declare const AttachedInputs: ({ ref, ...props }: AttachedInputsProps & {
|
|
1689
|
-
ref?: React.
|
|
1689
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1690
1690
|
}) => react_jsx_runtime.JSX.Element;
|
|
1691
1691
|
|
|
1692
1692
|
type Props = {
|
|
@@ -1697,7 +1697,7 @@ type Props = {
|
|
|
1697
1697
|
loading?: boolean;
|
|
1698
1698
|
emptyLabel?: React__default.ReactNode;
|
|
1699
1699
|
openOnFocus?: boolean;
|
|
1700
|
-
ref?: React__default.
|
|
1700
|
+
ref?: React__default.Ref<HTMLInputElement | null>;
|
|
1701
1701
|
} & Omit<ComboboxRootProps, "collection"> & FieldProps;
|
|
1702
1702
|
declare function Autocomplete({ variant, children, css, label, leftIcon, onInputValueChange, invalid, helperText, errorText, required, filteredExternally, loading, disabled, emptyLabel, onFocus, openOnClick, openOnFocus, ref, ...rest }: Props): react_jsx_runtime.JSX.Element;
|
|
1703
1703
|
declare const AutocompleteItemGroup: React__default.ForwardRefExoticComponent<Combobox$1.ItemGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
@@ -1706,7 +1706,7 @@ declare const AutocompleteItem: ({ children, ...props }: ComboboxItemProps) => r
|
|
|
1706
1706
|
|
|
1707
1707
|
declare const CardSelect: ({ size, ...props }: PopoverRootProps) => react_jsx_runtime.JSX.Element;
|
|
1708
1708
|
declare const CardSelectContent: ({ ref, children, ...props }: StaticCardProps & {
|
|
1709
|
-
ref?: React.
|
|
1709
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
1710
1710
|
}) => react_jsx_runtime.JSX.Element;
|
|
1711
1711
|
type CardSelectTriggerProps = {
|
|
1712
1712
|
/** The design of the trigger button.
|
|
@@ -1722,7 +1722,7 @@ type CardSelectTriggerProps = {
|
|
|
1722
1722
|
withChevron?: boolean;
|
|
1723
1723
|
} & Omit<ButtonProps, "variant" | "rightIcon" | "leftIcon">;
|
|
1724
1724
|
declare const CardSelectTrigger: ({ ref, icon, variant, withChevron, size, children, ...props }: CardSelectTriggerProps & {
|
|
1725
|
-
ref?: React.
|
|
1725
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
1726
1726
|
}) => react_jsx_runtime.JSX.Element;
|
|
1727
1727
|
|
|
1728
1728
|
declare const checkboxSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "indicator" | "content" | "description" | "label" | "control" | "addon", _chakra_ui_react.SlotRecipeVariantRecord<"root" | "indicator" | "content" | "description" | "label" | "control" | "addon">>;
|
|
@@ -1746,7 +1746,7 @@ type CheckboxProps = Omit<Checkbox$1.RootProps, "onChange"> & PropsWithChildren<
|
|
|
1746
1746
|
* You can group several of these together with a `CheckboxGroup`.
|
|
1747
1747
|
*/
|
|
1748
1748
|
declare const Checkbox: ({ ref, ...props }: CheckboxProps & {
|
|
1749
|
-
ref?: React$1.
|
|
1749
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
1750
1750
|
}) => react_jsx_runtime.JSX.Element;
|
|
1751
1751
|
|
|
1752
1752
|
type CheckboxGroupProps = React__default.ComponentProps<typeof CheckboxGroup$1> & {
|
|
@@ -1816,7 +1816,7 @@ type ChoiceChipProps = Omit<CheckboxCardRootProps, "onCheckedChange" | "checked"
|
|
|
1816
1816
|
* ```
|
|
1817
1817
|
*/
|
|
1818
1818
|
declare const ChoiceChip: ({ ref, children, icon, onCheckedChange, ...rootProps }: ChoiceChipProps & {
|
|
1819
|
-
ref?: React__default.
|
|
1819
|
+
ref?: React__default.Ref<HTMLInputElement>;
|
|
1820
1820
|
}) => react_jsx_runtime.JSX.Element;
|
|
1821
1821
|
|
|
1822
1822
|
type ComboboxProps<T> = Exclude<InputProps, "variant" | "colorPalette" | "size"> & AriaComboBoxProps<T> & {
|
|
@@ -1906,7 +1906,7 @@ type InputProps = FieldProps & Exclude<ChakraInputProps, "size" | "label" | "col
|
|
|
1906
1906
|
* @see https://spor.vy.no/components/input
|
|
1907
1907
|
*/
|
|
1908
1908
|
declare const Input: ({ ref, startElement, endElement, label, invalid, helperText, errorText, required, hidden, fontSize, labelAsChild, ...props }: InputProps & {
|
|
1909
|
-
ref?: React__default.
|
|
1909
|
+
ref?: React__default.Ref<HTMLInputElement | null>;
|
|
1910
1910
|
}) => react_jsx_runtime.JSX.Element;
|
|
1911
1911
|
|
|
1912
1912
|
declare const listBoxSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "description" | "label", {
|
|
@@ -2124,7 +2124,7 @@ type NativeSelectdProps = React$1.PropsWithChildren<NativeSelectVariantProps> &
|
|
|
2124
2124
|
*
|
|
2125
2125
|
*/
|
|
2126
2126
|
declare const NativeSelect: ({ ref, ...props }: NativeSelectdProps & {
|
|
2127
|
-
ref?: React$1.
|
|
2127
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
2128
2128
|
}) => react_jsx_runtime.JSX.Element;
|
|
2129
2129
|
|
|
2130
2130
|
declare const numericStepperRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "container" | "input" | "text" | "button", {
|
|
@@ -2189,7 +2189,7 @@ type NumericStepperProps = FieldBaseProps & NumericStepperVariants & {
|
|
|
2189
2189
|
* @see https://spor.vy.no/components/numeric-stepper
|
|
2190
2190
|
*/
|
|
2191
2191
|
declare const NumericStepper: ({ ref, ...props }: NumericStepperProps & {
|
|
2192
|
-
ref?: React__default.
|
|
2192
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
2193
2193
|
}) => react_jsx_runtime.JSX.Element;
|
|
2194
2194
|
|
|
2195
2195
|
interface PasswordVisibilityProps {
|
|
@@ -2225,7 +2225,7 @@ interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
|
|
|
2225
2225
|
* @see https://spor.vy.no/components/password-input
|
|
2226
2226
|
*/
|
|
2227
2227
|
declare const PasswordInput: ({ ref, ...props }: PasswordInputProps & {
|
|
2228
|
-
ref?: React__default.
|
|
2228
|
+
ref?: React__default.Ref<HTMLInputElement>;
|
|
2229
2229
|
}) => react_jsx_runtime.JSX.Element;
|
|
2230
2230
|
|
|
2231
2231
|
type CountryCodeAndPhoneNumber = {
|
|
@@ -2263,7 +2263,7 @@ type PhoneNumberInputProps = Omit<InputProps, "value"> & {
|
|
|
2263
2263
|
* ```
|
|
2264
2264
|
*/
|
|
2265
2265
|
declare const PhoneNumberInput: ({ ref, ...props }: PhoneNumberInputProps & {
|
|
2266
|
-
ref?: React.
|
|
2266
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
2267
2267
|
}) => react_jsx_runtime.JSX.Element;
|
|
2268
2268
|
|
|
2269
2269
|
declare const radioGroupSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "item" | "label" | "itemText" | "itemControl", {
|
|
@@ -2296,11 +2296,11 @@ type RadioProps = PropsWithChildren<RadioVariants> & RadioGroup$1.ItemProps & {
|
|
|
2296
2296
|
* </RadioGroup>
|
|
2297
2297
|
*/
|
|
2298
2298
|
declare const Radio: ({ ref, ...props }: RadioProps & {
|
|
2299
|
-
ref?: React__default.
|
|
2299
|
+
ref?: React__default.Ref<HTMLInputElement>;
|
|
2300
2300
|
}) => react_jsx_runtime.JSX.Element;
|
|
2301
2301
|
type RadioGroupProps = Omit<RadioGroup$1.RootProps, "colorPalette" | "variant" | "size"> & {};
|
|
2302
2302
|
declare const RadioGroup: ({ ref, ...props }: RadioGroupProps & {
|
|
2303
|
-
ref?: React__default.
|
|
2303
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
2304
2304
|
}) => react_jsx_runtime.JSX.Element;
|
|
2305
2305
|
|
|
2306
2306
|
type SearchInputProps = InputProps & {
|
|
@@ -2312,7 +2312,7 @@ type SearchInputProps = InputProps & {
|
|
|
2312
2312
|
* Includes a search icon, a localized label and a reset button.
|
|
2313
2313
|
*/
|
|
2314
2314
|
declare const SearchInput: ({ ref, ...props }: SearchInputProps & {
|
|
2315
|
-
ref?: React.
|
|
2315
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
2316
2316
|
}) => react_jsx_runtime.JSX.Element;
|
|
2317
2317
|
|
|
2318
2318
|
type SelectProps = SelectRootProps & FieldProps & {
|
|
@@ -2347,7 +2347,7 @@ type SelectProps = SelectRootProps & FieldProps & {
|
|
|
2347
2347
|
*
|
|
2348
2348
|
*/
|
|
2349
2349
|
declare const Select: ({ ref, ...props }: SelectProps & {
|
|
2350
|
-
ref?: React$1.
|
|
2350
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
2351
2351
|
}) => react_jsx_runtime.JSX.Element;
|
|
2352
2352
|
declare const SelectLabel: (props: SelectLabelProps) => react_jsx_runtime.JSX.Element;
|
|
2353
2353
|
type SelectItemProps = Select$1.ItemProps & {
|
|
@@ -2355,21 +2355,21 @@ type SelectItemProps = Select$1.ItemProps & {
|
|
|
2355
2355
|
description?: React$1.ReactNode;
|
|
2356
2356
|
};
|
|
2357
2357
|
declare const SelectItem: ({ ref, ...props }: SelectItemProps & {
|
|
2358
|
-
ref?: React$1.
|
|
2358
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
2359
2359
|
}) => react_jsx_runtime.JSX.Element;
|
|
2360
2360
|
type SelectItemGroupProps = Select$1.ItemGroupProps & {
|
|
2361
2361
|
label: React$1.ReactNode;
|
|
2362
2362
|
children: React$1.ReactNode;
|
|
2363
2363
|
};
|
|
2364
2364
|
declare const SelectItemGroup: ({ ref, ...props }: SelectItemGroupProps & {
|
|
2365
|
-
ref?: React$1.
|
|
2365
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
2366
2366
|
}) => react_jsx_runtime.JSX.Element;
|
|
2367
2367
|
type SelectTriggerProps = Select$1.ControlProps & {
|
|
2368
2368
|
clearable?: boolean;
|
|
2369
2369
|
children?: React$1.ReactNode;
|
|
2370
2370
|
};
|
|
2371
2371
|
declare const SelectTrigger: ({ ref, ...props }: SelectTriggerProps & {
|
|
2372
|
-
ref?: React$1.
|
|
2372
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
2373
2373
|
}) => react_jsx_runtime.JSX.Element;
|
|
2374
2374
|
type SelectContentProps = Select$1.ContentProps & {
|
|
2375
2375
|
portalled?: boolean;
|
|
@@ -2377,7 +2377,7 @@ type SelectContentProps = Select$1.ContentProps & {
|
|
|
2377
2377
|
baseStyle?: SystemStyleObject;
|
|
2378
2378
|
};
|
|
2379
2379
|
declare const SelectContent: ({ ref, ...props }: SelectContentProps & {
|
|
2380
|
-
ref?: React$1.
|
|
2380
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
2381
2381
|
}) => react_jsx_runtime.JSX.Element;
|
|
2382
2382
|
type SelectValueTextProps = Omit<Select$1.ValueTextProps, "children"> & {
|
|
2383
2383
|
children?(items: CollectionItem[]): React$1.ReactNode;
|
|
@@ -2385,7 +2385,7 @@ type SelectValueTextProps = Omit<Select$1.ValueTextProps, "children"> & {
|
|
|
2385
2385
|
withPlaceholder?: boolean;
|
|
2386
2386
|
};
|
|
2387
2387
|
declare const SelectValueText: ({ ref, ...props }: SelectValueTextProps & {
|
|
2388
|
-
ref?: React$1.
|
|
2388
|
+
ref?: React$1.Ref<HTMLSpanElement>;
|
|
2389
2389
|
}) => react_jsx_runtime.JSX.Element;
|
|
2390
2390
|
declare const SelectItemText: React$1.ForwardRefExoticComponent<Select$1.ItemTextProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2391
2391
|
declare const SelectRoot: Select$1.RootComponent;
|
|
@@ -2456,7 +2456,7 @@ type SwitchProps = Exclude<Switch$1.RootProps, "size" | "colorPalette"> & FieldB
|
|
|
2456
2456
|
* ```
|
|
2457
2457
|
*/
|
|
2458
2458
|
declare const Switch: ({ ref, ...props }: SwitchProps & {
|
|
2459
|
-
ref?: React__default.
|
|
2459
|
+
ref?: React__default.Ref<HTMLInputElement>;
|
|
2460
2460
|
}) => react_jsx_runtime.JSX.Element;
|
|
2461
2461
|
|
|
2462
2462
|
declare const textareaRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
@@ -2506,7 +2506,7 @@ type TextareaProps = Exclude<TextareaProps$1, "size" | "colorPalette"> & FieldPr
|
|
|
2506
2506
|
label: ReactNode;
|
|
2507
2507
|
};
|
|
2508
2508
|
declare const Textarea: ({ ref, ...props }: TextareaProps & {
|
|
2509
|
-
ref?: React__default.
|
|
2509
|
+
ref?: React__default.Ref<HTMLTextAreaElement>;
|
|
2510
2510
|
}) => react_jsx_runtime.JSX.Element;
|
|
2511
2511
|
|
|
2512
2512
|
declare const infoTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "walk", {
|
|
@@ -2760,7 +2760,7 @@ type LineIconProps = Exclude<BoxProps, "variant"> & VariantProps & PropsWithChil
|
|
|
2760
2760
|
* @see https://spor.vy.no/components/line-tags
|
|
2761
2761
|
*/
|
|
2762
2762
|
declare const LineIcon: ({ ref, variant, size, foregroundColor, disabled, style, target, label, ...rest }: LineIconProps & {
|
|
2763
|
-
ref?: React.
|
|
2763
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
2764
2764
|
}) => react_jsx_runtime.JSX.Element;
|
|
2765
2765
|
|
|
2766
2766
|
declare const travelTagSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "title" | "description" | "iconContainer" | "container" | "textContainer" | "deviationIcon", {
|
|
@@ -2912,7 +2912,7 @@ type TravelTagProps = TagProps & BoxProps & PropsWithChildren<TravelTagVariantPr
|
|
|
2912
2912
|
customIconVariant?: string;
|
|
2913
2913
|
};
|
|
2914
2914
|
declare const TravelTag: ({ ref, variant, size, deviationLevel, title, description, disabled, foregroundColor, backgroundColor, customIconVariant, ...rest }: TravelTagProps & {
|
|
2915
|
-
ref?: React.
|
|
2915
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
2916
2916
|
}) => react_jsx_runtime.JSX.Element;
|
|
2917
2917
|
|
|
2918
2918
|
type LinkProps = LinkProps$1 & {
|
|
@@ -2922,7 +2922,7 @@ type LinkProps = LinkProps$1 & {
|
|
|
2922
2922
|
external?: boolean;
|
|
2923
2923
|
};
|
|
2924
2924
|
declare const TextLink: ({ ref, children, external, href, ...props }: LinkProps & {
|
|
2925
|
-
ref?: React__default.
|
|
2925
|
+
ref?: React__default.Ref<HTMLAnchorElement>;
|
|
2926
2926
|
}) => react_jsx_runtime.JSX.Element;
|
|
2927
2927
|
|
|
2928
2928
|
/**
|
|
@@ -3094,7 +3094,7 @@ type ProgressBarProps = BoxProps & UseProgressProps & PropsWithChildren<Progress
|
|
|
3094
3094
|
* ```
|
|
3095
3095
|
*/
|
|
3096
3096
|
declare const ProgressBar: ({ ref, value, label, labelRotationDelay, isActive, showValueText, height, css, ...rest }: ProgressBarProps & {
|
|
3097
|
-
ref?: React__default.
|
|
3097
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
3098
3098
|
}) => react_jsx_runtime.JSX.Element;
|
|
3099
3099
|
|
|
3100
3100
|
declare const progressLoaderRecipe: _chakra_ui_react.RecipeDefinition<_chakra_ui_react.RecipeVariantRecord>;
|
|
@@ -3152,7 +3152,7 @@ type ProgressLoaderProps = BoxProps & {
|
|
|
3152
3152
|
* ```
|
|
3153
3153
|
*/
|
|
3154
3154
|
declare const ProgressLoader: ({ ref, value, label, labelRotationDelay, "aria-label": ariaLabel, width, ...rest }: ProgressLoaderProps & {
|
|
3155
|
-
ref?: React__default.
|
|
3155
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
3156
3156
|
}) => react_jsx_runtime.JSX.Element;
|
|
3157
3157
|
|
|
3158
3158
|
declare const skeletonRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
@@ -3211,7 +3211,7 @@ type SkeletonCircleProps = SkeletonProps$1 & SkeletonVariantProps & {
|
|
|
3211
3211
|
size?: CircleProps["size"];
|
|
3212
3212
|
};
|
|
3213
3213
|
declare const SkeletonCircle: ({ ref, ...props }: SkeletonCircleProps & {
|
|
3214
|
-
ref?: React$1.
|
|
3214
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
3215
3215
|
}) => react_jsx_runtime.JSX.Element;
|
|
3216
3216
|
type SkeletonTextProps = SkeletonProps$1 & SkeletonVariantProps & {
|
|
3217
3217
|
noOfLines?: number;
|
|
@@ -3233,7 +3233,7 @@ type CargonetLogoProps = {
|
|
|
3233
3233
|
colorPalette: "light" | "dark";
|
|
3234
3234
|
};
|
|
3235
3235
|
declare const CargonetLogo: ({ ref, ...props }: CargonetLogoProps & {
|
|
3236
|
-
ref?: React.
|
|
3236
|
+
ref?: React.Ref<SVGSVGElement>;
|
|
3237
3237
|
}) => react_jsx_runtime.JSX.Element;
|
|
3238
3238
|
|
|
3239
3239
|
declare const SvgBox: _chakra_ui_react.ChakraComponent<"svg", {}>;
|
|
@@ -3243,12 +3243,12 @@ type VyLogoProps = VyLogoBaseProps & {
|
|
|
3243
3243
|
variant?: "default" | "mono";
|
|
3244
3244
|
};
|
|
3245
3245
|
declare const VyLogo: ({ ref, variant, ...props }: VyLogoProps & {
|
|
3246
|
-
ref?: React.
|
|
3246
|
+
ref?: React.Ref<SVGSVGElement>;
|
|
3247
3247
|
}) => react_jsx_runtime.JSX.Element;
|
|
3248
3248
|
|
|
3249
3249
|
type VyLogoPrideProps = ComponentProps<typeof SvgBox>;
|
|
3250
3250
|
declare const VyLogoPride: ({ ref, ...props }: VyLogoPrideProps & {
|
|
3251
|
-
ref?: React.
|
|
3251
|
+
ref?: React.Ref<SVGSVGElement>;
|
|
3252
3252
|
}) => react_jsx_runtime.JSX.Element;
|
|
3253
3253
|
|
|
3254
3254
|
declare const mediaControllerSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"icon" | "root", {
|
|
@@ -3326,7 +3326,7 @@ type JumpButtonProps = BoxProps & PropsWithChildren<MediaControllerVariantProps>
|
|
|
3326
3326
|
* ```
|
|
3327
3327
|
*/
|
|
3328
3328
|
declare const JumpButton: ({ ref, ...props }: JumpButtonProps & {
|
|
3329
|
-
ref?: React.
|
|
3329
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
3330
3330
|
}) => react_jsx_runtime.JSX.Element;
|
|
3331
3331
|
|
|
3332
3332
|
type PlayPauseButtonProps = BoxProps & PropsWithChildren<MediaControllerVariantProps> & {
|
|
@@ -3348,7 +3348,7 @@ type PlayPauseButtonProps = BoxProps & PropsWithChildren<MediaControllerVariantP
|
|
|
3348
3348
|
* ```
|
|
3349
3349
|
*/
|
|
3350
3350
|
declare const PlayPauseButton: ({ ref, ...props }: PlayPauseButtonProps & {
|
|
3351
|
-
ref?: React.
|
|
3351
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
3352
3352
|
}) => react_jsx_runtime.JSX.Element;
|
|
3353
3353
|
|
|
3354
3354
|
type SkipButtonProps = BoxProps & PropsWithChildren<MediaControllerVariantProps> & {
|
|
@@ -3370,7 +3370,7 @@ type SkipButtonProps = BoxProps & PropsWithChildren<MediaControllerVariantProps>
|
|
|
3370
3370
|
* ```
|
|
3371
3371
|
*/
|
|
3372
3372
|
declare const SkipButton: ({ ref, ...props }: SkipButtonProps & {
|
|
3373
|
-
ref?: React.
|
|
3373
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
3374
3374
|
}) => react_jsx_runtime.JSX.Element;
|
|
3375
3375
|
|
|
3376
3376
|
type NudgeProps = {
|
|
@@ -3378,15 +3378,15 @@ type NudgeProps = {
|
|
|
3378
3378
|
} & PopoverRootProps;
|
|
3379
3379
|
declare const Nudge: (props: NudgeProps) => react_jsx_runtime.JSX.Element | null;
|
|
3380
3380
|
declare const NudgeTrigger: ({ ref, ...props }: Popover$1.TriggerProps & {
|
|
3381
|
-
ref?: React__default.
|
|
3381
|
+
ref?: React__default.Ref<HTMLButtonElement>;
|
|
3382
3382
|
}) => react_jsx_runtime.JSX.Element;
|
|
3383
3383
|
declare const NudgeContent: ({ ref, showCloseButton, children, ...props }: PopoverProps & {
|
|
3384
|
-
ref?: React__default.
|
|
3384
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
3385
3385
|
}) => react_jsx_runtime.JSX.Element;
|
|
3386
3386
|
declare const NudgeActions: ({ ...props }: BoxProps) => react_jsx_runtime.JSX.Element;
|
|
3387
3387
|
declare const NudgeWizardStep: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
|
|
3388
3388
|
declare const NudgeCloseTrigger: ({ ref, children, ...props }: Popover$1.TriggerProps & {
|
|
3389
|
-
ref?: React__default.
|
|
3389
|
+
ref?: React__default.Ref<HTMLButtonElement>;
|
|
3390
3390
|
}) => react_jsx_runtime.JSX.Element;
|
|
3391
3391
|
|
|
3392
3392
|
declare const paginationSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"item" | "list", _chakra_ui_react.SlotRecipeVariantRecord<"item" | "list">>;
|
|
@@ -3398,31 +3398,31 @@ type ButtonVariantContext = {
|
|
|
3398
3398
|
type PaginationRootProps = Omit<Pagination$1.RootProps, "type"> & React.PropsWithChildren<PaginationVariantProps> & ButtonVariantContext & {};
|
|
3399
3399
|
|
|
3400
3400
|
declare const Pagination: ({ ref, ...props }: PaginationRootProps & {
|
|
3401
|
-
ref?: React$1.
|
|
3401
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
3402
3402
|
}) => react_jsx_runtime.JSX.Element;
|
|
3403
3403
|
declare const PaginationEllipsis: ({ ref, ...props }: Pagination$1.EllipsisProps & {
|
|
3404
|
-
ref?: React$1.
|
|
3404
|
+
ref?: React$1.Ref<HTMLDivElement>;
|
|
3405
3405
|
}) => react_jsx_runtime.JSX.Element;
|
|
3406
3406
|
declare const PaginationItem: ({ ref, ...props }: Pagination$1.ItemProps & {
|
|
3407
|
-
ref?: React$1.
|
|
3407
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
3408
3408
|
}) => react_jsx_runtime.JSX.Element;
|
|
3409
3409
|
declare const PaginationPrevTrigger: ({ ref, ...props }: Pagination$1.PrevTriggerProps & {
|
|
3410
|
-
ref?: React$1.
|
|
3410
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
3411
3411
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
3412
3412
|
declare const PaginationNextTrigger: ({ ref, ...props }: Pagination$1.NextTriggerProps & {
|
|
3413
|
-
ref?: React$1.
|
|
3413
|
+
ref?: React$1.Ref<HTMLButtonElement>;
|
|
3414
3414
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
3415
3415
|
declare const PaginationItems: (props: React$1.HTMLAttributes<HTMLElement> & {}) => react_jsx_runtime.JSX.Element;
|
|
3416
3416
|
|
|
3417
3417
|
declare const Popover: React__default.FC<Popover$1.RootProps>;
|
|
3418
3418
|
declare const PopoverTrigger: ({ ref, children, ...props }: Popover$1.TriggerProps & {
|
|
3419
|
-
ref?: React__default.
|
|
3419
|
+
ref?: React__default.Ref<HTMLButtonElement>;
|
|
3420
3420
|
}) => react_jsx_runtime.JSX.Element;
|
|
3421
3421
|
type PopoverProps = Popover$1.ContentProps & React__default.RefAttributes<HTMLDivElement> & {
|
|
3422
3422
|
showCloseButton?: boolean;
|
|
3423
3423
|
};
|
|
3424
3424
|
declare const PopoverContent: ({ ref, children, showCloseButton, ...props }: PopoverProps & {
|
|
3425
|
-
ref?: React__default.
|
|
3425
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
3426
3426
|
}) => react_jsx_runtime.JSX.Element;
|
|
3427
3427
|
|
|
3428
3428
|
declare const progressIndicatorRecipe: _chakra_ui_react.SlotRecipeDefinition<"root" | "container" | "circle" | "progressDot", _chakra_ui_react.SlotRecipeVariantRecord<"root" | "container" | "circle" | "progressDot">>;
|
|
@@ -3449,7 +3449,7 @@ type ProgressIndicatorProps = BoxProps & PropsWithChildren<ProgressIndicatorVari
|
|
|
3449
3449
|
* ```
|
|
3450
3450
|
*/
|
|
3451
3451
|
declare const ProgressIndicator: ({ ref, numberOfSteps, activeStep, css, }: ProgressIndicatorProps & {
|
|
3452
|
-
ref?: React__default.
|
|
3452
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
3453
3453
|
}) => react_jsx_runtime.JSX.Element;
|
|
3454
3454
|
|
|
3455
3455
|
type SporProviderProps = Omit<ChakraProviderProps, "value"> & {
|
|
@@ -3587,7 +3587,7 @@ type StepperProps = PropsWithChildren<StepperVariantProps> & {
|
|
|
3587
3587
|
* ```
|
|
3588
3588
|
**/
|
|
3589
3589
|
declare const Stepper: ({ ref, ...props }: StepperProps & {
|
|
3590
|
-
ref?: React.
|
|
3590
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
3591
3591
|
}) => react_jsx_runtime.JSX.Element;
|
|
3592
3592
|
|
|
3593
3593
|
type StepperStepProps = PropsWithChildren<StepperVariantProps> & {
|
|
@@ -3785,7 +3785,7 @@ type TabsProps = Exclude<TabsRootProps, "colorPalette" | "orientation"> & PropsW
|
|
|
3785
3785
|
justify?: "start" | "center" | "end";
|
|
3786
3786
|
};
|
|
3787
3787
|
declare const Tabs: ({ ref, ...props }: TabsProps & {
|
|
3788
|
-
ref?: React.
|
|
3788
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
3789
3789
|
}) => react_jsx_runtime.JSX.Element;
|
|
3790
3790
|
declare const TabsList: React$1.ForwardRefExoticComponent<Tabs$1.ListProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3791
3791
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Tabs$1.TriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -4010,23 +4010,23 @@ type ToastProps = {
|
|
|
4010
4010
|
text: string;
|
|
4011
4011
|
variant: Variant;
|
|
4012
4012
|
id?: string;
|
|
4013
|
-
}
|
|
4014
|
-
declare const createToast: ({ text, variant, id, duration, }: ToastProps) => string;
|
|
4013
|
+
} & Pick<BoxProps, "width">;
|
|
4014
|
+
declare const createToast: ({ text, variant, id, duration, width, }: ToastProps) => string;
|
|
4015
4015
|
|
|
4016
4016
|
declare const Tooltip: React$1.FC<Tooltip$1.RootProps>;
|
|
4017
4017
|
declare const TooltipTrigger: ({ ref, children, ...props }: Tooltip$1.TriggerProps & {
|
|
4018
|
-
ref?: React.
|
|
4018
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
4019
4019
|
}) => react_jsx_runtime.JSX.Element;
|
|
4020
4020
|
type TooltipProps = Tooltip$1.ContentProps;
|
|
4021
4021
|
declare const TooltipContent: ({ ref, children, ...props }: TooltipProps & {
|
|
4022
|
-
ref?: React.
|
|
4022
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
4023
4023
|
}) => react_jsx_runtime.JSX.Element;
|
|
4024
4024
|
|
|
4025
4025
|
type BadgeProps = BadgeProps$1 & {
|
|
4026
4026
|
icon?: IconComponent;
|
|
4027
4027
|
};
|
|
4028
4028
|
declare const Badge: ({ ref, icon, children, ...props }: BadgeProps & {
|
|
4029
|
-
ref?: React.
|
|
4029
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
4030
4030
|
}) => react_jsx_runtime.JSX.Element;
|
|
4031
4031
|
|
|
4032
4032
|
declare const codeRecipie: _chakra_ui_react.RecipeDefinition<{
|
|
@@ -4035,7 +4035,7 @@ declare const codeRecipie: _chakra_ui_react.RecipeDefinition<{
|
|
|
4035
4035
|
|
|
4036
4036
|
type CodeVariantProps = RecipeVariantProps<typeof codeRecipie> & CodeProps;
|
|
4037
4037
|
declare const Code: ({ ref, ...props }: CodeVariantProps & {
|
|
4038
|
-
ref?: React__default.
|
|
4038
|
+
ref?: React__default.Ref<HTMLElement>;
|
|
4039
4039
|
}) => react_jsx_runtime.JSX.Element;
|
|
4040
4040
|
|
|
4041
4041
|
type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
|
|
@@ -4070,7 +4070,7 @@ type HeadingProps = Omit<HeadingProps$1, "textStyle" | "as"> & {
|
|
|
4070
4070
|
* ```
|
|
4071
4071
|
*/
|
|
4072
4072
|
declare const Heading: ({ ref, ...props }: HeadingProps & {
|
|
4073
|
-
ref?: React.
|
|
4073
|
+
ref?: React.Ref<HTMLHeadingElement>;
|
|
4074
4074
|
}) => react_jsx_runtime.JSX.Element;
|
|
4075
4075
|
|
|
4076
4076
|
type TextProps = Omit<TextProps$1, "textStyle"> & {
|
|
@@ -4088,7 +4088,7 @@ type TextProps = Omit<TextProps$1, "textStyle"> & {
|
|
|
4088
4088
|
* ```
|
|
4089
4089
|
*/
|
|
4090
4090
|
declare const Text: ({ ref, ...props }: TextProps & {
|
|
4091
|
-
ref?: React.
|
|
4091
|
+
ref?: React.Ref<HTMLParagraphElement>;
|
|
4092
4092
|
}) => react_jsx_runtime.JSX.Element;
|
|
4093
4093
|
|
|
4094
4094
|
/**
|