@workday/canvas-kit-react 13.0.0-alpha.944-next.0 → 13.0.0-alpha.950-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collection/index.ts +3 -0
- package/collection/lib/focusOnCurrentCursor.ts +55 -0
- package/collection/lib/listItemRemove.ts +21 -0
- package/collection/lib/useListItemRemoveOnDeleteKey.tsx +40 -0
- package/collection/lib/useListItemRovingFocus.tsx +8 -34
- package/collection/lib/useListLoader.ts +2 -0
- package/collection/lib/useListResetCursorOnBlur.tsx +16 -2
- package/collection/lib/useOverflowListItemMeasure.tsx +6 -2
- package/collection/lib/useOverflowListMeasure.ts +1 -1
- package/collection/lib/useOverflowListModel.tsx +90 -51
- package/collection/lib/useOverflowListTarget.tsx +5 -1
- package/collection/lib/useSelectionListModel.tsx +10 -0
- package/combobox/lib/hooks/useComboboxInput.ts +7 -10
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +676 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +51 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +51 -0
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +56 -0
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +531 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/avatar/lib/Avatar.js +21 -21
- package/dist/commonjs/badge/lib/CountBadge.js +3 -3
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +759 -385
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +56 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +51 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +28 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +112 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +56 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +531 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/BaseButton.js +21 -21
- package/dist/commonjs/button/lib/DeleteButton.js +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +2 -2
- package/dist/commonjs/button/lib/SecondaryButton.js +2 -2
- package/dist/commonjs/button/lib/TertiaryButton.js +18 -18
- package/dist/commonjs/card/lib/Card.js +1 -1
- package/dist/commonjs/card/lib/CardBody.js +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckBackground.js +3 -3
- package/dist/commonjs/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/commonjs/collection/index.d.ts +3 -0
- package/dist/commonjs/collection/index.d.ts.map +1 -1
- package/dist/commonjs/collection/index.js +3 -0
- package/dist/commonjs/collection/lib/ListBox.d.ts +78 -0
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +3 -3
- package/dist/commonjs/collection/lib/focusOnCurrentCursor.d.ts +3 -0
- package/dist/commonjs/collection/lib/focusOnCurrentCursor.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/focusOnCurrentCursor.js +45 -0
- package/dist/commonjs/collection/lib/listItemRemove.d.ts +3 -0
- package/dist/commonjs/collection/lib/listItemRemove.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/listItemRemove.js +19 -0
- package/dist/commonjs/collection/lib/useGridModel.d.ts +73 -0
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +5 -0
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +5 -0
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRemoveOnDeleteKey.d.ts +86 -0
- package/dist/commonjs/collection/lib/useListItemRemoveOnDeleteKey.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListItemRemoveOnDeleteKey.js +40 -0
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +6 -29
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +5 -0
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListLoader.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListLoader.js +2 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts +73 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +5 -0
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.js +13 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +23 -0
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +23 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +945 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +73 -35
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +23 -0
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +4 -1
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +94 -0
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useSelectionListModel.js +10 -0
- package/dist/commonjs/combobox/lib/Combobox.d.ts +113 -0
- package/dist/commonjs/combobox/lib/Combobox.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxCard.d.ts +10 -0
- package/dist/commonjs/combobox/lib/ComboboxCard.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxInput.d.ts +5 -0
- package/dist/commonjs/combobox/lib/ComboboxInput.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts +25 -0
- package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts +5 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts +10 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/commonjs/combobox/lib/ComboboxPopper.d.ts +5 -0
- package/dist/commonjs/combobox/lib/ComboboxPopper.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxInput.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxInput.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxInput.js +5 -9
- package/dist/commonjs/combobox/lib/hooks/useComboboxInputArbitrary.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxInputArbitrary.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxInputConstrained.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxInputConstrained.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxInputOpenWithArrowKeys.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxModel.d.ts +101 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxModel.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/hooks/useSetPopupWidth.d.ts +5 -0
- package/dist/commonjs/combobox/lib/hooks/useSetPopupWidth.d.ts.map +1 -1
- package/dist/commonjs/common/lib/AccessibleHide.js +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldField.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/commonjs/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldHint.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/commonjs/form-field/lib/formFieldStencil.js +8 -8
- package/dist/commonjs/icon/lib/AccentIcon.js +2 -2
- package/dist/commonjs/icon/lib/AppletIcon.js +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +2 -2
- package/dist/commonjs/icon/lib/Svg.js +2 -2
- package/dist/commonjs/icon/lib/SystemIcon.js +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +2 -2
- package/dist/commonjs/menu/lib/Menu.d.ts +112 -0
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuCard.d.ts +10 -0
- package/dist/commonjs/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuCard.js +1 -1
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +15 -0
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts +11 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +1 -1
- package/dist/commonjs/menu/lib/MenuList.d.ts +10 -0
- package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +3 -3
- package/dist/commonjs/menu/lib/MenuOption.d.ts +10 -0
- package/dist/commonjs/menu/lib/MenuOption.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuOption.js +1 -1
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +5 -0
- package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +25 -0
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +87 -0
- package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalBody.js +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/commonjs/popup/lib/PopupHeading.js +1 -1
- package/dist/commonjs/select/lib/Select.d.ts +118 -0
- package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
- package/dist/commonjs/select/lib/SelectCard.d.ts +10 -0
- package/dist/commonjs/select/lib/SelectCard.d.ts.map +1 -1
- package/dist/commonjs/select/lib/SelectCard.js +1 -1
- package/dist/commonjs/select/lib/SelectInput.d.ts +5 -0
- package/dist/commonjs/select/lib/SelectInput.d.ts.map +1 -1
- package/dist/commonjs/select/lib/SelectInput.js +3 -3
- package/dist/commonjs/select/lib/SelectItem.d.ts +10 -0
- package/dist/commonjs/select/lib/SelectItem.d.ts.map +1 -1
- package/dist/commonjs/select/lib/hooks/useSelectCard.d.ts +5 -0
- package/dist/commonjs/select/lib/hooks/useSelectCard.d.ts.map +1 -1
- package/dist/commonjs/select/lib/hooks/useSelectInput.d.ts +5 -0
- package/dist/commonjs/select/lib/hooks/useSelectInput.d.ts.map +1 -1
- package/dist/commonjs/select/lib/hooks/useSelectModel.d.ts +93 -0
- package/dist/commonjs/select/lib/hooks/useSelectModel.d.ts.map +1 -1
- package/dist/commonjs/switch/lib/Switch.js +7 -7
- package/dist/commonjs/table/lib/Table.js +1 -1
- package/dist/commonjs/table/lib/TableBody.js +1 -1
- package/dist/commonjs/table/lib/TableCaption.js +1 -1
- package/dist/commonjs/table/lib/TableCell.js +1 -1
- package/dist/commonjs/table/lib/TableFooter.js +1 -1
- package/dist/commonjs/table/lib/TableHead.js +1 -1
- package/dist/commonjs/table/lib/TableHeader.js +1 -1
- package/dist/commonjs/table/lib/TableRow.js +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +891 -44
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +57 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +56 -0
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +5 -0
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +56 -0
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +56 -0
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +28 -0
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +867 -74
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/text/lib/LabelText.js +6 -6
- package/dist/commonjs/text/lib/Text.js +16 -16
- package/dist/commonjs/text/lib/TypeLevelComponents.js +4 -4
- package/dist/commonjs/text-area/lib/TextArea.js +5 -5
- package/dist/commonjs/text-input/lib/InputGroup.js +6 -6
- package/dist/commonjs/text-input/lib/TextInput.js +5 -5
- package/dist/commonjs/toast/lib/Toast.js +1 -1
- package/dist/commonjs/toast/lib/ToastBody.js +1 -1
- package/dist/commonjs/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastMessage.js +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +676 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +51 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +51 -0
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +56 -0
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +531 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/avatar/lib/Avatar.js +21 -21
- package/dist/es6/badge/lib/CountBadge.js +3 -3
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +759 -385
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +56 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +51 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +28 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +112 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +56 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +531 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/button/lib/BaseButton.js +21 -21
- package/dist/es6/button/lib/DeleteButton.js +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +2 -2
- package/dist/es6/button/lib/SecondaryButton.js +2 -2
- package/dist/es6/button/lib/TertiaryButton.js +18 -18
- package/dist/es6/card/lib/Card.js +1 -1
- package/dist/es6/card/lib/CardBody.js +1 -1
- package/dist/es6/card/lib/CardHeading.js +1 -1
- package/dist/es6/checkbox/lib/CheckBackground.js +3 -3
- package/dist/es6/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/es6/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/es6/collection/index.d.ts +3 -0
- package/dist/es6/collection/index.d.ts.map +1 -1
- package/dist/es6/collection/index.js +3 -0
- package/dist/es6/collection/lib/ListBox.d.ts +78 -0
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/ListBox.js +3 -3
- package/dist/es6/collection/lib/focusOnCurrentCursor.d.ts +3 -0
- package/dist/es6/collection/lib/focusOnCurrentCursor.d.ts.map +1 -0
- package/dist/es6/collection/lib/focusOnCurrentCursor.js +41 -0
- package/dist/es6/collection/lib/listItemRemove.d.ts +3 -0
- package/dist/es6/collection/lib/listItemRemove.d.ts.map +1 -0
- package/dist/es6/collection/lib/listItemRemove.js +15 -0
- package/dist/es6/collection/lib/useGridModel.d.ts +73 -0
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +5 -0
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRegister.d.ts +5 -0
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRemoveOnDeleteKey.d.ts +86 -0
- package/dist/es6/collection/lib/useListItemRemoveOnDeleteKey.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListItemRemoveOnDeleteKey.js +37 -0
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +6 -29
- package/dist/es6/collection/lib/useListItemSelect.d.ts +5 -0
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListLoader.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListLoader.js +2 -0
- package/dist/es6/collection/lib/useListModel.d.ts +73 -0
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +5 -0
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.js +14 -2
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +23 -0
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +23 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +945 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +73 -35
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +23 -0
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +4 -1
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +94 -0
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useSelectionListModel.js +10 -0
- package/dist/es6/combobox/lib/Combobox.d.ts +113 -0
- package/dist/es6/combobox/lib/Combobox.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxCard.d.ts +10 -0
- package/dist/es6/combobox/lib/ComboboxCard.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxInput.d.ts +5 -0
- package/dist/es6/combobox/lib/ComboboxInput.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxMenu.d.ts +25 -0
- package/dist/es6/combobox/lib/ComboboxMenu.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts +5 -0
- package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxMenuList.d.ts +10 -0
- package/dist/es6/combobox/lib/ComboboxMenuList.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/es6/combobox/lib/ComboboxPopper.d.ts +5 -0
- package/dist/es6/combobox/lib/ComboboxPopper.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxInput.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxInput.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxInput.js +5 -9
- package/dist/es6/combobox/lib/hooks/useComboboxInputArbitrary.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxInputArbitrary.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxInputConstrained.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxInputConstrained.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxInputOpenWithArrowKeys.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxModel.d.ts +101 -0
- package/dist/es6/combobox/lib/hooks/useComboboxModel.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts.map +1 -1
- package/dist/es6/combobox/lib/hooks/useSetPopupWidth.d.ts +5 -0
- package/dist/es6/combobox/lib/hooks/useSetPopupWidth.d.ts.map +1 -1
- package/dist/es6/common/lib/AccessibleHide.js +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +1 -1
- package/dist/es6/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/es6/form-field/lib/FormFieldField.js +1 -1
- package/dist/es6/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/es6/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/es6/form-field/lib/FormFieldHint.js +3 -3
- package/dist/es6/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/es6/form-field/lib/formFieldStencil.js +8 -8
- package/dist/es6/icon/lib/AccentIcon.js +2 -2
- package/dist/es6/icon/lib/AppletIcon.js +1 -1
- package/dist/es6/icon/lib/Graphic.js +2 -2
- package/dist/es6/icon/lib/Svg.js +2 -2
- package/dist/es6/icon/lib/SystemIcon.js +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +1 -1
- package/dist/es6/loading-dots/lib/LoadingDots.js +2 -2
- package/dist/es6/menu/lib/Menu.d.ts +112 -0
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuCard.d.ts +10 -0
- package/dist/es6/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuCard.js +1 -1
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +15 -0
- package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.d.ts +11 -1
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.js +1 -1
- package/dist/es6/menu/lib/MenuList.d.ts +10 -0
- package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuList.js +3 -3
- package/dist/es6/menu/lib/MenuOption.d.ts +10 -0
- package/dist/es6/menu/lib/MenuOption.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuOption.js +1 -1
- package/dist/es6/menu/lib/MenuPopper.d.ts +5 -0
- package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.d.ts +25 -0
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/useMenuModel.d.ts +87 -0
- package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalBody.js +1 -1
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +2 -2
- package/dist/es6/popup/lib/PopupBody.js +1 -1
- package/dist/es6/popup/lib/PopupCard.js +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/es6/popup/lib/PopupHeading.js +1 -1
- package/dist/es6/select/lib/Select.d.ts +118 -0
- package/dist/es6/select/lib/Select.d.ts.map +1 -1
- package/dist/es6/select/lib/SelectCard.d.ts +10 -0
- package/dist/es6/select/lib/SelectCard.d.ts.map +1 -1
- package/dist/es6/select/lib/SelectCard.js +1 -1
- package/dist/es6/select/lib/SelectInput.d.ts +5 -0
- package/dist/es6/select/lib/SelectInput.d.ts.map +1 -1
- package/dist/es6/select/lib/SelectInput.js +3 -3
- package/dist/es6/select/lib/SelectItem.d.ts +10 -0
- package/dist/es6/select/lib/SelectItem.d.ts.map +1 -1
- package/dist/es6/select/lib/hooks/useSelectCard.d.ts +5 -0
- package/dist/es6/select/lib/hooks/useSelectCard.d.ts.map +1 -1
- package/dist/es6/select/lib/hooks/useSelectInput.d.ts +5 -0
- package/dist/es6/select/lib/hooks/useSelectInput.d.ts.map +1 -1
- package/dist/es6/select/lib/hooks/useSelectModel.d.ts +93 -0
- package/dist/es6/select/lib/hooks/useSelectModel.d.ts.map +1 -1
- package/dist/es6/switch/lib/Switch.js +7 -7
- package/dist/es6/table/lib/Table.js +1 -1
- package/dist/es6/table/lib/TableBody.js +1 -1
- package/dist/es6/table/lib/TableCaption.js +1 -1
- package/dist/es6/table/lib/TableCell.js +1 -1
- package/dist/es6/table/lib/TableFooter.js +1 -1
- package/dist/es6/table/lib/TableHead.js +1 -1
- package/dist/es6/table/lib/TableHeader.js +1 -1
- package/dist/es6/table/lib/TableRow.js +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +891 -44
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +57 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +56 -0
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +5 -0
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +56 -0
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +56 -0
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +28 -0
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +867 -74
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/text/lib/LabelText.js +6 -6
- package/dist/es6/text/lib/Text.js +16 -16
- package/dist/es6/text/lib/TypeLevelComponents.js +4 -4
- package/dist/es6/text-area/lib/TextArea.js +5 -5
- package/dist/es6/text-input/lib/InputGroup.js +6 -6
- package/dist/es6/text-input/lib/TextInput.js +5 -5
- package/dist/es6/toast/lib/Toast.js +1 -1
- package/dist/es6/toast/lib/ToastBody.js +1 -1
- package/dist/es6/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/es6/toast/lib/ToastIcon.js +1 -1
- package/dist/es6/toast/lib/ToastMessage.js +1 -1
- package/package.json +4 -4
|
@@ -283,6 +283,42 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
283
283
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
284
284
|
mode: "multiple" | "single";
|
|
285
285
|
}) => void) | undefined;
|
|
286
|
+
onRemove?: ((data: {
|
|
287
|
+
id: string;
|
|
288
|
+
nextId?: string | undefined;
|
|
289
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
290
|
+
}, prevState: {
|
|
291
|
+
stackRef: React.RefObject<HTMLDivElement>;
|
|
292
|
+
targetRef: React.RefObject<HTMLButtonElement>;
|
|
293
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
294
|
+
returnFocusRef: React.RefObject<any> | undefined;
|
|
295
|
+
placement: import("@popperjs/core").Placement;
|
|
296
|
+
id: string;
|
|
297
|
+
visibility: "hidden" | "visible";
|
|
298
|
+
selectedIds: string[] | "all";
|
|
299
|
+
unselectedIds: string[];
|
|
300
|
+
cursorId: string;
|
|
301
|
+
columnCount: number;
|
|
302
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
303
|
+
cursorIndexRef: {
|
|
304
|
+
readonly current: number;
|
|
305
|
+
};
|
|
306
|
+
UNSTABLE_virtual: {
|
|
307
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
308
|
+
totalSize: number;
|
|
309
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
310
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
311
|
+
measure: () => void;
|
|
312
|
+
};
|
|
313
|
+
UNSTABLE_defaultItemHeight: number;
|
|
314
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
315
|
+
orientation: "horizontal" | "vertical";
|
|
316
|
+
indexRef: React.MutableRefObject<number>;
|
|
317
|
+
nonInteractiveIds: string[];
|
|
318
|
+
isVirtualized: boolean;
|
|
319
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
320
|
+
mode: "multiple" | "single";
|
|
321
|
+
}) => void) | undefined;
|
|
286
322
|
onGoTo?: ((data: {
|
|
287
323
|
id: string;
|
|
288
324
|
}, prevState: {
|
|
@@ -969,6 +1005,42 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
969
1005
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
970
1006
|
mode: "multiple" | "single";
|
|
971
1007
|
}) => boolean) | undefined;
|
|
1008
|
+
shouldRemove?: ((data: {
|
|
1009
|
+
id: string;
|
|
1010
|
+
nextId?: string | undefined;
|
|
1011
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
1012
|
+
}, state: {
|
|
1013
|
+
stackRef: React.RefObject<HTMLDivElement>;
|
|
1014
|
+
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1015
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
1016
|
+
returnFocusRef: React.RefObject<any> | undefined;
|
|
1017
|
+
placement: import("@popperjs/core").Placement;
|
|
1018
|
+
id: string;
|
|
1019
|
+
visibility: "hidden" | "visible";
|
|
1020
|
+
selectedIds: string[] | "all";
|
|
1021
|
+
unselectedIds: string[];
|
|
1022
|
+
cursorId: string;
|
|
1023
|
+
columnCount: number;
|
|
1024
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1025
|
+
cursorIndexRef: {
|
|
1026
|
+
readonly current: number;
|
|
1027
|
+
};
|
|
1028
|
+
UNSTABLE_virtual: {
|
|
1029
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1030
|
+
totalSize: number;
|
|
1031
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1032
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1033
|
+
measure: () => void;
|
|
1034
|
+
};
|
|
1035
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1036
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1037
|
+
orientation: "horizontal" | "vertical";
|
|
1038
|
+
indexRef: React.MutableRefObject<number>;
|
|
1039
|
+
nonInteractiveIds: string[];
|
|
1040
|
+
isVirtualized: boolean;
|
|
1041
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1042
|
+
mode: "multiple" | "single";
|
|
1043
|
+
}) => boolean) | undefined;
|
|
972
1044
|
shouldGoTo?: ((data: {
|
|
973
1045
|
id: string;
|
|
974
1046
|
}, state: {
|
|
@@ -1461,7 +1533,464 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1461
1533
|
*/
|
|
1462
1534
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1463
1535
|
hiddenIds: string[];
|
|
1536
|
+
itemSizeCache: Record<string, number>;
|
|
1537
|
+
itemWidthCache: Record<string, number>;
|
|
1538
|
+
containerSize: number;
|
|
1539
|
+
containerWidth: number;
|
|
1540
|
+
containerGap: number;
|
|
1541
|
+
overflowTargetWidth: number;
|
|
1542
|
+
selectedIds: string[] | "all";
|
|
1543
|
+
unselectedIds: string[];
|
|
1544
|
+
cursorId: string;
|
|
1545
|
+
columnCount: number;
|
|
1546
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1547
|
+
cursorIndexRef: {
|
|
1548
|
+
readonly current: number;
|
|
1549
|
+
};
|
|
1550
|
+
UNSTABLE_virtual: {
|
|
1551
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1552
|
+
totalSize: number;
|
|
1553
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1554
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1555
|
+
measure: () => void;
|
|
1556
|
+
};
|
|
1557
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1558
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1559
|
+
id: string;
|
|
1560
|
+
indexRef: React.MutableRefObject<number>;
|
|
1561
|
+
nonInteractiveIds: string[];
|
|
1562
|
+
isVirtualized: boolean;
|
|
1563
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1564
|
+
}) => void) | undefined;
|
|
1565
|
+
onUnregisterPanel?: ((data: {
|
|
1566
|
+
id: string;
|
|
1567
|
+
}, prevState: {
|
|
1568
|
+
getId: (item: any) => string;
|
|
1569
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1570
|
+
/**
|
|
1571
|
+
* A list of panels. Uses `ListModel`
|
|
1572
|
+
*/
|
|
1573
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1574
|
+
/**
|
|
1575
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1576
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1577
|
+
* state setting phase.
|
|
1578
|
+
*/
|
|
1579
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1580
|
+
hiddenIds: string[];
|
|
1581
|
+
itemSizeCache: Record<string, number>;
|
|
1582
|
+
itemWidthCache: Record<string, number>;
|
|
1583
|
+
containerSize: number;
|
|
1584
|
+
containerWidth: number;
|
|
1585
|
+
containerGap: number;
|
|
1586
|
+
overflowTargetWidth: number;
|
|
1587
|
+
selectedIds: string[] | "all";
|
|
1588
|
+
unselectedIds: string[];
|
|
1589
|
+
cursorId: string;
|
|
1590
|
+
columnCount: number;
|
|
1591
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1592
|
+
cursorIndexRef: {
|
|
1593
|
+
readonly current: number;
|
|
1594
|
+
};
|
|
1595
|
+
UNSTABLE_virtual: {
|
|
1596
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1597
|
+
totalSize: number;
|
|
1598
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1599
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1600
|
+
measure: () => void;
|
|
1601
|
+
};
|
|
1602
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1603
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1604
|
+
id: string;
|
|
1605
|
+
indexRef: React.MutableRefObject<number>;
|
|
1606
|
+
nonInteractiveIds: string[];
|
|
1607
|
+
isVirtualized: boolean;
|
|
1608
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1609
|
+
}) => void) | undefined;
|
|
1610
|
+
onSelect?: ((data: {
|
|
1611
|
+
id: string;
|
|
1612
|
+
}, prevState: {
|
|
1613
|
+
getId: (item: any) => string;
|
|
1614
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1615
|
+
/**
|
|
1616
|
+
* A list of panels. Uses `ListModel`
|
|
1617
|
+
*/
|
|
1618
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1619
|
+
/**
|
|
1620
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1621
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1622
|
+
* state setting phase.
|
|
1623
|
+
*/
|
|
1624
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1625
|
+
hiddenIds: string[];
|
|
1626
|
+
itemSizeCache: Record<string, number>;
|
|
1627
|
+
itemWidthCache: Record<string, number>;
|
|
1628
|
+
containerSize: number;
|
|
1629
|
+
containerWidth: number;
|
|
1630
|
+
containerGap: number;
|
|
1631
|
+
overflowTargetWidth: number;
|
|
1632
|
+
selectedIds: string[] | "all";
|
|
1633
|
+
unselectedIds: string[];
|
|
1634
|
+
cursorId: string;
|
|
1635
|
+
columnCount: number;
|
|
1636
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1637
|
+
cursorIndexRef: {
|
|
1638
|
+
readonly current: number;
|
|
1639
|
+
};
|
|
1640
|
+
UNSTABLE_virtual: {
|
|
1641
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1642
|
+
totalSize: number;
|
|
1643
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1644
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1645
|
+
measure: () => void;
|
|
1646
|
+
};
|
|
1647
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1648
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1649
|
+
id: string;
|
|
1650
|
+
indexRef: React.MutableRefObject<number>;
|
|
1651
|
+
nonInteractiveIds: string[];
|
|
1652
|
+
isVirtualized: boolean;
|
|
1653
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1654
|
+
}) => void) | undefined;
|
|
1655
|
+
onSetContainerSize?: ((data: {
|
|
1656
|
+
width?: number | undefined;
|
|
1657
|
+
height?: number | undefined;
|
|
1658
|
+
}, prevState: {
|
|
1659
|
+
getId: (item: any) => string;
|
|
1660
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1661
|
+
/**
|
|
1662
|
+
* A list of panels. Uses `ListModel`
|
|
1663
|
+
*/
|
|
1664
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1665
|
+
/**
|
|
1666
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1667
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1668
|
+
* state setting phase.
|
|
1669
|
+
*/
|
|
1670
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1671
|
+
hiddenIds: string[];
|
|
1672
|
+
itemSizeCache: Record<string, number>;
|
|
1673
|
+
itemWidthCache: Record<string, number>;
|
|
1674
|
+
containerSize: number;
|
|
1675
|
+
containerWidth: number;
|
|
1676
|
+
containerGap: number;
|
|
1677
|
+
overflowTargetWidth: number;
|
|
1678
|
+
selectedIds: string[] | "all";
|
|
1679
|
+
unselectedIds: string[];
|
|
1680
|
+
cursorId: string;
|
|
1681
|
+
columnCount: number;
|
|
1682
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1683
|
+
cursorIndexRef: {
|
|
1684
|
+
readonly current: number;
|
|
1685
|
+
};
|
|
1686
|
+
UNSTABLE_virtual: {
|
|
1687
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1688
|
+
totalSize: number;
|
|
1689
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1690
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1691
|
+
measure: () => void;
|
|
1692
|
+
};
|
|
1693
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1694
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1695
|
+
id: string;
|
|
1696
|
+
indexRef: React.MutableRefObject<number>;
|
|
1697
|
+
nonInteractiveIds: string[];
|
|
1698
|
+
isVirtualized: boolean;
|
|
1699
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1700
|
+
}) => void) | undefined;
|
|
1701
|
+
onSetContainerWidth?: ((data: {
|
|
1702
|
+
width?: number | undefined;
|
|
1703
|
+
}, prevState: {
|
|
1704
|
+
getId: (item: any) => string;
|
|
1705
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1706
|
+
/**
|
|
1707
|
+
* A list of panels. Uses `ListModel`
|
|
1708
|
+
*/
|
|
1709
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1710
|
+
/**
|
|
1711
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1712
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1713
|
+
* state setting phase.
|
|
1714
|
+
*/
|
|
1715
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1716
|
+
hiddenIds: string[];
|
|
1717
|
+
itemSizeCache: Record<string, number>;
|
|
1718
|
+
itemWidthCache: Record<string, number>;
|
|
1719
|
+
containerSize: number;
|
|
1720
|
+
containerWidth: number;
|
|
1721
|
+
containerGap: number;
|
|
1722
|
+
overflowTargetWidth: number;
|
|
1723
|
+
selectedIds: string[] | "all";
|
|
1724
|
+
unselectedIds: string[];
|
|
1725
|
+
cursorId: string;
|
|
1726
|
+
columnCount: number;
|
|
1727
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1728
|
+
cursorIndexRef: {
|
|
1729
|
+
readonly current: number;
|
|
1730
|
+
};
|
|
1731
|
+
UNSTABLE_virtual: {
|
|
1732
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1733
|
+
totalSize: number;
|
|
1734
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1735
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1736
|
+
measure: () => void;
|
|
1737
|
+
};
|
|
1738
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1739
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1740
|
+
id: string;
|
|
1741
|
+
indexRef: React.MutableRefObject<number>;
|
|
1742
|
+
nonInteractiveIds: string[];
|
|
1743
|
+
isVirtualized: boolean;
|
|
1744
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1745
|
+
}) => void) | undefined;
|
|
1746
|
+
onSetContainerGap?: ((data: {
|
|
1747
|
+
size: number;
|
|
1748
|
+
}, prevState: {
|
|
1749
|
+
getId: (item: any) => string;
|
|
1750
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1751
|
+
/**
|
|
1752
|
+
* A list of panels. Uses `ListModel`
|
|
1753
|
+
*/
|
|
1754
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1755
|
+
/**
|
|
1756
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1757
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1758
|
+
* state setting phase.
|
|
1759
|
+
*/
|
|
1760
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1761
|
+
hiddenIds: string[];
|
|
1762
|
+
itemSizeCache: Record<string, number>;
|
|
1763
|
+
itemWidthCache: Record<string, number>;
|
|
1764
|
+
containerSize: number;
|
|
1765
|
+
containerWidth: number;
|
|
1766
|
+
containerGap: number;
|
|
1767
|
+
overflowTargetWidth: number;
|
|
1768
|
+
selectedIds: string[] | "all";
|
|
1769
|
+
unselectedIds: string[];
|
|
1770
|
+
cursorId: string;
|
|
1771
|
+
columnCount: number;
|
|
1772
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1773
|
+
cursorIndexRef: {
|
|
1774
|
+
readonly current: number;
|
|
1775
|
+
};
|
|
1776
|
+
UNSTABLE_virtual: {
|
|
1777
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1778
|
+
totalSize: number;
|
|
1779
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1780
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1781
|
+
measure: () => void;
|
|
1782
|
+
};
|
|
1783
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1784
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1785
|
+
id: string;
|
|
1786
|
+
indexRef: React.MutableRefObject<number>;
|
|
1787
|
+
nonInteractiveIds: string[];
|
|
1788
|
+
isVirtualized: boolean;
|
|
1789
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1790
|
+
}) => void) | undefined;
|
|
1791
|
+
onSetOverflowTargetSize?: ((data: {
|
|
1792
|
+
width: number;
|
|
1793
|
+
height: number;
|
|
1794
|
+
}, prevState: {
|
|
1795
|
+
getId: (item: any) => string;
|
|
1796
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1797
|
+
/**
|
|
1798
|
+
* A list of panels. Uses `ListModel`
|
|
1799
|
+
*/
|
|
1800
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1801
|
+
/**
|
|
1802
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1803
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1804
|
+
* state setting phase.
|
|
1805
|
+
*/
|
|
1806
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1807
|
+
hiddenIds: string[];
|
|
1808
|
+
itemSizeCache: Record<string, number>;
|
|
1809
|
+
itemWidthCache: Record<string, number>;
|
|
1810
|
+
containerSize: number;
|
|
1811
|
+
containerWidth: number;
|
|
1812
|
+
containerGap: number;
|
|
1813
|
+
overflowTargetWidth: number;
|
|
1814
|
+
selectedIds: string[] | "all";
|
|
1815
|
+
unselectedIds: string[];
|
|
1816
|
+
cursorId: string;
|
|
1817
|
+
columnCount: number;
|
|
1818
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1819
|
+
cursorIndexRef: {
|
|
1820
|
+
readonly current: number;
|
|
1821
|
+
};
|
|
1822
|
+
UNSTABLE_virtual: {
|
|
1823
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1824
|
+
totalSize: number;
|
|
1825
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1826
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1827
|
+
measure: () => void;
|
|
1828
|
+
};
|
|
1829
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1830
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1831
|
+
id: string;
|
|
1832
|
+
indexRef: React.MutableRefObject<number>;
|
|
1833
|
+
nonInteractiveIds: string[];
|
|
1834
|
+
isVirtualized: boolean;
|
|
1835
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1836
|
+
}) => void) | undefined;
|
|
1837
|
+
onSetOverflowTargetWidth?: ((data: {
|
|
1838
|
+
width: number;
|
|
1839
|
+
}, prevState: {
|
|
1840
|
+
getId: (item: any) => string;
|
|
1841
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1842
|
+
/**
|
|
1843
|
+
* A list of panels. Uses `ListModel`
|
|
1844
|
+
*/
|
|
1845
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1846
|
+
/**
|
|
1847
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1848
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1849
|
+
* state setting phase.
|
|
1850
|
+
*/
|
|
1851
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1852
|
+
hiddenIds: string[];
|
|
1853
|
+
itemSizeCache: Record<string, number>;
|
|
1854
|
+
itemWidthCache: Record<string, number>;
|
|
1855
|
+
containerSize: number;
|
|
1856
|
+
containerWidth: number;
|
|
1857
|
+
containerGap: number;
|
|
1858
|
+
overflowTargetWidth: number;
|
|
1859
|
+
selectedIds: string[] | "all";
|
|
1860
|
+
unselectedIds: string[];
|
|
1861
|
+
cursorId: string;
|
|
1862
|
+
columnCount: number;
|
|
1863
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1864
|
+
cursorIndexRef: {
|
|
1865
|
+
readonly current: number;
|
|
1866
|
+
};
|
|
1867
|
+
UNSTABLE_virtual: {
|
|
1868
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1869
|
+
totalSize: number;
|
|
1870
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1871
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1872
|
+
measure: () => void;
|
|
1873
|
+
};
|
|
1874
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1875
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1876
|
+
id: string;
|
|
1877
|
+
indexRef: React.MutableRefObject<number>;
|
|
1878
|
+
nonInteractiveIds: string[];
|
|
1879
|
+
isVirtualized: boolean;
|
|
1880
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1881
|
+
}) => void) | undefined;
|
|
1882
|
+
onAddItemWidth?: ((data: {
|
|
1883
|
+
id: string;
|
|
1884
|
+
width: number;
|
|
1885
|
+
}, prevState: {
|
|
1886
|
+
getId: (item: any) => string;
|
|
1887
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1888
|
+
/**
|
|
1889
|
+
* A list of panels. Uses `ListModel`
|
|
1890
|
+
*/
|
|
1891
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1892
|
+
/**
|
|
1893
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1894
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1895
|
+
* state setting phase.
|
|
1896
|
+
*/
|
|
1897
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1898
|
+
hiddenIds: string[];
|
|
1899
|
+
itemSizeCache: Record<string, number>;
|
|
1900
|
+
itemWidthCache: Record<string, number>;
|
|
1901
|
+
containerSize: number;
|
|
1902
|
+
containerWidth: number;
|
|
1903
|
+
containerGap: number;
|
|
1904
|
+
overflowTargetWidth: number;
|
|
1905
|
+
selectedIds: string[] | "all";
|
|
1906
|
+
unselectedIds: string[];
|
|
1907
|
+
cursorId: string;
|
|
1908
|
+
columnCount: number;
|
|
1909
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1910
|
+
cursorIndexRef: {
|
|
1911
|
+
readonly current: number;
|
|
1912
|
+
};
|
|
1913
|
+
UNSTABLE_virtual: {
|
|
1914
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1915
|
+
totalSize: number;
|
|
1916
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1917
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1918
|
+
measure: () => void;
|
|
1919
|
+
};
|
|
1920
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1921
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1922
|
+
id: string;
|
|
1923
|
+
indexRef: React.MutableRefObject<number>;
|
|
1924
|
+
nonInteractiveIds: string[];
|
|
1925
|
+
isVirtualized: boolean;
|
|
1926
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1927
|
+
}) => void) | undefined;
|
|
1928
|
+
onAddItemSize?: ((data: {
|
|
1929
|
+
id: string;
|
|
1930
|
+
width: number;
|
|
1931
|
+
height: number;
|
|
1932
|
+
}, prevState: {
|
|
1933
|
+
getId: (item: any) => string;
|
|
1934
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1935
|
+
/**
|
|
1936
|
+
* A list of panels. Uses `ListModel`
|
|
1937
|
+
*/
|
|
1938
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1939
|
+
/**
|
|
1940
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1941
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1942
|
+
* state setting phase.
|
|
1943
|
+
*/
|
|
1944
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1945
|
+
hiddenIds: string[];
|
|
1946
|
+
itemSizeCache: Record<string, number>;
|
|
1947
|
+
itemWidthCache: Record<string, number>;
|
|
1948
|
+
containerSize: number;
|
|
1949
|
+
containerWidth: number;
|
|
1950
|
+
containerGap: number;
|
|
1951
|
+
overflowTargetWidth: number;
|
|
1952
|
+
selectedIds: string[] | "all";
|
|
1953
|
+
unselectedIds: string[];
|
|
1954
|
+
cursorId: string;
|
|
1955
|
+
columnCount: number;
|
|
1956
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1957
|
+
cursorIndexRef: {
|
|
1958
|
+
readonly current: number;
|
|
1959
|
+
};
|
|
1960
|
+
UNSTABLE_virtual: {
|
|
1961
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1962
|
+
totalSize: number;
|
|
1963
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1964
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1965
|
+
measure: () => void;
|
|
1966
|
+
};
|
|
1967
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1968
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1969
|
+
id: string;
|
|
1970
|
+
indexRef: React.MutableRefObject<number>;
|
|
1971
|
+
nonInteractiveIds: string[];
|
|
1972
|
+
isVirtualized: boolean;
|
|
1973
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1974
|
+
}) => void) | undefined;
|
|
1975
|
+
onRemoveItemSize?: ((data: {
|
|
1976
|
+
id: string;
|
|
1977
|
+
}, prevState: {
|
|
1978
|
+
getId: (item: any) => string;
|
|
1979
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1980
|
+
/**
|
|
1981
|
+
* A list of panels. Uses `ListModel`
|
|
1982
|
+
*/
|
|
1983
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1984
|
+
/**
|
|
1985
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1986
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1987
|
+
* state setting phase.
|
|
1988
|
+
*/
|
|
1989
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1990
|
+
hiddenIds: string[];
|
|
1991
|
+
itemSizeCache: Record<string, number>;
|
|
1464
1992
|
itemWidthCache: Record<string, number>;
|
|
1993
|
+
containerSize: number;
|
|
1465
1994
|
containerWidth: number;
|
|
1466
1995
|
containerGap: number;
|
|
1467
1996
|
overflowTargetWidth: number;
|
|
@@ -1488,7 +2017,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1488
2017
|
isVirtualized: boolean;
|
|
1489
2018
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1490
2019
|
}) => void) | undefined;
|
|
1491
|
-
|
|
2020
|
+
onRemoveItemWidth?: ((data: {
|
|
1492
2021
|
id: string;
|
|
1493
2022
|
}, prevState: {
|
|
1494
2023
|
getId: (item: any) => string;
|
|
@@ -1504,7 +2033,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1504
2033
|
*/
|
|
1505
2034
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1506
2035
|
hiddenIds: string[];
|
|
2036
|
+
itemSizeCache: Record<string, number>;
|
|
1507
2037
|
itemWidthCache: Record<string, number>;
|
|
2038
|
+
containerSize: number;
|
|
1508
2039
|
containerWidth: number;
|
|
1509
2040
|
containerGap: number;
|
|
1510
2041
|
overflowTargetWidth: number;
|
|
@@ -1531,7 +2062,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1531
2062
|
isVirtualized: boolean;
|
|
1532
2063
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1533
2064
|
}) => void) | undefined;
|
|
1534
|
-
|
|
2065
|
+
onAddHiddenKey?: ((data: {
|
|
1535
2066
|
id: string;
|
|
1536
2067
|
}, prevState: {
|
|
1537
2068
|
getId: (item: any) => string;
|
|
@@ -1547,7 +2078,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1547
2078
|
*/
|
|
1548
2079
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1549
2080
|
hiddenIds: string[];
|
|
2081
|
+
itemSizeCache: Record<string, number>;
|
|
1550
2082
|
itemWidthCache: Record<string, number>;
|
|
2083
|
+
containerSize: number;
|
|
1551
2084
|
containerWidth: number;
|
|
1552
2085
|
containerGap: number;
|
|
1553
2086
|
overflowTargetWidth: number;
|
|
@@ -1574,8 +2107,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1574
2107
|
isVirtualized: boolean;
|
|
1575
2108
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1576
2109
|
}) => void) | undefined;
|
|
1577
|
-
|
|
1578
|
-
|
|
2110
|
+
onRemoveHiddenKey?: ((data: {
|
|
2111
|
+
id: string;
|
|
1579
2112
|
}, prevState: {
|
|
1580
2113
|
getId: (item: any) => string;
|
|
1581
2114
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -1590,7 +2123,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1590
2123
|
*/
|
|
1591
2124
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1592
2125
|
hiddenIds: string[];
|
|
2126
|
+
itemSizeCache: Record<string, number>;
|
|
1593
2127
|
itemWidthCache: Record<string, number>;
|
|
2128
|
+
containerSize: number;
|
|
1594
2129
|
containerWidth: number;
|
|
1595
2130
|
containerGap: number;
|
|
1596
2131
|
overflowTargetWidth: number;
|
|
@@ -1617,9 +2152,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1617
2152
|
isVirtualized: boolean;
|
|
1618
2153
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1619
2154
|
}) => void) | undefined;
|
|
1620
|
-
|
|
1621
|
-
size: number;
|
|
1622
|
-
}, prevState: {
|
|
2155
|
+
onSelectAll?: ((data: undefined, prevState: {
|
|
1623
2156
|
getId: (item: any) => string;
|
|
1624
2157
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1625
2158
|
/**
|
|
@@ -1633,7 +2166,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1633
2166
|
*/
|
|
1634
2167
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1635
2168
|
hiddenIds: string[];
|
|
2169
|
+
itemSizeCache: Record<string, number>;
|
|
1636
2170
|
itemWidthCache: Record<string, number>;
|
|
2171
|
+
containerSize: number;
|
|
1637
2172
|
containerWidth: number;
|
|
1638
2173
|
containerGap: number;
|
|
1639
2174
|
overflowTargetWidth: number;
|
|
@@ -1660,9 +2195,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1660
2195
|
isVirtualized: boolean;
|
|
1661
2196
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1662
2197
|
}) => void) | undefined;
|
|
1663
|
-
|
|
1664
|
-
width: number;
|
|
1665
|
-
}, prevState: {
|
|
2198
|
+
onUnselectAll?: ((data: undefined, prevState: {
|
|
1666
2199
|
getId: (item: any) => string;
|
|
1667
2200
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1668
2201
|
/**
|
|
@@ -1676,7 +2209,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1676
2209
|
*/
|
|
1677
2210
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1678
2211
|
hiddenIds: string[];
|
|
2212
|
+
itemSizeCache: Record<string, number>;
|
|
1679
2213
|
itemWidthCache: Record<string, number>;
|
|
2214
|
+
containerSize: number;
|
|
1680
2215
|
containerWidth: number;
|
|
1681
2216
|
containerGap: number;
|
|
1682
2217
|
overflowTargetWidth: number;
|
|
@@ -1703,10 +2238,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1703
2238
|
isVirtualized: boolean;
|
|
1704
2239
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1705
2240
|
}) => void) | undefined;
|
|
1706
|
-
|
|
1707
|
-
id: string;
|
|
1708
|
-
width: number;
|
|
1709
|
-
}, prevState: {
|
|
2241
|
+
onSetSelectedIds?: ((data: string[] | "all", prevState: {
|
|
1710
2242
|
getId: (item: any) => string;
|
|
1711
2243
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1712
2244
|
/**
|
|
@@ -1720,7 +2252,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1720
2252
|
*/
|
|
1721
2253
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1722
2254
|
hiddenIds: string[];
|
|
2255
|
+
itemSizeCache: Record<string, number>;
|
|
1723
2256
|
itemWidthCache: Record<string, number>;
|
|
2257
|
+
containerSize: number;
|
|
1724
2258
|
containerWidth: number;
|
|
1725
2259
|
containerGap: number;
|
|
1726
2260
|
overflowTargetWidth: number;
|
|
@@ -1747,8 +2281,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1747
2281
|
isVirtualized: boolean;
|
|
1748
2282
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1749
2283
|
}) => void) | undefined;
|
|
1750
|
-
|
|
2284
|
+
onRemove?: ((data: {
|
|
1751
2285
|
id: string;
|
|
2286
|
+
nextId?: string | undefined;
|
|
2287
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
1752
2288
|
}, prevState: {
|
|
1753
2289
|
getId: (item: any) => string;
|
|
1754
2290
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -1763,7 +2299,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1763
2299
|
*/
|
|
1764
2300
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1765
2301
|
hiddenIds: string[];
|
|
2302
|
+
itemSizeCache: Record<string, number>;
|
|
1766
2303
|
itemWidthCache: Record<string, number>;
|
|
2304
|
+
containerSize: number;
|
|
1767
2305
|
containerWidth: number;
|
|
1768
2306
|
containerGap: number;
|
|
1769
2307
|
overflowTargetWidth: number;
|
|
@@ -1790,7 +2328,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1790
2328
|
isVirtualized: boolean;
|
|
1791
2329
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1792
2330
|
}) => void) | undefined;
|
|
1793
|
-
|
|
2331
|
+
onGoTo?: ((data: {
|
|
1794
2332
|
id: string;
|
|
1795
2333
|
}, prevState: {
|
|
1796
2334
|
getId: (item: any) => string;
|
|
@@ -1806,7 +2344,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1806
2344
|
*/
|
|
1807
2345
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1808
2346
|
hiddenIds: string[];
|
|
2347
|
+
itemSizeCache: Record<string, number>;
|
|
1809
2348
|
itemWidthCache: Record<string, number>;
|
|
2349
|
+
containerSize: number;
|
|
1810
2350
|
containerWidth: number;
|
|
1811
2351
|
containerGap: number;
|
|
1812
2352
|
overflowTargetWidth: number;
|
|
@@ -1833,9 +2373,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1833
2373
|
isVirtualized: boolean;
|
|
1834
2374
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1835
2375
|
}) => void) | undefined;
|
|
1836
|
-
|
|
1837
|
-
id: string;
|
|
1838
|
-
}, prevState: {
|
|
2376
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
1839
2377
|
getId: (item: any) => string;
|
|
1840
2378
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1841
2379
|
/**
|
|
@@ -1849,7 +2387,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1849
2387
|
*/
|
|
1850
2388
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1851
2389
|
hiddenIds: string[];
|
|
2390
|
+
itemSizeCache: Record<string, number>;
|
|
1852
2391
|
itemWidthCache: Record<string, number>;
|
|
2392
|
+
containerSize: number;
|
|
1853
2393
|
containerWidth: number;
|
|
1854
2394
|
containerGap: number;
|
|
1855
2395
|
overflowTargetWidth: number;
|
|
@@ -1876,7 +2416,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1876
2416
|
isVirtualized: boolean;
|
|
1877
2417
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1878
2418
|
}) => void) | undefined;
|
|
1879
|
-
|
|
2419
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
1880
2420
|
getId: (item: any) => string;
|
|
1881
2421
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1882
2422
|
/**
|
|
@@ -1890,7 +2430,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1890
2430
|
*/
|
|
1891
2431
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1892
2432
|
hiddenIds: string[];
|
|
2433
|
+
itemSizeCache: Record<string, number>;
|
|
1893
2434
|
itemWidthCache: Record<string, number>;
|
|
2435
|
+
containerSize: number;
|
|
1894
2436
|
containerWidth: number;
|
|
1895
2437
|
containerGap: number;
|
|
1896
2438
|
overflowTargetWidth: number;
|
|
@@ -1917,7 +2459,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1917
2459
|
isVirtualized: boolean;
|
|
1918
2460
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1919
2461
|
}) => void) | undefined;
|
|
1920
|
-
|
|
2462
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
1921
2463
|
getId: (item: any) => string;
|
|
1922
2464
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1923
2465
|
/**
|
|
@@ -1931,7 +2473,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1931
2473
|
*/
|
|
1932
2474
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1933
2475
|
hiddenIds: string[];
|
|
2476
|
+
itemSizeCache: Record<string, number>;
|
|
1934
2477
|
itemWidthCache: Record<string, number>;
|
|
2478
|
+
containerSize: number;
|
|
1935
2479
|
containerWidth: number;
|
|
1936
2480
|
containerGap: number;
|
|
1937
2481
|
overflowTargetWidth: number;
|
|
@@ -1958,7 +2502,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1958
2502
|
isVirtualized: boolean;
|
|
1959
2503
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1960
2504
|
}) => void) | undefined;
|
|
1961
|
-
|
|
2505
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
1962
2506
|
getId: (item: any) => string;
|
|
1963
2507
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1964
2508
|
/**
|
|
@@ -1972,7 +2516,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1972
2516
|
*/
|
|
1973
2517
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1974
2518
|
hiddenIds: string[];
|
|
2519
|
+
itemSizeCache: Record<string, number>;
|
|
1975
2520
|
itemWidthCache: Record<string, number>;
|
|
2521
|
+
containerSize: number;
|
|
1976
2522
|
containerWidth: number;
|
|
1977
2523
|
containerGap: number;
|
|
1978
2524
|
overflowTargetWidth: number;
|
|
@@ -1999,9 +2545,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1999
2545
|
isVirtualized: boolean;
|
|
2000
2546
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2001
2547
|
}) => void) | undefined;
|
|
2002
|
-
|
|
2003
|
-
id: string;
|
|
2004
|
-
}, prevState: {
|
|
2548
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
2005
2549
|
getId: (item: any) => string;
|
|
2006
2550
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2007
2551
|
/**
|
|
@@ -2015,7 +2559,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2015
2559
|
*/
|
|
2016
2560
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2017
2561
|
hiddenIds: string[];
|
|
2562
|
+
itemSizeCache: Record<string, number>;
|
|
2018
2563
|
itemWidthCache: Record<string, number>;
|
|
2564
|
+
containerSize: number;
|
|
2019
2565
|
containerWidth: number;
|
|
2020
2566
|
containerGap: number;
|
|
2021
2567
|
overflowTargetWidth: number;
|
|
@@ -2042,7 +2588,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2042
2588
|
isVirtualized: boolean;
|
|
2043
2589
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2044
2590
|
}) => void) | undefined;
|
|
2045
|
-
|
|
2591
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
2046
2592
|
getId: (item: any) => string;
|
|
2047
2593
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2048
2594
|
/**
|
|
@@ -2056,7 +2602,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2056
2602
|
*/
|
|
2057
2603
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2058
2604
|
hiddenIds: string[];
|
|
2605
|
+
itemSizeCache: Record<string, number>;
|
|
2059
2606
|
itemWidthCache: Record<string, number>;
|
|
2607
|
+
containerSize: number;
|
|
2060
2608
|
containerWidth: number;
|
|
2061
2609
|
containerGap: number;
|
|
2062
2610
|
overflowTargetWidth: number;
|
|
@@ -2083,7 +2631,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2083
2631
|
isVirtualized: boolean;
|
|
2084
2632
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2085
2633
|
}) => void) | undefined;
|
|
2086
|
-
|
|
2634
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
2087
2635
|
getId: (item: any) => string;
|
|
2088
2636
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2089
2637
|
/**
|
|
@@ -2097,7 +2645,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2097
2645
|
*/
|
|
2098
2646
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2099
2647
|
hiddenIds: string[];
|
|
2648
|
+
itemSizeCache: Record<string, number>;
|
|
2100
2649
|
itemWidthCache: Record<string, number>;
|
|
2650
|
+
containerSize: number;
|
|
2101
2651
|
containerWidth: number;
|
|
2102
2652
|
containerGap: number;
|
|
2103
2653
|
overflowTargetWidth: number;
|
|
@@ -2124,7 +2674,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2124
2674
|
isVirtualized: boolean;
|
|
2125
2675
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2126
2676
|
}) => void) | undefined;
|
|
2127
|
-
|
|
2677
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
2128
2678
|
getId: (item: any) => string;
|
|
2129
2679
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2130
2680
|
/**
|
|
@@ -2138,7 +2688,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2138
2688
|
*/
|
|
2139
2689
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2140
2690
|
hiddenIds: string[];
|
|
2691
|
+
itemSizeCache: Record<string, number>;
|
|
2141
2692
|
itemWidthCache: Record<string, number>;
|
|
2693
|
+
containerSize: number;
|
|
2142
2694
|
containerWidth: number;
|
|
2143
2695
|
containerGap: number;
|
|
2144
2696
|
overflowTargetWidth: number;
|
|
@@ -2165,7 +2717,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2165
2717
|
isVirtualized: boolean;
|
|
2166
2718
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2167
2719
|
}) => void) | undefined;
|
|
2168
|
-
|
|
2720
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
2169
2721
|
getId: (item: any) => string;
|
|
2170
2722
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2171
2723
|
/**
|
|
@@ -2179,7 +2731,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2179
2731
|
*/
|
|
2180
2732
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2181
2733
|
hiddenIds: string[];
|
|
2734
|
+
itemSizeCache: Record<string, number>;
|
|
2182
2735
|
itemWidthCache: Record<string, number>;
|
|
2736
|
+
containerSize: number;
|
|
2183
2737
|
containerWidth: number;
|
|
2184
2738
|
containerGap: number;
|
|
2185
2739
|
overflowTargetWidth: number;
|
|
@@ -2206,7 +2760,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2206
2760
|
isVirtualized: boolean;
|
|
2207
2761
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2208
2762
|
}) => void) | undefined;
|
|
2209
|
-
|
|
2763
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
2210
2764
|
getId: (item: any) => string;
|
|
2211
2765
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2212
2766
|
/**
|
|
@@ -2220,7 +2774,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2220
2774
|
*/
|
|
2221
2775
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2222
2776
|
hiddenIds: string[];
|
|
2777
|
+
itemSizeCache: Record<string, number>;
|
|
2223
2778
|
itemWidthCache: Record<string, number>;
|
|
2779
|
+
containerSize: number;
|
|
2224
2780
|
containerWidth: number;
|
|
2225
2781
|
containerGap: number;
|
|
2226
2782
|
overflowTargetWidth: number;
|
|
@@ -2247,7 +2803,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2247
2803
|
isVirtualized: boolean;
|
|
2248
2804
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2249
2805
|
}) => void) | undefined;
|
|
2250
|
-
|
|
2806
|
+
onRegisterItem?: ((data: {
|
|
2807
|
+
item: any;
|
|
2808
|
+
textValue: string;
|
|
2809
|
+
}, prevState: {
|
|
2251
2810
|
getId: (item: any) => string;
|
|
2252
2811
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2253
2812
|
/**
|
|
@@ -2261,7 +2820,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2261
2820
|
*/
|
|
2262
2821
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2263
2822
|
hiddenIds: string[];
|
|
2823
|
+
itemSizeCache: Record<string, number>;
|
|
2264
2824
|
itemWidthCache: Record<string, number>;
|
|
2825
|
+
containerSize: number;
|
|
2265
2826
|
containerWidth: number;
|
|
2266
2827
|
containerGap: number;
|
|
2267
2828
|
overflowTargetWidth: number;
|
|
@@ -2288,7 +2849,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2288
2849
|
isVirtualized: boolean;
|
|
2289
2850
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2290
2851
|
}) => void) | undefined;
|
|
2291
|
-
|
|
2852
|
+
onUnregisterItem?: ((data: {
|
|
2853
|
+
id: string;
|
|
2854
|
+
}, prevState: {
|
|
2292
2855
|
getId: (item: any) => string;
|
|
2293
2856
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2294
2857
|
/**
|
|
@@ -2302,7 +2865,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2302
2865
|
*/
|
|
2303
2866
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2304
2867
|
hiddenIds: string[];
|
|
2868
|
+
itemSizeCache: Record<string, number>;
|
|
2305
2869
|
itemWidthCache: Record<string, number>;
|
|
2870
|
+
containerSize: number;
|
|
2306
2871
|
containerWidth: number;
|
|
2307
2872
|
containerGap: number;
|
|
2308
2873
|
overflowTargetWidth: number;
|
|
@@ -2329,7 +2894,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2329
2894
|
isVirtualized: boolean;
|
|
2330
2895
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2331
2896
|
}) => void) | undefined;
|
|
2332
|
-
|
|
2897
|
+
onUpdateItemHeight?: ((data: {
|
|
2898
|
+
value: number;
|
|
2899
|
+
}, prevState: {
|
|
2333
2900
|
getId: (item: any) => string;
|
|
2334
2901
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2335
2902
|
/**
|
|
@@ -2343,7 +2910,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2343
2910
|
*/
|
|
2344
2911
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2345
2912
|
hiddenIds: string[];
|
|
2913
|
+
itemSizeCache: Record<string, number>;
|
|
2346
2914
|
itemWidthCache: Record<string, number>;
|
|
2915
|
+
containerSize: number;
|
|
2347
2916
|
containerWidth: number;
|
|
2348
2917
|
containerGap: number;
|
|
2349
2918
|
overflowTargetWidth: number;
|
|
@@ -2370,7 +2939,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2370
2939
|
isVirtualized: boolean;
|
|
2371
2940
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2372
2941
|
}) => void) | undefined;
|
|
2373
|
-
|
|
2942
|
+
} & {
|
|
2943
|
+
shouldRegisterPanel?: ((data: {
|
|
2944
|
+
item: any;
|
|
2945
|
+
textValue: string;
|
|
2946
|
+
}, state: {
|
|
2374
2947
|
getId: (item: any) => string;
|
|
2375
2948
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2376
2949
|
/**
|
|
@@ -2384,7 +2957,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2384
2957
|
*/
|
|
2385
2958
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2386
2959
|
hiddenIds: string[];
|
|
2960
|
+
itemSizeCache: Record<string, number>;
|
|
2387
2961
|
itemWidthCache: Record<string, number>;
|
|
2962
|
+
containerSize: number;
|
|
2388
2963
|
containerWidth: number;
|
|
2389
2964
|
containerGap: number;
|
|
2390
2965
|
overflowTargetWidth: number;
|
|
@@ -2410,8 +2985,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2410
2985
|
nonInteractiveIds: string[];
|
|
2411
2986
|
isVirtualized: boolean;
|
|
2412
2987
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2413
|
-
}) =>
|
|
2414
|
-
|
|
2988
|
+
}) => boolean) | undefined;
|
|
2989
|
+
shouldUnregisterPanel?: ((data: {
|
|
2990
|
+
id: string;
|
|
2991
|
+
}, state: {
|
|
2415
2992
|
getId: (item: any) => string;
|
|
2416
2993
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2417
2994
|
/**
|
|
@@ -2425,7 +3002,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2425
3002
|
*/
|
|
2426
3003
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2427
3004
|
hiddenIds: string[];
|
|
3005
|
+
itemSizeCache: Record<string, number>;
|
|
2428
3006
|
itemWidthCache: Record<string, number>;
|
|
3007
|
+
containerSize: number;
|
|
2429
3008
|
containerWidth: number;
|
|
2430
3009
|
containerGap: number;
|
|
2431
3010
|
overflowTargetWidth: number;
|
|
@@ -2451,11 +3030,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2451
3030
|
nonInteractiveIds: string[];
|
|
2452
3031
|
isVirtualized: boolean;
|
|
2453
3032
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2454
|
-
}) =>
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
}, prevState: {
|
|
3033
|
+
}) => boolean) | undefined;
|
|
3034
|
+
shouldSelect?: ((data: {
|
|
3035
|
+
id: string;
|
|
3036
|
+
}, state: {
|
|
2459
3037
|
getId: (item: any) => string;
|
|
2460
3038
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2461
3039
|
/**
|
|
@@ -2469,7 +3047,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2469
3047
|
*/
|
|
2470
3048
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2471
3049
|
hiddenIds: string[];
|
|
3050
|
+
itemSizeCache: Record<string, number>;
|
|
2472
3051
|
itemWidthCache: Record<string, number>;
|
|
3052
|
+
containerSize: number;
|
|
2473
3053
|
containerWidth: number;
|
|
2474
3054
|
containerGap: number;
|
|
2475
3055
|
overflowTargetWidth: number;
|
|
@@ -2495,10 +3075,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2495
3075
|
nonInteractiveIds: string[];
|
|
2496
3076
|
isVirtualized: boolean;
|
|
2497
3077
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2498
|
-
}) =>
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
3078
|
+
}) => boolean) | undefined;
|
|
3079
|
+
shouldSetContainerSize?: ((data: {
|
|
3080
|
+
width?: number | undefined;
|
|
3081
|
+
height?: number | undefined;
|
|
3082
|
+
}, state: {
|
|
2502
3083
|
getId: (item: any) => string;
|
|
2503
3084
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2504
3085
|
/**
|
|
@@ -2512,7 +3093,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2512
3093
|
*/
|
|
2513
3094
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2514
3095
|
hiddenIds: string[];
|
|
3096
|
+
itemSizeCache: Record<string, number>;
|
|
2515
3097
|
itemWidthCache: Record<string, number>;
|
|
3098
|
+
containerSize: number;
|
|
2516
3099
|
containerWidth: number;
|
|
2517
3100
|
containerGap: number;
|
|
2518
3101
|
overflowTargetWidth: number;
|
|
@@ -2538,10 +3121,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2538
3121
|
nonInteractiveIds: string[];
|
|
2539
3122
|
isVirtualized: boolean;
|
|
2540
3123
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2541
|
-
}) =>
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
},
|
|
3124
|
+
}) => boolean) | undefined;
|
|
3125
|
+
shouldSetContainerWidth?: ((data: {
|
|
3126
|
+
width?: number | undefined;
|
|
3127
|
+
}, state: {
|
|
2545
3128
|
getId: (item: any) => string;
|
|
2546
3129
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2547
3130
|
/**
|
|
@@ -2555,7 +3138,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2555
3138
|
*/
|
|
2556
3139
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2557
3140
|
hiddenIds: string[];
|
|
3141
|
+
itemSizeCache: Record<string, number>;
|
|
2558
3142
|
itemWidthCache: Record<string, number>;
|
|
3143
|
+
containerSize: number;
|
|
2559
3144
|
containerWidth: number;
|
|
2560
3145
|
containerGap: number;
|
|
2561
3146
|
overflowTargetWidth: number;
|
|
@@ -2581,11 +3166,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2581
3166
|
nonInteractiveIds: string[];
|
|
2582
3167
|
isVirtualized: boolean;
|
|
2583
3168
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2584
|
-
}) =>
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
item: any;
|
|
2588
|
-
textValue: string;
|
|
3169
|
+
}) => boolean) | undefined;
|
|
3170
|
+
shouldSetContainerGap?: ((data: {
|
|
3171
|
+
size: number;
|
|
2589
3172
|
}, state: {
|
|
2590
3173
|
getId: (item: any) => string;
|
|
2591
3174
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2600,7 +3183,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2600
3183
|
*/
|
|
2601
3184
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2602
3185
|
hiddenIds: string[];
|
|
3186
|
+
itemSizeCache: Record<string, number>;
|
|
2603
3187
|
itemWidthCache: Record<string, number>;
|
|
3188
|
+
containerSize: number;
|
|
2604
3189
|
containerWidth: number;
|
|
2605
3190
|
containerGap: number;
|
|
2606
3191
|
overflowTargetWidth: number;
|
|
@@ -2627,8 +3212,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2627
3212
|
isVirtualized: boolean;
|
|
2628
3213
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2629
3214
|
}) => boolean) | undefined;
|
|
2630
|
-
|
|
2631
|
-
|
|
3215
|
+
shouldSetOverflowTargetSize?: ((data: {
|
|
3216
|
+
width: number;
|
|
3217
|
+
height: number;
|
|
2632
3218
|
}, state: {
|
|
2633
3219
|
getId: (item: any) => string;
|
|
2634
3220
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2643,7 +3229,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2643
3229
|
*/
|
|
2644
3230
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2645
3231
|
hiddenIds: string[];
|
|
3232
|
+
itemSizeCache: Record<string, number>;
|
|
2646
3233
|
itemWidthCache: Record<string, number>;
|
|
3234
|
+
containerSize: number;
|
|
2647
3235
|
containerWidth: number;
|
|
2648
3236
|
containerGap: number;
|
|
2649
3237
|
overflowTargetWidth: number;
|
|
@@ -2670,8 +3258,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2670
3258
|
isVirtualized: boolean;
|
|
2671
3259
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2672
3260
|
}) => boolean) | undefined;
|
|
2673
|
-
|
|
2674
|
-
|
|
3261
|
+
shouldSetOverflowTargetWidth?: ((data: {
|
|
3262
|
+
width: number;
|
|
2675
3263
|
}, state: {
|
|
2676
3264
|
getId: (item: any) => string;
|
|
2677
3265
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2686,7 +3274,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2686
3274
|
*/
|
|
2687
3275
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2688
3276
|
hiddenIds: string[];
|
|
3277
|
+
itemSizeCache: Record<string, number>;
|
|
2689
3278
|
itemWidthCache: Record<string, number>;
|
|
3279
|
+
containerSize: number;
|
|
2690
3280
|
containerWidth: number;
|
|
2691
3281
|
containerGap: number;
|
|
2692
3282
|
overflowTargetWidth: number;
|
|
@@ -2713,8 +3303,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2713
3303
|
isVirtualized: boolean;
|
|
2714
3304
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2715
3305
|
}) => boolean) | undefined;
|
|
2716
|
-
|
|
2717
|
-
|
|
3306
|
+
shouldAddItemWidth?: ((data: {
|
|
3307
|
+
id: string;
|
|
3308
|
+
width: number;
|
|
2718
3309
|
}, state: {
|
|
2719
3310
|
getId: (item: any) => string;
|
|
2720
3311
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2729,7 +3320,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2729
3320
|
*/
|
|
2730
3321
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2731
3322
|
hiddenIds: string[];
|
|
3323
|
+
itemSizeCache: Record<string, number>;
|
|
2732
3324
|
itemWidthCache: Record<string, number>;
|
|
3325
|
+
containerSize: number;
|
|
2733
3326
|
containerWidth: number;
|
|
2734
3327
|
containerGap: number;
|
|
2735
3328
|
overflowTargetWidth: number;
|
|
@@ -2756,8 +3349,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2756
3349
|
isVirtualized: boolean;
|
|
2757
3350
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2758
3351
|
}) => boolean) | undefined;
|
|
2759
|
-
|
|
2760
|
-
|
|
3352
|
+
shouldAddItemSize?: ((data: {
|
|
3353
|
+
id: string;
|
|
3354
|
+
width: number;
|
|
3355
|
+
height: number;
|
|
2761
3356
|
}, state: {
|
|
2762
3357
|
getId: (item: any) => string;
|
|
2763
3358
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2772,7 +3367,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2772
3367
|
*/
|
|
2773
3368
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2774
3369
|
hiddenIds: string[];
|
|
3370
|
+
itemSizeCache: Record<string, number>;
|
|
2775
3371
|
itemWidthCache: Record<string, number>;
|
|
3372
|
+
containerSize: number;
|
|
2776
3373
|
containerWidth: number;
|
|
2777
3374
|
containerGap: number;
|
|
2778
3375
|
overflowTargetWidth: number;
|
|
@@ -2799,8 +3396,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2799
3396
|
isVirtualized: boolean;
|
|
2800
3397
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2801
3398
|
}) => boolean) | undefined;
|
|
2802
|
-
|
|
2803
|
-
|
|
3399
|
+
shouldRemoveItemSize?: ((data: {
|
|
3400
|
+
id: string;
|
|
2804
3401
|
}, state: {
|
|
2805
3402
|
getId: (item: any) => string;
|
|
2806
3403
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2815,7 +3412,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2815
3412
|
*/
|
|
2816
3413
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2817
3414
|
hiddenIds: string[];
|
|
3415
|
+
itemSizeCache: Record<string, number>;
|
|
2818
3416
|
itemWidthCache: Record<string, number>;
|
|
3417
|
+
containerSize: number;
|
|
2819
3418
|
containerWidth: number;
|
|
2820
3419
|
containerGap: number;
|
|
2821
3420
|
overflowTargetWidth: number;
|
|
@@ -2842,9 +3441,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2842
3441
|
isVirtualized: boolean;
|
|
2843
3442
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2844
3443
|
}) => boolean) | undefined;
|
|
2845
|
-
|
|
3444
|
+
shouldRemoveItemWidth?: ((data: {
|
|
2846
3445
|
id: string;
|
|
2847
|
-
width: number;
|
|
2848
3446
|
}, state: {
|
|
2849
3447
|
getId: (item: any) => string;
|
|
2850
3448
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2859,7 +3457,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2859
3457
|
*/
|
|
2860
3458
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2861
3459
|
hiddenIds: string[];
|
|
3460
|
+
itemSizeCache: Record<string, number>;
|
|
2862
3461
|
itemWidthCache: Record<string, number>;
|
|
3462
|
+
containerSize: number;
|
|
2863
3463
|
containerWidth: number;
|
|
2864
3464
|
containerGap: number;
|
|
2865
3465
|
overflowTargetWidth: number;
|
|
@@ -2886,7 +3486,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2886
3486
|
isVirtualized: boolean;
|
|
2887
3487
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2888
3488
|
}) => boolean) | undefined;
|
|
2889
|
-
|
|
3489
|
+
shouldAddHiddenKey?: ((data: {
|
|
2890
3490
|
id: string;
|
|
2891
3491
|
}, state: {
|
|
2892
3492
|
getId: (item: any) => string;
|
|
@@ -2902,7 +3502,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2902
3502
|
*/
|
|
2903
3503
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2904
3504
|
hiddenIds: string[];
|
|
3505
|
+
itemSizeCache: Record<string, number>;
|
|
2905
3506
|
itemWidthCache: Record<string, number>;
|
|
3507
|
+
containerSize: number;
|
|
2906
3508
|
containerWidth: number;
|
|
2907
3509
|
containerGap: number;
|
|
2908
3510
|
overflowTargetWidth: number;
|
|
@@ -2929,7 +3531,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2929
3531
|
isVirtualized: boolean;
|
|
2930
3532
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2931
3533
|
}) => boolean) | undefined;
|
|
2932
|
-
|
|
3534
|
+
shouldRemoveHiddenKey?: ((data: {
|
|
2933
3535
|
id: string;
|
|
2934
3536
|
}, state: {
|
|
2935
3537
|
getId: (item: any) => string;
|
|
@@ -2945,7 +3547,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2945
3547
|
*/
|
|
2946
3548
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2947
3549
|
hiddenIds: string[];
|
|
3550
|
+
itemSizeCache: Record<string, number>;
|
|
2948
3551
|
itemWidthCache: Record<string, number>;
|
|
3552
|
+
containerSize: number;
|
|
2949
3553
|
containerWidth: number;
|
|
2950
3554
|
containerGap: number;
|
|
2951
3555
|
overflowTargetWidth: number;
|
|
@@ -2972,9 +3576,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2972
3576
|
isVirtualized: boolean;
|
|
2973
3577
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2974
3578
|
}) => boolean) | undefined;
|
|
2975
|
-
|
|
2976
|
-
id: string;
|
|
2977
|
-
}, state: {
|
|
3579
|
+
shouldSelectAll?: ((data: undefined, state: {
|
|
2978
3580
|
getId: (item: any) => string;
|
|
2979
3581
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2980
3582
|
/**
|
|
@@ -2988,7 +3590,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2988
3590
|
*/
|
|
2989
3591
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2990
3592
|
hiddenIds: string[];
|
|
3593
|
+
itemSizeCache: Record<string, number>;
|
|
2991
3594
|
itemWidthCache: Record<string, number>;
|
|
3595
|
+
containerSize: number;
|
|
2992
3596
|
containerWidth: number;
|
|
2993
3597
|
containerGap: number;
|
|
2994
3598
|
overflowTargetWidth: number;
|
|
@@ -3015,7 +3619,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3015
3619
|
isVirtualized: boolean;
|
|
3016
3620
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3017
3621
|
}) => boolean) | undefined;
|
|
3018
|
-
|
|
3622
|
+
shouldUnselectAll?: ((data: undefined, state: {
|
|
3019
3623
|
getId: (item: any) => string;
|
|
3020
3624
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3021
3625
|
/**
|
|
@@ -3029,7 +3633,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3029
3633
|
*/
|
|
3030
3634
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3031
3635
|
hiddenIds: string[];
|
|
3636
|
+
itemSizeCache: Record<string, number>;
|
|
3032
3637
|
itemWidthCache: Record<string, number>;
|
|
3638
|
+
containerSize: number;
|
|
3033
3639
|
containerWidth: number;
|
|
3034
3640
|
containerGap: number;
|
|
3035
3641
|
overflowTargetWidth: number;
|
|
@@ -3056,7 +3662,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3056
3662
|
isVirtualized: boolean;
|
|
3057
3663
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3058
3664
|
}) => boolean) | undefined;
|
|
3059
|
-
|
|
3665
|
+
shouldSetSelectedIds?: ((data: string[] | "all", state: {
|
|
3060
3666
|
getId: (item: any) => string;
|
|
3061
3667
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3062
3668
|
/**
|
|
@@ -3070,7 +3676,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3070
3676
|
*/
|
|
3071
3677
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3072
3678
|
hiddenIds: string[];
|
|
3679
|
+
itemSizeCache: Record<string, number>;
|
|
3073
3680
|
itemWidthCache: Record<string, number>;
|
|
3681
|
+
containerSize: number;
|
|
3074
3682
|
containerWidth: number;
|
|
3075
3683
|
containerGap: number;
|
|
3076
3684
|
overflowTargetWidth: number;
|
|
@@ -3097,7 +3705,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3097
3705
|
isVirtualized: boolean;
|
|
3098
3706
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3099
3707
|
}) => boolean) | undefined;
|
|
3100
|
-
|
|
3708
|
+
shouldRemove?: ((data: {
|
|
3709
|
+
id: string;
|
|
3710
|
+
nextId?: string | undefined;
|
|
3711
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
3712
|
+
}, state: {
|
|
3101
3713
|
getId: (item: any) => string;
|
|
3102
3714
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3103
3715
|
/**
|
|
@@ -3111,7 +3723,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3111
3723
|
*/
|
|
3112
3724
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3113
3725
|
hiddenIds: string[];
|
|
3726
|
+
itemSizeCache: Record<string, number>;
|
|
3114
3727
|
itemWidthCache: Record<string, number>;
|
|
3728
|
+
containerSize: number;
|
|
3115
3729
|
containerWidth: number;
|
|
3116
3730
|
containerGap: number;
|
|
3117
3731
|
overflowTargetWidth: number;
|
|
@@ -3154,7 +3768,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3154
3768
|
*/
|
|
3155
3769
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3156
3770
|
hiddenIds: string[];
|
|
3771
|
+
itemSizeCache: Record<string, number>;
|
|
3157
3772
|
itemWidthCache: Record<string, number>;
|
|
3773
|
+
containerSize: number;
|
|
3158
3774
|
containerWidth: number;
|
|
3159
3775
|
containerGap: number;
|
|
3160
3776
|
overflowTargetWidth: number;
|
|
@@ -3195,7 +3811,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3195
3811
|
*/
|
|
3196
3812
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3197
3813
|
hiddenIds: string[];
|
|
3814
|
+
itemSizeCache: Record<string, number>;
|
|
3198
3815
|
itemWidthCache: Record<string, number>;
|
|
3816
|
+
containerSize: number;
|
|
3199
3817
|
containerWidth: number;
|
|
3200
3818
|
containerGap: number;
|
|
3201
3819
|
overflowTargetWidth: number;
|
|
@@ -3236,7 +3854,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3236
3854
|
*/
|
|
3237
3855
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3238
3856
|
hiddenIds: string[];
|
|
3857
|
+
itemSizeCache: Record<string, number>;
|
|
3239
3858
|
itemWidthCache: Record<string, number>;
|
|
3859
|
+
containerSize: number;
|
|
3240
3860
|
containerWidth: number;
|
|
3241
3861
|
containerGap: number;
|
|
3242
3862
|
overflowTargetWidth: number;
|
|
@@ -3277,7 +3897,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3277
3897
|
*/
|
|
3278
3898
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3279
3899
|
hiddenIds: string[];
|
|
3900
|
+
itemSizeCache: Record<string, number>;
|
|
3280
3901
|
itemWidthCache: Record<string, number>;
|
|
3902
|
+
containerSize: number;
|
|
3281
3903
|
containerWidth: number;
|
|
3282
3904
|
containerGap: number;
|
|
3283
3905
|
overflowTargetWidth: number;
|
|
@@ -3318,7 +3940,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3318
3940
|
*/
|
|
3319
3941
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3320
3942
|
hiddenIds: string[];
|
|
3943
|
+
itemSizeCache: Record<string, number>;
|
|
3321
3944
|
itemWidthCache: Record<string, number>;
|
|
3945
|
+
containerSize: number;
|
|
3322
3946
|
containerWidth: number;
|
|
3323
3947
|
containerGap: number;
|
|
3324
3948
|
overflowTargetWidth: number;
|
|
@@ -3359,7 +3983,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3359
3983
|
*/
|
|
3360
3984
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3361
3985
|
hiddenIds: string[];
|
|
3986
|
+
itemSizeCache: Record<string, number>;
|
|
3362
3987
|
itemWidthCache: Record<string, number>;
|
|
3988
|
+
containerSize: number;
|
|
3363
3989
|
containerWidth: number;
|
|
3364
3990
|
containerGap: number;
|
|
3365
3991
|
overflowTargetWidth: number;
|
|
@@ -3400,7 +4026,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3400
4026
|
*/
|
|
3401
4027
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3402
4028
|
hiddenIds: string[];
|
|
4029
|
+
itemSizeCache: Record<string, number>;
|
|
3403
4030
|
itemWidthCache: Record<string, number>;
|
|
4031
|
+
containerSize: number;
|
|
3404
4032
|
containerWidth: number;
|
|
3405
4033
|
containerGap: number;
|
|
3406
4034
|
overflowTargetWidth: number;
|
|
@@ -3441,7 +4069,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3441
4069
|
*/
|
|
3442
4070
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3443
4071
|
hiddenIds: string[];
|
|
4072
|
+
itemSizeCache: Record<string, number>;
|
|
3444
4073
|
itemWidthCache: Record<string, number>;
|
|
4074
|
+
containerSize: number;
|
|
3445
4075
|
containerWidth: number;
|
|
3446
4076
|
containerGap: number;
|
|
3447
4077
|
overflowTargetWidth: number;
|
|
@@ -3482,7 +4112,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3482
4112
|
*/
|
|
3483
4113
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3484
4114
|
hiddenIds: string[];
|
|
4115
|
+
itemSizeCache: Record<string, number>;
|
|
3485
4116
|
itemWidthCache: Record<string, number>;
|
|
4117
|
+
containerSize: number;
|
|
3486
4118
|
containerWidth: number;
|
|
3487
4119
|
containerGap: number;
|
|
3488
4120
|
overflowTargetWidth: number;
|
|
@@ -3523,7 +4155,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3523
4155
|
*/
|
|
3524
4156
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3525
4157
|
hiddenIds: string[];
|
|
4158
|
+
itemSizeCache: Record<string, number>;
|
|
3526
4159
|
itemWidthCache: Record<string, number>;
|
|
4160
|
+
containerSize: number;
|
|
3527
4161
|
containerWidth: number;
|
|
3528
4162
|
containerGap: number;
|
|
3529
4163
|
overflowTargetWidth: number;
|
|
@@ -3564,7 +4198,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3564
4198
|
*/
|
|
3565
4199
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3566
4200
|
hiddenIds: string[];
|
|
4201
|
+
itemSizeCache: Record<string, number>;
|
|
3567
4202
|
itemWidthCache: Record<string, number>;
|
|
4203
|
+
containerSize: number;
|
|
3568
4204
|
containerWidth: number;
|
|
3569
4205
|
containerGap: number;
|
|
3570
4206
|
overflowTargetWidth: number;
|
|
@@ -3608,7 +4244,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3608
4244
|
*/
|
|
3609
4245
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3610
4246
|
hiddenIds: string[];
|
|
4247
|
+
itemSizeCache: Record<string, number>;
|
|
3611
4248
|
itemWidthCache: Record<string, number>;
|
|
4249
|
+
containerSize: number;
|
|
3612
4250
|
containerWidth: number;
|
|
3613
4251
|
containerGap: number;
|
|
3614
4252
|
overflowTargetWidth: number;
|
|
@@ -3651,7 +4289,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3651
4289
|
*/
|
|
3652
4290
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3653
4291
|
hiddenIds: string[];
|
|
4292
|
+
itemSizeCache: Record<string, number>;
|
|
3654
4293
|
itemWidthCache: Record<string, number>;
|
|
4294
|
+
containerSize: number;
|
|
3655
4295
|
containerWidth: number;
|
|
3656
4296
|
containerGap: number;
|
|
3657
4297
|
overflowTargetWidth: number;
|
|
@@ -3694,7 +4334,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3694
4334
|
*/
|
|
3695
4335
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3696
4336
|
hiddenIds: string[];
|
|
4337
|
+
itemSizeCache: Record<string, number>;
|
|
3697
4338
|
itemWidthCache: Record<string, number>;
|
|
4339
|
+
containerSize: number;
|
|
3698
4340
|
containerWidth: number;
|
|
3699
4341
|
containerGap: number;
|
|
3700
4342
|
overflowTargetWidth: number;
|
|
@@ -3736,7 +4378,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3736
4378
|
*/
|
|
3737
4379
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3738
4380
|
hiddenIds: string[];
|
|
4381
|
+
itemSizeCache: Record<string, number>;
|
|
3739
4382
|
itemWidthCache: Record<string, number>;
|
|
4383
|
+
containerSize: number;
|
|
3740
4384
|
containerWidth: number;
|
|
3741
4385
|
containerGap: number;
|
|
3742
4386
|
overflowTargetWidth: number;
|
|
@@ -3780,12 +4424,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3780
4424
|
select(data: {
|
|
3781
4425
|
id: string;
|
|
3782
4426
|
}): void;
|
|
4427
|
+
setContainerSize(data: {
|
|
4428
|
+
width?: number | undefined;
|
|
4429
|
+
height?: number | undefined;
|
|
4430
|
+
}): void;
|
|
3783
4431
|
setContainerWidth(data: {
|
|
3784
4432
|
width?: number | undefined;
|
|
3785
4433
|
}): void;
|
|
3786
4434
|
setContainerGap(data: {
|
|
3787
4435
|
size: number;
|
|
3788
4436
|
}): void;
|
|
4437
|
+
setOverflowTargetSize(data: {
|
|
4438
|
+
width: number;
|
|
4439
|
+
height: number;
|
|
4440
|
+
}): void;
|
|
3789
4441
|
setOverflowTargetWidth(data: {
|
|
3790
4442
|
width: number;
|
|
3791
4443
|
}): void;
|
|
@@ -3793,6 +4445,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3793
4445
|
id: string;
|
|
3794
4446
|
width: number;
|
|
3795
4447
|
}): void;
|
|
4448
|
+
addItemSize(data: {
|
|
4449
|
+
id: string;
|
|
4450
|
+
width: number;
|
|
4451
|
+
height: number;
|
|
4452
|
+
}): void;
|
|
4453
|
+
removeItemSize(data: {
|
|
4454
|
+
id: string;
|
|
4455
|
+
}): void;
|
|
3796
4456
|
removeItemWidth(data: {
|
|
3797
4457
|
id: string;
|
|
3798
4458
|
}): void;
|
|
@@ -3805,6 +4465,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3805
4465
|
selectAll(): void;
|
|
3806
4466
|
unselectAll(): void;
|
|
3807
4467
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4468
|
+
remove(data: {
|
|
4469
|
+
id: string;
|
|
4470
|
+
nextId?: string | undefined;
|
|
4471
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4472
|
+
}): void;
|
|
3808
4473
|
goTo(data: {
|
|
3809
4474
|
id: string;
|
|
3810
4475
|
}): void;
|
|
@@ -3874,6 +4539,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3874
4539
|
selectAll(): void;
|
|
3875
4540
|
unselectAll(): void;
|
|
3876
4541
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4542
|
+
remove(data: {
|
|
4543
|
+
id: string;
|
|
4544
|
+
nextId?: string | undefined;
|
|
4545
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4546
|
+
}): void;
|
|
3877
4547
|
goTo(data: {
|
|
3878
4548
|
id: string;
|
|
3879
4549
|
}): void;
|
|
@@ -4173,6 +4843,42 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4173
4843
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4174
4844
|
mode: "multiple" | "single";
|
|
4175
4845
|
}) => void) | undefined;
|
|
4846
|
+
onRemove?: ((data: {
|
|
4847
|
+
id: string;
|
|
4848
|
+
nextId?: string | undefined;
|
|
4849
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4850
|
+
}, prevState: {
|
|
4851
|
+
stackRef: React.RefObject<HTMLDivElement>;
|
|
4852
|
+
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4853
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
4854
|
+
returnFocusRef: React.RefObject<any> | undefined;
|
|
4855
|
+
placement: import("@popperjs/core").Placement;
|
|
4856
|
+
id: string;
|
|
4857
|
+
visibility: "hidden" | "visible";
|
|
4858
|
+
selectedIds: string[] | "all";
|
|
4859
|
+
unselectedIds: string[];
|
|
4860
|
+
cursorId: string;
|
|
4861
|
+
columnCount: number;
|
|
4862
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
4863
|
+
cursorIndexRef: {
|
|
4864
|
+
readonly current: number;
|
|
4865
|
+
};
|
|
4866
|
+
UNSTABLE_virtual: {
|
|
4867
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
4868
|
+
totalSize: number;
|
|
4869
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
4870
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
4871
|
+
measure: () => void;
|
|
4872
|
+
};
|
|
4873
|
+
UNSTABLE_defaultItemHeight: number;
|
|
4874
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
4875
|
+
orientation: "horizontal" | "vertical";
|
|
4876
|
+
indexRef: React.MutableRefObject<number>;
|
|
4877
|
+
nonInteractiveIds: string[];
|
|
4878
|
+
isVirtualized: boolean;
|
|
4879
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4880
|
+
mode: "multiple" | "single";
|
|
4881
|
+
}) => void) | undefined;
|
|
4176
4882
|
onGoTo?: ((data: {
|
|
4177
4883
|
id: string;
|
|
4178
4884
|
}, prevState: {
|
|
@@ -4859,6 +5565,42 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4859
5565
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4860
5566
|
mode: "multiple" | "single";
|
|
4861
5567
|
}) => boolean) | undefined;
|
|
5568
|
+
shouldRemove?: ((data: {
|
|
5569
|
+
id: string;
|
|
5570
|
+
nextId?: string | undefined;
|
|
5571
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
5572
|
+
}, state: {
|
|
5573
|
+
stackRef: React.RefObject<HTMLDivElement>;
|
|
5574
|
+
targetRef: React.RefObject<HTMLButtonElement>;
|
|
5575
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
5576
|
+
returnFocusRef: React.RefObject<any> | undefined;
|
|
5577
|
+
placement: import("@popperjs/core").Placement;
|
|
5578
|
+
id: string;
|
|
5579
|
+
visibility: "hidden" | "visible";
|
|
5580
|
+
selectedIds: string[] | "all";
|
|
5581
|
+
unselectedIds: string[];
|
|
5582
|
+
cursorId: string;
|
|
5583
|
+
columnCount: number;
|
|
5584
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
5585
|
+
cursorIndexRef: {
|
|
5586
|
+
readonly current: number;
|
|
5587
|
+
};
|
|
5588
|
+
UNSTABLE_virtual: {
|
|
5589
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
5590
|
+
totalSize: number;
|
|
5591
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
5592
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
5593
|
+
measure: () => void;
|
|
5594
|
+
};
|
|
5595
|
+
UNSTABLE_defaultItemHeight: number;
|
|
5596
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
5597
|
+
orientation: "horizontal" | "vertical";
|
|
5598
|
+
indexRef: React.MutableRefObject<number>;
|
|
5599
|
+
nonInteractiveIds: string[];
|
|
5600
|
+
isVirtualized: boolean;
|
|
5601
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
5602
|
+
mode: "multiple" | "single";
|
|
5603
|
+
}) => boolean) | undefined;
|
|
4862
5604
|
shouldGoTo?: ((data: {
|
|
4863
5605
|
id: string;
|
|
4864
5606
|
}, state: {
|
|
@@ -5347,7 +6089,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5347
6089
|
*/
|
|
5348
6090
|
panelIndexRef: React.MutableRefObject<number>;
|
|
5349
6091
|
hiddenIds: string[];
|
|
6092
|
+
itemSizeCache: Record<string, number>;
|
|
5350
6093
|
itemWidthCache: Record<string, number>;
|
|
6094
|
+
containerSize: number;
|
|
5351
6095
|
containerWidth: number;
|
|
5352
6096
|
containerGap: number;
|
|
5353
6097
|
overflowTargetWidth: number;
|
|
@@ -5390,12 +6134,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5390
6134
|
select(data: {
|
|
5391
6135
|
id: string;
|
|
5392
6136
|
}): void;
|
|
6137
|
+
setContainerSize(data: {
|
|
6138
|
+
width?: number | undefined;
|
|
6139
|
+
height?: number | undefined;
|
|
6140
|
+
}): void;
|
|
5393
6141
|
setContainerWidth(data: {
|
|
5394
6142
|
width?: number | undefined;
|
|
5395
6143
|
}): void;
|
|
5396
6144
|
setContainerGap(data: {
|
|
5397
6145
|
size: number;
|
|
5398
6146
|
}): void;
|
|
6147
|
+
setOverflowTargetSize(data: {
|
|
6148
|
+
width: number;
|
|
6149
|
+
height: number;
|
|
6150
|
+
}): void;
|
|
5399
6151
|
setOverflowTargetWidth(data: {
|
|
5400
6152
|
width: number;
|
|
5401
6153
|
}): void;
|
|
@@ -5403,6 +6155,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5403
6155
|
id: string;
|
|
5404
6156
|
width: number;
|
|
5405
6157
|
}): void;
|
|
6158
|
+
addItemSize(data: {
|
|
6159
|
+
id: string;
|
|
6160
|
+
width: number;
|
|
6161
|
+
height: number;
|
|
6162
|
+
}): void;
|
|
6163
|
+
removeItemSize(data: {
|
|
6164
|
+
id: string;
|
|
6165
|
+
}): void;
|
|
5406
6166
|
removeItemWidth(data: {
|
|
5407
6167
|
id: string;
|
|
5408
6168
|
}): void;
|
|
@@ -5415,6 +6175,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5415
6175
|
selectAll(): void;
|
|
5416
6176
|
unselectAll(): void;
|
|
5417
6177
|
setSelectedIds(ids: string[] | "all"): void;
|
|
6178
|
+
remove(data: {
|
|
6179
|
+
id: string;
|
|
6180
|
+
nextId?: string | undefined;
|
|
6181
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
6182
|
+
}): void;
|
|
5418
6183
|
goTo(data: {
|
|
5419
6184
|
id: string;
|
|
5420
6185
|
}): void;
|
|
@@ -5453,7 +6218,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5453
6218
|
*/
|
|
5454
6219
|
panelIndexRef: React.MutableRefObject<number>;
|
|
5455
6220
|
hiddenIds: string[];
|
|
6221
|
+
itemSizeCache: Record<string, number>;
|
|
5456
6222
|
itemWidthCache: Record<string, number>;
|
|
6223
|
+
containerSize: number;
|
|
5457
6224
|
containerWidth: number;
|
|
5458
6225
|
containerGap: number;
|
|
5459
6226
|
overflowTargetWidth: number;
|
|
@@ -5497,12 +6264,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5497
6264
|
select(data: {
|
|
5498
6265
|
id: string;
|
|
5499
6266
|
}): void;
|
|
6267
|
+
setContainerSize(data: {
|
|
6268
|
+
width?: number | undefined;
|
|
6269
|
+
height?: number | undefined;
|
|
6270
|
+
}): void;
|
|
5500
6271
|
setContainerWidth(data: {
|
|
5501
6272
|
width?: number | undefined;
|
|
5502
6273
|
}): void;
|
|
5503
6274
|
setContainerGap(data: {
|
|
5504
6275
|
size: number;
|
|
5505
6276
|
}): void;
|
|
6277
|
+
setOverflowTargetSize(data: {
|
|
6278
|
+
width: number;
|
|
6279
|
+
height: number;
|
|
6280
|
+
}): void;
|
|
5506
6281
|
setOverflowTargetWidth(data: {
|
|
5507
6282
|
width: number;
|
|
5508
6283
|
}): void;
|
|
@@ -5510,6 +6285,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5510
6285
|
id: string;
|
|
5511
6286
|
width: number;
|
|
5512
6287
|
}): void;
|
|
6288
|
+
addItemSize(data: {
|
|
6289
|
+
id: string;
|
|
6290
|
+
width: number;
|
|
6291
|
+
height: number;
|
|
6292
|
+
}): void;
|
|
6293
|
+
removeItemSize(data: {
|
|
6294
|
+
id: string;
|
|
6295
|
+
}): void;
|
|
5513
6296
|
removeItemWidth(data: {
|
|
5514
6297
|
id: string;
|
|
5515
6298
|
}): void;
|
|
@@ -5522,6 +6305,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5522
6305
|
selectAll(): void;
|
|
5523
6306
|
unselectAll(): void;
|
|
5524
6307
|
setSelectedIds(ids: string[] | "all"): void;
|
|
6308
|
+
remove(data: {
|
|
6309
|
+
id: string;
|
|
6310
|
+
nextId?: string | undefined;
|
|
6311
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
6312
|
+
}): void;
|
|
5525
6313
|
goTo(data: {
|
|
5526
6314
|
id: string;
|
|
5527
6315
|
}): void;
|
|
@@ -5591,6 +6379,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5591
6379
|
selectAll(): void;
|
|
5592
6380
|
unselectAll(): void;
|
|
5593
6381
|
setSelectedIds(ids: string[] | "all"): void;
|
|
6382
|
+
remove(data: {
|
|
6383
|
+
id: string;
|
|
6384
|
+
nextId?: string | undefined;
|
|
6385
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
6386
|
+
}): void;
|
|
5594
6387
|
goTo(data: {
|
|
5595
6388
|
id: string;
|
|
5596
6389
|
}): void;
|