@workday/canvas-kit-react 8.5.0-339-next.0 → 8.5.0-342-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-bar/lib/ActionBar.tsx +44 -0
- package/action-bar/lib/ActionBarOverflowButton.tsx +2 -2
- package/banner/lib/Banner.tsx +56 -0
- package/banner/lib/BannerIcon.tsx +0 -1
- package/breadcrumbs/lib/Breadcrumbs.tsx +77 -56
- package/breadcrumbs/lib/BreadcrumbsItem.tsx +2 -2
- package/button/lib/BaseButton.tsx +3 -2
- package/button/lib/DeleteButton.tsx +5 -1
- package/button/lib/ExternalHyperlink.tsx +6 -7
- package/button/lib/Hyperlink.tsx +6 -2
- package/button/lib/PrimaryButton.tsx +9 -5
- package/button/lib/SecondaryButton.tsx +9 -0
- package/button/lib/TertiaryButton.tsx +10 -9
- package/card/lib/Card.tsx +36 -0
- package/checkbox/lib/Checkbox.tsx +1 -7
- package/collection/lib/ListBox.tsx +19 -6
- package/collection/lib/useCursorListModel.tsx +9 -2
- package/collection/lib/useGridModel.ts +4 -0
- package/collection/lib/useListItemRegister.tsx +11 -2
- package/collection/lib/useListItemRovingFocus.tsx +11 -3
- package/collection/lib/useListItemSelect.tsx +12 -0
- package/collection/lib/useListModel.tsx +20 -3
- package/collection/lib/useListRenderItem.tsx +14 -0
- package/collection/lib/useListResetCursorOnBlur.tsx +12 -1
- package/collection/lib/useOverflowListItemMeasure.tsx +11 -0
- package/collection/lib/useOverflowListMeasure.ts +4 -0
- package/collection/lib/useOverflowListTarget.tsx +4 -0
- package/collection/lib/useSelectionListModel.tsx +13 -1
- package/common/lib/EllipsisText.tsx +11 -3
- package/common/lib/theming/getObjectProxy.ts +3 -2
- package/common/lib/utils/components.ts +106 -19
- package/dialog/lib/DialogPopper.tsx +3 -0
- package/disclosure/lib/useDisclosureModel.tsx +2 -2
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +267 -223
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBar.js +44 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +11 -11
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +11 -11
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +11 -11
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.js +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +107 -107
- package/dist/commonjs/banner/lib/Banner.d.ts +60 -4
- package/dist/commonjs/banner/lib/Banner.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/Banner.js +56 -0
- package/dist/commonjs/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerIcon.d.ts +1 -2
- package/dist/commonjs/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBanner.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +305 -325
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.js +77 -56
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +11 -11
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.js +2 -2
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +7 -7
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +153 -153
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +11 -11
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +107 -107
- package/dist/commonjs/button/lib/BaseButton.d.ts +6 -5
- package/dist/commonjs/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/DeleteButton.d.ts +6 -2
- package/dist/commonjs/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/DeleteButton.js +6 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.d.ts +5 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.js +6 -2
- package/dist/commonjs/button/lib/Hyperlink.d.ts +5 -1
- package/dist/commonjs/button/lib/Hyperlink.d.ts.map +1 -1
- package/dist/commonjs/button/lib/Hyperlink.js +6 -2
- package/dist/commonjs/button/lib/PrimaryButton.d.ts +10 -6
- package/dist/commonjs/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +9 -0
- package/dist/commonjs/button/lib/SecondaryButton.d.ts +10 -1
- package/dist/commonjs/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/SecondaryButton.js +9 -0
- package/dist/commonjs/button/lib/TertiaryButton.d.ts +11 -8
- package/dist/commonjs/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/TertiaryButton.js +12 -2
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.js +1 -1
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts +1 -1
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.d.ts +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.d.ts.map +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.js +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/commonjs/card/lib/Card.d.ts +39 -3
- package/dist/commonjs/card/lib/Card.d.ts.map +1 -1
- package/dist/commonjs/card/lib/Card.js +36 -0
- package/dist/commonjs/card/lib/CardBody.d.ts +1 -1
- package/dist/commonjs/card/lib/CardBody.d.ts.map +1 -1
- package/dist/commonjs/card/lib/CardHeading.d.ts +1 -1
- package/dist/commonjs/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts +2 -2
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/commonjs/checkbox/lib/Checkbox.js +3 -3
- package/dist/commonjs/collection/lib/ListBox.d.ts +158 -82
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +21 -8
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts +10 -10
- package/dist/commonjs/collection/lib/useBaseListModel.js +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +47 -36
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useGridModel.d.ts +79 -75
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useGridModel.js +4 -0
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +14 -5
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRegister.js +11 -2
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +14 -6
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +11 -3
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +15 -3
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemSelect.js +12 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts +95 -78
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListModel.js +20 -3
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts +14 -0
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListRenderItem.js +14 -0
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +15 -4
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.js +12 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +14 -3
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +11 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +7 -3
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +4 -0
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +99 -99
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +7 -3
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +4 -0
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +88 -76
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.js +6 -0
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts +1 -1
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +2 -0
- package/dist/commonjs/common/lib/EllipsisText.d.ts +1 -2
- package/dist/commonjs/common/lib/EllipsisText.d.ts.map +1 -1
- package/dist/commonjs/common/lib/EllipsisText.js +21 -2
- package/dist/commonjs/common/lib/InputProvider.d.ts +1 -1
- package/dist/commonjs/common/lib/InputProvider.js +2 -0
- package/dist/commonjs/common/lib/responsive/useResponsiveContainerStyles.js +5 -7
- package/dist/commonjs/common/lib/theming/getObjectProxy.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/getObjectProxy.js +3 -2
- package/dist/commonjs/common/lib/utils/components.d.ts +113 -26
- package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/components.js +72 -9
- package/dist/commonjs/common/lib/utils/models.js +2 -1
- package/dist/commonjs/dialog/lib/Dialog.d.ts +24 -24
- package/dist/commonjs/dialog/lib/DialogCard.d.ts +3 -3
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts +3 -3
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/DialogPopper.js +3 -0
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.d.ts +2 -2
- package/dist/commonjs/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.d.ts +2 -2
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.js +1 -1
- package/dist/commonjs/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/commonjs/disclosure/lib/useDisclosureModel.js +2 -2
- package/dist/commonjs/form-field/lib/FormField.d.ts +1 -2
- package/dist/commonjs/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/FormField.js +2 -0
- package/dist/commonjs/form-field/lib/Hint.js +2 -0
- package/dist/commonjs/form-field/lib/Label.js +7 -7
- package/dist/commonjs/icon/lib/AccentIcon.d.ts +1 -1
- package/dist/commonjs/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AppletIcon.d.ts +1 -1
- package/dist/commonjs/icon/lib/Graphic.d.ts +1 -1
- package/dist/commonjs/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Icon.d.ts +1 -1
- package/dist/commonjs/icon/lib/Icon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Svg.d.ts +1 -1
- package/dist/commonjs/icon/lib/Svg.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIcon.d.ts +1 -2
- package/dist/commonjs/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Box.d.ts +1 -1
- package/dist/commonjs/layout/lib/Box.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Column.js +2 -0
- package/dist/commonjs/layout/lib/Flex.d.ts +2 -2
- package/dist/commonjs/layout/lib/Grid.d.ts +2 -2
- package/dist/commonjs/layout/lib/Layout.js +2 -0
- package/dist/commonjs/layout/lib/Stack.d.ts +7 -6
- package/dist/commonjs/layout/lib/Stack.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/border/color.d.ts +7 -7
- package/dist/commonjs/layout/lib/utils/border/index.js +5 -7
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts +1 -1
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/layout.d.ts +1 -1
- package/dist/commonjs/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/stack.d.ts +0 -2
- package/dist/commonjs/layout/lib/utils/stack.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.d.ts +218 -378
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.js +37 -9
- package/dist/commonjs/menu/lib/MenuCard.d.ts +8 -8
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +8 -8
- package/dist/commonjs/menu/lib/MenuDivider.d.ts +1 -1
- package/dist/commonjs/menu/lib/MenuDivider.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts +10 -10
- package/dist/commonjs/menu/lib/MenuList.d.ts +10 -10
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +6 -6
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +87 -12
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.js +4 -4
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +173 -173
- package/dist/commonjs/modal/lib/Modal.d.ts +202 -46
- package/dist/commonjs/modal/lib/Modal.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/Modal.js +76 -5
- package/dist/commonjs/modal/lib/ModalBody.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalCard.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.d.ts +3 -3
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts +4 -4
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.d.ts +2 -2
- package/dist/commonjs/modal/lib/hooks/useModalCard.d.ts +2 -2
- package/dist/commonjs/modal/lib/hooks/useModalHeading.d.ts +2 -2
- package/dist/commonjs/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -2
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.js +10 -6
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts +12 -11
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Controls.js +81 -66
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts +4 -3
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.js +14 -7
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts +2 -3
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.js +10 -5
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.d.ts +4 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.js +9 -16
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +9 -0
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.js +2 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.js +2 -14
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts +4 -5
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageButton.js +16 -11
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.js +17 -10
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +230 -38
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Pagination.js +227 -76
- package/dist/commonjs/pagination/lib/Pagination/buildPageRange.js +5 -7
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +2 -2
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/getValidChildren.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/getValidChildren.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.d.ts +45 -15
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.js +45 -15
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.d.ts +3 -1
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.js +5 -4
- package/dist/commonjs/popup/lib/Popper.d.ts +16 -1
- package/dist/commonjs/popup/lib/Popper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popper.js +21 -8
- package/dist/commonjs/popup/lib/Popup.d.ts +183 -22
- package/dist/commonjs/popup/lib/Popup.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popup.js +85 -4
- package/dist/commonjs/popup/lib/PopupBody.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCard.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupPopper.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.js +5 -7
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.d.ts +6 -6
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.js +4 -4
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.d.ts +4 -4
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.js +2 -2
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.d.ts +8 -8
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.js +6 -6
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.d.ts +4 -4
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.js +2 -2
- package/dist/commonjs/popup/lib/hooks/usePopupCard.d.ts +3 -3
- package/dist/commonjs/popup/lib/hooks/usePopupCard.js +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts +5 -4
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.js +3 -2
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.d.ts +3 -3
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.js +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts +4 -3
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.js +2 -1
- package/dist/commonjs/popup/lib/hooks/usePopupStack.d.ts +27 -19
- package/dist/commonjs/popup/lib/hooks/usePopupStack.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupStack.js +26 -18
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.d.ts +3 -3
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.js +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.d.ts +4 -4
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.js +2 -2
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +2 -2
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +2 -2
- package/dist/commonjs/radio/lib/Radio.d.ts +1 -1
- package/dist/commonjs/radio/lib/Radio.d.ts.map +1 -1
- package/dist/commonjs/radio/lib/Radio.js +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.d.ts +1 -2
- package/dist/commonjs/radio/lib/RadioGroup.d.ts.map +1 -1
- package/dist/commonjs/radio/lib/RadioGroup.js +2 -0
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +2 -2
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -1
- package/dist/commonjs/select/lib/Select.d.ts +1 -1
- package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
- package/dist/commonjs/select/lib/Select.js +2 -2
- package/dist/commonjs/select/lib/SelectOption.js +2 -0
- package/dist/commonjs/side-panel/lib/SidePanel.js +3 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonHeader.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonHeader.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonShape.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonShape.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonText.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonText.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/skeleton.d.ts +30 -4
- package/dist/commonjs/skeleton/lib/skeleton.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/skeleton.js +27 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +2 -0
- package/dist/commonjs/switch/lib/Switch.d.ts +1 -1
- package/dist/commonjs/table/lib/Table.js +2 -0
- package/dist/commonjs/table/lib/TableRow.d.ts +2 -1
- package/dist/commonjs/table/lib/TableRow.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +585 -382
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.js +94 -2
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +15 -15
- package/dist/commonjs/tabs/lib/TabsList.d.ts +12 -12
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +4 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +6 -6
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +12 -12
- package/dist/commonjs/tabs/lib/TabsOverflowButton.js +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +12 -12
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +8 -8
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +534 -506
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.js +18 -1
- package/dist/commonjs/text/lib/LabelText.d.ts +4 -9
- package/dist/commonjs/text/lib/LabelText.d.ts.map +1 -1
- package/dist/commonjs/text/lib/LabelText.js +3 -8
- package/dist/commonjs/text/lib/Text.d.ts +11 -15
- package/dist/commonjs/text/lib/Text.d.ts.map +1 -1
- package/dist/commonjs/text/lib/Text.js +10 -12
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts +4 -24
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts.map +1 -1
- package/dist/commonjs/text/lib/TypeLevelComponents.js +0 -20
- package/dist/commonjs/text-area/lib/TextArea.d.ts +1 -1
- package/dist/commonjs/text-input/lib/TextInput.d.ts +1 -1
- package/dist/commonjs/toast/lib/Toast.d.ts +1 -1
- package/dist/commonjs/toast/lib/Toast.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/type/index.d.ts +7 -7
- package/dist/commonjs/tokens/lib/type/index.js +2 -2
- package/dist/commonjs/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/commonjs/tooltip/lib/Tooltip.d.ts.map +1 -1
- package/dist/commonjs/tooltip/lib/Tooltip.js +22 -20
- package/dist/commonjs/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +267 -223
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.js +44 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +11 -11
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +11 -11
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +11 -11
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.js +2 -2
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +107 -107
- package/dist/es6/banner/lib/Banner.d.ts +60 -4
- package/dist/es6/banner/lib/Banner.d.ts.map +1 -1
- package/dist/es6/banner/lib/Banner.js +56 -0
- package/dist/es6/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/es6/banner/lib/BannerIcon.d.ts +1 -2
- package/dist/es6/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/es6/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBanner.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerActionText.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerIcon.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerLabel.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +305 -325
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.js +77 -56
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +11 -11
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.js +2 -2
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +7 -7
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +153 -153
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +11 -11
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +107 -107
- package/dist/es6/button/lib/BaseButton.d.ts +6 -5
- package/dist/es6/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/es6/button/lib/DeleteButton.d.ts +6 -2
- package/dist/es6/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/es6/button/lib/DeleteButton.js +6 -1
- package/dist/es6/button/lib/ExternalHyperlink.d.ts +5 -1
- package/dist/es6/button/lib/ExternalHyperlink.d.ts.map +1 -1
- package/dist/es6/button/lib/ExternalHyperlink.js +6 -2
- package/dist/es6/button/lib/Hyperlink.d.ts +5 -1
- package/dist/es6/button/lib/Hyperlink.d.ts.map +1 -1
- package/dist/es6/button/lib/Hyperlink.js +6 -2
- package/dist/es6/button/lib/PrimaryButton.d.ts +10 -6
- package/dist/es6/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +9 -0
- package/dist/es6/button/lib/SecondaryButton.d.ts +10 -1
- package/dist/es6/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/SecondaryButton.js +9 -0
- package/dist/es6/button/lib/TertiaryButton.d.ts +11 -8
- package/dist/es6/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/TertiaryButton.js +12 -2
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.js +1 -1
- package/dist/es6/button/lib/ToolbarIconButton.d.ts +1 -1
- package/dist/es6/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/es6/button/lib/deprecated_Button.d.ts +1 -1
- package/dist/es6/button/lib/deprecated_Button.d.ts.map +1 -1
- package/dist/es6/button/lib/deprecated_Button.js +1 -1
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts +1 -1
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/es6/card/lib/Card.d.ts +39 -3
- package/dist/es6/card/lib/Card.d.ts.map +1 -1
- package/dist/es6/card/lib/Card.js +36 -0
- package/dist/es6/card/lib/CardBody.d.ts +1 -1
- package/dist/es6/card/lib/CardBody.d.ts.map +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/es6/checkbox/lib/Checkbox.d.ts +2 -2
- package/dist/es6/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/es6/checkbox/lib/Checkbox.js +3 -3
- package/dist/es6/collection/lib/ListBox.d.ts +158 -82
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/ListBox.js +19 -6
- package/dist/es6/collection/lib/useBaseListModel.d.ts +10 -10
- package/dist/es6/collection/lib/useBaseListModel.js +1 -1
- package/dist/es6/collection/lib/useCursorListModel.d.ts +47 -36
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useGridModel.d.ts +79 -75
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useGridModel.js +4 -0
- package/dist/es6/collection/lib/useListItemRegister.d.ts +14 -5
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRegister.js +11 -2
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +14 -6
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +11 -3
- package/dist/es6/collection/lib/useListItemSelect.d.ts +15 -3
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemSelect.js +12 -0
- package/dist/es6/collection/lib/useListModel.d.ts +95 -78
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListModel.js +20 -3
- package/dist/es6/collection/lib/useListRenderItem.d.ts +14 -0
- package/dist/es6/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListRenderItem.js +14 -0
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +15 -4
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.js +12 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +14 -3
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +11 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +7 -3
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +4 -0
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +99 -99
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +7 -3
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +4 -0
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +88 -76
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorInput.d.ts +1 -1
- package/dist/es6/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorInput.js +6 -0
- package/dist/es6/color-picker/lib/ColorPreview.d.ts +1 -1
- package/dist/es6/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +2 -0
- package/dist/es6/common/lib/EllipsisText.d.ts +1 -2
- package/dist/es6/common/lib/EllipsisText.d.ts.map +1 -1
- package/dist/es6/common/lib/EllipsisText.js +21 -2
- package/dist/es6/common/lib/InputProvider.d.ts +1 -1
- package/dist/es6/common/lib/InputProvider.js +2 -0
- package/dist/es6/common/lib/responsive/useResponsiveContainerStyles.js +5 -7
- package/dist/es6/common/lib/theming/getObjectProxy.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/getObjectProxy.js +3 -2
- package/dist/es6/common/lib/utils/components.d.ts +113 -26
- package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/components.js +70 -8
- package/dist/es6/common/lib/utils/models.js +2 -1
- package/dist/es6/dialog/lib/Dialog.d.ts +24 -24
- package/dist/es6/dialog/lib/DialogCard.d.ts +3 -3
- package/dist/es6/dialog/lib/DialogPopper.d.ts +3 -3
- package/dist/es6/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/es6/dialog/lib/DialogPopper.js +3 -0
- package/dist/es6/dialog/lib/hooks/useDialogCard.d.ts +2 -2
- package/dist/es6/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/es6/dialog/lib/hooks/useDialogPopper.d.ts +2 -2
- package/dist/es6/dialog/lib/hooks/useDialogPopper.js +1 -1
- package/dist/es6/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/es6/disclosure/lib/useDisclosureModel.js +2 -2
- package/dist/es6/form-field/lib/FormField.d.ts +1 -2
- package/dist/es6/form-field/lib/FormField.d.ts.map +1 -1
- package/dist/es6/form-field/lib/FormField.js +3 -1
- package/dist/es6/form-field/lib/Hint.js +2 -0
- package/dist/es6/form-field/lib/Label.js +7 -7
- package/dist/es6/icon/lib/AccentIcon.d.ts +1 -1
- package/dist/es6/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AppletIcon.d.ts +1 -1
- package/dist/es6/icon/lib/Graphic.d.ts +1 -1
- package/dist/es6/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/es6/icon/lib/Icon.d.ts +1 -1
- package/dist/es6/icon/lib/Icon.d.ts.map +1 -1
- package/dist/es6/icon/lib/Svg.d.ts +1 -1
- package/dist/es6/icon/lib/Svg.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIcon.d.ts +1 -2
- package/dist/es6/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.d.ts +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/es6/layout/lib/Box.d.ts +1 -1
- package/dist/es6/layout/lib/Box.d.ts.map +1 -1
- package/dist/es6/layout/lib/Column.js +2 -0
- package/dist/es6/layout/lib/Flex.d.ts +2 -2
- package/dist/es6/layout/lib/Grid.d.ts +2 -2
- package/dist/es6/layout/lib/Layout.js +2 -0
- package/dist/es6/layout/lib/Stack.d.ts +7 -6
- package/dist/es6/layout/lib/Stack.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/border/color.d.ts +7 -7
- package/dist/es6/layout/lib/utils/border/index.js +5 -7
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts +1 -1
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/layout.d.ts +1 -1
- package/dist/es6/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/stack.d.ts +0 -2
- package/dist/es6/layout/lib/utils/stack.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.d.ts +218 -378
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.js +37 -9
- package/dist/es6/menu/lib/MenuCard.d.ts +8 -8
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +8 -8
- package/dist/es6/menu/lib/MenuDivider.d.ts +1 -1
- package/dist/es6/menu/lib/MenuDivider.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.d.ts +10 -10
- package/dist/es6/menu/lib/MenuList.d.ts +10 -10
- package/dist/es6/menu/lib/MenuPopper.d.ts +6 -6
- package/dist/es6/menu/lib/MenuTarget.d.ts +87 -12
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.js +1 -1
- package/dist/es6/menu/lib/useMenuModel.d.ts +173 -173
- package/dist/es6/modal/lib/Modal.d.ts +202 -46
- package/dist/es6/modal/lib/Modal.d.ts.map +1 -1
- package/dist/es6/modal/lib/Modal.js +76 -5
- package/dist/es6/modal/lib/ModalBody.d.ts +2 -2
- package/dist/es6/modal/lib/ModalCard.d.ts +2 -2
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/es6/modal/lib/ModalOverflowOverlay.d.ts +3 -3
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.d.ts +4 -4
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.d.ts +2 -2
- package/dist/es6/modal/lib/hooks/useModalCard.d.ts +2 -2
- package/dist/es6/modal/lib/hooks/useModalHeading.d.ts +2 -2
- package/dist/es6/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts +1 -2
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.js +11 -6
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts +12 -11
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Controls.js +80 -60
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts +4 -3
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.js +14 -6
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts +2 -3
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.js +10 -4
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.d.ts +4 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.js +9 -15
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +9 -0
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.js +1 -0
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.js +2 -14
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts +4 -5
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageButton.js +17 -11
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts +4 -4
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.js +17 -8
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts +230 -38
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Pagination.js +229 -77
- package/dist/es6/pagination/lib/Pagination/buildPageRange.js +5 -7
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts +2 -2
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/getValidChildren.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/getValidChildren.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.d.ts +45 -15
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.js +45 -15
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.d.ts +3 -1
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.js +4 -3
- package/dist/es6/popup/lib/Popper.d.ts +16 -1
- package/dist/es6/popup/lib/Popper.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popper.js +21 -8
- package/dist/es6/popup/lib/Popup.d.ts +183 -22
- package/dist/es6/popup/lib/Popup.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popup.js +85 -4
- package/dist/es6/popup/lib/PopupBody.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCard.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/es6/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/es6/popup/lib/PopupPopper.d.ts +2 -2
- package/dist/es6/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.js +5 -7
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.d.ts +6 -6
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.js +4 -4
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.d.ts +4 -4
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.js +2 -2
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.d.ts +8 -8
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.js +6 -6
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useFocusRedirect.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useFocusTrap.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useInitialFocus.d.ts +4 -4
- package/dist/es6/popup/lib/hooks/useInitialFocus.js +2 -2
- package/dist/es6/popup/lib/hooks/usePopupCard.d.ts +3 -3
- package/dist/es6/popup/lib/hooks/usePopupCard.js +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts +5 -4
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.js +3 -2
- package/dist/es6/popup/lib/hooks/usePopupHeading.d.ts +3 -3
- package/dist/es6/popup/lib/hooks/usePopupHeading.js +1 -1
- package/dist/es6/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts +4 -3
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupPopper.js +2 -1
- package/dist/es6/popup/lib/hooks/usePopupStack.d.ts +27 -19
- package/dist/es6/popup/lib/hooks/usePopupStack.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupStack.js +26 -18
- package/dist/es6/popup/lib/hooks/usePopupTarget.d.ts +3 -3
- package/dist/es6/popup/lib/hooks/usePopupTarget.js +1 -1
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useReturnFocus.d.ts +4 -4
- package/dist/es6/popup/lib/hooks/useReturnFocus.js +2 -2
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +2 -2
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +2 -2
- package/dist/es6/radio/lib/Radio.d.ts +1 -1
- package/dist/es6/radio/lib/Radio.d.ts.map +1 -1
- package/dist/es6/radio/lib/Radio.js +1 -1
- package/dist/es6/radio/lib/RadioGroup.d.ts +1 -2
- package/dist/es6/radio/lib/RadioGroup.d.ts.map +1 -1
- package/dist/es6/radio/lib/RadioGroup.js +3 -1
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +2 -2
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -1
- package/dist/es6/select/lib/Select.d.ts +1 -1
- package/dist/es6/select/lib/Select.d.ts.map +1 -1
- package/dist/es6/select/lib/Select.js +2 -2
- package/dist/es6/select/lib/SelectOption.js +2 -0
- package/dist/es6/side-panel/lib/SidePanel.js +3 -1
- package/dist/es6/skeleton/lib/parts/skeletonHeader.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonHeader.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonShape.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonShape.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonText.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonText.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/skeleton.d.ts +30 -4
- package/dist/es6/skeleton/lib/skeleton.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/skeleton.js +27 -1
- package/dist/es6/status-indicator/lib/StatusIndicator.js +2 -0
- package/dist/es6/switch/lib/Switch.d.ts +1 -1
- package/dist/es6/table/lib/Table.js +2 -0
- package/dist/es6/table/lib/TableRow.d.ts +2 -1
- package/dist/es6/table/lib/TableRow.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +585 -382
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.js +94 -2
- package/dist/es6/tabs/lib/TabsItem.d.ts +15 -15
- package/dist/es6/tabs/lib/TabsList.d.ts +12 -12
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.js +4 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +6 -6
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +12 -12
- package/dist/es6/tabs/lib/TabsOverflowButton.js +2 -2
- package/dist/es6/tabs/lib/TabsPanel.d.ts +12 -12
- package/dist/es6/tabs/lib/TabsPanels.d.ts +8 -8
- package/dist/es6/tabs/lib/useTabsModel.d.ts +534 -506
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.js +18 -1
- package/dist/es6/text/lib/LabelText.d.ts +4 -9
- package/dist/es6/text/lib/LabelText.d.ts.map +1 -1
- package/dist/es6/text/lib/LabelText.js +3 -8
- package/dist/es6/text/lib/Text.d.ts +11 -15
- package/dist/es6/text/lib/Text.d.ts.map +1 -1
- package/dist/es6/text/lib/Text.js +10 -12
- package/dist/es6/text/lib/TypeLevelComponents.d.ts +4 -24
- package/dist/es6/text/lib/TypeLevelComponents.d.ts.map +1 -1
- package/dist/es6/text/lib/TypeLevelComponents.js +0 -20
- package/dist/es6/text-area/lib/TextArea.d.ts +1 -1
- package/dist/es6/text-input/lib/TextInput.d.ts +1 -1
- package/dist/es6/toast/lib/Toast.d.ts +1 -1
- package/dist/es6/toast/lib/Toast.d.ts.map +1 -1
- package/dist/es6/tokens/lib/type/index.d.ts +7 -7
- package/dist/es6/tokens/lib/type/index.js +2 -2
- package/dist/es6/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/es6/tooltip/lib/Tooltip.d.ts.map +1 -1
- package/dist/es6/tooltip/lib/Tooltip.js +23 -20
- package/dist/es6/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/form-field/lib/FormField.tsx +1 -3
- package/icon/lib/SystemIcon.tsx +0 -1
- package/layout/lib/utils/border/color.ts +7 -7
- package/layout/lib/utils/layout.ts +1 -1
- package/menu/lib/Menu.tsx +37 -9
- package/menu/lib/MenuTarget.tsx +1 -1
- package/modal/lib/Modal.tsx +76 -5
- package/package.json +3 -3
- package/pagination/lib/Pagination/AdditionalDetails.tsx +30 -20
- package/pagination/lib/Pagination/Controls.tsx +121 -98
- package/pagination/lib/Pagination/GoTo/Form.tsx +33 -21
- package/pagination/lib/Pagination/GoTo/Label.tsx +21 -10
- package/pagination/lib/Pagination/GoTo/TextInput.tsx +11 -7
- package/pagination/lib/Pagination/GoTo/useGoToForm.tsx +2 -0
- package/pagination/lib/Pagination/Nav.tsx +1 -2
- package/pagination/lib/Pagination/PageButton.tsx +34 -31
- package/pagination/lib/Pagination/PageList.tsx +33 -20
- package/pagination/lib/Pagination/Pagination.tsx +256 -139
- package/pagination/lib/Pagination/common/utils/helpers.ts +45 -15
- package/pagination/lib/Pagination/usePaginationModel.ts +4 -7
- package/popup/lib/Popper.tsx +16 -1
- package/popup/lib/Popup.tsx +85 -4
- package/popup/lib/hooks/useBringToTopOnClick.ts +4 -4
- package/popup/lib/hooks/useCloseOnEscape.ts +2 -2
- package/popup/lib/hooks/useCloseOnOutsideClick.ts +6 -6
- package/popup/lib/hooks/useInitialFocus.tsx +2 -2
- package/popup/lib/hooks/usePopupCard.ts +1 -1
- package/popup/lib/hooks/usePopupCloseButton.ts +3 -2
- package/popup/lib/hooks/usePopupHeading.ts +1 -1
- package/popup/lib/hooks/usePopupPopper.ts +2 -1
- package/popup/lib/hooks/usePopupStack.ts +26 -18
- package/popup/lib/hooks/usePopupTarget.ts +1 -1
- package/popup/lib/hooks/useReturnFocus.tsx +2 -2
- package/radio/lib/RadioGroup.tsx +1 -3
- package/select/lib/Select.tsx +2 -15
- package/skeleton/lib/skeleton.tsx +27 -1
- package/tabs/lib/Tabs.tsx +95 -3
- package/tabs/lib/TabsItem.tsx +2 -2
- package/tabs/lib/TabsList.tsx +4 -1
- package/tabs/lib/TabsOverflowButton.tsx +3 -3
- package/tabs/lib/TabsPanel.tsx +2 -2
- package/tabs/lib/useTabsModel.tsx +16 -0
- package/text/lib/LabelText.tsx +3 -8
- package/text/lib/Text.tsx +17 -21
- package/text/lib/TypeLevelComponents.tsx +0 -20
- package/tokens/lib/type/index.ts +8 -8
- package/tooltip/lib/Tooltip.tsx +42 -39
- package/dist/commonjs/pagination/lib/Pagination/GoTo/GoTo.d.ts +0 -17
- package/dist/commonjs/pagination/lib/Pagination/GoTo/GoTo.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/GoTo.js +0 -58
- package/dist/commonjs/pagination/lib/Pagination/GoTo/index.d.ts +0 -4
- package/dist/commonjs/pagination/lib/Pagination/GoTo/index.d.ts.map +0 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/index.js +0 -16
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.d.ts +0 -17
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.js +0 -35
- package/dist/es6/pagination/lib/Pagination/GoTo/index.d.ts +0 -4
- package/dist/es6/pagination/lib/Pagination/GoTo/index.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/index.js +0 -3
- package/pagination/lib/Pagination/GoTo/GoTo.tsx +0 -36
- package/pagination/lib/Pagination/GoTo/index.ts +0 -4
|
@@ -6,9 +6,15 @@ export interface MenuProps {
|
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* `Menu` is a combination of a popup and a list. It usually has some type of target element that
|
|
10
|
+
* expands/collapses the menu and a `menu` role and and several `menuitem` roles. Focus is managed
|
|
11
|
+
* using [roving tabindex](https://w3c.github.io/aria-practices/#kbd_roving_tabindex) for maximum
|
|
12
|
+
* compatibility. A `Menu` can have two modes: `single` and `multiple`. This mode determines both
|
|
13
|
+
* how many items can be selected as well as the default behavior when a `menuitem` is clicked. For
|
|
14
|
+
* the `single` mode, selecting a `menuitem` will select and close the menu. For the `multiple`
|
|
15
|
+
* mode, clicking a `menuitem` will toggle selection and will not close the menu.
|
|
16
|
+
*
|
|
17
|
+
* ```tsx
|
|
12
18
|
* <Menu>
|
|
13
19
|
* <Menu.Target>Open</Menu.Target>
|
|
14
20
|
* <Menu.Popper>
|
|
@@ -20,8 +26,9 @@ export interface MenuProps {
|
|
|
20
26
|
* </Menu.Card>
|
|
21
27
|
* </Menu.Popper>
|
|
22
28
|
* </Menu>
|
|
29
|
+
* ```
|
|
23
30
|
*/
|
|
24
|
-
export declare const Menu: import("
|
|
31
|
+
export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM<MenuProps & Partial<{
|
|
25
32
|
mode: "multiple" | "single";
|
|
26
33
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
27
34
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -50,12 +57,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
50
57
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
51
58
|
placement: import("@popperjs/core").Placement;
|
|
52
59
|
id: string;
|
|
53
|
-
visibility:
|
|
54
|
-
selectedIds:
|
|
55
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
56
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
57
|
-
* HTML. If more complex HTML is provided, consider
|
|
58
|
-
*/
|
|
60
|
+
visibility: "hidden" | "visible";
|
|
61
|
+
selectedIds: string[] | "all";
|
|
59
62
|
unselectedIds: string[];
|
|
60
63
|
cursorId: string;
|
|
61
64
|
columnCount: number;
|
|
@@ -68,7 +71,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
68
71
|
};
|
|
69
72
|
UNSTABLE_defaultItemHeight: number;
|
|
70
73
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
71
|
-
orientation:
|
|
74
|
+
orientation: "horizontal" | "vertical";
|
|
72
75
|
indexRef: React.MutableRefObject<number>;
|
|
73
76
|
nonInteractiveIds: string[];
|
|
74
77
|
isVirtualized: boolean;
|
|
@@ -82,12 +85,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
82
85
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
83
86
|
placement: import("@popperjs/core").Placement;
|
|
84
87
|
id: string;
|
|
85
|
-
visibility:
|
|
86
|
-
selectedIds:
|
|
87
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
88
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
89
|
-
* HTML. If more complex HTML is provided, consider
|
|
90
|
-
*/
|
|
88
|
+
visibility: "hidden" | "visible";
|
|
89
|
+
selectedIds: string[] | "all";
|
|
91
90
|
unselectedIds: string[];
|
|
92
91
|
cursorId: string;
|
|
93
92
|
columnCount: number;
|
|
@@ -100,7 +99,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
100
99
|
};
|
|
101
100
|
UNSTABLE_defaultItemHeight: number;
|
|
102
101
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
103
|
-
orientation:
|
|
102
|
+
orientation: "horizontal" | "vertical";
|
|
104
103
|
indexRef: React.MutableRefObject<number>;
|
|
105
104
|
nonInteractiveIds: string[];
|
|
106
105
|
isVirtualized: boolean;
|
|
@@ -114,12 +113,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
114
113
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
115
114
|
placement: import("@popperjs/core").Placement;
|
|
116
115
|
id: string;
|
|
117
|
-
visibility:
|
|
118
|
-
selectedIds:
|
|
119
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
120
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
121
|
-
* HTML. If more complex HTML is provided, consider
|
|
122
|
-
*/
|
|
116
|
+
visibility: "hidden" | "visible";
|
|
117
|
+
selectedIds: string[] | "all";
|
|
123
118
|
unselectedIds: string[];
|
|
124
119
|
cursorId: string;
|
|
125
120
|
columnCount: number;
|
|
@@ -132,7 +127,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
132
127
|
};
|
|
133
128
|
UNSTABLE_defaultItemHeight: number;
|
|
134
129
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
135
|
-
orientation:
|
|
130
|
+
orientation: "horizontal" | "vertical";
|
|
136
131
|
indexRef: React.MutableRefObject<number>;
|
|
137
132
|
nonInteractiveIds: string[];
|
|
138
133
|
isVirtualized: boolean;
|
|
@@ -148,12 +143,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
148
143
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
149
144
|
placement: import("@popperjs/core").Placement;
|
|
150
145
|
id: string;
|
|
151
|
-
visibility:
|
|
152
|
-
selectedIds:
|
|
153
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
154
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
155
|
-
* HTML. If more complex HTML is provided, consider
|
|
156
|
-
*/
|
|
146
|
+
visibility: "hidden" | "visible";
|
|
147
|
+
selectedIds: string[] | "all";
|
|
157
148
|
unselectedIds: string[];
|
|
158
149
|
cursorId: string;
|
|
159
150
|
columnCount: number;
|
|
@@ -166,7 +157,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
166
157
|
};
|
|
167
158
|
UNSTABLE_defaultItemHeight: number;
|
|
168
159
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
169
|
-
orientation:
|
|
160
|
+
orientation: "horizontal" | "vertical";
|
|
170
161
|
indexRef: React.MutableRefObject<number>;
|
|
171
162
|
nonInteractiveIds: string[];
|
|
172
163
|
isVirtualized: boolean;
|
|
@@ -180,12 +171,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
180
171
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
181
172
|
placement: import("@popperjs/core").Placement;
|
|
182
173
|
id: string;
|
|
183
|
-
visibility:
|
|
184
|
-
selectedIds:
|
|
185
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
186
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
187
|
-
* HTML. If more complex HTML is provided, consider
|
|
188
|
-
*/
|
|
174
|
+
visibility: "hidden" | "visible";
|
|
175
|
+
selectedIds: string[] | "all";
|
|
189
176
|
unselectedIds: string[];
|
|
190
177
|
cursorId: string;
|
|
191
178
|
columnCount: number;
|
|
@@ -198,7 +185,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
198
185
|
};
|
|
199
186
|
UNSTABLE_defaultItemHeight: number;
|
|
200
187
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
201
|
-
orientation:
|
|
188
|
+
orientation: "horizontal" | "vertical";
|
|
202
189
|
indexRef: React.MutableRefObject<number>;
|
|
203
190
|
nonInteractiveIds: string[];
|
|
204
191
|
isVirtualized: boolean;
|
|
@@ -212,12 +199,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
212
199
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
213
200
|
placement: import("@popperjs/core").Placement;
|
|
214
201
|
id: string;
|
|
215
|
-
visibility:
|
|
216
|
-
selectedIds:
|
|
217
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
218
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
219
|
-
* HTML. If more complex HTML is provided, consider
|
|
220
|
-
*/
|
|
202
|
+
visibility: "hidden" | "visible";
|
|
203
|
+
selectedIds: string[] | "all";
|
|
221
204
|
unselectedIds: string[];
|
|
222
205
|
cursorId: string;
|
|
223
206
|
columnCount: number;
|
|
@@ -230,7 +213,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
230
213
|
};
|
|
231
214
|
UNSTABLE_defaultItemHeight: number;
|
|
232
215
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
233
|
-
orientation:
|
|
216
|
+
orientation: "horizontal" | "vertical";
|
|
234
217
|
indexRef: React.MutableRefObject<number>;
|
|
235
218
|
nonInteractiveIds: string[];
|
|
236
219
|
isVirtualized: boolean;
|
|
@@ -247,12 +230,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
247
230
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
248
231
|
placement: import("@popperjs/core").Placement;
|
|
249
232
|
id: string;
|
|
250
|
-
visibility:
|
|
251
|
-
selectedIds:
|
|
252
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
253
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
254
|
-
* HTML. If more complex HTML is provided, consider
|
|
255
|
-
*/
|
|
233
|
+
visibility: "hidden" | "visible";
|
|
234
|
+
selectedIds: string[] | "all";
|
|
256
235
|
unselectedIds: string[];
|
|
257
236
|
cursorId: string;
|
|
258
237
|
columnCount: number;
|
|
@@ -265,7 +244,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
265
244
|
};
|
|
266
245
|
UNSTABLE_defaultItemHeight: number;
|
|
267
246
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
268
|
-
orientation:
|
|
247
|
+
orientation: "horizontal" | "vertical";
|
|
269
248
|
indexRef: React.MutableRefObject<number>;
|
|
270
249
|
nonInteractiveIds: string[];
|
|
271
250
|
isVirtualized: boolean;
|
|
@@ -281,12 +260,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
281
260
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
282
261
|
placement: import("@popperjs/core").Placement;
|
|
283
262
|
id: string;
|
|
284
|
-
visibility:
|
|
285
|
-
selectedIds:
|
|
286
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
287
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
288
|
-
* HTML. If more complex HTML is provided, consider
|
|
289
|
-
*/
|
|
263
|
+
visibility: "hidden" | "visible";
|
|
264
|
+
selectedIds: string[] | "all";
|
|
290
265
|
unselectedIds: string[];
|
|
291
266
|
cursorId: string;
|
|
292
267
|
columnCount: number;
|
|
@@ -299,7 +274,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
299
274
|
};
|
|
300
275
|
UNSTABLE_defaultItemHeight: number;
|
|
301
276
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
302
|
-
orientation:
|
|
277
|
+
orientation: "horizontal" | "vertical";
|
|
303
278
|
indexRef: React.MutableRefObject<number>;
|
|
304
279
|
nonInteractiveIds: string[];
|
|
305
280
|
isVirtualized: boolean;
|
|
@@ -313,12 +288,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
313
288
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
314
289
|
placement: import("@popperjs/core").Placement;
|
|
315
290
|
id: string;
|
|
316
|
-
visibility:
|
|
317
|
-
selectedIds:
|
|
318
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
319
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
320
|
-
* HTML. If more complex HTML is provided, consider
|
|
321
|
-
*/
|
|
291
|
+
visibility: "hidden" | "visible";
|
|
292
|
+
selectedIds: string[] | "all";
|
|
322
293
|
unselectedIds: string[];
|
|
323
294
|
cursorId: string;
|
|
324
295
|
columnCount: number;
|
|
@@ -331,7 +302,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
331
302
|
};
|
|
332
303
|
UNSTABLE_defaultItemHeight: number;
|
|
333
304
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
334
|
-
orientation:
|
|
305
|
+
orientation: "horizontal" | "vertical";
|
|
335
306
|
indexRef: React.MutableRefObject<number>;
|
|
336
307
|
nonInteractiveIds: string[];
|
|
337
308
|
isVirtualized: boolean;
|
|
@@ -345,12 +316,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
345
316
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
346
317
|
placement: import("@popperjs/core").Placement;
|
|
347
318
|
id: string;
|
|
348
|
-
visibility:
|
|
349
|
-
selectedIds:
|
|
350
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
351
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
352
|
-
* HTML. If more complex HTML is provided, consider
|
|
353
|
-
*/
|
|
319
|
+
visibility: "hidden" | "visible";
|
|
320
|
+
selectedIds: string[] | "all";
|
|
354
321
|
unselectedIds: string[];
|
|
355
322
|
cursorId: string;
|
|
356
323
|
columnCount: number;
|
|
@@ -363,7 +330,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
363
330
|
};
|
|
364
331
|
UNSTABLE_defaultItemHeight: number;
|
|
365
332
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
366
|
-
orientation:
|
|
333
|
+
orientation: "horizontal" | "vertical";
|
|
367
334
|
indexRef: React.MutableRefObject<number>;
|
|
368
335
|
nonInteractiveIds: string[];
|
|
369
336
|
isVirtualized: boolean;
|
|
@@ -377,12 +344,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
377
344
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
378
345
|
placement: import("@popperjs/core").Placement;
|
|
379
346
|
id: string;
|
|
380
|
-
visibility:
|
|
381
|
-
selectedIds:
|
|
382
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
383
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
384
|
-
* HTML. If more complex HTML is provided, consider
|
|
385
|
-
*/
|
|
347
|
+
visibility: "hidden" | "visible";
|
|
348
|
+
selectedIds: string[] | "all";
|
|
386
349
|
unselectedIds: string[];
|
|
387
350
|
cursorId: string;
|
|
388
351
|
columnCount: number;
|
|
@@ -395,7 +358,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
395
358
|
};
|
|
396
359
|
UNSTABLE_defaultItemHeight: number;
|
|
397
360
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
398
|
-
orientation:
|
|
361
|
+
orientation: "horizontal" | "vertical";
|
|
399
362
|
indexRef: React.MutableRefObject<number>;
|
|
400
363
|
nonInteractiveIds: string[];
|
|
401
364
|
isVirtualized: boolean;
|
|
@@ -409,12 +372,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
409
372
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
410
373
|
placement: import("@popperjs/core").Placement;
|
|
411
374
|
id: string;
|
|
412
|
-
visibility:
|
|
413
|
-
selectedIds:
|
|
414
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
415
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
416
|
-
* HTML. If more complex HTML is provided, consider
|
|
417
|
-
*/
|
|
375
|
+
visibility: "hidden" | "visible";
|
|
376
|
+
selectedIds: string[] | "all";
|
|
418
377
|
unselectedIds: string[];
|
|
419
378
|
cursorId: string;
|
|
420
379
|
columnCount: number;
|
|
@@ -427,7 +386,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
427
386
|
};
|
|
428
387
|
UNSTABLE_defaultItemHeight: number;
|
|
429
388
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
430
|
-
orientation:
|
|
389
|
+
orientation: "horizontal" | "vertical";
|
|
431
390
|
indexRef: React.MutableRefObject<number>;
|
|
432
391
|
nonInteractiveIds: string[];
|
|
433
392
|
isVirtualized: boolean;
|
|
@@ -441,12 +400,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
441
400
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
442
401
|
placement: import("@popperjs/core").Placement;
|
|
443
402
|
id: string;
|
|
444
|
-
visibility:
|
|
445
|
-
selectedIds:
|
|
446
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
447
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
448
|
-
* HTML. If more complex HTML is provided, consider
|
|
449
|
-
*/
|
|
403
|
+
visibility: "hidden" | "visible";
|
|
404
|
+
selectedIds: string[] | "all";
|
|
450
405
|
unselectedIds: string[];
|
|
451
406
|
cursorId: string;
|
|
452
407
|
columnCount: number;
|
|
@@ -459,7 +414,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
459
414
|
};
|
|
460
415
|
UNSTABLE_defaultItemHeight: number;
|
|
461
416
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
462
|
-
orientation:
|
|
417
|
+
orientation: "horizontal" | "vertical";
|
|
463
418
|
indexRef: React.MutableRefObject<number>;
|
|
464
419
|
nonInteractiveIds: string[];
|
|
465
420
|
isVirtualized: boolean;
|
|
@@ -473,12 +428,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
473
428
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
474
429
|
placement: import("@popperjs/core").Placement;
|
|
475
430
|
id: string;
|
|
476
|
-
visibility:
|
|
477
|
-
selectedIds:
|
|
478
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
479
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
480
|
-
* HTML. If more complex HTML is provided, consider
|
|
481
|
-
*/
|
|
431
|
+
visibility: "hidden" | "visible";
|
|
432
|
+
selectedIds: string[] | "all";
|
|
482
433
|
unselectedIds: string[];
|
|
483
434
|
cursorId: string;
|
|
484
435
|
columnCount: number;
|
|
@@ -491,7 +442,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
491
442
|
};
|
|
492
443
|
UNSTABLE_defaultItemHeight: number;
|
|
493
444
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
494
|
-
orientation:
|
|
445
|
+
orientation: "horizontal" | "vertical";
|
|
495
446
|
indexRef: React.MutableRefObject<number>;
|
|
496
447
|
nonInteractiveIds: string[];
|
|
497
448
|
isVirtualized: boolean;
|
|
@@ -505,12 +456,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
505
456
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
506
457
|
placement: import("@popperjs/core").Placement;
|
|
507
458
|
id: string;
|
|
508
|
-
visibility:
|
|
509
|
-
selectedIds:
|
|
510
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
511
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
512
|
-
* HTML. If more complex HTML is provided, consider
|
|
513
|
-
*/
|
|
459
|
+
visibility: "hidden" | "visible";
|
|
460
|
+
selectedIds: string[] | "all";
|
|
514
461
|
unselectedIds: string[];
|
|
515
462
|
cursorId: string;
|
|
516
463
|
columnCount: number;
|
|
@@ -523,7 +470,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
523
470
|
};
|
|
524
471
|
UNSTABLE_defaultItemHeight: number;
|
|
525
472
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
526
|
-
orientation:
|
|
473
|
+
orientation: "horizontal" | "vertical";
|
|
527
474
|
indexRef: React.MutableRefObject<number>;
|
|
528
475
|
nonInteractiveIds: string[];
|
|
529
476
|
isVirtualized: boolean;
|
|
@@ -537,12 +484,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
537
484
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
538
485
|
placement: import("@popperjs/core").Placement;
|
|
539
486
|
id: string;
|
|
540
|
-
visibility:
|
|
541
|
-
selectedIds:
|
|
542
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
543
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
544
|
-
* HTML. If more complex HTML is provided, consider
|
|
545
|
-
*/
|
|
487
|
+
visibility: "hidden" | "visible";
|
|
488
|
+
selectedIds: string[] | "all";
|
|
546
489
|
unselectedIds: string[];
|
|
547
490
|
cursorId: string;
|
|
548
491
|
columnCount: number;
|
|
@@ -555,7 +498,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
555
498
|
};
|
|
556
499
|
UNSTABLE_defaultItemHeight: number;
|
|
557
500
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
558
|
-
orientation:
|
|
501
|
+
orientation: "horizontal" | "vertical";
|
|
559
502
|
indexRef: React.MutableRefObject<number>;
|
|
560
503
|
nonInteractiveIds: string[];
|
|
561
504
|
isVirtualized: boolean;
|
|
@@ -569,12 +512,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
569
512
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
570
513
|
placement: import("@popperjs/core").Placement;
|
|
571
514
|
id: string;
|
|
572
|
-
visibility:
|
|
573
|
-
selectedIds:
|
|
574
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
575
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
576
|
-
* HTML. If more complex HTML is provided, consider
|
|
577
|
-
*/
|
|
515
|
+
visibility: "hidden" | "visible";
|
|
516
|
+
selectedIds: string[] | "all";
|
|
578
517
|
unselectedIds: string[];
|
|
579
518
|
cursorId: string;
|
|
580
519
|
columnCount: number;
|
|
@@ -587,7 +526,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
587
526
|
};
|
|
588
527
|
UNSTABLE_defaultItemHeight: number;
|
|
589
528
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
590
|
-
orientation:
|
|
529
|
+
orientation: "horizontal" | "vertical";
|
|
591
530
|
indexRef: React.MutableRefObject<number>;
|
|
592
531
|
nonInteractiveIds: string[];
|
|
593
532
|
isVirtualized: boolean;
|
|
@@ -601,12 +540,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
601
540
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
602
541
|
placement: import("@popperjs/core").Placement;
|
|
603
542
|
id: string;
|
|
604
|
-
visibility:
|
|
605
|
-
selectedIds:
|
|
606
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
607
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
608
|
-
* HTML. If more complex HTML is provided, consider
|
|
609
|
-
*/
|
|
543
|
+
visibility: "hidden" | "visible";
|
|
544
|
+
selectedIds: string[] | "all";
|
|
610
545
|
unselectedIds: string[];
|
|
611
546
|
cursorId: string;
|
|
612
547
|
columnCount: number;
|
|
@@ -619,7 +554,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
619
554
|
};
|
|
620
555
|
UNSTABLE_defaultItemHeight: number;
|
|
621
556
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
622
|
-
orientation:
|
|
557
|
+
orientation: "horizontal" | "vertical";
|
|
623
558
|
indexRef: React.MutableRefObject<number>;
|
|
624
559
|
nonInteractiveIds: string[];
|
|
625
560
|
isVirtualized: boolean;
|
|
@@ -635,12 +570,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
635
570
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
636
571
|
placement: import("@popperjs/core").Placement;
|
|
637
572
|
id: string;
|
|
638
|
-
visibility:
|
|
639
|
-
selectedIds:
|
|
640
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
641
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
642
|
-
* HTML. If more complex HTML is provided, consider
|
|
643
|
-
*/
|
|
573
|
+
visibility: "hidden" | "visible";
|
|
574
|
+
selectedIds: string[] | "all";
|
|
644
575
|
unselectedIds: string[];
|
|
645
576
|
cursorId: string;
|
|
646
577
|
columnCount: number;
|
|
@@ -653,7 +584,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
653
584
|
};
|
|
654
585
|
UNSTABLE_defaultItemHeight: number;
|
|
655
586
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
656
|
-
orientation:
|
|
587
|
+
orientation: "horizontal" | "vertical";
|
|
657
588
|
indexRef: React.MutableRefObject<number>;
|
|
658
589
|
nonInteractiveIds: string[];
|
|
659
590
|
isVirtualized: boolean;
|
|
@@ -669,12 +600,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
669
600
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
670
601
|
placement: import("@popperjs/core").Placement;
|
|
671
602
|
id: string;
|
|
672
|
-
visibility:
|
|
673
|
-
selectedIds:
|
|
674
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
675
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
676
|
-
* HTML. If more complex HTML is provided, consider
|
|
677
|
-
*/
|
|
603
|
+
visibility: "hidden" | "visible";
|
|
604
|
+
selectedIds: string[] | "all";
|
|
678
605
|
unselectedIds: string[];
|
|
679
606
|
cursorId: string;
|
|
680
607
|
columnCount: number;
|
|
@@ -687,7 +614,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
687
614
|
};
|
|
688
615
|
UNSTABLE_defaultItemHeight: number;
|
|
689
616
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
690
|
-
orientation:
|
|
617
|
+
orientation: "horizontal" | "vertical";
|
|
691
618
|
indexRef: React.MutableRefObject<number>;
|
|
692
619
|
nonInteractiveIds: string[];
|
|
693
620
|
isVirtualized: boolean;
|
|
@@ -704,12 +631,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
704
631
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
705
632
|
placement: import("@popperjs/core").Placement;
|
|
706
633
|
id: string;
|
|
707
|
-
visibility:
|
|
708
|
-
selectedIds:
|
|
709
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
710
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
711
|
-
* HTML. If more complex HTML is provided, consider
|
|
712
|
-
*/
|
|
634
|
+
visibility: "hidden" | "visible";
|
|
635
|
+
selectedIds: string[] | "all";
|
|
713
636
|
unselectedIds: string[];
|
|
714
637
|
cursorId: string;
|
|
715
638
|
columnCount: number;
|
|
@@ -722,7 +645,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
722
645
|
};
|
|
723
646
|
UNSTABLE_defaultItemHeight: number;
|
|
724
647
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
725
|
-
orientation:
|
|
648
|
+
orientation: "horizontal" | "vertical";
|
|
726
649
|
indexRef: React.MutableRefObject<number>;
|
|
727
650
|
nonInteractiveIds: string[];
|
|
728
651
|
isVirtualized: boolean;
|
|
@@ -736,12 +659,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
736
659
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
737
660
|
placement: import("@popperjs/core").Placement;
|
|
738
661
|
id: string;
|
|
739
|
-
visibility:
|
|
740
|
-
selectedIds:
|
|
741
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
742
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
743
|
-
* HTML. If more complex HTML is provided, consider
|
|
744
|
-
*/
|
|
662
|
+
visibility: "hidden" | "visible";
|
|
663
|
+
selectedIds: string[] | "all";
|
|
745
664
|
unselectedIds: string[];
|
|
746
665
|
cursorId: string;
|
|
747
666
|
columnCount: number;
|
|
@@ -754,7 +673,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
754
673
|
};
|
|
755
674
|
UNSTABLE_defaultItemHeight: number;
|
|
756
675
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
757
|
-
orientation:
|
|
676
|
+
orientation: "horizontal" | "vertical";
|
|
758
677
|
indexRef: React.MutableRefObject<number>;
|
|
759
678
|
nonInteractiveIds: string[];
|
|
760
679
|
isVirtualized: boolean;
|
|
@@ -768,12 +687,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
768
687
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
769
688
|
placement: import("@popperjs/core").Placement;
|
|
770
689
|
id: string;
|
|
771
|
-
visibility:
|
|
772
|
-
selectedIds:
|
|
773
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
774
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
775
|
-
* HTML. If more complex HTML is provided, consider
|
|
776
|
-
*/
|
|
690
|
+
visibility: "hidden" | "visible";
|
|
691
|
+
selectedIds: string[] | "all";
|
|
777
692
|
unselectedIds: string[];
|
|
778
693
|
cursorId: string;
|
|
779
694
|
columnCount: number;
|
|
@@ -786,7 +701,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
786
701
|
};
|
|
787
702
|
UNSTABLE_defaultItemHeight: number;
|
|
788
703
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
789
|
-
orientation:
|
|
704
|
+
orientation: "horizontal" | "vertical";
|
|
790
705
|
indexRef: React.MutableRefObject<number>;
|
|
791
706
|
nonInteractiveIds: string[];
|
|
792
707
|
isVirtualized: boolean;
|
|
@@ -802,12 +717,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
802
717
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
803
718
|
placement: import("@popperjs/core").Placement;
|
|
804
719
|
id: string;
|
|
805
|
-
visibility:
|
|
806
|
-
selectedIds:
|
|
807
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
808
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
809
|
-
* HTML. If more complex HTML is provided, consider
|
|
810
|
-
*/
|
|
720
|
+
visibility: "hidden" | "visible";
|
|
721
|
+
selectedIds: string[] | "all";
|
|
811
722
|
unselectedIds: string[];
|
|
812
723
|
cursorId: string;
|
|
813
724
|
columnCount: number;
|
|
@@ -820,7 +731,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
820
731
|
};
|
|
821
732
|
UNSTABLE_defaultItemHeight: number;
|
|
822
733
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
823
|
-
orientation:
|
|
734
|
+
orientation: "horizontal" | "vertical";
|
|
824
735
|
indexRef: React.MutableRefObject<number>;
|
|
825
736
|
nonInteractiveIds: string[];
|
|
826
737
|
isVirtualized: boolean;
|
|
@@ -834,12 +745,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
834
745
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
835
746
|
placement: import("@popperjs/core").Placement;
|
|
836
747
|
id: string;
|
|
837
|
-
visibility:
|
|
838
|
-
selectedIds:
|
|
839
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
840
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
841
|
-
* HTML. If more complex HTML is provided, consider
|
|
842
|
-
*/
|
|
748
|
+
visibility: "hidden" | "visible";
|
|
749
|
+
selectedIds: string[] | "all";
|
|
843
750
|
unselectedIds: string[];
|
|
844
751
|
cursorId: string;
|
|
845
752
|
columnCount: number;
|
|
@@ -852,7 +759,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
852
759
|
};
|
|
853
760
|
UNSTABLE_defaultItemHeight: number;
|
|
854
761
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
855
|
-
orientation:
|
|
762
|
+
orientation: "horizontal" | "vertical";
|
|
856
763
|
indexRef: React.MutableRefObject<number>;
|
|
857
764
|
nonInteractiveIds: string[];
|
|
858
765
|
isVirtualized: boolean;
|
|
@@ -866,12 +773,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
866
773
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
867
774
|
placement: import("@popperjs/core").Placement;
|
|
868
775
|
id: string;
|
|
869
|
-
visibility:
|
|
870
|
-
selectedIds:
|
|
871
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
872
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
873
|
-
* HTML. If more complex HTML is provided, consider
|
|
874
|
-
*/
|
|
776
|
+
visibility: "hidden" | "visible";
|
|
777
|
+
selectedIds: string[] | "all";
|
|
875
778
|
unselectedIds: string[];
|
|
876
779
|
cursorId: string;
|
|
877
780
|
columnCount: number;
|
|
@@ -884,7 +787,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
884
787
|
};
|
|
885
788
|
UNSTABLE_defaultItemHeight: number;
|
|
886
789
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
887
|
-
orientation:
|
|
790
|
+
orientation: "horizontal" | "vertical";
|
|
888
791
|
indexRef: React.MutableRefObject<number>;
|
|
889
792
|
nonInteractiveIds: string[];
|
|
890
793
|
isVirtualized: boolean;
|
|
@@ -901,12 +804,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
901
804
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
902
805
|
placement: import("@popperjs/core").Placement;
|
|
903
806
|
id: string;
|
|
904
|
-
visibility:
|
|
905
|
-
selectedIds:
|
|
906
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
907
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
908
|
-
* HTML. If more complex HTML is provided, consider
|
|
909
|
-
*/
|
|
807
|
+
visibility: "hidden" | "visible";
|
|
808
|
+
selectedIds: string[] | "all";
|
|
910
809
|
unselectedIds: string[];
|
|
911
810
|
cursorId: string;
|
|
912
811
|
columnCount: number;
|
|
@@ -919,7 +818,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
919
818
|
};
|
|
920
819
|
UNSTABLE_defaultItemHeight: number;
|
|
921
820
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
922
|
-
orientation:
|
|
821
|
+
orientation: "horizontal" | "vertical";
|
|
923
822
|
indexRef: React.MutableRefObject<number>;
|
|
924
823
|
nonInteractiveIds: string[];
|
|
925
824
|
isVirtualized: boolean;
|
|
@@ -935,12 +834,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
935
834
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
936
835
|
placement: import("@popperjs/core").Placement;
|
|
937
836
|
id: string;
|
|
938
|
-
visibility:
|
|
939
|
-
selectedIds:
|
|
940
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
941
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
942
|
-
* HTML. If more complex HTML is provided, consider
|
|
943
|
-
*/
|
|
837
|
+
visibility: "hidden" | "visible";
|
|
838
|
+
selectedIds: string[] | "all";
|
|
944
839
|
unselectedIds: string[];
|
|
945
840
|
cursorId: string;
|
|
946
841
|
columnCount: number;
|
|
@@ -953,7 +848,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
953
848
|
};
|
|
954
849
|
UNSTABLE_defaultItemHeight: number;
|
|
955
850
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
956
|
-
orientation:
|
|
851
|
+
orientation: "horizontal" | "vertical";
|
|
957
852
|
indexRef: React.MutableRefObject<number>;
|
|
958
853
|
nonInteractiveIds: string[];
|
|
959
854
|
isVirtualized: boolean;
|
|
@@ -967,12 +862,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
967
862
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
968
863
|
placement: import("@popperjs/core").Placement;
|
|
969
864
|
id: string;
|
|
970
|
-
visibility:
|
|
971
|
-
selectedIds:
|
|
972
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
973
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
974
|
-
* HTML. If more complex HTML is provided, consider
|
|
975
|
-
*/
|
|
865
|
+
visibility: "hidden" | "visible";
|
|
866
|
+
selectedIds: string[] | "all";
|
|
976
867
|
unselectedIds: string[];
|
|
977
868
|
cursorId: string;
|
|
978
869
|
columnCount: number;
|
|
@@ -985,7 +876,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
985
876
|
};
|
|
986
877
|
UNSTABLE_defaultItemHeight: number;
|
|
987
878
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
988
|
-
orientation:
|
|
879
|
+
orientation: "horizontal" | "vertical";
|
|
989
880
|
indexRef: React.MutableRefObject<number>;
|
|
990
881
|
nonInteractiveIds: string[];
|
|
991
882
|
isVirtualized: boolean;
|
|
@@ -999,12 +890,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
999
890
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1000
891
|
placement: import("@popperjs/core").Placement;
|
|
1001
892
|
id: string;
|
|
1002
|
-
visibility:
|
|
1003
|
-
selectedIds:
|
|
1004
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1005
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1006
|
-
* HTML. If more complex HTML is provided, consider
|
|
1007
|
-
*/
|
|
893
|
+
visibility: "hidden" | "visible";
|
|
894
|
+
selectedIds: string[] | "all";
|
|
1008
895
|
unselectedIds: string[];
|
|
1009
896
|
cursorId: string;
|
|
1010
897
|
columnCount: number;
|
|
@@ -1017,7 +904,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1017
904
|
};
|
|
1018
905
|
UNSTABLE_defaultItemHeight: number;
|
|
1019
906
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1020
|
-
orientation:
|
|
907
|
+
orientation: "horizontal" | "vertical";
|
|
1021
908
|
indexRef: React.MutableRefObject<number>;
|
|
1022
909
|
nonInteractiveIds: string[];
|
|
1023
910
|
isVirtualized: boolean;
|
|
@@ -1031,12 +918,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1031
918
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1032
919
|
placement: import("@popperjs/core").Placement;
|
|
1033
920
|
id: string;
|
|
1034
|
-
visibility:
|
|
1035
|
-
selectedIds:
|
|
1036
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1037
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1038
|
-
* HTML. If more complex HTML is provided, consider
|
|
1039
|
-
*/
|
|
921
|
+
visibility: "hidden" | "visible";
|
|
922
|
+
selectedIds: string[] | "all";
|
|
1040
923
|
unselectedIds: string[];
|
|
1041
924
|
cursorId: string;
|
|
1042
925
|
columnCount: number;
|
|
@@ -1049,7 +932,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1049
932
|
};
|
|
1050
933
|
UNSTABLE_defaultItemHeight: number;
|
|
1051
934
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1052
|
-
orientation:
|
|
935
|
+
orientation: "horizontal" | "vertical";
|
|
1053
936
|
indexRef: React.MutableRefObject<number>;
|
|
1054
937
|
nonInteractiveIds: string[];
|
|
1055
938
|
isVirtualized: boolean;
|
|
@@ -1063,12 +946,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1063
946
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1064
947
|
placement: import("@popperjs/core").Placement;
|
|
1065
948
|
id: string;
|
|
1066
|
-
visibility:
|
|
1067
|
-
selectedIds:
|
|
1068
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1069
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1070
|
-
* HTML. If more complex HTML is provided, consider
|
|
1071
|
-
*/
|
|
949
|
+
visibility: "hidden" | "visible";
|
|
950
|
+
selectedIds: string[] | "all";
|
|
1072
951
|
unselectedIds: string[];
|
|
1073
952
|
cursorId: string;
|
|
1074
953
|
columnCount: number;
|
|
@@ -1081,7 +960,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1081
960
|
};
|
|
1082
961
|
UNSTABLE_defaultItemHeight: number;
|
|
1083
962
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1084
|
-
orientation:
|
|
963
|
+
orientation: "horizontal" | "vertical";
|
|
1085
964
|
indexRef: React.MutableRefObject<number>;
|
|
1086
965
|
nonInteractiveIds: string[];
|
|
1087
966
|
isVirtualized: boolean;
|
|
@@ -1095,12 +974,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1095
974
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1096
975
|
placement: import("@popperjs/core").Placement;
|
|
1097
976
|
id: string;
|
|
1098
|
-
visibility:
|
|
1099
|
-
selectedIds:
|
|
1100
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1101
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1102
|
-
* HTML. If more complex HTML is provided, consider
|
|
1103
|
-
*/
|
|
977
|
+
visibility: "hidden" | "visible";
|
|
978
|
+
selectedIds: string[] | "all";
|
|
1104
979
|
unselectedIds: string[];
|
|
1105
980
|
cursorId: string;
|
|
1106
981
|
columnCount: number;
|
|
@@ -1113,7 +988,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1113
988
|
};
|
|
1114
989
|
UNSTABLE_defaultItemHeight: number;
|
|
1115
990
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1116
|
-
orientation:
|
|
991
|
+
orientation: "horizontal" | "vertical";
|
|
1117
992
|
indexRef: React.MutableRefObject<number>;
|
|
1118
993
|
nonInteractiveIds: string[];
|
|
1119
994
|
isVirtualized: boolean;
|
|
@@ -1127,12 +1002,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1127
1002
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1128
1003
|
placement: import("@popperjs/core").Placement;
|
|
1129
1004
|
id: string;
|
|
1130
|
-
visibility:
|
|
1131
|
-
selectedIds:
|
|
1132
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1133
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1134
|
-
* HTML. If more complex HTML is provided, consider
|
|
1135
|
-
*/
|
|
1005
|
+
visibility: "hidden" | "visible";
|
|
1006
|
+
selectedIds: string[] | "all";
|
|
1136
1007
|
unselectedIds: string[];
|
|
1137
1008
|
cursorId: string;
|
|
1138
1009
|
columnCount: number;
|
|
@@ -1145,7 +1016,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1145
1016
|
};
|
|
1146
1017
|
UNSTABLE_defaultItemHeight: number;
|
|
1147
1018
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1148
|
-
orientation:
|
|
1019
|
+
orientation: "horizontal" | "vertical";
|
|
1149
1020
|
indexRef: React.MutableRefObject<number>;
|
|
1150
1021
|
nonInteractiveIds: string[];
|
|
1151
1022
|
isVirtualized: boolean;
|
|
@@ -1159,12 +1030,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1159
1030
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1160
1031
|
placement: import("@popperjs/core").Placement;
|
|
1161
1032
|
id: string;
|
|
1162
|
-
visibility:
|
|
1163
|
-
selectedIds:
|
|
1164
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1165
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1166
|
-
* HTML. If more complex HTML is provided, consider
|
|
1167
|
-
*/
|
|
1033
|
+
visibility: "hidden" | "visible";
|
|
1034
|
+
selectedIds: string[] | "all";
|
|
1168
1035
|
unselectedIds: string[];
|
|
1169
1036
|
cursorId: string;
|
|
1170
1037
|
columnCount: number;
|
|
@@ -1177,7 +1044,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1177
1044
|
};
|
|
1178
1045
|
UNSTABLE_defaultItemHeight: number;
|
|
1179
1046
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1180
|
-
orientation:
|
|
1047
|
+
orientation: "horizontal" | "vertical";
|
|
1181
1048
|
indexRef: React.MutableRefObject<number>;
|
|
1182
1049
|
nonInteractiveIds: string[];
|
|
1183
1050
|
isVirtualized: boolean;
|
|
@@ -1191,12 +1058,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1191
1058
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1192
1059
|
placement: import("@popperjs/core").Placement;
|
|
1193
1060
|
id: string;
|
|
1194
|
-
visibility:
|
|
1195
|
-
selectedIds:
|
|
1196
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1197
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1198
|
-
* HTML. If more complex HTML is provided, consider
|
|
1199
|
-
*/
|
|
1061
|
+
visibility: "hidden" | "visible";
|
|
1062
|
+
selectedIds: string[] | "all";
|
|
1200
1063
|
unselectedIds: string[];
|
|
1201
1064
|
cursorId: string;
|
|
1202
1065
|
columnCount: number;
|
|
@@ -1209,7 +1072,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1209
1072
|
};
|
|
1210
1073
|
UNSTABLE_defaultItemHeight: number;
|
|
1211
1074
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1212
|
-
orientation:
|
|
1075
|
+
orientation: "horizontal" | "vertical";
|
|
1213
1076
|
indexRef: React.MutableRefObject<number>;
|
|
1214
1077
|
nonInteractiveIds: string[];
|
|
1215
1078
|
isVirtualized: boolean;
|
|
@@ -1223,12 +1086,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1223
1086
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1224
1087
|
placement: import("@popperjs/core").Placement;
|
|
1225
1088
|
id: string;
|
|
1226
|
-
visibility:
|
|
1227
|
-
selectedIds:
|
|
1228
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1229
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1230
|
-
* HTML. If more complex HTML is provided, consider
|
|
1231
|
-
*/
|
|
1089
|
+
visibility: "hidden" | "visible";
|
|
1090
|
+
selectedIds: string[] | "all";
|
|
1232
1091
|
unselectedIds: string[];
|
|
1233
1092
|
cursorId: string;
|
|
1234
1093
|
columnCount: number;
|
|
@@ -1241,7 +1100,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1241
1100
|
};
|
|
1242
1101
|
UNSTABLE_defaultItemHeight: number;
|
|
1243
1102
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1244
|
-
orientation:
|
|
1103
|
+
orientation: "horizontal" | "vertical";
|
|
1245
1104
|
indexRef: React.MutableRefObject<number>;
|
|
1246
1105
|
nonInteractiveIds: string[];
|
|
1247
1106
|
isVirtualized: boolean;
|
|
@@ -1255,12 +1114,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1255
1114
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1256
1115
|
placement: import("@popperjs/core").Placement;
|
|
1257
1116
|
id: string;
|
|
1258
|
-
visibility:
|
|
1259
|
-
selectedIds:
|
|
1260
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1261
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1262
|
-
* HTML. If more complex HTML is provided, consider
|
|
1263
|
-
*/
|
|
1117
|
+
visibility: "hidden" | "visible";
|
|
1118
|
+
selectedIds: string[] | "all";
|
|
1264
1119
|
unselectedIds: string[];
|
|
1265
1120
|
cursorId: string;
|
|
1266
1121
|
columnCount: number;
|
|
@@ -1273,7 +1128,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1273
1128
|
};
|
|
1274
1129
|
UNSTABLE_defaultItemHeight: number;
|
|
1275
1130
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1276
|
-
orientation:
|
|
1131
|
+
orientation: "horizontal" | "vertical";
|
|
1277
1132
|
indexRef: React.MutableRefObject<number>;
|
|
1278
1133
|
nonInteractiveIds: string[];
|
|
1279
1134
|
isVirtualized: boolean;
|
|
@@ -1289,12 +1144,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1289
1144
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1290
1145
|
placement: import("@popperjs/core").Placement;
|
|
1291
1146
|
id: string;
|
|
1292
|
-
visibility:
|
|
1293
|
-
selectedIds:
|
|
1294
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1295
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1296
|
-
* HTML. If more complex HTML is provided, consider
|
|
1297
|
-
*/
|
|
1147
|
+
visibility: "hidden" | "visible";
|
|
1148
|
+
selectedIds: string[] | "all";
|
|
1298
1149
|
unselectedIds: string[];
|
|
1299
1150
|
cursorId: string;
|
|
1300
1151
|
columnCount: number;
|
|
@@ -1307,7 +1158,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1307
1158
|
};
|
|
1308
1159
|
UNSTABLE_defaultItemHeight: number;
|
|
1309
1160
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1310
|
-
orientation:
|
|
1161
|
+
orientation: "horizontal" | "vertical";
|
|
1311
1162
|
indexRef: React.MutableRefObject<number>;
|
|
1312
1163
|
nonInteractiveIds: string[];
|
|
1313
1164
|
isVirtualized: boolean;
|
|
@@ -1323,12 +1174,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1323
1174
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1324
1175
|
placement: import("@popperjs/core").Placement;
|
|
1325
1176
|
id: string;
|
|
1326
|
-
visibility:
|
|
1327
|
-
selectedIds:
|
|
1328
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1329
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1330
|
-
* HTML. If more complex HTML is provided, consider
|
|
1331
|
-
*/
|
|
1177
|
+
visibility: "hidden" | "visible";
|
|
1178
|
+
selectedIds: string[] | "all";
|
|
1332
1179
|
unselectedIds: string[];
|
|
1333
1180
|
cursorId: string;
|
|
1334
1181
|
columnCount: number;
|
|
@@ -1341,7 +1188,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1341
1188
|
};
|
|
1342
1189
|
UNSTABLE_defaultItemHeight: number;
|
|
1343
1190
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1344
|
-
orientation:
|
|
1191
|
+
orientation: "horizontal" | "vertical";
|
|
1345
1192
|
indexRef: React.MutableRefObject<number>;
|
|
1346
1193
|
nonInteractiveIds: string[];
|
|
1347
1194
|
isVirtualized: boolean;
|
|
@@ -1356,12 +1203,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1356
1203
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1357
1204
|
placement: import("@popperjs/core").Placement;
|
|
1358
1205
|
id: string;
|
|
1359
|
-
visibility:
|
|
1360
|
-
selectedIds:
|
|
1361
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1362
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1363
|
-
* HTML. If more complex HTML is provided, consider
|
|
1364
|
-
*/
|
|
1206
|
+
visibility: "hidden" | "visible";
|
|
1207
|
+
selectedIds: string[] | "all";
|
|
1365
1208
|
unselectedIds: string[];
|
|
1366
1209
|
cursorId: string;
|
|
1367
1210
|
columnCount: number;
|
|
@@ -1374,7 +1217,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1374
1217
|
};
|
|
1375
1218
|
UNSTABLE_defaultItemHeight: number;
|
|
1376
1219
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1377
|
-
orientation:
|
|
1220
|
+
orientation: "horizontal" | "vertical";
|
|
1378
1221
|
indexRef: React.MutableRefObject<number>;
|
|
1379
1222
|
nonInteractiveIds: string[];
|
|
1380
1223
|
isVirtualized: boolean;
|
|
@@ -1421,11 +1264,22 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1421
1264
|
getId: (item: any) => string;
|
|
1422
1265
|
}> & {
|
|
1423
1266
|
/**
|
|
1424
|
-
*
|
|
1425
|
-
*
|
|
1426
|
-
*
|
|
1267
|
+
* `Menu.Target` is similar to all {@link PopupTarget Popup.Target} types. The component only
|
|
1268
|
+
* provides behavior and no styling. The `as` prop is used to determine which component is
|
|
1269
|
+
* rendered. This component should forward the `ref` and apply any additional props directly to
|
|
1270
|
+
* an element. The default `as` is a {@link SecondaryButton}. Any Canvas Kit component should
|
|
1271
|
+
* work with an `as`.
|
|
1272
|
+
*
|
|
1273
|
+
* An example changing to a {@link PrimaryButton}
|
|
1274
|
+
*
|
|
1275
|
+
* ```tsx
|
|
1276
|
+
* <Menu.Target as={PrimaryButton}>Primary Button Text</Menu.Target>
|
|
1277
|
+
* ```
|
|
1278
|
+
*
|
|
1279
|
+
* This element will apply `aria-haspopup` and `aria-expanded` to inform screen readers there's
|
|
1280
|
+
* a popup associated with the element.
|
|
1427
1281
|
*/
|
|
1428
|
-
|
|
1282
|
+
Target: import("@workday/canvas-kit-react/common").ElementComponentM<import("@workday/canvas-kit-react/common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("./MenuTarget").MenuTargetProps, {
|
|
1429
1283
|
state: {
|
|
1430
1284
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1431
1285
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1433,12 +1287,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1433
1287
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1434
1288
|
placement: import("@popperjs/core").Placement;
|
|
1435
1289
|
id: string;
|
|
1436
|
-
visibility:
|
|
1437
|
-
selectedIds:
|
|
1438
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1439
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1440
|
-
* HTML. If more complex HTML is provided, consider
|
|
1441
|
-
*/
|
|
1290
|
+
visibility: "hidden" | "visible";
|
|
1291
|
+
selectedIds: string[] | "all";
|
|
1442
1292
|
unselectedIds: string[];
|
|
1443
1293
|
cursorId: string;
|
|
1444
1294
|
columnCount: number;
|
|
@@ -1451,7 +1301,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1451
1301
|
};
|
|
1452
1302
|
UNSTABLE_defaultItemHeight: number;
|
|
1453
1303
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1454
|
-
orientation:
|
|
1304
|
+
orientation: "horizontal" | "vertical";
|
|
1455
1305
|
indexRef: React.MutableRefObject<number>;
|
|
1456
1306
|
nonInteractiveIds: string[];
|
|
1457
1307
|
isVirtualized: boolean;
|
|
@@ -1498,28 +1348,11 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1498
1348
|
getId: (item: any) => string;
|
|
1499
1349
|
}>;
|
|
1500
1350
|
/**
|
|
1501
|
-
* The menu
|
|
1502
|
-
*
|
|
1503
|
-
*
|
|
1504
|
-
* @example
|
|
1505
|
-
* const MyComponent = () => {
|
|
1506
|
-
* const model = useMenuModel({
|
|
1507
|
-
* items: [
|
|
1508
|
-
* { id: 'first', text: 'First Item' },
|
|
1509
|
-
* { id: 'second', text: 'Second Item' },
|
|
1510
|
-
* ]
|
|
1511
|
-
* })
|
|
1512
|
-
*
|
|
1513
|
-
* return (
|
|
1514
|
-
* <Menu model={model}>
|
|
1515
|
-
* <Menu.List>
|
|
1516
|
-
* {(item) => <Menu.Item name={item.id}>{item.text}</Menu.Item>}
|
|
1517
|
-
* </Menu.List>
|
|
1518
|
-
* </Menu>
|
|
1519
|
-
* )
|
|
1520
|
-
* }
|
|
1351
|
+
* The menu card is a non-semantic element used to give the dropdown menu its distinct visual
|
|
1352
|
+
* cue that the dropdown menu is floating above other content. A menu card usually contains a
|
|
1353
|
+
* menu list, but can also contain other elements like a header or footer.
|
|
1521
1354
|
*/
|
|
1522
|
-
|
|
1355
|
+
Card: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuCard").MenuCardProps, {
|
|
1523
1356
|
state: {
|
|
1524
1357
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1525
1358
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1527,12 +1360,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1527
1360
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1528
1361
|
placement: import("@popperjs/core").Placement;
|
|
1529
1362
|
id: string;
|
|
1530
|
-
visibility:
|
|
1531
|
-
selectedIds:
|
|
1532
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1533
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1534
|
-
* HTML. If more complex HTML is provided, consider
|
|
1535
|
-
*/
|
|
1363
|
+
visibility: "hidden" | "visible";
|
|
1364
|
+
selectedIds: string[] | "all";
|
|
1536
1365
|
unselectedIds: string[];
|
|
1537
1366
|
cursorId: string;
|
|
1538
1367
|
columnCount: number;
|
|
@@ -1545,7 +1374,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1545
1374
|
};
|
|
1546
1375
|
UNSTABLE_defaultItemHeight: number;
|
|
1547
1376
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1548
|
-
orientation:
|
|
1377
|
+
orientation: "horizontal" | "vertical";
|
|
1549
1378
|
indexRef: React.MutableRefObject<number>;
|
|
1550
1379
|
nonInteractiveIds: string[];
|
|
1551
1380
|
isVirtualized: boolean;
|
|
@@ -1592,11 +1421,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1592
1421
|
getId: (item: any) => string;
|
|
1593
1422
|
}>;
|
|
1594
1423
|
/**
|
|
1595
|
-
*
|
|
1596
|
-
*
|
|
1597
|
-
*
|
|
1424
|
+
* The menu list follows the Collections API. A list can either contain static items
|
|
1425
|
+
* or a render prop and `items` to the model.
|
|
1426
|
+
*
|
|
1427
|
+
* ```tsx
|
|
1428
|
+
* const MyComponent = () => {
|
|
1429
|
+
* const model = useMenuModel({
|
|
1430
|
+
* items: [
|
|
1431
|
+
* { id: 'first', text: 'First Item' },
|
|
1432
|
+
* { id: 'second', text: 'Second Item' },
|
|
1433
|
+
* ]
|
|
1434
|
+
* })
|
|
1435
|
+
*
|
|
1436
|
+
* return (
|
|
1437
|
+
* <Menu model={model}>
|
|
1438
|
+
* <Menu.List>
|
|
1439
|
+
* {(item) => <Menu.Item name={item.id}>{item.text}</Menu.Item>}
|
|
1440
|
+
* </Menu.List>
|
|
1441
|
+
* </Menu>
|
|
1442
|
+
* )
|
|
1443
|
+
* }
|
|
1444
|
+
* ```
|
|
1598
1445
|
*/
|
|
1599
|
-
|
|
1446
|
+
List: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuList").MenuListProps<any>, {
|
|
1600
1447
|
state: {
|
|
1601
1448
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1602
1449
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1604,12 +1451,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1604
1451
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1605
1452
|
placement: import("@popperjs/core").Placement;
|
|
1606
1453
|
id: string;
|
|
1607
|
-
visibility:
|
|
1608
|
-
selectedIds:
|
|
1609
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1610
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1611
|
-
* HTML. If more complex HTML is provided, consider
|
|
1612
|
-
*/
|
|
1454
|
+
visibility: "hidden" | "visible";
|
|
1455
|
+
selectedIds: string[] | "all";
|
|
1613
1456
|
unselectedIds: string[];
|
|
1614
1457
|
cursorId: string;
|
|
1615
1458
|
columnCount: number;
|
|
@@ -1622,7 +1465,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1622
1465
|
};
|
|
1623
1466
|
UNSTABLE_defaultItemHeight: number;
|
|
1624
1467
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1625
|
-
orientation:
|
|
1468
|
+
orientation: "horizontal" | "vertical";
|
|
1626
1469
|
indexRef: React.MutableRefObject<number>;
|
|
1627
1470
|
nonInteractiveIds: string[];
|
|
1628
1471
|
isVirtualized: boolean;
|
|
@@ -1667,15 +1510,13 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1667
1510
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
1668
1511
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1669
1512
|
getId: (item: any) => string;
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
Divider: import("../../common").ElementComponent<"hr", unknown>;
|
|
1678
|
-
Target: import("../../common").ElementComponentM<import("../../common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("./MenuTarget").MenuTargetProps, {
|
|
1513
|
+
}>;
|
|
1514
|
+
/**
|
|
1515
|
+
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1516
|
+
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1517
|
+
* HTML. If more complex HTML is provided, consider
|
|
1518
|
+
*/
|
|
1519
|
+
Item: import("@workday/canvas-kit-react/common").ElementComponentM<"button", import("./MenuItem").MenuItemProps, {
|
|
1679
1520
|
state: {
|
|
1680
1521
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1681
1522
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1683,12 +1524,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1683
1524
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1684
1525
|
placement: import("@popperjs/core").Placement;
|
|
1685
1526
|
id: string;
|
|
1686
|
-
visibility:
|
|
1687
|
-
selectedIds:
|
|
1688
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1689
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1690
|
-
* HTML. If more complex HTML is provided, consider
|
|
1691
|
-
*/
|
|
1527
|
+
visibility: "hidden" | "visible";
|
|
1528
|
+
selectedIds: string[] | "all";
|
|
1692
1529
|
unselectedIds: string[];
|
|
1693
1530
|
cursorId: string;
|
|
1694
1531
|
columnCount: number;
|
|
@@ -1701,7 +1538,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1701
1538
|
};
|
|
1702
1539
|
UNSTABLE_defaultItemHeight: number;
|
|
1703
1540
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1704
|
-
orientation:
|
|
1541
|
+
orientation: "horizontal" | "vertical";
|
|
1705
1542
|
indexRef: React.MutableRefObject<number>;
|
|
1706
1543
|
nonInteractiveIds: string[];
|
|
1707
1544
|
isVirtualized: boolean;
|
|
@@ -1746,8 +1583,19 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1746
1583
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
1747
1584
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1748
1585
|
getId: (item: any) => string;
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1586
|
+
}> & {
|
|
1587
|
+
Icon: import("@workday/canvas-kit-react/common").ElementComponent<"span", import("../..").SystemIconProps>;
|
|
1588
|
+
Text: import("@emotion/styled").StyledComponent<{
|
|
1589
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1590
|
+
as?: React.ElementType<any> | undefined;
|
|
1591
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
1592
|
+
};
|
|
1593
|
+
Divider: import("@workday/canvas-kit-react/common").ElementComponent<"hr", unknown>;
|
|
1594
|
+
/**
|
|
1595
|
+
* A `Menu.TargetContext` is the same as a {@link MenuTarget Menu.Target}, except it adds a
|
|
1596
|
+
* `context` event handler instead of a `click` handler to trigger context menus.
|
|
1597
|
+
*/
|
|
1598
|
+
TargetContext: import("@workday/canvas-kit-react/common").ElementComponentM<import("@workday/canvas-kit-react/common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("./MenuTarget").MenuTargetProps, {
|
|
1751
1599
|
state: {
|
|
1752
1600
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1753
1601
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1755,12 +1603,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1755
1603
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1756
1604
|
placement: import("@popperjs/core").Placement;
|
|
1757
1605
|
id: string;
|
|
1758
|
-
visibility:
|
|
1759
|
-
selectedIds:
|
|
1760
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1761
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1762
|
-
* HTML. If more complex HTML is provided, consider
|
|
1763
|
-
*/
|
|
1606
|
+
visibility: "hidden" | "visible";
|
|
1607
|
+
selectedIds: string[] | "all";
|
|
1764
1608
|
unselectedIds: string[];
|
|
1765
1609
|
cursorId: string;
|
|
1766
1610
|
columnCount: number;
|
|
@@ -1773,7 +1617,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1773
1617
|
};
|
|
1774
1618
|
UNSTABLE_defaultItemHeight: number;
|
|
1775
1619
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1776
|
-
orientation:
|
|
1620
|
+
orientation: "horizontal" | "vertical";
|
|
1777
1621
|
indexRef: React.MutableRefObject<number>;
|
|
1778
1622
|
nonInteractiveIds: string[];
|
|
1779
1623
|
isVirtualized: boolean;
|
|
@@ -1820,12 +1664,12 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1820
1664
|
getId: (item: any) => string;
|
|
1821
1665
|
}>;
|
|
1822
1666
|
/**
|
|
1823
|
-
* The "Popper" of a menu. The popper will appear around the
|
|
1824
|
-
* element that is portalled to the `document.body` which is controlled by the
|
|
1825
|
-
* `PopupStack` is not part of React. This means no extra props given to
|
|
1826
|
-
* forwarded to the `div` element, but the `ref` will be forwarded.
|
|
1667
|
+
* The "Popper" of a menu. The popper will appear around the {@link MenuTarget Menu.Target}. It
|
|
1668
|
+
* renders a `div` element that is portalled to the `document.body` which is controlled by the
|
|
1669
|
+
* {@link PopupStack}. The `PopupStack` is not part of React. This means no extra props given to
|
|
1670
|
+
* this component will be forwarded to the `div` element, but the `ref` will be forwarded.
|
|
1827
1671
|
*/
|
|
1828
|
-
Popper: import("
|
|
1672
|
+
Popper: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuPopper").MenuPopperProps, {
|
|
1829
1673
|
state: {
|
|
1830
1674
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1831
1675
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1833,12 +1677,8 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1833
1677
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1834
1678
|
placement: import("@popperjs/core").Placement;
|
|
1835
1679
|
id: string;
|
|
1836
|
-
visibility:
|
|
1837
|
-
selectedIds:
|
|
1838
|
-
* A menu item has an optional `name` prop that identifies the item in the menu list and will be
|
|
1839
|
-
* passed to the optional `onSelect` callback of the menu model. A menu item can contain any
|
|
1840
|
-
* HTML. If more complex HTML is provided, consider
|
|
1841
|
-
*/
|
|
1680
|
+
visibility: "hidden" | "visible";
|
|
1681
|
+
selectedIds: string[] | "all";
|
|
1842
1682
|
unselectedIds: string[];
|
|
1843
1683
|
cursorId: string;
|
|
1844
1684
|
columnCount: number;
|
|
@@ -1851,7 +1691,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1851
1691
|
};
|
|
1852
1692
|
UNSTABLE_defaultItemHeight: number;
|
|
1853
1693
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1854
|
-
orientation:
|
|
1694
|
+
orientation: "horizontal" | "vertical";
|
|
1855
1695
|
indexRef: React.MutableRefObject<number>;
|
|
1856
1696
|
nonInteractiveIds: string[];
|
|
1857
1697
|
isVirtualized: boolean;
|