@workday/canvas-kit-react 7.1.5 → 7.2.0-427-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/ActionBarItem.tsx +2 -7
- package/action-bar/lib/ActionBarList.tsx +32 -19
- package/action-bar/lib/ActionBarOverflowButton.tsx +12 -8
- package/action-bar/lib/useActionBarModel.tsx +20 -3
- package/avatar/index.ts +0 -4
- package/avatar/lib/Avatar.tsx +1 -3
- package/badge/index.ts +1 -1
- package/badge/lib/CountBadge.tsx +1 -3
- package/banner/lib/Banner.tsx +59 -6
- package/banner/lib/BannerIcon.tsx +0 -1
- package/banner/lib/hooks/index.ts +2 -0
- package/banner/lib/hooks/useThemedPalette.ts +3 -3
- package/breadcrumbs/LICENSE +52 -0
- package/breadcrumbs/README.md +9 -0
- package/breadcrumbs/index.ts +2 -0
- package/breadcrumbs/lib/Breadcrumbs.tsx +172 -0
- package/breadcrumbs/lib/BreadcrumbsCurrentItem.tsx +65 -0
- package/breadcrumbs/lib/BreadcrumbsItem.tsx +82 -0
- package/breadcrumbs/lib/BreadcrumbsLink.tsx +52 -0
- package/breadcrumbs/lib/BreadcrumbsList.tsx +50 -0
- package/breadcrumbs/lib/BreadcrumbsMenu.tsx +28 -0
- package/breadcrumbs/lib/BreadcrumbsOverflowButton.tsx +58 -0
- package/breadcrumbs/lib/hooks/useBreadcrumbsModel.tsx +76 -0
- package/breadcrumbs/lib/hooks/utils/index.ts +22 -0
- package/breadcrumbs/package.json +6 -0
- package/button/index.ts +7 -1
- package/button/lib/BaseButton.tsx +14 -9
- package/button/lib/DeleteButton.tsx +7 -3
- package/button/lib/ExternalHyperlink.tsx +6 -7
- package/button/lib/Hyperlink.tsx +6 -2
- package/button/lib/PrimaryButton.tsx +11 -7
- package/button/lib/SecondaryButton.tsx +11 -2
- package/button/lib/TertiaryButton.tsx +14 -13
- package/button/lib/deprecated_Button.tsx +1 -1
- package/button/lib/parts/ButtonLabelIcon.tsx +2 -9
- package/card/lib/Card.tsx +36 -0
- package/card/lib/CardBody.tsx +3 -6
- package/card/lib/CardHeading.tsx +13 -10
- package/checkbox/index.ts +0 -4
- package/checkbox/lib/Checkbox.tsx +10 -32
- package/collection/index.ts +7 -1
- package/collection/lib/ListBox.tsx +31 -16
- package/collection/lib/keyUtils.ts +88 -0
- package/collection/lib/useBaseListModel.tsx +30 -16
- package/collection/lib/useCursorListModel.tsx +199 -101
- package/collection/lib/useGridModel.ts +38 -0
- package/collection/lib/useListActiveDescendant.ts +24 -0
- package/collection/lib/useListItemAllowChildStrings.ts +38 -0
- package/collection/lib/useListItemRegister.tsx +25 -7
- package/collection/lib/useListItemRovingFocus.tsx +60 -111
- package/collection/lib/useListItemSelect.tsx +16 -5
- package/collection/lib/useListKeyboardHandler.ts +28 -0
- package/collection/lib/useListLoader.ts +375 -0
- package/collection/lib/useListModel.tsx +20 -3
- package/collection/lib/useListRenderItem.tsx +38 -14
- package/collection/lib/useListResetCursorOnBlur.tsx +13 -2
- package/collection/lib/useOverflowListItemMeasure.tsx +13 -2
- package/collection/lib/useOverflowListMeasure.ts +15 -13
- package/collection/lib/useOverflowListTarget.tsx +32 -30
- package/collection/lib/useSelectionListModel.tsx +14 -1
- package/color-picker/index.ts +0 -4
- package/color-picker/lib/ColorInput.tsx +1 -4
- package/color-picker/lib/ColorPreview.tsx +1 -3
- package/combobox/LICENSE +52 -0
- package/combobox/README.md +7 -0
- package/combobox/index.ts +8 -0
- package/combobox/lib/Combobox.tsx +32 -0
- package/combobox/lib/ComboboxCard.tsx +33 -0
- package/combobox/lib/ComboboxInput.tsx +104 -0
- package/combobox/lib/ComboboxMenu.tsx +67 -0
- package/combobox/lib/ComboboxMenuItem.tsx +74 -0
- package/combobox/lib/ComboboxMenuList.tsx +45 -0
- package/combobox/lib/useComboboxInputOpenWithArrowKeys.ts +21 -0
- package/combobox/lib/useComboboxLoader.ts +72 -0
- package/combobox/lib/useComboboxModel.tsx +85 -0
- package/combobox/package.json +6 -0
- package/common/index.ts +1 -0
- package/common/lib/EllipsisText.tsx +11 -3
- package/common/lib/InputProvider.tsx +1 -6
- package/common/lib/responsive/useResponsiveContainerStyles.ts +128 -0
- package/common/lib/styles/focusRing.ts +1 -10
- package/common/lib/theming/README.md +97 -0
- package/common/lib/theming/createCanvasTheme.ts +39 -42
- package/common/lib/theming/getObjectProxy.ts +37 -0
- package/common/lib/theming/index.ts +3 -1
- package/common/lib/theming/styled.ts +6 -3
- package/common/lib/theming/useTheme.ts +79 -23
- package/common/lib/theming/useThemedRing.ts +114 -0
- package/common/lib/utils/changeFocus.ts +15 -3
- package/common/lib/utils/colorUtils.ts +20 -7
- package/common/lib/utils/components.ts +317 -218
- package/common/lib/utils/deepMerge.ts +21 -0
- package/common/lib/utils/dispatchInputEvent.ts +16 -0
- package/common/lib/utils/elements.ts +7 -12
- package/common/lib/utils/index.ts +2 -1
- package/common/lib/utils/isWithinBreakpoint.ts +6 -0
- package/common/lib/utils/memoize.ts +23 -0
- package/common/lib/utils/models.ts +21 -9
- package/common/lib/utils/slugify.ts +11 -0
- package/common/lib/utils/useModalityType.ts +27 -13
- package/dialog/lib/Dialog.tsx +66 -0
- package/dialog/lib/DialogPopper.tsx +3 -0
- package/disclosure/lib/useDisclosureModel.tsx +2 -2
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +805 -349
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBar.js +52 -9
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +79 -24
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.js +8 -19
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +118 -16
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.js +17 -41
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +113 -27
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.js +14 -25
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +381 -161
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.js +55 -41
- package/dist/commonjs/avatar/index.d.ts +0 -3
- package/dist/commonjs/avatar/index.d.ts.map +1 -1
- package/dist/commonjs/avatar/index.js +0 -7
- package/dist/commonjs/avatar/lib/Avatar.d.ts +2 -2
- package/dist/commonjs/avatar/lib/Avatar.d.ts.map +1 -1
- package/dist/commonjs/avatar/lib/Avatar.js +55 -78
- package/dist/commonjs/badge/index.d.ts +1 -1
- package/dist/commonjs/badge/index.d.ts.map +1 -1
- package/dist/commonjs/badge/index.js +1 -4
- package/dist/commonjs/badge/lib/CountBadge.d.ts +1 -2
- package/dist/commonjs/badge/lib/CountBadge.d.ts.map +1 -1
- package/dist/commonjs/badge/lib/CountBadge.js +25 -44
- package/dist/commonjs/banner/lib/Banner.d.ts +60 -13
- package/dist/commonjs/banner/lib/Banner.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/Banner.js +88 -50
- package/dist/commonjs/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerActionText.js +7 -30
- package/dist/commonjs/banner/lib/BannerIcon.d.ts +1 -2
- package/dist/commonjs/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/BannerIcon.js +9 -31
- package/dist/commonjs/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/commonjs/banner/lib/BannerLabel.js +6 -29
- package/dist/commonjs/banner/lib/hooks/index.d.ts +2 -0
- package/dist/commonjs/banner/lib/hooks/index.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/index.js +3 -0
- package/dist/commonjs/banner/lib/hooks/useBanner.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBanner.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBanner.js +5 -6
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerActionText.js +4 -5
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerIcon.js +6 -7
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.d.ts +3 -5
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerLabel.js +4 -5
- package/dist/commonjs/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useBannerModel.js +8 -16
- package/dist/commonjs/banner/lib/hooks/useThemedPalette.d.ts +1 -1
- package/dist/commonjs/banner/lib/hooks/useThemedPalette.d.ts.map +1 -1
- package/dist/commonjs/banner/lib/hooks/useThemedPalette.js +11 -11
- package/dist/commonjs/breadcrumbs/index.d.ts +3 -0
- package/dist/commonjs/breadcrumbs/index.d.ts.map +1 -0
- package/dist/commonjs/{pagination/lib/Pagination/GoTo → breadcrumbs}/index.js +2 -4
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +4250 -0
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.js +175 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +334 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.js +33 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +276 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.js +51 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts +17 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsLink.js +25 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +172 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.js +40 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +1910 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.js +46 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +323 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.js +45 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +1869 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.js +68 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/utils/index.d.ts +6 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/utils/index.d.ts.map +1 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/utils/index.js +22 -0
- package/dist/commonjs/button/index.d.ts +1 -1
- package/dist/commonjs/button/index.d.ts.map +1 -1
- package/dist/commonjs/button/index.js +3 -1
- package/dist/commonjs/button/lib/BaseButton.d.ts +15 -11
- package/dist/commonjs/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/BaseButton.js +128 -78
- package/dist/commonjs/button/lib/DeleteButton.d.ts +8 -3
- package/dist/commonjs/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/DeleteButton.js +32 -58
- package/dist/commonjs/button/lib/ExternalHyperlink.d.ts +5 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ExternalHyperlink.js +29 -39
- package/dist/commonjs/button/lib/Hyperlink.d.ts +5 -1
- package/dist/commonjs/button/lib/Hyperlink.d.ts.map +1 -1
- package/dist/commonjs/button/lib/Hyperlink.js +13 -34
- package/dist/commonjs/button/lib/PrimaryButton.d.ts +12 -7
- package/dist/commonjs/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +18 -32
- package/dist/commonjs/button/lib/SecondaryButton.d.ts +12 -2
- package/dist/commonjs/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/SecondaryButton.js +18 -32
- package/dist/commonjs/button/lib/TertiaryButton.d.ts +14 -10
- package/dist/commonjs/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/TertiaryButton.js +33 -49
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ToolbarDropdownButton.js +14 -40
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts +1 -1
- package/dist/commonjs/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/commonjs/button/lib/ToolbarIconButton.js +16 -43
- package/dist/commonjs/button/lib/deprecated_Button.d.ts +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.d.ts.map +1 -1
- package/dist/commonjs/button/lib/deprecated_Button.js +54 -57
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabel.js +6 -29
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts +3 -9
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/commonjs/button/lib/parts/ButtonLabelIcon.js +7 -30
- package/dist/commonjs/card/lib/Card.d.ts +39 -3
- package/dist/commonjs/card/lib/Card.d.ts.map +1 -1
- package/dist/commonjs/card/lib/Card.js +44 -31
- package/dist/commonjs/card/lib/CardBody.d.ts +1 -1
- package/dist/commonjs/card/lib/CardBody.d.ts.map +1 -1
- package/dist/commonjs/card/lib/CardBody.js +6 -34
- package/dist/commonjs/card/lib/CardHeading.d.ts +1 -1
- package/dist/commonjs/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +5 -36
- package/dist/commonjs/checkbox/index.d.ts +0 -3
- package/dist/commonjs/checkbox/index.d.ts.map +1 -1
- package/dist/commonjs/checkbox/index.js +0 -7
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts +2 -3
- package/dist/commonjs/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/commonjs/checkbox/lib/Checkbox.js +122 -143
- package/dist/commonjs/collection/index.d.ts +7 -1
- package/dist/commonjs/collection/index.d.ts.map +1 -1
- package/dist/commonjs/collection/index.js +9 -1
- package/dist/commonjs/collection/lib/ListBox.d.ts +351 -180
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +34 -42
- package/dist/commonjs/collection/lib/keyUtils.d.ts +26 -0
- package/dist/commonjs/collection/lib/keyUtils.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/keyUtils.js +80 -0
- package/dist/commonjs/collection/lib/react-virtual.js +2 -2
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts +30 -20
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useBaseListModel.js +78 -71
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +627 -194
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.js +197 -158
- package/dist/commonjs/collection/lib/useGridModel.d.ts +1109 -0
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useGridModel.js +38 -0
- package/dist/commonjs/collection/lib/useListActiveDescendant.d.ts +68 -0
- package/dist/commonjs/collection/lib/useListActiveDescendant.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListActiveDescendant.js +25 -0
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +88 -0
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.js +37 -0
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +25 -13
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRegister.js +33 -21
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +23 -38
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +66 -116
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +25 -11
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemSelect.js +21 -12
- package/dist/commonjs/collection/lib/useListKeyboardHandler.d.ts +66 -0
- package/dist/commonjs/collection/lib/useListKeyboardHandler.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListKeyboardHandler.js +27 -0
- package/dist/commonjs/collection/lib/useListLoader.d.ts +106 -0
- package/dist/commonjs/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListLoader.js +239 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts +289 -122
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListModel.js +22 -5
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts +15 -1
- package/dist/commonjs/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListRenderItem.js +41 -17
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +25 -12
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.js +22 -12
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +24 -11
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +21 -11
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +18 -12
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +12 -8
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +341 -143
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +61 -56
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +22 -13
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +15 -11
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +282 -120
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useSelectionListModel.js +32 -37
- package/dist/commonjs/color-picker/index.d.ts +0 -3
- package/dist/commonjs/color-picker/index.d.ts.map +1 -1
- package/dist/commonjs/color-picker/index.js +0 -8
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts +1 -2
- package/dist/commonjs/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorInput.js +46 -78
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts +1 -2
- package/dist/commonjs/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/commonjs/color-picker/lib/ColorPreview.js +7 -33
- package/dist/commonjs/color-picker/lib/parts/ColorSwatch.js +15 -43
- package/dist/commonjs/combobox/index.d.ts +9 -0
- package/dist/commonjs/combobox/index.d.ts.map +1 -0
- package/dist/commonjs/combobox/index.js +19 -0
- package/dist/commonjs/combobox/lib/Combobox.d.ts +2075 -0
- package/dist/commonjs/combobox/lib/Combobox.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/Combobox.js +29 -0
- package/dist/commonjs/combobox/lib/ComboboxCard.d.ts +166 -0
- package/dist/commonjs/combobox/lib/ComboboxCard.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxCard.js +25 -0
- package/dist/commonjs/combobox/lib/ComboboxInput.d.ts +186 -0
- package/dist/commonjs/combobox/lib/ComboboxInput.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxInput.js +84 -0
- package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts +428 -0
- package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxMenu.js +63 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts +178 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuItem.js +50 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts +164 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +31 -0
- package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts +84 -0
- package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.js +20 -0
- package/dist/commonjs/combobox/lib/useComboboxLoader.d.ts +28 -0
- package/dist/commonjs/combobox/lib/useComboboxLoader.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/useComboboxLoader.js +65 -0
- package/dist/commonjs/combobox/lib/useComboboxModel.d.ts +1998 -0
- package/dist/commonjs/combobox/lib/useComboboxModel.d.ts.map +1 -0
- package/dist/commonjs/combobox/lib/useComboboxModel.js +82 -0
- package/dist/commonjs/common/index.d.ts +1 -0
- package/dist/commonjs/common/index.d.ts.map +1 -1
- package/dist/commonjs/common/index.js +1 -0
- package/dist/commonjs/common/lib/CanvasProvider.js +15 -55
- package/dist/commonjs/common/lib/EllipsisText.d.ts +1 -2
- package/dist/commonjs/common/lib/EllipsisText.d.ts.map +1 -1
- package/dist/commonjs/common/lib/EllipsisText.js +10 -3
- package/dist/commonjs/common/lib/InputProvider.d.ts +2 -2
- package/dist/commonjs/common/lib/InputProvider.d.ts.map +1 -1
- package/dist/commonjs/common/lib/InputProvider.js +73 -98
- package/dist/commonjs/common/lib/parts/_brand-assets.js +6 -6
- package/dist/commonjs/common/lib/responsive/useResponsiveContainerStyles.d.ts +78 -0
- package/dist/commonjs/common/lib/responsive/useResponsiveContainerStyles.d.ts.map +1 -0
- package/dist/commonjs/common/lib/responsive/useResponsiveContainerStyles.js +110 -0
- package/dist/commonjs/common/lib/styles/errorRing.js +11 -10
- package/dist/commonjs/common/lib/styles/focusRing.d.ts +0 -3
- package/dist/commonjs/common/lib/styles/focusRing.d.ts.map +1 -1
- package/dist/commonjs/common/lib/styles/focusRing.js +20 -36
- package/dist/commonjs/common/lib/styles/hideMouseFocus.js +13 -9
- package/dist/commonjs/common/lib/theming/breakpoints.js +10 -10
- package/dist/commonjs/common/lib/theming/createCanvasTheme.d.ts +7 -6
- package/dist/commonjs/common/lib/theming/createCanvasTheme.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/createCanvasTheme.js +45 -70
- package/dist/commonjs/common/lib/theming/getObjectProxy.d.ts +15 -0
- package/dist/commonjs/common/lib/theming/getObjectProxy.d.ts.map +1 -0
- package/dist/commonjs/common/lib/theming/getObjectProxy.js +31 -0
- package/dist/commonjs/common/lib/theming/index.d.ts +3 -1
- package/dist/commonjs/common/lib/theming/index.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/index.js +2 -0
- package/dist/commonjs/common/lib/theming/styled.d.ts +2 -0
- package/dist/commonjs/common/lib/theming/styled.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/styled.js +10 -15
- package/dist/commonjs/common/lib/theming/theme.js +3 -3
- package/dist/commonjs/common/lib/theming/useIsRTL.js +5 -5
- package/dist/commonjs/common/lib/theming/useTheme.d.ts +49 -5
- package/dist/commonjs/common/lib/theming/useTheme.d.ts.map +1 -1
- package/dist/commonjs/common/lib/theming/useTheme.js +82 -40
- package/dist/commonjs/common/lib/theming/useThemedRing.d.ts +43 -0
- package/dist/commonjs/common/lib/theming/useThemedRing.d.ts.map +1 -0
- package/dist/commonjs/common/lib/theming/useThemedRing.js +100 -0
- package/dist/commonjs/common/lib/utils/changeFocus.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/changeFocus.js +11 -5
- package/dist/commonjs/common/lib/utils/colorUtils.d.ts +7 -0
- package/dist/commonjs/common/lib/utils/colorUtils.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/colorUtils.js +28 -15
- package/dist/commonjs/common/lib/utils/components.d.ts +166 -100
- package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/components.js +164 -120
- package/dist/commonjs/common/lib/utils/deepMerge.d.ts +2 -0
- package/dist/commonjs/common/lib/utils/deepMerge.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/deepMerge.js +24 -0
- package/dist/commonjs/common/lib/utils/dispatchInputEvent.d.ts +2 -0
- package/dist/commonjs/common/lib/utils/dispatchInputEvent.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/dispatchInputEvent.js +18 -0
- package/dist/commonjs/common/lib/utils/elements.d.ts +1 -1
- package/dist/commonjs/common/lib/utils/elements.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/elements.js +20 -26
- package/dist/commonjs/common/lib/utils/getTranslateFromOrigin.js +2 -2
- package/dist/commonjs/common/lib/utils/index.d.ts +2 -1
- package/dist/commonjs/common/lib/utils/index.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/index.js +2 -1
- package/dist/commonjs/common/lib/utils/isWithinBreakpoint.d.ts +5 -0
- package/dist/commonjs/common/lib/utils/isWithinBreakpoint.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/isWithinBreakpoint.js +10 -0
- package/dist/commonjs/common/lib/utils/makeMq.js +4 -4
- package/dist/commonjs/common/lib/utils/memoize.d.ts +6 -0
- package/dist/commonjs/common/lib/utils/memoize.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/memoize.js +20 -0
- package/dist/commonjs/common/lib/utils/mergeCallback.js +1 -5
- package/dist/commonjs/common/lib/utils/mergeProps.js +5 -16
- package/dist/commonjs/common/lib/utils/models.d.ts +16 -4
- package/dist/commonjs/common/lib/utils/models.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/models.js +56 -73
- package/dist/commonjs/common/lib/utils/slugify.d.ts +5 -0
- package/dist/commonjs/common/lib/utils/slugify.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/slugify.js +15 -0
- package/dist/commonjs/common/lib/utils/useConstant.js +2 -2
- package/dist/commonjs/common/lib/utils/useIsFullscreen.js +7 -7
- package/dist/commonjs/common/lib/utils/useModalityType.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/useModalityType.js +35 -21
- package/dist/commonjs/common/lib/utils/useMount.js +3 -3
- package/dist/commonjs/common/lib/utils/useResizeObserver.js +9 -21
- package/dist/commonjs/common/lib/utils/useUniqueId.js +8 -8
- package/dist/commonjs/common/lib/utils/useWindowSize.js +10 -10
- package/dist/commonjs/dialog/lib/Dialog.d.ts +91 -26
- package/dist/commonjs/dialog/lib/Dialog.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/Dialog.js +72 -8
- package/dist/commonjs/dialog/lib/DialogCard.d.ts +4 -4
- package/dist/commonjs/dialog/lib/DialogCard.js +6 -17
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts +4 -4
- package/dist/commonjs/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/DialogPopper.js +12 -32
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.d.ts +8 -5
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/hooks/useDialogCard.js +4 -5
- package/dist/commonjs/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/commonjs/dialog/lib/hooks/useDialogModel.js +4 -4
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.d.ts +4 -6
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/hooks/useDialogPopper.js +5 -6
- package/dist/commonjs/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/commonjs/disclosure/lib/useDisclosureModel.js +14 -14
- package/dist/commonjs/form-field/index.d.ts +0 -5
- package/dist/commonjs/form-field/index.d.ts.map +1 -1
- package/dist/commonjs/form-field/index.js +0 -11
- 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 +48 -88
- package/dist/commonjs/form-field/lib/Hint.d.ts +1 -1
- package/dist/commonjs/form-field/lib/Hint.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/Hint.js +17 -56
- package/dist/commonjs/form-field/lib/Label.d.ts +6 -5
- package/dist/commonjs/form-field/lib/Label.d.ts.map +1 -1
- package/dist/commonjs/form-field/lib/Label.js +46 -90
- package/dist/commonjs/icon/index.d.ts +0 -7
- package/dist/commonjs/icon/index.d.ts.map +1 -1
- package/dist/commonjs/icon/index.js +0 -16
- package/dist/commonjs/icon/lib/AccentIcon.d.ts +4 -4
- package/dist/commonjs/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AccentIcon.js +17 -47
- package/dist/commonjs/icon/lib/AppletIcon.d.ts +1 -2
- package/dist/commonjs/icon/lib/AppletIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/AppletIcon.js +16 -44
- package/dist/commonjs/icon/lib/Graphic.d.ts +1 -2
- package/dist/commonjs/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +11 -39
- package/dist/commonjs/icon/lib/Icon.d.ts +1 -2
- package/dist/commonjs/icon/lib/Icon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Icon.js +12 -35
- package/dist/commonjs/icon/lib/Svg.d.ts +1 -2
- package/dist/commonjs/icon/lib/Svg.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/Svg.js +11 -35
- package/dist/commonjs/icon/lib/SystemIcon.d.ts +11 -12
- package/dist/commonjs/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIcon.js +38 -68
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts +3 -3
- package/dist/commonjs/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +21 -51
- package/dist/commonjs/icon/lib/utils.js +1 -1
- package/dist/commonjs/index.d.ts +5 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -1
- package/dist/commonjs/layout/index.d.ts +14 -7
- package/dist/commonjs/layout/index.d.ts.map +1 -1
- package/dist/commonjs/layout/index.js +14 -9
- package/dist/commonjs/layout/lib/Box.d.ts +23 -11
- package/dist/commonjs/layout/lib/Box.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Box.js +54 -53
- package/dist/commonjs/layout/lib/Flex.d.ts +6 -3
- package/dist/commonjs/layout/lib/Flex.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/Flex.js +13 -32
- package/dist/commonjs/layout/lib/Grid.d.ts +51 -0
- package/dist/commonjs/layout/lib/Grid.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/Grid.js +91 -0
- package/dist/commonjs/layout/lib/utils/background.d.ts +44 -0
- package/dist/commonjs/layout/lib/utils/background.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/background.js +57 -0
- package/dist/commonjs/layout/lib/utils/border/color.d.ts +47 -0
- package/dist/commonjs/layout/lib/utils/border/color.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/border/color.js +42 -0
- package/dist/commonjs/layout/lib/utils/border/index.d.ts +26 -0
- package/dist/commonjs/layout/lib/utils/border/index.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/border/index.js +40 -0
- package/dist/commonjs/layout/lib/utils/border/lineStyle.d.ts +38 -0
- package/dist/commonjs/layout/lib/utils/border/lineStyle.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/border/lineStyle.js +52 -0
- package/dist/commonjs/layout/lib/utils/border/radius.d.ts +33 -0
- package/dist/commonjs/layout/lib/utils/border/radius.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/border/radius.js +32 -0
- package/dist/commonjs/layout/lib/utils/border/shorthand.d.ts +34 -0
- package/dist/commonjs/layout/lib/utils/border/shorthand.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/border/shorthand.js +42 -0
- package/dist/commonjs/layout/lib/utils/border/width.d.ts +34 -0
- package/dist/commonjs/layout/lib/utils/border/width.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/border/width.js +42 -0
- package/dist/commonjs/layout/lib/utils/buildStyleFns.d.ts +12 -0
- package/dist/commonjs/layout/lib/utils/buildStyleFns.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/buildStyleFns.js +87 -0
- package/dist/commonjs/layout/lib/utils/color.d.ts +23 -16
- package/dist/commonjs/layout/lib/utils/color.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/color.js +25 -48
- package/dist/commonjs/layout/lib/utils/depth.d.ts +17 -11
- package/dist/commonjs/layout/lib/utils/depth.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/depth.js +20 -20
- package/dist/commonjs/layout/lib/utils/flex.d.ts +39 -20
- package/dist/commonjs/layout/lib/utils/flex.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/flex.js +58 -25
- package/dist/commonjs/layout/lib/utils/flexItem.d.ts +22 -19
- package/dist/commonjs/layout/lib/utils/flexItem.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/flexItem.js +43 -26
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts +1 -1
- package/dist/commonjs/layout/lib/utils/getValidChildren.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/getValidChildren.js +2 -4
- package/dist/commonjs/layout/lib/utils/grid.d.ts +72 -0
- package/dist/commonjs/layout/lib/utils/grid.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/grid.js +112 -0
- package/dist/commonjs/layout/lib/utils/gridItem.d.ts +42 -0
- package/dist/commonjs/layout/lib/utils/gridItem.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/gridItem.js +71 -0
- package/dist/commonjs/layout/lib/utils/layout.d.ts +54 -32
- package/dist/commonjs/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/layout.js +71 -33
- package/dist/commonjs/layout/lib/utils/other.d.ts +46 -2
- package/dist/commonjs/layout/lib/utils/other.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/other.js +101 -17
- package/dist/commonjs/layout/lib/utils/position.d.ts +44 -23
- package/dist/commonjs/layout/lib/utils/position.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/position.js +54 -66
- package/dist/commonjs/layout/lib/utils/space.d.ts +107 -51
- package/dist/commonjs/layout/lib/utils/space.d.ts.map +1 -1
- package/dist/commonjs/layout/lib/utils/space.js +98 -148
- package/dist/commonjs/layout/lib/utils/styleProps.d.ts +41 -0
- package/dist/commonjs/layout/lib/utils/styleProps.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/systemProps.d.ts +31 -0
- package/dist/commonjs/layout/lib/utils/systemProps.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/systemProps.js +2 -0
- package/dist/commonjs/layout/lib/utils/text.d.ts +53 -0
- package/dist/commonjs/layout/lib/utils/text.d.ts.map +1 -0
- package/dist/commonjs/layout/lib/utils/text.js +84 -0
- package/dist/commonjs/loading-dots/index.d.ts +2 -0
- package/dist/commonjs/loading-dots/index.d.ts.map +1 -0
- package/dist/commonjs/{loading-animation → loading-dots}/index.js +0 -8
- package/dist/commonjs/{loading-animation → loading-dots}/lib/LoadingDots.d.ts +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.d.ts.map +1 -0
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +78 -0
- package/dist/commonjs/menu/index.d.ts +1 -1
- package/dist/commonjs/menu/index.d.ts.map +1 -1
- package/dist/commonjs/menu/index.js +2 -1
- package/dist/commonjs/menu/lib/Menu.d.ts +474 -439
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.js +53 -24
- package/dist/commonjs/menu/lib/MenuCard.d.ts +25 -19
- package/dist/commonjs/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuCard.js +14 -26
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +142 -18
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuContextTarget.js +11 -36
- package/dist/commonjs/menu/lib/MenuDivider.d.ts +1 -1
- package/dist/commonjs/menu/lib/MenuDivider.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuDivider.js +9 -20
- package/dist/commonjs/menu/lib/MenuItem.d.ts +78 -21
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +84 -92
- package/dist/commonjs/menu/lib/MenuList.d.ts +31 -25
- package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +10 -32
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +17 -15
- package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuPopper.js +6 -29
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +227 -22
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.js +16 -42
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +393 -219
- package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/useMenuModel.js +23 -27
- package/dist/commonjs/modal/lib/Modal.d.ts +203 -47
- package/dist/commonjs/modal/lib/Modal.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/Modal.js +86 -14
- package/dist/commonjs/modal/lib/ModalBody.d.ts +24 -0
- package/dist/commonjs/modal/lib/ModalBody.d.ts.map +1 -0
- package/dist/commonjs/modal/lib/ModalBody.js +42 -0
- package/dist/commonjs/modal/lib/ModalCard.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalCard.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +18 -17
- package/dist/commonjs/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/commonjs/modal/lib/ModalHeading.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +16 -17
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.d.ts +4 -4
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +9 -20
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts +6 -9
- package/dist/commonjs/modal/lib/ModalOverlay.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +44 -51
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.d.ts +3 -5
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/hooks/useCloseOnOverlayClick.js +19 -17
- package/dist/commonjs/modal/lib/hooks/useModalCard.d.ts +8 -5
- package/dist/commonjs/modal/lib/hooks/useModalCard.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/hooks/useModalCard.js +3 -3
- package/dist/commonjs/modal/lib/hooks/useModalHeading.d.ts +8 -5
- package/dist/commonjs/modal/lib/hooks/useModalHeading.d.ts.map +1 -1
- package/dist/commonjs/modal/lib/hooks/useModalHeading.js +7 -7
- package/dist/commonjs/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/commonjs/modal/lib/hooks/useModalModel.js +5 -5
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts +2 -3
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/AdditionalDetails.js +22 -38
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts +12 -11
- package/dist/commonjs/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Controls.js +82 -93
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts +5 -5
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Form.js +15 -31
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts +2 -3
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/Label.js +11 -31
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.d.ts +4 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/TextInput.js +11 -29
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +10 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/GoTo/useGoToForm.js +14 -14
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Nav.js +4 -27
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts +4 -5
- package/dist/commonjs/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageButton.js +23 -42
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts +7 -6
- package/dist/commonjs/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/PageList.js +18 -35
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts +230 -38
- package/dist/commonjs/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/Pagination.js +233 -104
- package/dist/commonjs/pagination/lib/Pagination/buildPageRange.js +9 -17
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts +2 -2
- package/dist/commonjs/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/List.js +8 -32
- package/dist/commonjs/pagination/lib/Pagination/common/useLiveRegion.js +8 -26
- package/dist/commonjs/pagination/lib/Pagination/common/utils/getValidChildren.d.ts +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/getValidChildren.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/getValidChildren.js +2 -4
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.d.ts +45 -15
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/common/utils/helpers.js +45 -15
- package/dist/commonjs/pagination/lib/Pagination/common/utils/useRTL.js +5 -5
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.d.ts +3 -1
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.d.ts.map +1 -1
- package/dist/commonjs/pagination/lib/Pagination/usePaginationModel.js +38 -33
- package/dist/commonjs/popup/lib/Popper.d.ts +16 -1
- package/dist/commonjs/popup/lib/Popper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popper.js +49 -58
- package/dist/commonjs/popup/lib/Popup.d.ts +103 -22
- package/dist/commonjs/popup/lib/Popup.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popup.js +96 -16
- package/dist/commonjs/popup/lib/PopupBody.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +6 -17
- package/dist/commonjs/popup/lib/PopupCard.d.ts +5 -4
- package/dist/commonjs/popup/lib/PopupCard.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +60 -48
- package/dist/commonjs/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseButton.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCloseButton.js +6 -29
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +8 -36
- package/dist/commonjs/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupHeading.js +6 -29
- package/dist/commonjs/popup/lib/PopupPopper.d.ts +4 -5
- package/dist/commonjs/popup/lib/PopupPopper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/PopupPopper.js +6 -29
- package/dist/commonjs/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/commonjs/popup/lib/PopupTarget.js +6 -17
- package/dist/commonjs/popup/lib/getTransformFromPlacement.js +6 -6
- package/dist/commonjs/popup/lib/hooks/focus-trap-js.js +23 -27
- package/dist/commonjs/popup/lib/hooks/index.d.ts +1 -0
- package/dist/commonjs/popup/lib/hooks/index.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/index.js +1 -0
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useAlwaysCloseOnOutsideClick.js +9 -9
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useAssistiveHideSiblings.js +14 -19
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.d.ts +7 -9
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useBringToTopOnClick.js +15 -15
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnEscape.js +11 -11
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnFullscreenExit.js +9 -9
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.d.ts +9 -11
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useCloseOnOutsideClick.js +18 -18
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.d.ts +29 -0
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.d.ts.map +1 -0
- package/dist/commonjs/popup/lib/hooks/useCloseOnTargetHidden.js +56 -0
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useDisableBodyScroll.js +10 -10
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useFocusRedirect.js +10 -10
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useFocusTrap.js +9 -9
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useInitialFocus.js +12 -12
- package/dist/commonjs/popup/lib/hooks/usePopupCard.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/usePopupCard.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCard.js +4 -5
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts +7 -8
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupCloseButton.js +6 -6
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupHeading.js +4 -5
- package/dist/commonjs/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/commonjs/popup/lib/hooks/usePopupModel.js +29 -34
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts +7 -8
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupPopper.js +10 -10
- package/dist/commonjs/popup/lib/hooks/usePopupStack.d.ts +27 -19
- package/dist/commonjs/popup/lib/hooks/usePopupStack.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupStack.js +41 -33
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.d.ts +6 -8
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupTarget.js +6 -7
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.js +5 -6
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.d.ts +5 -7
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useReturnFocus.js +117 -12
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenEnter.js +10 -10
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +3 -5
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/hooks/useTransferOnFullscreenExit.js +10 -10
- package/dist/commonjs/radio/index.d.ts +0 -4
- package/dist/commonjs/radio/index.d.ts.map +1 -1
- package/dist/commonjs/radio/index.js +0 -9
- package/dist/commonjs/radio/lib/Radio.d.ts +1 -2
- package/dist/commonjs/radio/lib/Radio.d.ts.map +1 -1
- package/dist/commonjs/radio/lib/Radio.js +115 -147
- 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 +36 -81
- package/dist/commonjs/segmented-control/index.d.ts +0 -3
- package/dist/commonjs/segmented-control/index.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/index.js +0 -7
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +2 -3
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControl.js +7 -31
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts +4 -2
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlButton.js +46 -58
- package/dist/commonjs/select/index.d.ts +0 -4
- package/dist/commonjs/select/index.d.ts.map +1 -1
- package/dist/commonjs/select/index.js +0 -9
- package/dist/commonjs/select/lib/Select.d.ts +2 -3
- package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
- package/dist/commonjs/select/lib/Select.js +47 -65
- package/dist/commonjs/select/lib/SelectOption.d.ts +1 -1
- package/dist/commonjs/select/lib/SelectOption.d.ts.map +1 -1
- package/dist/commonjs/select/lib/SelectOption.js +8 -47
- package/dist/commonjs/side-panel/index.d.ts +0 -3
- package/dist/commonjs/side-panel/index.d.ts.map +1 -1
- package/dist/commonjs/side-panel/index.js +0 -7
- package/dist/commonjs/side-panel/lib/SidePanel.d.ts +1 -1
- package/dist/commonjs/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/commonjs/side-panel/lib/SidePanel.js +64 -125
- package/dist/commonjs/skeleton/lib/parts/skeletonHeader.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonHeader.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonHeader.js +5 -30
- package/dist/commonjs/skeleton/lib/parts/skeletonShape.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonShape.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonShape.js +12 -40
- package/dist/commonjs/skeleton/lib/parts/skeletonText.d.ts +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonText.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/parts/skeletonText.js +12 -38
- package/dist/commonjs/skeleton/lib/skeleton.d.ts +30 -4
- package/dist/commonjs/skeleton/lib/skeleton.d.ts.map +1 -1
- package/dist/commonjs/skeleton/lib/skeleton.js +42 -41
- package/dist/commonjs/status-indicator/index.d.ts +0 -3
- package/dist/commonjs/status-indicator/index.d.ts.map +1 -1
- package/dist/commonjs/status-indicator/index.js +0 -7
- package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts +1 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
- package/dist/commonjs/status-indicator/lib/StatusIndicator.js +30 -61
- package/dist/commonjs/switch/index.d.ts +0 -3
- package/dist/commonjs/switch/index.d.ts.map +1 -1
- package/dist/commonjs/switch/index.js +0 -7
- package/dist/commonjs/switch/lib/Switch.d.ts +1 -2
- package/dist/commonjs/switch/lib/Switch.d.ts.map +1 -1
- package/dist/commonjs/switch/lib/Switch.js +55 -66
- package/dist/commonjs/table/index.d.ts +0 -4
- package/dist/commonjs/table/index.d.ts.map +1 -1
- package/dist/commonjs/table/index.js +0 -9
- package/dist/commonjs/table/lib/Table.d.ts +1 -1
- package/dist/commonjs/table/lib/Table.d.ts.map +1 -1
- package/dist/commonjs/table/lib/Table.js +12 -52
- package/dist/commonjs/table/lib/TableRow.d.ts +2 -2
- package/dist/commonjs/table/lib/TableRow.d.ts.map +1 -1
- package/dist/commonjs/table/lib/TableRow.js +42 -70
- package/dist/commonjs/tabs/lib/Tabs.d.ts +2246 -392
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.js +105 -14
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +179 -30
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.js +80 -87
- package/dist/commonjs/tabs/lib/TabsList.d.ts +157 -29
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +54 -49
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +17 -15
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.js +6 -29
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +119 -27
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.js +12 -35
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +47 -33
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.js +17 -42
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +25 -17
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.js +5 -6
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +3442 -586
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.js +63 -44
- package/dist/commonjs/testing/index.d.ts +5 -0
- package/dist/commonjs/testing/index.d.ts.map +1 -0
- package/dist/commonjs/testing/index.js +16 -0
- package/dist/commonjs/testing/lib/ComponentStatesTable.d.ts +26 -0
- package/dist/commonjs/testing/lib/ComponentStatesTable.d.ts.map +1 -0
- package/dist/commonjs/testing/lib/ComponentStatesTable.js +39 -0
- package/dist/commonjs/testing/lib/StaticStates.d.ts +7 -0
- package/dist/commonjs/testing/lib/StaticStates.d.ts.map +1 -0
- package/dist/commonjs/testing/lib/StaticStates.js +49 -0
- package/dist/commonjs/testing/lib/permutateProps.d.ts +5 -0
- package/dist/commonjs/testing/lib/permutateProps.d.ts.map +1 -0
- package/dist/commonjs/testing/lib/permutateProps.js +34 -0
- package/dist/commonjs/testing/lib/propTypes.d.ts +15 -0
- package/dist/commonjs/testing/lib/propTypes.d.ts.map +1 -0
- package/dist/commonjs/testing/lib/propTypes.js +2 -0
- package/dist/commonjs/text/index.d.ts +4 -0
- package/dist/commonjs/text/index.d.ts.map +1 -0
- package/dist/commonjs/text/index.js +15 -0
- package/dist/commonjs/text/lib/LabelText.d.ts +25 -0
- package/dist/commonjs/text/lib/LabelText.d.ts.map +1 -0
- package/dist/commonjs/text/lib/LabelText.js +49 -0
- package/dist/commonjs/text/lib/Text.d.ts +54 -0
- package/dist/commonjs/text/lib/Text.d.ts.map +1 -0
- package/dist/commonjs/text/lib/Text.js +95 -0
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts +112 -0
- package/dist/commonjs/text/lib/TypeLevelComponents.d.ts.map +1 -0
- package/dist/commonjs/text/lib/TypeLevelComponents.js +149 -0
- package/dist/commonjs/text-area/index.d.ts +0 -3
- package/dist/commonjs/text-area/index.d.ts.map +1 -1
- package/dist/commonjs/text-area/index.js +0 -7
- package/dist/commonjs/text-area/lib/TextArea.d.ts +1 -2
- package/dist/commonjs/text-area/lib/TextArea.d.ts.map +1 -1
- package/dist/commonjs/text-area/lib/TextArea.js +42 -56
- package/dist/commonjs/text-input/index.d.ts +1 -4
- package/dist/commonjs/text-input/index.d.ts.map +1 -1
- package/dist/commonjs/text-input/index.js +4 -9
- package/dist/commonjs/text-input/lib/InputGroup.d.ts +135 -0
- package/dist/commonjs/text-input/lib/InputGroup.d.ts.map +1 -0
- package/dist/commonjs/text-input/lib/InputGroup.js +200 -0
- package/dist/commonjs/text-input/lib/InputIconContainer.d.ts +1 -2
- package/dist/commonjs/text-input/lib/InputIconContainer.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/InputIconContainer.js +13 -18
- package/dist/commonjs/text-input/lib/TextInput.d.ts +1 -2
- package/dist/commonjs/text-input/lib/TextInput.d.ts.map +1 -1
- package/dist/commonjs/text-input/lib/TextInput.js +38 -52
- package/dist/commonjs/toast/index.d.ts +1 -3
- package/dist/commonjs/toast/index.d.ts.map +1 -1
- package/dist/commonjs/toast/index.js +1 -4
- package/dist/commonjs/toast/lib/Toast.d.ts +56 -22
- package/dist/commonjs/toast/lib/Toast.d.ts.map +1 -1
- package/dist/commonjs/toast/lib/Toast.js +94 -79
- package/dist/commonjs/toast/lib/ToastBody.d.ts +6 -0
- package/dist/commonjs/toast/lib/ToastBody.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastBody.js +15 -0
- package/dist/commonjs/toast/lib/ToastCloseIcon.d.ts +6 -0
- package/dist/commonjs/toast/lib/ToastCloseIcon.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastCloseIcon.js +15 -0
- package/dist/commonjs/toast/lib/ToastIcon.d.ts +5 -0
- package/dist/commonjs/toast/lib/ToastIcon.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastIcon.js +15 -0
- package/dist/commonjs/toast/lib/ToastLink.d.ts +5 -0
- package/dist/commonjs/toast/lib/ToastLink.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastLink.js +15 -0
- package/dist/commonjs/toast/lib/ToastMessage.d.ts +12 -0
- package/dist/commonjs/toast/lib/ToastMessage.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/ToastMessage.js +15 -0
- package/dist/commonjs/toast/lib/hooks/useToastModel.d.ts +75 -0
- package/dist/commonjs/toast/lib/hooks/useToastModel.d.ts.map +1 -0
- package/dist/commonjs/toast/lib/hooks/useToastModel.js +29 -0
- package/dist/commonjs/tokens/index.d.ts +3 -4
- package/dist/commonjs/tokens/index.d.ts.map +1 -1
- package/dist/commonjs/tokens/index.js +8 -9
- package/dist/commonjs/tokens/lib/colors.types.d.ts +4 -6
- package/dist/commonjs/tokens/lib/colors.types.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/depth.d.ts +6 -7
- package/dist/commonjs/tokens/lib/depth.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/depth.js +6 -6
- package/dist/commonjs/tokens/lib/radius.d.ts +1 -1
- package/dist/commonjs/tokens/lib/radius.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/radius.js +0 -1
- package/dist/commonjs/tokens/lib/type/fontFamilies.d.ts.map +1 -1
- package/dist/commonjs/tokens/lib/type/fontFamilies.js +5 -6
- package/dist/commonjs/tokens/lib/type/index.d.ts +7 -7
- package/dist/commonjs/tokens/lib/type/index.js +9 -9
- package/dist/commonjs/tokens/lib/type/levels.js +4 -4
- package/dist/commonjs/tokens/lib/type/variants.js +1 -1
- package/dist/commonjs/tooltip/index.d.ts +0 -2
- package/dist/commonjs/tooltip/index.d.ts.map +1 -1
- package/dist/commonjs/tooltip/index.js +0 -2
- package/dist/commonjs/tooltip/lib/OverflowTooltip.d.ts.map +1 -1
- package/dist/commonjs/tooltip/lib/OverflowTooltip.js +35 -58
- package/dist/commonjs/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/commonjs/tooltip/lib/Tooltip.d.ts.map +1 -1
- package/dist/commonjs/tooltip/lib/Tooltip.js +32 -51
- package/dist/commonjs/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/dist/commonjs/tooltip/lib/TooltipContainer.d.ts.map +1 -1
- package/dist/commonjs/tooltip/lib/TooltipContainer.js +41 -34
- package/dist/commonjs/tooltip/lib/useTooltip.d.ts.map +1 -1
- package/dist/commonjs/tooltip/lib/useTooltip.js +45 -41
- package/dist/es6/action-bar/lib/ActionBar.d.ts +805 -349
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.js +47 -4
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +79 -24
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.js +5 -16
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +118 -16
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.js +13 -37
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +113 -27
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.js +8 -19
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +381 -161
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.js +52 -38
- package/dist/es6/avatar/index.d.ts +0 -3
- package/dist/es6/avatar/index.d.ts.map +1 -1
- package/dist/es6/avatar/index.js +0 -3
- package/dist/es6/avatar/lib/Avatar.d.ts +2 -2
- package/dist/es6/avatar/lib/Avatar.d.ts.map +1 -1
- package/dist/es6/avatar/lib/Avatar.js +46 -69
- package/dist/es6/badge/index.d.ts +1 -1
- package/dist/es6/badge/index.d.ts.map +1 -1
- package/dist/es6/badge/index.js +1 -1
- package/dist/es6/badge/lib/CountBadge.d.ts +1 -2
- package/dist/es6/badge/lib/CountBadge.d.ts.map +1 -1
- package/dist/es6/badge/lib/CountBadge.js +20 -41
- package/dist/es6/banner/lib/Banner.d.ts +60 -13
- package/dist/es6/banner/lib/Banner.d.ts.map +1 -1
- package/dist/es6/banner/lib/Banner.js +81 -43
- package/dist/es6/banner/lib/BannerActionText.d.ts +1 -1
- package/dist/es6/banner/lib/BannerActionText.js +4 -27
- package/dist/es6/banner/lib/BannerIcon.d.ts +1 -2
- package/dist/es6/banner/lib/BannerIcon.d.ts.map +1 -1
- package/dist/es6/banner/lib/BannerIcon.js +5 -27
- package/dist/es6/banner/lib/BannerLabel.d.ts +1 -1
- package/dist/es6/banner/lib/BannerLabel.js +3 -26
- package/dist/es6/banner/lib/hooks/index.d.ts +2 -0
- package/dist/es6/banner/lib/hooks/index.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/index.js +2 -0
- package/dist/es6/banner/lib/hooks/useBanner.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBanner.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBanner.js +3 -4
- package/dist/es6/banner/lib/hooks/useBannerActionText.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBannerActionText.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBannerActionText.js +2 -3
- package/dist/es6/banner/lib/hooks/useBannerIcon.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBannerIcon.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBannerIcon.js +2 -3
- package/dist/es6/banner/lib/hooks/useBannerLabel.d.ts +3 -5
- package/dist/es6/banner/lib/hooks/useBannerLabel.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useBannerLabel.js +2 -3
- package/dist/es6/banner/lib/hooks/useBannerModel.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useBannerModel.js +8 -16
- package/dist/es6/banner/lib/hooks/useThemedPalette.d.ts +1 -1
- package/dist/es6/banner/lib/hooks/useThemedPalette.d.ts.map +1 -1
- package/dist/es6/banner/lib/hooks/useThemedPalette.js +7 -7
- package/dist/es6/breadcrumbs/index.d.ts +3 -0
- package/dist/es6/breadcrumbs/index.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/index.js +2 -0
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +4250 -0
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.js +153 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +334 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.js +27 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +276 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.js +29 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts +17 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsLink.js +19 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +172 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.js +18 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +1910 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.js +24 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +323 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.js +23 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +1869 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.js +62 -0
- package/dist/es6/breadcrumbs/lib/hooks/utils/index.d.ts +6 -0
- package/dist/es6/breadcrumbs/lib/hooks/utils/index.d.ts.map +1 -0
- package/dist/es6/breadcrumbs/lib/hooks/utils/index.js +18 -0
- package/dist/es6/button/index.d.ts +1 -1
- package/dist/es6/button/index.d.ts.map +1 -1
- package/dist/es6/button/index.js +1 -1
- package/dist/es6/button/lib/BaseButton.d.ts +16 -12
- package/dist/es6/button/lib/BaseButton.d.ts.map +1 -1
- package/dist/es6/button/lib/BaseButton.js +123 -73
- package/dist/es6/button/lib/DeleteButton.d.ts +8 -3
- package/dist/es6/button/lib/DeleteButton.d.ts.map +1 -1
- package/dist/es6/button/lib/DeleteButton.js +30 -56
- package/dist/es6/button/lib/ExternalHyperlink.d.ts +5 -1
- package/dist/es6/button/lib/ExternalHyperlink.d.ts.map +1 -1
- package/dist/es6/button/lib/ExternalHyperlink.js +25 -35
- package/dist/es6/button/lib/Hyperlink.d.ts +5 -1
- package/dist/es6/button/lib/Hyperlink.d.ts.map +1 -1
- package/dist/es6/button/lib/Hyperlink.js +11 -32
- package/dist/es6/button/lib/PrimaryButton.d.ts +12 -7
- package/dist/es6/button/lib/PrimaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +15 -29
- package/dist/es6/button/lib/SecondaryButton.d.ts +12 -2
- package/dist/es6/button/lib/SecondaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/SecondaryButton.js +15 -29
- package/dist/es6/button/lib/TertiaryButton.d.ts +14 -10
- package/dist/es6/button/lib/TertiaryButton.d.ts.map +1 -1
- package/dist/es6/button/lib/TertiaryButton.js +30 -46
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.d.ts.map +1 -1
- package/dist/es6/button/lib/ToolbarDropdownButton.js +10 -36
- package/dist/es6/button/lib/ToolbarIconButton.d.ts +1 -1
- package/dist/es6/button/lib/ToolbarIconButton.d.ts.map +1 -1
- package/dist/es6/button/lib/ToolbarIconButton.js +13 -40
- package/dist/es6/button/lib/deprecated_Button.d.ts +1 -1
- package/dist/es6/button/lib/deprecated_Button.d.ts.map +1 -1
- package/dist/es6/button/lib/deprecated_Button.js +50 -53
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts +1 -1
- package/dist/es6/button/lib/parts/ButtonLabel.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/ButtonLabel.js +4 -27
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts +3 -9
- package/dist/es6/button/lib/parts/ButtonLabelIcon.d.ts.map +1 -1
- package/dist/es6/button/lib/parts/ButtonLabelIcon.js +5 -28
- package/dist/es6/card/lib/Card.d.ts +39 -3
- package/dist/es6/card/lib/Card.d.ts.map +1 -1
- package/dist/es6/card/lib/Card.js +39 -26
- package/dist/es6/card/lib/CardBody.d.ts +1 -1
- package/dist/es6/card/lib/CardBody.d.ts.map +1 -1
- package/dist/es6/card/lib/CardBody.js +3 -28
- package/dist/es6/card/lib/CardHeading.d.ts +1 -1
- package/dist/es6/card/lib/CardHeading.d.ts.map +1 -1
- package/dist/es6/card/lib/CardHeading.js +4 -32
- package/dist/es6/checkbox/index.d.ts +0 -3
- package/dist/es6/checkbox/index.d.ts.map +1 -1
- package/dist/es6/checkbox/index.js +0 -3
- package/dist/es6/checkbox/lib/Checkbox.d.ts +2 -3
- package/dist/es6/checkbox/lib/Checkbox.d.ts.map +1 -1
- package/dist/es6/checkbox/lib/Checkbox.js +120 -141
- package/dist/es6/collection/index.d.ts +7 -1
- package/dist/es6/collection/index.d.ts.map +1 -1
- package/dist/es6/collection/index.js +6 -0
- package/dist/es6/collection/lib/ListBox.d.ts +351 -180
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/ListBox.js +29 -37
- package/dist/es6/collection/lib/keyUtils.d.ts +26 -0
- package/dist/es6/collection/lib/keyUtils.d.ts.map +1 -0
- package/dist/es6/collection/lib/keyUtils.js +76 -0
- package/dist/es6/collection/lib/react-virtual.js +1 -1
- package/dist/es6/collection/lib/useBaseListModel.d.ts +30 -20
- package/dist/es6/collection/lib/useBaseListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useBaseListModel.js +77 -70
- package/dist/es6/collection/lib/useCursorListModel.d.ts +627 -194
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.js +210 -171
- package/dist/es6/collection/lib/useGridModel.d.ts +1109 -0
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -0
- package/dist/es6/collection/lib/useGridModel.js +35 -0
- package/dist/es6/collection/lib/useListActiveDescendant.d.ts +68 -0
- package/dist/es6/collection/lib/useListActiveDescendant.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListActiveDescendant.js +22 -0
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +88 -0
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListItemAllowChildStrings.js +34 -0
- package/dist/es6/collection/lib/useListItemRegister.d.ts +25 -13
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRegister.js +31 -19
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +23 -38
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +62 -112
- package/dist/es6/collection/lib/useListItemSelect.d.ts +25 -11
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemSelect.js +19 -10
- package/dist/es6/collection/lib/useListKeyboardHandler.d.ts +66 -0
- package/dist/es6/collection/lib/useListKeyboardHandler.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListKeyboardHandler.js +24 -0
- package/dist/es6/collection/lib/useListLoader.d.ts +106 -0
- package/dist/es6/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListLoader.js +230 -0
- package/dist/es6/collection/lib/useListModel.d.ts +289 -122
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListModel.js +21 -4
- package/dist/es6/collection/lib/useListRenderItem.d.ts +15 -1
- package/dist/es6/collection/lib/useListRenderItem.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListRenderItem.js +40 -16
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +25 -12
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.js +18 -8
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +24 -11
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +19 -9
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +18 -12
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +9 -5
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +341 -143
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +59 -54
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +22 -13
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +12 -8
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +282 -120
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useSelectionListModel.js +32 -37
- package/dist/es6/color-picker/index.d.ts +0 -3
- package/dist/es6/color-picker/index.d.ts.map +1 -1
- package/dist/es6/color-picker/index.js +0 -3
- package/dist/es6/color-picker/lib/ColorInput.d.ts +1 -2
- package/dist/es6/color-picker/lib/ColorInput.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorInput.js +42 -74
- package/dist/es6/color-picker/lib/ColorPreview.d.ts +1 -2
- package/dist/es6/color-picker/lib/ColorPreview.d.ts.map +1 -1
- package/dist/es6/color-picker/lib/ColorPreview.js +4 -30
- package/dist/es6/color-picker/lib/parts/ColorSwatch.js +8 -36
- package/dist/es6/combobox/index.d.ts +9 -0
- package/dist/es6/combobox/index.d.ts.map +1 -0
- package/dist/es6/combobox/index.js +8 -0
- package/dist/es6/combobox/lib/Combobox.d.ts +2075 -0
- package/dist/es6/combobox/lib/Combobox.d.ts.map +1 -0
- package/dist/es6/combobox/lib/Combobox.js +23 -0
- package/dist/es6/combobox/lib/ComboboxCard.d.ts +166 -0
- package/dist/es6/combobox/lib/ComboboxCard.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxCard.js +19 -0
- package/dist/es6/combobox/lib/ComboboxInput.d.ts +186 -0
- package/dist/es6/combobox/lib/ComboboxInput.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxInput.js +78 -0
- package/dist/es6/combobox/lib/ComboboxMenu.d.ts +428 -0
- package/dist/es6/combobox/lib/ComboboxMenu.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxMenu.js +57 -0
- package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts +178 -0
- package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxMenuItem.js +44 -0
- package/dist/es6/combobox/lib/ComboboxMenuList.d.ts +164 -0
- package/dist/es6/combobox/lib/ComboboxMenuList.d.ts.map +1 -0
- package/dist/es6/combobox/lib/ComboboxMenuList.js +25 -0
- package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts +84 -0
- package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
- package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.js +17 -0
- package/dist/es6/combobox/lib/useComboboxLoader.d.ts +28 -0
- package/dist/es6/combobox/lib/useComboboxLoader.d.ts.map +1 -0
- package/dist/es6/combobox/lib/useComboboxLoader.js +58 -0
- package/dist/es6/combobox/lib/useComboboxModel.d.ts +1998 -0
- package/dist/es6/combobox/lib/useComboboxModel.d.ts.map +1 -0
- package/dist/es6/combobox/lib/useComboboxModel.js +76 -0
- package/dist/es6/common/index.d.ts +1 -0
- package/dist/es6/common/index.d.ts.map +1 -1
- package/dist/es6/common/index.js +1 -0
- package/dist/es6/common/lib/CanvasProvider.js +11 -52
- package/dist/es6/common/lib/EllipsisText.d.ts +1 -2
- package/dist/es6/common/lib/EllipsisText.d.ts.map +1 -1
- package/dist/es6/common/lib/EllipsisText.js +10 -3
- package/dist/es6/common/lib/InputProvider.d.ts +2 -2
- package/dist/es6/common/lib/InputProvider.d.ts.map +1 -1
- package/dist/es6/common/lib/InputProvider.js +72 -95
- package/dist/es6/common/lib/parts/_brand-assets.js +6 -6
- package/dist/es6/common/lib/responsive/useResponsiveContainerStyles.d.ts +78 -0
- package/dist/es6/common/lib/responsive/useResponsiveContainerStyles.d.ts.map +1 -0
- package/dist/es6/common/lib/responsive/useResponsiveContainerStyles.js +106 -0
- package/dist/es6/common/lib/styles/accessibleHide.js +1 -1
- package/dist/es6/common/lib/styles/errorRing.js +8 -7
- package/dist/es6/common/lib/styles/focusRing.d.ts +0 -3
- package/dist/es6/common/lib/styles/focusRing.d.ts.map +1 -1
- package/dist/es6/common/lib/styles/focusRing.js +17 -30
- package/dist/es6/common/lib/styles/hideMouseFocus.js +13 -9
- package/dist/es6/common/lib/theming/breakpoints.js +12 -12
- package/dist/es6/common/lib/theming/createCanvasTheme.d.ts +7 -6
- package/dist/es6/common/lib/theming/createCanvasTheme.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/createCanvasTheme.js +39 -63
- package/dist/es6/common/lib/theming/getObjectProxy.d.ts +15 -0
- package/dist/es6/common/lib/theming/getObjectProxy.d.ts.map +1 -0
- package/dist/es6/common/lib/theming/getObjectProxy.js +27 -0
- package/dist/es6/common/lib/theming/index.d.ts +3 -1
- package/dist/es6/common/lib/theming/index.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/index.js +2 -0
- package/dist/es6/common/lib/theming/styled.d.ts +2 -0
- package/dist/es6/common/lib/theming/styled.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/styled.js +7 -12
- package/dist/es6/common/lib/theming/theme.js +5 -5
- package/dist/es6/common/lib/theming/useIsRTL.js +2 -2
- package/dist/es6/common/lib/theming/useTheme.d.ts +49 -5
- package/dist/es6/common/lib/theming/useTheme.d.ts.map +1 -1
- package/dist/es6/common/lib/theming/useTheme.js +78 -34
- package/dist/es6/common/lib/theming/useThemedRing.d.ts +43 -0
- package/dist/es6/common/lib/theming/useThemedRing.d.ts.map +1 -0
- package/dist/es6/common/lib/theming/useThemedRing.js +92 -0
- package/dist/es6/common/lib/utils/changeFocus.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/changeFocus.js +11 -5
- package/dist/es6/common/lib/utils/colorUtils.d.ts +7 -0
- package/dist/es6/common/lib/utils/colorUtils.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/colorUtils.js +24 -12
- package/dist/es6/common/lib/utils/components.d.ts +166 -100
- package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/components.js +158 -114
- package/dist/es6/common/lib/utils/deepMerge.d.ts +2 -0
- package/dist/es6/common/lib/utils/deepMerge.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/deepMerge.js +20 -0
- package/dist/es6/common/lib/utils/dispatchInputEvent.d.ts +2 -0
- package/dist/es6/common/lib/utils/dispatchInputEvent.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/dispatchInputEvent.js +14 -0
- package/dist/es6/common/lib/utils/elements.d.ts +1 -1
- package/dist/es6/common/lib/utils/elements.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/elements.js +20 -26
- package/dist/es6/common/lib/utils/getTranslateFromOrigin.js +2 -2
- package/dist/es6/common/lib/utils/index.d.ts +2 -1
- package/dist/es6/common/lib/utils/index.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/index.js +2 -1
- package/dist/es6/common/lib/utils/isWithinBreakpoint.d.ts +5 -0
- package/dist/es6/common/lib/utils/isWithinBreakpoint.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/isWithinBreakpoint.js +6 -0
- package/dist/es6/common/lib/utils/makeMq.js +4 -4
- package/dist/es6/common/lib/utils/memoize.d.ts +6 -0
- package/dist/es6/common/lib/utils/memoize.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/memoize.js +16 -0
- package/dist/es6/common/lib/utils/mergeCallback.js +1 -5
- package/dist/es6/common/lib/utils/mergeProps.js +4 -15
- package/dist/es6/common/lib/utils/models.d.ts +16 -4
- package/dist/es6/common/lib/utils/models.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/models.js +55 -72
- package/dist/es6/common/lib/utils/slugify.d.ts +5 -0
- package/dist/es6/common/lib/utils/slugify.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/slugify.js +11 -0
- package/dist/es6/common/lib/utils/useConstant.js +1 -1
- package/dist/es6/common/lib/utils/useIsFullscreen.js +5 -5
- package/dist/es6/common/lib/utils/useModalityType.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/useModalityType.js +34 -20
- package/dist/es6/common/lib/utils/useMount.js +2 -2
- package/dist/es6/common/lib/utils/useResizeObserver.js +6 -18
- package/dist/es6/common/lib/utils/useUniqueId.js +8 -8
- package/dist/es6/common/lib/utils/useWindowSize.js +8 -8
- package/dist/es6/dialog/lib/Dialog.d.ts +91 -26
- package/dist/es6/dialog/lib/Dialog.d.ts.map +1 -1
- package/dist/es6/dialog/lib/Dialog.js +67 -3
- package/dist/es6/dialog/lib/DialogCard.d.ts +4 -4
- package/dist/es6/dialog/lib/DialogCard.js +3 -14
- package/dist/es6/dialog/lib/DialogPopper.d.ts +4 -4
- package/dist/es6/dialog/lib/DialogPopper.d.ts.map +1 -1
- package/dist/es6/dialog/lib/DialogPopper.js +9 -29
- package/dist/es6/dialog/lib/hooks/useDialogCard.d.ts +8 -5
- package/dist/es6/dialog/lib/hooks/useDialogCard.d.ts.map +1 -1
- package/dist/es6/dialog/lib/hooks/useDialogCard.js +2 -3
- package/dist/es6/dialog/lib/hooks/useDialogModel.d.ts +10 -10
- package/dist/es6/dialog/lib/hooks/useDialogModel.js +3 -3
- package/dist/es6/dialog/lib/hooks/useDialogPopper.d.ts +4 -6
- package/dist/es6/dialog/lib/hooks/useDialogPopper.d.ts.map +1 -1
- package/dist/es6/dialog/lib/hooks/useDialogPopper.js +3 -4
- package/dist/es6/disclosure/lib/useDisclosureModel.d.ts +22 -22
- package/dist/es6/disclosure/lib/useDisclosureModel.js +13 -13
- package/dist/es6/form-field/index.d.ts +0 -5
- package/dist/es6/form-field/index.d.ts.map +1 -1
- package/dist/es6/form-field/index.js +0 -5
- 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 +40 -79
- package/dist/es6/form-field/lib/Hint.d.ts +1 -1
- package/dist/es6/form-field/lib/Hint.d.ts.map +1 -1
- package/dist/es6/form-field/lib/Hint.js +14 -54
- package/dist/es6/form-field/lib/Label.d.ts +6 -5
- package/dist/es6/form-field/lib/Label.d.ts.map +1 -1
- package/dist/es6/form-field/lib/Label.js +41 -86
- package/dist/es6/icon/index.d.ts +0 -7
- package/dist/es6/icon/index.d.ts.map +1 -1
- package/dist/es6/icon/index.js +0 -7
- package/dist/es6/icon/lib/AccentIcon.d.ts +4 -4
- package/dist/es6/icon/lib/AccentIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AccentIcon.js +13 -40
- package/dist/es6/icon/lib/AppletIcon.d.ts +1 -2
- package/dist/es6/icon/lib/AppletIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/AppletIcon.js +13 -38
- package/dist/es6/icon/lib/Graphic.d.ts +1 -2
- package/dist/es6/icon/lib/Graphic.d.ts.map +1 -1
- package/dist/es6/icon/lib/Graphic.js +7 -32
- package/dist/es6/icon/lib/Icon.d.ts +1 -2
- package/dist/es6/icon/lib/Icon.d.ts.map +1 -1
- package/dist/es6/icon/lib/Icon.js +11 -31
- package/dist/es6/icon/lib/Svg.d.ts +1 -2
- package/dist/es6/icon/lib/Svg.d.ts.map +1 -1
- package/dist/es6/icon/lib/Svg.js +8 -32
- package/dist/es6/icon/lib/SystemIcon.d.ts +11 -12
- package/dist/es6/icon/lib/SystemIcon.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIcon.js +34 -61
- package/dist/es6/icon/lib/SystemIconCircle.d.ts +3 -3
- package/dist/es6/icon/lib/SystemIconCircle.d.ts.map +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +15 -45
- package/dist/es6/icon/lib/utils.js +1 -1
- package/dist/es6/index.d.ts +5 -1
- package/dist/es6/index.d.ts.map +1 -1
- package/dist/es6/index.js +5 -1
- package/dist/es6/layout/index.d.ts +14 -7
- package/dist/es6/layout/index.d.ts.map +1 -1
- package/dist/es6/layout/index.js +11 -4
- package/dist/es6/layout/lib/Box.d.ts +23 -11
- package/dist/es6/layout/lib/Box.d.ts.map +1 -1
- package/dist/es6/layout/lib/Box.js +43 -42
- package/dist/es6/layout/lib/Flex.d.ts +6 -3
- package/dist/es6/layout/lib/Flex.d.ts.map +1 -1
- package/dist/es6/layout/lib/Flex.js +9 -28
- package/dist/es6/layout/lib/Grid.d.ts +51 -0
- package/dist/es6/layout/lib/Grid.d.ts.map +1 -0
- package/dist/es6/layout/lib/Grid.js +66 -0
- package/dist/es6/layout/lib/utils/background.d.ts +44 -0
- package/dist/es6/layout/lib/utils/background.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/background.js +54 -0
- package/dist/es6/layout/lib/utils/border/color.d.ts +47 -0
- package/dist/es6/layout/lib/utils/border/color.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/border/color.js +39 -0
- package/dist/es6/layout/lib/utils/border/index.d.ts +26 -0
- package/dist/es6/layout/lib/utils/border/index.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/border/index.js +37 -0
- package/dist/es6/layout/lib/utils/border/lineStyle.d.ts +38 -0
- package/dist/es6/layout/lib/utils/border/lineStyle.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/border/lineStyle.js +49 -0
- package/dist/es6/layout/lib/utils/border/radius.d.ts +33 -0
- package/dist/es6/layout/lib/utils/border/radius.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/border/radius.js +29 -0
- package/dist/es6/layout/lib/utils/border/shorthand.d.ts +34 -0
- package/dist/es6/layout/lib/utils/border/shorthand.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/border/shorthand.js +39 -0
- package/dist/es6/layout/lib/utils/border/width.d.ts +34 -0
- package/dist/es6/layout/lib/utils/border/width.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/border/width.js +39 -0
- package/dist/es6/layout/lib/utils/buildStyleFns.d.ts +12 -0
- package/dist/es6/layout/lib/utils/buildStyleFns.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/buildStyleFns.js +82 -0
- package/dist/es6/layout/lib/utils/color.d.ts +23 -16
- package/dist/es6/layout/lib/utils/color.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/color.js +24 -46
- package/dist/es6/layout/lib/utils/depth.d.ts +17 -11
- package/dist/es6/layout/lib/utils/depth.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/depth.js +19 -18
- package/dist/es6/layout/lib/utils/flex.d.ts +39 -20
- package/dist/es6/layout/lib/utils/flex.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/flex.js +57 -23
- package/dist/es6/layout/lib/utils/flexItem.d.ts +22 -19
- package/dist/es6/layout/lib/utils/flexItem.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/flexItem.js +42 -24
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts +1 -1
- package/dist/es6/layout/lib/utils/getValidChildren.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/getValidChildren.js +1 -3
- package/dist/es6/layout/lib/utils/grid.d.ts +72 -0
- package/dist/es6/layout/lib/utils/grid.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/grid.js +109 -0
- package/dist/es6/layout/lib/utils/gridItem.d.ts +42 -0
- package/dist/es6/layout/lib/utils/gridItem.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/gridItem.js +68 -0
- package/dist/es6/layout/lib/utils/layout.d.ts +54 -32
- package/dist/es6/layout/lib/utils/layout.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/layout.js +70 -31
- package/dist/es6/layout/lib/utils/other.d.ts +46 -2
- package/dist/es6/layout/lib/utils/other.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/other.js +100 -15
- package/dist/es6/layout/lib/utils/position.d.ts +44 -23
- package/dist/es6/layout/lib/utils/position.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/position.js +53 -64
- package/dist/es6/layout/lib/utils/space.d.ts +107 -51
- package/dist/es6/layout/lib/utils/space.d.ts.map +1 -1
- package/dist/es6/layout/lib/utils/space.js +97 -146
- package/dist/es6/layout/lib/utils/styleProps.d.ts +41 -0
- package/dist/es6/layout/lib/utils/styleProps.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/systemProps.d.ts +31 -0
- package/dist/es6/layout/lib/utils/systemProps.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/systemProps.js +1 -0
- package/dist/es6/layout/lib/utils/text.d.ts +53 -0
- package/dist/es6/layout/lib/utils/text.d.ts.map +1 -0
- package/dist/es6/layout/lib/utils/text.js +81 -0
- package/dist/es6/loading-dots/index.d.ts +2 -0
- package/dist/es6/loading-dots/index.d.ts.map +1 -0
- package/dist/es6/loading-dots/index.js +1 -0
- package/dist/es6/{loading-animation → loading-dots}/lib/LoadingDots.d.ts +1 -1
- package/dist/es6/loading-dots/lib/LoadingDots.d.ts.map +1 -0
- package/dist/es6/loading-dots/lib/LoadingDots.js +55 -0
- package/dist/es6/menu/index.d.ts +1 -1
- package/dist/es6/menu/index.d.ts.map +1 -1
- package/dist/es6/menu/index.js +1 -1
- package/dist/es6/menu/lib/Menu.d.ts +474 -439
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.js +45 -16
- package/dist/es6/menu/lib/MenuCard.d.ts +25 -19
- package/dist/es6/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuCard.js +9 -21
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +142 -18
- package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuContextTarget.js +9 -34
- package/dist/es6/menu/lib/MenuDivider.d.ts +1 -1
- package/dist/es6/menu/lib/MenuDivider.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuDivider.js +6 -17
- package/dist/es6/menu/lib/MenuItem.d.ts +78 -21
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.js +76 -84
- package/dist/es6/menu/lib/MenuList.d.ts +31 -25
- package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuList.js +7 -29
- package/dist/es6/menu/lib/MenuPopper.d.ts +17 -15
- package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuPopper.js +4 -27
- package/dist/es6/menu/lib/MenuTarget.d.ts +227 -22
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.js +12 -38
- package/dist/es6/menu/lib/useMenuModel.d.ts +393 -219
- package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/es6/menu/lib/useMenuModel.js +22 -26
- package/dist/es6/modal/lib/Modal.d.ts +203 -47
- package/dist/es6/modal/lib/Modal.d.ts.map +1 -1
- package/dist/es6/modal/lib/Modal.js +79 -7
- package/dist/es6/modal/lib/ModalBody.d.ts +24 -0
- package/dist/es6/modal/lib/ModalBody.d.ts.map +1 -0
- package/dist/es6/modal/lib/ModalBody.js +20 -0
- package/dist/es6/modal/lib/ModalCard.d.ts +2 -2
- package/dist/es6/modal/lib/ModalCard.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalCard.js +16 -15
- package/dist/es6/modal/lib/ModalHeading.d.ts +2 -2
- package/dist/es6/modal/lib/ModalHeading.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +14 -15
- package/dist/es6/modal/lib/ModalOverflowOverlay.d.ts +4 -4
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +5 -16
- package/dist/es6/modal/lib/ModalOverlay.d.ts +6 -9
- package/dist/es6/modal/lib/ModalOverlay.d.ts.map +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +38 -45
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.d.ts +3 -5
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.d.ts.map +1 -1
- package/dist/es6/modal/lib/hooks/useCloseOnOverlayClick.js +16 -14
- package/dist/es6/modal/lib/hooks/useModalCard.d.ts +8 -5
- package/dist/es6/modal/lib/hooks/useModalCard.d.ts.map +1 -1
- package/dist/es6/modal/lib/hooks/useModalCard.js +1 -1
- package/dist/es6/modal/lib/hooks/useModalHeading.d.ts +8 -5
- package/dist/es6/modal/lib/hooks/useModalHeading.d.ts.map +1 -1
- package/dist/es6/modal/lib/hooks/useModalHeading.js +5 -5
- package/dist/es6/modal/lib/hooks/useModalModel.d.ts +10 -10
- package/dist/es6/modal/lib/hooks/useModalModel.js +4 -4
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts +2 -3
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/AdditionalDetails.js +19 -34
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts +12 -11
- package/dist/es6/pagination/lib/Pagination/Controls.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Controls.js +77 -83
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts +5 -5
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Form.js +14 -29
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts +2 -3
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/Label.js +10 -29
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.d.ts +4 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/TextInput.js +9 -26
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts +10 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/useGoToForm.js +12 -12
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Nav.js +2 -25
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts +4 -5
- package/dist/es6/pagination/lib/Pagination/PageButton.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageButton.js +20 -38
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts +7 -6
- package/dist/es6/pagination/lib/Pagination/PageList.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/PageList.js +16 -31
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts +230 -38
- package/dist/es6/pagination/lib/Pagination/Pagination.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/Pagination.js +229 -99
- package/dist/es6/pagination/lib/Pagination/buildPageRange.js +9 -17
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts +2 -2
- package/dist/es6/pagination/lib/Pagination/common/List.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/List.js +7 -31
- package/dist/es6/pagination/lib/Pagination/common/useLiveRegion.js +8 -26
- package/dist/es6/pagination/lib/Pagination/common/utils/getValidChildren.d.ts +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/getValidChildren.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/getValidChildren.js +1 -3
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.d.ts +45 -15
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/common/utils/helpers.js +45 -15
- package/dist/es6/pagination/lib/Pagination/common/utils/useRTL.js +4 -4
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.d.ts +3 -1
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.d.ts.map +1 -1
- package/dist/es6/pagination/lib/Pagination/usePaginationModel.js +35 -30
- package/dist/es6/popup/lib/Popper.d.ts +16 -1
- package/dist/es6/popup/lib/Popper.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popper.js +44 -53
- package/dist/es6/popup/lib/Popup.d.ts +103 -22
- package/dist/es6/popup/lib/Popup.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popup.js +87 -7
- package/dist/es6/popup/lib/PopupBody.d.ts +2 -2
- package/dist/es6/popup/lib/PopupBody.js +3 -14
- package/dist/es6/popup/lib/PopupCard.d.ts +5 -4
- package/dist/es6/popup/lib/PopupCard.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCard.js +54 -42
- package/dist/es6/popup/lib/PopupCloseButton.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseButton.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCloseButton.js +3 -26
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupCloseIcon.js +5 -33
- package/dist/es6/popup/lib/PopupHeading.d.ts +2 -2
- package/dist/es6/popup/lib/PopupHeading.js +3 -26
- package/dist/es6/popup/lib/PopupPopper.d.ts +4 -5
- package/dist/es6/popup/lib/PopupPopper.d.ts.map +1 -1
- package/dist/es6/popup/lib/PopupPopper.js +3 -26
- package/dist/es6/popup/lib/PopupTarget.d.ts +2 -2
- package/dist/es6/popup/lib/PopupTarget.js +3 -14
- package/dist/es6/popup/lib/getTransformFromPlacement.js +6 -6
- package/dist/es6/popup/lib/hooks/focus-trap-js.js +23 -27
- package/dist/es6/popup/lib/hooks/index.d.ts +1 -0
- package/dist/es6/popup/lib/hooks/index.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/index.js +1 -0
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useAlwaysCloseOnOutsideClick.js +5 -5
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useAssistiveHideSiblings.js +11 -16
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.d.ts +7 -9
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useBringToTopOnClick.js +11 -11
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnEscape.js +7 -7
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnFullscreenExit.js +5 -5
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.d.ts +9 -11
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useCloseOnOutsideClick.js +14 -14
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.d.ts +29 -0
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.d.ts.map +1 -0
- package/dist/es6/popup/lib/hooks/useCloseOnTargetHidden.js +50 -0
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useDisableBodyScroll.js +7 -7
- package/dist/es6/popup/lib/hooks/useFocusRedirect.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useFocusRedirect.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useFocusRedirect.js +7 -7
- package/dist/es6/popup/lib/hooks/useFocusTrap.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useFocusTrap.js +5 -5
- package/dist/es6/popup/lib/hooks/useInitialFocus.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/useInitialFocus.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useInitialFocus.js +9 -9
- package/dist/es6/popup/lib/hooks/usePopupCard.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/usePopupCard.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCard.js +2 -3
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts +7 -8
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupCloseButton.js +4 -4
- package/dist/es6/popup/lib/hooks/usePopupHeading.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/usePopupHeading.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupHeading.js +2 -3
- package/dist/es6/popup/lib/hooks/usePopupModel.d.ts +13 -13
- package/dist/es6/popup/lib/hooks/usePopupModel.js +28 -33
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts +7 -8
- package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupPopper.js +7 -7
- package/dist/es6/popup/lib/hooks/usePopupStack.d.ts +27 -19
- package/dist/es6/popup/lib/hooks/usePopupStack.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupStack.js +38 -30
- package/dist/es6/popup/lib/hooks/usePopupTarget.d.ts +6 -8
- package/dist/es6/popup/lib/hooks/usePopupTarget.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupTarget.js +4 -5
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/usePopupTargetContext.js +3 -4
- package/dist/es6/popup/lib/hooks/useReturnFocus.d.ts +5 -7
- package/dist/es6/popup/lib/hooks/useReturnFocus.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useReturnFocus.js +115 -10
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenEnter.js +5 -5
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.d.ts +3 -5
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.d.ts.map +1 -1
- package/dist/es6/popup/lib/hooks/useTransferOnFullscreenExit.js +5 -5
- package/dist/es6/radio/index.d.ts +0 -4
- package/dist/es6/radio/index.d.ts.map +1 -1
- package/dist/es6/radio/index.js +0 -4
- package/dist/es6/radio/lib/Radio.d.ts +1 -2
- package/dist/es6/radio/lib/Radio.d.ts.map +1 -1
- package/dist/es6/radio/lib/Radio.js +114 -146
- 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 +30 -74
- package/dist/es6/segmented-control/index.d.ts +0 -3
- package/dist/es6/segmented-control/index.d.ts.map +1 -1
- package/dist/es6/segmented-control/index.js +0 -3
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +2 -3
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControl.js +5 -29
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts +4 -2
- package/dist/es6/segmented-control/lib/SegmentedControlButton.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlButton.js +44 -56
- package/dist/es6/select/index.d.ts +0 -4
- package/dist/es6/select/index.d.ts.map +1 -1
- package/dist/es6/select/index.js +0 -4
- package/dist/es6/select/lib/Select.d.ts +2 -3
- package/dist/es6/select/lib/Select.d.ts.map +1 -1
- package/dist/es6/select/lib/Select.js +44 -62
- package/dist/es6/select/lib/SelectOption.d.ts +1 -1
- package/dist/es6/select/lib/SelectOption.d.ts.map +1 -1
- package/dist/es6/select/lib/SelectOption.js +5 -46
- package/dist/es6/side-panel/index.d.ts +0 -3
- package/dist/es6/side-panel/index.d.ts.map +1 -1
- package/dist/es6/side-panel/index.js +0 -3
- package/dist/es6/side-panel/lib/SidePanel.d.ts +1 -1
- package/dist/es6/side-panel/lib/SidePanel.d.ts.map +1 -1
- package/dist/es6/side-panel/lib/SidePanel.js +58 -120
- package/dist/es6/skeleton/lib/parts/skeletonHeader.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonHeader.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonHeader.js +2 -27
- package/dist/es6/skeleton/lib/parts/skeletonShape.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonShape.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonShape.js +9 -37
- package/dist/es6/skeleton/lib/parts/skeletonText.d.ts +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonText.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/parts/skeletonText.js +9 -35
- package/dist/es6/skeleton/lib/skeleton.d.ts +30 -4
- package/dist/es6/skeleton/lib/skeleton.d.ts.map +1 -1
- package/dist/es6/skeleton/lib/skeleton.js +36 -35
- package/dist/es6/status-indicator/index.d.ts +0 -3
- package/dist/es6/status-indicator/index.d.ts.map +1 -1
- package/dist/es6/status-indicator/index.js +0 -3
- package/dist/es6/status-indicator/lib/StatusIndicator.d.ts +1 -1
- package/dist/es6/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
- package/dist/es6/status-indicator/lib/StatusIndicator.js +25 -57
- package/dist/es6/switch/index.d.ts +0 -3
- package/dist/es6/switch/index.d.ts.map +1 -1
- package/dist/es6/switch/index.js +0 -3
- package/dist/es6/switch/lib/Switch.d.ts +1 -2
- package/dist/es6/switch/lib/Switch.d.ts.map +1 -1
- package/dist/es6/switch/lib/Switch.js +54 -65
- package/dist/es6/table/index.d.ts +0 -4
- package/dist/es6/table/index.d.ts.map +1 -1
- package/dist/es6/table/index.js +0 -4
- package/dist/es6/table/lib/Table.d.ts +1 -1
- package/dist/es6/table/lib/Table.d.ts.map +1 -1
- package/dist/es6/table/lib/Table.js +9 -50
- package/dist/es6/table/lib/TableRow.d.ts +2 -2
- package/dist/es6/table/lib/TableRow.d.ts.map +1 -1
- package/dist/es6/table/lib/TableRow.js +35 -63
- package/dist/es6/tabs/lib/Tabs.d.ts +2246 -392
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.js +96 -5
- package/dist/es6/tabs/lib/TabsItem.d.ts +179 -30
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.js +73 -80
- package/dist/es6/tabs/lib/TabsList.d.ts +157 -29
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.js +48 -44
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +17 -15
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.js +4 -27
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +119 -27
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.js +6 -29
- package/dist/es6/tabs/lib/TabsPanel.d.ts +47 -33
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.js +14 -39
- package/dist/es6/tabs/lib/TabsPanels.d.ts +25 -17
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.js +2 -3
- package/dist/es6/tabs/lib/useTabsModel.d.ts +3442 -586
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.js +60 -41
- package/dist/es6/testing/index.d.ts +5 -0
- package/dist/es6/testing/index.d.ts.map +1 -0
- package/dist/es6/testing/index.js +4 -0
- package/dist/es6/testing/lib/ComponentStatesTable.d.ts +26 -0
- package/dist/es6/testing/lib/ComponentStatesTable.d.ts.map +1 -0
- package/dist/es6/testing/lib/ComponentStatesTable.js +32 -0
- package/dist/es6/testing/lib/StaticStates.d.ts +7 -0
- package/dist/es6/testing/lib/StaticStates.d.ts.map +1 -0
- package/dist/es6/testing/lib/StaticStates.js +25 -0
- package/dist/es6/testing/lib/permutateProps.d.ts +5 -0
- package/dist/es6/testing/lib/permutateProps.d.ts.map +1 -0
- package/dist/es6/testing/lib/permutateProps.js +30 -0
- package/dist/es6/testing/lib/propTypes.d.ts +15 -0
- package/dist/es6/testing/lib/propTypes.d.ts.map +1 -0
- package/dist/es6/testing/lib/propTypes.js +1 -0
- package/dist/es6/text/index.d.ts +4 -0
- package/dist/es6/text/index.d.ts.map +1 -0
- package/dist/es6/text/index.js +3 -0
- package/dist/es6/text/lib/LabelText.d.ts +25 -0
- package/dist/es6/text/lib/LabelText.d.ts.map +1 -0
- package/dist/es6/text/lib/LabelText.js +27 -0
- package/dist/es6/text/lib/Text.d.ts +54 -0
- package/dist/es6/text/lib/Text.d.ts.map +1 -0
- package/dist/es6/text/lib/Text.js +73 -0
- package/dist/es6/text/lib/TypeLevelComponents.d.ts +112 -0
- package/dist/es6/text/lib/TypeLevelComponents.d.ts.map +1 -0
- package/dist/es6/text/lib/TypeLevelComponents.js +127 -0
- package/dist/es6/text-area/index.d.ts +0 -3
- package/dist/es6/text-area/index.d.ts.map +1 -1
- package/dist/es6/text-area/index.js +0 -3
- package/dist/es6/text-area/lib/TextArea.d.ts +1 -2
- package/dist/es6/text-area/lib/TextArea.d.ts.map +1 -1
- package/dist/es6/text-area/lib/TextArea.js +41 -55
- package/dist/es6/text-input/index.d.ts +1 -4
- package/dist/es6/text-input/index.d.ts.map +1 -1
- package/dist/es6/text-input/index.js +1 -4
- package/dist/es6/text-input/lib/InputGroup.d.ts +135 -0
- package/dist/es6/text-input/lib/InputGroup.d.ts.map +1 -0
- package/dist/es6/text-input/lib/InputGroup.js +194 -0
- package/dist/es6/text-input/lib/InputIconContainer.d.ts +1 -2
- package/dist/es6/text-input/lib/InputIconContainer.d.ts.map +1 -1
- package/dist/es6/text-input/lib/InputIconContainer.js +8 -15
- package/dist/es6/text-input/lib/TextInput.d.ts +1 -2
- package/dist/es6/text-input/lib/TextInput.d.ts.map +1 -1
- package/dist/es6/text-input/lib/TextInput.js +37 -51
- package/dist/es6/toast/index.d.ts +1 -3
- package/dist/es6/toast/index.d.ts.map +1 -1
- package/dist/es6/toast/index.js +1 -3
- package/dist/es6/toast/lib/Toast.d.ts +56 -22
- package/dist/es6/toast/lib/Toast.d.ts.map +1 -1
- package/dist/es6/toast/lib/Toast.js +90 -59
- package/dist/es6/toast/lib/ToastBody.d.ts +6 -0
- package/dist/es6/toast/lib/ToastBody.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastBody.js +9 -0
- package/dist/es6/toast/lib/ToastCloseIcon.d.ts +6 -0
- package/dist/es6/toast/lib/ToastCloseIcon.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastCloseIcon.js +9 -0
- package/dist/es6/toast/lib/ToastIcon.d.ts +5 -0
- package/dist/es6/toast/lib/ToastIcon.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastIcon.js +9 -0
- package/dist/es6/toast/lib/ToastLink.d.ts +5 -0
- package/dist/es6/toast/lib/ToastLink.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastLink.js +9 -0
- package/dist/es6/toast/lib/ToastMessage.d.ts +12 -0
- package/dist/es6/toast/lib/ToastMessage.d.ts.map +1 -0
- package/dist/es6/toast/lib/ToastMessage.js +9 -0
- package/dist/es6/toast/lib/hooks/useToastModel.d.ts +75 -0
- package/dist/es6/toast/lib/hooks/useToastModel.d.ts.map +1 -0
- package/dist/es6/toast/lib/hooks/useToastModel.js +26 -0
- package/dist/es6/tokens/index.d.ts +3 -4
- package/dist/es6/tokens/index.d.ts.map +1 -1
- package/dist/es6/tokens/index.js +16 -17
- package/dist/es6/tokens/lib/colors.types.d.ts +4 -6
- package/dist/es6/tokens/lib/colors.types.d.ts.map +1 -1
- package/dist/es6/tokens/lib/depth.d.ts +6 -7
- package/dist/es6/tokens/lib/depth.d.ts.map +1 -1
- package/dist/es6/tokens/lib/depth.js +7 -7
- package/dist/es6/tokens/lib/radius.d.ts +1 -1
- package/dist/es6/tokens/lib/radius.d.ts.map +1 -1
- package/dist/es6/tokens/lib/radius.js +1 -2
- package/dist/es6/tokens/lib/space.js +2 -2
- package/dist/es6/tokens/lib/type/fontFamilies.d.ts.map +1 -1
- package/dist/es6/tokens/lib/type/fontFamilies.js +8 -6
- package/dist/es6/tokens/lib/type/fontSizes.js +1 -1
- package/dist/es6/tokens/lib/type/fontWeights.js +1 -1
- package/dist/es6/tokens/lib/type/index.d.ts +7 -7
- package/dist/es6/tokens/lib/type/index.js +10 -10
- package/dist/es6/tokens/lib/type/levels.js +1 -1
- package/dist/es6/tokens/lib/type/variants.js +1 -1
- package/dist/es6/tooltip/index.d.ts +0 -2
- package/dist/es6/tooltip/index.d.ts.map +1 -1
- package/dist/es6/tooltip/index.js +0 -2
- package/dist/es6/tooltip/lib/OverflowTooltip.d.ts.map +1 -1
- package/dist/es6/tooltip/lib/OverflowTooltip.js +30 -53
- package/dist/es6/tooltip/lib/Tooltip.d.ts +1 -1
- package/dist/es6/tooltip/lib/Tooltip.d.ts.map +1 -1
- package/dist/es6/tooltip/lib/Tooltip.js +27 -45
- package/dist/es6/tooltip/lib/TooltipContainer.d.ts +1 -1
- package/dist/es6/tooltip/lib/TooltipContainer.d.ts.map +1 -1
- package/dist/es6/tooltip/lib/TooltipContainer.js +37 -30
- package/dist/es6/tooltip/lib/useTooltip.d.ts.map +1 -1
- package/dist/es6/tooltip/lib/useTooltip.js +43 -39
- package/form-field/index.ts +0 -6
- package/form-field/lib/FormField.tsx +7 -5
- package/form-field/lib/Hint.tsx +9 -20
- package/form-field/lib/Label.tsx +12 -12
- package/icon/index.ts +0 -9
- package/icon/lib/AccentIcon.tsx +7 -10
- package/icon/lib/AppletIcon.tsx +1 -3
- package/icon/lib/Graphic.tsx +2 -4
- package/icon/lib/Icon.tsx +1 -3
- package/icon/lib/Svg.tsx +0 -2
- package/icon/lib/SystemIcon.tsx +19 -21
- package/icon/lib/SystemIconCircle.tsx +6 -7
- package/index.ts +5 -1
- package/layout/README.md +30 -35
- package/layout/index.ts +14 -8
- package/layout/lib/Box.tsx +63 -45
- package/layout/lib/Flex.tsx +6 -2
- package/layout/lib/Grid.tsx +85 -0
- package/layout/lib/utils/background.ts +83 -0
- package/layout/lib/utils/border/color.ts +85 -0
- package/layout/lib/utils/border/index.ts +49 -0
- package/layout/lib/utils/border/lineStyle.ts +87 -0
- package/layout/lib/utils/border/radius.ts +61 -0
- package/layout/lib/utils/border/shorthand.ts +73 -0
- package/layout/lib/utils/border/width.ts +73 -0
- package/layout/lib/utils/buildStyleFns.ts +117 -0
- package/layout/lib/utils/color.ts +40 -50
- package/layout/lib/utils/depth.ts +28 -24
- package/layout/lib/utils/flex.ts +91 -47
- package/layout/lib/utils/flexItem.ts +58 -40
- package/layout/lib/utils/grid.ts +166 -0
- package/layout/lib/utils/gridItem.ts +96 -0
- package/layout/lib/utils/layout.ts +116 -64
- package/layout/lib/utils/other.ts +144 -15
- package/layout/lib/utils/position.ts +91 -76
- package/layout/lib/utils/space.ts +202 -196
- package/layout/lib/utils/styleProps.ts +56 -0
- package/layout/lib/utils/systemProps.ts +46 -0
- package/layout/lib/utils/text.ts +122 -0
- package/loading-dots/README.md +7 -0
- package/loading-dots/index.ts +1 -0
- package/{loading-animation → loading-dots}/lib/LoadingDots.tsx +2 -2
- package/loading-dots/package.json +6 -0
- package/menu/index.ts +1 -1
- package/menu/lib/Menu.tsx +43 -13
- package/menu/lib/MenuCard.tsx +1 -0
- package/menu/lib/MenuContextTarget.tsx +3 -5
- package/menu/lib/MenuItem.tsx +30 -31
- package/menu/lib/MenuList.tsx +17 -11
- package/menu/lib/MenuTarget.tsx +4 -6
- package/menu/lib/useMenuModel.tsx +4 -7
- package/modal/lib/Modal.tsx +77 -5
- package/modal/lib/ModalBody.tsx +32 -0
- package/modal/lib/ModalCard.tsx +21 -4
- package/modal/lib/ModalHeading.tsx +19 -2
- package/modal/lib/ModalOverlay.tsx +22 -22
- package/modal/lib/hooks/useCloseOnOverlayClick.ts +4 -2
- package/modal/lib/hooks/useModalHeading.ts +2 -2
- package/modal/lib/hooks/useModalModel.ts +1 -1
- package/package.json +5 -9
- package/pagination/lib/Pagination/AdditionalDetails.tsx +32 -23
- package/pagination/lib/Pagination/Controls.tsx +122 -99
- package/pagination/lib/Pagination/GoTo/Form.tsx +33 -22
- package/pagination/lib/Pagination/GoTo/Label.tsx +21 -17
- package/pagination/lib/Pagination/GoTo/TextInput.tsx +11 -7
- package/pagination/lib/Pagination/GoTo/useGoToForm.tsx +3 -1
- package/pagination/lib/Pagination/Nav.tsx +1 -2
- package/pagination/lib/Pagination/PageButton.tsx +34 -31
- package/pagination/lib/Pagination/PageList.tsx +36 -22
- package/pagination/lib/Pagination/Pagination.tsx +256 -139
- package/pagination/lib/Pagination/common/utils/helpers.ts +45 -15
- package/pagination/lib/Pagination/usePaginationModel.ts +9 -9
- package/popup/lib/Popper.tsx +16 -1
- package/popup/lib/Popup.tsx +85 -4
- package/popup/lib/PopupBody.tsx +1 -1
- package/popup/lib/PopupCard.tsx +47 -13
- package/popup/lib/PopupCloseButton.tsx +5 -1
- package/popup/lib/PopupCloseIcon.tsx +14 -15
- package/popup/lib/PopupHeading.tsx +1 -1
- package/popup/lib/PopupPopper.tsx +2 -3
- package/popup/lib/hooks/index.ts +1 -0
- package/popup/lib/hooks/useBringToTopOnClick.ts +4 -4
- package/popup/lib/hooks/useCloseOnEscape.ts +2 -2
- package/popup/lib/hooks/useCloseOnFullscreenExit.ts +1 -1
- package/popup/lib/hooks/useCloseOnOutsideClick.ts +6 -6
- package/popup/lib/hooks/useCloseOnTargetHidden.ts +66 -0
- 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 +127 -6
- package/popup/lib/hooks/useTransferOnFullscreenEnter.ts +1 -1
- package/popup/lib/hooks/useTransferOnFullscreenExit.ts +1 -1
- package/radio/index.ts +0 -5
- package/radio/lib/Radio.tsx +9 -25
- package/radio/lib/RadioGroup.tsx +2 -4
- package/segmented-control/index.ts +0 -4
- package/segmented-control/lib/SegmentedControl.tsx +0 -2
- package/segmented-control/lib/SegmentedControlButton.tsx +24 -5
- package/select/index.ts +0 -5
- package/select/lib/Select.tsx +4 -19
- package/select/lib/SelectOption.tsx +1 -1
- package/side-panel/README.md +1 -1
- package/side-panel/index.ts +0 -4
- package/side-panel/lib/SidePanel.tsx +9 -10
- package/skeleton/lib/skeleton.tsx +27 -1
- package/status-indicator/index.ts +0 -4
- package/status-indicator/lib/StatusIndicator.tsx +1 -1
- package/switch/index.ts +0 -4
- package/switch/lib/Switch.tsx +0 -2
- package/table/index.ts +0 -5
- package/table/lib/Table.tsx +1 -1
- package/table/lib/TableRow.tsx +1 -3
- package/tabs/lib/Tabs.tsx +95 -3
- package/tabs/lib/TabsItem.tsx +16 -21
- package/tabs/lib/TabsList.tsx +51 -18
- package/tabs/lib/TabsOverflowButton.tsx +4 -4
- package/tabs/lib/TabsPanel.tsx +7 -10
- package/tabs/lib/TabsPanels.tsx +1 -1
- package/tabs/lib/useTabsModel.tsx +19 -2
- package/testing/LICENSE +52 -0
- package/testing/README.md +6 -0
- package/testing/index.ts +4 -0
- package/testing/lib/ComponentStatesTable.tsx +80 -0
- package/{common/lib/utils → testing/lib}/StaticStates.tsx +7 -6
- package/testing/lib/permutateProps.ts +47 -0
- package/testing/lib/propTypes.ts +15 -0
- package/testing/package.json +6 -0
- package/text/LICENSE +52 -0
- package/text/README.md +5 -0
- package/text/index.ts +3 -0
- package/text/lib/LabelText.tsx +45 -0
- package/text/lib/Text.tsx +106 -0
- package/text/lib/TypeLevelComponents.tsx +142 -0
- package/text/package.json +6 -0
- package/text-area/index.ts +0 -4
- package/text-area/lib/TextArea.tsx +0 -2
- package/text-input/index.ts +1 -5
- package/text-input/lib/InputGroup.tsx +250 -0
- package/text-input/lib/InputIconContainer.tsx +3 -7
- package/text-input/lib/TextInput.tsx +0 -2
- package/toast/LICENSE +1 -0
- package/toast/README.md +3 -5
- package/toast/index.ts +1 -4
- package/toast/lib/Toast.tsx +104 -110
- package/toast/lib/ToastBody.tsx +28 -0
- package/toast/lib/ToastCloseIcon.tsx +14 -0
- package/toast/lib/ToastIcon.tsx +23 -0
- package/toast/lib/ToastLink.tsx +17 -0
- package/toast/lib/ToastMessage.tsx +24 -0
- package/toast/lib/hooks/useToastModel.tsx +29 -0
- package/tokens/index.ts +4 -5
- package/tokens/lib/colors.types.ts +4 -7
- package/tokens/lib/depth.ts +12 -13
- package/tokens/lib/radius.ts +0 -2
- package/tokens/lib/type/fontFamilies.ts +5 -4
- package/tokens/lib/type/index.ts +8 -8
- package/tooltip/index.ts +0 -3
- package/tooltip/lib/OverflowTooltip.tsx +1 -4
- package/tooltip/lib/Tooltip.tsx +42 -39
- package/tooltip/lib/TooltipContainer.tsx +6 -0
- package/tooltip/lib/useTooltip.tsx +20 -11
- package/dist/commonjs/common/lib/utils/StaticStates.d.ts +0 -8
- package/dist/commonjs/common/lib/utils/StaticStates.d.ts.map +0 -1
- package/dist/commonjs/common/lib/utils/StaticStates.js +0 -73
- package/dist/commonjs/layout/lib/Column.d.ts +0 -24
- package/dist/commonjs/layout/lib/Column.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/Column.js +0 -105
- package/dist/commonjs/layout/lib/Layout.d.ts +0 -29
- package/dist/commonjs/layout/lib/Layout.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/Layout.js +0 -119
- package/dist/commonjs/layout/lib/Stack.d.ts +0 -27
- package/dist/commonjs/layout/lib/Stack.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/Stack.js +0 -99
- package/dist/commonjs/layout/lib/utils/border.d.ts +0 -103
- package/dist/commonjs/layout/lib/utils/border.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/utils/border.js +0 -153
- package/dist/commonjs/layout/lib/utils/stack.d.ts +0 -26
- package/dist/commonjs/layout/lib/utils/stack.d.ts.map +0 -1
- package/dist/commonjs/layout/lib/utils/stack.js +0 -55
- package/dist/commonjs/layout/lib/utils/types.d.ts +0 -20
- package/dist/commonjs/layout/lib/utils/types.d.ts.map +0 -1
- package/dist/commonjs/loading-animation/index.d.ts +0 -5
- package/dist/commonjs/loading-animation/index.d.ts.map +0 -1
- package/dist/commonjs/loading-animation/lib/LoadingDots.d.ts.map +0 -1
- package/dist/commonjs/loading-animation/lib/LoadingDots.js +0 -99
- 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/es6/common/lib/utils/StaticStates.d.ts +0 -8
- package/dist/es6/common/lib/utils/StaticStates.d.ts.map +0 -1
- package/dist/es6/common/lib/utils/StaticStates.js +0 -49
- package/dist/es6/layout/lib/Column.d.ts +0 -24
- package/dist/es6/layout/lib/Column.d.ts.map +0 -1
- package/dist/es6/layout/lib/Column.js +0 -81
- package/dist/es6/layout/lib/Layout.d.ts +0 -29
- package/dist/es6/layout/lib/Layout.d.ts.map +0 -1
- package/dist/es6/layout/lib/Layout.js +0 -95
- package/dist/es6/layout/lib/Stack.d.ts +0 -27
- package/dist/es6/layout/lib/Stack.d.ts.map +0 -1
- package/dist/es6/layout/lib/Stack.js +0 -74
- package/dist/es6/layout/lib/utils/border.d.ts +0 -103
- package/dist/es6/layout/lib/utils/border.d.ts.map +0 -1
- package/dist/es6/layout/lib/utils/border.js +0 -149
- package/dist/es6/layout/lib/utils/stack.d.ts +0 -26
- package/dist/es6/layout/lib/utils/stack.d.ts.map +0 -1
- package/dist/es6/layout/lib/utils/stack.js +0 -51
- package/dist/es6/layout/lib/utils/types.d.ts +0 -20
- package/dist/es6/layout/lib/utils/types.d.ts.map +0 -1
- package/dist/es6/loading-animation/index.d.ts +0 -5
- package/dist/es6/loading-animation/index.d.ts.map +0 -1
- package/dist/es6/loading-animation/index.js +0 -4
- package/dist/es6/loading-animation/lib/LoadingDots.d.ts.map +0 -1
- package/dist/es6/loading-animation/lib/LoadingDots.js +0 -77
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.d.ts +0 -17
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/GoTo.js +0 -35
- package/dist/es6/pagination/lib/Pagination/GoTo/index.d.ts +0 -4
- package/dist/es6/pagination/lib/Pagination/GoTo/index.d.ts.map +0 -1
- package/dist/es6/pagination/lib/Pagination/GoTo/index.js +0 -3
- package/layout/lib/Column.tsx +0 -71
- package/layout/lib/Layout.tsx +0 -101
- package/layout/lib/Stack.tsx +0 -97
- package/layout/lib/utils/border.ts +0 -263
- package/layout/lib/utils/stack.ts +0 -78
- package/layout/lib/utils/types.ts +0 -148
- package/loading-animation/README.md +0 -7
- package/loading-animation/index.ts +0 -5
- package/loading-animation/package.json +0 -6
- package/pagination/lib/Pagination/GoTo/GoTo.tsx +0 -36
- package/pagination/lib/Pagination/GoTo/index.ts +0 -4
- /package/dist/commonjs/layout/lib/utils/{types.js → styleProps.js} +0 -0
- /package/dist/es6/layout/lib/utils/{types.js → styleProps.js} +0 -0
- /package/{loading-animation → loading-dots}/LICENSE +0 -0
|
@@ -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,9 +26,11 @@ 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";
|
|
33
|
+
shouldVirtualize: boolean;
|
|
26
34
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
27
35
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
28
36
|
id: string;
|
|
@@ -33,12 +41,12 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
33
41
|
initialCursorId: string;
|
|
34
42
|
columnCount: number;
|
|
35
43
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
44
|
+
pageSize: number;
|
|
36
45
|
getId: (item: any) => string;
|
|
37
46
|
getTextValue: (item: any) => string;
|
|
38
47
|
nonInteractiveIds: string[];
|
|
39
48
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
40
49
|
defaultItemHeight: number;
|
|
41
|
-
shouldVirtualize: boolean;
|
|
42
50
|
items: any[];
|
|
43
51
|
}> & {
|
|
44
52
|
onUpdatePlacement?: ((data: {
|
|
@@ -50,15 +58,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
50
58
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
51
59
|
placement: import("@popperjs/core").Placement;
|
|
52
60
|
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
|
-
*/
|
|
61
|
+
visibility: "hidden" | "visible";
|
|
62
|
+
selectedIds: string[] | "all";
|
|
59
63
|
unselectedIds: string[];
|
|
60
64
|
cursorId: string;
|
|
61
65
|
columnCount: number;
|
|
66
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
67
|
+
cursorIndexRef: {
|
|
68
|
+
readonly current: number;
|
|
69
|
+
};
|
|
62
70
|
UNSTABLE_virtual: {
|
|
63
71
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
64
72
|
totalSize: number;
|
|
@@ -68,7 +76,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
68
76
|
};
|
|
69
77
|
UNSTABLE_defaultItemHeight: number;
|
|
70
78
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
71
|
-
orientation:
|
|
79
|
+
orientation: "horizontal" | "vertical";
|
|
72
80
|
indexRef: React.MutableRefObject<number>;
|
|
73
81
|
nonInteractiveIds: string[];
|
|
74
82
|
isVirtualized: boolean;
|
|
@@ -82,15 +90,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
82
90
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
83
91
|
placement: import("@popperjs/core").Placement;
|
|
84
92
|
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
|
-
*/
|
|
93
|
+
visibility: "hidden" | "visible";
|
|
94
|
+
selectedIds: string[] | "all";
|
|
91
95
|
unselectedIds: string[];
|
|
92
96
|
cursorId: string;
|
|
93
97
|
columnCount: number;
|
|
98
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
99
|
+
cursorIndexRef: {
|
|
100
|
+
readonly current: number;
|
|
101
|
+
};
|
|
94
102
|
UNSTABLE_virtual: {
|
|
95
103
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
96
104
|
totalSize: number;
|
|
@@ -100,7 +108,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
100
108
|
};
|
|
101
109
|
UNSTABLE_defaultItemHeight: number;
|
|
102
110
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
103
|
-
orientation:
|
|
111
|
+
orientation: "horizontal" | "vertical";
|
|
104
112
|
indexRef: React.MutableRefObject<number>;
|
|
105
113
|
nonInteractiveIds: string[];
|
|
106
114
|
isVirtualized: boolean;
|
|
@@ -114,15 +122,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
114
122
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
115
123
|
placement: import("@popperjs/core").Placement;
|
|
116
124
|
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
|
-
*/
|
|
125
|
+
visibility: "hidden" | "visible";
|
|
126
|
+
selectedIds: string[] | "all";
|
|
123
127
|
unselectedIds: string[];
|
|
124
128
|
cursorId: string;
|
|
125
129
|
columnCount: number;
|
|
130
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
131
|
+
cursorIndexRef: {
|
|
132
|
+
readonly current: number;
|
|
133
|
+
};
|
|
126
134
|
UNSTABLE_virtual: {
|
|
127
135
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
128
136
|
totalSize: number;
|
|
@@ -132,7 +140,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
132
140
|
};
|
|
133
141
|
UNSTABLE_defaultItemHeight: number;
|
|
134
142
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
135
|
-
orientation:
|
|
143
|
+
orientation: "horizontal" | "vertical";
|
|
136
144
|
indexRef: React.MutableRefObject<number>;
|
|
137
145
|
nonInteractiveIds: string[];
|
|
138
146
|
isVirtualized: boolean;
|
|
@@ -148,15 +156,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
148
156
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
149
157
|
placement: import("@popperjs/core").Placement;
|
|
150
158
|
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
|
-
*/
|
|
159
|
+
visibility: "hidden" | "visible";
|
|
160
|
+
selectedIds: string[] | "all";
|
|
157
161
|
unselectedIds: string[];
|
|
158
162
|
cursorId: string;
|
|
159
163
|
columnCount: number;
|
|
164
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
165
|
+
cursorIndexRef: {
|
|
166
|
+
readonly current: number;
|
|
167
|
+
};
|
|
160
168
|
UNSTABLE_virtual: {
|
|
161
169
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
162
170
|
totalSize: number;
|
|
@@ -166,7 +174,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
166
174
|
};
|
|
167
175
|
UNSTABLE_defaultItemHeight: number;
|
|
168
176
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
169
|
-
orientation:
|
|
177
|
+
orientation: "horizontal" | "vertical";
|
|
170
178
|
indexRef: React.MutableRefObject<number>;
|
|
171
179
|
nonInteractiveIds: string[];
|
|
172
180
|
isVirtualized: boolean;
|
|
@@ -180,15 +188,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
180
188
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
181
189
|
placement: import("@popperjs/core").Placement;
|
|
182
190
|
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
|
-
*/
|
|
191
|
+
visibility: "hidden" | "visible";
|
|
192
|
+
selectedIds: string[] | "all";
|
|
189
193
|
unselectedIds: string[];
|
|
190
194
|
cursorId: string;
|
|
191
195
|
columnCount: number;
|
|
196
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
197
|
+
cursorIndexRef: {
|
|
198
|
+
readonly current: number;
|
|
199
|
+
};
|
|
192
200
|
UNSTABLE_virtual: {
|
|
193
201
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
194
202
|
totalSize: number;
|
|
@@ -198,7 +206,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
198
206
|
};
|
|
199
207
|
UNSTABLE_defaultItemHeight: number;
|
|
200
208
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
201
|
-
orientation:
|
|
209
|
+
orientation: "horizontal" | "vertical";
|
|
202
210
|
indexRef: React.MutableRefObject<number>;
|
|
203
211
|
nonInteractiveIds: string[];
|
|
204
212
|
isVirtualized: boolean;
|
|
@@ -212,15 +220,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
212
220
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
213
221
|
placement: import("@popperjs/core").Placement;
|
|
214
222
|
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
|
-
*/
|
|
223
|
+
visibility: "hidden" | "visible";
|
|
224
|
+
selectedIds: string[] | "all";
|
|
221
225
|
unselectedIds: string[];
|
|
222
226
|
cursorId: string;
|
|
223
227
|
columnCount: number;
|
|
228
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
229
|
+
cursorIndexRef: {
|
|
230
|
+
readonly current: number;
|
|
231
|
+
};
|
|
224
232
|
UNSTABLE_virtual: {
|
|
225
233
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
226
234
|
totalSize: number;
|
|
@@ -230,16 +238,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
230
238
|
};
|
|
231
239
|
UNSTABLE_defaultItemHeight: number;
|
|
232
240
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
233
|
-
orientation:
|
|
241
|
+
orientation: "horizontal" | "vertical";
|
|
234
242
|
indexRef: React.MutableRefObject<number>;
|
|
235
243
|
nonInteractiveIds: string[];
|
|
236
244
|
isVirtualized: boolean;
|
|
237
245
|
items: import("../..").Item<any>[];
|
|
238
246
|
mode: "multiple" | "single";
|
|
239
247
|
}) => void) | undefined;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
textValue: string;
|
|
248
|
+
onGoTo?: ((data: {
|
|
249
|
+
id: string;
|
|
243
250
|
}, prevState: {
|
|
244
251
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
245
252
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -247,15 +254,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
247
254
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
248
255
|
placement: import("@popperjs/core").Placement;
|
|
249
256
|
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
|
-
*/
|
|
257
|
+
visibility: "hidden" | "visible";
|
|
258
|
+
selectedIds: string[] | "all";
|
|
256
259
|
unselectedIds: string[];
|
|
257
260
|
cursorId: string;
|
|
258
261
|
columnCount: number;
|
|
262
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
263
|
+
cursorIndexRef: {
|
|
264
|
+
readonly current: number;
|
|
265
|
+
};
|
|
259
266
|
UNSTABLE_virtual: {
|
|
260
267
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
261
268
|
totalSize: number;
|
|
@@ -265,31 +272,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
265
272
|
};
|
|
266
273
|
UNSTABLE_defaultItemHeight: number;
|
|
267
274
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
268
|
-
orientation:
|
|
275
|
+
orientation: "horizontal" | "vertical";
|
|
269
276
|
indexRef: React.MutableRefObject<number>;
|
|
270
277
|
nonInteractiveIds: string[];
|
|
271
278
|
isVirtualized: boolean;
|
|
272
279
|
items: import("../..").Item<any>[];
|
|
273
280
|
mode: "multiple" | "single";
|
|
274
281
|
}) => void) | undefined;
|
|
275
|
-
|
|
276
|
-
id: string;
|
|
277
|
-
}, prevState: {
|
|
282
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
278
283
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
279
284
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
280
285
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
281
286
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
282
287
|
placement: import("@popperjs/core").Placement;
|
|
283
288
|
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
|
-
*/
|
|
289
|
+
visibility: "hidden" | "visible";
|
|
290
|
+
selectedIds: string[] | "all";
|
|
290
291
|
unselectedIds: string[];
|
|
291
292
|
cursorId: string;
|
|
292
293
|
columnCount: number;
|
|
294
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
295
|
+
cursorIndexRef: {
|
|
296
|
+
readonly current: number;
|
|
297
|
+
};
|
|
293
298
|
UNSTABLE_virtual: {
|
|
294
299
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
295
300
|
totalSize: number;
|
|
@@ -299,29 +304,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
299
304
|
};
|
|
300
305
|
UNSTABLE_defaultItemHeight: number;
|
|
301
306
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
302
|
-
orientation:
|
|
307
|
+
orientation: "horizontal" | "vertical";
|
|
303
308
|
indexRef: React.MutableRefObject<number>;
|
|
304
309
|
nonInteractiveIds: string[];
|
|
305
310
|
isVirtualized: boolean;
|
|
306
311
|
items: import("../..").Item<any>[];
|
|
307
312
|
mode: "multiple" | "single";
|
|
308
313
|
}) => void) | undefined;
|
|
309
|
-
|
|
314
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
310
315
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
311
316
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
312
317
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
313
318
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
314
319
|
placement: import("@popperjs/core").Placement;
|
|
315
320
|
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
|
-
*/
|
|
321
|
+
visibility: "hidden" | "visible";
|
|
322
|
+
selectedIds: string[] | "all";
|
|
322
323
|
unselectedIds: string[];
|
|
323
324
|
cursorId: string;
|
|
324
325
|
columnCount: number;
|
|
326
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
327
|
+
cursorIndexRef: {
|
|
328
|
+
readonly current: number;
|
|
329
|
+
};
|
|
325
330
|
UNSTABLE_virtual: {
|
|
326
331
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
327
332
|
totalSize: number;
|
|
@@ -331,29 +336,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
331
336
|
};
|
|
332
337
|
UNSTABLE_defaultItemHeight: number;
|
|
333
338
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
334
|
-
orientation:
|
|
339
|
+
orientation: "horizontal" | "vertical";
|
|
335
340
|
indexRef: React.MutableRefObject<number>;
|
|
336
341
|
nonInteractiveIds: string[];
|
|
337
342
|
isVirtualized: boolean;
|
|
338
343
|
items: import("../..").Item<any>[];
|
|
339
344
|
mode: "multiple" | "single";
|
|
340
345
|
}) => void) | undefined;
|
|
341
|
-
|
|
346
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
342
347
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
343
348
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
344
349
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
345
350
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
346
351
|
placement: import("@popperjs/core").Placement;
|
|
347
352
|
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
|
-
*/
|
|
353
|
+
visibility: "hidden" | "visible";
|
|
354
|
+
selectedIds: string[] | "all";
|
|
354
355
|
unselectedIds: string[];
|
|
355
356
|
cursorId: string;
|
|
356
357
|
columnCount: number;
|
|
358
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
359
|
+
cursorIndexRef: {
|
|
360
|
+
readonly current: number;
|
|
361
|
+
};
|
|
357
362
|
UNSTABLE_virtual: {
|
|
358
363
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
359
364
|
totalSize: number;
|
|
@@ -363,29 +368,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
363
368
|
};
|
|
364
369
|
UNSTABLE_defaultItemHeight: number;
|
|
365
370
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
366
|
-
orientation:
|
|
371
|
+
orientation: "horizontal" | "vertical";
|
|
367
372
|
indexRef: React.MutableRefObject<number>;
|
|
368
373
|
nonInteractiveIds: string[];
|
|
369
374
|
isVirtualized: boolean;
|
|
370
375
|
items: import("../..").Item<any>[];
|
|
371
376
|
mode: "multiple" | "single";
|
|
372
377
|
}) => void) | undefined;
|
|
373
|
-
|
|
378
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
374
379
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
375
380
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
376
381
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
377
382
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
378
383
|
placement: import("@popperjs/core").Placement;
|
|
379
384
|
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
|
-
*/
|
|
385
|
+
visibility: "hidden" | "visible";
|
|
386
|
+
selectedIds: string[] | "all";
|
|
386
387
|
unselectedIds: string[];
|
|
387
388
|
cursorId: string;
|
|
388
389
|
columnCount: number;
|
|
390
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
391
|
+
cursorIndexRef: {
|
|
392
|
+
readonly current: number;
|
|
393
|
+
};
|
|
389
394
|
UNSTABLE_virtual: {
|
|
390
395
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
391
396
|
totalSize: number;
|
|
@@ -395,29 +400,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
395
400
|
};
|
|
396
401
|
UNSTABLE_defaultItemHeight: number;
|
|
397
402
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
398
|
-
orientation:
|
|
403
|
+
orientation: "horizontal" | "vertical";
|
|
399
404
|
indexRef: React.MutableRefObject<number>;
|
|
400
405
|
nonInteractiveIds: string[];
|
|
401
406
|
isVirtualized: boolean;
|
|
402
407
|
items: import("../..").Item<any>[];
|
|
403
408
|
mode: "multiple" | "single";
|
|
404
409
|
}) => void) | undefined;
|
|
405
|
-
|
|
410
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
406
411
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
407
412
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
408
413
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
409
414
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
410
415
|
placement: import("@popperjs/core").Placement;
|
|
411
416
|
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
|
-
*/
|
|
417
|
+
visibility: "hidden" | "visible";
|
|
418
|
+
selectedIds: string[] | "all";
|
|
418
419
|
unselectedIds: string[];
|
|
419
420
|
cursorId: string;
|
|
420
421
|
columnCount: number;
|
|
422
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
423
|
+
cursorIndexRef: {
|
|
424
|
+
readonly current: number;
|
|
425
|
+
};
|
|
421
426
|
UNSTABLE_virtual: {
|
|
422
427
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
423
428
|
totalSize: number;
|
|
@@ -427,29 +432,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
427
432
|
};
|
|
428
433
|
UNSTABLE_defaultItemHeight: number;
|
|
429
434
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
430
|
-
orientation:
|
|
435
|
+
orientation: "horizontal" | "vertical";
|
|
431
436
|
indexRef: React.MutableRefObject<number>;
|
|
432
437
|
nonInteractiveIds: string[];
|
|
433
438
|
isVirtualized: boolean;
|
|
434
439
|
items: import("../..").Item<any>[];
|
|
435
440
|
mode: "multiple" | "single";
|
|
436
441
|
}) => void) | undefined;
|
|
437
|
-
|
|
442
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
438
443
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
439
444
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
440
445
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
441
446
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
442
447
|
placement: import("@popperjs/core").Placement;
|
|
443
448
|
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
|
-
*/
|
|
449
|
+
visibility: "hidden" | "visible";
|
|
450
|
+
selectedIds: string[] | "all";
|
|
450
451
|
unselectedIds: string[];
|
|
451
452
|
cursorId: string;
|
|
452
453
|
columnCount: number;
|
|
454
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
455
|
+
cursorIndexRef: {
|
|
456
|
+
readonly current: number;
|
|
457
|
+
};
|
|
453
458
|
UNSTABLE_virtual: {
|
|
454
459
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
455
460
|
totalSize: number;
|
|
@@ -459,29 +464,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
459
464
|
};
|
|
460
465
|
UNSTABLE_defaultItemHeight: number;
|
|
461
466
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
462
|
-
orientation:
|
|
467
|
+
orientation: "horizontal" | "vertical";
|
|
463
468
|
indexRef: React.MutableRefObject<number>;
|
|
464
469
|
nonInteractiveIds: string[];
|
|
465
470
|
isVirtualized: boolean;
|
|
466
471
|
items: import("../..").Item<any>[];
|
|
467
472
|
mode: "multiple" | "single";
|
|
468
473
|
}) => void) | undefined;
|
|
469
|
-
|
|
474
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
470
475
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
471
476
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
472
477
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
473
478
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
474
479
|
placement: import("@popperjs/core").Placement;
|
|
475
480
|
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
|
-
*/
|
|
481
|
+
visibility: "hidden" | "visible";
|
|
482
|
+
selectedIds: string[] | "all";
|
|
482
483
|
unselectedIds: string[];
|
|
483
484
|
cursorId: string;
|
|
484
485
|
columnCount: number;
|
|
486
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
487
|
+
cursorIndexRef: {
|
|
488
|
+
readonly current: number;
|
|
489
|
+
};
|
|
485
490
|
UNSTABLE_virtual: {
|
|
486
491
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
487
492
|
totalSize: number;
|
|
@@ -491,29 +496,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
491
496
|
};
|
|
492
497
|
UNSTABLE_defaultItemHeight: number;
|
|
493
498
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
494
|
-
orientation:
|
|
499
|
+
orientation: "horizontal" | "vertical";
|
|
495
500
|
indexRef: React.MutableRefObject<number>;
|
|
496
501
|
nonInteractiveIds: string[];
|
|
497
502
|
isVirtualized: boolean;
|
|
498
503
|
items: import("../..").Item<any>[];
|
|
499
504
|
mode: "multiple" | "single";
|
|
500
505
|
}) => void) | undefined;
|
|
501
|
-
|
|
506
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
502
507
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
503
508
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
504
509
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
505
510
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
506
511
|
placement: import("@popperjs/core").Placement;
|
|
507
512
|
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
|
-
*/
|
|
513
|
+
visibility: "hidden" | "visible";
|
|
514
|
+
selectedIds: string[] | "all";
|
|
514
515
|
unselectedIds: string[];
|
|
515
516
|
cursorId: string;
|
|
516
517
|
columnCount: number;
|
|
518
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
519
|
+
cursorIndexRef: {
|
|
520
|
+
readonly current: number;
|
|
521
|
+
};
|
|
517
522
|
UNSTABLE_virtual: {
|
|
518
523
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
519
524
|
totalSize: number;
|
|
@@ -523,29 +528,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
523
528
|
};
|
|
524
529
|
UNSTABLE_defaultItemHeight: number;
|
|
525
530
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
526
|
-
orientation:
|
|
531
|
+
orientation: "horizontal" | "vertical";
|
|
527
532
|
indexRef: React.MutableRefObject<number>;
|
|
528
533
|
nonInteractiveIds: string[];
|
|
529
534
|
isVirtualized: boolean;
|
|
530
535
|
items: import("../..").Item<any>[];
|
|
531
536
|
mode: "multiple" | "single";
|
|
532
537
|
}) => void) | undefined;
|
|
533
|
-
|
|
538
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
534
539
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
535
540
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
536
541
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
537
542
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
538
543
|
placement: import("@popperjs/core").Placement;
|
|
539
544
|
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
|
-
*/
|
|
545
|
+
visibility: "hidden" | "visible";
|
|
546
|
+
selectedIds: string[] | "all";
|
|
546
547
|
unselectedIds: string[];
|
|
547
548
|
cursorId: string;
|
|
548
549
|
columnCount: number;
|
|
550
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
551
|
+
cursorIndexRef: {
|
|
552
|
+
readonly current: number;
|
|
553
|
+
};
|
|
549
554
|
UNSTABLE_virtual: {
|
|
550
555
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
551
556
|
totalSize: number;
|
|
@@ -555,29 +560,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
555
560
|
};
|
|
556
561
|
UNSTABLE_defaultItemHeight: number;
|
|
557
562
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
558
|
-
orientation:
|
|
563
|
+
orientation: "horizontal" | "vertical";
|
|
559
564
|
indexRef: React.MutableRefObject<number>;
|
|
560
565
|
nonInteractiveIds: string[];
|
|
561
566
|
isVirtualized: boolean;
|
|
562
567
|
items: import("../..").Item<any>[];
|
|
563
568
|
mode: "multiple" | "single";
|
|
564
569
|
}) => void) | undefined;
|
|
565
|
-
|
|
570
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
566
571
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
567
572
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
568
573
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
569
574
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
570
575
|
placement: import("@popperjs/core").Placement;
|
|
571
576
|
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
|
-
*/
|
|
577
|
+
visibility: "hidden" | "visible";
|
|
578
|
+
selectedIds: string[] | "all";
|
|
578
579
|
unselectedIds: string[];
|
|
579
580
|
cursorId: string;
|
|
580
581
|
columnCount: number;
|
|
582
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
583
|
+
cursorIndexRef: {
|
|
584
|
+
readonly current: number;
|
|
585
|
+
};
|
|
581
586
|
UNSTABLE_virtual: {
|
|
582
587
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
583
588
|
totalSize: number;
|
|
@@ -587,29 +592,32 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
587
592
|
};
|
|
588
593
|
UNSTABLE_defaultItemHeight: number;
|
|
589
594
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
590
|
-
orientation:
|
|
595
|
+
orientation: "horizontal" | "vertical";
|
|
591
596
|
indexRef: React.MutableRefObject<number>;
|
|
592
597
|
nonInteractiveIds: string[];
|
|
593
598
|
isVirtualized: boolean;
|
|
594
599
|
items: import("../..").Item<any>[];
|
|
595
600
|
mode: "multiple" | "single";
|
|
596
601
|
}) => void) | undefined;
|
|
597
|
-
|
|
602
|
+
onRegisterItem?: ((data: {
|
|
603
|
+
item: any;
|
|
604
|
+
textValue: string;
|
|
605
|
+
}, prevState: {
|
|
598
606
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
599
607
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
600
608
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
601
609
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
602
610
|
placement: import("@popperjs/core").Placement;
|
|
603
611
|
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
|
-
*/
|
|
612
|
+
visibility: "hidden" | "visible";
|
|
613
|
+
selectedIds: string[] | "all";
|
|
610
614
|
unselectedIds: string[];
|
|
611
615
|
cursorId: string;
|
|
612
616
|
columnCount: number;
|
|
617
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
618
|
+
cursorIndexRef: {
|
|
619
|
+
readonly current: number;
|
|
620
|
+
};
|
|
613
621
|
UNSTABLE_virtual: {
|
|
614
622
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
615
623
|
totalSize: number;
|
|
@@ -619,7 +627,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
619
627
|
};
|
|
620
628
|
UNSTABLE_defaultItemHeight: number;
|
|
621
629
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
622
|
-
orientation:
|
|
630
|
+
orientation: "horizontal" | "vertical";
|
|
623
631
|
indexRef: React.MutableRefObject<number>;
|
|
624
632
|
nonInteractiveIds: string[];
|
|
625
633
|
isVirtualized: boolean;
|
|
@@ -635,15 +643,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
635
643
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
636
644
|
placement: import("@popperjs/core").Placement;
|
|
637
645
|
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
|
-
*/
|
|
646
|
+
visibility: "hidden" | "visible";
|
|
647
|
+
selectedIds: string[] | "all";
|
|
644
648
|
unselectedIds: string[];
|
|
645
649
|
cursorId: string;
|
|
646
650
|
columnCount: number;
|
|
651
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
652
|
+
cursorIndexRef: {
|
|
653
|
+
readonly current: number;
|
|
654
|
+
};
|
|
647
655
|
UNSTABLE_virtual: {
|
|
648
656
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
649
657
|
totalSize: number;
|
|
@@ -653,7 +661,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
653
661
|
};
|
|
654
662
|
UNSTABLE_defaultItemHeight: number;
|
|
655
663
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
656
|
-
orientation:
|
|
664
|
+
orientation: "horizontal" | "vertical";
|
|
657
665
|
indexRef: React.MutableRefObject<number>;
|
|
658
666
|
nonInteractiveIds: string[];
|
|
659
667
|
isVirtualized: boolean;
|
|
@@ -669,15 +677,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
669
677
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
670
678
|
placement: import("@popperjs/core").Placement;
|
|
671
679
|
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
|
-
*/
|
|
680
|
+
visibility: "hidden" | "visible";
|
|
681
|
+
selectedIds: string[] | "all";
|
|
678
682
|
unselectedIds: string[];
|
|
679
683
|
cursorId: string;
|
|
680
684
|
columnCount: number;
|
|
685
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
686
|
+
cursorIndexRef: {
|
|
687
|
+
readonly current: number;
|
|
688
|
+
};
|
|
681
689
|
UNSTABLE_virtual: {
|
|
682
690
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
683
691
|
totalSize: number;
|
|
@@ -687,7 +695,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
687
695
|
};
|
|
688
696
|
UNSTABLE_defaultItemHeight: number;
|
|
689
697
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
690
|
-
orientation:
|
|
698
|
+
orientation: "horizontal" | "vertical";
|
|
691
699
|
indexRef: React.MutableRefObject<number>;
|
|
692
700
|
nonInteractiveIds: string[];
|
|
693
701
|
isVirtualized: boolean;
|
|
@@ -704,15 +712,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
704
712
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
705
713
|
placement: import("@popperjs/core").Placement;
|
|
706
714
|
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
|
-
*/
|
|
715
|
+
visibility: "hidden" | "visible";
|
|
716
|
+
selectedIds: string[] | "all";
|
|
713
717
|
unselectedIds: string[];
|
|
714
718
|
cursorId: string;
|
|
715
719
|
columnCount: number;
|
|
720
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
721
|
+
cursorIndexRef: {
|
|
722
|
+
readonly current: number;
|
|
723
|
+
};
|
|
716
724
|
UNSTABLE_virtual: {
|
|
717
725
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
718
726
|
totalSize: number;
|
|
@@ -722,7 +730,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
722
730
|
};
|
|
723
731
|
UNSTABLE_defaultItemHeight: number;
|
|
724
732
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
725
|
-
orientation:
|
|
733
|
+
orientation: "horizontal" | "vertical";
|
|
726
734
|
indexRef: React.MutableRefObject<number>;
|
|
727
735
|
nonInteractiveIds: string[];
|
|
728
736
|
isVirtualized: boolean;
|
|
@@ -736,15 +744,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
736
744
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
737
745
|
placement: import("@popperjs/core").Placement;
|
|
738
746
|
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
|
-
*/
|
|
747
|
+
visibility: "hidden" | "visible";
|
|
748
|
+
selectedIds: string[] | "all";
|
|
745
749
|
unselectedIds: string[];
|
|
746
750
|
cursorId: string;
|
|
747
751
|
columnCount: number;
|
|
752
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
753
|
+
cursorIndexRef: {
|
|
754
|
+
readonly current: number;
|
|
755
|
+
};
|
|
748
756
|
UNSTABLE_virtual: {
|
|
749
757
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
750
758
|
totalSize: number;
|
|
@@ -754,7 +762,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
754
762
|
};
|
|
755
763
|
UNSTABLE_defaultItemHeight: number;
|
|
756
764
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
757
|
-
orientation:
|
|
765
|
+
orientation: "horizontal" | "vertical";
|
|
758
766
|
indexRef: React.MutableRefObject<number>;
|
|
759
767
|
nonInteractiveIds: string[];
|
|
760
768
|
isVirtualized: boolean;
|
|
@@ -768,15 +776,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
768
776
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
769
777
|
placement: import("@popperjs/core").Placement;
|
|
770
778
|
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
|
-
*/
|
|
779
|
+
visibility: "hidden" | "visible";
|
|
780
|
+
selectedIds: string[] | "all";
|
|
777
781
|
unselectedIds: string[];
|
|
778
782
|
cursorId: string;
|
|
779
783
|
columnCount: number;
|
|
784
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
785
|
+
cursorIndexRef: {
|
|
786
|
+
readonly current: number;
|
|
787
|
+
};
|
|
780
788
|
UNSTABLE_virtual: {
|
|
781
789
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
782
790
|
totalSize: number;
|
|
@@ -786,7 +794,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
786
794
|
};
|
|
787
795
|
UNSTABLE_defaultItemHeight: number;
|
|
788
796
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
789
|
-
orientation:
|
|
797
|
+
orientation: "horizontal" | "vertical";
|
|
790
798
|
indexRef: React.MutableRefObject<number>;
|
|
791
799
|
nonInteractiveIds: string[];
|
|
792
800
|
isVirtualized: boolean;
|
|
@@ -802,15 +810,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
802
810
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
803
811
|
placement: import("@popperjs/core").Placement;
|
|
804
812
|
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
|
-
*/
|
|
813
|
+
visibility: "hidden" | "visible";
|
|
814
|
+
selectedIds: string[] | "all";
|
|
811
815
|
unselectedIds: string[];
|
|
812
816
|
cursorId: string;
|
|
813
817
|
columnCount: number;
|
|
818
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
819
|
+
cursorIndexRef: {
|
|
820
|
+
readonly current: number;
|
|
821
|
+
};
|
|
814
822
|
UNSTABLE_virtual: {
|
|
815
823
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
816
824
|
totalSize: number;
|
|
@@ -820,7 +828,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
820
828
|
};
|
|
821
829
|
UNSTABLE_defaultItemHeight: number;
|
|
822
830
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
823
|
-
orientation:
|
|
831
|
+
orientation: "horizontal" | "vertical";
|
|
824
832
|
indexRef: React.MutableRefObject<number>;
|
|
825
833
|
nonInteractiveIds: string[];
|
|
826
834
|
isVirtualized: boolean;
|
|
@@ -834,15 +842,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
834
842
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
835
843
|
placement: import("@popperjs/core").Placement;
|
|
836
844
|
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
|
-
*/
|
|
845
|
+
visibility: "hidden" | "visible";
|
|
846
|
+
selectedIds: string[] | "all";
|
|
843
847
|
unselectedIds: string[];
|
|
844
848
|
cursorId: string;
|
|
845
849
|
columnCount: number;
|
|
850
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
851
|
+
cursorIndexRef: {
|
|
852
|
+
readonly current: number;
|
|
853
|
+
};
|
|
846
854
|
UNSTABLE_virtual: {
|
|
847
855
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
848
856
|
totalSize: number;
|
|
@@ -852,7 +860,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
852
860
|
};
|
|
853
861
|
UNSTABLE_defaultItemHeight: number;
|
|
854
862
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
855
|
-
orientation:
|
|
863
|
+
orientation: "horizontal" | "vertical";
|
|
856
864
|
indexRef: React.MutableRefObject<number>;
|
|
857
865
|
nonInteractiveIds: string[];
|
|
858
866
|
isVirtualized: boolean;
|
|
@@ -866,15 +874,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
866
874
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
867
875
|
placement: import("@popperjs/core").Placement;
|
|
868
876
|
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
|
-
*/
|
|
877
|
+
visibility: "hidden" | "visible";
|
|
878
|
+
selectedIds: string[] | "all";
|
|
875
879
|
unselectedIds: string[];
|
|
876
880
|
cursorId: string;
|
|
877
881
|
columnCount: number;
|
|
882
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
883
|
+
cursorIndexRef: {
|
|
884
|
+
readonly current: number;
|
|
885
|
+
};
|
|
878
886
|
UNSTABLE_virtual: {
|
|
879
887
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
880
888
|
totalSize: number;
|
|
@@ -884,16 +892,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
884
892
|
};
|
|
885
893
|
UNSTABLE_defaultItemHeight: number;
|
|
886
894
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
887
|
-
orientation:
|
|
895
|
+
orientation: "horizontal" | "vertical";
|
|
888
896
|
indexRef: React.MutableRefObject<number>;
|
|
889
897
|
nonInteractiveIds: string[];
|
|
890
898
|
isVirtualized: boolean;
|
|
891
899
|
items: import("../..").Item<any>[];
|
|
892
900
|
mode: "multiple" | "single";
|
|
893
901
|
}) => boolean) | undefined;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
textValue: string;
|
|
902
|
+
shouldGoTo?: ((data: {
|
|
903
|
+
id: string;
|
|
897
904
|
}, state: {
|
|
898
905
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
899
906
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -901,15 +908,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
901
908
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
902
909
|
placement: import("@popperjs/core").Placement;
|
|
903
910
|
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
|
-
*/
|
|
911
|
+
visibility: "hidden" | "visible";
|
|
912
|
+
selectedIds: string[] | "all";
|
|
910
913
|
unselectedIds: string[];
|
|
911
914
|
cursorId: string;
|
|
912
915
|
columnCount: number;
|
|
916
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
917
|
+
cursorIndexRef: {
|
|
918
|
+
readonly current: number;
|
|
919
|
+
};
|
|
913
920
|
UNSTABLE_virtual: {
|
|
914
921
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
915
922
|
totalSize: number;
|
|
@@ -919,31 +926,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
919
926
|
};
|
|
920
927
|
UNSTABLE_defaultItemHeight: number;
|
|
921
928
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
922
|
-
orientation:
|
|
929
|
+
orientation: "horizontal" | "vertical";
|
|
923
930
|
indexRef: React.MutableRefObject<number>;
|
|
924
931
|
nonInteractiveIds: string[];
|
|
925
932
|
isVirtualized: boolean;
|
|
926
933
|
items: import("../..").Item<any>[];
|
|
927
934
|
mode: "multiple" | "single";
|
|
928
935
|
}) => boolean) | undefined;
|
|
929
|
-
|
|
930
|
-
id: string;
|
|
931
|
-
}, state: {
|
|
936
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
932
937
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
933
938
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
934
939
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
935
940
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
936
941
|
placement: import("@popperjs/core").Placement;
|
|
937
942
|
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
|
-
*/
|
|
943
|
+
visibility: "hidden" | "visible";
|
|
944
|
+
selectedIds: string[] | "all";
|
|
944
945
|
unselectedIds: string[];
|
|
945
946
|
cursorId: string;
|
|
946
947
|
columnCount: number;
|
|
948
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
949
|
+
cursorIndexRef: {
|
|
950
|
+
readonly current: number;
|
|
951
|
+
};
|
|
947
952
|
UNSTABLE_virtual: {
|
|
948
953
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
949
954
|
totalSize: number;
|
|
@@ -953,29 +958,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
953
958
|
};
|
|
954
959
|
UNSTABLE_defaultItemHeight: number;
|
|
955
960
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
956
|
-
orientation:
|
|
961
|
+
orientation: "horizontal" | "vertical";
|
|
957
962
|
indexRef: React.MutableRefObject<number>;
|
|
958
963
|
nonInteractiveIds: string[];
|
|
959
964
|
isVirtualized: boolean;
|
|
960
965
|
items: import("../..").Item<any>[];
|
|
961
966
|
mode: "multiple" | "single";
|
|
962
967
|
}) => boolean) | undefined;
|
|
963
|
-
|
|
968
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
964
969
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
965
970
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
966
971
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
967
972
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
968
973
|
placement: import("@popperjs/core").Placement;
|
|
969
974
|
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
|
-
*/
|
|
975
|
+
visibility: "hidden" | "visible";
|
|
976
|
+
selectedIds: string[] | "all";
|
|
976
977
|
unselectedIds: string[];
|
|
977
978
|
cursorId: string;
|
|
978
979
|
columnCount: number;
|
|
980
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
981
|
+
cursorIndexRef: {
|
|
982
|
+
readonly current: number;
|
|
983
|
+
};
|
|
979
984
|
UNSTABLE_virtual: {
|
|
980
985
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
981
986
|
totalSize: number;
|
|
@@ -985,29 +990,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
985
990
|
};
|
|
986
991
|
UNSTABLE_defaultItemHeight: number;
|
|
987
992
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
988
|
-
orientation:
|
|
993
|
+
orientation: "horizontal" | "vertical";
|
|
989
994
|
indexRef: React.MutableRefObject<number>;
|
|
990
995
|
nonInteractiveIds: string[];
|
|
991
996
|
isVirtualized: boolean;
|
|
992
997
|
items: import("../..").Item<any>[];
|
|
993
998
|
mode: "multiple" | "single";
|
|
994
999
|
}) => boolean) | undefined;
|
|
995
|
-
|
|
1000
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
996
1001
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
997
1002
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
998
1003
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
999
1004
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1000
1005
|
placement: import("@popperjs/core").Placement;
|
|
1001
1006
|
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
|
-
*/
|
|
1007
|
+
visibility: "hidden" | "visible";
|
|
1008
|
+
selectedIds: string[] | "all";
|
|
1008
1009
|
unselectedIds: string[];
|
|
1009
1010
|
cursorId: string;
|
|
1010
1011
|
columnCount: number;
|
|
1012
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1013
|
+
cursorIndexRef: {
|
|
1014
|
+
readonly current: number;
|
|
1015
|
+
};
|
|
1011
1016
|
UNSTABLE_virtual: {
|
|
1012
1017
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1013
1018
|
totalSize: number;
|
|
@@ -1017,29 +1022,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1017
1022
|
};
|
|
1018
1023
|
UNSTABLE_defaultItemHeight: number;
|
|
1019
1024
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1020
|
-
orientation:
|
|
1025
|
+
orientation: "horizontal" | "vertical";
|
|
1021
1026
|
indexRef: React.MutableRefObject<number>;
|
|
1022
1027
|
nonInteractiveIds: string[];
|
|
1023
1028
|
isVirtualized: boolean;
|
|
1024
1029
|
items: import("../..").Item<any>[];
|
|
1025
1030
|
mode: "multiple" | "single";
|
|
1026
1031
|
}) => boolean) | undefined;
|
|
1027
|
-
|
|
1032
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
1028
1033
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1029
1034
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1030
1035
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1031
1036
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1032
1037
|
placement: import("@popperjs/core").Placement;
|
|
1033
1038
|
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
|
-
*/
|
|
1039
|
+
visibility: "hidden" | "visible";
|
|
1040
|
+
selectedIds: string[] | "all";
|
|
1040
1041
|
unselectedIds: string[];
|
|
1041
1042
|
cursorId: string;
|
|
1042
1043
|
columnCount: number;
|
|
1044
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1045
|
+
cursorIndexRef: {
|
|
1046
|
+
readonly current: number;
|
|
1047
|
+
};
|
|
1043
1048
|
UNSTABLE_virtual: {
|
|
1044
1049
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1045
1050
|
totalSize: number;
|
|
@@ -1049,29 +1054,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1049
1054
|
};
|
|
1050
1055
|
UNSTABLE_defaultItemHeight: number;
|
|
1051
1056
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1052
|
-
orientation:
|
|
1057
|
+
orientation: "horizontal" | "vertical";
|
|
1053
1058
|
indexRef: React.MutableRefObject<number>;
|
|
1054
1059
|
nonInteractiveIds: string[];
|
|
1055
1060
|
isVirtualized: boolean;
|
|
1056
1061
|
items: import("../..").Item<any>[];
|
|
1057
1062
|
mode: "multiple" | "single";
|
|
1058
1063
|
}) => boolean) | undefined;
|
|
1059
|
-
|
|
1064
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
1060
1065
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1061
1066
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1062
1067
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1063
1068
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1064
1069
|
placement: import("@popperjs/core").Placement;
|
|
1065
1070
|
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
|
-
*/
|
|
1071
|
+
visibility: "hidden" | "visible";
|
|
1072
|
+
selectedIds: string[] | "all";
|
|
1072
1073
|
unselectedIds: string[];
|
|
1073
1074
|
cursorId: string;
|
|
1074
1075
|
columnCount: number;
|
|
1076
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1077
|
+
cursorIndexRef: {
|
|
1078
|
+
readonly current: number;
|
|
1079
|
+
};
|
|
1075
1080
|
UNSTABLE_virtual: {
|
|
1076
1081
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1077
1082
|
totalSize: number;
|
|
@@ -1081,29 +1086,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1081
1086
|
};
|
|
1082
1087
|
UNSTABLE_defaultItemHeight: number;
|
|
1083
1088
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1084
|
-
orientation:
|
|
1089
|
+
orientation: "horizontal" | "vertical";
|
|
1085
1090
|
indexRef: React.MutableRefObject<number>;
|
|
1086
1091
|
nonInteractiveIds: string[];
|
|
1087
1092
|
isVirtualized: boolean;
|
|
1088
1093
|
items: import("../..").Item<any>[];
|
|
1089
1094
|
mode: "multiple" | "single";
|
|
1090
1095
|
}) => boolean) | undefined;
|
|
1091
|
-
|
|
1096
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
1092
1097
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1093
1098
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1094
1099
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1095
1100
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1096
1101
|
placement: import("@popperjs/core").Placement;
|
|
1097
1102
|
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
|
-
*/
|
|
1103
|
+
visibility: "hidden" | "visible";
|
|
1104
|
+
selectedIds: string[] | "all";
|
|
1104
1105
|
unselectedIds: string[];
|
|
1105
1106
|
cursorId: string;
|
|
1106
1107
|
columnCount: number;
|
|
1108
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1109
|
+
cursorIndexRef: {
|
|
1110
|
+
readonly current: number;
|
|
1111
|
+
};
|
|
1107
1112
|
UNSTABLE_virtual: {
|
|
1108
1113
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1109
1114
|
totalSize: number;
|
|
@@ -1113,29 +1118,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1113
1118
|
};
|
|
1114
1119
|
UNSTABLE_defaultItemHeight: number;
|
|
1115
1120
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1116
|
-
orientation:
|
|
1121
|
+
orientation: "horizontal" | "vertical";
|
|
1117
1122
|
indexRef: React.MutableRefObject<number>;
|
|
1118
1123
|
nonInteractiveIds: string[];
|
|
1119
1124
|
isVirtualized: boolean;
|
|
1120
1125
|
items: import("../..").Item<any>[];
|
|
1121
1126
|
mode: "multiple" | "single";
|
|
1122
1127
|
}) => boolean) | undefined;
|
|
1123
|
-
|
|
1128
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1124
1129
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1125
1130
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1126
1131
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1127
1132
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1128
1133
|
placement: import("@popperjs/core").Placement;
|
|
1129
1134
|
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
|
-
*/
|
|
1135
|
+
visibility: "hidden" | "visible";
|
|
1136
|
+
selectedIds: string[] | "all";
|
|
1136
1137
|
unselectedIds: string[];
|
|
1137
1138
|
cursorId: string;
|
|
1138
1139
|
columnCount: number;
|
|
1140
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1141
|
+
cursorIndexRef: {
|
|
1142
|
+
readonly current: number;
|
|
1143
|
+
};
|
|
1139
1144
|
UNSTABLE_virtual: {
|
|
1140
1145
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1141
1146
|
totalSize: number;
|
|
@@ -1145,29 +1150,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1145
1150
|
};
|
|
1146
1151
|
UNSTABLE_defaultItemHeight: number;
|
|
1147
1152
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1148
|
-
orientation:
|
|
1153
|
+
orientation: "horizontal" | "vertical";
|
|
1149
1154
|
indexRef: React.MutableRefObject<number>;
|
|
1150
1155
|
nonInteractiveIds: string[];
|
|
1151
1156
|
isVirtualized: boolean;
|
|
1152
1157
|
items: import("../..").Item<any>[];
|
|
1153
1158
|
mode: "multiple" | "single";
|
|
1154
1159
|
}) => boolean) | undefined;
|
|
1155
|
-
|
|
1160
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1156
1161
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1157
1162
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1158
1163
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1159
1164
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1160
1165
|
placement: import("@popperjs/core").Placement;
|
|
1161
1166
|
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
|
-
*/
|
|
1167
|
+
visibility: "hidden" | "visible";
|
|
1168
|
+
selectedIds: string[] | "all";
|
|
1168
1169
|
unselectedIds: string[];
|
|
1169
1170
|
cursorId: string;
|
|
1170
1171
|
columnCount: number;
|
|
1172
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1173
|
+
cursorIndexRef: {
|
|
1174
|
+
readonly current: number;
|
|
1175
|
+
};
|
|
1171
1176
|
UNSTABLE_virtual: {
|
|
1172
1177
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1173
1178
|
totalSize: number;
|
|
@@ -1177,29 +1182,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1177
1182
|
};
|
|
1178
1183
|
UNSTABLE_defaultItemHeight: number;
|
|
1179
1184
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1180
|
-
orientation:
|
|
1185
|
+
orientation: "horizontal" | "vertical";
|
|
1181
1186
|
indexRef: React.MutableRefObject<number>;
|
|
1182
1187
|
nonInteractiveIds: string[];
|
|
1183
1188
|
isVirtualized: boolean;
|
|
1184
1189
|
items: import("../..").Item<any>[];
|
|
1185
1190
|
mode: "multiple" | "single";
|
|
1186
1191
|
}) => boolean) | undefined;
|
|
1187
|
-
|
|
1192
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1188
1193
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1189
1194
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1190
1195
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1191
1196
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1192
1197
|
placement: import("@popperjs/core").Placement;
|
|
1193
1198
|
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
|
-
*/
|
|
1199
|
+
visibility: "hidden" | "visible";
|
|
1200
|
+
selectedIds: string[] | "all";
|
|
1200
1201
|
unselectedIds: string[];
|
|
1201
1202
|
cursorId: string;
|
|
1202
1203
|
columnCount: number;
|
|
1204
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1205
|
+
cursorIndexRef: {
|
|
1206
|
+
readonly current: number;
|
|
1207
|
+
};
|
|
1203
1208
|
UNSTABLE_virtual: {
|
|
1204
1209
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1205
1210
|
totalSize: number;
|
|
@@ -1209,29 +1214,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1209
1214
|
};
|
|
1210
1215
|
UNSTABLE_defaultItemHeight: number;
|
|
1211
1216
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1212
|
-
orientation:
|
|
1217
|
+
orientation: "horizontal" | "vertical";
|
|
1213
1218
|
indexRef: React.MutableRefObject<number>;
|
|
1214
1219
|
nonInteractiveIds: string[];
|
|
1215
1220
|
isVirtualized: boolean;
|
|
1216
1221
|
items: import("../..").Item<any>[];
|
|
1217
1222
|
mode: "multiple" | "single";
|
|
1218
1223
|
}) => boolean) | undefined;
|
|
1219
|
-
|
|
1224
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1220
1225
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1221
1226
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1222
1227
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1223
1228
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1224
1229
|
placement: import("@popperjs/core").Placement;
|
|
1225
1230
|
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
|
-
*/
|
|
1231
|
+
visibility: "hidden" | "visible";
|
|
1232
|
+
selectedIds: string[] | "all";
|
|
1232
1233
|
unselectedIds: string[];
|
|
1233
1234
|
cursorId: string;
|
|
1234
1235
|
columnCount: number;
|
|
1236
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1237
|
+
cursorIndexRef: {
|
|
1238
|
+
readonly current: number;
|
|
1239
|
+
};
|
|
1235
1240
|
UNSTABLE_virtual: {
|
|
1236
1241
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1237
1242
|
totalSize: number;
|
|
@@ -1241,29 +1246,32 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1241
1246
|
};
|
|
1242
1247
|
UNSTABLE_defaultItemHeight: number;
|
|
1243
1248
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1244
|
-
orientation:
|
|
1249
|
+
orientation: "horizontal" | "vertical";
|
|
1245
1250
|
indexRef: React.MutableRefObject<number>;
|
|
1246
1251
|
nonInteractiveIds: string[];
|
|
1247
1252
|
isVirtualized: boolean;
|
|
1248
1253
|
items: import("../..").Item<any>[];
|
|
1249
1254
|
mode: "multiple" | "single";
|
|
1250
1255
|
}) => boolean) | undefined;
|
|
1251
|
-
|
|
1256
|
+
shouldRegisterItem?: ((data: {
|
|
1257
|
+
item: any;
|
|
1258
|
+
textValue: string;
|
|
1259
|
+
}, state: {
|
|
1252
1260
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1253
1261
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1254
1262
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
1255
1263
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1256
1264
|
placement: import("@popperjs/core").Placement;
|
|
1257
1265
|
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
|
-
*/
|
|
1266
|
+
visibility: "hidden" | "visible";
|
|
1267
|
+
selectedIds: string[] | "all";
|
|
1264
1268
|
unselectedIds: string[];
|
|
1265
1269
|
cursorId: string;
|
|
1266
1270
|
columnCount: number;
|
|
1271
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1272
|
+
cursorIndexRef: {
|
|
1273
|
+
readonly current: number;
|
|
1274
|
+
};
|
|
1267
1275
|
UNSTABLE_virtual: {
|
|
1268
1276
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1269
1277
|
totalSize: number;
|
|
@@ -1273,7 +1281,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1273
1281
|
};
|
|
1274
1282
|
UNSTABLE_defaultItemHeight: number;
|
|
1275
1283
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1276
|
-
orientation:
|
|
1284
|
+
orientation: "horizontal" | "vertical";
|
|
1277
1285
|
indexRef: React.MutableRefObject<number>;
|
|
1278
1286
|
nonInteractiveIds: string[];
|
|
1279
1287
|
isVirtualized: boolean;
|
|
@@ -1289,15 +1297,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1289
1297
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1290
1298
|
placement: import("@popperjs/core").Placement;
|
|
1291
1299
|
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
|
-
*/
|
|
1300
|
+
visibility: "hidden" | "visible";
|
|
1301
|
+
selectedIds: string[] | "all";
|
|
1298
1302
|
unselectedIds: string[];
|
|
1299
1303
|
cursorId: string;
|
|
1300
1304
|
columnCount: number;
|
|
1305
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1306
|
+
cursorIndexRef: {
|
|
1307
|
+
readonly current: number;
|
|
1308
|
+
};
|
|
1301
1309
|
UNSTABLE_virtual: {
|
|
1302
1310
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1303
1311
|
totalSize: number;
|
|
@@ -1307,7 +1315,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1307
1315
|
};
|
|
1308
1316
|
UNSTABLE_defaultItemHeight: number;
|
|
1309
1317
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1310
|
-
orientation:
|
|
1318
|
+
orientation: "horizontal" | "vertical";
|
|
1311
1319
|
indexRef: React.MutableRefObject<number>;
|
|
1312
1320
|
nonInteractiveIds: string[];
|
|
1313
1321
|
isVirtualized: boolean;
|
|
@@ -1323,15 +1331,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1323
1331
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1324
1332
|
placement: import("@popperjs/core").Placement;
|
|
1325
1333
|
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
|
-
*/
|
|
1334
|
+
visibility: "hidden" | "visible";
|
|
1335
|
+
selectedIds: string[] | "all";
|
|
1332
1336
|
unselectedIds: string[];
|
|
1333
1337
|
cursorId: string;
|
|
1334
1338
|
columnCount: number;
|
|
1339
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1340
|
+
cursorIndexRef: {
|
|
1341
|
+
readonly current: number;
|
|
1342
|
+
};
|
|
1335
1343
|
UNSTABLE_virtual: {
|
|
1336
1344
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1337
1345
|
totalSize: number;
|
|
@@ -1341,7 +1349,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1341
1349
|
};
|
|
1342
1350
|
UNSTABLE_defaultItemHeight: number;
|
|
1343
1351
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1344
|
-
orientation:
|
|
1352
|
+
orientation: "horizontal" | "vertical";
|
|
1345
1353
|
indexRef: React.MutableRefObject<number>;
|
|
1346
1354
|
nonInteractiveIds: string[];
|
|
1347
1355
|
isVirtualized: boolean;
|
|
@@ -1356,15 +1364,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1356
1364
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1357
1365
|
placement: import("@popperjs/core").Placement;
|
|
1358
1366
|
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
|
-
*/
|
|
1367
|
+
visibility: "hidden" | "visible";
|
|
1368
|
+
selectedIds: string[] | "all";
|
|
1365
1369
|
unselectedIds: string[];
|
|
1366
1370
|
cursorId: string;
|
|
1367
1371
|
columnCount: number;
|
|
1372
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1373
|
+
cursorIndexRef: {
|
|
1374
|
+
readonly current: number;
|
|
1375
|
+
};
|
|
1368
1376
|
UNSTABLE_virtual: {
|
|
1369
1377
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1370
1378
|
totalSize: number;
|
|
@@ -1374,7 +1382,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1374
1382
|
};
|
|
1375
1383
|
UNSTABLE_defaultItemHeight: number;
|
|
1376
1384
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1377
|
-
orientation:
|
|
1385
|
+
orientation: "horizontal" | "vertical";
|
|
1378
1386
|
indexRef: React.MutableRefObject<number>;
|
|
1379
1387
|
nonInteractiveIds: string[];
|
|
1380
1388
|
isVirtualized: boolean;
|
|
@@ -1392,10 +1400,6 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1392
1400
|
}): void;
|
|
1393
1401
|
selectAll(): void;
|
|
1394
1402
|
unselectAll(): void;
|
|
1395
|
-
registerItem(data: {
|
|
1396
|
-
item: any;
|
|
1397
|
-
textValue: string;
|
|
1398
|
-
}): void;
|
|
1399
1403
|
goTo(data: {
|
|
1400
1404
|
id: string;
|
|
1401
1405
|
}): void;
|
|
@@ -1409,6 +1413,10 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1409
1413
|
goToLastOfRow(): void;
|
|
1410
1414
|
goToNextPage(): void;
|
|
1411
1415
|
goToPreviousPage(): void;
|
|
1416
|
+
registerItem(data: {
|
|
1417
|
+
item: any;
|
|
1418
|
+
textValue: string;
|
|
1419
|
+
}): void;
|
|
1412
1420
|
unregisterItem(data: {
|
|
1413
1421
|
id: string;
|
|
1414
1422
|
}): void;
|
|
@@ -1421,11 +1429,22 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1421
1429
|
getId: (item: any) => string;
|
|
1422
1430
|
}> & {
|
|
1423
1431
|
/**
|
|
1424
|
-
*
|
|
1425
|
-
*
|
|
1426
|
-
*
|
|
1432
|
+
* `Menu.Target` is similar to all {@link PopupTarget Popup.Target} types. The component only
|
|
1433
|
+
* provides behavior and no styling. The `as` prop is used to determine which component is
|
|
1434
|
+
* rendered. This component should forward the `ref` and apply any additional props directly to
|
|
1435
|
+
* an element. The default `as` is a {@link SecondaryButton}. Any Canvas Kit component should
|
|
1436
|
+
* work with an `as`.
|
|
1437
|
+
*
|
|
1438
|
+
* An example changing to a {@link PrimaryButton}
|
|
1439
|
+
*
|
|
1440
|
+
* ```tsx
|
|
1441
|
+
* <Menu.Target as={PrimaryButton}>Primary Button Text</Menu.Target>
|
|
1442
|
+
* ```
|
|
1443
|
+
*
|
|
1444
|
+
* This element will apply `aria-haspopup` and `aria-expanded` to inform screen readers there's
|
|
1445
|
+
* a popup associated with the element.
|
|
1427
1446
|
*/
|
|
1428
|
-
|
|
1447
|
+
Target: import("@workday/canvas-kit-react/common").ElementComponentM<import("@workday/canvas-kit-react/common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("./MenuTarget").MenuTargetProps, {
|
|
1429
1448
|
state: {
|
|
1430
1449
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1431
1450
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1433,15 +1452,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1433
1452
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1434
1453
|
placement: import("@popperjs/core").Placement;
|
|
1435
1454
|
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
|
-
*/
|
|
1455
|
+
visibility: "hidden" | "visible";
|
|
1456
|
+
selectedIds: string[] | "all";
|
|
1442
1457
|
unselectedIds: string[];
|
|
1443
1458
|
cursorId: string;
|
|
1444
1459
|
columnCount: number;
|
|
1460
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1461
|
+
cursorIndexRef: {
|
|
1462
|
+
readonly current: number;
|
|
1463
|
+
};
|
|
1445
1464
|
UNSTABLE_virtual: {
|
|
1446
1465
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1447
1466
|
totalSize: number;
|
|
@@ -1451,7 +1470,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1451
1470
|
};
|
|
1452
1471
|
UNSTABLE_defaultItemHeight: number;
|
|
1453
1472
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1454
|
-
orientation:
|
|
1473
|
+
orientation: "horizontal" | "vertical";
|
|
1455
1474
|
indexRef: React.MutableRefObject<number>;
|
|
1456
1475
|
nonInteractiveIds: string[];
|
|
1457
1476
|
isVirtualized: boolean;
|
|
@@ -1469,10 +1488,6 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1469
1488
|
}): void;
|
|
1470
1489
|
selectAll(): void;
|
|
1471
1490
|
unselectAll(): void;
|
|
1472
|
-
registerItem(data: {
|
|
1473
|
-
item: any;
|
|
1474
|
-
textValue: string;
|
|
1475
|
-
}): void;
|
|
1476
1491
|
goTo(data: {
|
|
1477
1492
|
id: string;
|
|
1478
1493
|
}): void;
|
|
@@ -1486,6 +1501,10 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1486
1501
|
goToLastOfRow(): void;
|
|
1487
1502
|
goToNextPage(): void;
|
|
1488
1503
|
goToPreviousPage(): void;
|
|
1504
|
+
registerItem(data: {
|
|
1505
|
+
item: any;
|
|
1506
|
+
textValue: string;
|
|
1507
|
+
}): void;
|
|
1489
1508
|
unregisterItem(data: {
|
|
1490
1509
|
id: string;
|
|
1491
1510
|
}): void;
|
|
@@ -1498,28 +1517,11 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1498
1517
|
getId: (item: any) => string;
|
|
1499
1518
|
}>;
|
|
1500
1519
|
/**
|
|
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
|
-
* }
|
|
1520
|
+
* The menu card is a non-semantic element used to give the dropdown menu its distinct visual
|
|
1521
|
+
* cue that the dropdown menu is floating above other content. A menu card usually contains a
|
|
1522
|
+
* menu list, but can also contain other elements like a header or footer.
|
|
1521
1523
|
*/
|
|
1522
|
-
|
|
1524
|
+
Card: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuCard").MenuCardProps, {
|
|
1523
1525
|
state: {
|
|
1524
1526
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1525
1527
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1527,15 +1529,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1527
1529
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1528
1530
|
placement: import("@popperjs/core").Placement;
|
|
1529
1531
|
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
|
-
*/
|
|
1532
|
+
visibility: "hidden" | "visible";
|
|
1533
|
+
selectedIds: string[] | "all";
|
|
1536
1534
|
unselectedIds: string[];
|
|
1537
1535
|
cursorId: string;
|
|
1538
1536
|
columnCount: number;
|
|
1537
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1538
|
+
cursorIndexRef: {
|
|
1539
|
+
readonly current: number;
|
|
1540
|
+
};
|
|
1539
1541
|
UNSTABLE_virtual: {
|
|
1540
1542
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1541
1543
|
totalSize: number;
|
|
@@ -1545,7 +1547,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1545
1547
|
};
|
|
1546
1548
|
UNSTABLE_defaultItemHeight: number;
|
|
1547
1549
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1548
|
-
orientation:
|
|
1550
|
+
orientation: "horizontal" | "vertical";
|
|
1549
1551
|
indexRef: React.MutableRefObject<number>;
|
|
1550
1552
|
nonInteractiveIds: string[];
|
|
1551
1553
|
isVirtualized: boolean;
|
|
@@ -1563,10 +1565,6 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1563
1565
|
}): void;
|
|
1564
1566
|
selectAll(): void;
|
|
1565
1567
|
unselectAll(): void;
|
|
1566
|
-
registerItem(data: {
|
|
1567
|
-
item: any;
|
|
1568
|
-
textValue: string;
|
|
1569
|
-
}): void;
|
|
1570
1568
|
goTo(data: {
|
|
1571
1569
|
id: string;
|
|
1572
1570
|
}): void;
|
|
@@ -1580,6 +1578,10 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1580
1578
|
goToLastOfRow(): void;
|
|
1581
1579
|
goToNextPage(): void;
|
|
1582
1580
|
goToPreviousPage(): void;
|
|
1581
|
+
registerItem(data: {
|
|
1582
|
+
item: any;
|
|
1583
|
+
textValue: string;
|
|
1584
|
+
}): void;
|
|
1583
1585
|
unregisterItem(data: {
|
|
1584
1586
|
id: string;
|
|
1585
1587
|
}): void;
|
|
@@ -1592,11 +1594,29 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1592
1594
|
getId: (item: any) => string;
|
|
1593
1595
|
}>;
|
|
1594
1596
|
/**
|
|
1595
|
-
*
|
|
1596
|
-
*
|
|
1597
|
-
*
|
|
1597
|
+
* The menu list follows the Collections API. A list can either contain static items
|
|
1598
|
+
* or a render prop and `items` to the model.
|
|
1599
|
+
*
|
|
1600
|
+
* ```tsx
|
|
1601
|
+
* const MyComponent = () => {
|
|
1602
|
+
* const model = useMenuModel({
|
|
1603
|
+
* items: [
|
|
1604
|
+
* { id: 'first', text: 'First Item' },
|
|
1605
|
+
* { id: 'second', text: 'Second Item' },
|
|
1606
|
+
* ]
|
|
1607
|
+
* })
|
|
1608
|
+
*
|
|
1609
|
+
* return (
|
|
1610
|
+
* <Menu model={model}>
|
|
1611
|
+
* <Menu.List>
|
|
1612
|
+
* {(item) => <Menu.Item data-id={item.id}>{item.text}</Menu.Item>}
|
|
1613
|
+
* </Menu.List>
|
|
1614
|
+
* </Menu>
|
|
1615
|
+
* )
|
|
1616
|
+
* }
|
|
1617
|
+
* ```
|
|
1598
1618
|
*/
|
|
1599
|
-
|
|
1619
|
+
List: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuList").MenuListProps<any>, {
|
|
1600
1620
|
state: {
|
|
1601
1621
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1602
1622
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1604,15 +1624,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1604
1624
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1605
1625
|
placement: import("@popperjs/core").Placement;
|
|
1606
1626
|
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
|
-
*/
|
|
1627
|
+
visibility: "hidden" | "visible";
|
|
1628
|
+
selectedIds: string[] | "all";
|
|
1613
1629
|
unselectedIds: string[];
|
|
1614
1630
|
cursorId: string;
|
|
1615
1631
|
columnCount: number;
|
|
1632
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1633
|
+
cursorIndexRef: {
|
|
1634
|
+
readonly current: number;
|
|
1635
|
+
};
|
|
1616
1636
|
UNSTABLE_virtual: {
|
|
1617
1637
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1618
1638
|
totalSize: number;
|
|
@@ -1622,7 +1642,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1622
1642
|
};
|
|
1623
1643
|
UNSTABLE_defaultItemHeight: number;
|
|
1624
1644
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1625
|
-
orientation:
|
|
1645
|
+
orientation: "horizontal" | "vertical";
|
|
1626
1646
|
indexRef: React.MutableRefObject<number>;
|
|
1627
1647
|
nonInteractiveIds: string[];
|
|
1628
1648
|
isVirtualized: boolean;
|
|
@@ -1640,10 +1660,6 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1640
1660
|
}): void;
|
|
1641
1661
|
selectAll(): void;
|
|
1642
1662
|
unselectAll(): void;
|
|
1643
|
-
registerItem(data: {
|
|
1644
|
-
item: any;
|
|
1645
|
-
textValue: string;
|
|
1646
|
-
}): void;
|
|
1647
1663
|
goTo(data: {
|
|
1648
1664
|
id: string;
|
|
1649
1665
|
}): void;
|
|
@@ -1657,6 +1673,10 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1657
1673
|
goToLastOfRow(): void;
|
|
1658
1674
|
goToNextPage(): void;
|
|
1659
1675
|
goToPreviousPage(): void;
|
|
1676
|
+
registerItem(data: {
|
|
1677
|
+
item: any;
|
|
1678
|
+
textValue: string;
|
|
1679
|
+
}): void;
|
|
1660
1680
|
unregisterItem(data: {
|
|
1661
1681
|
id: string;
|
|
1662
1682
|
}): void;
|
|
@@ -1667,15 +1687,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1667
1687
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
1668
1688
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1669
1689
|
getId: (item: any) => string;
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1690
|
+
}>;
|
|
1691
|
+
/**
|
|
1692
|
+
* A `Menu.Item` has an optional `data-id` prop that identifies the item in the `Menu.List` and
|
|
1693
|
+
* will be passed to the optional `onSelect` callback of the `Menu` model. A `Menu.Item` can
|
|
1694
|
+
* contain any HTML. If more complex HTML is provided, add `data-text` to the `Menu.Item`
|
|
1695
|
+
* component if using the static API. If you're using the dynamic API, pass `getTextValue` to
|
|
1696
|
+
* the model.
|
|
1697
|
+
*/
|
|
1698
|
+
Item: import("@workday/canvas-kit-react/common").ElementComponentM<"button", import("./MenuItem").MenuItemProps, {
|
|
1679
1699
|
state: {
|
|
1680
1700
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1681
1701
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1683,15 +1703,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1683
1703
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1684
1704
|
placement: import("@popperjs/core").Placement;
|
|
1685
1705
|
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
|
-
*/
|
|
1706
|
+
visibility: "hidden" | "visible";
|
|
1707
|
+
selectedIds: string[] | "all";
|
|
1692
1708
|
unselectedIds: string[];
|
|
1693
1709
|
cursorId: string;
|
|
1694
1710
|
columnCount: number;
|
|
1711
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1712
|
+
cursorIndexRef: {
|
|
1713
|
+
readonly current: number;
|
|
1714
|
+
};
|
|
1695
1715
|
UNSTABLE_virtual: {
|
|
1696
1716
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1697
1717
|
totalSize: number;
|
|
@@ -1701,7 +1721,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1701
1721
|
};
|
|
1702
1722
|
UNSTABLE_defaultItemHeight: number;
|
|
1703
1723
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1704
|
-
orientation:
|
|
1724
|
+
orientation: "horizontal" | "vertical";
|
|
1705
1725
|
indexRef: React.MutableRefObject<number>;
|
|
1706
1726
|
nonInteractiveIds: string[];
|
|
1707
1727
|
isVirtualized: boolean;
|
|
@@ -1719,10 +1739,6 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1719
1739
|
}): void;
|
|
1720
1740
|
selectAll(): void;
|
|
1721
1741
|
unselectAll(): void;
|
|
1722
|
-
registerItem(data: {
|
|
1723
|
-
item: any;
|
|
1724
|
-
textValue: string;
|
|
1725
|
-
}): void;
|
|
1726
1742
|
goTo(data: {
|
|
1727
1743
|
id: string;
|
|
1728
1744
|
}): void;
|
|
@@ -1736,6 +1752,10 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1736
1752
|
goToLastOfRow(): void;
|
|
1737
1753
|
goToNextPage(): void;
|
|
1738
1754
|
goToPreviousPage(): void;
|
|
1755
|
+
registerItem(data: {
|
|
1756
|
+
item: any;
|
|
1757
|
+
textValue: string;
|
|
1758
|
+
}): void;
|
|
1739
1759
|
unregisterItem(data: {
|
|
1740
1760
|
id: string;
|
|
1741
1761
|
}): void;
|
|
@@ -1746,8 +1766,23 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1746
1766
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
1747
1767
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1748
1768
|
getId: (item: any) => string;
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1769
|
+
}> & {
|
|
1770
|
+
Icon: import("@emotion/styled").StyledComponent<import("../..").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("../..").SystemIconProps> & {
|
|
1771
|
+
ref?: React.Ref<HTMLSpanElement> | undefined;
|
|
1772
|
+
} & {
|
|
1773
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1774
|
+
}, {}, {}>;
|
|
1775
|
+
Text: import("@emotion/styled").StyledComponent<{
|
|
1776
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1777
|
+
as?: React.ElementType<any> | undefined;
|
|
1778
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
1779
|
+
};
|
|
1780
|
+
Divider: import("@workday/canvas-kit-react/common").ElementComponent<"hr", unknown>;
|
|
1781
|
+
/**
|
|
1782
|
+
* A `Menu.TargetContext` is the same as a {@link MenuTarget Menu.Target}, except it adds a
|
|
1783
|
+
* `context` event handler instead of a `click` handler to trigger context menus.
|
|
1784
|
+
*/
|
|
1785
|
+
TargetContext: import("@workday/canvas-kit-react/common").ElementComponentM<import("@workday/canvas-kit-react/common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("./MenuTarget").MenuTargetProps, {
|
|
1751
1786
|
state: {
|
|
1752
1787
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1753
1788
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1755,15 +1790,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1755
1790
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1756
1791
|
placement: import("@popperjs/core").Placement;
|
|
1757
1792
|
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
|
-
*/
|
|
1793
|
+
visibility: "hidden" | "visible";
|
|
1794
|
+
selectedIds: string[] | "all";
|
|
1764
1795
|
unselectedIds: string[];
|
|
1765
1796
|
cursorId: string;
|
|
1766
1797
|
columnCount: number;
|
|
1798
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1799
|
+
cursorIndexRef: {
|
|
1800
|
+
readonly current: number;
|
|
1801
|
+
};
|
|
1767
1802
|
UNSTABLE_virtual: {
|
|
1768
1803
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1769
1804
|
totalSize: number;
|
|
@@ -1773,7 +1808,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1773
1808
|
};
|
|
1774
1809
|
UNSTABLE_defaultItemHeight: number;
|
|
1775
1810
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1776
|
-
orientation:
|
|
1811
|
+
orientation: "horizontal" | "vertical";
|
|
1777
1812
|
indexRef: React.MutableRefObject<number>;
|
|
1778
1813
|
nonInteractiveIds: string[];
|
|
1779
1814
|
isVirtualized: boolean;
|
|
@@ -1791,10 +1826,6 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1791
1826
|
}): void;
|
|
1792
1827
|
selectAll(): void;
|
|
1793
1828
|
unselectAll(): void;
|
|
1794
|
-
registerItem(data: {
|
|
1795
|
-
item: any;
|
|
1796
|
-
textValue: string;
|
|
1797
|
-
}): void;
|
|
1798
1829
|
goTo(data: {
|
|
1799
1830
|
id: string;
|
|
1800
1831
|
}): void;
|
|
@@ -1808,6 +1839,10 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1808
1839
|
goToLastOfRow(): void;
|
|
1809
1840
|
goToNextPage(): void;
|
|
1810
1841
|
goToPreviousPage(): void;
|
|
1842
|
+
registerItem(data: {
|
|
1843
|
+
item: any;
|
|
1844
|
+
textValue: string;
|
|
1845
|
+
}): void;
|
|
1811
1846
|
unregisterItem(data: {
|
|
1812
1847
|
id: string;
|
|
1813
1848
|
}): void;
|
|
@@ -1820,12 +1855,12 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1820
1855
|
getId: (item: any) => string;
|
|
1821
1856
|
}>;
|
|
1822
1857
|
/**
|
|
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.
|
|
1858
|
+
* The "Popper" of a menu. The popper will appear around the {@link MenuTarget Menu.Target}. It
|
|
1859
|
+
* renders a `div` element that is portalled to the `document.body` which is controlled by the
|
|
1860
|
+
* {@link PopupStack}. The `PopupStack` is not part of React. This means no extra props given to
|
|
1861
|
+
* this component will be forwarded to the `div` element, but the `ref` will be forwarded.
|
|
1827
1862
|
*/
|
|
1828
|
-
Popper: import("
|
|
1863
|
+
Popper: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./MenuPopper").MenuPopperProps, {
|
|
1829
1864
|
state: {
|
|
1830
1865
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1831
1866
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -1833,15 +1868,15 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1833
1868
|
returnFocusRef: React.RefObject<any> | undefined;
|
|
1834
1869
|
placement: import("@popperjs/core").Placement;
|
|
1835
1870
|
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
|
-
*/
|
|
1871
|
+
visibility: "hidden" | "visible";
|
|
1872
|
+
selectedIds: string[] | "all";
|
|
1842
1873
|
unselectedIds: string[];
|
|
1843
1874
|
cursorId: string;
|
|
1844
1875
|
columnCount: number;
|
|
1876
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1877
|
+
cursorIndexRef: {
|
|
1878
|
+
readonly current: number;
|
|
1879
|
+
};
|
|
1845
1880
|
UNSTABLE_virtual: {
|
|
1846
1881
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1847
1882
|
totalSize: number;
|
|
@@ -1851,7 +1886,7 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1851
1886
|
};
|
|
1852
1887
|
UNSTABLE_defaultItemHeight: number;
|
|
1853
1888
|
containerRef: React.RefObject<HTMLDivElement>;
|
|
1854
|
-
orientation:
|
|
1889
|
+
orientation: "horizontal" | "vertical";
|
|
1855
1890
|
indexRef: React.MutableRefObject<number>;
|
|
1856
1891
|
nonInteractiveIds: string[];
|
|
1857
1892
|
isVirtualized: boolean;
|
|
@@ -1869,10 +1904,6 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1869
1904
|
}): void;
|
|
1870
1905
|
selectAll(): void;
|
|
1871
1906
|
unselectAll(): void;
|
|
1872
|
-
registerItem(data: {
|
|
1873
|
-
item: any;
|
|
1874
|
-
textValue: string;
|
|
1875
|
-
}): void;
|
|
1876
1907
|
goTo(data: {
|
|
1877
1908
|
id: string;
|
|
1878
1909
|
}): void;
|
|
@@ -1886,6 +1917,10 @@ export declare const Menu: import("../../common").ComponentM<MenuProps & Partial
|
|
|
1886
1917
|
goToLastOfRow(): void;
|
|
1887
1918
|
goToNextPage(): void;
|
|
1888
1919
|
goToPreviousPage(): void;
|
|
1920
|
+
registerItem(data: {
|
|
1921
|
+
item: any;
|
|
1922
|
+
textValue: string;
|
|
1923
|
+
}): void;
|
|
1889
1924
|
unregisterItem(data: {
|
|
1890
1925
|
id: string;
|
|
1891
1926
|
}): void;
|