@ckbox/components 1.2.0-dev.0 → 1.2.0-dev.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/README.md +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/bottombar/Bottombar.d.ts +0 -17
- package/dist/bottombar/index.d.ts +0 -1
- package/dist/button/Button.d.ts +0 -83
- package/dist/button/index.d.ts +0 -2
- package/dist/button/types.d.ts +0 -3
- package/dist/checkbox/Checkbox.d.ts +0 -33
- package/dist/checkbox/index.d.ts +0 -1
- package/dist/circularLoader/CircularLoader.d.ts +0 -21
- package/dist/circularLoader/index.d.ts +0 -1
- package/dist/containerQuery/ContainerQuery.d.ts +0 -18
- package/dist/containerQuery/breakpoints/Breakpoints.d.ts +0 -36
- package/dist/containerQuery/breakpoints/index.d.ts +0 -1
- package/dist/containerQuery/context/ContainerQueryContext.d.ts +0 -18
- package/dist/containerQuery/context/index.d.ts +0 -1
- package/dist/containerQuery/index.d.ts +0 -3
- package/dist/containerQuery/provider/ContainerQueryProvider.d.ts +0 -18
- package/dist/containerQuery/provider/index.d.ts +0 -1
- package/dist/copyButton/CopyButton.d.ts +0 -17
- package/dist/copyButton/index.d.ts +0 -1
- package/dist/copyableInput/CopyableInput.d.ts +0 -25
- package/dist/copyableInput/index.d.ts +0 -1
- package/dist/dialog/Dialog.d.ts +0 -9
- package/dist/dialog/actions/DialogActions.d.ts +0 -9
- package/dist/dialog/actions/index.d.ts +0 -1
- package/dist/dialog/animated/DialogAnimated.d.ts +0 -30
- package/dist/dialog/animated/index.d.ts +0 -1
- package/dist/dialog/column/DialogColumn.d.ts +0 -13
- package/dist/dialog/column/index.d.ts +0 -1
- package/dist/dialog/context/DialogContext.d.ts +0 -18
- package/dist/dialog/context/index.d.ts +0 -1
- package/dist/dialog/draggable/DialogDraggable.d.ts +0 -23
- package/dist/dialog/draggable/index.d.ts +0 -1
- package/dist/dialog/footer/DialogFooter.d.ts +0 -18
- package/dist/dialog/footer/index.d.ts +0 -1
- package/dist/dialog/header/DialogHeader.d.ts +0 -49
- package/dist/dialog/header/index.d.ts +0 -1
- package/dist/dialog/index.d.ts +0 -7
- package/dist/dialog/root/DialogRoot.d.ts +0 -9
- package/dist/dialog/root/index.d.ts +0 -1
- package/dist/dialog/row/DialogRow.d.ts +0 -9
- package/dist/dialog/row/index.d.ts +0 -1
- package/dist/dialog/section/DialogSection.d.ts +0 -45
- package/dist/dialog/section/index.d.ts +0 -1
- package/dist/docIcon/DocIcon.d.ts +0 -11
- package/dist/docIcon/icons/Archive.d.ts +0 -4
- package/dist/docIcon/icons/Empty.d.ts +0 -4
- package/dist/docIcon/icons/Excel.d.ts +0 -4
- package/dist/docIcon/icons/Img.d.ts +0 -4
- package/dist/docIcon/icons/Movie.d.ts +0 -4
- package/dist/docIcon/icons/Music.d.ts +0 -4
- package/dist/docIcon/icons/Pdf.d.ts +0 -4
- package/dist/docIcon/icons/Ppt.d.ts +0 -4
- package/dist/docIcon/icons/Txt.d.ts +0 -4
- package/dist/docIcon/icons/Word.d.ts +0 -4
- package/dist/docIcon/icons/index.d.ts +0 -10
- package/dist/docIcon/index.d.ts +0 -2
- package/dist/drawer/Drawer.d.ts +0 -25
- package/dist/drawer/actions/DrawerActions.d.ts +0 -9
- package/dist/drawer/actions/index.d.ts +0 -1
- package/dist/drawer/content/DrawerContent.d.ts +0 -9
- package/dist/drawer/content/index.d.ts +0 -1
- package/dist/drawer/context/DrawerContext.d.ts +0 -9
- package/dist/drawer/context/index.d.ts +0 -1
- package/dist/drawer/header/DrawerHeader.d.ts +0 -13
- package/dist/drawer/header/index.d.ts +0 -1
- package/dist/drawer/index.d.ts +0 -5
- package/dist/drawer/section/DrawerSection.d.ts +0 -17
- package/dist/drawer/section/index.d.ts +0 -1
- package/dist/emptyView/EmptyView.d.ts +0 -22
- package/dist/emptyView/index.d.ts +0 -2
- package/dist/emptyView/label/EmptyViewLabel.d.ts +0 -13
- package/dist/emptyView/label/index.d.ts +0 -1
- package/dist/fileInputButton/FileInputButton.d.ts +0 -30
- package/dist/fileInputButton/index.d.ts +0 -1
- package/dist/filePreview/FilePreview.d.ts +0 -29
- package/dist/filePreview/actions/FilePreviewActions.d.ts +0 -21
- package/dist/filePreview/actions/index.d.ts +0 -1
- package/dist/filePreview/content/FilePreviewContent.d.ts +0 -9
- package/dist/filePreview/content/index.d.ts +0 -1
- package/dist/filePreview/context/FilePreviewContext.d.ts +0 -9
- package/dist/filePreview/context/index.d.ts +0 -1
- package/dist/filePreview/hoverable/FilePreviewHoverable.d.ts +0 -9
- package/dist/filePreview/hoverable/index.d.ts +0 -1
- package/dist/filePreview/index.d.ts +0 -6
- package/dist/filePreview/navButton/FilePreviewNavButton.d.ts +0 -22
- package/dist/filePreview/navButton/index.d.ts +0 -1
- package/dist/filePreview/tooltip/FilePreviewTooltip.d.ts +0 -9
- package/dist/filePreview/tooltip/index.d.ts +0 -1
- package/dist/fixed/Fixed.d.ts +0 -9
- package/dist/fixed/context/FixedContext.d.ts +0 -9
- package/dist/fixed/context/index.d.ts +0 -1
- package/dist/fixed/index.d.ts +0 -3
- package/dist/fixed/provider/FixedProvider.d.ts +0 -14
- package/dist/fixed/provider/index.d.ts +0 -1
- package/dist/form/Form.d.ts +0 -21
- package/dist/form/feedback/FormFeedback.d.ts +0 -17
- package/dist/form/feedback/index.d.ts +0 -1
- package/dist/form/group/FormGroup.d.ts +0 -13
- package/dist/form/group/index.d.ts +0 -1
- package/dist/form/groupColumn/FormGroupColumn.d.ts +0 -9
- package/dist/form/groupColumn/index.d.ts +0 -1
- package/dist/form/groupInfo/FormGroupInfo.d.ts +0 -9
- package/dist/form/groupInfo/index.d.ts +0 -1
- package/dist/form/index.d.ts +0 -6
- package/dist/form/inputLabel/FormInputLabel.d.ts +0 -17
- package/dist/form/inputLabel/index.d.ts +0 -1
- package/dist/gallery/Gallery.d.ts +0 -17
- package/dist/gallery/figure/GalleryFigure.d.ts +0 -13
- package/dist/gallery/figure/index.d.ts +0 -1
- package/dist/gallery/index.d.ts +0 -3
- package/dist/gallery/item/GalleryItem.d.ts +0 -37
- package/dist/gallery/item/index.d.ts +0 -1
- package/dist/gallery/skeleton/GallerySkeleton.d.ts +0 -3
- package/dist/gallery/skeleton/index.d.ts +0 -1
- package/dist/icon/Icon.d.ts +0 -29
- package/dist/icon/icons/ArrowLeft.d.ts +0 -4
- package/dist/icon/icons/ArrowLeftEnd.d.ts +0 -4
- package/dist/icon/icons/ArrowRight.d.ts +0 -4
- package/dist/icon/icons/ArrowRightEnd.d.ts +0 -4
- package/dist/icon/icons/Cabinet.d.ts +0 -4
- package/dist/icon/icons/Check.d.ts +0 -4
- package/dist/icon/icons/ChevronDown.d.ts +0 -4
- package/dist/icon/icons/ChevronLeft.d.ts +0 -4
- package/dist/icon/icons/ChevronRight.d.ts +0 -4
- package/dist/icon/icons/Clock.d.ts +0 -4
- package/dist/icon/icons/Close.d.ts +0 -4
- package/dist/icon/icons/Cog.d.ts +0 -4
- package/dist/icon/icons/Copy.d.ts +0 -4
- package/dist/icon/icons/Docs.d.ts +0 -4
- package/dist/icon/icons/DotsVertical.d.ts +0 -4
- package/dist/icon/icons/Download.d.ts +0 -4
- package/dist/icon/icons/DragHandle.d.ts +0 -4
- package/dist/icon/icons/Filter.d.ts +0 -4
- package/dist/icon/icons/Folder.d.ts +0 -4
- package/dist/icon/icons/Image.d.ts +0 -4
- package/dist/icon/icons/Info.d.ts +0 -4
- package/dist/icon/icons/InfoSquare.d.ts +0 -4
- package/dist/icon/icons/Pencil.d.ts +0 -4
- package/dist/icon/icons/Plus.d.ts +0 -4
- package/dist/icon/icons/Search.d.ts +0 -4
- package/dist/icon/icons/SearchMissingResults.d.ts +0 -4
- package/dist/icon/icons/Settings.d.ts +0 -4
- package/dist/icon/icons/Sort.d.ts +0 -4
- package/dist/icon/icons/Spinner.d.ts +0 -4
- package/dist/icon/icons/Trash.d.ts +0 -4
- package/dist/icon/icons/Upload.d.ts +0 -4
- package/dist/icon/icons/Warning.d.ts +0 -4
- package/dist/icon/icons/WarningFill.d.ts +0 -4
- package/dist/icon/icons/XCircle.d.ts +0 -4
- package/dist/icon/icons/index.d.ts +0 -34
- package/dist/icon/index.d.ts +0 -2
- package/dist/icon/raw/RawIcon.d.ts +0 -13
- package/dist/icon/raw/index.d.ts +0 -1
- package/dist/icon/types.d.ts +0 -9
- package/dist/input/Input.d.ts +0 -88
- package/dist/input/index.d.ts +0 -1
- package/dist/list/List.d.ts +0 -13
- package/dist/list/index.d.ts +0 -2
- package/dist/list/item/ListItem.d.ts +0 -25
- package/dist/list/item/index.d.ts +0 -1
- package/dist/loadingButton/LoadingButton.d.ts +0 -18
- package/dist/loadingButton/index.d.ts +0 -1
- package/dist/menu/Menu.d.ts +0 -38
- package/dist/menu/context/MenuContext.d.ts +0 -12
- package/dist/menu/context/index.d.ts +0 -1
- package/dist/menu/index.d.ts +0 -4
- package/dist/menu/item/MenuItem.d.ts +0 -26
- package/dist/menu/item/index.d.ts +0 -1
- package/dist/menu/section/MenuSection.d.ts +0 -17
- package/dist/menu/section/index.d.ts +0 -1
- package/dist/menu/subSection/MenuSubSection.d.ts +0 -29
- package/dist/menu/subSection/index.d.ts +0 -1
- package/dist/navbar/Navbar.d.ts +0 -13
- package/dist/navbar/button/NavbarButton.d.ts +0 -18
- package/dist/navbar/button/index.d.ts +0 -1
- package/dist/navbar/creditLink/NavbarCreditLink.d.ts +0 -21
- package/dist/navbar/creditLink/index.d.ts +0 -1
- package/dist/navbar/index.d.ts +0 -5
- package/dist/navbar/item/NavbarItem.d.ts +0 -49
- package/dist/navbar/item/index.d.ts +0 -1
- package/dist/navbar/itemFixed/NavbarItemFixed.d.ts +0 -9
- package/dist/navbar/itemFixed/index.d.ts +0 -1
- package/dist/notifications/Notifications.d.ts +0 -17
- package/dist/notifications/details/NotificationDetails.d.ts +0 -29
- package/dist/notifications/details/index.d.ts +0 -1
- package/dist/notifications/index.d.ts +0 -3
- package/dist/notifications/notification/Notification.d.ts +0 -37
- package/dist/notifications/notification/index.d.ts +0 -1
- package/dist/overlay/Overlay.d.ts +0 -21
- package/dist/overlay/index.d.ts +0 -1
- package/dist/pagination/Pagination.d.ts +0 -29
- package/dist/pagination/button/PaginationButton.d.ts +0 -18
- package/dist/pagination/button/index.d.ts +0 -1
- package/dist/pagination/index.d.ts +0 -1
- package/dist/panel/Panel.d.ts +0 -18
- package/dist/panel/actions/PanelActions.d.ts +0 -9
- package/dist/panel/actions/index.d.ts +0 -1
- package/dist/panel/column/PanelColumn.d.ts +0 -9
- package/dist/panel/column/index.d.ts +0 -1
- package/dist/panel/content/PanelContent.d.ts +0 -25
- package/dist/panel/content/index.d.ts +0 -2
- package/dist/panel/contentProp/PanelContentProp.d.ts +0 -13
- package/dist/panel/contentProp/index.d.ts +0 -1
- package/dist/panel/context/PanelContext.d.ts +0 -12
- package/dist/panel/context/index.d.ts +0 -1
- package/dist/panel/dragHandle/PanelDragHandle.d.ts +0 -3
- package/dist/panel/dragHandle/index.d.ts +0 -1
- package/dist/panel/index.d.ts +0 -11
- package/dist/panel/list/PanelList.d.ts +0 -17
- package/dist/panel/list/index.d.ts +0 -1
- package/dist/panel/listDivider/PanelListDivider.d.ts +0 -9
- package/dist/panel/listDivider/index.d.ts +0 -1
- package/dist/panel/side/PanelSide.d.ts +0 -17
- package/dist/panel/side/index.d.ts +0 -1
- package/dist/panel/skeleton/PanelSkeleton.d.ts +0 -13
- package/dist/panel/skeleton/index.d.ts +0 -1
- package/dist/panel/title/PanelTitle.d.ts +0 -18
- package/dist/panel/title/index.d.ts +0 -1
- package/dist/popper/Popper.d.ts +0 -38
- package/dist/popper/arrow/PopperArrow.d.ts +0 -9
- package/dist/popper/arrow/index.d.ts +0 -1
- package/dist/popper/context/PopperContext.d.ts +0 -12
- package/dist/popper/context/index.d.ts +0 -1
- package/dist/popper/index.d.ts +0 -4
- package/dist/popper/types.d.ts +0 -5
- package/dist/popper/usePopper/index.d.ts +0 -1
- package/dist/popper/usePopper/usePopper.d.ts +0 -36
- package/dist/progressPanel/ProgressPanel.d.ts +0 -37
- package/dist/progressPanel/index.d.ts +0 -1
- package/dist/propertiesTable/PropertiesTable.d.ts +0 -9
- package/dist/propertiesTable/index.d.ts +0 -2
- package/dist/propertiesTable/row/PropertiesTableRow.d.ts +0 -13
- package/dist/propertiesTable/row/index.d.ts +0 -1
- package/dist/rangeSlider/RangeSlider.d.ts +0 -43
- package/dist/rangeSlider/index.d.ts +0 -1
- package/dist/rangeSlider/utils/index.d.ts +0 -1
- package/dist/rangeSlider/utils/utils.d.ts +0 -32
- package/dist/responsiveImage/ResponsiveImage.d.ts +0 -84
- package/dist/responsiveImage/fallback/ResponsiveImageFallback.d.ts +0 -21
- package/dist/responsiveImage/fallback/index.d.ts +0 -1
- package/dist/responsiveImage/index.d.ts +0 -1
- package/dist/searchDialog/SearchDialog.d.ts +0 -21
- package/dist/searchDialog/actions/SearchDialogActions.d.ts +0 -9
- package/dist/searchDialog/actions/index.d.ts +0 -1
- package/dist/searchDialog/content/SearchDialogContent.d.ts +0 -9
- package/dist/searchDialog/content/index.d.ts +0 -1
- package/dist/searchDialog/context/SearchDialogContext.d.ts +0 -9
- package/dist/searchDialog/context/index.d.ts +0 -1
- package/dist/searchDialog/fallback/SearchDialogFallback.d.ts +0 -9
- package/dist/searchDialog/fallback/index.d.ts +0 -1
- package/dist/searchDialog/header/SearchDialogHeader.d.ts +0 -25
- package/dist/searchDialog/header/index.d.ts +0 -1
- package/dist/searchDialog/index.d.ts +0 -7
- package/dist/searchDialog/input/SearchDialogInput.d.ts +0 -29
- package/dist/searchDialog/input/index.d.ts +0 -1
- package/dist/searchDialog/section/SearchDialogSection.d.ts +0 -13
- package/dist/searchDialog/section/index.d.ts +0 -1
- package/dist/searchResultsBar/SearchResultsBar.d.ts +0 -9
- package/dist/searchResultsBar/filters/SearchResultsBarFilters.d.ts +0 -9
- package/dist/searchResultsBar/filters/index.d.ts +0 -1
- package/dist/searchResultsBar/index.d.ts +0 -3
- package/dist/searchResultsBar/phrase/SearchResultsBarPhrase.d.ts +0 -17
- package/dist/searchResultsBar/phrase/index.d.ts +0 -1
- package/dist/select/Select.d.ts +0 -46
- package/dist/select/index.d.ts +0 -2
- package/dist/select/input/SelectInput.d.ts +0 -45
- package/dist/select/input/index.d.ts +0 -2
- package/dist/select/listbox/SelectListbox.d.ts +0 -25
- package/dist/select/listbox/index.d.ts +0 -1
- package/dist/select/listboxItem/SelectListboxItem.d.ts +0 -42
- package/dist/select/listboxItem/index.d.ts +0 -1
- package/dist/select/listboxList/SelectListboxList.d.ts +0 -21
- package/dist/select/listboxList/index.d.ts +0 -1
- package/dist/select/multiList/SelectMultiList.d.ts +0 -23
- package/dist/select/multiList/index.d.ts +0 -1
- package/dist/select/multiListItem/SelectMultiListItem.d.ts +0 -18
- package/dist/select/multiListItem/index.d.ts +0 -1
- package/dist/select/single/SelectSingle.d.ts +0 -19
- package/dist/select/single/index.d.ts +0 -1
- package/dist/select/types.d.ts +0 -40
- package/dist/select/useKeyboardNav/index.d.ts +0 -1
- package/dist/select/useKeyboardNav/useKeyboardNav.d.ts +0 -9
- package/dist/select/utils/index.d.ts +0 -1
- package/dist/select/utils/utils.d.ts +0 -26
- package/dist/selectionArea/SelectionArea.d.ts +0 -18
- package/dist/selectionArea/index.d.ts +0 -2
- package/dist/skeleton/Skeleton.d.ts +0 -17
- package/dist/skeleton/index.d.ts +0 -1
- package/dist/sortButton/SortButton.d.ts +0 -21
- package/dist/sortButton/index.d.ts +0 -1
- package/dist/sortableDndList/SortableDndList.d.ts +0 -14
- package/dist/sortableDndList/context/SortableDndListContext.d.ts +0 -25
- package/dist/sortableDndList/context/index.d.ts +0 -1
- package/dist/sortableDndList/dragLayer/SortableDndListDragLayer.d.ts +0 -9
- package/dist/sortableDndList/dragLayer/index.d.ts +0 -1
- package/dist/sortableDndList/index.d.ts +0 -4
- package/dist/sortableDndList/item/SortableDndListItem.d.ts +0 -25
- package/dist/sortableDndList/item/index.d.ts +0 -2
- package/dist/sortableDndList/types/index.d.ts +0 -1
- package/dist/sortableDndList/types/types.d.ts +0 -61
- package/dist/sortableDndList/useListDnd/index.d.ts +0 -1
- package/dist/sortableDndList/useListDnd/useListDnd.d.ts +0 -14
- package/dist/sortableDndList/useListItemDrag/index.d.ts +0 -1
- package/dist/sortableDndList/useListItemDrag/useListItemDrag.d.ts +0 -13
- package/dist/sortableDndList/useListItemDrop/index.d.ts +0 -1
- package/dist/sortableDndList/useListItemDrop/useListItemDrop.d.ts +0 -10
- package/dist/switch/Switch.d.ts +0 -13
- package/dist/switch/index.d.ts +0 -2
- package/dist/switch/view/SwitchView.d.ts +0 -13
- package/dist/switch/view/index.d.ts +0 -2
- package/dist/switchInput/SwitchInput.d.ts +0 -21
- package/dist/switchInput/index.d.ts +0 -1
- package/dist/tabs/Tabs.d.ts +0 -17
- package/dist/tabs/index.d.ts +0 -2
- package/dist/tabs/tab/Tab.d.ts +0 -17
- package/dist/tabs/tab/index.d.ts +0 -2
- package/dist/tag/Tag.d.ts +0 -29
- package/dist/tag/index.d.ts +0 -3
- package/dist/tag/label/TagLabel.d.ts +0 -13
- package/dist/tag/label/index.d.ts +0 -1
- package/dist/tag/list/TagList.d.ts +0 -17
- package/dist/tag/list/index.d.ts +0 -1
- package/dist/tagInput/TagInput.d.ts +0 -50
- package/dist/tagInput/index.d.ts +0 -1
- package/dist/tooltip/Tooltip.d.ts +0 -23
- package/dist/tooltip/icon/TooltipIcon.d.ts +0 -23
- package/dist/tooltip/icon/index.d.ts +0 -1
- package/dist/tooltip/index.d.ts +0 -2
- package/dist/topbar/Topbar.d.ts +0 -13
- package/dist/topbar/action/TopbarAction.d.ts +0 -41
- package/dist/topbar/action/index.d.ts +0 -2
- package/dist/topbar/actions/TopbarActions.d.ts +0 -9
- package/dist/topbar/actions/TopbarActionsMenuItems.d.ts +0 -8
- package/dist/topbar/actions/index.d.ts +0 -1
- package/dist/topbar/index.d.ts +0 -2
- package/dist/uiProvider/UIProvider.d.ts +0 -38
- package/dist/uiProvider/constants.d.ts +0 -7
- package/dist/uiProvider/index.d.ts +0 -3
- package/dist/uiProvider/useUIContext.d.ts +0 -38
- package/dist/utils/base64FromBlurHash/base64FromBlurHash.d.ts +0 -7
- package/dist/utils/base64FromBlurHash/index.d.ts +0 -1
- package/dist/utils/clamp/clamp.d.ts +0 -14
- package/dist/utils/clamp/index.d.ts +0 -1
- package/dist/utils/clipboard/clipboard.d.ts +0 -1
- package/dist/utils/clipboard/index.d.ts +0 -1
- package/dist/utils/clsx/clsx.d.ts +0 -7
- package/dist/utils/clsx/index.d.ts +0 -1
- package/dist/utils/events/events.d.ts +0 -12
- package/dist/utils/events/index.d.ts +0 -1
- package/dist/utils/formatTimeDistance/formatTimeDistance.d.ts +0 -15
- package/dist/utils/formatTimeDistance/index.d.ts +0 -1
- package/dist/utils/getPixelCountFromImageBlob/getPixelCountFromImageBlob.d.ts +0 -8
- package/dist/utils/getPixelCountFromImageBlob/index.d.ts +0 -1
- package/dist/utils/getStandardDeviation/getStandardDeviation.d.ts +0 -7
- package/dist/utils/getStandardDeviation/index.d.ts +0 -1
- package/dist/utils/getValidChildren/getValidChildren.d.ts +0 -2
- package/dist/utils/getValidChildren/index.d.ts +0 -1
- package/dist/utils/hasOwnProperty/hasOwnProperty.d.ts +0 -7
- package/dist/utils/hasOwnProperty/index.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -34
- package/dist/utils/keyboard/index.d.ts +0 -1
- package/dist/utils/keyboard/keyboard.d.ts +0 -17
- package/dist/utils/noOp/index.d.ts +0 -1
- package/dist/utils/noOp/noOp.d.ts +0 -1
- package/dist/utils/rInterval/index.d.ts +0 -2
- package/dist/utils/rInterval/rInterval.d.ts +0 -10
- package/dist/utils/rInterval/types.d.ts +0 -3
- package/dist/utils/useBatchUpdate/index.d.ts +0 -1
- package/dist/utils/useBatchUpdate/useBatchUpdate.d.ts +0 -17
- package/dist/utils/useClickAway/index.d.ts +0 -1
- package/dist/utils/useClickAway/useClickAway.d.ts +0 -10
- package/dist/utils/useClipboard/index.d.ts +0 -1
- package/dist/utils/useClipboard/useClipboard.d.ts +0 -4
- package/dist/utils/useDeferredUnmount/index.d.ts +0 -1
- package/dist/utils/useDeferredUnmount/useDeferredUnmount.d.ts +0 -10
- package/dist/utils/useDelay/index.d.ts +0 -1
- package/dist/utils/useDelay/useDelay.d.ts +0 -8
- package/dist/utils/useDownload/index.d.ts +0 -1
- package/dist/utils/useDownload/useDownload.d.ts +0 -8
- package/dist/utils/useDraggable/index.d.ts +0 -2
- package/dist/utils/useDraggable/types.d.ts +0 -73
- package/dist/utils/useDraggable/useDraggable.d.ts +0 -8
- package/dist/utils/useElementVisibility/index.d.ts +0 -1
- package/dist/utils/useElementVisibility/useElementVisibility.d.ts +0 -11
- package/dist/utils/useFilesDrop/index.d.ts +0 -1
- package/dist/utils/useFilesDrop/useFilesDrop.d.ts +0 -17
- package/dist/utils/useGridSelection/constants.d.ts +0 -49
- package/dist/utils/useGridSelection/index.d.ts +0 -1
- package/dist/utils/useGridSelection/reducer.d.ts +0 -2
- package/dist/utils/useGridSelection/useGridSelection.d.ts +0 -26
- package/dist/utils/useGridSelection/utils.d.ts +0 -103
- package/dist/utils/useIsMounted/index.d.ts +0 -1
- package/dist/utils/useIsMounted/useIsMounted.d.ts +0 -9
- package/dist/utils/useIsomorphicLayoutEffect/index.d.ts +0 -1
- package/dist/utils/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts +0 -2
- package/dist/utils/useItemsOverflow/index.d.ts +0 -1
- package/dist/utils/useItemsOverflow/useItemsOverflow.d.ts +0 -13
- package/dist/utils/useResettableTimeout/index.d.ts +0 -1
- package/dist/utils/useResettableTimeout/useResettableTimeout.d.ts +0 -14
- package/dist/utils/useResize/index.d.ts +0 -2
- package/dist/utils/useResize/types.d.ts +0 -20
- package/dist/utils/useResize/useResize.d.ts +0 -13
- package/dist/utils/useResponsiveSizes/index.d.ts +0 -1
- package/dist/utils/useResponsiveSizes/useResponsiveSizes.d.ts +0 -16
- package/dist/utils/useScaleDown/index.d.ts +0 -1
- package/dist/utils/useScaleDown/scaleDown.d.ts +0 -13
- package/dist/utils/useScaleDown/useScaleDown.d.ts +0 -16
- package/dist/utils/useScroll/getScrollVectors.d.ts +0 -11
- package/dist/utils/useScroll/index.d.ts +0 -3
- package/dist/utils/useScroll/types.d.ts +0 -49
- package/dist/utils/useScroll/useScroll.d.ts +0 -16
- package/dist/utils/useScrollDnd/index.d.ts +0 -1
- package/dist/utils/useScrollDnd/useScrollDnd.d.ts +0 -7
- package/dist/utils/useToggle/index.d.ts +0 -1
- package/dist/utils/useToggle/useToggle.d.ts +0 -12
- package/dist/utils/validators/index.d.ts +0 -1
- package/dist/utils/validators/validators.d.ts +0 -60
- package/dist/view/View.d.ts +0 -13
- package/dist/view/content/ViewContent.d.ts +0 -25
- package/dist/view/content/index.d.ts +0 -1
- package/dist/view/contentBar/ViewContentBar.d.ts +0 -9
- package/dist/view/contentBar/index.d.ts +0 -1
- package/dist/view/contentWrapper/ViewContentWrapper.d.ts +0 -9
- package/dist/view/contentWrapper/index.d.ts +0 -1
- package/dist/view/footer/ViewFooter.d.ts +0 -9
- package/dist/view/footer/index.d.ts +0 -1
- package/dist/view/header/ViewHeader.d.ts +0 -9
- package/dist/view/header/index.d.ts +0 -1
- package/dist/view/index.d.ts +0 -8
- package/dist/view/sideContent/ViewSideContent.d.ts +0 -9
- package/dist/view/sideContent/index.d.ts +0 -1
- package/dist/viewDialog/ViewDialog.d.ts +0 -66
- package/dist/viewDialog/index.d.ts +0 -2
- package/dist/viewDialog/useSetInitialDimensions/index.d.ts +0 -1
- package/dist/viewDialog/useSetInitialDimensions/useSetInitialDimensions.d.ts +0 -10
- package/dist/viewWrapper/ViewWrapper.d.ts +0 -13
- package/dist/viewWrapper/index.d.ts +0 -1
package/dist/tag/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const TagLabel: React.FC<Props>;
|
|
3
|
-
interface Props {
|
|
4
|
-
/**
|
|
5
|
-
* Emphasizes tag content.
|
|
6
|
-
*/
|
|
7
|
-
bold?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Sets component's children.
|
|
10
|
-
*/
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export default TagLabel;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TagLabel';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const TagList: React.FC<Props>;
|
|
3
|
-
export interface Props {
|
|
4
|
-
/**
|
|
5
|
-
* Main content of the component.
|
|
6
|
-
*/
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* Optional root class name.
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Indicates whether tag list should hide overflown items.
|
|
14
|
-
*/
|
|
15
|
-
itemOverflow?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export default TagList;
|
package/dist/tag/list/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TagList';
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const TagInput: React.FC<Props>;
|
|
3
|
-
export interface Props {
|
|
4
|
-
/**
|
|
5
|
-
* Input's class name.
|
|
6
|
-
*/
|
|
7
|
-
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Label displayed in the popup when hovering over copy button.
|
|
10
|
-
*/
|
|
11
|
-
copyBtnLabel?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Label displayed in the popup upon clicking on the copy button.
|
|
14
|
-
*/
|
|
15
|
-
copyBtnLabelCopied?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Input field id.
|
|
18
|
-
*/
|
|
19
|
-
id: string;
|
|
20
|
-
/**
|
|
21
|
-
* Callback invoked when component gains focus.
|
|
22
|
-
*/
|
|
23
|
-
onFocus?: () => void;
|
|
24
|
-
/**
|
|
25
|
-
* Callback invoked when component loses focus.
|
|
26
|
-
*/
|
|
27
|
-
onBlur?: () => void;
|
|
28
|
-
/**
|
|
29
|
-
* Callback invoked when tags change.
|
|
30
|
-
*/
|
|
31
|
-
onChange: (tags: string[]) => void;
|
|
32
|
-
/**
|
|
33
|
-
* Input placeholder.
|
|
34
|
-
*/
|
|
35
|
-
placeholder?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Indicate error in input element.
|
|
38
|
-
*/
|
|
39
|
-
error?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* List of tags to render.
|
|
42
|
-
*/
|
|
43
|
-
tags: {
|
|
44
|
-
label: string;
|
|
45
|
-
bold?: boolean;
|
|
46
|
-
removeLabel?: string;
|
|
47
|
-
title?: string;
|
|
48
|
-
}[];
|
|
49
|
-
}
|
|
50
|
-
export default TagInput;
|
package/dist/tagInput/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TagInput';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PopperPlacement } from '../popper';
|
|
3
|
-
declare const Tooltip: React.FC<Props>;
|
|
4
|
-
export interface Props {
|
|
5
|
-
/**
|
|
6
|
-
* Main content of the component.
|
|
7
|
-
* It must be a single child that accepts `ref`.
|
|
8
|
-
*/
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
/**
|
|
11
|
-
* Delay before displaying the tooltip.
|
|
12
|
-
*/
|
|
13
|
-
delay?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Tooltip placement.
|
|
16
|
-
*/
|
|
17
|
-
placement?: PopperPlacement;
|
|
18
|
-
/**
|
|
19
|
-
* Tooltip helper text.
|
|
20
|
-
*/
|
|
21
|
-
title: string;
|
|
22
|
-
}
|
|
23
|
-
export default Tooltip;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IconName } from '../../icon';
|
|
3
|
-
import { PopperPlacement } from '../../popper';
|
|
4
|
-
declare const TooltipIcon: React.FC<Props>;
|
|
5
|
-
export interface Props {
|
|
6
|
-
/**
|
|
7
|
-
* Icon to display.
|
|
8
|
-
*/
|
|
9
|
-
iconName: IconName;
|
|
10
|
-
/**
|
|
11
|
-
* Delay before displaying the tooltip.
|
|
12
|
-
*/
|
|
13
|
-
delay?: number;
|
|
14
|
-
/**
|
|
15
|
-
* Tooltip placement.
|
|
16
|
-
*/
|
|
17
|
-
placement?: PopperPlacement;
|
|
18
|
-
/**
|
|
19
|
-
* Tooltip helper text.
|
|
20
|
-
*/
|
|
21
|
-
title: string;
|
|
22
|
-
}
|
|
23
|
-
export default TooltipIcon;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TooltipIcon';
|
package/dist/tooltip/index.d.ts
DELETED
package/dist/topbar/Topbar.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const Topbar: React.FC<Props>;
|
|
3
|
-
interface Props {
|
|
4
|
-
/**
|
|
5
|
-
* Main content of the component.
|
|
6
|
-
*/
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* Content rendered on the right side of the bar.
|
|
10
|
-
*/
|
|
11
|
-
sideContent: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export default Topbar;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { IconName, IconSize } from '../../icon';
|
|
3
|
-
/**
|
|
4
|
-
* `TopbarAction` component acts as a props carrier only.
|
|
5
|
-
*/
|
|
6
|
-
declare const TopbarAction: React.FC<Props>;
|
|
7
|
-
export interface Props {
|
|
8
|
-
/**
|
|
9
|
-
* Applies active styling.
|
|
10
|
-
*/
|
|
11
|
-
active?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Associated icon.
|
|
14
|
-
*/
|
|
15
|
-
icon: IconName;
|
|
16
|
-
/**
|
|
17
|
-
* Icon size.
|
|
18
|
-
*/
|
|
19
|
-
iconSize?: IconSize;
|
|
20
|
-
/**
|
|
21
|
-
* Action label.
|
|
22
|
-
*/
|
|
23
|
-
label: string;
|
|
24
|
-
/**
|
|
25
|
-
* Indicates if loading is in progress.
|
|
26
|
-
*/
|
|
27
|
-
loading?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Displays as disabled.
|
|
30
|
-
*/
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Action invoked upon click.
|
|
34
|
-
*/
|
|
35
|
-
onClick?: () => void;
|
|
36
|
-
/**
|
|
37
|
-
* Download action URL.
|
|
38
|
-
*/
|
|
39
|
-
downloadUrl?: string;
|
|
40
|
-
}
|
|
41
|
-
export default TopbarAction;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Props as TopbarActionProps } from '../action';
|
|
3
|
-
declare const TopbarActionsMenuItems: React.FC<Props>;
|
|
4
|
-
export interface Props {
|
|
5
|
-
items: TopbarActionProps[];
|
|
6
|
-
visibleItems: number;
|
|
7
|
-
}
|
|
8
|
-
export default TopbarActionsMenuItems;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './TopbarActions';
|
package/dist/topbar/index.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ViewDialogProps } from '../viewDialog';
|
|
3
|
-
declare const UIProvider: React.FC<Props>;
|
|
4
|
-
export interface Props {
|
|
5
|
-
/**
|
|
6
|
-
* Main content.
|
|
7
|
-
*/
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Initial navbar mode.
|
|
11
|
-
*/
|
|
12
|
-
navbarCollapsed?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Initial navbar width.
|
|
15
|
-
*/
|
|
16
|
-
navbarWidth?: number;
|
|
17
|
-
/**
|
|
18
|
-
* Callback invoked whenever navbar mode changes.
|
|
19
|
-
*/
|
|
20
|
-
onNavbarCollapse?: (collapsed: boolean) => void;
|
|
21
|
-
/**
|
|
22
|
-
* Callback invoked whenever navbar resize ends.
|
|
23
|
-
*/
|
|
24
|
-
onNavbarWidthChange?: (width: number) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Dialog mode options.
|
|
27
|
-
*/
|
|
28
|
-
dialog?: Omit<ViewDialogProps, 'children'>;
|
|
29
|
-
/**
|
|
30
|
-
* Name of selected theme.
|
|
31
|
-
*/
|
|
32
|
-
theme?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Aria label to set on root element.
|
|
35
|
-
*/
|
|
36
|
-
label?: string;
|
|
37
|
-
}
|
|
38
|
-
export default UIProvider;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface UIContext {
|
|
3
|
-
/**
|
|
4
|
-
* Represents UI's root element.
|
|
5
|
-
*/
|
|
6
|
-
rootEl: HTMLDivElement | null;
|
|
7
|
-
/**
|
|
8
|
-
* Holds info about animation duration (in ms).
|
|
9
|
-
*
|
|
10
|
-
* Note that these values are extracted from CSS variables.
|
|
11
|
-
* Therefore, CSS variables act here as the single source of truth.
|
|
12
|
-
*/
|
|
13
|
-
animationDuration: {
|
|
14
|
-
primary: number;
|
|
15
|
-
secondary: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Indicates if navbar should be collapsed.
|
|
19
|
-
*/
|
|
20
|
-
navbarCollapsed?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Initial navbar width.
|
|
23
|
-
*/
|
|
24
|
-
navbarWidth?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Callback invoked whenever navbar is collapsed.
|
|
27
|
-
*/
|
|
28
|
-
onNavbarCollapse: (collapsed: boolean) => void;
|
|
29
|
-
/**
|
|
30
|
-
* Callback invoked whenever navbar width changes.
|
|
31
|
-
*/
|
|
32
|
-
onNavbarWidthChange: (width: number) => void;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Defines React context for i18n and sets defaults.
|
|
36
|
-
*/
|
|
37
|
-
export declare const UIContext: React.Context<UIContext>;
|
|
38
|
-
export declare const useUIContext: () => UIContext;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './base64FromBlurHash';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Given preferred value and optional edge values,
|
|
3
|
-
* chooses the one that is most suitable:
|
|
4
|
-
*
|
|
5
|
-
* - min value if preferred value is below min
|
|
6
|
-
* - max value if preferred value is above max
|
|
7
|
-
* - preferred value otherwise
|
|
8
|
-
*
|
|
9
|
-
* @param val preferred value
|
|
10
|
-
* @param min optional minimum value
|
|
11
|
-
* @param max optional maximum value
|
|
12
|
-
* @returns chosen value
|
|
13
|
-
*/
|
|
14
|
-
export declare const clamp: (val: number, min?: number, max?: number) => number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './clamp';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const copyToClipboard: (text: string) => Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './clipboard';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './clsx';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './events';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Unit multipliers (in s).
|
|
3
|
-
*/
|
|
4
|
-
export declare const m = 60;
|
|
5
|
-
export declare const h: number;
|
|
6
|
-
/**
|
|
7
|
-
* Given time distance in s, formats it by rounding to nearest time unit in accordance with predefined buckets.
|
|
8
|
-
*
|
|
9
|
-
* @param t time left (in s)
|
|
10
|
-
*/
|
|
11
|
-
export declare const formatTimeDistance: (t: number) => {
|
|
12
|
-
h: number;
|
|
13
|
-
m: number;
|
|
14
|
-
s: number;
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { formatTimeDistance } from './formatTimeDistance';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Retrieves amount of pixels in a blob if it's an image.
|
|
3
|
-
* If given blob is an invalid image, returns undefined.
|
|
4
|
-
*
|
|
5
|
-
* @param data blob data to measure
|
|
6
|
-
* @returns amount of pixels
|
|
7
|
-
*/
|
|
8
|
-
export declare const getPixelCountFromImageBlob: (data: Blob) => Promise<number | undefined>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './getPixelCountFromImageBlob';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './getStandardDeviation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './getValidChildren';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shorthand for recommended use of hasOwnProperty (see https://eslint.org/docs/rules/no-prototype-builtins).
|
|
3
|
-
*
|
|
4
|
-
* @param object checked object
|
|
5
|
-
* @param propertyKey property key to check
|
|
6
|
-
*/
|
|
7
|
-
export declare const hasOwnProperty: (object: Record<string, unknown>, propertyKey: string) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hasOwnProperty';
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export * from './base64FromBlurHash';
|
|
2
|
-
export * from './clamp';
|
|
3
|
-
export * from './clipboard';
|
|
4
|
-
export * from './clsx';
|
|
5
|
-
export * from './events';
|
|
6
|
-
export * from './formatTimeDistance';
|
|
7
|
-
export * from './getPixelCountFromImageBlob';
|
|
8
|
-
export * from './getStandardDeviation';
|
|
9
|
-
export * from './getValidChildren';
|
|
10
|
-
export * from './hasOwnProperty';
|
|
11
|
-
export * from './keyboard';
|
|
12
|
-
export * from './noOp';
|
|
13
|
-
export * from './rInterval';
|
|
14
|
-
export * from './useBatchUpdate';
|
|
15
|
-
export * from './useClickAway';
|
|
16
|
-
export * from './useClipboard';
|
|
17
|
-
export * from './useDeferredUnmount';
|
|
18
|
-
export * from './useDelay';
|
|
19
|
-
export * from './useDraggable';
|
|
20
|
-
export * from './useIsMounted';
|
|
21
|
-
export * from './useIsomorphicLayoutEffect';
|
|
22
|
-
export * from './useItemsOverflow';
|
|
23
|
-
export * from './useResettableTimeout';
|
|
24
|
-
export * from './useResponsiveSizes';
|
|
25
|
-
export * from './useElementVisibility';
|
|
26
|
-
export * from './useFilesDrop';
|
|
27
|
-
export * from './useGridSelection';
|
|
28
|
-
export * from './useResize';
|
|
29
|
-
export * from './useToggle';
|
|
30
|
-
export * from './useScaleDown';
|
|
31
|
-
export * from './useScroll';
|
|
32
|
-
export * from './useScrollDnd';
|
|
33
|
-
export * from './useDownload';
|
|
34
|
-
export * from './validators';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './keyboard';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { KeyCombination, KeyEventLike, KeyProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Checks if event matches a single key combination.
|
|
4
|
-
*
|
|
5
|
-
* @param evt keyboard event
|
|
6
|
-
* @param currentValue event key or code value
|
|
7
|
-
* @param combination key combination
|
|
8
|
-
* @returns flag indicating if combination is matched
|
|
9
|
-
*/
|
|
10
|
-
export declare const matchesCombination: (evt: KeyEventLike, currentValue: string, { value, mod }: KeyCombination) => boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Creates `keydown` event listener for configured key combination(s).
|
|
13
|
-
*
|
|
14
|
-
* @param props key props
|
|
15
|
-
* @returns event listener
|
|
16
|
-
*/
|
|
17
|
-
export declare const getKeyHandler: (props: KeyProps[] | KeyProps) => (evt: KeyEventLike) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './noOp';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const noOp: () => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { RInterval } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Allows to use `requestAnimationFrame` in a manner similar to `setInterval`.
|
|
4
|
-
* It should be used for animations instead of `setTimeout` and `setInterval`.
|
|
5
|
-
*
|
|
6
|
-
* @param callback callback invoked within a fram
|
|
7
|
-
* @param delay optional callback invocation delay
|
|
8
|
-
* @returns interval utils
|
|
9
|
-
*/
|
|
10
|
-
export declare const rInterval: (callback: () => void, delay?: number) => RInterval;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useBatchUpdate';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BatchUpdateBatch, BatchUpdatePayload } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Batches updates and releases them in specified intervals.
|
|
5
|
-
* Accumulates total number of updates that happened within a batch.
|
|
6
|
-
*
|
|
7
|
-
* This hook is useful for grouping high frequency updates into a single batch,
|
|
8
|
-
* so that downstream updates do not happen too often.
|
|
9
|
-
*
|
|
10
|
-
* @param updateCb callback that receives current batch in specified intervals
|
|
11
|
-
* @param batchUpdateInterval instructs how often batch is released
|
|
12
|
-
* @returns actions and batch
|
|
13
|
-
*/
|
|
14
|
-
export declare const useBatchUpdate: <Payload extends BatchUpdatePayload>(updateCb: (batch: BatchUpdateBatch<Payload>) => void, batchUpdateInterval: number) => {
|
|
15
|
-
batch: React.MutableRefObject<BatchUpdateBatch<Payload>>;
|
|
16
|
-
pushUpdate: (payload: Payload) => void;
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useClickAway';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hook that allows to detect click events within app root but outside specified element.
|
|
3
|
-
*
|
|
4
|
-
* @param container outer container
|
|
5
|
-
* @param el element outside which clicks should be detected
|
|
6
|
-
* @param ignoredEl optional element to ignore
|
|
7
|
-
* @param onClick callback invoked if click outside registered elements was detected
|
|
8
|
-
* @returns action for registering elements
|
|
9
|
-
*/
|
|
10
|
-
export declare const useClickAway: (container?: HTMLElement | null, el?: HTMLElement | null, ignoredEl?: HTMLElement | null, onClick?: () => void) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useClipboard';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useDeferredUnmount';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Use this hook in order to defer unmount of a component.
|
|
3
|
-
* It makes sure that component relying on this hook can be mounted for at least `waitFor` period.
|
|
4
|
-
* This is useful to keep loader-like components mounted for a minimum time to avoid "flashing" effect.
|
|
5
|
-
*
|
|
6
|
-
* @param loading loading flag
|
|
7
|
-
* @param waitFor indicates minimum mount time
|
|
8
|
-
* @returns flag indicating if component relying on this hook should be kept mounted
|
|
9
|
-
*/
|
|
10
|
-
export declare const useDeferredUnmount: (loading: boolean, waitFor?: number) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useDelay';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Allows to delay `shouldWait` flag by a value specified by `delay` option.
|
|
3
|
-
*
|
|
4
|
-
* @param shouldWait observed flag
|
|
5
|
-
* @param delay delay time (in ms)
|
|
6
|
-
* @returns flag indicating if `delay` time has passed and `shouldWait` is still `true`.
|
|
7
|
-
*/
|
|
8
|
-
export declare const useDelay: (shouldWait: boolean, delay: number) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useDownload';
|