@workday/canvas-kit-react 8.0.0-alpha.253-next.22 → 8.0.0-alpha.428-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/ActionBarList.tsx +16 -13
- package/action-bar/lib/ActionBarOverflowButton.tsx +2 -2
- package/action-bar/lib/useActionBarModel.tsx +20 -3
- package/banner/lib/Banner.tsx +56 -0
- package/banner/lib/BannerIcon.tsx +0 -1
- package/banner/lib/hooks/index.ts +2 -0
- package/banner/lib/hooks/useThemedPalette.ts +3 -3
- package/breadcrumbs/lib/Breadcrumbs.tsx +77 -56
- package/breadcrumbs/lib/BreadcrumbsCurrentItem.tsx +7 -18
- package/breadcrumbs/lib/BreadcrumbsItem.tsx +3 -3
- package/breadcrumbs/lib/BreadcrumbsList.tsx +1 -2
- package/button/lib/BaseButton.tsx +7 -5
- 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 +11 -10
- package/button/lib/parts/ButtonLabelIcon.tsx +2 -9
- package/card/lib/Card.tsx +36 -0
- package/checkbox/lib/Checkbox.tsx +2 -8
- package/collection/index.ts +5 -1
- package/collection/lib/ListBox.tsx +31 -16
- package/collection/lib/keyUtils.ts +88 -0
- package/collection/lib/useBaseListModel.tsx +29 -15
- package/collection/lib/useCursorListModel.tsx +124 -94
- package/collection/lib/useGridModel.ts +4 -0
- package/collection/lib/useListActiveDescendant.ts +24 -0
- package/collection/lib/useListItemAllowChildStrings.ts +38 -0
- package/collection/lib/useListItemRegister.tsx +25 -7
- package/collection/lib/useListItemRovingFocus.tsx +60 -113
- package/collection/lib/useListItemSelect.tsx +16 -5
- package/collection/lib/useListKeyboardHandler.ts +28 -0
- package/collection/lib/useListLoader.ts +375 -0
- package/collection/lib/useListModel.tsx +20 -3
- package/collection/lib/useListRenderItem.tsx +14 -0
- package/collection/lib/useListResetCursorOnBlur.tsx +13 -2
- package/collection/lib/useOverflowListItemMeasure.tsx +13 -2
- package/collection/lib/useOverflowListMeasure.ts +15 -13
- package/collection/lib/useOverflowListTarget.tsx +32 -30
- package/collection/lib/useSelectionListModel.tsx +14 -1
- package/combobox/LICENSE +52 -0
- package/combobox/README.md +7 -0
- package/combobox/index.ts +8 -0
- package/combobox/lib/Combobox.tsx +32 -0
- package/combobox/lib/ComboboxCard.tsx +33 -0
- package/combobox/lib/ComboboxInput.tsx +104 -0
- package/combobox/lib/ComboboxMenu.tsx +67 -0
- package/combobox/lib/ComboboxMenuItem.tsx +74 -0
- package/combobox/lib/ComboboxMenuList.tsx +45 -0
- package/combobox/lib/useComboboxInputOpenWithArrowKeys.ts +21 -0
- package/combobox/lib/useComboboxLoader.ts +72 -0
- package/combobox/lib/useComboboxModel.tsx +85 -0
- package/combobox/package.json +6 -0
- package/common/lib/EllipsisText.tsx +11 -3
- package/common/lib/styles/focusRing.ts +0 -9
- package/common/lib/theming/README.md +97 -0
- package/common/lib/theming/createCanvasTheme.ts +39 -42
- package/common/lib/theming/getObjectProxy.ts +37 -0
- package/common/lib/theming/index.ts +2 -0
- package/common/lib/theming/useTheme.ts +79 -23
- package/common/lib/theming/useThemedRing.ts +114 -0
- package/common/lib/utils/changeFocus.ts +15 -3
- package/common/lib/utils/colorUtils.ts +20 -7
- package/common/lib/utils/components.ts +267 -194
- package/common/lib/utils/deepMerge.ts +21 -0
- package/common/lib/utils/dispatchInputEvent.ts +16 -0
- package/common/lib/utils/index.ts +2 -0
- package/common/lib/utils/memoize.ts +23 -0
- package/common/lib/utils/models.ts +11 -7
- package/common/lib/utils/slugify.ts +11 -0
- package/common/lib/utils/useModalityType.ts +18 -4
- package/dialog/lib/Dialog.tsx +66 -0
- package/dialog/lib/DialogPopper.tsx +3 -0
- package/disclosure/lib/useDisclosureModel.tsx +2 -2
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +805 -349
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBar.js +52 -9
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +73 -26
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.js +7 -18
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +40 -30
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.js +13 -37
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +109 -27
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.js +13 -24
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +381 -161
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.js +55 -41
- package/dist/commonjs/avatar/lib/Avatar.js +52 -74
- package/dist/commonjs/badge/lib/CountBadge.js +23 -43
- 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 +88 -48
- package/dist/commonjs/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerActionText.js +7 -30
- 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/BannerIcon.js +9 -31
- package/dist/commonjs/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerLabel.js +6 -29
- package/dist/commonjs/banner/lib/hooks/index.d.ts +2 -0
- package/dist/commonjs/banner/lib/hooks/index.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/index.js +3 -0
- package/dist/commonjs/banner/lib/hooks/useBanner.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBanner.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBanner.js +5 -6
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.js +4 -5
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.js +6 -7
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.js +4 -5
- package/dist/commonjs/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerModel.js +8 -16
- package/dist/commonjs/banner/lib/hooks/useThemedPalette.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useThemedPalette.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useThemedPalette.js +11 -11
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +865 -466
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.js +89 -91
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +149 -27
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.js +14 -44
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +77 -27
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.js +15 -40
- 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/BreadcrumbsLink.js +15 -36
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +24 -16
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.js +10 -33
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +414 -221
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.js +7 -19
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +109 -27
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.js +15 -38
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +369 -161
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.js +38 -37
- package/dist/commonjs/breadcrumbs/lib/hooks/utils/index.js +4 -4
- package/dist/commonjs/button/lib/BaseButton.d.ts +8 -7
- package/dist/commonjs/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/BaseButton.js +128 -78
- 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 +32 -58
- 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 +29 -39
- 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 +13 -34
- 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 +18 -32
- 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 +18 -32
- package/dist/commonjs/button/lib/TertiaryButton.d.ts +12 -9
- package/dist/commonjs/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/TertiaryButton.js +33 -49
- 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 +14 -40
- 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/ToolbarIconButton.js +16 -43
- 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 +52 -55
- 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/ButtonLabel.js +6 -29
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts +3 -9
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.js +7 -30
- 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 +44 -31
- 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/CardBody.js +6 -29
- package/dist/commonjs/card/lib/CardHeading.d.ts +1 -1
- package/dist/commonjs/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +5 -28
- 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 +122 -131
- package/dist/commonjs/collection/index.d.ts +5 -1
- package/dist/commonjs/collection/index.d.ts.map +1 -1
- package/dist/commonjs/collection/index.js +4 -0
- package/dist/commonjs/collection/lib/ListBox.d.ts +353 -125
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +34 -42
- package/dist/commonjs/collection/lib/keyUtils.d.ts +26 -0
- package/dist/commonjs/collection/lib/keyUtils.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/keyUtils.js +80 -0
- package/dist/commonjs/collection/lib/react-virtual.js +2 -2
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts +30 -20
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useBaseListModel.js +77 -70
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +563 -93
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.js +153 -155
- package/dist/commonjs/collection/lib/useGridModel.d.ts +273 -119
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useGridModel.js +18 -32
- package/dist/commonjs/collection/lib/useListActiveDescendant.d.ts +68 -0
- package/dist/commonjs/collection/lib/useListActiveDescendant.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListActiveDescendant.js +25 -0
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +88 -0
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.js +37 -0
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +25 -13
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRegister.js +33 -21
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +23 -38
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +66 -118
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +25 -11
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemSelect.js +21 -12
- package/dist/commonjs/collection/lib/useListKeyboardHandler.d.ts +66 -0
- package/dist/commonjs/collection/lib/useListKeyboardHandler.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListKeyboardHandler.js +27 -0
- package/dist/commonjs/collection/lib/useListLoader.d.ts +106 -0
- package/dist/commonjs/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListLoader.js +239 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts +289 -122
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListModel.js +22 -5
- 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 +23 -9
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +25 -12
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.js +22 -12
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +24 -11
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +21 -11
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +18 -12
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +12 -8
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +341 -143
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +61 -56
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +22 -13
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +15 -11
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +282 -120
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useSelectionListModel.js +32 -37
- 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 +45 -75
- 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/color-picker/lib/ColorPreview.js +7 -32
- package/dist/commonjs/color-picker/lib/parts/ColorSwatch.js +15 -43
- package/dist/commonjs/combobox/index.d.ts +9 -0
- package/dist/commonjs/combobox/index.d.ts.map +1 -0
- package/dist/commonjs/combobox/index.js +19 -0
- package/dist/commonjs/combobox/lib/Combobox.d.ts +2075 -0
- package/dist/commonjs/combobox/lib/Combobox.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/Combobox.js +29 -0
- package/dist/commonjs/combobox/lib/ComboboxCard.d.ts +166 -0
- package/dist/commonjs/combobox/lib/ComboboxCard.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxCard.js +25 -0
- package/dist/commonjs/combobox/lib/ComboboxInput.d.ts +186 -0
- package/dist/commonjs/combobox/lib/ComboboxInput.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxInput.js +84 -0
- package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts +428 -0
- package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxMenu.js +63 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts +178 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.js +50 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts +164 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +31 -0
- package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts +84 -0
- package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.js +20 -0
- package/dist/commonjs/combobox/lib/useComboboxLoader.d.ts +28 -0
- package/dist/commonjs/combobox/lib/useComboboxLoader.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/useComboboxLoader.js +65 -0
- package/dist/commonjs/combobox/lib/useComboboxModel.d.ts +1998 -0
- package/dist/commonjs/combobox/lib/useComboboxModel.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/useComboboxModel.js +82 -0
- package/dist/commonjs/common/lib/CanvasProvider.js +15 -55
- 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 +10 -3
- package/dist/commonjs/common/lib/InputProvider.d.ts +1 -1
- package/dist/commonjs/common/lib/InputProvider.js +73 -91
- package/dist/commonjs/common/lib/parts/_brand-assets.js +6 -6
- package/dist/commonjs/common/lib/responsive/useResponsiveContainerStyles.js +22 -51
- package/dist/commonjs/common/lib/styles/errorRing.js +11 -10
- package/dist/commonjs/common/lib/styles/focusRing.d.ts +0 -3
- package/dist/commonjs/common/lib/styles/focusRing.d.ts.map +1 -1
- package/dist/commonjs/common/lib/styles/focusRing.js +20 -36
- package/dist/commonjs/common/lib/styles/hideMouseFocus.js +13 -9
- package/dist/commonjs/common/lib/theming/breakpoints.js +10 -10
- package/dist/commonjs/common/lib/theming/createCanvasTheme.d.ts +7 -6
- package/dist/commonjs/common/lib/theming/createCanvasTheme.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/createCanvasTheme.js +45 -70
- package/dist/commonjs/common/lib/theming/getObjectProxy.d.ts +15 -0
- package/dist/commonjs/common/lib/theming/getObjectProxy.d.ts.map +1 -0
- package/dist/commonjs/common/lib/theming/getObjectProxy.js +31 -0
- package/dist/commonjs/common/lib/theming/index.d.ts +2 -0
- package/dist/commonjs/common/lib/theming/index.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/index.js +2 -0
- package/dist/commonjs/common/lib/theming/styled.js +10 -14
- package/dist/commonjs/common/lib/theming/theme.js +3 -3
- package/dist/commonjs/common/lib/theming/useIsRTL.js +5 -5
- package/dist/commonjs/common/lib/theming/useTheme.d.ts +49 -5
- package/dist/commonjs/common/lib/theming/useTheme.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/useTheme.js +82 -40
- package/dist/commonjs/common/lib/theming/useThemedRing.d.ts +43 -0
- package/dist/commonjs/common/lib/theming/useThemedRing.d.ts.map +1 -0
- package/dist/commonjs/common/lib/theming/useThemedRing.js +100 -0
- package/dist/commonjs/common/lib/utils/changeFocus.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/changeFocus.js +11 -5
- package/dist/commonjs/common/lib/utils/colorUtils.d.ts +7 -0
- package/dist/commonjs/common/lib/utils/colorUtils.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/colorUtils.js +28 -15
- package/dist/commonjs/common/lib/utils/components.d.ts +140 -86
- package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/components.js +156 -117
- package/dist/commonjs/common/lib/utils/deepMerge.d.ts +2 -0
- package/dist/commonjs/common/lib/utils/deepMerge.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/deepMerge.js +24 -0
- package/dist/commonjs/common/lib/utils/dispatchInputEvent.d.ts +2 -0
- package/dist/commonjs/common/lib/utils/dispatchInputEvent.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/dispatchInputEvent.js +18 -0
- package/dist/commonjs/common/lib/utils/elements.js +16 -16
- package/dist/commonjs/common/lib/utils/getTranslateFromOrigin.js +2 -2
- package/dist/commonjs/common/lib/utils/index.d.ts +2 -0
- package/dist/commonjs/common/lib/utils/index.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/index.js +2 -0
- package/dist/commonjs/common/lib/utils/isWithinBreakpoint.js +1 -1
- package/dist/commonjs/common/lib/utils/makeMq.js +4 -4
- package/dist/commonjs/common/lib/utils/memoize.d.ts +6 -0
- package/dist/commonjs/common/lib/utils/memoize.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/memoize.js +20 -0
- package/dist/commonjs/common/lib/utils/mergeCallback.js +1 -5
- package/dist/commonjs/common/lib/utils/mergeProps.js +5 -16
- package/dist/commonjs/common/lib/utils/models.d.ts +6 -2
- package/dist/commonjs/common/lib/utils/models.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/models.js +53 -73
- package/dist/commonjs/common/lib/utils/slugify.d.ts +5 -0
- package/dist/commonjs/common/lib/utils/slugify.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/slugify.js +15 -0
- package/dist/commonjs/common/lib/utils/useConstant.js +2 -2
- package/dist/commonjs/common/lib/utils/useIsFullscreen.js +7 -7
- package/dist/commonjs/common/lib/utils/useModalityType.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/useModalityType.js +26 -12
- package/dist/commonjs/common/lib/utils/useMount.js +3 -3
- package/dist/commonjs/common/lib/utils/useResizeObserver.js +9 -21
- package/dist/commonjs/common/lib/utils/useUniqueId.js +8 -8
- package/dist/commonjs/common/lib/utils/useWindowSize.js +10 -10
- package/dist/commonjs/dialog/lib/Dialog.d.ts +91 -26
- package/dist/commonjs/dialog/lib/Dialog.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/Dialog.js +72 -8
- package/dist/commonjs/dialog/lib/DialogCard.d.ts +4 -4
- package/dist/commonjs/dialog/lib/DialogCard.js +6 -17
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts +4 -4
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/DialogPopper.js +12 -32
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.d.ts +8 -5
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.js +4 -5
- package/dist/commonjs/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/commonjs/dialog/lib/hooks/useDialogModel.js +4 -4
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.d.ts +4 -6
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.js +5 -6
- package/dist/commonjs/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/commonjs/disclosure/lib/useDisclosureModel.js +14 -14
- 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 +44 -82
- package/dist/commonjs/form-field/lib/Hint.js +13 -45
- package/dist/commonjs/form-field/lib/Label.d.ts +4 -3
- package/dist/commonjs/form-field/lib/Label.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/Label.js +44 -87
- package/dist/commonjs/icon/lib/AccentIcon.d.ts +4 -3
- package/dist/commonjs/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AccentIcon.js +15 -41
- package/dist/commonjs/icon/lib/AppletIcon.d.ts +1 -1
- package/dist/commonjs/icon/lib/AppletIcon.js +16 -40
- 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/Graphic.js +9 -33
- 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/Icon.js +12 -31
- 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/Svg.js +11 -34
- package/dist/commonjs/icon/lib/SystemIcon.d.ts +11 -11
- package/dist/commonjs/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIcon.js +36 -62
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts +3 -2
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +18 -47
- package/dist/commonjs/icon/lib/utils.js +1 -1
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +1 -0
- package/dist/commonjs/layout/index.d.ts +2 -5
- package/dist/commonjs/layout/index.d.ts.map +1 -1
- package/dist/commonjs/layout/index.js +3 -6
- 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/Box.js +26 -51
- package/dist/commonjs/layout/lib/Flex.d.ts +2 -2
- package/dist/commonjs/layout/lib/Flex.js +8 -31
- package/dist/commonjs/layout/lib/Grid.d.ts +2 -2
- package/dist/commonjs/layout/lib/Grid.js +11 -35
- package/dist/commonjs/layout/lib/utils/background.js +1 -1
- package/dist/commonjs/layout/lib/utils/border/color.d.ts +7 -7
- package/dist/commonjs/layout/lib/utils/border/color.js +1 -1
- package/dist/commonjs/layout/lib/utils/border/index.js +20 -26
- package/dist/commonjs/layout/lib/utils/border/lineStyle.js +1 -1
- package/dist/commonjs/layout/lib/utils/border/radius.js +1 -1
- package/dist/commonjs/layout/lib/utils/border/shorthand.js +1 -1
- package/dist/commonjs/layout/lib/utils/border/width.js +1 -1
- package/dist/commonjs/layout/lib/utils/buildStyleFns.js +40 -43
- package/dist/commonjs/layout/lib/utils/color.js +1 -1
- package/dist/commonjs/layout/lib/utils/depth.js +1 -1
- package/dist/commonjs/layout/lib/utils/flex.js +1 -1
- package/dist/commonjs/layout/lib/utils/flexItem.js +1 -1
- 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/getValidChildren.js +2 -4
- package/dist/commonjs/layout/lib/utils/grid.js +1 -1
- package/dist/commonjs/layout/lib/utils/gridItem.js +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/layout.js +1 -1
- package/dist/commonjs/layout/lib/utils/other.js +1 -1
- package/dist/commonjs/layout/lib/utils/position.d.ts +4 -0
- package/dist/commonjs/layout/lib/utils/position.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/position.js +6 -1
- package/dist/commonjs/layout/lib/utils/space.js +1 -1
- package/dist/commonjs/layout/lib/utils/text.js +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +20 -42
- package/dist/commonjs/menu/index.d.ts +1 -1
- package/dist/commonjs/menu/index.d.ts.map +1 -1
- package/dist/commonjs/menu/index.js +2 -1
- package/dist/commonjs/menu/lib/Menu.d.ts +474 -439
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.js +53 -24
- package/dist/commonjs/menu/lib/MenuCard.d.ts +25 -19
- package/dist/commonjs/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuCard.js +14 -26
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +142 -18
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuContextTarget.js +9 -32
- 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/MenuDivider.js +9 -20
- package/dist/commonjs/menu/lib/MenuItem.d.ts +78 -21
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +86 -95
- package/dist/commonjs/menu/lib/MenuList.d.ts +31 -25
- package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +10 -32
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +17 -15
- package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuPopper.js +6 -29
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +227 -22
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.js +14 -38
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +393 -219
- package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/useMenuModel.js +23 -27
- package/dist/commonjs/modal/lib/Modal.d.ts +203 -47
- package/dist/commonjs/modal/lib/Modal.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/Modal.js +86 -14
- package/dist/commonjs/modal/lib/ModalBody.d.ts +24 -0
- package/dist/commonjs/modal/lib/ModalBody.d.ts.map +1 -0
- package/dist/commonjs/modal/lib/ModalBody.js +42 -0
- package/dist/commonjs/modal/lib/ModalCard.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalCard.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +15 -28
- package/dist/commonjs/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalHeading.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +13 -24
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.d.ts +4 -4
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +9 -20
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts +6 -8
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +39 -51
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.d.ts +3 -5
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.js +17 -17
- package/dist/commonjs/modal/lib/hooks/useModalCard.d.ts +8 -5
- package/dist/commonjs/modal/lib/hooks/useModalCard.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/hooks/useModalCard.js +3 -3
- package/dist/commonjs/modal/lib/hooks/useModalHeading.d.ts +8 -5
- package/dist/commonjs/modal/lib/hooks/useModalHeading.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/hooks/useModalHeading.js +7 -7
- package/dist/commonjs/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/commonjs/modal/lib/hooks/useModalModel.js +5 -5
- 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 +19 -36
- 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 +82 -93
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts +5 -5
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.js +15 -31
- 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 +11 -29
- 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 +11 -29
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +10 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.js +14 -14
- 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 +4 -27
- 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 +23 -42
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +7 -6
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.js +18 -35
- 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 +233 -104
- package/dist/commonjs/pagination/lib/Pagination/buildPageRange.js +9 -17
- 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/List.js +8 -32
- package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.js +8 -26
- 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/getValidChildren.js +2 -4
- 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/common/utils/useRTL.js +5 -5
- 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 +33 -32
- 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 +49 -58
- package/dist/commonjs/popup/lib/Popup.d.ts +103 -22
- package/dist/commonjs/popup/lib/Popup.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popup.js +96 -16
- package/dist/commonjs/popup/lib/PopupBody.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +6 -17
- package/dist/commonjs/popup/lib/PopupCard.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCard.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +60 -55
- package/dist/commonjs/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseButton.js +6 -29
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +8 -36
- package/dist/commonjs/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupHeading.js +6 -29
- package/dist/commonjs/popup/lib/PopupPopper.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupPopper.js +6 -29
- package/dist/commonjs/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupTarget.js +6 -17
- package/dist/commonjs/popup/lib/getTransformFromPlacement.js +6 -6
- package/dist/commonjs/popup/lib/hooks/focus-trap-js.js +23 -27
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.js +9 -9
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.js +14 -19
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.d.ts +7 -9
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.js +15 -15
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.js +11 -11
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.js +9 -9
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.d.ts +9 -11
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.js +18 -18
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.js +12 -12
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.js +10 -10
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.js +10 -10
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.js +9 -9
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.js +12 -12
- package/dist/commonjs/popup/lib/hooks/usePopupCard.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/usePopupCard.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCard.js +4 -5
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts +7 -8
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.js +6 -6
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.js +4 -5
- package/dist/commonjs/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/commonjs/popup/lib/hooks/usePopupModel.js +29 -34
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts +7 -8
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.js +10 -10
- 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 +41 -33
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.d.ts +6 -8
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.js +6 -7
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.js +5 -6
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.js +33 -22
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.js +10 -10
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.js +10 -10
- 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 +114 -134
- 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 +33 -76
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +2 -2
- package/dist/commonjs/segmented-control/lib/SegmentedControl.js +7 -30
- 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/segmented-control/lib/SegmentedControlButton.js +40 -61
- 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 +47 -64
- package/dist/commonjs/select/lib/SelectOption.js +6 -46
- package/dist/commonjs/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/commonjs/side-panel/lib/SidePanel.js +61 -122
- 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/skeletonHeader.js +5 -30
- 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/skeletonShape.js +12 -40
- 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/parts/skeletonText.js +12 -38
- 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 +42 -41
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +28 -59
- package/dist/commonjs/switch/lib/Switch.d.ts +1 -1
- package/dist/commonjs/switch/lib/Switch.js +55 -65
- package/dist/commonjs/table/lib/Table.js +10 -50
- package/dist/commonjs/table/lib/TableRow.d.ts +2 -1
- package/dist/commonjs/table/lib/TableRow.d.ts.map +1 -1
- package/dist/commonjs/table/lib/TableRow.js +40 -67
- package/dist/commonjs/tabs/lib/Tabs.d.ts +1263 -557
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.js +105 -14
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +179 -30
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.js +80 -87
- package/dist/commonjs/tabs/lib/TabsList.d.ts +157 -29
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +54 -49
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +17 -15
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.js +6 -29
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +119 -27
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.js +12 -35
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +46 -32
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.js +17 -42
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +24 -16
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.js +5 -6
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +1170 -618
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.js +63 -44
- package/dist/commonjs/testing/lib/ComponentStatesTable.js +11 -20
- package/dist/commonjs/testing/lib/StaticStates.js +10 -34
- package/dist/commonjs/testing/lib/permutateProps.js +13 -26
- package/dist/commonjs/text/lib/LabelText.d.ts +19 -2
- package/dist/commonjs/text/lib/LabelText.d.ts.map +1 -1
- package/dist/commonjs/text/lib/LabelText.js +23 -25
- package/dist/commonjs/text/lib/Text.d.ts +43 -3
- package/dist/commonjs/text/lib/Text.d.ts.map +1 -1
- package/dist/commonjs/text/lib/Text.js +45 -40
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts +105 -6
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts.map +1 -1
- package/dist/commonjs/text/lib/TypeLevelComponents.js +111 -41
- package/dist/commonjs/text-area/lib/TextArea.d.ts +1 -1
- package/dist/commonjs/text-area/lib/TextArea.js +42 -55
- package/dist/commonjs/text-input/index.d.ts +1 -0
- package/dist/commonjs/text-input/index.d.ts.map +1 -1
- package/dist/commonjs/text-input/index.js +4 -0
- package/dist/commonjs/text-input/lib/InputGroup.d.ts +135 -0
- package/dist/commonjs/text-input/lib/InputGroup.d.ts.map +1 -0
- package/dist/commonjs/text-input/lib/InputGroup.js +200 -0
- package/dist/commonjs/text-input/lib/InputIconContainer.js +11 -17
- package/dist/commonjs/text-input/lib/TextInput.d.ts +1 -1
- package/dist/commonjs/text-input/lib/TextInput.js +38 -51
- package/dist/commonjs/toast/index.d.ts +1 -0
- package/dist/commonjs/toast/index.d.ts.map +1 -1
- package/dist/commonjs/toast/index.js +1 -0
- package/dist/commonjs/toast/lib/Toast.d.ts +56 -22
- package/dist/commonjs/toast/lib/Toast.d.ts.map +1 -1
- package/dist/commonjs/toast/lib/Toast.js +94 -78
- package/dist/commonjs/toast/lib/ToastBody.d.ts +6 -0
- package/dist/commonjs/toast/lib/ToastBody.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastBody.js +15 -0
- package/dist/commonjs/toast/lib/ToastCloseIcon.d.ts +6 -0
- package/dist/commonjs/toast/lib/ToastCloseIcon.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastCloseIcon.js +15 -0
- package/dist/commonjs/toast/lib/ToastIcon.d.ts +5 -0
- package/dist/commonjs/toast/lib/ToastIcon.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastIcon.js +15 -0
- package/dist/commonjs/toast/lib/ToastLink.d.ts +5 -0
- package/dist/commonjs/toast/lib/ToastLink.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastLink.js +15 -0
- package/dist/commonjs/toast/lib/ToastMessage.d.ts +12 -0
- package/dist/commonjs/toast/lib/ToastMessage.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastMessage.js +15 -0
- package/dist/commonjs/toast/lib/hooks/useToastModel.d.ts +75 -0
- package/dist/commonjs/toast/lib/hooks/useToastModel.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/hooks/useToastModel.js +29 -0
- package/dist/commonjs/tokens/index.d.ts +2 -2
- package/dist/commonjs/tokens/index.d.ts.map +1 -1
- package/dist/commonjs/tokens/index.js +6 -6
- package/dist/commonjs/tokens/lib/depth.d.ts +6 -7
- package/dist/commonjs/tokens/lib/depth.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/depth.js +6 -6
- package/dist/commonjs/tokens/lib/type/fontFamilies.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/type/fontFamilies.js +5 -6
- package/dist/commonjs/tokens/lib/type/index.d.ts +7 -7
- package/dist/commonjs/tokens/lib/type/index.js +9 -9
- package/dist/commonjs/tokens/lib/type/levels.js +4 -4
- package/dist/commonjs/tokens/lib/type/variants.js +1 -1
- package/dist/commonjs/tooltip/lib/OverflowTooltip.js +34 -54
- 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 +32 -51
- package/dist/commonjs/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/dist/commonjs/tooltip/lib/TooltipContainer.js +37 -35
- package/dist/commonjs/tooltip/lib/useTooltip.d.ts.map +1 -1
- package/dist/commonjs/tooltip/lib/useTooltip.js +44 -41
- package/dist/es6/action-bar/lib/ActionBar.d.ts +805 -349
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.js +47 -4
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +73 -26
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.js +4 -15
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +40 -30
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.js +11 -35
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +109 -27
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.js +7 -18
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +381 -161
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.js +52 -38
- package/dist/es6/avatar/lib/Avatar.js +46 -68
- package/dist/es6/badge/lib/CountBadge.js +20 -40
- 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 +81 -41
- package/dist/es6/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/es6/banner/lib/BannerActionText.js +4 -27
- 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/BannerIcon.js +5 -27
- package/dist/es6/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/es6/banner/lib/BannerLabel.js +3 -26
- package/dist/es6/banner/lib/hooks/index.d.ts +2 -0
- package/dist/es6/banner/lib/hooks/index.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/index.js +2 -0
- package/dist/es6/banner/lib/hooks/useBanner.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBanner.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBanner.js +3 -4
- package/dist/es6/banner/lib/hooks/useBannerActionText.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBannerActionText.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBannerActionText.js +2 -3
- package/dist/es6/banner/lib/hooks/useBannerIcon.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBannerIcon.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBannerIcon.js +2 -3
- package/dist/es6/banner/lib/hooks/useBannerLabel.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBannerLabel.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBannerLabel.js +2 -3
- package/dist/es6/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerModel.js +8 -16
- package/dist/es6/banner/lib/hooks/useThemedPalette.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useThemedPalette.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useThemedPalette.js +7 -7
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +865 -466
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.js +80 -82
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +149 -27
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.js +10 -40
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +77 -27
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.js +7 -32
- 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/BreadcrumbsLink.js +11 -32
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +24 -16
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.js +5 -28
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +414 -221
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.js +6 -18
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +109 -27
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.js +6 -29
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +369 -161
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.js +34 -33
- package/dist/es6/breadcrumbs/lib/hooks/utils/index.js +4 -4
- package/dist/es6/button/lib/BaseButton.d.ts +8 -7
- package/dist/es6/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/es6/button/lib/BaseButton.js +123 -73
- 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 +30 -56
- 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 +25 -35
- 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 +11 -32
- 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 +15 -29
- 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 +15 -29
- package/dist/es6/button/lib/TertiaryButton.d.ts +12 -9
- package/dist/es6/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/TertiaryButton.js +30 -46
- 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 +10 -36
- 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/ToolbarIconButton.js +13 -40
- 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 +49 -52
- 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/ButtonLabel.js +4 -27
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts +3 -9
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/ButtonLabelIcon.js +5 -28
- 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 +39 -26
- 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/CardBody.js +3 -26
- package/dist/es6/card/lib/CardHeading.d.ts +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/es6/card/lib/CardHeading.js +3 -26
- 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 +118 -127
- package/dist/es6/collection/index.d.ts +5 -1
- package/dist/es6/collection/index.d.ts.map +1 -1
- package/dist/es6/collection/index.js +4 -0
- package/dist/es6/collection/lib/ListBox.d.ts +353 -125
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/ListBox.js +29 -37
- package/dist/es6/collection/lib/keyUtils.d.ts +26 -0
- package/dist/es6/collection/lib/keyUtils.d.ts.map +1 -0
- package/dist/es6/collection/lib/keyUtils.js +76 -0
- package/dist/es6/collection/lib/react-virtual.js +1 -1
- package/dist/es6/collection/lib/useBaseListModel.d.ts +30 -20
- package/dist/es6/collection/lib/useBaseListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useBaseListModel.js +76 -69
- package/dist/es6/collection/lib/useCursorListModel.d.ts +563 -93
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.js +166 -168
- package/dist/es6/collection/lib/useGridModel.d.ts +273 -119
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useGridModel.js +16 -30
- package/dist/es6/collection/lib/useListActiveDescendant.d.ts +68 -0
- package/dist/es6/collection/lib/useListActiveDescendant.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListActiveDescendant.js +22 -0
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +88 -0
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListItemAllowChildStrings.js +34 -0
- package/dist/es6/collection/lib/useListItemRegister.d.ts +25 -13
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRegister.js +31 -19
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +23 -38
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +62 -114
- package/dist/es6/collection/lib/useListItemSelect.d.ts +25 -11
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemSelect.js +19 -10
- package/dist/es6/collection/lib/useListKeyboardHandler.d.ts +66 -0
- package/dist/es6/collection/lib/useListKeyboardHandler.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListKeyboardHandler.js +24 -0
- package/dist/es6/collection/lib/useListLoader.d.ts +106 -0
- package/dist/es6/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListLoader.js +230 -0
- package/dist/es6/collection/lib/useListModel.d.ts +289 -122
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListModel.js +21 -4
- 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 +22 -8
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +25 -12
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.js +18 -8
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +24 -11
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +19 -9
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +18 -12
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +9 -5
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +341 -143
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +59 -54
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +22 -13
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +12 -8
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +282 -120
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useSelectionListModel.js +32 -37
- 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 +41 -71
- 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/color-picker/lib/ColorPreview.js +3 -28
- package/dist/es6/color-picker/lib/parts/ColorSwatch.js +8 -36
- package/dist/es6/combobox/index.d.ts +9 -0
- package/dist/es6/combobox/index.d.ts.map +1 -0
- package/dist/es6/combobox/index.js +8 -0
- package/dist/es6/combobox/lib/Combobox.d.ts +2075 -0
- package/dist/es6/combobox/lib/Combobox.d.ts.map +1 -0
- package/dist/es6/combobox/lib/Combobox.js +23 -0
- package/dist/es6/combobox/lib/ComboboxCard.d.ts +166 -0
- package/dist/es6/combobox/lib/ComboboxCard.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxCard.js +19 -0
- package/dist/es6/combobox/lib/ComboboxInput.d.ts +186 -0
- package/dist/es6/combobox/lib/ComboboxInput.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxInput.js +78 -0
- package/dist/es6/combobox/lib/ComboboxMenu.d.ts +428 -0
- package/dist/es6/combobox/lib/ComboboxMenu.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxMenu.js +57 -0
- package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts +178 -0
- package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxMenuItem.js +44 -0
- package/dist/es6/combobox/lib/ComboboxMenuList.d.ts +164 -0
- package/dist/es6/combobox/lib/ComboboxMenuList.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxMenuList.js +25 -0
- package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts +84 -0
- package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
- package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.js +17 -0
- package/dist/es6/combobox/lib/useComboboxLoader.d.ts +28 -0
- package/dist/es6/combobox/lib/useComboboxLoader.d.ts.map +1 -0
- package/dist/es6/combobox/lib/useComboboxLoader.js +58 -0
- package/dist/es6/combobox/lib/useComboboxModel.d.ts +1998 -0
- package/dist/es6/combobox/lib/useComboboxModel.d.ts.map +1 -0
- package/dist/es6/combobox/lib/useComboboxModel.js +76 -0
- package/dist/es6/common/lib/CanvasProvider.js +11 -52
- 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 +10 -3
- package/dist/es6/common/lib/InputProvider.d.ts +1 -1
- package/dist/es6/common/lib/InputProvider.js +72 -91
- package/dist/es6/common/lib/parts/_brand-assets.js +6 -6
- package/dist/es6/common/lib/responsive/useResponsiveContainerStyles.js +20 -49
- package/dist/es6/common/lib/styles/accessibleHide.js +1 -1
- package/dist/es6/common/lib/styles/errorRing.js +8 -7
- package/dist/es6/common/lib/styles/focusRing.d.ts +0 -3
- package/dist/es6/common/lib/styles/focusRing.d.ts.map +1 -1
- package/dist/es6/common/lib/styles/focusRing.js +16 -29
- package/dist/es6/common/lib/styles/hideMouseFocus.js +13 -9
- package/dist/es6/common/lib/theming/breakpoints.js +12 -12
- package/dist/es6/common/lib/theming/createCanvasTheme.d.ts +7 -6
- package/dist/es6/common/lib/theming/createCanvasTheme.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/createCanvasTheme.js +39 -63
- package/dist/es6/common/lib/theming/getObjectProxy.d.ts +15 -0
- package/dist/es6/common/lib/theming/getObjectProxy.d.ts.map +1 -0
- package/dist/es6/common/lib/theming/getObjectProxy.js +27 -0
- package/dist/es6/common/lib/theming/index.d.ts +2 -0
- package/dist/es6/common/lib/theming/index.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/index.js +2 -0
- package/dist/es6/common/lib/theming/styled.js +7 -11
- package/dist/es6/common/lib/theming/theme.js +5 -5
- package/dist/es6/common/lib/theming/useIsRTL.js +2 -2
- package/dist/es6/common/lib/theming/useTheme.d.ts +49 -5
- package/dist/es6/common/lib/theming/useTheme.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/useTheme.js +78 -34
- package/dist/es6/common/lib/theming/useThemedRing.d.ts +43 -0
- package/dist/es6/common/lib/theming/useThemedRing.d.ts.map +1 -0
- package/dist/es6/common/lib/theming/useThemedRing.js +92 -0
- package/dist/es6/common/lib/utils/changeFocus.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/changeFocus.js +11 -5
- package/dist/es6/common/lib/utils/colorUtils.d.ts +7 -0
- package/dist/es6/common/lib/utils/colorUtils.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/colorUtils.js +24 -12
- package/dist/es6/common/lib/utils/components.d.ts +140 -86
- package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/components.js +150 -111
- package/dist/es6/common/lib/utils/deepMerge.d.ts +2 -0
- package/dist/es6/common/lib/utils/deepMerge.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/deepMerge.js +20 -0
- package/dist/es6/common/lib/utils/dispatchInputEvent.d.ts +2 -0
- package/dist/es6/common/lib/utils/dispatchInputEvent.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/dispatchInputEvent.js +14 -0
- package/dist/es6/common/lib/utils/elements.js +16 -16
- package/dist/es6/common/lib/utils/getTranslateFromOrigin.js +2 -2
- package/dist/es6/common/lib/utils/index.d.ts +2 -0
- package/dist/es6/common/lib/utils/index.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/index.js +2 -0
- package/dist/es6/common/lib/utils/isWithinBreakpoint.js +1 -1
- package/dist/es6/common/lib/utils/makeMq.js +4 -4
- package/dist/es6/common/lib/utils/memoize.d.ts +6 -0
- package/dist/es6/common/lib/utils/memoize.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/memoize.js +16 -0
- package/dist/es6/common/lib/utils/mergeCallback.js +1 -5
- package/dist/es6/common/lib/utils/mergeProps.js +4 -15
- package/dist/es6/common/lib/utils/models.d.ts +6 -2
- package/dist/es6/common/lib/utils/models.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/models.js +52 -72
- package/dist/es6/common/lib/utils/slugify.d.ts +5 -0
- package/dist/es6/common/lib/utils/slugify.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/slugify.js +11 -0
- package/dist/es6/common/lib/utils/useConstant.js +1 -1
- package/dist/es6/common/lib/utils/useIsFullscreen.js +5 -5
- package/dist/es6/common/lib/utils/useModalityType.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/useModalityType.js +25 -11
- package/dist/es6/common/lib/utils/useMount.js +2 -2
- package/dist/es6/common/lib/utils/useResizeObserver.js +6 -18
- package/dist/es6/common/lib/utils/useUniqueId.js +8 -8
- package/dist/es6/common/lib/utils/useWindowSize.js +8 -8
- package/dist/es6/dialog/lib/Dialog.d.ts +91 -26
- package/dist/es6/dialog/lib/Dialog.d.ts.map +1 -1
- package/dist/es6/dialog/lib/Dialog.js +67 -3
- package/dist/es6/dialog/lib/DialogCard.d.ts +4 -4
- package/dist/es6/dialog/lib/DialogCard.js +3 -14
- package/dist/es6/dialog/lib/DialogPopper.d.ts +4 -4
- package/dist/es6/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/es6/dialog/lib/DialogPopper.js +9 -29
- package/dist/es6/dialog/lib/hooks/useDialogCard.d.ts +8 -5
- package/dist/es6/dialog/lib/hooks/useDialogCard.d.ts.map +1 -1
- package/dist/es6/dialog/lib/hooks/useDialogCard.js +2 -3
- package/dist/es6/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/es6/dialog/lib/hooks/useDialogModel.js +3 -3
- package/dist/es6/dialog/lib/hooks/useDialogPopper.d.ts +4 -6
- package/dist/es6/dialog/lib/hooks/useDialogPopper.d.ts.map +1 -1
- package/dist/es6/dialog/lib/hooks/useDialogPopper.js +3 -4
- package/dist/es6/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/es6/disclosure/lib/useDisclosureModel.js +13 -13
- 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 +38 -77
- package/dist/es6/form-field/lib/Hint.js +9 -41
- package/dist/es6/form-field/lib/Label.d.ts +4 -3
- package/dist/es6/form-field/lib/Label.d.ts.map +1 -1
- package/dist/es6/form-field/lib/Label.js +40 -83
- package/dist/es6/icon/lib/AccentIcon.d.ts +4 -3
- package/dist/es6/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AccentIcon.js +12 -38
- package/dist/es6/icon/lib/AppletIcon.d.ts +1 -1
- package/dist/es6/icon/lib/AppletIcon.js +12 -36
- 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/Graphic.js +6 -30
- 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/Icon.js +10 -29
- 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/Svg.js +8 -31
- package/dist/es6/icon/lib/SystemIcon.d.ts +11 -11
- package/dist/es6/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIcon.js +33 -59
- package/dist/es6/icon/lib/SystemIconCircle.d.ts +3 -2
- package/dist/es6/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +14 -43
- package/dist/es6/icon/lib/utils.js +1 -1
- package/dist/es6/index.d.ts +1 -0
- package/dist/es6/index.d.ts.map +1 -1
- package/dist/es6/index.js +1 -0
- package/dist/es6/layout/index.d.ts +2 -5
- package/dist/es6/layout/index.d.ts.map +1 -1
- package/dist/es6/layout/index.js +2 -4
- 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/Box.js +12 -37
- package/dist/es6/layout/lib/Flex.d.ts +2 -2
- package/dist/es6/layout/lib/Flex.js +4 -27
- package/dist/es6/layout/lib/Grid.d.ts +2 -2
- package/dist/es6/layout/lib/Grid.js +7 -31
- package/dist/es6/layout/lib/utils/background.js +3 -3
- package/dist/es6/layout/lib/utils/border/color.d.ts +7 -7
- package/dist/es6/layout/lib/utils/border/color.js +2 -2
- package/dist/es6/layout/lib/utils/border/index.js +14 -20
- package/dist/es6/layout/lib/utils/border/lineStyle.js +2 -2
- package/dist/es6/layout/lib/utils/border/radius.js +2 -2
- package/dist/es6/layout/lib/utils/border/shorthand.js +2 -2
- package/dist/es6/layout/lib/utils/border/width.js +2 -2
- package/dist/es6/layout/lib/utils/buildStyleFns.js +39 -42
- package/dist/es6/layout/lib/utils/color.js +3 -3
- package/dist/es6/layout/lib/utils/depth.js +3 -3
- package/dist/es6/layout/lib/utils/flex.js +3 -3
- package/dist/es6/layout/lib/utils/flexItem.js +3 -3
- 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/getValidChildren.js +1 -3
- package/dist/es6/layout/lib/utils/grid.js +3 -3
- package/dist/es6/layout/lib/utils/gridItem.js +3 -3
- 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/layout.js +3 -3
- package/dist/es6/layout/lib/utils/other.js +3 -3
- package/dist/es6/layout/lib/utils/position.d.ts +4 -0
- package/dist/es6/layout/lib/utils/position.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/position.js +8 -3
- package/dist/es6/layout/lib/utils/space.js +3 -3
- package/dist/es6/layout/lib/utils/text.js +3 -3
- package/dist/es6/loading-dots/lib/LoadingDots.js +16 -38
- package/dist/es6/menu/index.d.ts +1 -1
- package/dist/es6/menu/index.d.ts.map +1 -1
- package/dist/es6/menu/index.js +1 -1
- package/dist/es6/menu/lib/Menu.d.ts +474 -439
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.js +45 -16
- package/dist/es6/menu/lib/MenuCard.d.ts +25 -19
- package/dist/es6/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuCard.js +9 -21
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +142 -18
- package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuContextTarget.js +7 -30
- 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/MenuDivider.js +6 -17
- package/dist/es6/menu/lib/MenuItem.d.ts +78 -21
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.js +78 -87
- package/dist/es6/menu/lib/MenuList.d.ts +31 -25
- package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuList.js +7 -29
- package/dist/es6/menu/lib/MenuPopper.d.ts +17 -15
- package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuPopper.js +4 -27
- package/dist/es6/menu/lib/MenuTarget.d.ts +227 -22
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.js +10 -34
- package/dist/es6/menu/lib/useMenuModel.d.ts +393 -219
- package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/es6/menu/lib/useMenuModel.js +22 -26
- package/dist/es6/modal/lib/Modal.d.ts +203 -47
- package/dist/es6/modal/lib/Modal.d.ts.map +1 -1
- package/dist/es6/modal/lib/Modal.js +79 -7
- package/dist/es6/modal/lib/ModalBody.d.ts +24 -0
- package/dist/es6/modal/lib/ModalBody.d.ts.map +1 -0
- package/dist/es6/modal/lib/ModalBody.js +20 -0
- package/dist/es6/modal/lib/ModalCard.d.ts +2 -2
- package/dist/es6/modal/lib/ModalCard.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalCard.js +12 -25
- package/dist/es6/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/es6/modal/lib/ModalHeading.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +10 -21
- package/dist/es6/modal/lib/ModalOverflowOverlay.d.ts +4 -4
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +5 -16
- package/dist/es6/modal/lib/ModalOverlay.d.ts +6 -8
- package/dist/es6/modal/lib/ModalOverlay.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +33 -45
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.d.ts +3 -5
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.d.ts.map +1 -1
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.js +13 -13
- package/dist/es6/modal/lib/hooks/useModalCard.d.ts +8 -5
- package/dist/es6/modal/lib/hooks/useModalCard.d.ts.map +1 -1
- package/dist/es6/modal/lib/hooks/useModalCard.js +1 -1
- package/dist/es6/modal/lib/hooks/useModalHeading.d.ts +8 -5
- package/dist/es6/modal/lib/hooks/useModalHeading.d.ts.map +1 -1
- package/dist/es6/modal/lib/hooks/useModalHeading.js +5 -5
- package/dist/es6/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/es6/modal/lib/hooks/useModalModel.js +3 -3
- 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 +15 -31
- 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 +77 -83
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts +5 -5
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.js +14 -29
- 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 +9 -26
- 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 -26
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +10 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.js +12 -12
- 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 -25
- 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 +20 -38
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts +7 -6
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.js +16 -31
- 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 -99
- package/dist/es6/pagination/lib/Pagination/buildPageRange.js +9 -17
- 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/List.js +7 -31
- package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.js +8 -26
- 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/getValidChildren.js +1 -3
- 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/common/utils/useRTL.js +4 -4
- 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 +29 -28
- 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 +44 -53
- package/dist/es6/popup/lib/Popup.d.ts +103 -22
- package/dist/es6/popup/lib/Popup.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popup.js +87 -7
- package/dist/es6/popup/lib/PopupBody.d.ts +2 -2
- package/dist/es6/popup/lib/PopupBody.js +3 -14
- package/dist/es6/popup/lib/PopupCard.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCard.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCard.js +53 -48
- package/dist/es6/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseButton.js +3 -26
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCloseIcon.js +5 -33
- package/dist/es6/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/es6/popup/lib/PopupHeading.js +3 -26
- package/dist/es6/popup/lib/PopupPopper.d.ts +2 -2
- package/dist/es6/popup/lib/PopupPopper.js +3 -26
- package/dist/es6/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/es6/popup/lib/PopupTarget.js +3 -14
- package/dist/es6/popup/lib/getTransformFromPlacement.js +6 -6
- package/dist/es6/popup/lib/hooks/focus-trap-js.js +23 -27
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.js +5 -5
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.js +11 -16
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.d.ts +7 -9
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.js +11 -11
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.js +7 -7
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.js +5 -5
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.d.ts +9 -11
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.js +14 -14
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.js +9 -9
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.js +7 -7
- package/dist/es6/popup/lib/hooks/useFocusRedirect.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useFocusRedirect.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useFocusRedirect.js +7 -7
- package/dist/es6/popup/lib/hooks/useFocusTrap.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useFocusTrap.js +5 -5
- package/dist/es6/popup/lib/hooks/useInitialFocus.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/useInitialFocus.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useInitialFocus.js +9 -9
- package/dist/es6/popup/lib/hooks/usePopupCard.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/usePopupCard.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCard.js +2 -3
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts +7 -8
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.js +4 -4
- package/dist/es6/popup/lib/hooks/usePopupHeading.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/usePopupHeading.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupHeading.js +2 -3
- package/dist/es6/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/es6/popup/lib/hooks/usePopupModel.js +28 -33
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts +7 -8
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupPopper.js +7 -7
- 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 +38 -30
- package/dist/es6/popup/lib/hooks/usePopupTarget.d.ts +6 -8
- package/dist/es6/popup/lib/hooks/usePopupTarget.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupTarget.js +4 -5
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.js +3 -4
- package/dist/es6/popup/lib/hooks/useReturnFocus.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/useReturnFocus.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useReturnFocus.js +29 -18
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.js +5 -5
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.js +5 -5
- 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 +111 -131
- 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 +29 -73
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +2 -2
- package/dist/es6/segmented-control/lib/SegmentedControl.js +5 -28
- 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/segmented-control/lib/SegmentedControlButton.js +37 -58
- 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 +44 -61
- package/dist/es6/select/lib/SelectOption.js +5 -46
- package/dist/es6/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/es6/side-panel/lib/SidePanel.js +55 -117
- 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/skeletonHeader.js +2 -27
- 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/skeletonShape.js +9 -37
- 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/parts/skeletonText.js +9 -35
- 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 +36 -35
- package/dist/es6/status-indicator/lib/StatusIndicator.js +25 -57
- package/dist/es6/switch/lib/Switch.d.ts +1 -1
- package/dist/es6/switch/lib/Switch.js +54 -64
- package/dist/es6/table/lib/Table.js +9 -50
- package/dist/es6/table/lib/TableRow.d.ts +2 -1
- package/dist/es6/table/lib/TableRow.d.ts.map +1 -1
- package/dist/es6/table/lib/TableRow.js +35 -62
- package/dist/es6/tabs/lib/Tabs.d.ts +1263 -557
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.js +96 -5
- package/dist/es6/tabs/lib/TabsItem.d.ts +179 -30
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.js +73 -80
- package/dist/es6/tabs/lib/TabsList.d.ts +157 -29
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.js +48 -44
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +17 -15
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.js +4 -27
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +119 -27
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.js +6 -29
- package/dist/es6/tabs/lib/TabsPanel.d.ts +46 -32
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.js +14 -39
- package/dist/es6/tabs/lib/TabsPanels.d.ts +24 -16
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.js +2 -3
- package/dist/es6/tabs/lib/useTabsModel.d.ts +1170 -618
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.js +60 -41
- package/dist/es6/testing/lib/ComponentStatesTable.js +9 -18
- package/dist/es6/testing/lib/StaticStates.js +8 -32
- package/dist/es6/testing/lib/permutateProps.js +13 -26
- package/dist/es6/text/lib/LabelText.d.ts +19 -2
- package/dist/es6/text/lib/LabelText.d.ts.map +1 -1
- package/dist/es6/text/lib/LabelText.js +22 -24
- package/dist/es6/text/lib/Text.d.ts +43 -3
- package/dist/es6/text/lib/Text.d.ts.map +1 -1
- package/dist/es6/text/lib/Text.js +42 -37
- package/dist/es6/text/lib/TypeLevelComponents.d.ts +105 -6
- package/dist/es6/text/lib/TypeLevelComponents.d.ts.map +1 -1
- package/dist/es6/text/lib/TypeLevelComponents.js +113 -43
- package/dist/es6/text-area/lib/TextArea.d.ts +1 -1
- package/dist/es6/text-area/lib/TextArea.js +41 -54
- package/dist/es6/text-input/index.d.ts +1 -0
- package/dist/es6/text-input/index.d.ts.map +1 -1
- package/dist/es6/text-input/index.js +1 -0
- package/dist/es6/text-input/lib/InputGroup.d.ts +135 -0
- package/dist/es6/text-input/lib/InputGroup.d.ts.map +1 -0
- package/dist/es6/text-input/lib/InputGroup.js +194 -0
- package/dist/es6/text-input/lib/InputIconContainer.js +8 -14
- package/dist/es6/text-input/lib/TextInput.d.ts +1 -1
- package/dist/es6/text-input/lib/TextInput.js +37 -50
- package/dist/es6/toast/index.d.ts +1 -0
- package/dist/es6/toast/index.d.ts.map +1 -1
- package/dist/es6/toast/index.js +1 -0
- package/dist/es6/toast/lib/Toast.d.ts +56 -22
- package/dist/es6/toast/lib/Toast.d.ts.map +1 -1
- package/dist/es6/toast/lib/Toast.js +90 -58
- package/dist/es6/toast/lib/ToastBody.d.ts +6 -0
- package/dist/es6/toast/lib/ToastBody.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastBody.js +9 -0
- package/dist/es6/toast/lib/ToastCloseIcon.d.ts +6 -0
- package/dist/es6/toast/lib/ToastCloseIcon.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastCloseIcon.js +9 -0
- package/dist/es6/toast/lib/ToastIcon.d.ts +5 -0
- package/dist/es6/toast/lib/ToastIcon.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastIcon.js +9 -0
- package/dist/es6/toast/lib/ToastLink.d.ts +5 -0
- package/dist/es6/toast/lib/ToastLink.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastLink.js +9 -0
- package/dist/es6/toast/lib/ToastMessage.d.ts +12 -0
- package/dist/es6/toast/lib/ToastMessage.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastMessage.js +9 -0
- package/dist/es6/toast/lib/hooks/useToastModel.d.ts +75 -0
- package/dist/es6/toast/lib/hooks/useToastModel.d.ts.map +1 -0
- package/dist/es6/toast/lib/hooks/useToastModel.js +26 -0
- package/dist/es6/tokens/index.d.ts +2 -2
- package/dist/es6/tokens/index.d.ts.map +1 -1
- package/dist/es6/tokens/index.js +16 -16
- package/dist/es6/tokens/lib/depth.d.ts +6 -7
- package/dist/es6/tokens/lib/depth.d.ts.map +1 -1
- package/dist/es6/tokens/lib/depth.js +7 -7
- package/dist/es6/tokens/lib/radius.js +1 -1
- package/dist/es6/tokens/lib/space.js +2 -2
- package/dist/es6/tokens/lib/type/fontFamilies.d.ts.map +1 -1
- package/dist/es6/tokens/lib/type/fontFamilies.js +8 -6
- package/dist/es6/tokens/lib/type/fontSizes.js +1 -1
- package/dist/es6/tokens/lib/type/fontWeights.js +1 -1
- package/dist/es6/tokens/lib/type/index.d.ts +7 -7
- package/dist/es6/tokens/lib/type/index.js +10 -10
- package/dist/es6/tokens/lib/type/levels.js +1 -1
- package/dist/es6/tokens/lib/type/variants.js +1 -1
- package/dist/es6/tooltip/lib/OverflowTooltip.js +29 -49
- 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 +27 -45
- package/dist/es6/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/dist/es6/tooltip/lib/TooltipContainer.js +33 -31
- package/dist/es6/tooltip/lib/useTooltip.d.ts.map +1 -1
- package/dist/es6/tooltip/lib/useTooltip.js +41 -38
- package/form-field/lib/FormField.tsx +5 -3
- package/form-field/lib/Label.tsx +9 -8
- package/icon/lib/AccentIcon.tsx +5 -6
- package/icon/lib/SystemIcon.tsx +17 -17
- package/icon/lib/SystemIconCircle.tsx +4 -3
- package/index.ts +1 -0
- package/layout/README.md +2 -8
- package/layout/index.ts +2 -6
- package/layout/lib/utils/border/color.ts +7 -7
- package/layout/lib/utils/layout.ts +1 -1
- package/layout/lib/utils/position.ts +9 -0
- package/menu/index.ts +1 -1
- package/menu/lib/Menu.tsx +43 -13
- package/menu/lib/MenuContextTarget.tsx +1 -1
- package/menu/lib/MenuItem.tsx +18 -19
- package/menu/lib/MenuList.tsx +16 -11
- package/menu/lib/MenuTarget.tsx +2 -2
- package/menu/lib/useMenuModel.tsx +4 -7
- package/modal/lib/Modal.tsx +77 -5
- package/modal/lib/ModalBody.tsx +32 -0
- package/modal/lib/ModalCard.tsx +12 -8
- package/modal/lib/ModalHeading.tsx +10 -5
- package/modal/lib/ModalOverlay.tsx +17 -13
- package/modal/lib/hooks/useModalHeading.ts +2 -2
- package/package.json +4 -5
- package/pagination/lib/Pagination/AdditionalDetails.tsx +30 -20
- package/pagination/lib/Pagination/Controls.tsx +122 -99
- package/pagination/lib/Pagination/GoTo/Form.tsx +33 -22
- 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 +3 -1
- package/pagination/lib/Pagination/Nav.tsx +1 -2
- package/pagination/lib/Pagination/PageButton.tsx +34 -31
- package/pagination/lib/Pagination/PageList.tsx +36 -22
- 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/PopupCard.tsx +31 -5
- package/popup/lib/PopupCloseIcon.tsx +14 -15
- 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 +17 -4
- package/radio/lib/RadioGroup.tsx +1 -3
- package/select/lib/Select.tsx +2 -15
- package/side-panel/lib/SidePanel.tsx +1 -2
- package/skeleton/lib/skeleton.tsx +27 -1
- package/tabs/lib/Tabs.tsx +95 -3
- package/tabs/lib/TabsItem.tsx +16 -21
- package/tabs/lib/TabsList.tsx +51 -19
- package/tabs/lib/TabsOverflowButton.tsx +4 -4
- package/tabs/lib/TabsPanel.tsx +6 -9
- package/tabs/lib/useTabsModel.tsx +17 -0
- package/text/lib/LabelText.tsx +32 -12
- package/text/lib/Text.tsx +45 -5
- package/text/lib/TypeLevelComponents.tsx +101 -2
- package/text-input/index.ts +1 -0
- package/text-input/lib/InputGroup.tsx +250 -0
- package/toast/LICENSE +1 -0
- package/toast/README.md +3 -5
- package/toast/index.ts +1 -0
- package/toast/lib/Toast.tsx +104 -109
- package/toast/lib/ToastBody.tsx +28 -0
- package/toast/lib/ToastCloseIcon.tsx +14 -0
- package/toast/lib/ToastIcon.tsx +23 -0
- package/toast/lib/ToastLink.tsx +17 -0
- package/toast/lib/ToastMessage.tsx +24 -0
- package/toast/lib/hooks/useToastModel.tsx +29 -0
- package/tokens/index.ts +3 -3
- package/tokens/lib/depth.ts +12 -13
- package/tokens/lib/type/fontFamilies.ts +5 -4
- package/tokens/lib/type/index.ts +8 -8
- package/tooltip/lib/Tooltip.tsx +42 -39
- package/tooltip/lib/useTooltip.tsx +18 -11
- package/dist/commonjs/layout/lib/Column.d.ts +0 -33
- package/dist/commonjs/layout/lib/Column.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/Column.js +0 -109
- package/dist/commonjs/layout/lib/Layout.d.ts +0 -45
- package/dist/commonjs/layout/lib/Layout.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/Layout.js +0 -131
- package/dist/commonjs/layout/lib/Stack.d.ts +0 -27
- package/dist/commonjs/layout/lib/Stack.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/Stack.js +0 -99
- package/dist/commonjs/layout/lib/utils/stack.d.ts +0 -23
- package/dist/commonjs/layout/lib/utils/stack.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/utils/stack.js +0 -29
- 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/layout/lib/Column.d.ts +0 -33
- package/dist/es6/layout/lib/Column.d.ts.map +0 -1
- package/dist/es6/layout/lib/Column.js +0 -84
- package/dist/es6/layout/lib/Layout.d.ts +0 -45
- package/dist/es6/layout/lib/Layout.d.ts.map +0 -1
- package/dist/es6/layout/lib/Layout.js +0 -106
- package/dist/es6/layout/lib/Stack.d.ts +0 -27
- package/dist/es6/layout/lib/Stack.d.ts.map +0 -1
- package/dist/es6/layout/lib/Stack.js +0 -74
- package/dist/es6/layout/lib/utils/stack.d.ts +0 -23
- package/dist/es6/layout/lib/utils/stack.d.ts.map +0 -1
- package/dist/es6/layout/lib/utils/stack.js +0 -25
- 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/layout/lib/Column.tsx +0 -88
- package/layout/lib/Layout.tsx +0 -124
- package/layout/lib/Stack.tsx +0 -97
- package/layout/lib/utils/stack.ts +0 -52
- 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
|
|
@@ -20,6 +36,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
20
36
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
21
37
|
menuConfig: Partial<{
|
|
22
38
|
mode: "multiple" | "single";
|
|
39
|
+
shouldVirtualize: boolean;
|
|
23
40
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
24
41
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
25
42
|
id: string;
|
|
@@ -30,14 +47,12 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
30
47
|
initialCursorId: string;
|
|
31
48
|
columnCount: number;
|
|
32
49
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
50
|
+
pageSize: number;
|
|
33
51
|
getId: (item: any) => string;
|
|
34
52
|
getTextValue: (item: any) => string;
|
|
35
|
-
nonInteractiveIds: string[];
|
|
36
|
-
* This event unregisters panels with state.panels. Called when a panel is unmounted.
|
|
37
|
-
*/
|
|
53
|
+
nonInteractiveIds: string[];
|
|
38
54
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
39
55
|
defaultItemHeight: number;
|
|
40
|
-
shouldVirtualize: boolean;
|
|
41
56
|
items: any[];
|
|
42
57
|
}> & {
|
|
43
58
|
onUpdatePlacement?: ((data: {
|
|
@@ -49,11 +64,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
49
64
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
50
65
|
placement: import("@popperjs/core").Placement;
|
|
51
66
|
id: string;
|
|
52
|
-
visibility:
|
|
53
|
-
selectedIds:
|
|
67
|
+
visibility: "hidden" | "visible";
|
|
68
|
+
selectedIds: string[] | "all";
|
|
54
69
|
unselectedIds: string[];
|
|
55
70
|
cursorId: string;
|
|
56
71
|
columnCount: number;
|
|
72
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
73
|
+
cursorIndexRef: {
|
|
74
|
+
readonly current: number;
|
|
75
|
+
};
|
|
57
76
|
UNSTABLE_virtual: {
|
|
58
77
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
59
78
|
totalSize: number;
|
|
@@ -63,11 +82,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
63
82
|
};
|
|
64
83
|
UNSTABLE_defaultItemHeight: number;
|
|
65
84
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
66
|
-
orientation:
|
|
85
|
+
orientation: "horizontal" | "vertical";
|
|
67
86
|
indexRef: React.MutableRefObject<number>;
|
|
68
87
|
nonInteractiveIds: string[];
|
|
69
88
|
isVirtualized: boolean;
|
|
70
|
-
items: import("
|
|
89
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
71
90
|
mode: "multiple" | "single";
|
|
72
91
|
}) => void) | undefined;
|
|
73
92
|
onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -77,11 +96,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
77
96
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
78
97
|
placement: import("@popperjs/core").Placement;
|
|
79
98
|
id: string;
|
|
80
|
-
visibility:
|
|
81
|
-
selectedIds:
|
|
99
|
+
visibility: "hidden" | "visible";
|
|
100
|
+
selectedIds: string[] | "all";
|
|
82
101
|
unselectedIds: string[];
|
|
83
102
|
cursorId: string;
|
|
84
103
|
columnCount: number;
|
|
104
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
105
|
+
cursorIndexRef: {
|
|
106
|
+
readonly current: number;
|
|
107
|
+
};
|
|
85
108
|
UNSTABLE_virtual: {
|
|
86
109
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
87
110
|
totalSize: number;
|
|
@@ -91,11 +114,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
91
114
|
};
|
|
92
115
|
UNSTABLE_defaultItemHeight: number;
|
|
93
116
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
94
|
-
orientation:
|
|
117
|
+
orientation: "horizontal" | "vertical";
|
|
95
118
|
indexRef: React.MutableRefObject<number>;
|
|
96
119
|
nonInteractiveIds: string[];
|
|
97
120
|
isVirtualized: boolean;
|
|
98
|
-
items: import("
|
|
121
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
99
122
|
mode: "multiple" | "single";
|
|
100
123
|
}) => void) | undefined;
|
|
101
124
|
onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -105,11 +128,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
105
128
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
106
129
|
placement: import("@popperjs/core").Placement;
|
|
107
130
|
id: string;
|
|
108
|
-
visibility:
|
|
109
|
-
selectedIds:
|
|
131
|
+
visibility: "hidden" | "visible";
|
|
132
|
+
selectedIds: string[] | "all";
|
|
110
133
|
unselectedIds: string[];
|
|
111
134
|
cursorId: string;
|
|
112
135
|
columnCount: number;
|
|
136
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
137
|
+
cursorIndexRef: {
|
|
138
|
+
readonly current: number;
|
|
139
|
+
};
|
|
113
140
|
UNSTABLE_virtual: {
|
|
114
141
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
115
142
|
totalSize: number;
|
|
@@ -119,11 +146,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
119
146
|
};
|
|
120
147
|
UNSTABLE_defaultItemHeight: number;
|
|
121
148
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
122
|
-
orientation:
|
|
149
|
+
orientation: "horizontal" | "vertical";
|
|
123
150
|
indexRef: React.MutableRefObject<number>;
|
|
124
151
|
nonInteractiveIds: string[];
|
|
125
152
|
isVirtualized: boolean;
|
|
126
|
-
items: import("
|
|
153
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
127
154
|
mode: "multiple" | "single";
|
|
128
155
|
}) => void) | undefined;
|
|
129
156
|
onSelect?: ((data: {
|
|
@@ -135,11 +162,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
135
162
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
136
163
|
placement: import("@popperjs/core").Placement;
|
|
137
164
|
id: string;
|
|
138
|
-
visibility:
|
|
139
|
-
selectedIds:
|
|
165
|
+
visibility: "hidden" | "visible";
|
|
166
|
+
selectedIds: string[] | "all";
|
|
140
167
|
unselectedIds: string[];
|
|
141
168
|
cursorId: string;
|
|
142
169
|
columnCount: number;
|
|
170
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
171
|
+
cursorIndexRef: {
|
|
172
|
+
readonly current: number;
|
|
173
|
+
};
|
|
143
174
|
UNSTABLE_virtual: {
|
|
144
175
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
145
176
|
totalSize: number;
|
|
@@ -149,11 +180,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
149
180
|
};
|
|
150
181
|
UNSTABLE_defaultItemHeight: number;
|
|
151
182
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
152
|
-
orientation:
|
|
183
|
+
orientation: "horizontal" | "vertical";
|
|
153
184
|
indexRef: React.MutableRefObject<number>;
|
|
154
185
|
nonInteractiveIds: string[];
|
|
155
186
|
isVirtualized: boolean;
|
|
156
|
-
items: import("
|
|
187
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
157
188
|
mode: "multiple" | "single";
|
|
158
189
|
}) => void) | undefined;
|
|
159
190
|
onSelectAll?: ((data: undefined, prevState: {
|
|
@@ -163,11 +194,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
163
194
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
164
195
|
placement: import("@popperjs/core").Placement;
|
|
165
196
|
id: string;
|
|
166
|
-
visibility:
|
|
167
|
-
selectedIds:
|
|
197
|
+
visibility: "hidden" | "visible";
|
|
198
|
+
selectedIds: string[] | "all";
|
|
168
199
|
unselectedIds: string[];
|
|
169
200
|
cursorId: string;
|
|
170
201
|
columnCount: number;
|
|
202
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
203
|
+
cursorIndexRef: {
|
|
204
|
+
readonly current: number;
|
|
205
|
+
};
|
|
171
206
|
UNSTABLE_virtual: {
|
|
172
207
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
173
208
|
totalSize: number;
|
|
@@ -177,11 +212,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
177
212
|
};
|
|
178
213
|
UNSTABLE_defaultItemHeight: number;
|
|
179
214
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
180
|
-
orientation:
|
|
215
|
+
orientation: "horizontal" | "vertical";
|
|
181
216
|
indexRef: React.MutableRefObject<number>;
|
|
182
217
|
nonInteractiveIds: string[];
|
|
183
218
|
isVirtualized: boolean;
|
|
184
|
-
items: import("
|
|
219
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
185
220
|
mode: "multiple" | "single";
|
|
186
221
|
}) => void) | undefined;
|
|
187
222
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
@@ -191,11 +226,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
191
226
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
192
227
|
placement: import("@popperjs/core").Placement;
|
|
193
228
|
id: string;
|
|
194
|
-
visibility:
|
|
195
|
-
selectedIds:
|
|
229
|
+
visibility: "hidden" | "visible";
|
|
230
|
+
selectedIds: string[] | "all";
|
|
196
231
|
unselectedIds: string[];
|
|
197
232
|
cursorId: string;
|
|
198
233
|
columnCount: number;
|
|
234
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
235
|
+
cursorIndexRef: {
|
|
236
|
+
readonly current: number;
|
|
237
|
+
};
|
|
199
238
|
UNSTABLE_virtual: {
|
|
200
239
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
201
240
|
totalSize: number;
|
|
@@ -205,16 +244,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
205
244
|
};
|
|
206
245
|
UNSTABLE_defaultItemHeight: number;
|
|
207
246
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
208
|
-
orientation:
|
|
247
|
+
orientation: "horizontal" | "vertical";
|
|
209
248
|
indexRef: React.MutableRefObject<number>;
|
|
210
249
|
nonInteractiveIds: string[];
|
|
211
250
|
isVirtualized: boolean;
|
|
212
|
-
items: import("
|
|
251
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
213
252
|
mode: "multiple" | "single";
|
|
214
253
|
}) => void) | undefined;
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
textValue: string;
|
|
254
|
+
onGoTo?: ((data: {
|
|
255
|
+
id: string;
|
|
218
256
|
}, prevState: {
|
|
219
257
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
220
258
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -222,11 +260,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
222
260
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
223
261
|
placement: import("@popperjs/core").Placement;
|
|
224
262
|
id: string;
|
|
225
|
-
visibility:
|
|
226
|
-
selectedIds:
|
|
263
|
+
visibility: "hidden" | "visible";
|
|
264
|
+
selectedIds: string[] | "all";
|
|
227
265
|
unselectedIds: string[];
|
|
228
266
|
cursorId: string;
|
|
229
267
|
columnCount: number;
|
|
268
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
269
|
+
cursorIndexRef: {
|
|
270
|
+
readonly current: number;
|
|
271
|
+
};
|
|
230
272
|
UNSTABLE_virtual: {
|
|
231
273
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
232
274
|
totalSize: number;
|
|
@@ -236,27 +278,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
236
278
|
};
|
|
237
279
|
UNSTABLE_defaultItemHeight: number;
|
|
238
280
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
239
|
-
orientation:
|
|
281
|
+
orientation: "horizontal" | "vertical";
|
|
240
282
|
indexRef: React.MutableRefObject<number>;
|
|
241
283
|
nonInteractiveIds: string[];
|
|
242
284
|
isVirtualized: boolean;
|
|
243
|
-
items: import("
|
|
285
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
244
286
|
mode: "multiple" | "single";
|
|
245
287
|
}) => void) | undefined;
|
|
246
|
-
|
|
247
|
-
id: string;
|
|
248
|
-
}, prevState: {
|
|
288
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
249
289
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
250
290
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
251
291
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
252
292
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
253
293
|
placement: import("@popperjs/core").Placement;
|
|
254
294
|
id: string;
|
|
255
|
-
visibility:
|
|
256
|
-
selectedIds:
|
|
295
|
+
visibility: "hidden" | "visible";
|
|
296
|
+
selectedIds: string[] | "all";
|
|
257
297
|
unselectedIds: string[];
|
|
258
298
|
cursorId: string;
|
|
259
299
|
columnCount: number;
|
|
300
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
301
|
+
cursorIndexRef: {
|
|
302
|
+
readonly current: number;
|
|
303
|
+
};
|
|
260
304
|
UNSTABLE_virtual: {
|
|
261
305
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
262
306
|
totalSize: number;
|
|
@@ -266,25 +310,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
266
310
|
};
|
|
267
311
|
UNSTABLE_defaultItemHeight: number;
|
|
268
312
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
269
|
-
orientation:
|
|
313
|
+
orientation: "horizontal" | "vertical";
|
|
270
314
|
indexRef: React.MutableRefObject<number>;
|
|
271
315
|
nonInteractiveIds: string[];
|
|
272
316
|
isVirtualized: boolean;
|
|
273
|
-
items: import("
|
|
317
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
274
318
|
mode: "multiple" | "single";
|
|
275
319
|
}) => void) | undefined;
|
|
276
|
-
|
|
320
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
277
321
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
278
322
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
279
323
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
280
324
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
281
325
|
placement: import("@popperjs/core").Placement;
|
|
282
326
|
id: string;
|
|
283
|
-
visibility:
|
|
284
|
-
selectedIds:
|
|
327
|
+
visibility: "hidden" | "visible";
|
|
328
|
+
selectedIds: string[] | "all";
|
|
285
329
|
unselectedIds: string[];
|
|
286
330
|
cursorId: string;
|
|
287
331
|
columnCount: number;
|
|
332
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
333
|
+
cursorIndexRef: {
|
|
334
|
+
readonly current: number;
|
|
335
|
+
};
|
|
288
336
|
UNSTABLE_virtual: {
|
|
289
337
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
290
338
|
totalSize: number;
|
|
@@ -294,25 +342,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
294
342
|
};
|
|
295
343
|
UNSTABLE_defaultItemHeight: number;
|
|
296
344
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
297
|
-
orientation:
|
|
345
|
+
orientation: "horizontal" | "vertical";
|
|
298
346
|
indexRef: React.MutableRefObject<number>;
|
|
299
347
|
nonInteractiveIds: string[];
|
|
300
348
|
isVirtualized: boolean;
|
|
301
|
-
items: import("
|
|
349
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
302
350
|
mode: "multiple" | "single";
|
|
303
351
|
}) => void) | undefined;
|
|
304
|
-
|
|
352
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
305
353
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
306
354
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
307
355
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
308
356
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
309
357
|
placement: import("@popperjs/core").Placement;
|
|
310
358
|
id: string;
|
|
311
|
-
visibility:
|
|
312
|
-
selectedIds:
|
|
359
|
+
visibility: "hidden" | "visible";
|
|
360
|
+
selectedIds: string[] | "all";
|
|
313
361
|
unselectedIds: string[];
|
|
314
362
|
cursorId: string;
|
|
315
363
|
columnCount: number;
|
|
364
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
365
|
+
cursorIndexRef: {
|
|
366
|
+
readonly current: number;
|
|
367
|
+
};
|
|
316
368
|
UNSTABLE_virtual: {
|
|
317
369
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
318
370
|
totalSize: number;
|
|
@@ -322,25 +374,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
322
374
|
};
|
|
323
375
|
UNSTABLE_defaultItemHeight: number;
|
|
324
376
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
325
|
-
orientation:
|
|
377
|
+
orientation: "horizontal" | "vertical";
|
|
326
378
|
indexRef: React.MutableRefObject<number>;
|
|
327
379
|
nonInteractiveIds: string[];
|
|
328
380
|
isVirtualized: boolean;
|
|
329
|
-
items: import("
|
|
381
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
330
382
|
mode: "multiple" | "single";
|
|
331
383
|
}) => void) | undefined;
|
|
332
|
-
|
|
384
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
333
385
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
334
386
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
335
387
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
336
388
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
337
389
|
placement: import("@popperjs/core").Placement;
|
|
338
390
|
id: string;
|
|
339
|
-
visibility:
|
|
340
|
-
selectedIds:
|
|
391
|
+
visibility: "hidden" | "visible";
|
|
392
|
+
selectedIds: string[] | "all";
|
|
341
393
|
unselectedIds: string[];
|
|
342
394
|
cursorId: string;
|
|
343
395
|
columnCount: number;
|
|
396
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
397
|
+
cursorIndexRef: {
|
|
398
|
+
readonly current: number;
|
|
399
|
+
};
|
|
344
400
|
UNSTABLE_virtual: {
|
|
345
401
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
346
402
|
totalSize: number;
|
|
@@ -350,25 +406,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
350
406
|
};
|
|
351
407
|
UNSTABLE_defaultItemHeight: number;
|
|
352
408
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
353
|
-
orientation:
|
|
409
|
+
orientation: "horizontal" | "vertical";
|
|
354
410
|
indexRef: React.MutableRefObject<number>;
|
|
355
411
|
nonInteractiveIds: string[];
|
|
356
412
|
isVirtualized: boolean;
|
|
357
|
-
items: import("
|
|
413
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
358
414
|
mode: "multiple" | "single";
|
|
359
415
|
}) => void) | undefined;
|
|
360
|
-
|
|
416
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
361
417
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
362
418
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
363
419
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
364
420
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
365
421
|
placement: import("@popperjs/core").Placement;
|
|
366
422
|
id: string;
|
|
367
|
-
visibility:
|
|
368
|
-
selectedIds:
|
|
423
|
+
visibility: "hidden" | "visible";
|
|
424
|
+
selectedIds: string[] | "all";
|
|
369
425
|
unselectedIds: string[];
|
|
370
426
|
cursorId: string;
|
|
371
427
|
columnCount: number;
|
|
428
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
429
|
+
cursorIndexRef: {
|
|
430
|
+
readonly current: number;
|
|
431
|
+
};
|
|
372
432
|
UNSTABLE_virtual: {
|
|
373
433
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
374
434
|
totalSize: number;
|
|
@@ -378,25 +438,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
378
438
|
};
|
|
379
439
|
UNSTABLE_defaultItemHeight: number;
|
|
380
440
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
381
|
-
orientation:
|
|
441
|
+
orientation: "horizontal" | "vertical";
|
|
382
442
|
indexRef: React.MutableRefObject<number>;
|
|
383
443
|
nonInteractiveIds: string[];
|
|
384
444
|
isVirtualized: boolean;
|
|
385
|
-
items: import("
|
|
445
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
386
446
|
mode: "multiple" | "single";
|
|
387
447
|
}) => void) | undefined;
|
|
388
|
-
|
|
448
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
389
449
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
390
450
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
391
451
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
392
452
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
393
453
|
placement: import("@popperjs/core").Placement;
|
|
394
454
|
id: string;
|
|
395
|
-
visibility:
|
|
396
|
-
selectedIds:
|
|
455
|
+
visibility: "hidden" | "visible";
|
|
456
|
+
selectedIds: string[] | "all";
|
|
397
457
|
unselectedIds: string[];
|
|
398
458
|
cursorId: string;
|
|
399
459
|
columnCount: number;
|
|
460
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
461
|
+
cursorIndexRef: {
|
|
462
|
+
readonly current: number;
|
|
463
|
+
};
|
|
400
464
|
UNSTABLE_virtual: {
|
|
401
465
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
402
466
|
totalSize: number;
|
|
@@ -406,25 +470,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
406
470
|
};
|
|
407
471
|
UNSTABLE_defaultItemHeight: number;
|
|
408
472
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
409
|
-
orientation:
|
|
473
|
+
orientation: "horizontal" | "vertical";
|
|
410
474
|
indexRef: React.MutableRefObject<number>;
|
|
411
475
|
nonInteractiveIds: string[];
|
|
412
476
|
isVirtualized: boolean;
|
|
413
|
-
items: import("
|
|
477
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
414
478
|
mode: "multiple" | "single";
|
|
415
479
|
}) => void) | undefined;
|
|
416
|
-
|
|
480
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
417
481
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
418
482
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
419
483
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
420
484
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
421
485
|
placement: import("@popperjs/core").Placement;
|
|
422
486
|
id: string;
|
|
423
|
-
visibility:
|
|
424
|
-
selectedIds:
|
|
487
|
+
visibility: "hidden" | "visible";
|
|
488
|
+
selectedIds: string[] | "all";
|
|
425
489
|
unselectedIds: string[];
|
|
426
490
|
cursorId: string;
|
|
427
491
|
columnCount: number;
|
|
492
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
493
|
+
cursorIndexRef: {
|
|
494
|
+
readonly current: number;
|
|
495
|
+
};
|
|
428
496
|
UNSTABLE_virtual: {
|
|
429
497
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
430
498
|
totalSize: number;
|
|
@@ -434,25 +502,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
434
502
|
};
|
|
435
503
|
UNSTABLE_defaultItemHeight: number;
|
|
436
504
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
437
|
-
orientation:
|
|
505
|
+
orientation: "horizontal" | "vertical";
|
|
438
506
|
indexRef: React.MutableRefObject<number>;
|
|
439
507
|
nonInteractiveIds: string[];
|
|
440
508
|
isVirtualized: boolean;
|
|
441
|
-
items: import("
|
|
509
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
442
510
|
mode: "multiple" | "single";
|
|
443
511
|
}) => void) | undefined;
|
|
444
|
-
|
|
512
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
445
513
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
446
514
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
447
515
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
448
516
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
449
517
|
placement: import("@popperjs/core").Placement;
|
|
450
518
|
id: string;
|
|
451
|
-
visibility:
|
|
452
|
-
selectedIds:
|
|
519
|
+
visibility: "hidden" | "visible";
|
|
520
|
+
selectedIds: string[] | "all";
|
|
453
521
|
unselectedIds: string[];
|
|
454
522
|
cursorId: string;
|
|
455
523
|
columnCount: number;
|
|
524
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
525
|
+
cursorIndexRef: {
|
|
526
|
+
readonly current: number;
|
|
527
|
+
};
|
|
456
528
|
UNSTABLE_virtual: {
|
|
457
529
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
458
530
|
totalSize: number;
|
|
@@ -462,25 +534,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
462
534
|
};
|
|
463
535
|
UNSTABLE_defaultItemHeight: number;
|
|
464
536
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
465
|
-
orientation:
|
|
537
|
+
orientation: "horizontal" | "vertical";
|
|
466
538
|
indexRef: React.MutableRefObject<number>;
|
|
467
539
|
nonInteractiveIds: string[];
|
|
468
540
|
isVirtualized: boolean;
|
|
469
|
-
items: import("
|
|
541
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
470
542
|
mode: "multiple" | "single";
|
|
471
543
|
}) => void) | undefined;
|
|
472
|
-
|
|
544
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
473
545
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
474
546
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
475
547
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
476
548
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
477
549
|
placement: import("@popperjs/core").Placement;
|
|
478
550
|
id: string;
|
|
479
|
-
visibility:
|
|
480
|
-
selectedIds:
|
|
551
|
+
visibility: "hidden" | "visible";
|
|
552
|
+
selectedIds: string[] | "all";
|
|
481
553
|
unselectedIds: string[];
|
|
482
554
|
cursorId: string;
|
|
483
555
|
columnCount: number;
|
|
556
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
557
|
+
cursorIndexRef: {
|
|
558
|
+
readonly current: number;
|
|
559
|
+
};
|
|
484
560
|
UNSTABLE_virtual: {
|
|
485
561
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
486
562
|
totalSize: number;
|
|
@@ -490,25 +566,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
490
566
|
};
|
|
491
567
|
UNSTABLE_defaultItemHeight: number;
|
|
492
568
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
493
|
-
orientation:
|
|
569
|
+
orientation: "horizontal" | "vertical";
|
|
494
570
|
indexRef: React.MutableRefObject<number>;
|
|
495
571
|
nonInteractiveIds: string[];
|
|
496
572
|
isVirtualized: boolean;
|
|
497
|
-
items: import("
|
|
573
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
498
574
|
mode: "multiple" | "single";
|
|
499
575
|
}) => void) | undefined;
|
|
500
|
-
|
|
576
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
501
577
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
502
578
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
503
579
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
504
580
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
505
581
|
placement: import("@popperjs/core").Placement;
|
|
506
582
|
id: string;
|
|
507
|
-
visibility:
|
|
508
|
-
selectedIds:
|
|
583
|
+
visibility: "hidden" | "visible";
|
|
584
|
+
selectedIds: string[] | "all";
|
|
509
585
|
unselectedIds: string[];
|
|
510
586
|
cursorId: string;
|
|
511
587
|
columnCount: number;
|
|
588
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
589
|
+
cursorIndexRef: {
|
|
590
|
+
readonly current: number;
|
|
591
|
+
};
|
|
512
592
|
UNSTABLE_virtual: {
|
|
513
593
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
514
594
|
totalSize: number;
|
|
@@ -518,25 +598,32 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
518
598
|
};
|
|
519
599
|
UNSTABLE_defaultItemHeight: number;
|
|
520
600
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
521
|
-
orientation:
|
|
601
|
+
orientation: "horizontal" | "vertical";
|
|
522
602
|
indexRef: React.MutableRefObject<number>;
|
|
523
603
|
nonInteractiveIds: string[];
|
|
524
604
|
isVirtualized: boolean;
|
|
525
|
-
items: import("
|
|
605
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
526
606
|
mode: "multiple" | "single";
|
|
527
607
|
}) => void) | undefined;
|
|
528
|
-
|
|
608
|
+
onRegisterItem?: ((data: {
|
|
609
|
+
item: any;
|
|
610
|
+
textValue: string;
|
|
611
|
+
}, prevState: {
|
|
529
612
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
530
613
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
531
614
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
532
615
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
533
616
|
placement: import("@popperjs/core").Placement;
|
|
534
617
|
id: string;
|
|
535
|
-
visibility:
|
|
536
|
-
selectedIds:
|
|
618
|
+
visibility: "hidden" | "visible";
|
|
619
|
+
selectedIds: string[] | "all";
|
|
537
620
|
unselectedIds: string[];
|
|
538
621
|
cursorId: string;
|
|
539
622
|
columnCount: number;
|
|
623
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
624
|
+
cursorIndexRef: {
|
|
625
|
+
readonly current: number;
|
|
626
|
+
};
|
|
540
627
|
UNSTABLE_virtual: {
|
|
541
628
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
542
629
|
totalSize: number;
|
|
@@ -546,11 +633,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
546
633
|
};
|
|
547
634
|
UNSTABLE_defaultItemHeight: number;
|
|
548
635
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
549
|
-
orientation:
|
|
636
|
+
orientation: "horizontal" | "vertical";
|
|
550
637
|
indexRef: React.MutableRefObject<number>;
|
|
551
638
|
nonInteractiveIds: string[];
|
|
552
639
|
isVirtualized: boolean;
|
|
553
|
-
items: import("
|
|
640
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
554
641
|
mode: "multiple" | "single";
|
|
555
642
|
}) => void) | undefined;
|
|
556
643
|
onUnregisterItem?: ((data: {
|
|
@@ -562,11 +649,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
562
649
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
563
650
|
placement: import("@popperjs/core").Placement;
|
|
564
651
|
id: string;
|
|
565
|
-
visibility:
|
|
566
|
-
selectedIds:
|
|
652
|
+
visibility: "hidden" | "visible";
|
|
653
|
+
selectedIds: string[] | "all";
|
|
567
654
|
unselectedIds: string[];
|
|
568
655
|
cursorId: string;
|
|
569
656
|
columnCount: number;
|
|
657
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
658
|
+
cursorIndexRef: {
|
|
659
|
+
readonly current: number;
|
|
660
|
+
};
|
|
570
661
|
UNSTABLE_virtual: {
|
|
571
662
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
572
663
|
totalSize: number;
|
|
@@ -576,11 +667,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
576
667
|
};
|
|
577
668
|
UNSTABLE_defaultItemHeight: number;
|
|
578
669
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
579
|
-
orientation:
|
|
670
|
+
orientation: "horizontal" | "vertical";
|
|
580
671
|
indexRef: React.MutableRefObject<number>;
|
|
581
672
|
nonInteractiveIds: string[];
|
|
582
673
|
isVirtualized: boolean;
|
|
583
|
-
items: import("
|
|
674
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
584
675
|
mode: "multiple" | "single";
|
|
585
676
|
}) => void) | undefined;
|
|
586
677
|
onUpdateItemHeight?: ((data: {
|
|
@@ -592,11 +683,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
592
683
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
593
684
|
placement: import("@popperjs/core").Placement;
|
|
594
685
|
id: string;
|
|
595
|
-
visibility:
|
|
596
|
-
selectedIds:
|
|
686
|
+
visibility: "hidden" | "visible";
|
|
687
|
+
selectedIds: string[] | "all";
|
|
597
688
|
unselectedIds: string[];
|
|
598
689
|
cursorId: string;
|
|
599
690
|
columnCount: number;
|
|
691
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
692
|
+
cursorIndexRef: {
|
|
693
|
+
readonly current: number;
|
|
694
|
+
};
|
|
600
695
|
UNSTABLE_virtual: {
|
|
601
696
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
602
697
|
totalSize: number;
|
|
@@ -606,11 +701,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
606
701
|
};
|
|
607
702
|
UNSTABLE_defaultItemHeight: number;
|
|
608
703
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
609
|
-
orientation:
|
|
704
|
+
orientation: "horizontal" | "vertical";
|
|
610
705
|
indexRef: React.MutableRefObject<number>;
|
|
611
706
|
nonInteractiveIds: string[];
|
|
612
707
|
isVirtualized: boolean;
|
|
613
|
-
items: import("
|
|
708
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
614
709
|
mode: "multiple" | "single";
|
|
615
710
|
}) => void) | undefined;
|
|
616
711
|
} & {
|
|
@@ -623,11 +718,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
623
718
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
624
719
|
placement: import("@popperjs/core").Placement;
|
|
625
720
|
id: string;
|
|
626
|
-
visibility:
|
|
627
|
-
selectedIds:
|
|
721
|
+
visibility: "hidden" | "visible";
|
|
722
|
+
selectedIds: string[] | "all";
|
|
628
723
|
unselectedIds: string[];
|
|
629
724
|
cursorId: string;
|
|
630
725
|
columnCount: number;
|
|
726
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
727
|
+
cursorIndexRef: {
|
|
728
|
+
readonly current: number;
|
|
729
|
+
};
|
|
631
730
|
UNSTABLE_virtual: {
|
|
632
731
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
633
732
|
totalSize: number;
|
|
@@ -637,11 +736,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
637
736
|
};
|
|
638
737
|
UNSTABLE_defaultItemHeight: number;
|
|
639
738
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
640
|
-
orientation:
|
|
739
|
+
orientation: "horizontal" | "vertical";
|
|
641
740
|
indexRef: React.MutableRefObject<number>;
|
|
642
741
|
nonInteractiveIds: string[];
|
|
643
742
|
isVirtualized: boolean;
|
|
644
|
-
items: import("
|
|
743
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
645
744
|
mode: "multiple" | "single";
|
|
646
745
|
}) => boolean) | undefined;
|
|
647
746
|
shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -651,11 +750,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
651
750
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
652
751
|
placement: import("@popperjs/core").Placement;
|
|
653
752
|
id: string;
|
|
654
|
-
visibility:
|
|
655
|
-
selectedIds:
|
|
753
|
+
visibility: "hidden" | "visible";
|
|
754
|
+
selectedIds: string[] | "all";
|
|
656
755
|
unselectedIds: string[];
|
|
657
756
|
cursorId: string;
|
|
658
757
|
columnCount: number;
|
|
758
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
759
|
+
cursorIndexRef: {
|
|
760
|
+
readonly current: number;
|
|
761
|
+
};
|
|
659
762
|
UNSTABLE_virtual: {
|
|
660
763
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
661
764
|
totalSize: number;
|
|
@@ -665,11 +768,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
665
768
|
};
|
|
666
769
|
UNSTABLE_defaultItemHeight: number;
|
|
667
770
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
668
|
-
orientation:
|
|
771
|
+
orientation: "horizontal" | "vertical";
|
|
669
772
|
indexRef: React.MutableRefObject<number>;
|
|
670
773
|
nonInteractiveIds: string[];
|
|
671
774
|
isVirtualized: boolean;
|
|
672
|
-
items: import("
|
|
775
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
673
776
|
mode: "multiple" | "single";
|
|
674
777
|
}) => boolean) | undefined;
|
|
675
778
|
shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -679,11 +782,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
679
782
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
680
783
|
placement: import("@popperjs/core").Placement;
|
|
681
784
|
id: string;
|
|
682
|
-
visibility:
|
|
683
|
-
selectedIds:
|
|
785
|
+
visibility: "hidden" | "visible";
|
|
786
|
+
selectedIds: string[] | "all";
|
|
684
787
|
unselectedIds: string[];
|
|
685
788
|
cursorId: string;
|
|
686
789
|
columnCount: number;
|
|
790
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
791
|
+
cursorIndexRef: {
|
|
792
|
+
readonly current: number;
|
|
793
|
+
};
|
|
687
794
|
UNSTABLE_virtual: {
|
|
688
795
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
689
796
|
totalSize: number;
|
|
@@ -693,11 +800,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
693
800
|
};
|
|
694
801
|
UNSTABLE_defaultItemHeight: number;
|
|
695
802
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
696
|
-
orientation:
|
|
803
|
+
orientation: "horizontal" | "vertical";
|
|
697
804
|
indexRef: React.MutableRefObject<number>;
|
|
698
805
|
nonInteractiveIds: string[];
|
|
699
806
|
isVirtualized: boolean;
|
|
700
|
-
items: import("
|
|
807
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
701
808
|
mode: "multiple" | "single";
|
|
702
809
|
}) => boolean) | undefined;
|
|
703
810
|
shouldSelect?: ((data: {
|
|
@@ -709,11 +816,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
709
816
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
710
817
|
placement: import("@popperjs/core").Placement;
|
|
711
818
|
id: string;
|
|
712
|
-
visibility:
|
|
713
|
-
selectedIds:
|
|
819
|
+
visibility: "hidden" | "visible";
|
|
820
|
+
selectedIds: string[] | "all";
|
|
714
821
|
unselectedIds: string[];
|
|
715
822
|
cursorId: string;
|
|
716
823
|
columnCount: number;
|
|
824
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
825
|
+
cursorIndexRef: {
|
|
826
|
+
readonly current: number;
|
|
827
|
+
};
|
|
717
828
|
UNSTABLE_virtual: {
|
|
718
829
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
719
830
|
totalSize: number;
|
|
@@ -723,11 +834,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
723
834
|
};
|
|
724
835
|
UNSTABLE_defaultItemHeight: number;
|
|
725
836
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
726
|
-
orientation:
|
|
837
|
+
orientation: "horizontal" | "vertical";
|
|
727
838
|
indexRef: React.MutableRefObject<number>;
|
|
728
839
|
nonInteractiveIds: string[];
|
|
729
840
|
isVirtualized: boolean;
|
|
730
|
-
items: import("
|
|
841
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
731
842
|
mode: "multiple" | "single";
|
|
732
843
|
}) => boolean) | undefined;
|
|
733
844
|
shouldSelectAll?: ((data: undefined, state: {
|
|
@@ -737,11 +848,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
737
848
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
738
849
|
placement: import("@popperjs/core").Placement;
|
|
739
850
|
id: string;
|
|
740
|
-
visibility:
|
|
741
|
-
selectedIds:
|
|
851
|
+
visibility: "hidden" | "visible";
|
|
852
|
+
selectedIds: string[] | "all";
|
|
742
853
|
unselectedIds: string[];
|
|
743
854
|
cursorId: string;
|
|
744
855
|
columnCount: number;
|
|
856
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
857
|
+
cursorIndexRef: {
|
|
858
|
+
readonly current: number;
|
|
859
|
+
};
|
|
745
860
|
UNSTABLE_virtual: {
|
|
746
861
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
747
862
|
totalSize: number;
|
|
@@ -751,11 +866,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
751
866
|
};
|
|
752
867
|
UNSTABLE_defaultItemHeight: number;
|
|
753
868
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
754
|
-
orientation:
|
|
869
|
+
orientation: "horizontal" | "vertical";
|
|
755
870
|
indexRef: React.MutableRefObject<number>;
|
|
756
871
|
nonInteractiveIds: string[];
|
|
757
872
|
isVirtualized: boolean;
|
|
758
|
-
items: import("
|
|
873
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
759
874
|
mode: "multiple" | "single";
|
|
760
875
|
}) => boolean) | undefined;
|
|
761
876
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
@@ -765,11 +880,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
765
880
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
766
881
|
placement: import("@popperjs/core").Placement;
|
|
767
882
|
id: string;
|
|
768
|
-
visibility:
|
|
769
|
-
selectedIds:
|
|
883
|
+
visibility: "hidden" | "visible";
|
|
884
|
+
selectedIds: string[] | "all";
|
|
770
885
|
unselectedIds: string[];
|
|
771
886
|
cursorId: string;
|
|
772
887
|
columnCount: number;
|
|
888
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
889
|
+
cursorIndexRef: {
|
|
890
|
+
readonly current: number;
|
|
891
|
+
};
|
|
773
892
|
UNSTABLE_virtual: {
|
|
774
893
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
775
894
|
totalSize: number;
|
|
@@ -779,16 +898,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
779
898
|
};
|
|
780
899
|
UNSTABLE_defaultItemHeight: number;
|
|
781
900
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
782
|
-
orientation:
|
|
901
|
+
orientation: "horizontal" | "vertical";
|
|
783
902
|
indexRef: React.MutableRefObject<number>;
|
|
784
903
|
nonInteractiveIds: string[];
|
|
785
904
|
isVirtualized: boolean;
|
|
786
|
-
items: import("
|
|
905
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
787
906
|
mode: "multiple" | "single";
|
|
788
907
|
}) => boolean) | undefined;
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
textValue: string;
|
|
908
|
+
shouldGoTo?: ((data: {
|
|
909
|
+
id: string;
|
|
792
910
|
}, state: {
|
|
793
911
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
794
912
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -796,11 +914,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
796
914
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
797
915
|
placement: import("@popperjs/core").Placement;
|
|
798
916
|
id: string;
|
|
799
|
-
visibility:
|
|
800
|
-
selectedIds:
|
|
917
|
+
visibility: "hidden" | "visible";
|
|
918
|
+
selectedIds: string[] | "all";
|
|
801
919
|
unselectedIds: string[];
|
|
802
920
|
cursorId: string;
|
|
803
921
|
columnCount: number;
|
|
922
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
923
|
+
cursorIndexRef: {
|
|
924
|
+
readonly current: number;
|
|
925
|
+
};
|
|
804
926
|
UNSTABLE_virtual: {
|
|
805
927
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
806
928
|
totalSize: number;
|
|
@@ -810,27 +932,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
810
932
|
};
|
|
811
933
|
UNSTABLE_defaultItemHeight: number;
|
|
812
934
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
813
|
-
orientation:
|
|
935
|
+
orientation: "horizontal" | "vertical";
|
|
814
936
|
indexRef: React.MutableRefObject<number>;
|
|
815
937
|
nonInteractiveIds: string[];
|
|
816
938
|
isVirtualized: boolean;
|
|
817
|
-
items: import("
|
|
939
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
818
940
|
mode: "multiple" | "single";
|
|
819
941
|
}) => boolean) | undefined;
|
|
820
|
-
|
|
821
|
-
id: string;
|
|
822
|
-
}, state: {
|
|
942
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
823
943
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
824
944
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
825
945
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
826
946
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
827
947
|
placement: import("@popperjs/core").Placement;
|
|
828
948
|
id: string;
|
|
829
|
-
visibility:
|
|
830
|
-
selectedIds:
|
|
949
|
+
visibility: "hidden" | "visible";
|
|
950
|
+
selectedIds: string[] | "all";
|
|
831
951
|
unselectedIds: string[];
|
|
832
952
|
cursorId: string;
|
|
833
953
|
columnCount: number;
|
|
954
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
955
|
+
cursorIndexRef: {
|
|
956
|
+
readonly current: number;
|
|
957
|
+
};
|
|
834
958
|
UNSTABLE_virtual: {
|
|
835
959
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
836
960
|
totalSize: number;
|
|
@@ -840,25 +964,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
840
964
|
};
|
|
841
965
|
UNSTABLE_defaultItemHeight: number;
|
|
842
966
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
843
|
-
orientation:
|
|
967
|
+
orientation: "horizontal" | "vertical";
|
|
844
968
|
indexRef: React.MutableRefObject<number>;
|
|
845
969
|
nonInteractiveIds: string[];
|
|
846
970
|
isVirtualized: boolean;
|
|
847
|
-
items: import("
|
|
971
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
848
972
|
mode: "multiple" | "single";
|
|
849
973
|
}) => boolean) | undefined;
|
|
850
|
-
|
|
974
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
851
975
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
852
976
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
853
977
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
854
978
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
855
979
|
placement: import("@popperjs/core").Placement;
|
|
856
980
|
id: string;
|
|
857
|
-
visibility:
|
|
858
|
-
selectedIds:
|
|
981
|
+
visibility: "hidden" | "visible";
|
|
982
|
+
selectedIds: string[] | "all";
|
|
859
983
|
unselectedIds: string[];
|
|
860
984
|
cursorId: string;
|
|
861
985
|
columnCount: number;
|
|
986
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
987
|
+
cursorIndexRef: {
|
|
988
|
+
readonly current: number;
|
|
989
|
+
};
|
|
862
990
|
UNSTABLE_virtual: {
|
|
863
991
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
864
992
|
totalSize: number;
|
|
@@ -868,25 +996,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
868
996
|
};
|
|
869
997
|
UNSTABLE_defaultItemHeight: number;
|
|
870
998
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
871
|
-
orientation:
|
|
999
|
+
orientation: "horizontal" | "vertical";
|
|
872
1000
|
indexRef: React.MutableRefObject<number>;
|
|
873
1001
|
nonInteractiveIds: string[];
|
|
874
1002
|
isVirtualized: boolean;
|
|
875
|
-
items: import("
|
|
1003
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
876
1004
|
mode: "multiple" | "single";
|
|
877
1005
|
}) => boolean) | undefined;
|
|
878
|
-
|
|
1006
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
879
1007
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
880
1008
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
881
1009
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
882
1010
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
883
1011
|
placement: import("@popperjs/core").Placement;
|
|
884
1012
|
id: string;
|
|
885
|
-
visibility:
|
|
886
|
-
selectedIds:
|
|
1013
|
+
visibility: "hidden" | "visible";
|
|
1014
|
+
selectedIds: string[] | "all";
|
|
887
1015
|
unselectedIds: string[];
|
|
888
1016
|
cursorId: string;
|
|
889
1017
|
columnCount: number;
|
|
1018
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1019
|
+
cursorIndexRef: {
|
|
1020
|
+
readonly current: number;
|
|
1021
|
+
};
|
|
890
1022
|
UNSTABLE_virtual: {
|
|
891
1023
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
892
1024
|
totalSize: number;
|
|
@@ -896,25 +1028,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
896
1028
|
};
|
|
897
1029
|
UNSTABLE_defaultItemHeight: number;
|
|
898
1030
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
899
|
-
orientation:
|
|
1031
|
+
orientation: "horizontal" | "vertical";
|
|
900
1032
|
indexRef: React.MutableRefObject<number>;
|
|
901
1033
|
nonInteractiveIds: string[];
|
|
902
1034
|
isVirtualized: boolean;
|
|
903
|
-
items: import("
|
|
1035
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
904
1036
|
mode: "multiple" | "single";
|
|
905
1037
|
}) => boolean) | undefined;
|
|
906
|
-
|
|
1038
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
907
1039
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
908
1040
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
909
1041
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
910
1042
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
911
1043
|
placement: import("@popperjs/core").Placement;
|
|
912
1044
|
id: string;
|
|
913
|
-
visibility:
|
|
914
|
-
selectedIds:
|
|
1045
|
+
visibility: "hidden" | "visible";
|
|
1046
|
+
selectedIds: string[] | "all";
|
|
915
1047
|
unselectedIds: string[];
|
|
916
1048
|
cursorId: string;
|
|
917
1049
|
columnCount: number;
|
|
1050
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1051
|
+
cursorIndexRef: {
|
|
1052
|
+
readonly current: number;
|
|
1053
|
+
};
|
|
918
1054
|
UNSTABLE_virtual: {
|
|
919
1055
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
920
1056
|
totalSize: number;
|
|
@@ -924,25 +1060,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
924
1060
|
};
|
|
925
1061
|
UNSTABLE_defaultItemHeight: number;
|
|
926
1062
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
927
|
-
orientation:
|
|
1063
|
+
orientation: "horizontal" | "vertical";
|
|
928
1064
|
indexRef: React.MutableRefObject<number>;
|
|
929
1065
|
nonInteractiveIds: string[];
|
|
930
1066
|
isVirtualized: boolean;
|
|
931
|
-
items: import("
|
|
1067
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
932
1068
|
mode: "multiple" | "single";
|
|
933
1069
|
}) => boolean) | undefined;
|
|
934
|
-
|
|
1070
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
935
1071
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
936
1072
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
937
1073
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
938
1074
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
939
1075
|
placement: import("@popperjs/core").Placement;
|
|
940
1076
|
id: string;
|
|
941
|
-
visibility:
|
|
942
|
-
selectedIds:
|
|
1077
|
+
visibility: "hidden" | "visible";
|
|
1078
|
+
selectedIds: string[] | "all";
|
|
943
1079
|
unselectedIds: string[];
|
|
944
1080
|
cursorId: string;
|
|
945
1081
|
columnCount: number;
|
|
1082
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1083
|
+
cursorIndexRef: {
|
|
1084
|
+
readonly current: number;
|
|
1085
|
+
};
|
|
946
1086
|
UNSTABLE_virtual: {
|
|
947
1087
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
948
1088
|
totalSize: number;
|
|
@@ -952,25 +1092,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
952
1092
|
};
|
|
953
1093
|
UNSTABLE_defaultItemHeight: number;
|
|
954
1094
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
955
|
-
orientation:
|
|
1095
|
+
orientation: "horizontal" | "vertical";
|
|
956
1096
|
indexRef: React.MutableRefObject<number>;
|
|
957
1097
|
nonInteractiveIds: string[];
|
|
958
1098
|
isVirtualized: boolean;
|
|
959
|
-
items: import("
|
|
1099
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
960
1100
|
mode: "multiple" | "single";
|
|
961
1101
|
}) => boolean) | undefined;
|
|
962
|
-
|
|
1102
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
963
1103
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
964
1104
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
965
1105
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
966
1106
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
967
1107
|
placement: import("@popperjs/core").Placement;
|
|
968
1108
|
id: string;
|
|
969
|
-
visibility:
|
|
970
|
-
selectedIds:
|
|
1109
|
+
visibility: "hidden" | "visible";
|
|
1110
|
+
selectedIds: string[] | "all";
|
|
971
1111
|
unselectedIds: string[];
|
|
972
1112
|
cursorId: string;
|
|
973
1113
|
columnCount: number;
|
|
1114
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1115
|
+
cursorIndexRef: {
|
|
1116
|
+
readonly current: number;
|
|
1117
|
+
};
|
|
974
1118
|
UNSTABLE_virtual: {
|
|
975
1119
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
976
1120
|
totalSize: number;
|
|
@@ -980,25 +1124,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
980
1124
|
};
|
|
981
1125
|
UNSTABLE_defaultItemHeight: number;
|
|
982
1126
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
983
|
-
orientation:
|
|
1127
|
+
orientation: "horizontal" | "vertical";
|
|
984
1128
|
indexRef: React.MutableRefObject<number>;
|
|
985
1129
|
nonInteractiveIds: string[];
|
|
986
1130
|
isVirtualized: boolean;
|
|
987
|
-
items: import("
|
|
1131
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
988
1132
|
mode: "multiple" | "single";
|
|
989
1133
|
}) => boolean) | undefined;
|
|
990
|
-
|
|
1134
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
991
1135
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
992
1136
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
993
1137
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
994
1138
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
995
1139
|
placement: import("@popperjs/core").Placement;
|
|
996
1140
|
id: string;
|
|
997
|
-
visibility:
|
|
998
|
-
selectedIds:
|
|
1141
|
+
visibility: "hidden" | "visible";
|
|
1142
|
+
selectedIds: string[] | "all";
|
|
999
1143
|
unselectedIds: string[];
|
|
1000
1144
|
cursorId: string;
|
|
1001
1145
|
columnCount: number;
|
|
1146
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1147
|
+
cursorIndexRef: {
|
|
1148
|
+
readonly current: number;
|
|
1149
|
+
};
|
|
1002
1150
|
UNSTABLE_virtual: {
|
|
1003
1151
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1004
1152
|
totalSize: number;
|
|
@@ -1008,25 +1156,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1008
1156
|
};
|
|
1009
1157
|
UNSTABLE_defaultItemHeight: number;
|
|
1010
1158
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1011
|
-
orientation:
|
|
1159
|
+
orientation: "horizontal" | "vertical";
|
|
1012
1160
|
indexRef: React.MutableRefObject<number>;
|
|
1013
1161
|
nonInteractiveIds: string[];
|
|
1014
1162
|
isVirtualized: boolean;
|
|
1015
|
-
items: import("
|
|
1163
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1016
1164
|
mode: "multiple" | "single";
|
|
1017
1165
|
}) => boolean) | undefined;
|
|
1018
|
-
|
|
1166
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1019
1167
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1020
1168
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1021
1169
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1022
1170
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1023
1171
|
placement: import("@popperjs/core").Placement;
|
|
1024
1172
|
id: string;
|
|
1025
|
-
visibility:
|
|
1026
|
-
selectedIds:
|
|
1173
|
+
visibility: "hidden" | "visible";
|
|
1174
|
+
selectedIds: string[] | "all";
|
|
1027
1175
|
unselectedIds: string[];
|
|
1028
1176
|
cursorId: string;
|
|
1029
1177
|
columnCount: number;
|
|
1178
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1179
|
+
cursorIndexRef: {
|
|
1180
|
+
readonly current: number;
|
|
1181
|
+
};
|
|
1030
1182
|
UNSTABLE_virtual: {
|
|
1031
1183
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1032
1184
|
totalSize: number;
|
|
@@ -1036,25 +1188,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1036
1188
|
};
|
|
1037
1189
|
UNSTABLE_defaultItemHeight: number;
|
|
1038
1190
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1039
|
-
orientation:
|
|
1191
|
+
orientation: "horizontal" | "vertical";
|
|
1040
1192
|
indexRef: React.MutableRefObject<number>;
|
|
1041
1193
|
nonInteractiveIds: string[];
|
|
1042
1194
|
isVirtualized: boolean;
|
|
1043
|
-
items: import("
|
|
1195
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1044
1196
|
mode: "multiple" | "single";
|
|
1045
1197
|
}) => boolean) | undefined;
|
|
1046
|
-
|
|
1198
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1047
1199
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1048
1200
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1049
1201
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1050
1202
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1051
1203
|
placement: import("@popperjs/core").Placement;
|
|
1052
1204
|
id: string;
|
|
1053
|
-
visibility:
|
|
1054
|
-
selectedIds:
|
|
1205
|
+
visibility: "hidden" | "visible";
|
|
1206
|
+
selectedIds: string[] | "all";
|
|
1055
1207
|
unselectedIds: string[];
|
|
1056
1208
|
cursorId: string;
|
|
1057
1209
|
columnCount: number;
|
|
1210
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1211
|
+
cursorIndexRef: {
|
|
1212
|
+
readonly current: number;
|
|
1213
|
+
};
|
|
1058
1214
|
UNSTABLE_virtual: {
|
|
1059
1215
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1060
1216
|
totalSize: number;
|
|
@@ -1064,25 +1220,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1064
1220
|
};
|
|
1065
1221
|
UNSTABLE_defaultItemHeight: number;
|
|
1066
1222
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1067
|
-
orientation:
|
|
1223
|
+
orientation: "horizontal" | "vertical";
|
|
1068
1224
|
indexRef: React.MutableRefObject<number>;
|
|
1069
1225
|
nonInteractiveIds: string[];
|
|
1070
1226
|
isVirtualized: boolean;
|
|
1071
|
-
items: import("
|
|
1227
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1072
1228
|
mode: "multiple" | "single";
|
|
1073
1229
|
}) => boolean) | undefined;
|
|
1074
|
-
|
|
1230
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1075
1231
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1076
1232
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1077
1233
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1078
1234
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1079
1235
|
placement: import("@popperjs/core").Placement;
|
|
1080
1236
|
id: string;
|
|
1081
|
-
visibility:
|
|
1082
|
-
selectedIds:
|
|
1237
|
+
visibility: "hidden" | "visible";
|
|
1238
|
+
selectedIds: string[] | "all";
|
|
1083
1239
|
unselectedIds: string[];
|
|
1084
1240
|
cursorId: string;
|
|
1085
1241
|
columnCount: number;
|
|
1242
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1243
|
+
cursorIndexRef: {
|
|
1244
|
+
readonly current: number;
|
|
1245
|
+
};
|
|
1086
1246
|
UNSTABLE_virtual: {
|
|
1087
1247
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1088
1248
|
totalSize: number;
|
|
@@ -1092,25 +1252,32 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1092
1252
|
};
|
|
1093
1253
|
UNSTABLE_defaultItemHeight: number;
|
|
1094
1254
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1095
|
-
orientation:
|
|
1255
|
+
orientation: "horizontal" | "vertical";
|
|
1096
1256
|
indexRef: React.MutableRefObject<number>;
|
|
1097
1257
|
nonInteractiveIds: string[];
|
|
1098
1258
|
isVirtualized: boolean;
|
|
1099
|
-
items: import("
|
|
1259
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1100
1260
|
mode: "multiple" | "single";
|
|
1101
1261
|
}) => boolean) | undefined;
|
|
1102
|
-
|
|
1262
|
+
shouldRegisterItem?: ((data: {
|
|
1263
|
+
item: any;
|
|
1264
|
+
textValue: string;
|
|
1265
|
+
}, state: {
|
|
1103
1266
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1104
1267
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1105
1268
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1106
1269
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1107
1270
|
placement: import("@popperjs/core").Placement;
|
|
1108
1271
|
id: string;
|
|
1109
|
-
visibility:
|
|
1110
|
-
selectedIds:
|
|
1272
|
+
visibility: "hidden" | "visible";
|
|
1273
|
+
selectedIds: string[] | "all";
|
|
1111
1274
|
unselectedIds: string[];
|
|
1112
1275
|
cursorId: string;
|
|
1113
1276
|
columnCount: number;
|
|
1277
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1278
|
+
cursorIndexRef: {
|
|
1279
|
+
readonly current: number;
|
|
1280
|
+
};
|
|
1114
1281
|
UNSTABLE_virtual: {
|
|
1115
1282
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1116
1283
|
totalSize: number;
|
|
@@ -1120,11 +1287,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1120
1287
|
};
|
|
1121
1288
|
UNSTABLE_defaultItemHeight: number;
|
|
1122
1289
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1123
|
-
orientation:
|
|
1290
|
+
orientation: "horizontal" | "vertical";
|
|
1124
1291
|
indexRef: React.MutableRefObject<number>;
|
|
1125
1292
|
nonInteractiveIds: string[];
|
|
1126
1293
|
isVirtualized: boolean;
|
|
1127
|
-
items: import("
|
|
1294
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1128
1295
|
mode: "multiple" | "single";
|
|
1129
1296
|
}) => boolean) | undefined;
|
|
1130
1297
|
shouldUnregisterItem?: ((data: {
|
|
@@ -1136,11 +1303,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1136
1303
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1137
1304
|
placement: import("@popperjs/core").Placement;
|
|
1138
1305
|
id: string;
|
|
1139
|
-
visibility:
|
|
1140
|
-
selectedIds:
|
|
1306
|
+
visibility: "hidden" | "visible";
|
|
1307
|
+
selectedIds: string[] | "all";
|
|
1141
1308
|
unselectedIds: string[];
|
|
1142
1309
|
cursorId: string;
|
|
1143
1310
|
columnCount: number;
|
|
1311
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1312
|
+
cursorIndexRef: {
|
|
1313
|
+
readonly current: number;
|
|
1314
|
+
};
|
|
1144
1315
|
UNSTABLE_virtual: {
|
|
1145
1316
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1146
1317
|
totalSize: number;
|
|
@@ -1150,11 +1321,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1150
1321
|
};
|
|
1151
1322
|
UNSTABLE_defaultItemHeight: number;
|
|
1152
1323
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1153
|
-
orientation:
|
|
1324
|
+
orientation: "horizontal" | "vertical";
|
|
1154
1325
|
indexRef: React.MutableRefObject<number>;
|
|
1155
1326
|
nonInteractiveIds: string[];
|
|
1156
1327
|
isVirtualized: boolean;
|
|
1157
|
-
items: import("
|
|
1328
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1158
1329
|
mode: "multiple" | "single";
|
|
1159
1330
|
}) => boolean) | undefined;
|
|
1160
1331
|
shouldUpdateItemHeight?: ((data: {
|
|
@@ -1166,11 +1337,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1166
1337
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1167
1338
|
placement: import("@popperjs/core").Placement;
|
|
1168
1339
|
id: string;
|
|
1169
|
-
visibility:
|
|
1170
|
-
selectedIds:
|
|
1340
|
+
visibility: "hidden" | "visible";
|
|
1341
|
+
selectedIds: string[] | "all";
|
|
1171
1342
|
unselectedIds: string[];
|
|
1172
1343
|
cursorId: string;
|
|
1173
1344
|
columnCount: number;
|
|
1345
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1346
|
+
cursorIndexRef: {
|
|
1347
|
+
readonly current: number;
|
|
1348
|
+
};
|
|
1174
1349
|
UNSTABLE_virtual: {
|
|
1175
1350
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1176
1351
|
totalSize: number;
|
|
@@ -1180,11 +1355,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1180
1355
|
};
|
|
1181
1356
|
UNSTABLE_defaultItemHeight: number;
|
|
1182
1357
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1183
|
-
orientation:
|
|
1358
|
+
orientation: "horizontal" | "vertical";
|
|
1184
1359
|
indexRef: React.MutableRefObject<number>;
|
|
1185
1360
|
nonInteractiveIds: string[];
|
|
1186
1361
|
isVirtualized: boolean;
|
|
1187
|
-
items: import("
|
|
1362
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1188
1363
|
mode: "multiple" | "single";
|
|
1189
1364
|
}) => boolean) | undefined;
|
|
1190
1365
|
};
|
|
@@ -1197,11 +1372,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1197
1372
|
initialCursorId: string;
|
|
1198
1373
|
columnCount: number;
|
|
1199
1374
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1375
|
+
pageSize: number;
|
|
1200
1376
|
getId: (item: any) => string;
|
|
1201
1377
|
getTextValue: (item: any) => string;
|
|
1202
|
-
nonInteractiveIds: string[];
|
|
1203
|
-
* This event unregisters panels with state.panels. Called when a panel is unmounted.
|
|
1204
|
-
*/
|
|
1378
|
+
nonInteractiveIds: string[];
|
|
1205
1379
|
defaultItemHeight: number;
|
|
1206
1380
|
shouldVirtualize: boolean;
|
|
1207
1381
|
items: any[];
|
|
@@ -1215,7 +1389,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1215
1389
|
/**
|
|
1216
1390
|
* A list of panels. Uses `ListModel`
|
|
1217
1391
|
*/
|
|
1218
|
-
panels: import("
|
|
1392
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1219
1393
|
/**
|
|
1220
1394
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1221
1395
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1226,10 +1400,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1226
1400
|
itemWidthCache: Record<string, number>;
|
|
1227
1401
|
containerWidth: number;
|
|
1228
1402
|
overflowTargetWidth: number;
|
|
1229
|
-
selectedIds:
|
|
1403
|
+
selectedIds: string[] | "all";
|
|
1230
1404
|
unselectedIds: string[];
|
|
1231
1405
|
cursorId: string;
|
|
1232
1406
|
columnCount: number;
|
|
1407
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1408
|
+
cursorIndexRef: {
|
|
1409
|
+
readonly current: number;
|
|
1410
|
+
};
|
|
1233
1411
|
UNSTABLE_virtual: {
|
|
1234
1412
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1235
1413
|
totalSize: number;
|
|
@@ -1243,7 +1421,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1243
1421
|
indexRef: React.MutableRefObject<number>;
|
|
1244
1422
|
nonInteractiveIds: string[];
|
|
1245
1423
|
isVirtualized: boolean;
|
|
1246
|
-
items: import("
|
|
1424
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1247
1425
|
}) => void) | undefined;
|
|
1248
1426
|
onUnregisterPanel?: ((data: {
|
|
1249
1427
|
id: string;
|
|
@@ -1253,7 +1431,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1253
1431
|
/**
|
|
1254
1432
|
* A list of panels. Uses `ListModel`
|
|
1255
1433
|
*/
|
|
1256
|
-
panels: import("
|
|
1434
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1257
1435
|
/**
|
|
1258
1436
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1259
1437
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1264,10 +1442,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1264
1442
|
itemWidthCache: Record<string, number>;
|
|
1265
1443
|
containerWidth: number;
|
|
1266
1444
|
overflowTargetWidth: number;
|
|
1267
|
-
selectedIds:
|
|
1445
|
+
selectedIds: string[] | "all";
|
|
1268
1446
|
unselectedIds: string[];
|
|
1269
1447
|
cursorId: string;
|
|
1270
1448
|
columnCount: number;
|
|
1449
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1450
|
+
cursorIndexRef: {
|
|
1451
|
+
readonly current: number;
|
|
1452
|
+
};
|
|
1271
1453
|
UNSTABLE_virtual: {
|
|
1272
1454
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1273
1455
|
totalSize: number;
|
|
@@ -1281,7 +1463,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1281
1463
|
indexRef: React.MutableRefObject<number>;
|
|
1282
1464
|
nonInteractiveIds: string[];
|
|
1283
1465
|
isVirtualized: boolean;
|
|
1284
|
-
items: import("
|
|
1466
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1285
1467
|
}) => void) | undefined;
|
|
1286
1468
|
onSelect?: ((data: {
|
|
1287
1469
|
id: string;
|
|
@@ -1291,7 +1473,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1291
1473
|
/**
|
|
1292
1474
|
* A list of panels. Uses `ListModel`
|
|
1293
1475
|
*/
|
|
1294
|
-
panels: import("
|
|
1476
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1295
1477
|
/**
|
|
1296
1478
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1297
1479
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1302,10 +1484,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1302
1484
|
itemWidthCache: Record<string, number>;
|
|
1303
1485
|
containerWidth: number;
|
|
1304
1486
|
overflowTargetWidth: number;
|
|
1305
|
-
selectedIds:
|
|
1487
|
+
selectedIds: string[] | "all";
|
|
1306
1488
|
unselectedIds: string[];
|
|
1307
1489
|
cursorId: string;
|
|
1308
1490
|
columnCount: number;
|
|
1491
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1492
|
+
cursorIndexRef: {
|
|
1493
|
+
readonly current: number;
|
|
1494
|
+
};
|
|
1309
1495
|
UNSTABLE_virtual: {
|
|
1310
1496
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1311
1497
|
totalSize: number;
|
|
@@ -1319,7 +1505,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1319
1505
|
indexRef: React.MutableRefObject<number>;
|
|
1320
1506
|
nonInteractiveIds: string[];
|
|
1321
1507
|
isVirtualized: boolean;
|
|
1322
|
-
items: import("
|
|
1508
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1323
1509
|
}) => void) | undefined;
|
|
1324
1510
|
onSetContainerWidth?: ((data: {
|
|
1325
1511
|
width?: number | undefined;
|
|
@@ -1329,7 +1515,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1329
1515
|
/**
|
|
1330
1516
|
* A list of panels. Uses `ListModel`
|
|
1331
1517
|
*/
|
|
1332
|
-
panels: import("
|
|
1518
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1333
1519
|
/**
|
|
1334
1520
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1335
1521
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1340,10 +1526,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1340
1526
|
itemWidthCache: Record<string, number>;
|
|
1341
1527
|
containerWidth: number;
|
|
1342
1528
|
overflowTargetWidth: number;
|
|
1343
|
-
selectedIds:
|
|
1529
|
+
selectedIds: string[] | "all";
|
|
1344
1530
|
unselectedIds: string[];
|
|
1345
1531
|
cursorId: string;
|
|
1346
1532
|
columnCount: number;
|
|
1533
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1534
|
+
cursorIndexRef: {
|
|
1535
|
+
readonly current: number;
|
|
1536
|
+
};
|
|
1347
1537
|
UNSTABLE_virtual: {
|
|
1348
1538
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1349
1539
|
totalSize: number;
|
|
@@ -1357,7 +1547,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1357
1547
|
indexRef: React.MutableRefObject<number>;
|
|
1358
1548
|
nonInteractiveIds: string[];
|
|
1359
1549
|
isVirtualized: boolean;
|
|
1360
|
-
items: import("
|
|
1550
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1361
1551
|
}) => void) | undefined;
|
|
1362
1552
|
onSetOverflowTargetWidth?: ((data: {
|
|
1363
1553
|
width: number;
|
|
@@ -1367,7 +1557,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1367
1557
|
/**
|
|
1368
1558
|
* A list of panels. Uses `ListModel`
|
|
1369
1559
|
*/
|
|
1370
|
-
panels: import("
|
|
1560
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1371
1561
|
/**
|
|
1372
1562
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1373
1563
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1378,10 +1568,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1378
1568
|
itemWidthCache: Record<string, number>;
|
|
1379
1569
|
containerWidth: number;
|
|
1380
1570
|
overflowTargetWidth: number;
|
|
1381
|
-
selectedIds:
|
|
1571
|
+
selectedIds: string[] | "all";
|
|
1382
1572
|
unselectedIds: string[];
|
|
1383
1573
|
cursorId: string;
|
|
1384
1574
|
columnCount: number;
|
|
1575
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1576
|
+
cursorIndexRef: {
|
|
1577
|
+
readonly current: number;
|
|
1578
|
+
};
|
|
1385
1579
|
UNSTABLE_virtual: {
|
|
1386
1580
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1387
1581
|
totalSize: number;
|
|
@@ -1395,7 +1589,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1395
1589
|
indexRef: React.MutableRefObject<number>;
|
|
1396
1590
|
nonInteractiveIds: string[];
|
|
1397
1591
|
isVirtualized: boolean;
|
|
1398
|
-
items: import("
|
|
1592
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1399
1593
|
}) => void) | undefined;
|
|
1400
1594
|
onAddItemWidth?: ((data: {
|
|
1401
1595
|
id: string;
|
|
@@ -1406,7 +1600,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1406
1600
|
/**
|
|
1407
1601
|
* A list of panels. Uses `ListModel`
|
|
1408
1602
|
*/
|
|
1409
|
-
panels: import("
|
|
1603
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1410
1604
|
/**
|
|
1411
1605
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1412
1606
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1417,10 +1611,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1417
1611
|
itemWidthCache: Record<string, number>;
|
|
1418
1612
|
containerWidth: number;
|
|
1419
1613
|
overflowTargetWidth: number;
|
|
1420
|
-
selectedIds:
|
|
1614
|
+
selectedIds: string[] | "all";
|
|
1421
1615
|
unselectedIds: string[];
|
|
1422
1616
|
cursorId: string;
|
|
1423
1617
|
columnCount: number;
|
|
1618
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1619
|
+
cursorIndexRef: {
|
|
1620
|
+
readonly current: number;
|
|
1621
|
+
};
|
|
1424
1622
|
UNSTABLE_virtual: {
|
|
1425
1623
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1426
1624
|
totalSize: number;
|
|
@@ -1434,7 +1632,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1434
1632
|
indexRef: React.MutableRefObject<number>;
|
|
1435
1633
|
nonInteractiveIds: string[];
|
|
1436
1634
|
isVirtualized: boolean;
|
|
1437
|
-
items: import("
|
|
1635
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1438
1636
|
}) => void) | undefined;
|
|
1439
1637
|
onRemoveItemWidth?: ((data: {
|
|
1440
1638
|
id: string;
|
|
@@ -1444,7 +1642,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1444
1642
|
/**
|
|
1445
1643
|
* A list of panels. Uses `ListModel`
|
|
1446
1644
|
*/
|
|
1447
|
-
panels: import("
|
|
1645
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1448
1646
|
/**
|
|
1449
1647
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1450
1648
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1455,10 +1653,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1455
1653
|
itemWidthCache: Record<string, number>;
|
|
1456
1654
|
containerWidth: number;
|
|
1457
1655
|
overflowTargetWidth: number;
|
|
1458
|
-
selectedIds:
|
|
1656
|
+
selectedIds: string[] | "all";
|
|
1459
1657
|
unselectedIds: string[];
|
|
1460
1658
|
cursorId: string;
|
|
1461
1659
|
columnCount: number;
|
|
1660
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1661
|
+
cursorIndexRef: {
|
|
1662
|
+
readonly current: number;
|
|
1663
|
+
};
|
|
1462
1664
|
UNSTABLE_virtual: {
|
|
1463
1665
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1464
1666
|
totalSize: number;
|
|
@@ -1472,7 +1674,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1472
1674
|
indexRef: React.MutableRefObject<number>;
|
|
1473
1675
|
nonInteractiveIds: string[];
|
|
1474
1676
|
isVirtualized: boolean;
|
|
1475
|
-
items: import("
|
|
1677
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1476
1678
|
}) => void) | undefined;
|
|
1477
1679
|
onAddHiddenKey?: ((data: {
|
|
1478
1680
|
id: string;
|
|
@@ -1482,7 +1684,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1482
1684
|
/**
|
|
1483
1685
|
* A list of panels. Uses `ListModel`
|
|
1484
1686
|
*/
|
|
1485
|
-
panels: import("
|
|
1687
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1486
1688
|
/**
|
|
1487
1689
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1488
1690
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1493,10 +1695,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1493
1695
|
itemWidthCache: Record<string, number>;
|
|
1494
1696
|
containerWidth: number;
|
|
1495
1697
|
overflowTargetWidth: number;
|
|
1496
|
-
selectedIds:
|
|
1698
|
+
selectedIds: string[] | "all";
|
|
1497
1699
|
unselectedIds: string[];
|
|
1498
1700
|
cursorId: string;
|
|
1499
1701
|
columnCount: number;
|
|
1702
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1703
|
+
cursorIndexRef: {
|
|
1704
|
+
readonly current: number;
|
|
1705
|
+
};
|
|
1500
1706
|
UNSTABLE_virtual: {
|
|
1501
1707
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1502
1708
|
totalSize: number;
|
|
@@ -1510,7 +1716,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1510
1716
|
indexRef: React.MutableRefObject<number>;
|
|
1511
1717
|
nonInteractiveIds: string[];
|
|
1512
1718
|
isVirtualized: boolean;
|
|
1513
|
-
items: import("
|
|
1719
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1514
1720
|
}) => void) | undefined;
|
|
1515
1721
|
onRemoveHiddenKey?: ((data: {
|
|
1516
1722
|
id: string;
|
|
@@ -1520,7 +1726,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1520
1726
|
/**
|
|
1521
1727
|
* A list of panels. Uses `ListModel`
|
|
1522
1728
|
*/
|
|
1523
|
-
panels: import("
|
|
1729
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1524
1730
|
/**
|
|
1525
1731
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1526
1732
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1531,10 +1737,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1531
1737
|
itemWidthCache: Record<string, number>;
|
|
1532
1738
|
containerWidth: number;
|
|
1533
1739
|
overflowTargetWidth: number;
|
|
1534
|
-
selectedIds:
|
|
1740
|
+
selectedIds: string[] | "all";
|
|
1535
1741
|
unselectedIds: string[];
|
|
1536
1742
|
cursorId: string;
|
|
1537
1743
|
columnCount: number;
|
|
1744
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1745
|
+
cursorIndexRef: {
|
|
1746
|
+
readonly current: number;
|
|
1747
|
+
};
|
|
1538
1748
|
UNSTABLE_virtual: {
|
|
1539
1749
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1540
1750
|
totalSize: number;
|
|
@@ -1548,7 +1758,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1548
1758
|
indexRef: React.MutableRefObject<number>;
|
|
1549
1759
|
nonInteractiveIds: string[];
|
|
1550
1760
|
isVirtualized: boolean;
|
|
1551
|
-
items: import("
|
|
1761
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1552
1762
|
}) => void) | undefined;
|
|
1553
1763
|
onSelectAll?: ((data: undefined, prevState: {
|
|
1554
1764
|
getId: (item: any) => string;
|
|
@@ -1556,7 +1766,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1556
1766
|
/**
|
|
1557
1767
|
* A list of panels. Uses `ListModel`
|
|
1558
1768
|
*/
|
|
1559
|
-
panels: import("
|
|
1769
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1560
1770
|
/**
|
|
1561
1771
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1562
1772
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1567,10 +1777,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1567
1777
|
itemWidthCache: Record<string, number>;
|
|
1568
1778
|
containerWidth: number;
|
|
1569
1779
|
overflowTargetWidth: number;
|
|
1570
|
-
selectedIds:
|
|
1780
|
+
selectedIds: string[] | "all";
|
|
1571
1781
|
unselectedIds: string[];
|
|
1572
1782
|
cursorId: string;
|
|
1573
1783
|
columnCount: number;
|
|
1784
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1785
|
+
cursorIndexRef: {
|
|
1786
|
+
readonly current: number;
|
|
1787
|
+
};
|
|
1574
1788
|
UNSTABLE_virtual: {
|
|
1575
1789
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1576
1790
|
totalSize: number;
|
|
@@ -1584,7 +1798,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1584
1798
|
indexRef: React.MutableRefObject<number>;
|
|
1585
1799
|
nonInteractiveIds: string[];
|
|
1586
1800
|
isVirtualized: boolean;
|
|
1587
|
-
items: import("
|
|
1801
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1588
1802
|
}) => void) | undefined;
|
|
1589
1803
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
1590
1804
|
getId: (item: any) => string;
|
|
@@ -1592,7 +1806,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1592
1806
|
/**
|
|
1593
1807
|
* A list of panels. Uses `ListModel`
|
|
1594
1808
|
*/
|
|
1595
|
-
panels: import("
|
|
1809
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1596
1810
|
/**
|
|
1597
1811
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1598
1812
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1603,10 +1817,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1603
1817
|
itemWidthCache: Record<string, number>;
|
|
1604
1818
|
containerWidth: number;
|
|
1605
1819
|
overflowTargetWidth: number;
|
|
1606
|
-
selectedIds:
|
|
1820
|
+
selectedIds: string[] | "all";
|
|
1607
1821
|
unselectedIds: string[];
|
|
1608
1822
|
cursorId: string;
|
|
1609
1823
|
columnCount: number;
|
|
1824
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1825
|
+
cursorIndexRef: {
|
|
1826
|
+
readonly current: number;
|
|
1827
|
+
};
|
|
1610
1828
|
UNSTABLE_virtual: {
|
|
1611
1829
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1612
1830
|
totalSize: number;
|
|
@@ -1620,18 +1838,17 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1620
1838
|
indexRef: React.MutableRefObject<number>;
|
|
1621
1839
|
nonInteractiveIds: string[];
|
|
1622
1840
|
isVirtualized: boolean;
|
|
1623
|
-
items: import("
|
|
1841
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1624
1842
|
}) => void) | undefined;
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
textValue: string;
|
|
1843
|
+
onGoTo?: ((data: {
|
|
1844
|
+
id: string;
|
|
1628
1845
|
}, prevState: {
|
|
1629
1846
|
getId: (item: any) => string;
|
|
1630
1847
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1631
1848
|
/**
|
|
1632
1849
|
* A list of panels. Uses `ListModel`
|
|
1633
1850
|
*/
|
|
1634
|
-
panels: import("
|
|
1851
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1635
1852
|
/**
|
|
1636
1853
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1637
1854
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1642,10 +1859,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1642
1859
|
itemWidthCache: Record<string, number>;
|
|
1643
1860
|
containerWidth: number;
|
|
1644
1861
|
overflowTargetWidth: number;
|
|
1645
|
-
selectedIds:
|
|
1862
|
+
selectedIds: string[] | "all";
|
|
1646
1863
|
unselectedIds: string[];
|
|
1647
1864
|
cursorId: string;
|
|
1648
1865
|
columnCount: number;
|
|
1866
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1867
|
+
cursorIndexRef: {
|
|
1868
|
+
readonly current: number;
|
|
1869
|
+
};
|
|
1649
1870
|
UNSTABLE_virtual: {
|
|
1650
1871
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1651
1872
|
totalSize: number;
|
|
@@ -1659,17 +1880,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1659
1880
|
indexRef: React.MutableRefObject<number>;
|
|
1660
1881
|
nonInteractiveIds: string[];
|
|
1661
1882
|
isVirtualized: boolean;
|
|
1662
|
-
items: import("
|
|
1883
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1663
1884
|
}) => void) | undefined;
|
|
1664
|
-
|
|
1665
|
-
id: string;
|
|
1666
|
-
}, prevState: {
|
|
1885
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
1667
1886
|
getId: (item: any) => string;
|
|
1668
1887
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1669
1888
|
/**
|
|
1670
1889
|
* A list of panels. Uses `ListModel`
|
|
1671
1890
|
*/
|
|
1672
|
-
panels: import("
|
|
1891
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1673
1892
|
/**
|
|
1674
1893
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1675
1894
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1680,10 +1899,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1680
1899
|
itemWidthCache: Record<string, number>;
|
|
1681
1900
|
containerWidth: number;
|
|
1682
1901
|
overflowTargetWidth: number;
|
|
1683
|
-
selectedIds:
|
|
1902
|
+
selectedIds: string[] | "all";
|
|
1684
1903
|
unselectedIds: string[];
|
|
1685
1904
|
cursorId: string;
|
|
1686
1905
|
columnCount: number;
|
|
1906
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1907
|
+
cursorIndexRef: {
|
|
1908
|
+
readonly current: number;
|
|
1909
|
+
};
|
|
1687
1910
|
UNSTABLE_virtual: {
|
|
1688
1911
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1689
1912
|
totalSize: number;
|
|
@@ -1697,15 +1920,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1697
1920
|
indexRef: React.MutableRefObject<number>;
|
|
1698
1921
|
nonInteractiveIds: string[];
|
|
1699
1922
|
isVirtualized: boolean;
|
|
1700
|
-
items: import("
|
|
1923
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1701
1924
|
}) => void) | undefined;
|
|
1702
|
-
|
|
1925
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
1703
1926
|
getId: (item: any) => string;
|
|
1704
1927
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1705
1928
|
/**
|
|
1706
1929
|
* A list of panels. Uses `ListModel`
|
|
1707
1930
|
*/
|
|
1708
|
-
panels: import("
|
|
1931
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1709
1932
|
/**
|
|
1710
1933
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1711
1934
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1716,10 +1939,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1716
1939
|
itemWidthCache: Record<string, number>;
|
|
1717
1940
|
containerWidth: number;
|
|
1718
1941
|
overflowTargetWidth: number;
|
|
1719
|
-
selectedIds:
|
|
1942
|
+
selectedIds: string[] | "all";
|
|
1720
1943
|
unselectedIds: string[];
|
|
1721
1944
|
cursorId: string;
|
|
1722
1945
|
columnCount: number;
|
|
1946
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1947
|
+
cursorIndexRef: {
|
|
1948
|
+
readonly current: number;
|
|
1949
|
+
};
|
|
1723
1950
|
UNSTABLE_virtual: {
|
|
1724
1951
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1725
1952
|
totalSize: number;
|
|
@@ -1733,15 +1960,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1733
1960
|
indexRef: React.MutableRefObject<number>;
|
|
1734
1961
|
nonInteractiveIds: string[];
|
|
1735
1962
|
isVirtualized: boolean;
|
|
1736
|
-
items: import("
|
|
1963
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1737
1964
|
}) => void) | undefined;
|
|
1738
|
-
|
|
1965
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
1739
1966
|
getId: (item: any) => string;
|
|
1740
1967
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1741
1968
|
/**
|
|
1742
1969
|
* A list of panels. Uses `ListModel`
|
|
1743
1970
|
*/
|
|
1744
|
-
panels: import("
|
|
1971
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1745
1972
|
/**
|
|
1746
1973
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1747
1974
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1752,10 +1979,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1752
1979
|
itemWidthCache: Record<string, number>;
|
|
1753
1980
|
containerWidth: number;
|
|
1754
1981
|
overflowTargetWidth: number;
|
|
1755
|
-
selectedIds:
|
|
1982
|
+
selectedIds: string[] | "all";
|
|
1756
1983
|
unselectedIds: string[];
|
|
1757
1984
|
cursorId: string;
|
|
1758
1985
|
columnCount: number;
|
|
1986
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1987
|
+
cursorIndexRef: {
|
|
1988
|
+
readonly current: number;
|
|
1989
|
+
};
|
|
1759
1990
|
UNSTABLE_virtual: {
|
|
1760
1991
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1761
1992
|
totalSize: number;
|
|
@@ -1769,15 +2000,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1769
2000
|
indexRef: React.MutableRefObject<number>;
|
|
1770
2001
|
nonInteractiveIds: string[];
|
|
1771
2002
|
isVirtualized: boolean;
|
|
1772
|
-
items: import("
|
|
2003
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1773
2004
|
}) => void) | undefined;
|
|
1774
|
-
|
|
2005
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
1775
2006
|
getId: (item: any) => string;
|
|
1776
2007
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1777
2008
|
/**
|
|
1778
2009
|
* A list of panels. Uses `ListModel`
|
|
1779
2010
|
*/
|
|
1780
|
-
panels: import("
|
|
2011
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1781
2012
|
/**
|
|
1782
2013
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1783
2014
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1788,10 +2019,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1788
2019
|
itemWidthCache: Record<string, number>;
|
|
1789
2020
|
containerWidth: number;
|
|
1790
2021
|
overflowTargetWidth: number;
|
|
1791
|
-
selectedIds:
|
|
2022
|
+
selectedIds: string[] | "all";
|
|
1792
2023
|
unselectedIds: string[];
|
|
1793
2024
|
cursorId: string;
|
|
1794
2025
|
columnCount: number;
|
|
2026
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2027
|
+
cursorIndexRef: {
|
|
2028
|
+
readonly current: number;
|
|
2029
|
+
};
|
|
1795
2030
|
UNSTABLE_virtual: {
|
|
1796
2031
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1797
2032
|
totalSize: number;
|
|
@@ -1805,15 +2040,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1805
2040
|
indexRef: React.MutableRefObject<number>;
|
|
1806
2041
|
nonInteractiveIds: string[];
|
|
1807
2042
|
isVirtualized: boolean;
|
|
1808
|
-
items: import("
|
|
2043
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1809
2044
|
}) => void) | undefined;
|
|
1810
|
-
|
|
2045
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
1811
2046
|
getId: (item: any) => string;
|
|
1812
2047
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1813
2048
|
/**
|
|
1814
2049
|
* A list of panels. Uses `ListModel`
|
|
1815
2050
|
*/
|
|
1816
|
-
panels: import("
|
|
2051
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1817
2052
|
/**
|
|
1818
2053
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1819
2054
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1824,10 +2059,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1824
2059
|
itemWidthCache: Record<string, number>;
|
|
1825
2060
|
containerWidth: number;
|
|
1826
2061
|
overflowTargetWidth: number;
|
|
1827
|
-
selectedIds:
|
|
2062
|
+
selectedIds: string[] | "all";
|
|
1828
2063
|
unselectedIds: string[];
|
|
1829
2064
|
cursorId: string;
|
|
1830
2065
|
columnCount: number;
|
|
2066
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2067
|
+
cursorIndexRef: {
|
|
2068
|
+
readonly current: number;
|
|
2069
|
+
};
|
|
1831
2070
|
UNSTABLE_virtual: {
|
|
1832
2071
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1833
2072
|
totalSize: number;
|
|
@@ -1841,15 +2080,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1841
2080
|
indexRef: React.MutableRefObject<number>;
|
|
1842
2081
|
nonInteractiveIds: string[];
|
|
1843
2082
|
isVirtualized: boolean;
|
|
1844
|
-
items: import("
|
|
2083
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1845
2084
|
}) => void) | undefined;
|
|
1846
|
-
|
|
2085
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
1847
2086
|
getId: (item: any) => string;
|
|
1848
2087
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1849
2088
|
/**
|
|
1850
2089
|
* A list of panels. Uses `ListModel`
|
|
1851
2090
|
*/
|
|
1852
|
-
panels: import("
|
|
2091
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1853
2092
|
/**
|
|
1854
2093
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1855
2094
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1860,10 +2099,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1860
2099
|
itemWidthCache: Record<string, number>;
|
|
1861
2100
|
containerWidth: number;
|
|
1862
2101
|
overflowTargetWidth: number;
|
|
1863
|
-
selectedIds:
|
|
2102
|
+
selectedIds: string[] | "all";
|
|
1864
2103
|
unselectedIds: string[];
|
|
1865
2104
|
cursorId: string;
|
|
1866
2105
|
columnCount: number;
|
|
2106
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2107
|
+
cursorIndexRef: {
|
|
2108
|
+
readonly current: number;
|
|
2109
|
+
};
|
|
1867
2110
|
UNSTABLE_virtual: {
|
|
1868
2111
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1869
2112
|
totalSize: number;
|
|
@@ -1877,15 +2120,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1877
2120
|
indexRef: React.MutableRefObject<number>;
|
|
1878
2121
|
nonInteractiveIds: string[];
|
|
1879
2122
|
isVirtualized: boolean;
|
|
1880
|
-
items: import("
|
|
2123
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1881
2124
|
}) => void) | undefined;
|
|
1882
|
-
|
|
2125
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
1883
2126
|
getId: (item: any) => string;
|
|
1884
2127
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1885
2128
|
/**
|
|
1886
2129
|
* A list of panels. Uses `ListModel`
|
|
1887
2130
|
*/
|
|
1888
|
-
panels: import("
|
|
2131
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1889
2132
|
/**
|
|
1890
2133
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1891
2134
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1896,10 +2139,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1896
2139
|
itemWidthCache: Record<string, number>;
|
|
1897
2140
|
containerWidth: number;
|
|
1898
2141
|
overflowTargetWidth: number;
|
|
1899
|
-
selectedIds:
|
|
2142
|
+
selectedIds: string[] | "all";
|
|
1900
2143
|
unselectedIds: string[];
|
|
1901
2144
|
cursorId: string;
|
|
1902
2145
|
columnCount: number;
|
|
2146
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2147
|
+
cursorIndexRef: {
|
|
2148
|
+
readonly current: number;
|
|
2149
|
+
};
|
|
1903
2150
|
UNSTABLE_virtual: {
|
|
1904
2151
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1905
2152
|
totalSize: number;
|
|
@@ -1913,15 +2160,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1913
2160
|
indexRef: React.MutableRefObject<number>;
|
|
1914
2161
|
nonInteractiveIds: string[];
|
|
1915
2162
|
isVirtualized: boolean;
|
|
1916
|
-
items: import("
|
|
2163
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1917
2164
|
}) => void) | undefined;
|
|
1918
|
-
|
|
2165
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
1919
2166
|
getId: (item: any) => string;
|
|
1920
2167
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1921
2168
|
/**
|
|
1922
2169
|
* A list of panels. Uses `ListModel`
|
|
1923
2170
|
*/
|
|
1924
|
-
panels: import("
|
|
2171
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1925
2172
|
/**
|
|
1926
2173
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1927
2174
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1932,10 +2179,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1932
2179
|
itemWidthCache: Record<string, number>;
|
|
1933
2180
|
containerWidth: number;
|
|
1934
2181
|
overflowTargetWidth: number;
|
|
1935
|
-
selectedIds:
|
|
2182
|
+
selectedIds: string[] | "all";
|
|
1936
2183
|
unselectedIds: string[];
|
|
1937
2184
|
cursorId: string;
|
|
1938
2185
|
columnCount: number;
|
|
2186
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2187
|
+
cursorIndexRef: {
|
|
2188
|
+
readonly current: number;
|
|
2189
|
+
};
|
|
1939
2190
|
UNSTABLE_virtual: {
|
|
1940
2191
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1941
2192
|
totalSize: number;
|
|
@@ -1949,15 +2200,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1949
2200
|
indexRef: React.MutableRefObject<number>;
|
|
1950
2201
|
nonInteractiveIds: string[];
|
|
1951
2202
|
isVirtualized: boolean;
|
|
1952
|
-
items: import("
|
|
2203
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1953
2204
|
}) => void) | undefined;
|
|
1954
|
-
|
|
2205
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
1955
2206
|
getId: (item: any) => string;
|
|
1956
2207
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1957
2208
|
/**
|
|
1958
2209
|
* A list of panels. Uses `ListModel`
|
|
1959
2210
|
*/
|
|
1960
|
-
panels: import("
|
|
2211
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1961
2212
|
/**
|
|
1962
2213
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1963
2214
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -1968,10 +2219,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1968
2219
|
itemWidthCache: Record<string, number>;
|
|
1969
2220
|
containerWidth: number;
|
|
1970
2221
|
overflowTargetWidth: number;
|
|
1971
|
-
selectedIds:
|
|
2222
|
+
selectedIds: string[] | "all";
|
|
1972
2223
|
unselectedIds: string[];
|
|
1973
2224
|
cursorId: string;
|
|
1974
2225
|
columnCount: number;
|
|
2226
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2227
|
+
cursorIndexRef: {
|
|
2228
|
+
readonly current: number;
|
|
2229
|
+
};
|
|
1975
2230
|
UNSTABLE_virtual: {
|
|
1976
2231
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1977
2232
|
totalSize: number;
|
|
@@ -1985,15 +2240,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1985
2240
|
indexRef: React.MutableRefObject<number>;
|
|
1986
2241
|
nonInteractiveIds: string[];
|
|
1987
2242
|
isVirtualized: boolean;
|
|
1988
|
-
items: import("
|
|
2243
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1989
2244
|
}) => void) | undefined;
|
|
1990
|
-
|
|
2245
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
1991
2246
|
getId: (item: any) => string;
|
|
1992
2247
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1993
2248
|
/**
|
|
1994
2249
|
* A list of panels. Uses `ListModel`
|
|
1995
2250
|
*/
|
|
1996
|
-
panels: import("
|
|
2251
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1997
2252
|
/**
|
|
1998
2253
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1999
2254
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2004,10 +2259,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2004
2259
|
itemWidthCache: Record<string, number>;
|
|
2005
2260
|
containerWidth: number;
|
|
2006
2261
|
overflowTargetWidth: number;
|
|
2007
|
-
selectedIds:
|
|
2262
|
+
selectedIds: string[] | "all";
|
|
2008
2263
|
unselectedIds: string[];
|
|
2009
2264
|
cursorId: string;
|
|
2010
2265
|
columnCount: number;
|
|
2266
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2267
|
+
cursorIndexRef: {
|
|
2268
|
+
readonly current: number;
|
|
2269
|
+
};
|
|
2011
2270
|
UNSTABLE_virtual: {
|
|
2012
2271
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2013
2272
|
totalSize: number;
|
|
@@ -2021,15 +2280,18 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2021
2280
|
indexRef: React.MutableRefObject<number>;
|
|
2022
2281
|
nonInteractiveIds: string[];
|
|
2023
2282
|
isVirtualized: boolean;
|
|
2024
|
-
items: import("
|
|
2283
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2025
2284
|
}) => void) | undefined;
|
|
2026
|
-
|
|
2285
|
+
onRegisterItem?: ((data: {
|
|
2286
|
+
item: any;
|
|
2287
|
+
textValue: string;
|
|
2288
|
+
}, prevState: {
|
|
2027
2289
|
getId: (item: any) => string;
|
|
2028
2290
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2029
2291
|
/**
|
|
2030
2292
|
* A list of panels. Uses `ListModel`
|
|
2031
2293
|
*/
|
|
2032
|
-
panels: import("
|
|
2294
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2033
2295
|
/**
|
|
2034
2296
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2035
2297
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2040,10 +2302,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2040
2302
|
itemWidthCache: Record<string, number>;
|
|
2041
2303
|
containerWidth: number;
|
|
2042
2304
|
overflowTargetWidth: number;
|
|
2043
|
-
selectedIds:
|
|
2305
|
+
selectedIds: string[] | "all";
|
|
2044
2306
|
unselectedIds: string[];
|
|
2045
2307
|
cursorId: string;
|
|
2046
2308
|
columnCount: number;
|
|
2309
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2310
|
+
cursorIndexRef: {
|
|
2311
|
+
readonly current: number;
|
|
2312
|
+
};
|
|
2047
2313
|
UNSTABLE_virtual: {
|
|
2048
2314
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2049
2315
|
totalSize: number;
|
|
@@ -2057,7 +2323,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2057
2323
|
indexRef: React.MutableRefObject<number>;
|
|
2058
2324
|
nonInteractiveIds: string[];
|
|
2059
2325
|
isVirtualized: boolean;
|
|
2060
|
-
items: import("
|
|
2326
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2061
2327
|
}) => void) | undefined;
|
|
2062
2328
|
onUnregisterItem?: ((data: {
|
|
2063
2329
|
id: string;
|
|
@@ -2067,7 +2333,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2067
2333
|
/**
|
|
2068
2334
|
* A list of panels. Uses `ListModel`
|
|
2069
2335
|
*/
|
|
2070
|
-
panels: import("
|
|
2336
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2071
2337
|
/**
|
|
2072
2338
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2073
2339
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2078,10 +2344,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2078
2344
|
itemWidthCache: Record<string, number>;
|
|
2079
2345
|
containerWidth: number;
|
|
2080
2346
|
overflowTargetWidth: number;
|
|
2081
|
-
selectedIds:
|
|
2347
|
+
selectedIds: string[] | "all";
|
|
2082
2348
|
unselectedIds: string[];
|
|
2083
2349
|
cursorId: string;
|
|
2084
2350
|
columnCount: number;
|
|
2351
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2352
|
+
cursorIndexRef: {
|
|
2353
|
+
readonly current: number;
|
|
2354
|
+
};
|
|
2085
2355
|
UNSTABLE_virtual: {
|
|
2086
2356
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2087
2357
|
totalSize: number;
|
|
@@ -2095,7 +2365,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2095
2365
|
indexRef: React.MutableRefObject<number>;
|
|
2096
2366
|
nonInteractiveIds: string[];
|
|
2097
2367
|
isVirtualized: boolean;
|
|
2098
|
-
items: import("
|
|
2368
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2099
2369
|
}) => void) | undefined;
|
|
2100
2370
|
onUpdateItemHeight?: ((data: {
|
|
2101
2371
|
value: number;
|
|
@@ -2105,7 +2375,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2105
2375
|
/**
|
|
2106
2376
|
* A list of panels. Uses `ListModel`
|
|
2107
2377
|
*/
|
|
2108
|
-
panels: import("
|
|
2378
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2109
2379
|
/**
|
|
2110
2380
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2111
2381
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2116,10 +2386,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2116
2386
|
itemWidthCache: Record<string, number>;
|
|
2117
2387
|
containerWidth: number;
|
|
2118
2388
|
overflowTargetWidth: number;
|
|
2119
|
-
selectedIds:
|
|
2389
|
+
selectedIds: string[] | "all";
|
|
2120
2390
|
unselectedIds: string[];
|
|
2121
2391
|
cursorId: string;
|
|
2122
2392
|
columnCount: number;
|
|
2393
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2394
|
+
cursorIndexRef: {
|
|
2395
|
+
readonly current: number;
|
|
2396
|
+
};
|
|
2123
2397
|
UNSTABLE_virtual: {
|
|
2124
2398
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2125
2399
|
totalSize: number;
|
|
@@ -2133,7 +2407,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2133
2407
|
indexRef: React.MutableRefObject<number>;
|
|
2134
2408
|
nonInteractiveIds: string[];
|
|
2135
2409
|
isVirtualized: boolean;
|
|
2136
|
-
items: import("
|
|
2410
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2137
2411
|
}) => void) | undefined;
|
|
2138
2412
|
} & {
|
|
2139
2413
|
shouldRegisterPanel?: ((data: {
|
|
@@ -2145,7 +2419,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2145
2419
|
/**
|
|
2146
2420
|
* A list of panels. Uses `ListModel`
|
|
2147
2421
|
*/
|
|
2148
|
-
panels: import("
|
|
2422
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2149
2423
|
/**
|
|
2150
2424
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2151
2425
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2156,10 +2430,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2156
2430
|
itemWidthCache: Record<string, number>;
|
|
2157
2431
|
containerWidth: number;
|
|
2158
2432
|
overflowTargetWidth: number;
|
|
2159
|
-
selectedIds:
|
|
2433
|
+
selectedIds: string[] | "all";
|
|
2160
2434
|
unselectedIds: string[];
|
|
2161
2435
|
cursorId: string;
|
|
2162
2436
|
columnCount: number;
|
|
2437
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2438
|
+
cursorIndexRef: {
|
|
2439
|
+
readonly current: number;
|
|
2440
|
+
};
|
|
2163
2441
|
UNSTABLE_virtual: {
|
|
2164
2442
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2165
2443
|
totalSize: number;
|
|
@@ -2173,7 +2451,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2173
2451
|
indexRef: React.MutableRefObject<number>;
|
|
2174
2452
|
nonInteractiveIds: string[];
|
|
2175
2453
|
isVirtualized: boolean;
|
|
2176
|
-
items: import("
|
|
2454
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2177
2455
|
}) => boolean) | undefined;
|
|
2178
2456
|
shouldUnregisterPanel?: ((data: {
|
|
2179
2457
|
id: string;
|
|
@@ -2183,7 +2461,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2183
2461
|
/**
|
|
2184
2462
|
* A list of panels. Uses `ListModel`
|
|
2185
2463
|
*/
|
|
2186
|
-
panels: import("
|
|
2464
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2187
2465
|
/**
|
|
2188
2466
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2189
2467
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2194,10 +2472,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2194
2472
|
itemWidthCache: Record<string, number>;
|
|
2195
2473
|
containerWidth: number;
|
|
2196
2474
|
overflowTargetWidth: number;
|
|
2197
|
-
selectedIds:
|
|
2475
|
+
selectedIds: string[] | "all";
|
|
2198
2476
|
unselectedIds: string[];
|
|
2199
2477
|
cursorId: string;
|
|
2200
2478
|
columnCount: number;
|
|
2479
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2480
|
+
cursorIndexRef: {
|
|
2481
|
+
readonly current: number;
|
|
2482
|
+
};
|
|
2201
2483
|
UNSTABLE_virtual: {
|
|
2202
2484
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2203
2485
|
totalSize: number;
|
|
@@ -2211,7 +2493,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2211
2493
|
indexRef: React.MutableRefObject<number>;
|
|
2212
2494
|
nonInteractiveIds: string[];
|
|
2213
2495
|
isVirtualized: boolean;
|
|
2214
|
-
items: import("
|
|
2496
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2215
2497
|
}) => boolean) | undefined;
|
|
2216
2498
|
shouldSelect?: ((data: {
|
|
2217
2499
|
id: string;
|
|
@@ -2221,7 +2503,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2221
2503
|
/**
|
|
2222
2504
|
* A list of panels. Uses `ListModel`
|
|
2223
2505
|
*/
|
|
2224
|
-
panels: import("
|
|
2506
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2225
2507
|
/**
|
|
2226
2508
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2227
2509
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2232,10 +2514,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2232
2514
|
itemWidthCache: Record<string, number>;
|
|
2233
2515
|
containerWidth: number;
|
|
2234
2516
|
overflowTargetWidth: number;
|
|
2235
|
-
selectedIds:
|
|
2517
|
+
selectedIds: string[] | "all";
|
|
2236
2518
|
unselectedIds: string[];
|
|
2237
2519
|
cursorId: string;
|
|
2238
2520
|
columnCount: number;
|
|
2521
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2522
|
+
cursorIndexRef: {
|
|
2523
|
+
readonly current: number;
|
|
2524
|
+
};
|
|
2239
2525
|
UNSTABLE_virtual: {
|
|
2240
2526
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2241
2527
|
totalSize: number;
|
|
@@ -2249,7 +2535,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2249
2535
|
indexRef: React.MutableRefObject<number>;
|
|
2250
2536
|
nonInteractiveIds: string[];
|
|
2251
2537
|
isVirtualized: boolean;
|
|
2252
|
-
items: import("
|
|
2538
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2253
2539
|
}) => boolean) | undefined;
|
|
2254
2540
|
shouldSetContainerWidth?: ((data: {
|
|
2255
2541
|
width?: number | undefined;
|
|
@@ -2259,7 +2545,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2259
2545
|
/**
|
|
2260
2546
|
* A list of panels. Uses `ListModel`
|
|
2261
2547
|
*/
|
|
2262
|
-
panels: import("
|
|
2548
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2263
2549
|
/**
|
|
2264
2550
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2265
2551
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2270,10 +2556,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2270
2556
|
itemWidthCache: Record<string, number>;
|
|
2271
2557
|
containerWidth: number;
|
|
2272
2558
|
overflowTargetWidth: number;
|
|
2273
|
-
selectedIds:
|
|
2559
|
+
selectedIds: string[] | "all";
|
|
2274
2560
|
unselectedIds: string[];
|
|
2275
2561
|
cursorId: string;
|
|
2276
2562
|
columnCount: number;
|
|
2563
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2564
|
+
cursorIndexRef: {
|
|
2565
|
+
readonly current: number;
|
|
2566
|
+
};
|
|
2277
2567
|
UNSTABLE_virtual: {
|
|
2278
2568
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2279
2569
|
totalSize: number;
|
|
@@ -2287,7 +2577,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2287
2577
|
indexRef: React.MutableRefObject<number>;
|
|
2288
2578
|
nonInteractiveIds: string[];
|
|
2289
2579
|
isVirtualized: boolean;
|
|
2290
|
-
items: import("
|
|
2580
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2291
2581
|
}) => boolean) | undefined;
|
|
2292
2582
|
shouldSetOverflowTargetWidth?: ((data: {
|
|
2293
2583
|
width: number;
|
|
@@ -2297,7 +2587,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2297
2587
|
/**
|
|
2298
2588
|
* A list of panels. Uses `ListModel`
|
|
2299
2589
|
*/
|
|
2300
|
-
panels: import("
|
|
2590
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2301
2591
|
/**
|
|
2302
2592
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2303
2593
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2308,10 +2598,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2308
2598
|
itemWidthCache: Record<string, number>;
|
|
2309
2599
|
containerWidth: number;
|
|
2310
2600
|
overflowTargetWidth: number;
|
|
2311
|
-
selectedIds:
|
|
2601
|
+
selectedIds: string[] | "all";
|
|
2312
2602
|
unselectedIds: string[];
|
|
2313
2603
|
cursorId: string;
|
|
2314
2604
|
columnCount: number;
|
|
2605
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2606
|
+
cursorIndexRef: {
|
|
2607
|
+
readonly current: number;
|
|
2608
|
+
};
|
|
2315
2609
|
UNSTABLE_virtual: {
|
|
2316
2610
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2317
2611
|
totalSize: number;
|
|
@@ -2325,7 +2619,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2325
2619
|
indexRef: React.MutableRefObject<number>;
|
|
2326
2620
|
nonInteractiveIds: string[];
|
|
2327
2621
|
isVirtualized: boolean;
|
|
2328
|
-
items: import("
|
|
2622
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2329
2623
|
}) => boolean) | undefined;
|
|
2330
2624
|
shouldAddItemWidth?: ((data: {
|
|
2331
2625
|
id: string;
|
|
@@ -2336,7 +2630,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2336
2630
|
/**
|
|
2337
2631
|
* A list of panels. Uses `ListModel`
|
|
2338
2632
|
*/
|
|
2339
|
-
panels: import("
|
|
2633
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2340
2634
|
/**
|
|
2341
2635
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2342
2636
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2347,10 +2641,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2347
2641
|
itemWidthCache: Record<string, number>;
|
|
2348
2642
|
containerWidth: number;
|
|
2349
2643
|
overflowTargetWidth: number;
|
|
2350
|
-
selectedIds:
|
|
2644
|
+
selectedIds: string[] | "all";
|
|
2351
2645
|
unselectedIds: string[];
|
|
2352
2646
|
cursorId: string;
|
|
2353
2647
|
columnCount: number;
|
|
2648
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2649
|
+
cursorIndexRef: {
|
|
2650
|
+
readonly current: number;
|
|
2651
|
+
};
|
|
2354
2652
|
UNSTABLE_virtual: {
|
|
2355
2653
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2356
2654
|
totalSize: number;
|
|
@@ -2364,7 +2662,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2364
2662
|
indexRef: React.MutableRefObject<number>;
|
|
2365
2663
|
nonInteractiveIds: string[];
|
|
2366
2664
|
isVirtualized: boolean;
|
|
2367
|
-
items: import("
|
|
2665
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2368
2666
|
}) => boolean) | undefined;
|
|
2369
2667
|
shouldRemoveItemWidth?: ((data: {
|
|
2370
2668
|
id: string;
|
|
@@ -2374,7 +2672,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2374
2672
|
/**
|
|
2375
2673
|
* A list of panels. Uses `ListModel`
|
|
2376
2674
|
*/
|
|
2377
|
-
panels: import("
|
|
2675
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2378
2676
|
/**
|
|
2379
2677
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2380
2678
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2385,10 +2683,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2385
2683
|
itemWidthCache: Record<string, number>;
|
|
2386
2684
|
containerWidth: number;
|
|
2387
2685
|
overflowTargetWidth: number;
|
|
2388
|
-
selectedIds:
|
|
2686
|
+
selectedIds: string[] | "all";
|
|
2389
2687
|
unselectedIds: string[];
|
|
2390
2688
|
cursorId: string;
|
|
2391
2689
|
columnCount: number;
|
|
2690
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2691
|
+
cursorIndexRef: {
|
|
2692
|
+
readonly current: number;
|
|
2693
|
+
};
|
|
2392
2694
|
UNSTABLE_virtual: {
|
|
2393
2695
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2394
2696
|
totalSize: number;
|
|
@@ -2402,7 +2704,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2402
2704
|
indexRef: React.MutableRefObject<number>;
|
|
2403
2705
|
nonInteractiveIds: string[];
|
|
2404
2706
|
isVirtualized: boolean;
|
|
2405
|
-
items: import("
|
|
2707
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2406
2708
|
}) => boolean) | undefined;
|
|
2407
2709
|
shouldAddHiddenKey?: ((data: {
|
|
2408
2710
|
id: string;
|
|
@@ -2412,7 +2714,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2412
2714
|
/**
|
|
2413
2715
|
* A list of panels. Uses `ListModel`
|
|
2414
2716
|
*/
|
|
2415
|
-
panels: import("
|
|
2717
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2416
2718
|
/**
|
|
2417
2719
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2418
2720
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2423,10 +2725,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2423
2725
|
itemWidthCache: Record<string, number>;
|
|
2424
2726
|
containerWidth: number;
|
|
2425
2727
|
overflowTargetWidth: number;
|
|
2426
|
-
selectedIds:
|
|
2728
|
+
selectedIds: string[] | "all";
|
|
2427
2729
|
unselectedIds: string[];
|
|
2428
2730
|
cursorId: string;
|
|
2429
2731
|
columnCount: number;
|
|
2732
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2733
|
+
cursorIndexRef: {
|
|
2734
|
+
readonly current: number;
|
|
2735
|
+
};
|
|
2430
2736
|
UNSTABLE_virtual: {
|
|
2431
2737
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2432
2738
|
totalSize: number;
|
|
@@ -2440,7 +2746,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2440
2746
|
indexRef: React.MutableRefObject<number>;
|
|
2441
2747
|
nonInteractiveIds: string[];
|
|
2442
2748
|
isVirtualized: boolean;
|
|
2443
|
-
items: import("
|
|
2749
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2444
2750
|
}) => boolean) | undefined;
|
|
2445
2751
|
shouldRemoveHiddenKey?: ((data: {
|
|
2446
2752
|
id: string;
|
|
@@ -2450,7 +2756,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2450
2756
|
/**
|
|
2451
2757
|
* A list of panels. Uses `ListModel`
|
|
2452
2758
|
*/
|
|
2453
|
-
panels: import("
|
|
2759
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2454
2760
|
/**
|
|
2455
2761
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2456
2762
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2461,10 +2767,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2461
2767
|
itemWidthCache: Record<string, number>;
|
|
2462
2768
|
containerWidth: number;
|
|
2463
2769
|
overflowTargetWidth: number;
|
|
2464
|
-
selectedIds:
|
|
2770
|
+
selectedIds: string[] | "all";
|
|
2465
2771
|
unselectedIds: string[];
|
|
2466
2772
|
cursorId: string;
|
|
2467
2773
|
columnCount: number;
|
|
2774
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2775
|
+
cursorIndexRef: {
|
|
2776
|
+
readonly current: number;
|
|
2777
|
+
};
|
|
2468
2778
|
UNSTABLE_virtual: {
|
|
2469
2779
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2470
2780
|
totalSize: number;
|
|
@@ -2478,7 +2788,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2478
2788
|
indexRef: React.MutableRefObject<number>;
|
|
2479
2789
|
nonInteractiveIds: string[];
|
|
2480
2790
|
isVirtualized: boolean;
|
|
2481
|
-
items: import("
|
|
2791
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2482
2792
|
}) => boolean) | undefined;
|
|
2483
2793
|
shouldSelectAll?: ((data: undefined, state: {
|
|
2484
2794
|
getId: (item: any) => string;
|
|
@@ -2486,7 +2796,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2486
2796
|
/**
|
|
2487
2797
|
* A list of panels. Uses `ListModel`
|
|
2488
2798
|
*/
|
|
2489
|
-
panels: import("
|
|
2799
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2490
2800
|
/**
|
|
2491
2801
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2492
2802
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2497,10 +2807,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2497
2807
|
itemWidthCache: Record<string, number>;
|
|
2498
2808
|
containerWidth: number;
|
|
2499
2809
|
overflowTargetWidth: number;
|
|
2500
|
-
selectedIds:
|
|
2810
|
+
selectedIds: string[] | "all";
|
|
2501
2811
|
unselectedIds: string[];
|
|
2502
2812
|
cursorId: string;
|
|
2503
2813
|
columnCount: number;
|
|
2814
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2815
|
+
cursorIndexRef: {
|
|
2816
|
+
readonly current: number;
|
|
2817
|
+
};
|
|
2504
2818
|
UNSTABLE_virtual: {
|
|
2505
2819
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2506
2820
|
totalSize: number;
|
|
@@ -2514,7 +2828,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2514
2828
|
indexRef: React.MutableRefObject<number>;
|
|
2515
2829
|
nonInteractiveIds: string[];
|
|
2516
2830
|
isVirtualized: boolean;
|
|
2517
|
-
items: import("
|
|
2831
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2518
2832
|
}) => boolean) | undefined;
|
|
2519
2833
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
2520
2834
|
getId: (item: any) => string;
|
|
@@ -2522,7 +2836,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2522
2836
|
/**
|
|
2523
2837
|
* A list of panels. Uses `ListModel`
|
|
2524
2838
|
*/
|
|
2525
|
-
panels: import("
|
|
2839
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2526
2840
|
/**
|
|
2527
2841
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2528
2842
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2533,10 +2847,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2533
2847
|
itemWidthCache: Record<string, number>;
|
|
2534
2848
|
containerWidth: number;
|
|
2535
2849
|
overflowTargetWidth: number;
|
|
2536
|
-
selectedIds:
|
|
2850
|
+
selectedIds: string[] | "all";
|
|
2537
2851
|
unselectedIds: string[];
|
|
2538
2852
|
cursorId: string;
|
|
2539
2853
|
columnCount: number;
|
|
2854
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2855
|
+
cursorIndexRef: {
|
|
2856
|
+
readonly current: number;
|
|
2857
|
+
};
|
|
2540
2858
|
UNSTABLE_virtual: {
|
|
2541
2859
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2542
2860
|
totalSize: number;
|
|
@@ -2550,18 +2868,17 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2550
2868
|
indexRef: React.MutableRefObject<number>;
|
|
2551
2869
|
nonInteractiveIds: string[];
|
|
2552
2870
|
isVirtualized: boolean;
|
|
2553
|
-
items: import("
|
|
2871
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2554
2872
|
}) => boolean) | undefined;
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
textValue: string;
|
|
2873
|
+
shouldGoTo?: ((data: {
|
|
2874
|
+
id: string;
|
|
2558
2875
|
}, state: {
|
|
2559
2876
|
getId: (item: any) => string;
|
|
2560
2877
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2561
2878
|
/**
|
|
2562
2879
|
* A list of panels. Uses `ListModel`
|
|
2563
2880
|
*/
|
|
2564
|
-
panels: import("
|
|
2881
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2565
2882
|
/**
|
|
2566
2883
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2567
2884
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2572,10 +2889,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2572
2889
|
itemWidthCache: Record<string, number>;
|
|
2573
2890
|
containerWidth: number;
|
|
2574
2891
|
overflowTargetWidth: number;
|
|
2575
|
-
selectedIds:
|
|
2892
|
+
selectedIds: string[] | "all";
|
|
2576
2893
|
unselectedIds: string[];
|
|
2577
2894
|
cursorId: string;
|
|
2578
2895
|
columnCount: number;
|
|
2896
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2897
|
+
cursorIndexRef: {
|
|
2898
|
+
readonly current: number;
|
|
2899
|
+
};
|
|
2579
2900
|
UNSTABLE_virtual: {
|
|
2580
2901
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2581
2902
|
totalSize: number;
|
|
@@ -2589,17 +2910,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2589
2910
|
indexRef: React.MutableRefObject<number>;
|
|
2590
2911
|
nonInteractiveIds: string[];
|
|
2591
2912
|
isVirtualized: boolean;
|
|
2592
|
-
items: import("
|
|
2913
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2593
2914
|
}) => boolean) | undefined;
|
|
2594
|
-
|
|
2595
|
-
id: string;
|
|
2596
|
-
}, state: {
|
|
2915
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
2597
2916
|
getId: (item: any) => string;
|
|
2598
2917
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2599
2918
|
/**
|
|
2600
2919
|
* A list of panels. Uses `ListModel`
|
|
2601
2920
|
*/
|
|
2602
|
-
panels: import("
|
|
2921
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2603
2922
|
/**
|
|
2604
2923
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2605
2924
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2610,10 +2929,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2610
2929
|
itemWidthCache: Record<string, number>;
|
|
2611
2930
|
containerWidth: number;
|
|
2612
2931
|
overflowTargetWidth: number;
|
|
2613
|
-
selectedIds:
|
|
2932
|
+
selectedIds: string[] | "all";
|
|
2614
2933
|
unselectedIds: string[];
|
|
2615
2934
|
cursorId: string;
|
|
2616
2935
|
columnCount: number;
|
|
2936
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2937
|
+
cursorIndexRef: {
|
|
2938
|
+
readonly current: number;
|
|
2939
|
+
};
|
|
2617
2940
|
UNSTABLE_virtual: {
|
|
2618
2941
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2619
2942
|
totalSize: number;
|
|
@@ -2627,15 +2950,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2627
2950
|
indexRef: React.MutableRefObject<number>;
|
|
2628
2951
|
nonInteractiveIds: string[];
|
|
2629
2952
|
isVirtualized: boolean;
|
|
2630
|
-
items: import("
|
|
2953
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2631
2954
|
}) => boolean) | undefined;
|
|
2632
|
-
|
|
2955
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
2633
2956
|
getId: (item: any) => string;
|
|
2634
2957
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2635
2958
|
/**
|
|
2636
2959
|
* A list of panels. Uses `ListModel`
|
|
2637
2960
|
*/
|
|
2638
|
-
panels: import("
|
|
2961
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2639
2962
|
/**
|
|
2640
2963
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2641
2964
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2646,10 +2969,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2646
2969
|
itemWidthCache: Record<string, number>;
|
|
2647
2970
|
containerWidth: number;
|
|
2648
2971
|
overflowTargetWidth: number;
|
|
2649
|
-
selectedIds:
|
|
2972
|
+
selectedIds: string[] | "all";
|
|
2650
2973
|
unselectedIds: string[];
|
|
2651
2974
|
cursorId: string;
|
|
2652
2975
|
columnCount: number;
|
|
2976
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2977
|
+
cursorIndexRef: {
|
|
2978
|
+
readonly current: number;
|
|
2979
|
+
};
|
|
2653
2980
|
UNSTABLE_virtual: {
|
|
2654
2981
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2655
2982
|
totalSize: number;
|
|
@@ -2663,15 +2990,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2663
2990
|
indexRef: React.MutableRefObject<number>;
|
|
2664
2991
|
nonInteractiveIds: string[];
|
|
2665
2992
|
isVirtualized: boolean;
|
|
2666
|
-
items: import("
|
|
2993
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2667
2994
|
}) => boolean) | undefined;
|
|
2668
|
-
|
|
2995
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
2669
2996
|
getId: (item: any) => string;
|
|
2670
2997
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2671
2998
|
/**
|
|
2672
2999
|
* A list of panels. Uses `ListModel`
|
|
2673
3000
|
*/
|
|
2674
|
-
panels: import("
|
|
3001
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2675
3002
|
/**
|
|
2676
3003
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2677
3004
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2682,10 +3009,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2682
3009
|
itemWidthCache: Record<string, number>;
|
|
2683
3010
|
containerWidth: number;
|
|
2684
3011
|
overflowTargetWidth: number;
|
|
2685
|
-
selectedIds:
|
|
3012
|
+
selectedIds: string[] | "all";
|
|
2686
3013
|
unselectedIds: string[];
|
|
2687
3014
|
cursorId: string;
|
|
2688
3015
|
columnCount: number;
|
|
3016
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3017
|
+
cursorIndexRef: {
|
|
3018
|
+
readonly current: number;
|
|
3019
|
+
};
|
|
2689
3020
|
UNSTABLE_virtual: {
|
|
2690
3021
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2691
3022
|
totalSize: number;
|
|
@@ -2699,15 +3030,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2699
3030
|
indexRef: React.MutableRefObject<number>;
|
|
2700
3031
|
nonInteractiveIds: string[];
|
|
2701
3032
|
isVirtualized: boolean;
|
|
2702
|
-
items: import("
|
|
3033
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2703
3034
|
}) => boolean) | undefined;
|
|
2704
|
-
|
|
3035
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
2705
3036
|
getId: (item: any) => string;
|
|
2706
3037
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2707
3038
|
/**
|
|
2708
3039
|
* A list of panels. Uses `ListModel`
|
|
2709
3040
|
*/
|
|
2710
|
-
panels: import("
|
|
3041
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2711
3042
|
/**
|
|
2712
3043
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2713
3044
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2718,10 +3049,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2718
3049
|
itemWidthCache: Record<string, number>;
|
|
2719
3050
|
containerWidth: number;
|
|
2720
3051
|
overflowTargetWidth: number;
|
|
2721
|
-
selectedIds:
|
|
3052
|
+
selectedIds: string[] | "all";
|
|
2722
3053
|
unselectedIds: string[];
|
|
2723
3054
|
cursorId: string;
|
|
2724
3055
|
columnCount: number;
|
|
3056
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3057
|
+
cursorIndexRef: {
|
|
3058
|
+
readonly current: number;
|
|
3059
|
+
};
|
|
2725
3060
|
UNSTABLE_virtual: {
|
|
2726
3061
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2727
3062
|
totalSize: number;
|
|
@@ -2735,15 +3070,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2735
3070
|
indexRef: React.MutableRefObject<number>;
|
|
2736
3071
|
nonInteractiveIds: string[];
|
|
2737
3072
|
isVirtualized: boolean;
|
|
2738
|
-
items: import("
|
|
3073
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2739
3074
|
}) => boolean) | undefined;
|
|
2740
|
-
|
|
3075
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
2741
3076
|
getId: (item: any) => string;
|
|
2742
3077
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2743
3078
|
/**
|
|
2744
3079
|
* A list of panels. Uses `ListModel`
|
|
2745
3080
|
*/
|
|
2746
|
-
panels: import("
|
|
3081
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2747
3082
|
/**
|
|
2748
3083
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2749
3084
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2754,10 +3089,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2754
3089
|
itemWidthCache: Record<string, number>;
|
|
2755
3090
|
containerWidth: number;
|
|
2756
3091
|
overflowTargetWidth: number;
|
|
2757
|
-
selectedIds:
|
|
3092
|
+
selectedIds: string[] | "all";
|
|
2758
3093
|
unselectedIds: string[];
|
|
2759
3094
|
cursorId: string;
|
|
2760
3095
|
columnCount: number;
|
|
3096
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3097
|
+
cursorIndexRef: {
|
|
3098
|
+
readonly current: number;
|
|
3099
|
+
};
|
|
2761
3100
|
UNSTABLE_virtual: {
|
|
2762
3101
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2763
3102
|
totalSize: number;
|
|
@@ -2771,15 +3110,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2771
3110
|
indexRef: React.MutableRefObject<number>;
|
|
2772
3111
|
nonInteractiveIds: string[];
|
|
2773
3112
|
isVirtualized: boolean;
|
|
2774
|
-
items: import("
|
|
3113
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2775
3114
|
}) => boolean) | undefined;
|
|
2776
|
-
|
|
3115
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
2777
3116
|
getId: (item: any) => string;
|
|
2778
3117
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2779
3118
|
/**
|
|
2780
3119
|
* A list of panels. Uses `ListModel`
|
|
2781
3120
|
*/
|
|
2782
|
-
panels: import("
|
|
3121
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2783
3122
|
/**
|
|
2784
3123
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2785
3124
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2790,10 +3129,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2790
3129
|
itemWidthCache: Record<string, number>;
|
|
2791
3130
|
containerWidth: number;
|
|
2792
3131
|
overflowTargetWidth: number;
|
|
2793
|
-
selectedIds:
|
|
3132
|
+
selectedIds: string[] | "all";
|
|
2794
3133
|
unselectedIds: string[];
|
|
2795
3134
|
cursorId: string;
|
|
2796
3135
|
columnCount: number;
|
|
3136
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3137
|
+
cursorIndexRef: {
|
|
3138
|
+
readonly current: number;
|
|
3139
|
+
};
|
|
2797
3140
|
UNSTABLE_virtual: {
|
|
2798
3141
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2799
3142
|
totalSize: number;
|
|
@@ -2807,15 +3150,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2807
3150
|
indexRef: React.MutableRefObject<number>;
|
|
2808
3151
|
nonInteractiveIds: string[];
|
|
2809
3152
|
isVirtualized: boolean;
|
|
2810
|
-
items: import("
|
|
3153
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2811
3154
|
}) => boolean) | undefined;
|
|
2812
|
-
|
|
3155
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
2813
3156
|
getId: (item: any) => string;
|
|
2814
3157
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2815
3158
|
/**
|
|
2816
3159
|
* A list of panels. Uses `ListModel`
|
|
2817
3160
|
*/
|
|
2818
|
-
panels: import("
|
|
3161
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2819
3162
|
/**
|
|
2820
3163
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2821
3164
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2826,10 +3169,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2826
3169
|
itemWidthCache: Record<string, number>;
|
|
2827
3170
|
containerWidth: number;
|
|
2828
3171
|
overflowTargetWidth: number;
|
|
2829
|
-
selectedIds:
|
|
3172
|
+
selectedIds: string[] | "all";
|
|
2830
3173
|
unselectedIds: string[];
|
|
2831
3174
|
cursorId: string;
|
|
2832
3175
|
columnCount: number;
|
|
3176
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3177
|
+
cursorIndexRef: {
|
|
3178
|
+
readonly current: number;
|
|
3179
|
+
};
|
|
2833
3180
|
UNSTABLE_virtual: {
|
|
2834
3181
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2835
3182
|
totalSize: number;
|
|
@@ -2843,15 +3190,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2843
3190
|
indexRef: React.MutableRefObject<number>;
|
|
2844
3191
|
nonInteractiveIds: string[];
|
|
2845
3192
|
isVirtualized: boolean;
|
|
2846
|
-
items: import("
|
|
3193
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2847
3194
|
}) => boolean) | undefined;
|
|
2848
|
-
|
|
3195
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
2849
3196
|
getId: (item: any) => string;
|
|
2850
3197
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2851
3198
|
/**
|
|
2852
3199
|
* A list of panels. Uses `ListModel`
|
|
2853
3200
|
*/
|
|
2854
|
-
panels: import("
|
|
3201
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2855
3202
|
/**
|
|
2856
3203
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2857
3204
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2862,10 +3209,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2862
3209
|
itemWidthCache: Record<string, number>;
|
|
2863
3210
|
containerWidth: number;
|
|
2864
3211
|
overflowTargetWidth: number;
|
|
2865
|
-
selectedIds:
|
|
3212
|
+
selectedIds: string[] | "all";
|
|
2866
3213
|
unselectedIds: string[];
|
|
2867
3214
|
cursorId: string;
|
|
2868
3215
|
columnCount: number;
|
|
3216
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3217
|
+
cursorIndexRef: {
|
|
3218
|
+
readonly current: number;
|
|
3219
|
+
};
|
|
2869
3220
|
UNSTABLE_virtual: {
|
|
2870
3221
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2871
3222
|
totalSize: number;
|
|
@@ -2879,15 +3230,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2879
3230
|
indexRef: React.MutableRefObject<number>;
|
|
2880
3231
|
nonInteractiveIds: string[];
|
|
2881
3232
|
isVirtualized: boolean;
|
|
2882
|
-
items: import("
|
|
3233
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2883
3234
|
}) => boolean) | undefined;
|
|
2884
|
-
|
|
3235
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
2885
3236
|
getId: (item: any) => string;
|
|
2886
3237
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2887
3238
|
/**
|
|
2888
3239
|
* A list of panels. Uses `ListModel`
|
|
2889
3240
|
*/
|
|
2890
|
-
panels: import("
|
|
3241
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2891
3242
|
/**
|
|
2892
3243
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2893
3244
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2898,10 +3249,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2898
3249
|
itemWidthCache: Record<string, number>;
|
|
2899
3250
|
containerWidth: number;
|
|
2900
3251
|
overflowTargetWidth: number;
|
|
2901
|
-
selectedIds:
|
|
3252
|
+
selectedIds: string[] | "all";
|
|
2902
3253
|
unselectedIds: string[];
|
|
2903
3254
|
cursorId: string;
|
|
2904
3255
|
columnCount: number;
|
|
3256
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3257
|
+
cursorIndexRef: {
|
|
3258
|
+
readonly current: number;
|
|
3259
|
+
};
|
|
2905
3260
|
UNSTABLE_virtual: {
|
|
2906
3261
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2907
3262
|
totalSize: number;
|
|
@@ -2915,15 +3270,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2915
3270
|
indexRef: React.MutableRefObject<number>;
|
|
2916
3271
|
nonInteractiveIds: string[];
|
|
2917
3272
|
isVirtualized: boolean;
|
|
2918
|
-
items: import("
|
|
3273
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2919
3274
|
}) => boolean) | undefined;
|
|
2920
|
-
|
|
3275
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
2921
3276
|
getId: (item: any) => string;
|
|
2922
3277
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2923
3278
|
/**
|
|
2924
3279
|
* A list of panels. Uses `ListModel`
|
|
2925
3280
|
*/
|
|
2926
|
-
panels: import("
|
|
3281
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2927
3282
|
/**
|
|
2928
3283
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2929
3284
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2934,10 +3289,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2934
3289
|
itemWidthCache: Record<string, number>;
|
|
2935
3290
|
containerWidth: number;
|
|
2936
3291
|
overflowTargetWidth: number;
|
|
2937
|
-
selectedIds:
|
|
3292
|
+
selectedIds: string[] | "all";
|
|
2938
3293
|
unselectedIds: string[];
|
|
2939
3294
|
cursorId: string;
|
|
2940
3295
|
columnCount: number;
|
|
3296
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3297
|
+
cursorIndexRef: {
|
|
3298
|
+
readonly current: number;
|
|
3299
|
+
};
|
|
2941
3300
|
UNSTABLE_virtual: {
|
|
2942
3301
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2943
3302
|
totalSize: number;
|
|
@@ -2951,15 +3310,18 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2951
3310
|
indexRef: React.MutableRefObject<number>;
|
|
2952
3311
|
nonInteractiveIds: string[];
|
|
2953
3312
|
isVirtualized: boolean;
|
|
2954
|
-
items: import("
|
|
3313
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2955
3314
|
}) => boolean) | undefined;
|
|
2956
|
-
|
|
3315
|
+
shouldRegisterItem?: ((data: {
|
|
3316
|
+
item: any;
|
|
3317
|
+
textValue: string;
|
|
3318
|
+
}, state: {
|
|
2957
3319
|
getId: (item: any) => string;
|
|
2958
3320
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2959
3321
|
/**
|
|
2960
3322
|
* A list of panels. Uses `ListModel`
|
|
2961
3323
|
*/
|
|
2962
|
-
panels: import("
|
|
3324
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2963
3325
|
/**
|
|
2964
3326
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2965
3327
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -2970,10 +3332,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2970
3332
|
itemWidthCache: Record<string, number>;
|
|
2971
3333
|
containerWidth: number;
|
|
2972
3334
|
overflowTargetWidth: number;
|
|
2973
|
-
selectedIds:
|
|
3335
|
+
selectedIds: string[] | "all";
|
|
2974
3336
|
unselectedIds: string[];
|
|
2975
3337
|
cursorId: string;
|
|
2976
3338
|
columnCount: number;
|
|
3339
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3340
|
+
cursorIndexRef: {
|
|
3341
|
+
readonly current: number;
|
|
3342
|
+
};
|
|
2977
3343
|
UNSTABLE_virtual: {
|
|
2978
3344
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2979
3345
|
totalSize: number;
|
|
@@ -2987,7 +3353,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2987
3353
|
indexRef: React.MutableRefObject<number>;
|
|
2988
3354
|
nonInteractiveIds: string[];
|
|
2989
3355
|
isVirtualized: boolean;
|
|
2990
|
-
items: import("
|
|
3356
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2991
3357
|
}) => boolean) | undefined;
|
|
2992
3358
|
shouldUnregisterItem?: ((data: {
|
|
2993
3359
|
id: string;
|
|
@@ -2997,7 +3363,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2997
3363
|
/**
|
|
2998
3364
|
* A list of panels. Uses `ListModel`
|
|
2999
3365
|
*/
|
|
3000
|
-
panels: import("
|
|
3366
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3001
3367
|
/**
|
|
3002
3368
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3003
3369
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -3008,10 +3374,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3008
3374
|
itemWidthCache: Record<string, number>;
|
|
3009
3375
|
containerWidth: number;
|
|
3010
3376
|
overflowTargetWidth: number;
|
|
3011
|
-
selectedIds:
|
|
3377
|
+
selectedIds: string[] | "all";
|
|
3012
3378
|
unselectedIds: string[];
|
|
3013
3379
|
cursorId: string;
|
|
3014
3380
|
columnCount: number;
|
|
3381
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3382
|
+
cursorIndexRef: {
|
|
3383
|
+
readonly current: number;
|
|
3384
|
+
};
|
|
3015
3385
|
UNSTABLE_virtual: {
|
|
3016
3386
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3017
3387
|
totalSize: number;
|
|
@@ -3025,7 +3395,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3025
3395
|
indexRef: React.MutableRefObject<number>;
|
|
3026
3396
|
nonInteractiveIds: string[];
|
|
3027
3397
|
isVirtualized: boolean;
|
|
3028
|
-
items: import("
|
|
3398
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3029
3399
|
}) => boolean) | undefined;
|
|
3030
3400
|
shouldUpdateItemHeight?: ((data: {
|
|
3031
3401
|
value: number;
|
|
@@ -3035,7 +3405,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3035
3405
|
/**
|
|
3036
3406
|
* A list of panels. Uses `ListModel`
|
|
3037
3407
|
*/
|
|
3038
|
-
panels: import("
|
|
3408
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3039
3409
|
/**
|
|
3040
3410
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3041
3411
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -3046,10 +3416,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3046
3416
|
itemWidthCache: Record<string, number>;
|
|
3047
3417
|
containerWidth: number;
|
|
3048
3418
|
overflowTargetWidth: number;
|
|
3049
|
-
selectedIds:
|
|
3419
|
+
selectedIds: string[] | "all";
|
|
3050
3420
|
unselectedIds: string[];
|
|
3051
3421
|
cursorId: string;
|
|
3052
3422
|
columnCount: number;
|
|
3423
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3424
|
+
cursorIndexRef: {
|
|
3425
|
+
readonly current: number;
|
|
3426
|
+
};
|
|
3053
3427
|
UNSTABLE_virtual: {
|
|
3054
3428
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3055
3429
|
totalSize: number;
|
|
@@ -3063,7 +3437,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3063
3437
|
indexRef: React.MutableRefObject<number>;
|
|
3064
3438
|
nonInteractiveIds: string[];
|
|
3065
3439
|
isVirtualized: boolean;
|
|
3066
|
-
items: import("
|
|
3440
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3067
3441
|
}) => boolean) | undefined;
|
|
3068
3442
|
}) | undefined) => {
|
|
3069
3443
|
state: {
|
|
@@ -3072,7 +3446,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3072
3446
|
/**
|
|
3073
3447
|
* A list of panels. Uses `ListModel`
|
|
3074
3448
|
*/
|
|
3075
|
-
panels: import("
|
|
3449
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3076
3450
|
/**
|
|
3077
3451
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3078
3452
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -3083,10 +3457,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3083
3457
|
itemWidthCache: Record<string, number>;
|
|
3084
3458
|
containerWidth: number;
|
|
3085
3459
|
overflowTargetWidth: number;
|
|
3086
|
-
selectedIds:
|
|
3460
|
+
selectedIds: string[] | "all";
|
|
3087
3461
|
unselectedIds: string[];
|
|
3088
3462
|
cursorId: string;
|
|
3089
3463
|
columnCount: number;
|
|
3464
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3465
|
+
cursorIndexRef: {
|
|
3466
|
+
readonly current: number;
|
|
3467
|
+
};
|
|
3090
3468
|
UNSTABLE_virtual: {
|
|
3091
3469
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3092
3470
|
totalSize: number;
|
|
@@ -3100,7 +3478,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3100
3478
|
indexRef: React.MutableRefObject<number>;
|
|
3101
3479
|
nonInteractiveIds: string[];
|
|
3102
3480
|
isVirtualized: boolean;
|
|
3103
|
-
items: import("
|
|
3481
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3104
3482
|
};
|
|
3105
3483
|
events: {
|
|
3106
3484
|
/**
|
|
@@ -3140,10 +3518,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3140
3518
|
}): void;
|
|
3141
3519
|
selectAll(): void;
|
|
3142
3520
|
unselectAll(): void;
|
|
3143
|
-
registerItem(data: {
|
|
3144
|
-
item: any;
|
|
3145
|
-
textValue: string;
|
|
3146
|
-
}): void;
|
|
3147
3521
|
goTo(data: {
|
|
3148
3522
|
id: string;
|
|
3149
3523
|
}): void;
|
|
@@ -3157,6 +3531,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3157
3531
|
goToLastOfRow(): void;
|
|
3158
3532
|
goToNextPage(): void;
|
|
3159
3533
|
goToPreviousPage(): void;
|
|
3534
|
+
registerItem(data: {
|
|
3535
|
+
item: any;
|
|
3536
|
+
textValue: string;
|
|
3537
|
+
}): void;
|
|
3160
3538
|
unregisterItem(data: {
|
|
3161
3539
|
id: string;
|
|
3162
3540
|
}): void;
|
|
@@ -3172,11 +3550,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3172
3550
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3173
3551
|
placement: import("@popperjs/core").Placement;
|
|
3174
3552
|
id: string;
|
|
3175
|
-
visibility:
|
|
3176
|
-
selectedIds:
|
|
3553
|
+
visibility: "hidden" | "visible";
|
|
3554
|
+
selectedIds: string[] | "all";
|
|
3177
3555
|
unselectedIds: string[];
|
|
3178
3556
|
cursorId: string;
|
|
3179
3557
|
columnCount: number;
|
|
3558
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3559
|
+
cursorIndexRef: {
|
|
3560
|
+
readonly current: number;
|
|
3561
|
+
};
|
|
3180
3562
|
UNSTABLE_virtual: {
|
|
3181
3563
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3182
3564
|
totalSize: number;
|
|
@@ -3186,11 +3568,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3186
3568
|
};
|
|
3187
3569
|
UNSTABLE_defaultItemHeight: number;
|
|
3188
3570
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3189
|
-
orientation:
|
|
3571
|
+
orientation: "horizontal" | "vertical";
|
|
3190
3572
|
indexRef: React.MutableRefObject<number>;
|
|
3191
3573
|
nonInteractiveIds: string[];
|
|
3192
3574
|
isVirtualized: boolean;
|
|
3193
|
-
items: import("
|
|
3575
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3194
3576
|
mode: "multiple" | "single";
|
|
3195
3577
|
};
|
|
3196
3578
|
events: {
|
|
@@ -3204,10 +3586,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3204
3586
|
}): void;
|
|
3205
3587
|
selectAll(): void;
|
|
3206
3588
|
unselectAll(): void;
|
|
3207
|
-
registerItem(data: {
|
|
3208
|
-
item: any;
|
|
3209
|
-
textValue: string;
|
|
3210
|
-
}): void;
|
|
3211
3589
|
goTo(data: {
|
|
3212
3590
|
id: string;
|
|
3213
3591
|
}): void;
|
|
@@ -3221,6 +3599,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3221
3599
|
goToLastOfRow(): void;
|
|
3222
3600
|
goToNextPage(): void;
|
|
3223
3601
|
goToPreviousPage(): void;
|
|
3602
|
+
registerItem(data: {
|
|
3603
|
+
item: any;
|
|
3604
|
+
textValue: string;
|
|
3605
|
+
}): void;
|
|
3224
3606
|
unregisterItem(data: {
|
|
3225
3607
|
id: string;
|
|
3226
3608
|
}): void;
|
|
@@ -3235,7 +3617,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3235
3617
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
3236
3618
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
3237
3619
|
getId: (item: any) => string;
|
|
3238
|
-
}) & import("
|
|
3620
|
+
}) & import("@workday/canvas-kit-react/common").ModelExtras<{
|
|
3239
3621
|
/**
|
|
3240
3622
|
* Optional id for the whole `Tabs` group. The `aria-controls` of the `Tab.Item` and `id` of the
|
|
3241
3623
|
* `Tab.Panel` will automatically derived from this id. If not provided, a unique id will be
|
|
@@ -3256,6 +3638,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3256
3638
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3257
3639
|
menuConfig: Partial<{
|
|
3258
3640
|
mode: "multiple" | "single";
|
|
3641
|
+
shouldVirtualize: boolean;
|
|
3259
3642
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3260
3643
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3261
3644
|
id: string;
|
|
@@ -3266,14 +3649,12 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3266
3649
|
initialCursorId: string;
|
|
3267
3650
|
columnCount: number;
|
|
3268
3651
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
3652
|
+
pageSize: number;
|
|
3269
3653
|
getId: (item: any) => string;
|
|
3270
3654
|
getTextValue: (item: any) => string;
|
|
3271
|
-
nonInteractiveIds: string[];
|
|
3272
|
-
* This event unregisters panels with state.panels. Called when a panel is unmounted.
|
|
3273
|
-
*/
|
|
3655
|
+
nonInteractiveIds: string[];
|
|
3274
3656
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3275
3657
|
defaultItemHeight: number;
|
|
3276
|
-
shouldVirtualize: boolean;
|
|
3277
3658
|
items: any[];
|
|
3278
3659
|
}> & {
|
|
3279
3660
|
onUpdatePlacement?: ((data: {
|
|
@@ -3285,11 +3666,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3285
3666
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3286
3667
|
placement: import("@popperjs/core").Placement;
|
|
3287
3668
|
id: string;
|
|
3288
|
-
visibility:
|
|
3289
|
-
selectedIds:
|
|
3669
|
+
visibility: "hidden" | "visible";
|
|
3670
|
+
selectedIds: string[] | "all";
|
|
3290
3671
|
unselectedIds: string[];
|
|
3291
3672
|
cursorId: string;
|
|
3292
3673
|
columnCount: number;
|
|
3674
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3675
|
+
cursorIndexRef: {
|
|
3676
|
+
readonly current: number;
|
|
3677
|
+
};
|
|
3293
3678
|
UNSTABLE_virtual: {
|
|
3294
3679
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3295
3680
|
totalSize: number;
|
|
@@ -3299,11 +3684,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3299
3684
|
};
|
|
3300
3685
|
UNSTABLE_defaultItemHeight: number;
|
|
3301
3686
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3302
|
-
orientation:
|
|
3687
|
+
orientation: "horizontal" | "vertical";
|
|
3303
3688
|
indexRef: React.MutableRefObject<number>;
|
|
3304
3689
|
nonInteractiveIds: string[];
|
|
3305
3690
|
isVirtualized: boolean;
|
|
3306
|
-
items: import("
|
|
3691
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3307
3692
|
mode: "multiple" | "single";
|
|
3308
3693
|
}) => void) | undefined;
|
|
3309
3694
|
onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -3313,11 +3698,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3313
3698
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3314
3699
|
placement: import("@popperjs/core").Placement;
|
|
3315
3700
|
id: string;
|
|
3316
|
-
visibility:
|
|
3317
|
-
selectedIds:
|
|
3701
|
+
visibility: "hidden" | "visible";
|
|
3702
|
+
selectedIds: string[] | "all";
|
|
3318
3703
|
unselectedIds: string[];
|
|
3319
3704
|
cursorId: string;
|
|
3320
3705
|
columnCount: number;
|
|
3706
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3707
|
+
cursorIndexRef: {
|
|
3708
|
+
readonly current: number;
|
|
3709
|
+
};
|
|
3321
3710
|
UNSTABLE_virtual: {
|
|
3322
3711
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3323
3712
|
totalSize: number;
|
|
@@ -3327,11 +3716,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3327
3716
|
};
|
|
3328
3717
|
UNSTABLE_defaultItemHeight: number;
|
|
3329
3718
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3330
|
-
orientation:
|
|
3719
|
+
orientation: "horizontal" | "vertical";
|
|
3331
3720
|
indexRef: React.MutableRefObject<number>;
|
|
3332
3721
|
nonInteractiveIds: string[];
|
|
3333
3722
|
isVirtualized: boolean;
|
|
3334
|
-
items: import("
|
|
3723
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3335
3724
|
mode: "multiple" | "single";
|
|
3336
3725
|
}) => void) | undefined;
|
|
3337
3726
|
onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
|
|
@@ -3341,11 +3730,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3341
3730
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3342
3731
|
placement: import("@popperjs/core").Placement;
|
|
3343
3732
|
id: string;
|
|
3344
|
-
visibility:
|
|
3345
|
-
selectedIds:
|
|
3733
|
+
visibility: "hidden" | "visible";
|
|
3734
|
+
selectedIds: string[] | "all";
|
|
3346
3735
|
unselectedIds: string[];
|
|
3347
3736
|
cursorId: string;
|
|
3348
3737
|
columnCount: number;
|
|
3738
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3739
|
+
cursorIndexRef: {
|
|
3740
|
+
readonly current: number;
|
|
3741
|
+
};
|
|
3349
3742
|
UNSTABLE_virtual: {
|
|
3350
3743
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3351
3744
|
totalSize: number;
|
|
@@ -3355,11 +3748,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3355
3748
|
};
|
|
3356
3749
|
UNSTABLE_defaultItemHeight: number;
|
|
3357
3750
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3358
|
-
orientation:
|
|
3751
|
+
orientation: "horizontal" | "vertical";
|
|
3359
3752
|
indexRef: React.MutableRefObject<number>;
|
|
3360
3753
|
nonInteractiveIds: string[];
|
|
3361
3754
|
isVirtualized: boolean;
|
|
3362
|
-
items: import("
|
|
3755
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3363
3756
|
mode: "multiple" | "single";
|
|
3364
3757
|
}) => void) | undefined;
|
|
3365
3758
|
onSelect?: ((data: {
|
|
@@ -3371,11 +3764,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3371
3764
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3372
3765
|
placement: import("@popperjs/core").Placement;
|
|
3373
3766
|
id: string;
|
|
3374
|
-
visibility:
|
|
3375
|
-
selectedIds:
|
|
3767
|
+
visibility: "hidden" | "visible";
|
|
3768
|
+
selectedIds: string[] | "all";
|
|
3376
3769
|
unselectedIds: string[];
|
|
3377
3770
|
cursorId: string;
|
|
3378
3771
|
columnCount: number;
|
|
3772
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3773
|
+
cursorIndexRef: {
|
|
3774
|
+
readonly current: number;
|
|
3775
|
+
};
|
|
3379
3776
|
UNSTABLE_virtual: {
|
|
3380
3777
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3381
3778
|
totalSize: number;
|
|
@@ -3385,11 +3782,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3385
3782
|
};
|
|
3386
3783
|
UNSTABLE_defaultItemHeight: number;
|
|
3387
3784
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3388
|
-
orientation:
|
|
3785
|
+
orientation: "horizontal" | "vertical";
|
|
3389
3786
|
indexRef: React.MutableRefObject<number>;
|
|
3390
3787
|
nonInteractiveIds: string[];
|
|
3391
3788
|
isVirtualized: boolean;
|
|
3392
|
-
items: import("
|
|
3789
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3393
3790
|
mode: "multiple" | "single";
|
|
3394
3791
|
}) => void) | undefined;
|
|
3395
3792
|
onSelectAll?: ((data: undefined, prevState: {
|
|
@@ -3399,11 +3796,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3399
3796
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3400
3797
|
placement: import("@popperjs/core").Placement;
|
|
3401
3798
|
id: string;
|
|
3402
|
-
visibility:
|
|
3403
|
-
selectedIds:
|
|
3799
|
+
visibility: "hidden" | "visible";
|
|
3800
|
+
selectedIds: string[] | "all";
|
|
3404
3801
|
unselectedIds: string[];
|
|
3405
3802
|
cursorId: string;
|
|
3406
3803
|
columnCount: number;
|
|
3804
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3805
|
+
cursorIndexRef: {
|
|
3806
|
+
readonly current: number;
|
|
3807
|
+
};
|
|
3407
3808
|
UNSTABLE_virtual: {
|
|
3408
3809
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3409
3810
|
totalSize: number;
|
|
@@ -3413,11 +3814,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3413
3814
|
};
|
|
3414
3815
|
UNSTABLE_defaultItemHeight: number;
|
|
3415
3816
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3416
|
-
orientation:
|
|
3817
|
+
orientation: "horizontal" | "vertical";
|
|
3417
3818
|
indexRef: React.MutableRefObject<number>;
|
|
3418
3819
|
nonInteractiveIds: string[];
|
|
3419
3820
|
isVirtualized: boolean;
|
|
3420
|
-
items: import("
|
|
3821
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3421
3822
|
mode: "multiple" | "single";
|
|
3422
3823
|
}) => void) | undefined;
|
|
3423
3824
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
@@ -3427,11 +3828,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3427
3828
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3428
3829
|
placement: import("@popperjs/core").Placement;
|
|
3429
3830
|
id: string;
|
|
3430
|
-
visibility:
|
|
3431
|
-
selectedIds:
|
|
3831
|
+
visibility: "hidden" | "visible";
|
|
3832
|
+
selectedIds: string[] | "all";
|
|
3432
3833
|
unselectedIds: string[];
|
|
3433
3834
|
cursorId: string;
|
|
3434
3835
|
columnCount: number;
|
|
3836
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3837
|
+
cursorIndexRef: {
|
|
3838
|
+
readonly current: number;
|
|
3839
|
+
};
|
|
3435
3840
|
UNSTABLE_virtual: {
|
|
3436
3841
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3437
3842
|
totalSize: number;
|
|
@@ -3441,16 +3846,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3441
3846
|
};
|
|
3442
3847
|
UNSTABLE_defaultItemHeight: number;
|
|
3443
3848
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3444
|
-
orientation:
|
|
3849
|
+
orientation: "horizontal" | "vertical";
|
|
3445
3850
|
indexRef: React.MutableRefObject<number>;
|
|
3446
3851
|
nonInteractiveIds: string[];
|
|
3447
3852
|
isVirtualized: boolean;
|
|
3448
|
-
items: import("
|
|
3853
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3449
3854
|
mode: "multiple" | "single";
|
|
3450
3855
|
}) => void) | undefined;
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
textValue: string;
|
|
3856
|
+
onGoTo?: ((data: {
|
|
3857
|
+
id: string;
|
|
3454
3858
|
}, prevState: {
|
|
3455
3859
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3456
3860
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -3458,11 +3862,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3458
3862
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3459
3863
|
placement: import("@popperjs/core").Placement;
|
|
3460
3864
|
id: string;
|
|
3461
|
-
visibility:
|
|
3462
|
-
selectedIds:
|
|
3865
|
+
visibility: "hidden" | "visible";
|
|
3866
|
+
selectedIds: string[] | "all";
|
|
3463
3867
|
unselectedIds: string[];
|
|
3464
3868
|
cursorId: string;
|
|
3465
3869
|
columnCount: number;
|
|
3870
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3871
|
+
cursorIndexRef: {
|
|
3872
|
+
readonly current: number;
|
|
3873
|
+
};
|
|
3466
3874
|
UNSTABLE_virtual: {
|
|
3467
3875
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3468
3876
|
totalSize: number;
|
|
@@ -3472,27 +3880,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3472
3880
|
};
|
|
3473
3881
|
UNSTABLE_defaultItemHeight: number;
|
|
3474
3882
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3475
|
-
orientation:
|
|
3883
|
+
orientation: "horizontal" | "vertical";
|
|
3476
3884
|
indexRef: React.MutableRefObject<number>;
|
|
3477
3885
|
nonInteractiveIds: string[];
|
|
3478
3886
|
isVirtualized: boolean;
|
|
3479
|
-
items: import("
|
|
3887
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3480
3888
|
mode: "multiple" | "single";
|
|
3481
3889
|
}) => void) | undefined;
|
|
3482
|
-
|
|
3483
|
-
id: string;
|
|
3484
|
-
}, prevState: {
|
|
3890
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
3485
3891
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3486
3892
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3487
3893
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3488
3894
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3489
3895
|
placement: import("@popperjs/core").Placement;
|
|
3490
3896
|
id: string;
|
|
3491
|
-
visibility:
|
|
3492
|
-
selectedIds:
|
|
3897
|
+
visibility: "hidden" | "visible";
|
|
3898
|
+
selectedIds: string[] | "all";
|
|
3493
3899
|
unselectedIds: string[];
|
|
3494
3900
|
cursorId: string;
|
|
3495
3901
|
columnCount: number;
|
|
3902
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3903
|
+
cursorIndexRef: {
|
|
3904
|
+
readonly current: number;
|
|
3905
|
+
};
|
|
3496
3906
|
UNSTABLE_virtual: {
|
|
3497
3907
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3498
3908
|
totalSize: number;
|
|
@@ -3502,25 +3912,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3502
3912
|
};
|
|
3503
3913
|
UNSTABLE_defaultItemHeight: number;
|
|
3504
3914
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3505
|
-
orientation:
|
|
3915
|
+
orientation: "horizontal" | "vertical";
|
|
3506
3916
|
indexRef: React.MutableRefObject<number>;
|
|
3507
3917
|
nonInteractiveIds: string[];
|
|
3508
3918
|
isVirtualized: boolean;
|
|
3509
|
-
items: import("
|
|
3919
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3510
3920
|
mode: "multiple" | "single";
|
|
3511
3921
|
}) => void) | undefined;
|
|
3512
|
-
|
|
3922
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
3513
3923
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3514
3924
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3515
3925
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3516
3926
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3517
3927
|
placement: import("@popperjs/core").Placement;
|
|
3518
3928
|
id: string;
|
|
3519
|
-
visibility:
|
|
3520
|
-
selectedIds:
|
|
3929
|
+
visibility: "hidden" | "visible";
|
|
3930
|
+
selectedIds: string[] | "all";
|
|
3521
3931
|
unselectedIds: string[];
|
|
3522
3932
|
cursorId: string;
|
|
3523
3933
|
columnCount: number;
|
|
3934
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3935
|
+
cursorIndexRef: {
|
|
3936
|
+
readonly current: number;
|
|
3937
|
+
};
|
|
3524
3938
|
UNSTABLE_virtual: {
|
|
3525
3939
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3526
3940
|
totalSize: number;
|
|
@@ -3530,25 +3944,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3530
3944
|
};
|
|
3531
3945
|
UNSTABLE_defaultItemHeight: number;
|
|
3532
3946
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3533
|
-
orientation:
|
|
3947
|
+
orientation: "horizontal" | "vertical";
|
|
3534
3948
|
indexRef: React.MutableRefObject<number>;
|
|
3535
3949
|
nonInteractiveIds: string[];
|
|
3536
3950
|
isVirtualized: boolean;
|
|
3537
|
-
items: import("
|
|
3951
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3538
3952
|
mode: "multiple" | "single";
|
|
3539
3953
|
}) => void) | undefined;
|
|
3540
|
-
|
|
3954
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
3541
3955
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3542
3956
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3543
3957
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3544
3958
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3545
3959
|
placement: import("@popperjs/core").Placement;
|
|
3546
3960
|
id: string;
|
|
3547
|
-
visibility:
|
|
3548
|
-
selectedIds:
|
|
3961
|
+
visibility: "hidden" | "visible";
|
|
3962
|
+
selectedIds: string[] | "all";
|
|
3549
3963
|
unselectedIds: string[];
|
|
3550
3964
|
cursorId: string;
|
|
3551
3965
|
columnCount: number;
|
|
3966
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3967
|
+
cursorIndexRef: {
|
|
3968
|
+
readonly current: number;
|
|
3969
|
+
};
|
|
3552
3970
|
UNSTABLE_virtual: {
|
|
3553
3971
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3554
3972
|
totalSize: number;
|
|
@@ -3558,25 +3976,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3558
3976
|
};
|
|
3559
3977
|
UNSTABLE_defaultItemHeight: number;
|
|
3560
3978
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3561
|
-
orientation:
|
|
3979
|
+
orientation: "horizontal" | "vertical";
|
|
3562
3980
|
indexRef: React.MutableRefObject<number>;
|
|
3563
3981
|
nonInteractiveIds: string[];
|
|
3564
3982
|
isVirtualized: boolean;
|
|
3565
|
-
items: import("
|
|
3983
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3566
3984
|
mode: "multiple" | "single";
|
|
3567
3985
|
}) => void) | undefined;
|
|
3568
|
-
|
|
3986
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
3569
3987
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3570
3988
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3571
3989
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3572
3990
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3573
3991
|
placement: import("@popperjs/core").Placement;
|
|
3574
3992
|
id: string;
|
|
3575
|
-
visibility:
|
|
3576
|
-
selectedIds:
|
|
3993
|
+
visibility: "hidden" | "visible";
|
|
3994
|
+
selectedIds: string[] | "all";
|
|
3577
3995
|
unselectedIds: string[];
|
|
3578
3996
|
cursorId: string;
|
|
3579
3997
|
columnCount: number;
|
|
3998
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3999
|
+
cursorIndexRef: {
|
|
4000
|
+
readonly current: number;
|
|
4001
|
+
};
|
|
3580
4002
|
UNSTABLE_virtual: {
|
|
3581
4003
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3582
4004
|
totalSize: number;
|
|
@@ -3586,25 +4008,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3586
4008
|
};
|
|
3587
4009
|
UNSTABLE_defaultItemHeight: number;
|
|
3588
4010
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3589
|
-
orientation:
|
|
4011
|
+
orientation: "horizontal" | "vertical";
|
|
3590
4012
|
indexRef: React.MutableRefObject<number>;
|
|
3591
4013
|
nonInteractiveIds: string[];
|
|
3592
4014
|
isVirtualized: boolean;
|
|
3593
|
-
items: import("
|
|
4015
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3594
4016
|
mode: "multiple" | "single";
|
|
3595
4017
|
}) => void) | undefined;
|
|
3596
|
-
|
|
4018
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
3597
4019
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3598
4020
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3599
4021
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3600
4022
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3601
4023
|
placement: import("@popperjs/core").Placement;
|
|
3602
4024
|
id: string;
|
|
3603
|
-
visibility:
|
|
3604
|
-
selectedIds:
|
|
4025
|
+
visibility: "hidden" | "visible";
|
|
4026
|
+
selectedIds: string[] | "all";
|
|
3605
4027
|
unselectedIds: string[];
|
|
3606
4028
|
cursorId: string;
|
|
3607
4029
|
columnCount: number;
|
|
4030
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4031
|
+
cursorIndexRef: {
|
|
4032
|
+
readonly current: number;
|
|
4033
|
+
};
|
|
3608
4034
|
UNSTABLE_virtual: {
|
|
3609
4035
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3610
4036
|
totalSize: number;
|
|
@@ -3614,25 +4040,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3614
4040
|
};
|
|
3615
4041
|
UNSTABLE_defaultItemHeight: number;
|
|
3616
4042
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3617
|
-
orientation:
|
|
4043
|
+
orientation: "horizontal" | "vertical";
|
|
3618
4044
|
indexRef: React.MutableRefObject<number>;
|
|
3619
4045
|
nonInteractiveIds: string[];
|
|
3620
4046
|
isVirtualized: boolean;
|
|
3621
|
-
items: import("
|
|
4047
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3622
4048
|
mode: "multiple" | "single";
|
|
3623
4049
|
}) => void) | undefined;
|
|
3624
|
-
|
|
4050
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
3625
4051
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3626
4052
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3627
4053
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3628
4054
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3629
4055
|
placement: import("@popperjs/core").Placement;
|
|
3630
4056
|
id: string;
|
|
3631
|
-
visibility:
|
|
3632
|
-
selectedIds:
|
|
4057
|
+
visibility: "hidden" | "visible";
|
|
4058
|
+
selectedIds: string[] | "all";
|
|
3633
4059
|
unselectedIds: string[];
|
|
3634
4060
|
cursorId: string;
|
|
3635
4061
|
columnCount: number;
|
|
4062
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4063
|
+
cursorIndexRef: {
|
|
4064
|
+
readonly current: number;
|
|
4065
|
+
};
|
|
3636
4066
|
UNSTABLE_virtual: {
|
|
3637
4067
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3638
4068
|
totalSize: number;
|
|
@@ -3642,25 +4072,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3642
4072
|
};
|
|
3643
4073
|
UNSTABLE_defaultItemHeight: number;
|
|
3644
4074
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3645
|
-
orientation:
|
|
4075
|
+
orientation: "horizontal" | "vertical";
|
|
3646
4076
|
indexRef: React.MutableRefObject<number>;
|
|
3647
4077
|
nonInteractiveIds: string[];
|
|
3648
4078
|
isVirtualized: boolean;
|
|
3649
|
-
items: import("
|
|
4079
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3650
4080
|
mode: "multiple" | "single";
|
|
3651
4081
|
}) => void) | undefined;
|
|
3652
|
-
|
|
4082
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
3653
4083
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3654
4084
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3655
4085
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3656
4086
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3657
4087
|
placement: import("@popperjs/core").Placement;
|
|
3658
4088
|
id: string;
|
|
3659
|
-
visibility:
|
|
3660
|
-
selectedIds:
|
|
4089
|
+
visibility: "hidden" | "visible";
|
|
4090
|
+
selectedIds: string[] | "all";
|
|
3661
4091
|
unselectedIds: string[];
|
|
3662
4092
|
cursorId: string;
|
|
3663
4093
|
columnCount: number;
|
|
4094
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4095
|
+
cursorIndexRef: {
|
|
4096
|
+
readonly current: number;
|
|
4097
|
+
};
|
|
3664
4098
|
UNSTABLE_virtual: {
|
|
3665
4099
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3666
4100
|
totalSize: number;
|
|
@@ -3670,25 +4104,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3670
4104
|
};
|
|
3671
4105
|
UNSTABLE_defaultItemHeight: number;
|
|
3672
4106
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3673
|
-
orientation:
|
|
4107
|
+
orientation: "horizontal" | "vertical";
|
|
3674
4108
|
indexRef: React.MutableRefObject<number>;
|
|
3675
4109
|
nonInteractiveIds: string[];
|
|
3676
4110
|
isVirtualized: boolean;
|
|
3677
|
-
items: import("
|
|
4111
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3678
4112
|
mode: "multiple" | "single";
|
|
3679
4113
|
}) => void) | undefined;
|
|
3680
|
-
|
|
4114
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
3681
4115
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3682
4116
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3683
4117
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3684
4118
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3685
4119
|
placement: import("@popperjs/core").Placement;
|
|
3686
4120
|
id: string;
|
|
3687
|
-
visibility:
|
|
3688
|
-
selectedIds:
|
|
4121
|
+
visibility: "hidden" | "visible";
|
|
4122
|
+
selectedIds: string[] | "all";
|
|
3689
4123
|
unselectedIds: string[];
|
|
3690
4124
|
cursorId: string;
|
|
3691
4125
|
columnCount: number;
|
|
4126
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4127
|
+
cursorIndexRef: {
|
|
4128
|
+
readonly current: number;
|
|
4129
|
+
};
|
|
3692
4130
|
UNSTABLE_virtual: {
|
|
3693
4131
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3694
4132
|
totalSize: number;
|
|
@@ -3698,25 +4136,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3698
4136
|
};
|
|
3699
4137
|
UNSTABLE_defaultItemHeight: number;
|
|
3700
4138
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3701
|
-
orientation:
|
|
4139
|
+
orientation: "horizontal" | "vertical";
|
|
3702
4140
|
indexRef: React.MutableRefObject<number>;
|
|
3703
4141
|
nonInteractiveIds: string[];
|
|
3704
4142
|
isVirtualized: boolean;
|
|
3705
|
-
items: import("
|
|
4143
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3706
4144
|
mode: "multiple" | "single";
|
|
3707
4145
|
}) => void) | undefined;
|
|
3708
|
-
|
|
4146
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
3709
4147
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3710
4148
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3711
4149
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3712
4150
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3713
4151
|
placement: import("@popperjs/core").Placement;
|
|
3714
4152
|
id: string;
|
|
3715
|
-
visibility:
|
|
3716
|
-
selectedIds:
|
|
4153
|
+
visibility: "hidden" | "visible";
|
|
4154
|
+
selectedIds: string[] | "all";
|
|
3717
4155
|
unselectedIds: string[];
|
|
3718
4156
|
cursorId: string;
|
|
3719
4157
|
columnCount: number;
|
|
4158
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4159
|
+
cursorIndexRef: {
|
|
4160
|
+
readonly current: number;
|
|
4161
|
+
};
|
|
3720
4162
|
UNSTABLE_virtual: {
|
|
3721
4163
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3722
4164
|
totalSize: number;
|
|
@@ -3726,25 +4168,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3726
4168
|
};
|
|
3727
4169
|
UNSTABLE_defaultItemHeight: number;
|
|
3728
4170
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3729
|
-
orientation:
|
|
4171
|
+
orientation: "horizontal" | "vertical";
|
|
3730
4172
|
indexRef: React.MutableRefObject<number>;
|
|
3731
4173
|
nonInteractiveIds: string[];
|
|
3732
4174
|
isVirtualized: boolean;
|
|
3733
|
-
items: import("
|
|
4175
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3734
4176
|
mode: "multiple" | "single";
|
|
3735
4177
|
}) => void) | undefined;
|
|
3736
|
-
|
|
4178
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
3737
4179
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3738
4180
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3739
4181
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3740
4182
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3741
4183
|
placement: import("@popperjs/core").Placement;
|
|
3742
4184
|
id: string;
|
|
3743
|
-
visibility:
|
|
3744
|
-
selectedIds:
|
|
4185
|
+
visibility: "hidden" | "visible";
|
|
4186
|
+
selectedIds: string[] | "all";
|
|
3745
4187
|
unselectedIds: string[];
|
|
3746
4188
|
cursorId: string;
|
|
3747
4189
|
columnCount: number;
|
|
4190
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4191
|
+
cursorIndexRef: {
|
|
4192
|
+
readonly current: number;
|
|
4193
|
+
};
|
|
3748
4194
|
UNSTABLE_virtual: {
|
|
3749
4195
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3750
4196
|
totalSize: number;
|
|
@@ -3754,25 +4200,32 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3754
4200
|
};
|
|
3755
4201
|
UNSTABLE_defaultItemHeight: number;
|
|
3756
4202
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3757
|
-
orientation:
|
|
4203
|
+
orientation: "horizontal" | "vertical";
|
|
3758
4204
|
indexRef: React.MutableRefObject<number>;
|
|
3759
4205
|
nonInteractiveIds: string[];
|
|
3760
4206
|
isVirtualized: boolean;
|
|
3761
|
-
items: import("
|
|
4207
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3762
4208
|
mode: "multiple" | "single";
|
|
3763
4209
|
}) => void) | undefined;
|
|
3764
|
-
|
|
4210
|
+
onRegisterItem?: ((data: {
|
|
4211
|
+
item: any;
|
|
4212
|
+
textValue: string;
|
|
4213
|
+
}, prevState: {
|
|
3765
4214
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3766
4215
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3767
4216
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
3768
4217
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3769
4218
|
placement: import("@popperjs/core").Placement;
|
|
3770
4219
|
id: string;
|
|
3771
|
-
visibility:
|
|
3772
|
-
selectedIds:
|
|
4220
|
+
visibility: "hidden" | "visible";
|
|
4221
|
+
selectedIds: string[] | "all";
|
|
3773
4222
|
unselectedIds: string[];
|
|
3774
4223
|
cursorId: string;
|
|
3775
4224
|
columnCount: number;
|
|
4225
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4226
|
+
cursorIndexRef: {
|
|
4227
|
+
readonly current: number;
|
|
4228
|
+
};
|
|
3776
4229
|
UNSTABLE_virtual: {
|
|
3777
4230
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3778
4231
|
totalSize: number;
|
|
@@ -3782,11 +4235,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3782
4235
|
};
|
|
3783
4236
|
UNSTABLE_defaultItemHeight: number;
|
|
3784
4237
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3785
|
-
orientation:
|
|
4238
|
+
orientation: "horizontal" | "vertical";
|
|
3786
4239
|
indexRef: React.MutableRefObject<number>;
|
|
3787
4240
|
nonInteractiveIds: string[];
|
|
3788
4241
|
isVirtualized: boolean;
|
|
3789
|
-
items: import("
|
|
4242
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3790
4243
|
mode: "multiple" | "single";
|
|
3791
4244
|
}) => void) | undefined;
|
|
3792
4245
|
onUnregisterItem?: ((data: {
|
|
@@ -3798,11 +4251,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3798
4251
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3799
4252
|
placement: import("@popperjs/core").Placement;
|
|
3800
4253
|
id: string;
|
|
3801
|
-
visibility:
|
|
3802
|
-
selectedIds:
|
|
4254
|
+
visibility: "hidden" | "visible";
|
|
4255
|
+
selectedIds: string[] | "all";
|
|
3803
4256
|
unselectedIds: string[];
|
|
3804
4257
|
cursorId: string;
|
|
3805
4258
|
columnCount: number;
|
|
4259
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4260
|
+
cursorIndexRef: {
|
|
4261
|
+
readonly current: number;
|
|
4262
|
+
};
|
|
3806
4263
|
UNSTABLE_virtual: {
|
|
3807
4264
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3808
4265
|
totalSize: number;
|
|
@@ -3812,11 +4269,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3812
4269
|
};
|
|
3813
4270
|
UNSTABLE_defaultItemHeight: number;
|
|
3814
4271
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3815
|
-
orientation:
|
|
4272
|
+
orientation: "horizontal" | "vertical";
|
|
3816
4273
|
indexRef: React.MutableRefObject<number>;
|
|
3817
4274
|
nonInteractiveIds: string[];
|
|
3818
4275
|
isVirtualized: boolean;
|
|
3819
|
-
items: import("
|
|
4276
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3820
4277
|
mode: "multiple" | "single";
|
|
3821
4278
|
}) => void) | undefined;
|
|
3822
4279
|
onUpdateItemHeight?: ((data: {
|
|
@@ -3828,11 +4285,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3828
4285
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3829
4286
|
placement: import("@popperjs/core").Placement;
|
|
3830
4287
|
id: string;
|
|
3831
|
-
visibility:
|
|
3832
|
-
selectedIds:
|
|
4288
|
+
visibility: "hidden" | "visible";
|
|
4289
|
+
selectedIds: string[] | "all";
|
|
3833
4290
|
unselectedIds: string[];
|
|
3834
4291
|
cursorId: string;
|
|
3835
4292
|
columnCount: number;
|
|
4293
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4294
|
+
cursorIndexRef: {
|
|
4295
|
+
readonly current: number;
|
|
4296
|
+
};
|
|
3836
4297
|
UNSTABLE_virtual: {
|
|
3837
4298
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3838
4299
|
totalSize: number;
|
|
@@ -3842,11 +4303,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3842
4303
|
};
|
|
3843
4304
|
UNSTABLE_defaultItemHeight: number;
|
|
3844
4305
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3845
|
-
orientation:
|
|
4306
|
+
orientation: "horizontal" | "vertical";
|
|
3846
4307
|
indexRef: React.MutableRefObject<number>;
|
|
3847
4308
|
nonInteractiveIds: string[];
|
|
3848
4309
|
isVirtualized: boolean;
|
|
3849
|
-
items: import("
|
|
4310
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3850
4311
|
mode: "multiple" | "single";
|
|
3851
4312
|
}) => void) | undefined;
|
|
3852
4313
|
} & {
|
|
@@ -3859,11 +4320,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3859
4320
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3860
4321
|
placement: import("@popperjs/core").Placement;
|
|
3861
4322
|
id: string;
|
|
3862
|
-
visibility:
|
|
3863
|
-
selectedIds:
|
|
4323
|
+
visibility: "hidden" | "visible";
|
|
4324
|
+
selectedIds: string[] | "all";
|
|
3864
4325
|
unselectedIds: string[];
|
|
3865
4326
|
cursorId: string;
|
|
3866
4327
|
columnCount: number;
|
|
4328
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4329
|
+
cursorIndexRef: {
|
|
4330
|
+
readonly current: number;
|
|
4331
|
+
};
|
|
3867
4332
|
UNSTABLE_virtual: {
|
|
3868
4333
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3869
4334
|
totalSize: number;
|
|
@@ -3873,11 +4338,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3873
4338
|
};
|
|
3874
4339
|
UNSTABLE_defaultItemHeight: number;
|
|
3875
4340
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3876
|
-
orientation:
|
|
4341
|
+
orientation: "horizontal" | "vertical";
|
|
3877
4342
|
indexRef: React.MutableRefObject<number>;
|
|
3878
4343
|
nonInteractiveIds: string[];
|
|
3879
4344
|
isVirtualized: boolean;
|
|
3880
|
-
items: import("
|
|
4345
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3881
4346
|
mode: "multiple" | "single";
|
|
3882
4347
|
}) => boolean) | undefined;
|
|
3883
4348
|
shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -3887,11 +4352,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3887
4352
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3888
4353
|
placement: import("@popperjs/core").Placement;
|
|
3889
4354
|
id: string;
|
|
3890
|
-
visibility:
|
|
3891
|
-
selectedIds:
|
|
4355
|
+
visibility: "hidden" | "visible";
|
|
4356
|
+
selectedIds: string[] | "all";
|
|
3892
4357
|
unselectedIds: string[];
|
|
3893
4358
|
cursorId: string;
|
|
3894
4359
|
columnCount: number;
|
|
4360
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4361
|
+
cursorIndexRef: {
|
|
4362
|
+
readonly current: number;
|
|
4363
|
+
};
|
|
3895
4364
|
UNSTABLE_virtual: {
|
|
3896
4365
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3897
4366
|
totalSize: number;
|
|
@@ -3901,11 +4370,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3901
4370
|
};
|
|
3902
4371
|
UNSTABLE_defaultItemHeight: number;
|
|
3903
4372
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3904
|
-
orientation:
|
|
4373
|
+
orientation: "horizontal" | "vertical";
|
|
3905
4374
|
indexRef: React.MutableRefObject<number>;
|
|
3906
4375
|
nonInteractiveIds: string[];
|
|
3907
4376
|
isVirtualized: boolean;
|
|
3908
|
-
items: import("
|
|
4377
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3909
4378
|
mode: "multiple" | "single";
|
|
3910
4379
|
}) => boolean) | undefined;
|
|
3911
4380
|
shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
|
|
@@ -3915,11 +4384,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3915
4384
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3916
4385
|
placement: import("@popperjs/core").Placement;
|
|
3917
4386
|
id: string;
|
|
3918
|
-
visibility:
|
|
3919
|
-
selectedIds:
|
|
4387
|
+
visibility: "hidden" | "visible";
|
|
4388
|
+
selectedIds: string[] | "all";
|
|
3920
4389
|
unselectedIds: string[];
|
|
3921
4390
|
cursorId: string;
|
|
3922
4391
|
columnCount: number;
|
|
4392
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4393
|
+
cursorIndexRef: {
|
|
4394
|
+
readonly current: number;
|
|
4395
|
+
};
|
|
3923
4396
|
UNSTABLE_virtual: {
|
|
3924
4397
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3925
4398
|
totalSize: number;
|
|
@@ -3929,11 +4402,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3929
4402
|
};
|
|
3930
4403
|
UNSTABLE_defaultItemHeight: number;
|
|
3931
4404
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3932
|
-
orientation:
|
|
4405
|
+
orientation: "horizontal" | "vertical";
|
|
3933
4406
|
indexRef: React.MutableRefObject<number>;
|
|
3934
4407
|
nonInteractiveIds: string[];
|
|
3935
4408
|
isVirtualized: boolean;
|
|
3936
|
-
items: import("
|
|
4409
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3937
4410
|
mode: "multiple" | "single";
|
|
3938
4411
|
}) => boolean) | undefined;
|
|
3939
4412
|
shouldSelect?: ((data: {
|
|
@@ -3945,11 +4418,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3945
4418
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3946
4419
|
placement: import("@popperjs/core").Placement;
|
|
3947
4420
|
id: string;
|
|
3948
|
-
visibility:
|
|
3949
|
-
selectedIds:
|
|
4421
|
+
visibility: "hidden" | "visible";
|
|
4422
|
+
selectedIds: string[] | "all";
|
|
3950
4423
|
unselectedIds: string[];
|
|
3951
4424
|
cursorId: string;
|
|
3952
4425
|
columnCount: number;
|
|
4426
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4427
|
+
cursorIndexRef: {
|
|
4428
|
+
readonly current: number;
|
|
4429
|
+
};
|
|
3953
4430
|
UNSTABLE_virtual: {
|
|
3954
4431
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3955
4432
|
totalSize: number;
|
|
@@ -3959,11 +4436,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3959
4436
|
};
|
|
3960
4437
|
UNSTABLE_defaultItemHeight: number;
|
|
3961
4438
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3962
|
-
orientation:
|
|
4439
|
+
orientation: "horizontal" | "vertical";
|
|
3963
4440
|
indexRef: React.MutableRefObject<number>;
|
|
3964
4441
|
nonInteractiveIds: string[];
|
|
3965
4442
|
isVirtualized: boolean;
|
|
3966
|
-
items: import("
|
|
4443
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3967
4444
|
mode: "multiple" | "single";
|
|
3968
4445
|
}) => boolean) | undefined;
|
|
3969
4446
|
shouldSelectAll?: ((data: undefined, state: {
|
|
@@ -3973,11 +4450,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3973
4450
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
3974
4451
|
placement: import("@popperjs/core").Placement;
|
|
3975
4452
|
id: string;
|
|
3976
|
-
visibility:
|
|
3977
|
-
selectedIds:
|
|
4453
|
+
visibility: "hidden" | "visible";
|
|
4454
|
+
selectedIds: string[] | "all";
|
|
3978
4455
|
unselectedIds: string[];
|
|
3979
4456
|
cursorId: string;
|
|
3980
4457
|
columnCount: number;
|
|
4458
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4459
|
+
cursorIndexRef: {
|
|
4460
|
+
readonly current: number;
|
|
4461
|
+
};
|
|
3981
4462
|
UNSTABLE_virtual: {
|
|
3982
4463
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3983
4464
|
totalSize: number;
|
|
@@ -3987,11 +4468,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3987
4468
|
};
|
|
3988
4469
|
UNSTABLE_defaultItemHeight: number;
|
|
3989
4470
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
3990
|
-
orientation:
|
|
4471
|
+
orientation: "horizontal" | "vertical";
|
|
3991
4472
|
indexRef: React.MutableRefObject<number>;
|
|
3992
4473
|
nonInteractiveIds: string[];
|
|
3993
4474
|
isVirtualized: boolean;
|
|
3994
|
-
items: import("
|
|
4475
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3995
4476
|
mode: "multiple" | "single";
|
|
3996
4477
|
}) => boolean) | undefined;
|
|
3997
4478
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
@@ -4001,11 +4482,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4001
4482
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4002
4483
|
placement: import("@popperjs/core").Placement;
|
|
4003
4484
|
id: string;
|
|
4004
|
-
visibility:
|
|
4005
|
-
selectedIds:
|
|
4485
|
+
visibility: "hidden" | "visible";
|
|
4486
|
+
selectedIds: string[] | "all";
|
|
4006
4487
|
unselectedIds: string[];
|
|
4007
4488
|
cursorId: string;
|
|
4008
4489
|
columnCount: number;
|
|
4490
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4491
|
+
cursorIndexRef: {
|
|
4492
|
+
readonly current: number;
|
|
4493
|
+
};
|
|
4009
4494
|
UNSTABLE_virtual: {
|
|
4010
4495
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4011
4496
|
totalSize: number;
|
|
@@ -4015,16 +4500,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4015
4500
|
};
|
|
4016
4501
|
UNSTABLE_defaultItemHeight: number;
|
|
4017
4502
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4018
|
-
orientation:
|
|
4503
|
+
orientation: "horizontal" | "vertical";
|
|
4019
4504
|
indexRef: React.MutableRefObject<number>;
|
|
4020
4505
|
nonInteractiveIds: string[];
|
|
4021
4506
|
isVirtualized: boolean;
|
|
4022
|
-
items: import("
|
|
4507
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4023
4508
|
mode: "multiple" | "single";
|
|
4024
4509
|
}) => boolean) | undefined;
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
textValue: string;
|
|
4510
|
+
shouldGoTo?: ((data: {
|
|
4511
|
+
id: string;
|
|
4028
4512
|
}, state: {
|
|
4029
4513
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4030
4514
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -4032,11 +4516,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4032
4516
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4033
4517
|
placement: import("@popperjs/core").Placement;
|
|
4034
4518
|
id: string;
|
|
4035
|
-
visibility:
|
|
4036
|
-
selectedIds:
|
|
4519
|
+
visibility: "hidden" | "visible";
|
|
4520
|
+
selectedIds: string[] | "all";
|
|
4037
4521
|
unselectedIds: string[];
|
|
4038
4522
|
cursorId: string;
|
|
4039
4523
|
columnCount: number;
|
|
4524
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4525
|
+
cursorIndexRef: {
|
|
4526
|
+
readonly current: number;
|
|
4527
|
+
};
|
|
4040
4528
|
UNSTABLE_virtual: {
|
|
4041
4529
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4042
4530
|
totalSize: number;
|
|
@@ -4046,27 +4534,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4046
4534
|
};
|
|
4047
4535
|
UNSTABLE_defaultItemHeight: number;
|
|
4048
4536
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4049
|
-
orientation:
|
|
4537
|
+
orientation: "horizontal" | "vertical";
|
|
4050
4538
|
indexRef: React.MutableRefObject<number>;
|
|
4051
4539
|
nonInteractiveIds: string[];
|
|
4052
4540
|
isVirtualized: boolean;
|
|
4053
|
-
items: import("
|
|
4541
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4054
4542
|
mode: "multiple" | "single";
|
|
4055
4543
|
}) => boolean) | undefined;
|
|
4056
|
-
|
|
4057
|
-
id: string;
|
|
4058
|
-
}, state: {
|
|
4544
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
4059
4545
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4060
4546
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4061
4547
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4062
4548
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4063
4549
|
placement: import("@popperjs/core").Placement;
|
|
4064
4550
|
id: string;
|
|
4065
|
-
visibility:
|
|
4066
|
-
selectedIds:
|
|
4551
|
+
visibility: "hidden" | "visible";
|
|
4552
|
+
selectedIds: string[] | "all";
|
|
4067
4553
|
unselectedIds: string[];
|
|
4068
4554
|
cursorId: string;
|
|
4069
4555
|
columnCount: number;
|
|
4556
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4557
|
+
cursorIndexRef: {
|
|
4558
|
+
readonly current: number;
|
|
4559
|
+
};
|
|
4070
4560
|
UNSTABLE_virtual: {
|
|
4071
4561
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4072
4562
|
totalSize: number;
|
|
@@ -4076,25 +4566,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4076
4566
|
};
|
|
4077
4567
|
UNSTABLE_defaultItemHeight: number;
|
|
4078
4568
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4079
|
-
orientation:
|
|
4569
|
+
orientation: "horizontal" | "vertical";
|
|
4080
4570
|
indexRef: React.MutableRefObject<number>;
|
|
4081
4571
|
nonInteractiveIds: string[];
|
|
4082
4572
|
isVirtualized: boolean;
|
|
4083
|
-
items: import("
|
|
4573
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4084
4574
|
mode: "multiple" | "single";
|
|
4085
4575
|
}) => boolean) | undefined;
|
|
4086
|
-
|
|
4576
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
4087
4577
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4088
4578
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4089
4579
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4090
4580
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4091
4581
|
placement: import("@popperjs/core").Placement;
|
|
4092
4582
|
id: string;
|
|
4093
|
-
visibility:
|
|
4094
|
-
selectedIds:
|
|
4583
|
+
visibility: "hidden" | "visible";
|
|
4584
|
+
selectedIds: string[] | "all";
|
|
4095
4585
|
unselectedIds: string[];
|
|
4096
4586
|
cursorId: string;
|
|
4097
4587
|
columnCount: number;
|
|
4588
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4589
|
+
cursorIndexRef: {
|
|
4590
|
+
readonly current: number;
|
|
4591
|
+
};
|
|
4098
4592
|
UNSTABLE_virtual: {
|
|
4099
4593
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4100
4594
|
totalSize: number;
|
|
@@ -4104,25 +4598,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4104
4598
|
};
|
|
4105
4599
|
UNSTABLE_defaultItemHeight: number;
|
|
4106
4600
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4107
|
-
orientation:
|
|
4601
|
+
orientation: "horizontal" | "vertical";
|
|
4108
4602
|
indexRef: React.MutableRefObject<number>;
|
|
4109
4603
|
nonInteractiveIds: string[];
|
|
4110
4604
|
isVirtualized: boolean;
|
|
4111
|
-
items: import("
|
|
4605
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4112
4606
|
mode: "multiple" | "single";
|
|
4113
4607
|
}) => boolean) | undefined;
|
|
4114
|
-
|
|
4608
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
4115
4609
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4116
4610
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4117
4611
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4118
4612
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4119
4613
|
placement: import("@popperjs/core").Placement;
|
|
4120
4614
|
id: string;
|
|
4121
|
-
visibility:
|
|
4122
|
-
selectedIds:
|
|
4615
|
+
visibility: "hidden" | "visible";
|
|
4616
|
+
selectedIds: string[] | "all";
|
|
4123
4617
|
unselectedIds: string[];
|
|
4124
4618
|
cursorId: string;
|
|
4125
4619
|
columnCount: number;
|
|
4620
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4621
|
+
cursorIndexRef: {
|
|
4622
|
+
readonly current: number;
|
|
4623
|
+
};
|
|
4126
4624
|
UNSTABLE_virtual: {
|
|
4127
4625
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4128
4626
|
totalSize: number;
|
|
@@ -4132,25 +4630,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4132
4630
|
};
|
|
4133
4631
|
UNSTABLE_defaultItemHeight: number;
|
|
4134
4632
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4135
|
-
orientation:
|
|
4633
|
+
orientation: "horizontal" | "vertical";
|
|
4136
4634
|
indexRef: React.MutableRefObject<number>;
|
|
4137
4635
|
nonInteractiveIds: string[];
|
|
4138
4636
|
isVirtualized: boolean;
|
|
4139
|
-
items: import("
|
|
4637
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4140
4638
|
mode: "multiple" | "single";
|
|
4141
4639
|
}) => boolean) | undefined;
|
|
4142
|
-
|
|
4640
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
4143
4641
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4144
4642
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4145
4643
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4146
4644
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4147
4645
|
placement: import("@popperjs/core").Placement;
|
|
4148
4646
|
id: string;
|
|
4149
|
-
visibility:
|
|
4150
|
-
selectedIds:
|
|
4647
|
+
visibility: "hidden" | "visible";
|
|
4648
|
+
selectedIds: string[] | "all";
|
|
4151
4649
|
unselectedIds: string[];
|
|
4152
4650
|
cursorId: string;
|
|
4153
4651
|
columnCount: number;
|
|
4652
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4653
|
+
cursorIndexRef: {
|
|
4654
|
+
readonly current: number;
|
|
4655
|
+
};
|
|
4154
4656
|
UNSTABLE_virtual: {
|
|
4155
4657
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4156
4658
|
totalSize: number;
|
|
@@ -4160,25 +4662,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4160
4662
|
};
|
|
4161
4663
|
UNSTABLE_defaultItemHeight: number;
|
|
4162
4664
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4163
|
-
orientation:
|
|
4665
|
+
orientation: "horizontal" | "vertical";
|
|
4164
4666
|
indexRef: React.MutableRefObject<number>;
|
|
4165
4667
|
nonInteractiveIds: string[];
|
|
4166
4668
|
isVirtualized: boolean;
|
|
4167
|
-
items: import("
|
|
4669
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4168
4670
|
mode: "multiple" | "single";
|
|
4169
4671
|
}) => boolean) | undefined;
|
|
4170
|
-
|
|
4672
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
4171
4673
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4172
4674
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4173
4675
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4174
4676
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4175
4677
|
placement: import("@popperjs/core").Placement;
|
|
4176
4678
|
id: string;
|
|
4177
|
-
visibility:
|
|
4178
|
-
selectedIds:
|
|
4679
|
+
visibility: "hidden" | "visible";
|
|
4680
|
+
selectedIds: string[] | "all";
|
|
4179
4681
|
unselectedIds: string[];
|
|
4180
4682
|
cursorId: string;
|
|
4181
4683
|
columnCount: number;
|
|
4684
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4685
|
+
cursorIndexRef: {
|
|
4686
|
+
readonly current: number;
|
|
4687
|
+
};
|
|
4182
4688
|
UNSTABLE_virtual: {
|
|
4183
4689
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4184
4690
|
totalSize: number;
|
|
@@ -4188,25 +4694,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4188
4694
|
};
|
|
4189
4695
|
UNSTABLE_defaultItemHeight: number;
|
|
4190
4696
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4191
|
-
orientation:
|
|
4697
|
+
orientation: "horizontal" | "vertical";
|
|
4192
4698
|
indexRef: React.MutableRefObject<number>;
|
|
4193
4699
|
nonInteractiveIds: string[];
|
|
4194
4700
|
isVirtualized: boolean;
|
|
4195
|
-
items: import("
|
|
4701
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4196
4702
|
mode: "multiple" | "single";
|
|
4197
4703
|
}) => boolean) | undefined;
|
|
4198
|
-
|
|
4704
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
4199
4705
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4200
4706
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4201
4707
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4202
4708
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4203
4709
|
placement: import("@popperjs/core").Placement;
|
|
4204
4710
|
id: string;
|
|
4205
|
-
visibility:
|
|
4206
|
-
selectedIds:
|
|
4711
|
+
visibility: "hidden" | "visible";
|
|
4712
|
+
selectedIds: string[] | "all";
|
|
4207
4713
|
unselectedIds: string[];
|
|
4208
4714
|
cursorId: string;
|
|
4209
4715
|
columnCount: number;
|
|
4716
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4717
|
+
cursorIndexRef: {
|
|
4718
|
+
readonly current: number;
|
|
4719
|
+
};
|
|
4210
4720
|
UNSTABLE_virtual: {
|
|
4211
4721
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4212
4722
|
totalSize: number;
|
|
@@ -4216,25 +4726,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4216
4726
|
};
|
|
4217
4727
|
UNSTABLE_defaultItemHeight: number;
|
|
4218
4728
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4219
|
-
orientation:
|
|
4729
|
+
orientation: "horizontal" | "vertical";
|
|
4220
4730
|
indexRef: React.MutableRefObject<number>;
|
|
4221
4731
|
nonInteractiveIds: string[];
|
|
4222
4732
|
isVirtualized: boolean;
|
|
4223
|
-
items: import("
|
|
4733
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4224
4734
|
mode: "multiple" | "single";
|
|
4225
4735
|
}) => boolean) | undefined;
|
|
4226
|
-
|
|
4736
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
4227
4737
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4228
4738
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4229
4739
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4230
4740
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4231
4741
|
placement: import("@popperjs/core").Placement;
|
|
4232
4742
|
id: string;
|
|
4233
|
-
visibility:
|
|
4234
|
-
selectedIds:
|
|
4743
|
+
visibility: "hidden" | "visible";
|
|
4744
|
+
selectedIds: string[] | "all";
|
|
4235
4745
|
unselectedIds: string[];
|
|
4236
4746
|
cursorId: string;
|
|
4237
4747
|
columnCount: number;
|
|
4748
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4749
|
+
cursorIndexRef: {
|
|
4750
|
+
readonly current: number;
|
|
4751
|
+
};
|
|
4238
4752
|
UNSTABLE_virtual: {
|
|
4239
4753
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4240
4754
|
totalSize: number;
|
|
@@ -4244,25 +4758,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4244
4758
|
};
|
|
4245
4759
|
UNSTABLE_defaultItemHeight: number;
|
|
4246
4760
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4247
|
-
orientation:
|
|
4761
|
+
orientation: "horizontal" | "vertical";
|
|
4248
4762
|
indexRef: React.MutableRefObject<number>;
|
|
4249
4763
|
nonInteractiveIds: string[];
|
|
4250
4764
|
isVirtualized: boolean;
|
|
4251
|
-
items: import("
|
|
4765
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4252
4766
|
mode: "multiple" | "single";
|
|
4253
4767
|
}) => boolean) | undefined;
|
|
4254
|
-
|
|
4768
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
4255
4769
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4256
4770
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4257
4771
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4258
4772
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4259
4773
|
placement: import("@popperjs/core").Placement;
|
|
4260
4774
|
id: string;
|
|
4261
|
-
visibility:
|
|
4262
|
-
selectedIds:
|
|
4775
|
+
visibility: "hidden" | "visible";
|
|
4776
|
+
selectedIds: string[] | "all";
|
|
4263
4777
|
unselectedIds: string[];
|
|
4264
4778
|
cursorId: string;
|
|
4265
4779
|
columnCount: number;
|
|
4780
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4781
|
+
cursorIndexRef: {
|
|
4782
|
+
readonly current: number;
|
|
4783
|
+
};
|
|
4266
4784
|
UNSTABLE_virtual: {
|
|
4267
4785
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4268
4786
|
totalSize: number;
|
|
@@ -4272,25 +4790,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4272
4790
|
};
|
|
4273
4791
|
UNSTABLE_defaultItemHeight: number;
|
|
4274
4792
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4275
|
-
orientation:
|
|
4793
|
+
orientation: "horizontal" | "vertical";
|
|
4276
4794
|
indexRef: React.MutableRefObject<number>;
|
|
4277
4795
|
nonInteractiveIds: string[];
|
|
4278
4796
|
isVirtualized: boolean;
|
|
4279
|
-
items: import("
|
|
4797
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4280
4798
|
mode: "multiple" | "single";
|
|
4281
4799
|
}) => boolean) | undefined;
|
|
4282
|
-
|
|
4800
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
4283
4801
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4284
4802
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4285
4803
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4286
4804
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4287
4805
|
placement: import("@popperjs/core").Placement;
|
|
4288
4806
|
id: string;
|
|
4289
|
-
visibility:
|
|
4290
|
-
selectedIds:
|
|
4807
|
+
visibility: "hidden" | "visible";
|
|
4808
|
+
selectedIds: string[] | "all";
|
|
4291
4809
|
unselectedIds: string[];
|
|
4292
4810
|
cursorId: string;
|
|
4293
4811
|
columnCount: number;
|
|
4812
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4813
|
+
cursorIndexRef: {
|
|
4814
|
+
readonly current: number;
|
|
4815
|
+
};
|
|
4294
4816
|
UNSTABLE_virtual: {
|
|
4295
4817
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4296
4818
|
totalSize: number;
|
|
@@ -4300,25 +4822,29 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4300
4822
|
};
|
|
4301
4823
|
UNSTABLE_defaultItemHeight: number;
|
|
4302
4824
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4303
|
-
orientation:
|
|
4825
|
+
orientation: "horizontal" | "vertical";
|
|
4304
4826
|
indexRef: React.MutableRefObject<number>;
|
|
4305
4827
|
nonInteractiveIds: string[];
|
|
4306
4828
|
isVirtualized: boolean;
|
|
4307
|
-
items: import("
|
|
4829
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4308
4830
|
mode: "multiple" | "single";
|
|
4309
4831
|
}) => boolean) | undefined;
|
|
4310
|
-
|
|
4832
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
4311
4833
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4312
4834
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4313
4835
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4314
4836
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4315
4837
|
placement: import("@popperjs/core").Placement;
|
|
4316
4838
|
id: string;
|
|
4317
|
-
visibility:
|
|
4318
|
-
selectedIds:
|
|
4839
|
+
visibility: "hidden" | "visible";
|
|
4840
|
+
selectedIds: string[] | "all";
|
|
4319
4841
|
unselectedIds: string[];
|
|
4320
4842
|
cursorId: string;
|
|
4321
4843
|
columnCount: number;
|
|
4844
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4845
|
+
cursorIndexRef: {
|
|
4846
|
+
readonly current: number;
|
|
4847
|
+
};
|
|
4322
4848
|
UNSTABLE_virtual: {
|
|
4323
4849
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4324
4850
|
totalSize: number;
|
|
@@ -4328,25 +4854,32 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4328
4854
|
};
|
|
4329
4855
|
UNSTABLE_defaultItemHeight: number;
|
|
4330
4856
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4331
|
-
orientation:
|
|
4857
|
+
orientation: "horizontal" | "vertical";
|
|
4332
4858
|
indexRef: React.MutableRefObject<number>;
|
|
4333
4859
|
nonInteractiveIds: string[];
|
|
4334
4860
|
isVirtualized: boolean;
|
|
4335
|
-
items: import("
|
|
4861
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4336
4862
|
mode: "multiple" | "single";
|
|
4337
4863
|
}) => boolean) | undefined;
|
|
4338
|
-
|
|
4864
|
+
shouldRegisterItem?: ((data: {
|
|
4865
|
+
item: any;
|
|
4866
|
+
textValue: string;
|
|
4867
|
+
}, state: {
|
|
4339
4868
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4340
4869
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4341
4870
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
4342
4871
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4343
4872
|
placement: import("@popperjs/core").Placement;
|
|
4344
4873
|
id: string;
|
|
4345
|
-
visibility:
|
|
4346
|
-
selectedIds:
|
|
4874
|
+
visibility: "hidden" | "visible";
|
|
4875
|
+
selectedIds: string[] | "all";
|
|
4347
4876
|
unselectedIds: string[];
|
|
4348
4877
|
cursorId: string;
|
|
4349
4878
|
columnCount: number;
|
|
4879
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4880
|
+
cursorIndexRef: {
|
|
4881
|
+
readonly current: number;
|
|
4882
|
+
};
|
|
4350
4883
|
UNSTABLE_virtual: {
|
|
4351
4884
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4352
4885
|
totalSize: number;
|
|
@@ -4356,11 +4889,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4356
4889
|
};
|
|
4357
4890
|
UNSTABLE_defaultItemHeight: number;
|
|
4358
4891
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4359
|
-
orientation:
|
|
4892
|
+
orientation: "horizontal" | "vertical";
|
|
4360
4893
|
indexRef: React.MutableRefObject<number>;
|
|
4361
4894
|
nonInteractiveIds: string[];
|
|
4362
4895
|
isVirtualized: boolean;
|
|
4363
|
-
items: import("
|
|
4896
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4364
4897
|
mode: "multiple" | "single";
|
|
4365
4898
|
}) => boolean) | undefined;
|
|
4366
4899
|
shouldUnregisterItem?: ((data: {
|
|
@@ -4372,11 +4905,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4372
4905
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4373
4906
|
placement: import("@popperjs/core").Placement;
|
|
4374
4907
|
id: string;
|
|
4375
|
-
visibility:
|
|
4376
|
-
selectedIds:
|
|
4908
|
+
visibility: "hidden" | "visible";
|
|
4909
|
+
selectedIds: string[] | "all";
|
|
4377
4910
|
unselectedIds: string[];
|
|
4378
4911
|
cursorId: string;
|
|
4379
4912
|
columnCount: number;
|
|
4913
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4914
|
+
cursorIndexRef: {
|
|
4915
|
+
readonly current: number;
|
|
4916
|
+
};
|
|
4380
4917
|
UNSTABLE_virtual: {
|
|
4381
4918
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4382
4919
|
totalSize: number;
|
|
@@ -4386,11 +4923,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4386
4923
|
};
|
|
4387
4924
|
UNSTABLE_defaultItemHeight: number;
|
|
4388
4925
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4389
|
-
orientation:
|
|
4926
|
+
orientation: "horizontal" | "vertical";
|
|
4390
4927
|
indexRef: React.MutableRefObject<number>;
|
|
4391
4928
|
nonInteractiveIds: string[];
|
|
4392
4929
|
isVirtualized: boolean;
|
|
4393
|
-
items: import("
|
|
4930
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4394
4931
|
mode: "multiple" | "single";
|
|
4395
4932
|
}) => boolean) | undefined;
|
|
4396
4933
|
shouldUpdateItemHeight?: ((data: {
|
|
@@ -4402,11 +4939,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4402
4939
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4403
4940
|
placement: import("@popperjs/core").Placement;
|
|
4404
4941
|
id: string;
|
|
4405
|
-
visibility:
|
|
4406
|
-
selectedIds:
|
|
4942
|
+
visibility: "hidden" | "visible";
|
|
4943
|
+
selectedIds: string[] | "all";
|
|
4407
4944
|
unselectedIds: string[];
|
|
4408
4945
|
cursorId: string;
|
|
4409
4946
|
columnCount: number;
|
|
4947
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4948
|
+
cursorIndexRef: {
|
|
4949
|
+
readonly current: number;
|
|
4950
|
+
};
|
|
4410
4951
|
UNSTABLE_virtual: {
|
|
4411
4952
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4412
4953
|
totalSize: number;
|
|
@@ -4416,11 +4957,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4416
4957
|
};
|
|
4417
4958
|
UNSTABLE_defaultItemHeight: number;
|
|
4418
4959
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4419
|
-
orientation:
|
|
4960
|
+
orientation: "horizontal" | "vertical";
|
|
4420
4961
|
indexRef: React.MutableRefObject<number>;
|
|
4421
4962
|
nonInteractiveIds: string[];
|
|
4422
4963
|
isVirtualized: boolean;
|
|
4423
|
-
items: import("
|
|
4964
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4424
4965
|
mode: "multiple" | "single";
|
|
4425
4966
|
}) => boolean) | undefined;
|
|
4426
4967
|
};
|
|
@@ -4433,11 +4974,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4433
4974
|
initialCursorId: string;
|
|
4434
4975
|
columnCount: number;
|
|
4435
4976
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
4977
|
+
pageSize: number;
|
|
4436
4978
|
getId: (item: any) => string;
|
|
4437
4979
|
getTextValue: (item: any) => string;
|
|
4438
|
-
nonInteractiveIds: string[];
|
|
4439
|
-
* This event unregisters panels with state.panels. Called when a panel is unmounted.
|
|
4440
|
-
*/
|
|
4980
|
+
nonInteractiveIds: string[];
|
|
4441
4981
|
defaultItemHeight: number;
|
|
4442
4982
|
shouldVirtualize: boolean;
|
|
4443
4983
|
items: any[];
|
|
@@ -4447,7 +4987,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4447
4987
|
/**
|
|
4448
4988
|
* A list of panels. Uses `ListModel`
|
|
4449
4989
|
*/
|
|
4450
|
-
panels: import("
|
|
4990
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4451
4991
|
/**
|
|
4452
4992
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
4453
4993
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -4458,10 +4998,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4458
4998
|
itemWidthCache: Record<string, number>;
|
|
4459
4999
|
containerWidth: number;
|
|
4460
5000
|
overflowTargetWidth: number;
|
|
4461
|
-
selectedIds:
|
|
5001
|
+
selectedIds: string[] | "all";
|
|
4462
5002
|
unselectedIds: string[];
|
|
4463
5003
|
cursorId: string;
|
|
4464
5004
|
columnCount: number;
|
|
5005
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
5006
|
+
cursorIndexRef: {
|
|
5007
|
+
readonly current: number;
|
|
5008
|
+
};
|
|
4465
5009
|
UNSTABLE_virtual: {
|
|
4466
5010
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4467
5011
|
totalSize: number;
|
|
@@ -4475,7 +5019,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4475
5019
|
indexRef: React.MutableRefObject<number>;
|
|
4476
5020
|
nonInteractiveIds: string[];
|
|
4477
5021
|
isVirtualized: boolean;
|
|
4478
|
-
items: import("
|
|
5022
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4479
5023
|
}, {
|
|
4480
5024
|
/**
|
|
4481
5025
|
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
@@ -4514,10 +5058,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4514
5058
|
}): void;
|
|
4515
5059
|
selectAll(): void;
|
|
4516
5060
|
unselectAll(): void;
|
|
4517
|
-
registerItem(data: {
|
|
4518
|
-
item: any;
|
|
4519
|
-
textValue: string;
|
|
4520
|
-
}): void;
|
|
4521
5061
|
goTo(data: {
|
|
4522
5062
|
id: string;
|
|
4523
5063
|
}): void;
|
|
@@ -4531,6 +5071,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4531
5071
|
goToLastOfRow(): void;
|
|
4532
5072
|
goToNextPage(): void;
|
|
4533
5073
|
goToPreviousPage(): void;
|
|
5074
|
+
registerItem(data: {
|
|
5075
|
+
item: any;
|
|
5076
|
+
textValue: string;
|
|
5077
|
+
}): void;
|
|
4534
5078
|
unregisterItem(data: {
|
|
4535
5079
|
id: string;
|
|
4536
5080
|
}): void;
|
|
@@ -4544,7 +5088,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4544
5088
|
/**
|
|
4545
5089
|
* A list of panels. Uses `ListModel`
|
|
4546
5090
|
*/
|
|
4547
|
-
panels: import("
|
|
5091
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4548
5092
|
/**
|
|
4549
5093
|
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
4550
5094
|
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
@@ -4555,10 +5099,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4555
5099
|
itemWidthCache: Record<string, number>;
|
|
4556
5100
|
containerWidth: number;
|
|
4557
5101
|
overflowTargetWidth: number;
|
|
4558
|
-
selectedIds:
|
|
5102
|
+
selectedIds: string[] | "all";
|
|
4559
5103
|
unselectedIds: string[];
|
|
4560
5104
|
cursorId: string;
|
|
4561
5105
|
columnCount: number;
|
|
5106
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
5107
|
+
cursorIndexRef: {
|
|
5108
|
+
readonly current: number;
|
|
5109
|
+
};
|
|
4562
5110
|
UNSTABLE_virtual: {
|
|
4563
5111
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4564
5112
|
totalSize: number;
|
|
@@ -4572,7 +5120,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4572
5120
|
indexRef: React.MutableRefObject<number>;
|
|
4573
5121
|
nonInteractiveIds: string[];
|
|
4574
5122
|
isVirtualized: boolean;
|
|
4575
|
-
items: import("
|
|
5123
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4576
5124
|
};
|
|
4577
5125
|
events: {
|
|
4578
5126
|
/**
|
|
@@ -4612,10 +5160,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4612
5160
|
}): void;
|
|
4613
5161
|
selectAll(): void;
|
|
4614
5162
|
unselectAll(): void;
|
|
4615
|
-
registerItem(data: {
|
|
4616
|
-
item: any;
|
|
4617
|
-
textValue: string;
|
|
4618
|
-
}): void;
|
|
4619
5163
|
goTo(data: {
|
|
4620
5164
|
id: string;
|
|
4621
5165
|
}): void;
|
|
@@ -4629,6 +5173,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4629
5173
|
goToLastOfRow(): void;
|
|
4630
5174
|
goToNextPage(): void;
|
|
4631
5175
|
goToPreviousPage(): void;
|
|
5176
|
+
registerItem(data: {
|
|
5177
|
+
item: any;
|
|
5178
|
+
textValue: string;
|
|
5179
|
+
}): void;
|
|
4632
5180
|
unregisterItem(data: {
|
|
4633
5181
|
id: string;
|
|
4634
5182
|
}): void;
|
|
@@ -4644,11 +5192,15 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4644
5192
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
4645
5193
|
placement: import("@popperjs/core").Placement;
|
|
4646
5194
|
id: string;
|
|
4647
|
-
visibility:
|
|
4648
|
-
selectedIds:
|
|
5195
|
+
visibility: "hidden" | "visible";
|
|
5196
|
+
selectedIds: string[] | "all";
|
|
4649
5197
|
unselectedIds: string[];
|
|
4650
5198
|
cursorId: string;
|
|
4651
5199
|
columnCount: number;
|
|
5200
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
5201
|
+
cursorIndexRef: {
|
|
5202
|
+
readonly current: number;
|
|
5203
|
+
};
|
|
4652
5204
|
UNSTABLE_virtual: {
|
|
4653
5205
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4654
5206
|
totalSize: number;
|
|
@@ -4658,11 +5210,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4658
5210
|
};
|
|
4659
5211
|
UNSTABLE_defaultItemHeight: number;
|
|
4660
5212
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
4661
|
-
orientation:
|
|
5213
|
+
orientation: "horizontal" | "vertical";
|
|
4662
5214
|
indexRef: React.MutableRefObject<number>;
|
|
4663
5215
|
nonInteractiveIds: string[];
|
|
4664
5216
|
isVirtualized: boolean;
|
|
4665
|
-
items: import("
|
|
5217
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4666
5218
|
mode: "multiple" | "single";
|
|
4667
5219
|
};
|
|
4668
5220
|
events: {
|
|
@@ -4676,10 +5228,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4676
5228
|
}): void;
|
|
4677
5229
|
selectAll(): void;
|
|
4678
5230
|
unselectAll(): void;
|
|
4679
|
-
registerItem(data: {
|
|
4680
|
-
item: any;
|
|
4681
|
-
textValue: string;
|
|
4682
|
-
}): void;
|
|
4683
5231
|
goTo(data: {
|
|
4684
5232
|
id: string;
|
|
4685
5233
|
}): void;
|
|
@@ -4693,6 +5241,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4693
5241
|
goToLastOfRow(): void;
|
|
4694
5242
|
goToNextPage(): void;
|
|
4695
5243
|
goToPreviousPage(): void;
|
|
5244
|
+
registerItem(data: {
|
|
5245
|
+
item: any;
|
|
5246
|
+
textValue: string;
|
|
5247
|
+
}): void;
|
|
4696
5248
|
unregisterItem(data: {
|
|
4697
5249
|
id: string;
|
|
4698
5250
|
}): void;
|