@workday/canvas-kit-react 8.5.0-339-next.0 → 8.5.0-342-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-bar/lib/ActionBar.tsx +44 -0
- package/action-bar/lib/ActionBarOverflowButton.tsx +2 -2
- package/banner/lib/Banner.tsx +56 -0
- package/banner/lib/BannerIcon.tsx +0 -1
- package/breadcrumbs/lib/Breadcrumbs.tsx +77 -56
- package/breadcrumbs/lib/BreadcrumbsItem.tsx +2 -2
- package/button/lib/BaseButton.tsx +3 -2
- package/button/lib/DeleteButton.tsx +5 -1
- package/button/lib/ExternalHyperlink.tsx +6 -7
- package/button/lib/Hyperlink.tsx +6 -2
- package/button/lib/PrimaryButton.tsx +9 -5
- package/button/lib/SecondaryButton.tsx +9 -0
- package/button/lib/TertiaryButton.tsx +10 -9
- package/card/lib/Card.tsx +36 -0
- package/checkbox/lib/Checkbox.tsx +1 -7
- package/collection/lib/ListBox.tsx +19 -6
- package/collection/lib/useCursorListModel.tsx +9 -2
- package/collection/lib/useGridModel.ts +4 -0
- package/collection/lib/useListItemRegister.tsx +11 -2
- package/collection/lib/useListItemRovingFocus.tsx +11 -3
- package/collection/lib/useListItemSelect.tsx +12 -0
- package/collection/lib/useListModel.tsx +20 -3
- package/collection/lib/useListRenderItem.tsx +14 -0
- package/collection/lib/useListResetCursorOnBlur.tsx +12 -1
- package/collection/lib/useOverflowListItemMeasure.tsx +11 -0
- package/collection/lib/useOverflowListMeasure.ts +4 -0
- package/collection/lib/useOverflowListTarget.tsx +4 -0
- package/collection/lib/useSelectionListModel.tsx +13 -1
- package/common/lib/EllipsisText.tsx +11 -3
- package/common/lib/theming/getObjectProxy.ts +3 -2
- package/common/lib/utils/components.ts +106 -19
- package/dialog/lib/DialogPopper.tsx +3 -0
- package/disclosure/lib/useDisclosureModel.tsx +2 -2
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +267 -223
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBar.js +44 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +11 -11
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +11 -11
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +11 -11
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.js +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +107 -107
- package/dist/commonjs/banner/lib/Banner.d.ts +60 -4
- package/dist/commonjs/banner/lib/Banner.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/Banner.js +56 -0
- package/dist/commonjs/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerIcon.d.ts +1 -2
- package/dist/commonjs/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBanner.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +305 -325
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.js +77 -56
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +11 -11
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.js +2 -2
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +7 -7
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +153 -153
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +11 -11
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +107 -107
- package/dist/commonjs/button/lib/BaseButton.d.ts +6 -5
- package/dist/commonjs/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/DeleteButton.d.ts +6 -2
- package/dist/commonjs/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/DeleteButton.js +6 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.d.ts +5 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.js +6 -2
- package/dist/commonjs/button/lib/Hyperlink.d.ts +5 -1
- package/dist/commonjs/button/lib/Hyperlink.d.ts.map +1 -1
- package/dist/commonjs/button/lib/Hyperlink.js +6 -2
- package/dist/commonjs/button/lib/PrimaryButton.d.ts +10 -6
- package/dist/commonjs/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +9 -0
- package/dist/commonjs/button/lib/SecondaryButton.d.ts +10 -1
- package/dist/commonjs/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/SecondaryButton.js +9 -0
- package/dist/commonjs/button/lib/TertiaryButton.d.ts +11 -8
- package/dist/commonjs/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/TertiaryButton.js +12 -2
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.js +1 -1
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts +1 -1
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.d.ts +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.d.ts.map +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.js +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/commonjs/card/lib/Card.d.ts +39 -3
- package/dist/commonjs/card/lib/Card.d.ts.map +1 -1
- package/dist/commonjs/card/lib/Card.js +36 -0
- package/dist/commonjs/card/lib/CardBody.d.ts +1 -1
- package/dist/commonjs/card/lib/CardBody.d.ts.map +1 -1
- package/dist/commonjs/card/lib/CardHeading.d.ts +1 -1
- package/dist/commonjs/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts +2 -2
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/commonjs/checkbox/lib/Checkbox.js +3 -3
- package/dist/commonjs/collection/lib/ListBox.d.ts +158 -82
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +21 -8
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts +10 -10
- package/dist/commonjs/collection/lib/useBaseListModel.js +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +47 -36
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useGridModel.d.ts +79 -75
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useGridModel.js +4 -0
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +14 -5
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRegister.js +11 -2
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +14 -6
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +11 -3
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +15 -3
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemSelect.js +12 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts +95 -78
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListModel.js +20 -3
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts +14 -0
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListRenderItem.js +14 -0
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +15 -4
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.js +12 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +14 -3
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +11 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +7 -3
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +4 -0
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +99 -99
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +7 -3
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +4 -0
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +88 -76
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.js +6 -0
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts +1 -1
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +2 -0
- package/dist/commonjs/common/lib/EllipsisText.d.ts +1 -2
- package/dist/commonjs/common/lib/EllipsisText.d.ts.map +1 -1
- package/dist/commonjs/common/lib/EllipsisText.js +21 -2
- package/dist/commonjs/common/lib/InputProvider.d.ts +1 -1
- package/dist/commonjs/common/lib/InputProvider.js +2 -0
- package/dist/commonjs/common/lib/responsive/useResponsiveContainerStyles.js +5 -7
- package/dist/commonjs/common/lib/theming/getObjectProxy.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/getObjectProxy.js +3 -2
- package/dist/commonjs/common/lib/utils/components.d.ts +113 -26
- package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/components.js +72 -9
- package/dist/commonjs/common/lib/utils/models.js +2 -1
- package/dist/commonjs/dialog/lib/Dialog.d.ts +24 -24
- package/dist/commonjs/dialog/lib/DialogCard.d.ts +3 -3
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts +3 -3
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/DialogPopper.js +3 -0
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.d.ts +2 -2
- package/dist/commonjs/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.d.ts +2 -2
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.js +1 -1
- package/dist/commonjs/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/commonjs/disclosure/lib/useDisclosureModel.js +2 -2
- package/dist/commonjs/form-field/lib/FormField.d.ts +1 -2
- package/dist/commonjs/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/FormField.js +2 -0
- package/dist/commonjs/form-field/lib/Hint.js +2 -0
- package/dist/commonjs/form-field/lib/Label.js +7 -7
- package/dist/commonjs/icon/lib/AccentIcon.d.ts +1 -1
- package/dist/commonjs/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AppletIcon.d.ts +1 -1
- package/dist/commonjs/icon/lib/Graphic.d.ts +1 -1
- package/dist/commonjs/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Icon.d.ts +1 -1
- package/dist/commonjs/icon/lib/Icon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Svg.d.ts +1 -1
- package/dist/commonjs/icon/lib/Svg.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIcon.d.ts +1 -2
- package/dist/commonjs/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Box.d.ts +1 -1
- package/dist/commonjs/layout/lib/Box.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Column.js +2 -0
- package/dist/commonjs/layout/lib/Flex.d.ts +2 -2
- package/dist/commonjs/layout/lib/Grid.d.ts +2 -2
- package/dist/commonjs/layout/lib/Layout.js +2 -0
- package/dist/commonjs/layout/lib/Stack.d.ts +7 -6
- package/dist/commonjs/layout/lib/Stack.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/border/color.d.ts +7 -7
- package/dist/commonjs/layout/lib/utils/border/index.js +5 -7
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts +1 -1
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/layout.d.ts +1 -1
- package/dist/commonjs/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/stack.d.ts +0 -2
- package/dist/commonjs/layout/lib/utils/stack.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.d.ts +218 -378
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.js +37 -9
- package/dist/commonjs/menu/lib/MenuCard.d.ts +8 -8
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +8 -8
- package/dist/commonjs/menu/lib/MenuDivider.d.ts +1 -1
- package/dist/commonjs/menu/lib/MenuDivider.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts +10 -10
- package/dist/commonjs/menu/lib/MenuList.d.ts +10 -10
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +6 -6
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +87 -12
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.js +4 -4
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +173 -173
- package/dist/commonjs/modal/lib/Modal.d.ts +202 -46
- package/dist/commonjs/modal/lib/Modal.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/Modal.js +76 -5
- package/dist/commonjs/modal/lib/ModalBody.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalCard.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.d.ts +3 -3
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts +4 -4
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.d.ts +2 -2
- package/dist/commonjs/modal/lib/hooks/useModalCard.d.ts +2 -2
- package/dist/commonjs/modal/lib/hooks/useModalHeading.d.ts +2 -2
- package/dist/commonjs/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -2
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.js +10 -6
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts +12 -11
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Controls.js +81 -66
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts +4 -3
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.js +14 -7
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts +2 -3
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.js +10 -5
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.d.ts +4 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.js +9 -16
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +9 -0
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.js +2 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.js +2 -14
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts +4 -5
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageButton.js +16 -11
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.js +17 -10
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +230 -38
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Pagination.js +227 -76
- package/dist/commonjs/pagination/lib/Pagination/buildPageRange.js +5 -7
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +2 -2
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/getValidChildren.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/getValidChildren.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.d.ts +45 -15
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.js +45 -15
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.d.ts +3 -1
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.js +5 -4
- package/dist/commonjs/popup/lib/Popper.d.ts +16 -1
- package/dist/commonjs/popup/lib/Popper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popper.js +21 -8
- package/dist/commonjs/popup/lib/Popup.d.ts +183 -22
- package/dist/commonjs/popup/lib/Popup.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popup.js +85 -4
- package/dist/commonjs/popup/lib/PopupBody.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCard.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupPopper.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.js +5 -7
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.d.ts +6 -6
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.js +4 -4
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.d.ts +4 -4
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.js +2 -2
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.d.ts +8 -8
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.js +6 -6
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.d.ts +4 -4
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.js +2 -2
- package/dist/commonjs/popup/lib/hooks/usePopupCard.d.ts +3 -3
- package/dist/commonjs/popup/lib/hooks/usePopupCard.js +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts +5 -4
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.js +3 -2
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.d.ts +3 -3
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.js +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts +4 -3
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.js +2 -1
- package/dist/commonjs/popup/lib/hooks/usePopupStack.d.ts +27 -19
- package/dist/commonjs/popup/lib/hooks/usePopupStack.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupStack.js +26 -18
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.d.ts +3 -3
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.js +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.d.ts +4 -4
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.js +2 -2
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +2 -2
- package/dist/commonjs/radio/lib/Radio.d.ts +1 -1
- package/dist/commonjs/radio/lib/Radio.d.ts.map +1 -1
- package/dist/commonjs/radio/lib/Radio.js +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.d.ts +1 -2
- package/dist/commonjs/radio/lib/RadioGroup.d.ts.map +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.js +2 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +2 -2
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -1
- package/dist/commonjs/select/lib/Select.d.ts +1 -1
- package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
- package/dist/commonjs/select/lib/Select.js +2 -2
- package/dist/commonjs/select/lib/SelectOption.js +2 -0
- package/dist/commonjs/side-panel/lib/SidePanel.js +3 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonHeader.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonHeader.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonShape.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonShape.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonText.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonText.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/skeleton.d.ts +30 -4
- package/dist/commonjs/skeleton/lib/skeleton.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/skeleton.js +27 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +2 -0
- package/dist/commonjs/switch/lib/Switch.d.ts +1 -1
- package/dist/commonjs/table/lib/Table.js +2 -0
- package/dist/commonjs/table/lib/TableRow.d.ts +2 -1
- package/dist/commonjs/table/lib/TableRow.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +585 -382
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.js +94 -2
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +15 -15
- package/dist/commonjs/tabs/lib/TabsList.d.ts +12 -12
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +4 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +6 -6
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +12 -12
- package/dist/commonjs/tabs/lib/TabsOverflowButton.js +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +12 -12
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +8 -8
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +534 -506
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.js +18 -1
- package/dist/commonjs/text/lib/LabelText.d.ts +4 -9
- package/dist/commonjs/text/lib/LabelText.d.ts.map +1 -1
- package/dist/commonjs/text/lib/LabelText.js +3 -8
- package/dist/commonjs/text/lib/Text.d.ts +11 -15
- package/dist/commonjs/text/lib/Text.d.ts.map +1 -1
- package/dist/commonjs/text/lib/Text.js +10 -12
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts +4 -24
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts.map +1 -1
- package/dist/commonjs/text/lib/TypeLevelComponents.js +0 -20
- package/dist/commonjs/text-area/lib/TextArea.d.ts +1 -1
- package/dist/commonjs/text-input/lib/TextInput.d.ts +1 -1
- package/dist/commonjs/toast/lib/Toast.d.ts +1 -1
- package/dist/commonjs/toast/lib/Toast.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/type/index.d.ts +7 -7
- package/dist/commonjs/tokens/lib/type/index.js +2 -2
- package/dist/commonjs/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/commonjs/tooltip/lib/Tooltip.d.ts.map +1 -1
- package/dist/commonjs/tooltip/lib/Tooltip.js +22 -20
- package/dist/commonjs/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +267 -223
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.js +44 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +11 -11
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +11 -11
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +11 -11
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.js +2 -2
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +107 -107
- package/dist/es6/banner/lib/Banner.d.ts +60 -4
- package/dist/es6/banner/lib/Banner.d.ts.map +1 -1
- package/dist/es6/banner/lib/Banner.js +56 -0
- package/dist/es6/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/es6/banner/lib/BannerIcon.d.ts +1 -2
- package/dist/es6/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/es6/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBanner.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerActionText.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerIcon.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerLabel.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +305 -325
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.js +77 -56
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +11 -11
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.js +2 -2
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +7 -7
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +153 -153
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +11 -11
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +107 -107
- package/dist/es6/button/lib/BaseButton.d.ts +6 -5
- package/dist/es6/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/es6/button/lib/DeleteButton.d.ts +6 -2
- package/dist/es6/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/es6/button/lib/DeleteButton.js +6 -1
- package/dist/es6/button/lib/ExternalHyperlink.d.ts +5 -1
- package/dist/es6/button/lib/ExternalHyperlink.d.ts.map +1 -1
- package/dist/es6/button/lib/ExternalHyperlink.js +6 -2
- package/dist/es6/button/lib/Hyperlink.d.ts +5 -1
- package/dist/es6/button/lib/Hyperlink.d.ts.map +1 -1
- package/dist/es6/button/lib/Hyperlink.js +6 -2
- package/dist/es6/button/lib/PrimaryButton.d.ts +10 -6
- package/dist/es6/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +9 -0
- package/dist/es6/button/lib/SecondaryButton.d.ts +10 -1
- package/dist/es6/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/SecondaryButton.js +9 -0
- package/dist/es6/button/lib/TertiaryButton.d.ts +11 -8
- package/dist/es6/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/TertiaryButton.js +12 -2
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.js +1 -1
- package/dist/es6/button/lib/ToolbarIconButton.d.ts +1 -1
- package/dist/es6/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/es6/button/lib/deprecated_Button.d.ts +1 -1
- package/dist/es6/button/lib/deprecated_Button.d.ts.map +1 -1
- package/dist/es6/button/lib/deprecated_Button.js +1 -1
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts +1 -1
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/es6/card/lib/Card.d.ts +39 -3
- package/dist/es6/card/lib/Card.d.ts.map +1 -1
- package/dist/es6/card/lib/Card.js +36 -0
- package/dist/es6/card/lib/CardBody.d.ts +1 -1
- package/dist/es6/card/lib/CardBody.d.ts.map +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/es6/checkbox/lib/Checkbox.d.ts +2 -2
- package/dist/es6/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/es6/checkbox/lib/Checkbox.js +3 -3
- package/dist/es6/collection/lib/ListBox.d.ts +158 -82
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/ListBox.js +19 -6
- package/dist/es6/collection/lib/useBaseListModel.d.ts +10 -10
- package/dist/es6/collection/lib/useBaseListModel.js +1 -1
- package/dist/es6/collection/lib/useCursorListModel.d.ts +47 -36
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useGridModel.d.ts +79 -75
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useGridModel.js +4 -0
- package/dist/es6/collection/lib/useListItemRegister.d.ts +14 -5
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRegister.js +11 -2
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +14 -6
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +11 -3
- package/dist/es6/collection/lib/useListItemSelect.d.ts +15 -3
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemSelect.js +12 -0
- package/dist/es6/collection/lib/useListModel.d.ts +95 -78
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListModel.js +20 -3
- package/dist/es6/collection/lib/useListRenderItem.d.ts +14 -0
- package/dist/es6/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListRenderItem.js +14 -0
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +15 -4
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.js +12 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +14 -3
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +11 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +7 -3
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +4 -0
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +99 -99
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +7 -3
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +4 -0
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +88 -76
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorInput.d.ts +1 -1
- package/dist/es6/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorInput.js +6 -0
- package/dist/es6/color-picker/lib/ColorPreview.d.ts +1 -1
- package/dist/es6/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +2 -0
- package/dist/es6/common/lib/EllipsisText.d.ts +1 -2
- package/dist/es6/common/lib/EllipsisText.d.ts.map +1 -1
- package/dist/es6/common/lib/EllipsisText.js +21 -2
- package/dist/es6/common/lib/InputProvider.d.ts +1 -1
- package/dist/es6/common/lib/InputProvider.js +2 -0
- package/dist/es6/common/lib/responsive/useResponsiveContainerStyles.js +5 -7
- package/dist/es6/common/lib/theming/getObjectProxy.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/getObjectProxy.js +3 -2
- package/dist/es6/common/lib/utils/components.d.ts +113 -26
- package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/components.js +70 -8
- package/dist/es6/common/lib/utils/models.js +2 -1
- package/dist/es6/dialog/lib/Dialog.d.ts +24 -24
- package/dist/es6/dialog/lib/DialogCard.d.ts +3 -3
- package/dist/es6/dialog/lib/DialogPopper.d.ts +3 -3
- package/dist/es6/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/es6/dialog/lib/DialogPopper.js +3 -0
- package/dist/es6/dialog/lib/hooks/useDialogCard.d.ts +2 -2
- package/dist/es6/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/es6/dialog/lib/hooks/useDialogPopper.d.ts +2 -2
- package/dist/es6/dialog/lib/hooks/useDialogPopper.js +1 -1
- package/dist/es6/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/es6/disclosure/lib/useDisclosureModel.js +2 -2
- package/dist/es6/form-field/lib/FormField.d.ts +1 -2
- package/dist/es6/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/es6/form-field/lib/FormField.js +3 -1
- package/dist/es6/form-field/lib/Hint.js +2 -0
- package/dist/es6/form-field/lib/Label.js +7 -7
- package/dist/es6/icon/lib/AccentIcon.d.ts +1 -1
- package/dist/es6/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AppletIcon.d.ts +1 -1
- package/dist/es6/icon/lib/Graphic.d.ts +1 -1
- package/dist/es6/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/es6/icon/lib/Icon.d.ts +1 -1
- package/dist/es6/icon/lib/Icon.d.ts.map +1 -1
- package/dist/es6/icon/lib/Svg.d.ts +1 -1
- package/dist/es6/icon/lib/Svg.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIcon.d.ts +1 -2
- package/dist/es6/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.d.ts +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/es6/layout/lib/Box.d.ts +1 -1
- package/dist/es6/layout/lib/Box.d.ts.map +1 -1
- package/dist/es6/layout/lib/Column.js +2 -0
- package/dist/es6/layout/lib/Flex.d.ts +2 -2
- package/dist/es6/layout/lib/Grid.d.ts +2 -2
- package/dist/es6/layout/lib/Layout.js +2 -0
- package/dist/es6/layout/lib/Stack.d.ts +7 -6
- package/dist/es6/layout/lib/Stack.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/border/color.d.ts +7 -7
- package/dist/es6/layout/lib/utils/border/index.js +5 -7
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts +1 -1
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/layout.d.ts +1 -1
- package/dist/es6/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/stack.d.ts +0 -2
- package/dist/es6/layout/lib/utils/stack.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.d.ts +218 -378
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.js +37 -9
- package/dist/es6/menu/lib/MenuCard.d.ts +8 -8
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +8 -8
- package/dist/es6/menu/lib/MenuDivider.d.ts +1 -1
- package/dist/es6/menu/lib/MenuDivider.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.d.ts +10 -10
- package/dist/es6/menu/lib/MenuList.d.ts +10 -10
- package/dist/es6/menu/lib/MenuPopper.d.ts +6 -6
- package/dist/es6/menu/lib/MenuTarget.d.ts +87 -12
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.js +1 -1
- package/dist/es6/menu/lib/useMenuModel.d.ts +173 -173
- package/dist/es6/modal/lib/Modal.d.ts +202 -46
- package/dist/es6/modal/lib/Modal.d.ts.map +1 -1
- package/dist/es6/modal/lib/Modal.js +76 -5
- package/dist/es6/modal/lib/ModalBody.d.ts +2 -2
- package/dist/es6/modal/lib/ModalCard.d.ts +2 -2
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/es6/modal/lib/ModalOverflowOverlay.d.ts +3 -3
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.d.ts +4 -4
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.d.ts +2 -2
- package/dist/es6/modal/lib/hooks/useModalCard.d.ts +2 -2
- package/dist/es6/modal/lib/hooks/useModalHeading.d.ts +2 -2
- package/dist/es6/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -2
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.js +11 -6
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts +12 -11
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Controls.js +80 -60
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts +4 -3
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.js +14 -6
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts +2 -3
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.js +10 -4
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.d.ts +4 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.js +9 -15
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +9 -0
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.js +1 -0
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.js +2 -14
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts +4 -5
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageButton.js +17 -11
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.js +17 -8
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts +230 -38
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Pagination.js +229 -77
- package/dist/es6/pagination/lib/Pagination/buildPageRange.js +5 -7
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts +2 -2
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/getValidChildren.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/getValidChildren.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.d.ts +45 -15
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.js +45 -15
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.d.ts +3 -1
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.js +4 -3
- package/dist/es6/popup/lib/Popper.d.ts +16 -1
- package/dist/es6/popup/lib/Popper.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popper.js +21 -8
- package/dist/es6/popup/lib/Popup.d.ts +183 -22
- package/dist/es6/popup/lib/Popup.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popup.js +85 -4
- package/dist/es6/popup/lib/PopupBody.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCard.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/es6/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/es6/popup/lib/PopupPopper.d.ts +2 -2
- package/dist/es6/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.js +5 -7
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.d.ts +6 -6
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.js +4 -4
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.d.ts +4 -4
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.js +2 -2
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.d.ts +8 -8
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.js +6 -6
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useFocusRedirect.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useFocusTrap.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useInitialFocus.d.ts +4 -4
- package/dist/es6/popup/lib/hooks/useInitialFocus.js +2 -2
- package/dist/es6/popup/lib/hooks/usePopupCard.d.ts +3 -3
- package/dist/es6/popup/lib/hooks/usePopupCard.js +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts +5 -4
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.js +3 -2
- package/dist/es6/popup/lib/hooks/usePopupHeading.d.ts +3 -3
- package/dist/es6/popup/lib/hooks/usePopupHeading.js +1 -1
- package/dist/es6/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts +4 -3
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupPopper.js +2 -1
- package/dist/es6/popup/lib/hooks/usePopupStack.d.ts +27 -19
- package/dist/es6/popup/lib/hooks/usePopupStack.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupStack.js +26 -18
- package/dist/es6/popup/lib/hooks/usePopupTarget.d.ts +3 -3
- package/dist/es6/popup/lib/hooks/usePopupTarget.js +1 -1
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useReturnFocus.d.ts +4 -4
- package/dist/es6/popup/lib/hooks/useReturnFocus.js +2 -2
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +2 -2
- package/dist/es6/radio/lib/Radio.d.ts +1 -1
- package/dist/es6/radio/lib/Radio.d.ts.map +1 -1
- package/dist/es6/radio/lib/Radio.js +1 -1
- package/dist/es6/radio/lib/RadioGroup.d.ts +1 -2
- package/dist/es6/radio/lib/RadioGroup.d.ts.map +1 -1
- package/dist/es6/radio/lib/RadioGroup.js +3 -1
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +2 -2
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -1
- package/dist/es6/select/lib/Select.d.ts +1 -1
- package/dist/es6/select/lib/Select.d.ts.map +1 -1
- package/dist/es6/select/lib/Select.js +2 -2
- package/dist/es6/select/lib/SelectOption.js +2 -0
- package/dist/es6/side-panel/lib/SidePanel.js +3 -1
- package/dist/es6/skeleton/lib/parts/skeletonHeader.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonHeader.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonShape.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonShape.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonText.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonText.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/skeleton.d.ts +30 -4
- package/dist/es6/skeleton/lib/skeleton.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/skeleton.js +27 -1
- package/dist/es6/status-indicator/lib/StatusIndicator.js +2 -0
- package/dist/es6/switch/lib/Switch.d.ts +1 -1
- package/dist/es6/table/lib/Table.js +2 -0
- package/dist/es6/table/lib/TableRow.d.ts +2 -1
- package/dist/es6/table/lib/TableRow.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +585 -382
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.js +94 -2
- package/dist/es6/tabs/lib/TabsItem.d.ts +15 -15
- package/dist/es6/tabs/lib/TabsList.d.ts +12 -12
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.js +4 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +6 -6
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +12 -12
- package/dist/es6/tabs/lib/TabsOverflowButton.js +2 -2
- package/dist/es6/tabs/lib/TabsPanel.d.ts +12 -12
- package/dist/es6/tabs/lib/TabsPanels.d.ts +8 -8
- package/dist/es6/tabs/lib/useTabsModel.d.ts +534 -506
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.js +18 -1
- package/dist/es6/text/lib/LabelText.d.ts +4 -9
- package/dist/es6/text/lib/LabelText.d.ts.map +1 -1
- package/dist/es6/text/lib/LabelText.js +3 -8
- package/dist/es6/text/lib/Text.d.ts +11 -15
- package/dist/es6/text/lib/Text.d.ts.map +1 -1
- package/dist/es6/text/lib/Text.js +10 -12
- package/dist/es6/text/lib/TypeLevelComponents.d.ts +4 -24
- package/dist/es6/text/lib/TypeLevelComponents.d.ts.map +1 -1
- package/dist/es6/text/lib/TypeLevelComponents.js +0 -20
- package/dist/es6/text-area/lib/TextArea.d.ts +1 -1
- package/dist/es6/text-input/lib/TextInput.d.ts +1 -1
- package/dist/es6/toast/lib/Toast.d.ts +1 -1
- package/dist/es6/toast/lib/Toast.d.ts.map +1 -1
- package/dist/es6/tokens/lib/type/index.d.ts +7 -7
- package/dist/es6/tokens/lib/type/index.js +2 -2
- package/dist/es6/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/es6/tooltip/lib/Tooltip.d.ts.map +1 -1
- package/dist/es6/tooltip/lib/Tooltip.js +23 -20
- package/dist/es6/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/form-field/lib/FormField.tsx +1 -3
- package/icon/lib/SystemIcon.tsx +0 -1
- package/layout/lib/utils/border/color.ts +7 -7
- package/layout/lib/utils/layout.ts +1 -1
- package/menu/lib/Menu.tsx +37 -9
- package/menu/lib/MenuTarget.tsx +1 -1
- package/modal/lib/Modal.tsx +76 -5
- package/package.json +3 -3
- package/pagination/lib/Pagination/AdditionalDetails.tsx +30 -20
- package/pagination/lib/Pagination/Controls.tsx +121 -98
- package/pagination/lib/Pagination/GoTo/Form.tsx +33 -21
- package/pagination/lib/Pagination/GoTo/Label.tsx +21 -10
- package/pagination/lib/Pagination/GoTo/TextInput.tsx +11 -7
- package/pagination/lib/Pagination/GoTo/useGoToForm.tsx +2 -0
- package/pagination/lib/Pagination/Nav.tsx +1 -2
- package/pagination/lib/Pagination/PageButton.tsx +34 -31
- package/pagination/lib/Pagination/PageList.tsx +33 -20
- package/pagination/lib/Pagination/Pagination.tsx +256 -139
- package/pagination/lib/Pagination/common/utils/helpers.ts +45 -15
- package/pagination/lib/Pagination/usePaginationModel.ts +4 -7
- package/popup/lib/Popper.tsx +16 -1
- package/popup/lib/Popup.tsx +85 -4
- package/popup/lib/hooks/useBringToTopOnClick.ts +4 -4
- package/popup/lib/hooks/useCloseOnEscape.ts +2 -2
- package/popup/lib/hooks/useCloseOnOutsideClick.ts +6 -6
- package/popup/lib/hooks/useInitialFocus.tsx +2 -2
- package/popup/lib/hooks/usePopupCard.ts +1 -1
- package/popup/lib/hooks/usePopupCloseButton.ts +3 -2
- package/popup/lib/hooks/usePopupHeading.ts +1 -1
- package/popup/lib/hooks/usePopupPopper.ts +2 -1
- package/popup/lib/hooks/usePopupStack.ts +26 -18
- package/popup/lib/hooks/usePopupTarget.ts +1 -1
- package/popup/lib/hooks/useReturnFocus.tsx +2 -2
- package/radio/lib/RadioGroup.tsx +1 -3
- package/select/lib/Select.tsx +2 -15
- package/skeleton/lib/skeleton.tsx +27 -1
- package/tabs/lib/Tabs.tsx +95 -3
- package/tabs/lib/TabsItem.tsx +2 -2
- package/tabs/lib/TabsList.tsx +4 -1
- package/tabs/lib/TabsOverflowButton.tsx +3 -3
- package/tabs/lib/TabsPanel.tsx +2 -2
- package/tabs/lib/useTabsModel.tsx +16 -0
- package/text/lib/LabelText.tsx +3 -8
- package/text/lib/Text.tsx +17 -21
- package/text/lib/TypeLevelComponents.tsx +0 -20
- package/tokens/lib/type/index.ts +8 -8
- package/tooltip/lib/Tooltip.tsx +42 -39
- package/dist/commonjs/pagination/lib/Pagination/GoTo/GoTo.d.ts +0 -17
- package/dist/commonjs/pagination/lib/Pagination/GoTo/GoTo.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/GoTo.js +0 -58
- package/dist/commonjs/pagination/lib/Pagination/GoTo/index.d.ts +0 -4
- package/dist/commonjs/pagination/lib/Pagination/GoTo/index.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/index.js +0 -16
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.d.ts +0 -17
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.js +0 -35
- package/dist/es6/pagination/lib/Pagination/GoTo/index.d.ts +0 -4
- package/dist/es6/pagination/lib/Pagination/GoTo/index.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/index.js +0 -3
- package/pagination/lib/Pagination/GoTo/GoTo.tsx +0 -36
- package/pagination/lib/Pagination/GoTo/index.ts +0 -4
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The TabsModel extends the [Collection
|
|
4
|
+
* System](/getting-started/for-developers/resources/collection-api/). Tabs have tab items and
|
|
5
|
+
* panels. Tabs can be overflowed if there isn't enough room to render and will overflow to a
|
|
6
|
+
* {@link MenuModel} sub-model.
|
|
7
|
+
*
|
|
8
|
+
* ```tsx
|
|
9
|
+
* const model = useTabsModel({
|
|
10
|
+
* onSelect(data) {
|
|
11
|
+
* console.log('Selected Tab', data)
|
|
12
|
+
* }
|
|
13
|
+
* })
|
|
14
|
+
*
|
|
15
|
+
* <Tabs model={model}>{Tabs child components}</Tabs>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
2
18
|
export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
3
19
|
/**
|
|
4
20
|
* Optional id for the whole `Tabs` group. The `aria-controls` of the `Tab.Item` and `id` of the
|
|
@@ -30,11 +46,13 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
30
46
|
initialCursorId: string;
|
|
31
47
|
columnCount: number;
|
|
32
48
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
33
|
-
getId: (item: any) => string;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*
|
|
49
|
+
getId: (item: any) => string; /**
|
|
50
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
51
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
52
|
+
* state setting phase.
|
|
37
53
|
*/
|
|
54
|
+
getTextValue: (item: any) => string;
|
|
55
|
+
nonInteractiveIds: string[];
|
|
38
56
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
39
57
|
defaultItemHeight: number;
|
|
40
58
|
shouldVirtualize: boolean;
|
|
@@ -49,8 +67,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
49
67
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
50
68
|
placement: import("@popperjs/core").Placement;
|
|
51
69
|
id: string;
|
|
52
|
-
visibility:
|
|
53
|
-
selectedIds:
|
|
70
|
+
visibility: "hidden" | "visible";
|
|
71
|
+
selectedIds: string[] | "all";
|
|
54
72
|
unselectedIds: string[];
|
|
55
73
|
cursorId: string;
|
|
56
74
|
columnCount: number;
|
|
@@ -63,11 +81,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
63
81
|
};
|
|
64
82
|
UNSTABLE_defaultItemHeight: number;
|
|
65
83
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
66
|
-
orientation:
|
|
84
|
+
orientation: "horizontal" | "vertical";
|
|
67
85
|
indexRef: React.MutableRefObject<number>;
|
|
68
86
|
nonInteractiveIds: string[];
|
|
69
87
|
isVirtualized: boolean;
|
|
70
|
-
items: import("
|
|
88
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
71
89
|
mode: "multiple" | "single";
|
|
72
90
|
}) => void) | undefined;
|
|
73
91
|
onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -77,8 +95,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
77
95
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
78
96
|
placement: import("@popperjs/core").Placement;
|
|
79
97
|
id: string;
|
|
80
|
-
visibility:
|
|
81
|
-
selectedIds:
|
|
98
|
+
visibility: "hidden" | "visible";
|
|
99
|
+
selectedIds: string[] | "all";
|
|
82
100
|
unselectedIds: string[];
|
|
83
101
|
cursorId: string;
|
|
84
102
|
columnCount: number;
|
|
@@ -91,11 +109,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
91
109
|
};
|
|
92
110
|
UNSTABLE_defaultItemHeight: number;
|
|
93
111
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
94
|
-
orientation:
|
|
112
|
+
orientation: "horizontal" | "vertical";
|
|
95
113
|
indexRef: React.MutableRefObject<number>;
|
|
96
114
|
nonInteractiveIds: string[];
|
|
97
115
|
isVirtualized: boolean;
|
|
98
|
-
items: import("
|
|
116
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
99
117
|
mode: "multiple" | "single";
|
|
100
118
|
}) => void) | undefined;
|
|
101
119
|
onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -105,8 +123,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
105
123
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
106
124
|
placement: import("@popperjs/core").Placement;
|
|
107
125
|
id: string;
|
|
108
|
-
visibility:
|
|
109
|
-
selectedIds:
|
|
126
|
+
visibility: "hidden" | "visible";
|
|
127
|
+
selectedIds: string[] | "all";
|
|
110
128
|
unselectedIds: string[];
|
|
111
129
|
cursorId: string;
|
|
112
130
|
columnCount: number;
|
|
@@ -119,11 +137,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
119
137
|
};
|
|
120
138
|
UNSTABLE_defaultItemHeight: number;
|
|
121
139
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
122
|
-
orientation:
|
|
140
|
+
orientation: "horizontal" | "vertical";
|
|
123
141
|
indexRef: React.MutableRefObject<number>;
|
|
124
142
|
nonInteractiveIds: string[];
|
|
125
143
|
isVirtualized: boolean;
|
|
126
|
-
items: import("
|
|
144
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
127
145
|
mode: "multiple" | "single";
|
|
128
146
|
}) => void) | undefined;
|
|
129
147
|
onSelect?: ((data: {
|
|
@@ -135,8 +153,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
135
153
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
136
154
|
placement: import("@popperjs/core").Placement;
|
|
137
155
|
id: string;
|
|
138
|
-
visibility:
|
|
139
|
-
selectedIds:
|
|
156
|
+
visibility: "hidden" | "visible";
|
|
157
|
+
selectedIds: string[] | "all";
|
|
140
158
|
unselectedIds: string[];
|
|
141
159
|
cursorId: string;
|
|
142
160
|
columnCount: number;
|
|
@@ -149,11 +167,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
149
167
|
};
|
|
150
168
|
UNSTABLE_defaultItemHeight: number;
|
|
151
169
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
152
|
-
orientation:
|
|
170
|
+
orientation: "horizontal" | "vertical";
|
|
153
171
|
indexRef: React.MutableRefObject<number>;
|
|
154
172
|
nonInteractiveIds: string[];
|
|
155
173
|
isVirtualized: boolean;
|
|
156
|
-
items: import("
|
|
174
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
157
175
|
mode: "multiple" | "single";
|
|
158
176
|
}) => void) | undefined;
|
|
159
177
|
onSelectAll?: ((data: undefined, prevState: {
|
|
@@ -163,8 +181,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
163
181
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
164
182
|
placement: import("@popperjs/core").Placement;
|
|
165
183
|
id: string;
|
|
166
|
-
visibility:
|
|
167
|
-
selectedIds:
|
|
184
|
+
visibility: "hidden" | "visible";
|
|
185
|
+
selectedIds: string[] | "all";
|
|
168
186
|
unselectedIds: string[];
|
|
169
187
|
cursorId: string;
|
|
170
188
|
columnCount: number;
|
|
@@ -177,11 +195,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
177
195
|
};
|
|
178
196
|
UNSTABLE_defaultItemHeight: number;
|
|
179
197
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
180
|
-
orientation:
|
|
198
|
+
orientation: "horizontal" | "vertical";
|
|
181
199
|
indexRef: React.MutableRefObject<number>;
|
|
182
200
|
nonInteractiveIds: string[];
|
|
183
201
|
isVirtualized: boolean;
|
|
184
|
-
items: import("
|
|
202
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
185
203
|
mode: "multiple" | "single";
|
|
186
204
|
}) => void) | undefined;
|
|
187
205
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
@@ -191,8 +209,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
191
209
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
192
210
|
placement: import("@popperjs/core").Placement;
|
|
193
211
|
id: string;
|
|
194
|
-
visibility:
|
|
195
|
-
selectedIds:
|
|
212
|
+
visibility: "hidden" | "visible";
|
|
213
|
+
selectedIds: string[] | "all";
|
|
196
214
|
unselectedIds: string[];
|
|
197
215
|
cursorId: string;
|
|
198
216
|
columnCount: number;
|
|
@@ -205,11 +223,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
205
223
|
};
|
|
206
224
|
UNSTABLE_defaultItemHeight: number;
|
|
207
225
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
208
|
-
orientation:
|
|
226
|
+
orientation: "horizontal" | "vertical";
|
|
209
227
|
indexRef: React.MutableRefObject<number>;
|
|
210
228
|
nonInteractiveIds: string[];
|
|
211
229
|
isVirtualized: boolean;
|
|
212
|
-
items: import("
|
|
230
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
213
231
|
mode: "multiple" | "single";
|
|
214
232
|
}) => void) | undefined;
|
|
215
233
|
onRegisterItem?: ((data: {
|
|
@@ -222,8 +240,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
222
240
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
223
241
|
placement: import("@popperjs/core").Placement;
|
|
224
242
|
id: string;
|
|
225
|
-
visibility:
|
|
226
|
-
selectedIds:
|
|
243
|
+
visibility: "hidden" | "visible";
|
|
244
|
+
selectedIds: string[] | "all";
|
|
227
245
|
unselectedIds: string[];
|
|
228
246
|
cursorId: string;
|
|
229
247
|
columnCount: number;
|
|
@@ -236,11 +254,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
236
254
|
};
|
|
237
255
|
UNSTABLE_defaultItemHeight: number;
|
|
238
256
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
239
|
-
orientation:
|
|
257
|
+
orientation: "horizontal" | "vertical";
|
|
240
258
|
indexRef: React.MutableRefObject<number>;
|
|
241
259
|
nonInteractiveIds: string[];
|
|
242
260
|
isVirtualized: boolean;
|
|
243
|
-
items: import("
|
|
261
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
244
262
|
mode: "multiple" | "single";
|
|
245
263
|
}) => void) | undefined;
|
|
246
264
|
onGoTo?: ((data: {
|
|
@@ -252,8 +270,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
252
270
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
253
271
|
placement: import("@popperjs/core").Placement;
|
|
254
272
|
id: string;
|
|
255
|
-
visibility:
|
|
256
|
-
selectedIds:
|
|
273
|
+
visibility: "hidden" | "visible";
|
|
274
|
+
selectedIds: string[] | "all";
|
|
257
275
|
unselectedIds: string[];
|
|
258
276
|
cursorId: string;
|
|
259
277
|
columnCount: number;
|
|
@@ -266,11 +284,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
266
284
|
};
|
|
267
285
|
UNSTABLE_defaultItemHeight: number;
|
|
268
286
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
269
|
-
orientation:
|
|
287
|
+
orientation: "horizontal" | "vertical";
|
|
270
288
|
indexRef: React.MutableRefObject<number>;
|
|
271
289
|
nonInteractiveIds: string[];
|
|
272
290
|
isVirtualized: boolean;
|
|
273
|
-
items: import("
|
|
291
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
274
292
|
mode: "multiple" | "single";
|
|
275
293
|
}) => void) | undefined;
|
|
276
294
|
onGoToNext?: ((data: undefined, prevState: {
|
|
@@ -280,8 +298,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
280
298
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
281
299
|
placement: import("@popperjs/core").Placement;
|
|
282
300
|
id: string;
|
|
283
|
-
visibility:
|
|
284
|
-
selectedIds:
|
|
301
|
+
visibility: "hidden" | "visible";
|
|
302
|
+
selectedIds: string[] | "all";
|
|
285
303
|
unselectedIds: string[];
|
|
286
304
|
cursorId: string;
|
|
287
305
|
columnCount: number;
|
|
@@ -294,11 +312,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
294
312
|
};
|
|
295
313
|
UNSTABLE_defaultItemHeight: number;
|
|
296
314
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
297
|
-
orientation:
|
|
315
|
+
orientation: "horizontal" | "vertical";
|
|
298
316
|
indexRef: React.MutableRefObject<number>;
|
|
299
317
|
nonInteractiveIds: string[];
|
|
300
318
|
isVirtualized: boolean;
|
|
301
|
-
items: import("
|
|
319
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
302
320
|
mode: "multiple" | "single";
|
|
303
321
|
}) => void) | undefined;
|
|
304
322
|
onGoToPrevious?: ((data: undefined, prevState: {
|
|
@@ -308,8 +326,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
308
326
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
309
327
|
placement: import("@popperjs/core").Placement;
|
|
310
328
|
id: string;
|
|
311
|
-
visibility:
|
|
312
|
-
selectedIds:
|
|
329
|
+
visibility: "hidden" | "visible";
|
|
330
|
+
selectedIds: string[] | "all";
|
|
313
331
|
unselectedIds: string[];
|
|
314
332
|
cursorId: string;
|
|
315
333
|
columnCount: number;
|
|
@@ -322,11 +340,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
322
340
|
};
|
|
323
341
|
UNSTABLE_defaultItemHeight: number;
|
|
324
342
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
325
|
-
orientation:
|
|
343
|
+
orientation: "horizontal" | "vertical";
|
|
326
344
|
indexRef: React.MutableRefObject<number>;
|
|
327
345
|
nonInteractiveIds: string[];
|
|
328
346
|
isVirtualized: boolean;
|
|
329
|
-
items: import("
|
|
347
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
330
348
|
mode: "multiple" | "single";
|
|
331
349
|
}) => void) | undefined;
|
|
332
350
|
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
@@ -336,8 +354,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
336
354
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
337
355
|
placement: import("@popperjs/core").Placement;
|
|
338
356
|
id: string;
|
|
339
|
-
visibility:
|
|
340
|
-
selectedIds:
|
|
357
|
+
visibility: "hidden" | "visible";
|
|
358
|
+
selectedIds: string[] | "all";
|
|
341
359
|
unselectedIds: string[];
|
|
342
360
|
cursorId: string;
|
|
343
361
|
columnCount: number;
|
|
@@ -350,11 +368,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
350
368
|
};
|
|
351
369
|
UNSTABLE_defaultItemHeight: number;
|
|
352
370
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
353
|
-
orientation:
|
|
371
|
+
orientation: "horizontal" | "vertical";
|
|
354
372
|
indexRef: React.MutableRefObject<number>;
|
|
355
373
|
nonInteractiveIds: string[];
|
|
356
374
|
isVirtualized: boolean;
|
|
357
|
-
items: import("
|
|
375
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
358
376
|
mode: "multiple" | "single";
|
|
359
377
|
}) => void) | undefined;
|
|
360
378
|
onGoToNextRow?: ((data: undefined, prevState: {
|
|
@@ -364,8 +382,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
364
382
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
365
383
|
placement: import("@popperjs/core").Placement;
|
|
366
384
|
id: string;
|
|
367
|
-
visibility:
|
|
368
|
-
selectedIds:
|
|
385
|
+
visibility: "hidden" | "visible";
|
|
386
|
+
selectedIds: string[] | "all";
|
|
369
387
|
unselectedIds: string[];
|
|
370
388
|
cursorId: string;
|
|
371
389
|
columnCount: number;
|
|
@@ -378,11 +396,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
378
396
|
};
|
|
379
397
|
UNSTABLE_defaultItemHeight: number;
|
|
380
398
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
381
|
-
orientation:
|
|
399
|
+
orientation: "horizontal" | "vertical";
|
|
382
400
|
indexRef: React.MutableRefObject<number>;
|
|
383
401
|
nonInteractiveIds: string[];
|
|
384
402
|
isVirtualized: boolean;
|
|
385
|
-
items: import("
|
|
403
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
386
404
|
mode: "multiple" | "single";
|
|
387
405
|
}) => void) | undefined;
|
|
388
406
|
onGoToFirst?: ((data: undefined, prevState: {
|
|
@@ -392,8 +410,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
392
410
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
393
411
|
placement: import("@popperjs/core").Placement;
|
|
394
412
|
id: string;
|
|
395
|
-
visibility:
|
|
396
|
-
selectedIds:
|
|
413
|
+
visibility: "hidden" | "visible";
|
|
414
|
+
selectedIds: string[] | "all";
|
|
397
415
|
unselectedIds: string[];
|
|
398
416
|
cursorId: string;
|
|
399
417
|
columnCount: number;
|
|
@@ -406,11 +424,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
406
424
|
};
|
|
407
425
|
UNSTABLE_defaultItemHeight: number;
|
|
408
426
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
409
|
-
orientation:
|
|
427
|
+
orientation: "horizontal" | "vertical";
|
|
410
428
|
indexRef: React.MutableRefObject<number>;
|
|
411
429
|
nonInteractiveIds: string[];
|
|
412
430
|
isVirtualized: boolean;
|
|
413
|
-
items: import("
|
|
431
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
414
432
|
mode: "multiple" | "single";
|
|
415
433
|
}) => void) | undefined;
|
|
416
434
|
onGoToLast?: ((data: undefined, prevState: {
|
|
@@ -420,8 +438,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
420
438
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
421
439
|
placement: import("@popperjs/core").Placement;
|
|
422
440
|
id: string;
|
|
423
|
-
visibility:
|
|
424
|
-
selectedIds:
|
|
441
|
+
visibility: "hidden" | "visible";
|
|
442
|
+
selectedIds: string[] | "all";
|
|
425
443
|
unselectedIds: string[];
|
|
426
444
|
cursorId: string;
|
|
427
445
|
columnCount: number;
|
|
@@ -434,11 +452,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
434
452
|
};
|
|
435
453
|
UNSTABLE_defaultItemHeight: number;
|
|
436
454
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
437
|
-
orientation:
|
|
455
|
+
orientation: "horizontal" | "vertical";
|
|
438
456
|
indexRef: React.MutableRefObject<number>;
|
|
439
457
|
nonInteractiveIds: string[];
|
|
440
458
|
isVirtualized: boolean;
|
|
441
|
-
items: import("
|
|
459
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
442
460
|
mode: "multiple" | "single";
|
|
443
461
|
}) => void) | undefined;
|
|
444
462
|
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
@@ -448,8 +466,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
448
466
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
449
467
|
placement: import("@popperjs/core").Placement;
|
|
450
468
|
id: string;
|
|
451
|
-
visibility:
|
|
452
|
-
selectedIds:
|
|
469
|
+
visibility: "hidden" | "visible";
|
|
470
|
+
selectedIds: string[] | "all";
|
|
453
471
|
unselectedIds: string[];
|
|
454
472
|
cursorId: string;
|
|
455
473
|
columnCount: number;
|
|
@@ -462,11 +480,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
462
480
|
};
|
|
463
481
|
UNSTABLE_defaultItemHeight: number;
|
|
464
482
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
465
|
-
orientation:
|
|
483
|
+
orientation: "horizontal" | "vertical";
|
|
466
484
|
indexRef: React.MutableRefObject<number>;
|
|
467
485
|
nonInteractiveIds: string[];
|
|
468
486
|
isVirtualized: boolean;
|
|
469
|
-
items: import("
|
|
487
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
470
488
|
mode: "multiple" | "single";
|
|
471
489
|
}) => void) | undefined;
|
|
472
490
|
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
@@ -476,8 +494,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
476
494
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
477
495
|
placement: import("@popperjs/core").Placement;
|
|
478
496
|
id: string;
|
|
479
|
-
visibility:
|
|
480
|
-
selectedIds:
|
|
497
|
+
visibility: "hidden" | "visible";
|
|
498
|
+
selectedIds: string[] | "all";
|
|
481
499
|
unselectedIds: string[];
|
|
482
500
|
cursorId: string;
|
|
483
501
|
columnCount: number;
|
|
@@ -490,11 +508,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
490
508
|
};
|
|
491
509
|
UNSTABLE_defaultItemHeight: number;
|
|
492
510
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
493
|
-
orientation:
|
|
511
|
+
orientation: "horizontal" | "vertical";
|
|
494
512
|
indexRef: React.MutableRefObject<number>;
|
|
495
513
|
nonInteractiveIds: string[];
|
|
496
514
|
isVirtualized: boolean;
|
|
497
|
-
items: import("
|
|
515
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
498
516
|
mode: "multiple" | "single";
|
|
499
517
|
}) => void) | undefined;
|
|
500
518
|
onGoToNextPage?: ((data: undefined, prevState: {
|
|
@@ -504,8 +522,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
504
522
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
505
523
|
placement: import("@popperjs/core").Placement;
|
|
506
524
|
id: string;
|
|
507
|
-
visibility:
|
|
508
|
-
selectedIds:
|
|
525
|
+
visibility: "hidden" | "visible";
|
|
526
|
+
selectedIds: string[] | "all";
|
|
509
527
|
unselectedIds: string[];
|
|
510
528
|
cursorId: string;
|
|
511
529
|
columnCount: number;
|
|
@@ -518,11 +536,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
518
536
|
};
|
|
519
537
|
UNSTABLE_defaultItemHeight: number;
|
|
520
538
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
521
|
-
orientation:
|
|
539
|
+
orientation: "horizontal" | "vertical";
|
|
522
540
|
indexRef: React.MutableRefObject<number>;
|
|
523
541
|
nonInteractiveIds: string[];
|
|
524
542
|
isVirtualized: boolean;
|
|
525
|
-
items: import("
|
|
543
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
526
544
|
mode: "multiple" | "single";
|
|
527
545
|
}) => void) | undefined;
|
|
528
546
|
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
@@ -532,8 +550,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
532
550
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
533
551
|
placement: import("@popperjs/core").Placement;
|
|
534
552
|
id: string;
|
|
535
|
-
visibility:
|
|
536
|
-
selectedIds:
|
|
553
|
+
visibility: "hidden" | "visible";
|
|
554
|
+
selectedIds: string[] | "all";
|
|
537
555
|
unselectedIds: string[];
|
|
538
556
|
cursorId: string;
|
|
539
557
|
columnCount: number;
|
|
@@ -546,11 +564,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
546
564
|
};
|
|
547
565
|
UNSTABLE_defaultItemHeight: number;
|
|
548
566
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
549
|
-
orientation:
|
|
567
|
+
orientation: "horizontal" | "vertical";
|
|
550
568
|
indexRef: React.MutableRefObject<number>;
|
|
551
569
|
nonInteractiveIds: string[];
|
|
552
570
|
isVirtualized: boolean;
|
|
553
|
-
items: import("
|
|
571
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
554
572
|
mode: "multiple" | "single";
|
|
555
573
|
}) => void) | undefined;
|
|
556
574
|
onUnregisterItem?: ((data: {
|
|
@@ -562,8 +580,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
562
580
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
563
581
|
placement: import("@popperjs/core").Placement;
|
|
564
582
|
id: string;
|
|
565
|
-
visibility:
|
|
566
|
-
selectedIds:
|
|
583
|
+
visibility: "hidden" | "visible";
|
|
584
|
+
selectedIds: string[] | "all";
|
|
567
585
|
unselectedIds: string[];
|
|
568
586
|
cursorId: string;
|
|
569
587
|
columnCount: number;
|
|
@@ -576,11 +594,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
576
594
|
};
|
|
577
595
|
UNSTABLE_defaultItemHeight: number;
|
|
578
596
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
579
|
-
orientation:
|
|
597
|
+
orientation: "horizontal" | "vertical";
|
|
580
598
|
indexRef: React.MutableRefObject<number>;
|
|
581
599
|
nonInteractiveIds: string[];
|
|
582
600
|
isVirtualized: boolean;
|
|
583
|
-
items: import("
|
|
601
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
584
602
|
mode: "multiple" | "single";
|
|
585
603
|
}) => void) | undefined;
|
|
586
604
|
onUpdateItemHeight?: ((data: {
|
|
@@ -592,8 +610,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
592
610
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
593
611
|
placement: import("@popperjs/core").Placement;
|
|
594
612
|
id: string;
|
|
595
|
-
visibility:
|
|
596
|
-
selectedIds:
|
|
613
|
+
visibility: "hidden" | "visible";
|
|
614
|
+
selectedIds: string[] | "all";
|
|
597
615
|
unselectedIds: string[];
|
|
598
616
|
cursorId: string;
|
|
599
617
|
columnCount: number;
|
|
@@ -606,11 +624,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
606
624
|
};
|
|
607
625
|
UNSTABLE_defaultItemHeight: number;
|
|
608
626
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
609
|
-
orientation:
|
|
627
|
+
orientation: "horizontal" | "vertical";
|
|
610
628
|
indexRef: React.MutableRefObject<number>;
|
|
611
629
|
nonInteractiveIds: string[];
|
|
612
630
|
isVirtualized: boolean;
|
|
613
|
-
items: import("
|
|
631
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
614
632
|
mode: "multiple" | "single";
|
|
615
633
|
}) => void) | undefined;
|
|
616
634
|
} & {
|
|
@@ -623,8 +641,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
623
641
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
624
642
|
placement: import("@popperjs/core").Placement;
|
|
625
643
|
id: string;
|
|
626
|
-
visibility:
|
|
627
|
-
selectedIds:
|
|
644
|
+
visibility: "hidden" | "visible";
|
|
645
|
+
selectedIds: string[] | "all";
|
|
628
646
|
unselectedIds: string[];
|
|
629
647
|
cursorId: string;
|
|
630
648
|
columnCount: number;
|
|
@@ -637,11 +655,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
637
655
|
};
|
|
638
656
|
UNSTABLE_defaultItemHeight: number;
|
|
639
657
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
640
|
-
orientation:
|
|
658
|
+
orientation: "horizontal" | "vertical";
|
|
641
659
|
indexRef: React.MutableRefObject<number>;
|
|
642
660
|
nonInteractiveIds: string[];
|
|
643
661
|
isVirtualized: boolean;
|
|
644
|
-
items: import("
|
|
662
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
645
663
|
mode: "multiple" | "single";
|
|
646
664
|
}) => boolean) | undefined;
|
|
647
665
|
shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -651,8 +669,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
651
669
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
652
670
|
placement: import("@popperjs/core").Placement;
|
|
653
671
|
id: string;
|
|
654
|
-
visibility:
|
|
655
|
-
selectedIds:
|
|
672
|
+
visibility: "hidden" | "visible";
|
|
673
|
+
selectedIds: string[] | "all";
|
|
656
674
|
unselectedIds: string[];
|
|
657
675
|
cursorId: string;
|
|
658
676
|
columnCount: number;
|
|
@@ -665,11 +683,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
665
683
|
};
|
|
666
684
|
UNSTABLE_defaultItemHeight: number;
|
|
667
685
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
668
|
-
orientation:
|
|
686
|
+
orientation: "horizontal" | "vertical";
|
|
669
687
|
indexRef: React.MutableRefObject<number>;
|
|
670
688
|
nonInteractiveIds: string[];
|
|
671
689
|
isVirtualized: boolean;
|
|
672
|
-
items: import("
|
|
690
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
673
691
|
mode: "multiple" | "single";
|
|
674
692
|
}) => boolean) | undefined;
|
|
675
693
|
shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -679,8 +697,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
679
697
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
680
698
|
placement: import("@popperjs/core").Placement;
|
|
681
699
|
id: string;
|
|
682
|
-
visibility:
|
|
683
|
-
selectedIds:
|
|
700
|
+
visibility: "hidden" | "visible";
|
|
701
|
+
selectedIds: string[] | "all";
|
|
684
702
|
unselectedIds: string[];
|
|
685
703
|
cursorId: string;
|
|
686
704
|
columnCount: number;
|
|
@@ -693,11 +711,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
693
711
|
};
|
|
694
712
|
UNSTABLE_defaultItemHeight: number;
|
|
695
713
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
696
|
-
orientation:
|
|
714
|
+
orientation: "horizontal" | "vertical";
|
|
697
715
|
indexRef: React.MutableRefObject<number>;
|
|
698
716
|
nonInteractiveIds: string[];
|
|
699
717
|
isVirtualized: boolean;
|
|
700
|
-
items: import("
|
|
718
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
701
719
|
mode: "multiple" | "single";
|
|
702
720
|
}) => boolean) | undefined;
|
|
703
721
|
shouldSelect?: ((data: {
|
|
@@ -709,8 +727,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
709
727
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
710
728
|
placement: import("@popperjs/core").Placement;
|
|
711
729
|
id: string;
|
|
712
|
-
visibility:
|
|
713
|
-
selectedIds:
|
|
730
|
+
visibility: "hidden" | "visible";
|
|
731
|
+
selectedIds: string[] | "all";
|
|
714
732
|
unselectedIds: string[];
|
|
715
733
|
cursorId: string;
|
|
716
734
|
columnCount: number;
|
|
@@ -723,11 +741,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
723
741
|
};
|
|
724
742
|
UNSTABLE_defaultItemHeight: number;
|
|
725
743
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
726
|
-
orientation:
|
|
744
|
+
orientation: "horizontal" | "vertical";
|
|
727
745
|
indexRef: React.MutableRefObject<number>;
|
|
728
746
|
nonInteractiveIds: string[];
|
|
729
747
|
isVirtualized: boolean;
|
|
730
|
-
items: import("
|
|
748
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
731
749
|
mode: "multiple" | "single";
|
|
732
750
|
}) => boolean) | undefined;
|
|
733
751
|
shouldSelectAll?: ((data: undefined, state: {
|
|
@@ -737,8 +755,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
737
755
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
738
756
|
placement: import("@popperjs/core").Placement;
|
|
739
757
|
id: string;
|
|
740
|
-
visibility:
|
|
741
|
-
selectedIds:
|
|
758
|
+
visibility: "hidden" | "visible";
|
|
759
|
+
selectedIds: string[] | "all";
|
|
742
760
|
unselectedIds: string[];
|
|
743
761
|
cursorId: string;
|
|
744
762
|
columnCount: number;
|
|
@@ -751,11 +769,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
751
769
|
};
|
|
752
770
|
UNSTABLE_defaultItemHeight: number;
|
|
753
771
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
754
|
-
orientation:
|
|
772
|
+
orientation: "horizontal" | "vertical";
|
|
755
773
|
indexRef: React.MutableRefObject<number>;
|
|
756
774
|
nonInteractiveIds: string[];
|
|
757
775
|
isVirtualized: boolean;
|
|
758
|
-
items: import("
|
|
776
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
759
777
|
mode: "multiple" | "single";
|
|
760
778
|
}) => boolean) | undefined;
|
|
761
779
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
@@ -765,8 +783,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
765
783
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
766
784
|
placement: import("@popperjs/core").Placement;
|
|
767
785
|
id: string;
|
|
768
|
-
visibility:
|
|
769
|
-
selectedIds:
|
|
786
|
+
visibility: "hidden" | "visible";
|
|
787
|
+
selectedIds: string[] | "all";
|
|
770
788
|
unselectedIds: string[];
|
|
771
789
|
cursorId: string;
|
|
772
790
|
columnCount: number;
|
|
@@ -779,11 +797,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
779
797
|
};
|
|
780
798
|
UNSTABLE_defaultItemHeight: number;
|
|
781
799
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
782
|
-
orientation:
|
|
800
|
+
orientation: "horizontal" | "vertical";
|
|
783
801
|
indexRef: React.MutableRefObject<number>;
|
|
784
802
|
nonInteractiveIds: string[];
|
|
785
803
|
isVirtualized: boolean;
|
|
786
|
-
items: import("
|
|
804
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
787
805
|
mode: "multiple" | "single";
|
|
788
806
|
}) => boolean) | undefined;
|
|
789
807
|
shouldRegisterItem?: ((data: {
|
|
@@ -796,8 +814,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
796
814
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
797
815
|
placement: import("@popperjs/core").Placement;
|
|
798
816
|
id: string;
|
|
799
|
-
visibility:
|
|
800
|
-
selectedIds:
|
|
817
|
+
visibility: "hidden" | "visible";
|
|
818
|
+
selectedIds: string[] | "all";
|
|
801
819
|
unselectedIds: string[];
|
|
802
820
|
cursorId: string;
|
|
803
821
|
columnCount: number;
|
|
@@ -810,11 +828,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
810
828
|
};
|
|
811
829
|
UNSTABLE_defaultItemHeight: number;
|
|
812
830
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
813
|
-
orientation:
|
|
831
|
+
orientation: "horizontal" | "vertical";
|
|
814
832
|
indexRef: React.MutableRefObject<number>;
|
|
815
833
|
nonInteractiveIds: string[];
|
|
816
834
|
isVirtualized: boolean;
|
|
817
|
-
items: import("
|
|
835
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
818
836
|
mode: "multiple" | "single";
|
|
819
837
|
}) => boolean) | undefined;
|
|
820
838
|
shouldGoTo?: ((data: {
|
|
@@ -826,8 +844,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
826
844
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
827
845
|
placement: import("@popperjs/core").Placement;
|
|
828
846
|
id: string;
|
|
829
|
-
visibility:
|
|
830
|
-
selectedIds:
|
|
847
|
+
visibility: "hidden" | "visible";
|
|
848
|
+
selectedIds: string[] | "all";
|
|
831
849
|
unselectedIds: string[];
|
|
832
850
|
cursorId: string;
|
|
833
851
|
columnCount: number;
|
|
@@ -840,11 +858,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
840
858
|
};
|
|
841
859
|
UNSTABLE_defaultItemHeight: number;
|
|
842
860
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
843
|
-
orientation:
|
|
861
|
+
orientation: "horizontal" | "vertical";
|
|
844
862
|
indexRef: React.MutableRefObject<number>;
|
|
845
863
|
nonInteractiveIds: string[];
|
|
846
864
|
isVirtualized: boolean;
|
|
847
|
-
items: import("
|
|
865
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
848
866
|
mode: "multiple" | "single";
|
|
849
867
|
}) => boolean) | undefined;
|
|
850
868
|
shouldGoToNext?: ((data: undefined, state: {
|
|
@@ -854,8 +872,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
854
872
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
855
873
|
placement: import("@popperjs/core").Placement;
|
|
856
874
|
id: string;
|
|
857
|
-
visibility:
|
|
858
|
-
selectedIds:
|
|
875
|
+
visibility: "hidden" | "visible";
|
|
876
|
+
selectedIds: string[] | "all";
|
|
859
877
|
unselectedIds: string[];
|
|
860
878
|
cursorId: string;
|
|
861
879
|
columnCount: number;
|
|
@@ -868,11 +886,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
868
886
|
};
|
|
869
887
|
UNSTABLE_defaultItemHeight: number;
|
|
870
888
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
871
|
-
orientation:
|
|
889
|
+
orientation: "horizontal" | "vertical";
|
|
872
890
|
indexRef: React.MutableRefObject<number>;
|
|
873
891
|
nonInteractiveIds: string[];
|
|
874
892
|
isVirtualized: boolean;
|
|
875
|
-
items: import("
|
|
893
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
876
894
|
mode: "multiple" | "single";
|
|
877
895
|
}) => boolean) | undefined;
|
|
878
896
|
shouldGoToPrevious?: ((data: undefined, state: {
|
|
@@ -882,8 +900,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
882
900
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
883
901
|
placement: import("@popperjs/core").Placement;
|
|
884
902
|
id: string;
|
|
885
|
-
visibility:
|
|
886
|
-
selectedIds:
|
|
903
|
+
visibility: "hidden" | "visible";
|
|
904
|
+
selectedIds: string[] | "all";
|
|
887
905
|
unselectedIds: string[];
|
|
888
906
|
cursorId: string;
|
|
889
907
|
columnCount: number;
|
|
@@ -896,11 +914,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
896
914
|
};
|
|
897
915
|
UNSTABLE_defaultItemHeight: number;
|
|
898
916
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
899
|
-
orientation:
|
|
917
|
+
orientation: "horizontal" | "vertical";
|
|
900
918
|
indexRef: React.MutableRefObject<number>;
|
|
901
919
|
nonInteractiveIds: string[];
|
|
902
920
|
isVirtualized: boolean;
|
|
903
|
-
items: import("
|
|
921
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
904
922
|
mode: "multiple" | "single";
|
|
905
923
|
}) => boolean) | undefined;
|
|
906
924
|
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
@@ -910,8 +928,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
910
928
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
911
929
|
placement: import("@popperjs/core").Placement;
|
|
912
930
|
id: string;
|
|
913
|
-
visibility:
|
|
914
|
-
selectedIds:
|
|
931
|
+
visibility: "hidden" | "visible";
|
|
932
|
+
selectedIds: string[] | "all";
|
|
915
933
|
unselectedIds: string[];
|
|
916
934
|
cursorId: string;
|
|
917
935
|
columnCount: number;
|
|
@@ -924,11 +942,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
924
942
|
};
|
|
925
943
|
UNSTABLE_defaultItemHeight: number;
|
|
926
944
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
927
|
-
orientation:
|
|
945
|
+
orientation: "horizontal" | "vertical";
|
|
928
946
|
indexRef: React.MutableRefObject<number>;
|
|
929
947
|
nonInteractiveIds: string[];
|
|
930
948
|
isVirtualized: boolean;
|
|
931
|
-
items: import("
|
|
949
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
932
950
|
mode: "multiple" | "single";
|
|
933
951
|
}) => boolean) | undefined;
|
|
934
952
|
shouldGoToNextRow?: ((data: undefined, state: {
|
|
@@ -938,8 +956,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
938
956
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
939
957
|
placement: import("@popperjs/core").Placement;
|
|
940
958
|
id: string;
|
|
941
|
-
visibility:
|
|
942
|
-
selectedIds:
|
|
959
|
+
visibility: "hidden" | "visible";
|
|
960
|
+
selectedIds: string[] | "all";
|
|
943
961
|
unselectedIds: string[];
|
|
944
962
|
cursorId: string;
|
|
945
963
|
columnCount: number;
|
|
@@ -952,11 +970,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
952
970
|
};
|
|
953
971
|
UNSTABLE_defaultItemHeight: number;
|
|
954
972
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
955
|
-
orientation:
|
|
973
|
+
orientation: "horizontal" | "vertical";
|
|
956
974
|
indexRef: React.MutableRefObject<number>;
|
|
957
975
|
nonInteractiveIds: string[];
|
|
958
976
|
isVirtualized: boolean;
|
|
959
|
-
items: import("
|
|
977
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
960
978
|
mode: "multiple" | "single";
|
|
961
979
|
}) => boolean) | undefined;
|
|
962
980
|
shouldGoToFirst?: ((data: undefined, state: {
|
|
@@ -966,8 +984,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
966
984
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
967
985
|
placement: import("@popperjs/core").Placement;
|
|
968
986
|
id: string;
|
|
969
|
-
visibility:
|
|
970
|
-
selectedIds:
|
|
987
|
+
visibility: "hidden" | "visible";
|
|
988
|
+
selectedIds: string[] | "all";
|
|
971
989
|
unselectedIds: string[];
|
|
972
990
|
cursorId: string;
|
|
973
991
|
columnCount: number;
|
|
@@ -980,11 +998,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
980
998
|
};
|
|
981
999
|
UNSTABLE_defaultItemHeight: number;
|
|
982
1000
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
983
|
-
orientation:
|
|
1001
|
+
orientation: "horizontal" | "vertical";
|
|
984
1002
|
indexRef: React.MutableRefObject<number>;
|
|
985
1003
|
nonInteractiveIds: string[];
|
|
986
1004
|
isVirtualized: boolean;
|
|
987
|
-
items: import("
|
|
1005
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
988
1006
|
mode: "multiple" | "single";
|
|
989
1007
|
}) => boolean) | undefined;
|
|
990
1008
|
shouldGoToLast?: ((data: undefined, state: {
|
|
@@ -994,8 +1012,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
994
1012
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
995
1013
|
placement: import("@popperjs/core").Placement;
|
|
996
1014
|
id: string;
|
|
997
|
-
visibility:
|
|
998
|
-
selectedIds:
|
|
1015
|
+
visibility: "hidden" | "visible";
|
|
1016
|
+
selectedIds: string[] | "all";
|
|
999
1017
|
unselectedIds: string[];
|
|
1000
1018
|
cursorId: string;
|
|
1001
1019
|
columnCount: number;
|
|
@@ -1008,11 +1026,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1008
1026
|
};
|
|
1009
1027
|
UNSTABLE_defaultItemHeight: number;
|
|
1010
1028
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1011
|
-
orientation:
|
|
1029
|
+
orientation: "horizontal" | "vertical";
|
|
1012
1030
|
indexRef: React.MutableRefObject<number>;
|
|
1013
1031
|
nonInteractiveIds: string[];
|
|
1014
1032
|
isVirtualized: boolean;
|
|
1015
|
-
items: import("
|
|
1033
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1016
1034
|
mode: "multiple" | "single";
|
|
1017
1035
|
}) => boolean) | undefined;
|
|
1018
1036
|
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
@@ -1022,8 +1040,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1022
1040
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1023
1041
|
placement: import("@popperjs/core").Placement;
|
|
1024
1042
|
id: string;
|
|
1025
|
-
visibility:
|
|
1026
|
-
selectedIds:
|
|
1043
|
+
visibility: "hidden" | "visible";
|
|
1044
|
+
selectedIds: string[] | "all";
|
|
1027
1045
|
unselectedIds: string[];
|
|
1028
1046
|
cursorId: string;
|
|
1029
1047
|
columnCount: number;
|
|
@@ -1036,11 +1054,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1036
1054
|
};
|
|
1037
1055
|
UNSTABLE_defaultItemHeight: number;
|
|
1038
1056
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1039
|
-
orientation:
|
|
1057
|
+
orientation: "horizontal" | "vertical";
|
|
1040
1058
|
indexRef: React.MutableRefObject<number>;
|
|
1041
1059
|
nonInteractiveIds: string[];
|
|
1042
1060
|
isVirtualized: boolean;
|
|
1043
|
-
items: import("
|
|
1061
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1044
1062
|
mode: "multiple" | "single";
|
|
1045
1063
|
}) => boolean) | undefined;
|
|
1046
1064
|
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
@@ -1050,8 +1068,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1050
1068
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1051
1069
|
placement: import("@popperjs/core").Placement;
|
|
1052
1070
|
id: string;
|
|
1053
|
-
visibility:
|
|
1054
|
-
selectedIds:
|
|
1071
|
+
visibility: "hidden" | "visible";
|
|
1072
|
+
selectedIds: string[] | "all";
|
|
1055
1073
|
unselectedIds: string[];
|
|
1056
1074
|
cursorId: string;
|
|
1057
1075
|
columnCount: number;
|
|
@@ -1064,11 +1082,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1064
1082
|
};
|
|
1065
1083
|
UNSTABLE_defaultItemHeight: number;
|
|
1066
1084
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1067
|
-
orientation:
|
|
1085
|
+
orientation: "horizontal" | "vertical";
|
|
1068
1086
|
indexRef: React.MutableRefObject<number>;
|
|
1069
1087
|
nonInteractiveIds: string[];
|
|
1070
1088
|
isVirtualized: boolean;
|
|
1071
|
-
items: import("
|
|
1089
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1072
1090
|
mode: "multiple" | "single";
|
|
1073
1091
|
}) => boolean) | undefined;
|
|
1074
1092
|
shouldGoToNextPage?: ((data: undefined, state: {
|
|
@@ -1078,8 +1096,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1078
1096
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1079
1097
|
placement: import("@popperjs/core").Placement;
|
|
1080
1098
|
id: string;
|
|
1081
|
-
visibility:
|
|
1082
|
-
selectedIds:
|
|
1099
|
+
visibility: "hidden" | "visible";
|
|
1100
|
+
selectedIds: string[] | "all";
|
|
1083
1101
|
unselectedIds: string[];
|
|
1084
1102
|
cursorId: string;
|
|
1085
1103
|
columnCount: number;
|
|
@@ -1092,11 +1110,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1092
1110
|
};
|
|
1093
1111
|
UNSTABLE_defaultItemHeight: number;
|
|
1094
1112
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1095
|
-
orientation:
|
|
1113
|
+
orientation: "horizontal" | "vertical";
|
|
1096
1114
|
indexRef: React.MutableRefObject<number>;
|
|
1097
1115
|
nonInteractiveIds: string[];
|
|
1098
1116
|
isVirtualized: boolean;
|
|
1099
|
-
items: import("
|
|
1117
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1100
1118
|
mode: "multiple" | "single";
|
|
1101
1119
|
}) => boolean) | undefined;
|
|
1102
1120
|
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
@@ -1106,8 +1124,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1106
1124
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1107
1125
|
placement: import("@popperjs/core").Placement;
|
|
1108
1126
|
id: string;
|
|
1109
|
-
visibility:
|
|
1110
|
-
selectedIds:
|
|
1127
|
+
visibility: "hidden" | "visible";
|
|
1128
|
+
selectedIds: string[] | "all";
|
|
1111
1129
|
unselectedIds: string[];
|
|
1112
1130
|
cursorId: string;
|
|
1113
1131
|
columnCount: number;
|
|
@@ -1120,11 +1138,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1120
1138
|
};
|
|
1121
1139
|
UNSTABLE_defaultItemHeight: number;
|
|
1122
1140
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1123
|
-
orientation:
|
|
1141
|
+
orientation: "horizontal" | "vertical";
|
|
1124
1142
|
indexRef: React.MutableRefObject<number>;
|
|
1125
1143
|
nonInteractiveIds: string[];
|
|
1126
1144
|
isVirtualized: boolean;
|
|
1127
|
-
items: import("
|
|
1145
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1128
1146
|
mode: "multiple" | "single";
|
|
1129
1147
|
}) => boolean) | undefined;
|
|
1130
1148
|
shouldUnregisterItem?: ((data: {
|
|
@@ -1136,8 +1154,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1136
1154
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1137
1155
|
placement: import("@popperjs/core").Placement;
|
|
1138
1156
|
id: string;
|
|
1139
|
-
visibility:
|
|
1140
|
-
selectedIds:
|
|
1157
|
+
visibility: "hidden" | "visible";
|
|
1158
|
+
selectedIds: string[] | "all";
|
|
1141
1159
|
unselectedIds: string[];
|
|
1142
1160
|
cursorId: string;
|
|
1143
1161
|
columnCount: number;
|
|
@@ -1150,11 +1168,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1150
1168
|
};
|
|
1151
1169
|
UNSTABLE_defaultItemHeight: number;
|
|
1152
1170
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1153
|
-
orientation:
|
|
1171
|
+
orientation: "horizontal" | "vertical";
|
|
1154
1172
|
indexRef: React.MutableRefObject<number>;
|
|
1155
1173
|
nonInteractiveIds: string[];
|
|
1156
1174
|
isVirtualized: boolean;
|
|
1157
|
-
items: import("
|
|
1175
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1158
1176
|
mode: "multiple" | "single";
|
|
1159
1177
|
}) => boolean) | undefined;
|
|
1160
1178
|
shouldUpdateItemHeight?: ((data: {
|
|
@@ -1166,8 +1184,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1166
1184
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1167
1185
|
placement: import("@popperjs/core").Placement;
|
|
1168
1186
|
id: string;
|
|
1169
|
-
visibility:
|
|
1170
|
-
selectedIds:
|
|
1187
|
+
visibility: "hidden" | "visible";
|
|
1188
|
+
selectedIds: string[] | "all";
|
|
1171
1189
|
unselectedIds: string[];
|
|
1172
1190
|
cursorId: string;
|
|
1173
1191
|
columnCount: number;
|
|
@@ -1180,11 +1198,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1180
1198
|
};
|
|
1181
1199
|
UNSTABLE_defaultItemHeight: number;
|
|
1182
1200
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1183
|
-
orientation:
|
|
1201
|
+
orientation: "horizontal" | "vertical";
|
|
1184
1202
|
indexRef: React.MutableRefObject<number>;
|
|
1185
1203
|
nonInteractiveIds: string[];
|
|
1186
1204
|
isVirtualized: boolean;
|
|
1187
|
-
items: import("
|
|
1205
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1188
1206
|
mode: "multiple" | "single";
|
|
1189
1207
|
}) => boolean) | undefined;
|
|
1190
1208
|
};
|
|
@@ -1197,11 +1215,13 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1197
1215
|
initialCursorId: string;
|
|
1198
1216
|
columnCount: number;
|
|
1199
1217
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1200
|
-
getId: (item: any) => string;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
*
|
|
1218
|
+
getId: (item: any) => string; /**
|
|
1219
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1220
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1221
|
+
* state setting phase.
|
|
1204
1222
|
*/
|
|
1223
|
+
getTextValue: (item: any) => string;
|
|
1224
|
+
nonInteractiveIds: string[];
|
|
1205
1225
|
defaultItemHeight: number;
|
|
1206
1226
|
shouldVirtualize: boolean;
|
|
1207
1227
|
items: any[];
|
|
@@ -1215,7 +1235,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1215
1235
|
/**
|
|
1216
1236
|
* A list of panels. Uses `ListModel`
|
|
1217
1237
|
*/
|
|
1218
|
-
panels: import("
|
|
1238
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1219
1239
|
/**
|
|
1220
1240
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1221
1241
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1226,7 +1246,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1226
1246
|
itemWidthCache: Record<string, number>;
|
|
1227
1247
|
containerWidth: number;
|
|
1228
1248
|
overflowTargetWidth: number;
|
|
1229
|
-
selectedIds:
|
|
1249
|
+
selectedIds: string[] | "all";
|
|
1230
1250
|
unselectedIds: string[];
|
|
1231
1251
|
cursorId: string;
|
|
1232
1252
|
columnCount: number;
|
|
@@ -1243,7 +1263,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1243
1263
|
indexRef: React.MutableRefObject<number>;
|
|
1244
1264
|
nonInteractiveIds: string[];
|
|
1245
1265
|
isVirtualized: boolean;
|
|
1246
|
-
items: import("
|
|
1266
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1247
1267
|
}) => void) | undefined;
|
|
1248
1268
|
onUnregisterPanel?: ((data: {
|
|
1249
1269
|
id: string;
|
|
@@ -1253,7 +1273,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1253
1273
|
/**
|
|
1254
1274
|
* A list of panels. Uses `ListModel`
|
|
1255
1275
|
*/
|
|
1256
|
-
panels: import("
|
|
1276
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1257
1277
|
/**
|
|
1258
1278
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1259
1279
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1264,7 +1284,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1264
1284
|
itemWidthCache: Record<string, number>;
|
|
1265
1285
|
containerWidth: number;
|
|
1266
1286
|
overflowTargetWidth: number;
|
|
1267
|
-
selectedIds:
|
|
1287
|
+
selectedIds: string[] | "all";
|
|
1268
1288
|
unselectedIds: string[];
|
|
1269
1289
|
cursorId: string;
|
|
1270
1290
|
columnCount: number;
|
|
@@ -1281,7 +1301,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1281
1301
|
indexRef: React.MutableRefObject<number>;
|
|
1282
1302
|
nonInteractiveIds: string[];
|
|
1283
1303
|
isVirtualized: boolean;
|
|
1284
|
-
items: import("
|
|
1304
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1285
1305
|
}) => void) | undefined;
|
|
1286
1306
|
onSelect?: ((data: {
|
|
1287
1307
|
id: string;
|
|
@@ -1291,7 +1311,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1291
1311
|
/**
|
|
1292
1312
|
* A list of panels. Uses `ListModel`
|
|
1293
1313
|
*/
|
|
1294
|
-
panels: import("
|
|
1314
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1295
1315
|
/**
|
|
1296
1316
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1297
1317
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1302,7 +1322,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1302
1322
|
itemWidthCache: Record<string, number>;
|
|
1303
1323
|
containerWidth: number;
|
|
1304
1324
|
overflowTargetWidth: number;
|
|
1305
|
-
selectedIds:
|
|
1325
|
+
selectedIds: string[] | "all";
|
|
1306
1326
|
unselectedIds: string[];
|
|
1307
1327
|
cursorId: string;
|
|
1308
1328
|
columnCount: number;
|
|
@@ -1319,7 +1339,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1319
1339
|
indexRef: React.MutableRefObject<number>;
|
|
1320
1340
|
nonInteractiveIds: string[];
|
|
1321
1341
|
isVirtualized: boolean;
|
|
1322
|
-
items: import("
|
|
1342
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1323
1343
|
}) => void) | undefined;
|
|
1324
1344
|
onSetContainerWidth?: ((data: {
|
|
1325
1345
|
width?: number | undefined;
|
|
@@ -1329,7 +1349,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1329
1349
|
/**
|
|
1330
1350
|
* A list of panels. Uses `ListModel`
|
|
1331
1351
|
*/
|
|
1332
|
-
panels: import("
|
|
1352
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1333
1353
|
/**
|
|
1334
1354
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1335
1355
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1340,7 +1360,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1340
1360
|
itemWidthCache: Record<string, number>;
|
|
1341
1361
|
containerWidth: number;
|
|
1342
1362
|
overflowTargetWidth: number;
|
|
1343
|
-
selectedIds:
|
|
1363
|
+
selectedIds: string[] | "all";
|
|
1344
1364
|
unselectedIds: string[];
|
|
1345
1365
|
cursorId: string;
|
|
1346
1366
|
columnCount: number;
|
|
@@ -1357,7 +1377,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1357
1377
|
indexRef: React.MutableRefObject<number>;
|
|
1358
1378
|
nonInteractiveIds: string[];
|
|
1359
1379
|
isVirtualized: boolean;
|
|
1360
|
-
items: import("
|
|
1380
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1361
1381
|
}) => void) | undefined;
|
|
1362
1382
|
onSetOverflowTargetWidth?: ((data: {
|
|
1363
1383
|
width: number;
|
|
@@ -1367,7 +1387,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1367
1387
|
/**
|
|
1368
1388
|
* A list of panels. Uses `ListModel`
|
|
1369
1389
|
*/
|
|
1370
|
-
panels: import("
|
|
1390
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1371
1391
|
/**
|
|
1372
1392
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1373
1393
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1378,7 +1398,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1378
1398
|
itemWidthCache: Record<string, number>;
|
|
1379
1399
|
containerWidth: number;
|
|
1380
1400
|
overflowTargetWidth: number;
|
|
1381
|
-
selectedIds:
|
|
1401
|
+
selectedIds: string[] | "all";
|
|
1382
1402
|
unselectedIds: string[];
|
|
1383
1403
|
cursorId: string;
|
|
1384
1404
|
columnCount: number;
|
|
@@ -1395,7 +1415,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1395
1415
|
indexRef: React.MutableRefObject<number>;
|
|
1396
1416
|
nonInteractiveIds: string[];
|
|
1397
1417
|
isVirtualized: boolean;
|
|
1398
|
-
items: import("
|
|
1418
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1399
1419
|
}) => void) | undefined;
|
|
1400
1420
|
onAddItemWidth?: ((data: {
|
|
1401
1421
|
id: string;
|
|
@@ -1406,7 +1426,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1406
1426
|
/**
|
|
1407
1427
|
* A list of panels. Uses `ListModel`
|
|
1408
1428
|
*/
|
|
1409
|
-
panels: import("
|
|
1429
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1410
1430
|
/**
|
|
1411
1431
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1412
1432
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1417,7 +1437,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1417
1437
|
itemWidthCache: Record<string, number>;
|
|
1418
1438
|
containerWidth: number;
|
|
1419
1439
|
overflowTargetWidth: number;
|
|
1420
|
-
selectedIds:
|
|
1440
|
+
selectedIds: string[] | "all";
|
|
1421
1441
|
unselectedIds: string[];
|
|
1422
1442
|
cursorId: string;
|
|
1423
1443
|
columnCount: number;
|
|
@@ -1434,7 +1454,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1434
1454
|
indexRef: React.MutableRefObject<number>;
|
|
1435
1455
|
nonInteractiveIds: string[];
|
|
1436
1456
|
isVirtualized: boolean;
|
|
1437
|
-
items: import("
|
|
1457
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1438
1458
|
}) => void) | undefined;
|
|
1439
1459
|
onRemoveItemWidth?: ((data: {
|
|
1440
1460
|
id: string;
|
|
@@ -1444,7 +1464,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1444
1464
|
/**
|
|
1445
1465
|
* A list of panels. Uses `ListModel`
|
|
1446
1466
|
*/
|
|
1447
|
-
panels: import("
|
|
1467
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1448
1468
|
/**
|
|
1449
1469
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1450
1470
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1455,7 +1475,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1455
1475
|
itemWidthCache: Record<string, number>;
|
|
1456
1476
|
containerWidth: number;
|
|
1457
1477
|
overflowTargetWidth: number;
|
|
1458
|
-
selectedIds:
|
|
1478
|
+
selectedIds: string[] | "all";
|
|
1459
1479
|
unselectedIds: string[];
|
|
1460
1480
|
cursorId: string;
|
|
1461
1481
|
columnCount: number;
|
|
@@ -1472,7 +1492,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1472
1492
|
indexRef: React.MutableRefObject<number>;
|
|
1473
1493
|
nonInteractiveIds: string[];
|
|
1474
1494
|
isVirtualized: boolean;
|
|
1475
|
-
items: import("
|
|
1495
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1476
1496
|
}) => void) | undefined;
|
|
1477
1497
|
onAddHiddenKey?: ((data: {
|
|
1478
1498
|
id: string;
|
|
@@ -1482,7 +1502,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1482
1502
|
/**
|
|
1483
1503
|
* A list of panels. Uses `ListModel`
|
|
1484
1504
|
*/
|
|
1485
|
-
panels: import("
|
|
1505
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1486
1506
|
/**
|
|
1487
1507
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1488
1508
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1493,7 +1513,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1493
1513
|
itemWidthCache: Record<string, number>;
|
|
1494
1514
|
containerWidth: number;
|
|
1495
1515
|
overflowTargetWidth: number;
|
|
1496
|
-
selectedIds:
|
|
1516
|
+
selectedIds: string[] | "all";
|
|
1497
1517
|
unselectedIds: string[];
|
|
1498
1518
|
cursorId: string;
|
|
1499
1519
|
columnCount: number;
|
|
@@ -1510,7 +1530,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1510
1530
|
indexRef: React.MutableRefObject<number>;
|
|
1511
1531
|
nonInteractiveIds: string[];
|
|
1512
1532
|
isVirtualized: boolean;
|
|
1513
|
-
items: import("
|
|
1533
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1514
1534
|
}) => void) | undefined;
|
|
1515
1535
|
onRemoveHiddenKey?: ((data: {
|
|
1516
1536
|
id: string;
|
|
@@ -1520,7 +1540,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1520
1540
|
/**
|
|
1521
1541
|
* A list of panels. Uses `ListModel`
|
|
1522
1542
|
*/
|
|
1523
|
-
panels: import("
|
|
1543
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1524
1544
|
/**
|
|
1525
1545
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1526
1546
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1531,7 +1551,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1531
1551
|
itemWidthCache: Record<string, number>;
|
|
1532
1552
|
containerWidth: number;
|
|
1533
1553
|
overflowTargetWidth: number;
|
|
1534
|
-
selectedIds:
|
|
1554
|
+
selectedIds: string[] | "all";
|
|
1535
1555
|
unselectedIds: string[];
|
|
1536
1556
|
cursorId: string;
|
|
1537
1557
|
columnCount: number;
|
|
@@ -1548,7 +1568,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1548
1568
|
indexRef: React.MutableRefObject<number>;
|
|
1549
1569
|
nonInteractiveIds: string[];
|
|
1550
1570
|
isVirtualized: boolean;
|
|
1551
|
-
items: import("
|
|
1571
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1552
1572
|
}) => void) | undefined;
|
|
1553
1573
|
onSelectAll?: ((data: undefined, prevState: {
|
|
1554
1574
|
getId: (item: any) => string;
|
|
@@ -1556,7 +1576,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1556
1576
|
/**
|
|
1557
1577
|
* A list of panels. Uses `ListModel`
|
|
1558
1578
|
*/
|
|
1559
|
-
panels: import("
|
|
1579
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1560
1580
|
/**
|
|
1561
1581
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1562
1582
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1567,7 +1587,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1567
1587
|
itemWidthCache: Record<string, number>;
|
|
1568
1588
|
containerWidth: number;
|
|
1569
1589
|
overflowTargetWidth: number;
|
|
1570
|
-
selectedIds:
|
|
1590
|
+
selectedIds: string[] | "all";
|
|
1571
1591
|
unselectedIds: string[];
|
|
1572
1592
|
cursorId: string;
|
|
1573
1593
|
columnCount: number;
|
|
@@ -1584,7 +1604,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1584
1604
|
indexRef: React.MutableRefObject<number>;
|
|
1585
1605
|
nonInteractiveIds: string[];
|
|
1586
1606
|
isVirtualized: boolean;
|
|
1587
|
-
items: import("
|
|
1607
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1588
1608
|
}) => void) | undefined;
|
|
1589
1609
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
1590
1610
|
getId: (item: any) => string;
|
|
@@ -1592,7 +1612,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1592
1612
|
/**
|
|
1593
1613
|
* A list of panels. Uses `ListModel`
|
|
1594
1614
|
*/
|
|
1595
|
-
panels: import("
|
|
1615
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1596
1616
|
/**
|
|
1597
1617
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1598
1618
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1603,7 +1623,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1603
1623
|
itemWidthCache: Record<string, number>;
|
|
1604
1624
|
containerWidth: number;
|
|
1605
1625
|
overflowTargetWidth: number;
|
|
1606
|
-
selectedIds:
|
|
1626
|
+
selectedIds: string[] | "all";
|
|
1607
1627
|
unselectedIds: string[];
|
|
1608
1628
|
cursorId: string;
|
|
1609
1629
|
columnCount: number;
|
|
@@ -1620,7 +1640,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1620
1640
|
indexRef: React.MutableRefObject<number>;
|
|
1621
1641
|
nonInteractiveIds: string[];
|
|
1622
1642
|
isVirtualized: boolean;
|
|
1623
|
-
items: import("
|
|
1643
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1624
1644
|
}) => void) | undefined;
|
|
1625
1645
|
onRegisterItem?: ((data: {
|
|
1626
1646
|
item: any;
|
|
@@ -1631,7 +1651,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1631
1651
|
/**
|
|
1632
1652
|
* A list of panels. Uses `ListModel`
|
|
1633
1653
|
*/
|
|
1634
|
-
panels: import("
|
|
1654
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1635
1655
|
/**
|
|
1636
1656
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1637
1657
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1642,7 +1662,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1642
1662
|
itemWidthCache: Record<string, number>;
|
|
1643
1663
|
containerWidth: number;
|
|
1644
1664
|
overflowTargetWidth: number;
|
|
1645
|
-
selectedIds:
|
|
1665
|
+
selectedIds: string[] | "all";
|
|
1646
1666
|
unselectedIds: string[];
|
|
1647
1667
|
cursorId: string;
|
|
1648
1668
|
columnCount: number;
|
|
@@ -1659,7 +1679,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1659
1679
|
indexRef: React.MutableRefObject<number>;
|
|
1660
1680
|
nonInteractiveIds: string[];
|
|
1661
1681
|
isVirtualized: boolean;
|
|
1662
|
-
items: import("
|
|
1682
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1663
1683
|
}) => void) | undefined;
|
|
1664
1684
|
onGoTo?: ((data: {
|
|
1665
1685
|
id: string;
|
|
@@ -1669,7 +1689,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1669
1689
|
/**
|
|
1670
1690
|
* A list of panels. Uses `ListModel`
|
|
1671
1691
|
*/
|
|
1672
|
-
panels: import("
|
|
1692
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1673
1693
|
/**
|
|
1674
1694
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1675
1695
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1680,7 +1700,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1680
1700
|
itemWidthCache: Record<string, number>;
|
|
1681
1701
|
containerWidth: number;
|
|
1682
1702
|
overflowTargetWidth: number;
|
|
1683
|
-
selectedIds:
|
|
1703
|
+
selectedIds: string[] | "all";
|
|
1684
1704
|
unselectedIds: string[];
|
|
1685
1705
|
cursorId: string;
|
|
1686
1706
|
columnCount: number;
|
|
@@ -1697,7 +1717,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1697
1717
|
indexRef: React.MutableRefObject<number>;
|
|
1698
1718
|
nonInteractiveIds: string[];
|
|
1699
1719
|
isVirtualized: boolean;
|
|
1700
|
-
items: import("
|
|
1720
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1701
1721
|
}) => void) | undefined;
|
|
1702
1722
|
onGoToNext?: ((data: undefined, prevState: {
|
|
1703
1723
|
getId: (item: any) => string;
|
|
@@ -1705,7 +1725,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1705
1725
|
/**
|
|
1706
1726
|
* A list of panels. Uses `ListModel`
|
|
1707
1727
|
*/
|
|
1708
|
-
panels: import("
|
|
1728
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1709
1729
|
/**
|
|
1710
1730
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1711
1731
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1716,7 +1736,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1716
1736
|
itemWidthCache: Record<string, number>;
|
|
1717
1737
|
containerWidth: number;
|
|
1718
1738
|
overflowTargetWidth: number;
|
|
1719
|
-
selectedIds:
|
|
1739
|
+
selectedIds: string[] | "all";
|
|
1720
1740
|
unselectedIds: string[];
|
|
1721
1741
|
cursorId: string;
|
|
1722
1742
|
columnCount: number;
|
|
@@ -1733,7 +1753,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1733
1753
|
indexRef: React.MutableRefObject<number>;
|
|
1734
1754
|
nonInteractiveIds: string[];
|
|
1735
1755
|
isVirtualized: boolean;
|
|
1736
|
-
items: import("
|
|
1756
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1737
1757
|
}) => void) | undefined;
|
|
1738
1758
|
onGoToPrevious?: ((data: undefined, prevState: {
|
|
1739
1759
|
getId: (item: any) => string;
|
|
@@ -1741,7 +1761,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1741
1761
|
/**
|
|
1742
1762
|
* A list of panels. Uses `ListModel`
|
|
1743
1763
|
*/
|
|
1744
|
-
panels: import("
|
|
1764
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1745
1765
|
/**
|
|
1746
1766
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1747
1767
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1752,7 +1772,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1752
1772
|
itemWidthCache: Record<string, number>;
|
|
1753
1773
|
containerWidth: number;
|
|
1754
1774
|
overflowTargetWidth: number;
|
|
1755
|
-
selectedIds:
|
|
1775
|
+
selectedIds: string[] | "all";
|
|
1756
1776
|
unselectedIds: string[];
|
|
1757
1777
|
cursorId: string;
|
|
1758
1778
|
columnCount: number;
|
|
@@ -1769,7 +1789,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1769
1789
|
indexRef: React.MutableRefObject<number>;
|
|
1770
1790
|
nonInteractiveIds: string[];
|
|
1771
1791
|
isVirtualized: boolean;
|
|
1772
|
-
items: import("
|
|
1792
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1773
1793
|
}) => void) | undefined;
|
|
1774
1794
|
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
1775
1795
|
getId: (item: any) => string;
|
|
@@ -1777,7 +1797,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1777
1797
|
/**
|
|
1778
1798
|
* A list of panels. Uses `ListModel`
|
|
1779
1799
|
*/
|
|
1780
|
-
panels: import("
|
|
1800
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1781
1801
|
/**
|
|
1782
1802
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1783
1803
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1788,7 +1808,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1788
1808
|
itemWidthCache: Record<string, number>;
|
|
1789
1809
|
containerWidth: number;
|
|
1790
1810
|
overflowTargetWidth: number;
|
|
1791
|
-
selectedIds:
|
|
1811
|
+
selectedIds: string[] | "all";
|
|
1792
1812
|
unselectedIds: string[];
|
|
1793
1813
|
cursorId: string;
|
|
1794
1814
|
columnCount: number;
|
|
@@ -1805,7 +1825,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1805
1825
|
indexRef: React.MutableRefObject<number>;
|
|
1806
1826
|
nonInteractiveIds: string[];
|
|
1807
1827
|
isVirtualized: boolean;
|
|
1808
|
-
items: import("
|
|
1828
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1809
1829
|
}) => void) | undefined;
|
|
1810
1830
|
onGoToNextRow?: ((data: undefined, prevState: {
|
|
1811
1831
|
getId: (item: any) => string;
|
|
@@ -1813,7 +1833,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1813
1833
|
/**
|
|
1814
1834
|
* A list of panels. Uses `ListModel`
|
|
1815
1835
|
*/
|
|
1816
|
-
panels: import("
|
|
1836
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1817
1837
|
/**
|
|
1818
1838
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1819
1839
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1824,7 +1844,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1824
1844
|
itemWidthCache: Record<string, number>;
|
|
1825
1845
|
containerWidth: number;
|
|
1826
1846
|
overflowTargetWidth: number;
|
|
1827
|
-
selectedIds:
|
|
1847
|
+
selectedIds: string[] | "all";
|
|
1828
1848
|
unselectedIds: string[];
|
|
1829
1849
|
cursorId: string;
|
|
1830
1850
|
columnCount: number;
|
|
@@ -1841,7 +1861,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1841
1861
|
indexRef: React.MutableRefObject<number>;
|
|
1842
1862
|
nonInteractiveIds: string[];
|
|
1843
1863
|
isVirtualized: boolean;
|
|
1844
|
-
items: import("
|
|
1864
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1845
1865
|
}) => void) | undefined;
|
|
1846
1866
|
onGoToFirst?: ((data: undefined, prevState: {
|
|
1847
1867
|
getId: (item: any) => string;
|
|
@@ -1849,7 +1869,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1849
1869
|
/**
|
|
1850
1870
|
* A list of panels. Uses `ListModel`
|
|
1851
1871
|
*/
|
|
1852
|
-
panels: import("
|
|
1872
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1853
1873
|
/**
|
|
1854
1874
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1855
1875
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1860,7 +1880,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1860
1880
|
itemWidthCache: Record<string, number>;
|
|
1861
1881
|
containerWidth: number;
|
|
1862
1882
|
overflowTargetWidth: number;
|
|
1863
|
-
selectedIds:
|
|
1883
|
+
selectedIds: string[] | "all";
|
|
1864
1884
|
unselectedIds: string[];
|
|
1865
1885
|
cursorId: string;
|
|
1866
1886
|
columnCount: number;
|
|
@@ -1877,7 +1897,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1877
1897
|
indexRef: React.MutableRefObject<number>;
|
|
1878
1898
|
nonInteractiveIds: string[];
|
|
1879
1899
|
isVirtualized: boolean;
|
|
1880
|
-
items: import("
|
|
1900
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1881
1901
|
}) => void) | undefined;
|
|
1882
1902
|
onGoToLast?: ((data: undefined, prevState: {
|
|
1883
1903
|
getId: (item: any) => string;
|
|
@@ -1885,7 +1905,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1885
1905
|
/**
|
|
1886
1906
|
* A list of panels. Uses `ListModel`
|
|
1887
1907
|
*/
|
|
1888
|
-
panels: import("
|
|
1908
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1889
1909
|
/**
|
|
1890
1910
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1891
1911
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1896,7 +1916,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1896
1916
|
itemWidthCache: Record<string, number>;
|
|
1897
1917
|
containerWidth: number;
|
|
1898
1918
|
overflowTargetWidth: number;
|
|
1899
|
-
selectedIds:
|
|
1919
|
+
selectedIds: string[] | "all";
|
|
1900
1920
|
unselectedIds: string[];
|
|
1901
1921
|
cursorId: string;
|
|
1902
1922
|
columnCount: number;
|
|
@@ -1913,7 +1933,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1913
1933
|
indexRef: React.MutableRefObject<number>;
|
|
1914
1934
|
nonInteractiveIds: string[];
|
|
1915
1935
|
isVirtualized: boolean;
|
|
1916
|
-
items: import("
|
|
1936
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1917
1937
|
}) => void) | undefined;
|
|
1918
1938
|
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
1919
1939
|
getId: (item: any) => string;
|
|
@@ -1921,7 +1941,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1921
1941
|
/**
|
|
1922
1942
|
* A list of panels. Uses `ListModel`
|
|
1923
1943
|
*/
|
|
1924
|
-
panels: import("
|
|
1944
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1925
1945
|
/**
|
|
1926
1946
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1927
1947
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1932,7 +1952,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1932
1952
|
itemWidthCache: Record<string, number>;
|
|
1933
1953
|
containerWidth: number;
|
|
1934
1954
|
overflowTargetWidth: number;
|
|
1935
|
-
selectedIds:
|
|
1955
|
+
selectedIds: string[] | "all";
|
|
1936
1956
|
unselectedIds: string[];
|
|
1937
1957
|
cursorId: string;
|
|
1938
1958
|
columnCount: number;
|
|
@@ -1949,7 +1969,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1949
1969
|
indexRef: React.MutableRefObject<number>;
|
|
1950
1970
|
nonInteractiveIds: string[];
|
|
1951
1971
|
isVirtualized: boolean;
|
|
1952
|
-
items: import("
|
|
1972
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1953
1973
|
}) => void) | undefined;
|
|
1954
1974
|
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
1955
1975
|
getId: (item: any) => string;
|
|
@@ -1957,7 +1977,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1957
1977
|
/**
|
|
1958
1978
|
* A list of panels. Uses `ListModel`
|
|
1959
1979
|
*/
|
|
1960
|
-
panels: import("
|
|
1980
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1961
1981
|
/**
|
|
1962
1982
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1963
1983
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1968,7 +1988,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1968
1988
|
itemWidthCache: Record<string, number>;
|
|
1969
1989
|
containerWidth: number;
|
|
1970
1990
|
overflowTargetWidth: number;
|
|
1971
|
-
selectedIds:
|
|
1991
|
+
selectedIds: string[] | "all";
|
|
1972
1992
|
unselectedIds: string[];
|
|
1973
1993
|
cursorId: string;
|
|
1974
1994
|
columnCount: number;
|
|
@@ -1985,7 +2005,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1985
2005
|
indexRef: React.MutableRefObject<number>;
|
|
1986
2006
|
nonInteractiveIds: string[];
|
|
1987
2007
|
isVirtualized: boolean;
|
|
1988
|
-
items: import("
|
|
2008
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1989
2009
|
}) => void) | undefined;
|
|
1990
2010
|
onGoToNextPage?: ((data: undefined, prevState: {
|
|
1991
2011
|
getId: (item: any) => string;
|
|
@@ -1993,7 +2013,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1993
2013
|
/**
|
|
1994
2014
|
* A list of panels. Uses `ListModel`
|
|
1995
2015
|
*/
|
|
1996
|
-
panels: import("
|
|
2016
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1997
2017
|
/**
|
|
1998
2018
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1999
2019
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2004,7 +2024,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2004
2024
|
itemWidthCache: Record<string, number>;
|
|
2005
2025
|
containerWidth: number;
|
|
2006
2026
|
overflowTargetWidth: number;
|
|
2007
|
-
selectedIds:
|
|
2027
|
+
selectedIds: string[] | "all";
|
|
2008
2028
|
unselectedIds: string[];
|
|
2009
2029
|
cursorId: string;
|
|
2010
2030
|
columnCount: number;
|
|
@@ -2021,7 +2041,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2021
2041
|
indexRef: React.MutableRefObject<number>;
|
|
2022
2042
|
nonInteractiveIds: string[];
|
|
2023
2043
|
isVirtualized: boolean;
|
|
2024
|
-
items: import("
|
|
2044
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2025
2045
|
}) => void) | undefined;
|
|
2026
2046
|
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
2027
2047
|
getId: (item: any) => string;
|
|
@@ -2029,7 +2049,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2029
2049
|
/**
|
|
2030
2050
|
* A list of panels. Uses `ListModel`
|
|
2031
2051
|
*/
|
|
2032
|
-
panels: import("
|
|
2052
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2033
2053
|
/**
|
|
2034
2054
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2035
2055
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2040,7 +2060,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2040
2060
|
itemWidthCache: Record<string, number>;
|
|
2041
2061
|
containerWidth: number;
|
|
2042
2062
|
overflowTargetWidth: number;
|
|
2043
|
-
selectedIds:
|
|
2063
|
+
selectedIds: string[] | "all";
|
|
2044
2064
|
unselectedIds: string[];
|
|
2045
2065
|
cursorId: string;
|
|
2046
2066
|
columnCount: number;
|
|
@@ -2057,7 +2077,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2057
2077
|
indexRef: React.MutableRefObject<number>;
|
|
2058
2078
|
nonInteractiveIds: string[];
|
|
2059
2079
|
isVirtualized: boolean;
|
|
2060
|
-
items: import("
|
|
2080
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2061
2081
|
}) => void) | undefined;
|
|
2062
2082
|
onUnregisterItem?: ((data: {
|
|
2063
2083
|
id: string;
|
|
@@ -2067,7 +2087,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2067
2087
|
/**
|
|
2068
2088
|
* A list of panels. Uses `ListModel`
|
|
2069
2089
|
*/
|
|
2070
|
-
panels: import("
|
|
2090
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2071
2091
|
/**
|
|
2072
2092
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2073
2093
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2078,7 +2098,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2078
2098
|
itemWidthCache: Record<string, number>;
|
|
2079
2099
|
containerWidth: number;
|
|
2080
2100
|
overflowTargetWidth: number;
|
|
2081
|
-
selectedIds:
|
|
2101
|
+
selectedIds: string[] | "all";
|
|
2082
2102
|
unselectedIds: string[];
|
|
2083
2103
|
cursorId: string;
|
|
2084
2104
|
columnCount: number;
|
|
@@ -2095,7 +2115,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2095
2115
|
indexRef: React.MutableRefObject<number>;
|
|
2096
2116
|
nonInteractiveIds: string[];
|
|
2097
2117
|
isVirtualized: boolean;
|
|
2098
|
-
items: import("
|
|
2118
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2099
2119
|
}) => void) | undefined;
|
|
2100
2120
|
onUpdateItemHeight?: ((data: {
|
|
2101
2121
|
value: number;
|
|
@@ -2105,7 +2125,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2105
2125
|
/**
|
|
2106
2126
|
* A list of panels. Uses `ListModel`
|
|
2107
2127
|
*/
|
|
2108
|
-
panels: import("
|
|
2128
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2109
2129
|
/**
|
|
2110
2130
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2111
2131
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2116,7 +2136,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2116
2136
|
itemWidthCache: Record<string, number>;
|
|
2117
2137
|
containerWidth: number;
|
|
2118
2138
|
overflowTargetWidth: number;
|
|
2119
|
-
selectedIds:
|
|
2139
|
+
selectedIds: string[] | "all";
|
|
2120
2140
|
unselectedIds: string[];
|
|
2121
2141
|
cursorId: string;
|
|
2122
2142
|
columnCount: number;
|
|
@@ -2133,7 +2153,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2133
2153
|
indexRef: React.MutableRefObject<number>;
|
|
2134
2154
|
nonInteractiveIds: string[];
|
|
2135
2155
|
isVirtualized: boolean;
|
|
2136
|
-
items: import("
|
|
2156
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2137
2157
|
}) => void) | undefined;
|
|
2138
2158
|
} & {
|
|
2139
2159
|
shouldRegisterPanel?: ((data: {
|
|
@@ -2145,7 +2165,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2145
2165
|
/**
|
|
2146
2166
|
* A list of panels. Uses `ListModel`
|
|
2147
2167
|
*/
|
|
2148
|
-
panels: import("
|
|
2168
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2149
2169
|
/**
|
|
2150
2170
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2151
2171
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2156,7 +2176,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2156
2176
|
itemWidthCache: Record<string, number>;
|
|
2157
2177
|
containerWidth: number;
|
|
2158
2178
|
overflowTargetWidth: number;
|
|
2159
|
-
selectedIds:
|
|
2179
|
+
selectedIds: string[] | "all";
|
|
2160
2180
|
unselectedIds: string[];
|
|
2161
2181
|
cursorId: string;
|
|
2162
2182
|
columnCount: number;
|
|
@@ -2173,7 +2193,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2173
2193
|
indexRef: React.MutableRefObject<number>;
|
|
2174
2194
|
nonInteractiveIds: string[];
|
|
2175
2195
|
isVirtualized: boolean;
|
|
2176
|
-
items: import("
|
|
2196
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2177
2197
|
}) => boolean) | undefined;
|
|
2178
2198
|
shouldUnregisterPanel?: ((data: {
|
|
2179
2199
|
id: string;
|
|
@@ -2183,7 +2203,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2183
2203
|
/**
|
|
2184
2204
|
* A list of panels. Uses `ListModel`
|
|
2185
2205
|
*/
|
|
2186
|
-
panels: import("
|
|
2206
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2187
2207
|
/**
|
|
2188
2208
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2189
2209
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2194,7 +2214,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2194
2214
|
itemWidthCache: Record<string, number>;
|
|
2195
2215
|
containerWidth: number;
|
|
2196
2216
|
overflowTargetWidth: number;
|
|
2197
|
-
selectedIds:
|
|
2217
|
+
selectedIds: string[] | "all";
|
|
2198
2218
|
unselectedIds: string[];
|
|
2199
2219
|
cursorId: string;
|
|
2200
2220
|
columnCount: number;
|
|
@@ -2211,7 +2231,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2211
2231
|
indexRef: React.MutableRefObject<number>;
|
|
2212
2232
|
nonInteractiveIds: string[];
|
|
2213
2233
|
isVirtualized: boolean;
|
|
2214
|
-
items: import("
|
|
2234
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2215
2235
|
}) => boolean) | undefined;
|
|
2216
2236
|
shouldSelect?: ((data: {
|
|
2217
2237
|
id: string;
|
|
@@ -2221,7 +2241,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2221
2241
|
/**
|
|
2222
2242
|
* A list of panels. Uses `ListModel`
|
|
2223
2243
|
*/
|
|
2224
|
-
panels: import("
|
|
2244
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2225
2245
|
/**
|
|
2226
2246
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2227
2247
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2232,7 +2252,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2232
2252
|
itemWidthCache: Record<string, number>;
|
|
2233
2253
|
containerWidth: number;
|
|
2234
2254
|
overflowTargetWidth: number;
|
|
2235
|
-
selectedIds:
|
|
2255
|
+
selectedIds: string[] | "all";
|
|
2236
2256
|
unselectedIds: string[];
|
|
2237
2257
|
cursorId: string;
|
|
2238
2258
|
columnCount: number;
|
|
@@ -2249,7 +2269,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2249
2269
|
indexRef: React.MutableRefObject<number>;
|
|
2250
2270
|
nonInteractiveIds: string[];
|
|
2251
2271
|
isVirtualized: boolean;
|
|
2252
|
-
items: import("
|
|
2272
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2253
2273
|
}) => boolean) | undefined;
|
|
2254
2274
|
shouldSetContainerWidth?: ((data: {
|
|
2255
2275
|
width?: number | undefined;
|
|
@@ -2259,7 +2279,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2259
2279
|
/**
|
|
2260
2280
|
* A list of panels. Uses `ListModel`
|
|
2261
2281
|
*/
|
|
2262
|
-
panels: import("
|
|
2282
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2263
2283
|
/**
|
|
2264
2284
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2265
2285
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2270,7 +2290,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2270
2290
|
itemWidthCache: Record<string, number>;
|
|
2271
2291
|
containerWidth: number;
|
|
2272
2292
|
overflowTargetWidth: number;
|
|
2273
|
-
selectedIds:
|
|
2293
|
+
selectedIds: string[] | "all";
|
|
2274
2294
|
unselectedIds: string[];
|
|
2275
2295
|
cursorId: string;
|
|
2276
2296
|
columnCount: number;
|
|
@@ -2287,7 +2307,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2287
2307
|
indexRef: React.MutableRefObject<number>;
|
|
2288
2308
|
nonInteractiveIds: string[];
|
|
2289
2309
|
isVirtualized: boolean;
|
|
2290
|
-
items: import("
|
|
2310
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2291
2311
|
}) => boolean) | undefined;
|
|
2292
2312
|
shouldSetOverflowTargetWidth?: ((data: {
|
|
2293
2313
|
width: number;
|
|
@@ -2297,7 +2317,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2297
2317
|
/**
|
|
2298
2318
|
* A list of panels. Uses `ListModel`
|
|
2299
2319
|
*/
|
|
2300
|
-
panels: import("
|
|
2320
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2301
2321
|
/**
|
|
2302
2322
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2303
2323
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2308,7 +2328,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2308
2328
|
itemWidthCache: Record<string, number>;
|
|
2309
2329
|
containerWidth: number;
|
|
2310
2330
|
overflowTargetWidth: number;
|
|
2311
|
-
selectedIds:
|
|
2331
|
+
selectedIds: string[] | "all";
|
|
2312
2332
|
unselectedIds: string[];
|
|
2313
2333
|
cursorId: string;
|
|
2314
2334
|
columnCount: number;
|
|
@@ -2325,7 +2345,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2325
2345
|
indexRef: React.MutableRefObject<number>;
|
|
2326
2346
|
nonInteractiveIds: string[];
|
|
2327
2347
|
isVirtualized: boolean;
|
|
2328
|
-
items: import("
|
|
2348
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2329
2349
|
}) => boolean) | undefined;
|
|
2330
2350
|
shouldAddItemWidth?: ((data: {
|
|
2331
2351
|
id: string;
|
|
@@ -2336,7 +2356,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2336
2356
|
/**
|
|
2337
2357
|
* A list of panels. Uses `ListModel`
|
|
2338
2358
|
*/
|
|
2339
|
-
panels: import("
|
|
2359
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2340
2360
|
/**
|
|
2341
2361
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2342
2362
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2347,7 +2367,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2347
2367
|
itemWidthCache: Record<string, number>;
|
|
2348
2368
|
containerWidth: number;
|
|
2349
2369
|
overflowTargetWidth: number;
|
|
2350
|
-
selectedIds:
|
|
2370
|
+
selectedIds: string[] | "all";
|
|
2351
2371
|
unselectedIds: string[];
|
|
2352
2372
|
cursorId: string;
|
|
2353
2373
|
columnCount: number;
|
|
@@ -2364,7 +2384,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2364
2384
|
indexRef: React.MutableRefObject<number>;
|
|
2365
2385
|
nonInteractiveIds: string[];
|
|
2366
2386
|
isVirtualized: boolean;
|
|
2367
|
-
items: import("
|
|
2387
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2368
2388
|
}) => boolean) | undefined;
|
|
2369
2389
|
shouldRemoveItemWidth?: ((data: {
|
|
2370
2390
|
id: string;
|
|
@@ -2374,7 +2394,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2374
2394
|
/**
|
|
2375
2395
|
* A list of panels. Uses `ListModel`
|
|
2376
2396
|
*/
|
|
2377
|
-
panels: import("
|
|
2397
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2378
2398
|
/**
|
|
2379
2399
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2380
2400
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2385,7 +2405,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2385
2405
|
itemWidthCache: Record<string, number>;
|
|
2386
2406
|
containerWidth: number;
|
|
2387
2407
|
overflowTargetWidth: number;
|
|
2388
|
-
selectedIds:
|
|
2408
|
+
selectedIds: string[] | "all";
|
|
2389
2409
|
unselectedIds: string[];
|
|
2390
2410
|
cursorId: string;
|
|
2391
2411
|
columnCount: number;
|
|
@@ -2402,7 +2422,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2402
2422
|
indexRef: React.MutableRefObject<number>;
|
|
2403
2423
|
nonInteractiveIds: string[];
|
|
2404
2424
|
isVirtualized: boolean;
|
|
2405
|
-
items: import("
|
|
2425
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2406
2426
|
}) => boolean) | undefined;
|
|
2407
2427
|
shouldAddHiddenKey?: ((data: {
|
|
2408
2428
|
id: string;
|
|
@@ -2412,7 +2432,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2412
2432
|
/**
|
|
2413
2433
|
* A list of panels. Uses `ListModel`
|
|
2414
2434
|
*/
|
|
2415
|
-
panels: import("
|
|
2435
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2416
2436
|
/**
|
|
2417
2437
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2418
2438
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2423,7 +2443,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2423
2443
|
itemWidthCache: Record<string, number>;
|
|
2424
2444
|
containerWidth: number;
|
|
2425
2445
|
overflowTargetWidth: number;
|
|
2426
|
-
selectedIds:
|
|
2446
|
+
selectedIds: string[] | "all";
|
|
2427
2447
|
unselectedIds: string[];
|
|
2428
2448
|
cursorId: string;
|
|
2429
2449
|
columnCount: number;
|
|
@@ -2440,7 +2460,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2440
2460
|
indexRef: React.MutableRefObject<number>;
|
|
2441
2461
|
nonInteractiveIds: string[];
|
|
2442
2462
|
isVirtualized: boolean;
|
|
2443
|
-
items: import("
|
|
2463
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2444
2464
|
}) => boolean) | undefined;
|
|
2445
2465
|
shouldRemoveHiddenKey?: ((data: {
|
|
2446
2466
|
id: string;
|
|
@@ -2450,7 +2470,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2450
2470
|
/**
|
|
2451
2471
|
* A list of panels. Uses `ListModel`
|
|
2452
2472
|
*/
|
|
2453
|
-
panels: import("
|
|
2473
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2454
2474
|
/**
|
|
2455
2475
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2456
2476
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2461,7 +2481,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2461
2481
|
itemWidthCache: Record<string, number>;
|
|
2462
2482
|
containerWidth: number;
|
|
2463
2483
|
overflowTargetWidth: number;
|
|
2464
|
-
selectedIds:
|
|
2484
|
+
selectedIds: string[] | "all";
|
|
2465
2485
|
unselectedIds: string[];
|
|
2466
2486
|
cursorId: string;
|
|
2467
2487
|
columnCount: number;
|
|
@@ -2478,7 +2498,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2478
2498
|
indexRef: React.MutableRefObject<number>;
|
|
2479
2499
|
nonInteractiveIds: string[];
|
|
2480
2500
|
isVirtualized: boolean;
|
|
2481
|
-
items: import("
|
|
2501
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2482
2502
|
}) => boolean) | undefined;
|
|
2483
2503
|
shouldSelectAll?: ((data: undefined, state: {
|
|
2484
2504
|
getId: (item: any) => string;
|
|
@@ -2486,7 +2506,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2486
2506
|
/**
|
|
2487
2507
|
* A list of panels. Uses `ListModel`
|
|
2488
2508
|
*/
|
|
2489
|
-
panels: import("
|
|
2509
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2490
2510
|
/**
|
|
2491
2511
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2492
2512
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2497,7 +2517,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2497
2517
|
itemWidthCache: Record<string, number>;
|
|
2498
2518
|
containerWidth: number;
|
|
2499
2519
|
overflowTargetWidth: number;
|
|
2500
|
-
selectedIds:
|
|
2520
|
+
selectedIds: string[] | "all";
|
|
2501
2521
|
unselectedIds: string[];
|
|
2502
2522
|
cursorId: string;
|
|
2503
2523
|
columnCount: number;
|
|
@@ -2514,7 +2534,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2514
2534
|
indexRef: React.MutableRefObject<number>;
|
|
2515
2535
|
nonInteractiveIds: string[];
|
|
2516
2536
|
isVirtualized: boolean;
|
|
2517
|
-
items: import("
|
|
2537
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2518
2538
|
}) => boolean) | undefined;
|
|
2519
2539
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
2520
2540
|
getId: (item: any) => string;
|
|
@@ -2522,7 +2542,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2522
2542
|
/**
|
|
2523
2543
|
* A list of panels. Uses `ListModel`
|
|
2524
2544
|
*/
|
|
2525
|
-
panels: import("
|
|
2545
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2526
2546
|
/**
|
|
2527
2547
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2528
2548
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2533,7 +2553,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2533
2553
|
itemWidthCache: Record<string, number>;
|
|
2534
2554
|
containerWidth: number;
|
|
2535
2555
|
overflowTargetWidth: number;
|
|
2536
|
-
selectedIds:
|
|
2556
|
+
selectedIds: string[] | "all";
|
|
2537
2557
|
unselectedIds: string[];
|
|
2538
2558
|
cursorId: string;
|
|
2539
2559
|
columnCount: number;
|
|
@@ -2550,7 +2570,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2550
2570
|
indexRef: React.MutableRefObject<number>;
|
|
2551
2571
|
nonInteractiveIds: string[];
|
|
2552
2572
|
isVirtualized: boolean;
|
|
2553
|
-
items: import("
|
|
2573
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2554
2574
|
}) => boolean) | undefined;
|
|
2555
2575
|
shouldRegisterItem?: ((data: {
|
|
2556
2576
|
item: any;
|
|
@@ -2561,7 +2581,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2561
2581
|
/**
|
|
2562
2582
|
* A list of panels. Uses `ListModel`
|
|
2563
2583
|
*/
|
|
2564
|
-
panels: import("
|
|
2584
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2565
2585
|
/**
|
|
2566
2586
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2567
2587
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2572,7 +2592,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2572
2592
|
itemWidthCache: Record<string, number>;
|
|
2573
2593
|
containerWidth: number;
|
|
2574
2594
|
overflowTargetWidth: number;
|
|
2575
|
-
selectedIds:
|
|
2595
|
+
selectedIds: string[] | "all";
|
|
2576
2596
|
unselectedIds: string[];
|
|
2577
2597
|
cursorId: string;
|
|
2578
2598
|
columnCount: number;
|
|
@@ -2589,7 +2609,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2589
2609
|
indexRef: React.MutableRefObject<number>;
|
|
2590
2610
|
nonInteractiveIds: string[];
|
|
2591
2611
|
isVirtualized: boolean;
|
|
2592
|
-
items: import("
|
|
2612
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2593
2613
|
}) => boolean) | undefined;
|
|
2594
2614
|
shouldGoTo?: ((data: {
|
|
2595
2615
|
id: string;
|
|
@@ -2599,7 +2619,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2599
2619
|
/**
|
|
2600
2620
|
* A list of panels. Uses `ListModel`
|
|
2601
2621
|
*/
|
|
2602
|
-
panels: import("
|
|
2622
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2603
2623
|
/**
|
|
2604
2624
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2605
2625
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2610,7 +2630,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2610
2630
|
itemWidthCache: Record<string, number>;
|
|
2611
2631
|
containerWidth: number;
|
|
2612
2632
|
overflowTargetWidth: number;
|
|
2613
|
-
selectedIds:
|
|
2633
|
+
selectedIds: string[] | "all";
|
|
2614
2634
|
unselectedIds: string[];
|
|
2615
2635
|
cursorId: string;
|
|
2616
2636
|
columnCount: number;
|
|
@@ -2627,7 +2647,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2627
2647
|
indexRef: React.MutableRefObject<number>;
|
|
2628
2648
|
nonInteractiveIds: string[];
|
|
2629
2649
|
isVirtualized: boolean;
|
|
2630
|
-
items: import("
|
|
2650
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2631
2651
|
}) => boolean) | undefined;
|
|
2632
2652
|
shouldGoToNext?: ((data: undefined, state: {
|
|
2633
2653
|
getId: (item: any) => string;
|
|
@@ -2635,7 +2655,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2635
2655
|
/**
|
|
2636
2656
|
* A list of panels. Uses `ListModel`
|
|
2637
2657
|
*/
|
|
2638
|
-
panels: import("
|
|
2658
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2639
2659
|
/**
|
|
2640
2660
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2641
2661
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2646,7 +2666,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2646
2666
|
itemWidthCache: Record<string, number>;
|
|
2647
2667
|
containerWidth: number;
|
|
2648
2668
|
overflowTargetWidth: number;
|
|
2649
|
-
selectedIds:
|
|
2669
|
+
selectedIds: string[] | "all";
|
|
2650
2670
|
unselectedIds: string[];
|
|
2651
2671
|
cursorId: string;
|
|
2652
2672
|
columnCount: number;
|
|
@@ -2663,7 +2683,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2663
2683
|
indexRef: React.MutableRefObject<number>;
|
|
2664
2684
|
nonInteractiveIds: string[];
|
|
2665
2685
|
isVirtualized: boolean;
|
|
2666
|
-
items: import("
|
|
2686
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2667
2687
|
}) => boolean) | undefined;
|
|
2668
2688
|
shouldGoToPrevious?: ((data: undefined, state: {
|
|
2669
2689
|
getId: (item: any) => string;
|
|
@@ -2671,7 +2691,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2671
2691
|
/**
|
|
2672
2692
|
* A list of panels. Uses `ListModel`
|
|
2673
2693
|
*/
|
|
2674
|
-
panels: import("
|
|
2694
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2675
2695
|
/**
|
|
2676
2696
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2677
2697
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2682,7 +2702,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2682
2702
|
itemWidthCache: Record<string, number>;
|
|
2683
2703
|
containerWidth: number;
|
|
2684
2704
|
overflowTargetWidth: number;
|
|
2685
|
-
selectedIds:
|
|
2705
|
+
selectedIds: string[] | "all";
|
|
2686
2706
|
unselectedIds: string[];
|
|
2687
2707
|
cursorId: string;
|
|
2688
2708
|
columnCount: number;
|
|
@@ -2699,7 +2719,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2699
2719
|
indexRef: React.MutableRefObject<number>;
|
|
2700
2720
|
nonInteractiveIds: string[];
|
|
2701
2721
|
isVirtualized: boolean;
|
|
2702
|
-
items: import("
|
|
2722
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2703
2723
|
}) => boolean) | undefined;
|
|
2704
2724
|
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
2705
2725
|
getId: (item: any) => string;
|
|
@@ -2707,7 +2727,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2707
2727
|
/**
|
|
2708
2728
|
* A list of panels. Uses `ListModel`
|
|
2709
2729
|
*/
|
|
2710
|
-
panels: import("
|
|
2730
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2711
2731
|
/**
|
|
2712
2732
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2713
2733
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2718,7 +2738,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2718
2738
|
itemWidthCache: Record<string, number>;
|
|
2719
2739
|
containerWidth: number;
|
|
2720
2740
|
overflowTargetWidth: number;
|
|
2721
|
-
selectedIds:
|
|
2741
|
+
selectedIds: string[] | "all";
|
|
2722
2742
|
unselectedIds: string[];
|
|
2723
2743
|
cursorId: string;
|
|
2724
2744
|
columnCount: number;
|
|
@@ -2735,7 +2755,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2735
2755
|
indexRef: React.MutableRefObject<number>;
|
|
2736
2756
|
nonInteractiveIds: string[];
|
|
2737
2757
|
isVirtualized: boolean;
|
|
2738
|
-
items: import("
|
|
2758
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2739
2759
|
}) => boolean) | undefined;
|
|
2740
2760
|
shouldGoToNextRow?: ((data: undefined, state: {
|
|
2741
2761
|
getId: (item: any) => string;
|
|
@@ -2743,7 +2763,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2743
2763
|
/**
|
|
2744
2764
|
* A list of panels. Uses `ListModel`
|
|
2745
2765
|
*/
|
|
2746
|
-
panels: import("
|
|
2766
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2747
2767
|
/**
|
|
2748
2768
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2749
2769
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2754,7 +2774,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2754
2774
|
itemWidthCache: Record<string, number>;
|
|
2755
2775
|
containerWidth: number;
|
|
2756
2776
|
overflowTargetWidth: number;
|
|
2757
|
-
selectedIds:
|
|
2777
|
+
selectedIds: string[] | "all";
|
|
2758
2778
|
unselectedIds: string[];
|
|
2759
2779
|
cursorId: string;
|
|
2760
2780
|
columnCount: number;
|
|
@@ -2771,7 +2791,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2771
2791
|
indexRef: React.MutableRefObject<number>;
|
|
2772
2792
|
nonInteractiveIds: string[];
|
|
2773
2793
|
isVirtualized: boolean;
|
|
2774
|
-
items: import("
|
|
2794
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2775
2795
|
}) => boolean) | undefined;
|
|
2776
2796
|
shouldGoToFirst?: ((data: undefined, state: {
|
|
2777
2797
|
getId: (item: any) => string;
|
|
@@ -2779,7 +2799,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2779
2799
|
/**
|
|
2780
2800
|
* A list of panels. Uses `ListModel`
|
|
2781
2801
|
*/
|
|
2782
|
-
panels: import("
|
|
2802
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2783
2803
|
/**
|
|
2784
2804
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2785
2805
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2790,7 +2810,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2790
2810
|
itemWidthCache: Record<string, number>;
|
|
2791
2811
|
containerWidth: number;
|
|
2792
2812
|
overflowTargetWidth: number;
|
|
2793
|
-
selectedIds:
|
|
2813
|
+
selectedIds: string[] | "all";
|
|
2794
2814
|
unselectedIds: string[];
|
|
2795
2815
|
cursorId: string;
|
|
2796
2816
|
columnCount: number;
|
|
@@ -2807,7 +2827,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2807
2827
|
indexRef: React.MutableRefObject<number>;
|
|
2808
2828
|
nonInteractiveIds: string[];
|
|
2809
2829
|
isVirtualized: boolean;
|
|
2810
|
-
items: import("
|
|
2830
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2811
2831
|
}) => boolean) | undefined;
|
|
2812
2832
|
shouldGoToLast?: ((data: undefined, state: {
|
|
2813
2833
|
getId: (item: any) => string;
|
|
@@ -2815,7 +2835,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2815
2835
|
/**
|
|
2816
2836
|
* A list of panels. Uses `ListModel`
|
|
2817
2837
|
*/
|
|
2818
|
-
panels: import("
|
|
2838
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2819
2839
|
/**
|
|
2820
2840
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2821
2841
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2826,7 +2846,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2826
2846
|
itemWidthCache: Record<string, number>;
|
|
2827
2847
|
containerWidth: number;
|
|
2828
2848
|
overflowTargetWidth: number;
|
|
2829
|
-
selectedIds:
|
|
2849
|
+
selectedIds: string[] | "all";
|
|
2830
2850
|
unselectedIds: string[];
|
|
2831
2851
|
cursorId: string;
|
|
2832
2852
|
columnCount: number;
|
|
@@ -2843,7 +2863,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2843
2863
|
indexRef: React.MutableRefObject<number>;
|
|
2844
2864
|
nonInteractiveIds: string[];
|
|
2845
2865
|
isVirtualized: boolean;
|
|
2846
|
-
items: import("
|
|
2866
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2847
2867
|
}) => boolean) | undefined;
|
|
2848
2868
|
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
2849
2869
|
getId: (item: any) => string;
|
|
@@ -2851,7 +2871,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2851
2871
|
/**
|
|
2852
2872
|
* A list of panels. Uses `ListModel`
|
|
2853
2873
|
*/
|
|
2854
|
-
panels: import("
|
|
2874
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2855
2875
|
/**
|
|
2856
2876
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2857
2877
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2862,7 +2882,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2862
2882
|
itemWidthCache: Record<string, number>;
|
|
2863
2883
|
containerWidth: number;
|
|
2864
2884
|
overflowTargetWidth: number;
|
|
2865
|
-
selectedIds:
|
|
2885
|
+
selectedIds: string[] | "all";
|
|
2866
2886
|
unselectedIds: string[];
|
|
2867
2887
|
cursorId: string;
|
|
2868
2888
|
columnCount: number;
|
|
@@ -2879,7 +2899,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2879
2899
|
indexRef: React.MutableRefObject<number>;
|
|
2880
2900
|
nonInteractiveIds: string[];
|
|
2881
2901
|
isVirtualized: boolean;
|
|
2882
|
-
items: import("
|
|
2902
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2883
2903
|
}) => boolean) | undefined;
|
|
2884
2904
|
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
2885
2905
|
getId: (item: any) => string;
|
|
@@ -2887,7 +2907,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2887
2907
|
/**
|
|
2888
2908
|
* A list of panels. Uses `ListModel`
|
|
2889
2909
|
*/
|
|
2890
|
-
panels: import("
|
|
2910
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2891
2911
|
/**
|
|
2892
2912
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2893
2913
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2898,7 +2918,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2898
2918
|
itemWidthCache: Record<string, number>;
|
|
2899
2919
|
containerWidth: number;
|
|
2900
2920
|
overflowTargetWidth: number;
|
|
2901
|
-
selectedIds:
|
|
2921
|
+
selectedIds: string[] | "all";
|
|
2902
2922
|
unselectedIds: string[];
|
|
2903
2923
|
cursorId: string;
|
|
2904
2924
|
columnCount: number;
|
|
@@ -2915,7 +2935,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2915
2935
|
indexRef: React.MutableRefObject<number>;
|
|
2916
2936
|
nonInteractiveIds: string[];
|
|
2917
2937
|
isVirtualized: boolean;
|
|
2918
|
-
items: import("
|
|
2938
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2919
2939
|
}) => boolean) | undefined;
|
|
2920
2940
|
shouldGoToNextPage?: ((data: undefined, state: {
|
|
2921
2941
|
getId: (item: any) => string;
|
|
@@ -2923,7 +2943,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2923
2943
|
/**
|
|
2924
2944
|
* A list of panels. Uses `ListModel`
|
|
2925
2945
|
*/
|
|
2926
|
-
panels: import("
|
|
2946
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2927
2947
|
/**
|
|
2928
2948
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2929
2949
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2934,7 +2954,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2934
2954
|
itemWidthCache: Record<string, number>;
|
|
2935
2955
|
containerWidth: number;
|
|
2936
2956
|
overflowTargetWidth: number;
|
|
2937
|
-
selectedIds:
|
|
2957
|
+
selectedIds: string[] | "all";
|
|
2938
2958
|
unselectedIds: string[];
|
|
2939
2959
|
cursorId: string;
|
|
2940
2960
|
columnCount: number;
|
|
@@ -2951,7 +2971,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2951
2971
|
indexRef: React.MutableRefObject<number>;
|
|
2952
2972
|
nonInteractiveIds: string[];
|
|
2953
2973
|
isVirtualized: boolean;
|
|
2954
|
-
items: import("
|
|
2974
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2955
2975
|
}) => boolean) | undefined;
|
|
2956
2976
|
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
2957
2977
|
getId: (item: any) => string;
|
|
@@ -2959,7 +2979,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2959
2979
|
/**
|
|
2960
2980
|
* A list of panels. Uses `ListModel`
|
|
2961
2981
|
*/
|
|
2962
|
-
panels: import("
|
|
2982
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2963
2983
|
/**
|
|
2964
2984
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2965
2985
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2970,7 +2990,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2970
2990
|
itemWidthCache: Record<string, number>;
|
|
2971
2991
|
containerWidth: number;
|
|
2972
2992
|
overflowTargetWidth: number;
|
|
2973
|
-
selectedIds:
|
|
2993
|
+
selectedIds: string[] | "all";
|
|
2974
2994
|
unselectedIds: string[];
|
|
2975
2995
|
cursorId: string;
|
|
2976
2996
|
columnCount: number;
|
|
@@ -2987,7 +3007,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2987
3007
|
indexRef: React.MutableRefObject<number>;
|
|
2988
3008
|
nonInteractiveIds: string[];
|
|
2989
3009
|
isVirtualized: boolean;
|
|
2990
|
-
items: import("
|
|
3010
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2991
3011
|
}) => boolean) | undefined;
|
|
2992
3012
|
shouldUnregisterItem?: ((data: {
|
|
2993
3013
|
id: string;
|
|
@@ -2997,7 +3017,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2997
3017
|
/**
|
|
2998
3018
|
* A list of panels. Uses `ListModel`
|
|
2999
3019
|
*/
|
|
3000
|
-
panels: import("
|
|
3020
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3001
3021
|
/**
|
|
3002
3022
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3003
3023
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -3008,7 +3028,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3008
3028
|
itemWidthCache: Record<string, number>;
|
|
3009
3029
|
containerWidth: number;
|
|
3010
3030
|
overflowTargetWidth: number;
|
|
3011
|
-
selectedIds:
|
|
3031
|
+
selectedIds: string[] | "all";
|
|
3012
3032
|
unselectedIds: string[];
|
|
3013
3033
|
cursorId: string;
|
|
3014
3034
|
columnCount: number;
|
|
@@ -3025,7 +3045,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3025
3045
|
indexRef: React.MutableRefObject<number>;
|
|
3026
3046
|
nonInteractiveIds: string[];
|
|
3027
3047
|
isVirtualized: boolean;
|
|
3028
|
-
items: import("
|
|
3048
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3029
3049
|
}) => boolean) | undefined;
|
|
3030
3050
|
shouldUpdateItemHeight?: ((data: {
|
|
3031
3051
|
value: number;
|
|
@@ -3035,7 +3055,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3035
3055
|
/**
|
|
3036
3056
|
* A list of panels. Uses `ListModel`
|
|
3037
3057
|
*/
|
|
3038
|
-
panels: import("
|
|
3058
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3039
3059
|
/**
|
|
3040
3060
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3041
3061
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -3046,7 +3066,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3046
3066
|
itemWidthCache: Record<string, number>;
|
|
3047
3067
|
containerWidth: number;
|
|
3048
3068
|
overflowTargetWidth: number;
|
|
3049
|
-
selectedIds:
|
|
3069
|
+
selectedIds: string[] | "all";
|
|
3050
3070
|
unselectedIds: string[];
|
|
3051
3071
|
cursorId: string;
|
|
3052
3072
|
columnCount: number;
|
|
@@ -3063,7 +3083,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3063
3083
|
indexRef: React.MutableRefObject<number>;
|
|
3064
3084
|
nonInteractiveIds: string[];
|
|
3065
3085
|
isVirtualized: boolean;
|
|
3066
|
-
items: import("
|
|
3086
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3067
3087
|
}) => boolean) | undefined;
|
|
3068
3088
|
}) | undefined) => {
|
|
3069
3089
|
state: {
|
|
@@ -3072,7 +3092,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3072
3092
|
/**
|
|
3073
3093
|
* A list of panels. Uses `ListModel`
|
|
3074
3094
|
*/
|
|
3075
|
-
panels: import("
|
|
3095
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3076
3096
|
/**
|
|
3077
3097
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3078
3098
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -3083,7 +3103,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3083
3103
|
itemWidthCache: Record<string, number>;
|
|
3084
3104
|
containerWidth: number;
|
|
3085
3105
|
overflowTargetWidth: number;
|
|
3086
|
-
selectedIds:
|
|
3106
|
+
selectedIds: string[] | "all";
|
|
3087
3107
|
unselectedIds: string[];
|
|
3088
3108
|
cursorId: string;
|
|
3089
3109
|
columnCount: number;
|
|
@@ -3100,7 +3120,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3100
3120
|
indexRef: React.MutableRefObject<number>;
|
|
3101
3121
|
nonInteractiveIds: string[];
|
|
3102
3122
|
isVirtualized: boolean;
|
|
3103
|
-
items: import("
|
|
3123
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3104
3124
|
};
|
|
3105
3125
|
events: {
|
|
3106
3126
|
/**
|
|
@@ -3172,8 +3192,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3172
3192
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3173
3193
|
placement: import("@popperjs/core").Placement;
|
|
3174
3194
|
id: string;
|
|
3175
|
-
visibility:
|
|
3176
|
-
selectedIds:
|
|
3195
|
+
visibility: "hidden" | "visible";
|
|
3196
|
+
selectedIds: string[] | "all";
|
|
3177
3197
|
unselectedIds: string[];
|
|
3178
3198
|
cursorId: string;
|
|
3179
3199
|
columnCount: number;
|
|
@@ -3186,17 +3206,19 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3186
3206
|
};
|
|
3187
3207
|
UNSTABLE_defaultItemHeight: number;
|
|
3188
3208
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3189
|
-
orientation:
|
|
3209
|
+
orientation: "horizontal" | "vertical";
|
|
3190
3210
|
indexRef: React.MutableRefObject<number>;
|
|
3191
3211
|
nonInteractiveIds: string[];
|
|
3192
3212
|
isVirtualized: boolean;
|
|
3193
|
-
items: import("
|
|
3213
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3194
3214
|
mode: "multiple" | "single";
|
|
3195
3215
|
};
|
|
3196
3216
|
events: {
|
|
3197
3217
|
updatePlacement(data: {
|
|
3198
3218
|
placement: import("@popperjs/core").Placement;
|
|
3199
|
-
}): void;
|
|
3219
|
+
}): void; /**
|
|
3220
|
+
* A list of panels. Uses `ListModel`
|
|
3221
|
+
*/
|
|
3200
3222
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
3201
3223
|
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
3202
3224
|
select(data: {
|
|
@@ -3235,7 +3257,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3235
3257
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
3236
3258
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
3237
3259
|
getId: (item: any) => string;
|
|
3238
|
-
}) & import("
|
|
3260
|
+
}) & import("@workday/canvas-kit-react/common").ModelExtras<{
|
|
3239
3261
|
/**
|
|
3240
3262
|
* Optional id for the whole `Tabs` group. The `aria-controls` of the `Tab.Item` and `id` of the
|
|
3241
3263
|
* `Tab.Panel` will automatically derived from this id. If not provided, a unique id will be
|
|
@@ -3266,11 +3288,13 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3266
3288
|
initialCursorId: string;
|
|
3267
3289
|
columnCount: number;
|
|
3268
3290
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
3269
|
-
getId: (item: any) => string;
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
*
|
|
3291
|
+
getId: (item: any) => string; /**
|
|
3292
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3293
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
3294
|
+
* state setting phase.
|
|
3273
3295
|
*/
|
|
3296
|
+
getTextValue: (item: any) => string;
|
|
3297
|
+
nonInteractiveIds: string[];
|
|
3274
3298
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3275
3299
|
defaultItemHeight: number;
|
|
3276
3300
|
shouldVirtualize: boolean;
|
|
@@ -3285,8 +3309,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3285
3309
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3286
3310
|
placement: import("@popperjs/core").Placement;
|
|
3287
3311
|
id: string;
|
|
3288
|
-
visibility:
|
|
3289
|
-
selectedIds:
|
|
3312
|
+
visibility: "hidden" | "visible";
|
|
3313
|
+
selectedIds: string[] | "all";
|
|
3290
3314
|
unselectedIds: string[];
|
|
3291
3315
|
cursorId: string;
|
|
3292
3316
|
columnCount: number;
|
|
@@ -3299,11 +3323,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3299
3323
|
};
|
|
3300
3324
|
UNSTABLE_defaultItemHeight: number;
|
|
3301
3325
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3302
|
-
orientation:
|
|
3326
|
+
orientation: "horizontal" | "vertical";
|
|
3303
3327
|
indexRef: React.MutableRefObject<number>;
|
|
3304
3328
|
nonInteractiveIds: string[];
|
|
3305
3329
|
isVirtualized: boolean;
|
|
3306
|
-
items: import("
|
|
3330
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3307
3331
|
mode: "multiple" | "single";
|
|
3308
3332
|
}) => void) | undefined;
|
|
3309
3333
|
onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -3313,8 +3337,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3313
3337
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3314
3338
|
placement: import("@popperjs/core").Placement;
|
|
3315
3339
|
id: string;
|
|
3316
|
-
visibility:
|
|
3317
|
-
selectedIds:
|
|
3340
|
+
visibility: "hidden" | "visible";
|
|
3341
|
+
selectedIds: string[] | "all";
|
|
3318
3342
|
unselectedIds: string[];
|
|
3319
3343
|
cursorId: string;
|
|
3320
3344
|
columnCount: number;
|
|
@@ -3327,11 +3351,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3327
3351
|
};
|
|
3328
3352
|
UNSTABLE_defaultItemHeight: number;
|
|
3329
3353
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3330
|
-
orientation:
|
|
3354
|
+
orientation: "horizontal" | "vertical";
|
|
3331
3355
|
indexRef: React.MutableRefObject<number>;
|
|
3332
3356
|
nonInteractiveIds: string[];
|
|
3333
3357
|
isVirtualized: boolean;
|
|
3334
|
-
items: import("
|
|
3358
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3335
3359
|
mode: "multiple" | "single";
|
|
3336
3360
|
}) => void) | undefined;
|
|
3337
3361
|
onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -3341,8 +3365,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3341
3365
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3342
3366
|
placement: import("@popperjs/core").Placement;
|
|
3343
3367
|
id: string;
|
|
3344
|
-
visibility:
|
|
3345
|
-
selectedIds:
|
|
3368
|
+
visibility: "hidden" | "visible";
|
|
3369
|
+
selectedIds: string[] | "all";
|
|
3346
3370
|
unselectedIds: string[];
|
|
3347
3371
|
cursorId: string;
|
|
3348
3372
|
columnCount: number;
|
|
@@ -3355,11 +3379,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3355
3379
|
};
|
|
3356
3380
|
UNSTABLE_defaultItemHeight: number;
|
|
3357
3381
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3358
|
-
orientation:
|
|
3382
|
+
orientation: "horizontal" | "vertical";
|
|
3359
3383
|
indexRef: React.MutableRefObject<number>;
|
|
3360
3384
|
nonInteractiveIds: string[];
|
|
3361
3385
|
isVirtualized: boolean;
|
|
3362
|
-
items: import("
|
|
3386
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3363
3387
|
mode: "multiple" | "single";
|
|
3364
3388
|
}) => void) | undefined;
|
|
3365
3389
|
onSelect?: ((data: {
|
|
@@ -3371,8 +3395,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3371
3395
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3372
3396
|
placement: import("@popperjs/core").Placement;
|
|
3373
3397
|
id: string;
|
|
3374
|
-
visibility:
|
|
3375
|
-
selectedIds:
|
|
3398
|
+
visibility: "hidden" | "visible";
|
|
3399
|
+
selectedIds: string[] | "all";
|
|
3376
3400
|
unselectedIds: string[];
|
|
3377
3401
|
cursorId: string;
|
|
3378
3402
|
columnCount: number;
|
|
@@ -3385,11 +3409,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3385
3409
|
};
|
|
3386
3410
|
UNSTABLE_defaultItemHeight: number;
|
|
3387
3411
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3388
|
-
orientation:
|
|
3412
|
+
orientation: "horizontal" | "vertical";
|
|
3389
3413
|
indexRef: React.MutableRefObject<number>;
|
|
3390
3414
|
nonInteractiveIds: string[];
|
|
3391
3415
|
isVirtualized: boolean;
|
|
3392
|
-
items: import("
|
|
3416
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3393
3417
|
mode: "multiple" | "single";
|
|
3394
3418
|
}) => void) | undefined;
|
|
3395
3419
|
onSelectAll?: ((data: undefined, prevState: {
|
|
@@ -3399,8 +3423,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3399
3423
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3400
3424
|
placement: import("@popperjs/core").Placement;
|
|
3401
3425
|
id: string;
|
|
3402
|
-
visibility:
|
|
3403
|
-
selectedIds:
|
|
3426
|
+
visibility: "hidden" | "visible";
|
|
3427
|
+
selectedIds: string[] | "all";
|
|
3404
3428
|
unselectedIds: string[];
|
|
3405
3429
|
cursorId: string;
|
|
3406
3430
|
columnCount: number;
|
|
@@ -3413,11 +3437,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3413
3437
|
};
|
|
3414
3438
|
UNSTABLE_defaultItemHeight: number;
|
|
3415
3439
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3416
|
-
orientation:
|
|
3440
|
+
orientation: "horizontal" | "vertical";
|
|
3417
3441
|
indexRef: React.MutableRefObject<number>;
|
|
3418
3442
|
nonInteractiveIds: string[];
|
|
3419
3443
|
isVirtualized: boolean;
|
|
3420
|
-
items: import("
|
|
3444
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3421
3445
|
mode: "multiple" | "single";
|
|
3422
3446
|
}) => void) | undefined;
|
|
3423
3447
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
@@ -3427,8 +3451,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3427
3451
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3428
3452
|
placement: import("@popperjs/core").Placement;
|
|
3429
3453
|
id: string;
|
|
3430
|
-
visibility:
|
|
3431
|
-
selectedIds:
|
|
3454
|
+
visibility: "hidden" | "visible";
|
|
3455
|
+
selectedIds: string[] | "all";
|
|
3432
3456
|
unselectedIds: string[];
|
|
3433
3457
|
cursorId: string;
|
|
3434
3458
|
columnCount: number;
|
|
@@ -3441,11 +3465,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3441
3465
|
};
|
|
3442
3466
|
UNSTABLE_defaultItemHeight: number;
|
|
3443
3467
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3444
|
-
orientation:
|
|
3468
|
+
orientation: "horizontal" | "vertical";
|
|
3445
3469
|
indexRef: React.MutableRefObject<number>;
|
|
3446
3470
|
nonInteractiveIds: string[];
|
|
3447
3471
|
isVirtualized: boolean;
|
|
3448
|
-
items: import("
|
|
3472
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3449
3473
|
mode: "multiple" | "single";
|
|
3450
3474
|
}) => void) | undefined;
|
|
3451
3475
|
onRegisterItem?: ((data: {
|
|
@@ -3458,8 +3482,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3458
3482
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3459
3483
|
placement: import("@popperjs/core").Placement;
|
|
3460
3484
|
id: string;
|
|
3461
|
-
visibility:
|
|
3462
|
-
selectedIds:
|
|
3485
|
+
visibility: "hidden" | "visible";
|
|
3486
|
+
selectedIds: string[] | "all";
|
|
3463
3487
|
unselectedIds: string[];
|
|
3464
3488
|
cursorId: string;
|
|
3465
3489
|
columnCount: number;
|
|
@@ -3472,11 +3496,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3472
3496
|
};
|
|
3473
3497
|
UNSTABLE_defaultItemHeight: number;
|
|
3474
3498
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3475
|
-
orientation:
|
|
3499
|
+
orientation: "horizontal" | "vertical";
|
|
3476
3500
|
indexRef: React.MutableRefObject<number>;
|
|
3477
3501
|
nonInteractiveIds: string[];
|
|
3478
3502
|
isVirtualized: boolean;
|
|
3479
|
-
items: import("
|
|
3503
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3480
3504
|
mode: "multiple" | "single";
|
|
3481
3505
|
}) => void) | undefined;
|
|
3482
3506
|
onGoTo?: ((data: {
|
|
@@ -3488,8 +3512,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3488
3512
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3489
3513
|
placement: import("@popperjs/core").Placement;
|
|
3490
3514
|
id: string;
|
|
3491
|
-
visibility:
|
|
3492
|
-
selectedIds:
|
|
3515
|
+
visibility: "hidden" | "visible";
|
|
3516
|
+
selectedIds: string[] | "all";
|
|
3493
3517
|
unselectedIds: string[];
|
|
3494
3518
|
cursorId: string;
|
|
3495
3519
|
columnCount: number;
|
|
@@ -3502,11 +3526,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3502
3526
|
};
|
|
3503
3527
|
UNSTABLE_defaultItemHeight: number;
|
|
3504
3528
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3505
|
-
orientation:
|
|
3529
|
+
orientation: "horizontal" | "vertical";
|
|
3506
3530
|
indexRef: React.MutableRefObject<number>;
|
|
3507
3531
|
nonInteractiveIds: string[];
|
|
3508
3532
|
isVirtualized: boolean;
|
|
3509
|
-
items: import("
|
|
3533
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3510
3534
|
mode: "multiple" | "single";
|
|
3511
3535
|
}) => void) | undefined;
|
|
3512
3536
|
onGoToNext?: ((data: undefined, prevState: {
|
|
@@ -3516,8 +3540,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3516
3540
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3517
3541
|
placement: import("@popperjs/core").Placement;
|
|
3518
3542
|
id: string;
|
|
3519
|
-
visibility:
|
|
3520
|
-
selectedIds:
|
|
3543
|
+
visibility: "hidden" | "visible";
|
|
3544
|
+
selectedIds: string[] | "all";
|
|
3521
3545
|
unselectedIds: string[];
|
|
3522
3546
|
cursorId: string;
|
|
3523
3547
|
columnCount: number;
|
|
@@ -3530,11 +3554,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3530
3554
|
};
|
|
3531
3555
|
UNSTABLE_defaultItemHeight: number;
|
|
3532
3556
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3533
|
-
orientation:
|
|
3557
|
+
orientation: "horizontal" | "vertical";
|
|
3534
3558
|
indexRef: React.MutableRefObject<number>;
|
|
3535
3559
|
nonInteractiveIds: string[];
|
|
3536
3560
|
isVirtualized: boolean;
|
|
3537
|
-
items: import("
|
|
3561
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3538
3562
|
mode: "multiple" | "single";
|
|
3539
3563
|
}) => void) | undefined;
|
|
3540
3564
|
onGoToPrevious?: ((data: undefined, prevState: {
|
|
@@ -3544,8 +3568,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3544
3568
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3545
3569
|
placement: import("@popperjs/core").Placement;
|
|
3546
3570
|
id: string;
|
|
3547
|
-
visibility:
|
|
3548
|
-
selectedIds:
|
|
3571
|
+
visibility: "hidden" | "visible";
|
|
3572
|
+
selectedIds: string[] | "all";
|
|
3549
3573
|
unselectedIds: string[];
|
|
3550
3574
|
cursorId: string;
|
|
3551
3575
|
columnCount: number;
|
|
@@ -3558,11 +3582,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3558
3582
|
};
|
|
3559
3583
|
UNSTABLE_defaultItemHeight: number;
|
|
3560
3584
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3561
|
-
orientation:
|
|
3585
|
+
orientation: "horizontal" | "vertical";
|
|
3562
3586
|
indexRef: React.MutableRefObject<number>;
|
|
3563
3587
|
nonInteractiveIds: string[];
|
|
3564
3588
|
isVirtualized: boolean;
|
|
3565
|
-
items: import("
|
|
3589
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3566
3590
|
mode: "multiple" | "single";
|
|
3567
3591
|
}) => void) | undefined;
|
|
3568
3592
|
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
@@ -3572,8 +3596,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3572
3596
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3573
3597
|
placement: import("@popperjs/core").Placement;
|
|
3574
3598
|
id: string;
|
|
3575
|
-
visibility:
|
|
3576
|
-
selectedIds:
|
|
3599
|
+
visibility: "hidden" | "visible";
|
|
3600
|
+
selectedIds: string[] | "all";
|
|
3577
3601
|
unselectedIds: string[];
|
|
3578
3602
|
cursorId: string;
|
|
3579
3603
|
columnCount: number;
|
|
@@ -3586,11 +3610,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3586
3610
|
};
|
|
3587
3611
|
UNSTABLE_defaultItemHeight: number;
|
|
3588
3612
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3589
|
-
orientation:
|
|
3613
|
+
orientation: "horizontal" | "vertical";
|
|
3590
3614
|
indexRef: React.MutableRefObject<number>;
|
|
3591
3615
|
nonInteractiveIds: string[];
|
|
3592
3616
|
isVirtualized: boolean;
|
|
3593
|
-
items: import("
|
|
3617
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3594
3618
|
mode: "multiple" | "single";
|
|
3595
3619
|
}) => void) | undefined;
|
|
3596
3620
|
onGoToNextRow?: ((data: undefined, prevState: {
|
|
@@ -3600,8 +3624,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3600
3624
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3601
3625
|
placement: import("@popperjs/core").Placement;
|
|
3602
3626
|
id: string;
|
|
3603
|
-
visibility:
|
|
3604
|
-
selectedIds:
|
|
3627
|
+
visibility: "hidden" | "visible";
|
|
3628
|
+
selectedIds: string[] | "all";
|
|
3605
3629
|
unselectedIds: string[];
|
|
3606
3630
|
cursorId: string;
|
|
3607
3631
|
columnCount: number;
|
|
@@ -3614,11 +3638,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3614
3638
|
};
|
|
3615
3639
|
UNSTABLE_defaultItemHeight: number;
|
|
3616
3640
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3617
|
-
orientation:
|
|
3641
|
+
orientation: "horizontal" | "vertical";
|
|
3618
3642
|
indexRef: React.MutableRefObject<number>;
|
|
3619
3643
|
nonInteractiveIds: string[];
|
|
3620
3644
|
isVirtualized: boolean;
|
|
3621
|
-
items: import("
|
|
3645
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3622
3646
|
mode: "multiple" | "single";
|
|
3623
3647
|
}) => void) | undefined;
|
|
3624
3648
|
onGoToFirst?: ((data: undefined, prevState: {
|
|
@@ -3628,8 +3652,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3628
3652
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3629
3653
|
placement: import("@popperjs/core").Placement;
|
|
3630
3654
|
id: string;
|
|
3631
|
-
visibility:
|
|
3632
|
-
selectedIds:
|
|
3655
|
+
visibility: "hidden" | "visible";
|
|
3656
|
+
selectedIds: string[] | "all";
|
|
3633
3657
|
unselectedIds: string[];
|
|
3634
3658
|
cursorId: string;
|
|
3635
3659
|
columnCount: number;
|
|
@@ -3642,11 +3666,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3642
3666
|
};
|
|
3643
3667
|
UNSTABLE_defaultItemHeight: number;
|
|
3644
3668
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3645
|
-
orientation:
|
|
3669
|
+
orientation: "horizontal" | "vertical";
|
|
3646
3670
|
indexRef: React.MutableRefObject<number>;
|
|
3647
3671
|
nonInteractiveIds: string[];
|
|
3648
3672
|
isVirtualized: boolean;
|
|
3649
|
-
items: import("
|
|
3673
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3650
3674
|
mode: "multiple" | "single";
|
|
3651
3675
|
}) => void) | undefined;
|
|
3652
3676
|
onGoToLast?: ((data: undefined, prevState: {
|
|
@@ -3656,8 +3680,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3656
3680
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3657
3681
|
placement: import("@popperjs/core").Placement;
|
|
3658
3682
|
id: string;
|
|
3659
|
-
visibility:
|
|
3660
|
-
selectedIds:
|
|
3683
|
+
visibility: "hidden" | "visible";
|
|
3684
|
+
selectedIds: string[] | "all";
|
|
3661
3685
|
unselectedIds: string[];
|
|
3662
3686
|
cursorId: string;
|
|
3663
3687
|
columnCount: number;
|
|
@@ -3670,11 +3694,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3670
3694
|
};
|
|
3671
3695
|
UNSTABLE_defaultItemHeight: number;
|
|
3672
3696
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3673
|
-
orientation:
|
|
3697
|
+
orientation: "horizontal" | "vertical";
|
|
3674
3698
|
indexRef: React.MutableRefObject<number>;
|
|
3675
3699
|
nonInteractiveIds: string[];
|
|
3676
3700
|
isVirtualized: boolean;
|
|
3677
|
-
items: import("
|
|
3701
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3678
3702
|
mode: "multiple" | "single";
|
|
3679
3703
|
}) => void) | undefined;
|
|
3680
3704
|
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
@@ -3684,8 +3708,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3684
3708
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3685
3709
|
placement: import("@popperjs/core").Placement;
|
|
3686
3710
|
id: string;
|
|
3687
|
-
visibility:
|
|
3688
|
-
selectedIds:
|
|
3711
|
+
visibility: "hidden" | "visible";
|
|
3712
|
+
selectedIds: string[] | "all";
|
|
3689
3713
|
unselectedIds: string[];
|
|
3690
3714
|
cursorId: string;
|
|
3691
3715
|
columnCount: number;
|
|
@@ -3698,11 +3722,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3698
3722
|
};
|
|
3699
3723
|
UNSTABLE_defaultItemHeight: number;
|
|
3700
3724
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3701
|
-
orientation:
|
|
3725
|
+
orientation: "horizontal" | "vertical";
|
|
3702
3726
|
indexRef: React.MutableRefObject<number>;
|
|
3703
3727
|
nonInteractiveIds: string[];
|
|
3704
3728
|
isVirtualized: boolean;
|
|
3705
|
-
items: import("
|
|
3729
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3706
3730
|
mode: "multiple" | "single";
|
|
3707
3731
|
}) => void) | undefined;
|
|
3708
3732
|
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
@@ -3712,8 +3736,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3712
3736
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3713
3737
|
placement: import("@popperjs/core").Placement;
|
|
3714
3738
|
id: string;
|
|
3715
|
-
visibility:
|
|
3716
|
-
selectedIds:
|
|
3739
|
+
visibility: "hidden" | "visible";
|
|
3740
|
+
selectedIds: string[] | "all";
|
|
3717
3741
|
unselectedIds: string[];
|
|
3718
3742
|
cursorId: string;
|
|
3719
3743
|
columnCount: number;
|
|
@@ -3726,11 +3750,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3726
3750
|
};
|
|
3727
3751
|
UNSTABLE_defaultItemHeight: number;
|
|
3728
3752
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3729
|
-
orientation:
|
|
3753
|
+
orientation: "horizontal" | "vertical";
|
|
3730
3754
|
indexRef: React.MutableRefObject<number>;
|
|
3731
3755
|
nonInteractiveIds: string[];
|
|
3732
3756
|
isVirtualized: boolean;
|
|
3733
|
-
items: import("
|
|
3757
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3734
3758
|
mode: "multiple" | "single";
|
|
3735
3759
|
}) => void) | undefined;
|
|
3736
3760
|
onGoToNextPage?: ((data: undefined, prevState: {
|
|
@@ -3740,8 +3764,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3740
3764
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3741
3765
|
placement: import("@popperjs/core").Placement;
|
|
3742
3766
|
id: string;
|
|
3743
|
-
visibility:
|
|
3744
|
-
selectedIds:
|
|
3767
|
+
visibility: "hidden" | "visible";
|
|
3768
|
+
selectedIds: string[] | "all";
|
|
3745
3769
|
unselectedIds: string[];
|
|
3746
3770
|
cursorId: string;
|
|
3747
3771
|
columnCount: number;
|
|
@@ -3754,11 +3778,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3754
3778
|
};
|
|
3755
3779
|
UNSTABLE_defaultItemHeight: number;
|
|
3756
3780
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3757
|
-
orientation:
|
|
3781
|
+
orientation: "horizontal" | "vertical";
|
|
3758
3782
|
indexRef: React.MutableRefObject<number>;
|
|
3759
3783
|
nonInteractiveIds: string[];
|
|
3760
3784
|
isVirtualized: boolean;
|
|
3761
|
-
items: import("
|
|
3785
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3762
3786
|
mode: "multiple" | "single";
|
|
3763
3787
|
}) => void) | undefined;
|
|
3764
3788
|
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
@@ -3768,8 +3792,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3768
3792
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3769
3793
|
placement: import("@popperjs/core").Placement;
|
|
3770
3794
|
id: string;
|
|
3771
|
-
visibility:
|
|
3772
|
-
selectedIds:
|
|
3795
|
+
visibility: "hidden" | "visible";
|
|
3796
|
+
selectedIds: string[] | "all";
|
|
3773
3797
|
unselectedIds: string[];
|
|
3774
3798
|
cursorId: string;
|
|
3775
3799
|
columnCount: number;
|
|
@@ -3782,11 +3806,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3782
3806
|
};
|
|
3783
3807
|
UNSTABLE_defaultItemHeight: number;
|
|
3784
3808
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3785
|
-
orientation:
|
|
3809
|
+
orientation: "horizontal" | "vertical";
|
|
3786
3810
|
indexRef: React.MutableRefObject<number>;
|
|
3787
3811
|
nonInteractiveIds: string[];
|
|
3788
3812
|
isVirtualized: boolean;
|
|
3789
|
-
items: import("
|
|
3813
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3790
3814
|
mode: "multiple" | "single";
|
|
3791
3815
|
}) => void) | undefined;
|
|
3792
3816
|
onUnregisterItem?: ((data: {
|
|
@@ -3798,8 +3822,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3798
3822
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3799
3823
|
placement: import("@popperjs/core").Placement;
|
|
3800
3824
|
id: string;
|
|
3801
|
-
visibility:
|
|
3802
|
-
selectedIds:
|
|
3825
|
+
visibility: "hidden" | "visible";
|
|
3826
|
+
selectedIds: string[] | "all";
|
|
3803
3827
|
unselectedIds: string[];
|
|
3804
3828
|
cursorId: string;
|
|
3805
3829
|
columnCount: number;
|
|
@@ -3812,11 +3836,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3812
3836
|
};
|
|
3813
3837
|
UNSTABLE_defaultItemHeight: number;
|
|
3814
3838
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3815
|
-
orientation:
|
|
3839
|
+
orientation: "horizontal" | "vertical";
|
|
3816
3840
|
indexRef: React.MutableRefObject<number>;
|
|
3817
3841
|
nonInteractiveIds: string[];
|
|
3818
3842
|
isVirtualized: boolean;
|
|
3819
|
-
items: import("
|
|
3843
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3820
3844
|
mode: "multiple" | "single";
|
|
3821
3845
|
}) => void) | undefined;
|
|
3822
3846
|
onUpdateItemHeight?: ((data: {
|
|
@@ -3828,8 +3852,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3828
3852
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3829
3853
|
placement: import("@popperjs/core").Placement;
|
|
3830
3854
|
id: string;
|
|
3831
|
-
visibility:
|
|
3832
|
-
selectedIds:
|
|
3855
|
+
visibility: "hidden" | "visible";
|
|
3856
|
+
selectedIds: string[] | "all";
|
|
3833
3857
|
unselectedIds: string[];
|
|
3834
3858
|
cursorId: string;
|
|
3835
3859
|
columnCount: number;
|
|
@@ -3842,11 +3866,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3842
3866
|
};
|
|
3843
3867
|
UNSTABLE_defaultItemHeight: number;
|
|
3844
3868
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3845
|
-
orientation:
|
|
3869
|
+
orientation: "horizontal" | "vertical";
|
|
3846
3870
|
indexRef: React.MutableRefObject<number>;
|
|
3847
3871
|
nonInteractiveIds: string[];
|
|
3848
3872
|
isVirtualized: boolean;
|
|
3849
|
-
items: import("
|
|
3873
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3850
3874
|
mode: "multiple" | "single";
|
|
3851
3875
|
}) => void) | undefined;
|
|
3852
3876
|
} & {
|
|
@@ -3859,8 +3883,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3859
3883
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3860
3884
|
placement: import("@popperjs/core").Placement;
|
|
3861
3885
|
id: string;
|
|
3862
|
-
visibility:
|
|
3863
|
-
selectedIds:
|
|
3886
|
+
visibility: "hidden" | "visible";
|
|
3887
|
+
selectedIds: string[] | "all";
|
|
3864
3888
|
unselectedIds: string[];
|
|
3865
3889
|
cursorId: string;
|
|
3866
3890
|
columnCount: number;
|
|
@@ -3873,11 +3897,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3873
3897
|
};
|
|
3874
3898
|
UNSTABLE_defaultItemHeight: number;
|
|
3875
3899
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3876
|
-
orientation:
|
|
3900
|
+
orientation: "horizontal" | "vertical";
|
|
3877
3901
|
indexRef: React.MutableRefObject<number>;
|
|
3878
3902
|
nonInteractiveIds: string[];
|
|
3879
3903
|
isVirtualized: boolean;
|
|
3880
|
-
items: import("
|
|
3904
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3881
3905
|
mode: "multiple" | "single";
|
|
3882
3906
|
}) => boolean) | undefined;
|
|
3883
3907
|
shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -3887,8 +3911,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3887
3911
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3888
3912
|
placement: import("@popperjs/core").Placement;
|
|
3889
3913
|
id: string;
|
|
3890
|
-
visibility:
|
|
3891
|
-
selectedIds:
|
|
3914
|
+
visibility: "hidden" | "visible";
|
|
3915
|
+
selectedIds: string[] | "all";
|
|
3892
3916
|
unselectedIds: string[];
|
|
3893
3917
|
cursorId: string;
|
|
3894
3918
|
columnCount: number;
|
|
@@ -3901,11 +3925,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3901
3925
|
};
|
|
3902
3926
|
UNSTABLE_defaultItemHeight: number;
|
|
3903
3927
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3904
|
-
orientation:
|
|
3928
|
+
orientation: "horizontal" | "vertical";
|
|
3905
3929
|
indexRef: React.MutableRefObject<number>;
|
|
3906
3930
|
nonInteractiveIds: string[];
|
|
3907
3931
|
isVirtualized: boolean;
|
|
3908
|
-
items: import("
|
|
3932
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3909
3933
|
mode: "multiple" | "single";
|
|
3910
3934
|
}) => boolean) | undefined;
|
|
3911
3935
|
shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -3915,8 +3939,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3915
3939
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3916
3940
|
placement: import("@popperjs/core").Placement;
|
|
3917
3941
|
id: string;
|
|
3918
|
-
visibility:
|
|
3919
|
-
selectedIds:
|
|
3942
|
+
visibility: "hidden" | "visible";
|
|
3943
|
+
selectedIds: string[] | "all";
|
|
3920
3944
|
unselectedIds: string[];
|
|
3921
3945
|
cursorId: string;
|
|
3922
3946
|
columnCount: number;
|
|
@@ -3929,11 +3953,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3929
3953
|
};
|
|
3930
3954
|
UNSTABLE_defaultItemHeight: number;
|
|
3931
3955
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3932
|
-
orientation:
|
|
3956
|
+
orientation: "horizontal" | "vertical";
|
|
3933
3957
|
indexRef: React.MutableRefObject<number>;
|
|
3934
3958
|
nonInteractiveIds: string[];
|
|
3935
3959
|
isVirtualized: boolean;
|
|
3936
|
-
items: import("
|
|
3960
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3937
3961
|
mode: "multiple" | "single";
|
|
3938
3962
|
}) => boolean) | undefined;
|
|
3939
3963
|
shouldSelect?: ((data: {
|
|
@@ -3945,8 +3969,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3945
3969
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3946
3970
|
placement: import("@popperjs/core").Placement;
|
|
3947
3971
|
id: string;
|
|
3948
|
-
visibility:
|
|
3949
|
-
selectedIds:
|
|
3972
|
+
visibility: "hidden" | "visible";
|
|
3973
|
+
selectedIds: string[] | "all";
|
|
3950
3974
|
unselectedIds: string[];
|
|
3951
3975
|
cursorId: string;
|
|
3952
3976
|
columnCount: number;
|
|
@@ -3959,11 +3983,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3959
3983
|
};
|
|
3960
3984
|
UNSTABLE_defaultItemHeight: number;
|
|
3961
3985
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3962
|
-
orientation:
|
|
3986
|
+
orientation: "horizontal" | "vertical";
|
|
3963
3987
|
indexRef: React.MutableRefObject<number>;
|
|
3964
3988
|
nonInteractiveIds: string[];
|
|
3965
3989
|
isVirtualized: boolean;
|
|
3966
|
-
items: import("
|
|
3990
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3967
3991
|
mode: "multiple" | "single";
|
|
3968
3992
|
}) => boolean) | undefined;
|
|
3969
3993
|
shouldSelectAll?: ((data: undefined, state: {
|
|
@@ -3973,8 +3997,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3973
3997
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3974
3998
|
placement: import("@popperjs/core").Placement;
|
|
3975
3999
|
id: string;
|
|
3976
|
-
visibility:
|
|
3977
|
-
selectedIds:
|
|
4000
|
+
visibility: "hidden" | "visible";
|
|
4001
|
+
selectedIds: string[] | "all";
|
|
3978
4002
|
unselectedIds: string[];
|
|
3979
4003
|
cursorId: string;
|
|
3980
4004
|
columnCount: number;
|
|
@@ -3987,11 +4011,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3987
4011
|
};
|
|
3988
4012
|
UNSTABLE_defaultItemHeight: number;
|
|
3989
4013
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3990
|
-
orientation:
|
|
4014
|
+
orientation: "horizontal" | "vertical";
|
|
3991
4015
|
indexRef: React.MutableRefObject<number>;
|
|
3992
4016
|
nonInteractiveIds: string[];
|
|
3993
4017
|
isVirtualized: boolean;
|
|
3994
|
-
items: import("
|
|
4018
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3995
4019
|
mode: "multiple" | "single";
|
|
3996
4020
|
}) => boolean) | undefined;
|
|
3997
4021
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
@@ -4001,8 +4025,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4001
4025
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4002
4026
|
placement: import("@popperjs/core").Placement;
|
|
4003
4027
|
id: string;
|
|
4004
|
-
visibility:
|
|
4005
|
-
selectedIds:
|
|
4028
|
+
visibility: "hidden" | "visible";
|
|
4029
|
+
selectedIds: string[] | "all";
|
|
4006
4030
|
unselectedIds: string[];
|
|
4007
4031
|
cursorId: string;
|
|
4008
4032
|
columnCount: number;
|
|
@@ -4015,11 +4039,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4015
4039
|
};
|
|
4016
4040
|
UNSTABLE_defaultItemHeight: number;
|
|
4017
4041
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4018
|
-
orientation:
|
|
4042
|
+
orientation: "horizontal" | "vertical";
|
|
4019
4043
|
indexRef: React.MutableRefObject<number>;
|
|
4020
4044
|
nonInteractiveIds: string[];
|
|
4021
4045
|
isVirtualized: boolean;
|
|
4022
|
-
items: import("
|
|
4046
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4023
4047
|
mode: "multiple" | "single";
|
|
4024
4048
|
}) => boolean) | undefined;
|
|
4025
4049
|
shouldRegisterItem?: ((data: {
|
|
@@ -4032,8 +4056,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4032
4056
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4033
4057
|
placement: import("@popperjs/core").Placement;
|
|
4034
4058
|
id: string;
|
|
4035
|
-
visibility:
|
|
4036
|
-
selectedIds:
|
|
4059
|
+
visibility: "hidden" | "visible";
|
|
4060
|
+
selectedIds: string[] | "all";
|
|
4037
4061
|
unselectedIds: string[];
|
|
4038
4062
|
cursorId: string;
|
|
4039
4063
|
columnCount: number;
|
|
@@ -4046,11 +4070,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4046
4070
|
};
|
|
4047
4071
|
UNSTABLE_defaultItemHeight: number;
|
|
4048
4072
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4049
|
-
orientation:
|
|
4073
|
+
orientation: "horizontal" | "vertical";
|
|
4050
4074
|
indexRef: React.MutableRefObject<number>;
|
|
4051
4075
|
nonInteractiveIds: string[];
|
|
4052
4076
|
isVirtualized: boolean;
|
|
4053
|
-
items: import("
|
|
4077
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4054
4078
|
mode: "multiple" | "single";
|
|
4055
4079
|
}) => boolean) | undefined;
|
|
4056
4080
|
shouldGoTo?: ((data: {
|
|
@@ -4062,8 +4086,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4062
4086
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4063
4087
|
placement: import("@popperjs/core").Placement;
|
|
4064
4088
|
id: string;
|
|
4065
|
-
visibility:
|
|
4066
|
-
selectedIds:
|
|
4089
|
+
visibility: "hidden" | "visible";
|
|
4090
|
+
selectedIds: string[] | "all";
|
|
4067
4091
|
unselectedIds: string[];
|
|
4068
4092
|
cursorId: string;
|
|
4069
4093
|
columnCount: number;
|
|
@@ -4076,11 +4100,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4076
4100
|
};
|
|
4077
4101
|
UNSTABLE_defaultItemHeight: number;
|
|
4078
4102
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4079
|
-
orientation:
|
|
4103
|
+
orientation: "horizontal" | "vertical";
|
|
4080
4104
|
indexRef: React.MutableRefObject<number>;
|
|
4081
4105
|
nonInteractiveIds: string[];
|
|
4082
4106
|
isVirtualized: boolean;
|
|
4083
|
-
items: import("
|
|
4107
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4084
4108
|
mode: "multiple" | "single";
|
|
4085
4109
|
}) => boolean) | undefined;
|
|
4086
4110
|
shouldGoToNext?: ((data: undefined, state: {
|
|
@@ -4090,8 +4114,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4090
4114
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4091
4115
|
placement: import("@popperjs/core").Placement;
|
|
4092
4116
|
id: string;
|
|
4093
|
-
visibility:
|
|
4094
|
-
selectedIds:
|
|
4117
|
+
visibility: "hidden" | "visible";
|
|
4118
|
+
selectedIds: string[] | "all";
|
|
4095
4119
|
unselectedIds: string[];
|
|
4096
4120
|
cursorId: string;
|
|
4097
4121
|
columnCount: number;
|
|
@@ -4104,11 +4128,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4104
4128
|
};
|
|
4105
4129
|
UNSTABLE_defaultItemHeight: number;
|
|
4106
4130
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4107
|
-
orientation:
|
|
4131
|
+
orientation: "horizontal" | "vertical";
|
|
4108
4132
|
indexRef: React.MutableRefObject<number>;
|
|
4109
4133
|
nonInteractiveIds: string[];
|
|
4110
4134
|
isVirtualized: boolean;
|
|
4111
|
-
items: import("
|
|
4135
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4112
4136
|
mode: "multiple" | "single";
|
|
4113
4137
|
}) => boolean) | undefined;
|
|
4114
4138
|
shouldGoToPrevious?: ((data: undefined, state: {
|
|
@@ -4118,8 +4142,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4118
4142
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4119
4143
|
placement: import("@popperjs/core").Placement;
|
|
4120
4144
|
id: string;
|
|
4121
|
-
visibility:
|
|
4122
|
-
selectedIds:
|
|
4145
|
+
visibility: "hidden" | "visible";
|
|
4146
|
+
selectedIds: string[] | "all";
|
|
4123
4147
|
unselectedIds: string[];
|
|
4124
4148
|
cursorId: string;
|
|
4125
4149
|
columnCount: number;
|
|
@@ -4132,11 +4156,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4132
4156
|
};
|
|
4133
4157
|
UNSTABLE_defaultItemHeight: number;
|
|
4134
4158
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4135
|
-
orientation:
|
|
4159
|
+
orientation: "horizontal" | "vertical";
|
|
4136
4160
|
indexRef: React.MutableRefObject<number>;
|
|
4137
4161
|
nonInteractiveIds: string[];
|
|
4138
4162
|
isVirtualized: boolean;
|
|
4139
|
-
items: import("
|
|
4163
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4140
4164
|
mode: "multiple" | "single";
|
|
4141
4165
|
}) => boolean) | undefined;
|
|
4142
4166
|
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
@@ -4146,8 +4170,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4146
4170
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4147
4171
|
placement: import("@popperjs/core").Placement;
|
|
4148
4172
|
id: string;
|
|
4149
|
-
visibility:
|
|
4150
|
-
selectedIds:
|
|
4173
|
+
visibility: "hidden" | "visible";
|
|
4174
|
+
selectedIds: string[] | "all";
|
|
4151
4175
|
unselectedIds: string[];
|
|
4152
4176
|
cursorId: string;
|
|
4153
4177
|
columnCount: number;
|
|
@@ -4160,11 +4184,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4160
4184
|
};
|
|
4161
4185
|
UNSTABLE_defaultItemHeight: number;
|
|
4162
4186
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4163
|
-
orientation:
|
|
4187
|
+
orientation: "horizontal" | "vertical";
|
|
4164
4188
|
indexRef: React.MutableRefObject<number>;
|
|
4165
4189
|
nonInteractiveIds: string[];
|
|
4166
4190
|
isVirtualized: boolean;
|
|
4167
|
-
items: import("
|
|
4191
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4168
4192
|
mode: "multiple" | "single";
|
|
4169
4193
|
}) => boolean) | undefined;
|
|
4170
4194
|
shouldGoToNextRow?: ((data: undefined, state: {
|
|
@@ -4174,8 +4198,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4174
4198
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4175
4199
|
placement: import("@popperjs/core").Placement;
|
|
4176
4200
|
id: string;
|
|
4177
|
-
visibility:
|
|
4178
|
-
selectedIds:
|
|
4201
|
+
visibility: "hidden" | "visible";
|
|
4202
|
+
selectedIds: string[] | "all";
|
|
4179
4203
|
unselectedIds: string[];
|
|
4180
4204
|
cursorId: string;
|
|
4181
4205
|
columnCount: number;
|
|
@@ -4188,11 +4212,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4188
4212
|
};
|
|
4189
4213
|
UNSTABLE_defaultItemHeight: number;
|
|
4190
4214
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4191
|
-
orientation:
|
|
4215
|
+
orientation: "horizontal" | "vertical";
|
|
4192
4216
|
indexRef: React.MutableRefObject<number>;
|
|
4193
4217
|
nonInteractiveIds: string[];
|
|
4194
4218
|
isVirtualized: boolean;
|
|
4195
|
-
items: import("
|
|
4219
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4196
4220
|
mode: "multiple" | "single";
|
|
4197
4221
|
}) => boolean) | undefined;
|
|
4198
4222
|
shouldGoToFirst?: ((data: undefined, state: {
|
|
@@ -4202,8 +4226,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4202
4226
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4203
4227
|
placement: import("@popperjs/core").Placement;
|
|
4204
4228
|
id: string;
|
|
4205
|
-
visibility:
|
|
4206
|
-
selectedIds:
|
|
4229
|
+
visibility: "hidden" | "visible";
|
|
4230
|
+
selectedIds: string[] | "all";
|
|
4207
4231
|
unselectedIds: string[];
|
|
4208
4232
|
cursorId: string;
|
|
4209
4233
|
columnCount: number;
|
|
@@ -4216,11 +4240,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4216
4240
|
};
|
|
4217
4241
|
UNSTABLE_defaultItemHeight: number;
|
|
4218
4242
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4219
|
-
orientation:
|
|
4243
|
+
orientation: "horizontal" | "vertical";
|
|
4220
4244
|
indexRef: React.MutableRefObject<number>;
|
|
4221
4245
|
nonInteractiveIds: string[];
|
|
4222
4246
|
isVirtualized: boolean;
|
|
4223
|
-
items: import("
|
|
4247
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4224
4248
|
mode: "multiple" | "single";
|
|
4225
4249
|
}) => boolean) | undefined;
|
|
4226
4250
|
shouldGoToLast?: ((data: undefined, state: {
|
|
@@ -4230,8 +4254,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4230
4254
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4231
4255
|
placement: import("@popperjs/core").Placement;
|
|
4232
4256
|
id: string;
|
|
4233
|
-
visibility:
|
|
4234
|
-
selectedIds:
|
|
4257
|
+
visibility: "hidden" | "visible";
|
|
4258
|
+
selectedIds: string[] | "all";
|
|
4235
4259
|
unselectedIds: string[];
|
|
4236
4260
|
cursorId: string;
|
|
4237
4261
|
columnCount: number;
|
|
@@ -4244,11 +4268,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4244
4268
|
};
|
|
4245
4269
|
UNSTABLE_defaultItemHeight: number;
|
|
4246
4270
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4247
|
-
orientation:
|
|
4271
|
+
orientation: "horizontal" | "vertical";
|
|
4248
4272
|
indexRef: React.MutableRefObject<number>;
|
|
4249
4273
|
nonInteractiveIds: string[];
|
|
4250
4274
|
isVirtualized: boolean;
|
|
4251
|
-
items: import("
|
|
4275
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4252
4276
|
mode: "multiple" | "single";
|
|
4253
4277
|
}) => boolean) | undefined;
|
|
4254
4278
|
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
@@ -4258,8 +4282,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4258
4282
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4259
4283
|
placement: import("@popperjs/core").Placement;
|
|
4260
4284
|
id: string;
|
|
4261
|
-
visibility:
|
|
4262
|
-
selectedIds:
|
|
4285
|
+
visibility: "hidden" | "visible";
|
|
4286
|
+
selectedIds: string[] | "all";
|
|
4263
4287
|
unselectedIds: string[];
|
|
4264
4288
|
cursorId: string;
|
|
4265
4289
|
columnCount: number;
|
|
@@ -4272,11 +4296,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4272
4296
|
};
|
|
4273
4297
|
UNSTABLE_defaultItemHeight: number;
|
|
4274
4298
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4275
|
-
orientation:
|
|
4299
|
+
orientation: "horizontal" | "vertical";
|
|
4276
4300
|
indexRef: React.MutableRefObject<number>;
|
|
4277
4301
|
nonInteractiveIds: string[];
|
|
4278
4302
|
isVirtualized: boolean;
|
|
4279
|
-
items: import("
|
|
4303
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4280
4304
|
mode: "multiple" | "single";
|
|
4281
4305
|
}) => boolean) | undefined;
|
|
4282
4306
|
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
@@ -4286,8 +4310,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4286
4310
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4287
4311
|
placement: import("@popperjs/core").Placement;
|
|
4288
4312
|
id: string;
|
|
4289
|
-
visibility:
|
|
4290
|
-
selectedIds:
|
|
4313
|
+
visibility: "hidden" | "visible";
|
|
4314
|
+
selectedIds: string[] | "all";
|
|
4291
4315
|
unselectedIds: string[];
|
|
4292
4316
|
cursorId: string;
|
|
4293
4317
|
columnCount: number;
|
|
@@ -4300,11 +4324,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4300
4324
|
};
|
|
4301
4325
|
UNSTABLE_defaultItemHeight: number;
|
|
4302
4326
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4303
|
-
orientation:
|
|
4327
|
+
orientation: "horizontal" | "vertical";
|
|
4304
4328
|
indexRef: React.MutableRefObject<number>;
|
|
4305
4329
|
nonInteractiveIds: string[];
|
|
4306
4330
|
isVirtualized: boolean;
|
|
4307
|
-
items: import("
|
|
4331
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4308
4332
|
mode: "multiple" | "single";
|
|
4309
4333
|
}) => boolean) | undefined;
|
|
4310
4334
|
shouldGoToNextPage?: ((data: undefined, state: {
|
|
@@ -4314,8 +4338,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4314
4338
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4315
4339
|
placement: import("@popperjs/core").Placement;
|
|
4316
4340
|
id: string;
|
|
4317
|
-
visibility:
|
|
4318
|
-
selectedIds:
|
|
4341
|
+
visibility: "hidden" | "visible";
|
|
4342
|
+
selectedIds: string[] | "all";
|
|
4319
4343
|
unselectedIds: string[];
|
|
4320
4344
|
cursorId: string;
|
|
4321
4345
|
columnCount: number;
|
|
@@ -4328,11 +4352,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4328
4352
|
};
|
|
4329
4353
|
UNSTABLE_defaultItemHeight: number;
|
|
4330
4354
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4331
|
-
orientation:
|
|
4355
|
+
orientation: "horizontal" | "vertical";
|
|
4332
4356
|
indexRef: React.MutableRefObject<number>;
|
|
4333
4357
|
nonInteractiveIds: string[];
|
|
4334
4358
|
isVirtualized: boolean;
|
|
4335
|
-
items: import("
|
|
4359
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4336
4360
|
mode: "multiple" | "single";
|
|
4337
4361
|
}) => boolean) | undefined;
|
|
4338
4362
|
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
@@ -4342,8 +4366,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4342
4366
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4343
4367
|
placement: import("@popperjs/core").Placement;
|
|
4344
4368
|
id: string;
|
|
4345
|
-
visibility:
|
|
4346
|
-
selectedIds:
|
|
4369
|
+
visibility: "hidden" | "visible";
|
|
4370
|
+
selectedIds: string[] | "all";
|
|
4347
4371
|
unselectedIds: string[];
|
|
4348
4372
|
cursorId: string;
|
|
4349
4373
|
columnCount: number;
|
|
@@ -4356,11 +4380,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4356
4380
|
};
|
|
4357
4381
|
UNSTABLE_defaultItemHeight: number;
|
|
4358
4382
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4359
|
-
orientation:
|
|
4383
|
+
orientation: "horizontal" | "vertical";
|
|
4360
4384
|
indexRef: React.MutableRefObject<number>;
|
|
4361
4385
|
nonInteractiveIds: string[];
|
|
4362
4386
|
isVirtualized: boolean;
|
|
4363
|
-
items: import("
|
|
4387
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4364
4388
|
mode: "multiple" | "single";
|
|
4365
4389
|
}) => boolean) | undefined;
|
|
4366
4390
|
shouldUnregisterItem?: ((data: {
|
|
@@ -4372,8 +4396,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4372
4396
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4373
4397
|
placement: import("@popperjs/core").Placement;
|
|
4374
4398
|
id: string;
|
|
4375
|
-
visibility:
|
|
4376
|
-
selectedIds:
|
|
4399
|
+
visibility: "hidden" | "visible";
|
|
4400
|
+
selectedIds: string[] | "all";
|
|
4377
4401
|
unselectedIds: string[];
|
|
4378
4402
|
cursorId: string;
|
|
4379
4403
|
columnCount: number;
|
|
@@ -4386,11 +4410,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4386
4410
|
};
|
|
4387
4411
|
UNSTABLE_defaultItemHeight: number;
|
|
4388
4412
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4389
|
-
orientation:
|
|
4413
|
+
orientation: "horizontal" | "vertical";
|
|
4390
4414
|
indexRef: React.MutableRefObject<number>;
|
|
4391
4415
|
nonInteractiveIds: string[];
|
|
4392
4416
|
isVirtualized: boolean;
|
|
4393
|
-
items: import("
|
|
4417
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4394
4418
|
mode: "multiple" | "single";
|
|
4395
4419
|
}) => boolean) | undefined;
|
|
4396
4420
|
shouldUpdateItemHeight?: ((data: {
|
|
@@ -4402,8 +4426,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4402
4426
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4403
4427
|
placement: import("@popperjs/core").Placement;
|
|
4404
4428
|
id: string;
|
|
4405
|
-
visibility:
|
|
4406
|
-
selectedIds:
|
|
4429
|
+
visibility: "hidden" | "visible";
|
|
4430
|
+
selectedIds: string[] | "all";
|
|
4407
4431
|
unselectedIds: string[];
|
|
4408
4432
|
cursorId: string;
|
|
4409
4433
|
columnCount: number;
|
|
@@ -4416,11 +4440,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4416
4440
|
};
|
|
4417
4441
|
UNSTABLE_defaultItemHeight: number;
|
|
4418
4442
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4419
|
-
orientation:
|
|
4443
|
+
orientation: "horizontal" | "vertical";
|
|
4420
4444
|
indexRef: React.MutableRefObject<number>;
|
|
4421
4445
|
nonInteractiveIds: string[];
|
|
4422
4446
|
isVirtualized: boolean;
|
|
4423
|
-
items: import("
|
|
4447
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4424
4448
|
mode: "multiple" | "single";
|
|
4425
4449
|
}) => boolean) | undefined;
|
|
4426
4450
|
};
|
|
@@ -4433,11 +4457,13 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4433
4457
|
initialCursorId: string;
|
|
4434
4458
|
columnCount: number;
|
|
4435
4459
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
4436
|
-
getId: (item: any) => string;
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
*
|
|
4460
|
+
getId: (item: any) => string; /**
|
|
4461
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
4462
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
4463
|
+
* state setting phase.
|
|
4440
4464
|
*/
|
|
4465
|
+
getTextValue: (item: any) => string;
|
|
4466
|
+
nonInteractiveIds: string[];
|
|
4441
4467
|
defaultItemHeight: number;
|
|
4442
4468
|
shouldVirtualize: boolean;
|
|
4443
4469
|
items: any[];
|
|
@@ -4447,7 +4473,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4447
4473
|
/**
|
|
4448
4474
|
* A list of panels. Uses `ListModel`
|
|
4449
4475
|
*/
|
|
4450
|
-
panels: import("
|
|
4476
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4451
4477
|
/**
|
|
4452
4478
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
4453
4479
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -4458,7 +4484,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4458
4484
|
itemWidthCache: Record<string, number>;
|
|
4459
4485
|
containerWidth: number;
|
|
4460
4486
|
overflowTargetWidth: number;
|
|
4461
|
-
selectedIds:
|
|
4487
|
+
selectedIds: string[] | "all";
|
|
4462
4488
|
unselectedIds: string[];
|
|
4463
4489
|
cursorId: string;
|
|
4464
4490
|
columnCount: number;
|
|
@@ -4475,7 +4501,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4475
4501
|
indexRef: React.MutableRefObject<number>;
|
|
4476
4502
|
nonInteractiveIds: string[];
|
|
4477
4503
|
isVirtualized: boolean;
|
|
4478
|
-
items: import("
|
|
4504
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4479
4505
|
}, {
|
|
4480
4506
|
/**
|
|
4481
4507
|
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
@@ -4544,7 +4570,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4544
4570
|
/**
|
|
4545
4571
|
* A list of panels. Uses `ListModel`
|
|
4546
4572
|
*/
|
|
4547
|
-
panels: import("
|
|
4573
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4548
4574
|
/**
|
|
4549
4575
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
4550
4576
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -4555,7 +4581,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4555
4581
|
itemWidthCache: Record<string, number>;
|
|
4556
4582
|
containerWidth: number;
|
|
4557
4583
|
overflowTargetWidth: number;
|
|
4558
|
-
selectedIds:
|
|
4584
|
+
selectedIds: string[] | "all";
|
|
4559
4585
|
unselectedIds: string[];
|
|
4560
4586
|
cursorId: string;
|
|
4561
4587
|
columnCount: number;
|
|
@@ -4572,7 +4598,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4572
4598
|
indexRef: React.MutableRefObject<number>;
|
|
4573
4599
|
nonInteractiveIds: string[];
|
|
4574
4600
|
isVirtualized: boolean;
|
|
4575
|
-
items: import("
|
|
4601
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4576
4602
|
};
|
|
4577
4603
|
events: {
|
|
4578
4604
|
/**
|
|
@@ -4644,8 +4670,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4644
4670
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4645
4671
|
placement: import("@popperjs/core").Placement;
|
|
4646
4672
|
id: string;
|
|
4647
|
-
visibility:
|
|
4648
|
-
selectedIds:
|
|
4673
|
+
visibility: "hidden" | "visible";
|
|
4674
|
+
selectedIds: string[] | "all";
|
|
4649
4675
|
unselectedIds: string[];
|
|
4650
4676
|
cursorId: string;
|
|
4651
4677
|
columnCount: number;
|
|
@@ -4658,17 +4684,19 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4658
4684
|
};
|
|
4659
4685
|
UNSTABLE_defaultItemHeight: number;
|
|
4660
4686
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4661
|
-
orientation:
|
|
4687
|
+
orientation: "horizontal" | "vertical";
|
|
4662
4688
|
indexRef: React.MutableRefObject<number>;
|
|
4663
4689
|
nonInteractiveIds: string[];
|
|
4664
4690
|
isVirtualized: boolean;
|
|
4665
|
-
items: import("
|
|
4691
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4666
4692
|
mode: "multiple" | "single";
|
|
4667
4693
|
};
|
|
4668
4694
|
events: {
|
|
4669
4695
|
updatePlacement(data: {
|
|
4670
4696
|
placement: import("@popperjs/core").Placement;
|
|
4671
|
-
}): void;
|
|
4697
|
+
}): void; /**
|
|
4698
|
+
* A list of panels. Uses `ListModel`
|
|
4699
|
+
*/
|
|
4672
4700
|
show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
4673
4701
|
hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
|
|
4674
4702
|
select(data: {
|