@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
|
@@ -61,7 +61,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
61
61
|
hiddenIds: string[];
|
|
62
62
|
nonInteractiveIds: string[];
|
|
63
63
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
64
|
+
itemSizeCache: Record<string, number>;
|
|
64
65
|
itemWidthCache: Record<string, number>;
|
|
66
|
+
containerSize: number;
|
|
67
|
+
containerWidth: number;
|
|
68
|
+
containerGap: number;
|
|
69
|
+
overflowTargetWidth: number;
|
|
70
|
+
selectedIds: string[] | "all";
|
|
71
|
+
unselectedIds: string[];
|
|
72
|
+
cursorId: string;
|
|
73
|
+
columnCount: number;
|
|
74
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
75
|
+
cursorIndexRef: {
|
|
76
|
+
readonly current: number;
|
|
77
|
+
};
|
|
78
|
+
UNSTABLE_virtual: {
|
|
79
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
80
|
+
totalSize: number;
|
|
81
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
82
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
83
|
+
measure: () => void;
|
|
84
|
+
};
|
|
85
|
+
UNSTABLE_defaultItemHeight: number;
|
|
86
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
87
|
+
id: string;
|
|
88
|
+
indexRef: React.MutableRefObject<number>;
|
|
89
|
+
isVirtualized: boolean;
|
|
90
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
91
|
+
}) => void) | undefined;
|
|
92
|
+
onSetContainerSize?: ((data: {
|
|
93
|
+
width?: number | undefined;
|
|
94
|
+
height?: number | undefined;
|
|
95
|
+
}, prevState: {
|
|
96
|
+
hiddenIds: string[];
|
|
97
|
+
nonInteractiveIds: string[];
|
|
98
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
99
|
+
itemSizeCache: Record<string, number>;
|
|
100
|
+
itemWidthCache: Record<string, number>;
|
|
101
|
+
containerSize: number;
|
|
65
102
|
containerWidth: number;
|
|
66
103
|
containerGap: number;
|
|
67
104
|
overflowTargetWidth: number;
|
|
@@ -93,7 +130,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
93
130
|
hiddenIds: string[];
|
|
94
131
|
nonInteractiveIds: string[];
|
|
95
132
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
133
|
+
itemSizeCache: Record<string, number>;
|
|
96
134
|
itemWidthCache: Record<string, number>;
|
|
135
|
+
containerSize: number;
|
|
97
136
|
containerWidth: number;
|
|
98
137
|
containerGap: number;
|
|
99
138
|
overflowTargetWidth: number;
|
|
@@ -125,7 +164,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
125
164
|
hiddenIds: string[];
|
|
126
165
|
nonInteractiveIds: string[];
|
|
127
166
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
167
|
+
itemSizeCache: Record<string, number>;
|
|
168
|
+
itemWidthCache: Record<string, number>;
|
|
169
|
+
containerSize: number;
|
|
170
|
+
containerWidth: number;
|
|
171
|
+
containerGap: number;
|
|
172
|
+
overflowTargetWidth: number;
|
|
173
|
+
selectedIds: string[] | "all";
|
|
174
|
+
unselectedIds: string[];
|
|
175
|
+
cursorId: string;
|
|
176
|
+
columnCount: number;
|
|
177
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
178
|
+
cursorIndexRef: {
|
|
179
|
+
readonly current: number;
|
|
180
|
+
};
|
|
181
|
+
UNSTABLE_virtual: {
|
|
182
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
183
|
+
totalSize: number;
|
|
184
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
185
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
186
|
+
measure: () => void;
|
|
187
|
+
};
|
|
188
|
+
UNSTABLE_defaultItemHeight: number;
|
|
189
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
190
|
+
id: string;
|
|
191
|
+
indexRef: React.MutableRefObject<number>;
|
|
192
|
+
isVirtualized: boolean;
|
|
193
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
194
|
+
}) => void) | undefined;
|
|
195
|
+
onSetOverflowTargetSize?: ((data: {
|
|
196
|
+
width: number;
|
|
197
|
+
height: number;
|
|
198
|
+
}, prevState: {
|
|
199
|
+
hiddenIds: string[];
|
|
200
|
+
nonInteractiveIds: string[];
|
|
201
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
202
|
+
itemSizeCache: Record<string, number>;
|
|
128
203
|
itemWidthCache: Record<string, number>;
|
|
204
|
+
containerSize: number;
|
|
129
205
|
containerWidth: number;
|
|
130
206
|
containerGap: number;
|
|
131
207
|
overflowTargetWidth: number;
|
|
@@ -157,7 +233,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
157
233
|
hiddenIds: string[];
|
|
158
234
|
nonInteractiveIds: string[];
|
|
159
235
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
236
|
+
itemSizeCache: Record<string, number>;
|
|
160
237
|
itemWidthCache: Record<string, number>;
|
|
238
|
+
containerSize: number;
|
|
161
239
|
containerWidth: number;
|
|
162
240
|
containerGap: number;
|
|
163
241
|
overflowTargetWidth: number;
|
|
@@ -190,7 +268,79 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
190
268
|
hiddenIds: string[];
|
|
191
269
|
nonInteractiveIds: string[];
|
|
192
270
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
271
|
+
itemSizeCache: Record<string, number>;
|
|
193
272
|
itemWidthCache: Record<string, number>;
|
|
273
|
+
containerSize: number;
|
|
274
|
+
containerWidth: number;
|
|
275
|
+
containerGap: number;
|
|
276
|
+
overflowTargetWidth: number;
|
|
277
|
+
selectedIds: string[] | "all";
|
|
278
|
+
unselectedIds: string[];
|
|
279
|
+
cursorId: string;
|
|
280
|
+
columnCount: number;
|
|
281
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
282
|
+
cursorIndexRef: {
|
|
283
|
+
readonly current: number;
|
|
284
|
+
};
|
|
285
|
+
UNSTABLE_virtual: {
|
|
286
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
287
|
+
totalSize: number;
|
|
288
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
289
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
290
|
+
measure: () => void;
|
|
291
|
+
};
|
|
292
|
+
UNSTABLE_defaultItemHeight: number;
|
|
293
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
294
|
+
id: string;
|
|
295
|
+
indexRef: React.MutableRefObject<number>;
|
|
296
|
+
isVirtualized: boolean;
|
|
297
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
298
|
+
}) => void) | undefined;
|
|
299
|
+
onAddItemSize?: ((data: {
|
|
300
|
+
id: string;
|
|
301
|
+
width: number;
|
|
302
|
+
height: number;
|
|
303
|
+
}, prevState: {
|
|
304
|
+
hiddenIds: string[];
|
|
305
|
+
nonInteractiveIds: string[];
|
|
306
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
307
|
+
itemSizeCache: Record<string, number>;
|
|
308
|
+
itemWidthCache: Record<string, number>;
|
|
309
|
+
containerSize: number;
|
|
310
|
+
containerWidth: number;
|
|
311
|
+
containerGap: number;
|
|
312
|
+
overflowTargetWidth: number;
|
|
313
|
+
selectedIds: string[] | "all";
|
|
314
|
+
unselectedIds: string[];
|
|
315
|
+
cursorId: string;
|
|
316
|
+
columnCount: number;
|
|
317
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
318
|
+
cursorIndexRef: {
|
|
319
|
+
readonly current: number;
|
|
320
|
+
};
|
|
321
|
+
UNSTABLE_virtual: {
|
|
322
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
323
|
+
totalSize: number;
|
|
324
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
325
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
326
|
+
measure: () => void;
|
|
327
|
+
};
|
|
328
|
+
UNSTABLE_defaultItemHeight: number;
|
|
329
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
330
|
+
id: string;
|
|
331
|
+
indexRef: React.MutableRefObject<number>;
|
|
332
|
+
isVirtualized: boolean;
|
|
333
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
334
|
+
}) => void) | undefined;
|
|
335
|
+
onRemoveItemSize?: ((data: {
|
|
336
|
+
id: string;
|
|
337
|
+
}, prevState: {
|
|
338
|
+
hiddenIds: string[];
|
|
339
|
+
nonInteractiveIds: string[];
|
|
340
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
341
|
+
itemSizeCache: Record<string, number>;
|
|
342
|
+
itemWidthCache: Record<string, number>;
|
|
343
|
+
containerSize: number;
|
|
194
344
|
containerWidth: number;
|
|
195
345
|
containerGap: number;
|
|
196
346
|
overflowTargetWidth: number;
|
|
@@ -222,7 +372,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
222
372
|
hiddenIds: string[];
|
|
223
373
|
nonInteractiveIds: string[];
|
|
224
374
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
375
|
+
itemSizeCache: Record<string, number>;
|
|
225
376
|
itemWidthCache: Record<string, number>;
|
|
377
|
+
containerSize: number;
|
|
226
378
|
containerWidth: number;
|
|
227
379
|
containerGap: number;
|
|
228
380
|
overflowTargetWidth: number;
|
|
@@ -254,7 +406,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
254
406
|
hiddenIds: string[];
|
|
255
407
|
nonInteractiveIds: string[];
|
|
256
408
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
409
|
+
itemSizeCache: Record<string, number>;
|
|
257
410
|
itemWidthCache: Record<string, number>;
|
|
411
|
+
containerSize: number;
|
|
258
412
|
containerWidth: number;
|
|
259
413
|
containerGap: number;
|
|
260
414
|
overflowTargetWidth: number;
|
|
@@ -286,7 +440,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
286
440
|
hiddenIds: string[];
|
|
287
441
|
nonInteractiveIds: string[];
|
|
288
442
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
443
|
+
itemSizeCache: Record<string, number>;
|
|
289
444
|
itemWidthCache: Record<string, number>;
|
|
445
|
+
containerSize: number;
|
|
290
446
|
containerWidth: number;
|
|
291
447
|
containerGap: number;
|
|
292
448
|
overflowTargetWidth: number;
|
|
@@ -316,7 +472,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
316
472
|
hiddenIds: string[];
|
|
317
473
|
nonInteractiveIds: string[];
|
|
318
474
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
475
|
+
itemSizeCache: Record<string, number>;
|
|
319
476
|
itemWidthCache: Record<string, number>;
|
|
477
|
+
containerSize: number;
|
|
320
478
|
containerWidth: number;
|
|
321
479
|
containerGap: number;
|
|
322
480
|
overflowTargetWidth: number;
|
|
@@ -346,7 +504,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
346
504
|
hiddenIds: string[];
|
|
347
505
|
nonInteractiveIds: string[];
|
|
348
506
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
507
|
+
itemSizeCache: Record<string, number>;
|
|
349
508
|
itemWidthCache: Record<string, number>;
|
|
509
|
+
containerSize: number;
|
|
350
510
|
containerWidth: number;
|
|
351
511
|
containerGap: number;
|
|
352
512
|
overflowTargetWidth: number;
|
|
@@ -376,7 +536,45 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
376
536
|
hiddenIds: string[];
|
|
377
537
|
nonInteractiveIds: string[];
|
|
378
538
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
539
|
+
itemSizeCache: Record<string, number>;
|
|
379
540
|
itemWidthCache: Record<string, number>;
|
|
541
|
+
containerSize: number;
|
|
542
|
+
containerWidth: number;
|
|
543
|
+
containerGap: number;
|
|
544
|
+
overflowTargetWidth: number;
|
|
545
|
+
selectedIds: string[] | "all";
|
|
546
|
+
unselectedIds: string[];
|
|
547
|
+
cursorId: string;
|
|
548
|
+
columnCount: number;
|
|
549
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
550
|
+
cursorIndexRef: {
|
|
551
|
+
readonly current: number;
|
|
552
|
+
};
|
|
553
|
+
UNSTABLE_virtual: {
|
|
554
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
555
|
+
totalSize: number;
|
|
556
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
557
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
558
|
+
measure: () => void;
|
|
559
|
+
};
|
|
560
|
+
UNSTABLE_defaultItemHeight: number;
|
|
561
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
562
|
+
id: string;
|
|
563
|
+
indexRef: React.MutableRefObject<number>;
|
|
564
|
+
isVirtualized: boolean;
|
|
565
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
566
|
+
}) => void) | undefined;
|
|
567
|
+
onRemove?: ((data: {
|
|
568
|
+
id: string;
|
|
569
|
+
nextId?: string | undefined;
|
|
570
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
571
|
+
}, prevState: {
|
|
572
|
+
hiddenIds: string[];
|
|
573
|
+
nonInteractiveIds: string[];
|
|
574
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
575
|
+
itemSizeCache: Record<string, number>;
|
|
576
|
+
itemWidthCache: Record<string, number>;
|
|
577
|
+
containerSize: number;
|
|
380
578
|
containerWidth: number;
|
|
381
579
|
containerGap: number;
|
|
382
580
|
overflowTargetWidth: number;
|
|
@@ -408,7 +606,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
408
606
|
hiddenIds: string[];
|
|
409
607
|
nonInteractiveIds: string[];
|
|
410
608
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
609
|
+
itemSizeCache: Record<string, number>;
|
|
411
610
|
itemWidthCache: Record<string, number>;
|
|
611
|
+
containerSize: number;
|
|
412
612
|
containerWidth: number;
|
|
413
613
|
containerGap: number;
|
|
414
614
|
overflowTargetWidth: number;
|
|
@@ -438,7 +638,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
438
638
|
hiddenIds: string[];
|
|
439
639
|
nonInteractiveIds: string[];
|
|
440
640
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
641
|
+
itemSizeCache: Record<string, number>;
|
|
441
642
|
itemWidthCache: Record<string, number>;
|
|
643
|
+
containerSize: number;
|
|
442
644
|
containerWidth: number;
|
|
443
645
|
containerGap: number;
|
|
444
646
|
overflowTargetWidth: number;
|
|
@@ -468,7 +670,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
468
670
|
hiddenIds: string[];
|
|
469
671
|
nonInteractiveIds: string[];
|
|
470
672
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
673
|
+
itemSizeCache: Record<string, number>;
|
|
471
674
|
itemWidthCache: Record<string, number>;
|
|
675
|
+
containerSize: number;
|
|
472
676
|
containerWidth: number;
|
|
473
677
|
containerGap: number;
|
|
474
678
|
overflowTargetWidth: number;
|
|
@@ -498,7 +702,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
498
702
|
hiddenIds: string[];
|
|
499
703
|
nonInteractiveIds: string[];
|
|
500
704
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
705
|
+
itemSizeCache: Record<string, number>;
|
|
501
706
|
itemWidthCache: Record<string, number>;
|
|
707
|
+
containerSize: number;
|
|
502
708
|
containerWidth: number;
|
|
503
709
|
containerGap: number;
|
|
504
710
|
overflowTargetWidth: number;
|
|
@@ -528,7 +734,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
528
734
|
hiddenIds: string[];
|
|
529
735
|
nonInteractiveIds: string[];
|
|
530
736
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
737
|
+
itemSizeCache: Record<string, number>;
|
|
531
738
|
itemWidthCache: Record<string, number>;
|
|
739
|
+
containerSize: number;
|
|
532
740
|
containerWidth: number;
|
|
533
741
|
containerGap: number;
|
|
534
742
|
overflowTargetWidth: number;
|
|
@@ -558,7 +766,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
558
766
|
hiddenIds: string[];
|
|
559
767
|
nonInteractiveIds: string[];
|
|
560
768
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
769
|
+
itemSizeCache: Record<string, number>;
|
|
561
770
|
itemWidthCache: Record<string, number>;
|
|
771
|
+
containerSize: number;
|
|
562
772
|
containerWidth: number;
|
|
563
773
|
containerGap: number;
|
|
564
774
|
overflowTargetWidth: number;
|
|
@@ -588,7 +798,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
588
798
|
hiddenIds: string[];
|
|
589
799
|
nonInteractiveIds: string[];
|
|
590
800
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
801
|
+
itemSizeCache: Record<string, number>;
|
|
591
802
|
itemWidthCache: Record<string, number>;
|
|
803
|
+
containerSize: number;
|
|
592
804
|
containerWidth: number;
|
|
593
805
|
containerGap: number;
|
|
594
806
|
overflowTargetWidth: number;
|
|
@@ -618,7 +830,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
618
830
|
hiddenIds: string[];
|
|
619
831
|
nonInteractiveIds: string[];
|
|
620
832
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
833
|
+
itemSizeCache: Record<string, number>;
|
|
621
834
|
itemWidthCache: Record<string, number>;
|
|
835
|
+
containerSize: number;
|
|
622
836
|
containerWidth: number;
|
|
623
837
|
containerGap: number;
|
|
624
838
|
overflowTargetWidth: number;
|
|
@@ -648,7 +862,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
648
862
|
hiddenIds: string[];
|
|
649
863
|
nonInteractiveIds: string[];
|
|
650
864
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
865
|
+
itemSizeCache: Record<string, number>;
|
|
651
866
|
itemWidthCache: Record<string, number>;
|
|
867
|
+
containerSize: number;
|
|
652
868
|
containerWidth: number;
|
|
653
869
|
containerGap: number;
|
|
654
870
|
overflowTargetWidth: number;
|
|
@@ -678,7 +894,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
678
894
|
hiddenIds: string[];
|
|
679
895
|
nonInteractiveIds: string[];
|
|
680
896
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
897
|
+
itemSizeCache: Record<string, number>;
|
|
681
898
|
itemWidthCache: Record<string, number>;
|
|
899
|
+
containerSize: number;
|
|
682
900
|
containerWidth: number;
|
|
683
901
|
containerGap: number;
|
|
684
902
|
overflowTargetWidth: number;
|
|
@@ -708,7 +926,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
708
926
|
hiddenIds: string[];
|
|
709
927
|
nonInteractiveIds: string[];
|
|
710
928
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
929
|
+
itemSizeCache: Record<string, number>;
|
|
711
930
|
itemWidthCache: Record<string, number>;
|
|
931
|
+
containerSize: number;
|
|
712
932
|
containerWidth: number;
|
|
713
933
|
containerGap: number;
|
|
714
934
|
overflowTargetWidth: number;
|
|
@@ -741,7 +961,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
741
961
|
hiddenIds: string[];
|
|
742
962
|
nonInteractiveIds: string[];
|
|
743
963
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
964
|
+
itemSizeCache: Record<string, number>;
|
|
744
965
|
itemWidthCache: Record<string, number>;
|
|
966
|
+
containerSize: number;
|
|
745
967
|
containerWidth: number;
|
|
746
968
|
containerGap: number;
|
|
747
969
|
overflowTargetWidth: number;
|
|
@@ -773,7 +995,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
773
995
|
hiddenIds: string[];
|
|
774
996
|
nonInteractiveIds: string[];
|
|
775
997
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
998
|
+
itemSizeCache: Record<string, number>;
|
|
776
999
|
itemWidthCache: Record<string, number>;
|
|
1000
|
+
containerSize: number;
|
|
777
1001
|
containerWidth: number;
|
|
778
1002
|
containerGap: number;
|
|
779
1003
|
overflowTargetWidth: number;
|
|
@@ -805,7 +1029,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
805
1029
|
hiddenIds: string[];
|
|
806
1030
|
nonInteractiveIds: string[];
|
|
807
1031
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1032
|
+
itemSizeCache: Record<string, number>;
|
|
808
1033
|
itemWidthCache: Record<string, number>;
|
|
1034
|
+
containerSize: number;
|
|
809
1035
|
containerWidth: number;
|
|
810
1036
|
containerGap: number;
|
|
811
1037
|
overflowTargetWidth: number;
|
|
@@ -838,7 +1064,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
838
1064
|
hiddenIds: string[];
|
|
839
1065
|
nonInteractiveIds: string[];
|
|
840
1066
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1067
|
+
itemSizeCache: Record<string, number>;
|
|
841
1068
|
itemWidthCache: Record<string, number>;
|
|
1069
|
+
containerSize: number;
|
|
1070
|
+
containerWidth: number;
|
|
1071
|
+
containerGap: number;
|
|
1072
|
+
overflowTargetWidth: number;
|
|
1073
|
+
selectedIds: string[] | "all";
|
|
1074
|
+
unselectedIds: string[];
|
|
1075
|
+
cursorId: string;
|
|
1076
|
+
columnCount: number;
|
|
1077
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1078
|
+
cursorIndexRef: {
|
|
1079
|
+
readonly current: number;
|
|
1080
|
+
};
|
|
1081
|
+
UNSTABLE_virtual: {
|
|
1082
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1083
|
+
totalSize: number;
|
|
1084
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1085
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1086
|
+
measure: () => void;
|
|
1087
|
+
};
|
|
1088
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1089
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1090
|
+
id: string;
|
|
1091
|
+
indexRef: React.MutableRefObject<number>;
|
|
1092
|
+
isVirtualized: boolean;
|
|
1093
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1094
|
+
}) => boolean) | undefined;
|
|
1095
|
+
shouldSetContainerSize?: ((data: {
|
|
1096
|
+
width?: number | undefined;
|
|
1097
|
+
height?: number | undefined;
|
|
1098
|
+
}, state: {
|
|
1099
|
+
hiddenIds: string[];
|
|
1100
|
+
nonInteractiveIds: string[];
|
|
1101
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1102
|
+
itemSizeCache: Record<string, number>;
|
|
1103
|
+
itemWidthCache: Record<string, number>;
|
|
1104
|
+
containerSize: number;
|
|
842
1105
|
containerWidth: number;
|
|
843
1106
|
containerGap: number;
|
|
844
1107
|
overflowTargetWidth: number;
|
|
@@ -870,7 +1133,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
870
1133
|
hiddenIds: string[];
|
|
871
1134
|
nonInteractiveIds: string[];
|
|
872
1135
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1136
|
+
itemSizeCache: Record<string, number>;
|
|
873
1137
|
itemWidthCache: Record<string, number>;
|
|
1138
|
+
containerSize: number;
|
|
874
1139
|
containerWidth: number;
|
|
875
1140
|
containerGap: number;
|
|
876
1141
|
overflowTargetWidth: number;
|
|
@@ -902,7 +1167,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
902
1167
|
hiddenIds: string[];
|
|
903
1168
|
nonInteractiveIds: string[];
|
|
904
1169
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1170
|
+
itemSizeCache: Record<string, number>;
|
|
1171
|
+
itemWidthCache: Record<string, number>;
|
|
1172
|
+
containerSize: number;
|
|
1173
|
+
containerWidth: number;
|
|
1174
|
+
containerGap: number;
|
|
1175
|
+
overflowTargetWidth: number;
|
|
1176
|
+
selectedIds: string[] | "all";
|
|
1177
|
+
unselectedIds: string[];
|
|
1178
|
+
cursorId: string;
|
|
1179
|
+
columnCount: number;
|
|
1180
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1181
|
+
cursorIndexRef: {
|
|
1182
|
+
readonly current: number;
|
|
1183
|
+
};
|
|
1184
|
+
UNSTABLE_virtual: {
|
|
1185
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1186
|
+
totalSize: number;
|
|
1187
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1188
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1189
|
+
measure: () => void;
|
|
1190
|
+
};
|
|
1191
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1192
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1193
|
+
id: string;
|
|
1194
|
+
indexRef: React.MutableRefObject<number>;
|
|
1195
|
+
isVirtualized: boolean;
|
|
1196
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1197
|
+
}) => boolean) | undefined;
|
|
1198
|
+
shouldSetOverflowTargetSize?: ((data: {
|
|
1199
|
+
width: number;
|
|
1200
|
+
height: number;
|
|
1201
|
+
}, state: {
|
|
1202
|
+
hiddenIds: string[];
|
|
1203
|
+
nonInteractiveIds: string[];
|
|
1204
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1205
|
+
itemSizeCache: Record<string, number>;
|
|
905
1206
|
itemWidthCache: Record<string, number>;
|
|
1207
|
+
containerSize: number;
|
|
906
1208
|
containerWidth: number;
|
|
907
1209
|
containerGap: number;
|
|
908
1210
|
overflowTargetWidth: number;
|
|
@@ -934,7 +1236,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
934
1236
|
hiddenIds: string[];
|
|
935
1237
|
nonInteractiveIds: string[];
|
|
936
1238
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1239
|
+
itemSizeCache: Record<string, number>;
|
|
937
1240
|
itemWidthCache: Record<string, number>;
|
|
1241
|
+
containerSize: number;
|
|
938
1242
|
containerWidth: number;
|
|
939
1243
|
containerGap: number;
|
|
940
1244
|
overflowTargetWidth: number;
|
|
@@ -967,7 +1271,79 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
967
1271
|
hiddenIds: string[];
|
|
968
1272
|
nonInteractiveIds: string[];
|
|
969
1273
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1274
|
+
itemSizeCache: Record<string, number>;
|
|
1275
|
+
itemWidthCache: Record<string, number>;
|
|
1276
|
+
containerSize: number;
|
|
1277
|
+
containerWidth: number;
|
|
1278
|
+
containerGap: number;
|
|
1279
|
+
overflowTargetWidth: number;
|
|
1280
|
+
selectedIds: string[] | "all";
|
|
1281
|
+
unselectedIds: string[];
|
|
1282
|
+
cursorId: string;
|
|
1283
|
+
columnCount: number;
|
|
1284
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1285
|
+
cursorIndexRef: {
|
|
1286
|
+
readonly current: number;
|
|
1287
|
+
};
|
|
1288
|
+
UNSTABLE_virtual: {
|
|
1289
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1290
|
+
totalSize: number;
|
|
1291
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1292
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1293
|
+
measure: () => void;
|
|
1294
|
+
};
|
|
1295
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1296
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1297
|
+
id: string;
|
|
1298
|
+
indexRef: React.MutableRefObject<number>;
|
|
1299
|
+
isVirtualized: boolean;
|
|
1300
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1301
|
+
}) => boolean) | undefined;
|
|
1302
|
+
shouldAddItemSize?: ((data: {
|
|
1303
|
+
id: string;
|
|
1304
|
+
width: number;
|
|
1305
|
+
height: number;
|
|
1306
|
+
}, state: {
|
|
1307
|
+
hiddenIds: string[];
|
|
1308
|
+
nonInteractiveIds: string[];
|
|
1309
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1310
|
+
itemSizeCache: Record<string, number>;
|
|
1311
|
+
itemWidthCache: Record<string, number>;
|
|
1312
|
+
containerSize: number;
|
|
1313
|
+
containerWidth: number;
|
|
1314
|
+
containerGap: number;
|
|
1315
|
+
overflowTargetWidth: number;
|
|
1316
|
+
selectedIds: string[] | "all";
|
|
1317
|
+
unselectedIds: string[];
|
|
1318
|
+
cursorId: string;
|
|
1319
|
+
columnCount: number;
|
|
1320
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1321
|
+
cursorIndexRef: {
|
|
1322
|
+
readonly current: number;
|
|
1323
|
+
};
|
|
1324
|
+
UNSTABLE_virtual: {
|
|
1325
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1326
|
+
totalSize: number;
|
|
1327
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1328
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1329
|
+
measure: () => void;
|
|
1330
|
+
};
|
|
1331
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1332
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1333
|
+
id: string;
|
|
1334
|
+
indexRef: React.MutableRefObject<number>;
|
|
1335
|
+
isVirtualized: boolean;
|
|
1336
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1337
|
+
}) => boolean) | undefined;
|
|
1338
|
+
shouldRemoveItemSize?: ((data: {
|
|
1339
|
+
id: string;
|
|
1340
|
+
}, state: {
|
|
1341
|
+
hiddenIds: string[];
|
|
1342
|
+
nonInteractiveIds: string[];
|
|
1343
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1344
|
+
itemSizeCache: Record<string, number>;
|
|
970
1345
|
itemWidthCache: Record<string, number>;
|
|
1346
|
+
containerSize: number;
|
|
971
1347
|
containerWidth: number;
|
|
972
1348
|
containerGap: number;
|
|
973
1349
|
overflowTargetWidth: number;
|
|
@@ -999,7 +1375,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
999
1375
|
hiddenIds: string[];
|
|
1000
1376
|
nonInteractiveIds: string[];
|
|
1001
1377
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1378
|
+
itemSizeCache: Record<string, number>;
|
|
1002
1379
|
itemWidthCache: Record<string, number>;
|
|
1380
|
+
containerSize: number;
|
|
1003
1381
|
containerWidth: number;
|
|
1004
1382
|
containerGap: number;
|
|
1005
1383
|
overflowTargetWidth: number;
|
|
@@ -1031,7 +1409,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1031
1409
|
hiddenIds: string[];
|
|
1032
1410
|
nonInteractiveIds: string[];
|
|
1033
1411
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1412
|
+
itemSizeCache: Record<string, number>;
|
|
1034
1413
|
itemWidthCache: Record<string, number>;
|
|
1414
|
+
containerSize: number;
|
|
1035
1415
|
containerWidth: number;
|
|
1036
1416
|
containerGap: number;
|
|
1037
1417
|
overflowTargetWidth: number;
|
|
@@ -1063,7 +1443,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1063
1443
|
hiddenIds: string[];
|
|
1064
1444
|
nonInteractiveIds: string[];
|
|
1065
1445
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1446
|
+
itemSizeCache: Record<string, number>;
|
|
1066
1447
|
itemWidthCache: Record<string, number>;
|
|
1448
|
+
containerSize: number;
|
|
1067
1449
|
containerWidth: number;
|
|
1068
1450
|
containerGap: number;
|
|
1069
1451
|
overflowTargetWidth: number;
|
|
@@ -1093,7 +1475,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1093
1475
|
hiddenIds: string[];
|
|
1094
1476
|
nonInteractiveIds: string[];
|
|
1095
1477
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1478
|
+
itemSizeCache: Record<string, number>;
|
|
1096
1479
|
itemWidthCache: Record<string, number>;
|
|
1480
|
+
containerSize: number;
|
|
1097
1481
|
containerWidth: number;
|
|
1098
1482
|
containerGap: number;
|
|
1099
1483
|
overflowTargetWidth: number;
|
|
@@ -1123,7 +1507,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1123
1507
|
hiddenIds: string[];
|
|
1124
1508
|
nonInteractiveIds: string[];
|
|
1125
1509
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1510
|
+
itemSizeCache: Record<string, number>;
|
|
1126
1511
|
itemWidthCache: Record<string, number>;
|
|
1512
|
+
containerSize: number;
|
|
1127
1513
|
containerWidth: number;
|
|
1128
1514
|
containerGap: number;
|
|
1129
1515
|
overflowTargetWidth: number;
|
|
@@ -1153,7 +1539,45 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1153
1539
|
hiddenIds: string[];
|
|
1154
1540
|
nonInteractiveIds: string[];
|
|
1155
1541
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1542
|
+
itemSizeCache: Record<string, number>;
|
|
1156
1543
|
itemWidthCache: Record<string, number>;
|
|
1544
|
+
containerSize: number;
|
|
1545
|
+
containerWidth: number;
|
|
1546
|
+
containerGap: number;
|
|
1547
|
+
overflowTargetWidth: number;
|
|
1548
|
+
selectedIds: string[] | "all";
|
|
1549
|
+
unselectedIds: string[];
|
|
1550
|
+
cursorId: string;
|
|
1551
|
+
columnCount: number;
|
|
1552
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1553
|
+
cursorIndexRef: {
|
|
1554
|
+
readonly current: number;
|
|
1555
|
+
};
|
|
1556
|
+
UNSTABLE_virtual: {
|
|
1557
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1558
|
+
totalSize: number;
|
|
1559
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1560
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1561
|
+
measure: () => void;
|
|
1562
|
+
};
|
|
1563
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1564
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1565
|
+
id: string;
|
|
1566
|
+
indexRef: React.MutableRefObject<number>;
|
|
1567
|
+
isVirtualized: boolean;
|
|
1568
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1569
|
+
}) => boolean) | undefined;
|
|
1570
|
+
shouldRemove?: ((data: {
|
|
1571
|
+
id: string;
|
|
1572
|
+
nextId?: string | undefined;
|
|
1573
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
1574
|
+
}, state: {
|
|
1575
|
+
hiddenIds: string[];
|
|
1576
|
+
nonInteractiveIds: string[];
|
|
1577
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1578
|
+
itemSizeCache: Record<string, number>;
|
|
1579
|
+
itemWidthCache: Record<string, number>;
|
|
1580
|
+
containerSize: number;
|
|
1157
1581
|
containerWidth: number;
|
|
1158
1582
|
containerGap: number;
|
|
1159
1583
|
overflowTargetWidth: number;
|
|
@@ -1185,7 +1609,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1185
1609
|
hiddenIds: string[];
|
|
1186
1610
|
nonInteractiveIds: string[];
|
|
1187
1611
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1612
|
+
itemSizeCache: Record<string, number>;
|
|
1188
1613
|
itemWidthCache: Record<string, number>;
|
|
1614
|
+
containerSize: number;
|
|
1189
1615
|
containerWidth: number;
|
|
1190
1616
|
containerGap: number;
|
|
1191
1617
|
overflowTargetWidth: number;
|
|
@@ -1215,7 +1641,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1215
1641
|
hiddenIds: string[];
|
|
1216
1642
|
nonInteractiveIds: string[];
|
|
1217
1643
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1644
|
+
itemSizeCache: Record<string, number>;
|
|
1218
1645
|
itemWidthCache: Record<string, number>;
|
|
1646
|
+
containerSize: number;
|
|
1219
1647
|
containerWidth: number;
|
|
1220
1648
|
containerGap: number;
|
|
1221
1649
|
overflowTargetWidth: number;
|
|
@@ -1245,7 +1673,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1245
1673
|
hiddenIds: string[];
|
|
1246
1674
|
nonInteractiveIds: string[];
|
|
1247
1675
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1676
|
+
itemSizeCache: Record<string, number>;
|
|
1248
1677
|
itemWidthCache: Record<string, number>;
|
|
1678
|
+
containerSize: number;
|
|
1249
1679
|
containerWidth: number;
|
|
1250
1680
|
containerGap: number;
|
|
1251
1681
|
overflowTargetWidth: number;
|
|
@@ -1275,7 +1705,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1275
1705
|
hiddenIds: string[];
|
|
1276
1706
|
nonInteractiveIds: string[];
|
|
1277
1707
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1708
|
+
itemSizeCache: Record<string, number>;
|
|
1278
1709
|
itemWidthCache: Record<string, number>;
|
|
1710
|
+
containerSize: number;
|
|
1279
1711
|
containerWidth: number;
|
|
1280
1712
|
containerGap: number;
|
|
1281
1713
|
overflowTargetWidth: number;
|
|
@@ -1305,7 +1737,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1305
1737
|
hiddenIds: string[];
|
|
1306
1738
|
nonInteractiveIds: string[];
|
|
1307
1739
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1740
|
+
itemSizeCache: Record<string, number>;
|
|
1308
1741
|
itemWidthCache: Record<string, number>;
|
|
1742
|
+
containerSize: number;
|
|
1309
1743
|
containerWidth: number;
|
|
1310
1744
|
containerGap: number;
|
|
1311
1745
|
overflowTargetWidth: number;
|
|
@@ -1335,7 +1769,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1335
1769
|
hiddenIds: string[];
|
|
1336
1770
|
nonInteractiveIds: string[];
|
|
1337
1771
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1772
|
+
itemSizeCache: Record<string, number>;
|
|
1338
1773
|
itemWidthCache: Record<string, number>;
|
|
1774
|
+
containerSize: number;
|
|
1339
1775
|
containerWidth: number;
|
|
1340
1776
|
containerGap: number;
|
|
1341
1777
|
overflowTargetWidth: number;
|
|
@@ -1365,7 +1801,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1365
1801
|
hiddenIds: string[];
|
|
1366
1802
|
nonInteractiveIds: string[];
|
|
1367
1803
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1804
|
+
itemSizeCache: Record<string, number>;
|
|
1368
1805
|
itemWidthCache: Record<string, number>;
|
|
1806
|
+
containerSize: number;
|
|
1369
1807
|
containerWidth: number;
|
|
1370
1808
|
containerGap: number;
|
|
1371
1809
|
overflowTargetWidth: number;
|
|
@@ -1395,7 +1833,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1395
1833
|
hiddenIds: string[];
|
|
1396
1834
|
nonInteractiveIds: string[];
|
|
1397
1835
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1836
|
+
itemSizeCache: Record<string, number>;
|
|
1398
1837
|
itemWidthCache: Record<string, number>;
|
|
1838
|
+
containerSize: number;
|
|
1399
1839
|
containerWidth: number;
|
|
1400
1840
|
containerGap: number;
|
|
1401
1841
|
overflowTargetWidth: number;
|
|
@@ -1425,7 +1865,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1425
1865
|
hiddenIds: string[];
|
|
1426
1866
|
nonInteractiveIds: string[];
|
|
1427
1867
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1868
|
+
itemSizeCache: Record<string, number>;
|
|
1428
1869
|
itemWidthCache: Record<string, number>;
|
|
1870
|
+
containerSize: number;
|
|
1429
1871
|
containerWidth: number;
|
|
1430
1872
|
containerGap: number;
|
|
1431
1873
|
overflowTargetWidth: number;
|
|
@@ -1455,7 +1897,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1455
1897
|
hiddenIds: string[];
|
|
1456
1898
|
nonInteractiveIds: string[];
|
|
1457
1899
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1900
|
+
itemSizeCache: Record<string, number>;
|
|
1458
1901
|
itemWidthCache: Record<string, number>;
|
|
1902
|
+
containerSize: number;
|
|
1459
1903
|
containerWidth: number;
|
|
1460
1904
|
containerGap: number;
|
|
1461
1905
|
overflowTargetWidth: number;
|
|
@@ -1485,7 +1929,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1485
1929
|
hiddenIds: string[];
|
|
1486
1930
|
nonInteractiveIds: string[];
|
|
1487
1931
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1932
|
+
itemSizeCache: Record<string, number>;
|
|
1488
1933
|
itemWidthCache: Record<string, number>;
|
|
1934
|
+
containerSize: number;
|
|
1489
1935
|
containerWidth: number;
|
|
1490
1936
|
containerGap: number;
|
|
1491
1937
|
overflowTargetWidth: number;
|
|
@@ -1518,7 +1964,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1518
1964
|
hiddenIds: string[];
|
|
1519
1965
|
nonInteractiveIds: string[];
|
|
1520
1966
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1967
|
+
itemSizeCache: Record<string, number>;
|
|
1521
1968
|
itemWidthCache: Record<string, number>;
|
|
1969
|
+
containerSize: number;
|
|
1522
1970
|
containerWidth: number;
|
|
1523
1971
|
containerGap: number;
|
|
1524
1972
|
overflowTargetWidth: number;
|
|
@@ -1550,7 +1998,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1550
1998
|
hiddenIds: string[];
|
|
1551
1999
|
nonInteractiveIds: string[];
|
|
1552
2000
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2001
|
+
itemSizeCache: Record<string, number>;
|
|
1553
2002
|
itemWidthCache: Record<string, number>;
|
|
2003
|
+
containerSize: number;
|
|
1554
2004
|
containerWidth: number;
|
|
1555
2005
|
containerGap: number;
|
|
1556
2006
|
overflowTargetWidth: number;
|
|
@@ -1582,7 +2032,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1582
2032
|
hiddenIds: string[];
|
|
1583
2033
|
nonInteractiveIds: string[];
|
|
1584
2034
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2035
|
+
itemSizeCache: Record<string, number>;
|
|
1585
2036
|
itemWidthCache: Record<string, number>;
|
|
2037
|
+
containerSize: number;
|
|
1586
2038
|
containerWidth: number;
|
|
1587
2039
|
containerGap: number;
|
|
1588
2040
|
overflowTargetWidth: number;
|
|
@@ -1613,7 +2065,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1613
2065
|
hiddenIds: string[];
|
|
1614
2066
|
nonInteractiveIds: string[];
|
|
1615
2067
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2068
|
+
itemSizeCache: Record<string, number>;
|
|
1616
2069
|
itemWidthCache: Record<string, number>;
|
|
2070
|
+
containerSize: number;
|
|
1617
2071
|
containerWidth: number;
|
|
1618
2072
|
containerGap: number;
|
|
1619
2073
|
overflowTargetWidth: number;
|
|
@@ -1643,12 +2097,20 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1643
2097
|
select(data: {
|
|
1644
2098
|
id: string;
|
|
1645
2099
|
}): void;
|
|
2100
|
+
setContainerSize(data: {
|
|
2101
|
+
width?: number | undefined;
|
|
2102
|
+
height?: number | undefined;
|
|
2103
|
+
}): void;
|
|
1646
2104
|
setContainerWidth(data: {
|
|
1647
2105
|
width?: number | undefined;
|
|
1648
2106
|
}): void;
|
|
1649
2107
|
setContainerGap(data: {
|
|
1650
2108
|
size: number;
|
|
1651
2109
|
}): void;
|
|
2110
|
+
setOverflowTargetSize(data: {
|
|
2111
|
+
width: number;
|
|
2112
|
+
height: number;
|
|
2113
|
+
}): void;
|
|
1652
2114
|
setOverflowTargetWidth(data: {
|
|
1653
2115
|
width: number;
|
|
1654
2116
|
}): void;
|
|
@@ -1656,6 +2118,14 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1656
2118
|
id: string;
|
|
1657
2119
|
width: number;
|
|
1658
2120
|
}): void;
|
|
2121
|
+
addItemSize(data: {
|
|
2122
|
+
id: string;
|
|
2123
|
+
width: number;
|
|
2124
|
+
height: number;
|
|
2125
|
+
}): void;
|
|
2126
|
+
removeItemSize(data: {
|
|
2127
|
+
id: string;
|
|
2128
|
+
}): void;
|
|
1659
2129
|
removeItemWidth(data: {
|
|
1660
2130
|
id: string;
|
|
1661
2131
|
}): void;
|
|
@@ -1668,6 +2138,11 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1668
2138
|
selectAll(): void;
|
|
1669
2139
|
unselectAll(): void;
|
|
1670
2140
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2141
|
+
remove(data: {
|
|
2142
|
+
id: string;
|
|
2143
|
+
nextId?: string | undefined;
|
|
2144
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2145
|
+
}): void;
|
|
1671
2146
|
goTo(data: {
|
|
1672
2147
|
id: string;
|
|
1673
2148
|
}): void;
|
|
@@ -1737,6 +2212,11 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1737
2212
|
selectAll(): void;
|
|
1738
2213
|
unselectAll(): void;
|
|
1739
2214
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2215
|
+
remove(data: {
|
|
2216
|
+
id: string;
|
|
2217
|
+
nextId?: string | undefined;
|
|
2218
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2219
|
+
}): void;
|
|
1740
2220
|
goTo(data: {
|
|
1741
2221
|
id: string;
|
|
1742
2222
|
}): void;
|
|
@@ -1827,7 +2307,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1827
2307
|
hiddenIds: string[];
|
|
1828
2308
|
nonInteractiveIds: string[];
|
|
1829
2309
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2310
|
+
itemSizeCache: Record<string, number>;
|
|
1830
2311
|
itemWidthCache: Record<string, number>;
|
|
2312
|
+
containerSize: number;
|
|
1831
2313
|
containerWidth: number;
|
|
1832
2314
|
containerGap: number;
|
|
1833
2315
|
overflowTargetWidth: number;
|
|
@@ -1856,12 +2338,20 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1856
2338
|
select(data: {
|
|
1857
2339
|
id: string;
|
|
1858
2340
|
}): void;
|
|
2341
|
+
setContainerSize(data: {
|
|
2342
|
+
width?: number | undefined;
|
|
2343
|
+
height?: number | undefined;
|
|
2344
|
+
}): void;
|
|
1859
2345
|
setContainerWidth(data: {
|
|
1860
2346
|
width?: number | undefined;
|
|
1861
2347
|
}): void;
|
|
1862
2348
|
setContainerGap(data: {
|
|
1863
2349
|
size: number;
|
|
1864
2350
|
}): void;
|
|
2351
|
+
setOverflowTargetSize(data: {
|
|
2352
|
+
width: number;
|
|
2353
|
+
height: number;
|
|
2354
|
+
}): void;
|
|
1865
2355
|
setOverflowTargetWidth(data: {
|
|
1866
2356
|
width: number;
|
|
1867
2357
|
}): void;
|
|
@@ -1869,6 +2359,14 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1869
2359
|
id: string;
|
|
1870
2360
|
width: number;
|
|
1871
2361
|
}): void;
|
|
2362
|
+
addItemSize(data: {
|
|
2363
|
+
id: string;
|
|
2364
|
+
width: number;
|
|
2365
|
+
height: number;
|
|
2366
|
+
}): void;
|
|
2367
|
+
removeItemSize(data: {
|
|
2368
|
+
id: string;
|
|
2369
|
+
}): void;
|
|
1872
2370
|
removeItemWidth(data: {
|
|
1873
2371
|
id: string;
|
|
1874
2372
|
}): void;
|
|
@@ -1881,6 +2379,11 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1881
2379
|
selectAll(): void;
|
|
1882
2380
|
unselectAll(): void;
|
|
1883
2381
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2382
|
+
remove(data: {
|
|
2383
|
+
id: string;
|
|
2384
|
+
nextId?: string | undefined;
|
|
2385
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2386
|
+
}): void;
|
|
1884
2387
|
goTo(data: {
|
|
1885
2388
|
id: string;
|
|
1886
2389
|
}): void;
|
|
@@ -1909,7 +2412,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1909
2412
|
hiddenIds: string[];
|
|
1910
2413
|
nonInteractiveIds: string[];
|
|
1911
2414
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2415
|
+
itemSizeCache: Record<string, number>;
|
|
1912
2416
|
itemWidthCache: Record<string, number>;
|
|
2417
|
+
containerSize: number;
|
|
1913
2418
|
containerWidth: number;
|
|
1914
2419
|
containerGap: number;
|
|
1915
2420
|
overflowTargetWidth: number;
|
|
@@ -1939,12 +2444,20 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1939
2444
|
select(data: {
|
|
1940
2445
|
id: string;
|
|
1941
2446
|
}): void;
|
|
2447
|
+
setContainerSize(data: {
|
|
2448
|
+
width?: number | undefined;
|
|
2449
|
+
height?: number | undefined;
|
|
2450
|
+
}): void;
|
|
1942
2451
|
setContainerWidth(data: {
|
|
1943
2452
|
width?: number | undefined;
|
|
1944
2453
|
}): void;
|
|
1945
2454
|
setContainerGap(data: {
|
|
1946
2455
|
size: number;
|
|
1947
2456
|
}): void;
|
|
2457
|
+
setOverflowTargetSize(data: {
|
|
2458
|
+
width: number;
|
|
2459
|
+
height: number;
|
|
2460
|
+
}): void;
|
|
1948
2461
|
setOverflowTargetWidth(data: {
|
|
1949
2462
|
width: number;
|
|
1950
2463
|
}): void;
|
|
@@ -1952,6 +2465,14 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1952
2465
|
id: string;
|
|
1953
2466
|
width: number;
|
|
1954
2467
|
}): void;
|
|
2468
|
+
addItemSize(data: {
|
|
2469
|
+
id: string;
|
|
2470
|
+
width: number;
|
|
2471
|
+
height: number;
|
|
2472
|
+
}): void;
|
|
2473
|
+
removeItemSize(data: {
|
|
2474
|
+
id: string;
|
|
2475
|
+
}): void;
|
|
1955
2476
|
removeItemWidth(data: {
|
|
1956
2477
|
id: string;
|
|
1957
2478
|
}): void;
|
|
@@ -1964,6 +2485,11 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1964
2485
|
selectAll(): void;
|
|
1965
2486
|
unselectAll(): void;
|
|
1966
2487
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2488
|
+
remove(data: {
|
|
2489
|
+
id: string;
|
|
2490
|
+
nextId?: string | undefined;
|
|
2491
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2492
|
+
}): void;
|
|
1967
2493
|
goTo(data: {
|
|
1968
2494
|
id: string;
|
|
1969
2495
|
}): void;
|
|
@@ -2033,6 +2559,11 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
2033
2559
|
selectAll(): void;
|
|
2034
2560
|
unselectAll(): void;
|
|
2035
2561
|
setSelectedIds(ids: string[] | "all"): void;
|
|
2562
|
+
remove(data: {
|
|
2563
|
+
id: string;
|
|
2564
|
+
nextId?: string | undefined;
|
|
2565
|
+
event?: Event | React.SyntheticEvent<Element, Event> | undefined;
|
|
2566
|
+
}): void;
|
|
2036
2567
|
goTo(data: {
|
|
2037
2568
|
id: string;
|
|
2038
2569
|
}): void;
|