@atom-learning/components 8.0.0 → 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/dist/components/accordion/AccordionContent.d.ts +1 -3
- package/dist/components/accordion/AccordionItem.d.ts +1 -3
- package/dist/components/accordion/AccordionTrigger.d.ts +1 -3
- package/dist/components/action-icon/ActionIcon.d.ts +1 -3
- package/dist/components/alert-dialog/AlertDialog.d.ts +1 -3
- package/dist/components/alert-dialog/AlertDialogContent.d.ts +1 -3
- package/dist/components/avatar/Avatar.d.ts +2 -6
- package/dist/components/badge/Badge.d.ts +3 -9
- package/dist/components/badge/Badge.js.map +1 -1
- package/dist/components/badge/BadgeText.d.ts +2 -6
- package/dist/components/banner/BannerContainer.d.ts +1 -3
- package/dist/components/banner/banner-regular/BannerRegular.d.ts +73 -61
- package/dist/components/banner/banner-regular/BannerRegularContent.d.ts +1 -3
- package/dist/components/banner/banner-regular/BannerRegularDismiss.d.ts +2 -6
- package/dist/components/banner/banner-regular/BannerRegularText.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlim.d.ts +74 -64
- package/dist/components/banner/banner-slim/BannerSlimActions.d.ts +1 -3
- package/dist/components/banner/banner-slim/BannerSlimContainer.d.ts +1 -3
- package/dist/components/banner/banner-slim/BannerSlimContent.d.ts +1 -3
- package/dist/components/banner/banner-slim/BannerSlimDismiss.d.ts +2 -6
- package/dist/components/banner/banner-slim/BannerSlimImage.js.map +1 -1
- package/dist/components/banner/banner-slim/BannerSlimText.js.map +1 -1
- package/dist/components/box/Box.d.ts +1 -3
- package/dist/components/button/Button.d.ts +1 -3
- package/dist/components/calendar/Calendar.d.ts +2 -2
- package/dist/components/calendar/Calendar.js.map +1 -1
- package/dist/components/calendar/Day.d.ts +1 -3
- package/dist/components/carousel/Carousel.d.ts +2 -6
- package/dist/components/carousel/CarouselArrows.d.ts +1 -3
- package/dist/components/checkbox/Checkbox.d.ts +1 -3
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +73 -61
- package/dist/components/checkbox-tree/CheckboxTree.d.ts +1 -1
- package/dist/components/checkbox-tree/CheckboxTree.js.map +1 -1
- package/dist/components/checkbox-tree/CheckboxTreeItemContent.d.ts +1 -3
- package/dist/components/checkbox-tree/CheckboxTreeItemContent.js.map +1 -1
- package/dist/components/chip/Chip.d.ts +4 -12
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/chip/ChipGroup.d.ts +1 -3
- package/dist/components/chip-dismissible-group/ChipDismissibleGroupItem.d.ts +2 -6
- package/dist/components/chip-toggle-group/ChipToggleGroupItem.d.ts +2 -6
- package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +2 -6
- package/dist/components/combobox/Combobox.d.ts +4 -12
- package/dist/components/combobox/ComboboxInput.d.ts +2 -6
- package/dist/components/combobox/ComboboxList.d.ts +1 -3
- package/dist/components/combobox/ComboboxOption.d.ts +1 -3
- package/dist/components/combobox/ComboboxPopover.d.ts +1 -3
- package/dist/components/data-table/DataTable.d.ts +20 -40
- package/dist/components/data-table/DataTableBulkActions.d.ts +4 -4
- package/dist/components/data-table/DataTableBulkActions.js.map +1 -1
- package/dist/components/data-table/DataTableBulkActionsFloating.d.ts +1 -3
- package/dist/components/data-table/DataTableError.d.ts +2 -2
- package/dist/components/data-table/DataTableError.js.map +1 -1
- package/dist/components/data-table/DataTableHead.d.ts +1 -1
- package/dist/components/data-table/DataTableHead.js.map +1 -1
- package/dist/components/data-table/DataTableLoading.d.ts +1 -3
- package/dist/components/data-table/DataTableRowSelectionCheckbox.d.ts +1 -1
- package/dist/components/data-table/DataTableRowSelectionCheckbox.js.map +1 -1
- package/dist/components/data-table/pagination/Pagination.d.ts +1 -3
- package/dist/components/dialog/Dialog.d.ts +6 -18
- package/dist/components/dialog/DialogActionBar.d.ts +1 -3
- package/dist/components/dialog/DialogBackground.d.ts +1 -3
- package/dist/components/dialog/DialogContent.d.ts +1 -3
- package/dist/components/dialog/DialogContent.js.map +1 -1
- package/dist/components/dialog/DialogFooter.d.ts +1 -3
- package/dist/components/dialog/DialogNavigationBar.d.ts +1 -3
- package/dist/components/dialog/DialogScrollableContent.d.ts +1 -3
- package/dist/components/divider/Divider.d.ts +2 -6
- package/dist/components/drawer/Drawer.d.ts +3 -9
- package/dist/components/drawer/DrawerContent.d.ts +1 -3
- package/dist/components/drawer/DrawerFooter.d.ts +1 -3
- package/dist/components/drawer/DrawerHeader.d.ts +1 -3
- package/dist/components/drawer/DrawerMain.d.ts +1 -3
- package/dist/components/drawer/DrawerOverlay.d.ts +1 -3
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +4 -12
- package/dist/components/dropdown-menu/DropdownMenuContent.d.ts +1 -3
- package/dist/components/dropdown-menu/DropdownMenuItem.d.ts +1 -3
- package/dist/components/dropdown-menu/DropdownMenuSeparator.d.ts +1 -3
- package/dist/components/dropdown-menu/DropdownMenuTrigger.d.ts +1 -3
- package/dist/components/empty-state/EmptyState.d.ts +6 -18
- package/dist/components/empty-state/EmptyStateBody.d.ts +2 -6
- package/dist/components/empty-state/EmptyStateImage.d.ts +2 -6
- package/dist/components/empty-state/EmptyStateTitle.d.ts +1 -3
- package/dist/components/flex/Flex.d.ts +1 -3
- package/dist/components/grid/Grid.d.ts +1 -3
- package/dist/components/heading/Heading.d.ts +1 -3
- package/dist/components/icon/Icon.d.ts +1 -3
- package/dist/components/image/Image.d.ts +1 -3
- package/dist/components/inline-message/InlineMessage.d.ts +1 -3
- package/dist/components/input/Input.d.ts +3 -9
- package/dist/components/keyboard-shortcut/KeyboardShortcut.d.ts +2 -6
- package/dist/components/keyboard-shortcut/index.d.ts +2 -6
- package/dist/components/label/Label.d.ts +1 -3
- package/dist/components/link/Link.d.ts +1 -3
- package/dist/components/list/List.d.ts +2 -6
- package/dist/components/markdown-content/MarkdownContent.d.ts +1 -3
- package/dist/components/markdown-content/MarkdownContent.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownEmphasis.d.ts +2 -4
- package/dist/components/markdown-content/components/MarkdownEmphasis.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownHeading.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownHeading.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownLink.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownLink.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownList.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownList.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownListItem.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownListItem.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownParagraph.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownParagraph.js.map +1 -1
- package/dist/components/markdown-content/components/MarkdownStrong.d.ts +1 -1
- package/dist/components/markdown-content/components/MarkdownStrong.js.map +1 -1
- package/dist/components/navigation/NavigationMenu.d.ts +9 -27
- package/dist/components/navigation/NavigationMenuDropdownContent.d.ts +1 -3
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +4 -12
- package/dist/components/navigation/NavigationMenuDropdownTrigger.d.ts +1 -3
- package/dist/components/navigation/NavigationMenuLink.d.ts +2 -6
- package/dist/components/navigation/NavigationMenuLink.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +125 -113
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalAccordionTrigger.d.ts +1 -3
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.d.ts +3 -7
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalIcon.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalItemContent.js.map +1 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalLink.d.ts +1 -3
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalList.d.ts +1 -3
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +2 -6
- package/dist/components/number-input/NumberInputStepper.d.ts +2 -6
- package/dist/components/pagination/PaginationNextButton.d.ts +2 -6
- package/dist/components/pagination/PaginationPreviousButton.d.ts +2 -6
- package/dist/components/popover/Popover.d.ts +1 -3
- package/dist/components/popover/PopoverContent.d.ts +1 -3
- package/dist/components/progress-bar/ProgressBar.d.ts +1 -3
- package/dist/components/radio-button/RadioButton.d.ts +1 -3
- package/dist/components/radio-button/RadioButtonGroup.d.ts +1 -3
- package/dist/components/radio-button-field/RadioButtonField.d.ts +2 -4
- package/dist/components/radio-card/RadioCard.d.ts +1 -3
- package/dist/components/section-message/SectionMessage.d.ts +3 -7
- package/dist/components/section-message/SectionMessageLayout.d.ts +1 -3
- package/dist/components/segmented-control/SegmentedControl.d.ts +7 -21
- package/dist/components/segmented-control/SegmentedControlContent.d.ts +1 -3
- package/dist/components/segmented-control/SegmentedControlDescription.d.ts +2 -6
- package/dist/components/segmented-control/SegmentedControlHeading.d.ts +2 -6
- package/dist/components/segmented-control/SegmentedControlItem.d.ts +1 -3
- package/dist/components/segmented-control/SegmentedControlRoot.d.ts +1 -3
- package/dist/components/select/Select.d.ts +1 -3
- package/dist/components/select-menu/SelectMenu.d.ts +4 -12
- package/dist/components/select-menu/SelectMenuContent.d.ts +1 -3
- package/dist/components/select-menu/SelectMenuItem.d.ts +1 -3
- package/dist/components/select-menu/SelectMenuSeparator.d.ts +1 -3
- package/dist/components/side-bar/SideBar.d.ts +8 -24
- package/dist/components/side-bar/SideBarComponents.d.ts +6 -18
- package/dist/components/skeleton-loader/Skeleton.d.ts +1 -3
- package/dist/components/slider/Slider.d.ts +2 -6
- package/dist/components/sortable/Handle.d.ts +2 -6
- package/dist/components/spacer/Spacer.d.ts +1 -3
- package/dist/components/stepper/StepperStepBullet.d.ts +2 -4
- package/dist/components/stepper/StepperStepContainer.d.ts +3 -5
- package/dist/components/stepper/StepperStepLabel.d.ts +3 -7
- package/dist/components/switch/Switch.d.ts +1 -3
- package/dist/components/table/Table.d.ts +8 -24
- package/dist/components/table/TableBody.d.ts +1 -3
- package/dist/components/table/TableCell.d.ts +1 -3
- package/dist/components/table/TableFooter.d.ts +1 -3
- package/dist/components/table/TableFooterCell.d.ts +1 -3
- package/dist/components/table/TableHeader.d.ts +1 -3
- package/dist/components/table/TableHeaderCell.d.ts +1 -3
- package/dist/components/table/TableRow.d.ts +1 -3
- package/dist/components/table/useStickyColumnsCss.d.ts +1 -1
- package/dist/components/table/useStickyColumnsCss.js.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +4 -12
- package/dist/components/tabs/TabsContent.d.ts +1 -3
- package/dist/components/tabs/TabsTrigger.d.ts +1 -3
- package/dist/components/tabs/TabsTriggerList.d.ts +1 -3
- package/dist/components/text/Text.d.ts +1 -3
- package/dist/components/textarea/Textarea.d.ts +2 -6
- package/dist/components/tile/Tile.d.ts +1 -3
- package/dist/components/tile-interactive/TileInteractive.d.ts +2 -6
- package/dist/components/tile-toggle-group/TileToggleGroupItem.d.ts +3 -9
- package/dist/components/toast/Toast.d.ts +2 -4
- package/dist/components/toast/ToastIcon.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupButton.d.ts +2 -6
- package/dist/components/toggle-group/ToggleGroupButton.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroupItem.d.ts +1 -3
- package/dist/components/toggle-group/ToggleGroupRoot.d.ts +6 -14
- package/dist/components/toggle-group/ToggleGroupRoot.js.map +1 -1
- package/dist/components/toggle-group/index.d.ts +5 -13
- package/dist/components/tooltip/Tooltip.d.ts +1 -3
- package/dist/components/tooltip/TooltipContent.d.ts +1 -3
- package/dist/components/top-bar/TopBar.d.ts +6 -18
- package/dist/components/top-bar/TopBarBrand.d.ts +3 -9
- package/dist/components/tree/Tree.d.ts +7 -21
- package/dist/components/tree/TreeCollapsible.d.ts +1 -3
- package/dist/components/tree/TreeItem.js.map +1 -1
- package/dist/components/tree/TreeItemContent.d.ts +1 -3
- package/dist/components/tree/TreeItemContent.js.map +1 -1
- package/dist/components/tree/TreeList.d.ts +1 -3
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/styled.js.map +1 -1
- package/dist/utilities/css-wrapper/CSSWrapper.d.ts +1 -1
- package/dist/utilities/css-wrapper/CSSWrapper.js.map +1 -1
- package/dist/utilities/hooks/useIsMountedRef.d.ts +1 -1
- package/package.json +4 -3
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TcolorScheme } from '../../../experiments/color-scheme/ColorScheme';
|
|
3
|
-
declare const StyledNav: React.ForwardRefExoticComponent<Omit<
|
|
4
|
-
ref?: ((instance: HTMLElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLElement> | null | undefined;
|
|
5
|
-
}, never> & {
|
|
3
|
+
declare const StyledNav: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never> & {
|
|
6
4
|
as?: React.ElementType;
|
|
7
5
|
}>;
|
|
8
6
|
type PaginationProps = React.ComponentProps<typeof StyledNav> & {
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
export declare const Dialog: import("react").FC<import("@radix-ui/react-dialog").DialogProps> & {
|
|
2
|
-
ActionBar: import("react").ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, never> & {
|
|
2
|
+
ActionBar: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
5
3
|
as?: import("react").ElementType;
|
|
6
4
|
}>;
|
|
7
|
-
Background: import("react").ForwardRefExoticComponent<Omit<
|
|
8
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
-
}, never> & {
|
|
5
|
+
Background: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
10
6
|
as?: import("react").ElementType;
|
|
11
7
|
}>;
|
|
12
8
|
Close: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
Content: ({ size, children, closeDialogText, showCloseButton, ...remainingProps }: Omit<
|
|
14
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
-
}, "size" | "layout"> & {
|
|
9
|
+
Content: ({ size, children, closeDialogText, showCloseButton, ...remainingProps }: Omit<import("@radix-ui/react-dialog").DialogContentProps & import("react").RefAttributes<HTMLDivElement>, "size" | "layout"> & {
|
|
16
10
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | "fullscreen" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl" | "fullscreen">>) | undefined;
|
|
17
11
|
layout?: ("panel" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "panel">>) | undefined;
|
|
18
12
|
} & {
|
|
@@ -22,19 +16,13 @@ export declare const Dialog: import("react").FC<import("@radix-ui/react-dialog")
|
|
|
22
16
|
showCloseButton?: boolean;
|
|
23
17
|
}) => import("react").JSX.Element;
|
|
24
18
|
Heading: ({ className, ...rest }: React.ComponentProps<typeof import("..").Heading>) => import("react").JSX.Element;
|
|
25
|
-
Footer: import("react").ForwardRefExoticComponent<Omit<
|
|
26
|
-
ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
27
|
-
}, never> & {
|
|
19
|
+
Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never> & {
|
|
28
20
|
as?: import("react").ElementType;
|
|
29
21
|
}>;
|
|
30
|
-
NavigationBar: import("react").ForwardRefExoticComponent<Omit<
|
|
31
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
32
|
-
}, never> & {
|
|
22
|
+
NavigationBar: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
33
23
|
as?: import("react").ElementType;
|
|
34
24
|
}>;
|
|
35
|
-
ScrollableContent: import("react").ForwardRefExoticComponent<Omit<
|
|
36
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
37
|
-
}, never> & {
|
|
25
|
+
ScrollableContent: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
38
26
|
as?: import("react").ElementType;
|
|
39
27
|
}>;
|
|
40
28
|
Description: import("react").ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DialogActionBar: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DialogActionBar: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DialogBackground: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DialogBackground: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const StyledDialogContent: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "size" | "layout"> & {
|
|
2
|
+
declare const StyledDialogContent: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-dialog").DialogContentProps & React.RefAttributes<HTMLDivElement>, "size" | "layout"> & {
|
|
5
3
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | "fullscreen" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl" | "fullscreen">>) | undefined;
|
|
6
4
|
layout?: ("panel" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "panel">>) | undefined;
|
|
7
5
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DialogContent.js","names":[],"sources":["../../../src/components/dialog/DialogContent.tsx"],"sourcesContent":["import { Close as CloseIcon } from '@atom-learning/icons'\nimport { Close, Content, Overlay, Portal } from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { styled } from '~/styled'\nimport { backdropOverlay } from '~/utilities/style/backdrop-overlay'\n\nimport { ActionIcon } from '../action-icon/ActionIcon'\nimport { Icon } from '../icon/Icon'\nimport { DialogBackground } from './DialogBackground'\n\nconst modalOverlayId = 'modal_overlay'\n\nconst StyledDialogOverlay = styled(Overlay, {\n base: backdropOverlay\n})\n\nconst StyledDialogContent = styled(\n Content,\n {\n base: [\n // `transform: translate()` is required for `floating-ui` to\n // correctly position elements within the Dialog component.\n // we can't use the translate property directly\n 'transform-[translate(-50%,-50%)]',\n 'bg-white',\n 'shadow-xl',\n 'box-border',\n 'left-1/2',\n 'h-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'overflow-y-auto',\n 'rounded-md',\n 'p-8',\n 'fixed',\n 'top-1/2',\n 'z-1147483646',\n 'focus:outline-none',\n 'motion-safe:data-[state=open]:animate-slide-in-center',\n 'motion-safe:data-[state=closed]:animate-slide-out-center'\n ],\n variants: {\n size: {\n xs: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-95'\n ],\n sm: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-120'\n ],\n md: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-150'\n ],\n lg: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-200'\n ],\n xl: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-275'\n ],\n fullscreen: [\n 'rounded-none',\n 'w-screen',\n 'h-screen',\n 'max-w-screen',\n 'max-h-screen',\n 'supports-svh:h-svh',\n 'supports-svh:max-h-svh'\n ]\n },\n layout: {\n panel: ['flex', 'flex-col', 'p-0']\n }\n }\n },\n { enabledResponsiveVariants: true }\n)\n\ntype DialogContentProps = React.ComponentProps<typeof StyledDialogContent> & {\n closeDialogText?: string\n showCloseButton?: boolean\n}\n\nexport const DialogContent = ({\n size = 'sm',\n children,\n closeDialogText = 'Close dialog',\n showCloseButton = true,\n ...remainingProps\n}: DialogContentProps) => (\n <Portal>\n <StyledDialogOverlay id={modalOverlayId}>\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type === DialogBackground && child\n )}\n <StyledDialogContent\n size={size}\n aria-label=\"Dialog\"\n onPointerDownOutside={(event) => {\n const element = event.target as HTMLElement\n if (element?.id !== modalOverlayId) {\n event.preventDefault()\n }\n }}\n {...remainingProps}\n >\n {showCloseButton && (\n <ActionIcon\n as={Close}\n label={closeDialogText}\n hasTooltip={false}\n size=\"md\"\n theme=\"neutral\"\n className=\"absolute top-4 right-4 size-12\"\n >\n <Icon is={CloseIcon} />\n </ActionIcon>\n )}\n {React.Children.map(\n children,\n (child?: React.ReactElement) =>\n child?.type !== DialogBackground && child\n )}\n </StyledDialogContent>\n </StyledDialogOverlay>\n </Portal>\n)\n"],"mappings":";;;;;;;;;;AAWA,IAAM,iBAAiB;AAEvB,IAAM,sBAAsB,OAAO,SAAS,EAC1C,MAAM,iBACP,CAAC;AAEF,IAAM,sBAAsB,OAC1B,SACA;CACE,MAAM;EAIJ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD;CACD,UAAU;EACR,MAAM;GACJ,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,YAAY;IACV;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACF;EACD,QAAQ,EACN,OAAO;GAAC;GAAQ;GAAY;GAAM,EACnC;EACF;CACF,EACD,EAAE,2BAA2B,MAAM,CACpC;AAOD,IAAa,iBAAiB,EAC5B,OAAO,MACP,UACA,kBAAkB,gBAClB,kBAAkB,MAClB,GAAG,qBAEH,oBAAC,QAAD,EAAA,UACE,qBAAC,qBAAD;CAAqB,IAAI;WAAzB,CACG,QAAM,SAAS,IACd,WACC,UACC,OAAO,SAAS,oBAAoB,MACvC,EACD,qBAAC,qBAAD;EACQ;EACN,cAAW;EACX,uBAAuB,UAAU;AAE/B,OADgB,MAAM,QACT,OAAO,eAClB,OAAM,gBAAgB;;EAG1B,GAAI;YATN,CAWG,mBACC,oBAAC,YAAD;GACE,IAAI;GACJ,OAAO;GACP,YAAY;GACZ,MAAK;GACL,OAAM;GACN,WAAU;aAEV,oBAAC,MAAD,EAAM,IAAI,OAAa,CAAA;GACZ,CAAA,EAEd,QAAM,SAAS,IACd,WACC,UACC,OAAO,SAAS,oBAAoB,MACvC,CACmB;IACF;IACf,CAAA"}
|
|
1
|
+
{"version":3,"file":"DialogContent.js","names":[],"sources":["../../../src/components/dialog/DialogContent.tsx"],"sourcesContent":["import { Close as CloseIcon } from '@atom-learning/icons'\nimport { Close, Content, Overlay, Portal } from '@radix-ui/react-dialog'\nimport * as React from 'react'\n\nimport { styled } from '~/styled'\nimport { backdropOverlay } from '~/utilities/style/backdrop-overlay'\n\nimport { ActionIcon } from '../action-icon/ActionIcon'\nimport { Icon } from '../icon/Icon'\nimport { DialogBackground } from './DialogBackground'\n\nconst modalOverlayId = 'modal_overlay'\n\nconst StyledDialogOverlay = styled(Overlay, {\n base: backdropOverlay\n})\n\nconst StyledDialogContent = styled(\n Content,\n {\n base: [\n // `transform: translate()` is required for `floating-ui` to\n // correctly position elements within the Dialog component.\n // we can't use the translate property directly\n 'transform-[translate(-50%,-50%)]',\n 'bg-white',\n 'shadow-xl',\n 'box-border',\n 'left-1/2',\n 'h-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'overflow-y-auto',\n 'rounded-md',\n 'p-8',\n 'fixed',\n 'top-1/2',\n 'z-1147483646',\n 'focus:outline-none',\n 'motion-safe:data-[state=open]:animate-slide-in-center',\n 'motion-safe:data-[state=closed]:animate-slide-out-center'\n ],\n variants: {\n size: {\n xs: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-95'\n ],\n sm: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-120'\n ],\n md: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-150'\n ],\n lg: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-200'\n ],\n xl: [\n 'rounded-md',\n 'size-auto',\n 'max-w-[90vw]',\n 'max-h-[90vh]',\n 'supports-svh:h-auto',\n 'supports-svh:max-h-[90vh]',\n 'w-275'\n ],\n fullscreen: [\n 'rounded-none',\n 'w-screen',\n 'h-screen',\n 'max-w-screen',\n 'max-h-screen',\n 'supports-svh:h-svh',\n 'supports-svh:max-h-svh'\n ]\n },\n layout: {\n panel: ['flex', 'flex-col', 'p-0']\n }\n }\n },\n { enabledResponsiveVariants: true }\n)\n\ntype DialogContentProps = React.ComponentProps<typeof StyledDialogContent> & {\n closeDialogText?: string\n showCloseButton?: boolean\n}\n\nexport const DialogContent = ({\n size = 'sm',\n children,\n closeDialogText = 'Close dialog',\n showCloseButton = true,\n ...remainingProps\n}: DialogContentProps) => (\n <Portal>\n <StyledDialogOverlay id={modalOverlayId}>\n {React.Children.map(\n children,\n (child?: React.ReactElement<unknown>) =>\n child?.type === DialogBackground && child\n )}\n <StyledDialogContent\n size={size}\n aria-label=\"Dialog\"\n onPointerDownOutside={(event) => {\n const element = event.target as HTMLElement\n if (element?.id !== modalOverlayId) {\n event.preventDefault()\n }\n }}\n {...remainingProps}\n >\n {showCloseButton && (\n <ActionIcon\n as={Close}\n label={closeDialogText}\n hasTooltip={false}\n size=\"md\"\n theme=\"neutral\"\n className=\"absolute top-4 right-4 size-12\"\n >\n <Icon is={CloseIcon} />\n </ActionIcon>\n )}\n {React.Children.map(\n children,\n (child?: React.ReactElement<unknown>) =>\n child?.type !== DialogBackground && child\n )}\n </StyledDialogContent>\n </StyledDialogOverlay>\n </Portal>\n)\n"],"mappings":";;;;;;;;;;AAWA,IAAM,iBAAiB;AAEvB,IAAM,sBAAsB,OAAO,SAAS,EAC1C,MAAM,iBACP,CAAC;AAEF,IAAM,sBAAsB,OAC1B,SACA;CACE,MAAM;EAIJ;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD;CACD,UAAU;EACR,MAAM;GACJ,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,IAAI;IACF;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACD,YAAY;IACV;IACA;IACA;IACA;IACA;IACA;IACA;IACD;GACF;EACD,QAAQ,EACN,OAAO;GAAC;GAAQ;GAAY;GAAM,EACnC;EACF;CACF,EACD,EAAE,2BAA2B,MAAM,CACpC;AAOD,IAAa,iBAAiB,EAC5B,OAAO,MACP,UACA,kBAAkB,gBAClB,kBAAkB,MAClB,GAAG,qBAEH,oBAAC,QAAD,EAAA,UACE,qBAAC,qBAAD;CAAqB,IAAI;WAAzB,CACG,QAAM,SAAS,IACd,WACC,UACC,OAAO,SAAS,oBAAoB,MACvC,EACD,qBAAC,qBAAD;EACQ;EACN,cAAW;EACX,uBAAuB,UAAU;AAE/B,OADgB,MAAM,QACT,OAAO,eAClB,OAAM,gBAAgB;;EAG1B,GAAI;YATN,CAWG,mBACC,oBAAC,YAAD;GACE,IAAI;GACJ,OAAO;GACP,YAAY;GACZ,MAAK;GACL,OAAM;GACN,WAAU;aAEV,oBAAC,MAAD,EAAM,IAAI,OAAa,CAAA;GACZ,CAAA,EAEd,QAAM,SAAS,IACd,WACC,UACC,OAAO,SAAS,oBAAoB,MACvC,CACmB;IACF;IACf,CAAA"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DialogFooter: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DialogFooter: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DialogNavigationBar: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DialogNavigationBar: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DialogScrollableContent: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DialogScrollableContent: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const StyledDivider: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLHRElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLHRElement> | null | undefined;
|
|
4
|
-
}, "orientation"> & {
|
|
2
|
+
export declare const StyledDivider: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "orientation"> & {
|
|
5
3
|
orientation?: ("horizontal" | "vertical" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "horizontal" | "vertical">>) | undefined;
|
|
6
4
|
} & {
|
|
7
5
|
as?: React.ElementType;
|
|
8
6
|
}>;
|
|
9
|
-
export declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<
|
|
10
|
-
ref?: ((instance: HTMLHRElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLHRElement> | null | undefined;
|
|
11
|
-
}, "orientation"> & {
|
|
7
|
+
export declare const Divider: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "orientation"> & {
|
|
12
8
|
orientation?: ("horizontal" | "vertical" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "horizontal" | "vertical">>) | undefined;
|
|
13
9
|
} & {
|
|
14
10
|
as?: React.ElementType;
|
|
@@ -6,19 +6,13 @@ export declare const Drawer: {
|
|
|
6
6
|
({ children, position, ...rest }: TDrawerProps): React.JSX.Element;
|
|
7
7
|
Close: (props: Omit<React.ComponentProps<typeof import("..").ActionIcon>, "children">) => React.JSX.Element;
|
|
8
8
|
Content: ({ children, ...rest }: React.ComponentProps<typeof import("./DrawerContent").StyledContent>) => React.JSX.Element;
|
|
9
|
-
Main: React.ForwardRefExoticComponent<Omit<
|
|
10
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
-
}, never> & {
|
|
9
|
+
Main: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
12
10
|
as?: React.ElementType;
|
|
13
11
|
}>;
|
|
14
|
-
Header: React.ForwardRefExoticComponent<Omit<
|
|
15
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
16
|
-
}, never> & {
|
|
12
|
+
Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
17
13
|
as?: React.ElementType;
|
|
18
14
|
}>;
|
|
19
|
-
Footer: React.ForwardRefExoticComponent<Omit<
|
|
20
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
21
|
-
}, never> & {
|
|
15
|
+
Footer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
22
16
|
as?: React.ElementType;
|
|
23
17
|
}>;
|
|
24
18
|
Trigger: React.ForwardRefExoticComponent<import("@radix-ui/react-dialog").DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const StyledContent: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "position" | "size"> & {
|
|
2
|
+
export declare const StyledContent: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-dialog").DialogContentProps & React.RefAttributes<HTMLDivElement>, "position" | "size"> & {
|
|
5
3
|
position?: "bottom" | "left" | "right" | "top" | undefined;
|
|
6
4
|
size?: "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | undefined;
|
|
7
5
|
} & {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DrawerFooter: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DrawerFooter: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DrawerHeader: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DrawerHeader: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DrawerMain: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DrawerMain: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DrawerOverlay: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DrawerOverlay: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dialog").DialogOverlayProps & import("react").RefAttributes<HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DropdownMenuItem } from './DropdownMenuItem';
|
|
3
3
|
export declare const DropdownMenu: React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuProps> & {
|
|
4
|
-
Content: React.ForwardRefExoticComponent<Omit<
|
|
5
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6
|
-
}, never> & {
|
|
4
|
+
Content: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, never> & {
|
|
7
5
|
as?: React.ElementType;
|
|
8
6
|
}>;
|
|
9
7
|
Group: React.ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
Item: React.ForwardRefExoticComponent<Omit<
|
|
11
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
-
}, never> & {
|
|
8
|
+
Item: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, never> & {
|
|
13
9
|
as?: React.ElementType;
|
|
14
10
|
}>;
|
|
15
11
|
Label: {
|
|
@@ -20,14 +16,10 @@ export declare const DropdownMenu: React.FC<import("@radix-ui/react-dropdown-men
|
|
|
20
16
|
href: string;
|
|
21
17
|
}) => React.JSX.Element;
|
|
22
18
|
Portal: React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuPortalProps>;
|
|
23
|
-
Separator: React.ForwardRefExoticComponent<Omit<
|
|
24
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
25
|
-
}, never> & {
|
|
19
|
+
Separator: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, never> & {
|
|
26
20
|
as?: React.ElementType;
|
|
27
21
|
}>;
|
|
28
|
-
Trigger: React.ForwardRefExoticComponent<Omit<
|
|
29
|
-
ref?: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
30
|
-
}, never> & {
|
|
22
|
+
Trigger: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, never> & {
|
|
31
23
|
as?: React.ElementType;
|
|
32
24
|
}>;
|
|
33
25
|
};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DropdownMenuContent: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DropdownMenuItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DropdownMenuSeparator: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DropdownMenuSeparator: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuSeparatorProps & import("react").RefAttributes<HTMLDivElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export declare const DropdownMenuTrigger: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
3
|
-
}, never> & {
|
|
1
|
+
export declare const DropdownMenuTrigger: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, never> & {
|
|
4
2
|
as?: import("react").ElementType;
|
|
5
3
|
}>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const EmptyStateContainer: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "size"> & {
|
|
2
|
+
declare const EmptyStateContainer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "size"> & {
|
|
5
3
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl">>) | undefined;
|
|
6
4
|
} & {
|
|
7
5
|
as?: React.ElementType;
|
|
@@ -11,33 +9,25 @@ export declare const EmptyState: {
|
|
|
11
9
|
({ size, ...rest }: EmptyStateProps): React.JSX.Element;
|
|
12
10
|
displayName: string;
|
|
13
11
|
} & {
|
|
14
|
-
Image: (props: Omit<Omit<Omit<Omit<
|
|
15
|
-
ref?: ((instance: HTMLImageElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLImageElement> | null | undefined;
|
|
16
|
-
}, "fluid"> & {
|
|
12
|
+
Image: (props: Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "fluid"> & {
|
|
17
13
|
fluid?: boolean | undefined;
|
|
18
14
|
} & {
|
|
19
15
|
as?: React.ElementType;
|
|
20
16
|
}, "as"> & {
|
|
21
17
|
as?: never;
|
|
22
|
-
}, "ref"> & React.RefAttributes<HTMLImageElement>, "
|
|
23
|
-
ref?: ((instance: HTMLImageElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLImageElement> | null | undefined;
|
|
24
|
-
}, "size"> & {
|
|
18
|
+
}, "ref"> & React.RefAttributes<HTMLImageElement>, "size"> & {
|
|
25
19
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl">>) | undefined;
|
|
26
20
|
} & {
|
|
27
21
|
as?: React.ElementType;
|
|
28
22
|
}) => React.JSX.Element;
|
|
29
|
-
Title: (props: Omit<
|
|
30
|
-
ref?: ((instance: HTMLHeadingElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLHeadingElement> | null | undefined;
|
|
31
|
-
}, "size"> & {
|
|
23
|
+
Title: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "size"> & {
|
|
32
24
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl">>) | undefined;
|
|
33
25
|
} & {
|
|
34
26
|
as?: React.ElementType;
|
|
35
27
|
} & {
|
|
36
28
|
as?: React.ComponentType | React.ElementType;
|
|
37
29
|
}) => React.JSX.Element;
|
|
38
|
-
Body: (props: Omit<Omit<Omit<Omit<
|
|
39
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
40
|
-
}, "size" | "noCapsize" | "weight" | "family"> & {
|
|
30
|
+
Body: (props: Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "size" | "noCapsize" | "weight" | "family"> & {
|
|
41
31
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl">>) | undefined;
|
|
42
32
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", boolean>>) | undefined;
|
|
43
33
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "bold" | "normal">>) | undefined;
|
|
@@ -46,9 +36,7 @@ export declare const EmptyState: {
|
|
|
46
36
|
as?: React.ElementType;
|
|
47
37
|
}, "as"> & {
|
|
48
38
|
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" | React.ComponentType | React.ElementType;
|
|
49
|
-
}, "ref"> & React.RefAttributes<HTMLParagraphElement>, "
|
|
50
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
51
|
-
}, "size"> & {
|
|
39
|
+
}, "ref"> & React.RefAttributes<HTMLParagraphElement>, "size"> & {
|
|
52
40
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl">>) | undefined;
|
|
53
41
|
} & {
|
|
54
42
|
as?: React.ElementType;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const StyledEmptyStateBody: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
3
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
4
|
-
}, "size" | "noCapsize" | "weight" | "family"> & {
|
|
2
|
+
declare const StyledEmptyStateBody: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "size" | "noCapsize" | "weight" | "family"> & {
|
|
5
3
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl">>) | undefined;
|
|
6
4
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", boolean>>) | undefined;
|
|
7
5
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "bold" | "normal">>) | undefined;
|
|
@@ -10,9 +8,7 @@ declare const StyledEmptyStateBody: React.ForwardRefExoticComponent<Omit<Omit<Om
|
|
|
10
8
|
as?: React.ElementType;
|
|
11
9
|
}, "as"> & {
|
|
12
10
|
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" | React.ComponentType | React.ElementType;
|
|
13
|
-
}, "ref"> & React.RefAttributes<HTMLParagraphElement>, "
|
|
14
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
15
|
-
}, "size"> & {
|
|
11
|
+
}, "ref"> & React.RefAttributes<HTMLParagraphElement>, "size"> & {
|
|
16
12
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl">>) | undefined;
|
|
17
13
|
} & {
|
|
18
14
|
as?: React.ElementType;
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const StyledEmptyStateImage: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
3
|
-
ref?: ((instance: HTMLImageElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLImageElement> | null | undefined;
|
|
4
|
-
}, "fluid"> & {
|
|
2
|
+
declare const StyledEmptyStateImage: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "fluid"> & {
|
|
5
3
|
fluid?: boolean | undefined;
|
|
6
4
|
} & {
|
|
7
5
|
as?: React.ElementType;
|
|
8
6
|
}, "as"> & {
|
|
9
7
|
as?: never;
|
|
10
|
-
}, "ref"> & React.RefAttributes<HTMLImageElement>, "
|
|
11
|
-
ref?: ((instance: HTMLImageElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLImageElement> | null | undefined;
|
|
12
|
-
}, "size"> & {
|
|
8
|
+
}, "ref"> & React.RefAttributes<HTMLImageElement>, "size"> & {
|
|
13
9
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl">>) | undefined;
|
|
14
10
|
} & {
|
|
15
11
|
as?: React.ElementType;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const StyledEmptyStateTitle: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLHeadingElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLHeadingElement> | null | undefined;
|
|
4
|
-
}, "size"> & {
|
|
2
|
+
declare const StyledEmptyStateTitle: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "size"> & {
|
|
5
3
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl">>) | undefined;
|
|
6
4
|
} & {
|
|
7
5
|
as?: React.ElementType;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export declare const Flex: import("react").ForwardRefExoticComponent<Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, "gap" | "wrap" | "direction" | "align" | "justify"> & {
|
|
1
|
+
export declare const Flex: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "gap" | "wrap" | "direction" | "align" | "justify"> & {
|
|
4
2
|
direction?: ("inherit" | "row" | "initial" | "revert" | "revert-layer" | "unset" | "column" | "column-reverse" | "row-reverse" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "inherit" | "row" | "initial" | "revert" | "revert-layer" | "unset" | "column" | "column-reverse" | "row-reverse">>) | undefined;
|
|
5
3
|
wrap?: ("wrap" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "nowrap" | "wrap-reverse" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "wrap" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "nowrap" | "wrap-reverse">>) | undefined;
|
|
6
4
|
justify?: ("end" | "left" | "right" | "start" | "center" | "inherit" | "initial" | "normal" | "revert" | "revert-layer" | "unset" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "unsafe" | "safe" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "end" | "left" | "right" | "start" | "center" | "inherit" | "initial" | "normal" | "revert" | "revert-layer" | "unset" | "space-around" | "space-between" | "space-evenly" | "stretch" | "flex-end" | "flex-start" | "unsafe" | "safe">>) | undefined;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const GridContainer: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "gap"> & {
|
|
2
|
+
declare const GridContainer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "gap"> & {
|
|
5
3
|
gap?: (0 | 1 | "0" | "1" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | 24 | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", 0 | 1 | "0" | "1" | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | 24>>) | undefined;
|
|
6
4
|
} & {
|
|
7
5
|
as?: React.ElementType;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Override } from '../../utilities/types';
|
|
3
|
-
export declare const StyledHeading: React.ForwardRefExoticComponent<Omit<
|
|
4
|
-
ref?: ((instance: HTMLHeadingElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLHeadingElement> | null | undefined;
|
|
5
|
-
}, "size" | "noCapsize" | "weight"> & {
|
|
3
|
+
export declare const StyledHeading: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "size" | "noCapsize" | "weight"> & {
|
|
6
4
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | "xxl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl" | "xxl">>) | undefined;
|
|
7
5
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", boolean>>) | undefined;
|
|
8
6
|
weight?: ("bold" | "medium" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "bold" | "medium">>) | undefined;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Override } from '../../utilities/types';
|
|
3
|
-
export declare const StyledIcon: React.ForwardRefExoticComponent<Omit<
|
|
4
|
-
ref?: ((instance: SVGSVGElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<SVGSVGElement> | null | undefined;
|
|
5
|
-
}, "size"> & {
|
|
3
|
+
export declare const StyledIcon: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "size"> & {
|
|
6
4
|
size?: ("sm" | "md" | "lg" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg">>) | undefined;
|
|
7
5
|
} & {
|
|
8
6
|
as?: React.ElementType;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Override } from '../../utilities/types';
|
|
3
|
-
export declare const StyledImage: React.ForwardRefExoticComponent<Omit<
|
|
4
|
-
ref?: ((instance: HTMLImageElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLImageElement> | null | undefined;
|
|
5
|
-
}, "fluid"> & {
|
|
3
|
+
export declare const StyledImage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "fluid"> & {
|
|
6
4
|
fluid?: boolean | undefined;
|
|
7
5
|
} & {
|
|
8
6
|
as?: React.ElementType;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const InlineMessageContainer: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "theme"> & {
|
|
2
|
+
declare const InlineMessageContainer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "theme"> & {
|
|
5
3
|
theme?: "neutral" | "success" | "warning" | "info" | "error" | undefined;
|
|
6
4
|
} & {
|
|
7
5
|
as?: React.ElementType;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const InputBackground: React.ForwardRefExoticComponent<Omit<
|
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "appearance" | "size" | "theme" | "disabled" | "state"> & {
|
|
2
|
+
export declare const InputBackground: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "appearance" | "size" | "theme" | "disabled" | "state"> & {
|
|
5
3
|
appearance?: "standard" | "modern" | undefined;
|
|
6
4
|
size?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
7
5
|
disabled?: boolean | undefined;
|
|
@@ -10,9 +8,7 @@ export declare const InputBackground: React.ForwardRefExoticComponent<Omit<Omit<
|
|
|
10
8
|
} & {
|
|
11
9
|
as?: React.ElementType;
|
|
12
10
|
}>;
|
|
13
|
-
declare const StyledInputText: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
14
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
15
|
-
}, "size" | "noCapsize" | "weight" | "family"> & {
|
|
11
|
+
declare const StyledInputText: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "size" | "noCapsize" | "weight" | "family"> & {
|
|
16
12
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl">>) | undefined;
|
|
17
13
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", boolean>>) | undefined;
|
|
18
14
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "bold" | "normal">>) | undefined;
|
|
@@ -21,9 +17,7 @@ declare const StyledInputText: React.ForwardRefExoticComponent<Omit<Omit<Omit<Om
|
|
|
21
17
|
as?: React.ElementType;
|
|
22
18
|
}, "as"> & {
|
|
23
19
|
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" | React.ComponentType | React.ElementType;
|
|
24
|
-
}, "ref"> & React.RefAttributes<HTMLParagraphElement>,
|
|
25
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
26
|
-
}, never> & {
|
|
20
|
+
}, "ref"> & React.RefAttributes<HTMLParagraphElement>, never> & {
|
|
27
21
|
as?: React.ElementType;
|
|
28
22
|
}>;
|
|
29
23
|
export type InputTextProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & Omit<React.ComponentProps<typeof StyledInputText>, 'type' | 'as'> & {
|
|
@@ -13,9 +13,7 @@ export declare const KeyboardShortcut: React.ForwardRefExoticComponent<React.HTM
|
|
|
13
13
|
targetWindow?: boolean;
|
|
14
14
|
onKeyDown?: (e: KeyboardEventWindowOrElement) => void;
|
|
15
15
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const StyledKeyboardShortcutIndicator: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<
|
|
17
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
18
|
-
}, "size" | "noCapsize" | "weight" | "family"> & {
|
|
16
|
+
declare const StyledKeyboardShortcutIndicator: React.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "size" | "noCapsize" | "weight" | "family"> & {
|
|
19
17
|
size?: ("sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "sm" | "md" | "lg" | "xs" | "xl" | "2xl" | "3xl" | "4xl">>) | undefined;
|
|
20
18
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", boolean>>) | undefined;
|
|
21
19
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@sm" | "@md" | "@lg" | "@xl", "bold" | "normal">>) | undefined;
|
|
@@ -24,9 +22,7 @@ declare const StyledKeyboardShortcutIndicator: React.ForwardRefExoticComponent<O
|
|
|
24
22
|
as?: React.ElementType;
|
|
25
23
|
}, "as"> & {
|
|
26
24
|
as?: "blockquote" | "caption" | "dd" | "dt" | "figcaption" | "li" | "p" | "span" | "legend" | React.ComponentType | React.ElementType;
|
|
27
|
-
}, "ref"> & React.RefAttributes<HTMLParagraphElement>,
|
|
28
|
-
ref?: ((instance: HTMLParagraphElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLParagraphElement> | null | undefined;
|
|
29
|
-
}, never> & {
|
|
25
|
+
}, "ref"> & React.RefAttributes<HTMLParagraphElement>, never> & {
|
|
30
26
|
as?: React.ElementType;
|
|
31
27
|
}>;
|
|
32
28
|
type KeyboardShortcutIndicatorProps = React.ComponentProps<typeof StyledKeyboardShortcutIndicator>;
|