@ckbox/components 1.1.1-dev.0 → 1.2.0-dev.0
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/README.md +3 -3
- package/dist/bottombar/Bottombar.d.ts +17 -0
- package/dist/bottombar/index.d.ts +1 -0
- package/dist/button/Button.d.ts +83 -0
- package/dist/button/index.d.ts +2 -0
- package/dist/button/types.d.ts +3 -0
- package/dist/checkbox/Checkbox.d.ts +33 -0
- package/dist/checkbox/index.d.ts +1 -0
- package/dist/circularLoader/CircularLoader.d.ts +21 -0
- package/dist/circularLoader/index.d.ts +1 -0
- package/dist/containerQuery/ContainerQuery.d.ts +18 -0
- package/dist/containerQuery/breakpoints/Breakpoints.d.ts +36 -0
- package/dist/containerQuery/breakpoints/index.d.ts +1 -0
- package/dist/containerQuery/context/ContainerQueryContext.d.ts +18 -0
- package/dist/containerQuery/context/index.d.ts +1 -0
- package/dist/containerQuery/index.d.ts +3 -0
- package/dist/containerQuery/provider/ContainerQueryProvider.d.ts +18 -0
- package/dist/containerQuery/provider/index.d.ts +1 -0
- package/dist/copyButton/CopyButton.d.ts +17 -0
- package/dist/copyButton/index.d.ts +1 -0
- package/dist/copyableInput/CopyableInput.d.ts +25 -0
- package/dist/copyableInput/index.d.ts +1 -0
- package/dist/dialog/Dialog.d.ts +9 -0
- package/dist/dialog/actions/DialogActions.d.ts +9 -0
- package/dist/dialog/actions/index.d.ts +1 -0
- package/dist/dialog/animated/DialogAnimated.d.ts +30 -0
- package/dist/dialog/animated/index.d.ts +1 -0
- package/dist/dialog/column/DialogColumn.d.ts +13 -0
- package/dist/dialog/column/index.d.ts +1 -0
- package/dist/dialog/context/DialogContext.d.ts +18 -0
- package/dist/dialog/context/index.d.ts +1 -0
- package/dist/dialog/draggable/DialogDraggable.d.ts +23 -0
- package/dist/dialog/draggable/index.d.ts +1 -0
- package/dist/dialog/footer/DialogFooter.d.ts +18 -0
- package/dist/dialog/footer/index.d.ts +1 -0
- package/dist/dialog/header/DialogHeader.d.ts +49 -0
- package/dist/dialog/header/index.d.ts +1 -0
- package/dist/dialog/index.d.ts +7 -0
- package/dist/dialog/root/DialogRoot.d.ts +9 -0
- package/dist/dialog/root/index.d.ts +1 -0
- package/dist/dialog/row/DialogRow.d.ts +9 -0
- package/dist/dialog/row/index.d.ts +1 -0
- package/dist/dialog/section/DialogSection.d.ts +45 -0
- package/dist/dialog/section/index.d.ts +1 -0
- package/dist/docIcon/DocIcon.d.ts +11 -0
- package/dist/docIcon/icons/Archive.d.ts +4 -0
- package/dist/docIcon/icons/Empty.d.ts +4 -0
- package/dist/docIcon/icons/Excel.d.ts +4 -0
- package/dist/docIcon/icons/Img.d.ts +4 -0
- package/dist/docIcon/icons/Movie.d.ts +4 -0
- package/dist/docIcon/icons/Music.d.ts +4 -0
- package/dist/docIcon/icons/Pdf.d.ts +4 -0
- package/dist/docIcon/icons/Ppt.d.ts +4 -0
- package/dist/docIcon/icons/Txt.d.ts +4 -0
- package/dist/docIcon/icons/Word.d.ts +4 -0
- package/dist/docIcon/icons/index.d.ts +10 -0
- package/dist/docIcon/index.d.ts +2 -0
- package/dist/drawer/Drawer.d.ts +25 -0
- package/dist/drawer/actions/DrawerActions.d.ts +9 -0
- package/dist/drawer/actions/index.d.ts +1 -0
- package/dist/drawer/content/DrawerContent.d.ts +9 -0
- package/dist/drawer/content/index.d.ts +1 -0
- package/dist/drawer/context/DrawerContext.d.ts +9 -0
- package/dist/drawer/context/index.d.ts +1 -0
- package/dist/drawer/header/DrawerHeader.d.ts +13 -0
- package/dist/drawer/header/index.d.ts +1 -0
- package/dist/drawer/index.d.ts +5 -0
- package/dist/drawer/section/DrawerSection.d.ts +17 -0
- package/dist/drawer/section/index.d.ts +1 -0
- package/dist/emptyView/EmptyView.d.ts +22 -0
- package/dist/emptyView/index.d.ts +2 -0
- package/dist/emptyView/label/EmptyViewLabel.d.ts +13 -0
- package/dist/emptyView/label/index.d.ts +1 -0
- package/dist/fileInputButton/FileInputButton.d.ts +30 -0
- package/dist/fileInputButton/index.d.ts +1 -0
- package/dist/filePreview/FilePreview.d.ts +29 -0
- package/dist/filePreview/actions/FilePreviewActions.d.ts +21 -0
- package/dist/filePreview/actions/index.d.ts +1 -0
- package/dist/filePreview/content/FilePreviewContent.d.ts +9 -0
- package/dist/filePreview/content/index.d.ts +1 -0
- package/dist/filePreview/context/FilePreviewContext.d.ts +9 -0
- package/dist/filePreview/context/index.d.ts +1 -0
- package/dist/filePreview/hoverable/FilePreviewHoverable.d.ts +9 -0
- package/dist/filePreview/hoverable/index.d.ts +1 -0
- package/dist/filePreview/index.d.ts +6 -0
- package/dist/filePreview/navButton/FilePreviewNavButton.d.ts +22 -0
- package/dist/filePreview/navButton/index.d.ts +1 -0
- package/dist/filePreview/tooltip/FilePreviewTooltip.d.ts +9 -0
- package/dist/filePreview/tooltip/index.d.ts +1 -0
- package/dist/fixed/Fixed.d.ts +9 -0
- package/dist/fixed/context/FixedContext.d.ts +9 -0
- package/dist/fixed/context/index.d.ts +1 -0
- package/dist/fixed/index.d.ts +3 -0
- package/dist/fixed/provider/FixedProvider.d.ts +14 -0
- package/dist/fixed/provider/index.d.ts +1 -0
- package/dist/form/Form.d.ts +21 -0
- package/dist/form/feedback/FormFeedback.d.ts +17 -0
- package/dist/form/feedback/index.d.ts +1 -0
- package/dist/form/group/FormGroup.d.ts +13 -0
- package/dist/form/group/index.d.ts +1 -0
- package/dist/form/groupColumn/FormGroupColumn.d.ts +9 -0
- package/dist/form/groupColumn/index.d.ts +1 -0
- package/dist/form/groupInfo/FormGroupInfo.d.ts +9 -0
- package/dist/form/groupInfo/index.d.ts +1 -0
- package/dist/form/index.d.ts +6 -0
- package/dist/form/inputLabel/FormInputLabel.d.ts +17 -0
- package/dist/form/inputLabel/index.d.ts +1 -0
- package/dist/gallery/Gallery.d.ts +17 -0
- package/dist/gallery/figure/GalleryFigure.d.ts +13 -0
- package/dist/gallery/figure/index.d.ts +1 -0
- package/dist/gallery/index.d.ts +3 -0
- package/dist/gallery/item/GalleryItem.d.ts +37 -0
- package/dist/gallery/item/index.d.ts +1 -0
- package/dist/gallery/skeleton/GallerySkeleton.d.ts +3 -0
- package/dist/gallery/skeleton/index.d.ts +1 -0
- package/dist/icon/Icon.d.ts +29 -0
- package/dist/icon/icons/ArrowLeft.d.ts +4 -0
- package/dist/icon/icons/ArrowLeftEnd.d.ts +4 -0
- package/dist/icon/icons/ArrowRight.d.ts +4 -0
- package/dist/icon/icons/ArrowRightEnd.d.ts +4 -0
- package/dist/icon/icons/Cabinet.d.ts +4 -0
- package/dist/icon/icons/Check.d.ts +4 -0
- package/dist/icon/icons/ChevronDown.d.ts +4 -0
- package/dist/icon/icons/ChevronLeft.d.ts +4 -0
- package/dist/icon/icons/ChevronRight.d.ts +4 -0
- package/dist/icon/icons/Clock.d.ts +4 -0
- package/dist/icon/icons/Close.d.ts +4 -0
- package/dist/icon/icons/Cog.d.ts +4 -0
- package/dist/icon/icons/Copy.d.ts +4 -0
- package/dist/icon/icons/Docs.d.ts +4 -0
- package/dist/icon/icons/DotsVertical.d.ts +4 -0
- package/dist/icon/icons/Download.d.ts +4 -0
- package/dist/icon/icons/DragHandle.d.ts +4 -0
- package/dist/icon/icons/Filter.d.ts +4 -0
- package/dist/icon/icons/Folder.d.ts +4 -0
- package/dist/icon/icons/Image.d.ts +4 -0
- package/dist/icon/icons/Info.d.ts +4 -0
- package/dist/icon/icons/InfoSquare.d.ts +4 -0
- package/dist/icon/icons/Pencil.d.ts +4 -0
- package/dist/icon/icons/Plus.d.ts +4 -0
- package/dist/icon/icons/Search.d.ts +4 -0
- package/dist/icon/icons/SearchMissingResults.d.ts +4 -0
- package/dist/icon/icons/Settings.d.ts +4 -0
- package/dist/icon/icons/Sort.d.ts +4 -0
- package/dist/icon/icons/Spinner.d.ts +4 -0
- package/dist/icon/icons/Trash.d.ts +4 -0
- package/dist/icon/icons/Upload.d.ts +4 -0
- package/dist/icon/icons/Warning.d.ts +4 -0
- package/dist/icon/icons/WarningFill.d.ts +4 -0
- package/dist/icon/icons/XCircle.d.ts +4 -0
- package/dist/icon/icons/index.d.ts +34 -0
- package/dist/icon/index.d.ts +2 -0
- package/dist/icon/raw/RawIcon.d.ts +13 -0
- package/dist/icon/raw/index.d.ts +1 -0
- package/dist/icon/types.d.ts +9 -0
- package/dist/index.d.ts +1380 -437
- package/dist/index.js +1 -1
- package/dist/input/Input.d.ts +88 -0
- package/dist/input/index.d.ts +1 -0
- package/dist/list/List.d.ts +13 -0
- package/dist/list/index.d.ts +2 -0
- package/dist/list/item/ListItem.d.ts +25 -0
- package/dist/list/item/index.d.ts +1 -0
- package/dist/loadingButton/LoadingButton.d.ts +18 -0
- package/dist/loadingButton/index.d.ts +1 -0
- package/dist/menu/Menu.d.ts +38 -0
- package/dist/menu/context/MenuContext.d.ts +12 -0
- package/dist/menu/context/index.d.ts +1 -0
- package/dist/menu/index.d.ts +4 -0
- package/dist/menu/item/MenuItem.d.ts +26 -0
- package/dist/menu/item/index.d.ts +1 -0
- package/dist/menu/section/MenuSection.d.ts +17 -0
- package/dist/menu/section/index.d.ts +1 -0
- package/dist/menu/subSection/MenuSubSection.d.ts +29 -0
- package/dist/menu/subSection/index.d.ts +1 -0
- package/dist/navbar/Navbar.d.ts +13 -0
- package/dist/navbar/button/NavbarButton.d.ts +18 -0
- package/dist/navbar/button/index.d.ts +1 -0
- package/dist/navbar/creditLink/NavbarCreditLink.d.ts +21 -0
- package/dist/navbar/creditLink/index.d.ts +1 -0
- package/dist/navbar/index.d.ts +5 -0
- package/dist/navbar/item/NavbarItem.d.ts +49 -0
- package/dist/navbar/item/index.d.ts +1 -0
- package/dist/navbar/itemFixed/NavbarItemFixed.d.ts +9 -0
- package/dist/navbar/itemFixed/index.d.ts +1 -0
- package/dist/notifications/Notifications.d.ts +17 -0
- package/dist/notifications/details/NotificationDetails.d.ts +29 -0
- package/dist/notifications/details/index.d.ts +1 -0
- package/dist/notifications/index.d.ts +3 -0
- package/dist/notifications/notification/Notification.d.ts +37 -0
- package/dist/notifications/notification/index.d.ts +1 -0
- package/dist/overlay/Overlay.d.ts +21 -0
- package/dist/overlay/index.d.ts +1 -0
- package/dist/pagination/Pagination.d.ts +29 -0
- package/dist/pagination/button/PaginationButton.d.ts +18 -0
- package/dist/pagination/button/index.d.ts +1 -0
- package/dist/pagination/index.d.ts +1 -0
- package/dist/panel/Panel.d.ts +18 -0
- package/dist/panel/actions/PanelActions.d.ts +9 -0
- package/dist/panel/actions/index.d.ts +1 -0
- package/dist/panel/column/PanelColumn.d.ts +9 -0
- package/dist/panel/column/index.d.ts +1 -0
- package/dist/panel/content/PanelContent.d.ts +25 -0
- package/dist/panel/content/index.d.ts +2 -0
- package/dist/panel/contentProp/PanelContentProp.d.ts +13 -0
- package/dist/panel/contentProp/index.d.ts +1 -0
- package/dist/panel/context/PanelContext.d.ts +12 -0
- package/dist/panel/context/index.d.ts +1 -0
- package/dist/panel/dragHandle/PanelDragHandle.d.ts +3 -0
- package/dist/panel/dragHandle/index.d.ts +1 -0
- package/dist/panel/index.d.ts +11 -0
- package/dist/panel/list/PanelList.d.ts +17 -0
- package/dist/panel/list/index.d.ts +1 -0
- package/dist/panel/listDivider/PanelListDivider.d.ts +9 -0
- package/dist/panel/listDivider/index.d.ts +1 -0
- package/dist/panel/side/PanelSide.d.ts +17 -0
- package/dist/panel/side/index.d.ts +1 -0
- package/dist/panel/skeleton/PanelSkeleton.d.ts +13 -0
- package/dist/panel/skeleton/index.d.ts +1 -0
- package/dist/panel/title/PanelTitle.d.ts +18 -0
- package/dist/panel/title/index.d.ts +1 -0
- package/dist/popper/Popper.d.ts +38 -0
- package/dist/popper/arrow/PopperArrow.d.ts +9 -0
- package/dist/popper/arrow/index.d.ts +1 -0
- package/dist/popper/context/PopperContext.d.ts +12 -0
- package/dist/popper/context/index.d.ts +1 -0
- package/dist/popper/index.d.ts +4 -0
- package/dist/popper/types.d.ts +5 -0
- package/dist/popper/usePopper/index.d.ts +1 -0
- package/dist/popper/usePopper/usePopper.d.ts +36 -0
- package/dist/progressPanel/ProgressPanel.d.ts +37 -0
- package/dist/progressPanel/index.d.ts +1 -0
- package/dist/propertiesTable/PropertiesTable.d.ts +9 -0
- package/dist/propertiesTable/index.d.ts +2 -0
- package/dist/propertiesTable/row/PropertiesTableRow.d.ts +13 -0
- package/dist/propertiesTable/row/index.d.ts +1 -0
- package/dist/rangeSlider/RangeSlider.d.ts +43 -0
- package/dist/rangeSlider/index.d.ts +1 -0
- package/dist/rangeSlider/utils/index.d.ts +1 -0
- package/dist/rangeSlider/utils/utils.d.ts +32 -0
- package/dist/responsiveImage/ResponsiveImage.d.ts +84 -0
- package/dist/responsiveImage/fallback/ResponsiveImageFallback.d.ts +21 -0
- package/dist/responsiveImage/fallback/index.d.ts +1 -0
- package/dist/responsiveImage/index.d.ts +1 -0
- package/dist/searchDialog/SearchDialog.d.ts +21 -0
- package/dist/searchDialog/actions/SearchDialogActions.d.ts +9 -0
- package/dist/searchDialog/actions/index.d.ts +1 -0
- package/dist/searchDialog/content/SearchDialogContent.d.ts +9 -0
- package/dist/searchDialog/content/index.d.ts +1 -0
- package/dist/searchDialog/context/SearchDialogContext.d.ts +9 -0
- package/dist/searchDialog/context/index.d.ts +1 -0
- package/dist/searchDialog/fallback/SearchDialogFallback.d.ts +9 -0
- package/dist/searchDialog/fallback/index.d.ts +1 -0
- package/dist/searchDialog/header/SearchDialogHeader.d.ts +25 -0
- package/dist/searchDialog/header/index.d.ts +1 -0
- package/dist/searchDialog/index.d.ts +7 -0
- package/dist/searchDialog/input/SearchDialogInput.d.ts +29 -0
- package/dist/searchDialog/input/index.d.ts +1 -0
- package/dist/searchDialog/section/SearchDialogSection.d.ts +13 -0
- package/dist/searchDialog/section/index.d.ts +1 -0
- package/dist/searchResultsBar/SearchResultsBar.d.ts +9 -0
- package/dist/searchResultsBar/filters/SearchResultsBarFilters.d.ts +9 -0
- package/dist/searchResultsBar/filters/index.d.ts +1 -0
- package/dist/searchResultsBar/index.d.ts +3 -0
- package/dist/searchResultsBar/phrase/SearchResultsBarPhrase.d.ts +17 -0
- package/dist/searchResultsBar/phrase/index.d.ts +1 -0
- package/dist/select/Select.d.ts +46 -0
- package/dist/select/index.d.ts +2 -0
- package/dist/select/input/SelectInput.d.ts +45 -0
- package/dist/select/input/index.d.ts +2 -0
- package/dist/select/listbox/SelectListbox.d.ts +25 -0
- package/dist/select/listbox/index.d.ts +1 -0
- package/dist/select/listboxItem/SelectListboxItem.d.ts +42 -0
- package/dist/select/listboxItem/index.d.ts +1 -0
- package/dist/select/listboxList/SelectListboxList.d.ts +21 -0
- package/dist/select/listboxList/index.d.ts +1 -0
- package/dist/select/multiList/SelectMultiList.d.ts +23 -0
- package/dist/select/multiList/index.d.ts +1 -0
- package/dist/select/multiListItem/SelectMultiListItem.d.ts +18 -0
- package/dist/select/multiListItem/index.d.ts +1 -0
- package/dist/select/single/SelectSingle.d.ts +19 -0
- package/dist/select/single/index.d.ts +1 -0
- package/dist/select/types.d.ts +40 -0
- package/dist/select/useKeyboardNav/index.d.ts +1 -0
- package/dist/select/useKeyboardNav/useKeyboardNav.d.ts +9 -0
- package/dist/select/utils/index.d.ts +1 -0
- package/dist/select/utils/utils.d.ts +26 -0
- package/dist/selectionArea/SelectionArea.d.ts +18 -0
- package/dist/selectionArea/index.d.ts +2 -0
- package/dist/skeleton/Skeleton.d.ts +17 -0
- package/dist/skeleton/index.d.ts +1 -0
- package/dist/sortButton/SortButton.d.ts +21 -0
- package/dist/sortButton/index.d.ts +1 -0
- package/dist/sortableDndList/SortableDndList.d.ts +14 -0
- package/dist/sortableDndList/context/SortableDndListContext.d.ts +25 -0
- package/dist/sortableDndList/context/index.d.ts +1 -0
- package/dist/sortableDndList/dragLayer/SortableDndListDragLayer.d.ts +9 -0
- package/dist/sortableDndList/dragLayer/index.d.ts +1 -0
- package/dist/sortableDndList/index.d.ts +4 -0
- package/dist/sortableDndList/item/SortableDndListItem.d.ts +25 -0
- package/dist/sortableDndList/item/index.d.ts +2 -0
- package/dist/sortableDndList/types/index.d.ts +1 -0
- package/dist/sortableDndList/types/types.d.ts +61 -0
- package/dist/sortableDndList/useListDnd/index.d.ts +1 -0
- package/dist/sortableDndList/useListDnd/useListDnd.d.ts +14 -0
- package/dist/sortableDndList/useListItemDrag/index.d.ts +1 -0
- package/dist/sortableDndList/useListItemDrag/useListItemDrag.d.ts +13 -0
- package/dist/sortableDndList/useListItemDrop/index.d.ts +1 -0
- package/dist/sortableDndList/useListItemDrop/useListItemDrop.d.ts +10 -0
- package/dist/styles/ckbox.css +3 -3
- package/dist/styles/themes/aqua.css +1 -1
- package/dist/styles/themes/dark.css +1 -1
- package/dist/switch/Switch.d.ts +13 -0
- package/dist/switch/index.d.ts +2 -0
- package/dist/switch/view/SwitchView.d.ts +13 -0
- package/dist/switch/view/index.d.ts +2 -0
- package/dist/switchInput/SwitchInput.d.ts +21 -0
- package/dist/switchInput/index.d.ts +1 -0
- package/dist/tabs/Tabs.d.ts +17 -0
- package/dist/tabs/index.d.ts +2 -0
- package/dist/tabs/tab/Tab.d.ts +17 -0
- package/dist/tabs/tab/index.d.ts +2 -0
- package/dist/tag/Tag.d.ts +29 -0
- package/dist/tag/index.d.ts +3 -0
- package/dist/tag/label/TagLabel.d.ts +13 -0
- package/dist/tag/label/index.d.ts +1 -0
- package/dist/tag/list/TagList.d.ts +17 -0
- package/dist/tag/list/index.d.ts +1 -0
- package/dist/tagInput/TagInput.d.ts +50 -0
- package/dist/tagInput/index.d.ts +1 -0
- package/dist/tooltip/Tooltip.d.ts +23 -0
- package/dist/tooltip/icon/TooltipIcon.d.ts +23 -0
- package/dist/tooltip/icon/index.d.ts +1 -0
- package/dist/tooltip/index.d.ts +2 -0
- package/dist/topbar/Topbar.d.ts +13 -0
- package/dist/topbar/action/TopbarAction.d.ts +41 -0
- package/dist/topbar/action/index.d.ts +2 -0
- package/dist/topbar/actions/TopbarActions.d.ts +9 -0
- package/dist/topbar/actions/TopbarActionsMenuItems.d.ts +8 -0
- package/dist/topbar/actions/index.d.ts +1 -0
- package/dist/topbar/index.d.ts +2 -0
- package/dist/uiProvider/UIProvider.d.ts +38 -0
- package/dist/uiProvider/constants.d.ts +7 -0
- package/dist/uiProvider/index.d.ts +3 -0
- package/dist/uiProvider/useUIContext.d.ts +38 -0
- package/dist/utils/base64FromBlurHash/base64FromBlurHash.d.ts +7 -0
- package/dist/utils/base64FromBlurHash/index.d.ts +1 -0
- package/dist/utils/clamp/clamp.d.ts +14 -0
- package/dist/utils/clamp/index.d.ts +1 -0
- package/dist/utils/clipboard/clipboard.d.ts +1 -0
- package/dist/utils/clipboard/index.d.ts +1 -0
- package/dist/utils/clsx/clsx.d.ts +7 -0
- package/dist/utils/clsx/index.d.ts +1 -0
- package/dist/utils/events/events.d.ts +12 -0
- package/dist/utils/events/index.d.ts +1 -0
- package/dist/utils/formatTimeDistance/formatTimeDistance.d.ts +15 -0
- package/dist/utils/formatTimeDistance/index.d.ts +1 -0
- package/dist/utils/getPixelCountFromImageBlob/getPixelCountFromImageBlob.d.ts +8 -0
- package/dist/utils/getPixelCountFromImageBlob/index.d.ts +1 -0
- package/dist/utils/getStandardDeviation/getStandardDeviation.d.ts +7 -0
- package/dist/utils/getStandardDeviation/index.d.ts +1 -0
- package/dist/utils/getValidChildren/getValidChildren.d.ts +2 -0
- package/dist/utils/getValidChildren/index.d.ts +1 -0
- package/dist/utils/hasOwnProperty/hasOwnProperty.d.ts +7 -0
- package/dist/utils/hasOwnProperty/index.d.ts +1 -0
- package/dist/utils/index.d.ts +34 -0
- package/dist/utils/keyboard/index.d.ts +1 -0
- package/dist/utils/keyboard/keyboard.d.ts +17 -0
- package/dist/utils/noOp/index.d.ts +1 -0
- package/dist/utils/noOp/noOp.d.ts +1 -0
- package/dist/utils/rInterval/index.d.ts +2 -0
- package/dist/utils/rInterval/rInterval.d.ts +10 -0
- package/dist/utils/rInterval/types.d.ts +3 -0
- package/dist/utils/useBatchUpdate/index.d.ts +1 -0
- package/dist/utils/useBatchUpdate/useBatchUpdate.d.ts +17 -0
- package/dist/utils/useClickAway/index.d.ts +1 -0
- package/dist/utils/useClickAway/useClickAway.d.ts +10 -0
- package/dist/utils/useClipboard/index.d.ts +1 -0
- package/dist/utils/useClipboard/useClipboard.d.ts +4 -0
- package/dist/utils/useDeferredUnmount/index.d.ts +1 -0
- package/dist/utils/useDeferredUnmount/useDeferredUnmount.d.ts +10 -0
- package/dist/utils/useDelay/index.d.ts +1 -0
- package/dist/utils/useDelay/useDelay.d.ts +8 -0
- package/dist/utils/useDownload/index.d.ts +1 -0
- package/dist/utils/useDownload/useDownload.d.ts +8 -0
- package/dist/utils/useDraggable/index.d.ts +2 -0
- package/dist/utils/useDraggable/types.d.ts +73 -0
- package/dist/utils/useDraggable/useDraggable.d.ts +8 -0
- package/dist/utils/useElementVisibility/index.d.ts +1 -0
- package/dist/utils/useElementVisibility/useElementVisibility.d.ts +11 -0
- package/dist/utils/useFilesDrop/index.d.ts +1 -0
- package/dist/utils/useFilesDrop/useFilesDrop.d.ts +17 -0
- package/dist/utils/useGridSelection/constants.d.ts +49 -0
- package/dist/utils/useGridSelection/index.d.ts +1 -0
- package/dist/utils/useGridSelection/reducer.d.ts +2 -0
- package/dist/utils/useGridSelection/useGridSelection.d.ts +26 -0
- package/dist/utils/useGridSelection/utils.d.ts +103 -0
- package/dist/utils/useIsMounted/index.d.ts +1 -0
- package/dist/utils/useIsMounted/useIsMounted.d.ts +9 -0
- package/dist/utils/useIsomorphicLayoutEffect/index.d.ts +1 -0
- package/dist/utils/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/utils/useItemsOverflow/index.d.ts +1 -0
- package/dist/utils/useItemsOverflow/useItemsOverflow.d.ts +13 -0
- package/dist/utils/useResettableTimeout/index.d.ts +1 -0
- package/dist/utils/useResettableTimeout/useResettableTimeout.d.ts +14 -0
- package/dist/utils/useResize/index.d.ts +2 -0
- package/dist/utils/useResize/types.d.ts +20 -0
- package/dist/utils/useResize/useResize.d.ts +13 -0
- package/dist/utils/useResponsiveSizes/index.d.ts +1 -0
- package/dist/utils/useResponsiveSizes/useResponsiveSizes.d.ts +16 -0
- package/dist/utils/useScaleDown/index.d.ts +1 -0
- package/dist/utils/useScaleDown/scaleDown.d.ts +13 -0
- package/dist/utils/useScaleDown/useScaleDown.d.ts +16 -0
- package/dist/utils/useScroll/getScrollVectors.d.ts +11 -0
- package/dist/utils/useScroll/index.d.ts +3 -0
- package/dist/utils/useScroll/types.d.ts +49 -0
- package/dist/utils/useScroll/useScroll.d.ts +16 -0
- package/dist/utils/useScrollDnd/index.d.ts +1 -0
- package/dist/utils/useScrollDnd/useScrollDnd.d.ts +7 -0
- package/dist/utils/useToggle/index.d.ts +1 -0
- package/dist/utils/useToggle/useToggle.d.ts +12 -0
- package/dist/utils/validators/index.d.ts +1 -0
- package/dist/utils/validators/validators.d.ts +60 -0
- package/dist/view/View.d.ts +13 -0
- package/dist/view/content/ViewContent.d.ts +25 -0
- package/dist/view/content/index.d.ts +1 -0
- package/dist/view/contentBar/ViewContentBar.d.ts +9 -0
- package/dist/view/contentBar/index.d.ts +1 -0
- package/dist/view/contentWrapper/ViewContentWrapper.d.ts +9 -0
- package/dist/view/contentWrapper/index.d.ts +1 -0
- package/dist/view/footer/ViewFooter.d.ts +9 -0
- package/dist/view/footer/index.d.ts +1 -0
- package/dist/view/header/ViewHeader.d.ts +9 -0
- package/dist/view/header/index.d.ts +1 -0
- package/dist/view/index.d.ts +8 -0
- package/dist/view/sideContent/ViewSideContent.d.ts +9 -0
- package/dist/view/sideContent/index.d.ts +1 -0
- package/dist/viewDialog/ViewDialog.d.ts +66 -0
- package/dist/viewDialog/index.d.ts +2 -0
- package/dist/viewDialog/useSetInitialDimensions/index.d.ts +1 -0
- package/dist/viewDialog/useSetInitialDimensions/useSetInitialDimensions.d.ts +10 -0
- package/dist/viewWrapper/ViewWrapper.d.ts +13 -0
- package/dist/viewWrapper/index.d.ts +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Polymorphism for `ref` is tricky. Let's type it as `any` for now.
|
|
3
|
+
*/
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
declare const Input: React.ForwardRefExoticComponent<Pick<Props, "label" | "className" | "type" | "value" | "error" | "id" | "disabled" | "name" | "size" | "onClick" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "max" | "variant" | "readOnly" | "multiline" | "min"> & React.RefAttributes<any>>;
|
|
6
|
+
export interface Props {
|
|
7
|
+
/**
|
|
8
|
+
* Input's class name.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Marks input as disabled.
|
|
13
|
+
*/
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Marks input as read-only.
|
|
17
|
+
*/
|
|
18
|
+
readOnly?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Unique input's id.
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Uses `textarea` instead of `input`.
|
|
25
|
+
*/
|
|
26
|
+
multiline?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Input's name to register.
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Callback invoked when the blur event is fired.
|
|
33
|
+
*/
|
|
34
|
+
onBlur?: (evt: React.ChangeEvent<any>) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Callback invoked when the value is changed.
|
|
37
|
+
*/
|
|
38
|
+
onChange?: (evt: React.ChangeEvent<any>) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Callback invoked when the element receives focus.
|
|
41
|
+
*/
|
|
42
|
+
onFocus?: (evt: React.ChangeEvent<any>) => void;
|
|
43
|
+
/**
|
|
44
|
+
* Callback invoked when the element is clicked.
|
|
45
|
+
*/
|
|
46
|
+
onClick?: (evt: React.ChangeEvent<any>) => void;
|
|
47
|
+
/**
|
|
48
|
+
* Input's type.
|
|
49
|
+
*/
|
|
50
|
+
type?: 'text' | 'number' | 'url' | 'email';
|
|
51
|
+
/**
|
|
52
|
+
* Input's placeholder text value.
|
|
53
|
+
*/
|
|
54
|
+
placeholder?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Input's value.
|
|
57
|
+
*/
|
|
58
|
+
value?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Input's ref object.
|
|
61
|
+
*/
|
|
62
|
+
ref?: React.Ref<any>;
|
|
63
|
+
/**
|
|
64
|
+
* Sizing variant.
|
|
65
|
+
*/
|
|
66
|
+
size?: 'base' | 'md';
|
|
67
|
+
/**
|
|
68
|
+
* Indicate error in input element.
|
|
69
|
+
*/
|
|
70
|
+
error?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Number input's min value.
|
|
73
|
+
*/
|
|
74
|
+
min?: string | number;
|
|
75
|
+
/**
|
|
76
|
+
* Number input's max value.
|
|
77
|
+
*/
|
|
78
|
+
max?: string | number;
|
|
79
|
+
/**
|
|
80
|
+
* Input's label.
|
|
81
|
+
*/
|
|
82
|
+
label?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Styling variant.
|
|
85
|
+
*/
|
|
86
|
+
variant?: 'default' | 'underline';
|
|
87
|
+
}
|
|
88
|
+
export default Input;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, Props as InputProps } from './Input';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const List: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Main content of the component.
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* List's class name.
|
|
10
|
+
*/
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export default List;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const ListItem: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLLIElement>>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Main content of the component.
|
|
6
|
+
*/
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Placeholder label for the component.
|
|
10
|
+
*/
|
|
11
|
+
placeholderLabel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Callback invoked when clicking on list item content.
|
|
14
|
+
*/
|
|
15
|
+
onContentClick?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Action buttons displayed in list item.
|
|
18
|
+
*/
|
|
19
|
+
actionButtons?: React.ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* List item's class name.
|
|
22
|
+
*/
|
|
23
|
+
className?: string;
|
|
24
|
+
}
|
|
25
|
+
export default ListItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ListItem';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Props as ButtonProps } from '../button/Button';
|
|
3
|
+
declare const LoadingButton: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export interface Props extends ButtonProps {
|
|
5
|
+
/**
|
|
6
|
+
* Delays loader appearance. Defaults to `true`.
|
|
7
|
+
*/
|
|
8
|
+
delay?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Toggles loading state.
|
|
11
|
+
*/
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Positions loader. Defaults to `center`.
|
|
15
|
+
*/
|
|
16
|
+
loaderPosition?: 'left' | 'center' | 'right';
|
|
17
|
+
}
|
|
18
|
+
export default LoadingButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './LoadingButton';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PopperOffset, PopperPlacement } from '../popper';
|
|
3
|
+
declare const Menu: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export interface Props {
|
|
5
|
+
/**
|
|
6
|
+
* Anchor element.
|
|
7
|
+
*/
|
|
8
|
+
anchorEl?: HTMLElement | null;
|
|
9
|
+
/**
|
|
10
|
+
* Shows an arrow pointing to the anchor element.
|
|
11
|
+
*/
|
|
12
|
+
arrow?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Main content of the component.
|
|
15
|
+
*/
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Offsets popper element.
|
|
19
|
+
*/
|
|
20
|
+
offset?: PopperOffset;
|
|
21
|
+
/**
|
|
22
|
+
* Callback invoked when component is about to close.
|
|
23
|
+
*/
|
|
24
|
+
onClose?: () => void;
|
|
25
|
+
/**
|
|
26
|
+
* Menu popper's placement.
|
|
27
|
+
*/
|
|
28
|
+
placement?: PopperPlacement;
|
|
29
|
+
/**
|
|
30
|
+
* Makes menu same width as its anchor.
|
|
31
|
+
*/
|
|
32
|
+
sameWidth?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Toggles vertical spacing around content.
|
|
35
|
+
*/
|
|
36
|
+
spacing?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export default Menu;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface MenuContext {
|
|
3
|
+
/**
|
|
4
|
+
* Callback invoked when menu is closed.
|
|
5
|
+
*/
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Defines React context for `Menu` component.
|
|
10
|
+
*/
|
|
11
|
+
export declare const MenuContext: React.Context<MenuContext>;
|
|
12
|
+
export declare const useMenuCtx: () => MenuContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MenuContext';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IconName, IconSize } from '../../icon';
|
|
3
|
+
declare const MenuItem: React.FC<Props>;
|
|
4
|
+
export interface Props {
|
|
5
|
+
/**
|
|
6
|
+
* Associated icon.
|
|
7
|
+
*/
|
|
8
|
+
icon?: IconName;
|
|
9
|
+
/**
|
|
10
|
+
* Icon size.
|
|
11
|
+
*/
|
|
12
|
+
iconSize?: IconSize;
|
|
13
|
+
/**
|
|
14
|
+
* Action label.
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* Action invoked upon click.
|
|
19
|
+
*/
|
|
20
|
+
onClick?: () => void;
|
|
21
|
+
/**
|
|
22
|
+
* Displays as disabled.
|
|
23
|
+
*/
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export default MenuItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './MenuItem';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const MenuSection: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Main content of the component.
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Adds bottom border.
|
|
10
|
+
*/
|
|
11
|
+
borderBottom?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Title of the section.
|
|
14
|
+
*/
|
|
15
|
+
title: string;
|
|
16
|
+
}
|
|
17
|
+
export default MenuSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './MenuSection';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const MenuSubSection: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Main content of the component.
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Indicates how content and title should be aligned.
|
|
10
|
+
*/
|
|
11
|
+
align?: 'column' | 'row';
|
|
12
|
+
/**
|
|
13
|
+
* Indicates how children should be aligned.
|
|
14
|
+
*/
|
|
15
|
+
alignChildren?: 'column' | 'row';
|
|
16
|
+
/**
|
|
17
|
+
* Display title as label.
|
|
18
|
+
*/
|
|
19
|
+
label?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Sets `for` attribute if title is displayed as label.
|
|
22
|
+
*/
|
|
23
|
+
labelFor?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Title of the subsection.
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
}
|
|
29
|
+
export default MenuSubSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './MenuSubSection';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Navbar: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Labels navigation element.
|
|
6
|
+
*/
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Main content of the component.
|
|
10
|
+
*/
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export default Navbar;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IconName } from '../../icon';
|
|
3
|
+
declare const NavbarButton: React.FC<Props>;
|
|
4
|
+
export interface Props {
|
|
5
|
+
/**
|
|
6
|
+
* Button's aria label.
|
|
7
|
+
*/
|
|
8
|
+
label?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Icon to show.
|
|
11
|
+
*/
|
|
12
|
+
icon?: IconName;
|
|
13
|
+
/**
|
|
14
|
+
* Sets `click` event handler.
|
|
15
|
+
*/
|
|
16
|
+
onClick?: React.MouseEventHandler;
|
|
17
|
+
}
|
|
18
|
+
export default NavbarButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './NavbarButton';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const NavbarCreditLink: React.FC<Props>;
|
|
3
|
+
interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Renders the content of the credit link.
|
|
6
|
+
*/
|
|
7
|
+
content: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Flag indicating if the link is collapsed.
|
|
10
|
+
*/
|
|
11
|
+
collapsed?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The URL that the hyperlink points to.
|
|
14
|
+
*/
|
|
15
|
+
href?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Describes the purpose of a link.
|
|
18
|
+
*/
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
}
|
|
21
|
+
export default NavbarCreditLink;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './NavbarCreditLink';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IconName, IconRenderProp } from '../../icon';
|
|
3
|
+
declare const NavbarItem: React.FC<Props>;
|
|
4
|
+
export interface Props {
|
|
5
|
+
/**
|
|
6
|
+
* Applies active styling.
|
|
7
|
+
*/
|
|
8
|
+
active?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Toggles icon animation.
|
|
11
|
+
*/
|
|
12
|
+
animateIcon?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Marks item as disabled.
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Separator for the special element.
|
|
19
|
+
*/
|
|
20
|
+
separated?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Displayed icon.
|
|
23
|
+
*/
|
|
24
|
+
icon?: IconName;
|
|
25
|
+
/**
|
|
26
|
+
* Renders custom icon.
|
|
27
|
+
*
|
|
28
|
+
* Pass either a React component or raw markup as string.
|
|
29
|
+
* Passed string must be sanitized beforehand so that it's safe to use.
|
|
30
|
+
*/
|
|
31
|
+
iconRender?: IconRenderProp;
|
|
32
|
+
/**
|
|
33
|
+
* Displayed label.
|
|
34
|
+
*/
|
|
35
|
+
label: string;
|
|
36
|
+
/**
|
|
37
|
+
* Toggles loader.
|
|
38
|
+
*/
|
|
39
|
+
loading?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Optional click handler.
|
|
42
|
+
*/
|
|
43
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
44
|
+
/**
|
|
45
|
+
* Optional buttons to be shown inside the navbar item.
|
|
46
|
+
*/
|
|
47
|
+
buttons?: React.ReactNode;
|
|
48
|
+
}
|
|
49
|
+
export default NavbarItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './NavbarItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './NavbarItemFixed';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Notifications: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Container's position will be adjusted in accordance with provided element's height.
|
|
6
|
+
*/
|
|
7
|
+
bottomOffsetEl?: HTMLElement | null;
|
|
8
|
+
/**
|
|
9
|
+
* Main content of the component.
|
|
10
|
+
*/
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Controls if bottom-offset should be applied to notifications container.
|
|
14
|
+
*/
|
|
15
|
+
offsetBottom?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export default Notifications;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const NotificationDetails: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Main content of the component.
|
|
6
|
+
*/
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Label for close button.
|
|
10
|
+
*/
|
|
11
|
+
closeLabel?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Notification details close callback.
|
|
14
|
+
*/
|
|
15
|
+
onClose?: () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Toggles dialog.
|
|
18
|
+
*/
|
|
19
|
+
open?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Notification title.
|
|
22
|
+
*/
|
|
23
|
+
title: string;
|
|
24
|
+
/**
|
|
25
|
+
* Notification type.
|
|
26
|
+
*/
|
|
27
|
+
type: 'success' | 'error' | 'info';
|
|
28
|
+
}
|
|
29
|
+
export default NotificationDetails;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './NotificationDetails';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TransitionProps } from 'react-transition-group/Transition';
|
|
3
|
+
declare const Notification: React.FC<Props>;
|
|
4
|
+
/**
|
|
5
|
+
* `Notification` component is rendered as part of `TransitionGroup` and therefore gets transition props in addition to its regular props.
|
|
6
|
+
*/
|
|
7
|
+
export declare type Props = Partial<TransitionProps> & {
|
|
8
|
+
/**
|
|
9
|
+
* Label for "Close" button.
|
|
10
|
+
*/
|
|
11
|
+
closeLabel: string;
|
|
12
|
+
/**
|
|
13
|
+
* Label for "Close Details" button.
|
|
14
|
+
*/
|
|
15
|
+
closeDetailsLabel?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Optional notification details.
|
|
18
|
+
*/
|
|
19
|
+
details?: React.ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Notification close callback.
|
|
22
|
+
*/
|
|
23
|
+
onClose?: () => void;
|
|
24
|
+
/**
|
|
25
|
+
* Label for "Open Details" button.
|
|
26
|
+
*/
|
|
27
|
+
openDetailsLabel?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Notification title.
|
|
30
|
+
*/
|
|
31
|
+
title: string;
|
|
32
|
+
/**
|
|
33
|
+
* Notification type.
|
|
34
|
+
*/
|
|
35
|
+
type: 'success' | 'error' | 'info';
|
|
36
|
+
};
|
|
37
|
+
export default Notification;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Notification';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Overlay: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Optional children.
|
|
6
|
+
*/
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Callback invoked upon clicking on the overlay.
|
|
10
|
+
*/
|
|
11
|
+
onClick?: React.MouseEventHandler;
|
|
12
|
+
/**
|
|
13
|
+
* Color variant.
|
|
14
|
+
*/
|
|
15
|
+
variant?: 'transparent' | 'dark';
|
|
16
|
+
/**
|
|
17
|
+
* Optional class to append.
|
|
18
|
+
*/
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export default Overlay;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Overlay';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Pagination: React.FC<Props>;
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Disables interaction with pagination.
|
|
6
|
+
*/
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Aria label for input element.
|
|
10
|
+
*/
|
|
11
|
+
enterPageLabel: string;
|
|
12
|
+
/**
|
|
13
|
+
* Total number of pages.
|
|
14
|
+
*/
|
|
15
|
+
totalPages: number;
|
|
16
|
+
/**
|
|
17
|
+
* Label indicating total number of pages.
|
|
18
|
+
*/
|
|
19
|
+
totalPagesLabel: string;
|
|
20
|
+
/**
|
|
21
|
+
* Callback invoked when page is changed.
|
|
22
|
+
*/
|
|
23
|
+
onPageChange: (page: number) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Currently selected page.
|
|
26
|
+
*/
|
|
27
|
+
page: number;
|
|
28
|
+
}
|
|
29
|
+
export default Pagination;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { IconName } from '../../icon';
|
|
3
|
+
declare const PaginationButton: React.FC<Props>;
|
|
4
|
+
export interface Props {
|
|
5
|
+
/**
|
|
6
|
+
* Button icon.
|
|
7
|
+
*/
|
|
8
|
+
icon: IconName;
|
|
9
|
+
/**
|
|
10
|
+
* Disables button.
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Callback invoked upon clicking on item.
|
|
15
|
+
*/
|
|
16
|
+
onClick: () => void;
|
|
17
|
+
}
|
|
18
|
+
export default PaginationButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PaginationButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pagination';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PanelContextShape } from './context';
|
|
3
|
+
declare const Panel: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export interface Props extends PanelContextShape {
|
|
5
|
+
/**
|
|
6
|
+
* Main content of the component.
|
|
7
|
+
*/
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Toggles component opacity.
|
|
11
|
+
*/
|
|
12
|
+
opaque?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Toggles component's `elevated` mode.
|
|
15
|
+
*/
|
|
16
|
+
elevated?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export default Panel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PanelActions';
|