@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
|
@@ -71,7 +71,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
71
71
|
hiddenIds: string[];
|
|
72
72
|
nonInteractiveIds: string[];
|
|
73
73
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
74
|
+
itemSizeCache: Record<string, number>;
|
|
74
75
|
itemWidthCache: Record<string, number>;
|
|
76
|
+
containerSize: number;
|
|
77
|
+
containerWidth: number;
|
|
78
|
+
containerGap: number;
|
|
79
|
+
overflowTargetWidth: number;
|
|
80
|
+
selectedIds: string[] | "all";
|
|
81
|
+
unselectedIds: string[];
|
|
82
|
+
cursorId: string;
|
|
83
|
+
columnCount: number;
|
|
84
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
85
|
+
cursorIndexRef: {
|
|
86
|
+
readonly current: number;
|
|
87
|
+
};
|
|
88
|
+
UNSTABLE_virtual: {
|
|
89
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
90
|
+
totalSize: number;
|
|
91
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
92
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
93
|
+
measure: () => void;
|
|
94
|
+
};
|
|
95
|
+
UNSTABLE_defaultItemHeight: number;
|
|
96
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
97
|
+
id: string;
|
|
98
|
+
indexRef: React.MutableRefObject<number>;
|
|
99
|
+
isVirtualized: boolean;
|
|
100
|
+
items: import("../..").Item<any>[];
|
|
101
|
+
}) => void) | undefined;
|
|
102
|
+
onSetContainerSize?: ((data: {
|
|
103
|
+
width?: number | undefined;
|
|
104
|
+
height?: number | undefined;
|
|
105
|
+
}, prevState: {
|
|
106
|
+
hiddenIds: string[];
|
|
107
|
+
nonInteractiveIds: string[];
|
|
108
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
109
|
+
itemSizeCache: Record<string, number>;
|
|
110
|
+
itemWidthCache: Record<string, number>;
|
|
111
|
+
containerSize: number;
|
|
75
112
|
containerWidth: number;
|
|
76
113
|
containerGap: number;
|
|
77
114
|
overflowTargetWidth: number;
|
|
@@ -103,7 +140,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
103
140
|
hiddenIds: string[];
|
|
104
141
|
nonInteractiveIds: string[];
|
|
105
142
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
143
|
+
itemSizeCache: Record<string, number>;
|
|
106
144
|
itemWidthCache: Record<string, number>;
|
|
145
|
+
containerSize: number;
|
|
107
146
|
containerWidth: number;
|
|
108
147
|
containerGap: number;
|
|
109
148
|
overflowTargetWidth: number;
|
|
@@ -135,7 +174,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
135
174
|
hiddenIds: string[];
|
|
136
175
|
nonInteractiveIds: string[];
|
|
137
176
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
177
|
+
itemSizeCache: Record<string, number>;
|
|
178
|
+
itemWidthCache: Record<string, number>;
|
|
179
|
+
containerSize: number;
|
|
180
|
+
containerWidth: number;
|
|
181
|
+
containerGap: number;
|
|
182
|
+
overflowTargetWidth: number;
|
|
183
|
+
selectedIds: string[] | "all";
|
|
184
|
+
unselectedIds: string[];
|
|
185
|
+
cursorId: string;
|
|
186
|
+
columnCount: number;
|
|
187
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
188
|
+
cursorIndexRef: {
|
|
189
|
+
readonly current: number;
|
|
190
|
+
};
|
|
191
|
+
UNSTABLE_virtual: {
|
|
192
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
193
|
+
totalSize: number;
|
|
194
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
195
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
196
|
+
measure: () => void;
|
|
197
|
+
};
|
|
198
|
+
UNSTABLE_defaultItemHeight: number;
|
|
199
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
200
|
+
id: string;
|
|
201
|
+
indexRef: React.MutableRefObject<number>;
|
|
202
|
+
isVirtualized: boolean;
|
|
203
|
+
items: import("../..").Item<any>[];
|
|
204
|
+
}) => void) | undefined;
|
|
205
|
+
onSetOverflowTargetSize?: ((data: {
|
|
206
|
+
width: number;
|
|
207
|
+
height: number;
|
|
208
|
+
}, prevState: {
|
|
209
|
+
hiddenIds: string[];
|
|
210
|
+
nonInteractiveIds: string[];
|
|
211
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
212
|
+
itemSizeCache: Record<string, number>;
|
|
138
213
|
itemWidthCache: Record<string, number>;
|
|
214
|
+
containerSize: number;
|
|
139
215
|
containerWidth: number;
|
|
140
216
|
containerGap: number;
|
|
141
217
|
overflowTargetWidth: number;
|
|
@@ -167,7 +243,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
167
243
|
hiddenIds: string[];
|
|
168
244
|
nonInteractiveIds: string[];
|
|
169
245
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
246
|
+
itemSizeCache: Record<string, number>;
|
|
170
247
|
itemWidthCache: Record<string, number>;
|
|
248
|
+
containerSize: number;
|
|
171
249
|
containerWidth: number;
|
|
172
250
|
containerGap: number;
|
|
173
251
|
overflowTargetWidth: number;
|
|
@@ -200,7 +278,79 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
200
278
|
hiddenIds: string[];
|
|
201
279
|
nonInteractiveIds: string[];
|
|
202
280
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
281
|
+
itemSizeCache: Record<string, number>;
|
|
282
|
+
itemWidthCache: Record<string, number>;
|
|
283
|
+
containerSize: number;
|
|
284
|
+
containerWidth: number;
|
|
285
|
+
containerGap: number;
|
|
286
|
+
overflowTargetWidth: number;
|
|
287
|
+
selectedIds: string[] | "all";
|
|
288
|
+
unselectedIds: string[];
|
|
289
|
+
cursorId: string;
|
|
290
|
+
columnCount: number;
|
|
291
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
292
|
+
cursorIndexRef: {
|
|
293
|
+
readonly current: number;
|
|
294
|
+
};
|
|
295
|
+
UNSTABLE_virtual: {
|
|
296
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
297
|
+
totalSize: number;
|
|
298
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
299
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
300
|
+
measure: () => void;
|
|
301
|
+
};
|
|
302
|
+
UNSTABLE_defaultItemHeight: number;
|
|
303
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
304
|
+
id: string;
|
|
305
|
+
indexRef: React.MutableRefObject<number>;
|
|
306
|
+
isVirtualized: boolean;
|
|
307
|
+
items: import("../..").Item<any>[];
|
|
308
|
+
}) => void) | undefined;
|
|
309
|
+
onAddItemSize?: ((data: {
|
|
310
|
+
id: string;
|
|
311
|
+
width: number;
|
|
312
|
+
height: number;
|
|
313
|
+
}, prevState: {
|
|
314
|
+
hiddenIds: string[];
|
|
315
|
+
nonInteractiveIds: string[];
|
|
316
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
317
|
+
itemSizeCache: Record<string, number>;
|
|
203
318
|
itemWidthCache: Record<string, number>;
|
|
319
|
+
containerSize: number;
|
|
320
|
+
containerWidth: number;
|
|
321
|
+
containerGap: number;
|
|
322
|
+
overflowTargetWidth: number;
|
|
323
|
+
selectedIds: string[] | "all";
|
|
324
|
+
unselectedIds: string[];
|
|
325
|
+
cursorId: string;
|
|
326
|
+
columnCount: number;
|
|
327
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
328
|
+
cursorIndexRef: {
|
|
329
|
+
readonly current: number;
|
|
330
|
+
};
|
|
331
|
+
UNSTABLE_virtual: {
|
|
332
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
333
|
+
totalSize: number;
|
|
334
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
335
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
336
|
+
measure: () => void;
|
|
337
|
+
};
|
|
338
|
+
UNSTABLE_defaultItemHeight: number;
|
|
339
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
340
|
+
id: string;
|
|
341
|
+
indexRef: React.MutableRefObject<number>;
|
|
342
|
+
isVirtualized: boolean;
|
|
343
|
+
items: import("../..").Item<any>[];
|
|
344
|
+
}) => void) | undefined;
|
|
345
|
+
onRemoveItemSize?: ((data: {
|
|
346
|
+
id: string;
|
|
347
|
+
}, prevState: {
|
|
348
|
+
hiddenIds: string[];
|
|
349
|
+
nonInteractiveIds: string[];
|
|
350
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
351
|
+
itemSizeCache: Record<string, number>;
|
|
352
|
+
itemWidthCache: Record<string, number>;
|
|
353
|
+
containerSize: number;
|
|
204
354
|
containerWidth: number;
|
|
205
355
|
containerGap: number;
|
|
206
356
|
overflowTargetWidth: number;
|
|
@@ -232,7 +382,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
232
382
|
hiddenIds: string[];
|
|
233
383
|
nonInteractiveIds: string[];
|
|
234
384
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
385
|
+
itemSizeCache: Record<string, number>;
|
|
235
386
|
itemWidthCache: Record<string, number>;
|
|
387
|
+
containerSize: number;
|
|
236
388
|
containerWidth: number;
|
|
237
389
|
containerGap: number;
|
|
238
390
|
overflowTargetWidth: number;
|
|
@@ -264,7 +416,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
264
416
|
hiddenIds: string[];
|
|
265
417
|
nonInteractiveIds: string[];
|
|
266
418
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
419
|
+
itemSizeCache: Record<string, number>;
|
|
267
420
|
itemWidthCache: Record<string, number>;
|
|
421
|
+
containerSize: number;
|
|
268
422
|
containerWidth: number;
|
|
269
423
|
containerGap: number;
|
|
270
424
|
overflowTargetWidth: number;
|
|
@@ -296,7 +450,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
296
450
|
hiddenIds: string[];
|
|
297
451
|
nonInteractiveIds: string[];
|
|
298
452
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
453
|
+
itemSizeCache: Record<string, number>;
|
|
299
454
|
itemWidthCache: Record<string, number>;
|
|
455
|
+
containerSize: number;
|
|
300
456
|
containerWidth: number;
|
|
301
457
|
containerGap: number;
|
|
302
458
|
overflowTargetWidth: number;
|
|
@@ -326,7 +482,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
326
482
|
hiddenIds: string[];
|
|
327
483
|
nonInteractiveIds: string[];
|
|
328
484
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
485
|
+
itemSizeCache: Record<string, number>;
|
|
329
486
|
itemWidthCache: Record<string, number>;
|
|
487
|
+
containerSize: number;
|
|
330
488
|
containerWidth: number;
|
|
331
489
|
containerGap: number;
|
|
332
490
|
overflowTargetWidth: number;
|
|
@@ -356,7 +514,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
356
514
|
hiddenIds: string[];
|
|
357
515
|
nonInteractiveIds: string[];
|
|
358
516
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
517
|
+
itemSizeCache: Record<string, number>;
|
|
359
518
|
itemWidthCache: Record<string, number>;
|
|
519
|
+
containerSize: number;
|
|
360
520
|
containerWidth: number;
|
|
361
521
|
containerGap: number;
|
|
362
522
|
overflowTargetWidth: number;
|
|
@@ -386,7 +546,45 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
386
546
|
hiddenIds: string[];
|
|
387
547
|
nonInteractiveIds: string[];
|
|
388
548
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
549
|
+
itemSizeCache: Record<string, number>;
|
|
550
|
+
itemWidthCache: Record<string, number>;
|
|
551
|
+
containerSize: number;
|
|
552
|
+
containerWidth: number;
|
|
553
|
+
containerGap: number;
|
|
554
|
+
overflowTargetWidth: number;
|
|
555
|
+
selectedIds: string[] | "all";
|
|
556
|
+
unselectedIds: string[];
|
|
557
|
+
cursorId: string;
|
|
558
|
+
columnCount: number;
|
|
559
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
560
|
+
cursorIndexRef: {
|
|
561
|
+
readonly current: number;
|
|
562
|
+
};
|
|
563
|
+
UNSTABLE_virtual: {
|
|
564
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
565
|
+
totalSize: number;
|
|
566
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
567
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
568
|
+
measure: () => void;
|
|
569
|
+
};
|
|
570
|
+
UNSTABLE_defaultItemHeight: number;
|
|
571
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
572
|
+
id: string;
|
|
573
|
+
indexRef: React.MutableRefObject<number>;
|
|
574
|
+
isVirtualized: boolean;
|
|
575
|
+
items: import("../..").Item<any>[];
|
|
576
|
+
}) => void) | undefined;
|
|
577
|
+
onRemove?: ((data: {
|
|
578
|
+
id: string;
|
|
579
|
+
nextId?: string | undefined;
|
|
580
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
581
|
+
}, prevState: {
|
|
582
|
+
hiddenIds: string[];
|
|
583
|
+
nonInteractiveIds: string[];
|
|
584
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
585
|
+
itemSizeCache: Record<string, number>;
|
|
389
586
|
itemWidthCache: Record<string, number>;
|
|
587
|
+
containerSize: number;
|
|
390
588
|
containerWidth: number;
|
|
391
589
|
containerGap: number;
|
|
392
590
|
overflowTargetWidth: number;
|
|
@@ -418,7 +616,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
418
616
|
hiddenIds: string[];
|
|
419
617
|
nonInteractiveIds: string[];
|
|
420
618
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
619
|
+
itemSizeCache: Record<string, number>;
|
|
421
620
|
itemWidthCache: Record<string, number>;
|
|
621
|
+
containerSize: number;
|
|
422
622
|
containerWidth: number;
|
|
423
623
|
containerGap: number;
|
|
424
624
|
overflowTargetWidth: number;
|
|
@@ -448,7 +648,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
448
648
|
hiddenIds: string[];
|
|
449
649
|
nonInteractiveIds: string[];
|
|
450
650
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
651
|
+
itemSizeCache: Record<string, number>;
|
|
451
652
|
itemWidthCache: Record<string, number>;
|
|
653
|
+
containerSize: number;
|
|
452
654
|
containerWidth: number;
|
|
453
655
|
containerGap: number;
|
|
454
656
|
overflowTargetWidth: number;
|
|
@@ -478,7 +680,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
478
680
|
hiddenIds: string[];
|
|
479
681
|
nonInteractiveIds: string[];
|
|
480
682
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
683
|
+
itemSizeCache: Record<string, number>;
|
|
481
684
|
itemWidthCache: Record<string, number>;
|
|
685
|
+
containerSize: number;
|
|
482
686
|
containerWidth: number;
|
|
483
687
|
containerGap: number;
|
|
484
688
|
overflowTargetWidth: number;
|
|
@@ -508,7 +712,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
508
712
|
hiddenIds: string[];
|
|
509
713
|
nonInteractiveIds: string[];
|
|
510
714
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
715
|
+
itemSizeCache: Record<string, number>;
|
|
511
716
|
itemWidthCache: Record<string, number>;
|
|
717
|
+
containerSize: number;
|
|
512
718
|
containerWidth: number;
|
|
513
719
|
containerGap: number;
|
|
514
720
|
overflowTargetWidth: number;
|
|
@@ -538,7 +744,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
538
744
|
hiddenIds: string[];
|
|
539
745
|
nonInteractiveIds: string[];
|
|
540
746
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
747
|
+
itemSizeCache: Record<string, number>;
|
|
541
748
|
itemWidthCache: Record<string, number>;
|
|
749
|
+
containerSize: number;
|
|
542
750
|
containerWidth: number;
|
|
543
751
|
containerGap: number;
|
|
544
752
|
overflowTargetWidth: number;
|
|
@@ -568,7 +776,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
568
776
|
hiddenIds: string[];
|
|
569
777
|
nonInteractiveIds: string[];
|
|
570
778
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
779
|
+
itemSizeCache: Record<string, number>;
|
|
571
780
|
itemWidthCache: Record<string, number>;
|
|
781
|
+
containerSize: number;
|
|
572
782
|
containerWidth: number;
|
|
573
783
|
containerGap: number;
|
|
574
784
|
overflowTargetWidth: number;
|
|
@@ -598,7 +808,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
598
808
|
hiddenIds: string[];
|
|
599
809
|
nonInteractiveIds: string[];
|
|
600
810
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
811
|
+
itemSizeCache: Record<string, number>;
|
|
601
812
|
itemWidthCache: Record<string, number>;
|
|
813
|
+
containerSize: number;
|
|
602
814
|
containerWidth: number;
|
|
603
815
|
containerGap: number;
|
|
604
816
|
overflowTargetWidth: number;
|
|
@@ -628,7 +840,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
628
840
|
hiddenIds: string[];
|
|
629
841
|
nonInteractiveIds: string[];
|
|
630
842
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
843
|
+
itemSizeCache: Record<string, number>;
|
|
631
844
|
itemWidthCache: Record<string, number>;
|
|
845
|
+
containerSize: number;
|
|
632
846
|
containerWidth: number;
|
|
633
847
|
containerGap: number;
|
|
634
848
|
overflowTargetWidth: number;
|
|
@@ -658,7 +872,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
658
872
|
hiddenIds: string[];
|
|
659
873
|
nonInteractiveIds: string[];
|
|
660
874
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
875
|
+
itemSizeCache: Record<string, number>;
|
|
661
876
|
itemWidthCache: Record<string, number>;
|
|
877
|
+
containerSize: number;
|
|
662
878
|
containerWidth: number;
|
|
663
879
|
containerGap: number;
|
|
664
880
|
overflowTargetWidth: number;
|
|
@@ -688,7 +904,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
688
904
|
hiddenIds: string[];
|
|
689
905
|
nonInteractiveIds: string[];
|
|
690
906
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
907
|
+
itemSizeCache: Record<string, number>;
|
|
691
908
|
itemWidthCache: Record<string, number>;
|
|
909
|
+
containerSize: number;
|
|
692
910
|
containerWidth: number;
|
|
693
911
|
containerGap: number;
|
|
694
912
|
overflowTargetWidth: number;
|
|
@@ -718,7 +936,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
718
936
|
hiddenIds: string[];
|
|
719
937
|
nonInteractiveIds: string[];
|
|
720
938
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
939
|
+
itemSizeCache: Record<string, number>;
|
|
721
940
|
itemWidthCache: Record<string, number>;
|
|
941
|
+
containerSize: number;
|
|
722
942
|
containerWidth: number;
|
|
723
943
|
containerGap: number;
|
|
724
944
|
overflowTargetWidth: number;
|
|
@@ -751,7 +971,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
751
971
|
hiddenIds: string[];
|
|
752
972
|
nonInteractiveIds: string[];
|
|
753
973
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
974
|
+
itemSizeCache: Record<string, number>;
|
|
754
975
|
itemWidthCache: Record<string, number>;
|
|
976
|
+
containerSize: number;
|
|
755
977
|
containerWidth: number;
|
|
756
978
|
containerGap: number;
|
|
757
979
|
overflowTargetWidth: number;
|
|
@@ -783,7 +1005,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
783
1005
|
hiddenIds: string[];
|
|
784
1006
|
nonInteractiveIds: string[];
|
|
785
1007
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1008
|
+
itemSizeCache: Record<string, number>;
|
|
786
1009
|
itemWidthCache: Record<string, number>;
|
|
1010
|
+
containerSize: number;
|
|
787
1011
|
containerWidth: number;
|
|
788
1012
|
containerGap: number;
|
|
789
1013
|
overflowTargetWidth: number;
|
|
@@ -815,7 +1039,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
815
1039
|
hiddenIds: string[];
|
|
816
1040
|
nonInteractiveIds: string[];
|
|
817
1041
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1042
|
+
itemSizeCache: Record<string, number>;
|
|
818
1043
|
itemWidthCache: Record<string, number>;
|
|
1044
|
+
containerSize: number;
|
|
819
1045
|
containerWidth: number;
|
|
820
1046
|
containerGap: number;
|
|
821
1047
|
overflowTargetWidth: number;
|
|
@@ -848,7 +1074,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
848
1074
|
hiddenIds: string[];
|
|
849
1075
|
nonInteractiveIds: string[];
|
|
850
1076
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1077
|
+
itemSizeCache: Record<string, number>;
|
|
851
1078
|
itemWidthCache: Record<string, number>;
|
|
1079
|
+
containerSize: number;
|
|
1080
|
+
containerWidth: number;
|
|
1081
|
+
containerGap: number;
|
|
1082
|
+
overflowTargetWidth: number;
|
|
1083
|
+
selectedIds: string[] | "all";
|
|
1084
|
+
unselectedIds: string[];
|
|
1085
|
+
cursorId: string;
|
|
1086
|
+
columnCount: number;
|
|
1087
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1088
|
+
cursorIndexRef: {
|
|
1089
|
+
readonly current: number;
|
|
1090
|
+
};
|
|
1091
|
+
UNSTABLE_virtual: {
|
|
1092
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1093
|
+
totalSize: number;
|
|
1094
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1095
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1096
|
+
measure: () => void;
|
|
1097
|
+
};
|
|
1098
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1099
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1100
|
+
id: string;
|
|
1101
|
+
indexRef: React.MutableRefObject<number>;
|
|
1102
|
+
isVirtualized: boolean;
|
|
1103
|
+
items: import("../..").Item<any>[];
|
|
1104
|
+
}) => boolean) | undefined;
|
|
1105
|
+
shouldSetContainerSize?: ((data: {
|
|
1106
|
+
width?: number | undefined;
|
|
1107
|
+
height?: number | undefined;
|
|
1108
|
+
}, state: {
|
|
1109
|
+
hiddenIds: string[];
|
|
1110
|
+
nonInteractiveIds: string[];
|
|
1111
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1112
|
+
itemSizeCache: Record<string, number>;
|
|
1113
|
+
itemWidthCache: Record<string, number>;
|
|
1114
|
+
containerSize: number;
|
|
852
1115
|
containerWidth: number;
|
|
853
1116
|
containerGap: number;
|
|
854
1117
|
overflowTargetWidth: number;
|
|
@@ -880,7 +1143,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
880
1143
|
hiddenIds: string[];
|
|
881
1144
|
nonInteractiveIds: string[];
|
|
882
1145
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1146
|
+
itemSizeCache: Record<string, number>;
|
|
883
1147
|
itemWidthCache: Record<string, number>;
|
|
1148
|
+
containerSize: number;
|
|
884
1149
|
containerWidth: number;
|
|
885
1150
|
containerGap: number;
|
|
886
1151
|
overflowTargetWidth: number;
|
|
@@ -912,7 +1177,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
912
1177
|
hiddenIds: string[];
|
|
913
1178
|
nonInteractiveIds: string[];
|
|
914
1179
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1180
|
+
itemSizeCache: Record<string, number>;
|
|
915
1181
|
itemWidthCache: Record<string, number>;
|
|
1182
|
+
containerSize: number;
|
|
1183
|
+
containerWidth: number;
|
|
1184
|
+
containerGap: number;
|
|
1185
|
+
overflowTargetWidth: number;
|
|
1186
|
+
selectedIds: string[] | "all";
|
|
1187
|
+
unselectedIds: string[];
|
|
1188
|
+
cursorId: string;
|
|
1189
|
+
columnCount: number;
|
|
1190
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1191
|
+
cursorIndexRef: {
|
|
1192
|
+
readonly current: number;
|
|
1193
|
+
};
|
|
1194
|
+
UNSTABLE_virtual: {
|
|
1195
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1196
|
+
totalSize: number;
|
|
1197
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1198
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1199
|
+
measure: () => void;
|
|
1200
|
+
};
|
|
1201
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1202
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1203
|
+
id: string;
|
|
1204
|
+
indexRef: React.MutableRefObject<number>;
|
|
1205
|
+
isVirtualized: boolean;
|
|
1206
|
+
items: import("../..").Item<any>[];
|
|
1207
|
+
}) => boolean) | undefined;
|
|
1208
|
+
shouldSetOverflowTargetSize?: ((data: {
|
|
1209
|
+
width: number;
|
|
1210
|
+
height: number;
|
|
1211
|
+
}, state: {
|
|
1212
|
+
hiddenIds: string[];
|
|
1213
|
+
nonInteractiveIds: string[];
|
|
1214
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1215
|
+
itemSizeCache: Record<string, number>;
|
|
1216
|
+
itemWidthCache: Record<string, number>;
|
|
1217
|
+
containerSize: number;
|
|
916
1218
|
containerWidth: number;
|
|
917
1219
|
containerGap: number;
|
|
918
1220
|
overflowTargetWidth: number;
|
|
@@ -944,7 +1246,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
944
1246
|
hiddenIds: string[];
|
|
945
1247
|
nonInteractiveIds: string[];
|
|
946
1248
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1249
|
+
itemSizeCache: Record<string, number>;
|
|
947
1250
|
itemWidthCache: Record<string, number>;
|
|
1251
|
+
containerSize: number;
|
|
948
1252
|
containerWidth: number;
|
|
949
1253
|
containerGap: number;
|
|
950
1254
|
overflowTargetWidth: number;
|
|
@@ -977,7 +1281,79 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
977
1281
|
hiddenIds: string[];
|
|
978
1282
|
nonInteractiveIds: string[];
|
|
979
1283
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1284
|
+
itemSizeCache: Record<string, number>;
|
|
1285
|
+
itemWidthCache: Record<string, number>;
|
|
1286
|
+
containerSize: number;
|
|
1287
|
+
containerWidth: number;
|
|
1288
|
+
containerGap: number;
|
|
1289
|
+
overflowTargetWidth: number;
|
|
1290
|
+
selectedIds: string[] | "all";
|
|
1291
|
+
unselectedIds: string[];
|
|
1292
|
+
cursorId: string;
|
|
1293
|
+
columnCount: number;
|
|
1294
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1295
|
+
cursorIndexRef: {
|
|
1296
|
+
readonly current: number;
|
|
1297
|
+
};
|
|
1298
|
+
UNSTABLE_virtual: {
|
|
1299
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1300
|
+
totalSize: number;
|
|
1301
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1302
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1303
|
+
measure: () => void;
|
|
1304
|
+
};
|
|
1305
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1306
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1307
|
+
id: string;
|
|
1308
|
+
indexRef: React.MutableRefObject<number>;
|
|
1309
|
+
isVirtualized: boolean;
|
|
1310
|
+
items: import("../..").Item<any>[];
|
|
1311
|
+
}) => boolean) | undefined;
|
|
1312
|
+
shouldAddItemSize?: ((data: {
|
|
1313
|
+
id: string;
|
|
1314
|
+
width: number;
|
|
1315
|
+
height: number;
|
|
1316
|
+
}, state: {
|
|
1317
|
+
hiddenIds: string[];
|
|
1318
|
+
nonInteractiveIds: string[];
|
|
1319
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1320
|
+
itemSizeCache: Record<string, number>;
|
|
1321
|
+
itemWidthCache: Record<string, number>;
|
|
1322
|
+
containerSize: number;
|
|
1323
|
+
containerWidth: number;
|
|
1324
|
+
containerGap: number;
|
|
1325
|
+
overflowTargetWidth: number;
|
|
1326
|
+
selectedIds: string[] | "all";
|
|
1327
|
+
unselectedIds: string[];
|
|
1328
|
+
cursorId: string;
|
|
1329
|
+
columnCount: number;
|
|
1330
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1331
|
+
cursorIndexRef: {
|
|
1332
|
+
readonly current: number;
|
|
1333
|
+
};
|
|
1334
|
+
UNSTABLE_virtual: {
|
|
1335
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1336
|
+
totalSize: number;
|
|
1337
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1338
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1339
|
+
measure: () => void;
|
|
1340
|
+
};
|
|
1341
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1342
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1343
|
+
id: string;
|
|
1344
|
+
indexRef: React.MutableRefObject<number>;
|
|
1345
|
+
isVirtualized: boolean;
|
|
1346
|
+
items: import("../..").Item<any>[];
|
|
1347
|
+
}) => boolean) | undefined;
|
|
1348
|
+
shouldRemoveItemSize?: ((data: {
|
|
1349
|
+
id: string;
|
|
1350
|
+
}, state: {
|
|
1351
|
+
hiddenIds: string[];
|
|
1352
|
+
nonInteractiveIds: string[];
|
|
1353
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1354
|
+
itemSizeCache: Record<string, number>;
|
|
980
1355
|
itemWidthCache: Record<string, number>;
|
|
1356
|
+
containerSize: number;
|
|
981
1357
|
containerWidth: number;
|
|
982
1358
|
containerGap: number;
|
|
983
1359
|
overflowTargetWidth: number;
|
|
@@ -1009,7 +1385,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1009
1385
|
hiddenIds: string[];
|
|
1010
1386
|
nonInteractiveIds: string[];
|
|
1011
1387
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1388
|
+
itemSizeCache: Record<string, number>;
|
|
1012
1389
|
itemWidthCache: Record<string, number>;
|
|
1390
|
+
containerSize: number;
|
|
1013
1391
|
containerWidth: number;
|
|
1014
1392
|
containerGap: number;
|
|
1015
1393
|
overflowTargetWidth: number;
|
|
@@ -1041,7 +1419,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1041
1419
|
hiddenIds: string[];
|
|
1042
1420
|
nonInteractiveIds: string[];
|
|
1043
1421
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1422
|
+
itemSizeCache: Record<string, number>;
|
|
1044
1423
|
itemWidthCache: Record<string, number>;
|
|
1424
|
+
containerSize: number;
|
|
1045
1425
|
containerWidth: number;
|
|
1046
1426
|
containerGap: number;
|
|
1047
1427
|
overflowTargetWidth: number;
|
|
@@ -1073,7 +1453,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1073
1453
|
hiddenIds: string[];
|
|
1074
1454
|
nonInteractiveIds: string[];
|
|
1075
1455
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1456
|
+
itemSizeCache: Record<string, number>;
|
|
1076
1457
|
itemWidthCache: Record<string, number>;
|
|
1458
|
+
containerSize: number;
|
|
1077
1459
|
containerWidth: number;
|
|
1078
1460
|
containerGap: number;
|
|
1079
1461
|
overflowTargetWidth: number;
|
|
@@ -1103,7 +1485,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1103
1485
|
hiddenIds: string[];
|
|
1104
1486
|
nonInteractiveIds: string[];
|
|
1105
1487
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1488
|
+
itemSizeCache: Record<string, number>;
|
|
1106
1489
|
itemWidthCache: Record<string, number>;
|
|
1490
|
+
containerSize: number;
|
|
1107
1491
|
containerWidth: number;
|
|
1108
1492
|
containerGap: number;
|
|
1109
1493
|
overflowTargetWidth: number;
|
|
@@ -1133,7 +1517,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1133
1517
|
hiddenIds: string[];
|
|
1134
1518
|
nonInteractiveIds: string[];
|
|
1135
1519
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1520
|
+
itemSizeCache: Record<string, number>;
|
|
1136
1521
|
itemWidthCache: Record<string, number>;
|
|
1522
|
+
containerSize: number;
|
|
1137
1523
|
containerWidth: number;
|
|
1138
1524
|
containerGap: number;
|
|
1139
1525
|
overflowTargetWidth: number;
|
|
@@ -1163,7 +1549,45 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1163
1549
|
hiddenIds: string[];
|
|
1164
1550
|
nonInteractiveIds: string[];
|
|
1165
1551
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1552
|
+
itemSizeCache: Record<string, number>;
|
|
1553
|
+
itemWidthCache: Record<string, number>;
|
|
1554
|
+
containerSize: number;
|
|
1555
|
+
containerWidth: number;
|
|
1556
|
+
containerGap: number;
|
|
1557
|
+
overflowTargetWidth: number;
|
|
1558
|
+
selectedIds: string[] | "all";
|
|
1559
|
+
unselectedIds: string[];
|
|
1560
|
+
cursorId: string;
|
|
1561
|
+
columnCount: number;
|
|
1562
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1563
|
+
cursorIndexRef: {
|
|
1564
|
+
readonly current: number;
|
|
1565
|
+
};
|
|
1566
|
+
UNSTABLE_virtual: {
|
|
1567
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1568
|
+
totalSize: number;
|
|
1569
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1570
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1571
|
+
measure: () => void;
|
|
1572
|
+
};
|
|
1573
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1574
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1575
|
+
id: string;
|
|
1576
|
+
indexRef: React.MutableRefObject<number>;
|
|
1577
|
+
isVirtualized: boolean;
|
|
1578
|
+
items: import("../..").Item<any>[];
|
|
1579
|
+
}) => boolean) | undefined;
|
|
1580
|
+
shouldRemove?: ((data: {
|
|
1581
|
+
id: string;
|
|
1582
|
+
nextId?: string | undefined;
|
|
1583
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
1584
|
+
}, state: {
|
|
1585
|
+
hiddenIds: string[];
|
|
1586
|
+
nonInteractiveIds: string[];
|
|
1587
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1588
|
+
itemSizeCache: Record<string, number>;
|
|
1166
1589
|
itemWidthCache: Record<string, number>;
|
|
1590
|
+
containerSize: number;
|
|
1167
1591
|
containerWidth: number;
|
|
1168
1592
|
containerGap: number;
|
|
1169
1593
|
overflowTargetWidth: number;
|
|
@@ -1195,7 +1619,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1195
1619
|
hiddenIds: string[];
|
|
1196
1620
|
nonInteractiveIds: string[];
|
|
1197
1621
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1622
|
+
itemSizeCache: Record<string, number>;
|
|
1198
1623
|
itemWidthCache: Record<string, number>;
|
|
1624
|
+
containerSize: number;
|
|
1199
1625
|
containerWidth: number;
|
|
1200
1626
|
containerGap: number;
|
|
1201
1627
|
overflowTargetWidth: number;
|
|
@@ -1225,7 +1651,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1225
1651
|
hiddenIds: string[];
|
|
1226
1652
|
nonInteractiveIds: string[];
|
|
1227
1653
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1654
|
+
itemSizeCache: Record<string, number>;
|
|
1228
1655
|
itemWidthCache: Record<string, number>;
|
|
1656
|
+
containerSize: number;
|
|
1229
1657
|
containerWidth: number;
|
|
1230
1658
|
containerGap: number;
|
|
1231
1659
|
overflowTargetWidth: number;
|
|
@@ -1255,7 +1683,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1255
1683
|
hiddenIds: string[];
|
|
1256
1684
|
nonInteractiveIds: string[];
|
|
1257
1685
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1686
|
+
itemSizeCache: Record<string, number>;
|
|
1258
1687
|
itemWidthCache: Record<string, number>;
|
|
1688
|
+
containerSize: number;
|
|
1259
1689
|
containerWidth: number;
|
|
1260
1690
|
containerGap: number;
|
|
1261
1691
|
overflowTargetWidth: number;
|
|
@@ -1285,7 +1715,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1285
1715
|
hiddenIds: string[];
|
|
1286
1716
|
nonInteractiveIds: string[];
|
|
1287
1717
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1718
|
+
itemSizeCache: Record<string, number>;
|
|
1288
1719
|
itemWidthCache: Record<string, number>;
|
|
1720
|
+
containerSize: number;
|
|
1289
1721
|
containerWidth: number;
|
|
1290
1722
|
containerGap: number;
|
|
1291
1723
|
overflowTargetWidth: number;
|
|
@@ -1315,7 +1747,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1315
1747
|
hiddenIds: string[];
|
|
1316
1748
|
nonInteractiveIds: string[];
|
|
1317
1749
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1750
|
+
itemSizeCache: Record<string, number>;
|
|
1318
1751
|
itemWidthCache: Record<string, number>;
|
|
1752
|
+
containerSize: number;
|
|
1319
1753
|
containerWidth: number;
|
|
1320
1754
|
containerGap: number;
|
|
1321
1755
|
overflowTargetWidth: number;
|
|
@@ -1345,7 +1779,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1345
1779
|
hiddenIds: string[];
|
|
1346
1780
|
nonInteractiveIds: string[];
|
|
1347
1781
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1782
|
+
itemSizeCache: Record<string, number>;
|
|
1348
1783
|
itemWidthCache: Record<string, number>;
|
|
1784
|
+
containerSize: number;
|
|
1349
1785
|
containerWidth: number;
|
|
1350
1786
|
containerGap: number;
|
|
1351
1787
|
overflowTargetWidth: number;
|
|
@@ -1375,7 +1811,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1375
1811
|
hiddenIds: string[];
|
|
1376
1812
|
nonInteractiveIds: string[];
|
|
1377
1813
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1814
|
+
itemSizeCache: Record<string, number>;
|
|
1378
1815
|
itemWidthCache: Record<string, number>;
|
|
1816
|
+
containerSize: number;
|
|
1379
1817
|
containerWidth: number;
|
|
1380
1818
|
containerGap: number;
|
|
1381
1819
|
overflowTargetWidth: number;
|
|
@@ -1405,7 +1843,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1405
1843
|
hiddenIds: string[];
|
|
1406
1844
|
nonInteractiveIds: string[];
|
|
1407
1845
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1846
|
+
itemSizeCache: Record<string, number>;
|
|
1408
1847
|
itemWidthCache: Record<string, number>;
|
|
1848
|
+
containerSize: number;
|
|
1409
1849
|
containerWidth: number;
|
|
1410
1850
|
containerGap: number;
|
|
1411
1851
|
overflowTargetWidth: number;
|
|
@@ -1435,7 +1875,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1435
1875
|
hiddenIds: string[];
|
|
1436
1876
|
nonInteractiveIds: string[];
|
|
1437
1877
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1878
|
+
itemSizeCache: Record<string, number>;
|
|
1438
1879
|
itemWidthCache: Record<string, number>;
|
|
1880
|
+
containerSize: number;
|
|
1439
1881
|
containerWidth: number;
|
|
1440
1882
|
containerGap: number;
|
|
1441
1883
|
overflowTargetWidth: number;
|
|
@@ -1465,7 +1907,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1465
1907
|
hiddenIds: string[];
|
|
1466
1908
|
nonInteractiveIds: string[];
|
|
1467
1909
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1910
|
+
itemSizeCache: Record<string, number>;
|
|
1468
1911
|
itemWidthCache: Record<string, number>;
|
|
1912
|
+
containerSize: number;
|
|
1469
1913
|
containerWidth: number;
|
|
1470
1914
|
containerGap: number;
|
|
1471
1915
|
overflowTargetWidth: number;
|
|
@@ -1495,7 +1939,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1495
1939
|
hiddenIds: string[];
|
|
1496
1940
|
nonInteractiveIds: string[];
|
|
1497
1941
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1942
|
+
itemSizeCache: Record<string, number>;
|
|
1498
1943
|
itemWidthCache: Record<string, number>;
|
|
1944
|
+
containerSize: number;
|
|
1499
1945
|
containerWidth: number;
|
|
1500
1946
|
containerGap: number;
|
|
1501
1947
|
overflowTargetWidth: number;
|
|
@@ -1528,7 +1974,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1528
1974
|
hiddenIds: string[];
|
|
1529
1975
|
nonInteractiveIds: string[];
|
|
1530
1976
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1977
|
+
itemSizeCache: Record<string, number>;
|
|
1531
1978
|
itemWidthCache: Record<string, number>;
|
|
1979
|
+
containerSize: number;
|
|
1532
1980
|
containerWidth: number;
|
|
1533
1981
|
containerGap: number;
|
|
1534
1982
|
overflowTargetWidth: number;
|
|
@@ -1560,7 +2008,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1560
2008
|
hiddenIds: string[];
|
|
1561
2009
|
nonInteractiveIds: string[];
|
|
1562
2010
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2011
|
+
itemSizeCache: Record<string, number>;
|
|
1563
2012
|
itemWidthCache: Record<string, number>;
|
|
2013
|
+
containerSize: number;
|
|
1564
2014
|
containerWidth: number;
|
|
1565
2015
|
containerGap: number;
|
|
1566
2016
|
overflowTargetWidth: number;
|
|
@@ -1592,7 +2042,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1592
2042
|
hiddenIds: string[];
|
|
1593
2043
|
nonInteractiveIds: string[];
|
|
1594
2044
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2045
|
+
itemSizeCache: Record<string, number>;
|
|
1595
2046
|
itemWidthCache: Record<string, number>;
|
|
2047
|
+
containerSize: number;
|
|
1596
2048
|
containerWidth: number;
|
|
1597
2049
|
containerGap: number;
|
|
1598
2050
|
overflowTargetWidth: number;
|
|
@@ -1623,7 +2075,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1623
2075
|
hiddenIds: string[];
|
|
1624
2076
|
nonInteractiveIds: string[];
|
|
1625
2077
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2078
|
+
itemSizeCache: Record<string, number>;
|
|
1626
2079
|
itemWidthCache: Record<string, number>;
|
|
2080
|
+
containerSize: number;
|
|
1627
2081
|
containerWidth: number;
|
|
1628
2082
|
containerGap: number;
|
|
1629
2083
|
overflowTargetWidth: number;
|
|
@@ -1653,12 +2107,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1653
2107
|
select(data: {
|
|
1654
2108
|
id: string;
|
|
1655
2109
|
}): void;
|
|
2110
|
+
setContainerSize(data: {
|
|
2111
|
+
width?: number | undefined;
|
|
2112
|
+
height?: number | undefined;
|
|
2113
|
+
}): void;
|
|
1656
2114
|
setContainerWidth(data: {
|
|
1657
2115
|
width?: number | undefined;
|
|
1658
2116
|
}): void;
|
|
1659
2117
|
setContainerGap(data: {
|
|
1660
2118
|
size: number;
|
|
1661
2119
|
}): void;
|
|
2120
|
+
setOverflowTargetSize(data: {
|
|
2121
|
+
width: number;
|
|
2122
|
+
height: number;
|
|
2123
|
+
}): void;
|
|
1662
2124
|
setOverflowTargetWidth(data: {
|
|
1663
2125
|
width: number;
|
|
1664
2126
|
}): void;
|
|
@@ -1666,6 +2128,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1666
2128
|
id: string;
|
|
1667
2129
|
width: number;
|
|
1668
2130
|
}): void;
|
|
2131
|
+
addItemSize(data: {
|
|
2132
|
+
id: string;
|
|
2133
|
+
width: number;
|
|
2134
|
+
height: number;
|
|
2135
|
+
}): void;
|
|
2136
|
+
removeItemSize(data: {
|
|
2137
|
+
id: string;
|
|
2138
|
+
}): void;
|
|
1669
2139
|
removeItemWidth(data: {
|
|
1670
2140
|
id: string;
|
|
1671
2141
|
}): void;
|
|
@@ -1678,6 +2148,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1678
2148
|
selectAll(): void;
|
|
1679
2149
|
unselectAll(): void;
|
|
1680
2150
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2151
|
+
remove(data: {
|
|
2152
|
+
id: string;
|
|
2153
|
+
nextId?: string | undefined;
|
|
2154
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2155
|
+
}): void;
|
|
1681
2156
|
goTo(data: {
|
|
1682
2157
|
id: string;
|
|
1683
2158
|
}): void;
|
|
@@ -1747,6 +2222,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1747
2222
|
selectAll(): void;
|
|
1748
2223
|
unselectAll(): void;
|
|
1749
2224
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2225
|
+
remove(data: {
|
|
2226
|
+
id: string;
|
|
2227
|
+
nextId?: string | undefined;
|
|
2228
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2229
|
+
}): void;
|
|
1750
2230
|
goTo(data: {
|
|
1751
2231
|
id: string;
|
|
1752
2232
|
}): void;
|
|
@@ -1800,7 +2280,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1800
2280
|
hiddenIds: string[];
|
|
1801
2281
|
nonInteractiveIds: string[];
|
|
1802
2282
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2283
|
+
itemSizeCache: Record<string, number>;
|
|
1803
2284
|
itemWidthCache: Record<string, number>;
|
|
2285
|
+
containerSize: number;
|
|
1804
2286
|
containerWidth: number;
|
|
1805
2287
|
containerGap: number;
|
|
1806
2288
|
overflowTargetWidth: number;
|
|
@@ -1830,12 +2312,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1830
2312
|
select(data: {
|
|
1831
2313
|
id: string;
|
|
1832
2314
|
}): void;
|
|
2315
|
+
setContainerSize(data: {
|
|
2316
|
+
width?: number | undefined;
|
|
2317
|
+
height?: number | undefined;
|
|
2318
|
+
}): void;
|
|
1833
2319
|
setContainerWidth(data: {
|
|
1834
2320
|
width?: number | undefined;
|
|
1835
2321
|
}): void;
|
|
1836
2322
|
setContainerGap(data: {
|
|
1837
2323
|
size: number;
|
|
1838
2324
|
}): void;
|
|
2325
|
+
setOverflowTargetSize(data: {
|
|
2326
|
+
width: number;
|
|
2327
|
+
height: number;
|
|
2328
|
+
}): void;
|
|
1839
2329
|
setOverflowTargetWidth(data: {
|
|
1840
2330
|
width: number;
|
|
1841
2331
|
}): void;
|
|
@@ -1843,6 +2333,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1843
2333
|
id: string;
|
|
1844
2334
|
width: number;
|
|
1845
2335
|
}): void;
|
|
2336
|
+
addItemSize(data: {
|
|
2337
|
+
id: string;
|
|
2338
|
+
width: number;
|
|
2339
|
+
height: number;
|
|
2340
|
+
}): void;
|
|
2341
|
+
removeItemSize(data: {
|
|
2342
|
+
id: string;
|
|
2343
|
+
}): void;
|
|
1846
2344
|
removeItemWidth(data: {
|
|
1847
2345
|
id: string;
|
|
1848
2346
|
}): void;
|
|
@@ -1855,6 +2353,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1855
2353
|
selectAll(): void;
|
|
1856
2354
|
unselectAll(): void;
|
|
1857
2355
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2356
|
+
remove(data: {
|
|
2357
|
+
id: string;
|
|
2358
|
+
nextId?: string | undefined;
|
|
2359
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2360
|
+
}): void;
|
|
1858
2361
|
goTo(data: {
|
|
1859
2362
|
id: string;
|
|
1860
2363
|
}): void;
|
|
@@ -1924,6 +2427,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1924
2427
|
selectAll(): void;
|
|
1925
2428
|
unselectAll(): void;
|
|
1926
2429
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2430
|
+
remove(data: {
|
|
2431
|
+
id: string;
|
|
2432
|
+
nextId?: string | undefined;
|
|
2433
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2434
|
+
}): void;
|
|
1927
2435
|
goTo(data: {
|
|
1928
2436
|
id: string;
|
|
1929
2437
|
}): void;
|
|
@@ -1971,7 +2479,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1971
2479
|
hiddenIds: string[];
|
|
1972
2480
|
nonInteractiveIds: string[];
|
|
1973
2481
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2482
|
+
itemSizeCache: Record<string, number>;
|
|
1974
2483
|
itemWidthCache: Record<string, number>;
|
|
2484
|
+
containerSize: number;
|
|
1975
2485
|
containerWidth: number;
|
|
1976
2486
|
containerGap: number;
|
|
1977
2487
|
overflowTargetWidth: number;
|
|
@@ -2001,12 +2511,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2001
2511
|
select(data: {
|
|
2002
2512
|
id: string;
|
|
2003
2513
|
}): void;
|
|
2514
|
+
setContainerSize(data: {
|
|
2515
|
+
width?: number | undefined;
|
|
2516
|
+
height?: number | undefined;
|
|
2517
|
+
}): void;
|
|
2004
2518
|
setContainerWidth(data: {
|
|
2005
2519
|
width?: number | undefined;
|
|
2006
2520
|
}): void;
|
|
2007
2521
|
setContainerGap(data: {
|
|
2008
2522
|
size: number;
|
|
2009
2523
|
}): void;
|
|
2524
|
+
setOverflowTargetSize(data: {
|
|
2525
|
+
width: number;
|
|
2526
|
+
height: number;
|
|
2527
|
+
}): void;
|
|
2010
2528
|
setOverflowTargetWidth(data: {
|
|
2011
2529
|
width: number;
|
|
2012
2530
|
}): void;
|
|
@@ -2014,6 +2532,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2014
2532
|
id: string;
|
|
2015
2533
|
width: number;
|
|
2016
2534
|
}): void;
|
|
2535
|
+
addItemSize(data: {
|
|
2536
|
+
id: string;
|
|
2537
|
+
width: number;
|
|
2538
|
+
height: number;
|
|
2539
|
+
}): void;
|
|
2540
|
+
removeItemSize(data: {
|
|
2541
|
+
id: string;
|
|
2542
|
+
}): void;
|
|
2017
2543
|
removeItemWidth(data: {
|
|
2018
2544
|
id: string;
|
|
2019
2545
|
}): void;
|
|
@@ -2026,6 +2552,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2026
2552
|
selectAll(): void;
|
|
2027
2553
|
unselectAll(): void;
|
|
2028
2554
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2555
|
+
remove(data: {
|
|
2556
|
+
id: string;
|
|
2557
|
+
nextId?: string | undefined;
|
|
2558
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2559
|
+
}): void;
|
|
2029
2560
|
goTo(data: {
|
|
2030
2561
|
id: string;
|
|
2031
2562
|
}): void;
|
|
@@ -2095,6 +2626,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2095
2626
|
selectAll(): void;
|
|
2096
2627
|
unselectAll(): void;
|
|
2097
2628
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2629
|
+
remove(data: {
|
|
2630
|
+
id: string;
|
|
2631
|
+
nextId?: string | undefined;
|
|
2632
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2633
|
+
}): void;
|
|
2098
2634
|
goTo(data: {
|
|
2099
2635
|
id: string;
|
|
2100
2636
|
}): void;
|
|
@@ -2132,7 +2668,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2132
2668
|
hiddenIds: string[];
|
|
2133
2669
|
nonInteractiveIds: string[];
|
|
2134
2670
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2671
|
+
itemSizeCache: Record<string, number>;
|
|
2135
2672
|
itemWidthCache: Record<string, number>;
|
|
2673
|
+
containerSize: number;
|
|
2136
2674
|
containerWidth: number;
|
|
2137
2675
|
containerGap: number;
|
|
2138
2676
|
overflowTargetWidth: number;
|
|
@@ -2162,12 +2700,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2162
2700
|
select(data: {
|
|
2163
2701
|
id: string;
|
|
2164
2702
|
}): void;
|
|
2703
|
+
setContainerSize(data: {
|
|
2704
|
+
width?: number | undefined;
|
|
2705
|
+
height?: number | undefined;
|
|
2706
|
+
}): void;
|
|
2165
2707
|
setContainerWidth(data: {
|
|
2166
2708
|
width?: number | undefined;
|
|
2167
2709
|
}): void;
|
|
2168
2710
|
setContainerGap(data: {
|
|
2169
2711
|
size: number;
|
|
2170
2712
|
}): void;
|
|
2713
|
+
setOverflowTargetSize(data: {
|
|
2714
|
+
width: number;
|
|
2715
|
+
height: number;
|
|
2716
|
+
}): void;
|
|
2171
2717
|
setOverflowTargetWidth(data: {
|
|
2172
2718
|
width: number;
|
|
2173
2719
|
}): void;
|
|
@@ -2175,6 +2721,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2175
2721
|
id: string;
|
|
2176
2722
|
width: number;
|
|
2177
2723
|
}): void;
|
|
2724
|
+
addItemSize(data: {
|
|
2725
|
+
id: string;
|
|
2726
|
+
width: number;
|
|
2727
|
+
height: number;
|
|
2728
|
+
}): void;
|
|
2729
|
+
removeItemSize(data: {
|
|
2730
|
+
id: string;
|
|
2731
|
+
}): void;
|
|
2178
2732
|
removeItemWidth(data: {
|
|
2179
2733
|
id: string;
|
|
2180
2734
|
}): void;
|
|
@@ -2187,6 +2741,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2187
2741
|
selectAll(): void;
|
|
2188
2742
|
unselectAll(): void;
|
|
2189
2743
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2744
|
+
remove(data: {
|
|
2745
|
+
id: string;
|
|
2746
|
+
nextId?: string | undefined;
|
|
2747
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2748
|
+
}): void;
|
|
2190
2749
|
goTo(data: {
|
|
2191
2750
|
id: string;
|
|
2192
2751
|
}): void;
|
|
@@ -2256,6 +2815,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2256
2815
|
selectAll(): void;
|
|
2257
2816
|
unselectAll(): void;
|
|
2258
2817
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2818
|
+
remove(data: {
|
|
2819
|
+
id: string;
|
|
2820
|
+
nextId?: string | undefined;
|
|
2821
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2822
|
+
}): void;
|
|
2259
2823
|
goTo(data: {
|
|
2260
2824
|
id: string;
|
|
2261
2825
|
}): void;
|
|
@@ -2549,6 +3113,42 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2549
3113
|
items: import("../..").Item<any>[];
|
|
2550
3114
|
mode: "multiple" | "single";
|
|
2551
3115
|
}) => void) | undefined;
|
|
3116
|
+
onRemove?: ((data: {
|
|
3117
|
+
id: string;
|
|
3118
|
+
nextId?: string | undefined;
|
|
3119
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
3120
|
+
}, prevState: {
|
|
3121
|
+
stackRef: React.RefObject<HTMLDivElement>;
|
|
3122
|
+
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3123
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
3124
|
+
returnFocusRef: React.RefObject<any> | undefined;
|
|
3125
|
+
placement: import("@popperjs/core").Placement;
|
|
3126
|
+
id: string;
|
|
3127
|
+
visibility: "hidden" | "visible";
|
|
3128
|
+
selectedIds: string[] | "all";
|
|
3129
|
+
unselectedIds: string[];
|
|
3130
|
+
cursorId: string;
|
|
3131
|
+
columnCount: number;
|
|
3132
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3133
|
+
cursorIndexRef: {
|
|
3134
|
+
readonly current: number;
|
|
3135
|
+
};
|
|
3136
|
+
UNSTABLE_virtual: {
|
|
3137
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3138
|
+
totalSize: number;
|
|
3139
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
3140
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
3141
|
+
measure: () => void;
|
|
3142
|
+
};
|
|
3143
|
+
UNSTABLE_defaultItemHeight: number;
|
|
3144
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
3145
|
+
orientation: "horizontal" | "vertical";
|
|
3146
|
+
indexRef: React.MutableRefObject<number>;
|
|
3147
|
+
nonInteractiveIds: string[];
|
|
3148
|
+
isVirtualized: boolean;
|
|
3149
|
+
items: import("../..").Item<any>[];
|
|
3150
|
+
mode: "multiple" | "single";
|
|
3151
|
+
}) => void) | undefined;
|
|
2552
3152
|
onGoTo?: ((data: {
|
|
2553
3153
|
id: string;
|
|
2554
3154
|
}, prevState: {
|
|
@@ -3235,6 +3835,42 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
3235
3835
|
items: import("../..").Item<any>[];
|
|
3236
3836
|
mode: "multiple" | "single";
|
|
3237
3837
|
}) => boolean) | undefined;
|
|
3838
|
+
shouldRemove?: ((data: {
|
|
3839
|
+
id: string;
|
|
3840
|
+
nextId?: string | undefined;
|
|
3841
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
3842
|
+
}, state: {
|
|
3843
|
+
stackRef: React.RefObject<HTMLDivElement>;
|
|
3844
|
+
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3845
|
+
initialFocusRef: React.RefObject<any> | undefined;
|
|
3846
|
+
returnFocusRef: React.RefObject<any> | undefined;
|
|
3847
|
+
placement: import("@popperjs/core").Placement;
|
|
3848
|
+
id: string;
|
|
3849
|
+
visibility: "hidden" | "visible";
|
|
3850
|
+
selectedIds: string[] | "all";
|
|
3851
|
+
unselectedIds: string[];
|
|
3852
|
+
cursorId: string;
|
|
3853
|
+
columnCount: number;
|
|
3854
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3855
|
+
cursorIndexRef: {
|
|
3856
|
+
readonly current: number;
|
|
3857
|
+
};
|
|
3858
|
+
UNSTABLE_virtual: {
|
|
3859
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3860
|
+
totalSize: number;
|
|
3861
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
3862
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
3863
|
+
measure: () => void;
|
|
3864
|
+
};
|
|
3865
|
+
UNSTABLE_defaultItemHeight: number;
|
|
3866
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
3867
|
+
orientation: "horizontal" | "vertical";
|
|
3868
|
+
indexRef: React.MutableRefObject<number>;
|
|
3869
|
+
nonInteractiveIds: string[];
|
|
3870
|
+
isVirtualized: boolean;
|
|
3871
|
+
items: import("../..").Item<any>[];
|
|
3872
|
+
mode: "multiple" | "single";
|
|
3873
|
+
}) => boolean) | undefined;
|
|
3238
3874
|
shouldGoTo?: ((data: {
|
|
3239
3875
|
id: string;
|
|
3240
3876
|
}, state: {
|
|
@@ -3737,6 +4373,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
3737
4373
|
selectAll(): void;
|
|
3738
4374
|
unselectAll(): void;
|
|
3739
4375
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4376
|
+
remove(data: {
|
|
4377
|
+
id: string;
|
|
4378
|
+
nextId?: string | undefined;
|
|
4379
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4380
|
+
}): void;
|
|
3740
4381
|
goTo(data: {
|
|
3741
4382
|
id: string;
|
|
3742
4383
|
}): void;
|
|
@@ -3810,6 +4451,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
3810
4451
|
selectAll(): void;
|
|
3811
4452
|
unselectAll(): void;
|
|
3812
4453
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4454
|
+
remove(data: {
|
|
4455
|
+
id: string;
|
|
4456
|
+
nextId?: string | undefined;
|
|
4457
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4458
|
+
}): void;
|
|
3813
4459
|
goTo(data: {
|
|
3814
4460
|
id: string;
|
|
3815
4461
|
}): void;
|
|
@@ -3883,6 +4529,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
3883
4529
|
selectAll(): void;
|
|
3884
4530
|
unselectAll(): void;
|
|
3885
4531
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4532
|
+
remove(data: {
|
|
4533
|
+
id: string;
|
|
4534
|
+
nextId?: string | undefined;
|
|
4535
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4536
|
+
}): void;
|
|
3886
4537
|
goTo(data: {
|
|
3887
4538
|
id: string;
|
|
3888
4539
|
}): void;
|
|
@@ -3956,6 +4607,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
3956
4607
|
selectAll(): void;
|
|
3957
4608
|
unselectAll(): void;
|
|
3958
4609
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4610
|
+
remove(data: {
|
|
4611
|
+
id: string;
|
|
4612
|
+
nextId?: string | undefined;
|
|
4613
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4614
|
+
}): void;
|
|
3959
4615
|
goTo(data: {
|
|
3960
4616
|
id: string;
|
|
3961
4617
|
}): void;
|
|
@@ -4029,6 +4685,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
4029
4685
|
selectAll(): void;
|
|
4030
4686
|
unselectAll(): void;
|
|
4031
4687
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4688
|
+
remove(data: {
|
|
4689
|
+
id: string;
|
|
4690
|
+
nextId?: string | undefined;
|
|
4691
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4692
|
+
}): void;
|
|
4032
4693
|
goTo(data: {
|
|
4033
4694
|
id: string;
|
|
4034
4695
|
}): void;
|
|
@@ -4107,6 +4768,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
4107
4768
|
selectAll(): void;
|
|
4108
4769
|
unselectAll(): void;
|
|
4109
4770
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4771
|
+
remove(data: {
|
|
4772
|
+
id: string;
|
|
4773
|
+
nextId?: string | undefined;
|
|
4774
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4775
|
+
}): void;
|
|
4110
4776
|
goTo(data: {
|
|
4111
4777
|
id: string;
|
|
4112
4778
|
}): void;
|
|
@@ -4186,6 +4852,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
4186
4852
|
selectAll(): void;
|
|
4187
4853
|
unselectAll(): void;
|
|
4188
4854
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4855
|
+
remove(data: {
|
|
4856
|
+
id: string;
|
|
4857
|
+
nextId?: string | undefined;
|
|
4858
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4859
|
+
}): void;
|
|
4189
4860
|
goTo(data: {
|
|
4190
4861
|
id: string;
|
|
4191
4862
|
}): void;
|
|
@@ -4259,6 +4930,11 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
4259
4930
|
selectAll(): void;
|
|
4260
4931
|
unselectAll(): void;
|
|
4261
4932
|
setSelectedIds(ids: string[] | "all"): void;
|
|
4933
|
+
remove(data: {
|
|
4934
|
+
id: string;
|
|
4935
|
+
nextId?: string | undefined;
|
|
4936
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
4937
|
+
}): void;
|
|
4262
4938
|
goTo(data: {
|
|
4263
4939
|
id: string;
|
|
4264
4940
|
}): void;
|