@patternfly/react-core 6.0.0-alpha.57 → 6.0.0-alpha.58
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/CHANGELOG.md +6 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/Text/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/Tile/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
- package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/package.json +1 -1
- package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
- package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
- package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
- package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
- package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
- package/dist/dynamic/helpers/constants/package.json +1 -1
- package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
- package/dist/dynamic/helpers/fileUtils/package.json +1 -1
- package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
- package/dist/dynamic/helpers/package.json +1 -1
- package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
- package/dist/dynamic/helpers/typeUtils/package.json +1 -1
- package/dist/dynamic/helpers/useInterval/package.json +1 -1
- package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
- package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
- package/dist/dynamic/helpers/util/package.json +1 -1
- package/dist/dynamic/layouts/Bullseye/package.json +1 -1
- package/dist/dynamic/layouts/Flex/package.json +1 -1
- package/dist/dynamic/layouts/Gallery/package.json +1 -1
- package/dist/dynamic/layouts/Grid/package.json +1 -1
- package/dist/dynamic/layouts/Level/package.json +1 -1
- package/dist/dynamic/layouts/Split/package.json +1 -1
- package/dist/dynamic/layouts/Stack/package.json +1 -1
- package/dist/dynamic/next/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/next/components/Modal/package.json +1 -1
- package/dist/dynamic/next/components/package.json +1 -1
- package/dist/dynamic/styles/package.json +1 -1
- package/dist/esm/deprecated/components/index.d.ts +0 -6
- package/dist/esm/deprecated/components/index.d.ts.map +1 -1
- package/dist/esm/deprecated/components/index.js +0 -6
- package/dist/esm/deprecated/components/index.js.map +1 -1
- package/dist/js/deprecated/components/index.d.ts +0 -6
- package/dist/js/deprecated/components/index.d.ts.map +1 -1
- package/dist/js/deprecated/components/index.js +0 -6
- package/dist/js/deprecated/components/index.js.map +1 -1
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +2 -2
- package/src/components/Page/__tests__/Page.test.tsx +14 -14
- package/src/components/Page/__tests__/__snapshots__/Page.test.tsx.snap +26 -224
- package/src/deprecated/components/index.ts +0 -6
- package/dist/dynamic/deprecated/components/ApplicationLauncher/package.json +0 -1
- package/dist/dynamic/deprecated/components/ContextSelector/package.json +0 -1
- package/dist/dynamic/deprecated/components/Dropdown/package.json +0 -1
- package/dist/dynamic/deprecated/components/OptionsMenu/package.json +0 -1
- package/dist/dynamic/deprecated/components/PageHeader/package.json +0 -1
- package/dist/dynamic/deprecated/components/Select/package.json +0 -1
- package/dist/dynamic/helpers/favorites/package.json +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts +0 -60
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.js +0 -99
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncher.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts +0 -7
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js +0 -16
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts +0 -5
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js +0 -6
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts +0 -4
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js +0 -9
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts +0 -9
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js +0 -12
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts +0 -31
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js +0 -22
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts +0 -6
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js +0 -3
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts +0 -4
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js +0 -11
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts +0 -9
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js +0 -10
- package/dist/esm/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/index.d.ts +0 -10
- package/dist/esm/deprecated/components/ApplicationLauncher/index.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/index.js +0 -10
- package/dist/esm/deprecated/components/ApplicationLauncher/index.js.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelector.d.ts +0 -75
- package/dist/esm/deprecated/components/ContextSelector/ContextSelector.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelector.js +0 -73
- package/dist/esm/deprecated/components/ContextSelector/ContextSelector.js.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts +0 -9
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.js +0 -10
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorFooter.js.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.d.ts +0 -26
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.js +0 -40
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorItem.js.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts +0 -21
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.js +0 -33
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorMenuList.js.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts +0 -39
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.js +0 -74
- package/dist/esm/deprecated/components/ContextSelector/ContextSelectorToggle.js.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.d.ts +0 -5
- package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.js +0 -6
- package/dist/esm/deprecated/components/ContextSelector/contextSelectorConstants.js.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/index.d.ts +0 -4
- package/dist/esm/deprecated/components/ContextSelector/index.d.ts.map +0 -1
- package/dist/esm/deprecated/components/ContextSelector/index.js +0 -4
- package/dist/esm/deprecated/components/ContextSelector/index.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/BadgeToggle.d.ts +0 -35
- package/dist/esm/deprecated/components/Dropdown/BadgeToggle.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/BadgeToggle.js +0 -20
- package/dist/esm/deprecated/components/Dropdown/BadgeToggle.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/Dropdown.d.ts +0 -66
- package/dist/esm/deprecated/components/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/Dropdown.js +0 -16
- package/dist/esm/deprecated/components/Dropdown/Dropdown.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownGroup.d.ts +0 -11
- package/dist/esm/deprecated/components/Dropdown/DropdownGroup.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownGroup.js +0 -15
- package/dist/esm/deprecated/components/Dropdown/DropdownGroup.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownItem.d.ts +0 -52
- package/dist/esm/deprecated/components/Dropdown/DropdownItem.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownItem.js +0 -15
- package/dist/esm/deprecated/components/Dropdown/DropdownItem.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownMenu.d.ts +0 -53
- package/dist/esm/deprecated/components/Dropdown/DropdownMenu.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownMenu.js +0 -131
- package/dist/esm/deprecated/components/Dropdown/DropdownMenu.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.d.ts +0 -14
- package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.js +0 -16
- package/dist/esm/deprecated/components/Dropdown/DropdownSeparator.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownToggle.d.ts +0 -50
- package/dist/esm/deprecated/components/Dropdown/DropdownToggle.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownToggle.js +0 -32
- package/dist/esm/deprecated/components/Dropdown/DropdownToggle.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.d.ts +0 -22
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.js +0 -18
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleAction.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts +0 -45
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.js +0 -51
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.d.ts +0 -20
- package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.js +0 -99
- package/dist/esm/deprecated/components/Dropdown/DropdownWithContext.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.d.ts +0 -67
- package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.js +0 -149
- package/dist/esm/deprecated/components/Dropdown/InternalDropdownItem.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/KebabToggle.d.ts +0 -32
- package/dist/esm/deprecated/components/Dropdown/KebabToggle.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/KebabToggle.js +0 -16
- package/dist/esm/deprecated/components/Dropdown/KebabToggle.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/Toggle.d.ts +0 -51
- package/dist/esm/deprecated/components/Dropdown/Toggle.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/Toggle.js +0 -93
- package/dist/esm/deprecated/components/Dropdown/Toggle.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/dropdownConstants.d.ts +0 -41
- package/dist/esm/deprecated/components/Dropdown/dropdownConstants.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/dropdownConstants.js +0 -35
- package/dist/esm/deprecated/components/Dropdown/dropdownConstants.js.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/index.d.ts +0 -13
- package/dist/esm/deprecated/components/Dropdown/index.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Dropdown/index.js +0 -13
- package/dist/esm/deprecated/components/Dropdown/index.js.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.d.ts +0 -48
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.d.ts.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.js +0 -40
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenu.js.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts +0 -17
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.js +0 -15
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItem.js.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts +0 -15
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js +0 -15
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts +0 -4
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.js +0 -9
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuSeparator.js.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts +0 -28
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.js +0 -15
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggle.js.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts +0 -37
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js +0 -63
- package/dist/esm/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/index.d.ts +0 -7
- package/dist/esm/deprecated/components/OptionsMenu/index.d.ts.map +0 -1
- package/dist/esm/deprecated/components/OptionsMenu/index.js +0 -7
- package/dist/esm/deprecated/components/OptionsMenu/index.js.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeader.d.ts +0 -29
- package/dist/esm/deprecated/components/PageHeader/PageHeader.d.ts.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeader.js +0 -34
- package/dist/esm/deprecated/components/PageHeader/PageHeader.js.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.d.ts +0 -9
- package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.d.ts.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.js +0 -10
- package/dist/esm/deprecated/components/PageHeader/PageHeaderTools.js.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts +0 -18
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.js +0 -13
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsGroup.js.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts +0 -20
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.js +0 -13
- package/dist/esm/deprecated/components/PageHeader/PageHeaderToolsItem.js.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/index.d.ts +0 -5
- package/dist/esm/deprecated/components/PageHeader/index.d.ts.map +0 -1
- package/dist/esm/deprecated/components/PageHeader/index.js +0 -5
- package/dist/esm/deprecated/components/PageHeader/index.js.map +0 -1
- package/dist/esm/deprecated/components/Select/Select.d.ts +0 -200
- package/dist/esm/deprecated/components/Select/Select.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Select/Select.js +0 -941
- package/dist/esm/deprecated/components/Select/Select.js.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectGroup.d.ts +0 -13
- package/dist/esm/deprecated/components/Select/SelectGroup.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectGroup.js +0 -13
- package/dist/esm/deprecated/components/Select/SelectGroup.js.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectMenu.d.ts +0 -47
- package/dist/esm/deprecated/components/Select/SelectMenu.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectMenu.js +0 -164
- package/dist/esm/deprecated/components/Select/SelectMenu.js.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectOption.d.ts +0 -74
- package/dist/esm/deprecated/components/Select/SelectOption.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectOption.js +0 -197
- package/dist/esm/deprecated/components/Select/SelectOption.js.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectToggle.d.ts +0 -57
- package/dist/esm/deprecated/components/Select/SelectToggle.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Select/SelectToggle.js +0 -208
- package/dist/esm/deprecated/components/Select/SelectToggle.js.map +0 -1
- package/dist/esm/deprecated/components/Select/index.d.ts +0 -5
- package/dist/esm/deprecated/components/Select/index.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Select/index.js +0 -5
- package/dist/esm/deprecated/components/Select/index.js.map +0 -1
- package/dist/esm/deprecated/components/Select/selectConstants.d.ts +0 -29
- package/dist/esm/deprecated/components/Select/selectConstants.d.ts.map +0 -1
- package/dist/esm/deprecated/components/Select/selectConstants.js +0 -23
- package/dist/esm/deprecated/components/Select/selectConstants.js.map +0 -1
- package/dist/esm/helpers/favorites.d.ts +0 -19
- package/dist/esm/helpers/favorites.d.ts.map +0 -1
- package/dist/esm/helpers/favorites.js +0 -64
- package/dist/esm/helpers/favorites.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts +0 -60
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.js +0 -102
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncher.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts +0 -7
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js +0 -21
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts +0 -5
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js +0 -10
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts +0 -4
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js +0 -13
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts +0 -9
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js +0 -16
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts +0 -31
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js +0 -26
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts +0 -6
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js +0 -7
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts +0 -4
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js +0 -15
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts +0 -9
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js +0 -14
- package/dist/js/deprecated/components/ApplicationLauncher/ApplicationLauncherText.js.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/index.d.ts +0 -10
- package/dist/js/deprecated/components/ApplicationLauncher/index.d.ts.map +0 -1
- package/dist/js/deprecated/components/ApplicationLauncher/index.js +0 -13
- package/dist/js/deprecated/components/ApplicationLauncher/index.js.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelector.d.ts +0 -75
- package/dist/js/deprecated/components/ContextSelector/ContextSelector.d.ts.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelector.js +0 -76
- package/dist/js/deprecated/components/ContextSelector/ContextSelector.js.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts +0 -9
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.d.ts.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.js +0 -14
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorFooter.js.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.d.ts +0 -26
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.d.ts.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.js +0 -43
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorItem.js.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts +0 -21
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.d.ts.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.js +0 -36
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorMenuList.js.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts +0 -39
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.d.ts.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.js +0 -77
- package/dist/js/deprecated/components/ContextSelector/ContextSelectorToggle.js.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.d.ts +0 -5
- package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.d.ts.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.js +0 -10
- package/dist/js/deprecated/components/ContextSelector/contextSelectorConstants.js.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/index.d.ts +0 -4
- package/dist/js/deprecated/components/ContextSelector/index.d.ts.map +0 -1
- package/dist/js/deprecated/components/ContextSelector/index.js +0 -7
- package/dist/js/deprecated/components/ContextSelector/index.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/BadgeToggle.d.ts +0 -35
- package/dist/js/deprecated/components/Dropdown/BadgeToggle.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/BadgeToggle.js +0 -24
- package/dist/js/deprecated/components/Dropdown/BadgeToggle.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/Dropdown.d.ts +0 -66
- package/dist/js/deprecated/components/Dropdown/Dropdown.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/Dropdown.js +0 -20
- package/dist/js/deprecated/components/Dropdown/Dropdown.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownGroup.d.ts +0 -11
- package/dist/js/deprecated/components/Dropdown/DropdownGroup.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownGroup.js +0 -19
- package/dist/js/deprecated/components/Dropdown/DropdownGroup.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownItem.d.ts +0 -52
- package/dist/js/deprecated/components/Dropdown/DropdownItem.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownItem.js +0 -19
- package/dist/js/deprecated/components/Dropdown/DropdownItem.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownMenu.d.ts +0 -53
- package/dist/js/deprecated/components/Dropdown/DropdownMenu.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownMenu.js +0 -134
- package/dist/js/deprecated/components/Dropdown/DropdownMenu.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownSeparator.d.ts +0 -14
- package/dist/js/deprecated/components/Dropdown/DropdownSeparator.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownSeparator.js +0 -20
- package/dist/js/deprecated/components/Dropdown/DropdownSeparator.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownToggle.d.ts +0 -50
- package/dist/js/deprecated/components/Dropdown/DropdownToggle.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownToggle.js +0 -36
- package/dist/js/deprecated/components/Dropdown/DropdownToggle.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.d.ts +0 -22
- package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.js +0 -21
- package/dist/js/deprecated/components/Dropdown/DropdownToggleAction.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts +0 -45
- package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.js +0 -54
- package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownWithContext.d.ts +0 -20
- package/dist/js/deprecated/components/Dropdown/DropdownWithContext.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/DropdownWithContext.js +0 -102
- package/dist/js/deprecated/components/Dropdown/DropdownWithContext.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.d.ts +0 -67
- package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.js +0 -152
- package/dist/js/deprecated/components/Dropdown/InternalDropdownItem.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/KebabToggle.d.ts +0 -32
- package/dist/js/deprecated/components/Dropdown/KebabToggle.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/KebabToggle.js +0 -20
- package/dist/js/deprecated/components/Dropdown/KebabToggle.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/Toggle.d.ts +0 -51
- package/dist/js/deprecated/components/Dropdown/Toggle.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/Toggle.js +0 -96
- package/dist/js/deprecated/components/Dropdown/Toggle.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/dropdownConstants.d.ts +0 -41
- package/dist/js/deprecated/components/Dropdown/dropdownConstants.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/dropdownConstants.js +0 -39
- package/dist/js/deprecated/components/Dropdown/dropdownConstants.js.map +0 -1
- package/dist/js/deprecated/components/Dropdown/index.d.ts +0 -13
- package/dist/js/deprecated/components/Dropdown/index.d.ts.map +0 -1
- package/dist/js/deprecated/components/Dropdown/index.js +0 -16
- package/dist/js/deprecated/components/Dropdown/index.js.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.d.ts +0 -48
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.d.ts.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.js +0 -44
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenu.js.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts +0 -17
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.d.ts.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.js +0 -19
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItem.js.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts +0 -15
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.d.ts.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js +0 -19
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuItemGroup.js.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts +0 -4
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.d.ts.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.js +0 -13
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuSeparator.js.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts +0 -28
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.d.ts.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.js +0 -19
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggle.js.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts +0 -37
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.d.ts.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js +0 -67
- package/dist/js/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.js.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/index.d.ts +0 -7
- package/dist/js/deprecated/components/OptionsMenu/index.d.ts.map +0 -1
- package/dist/js/deprecated/components/OptionsMenu/index.js +0 -10
- package/dist/js/deprecated/components/OptionsMenu/index.js.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeader.d.ts +0 -29
- package/dist/js/deprecated/components/PageHeader/PageHeader.d.ts.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeader.js +0 -38
- package/dist/js/deprecated/components/PageHeader/PageHeader.js.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeaderTools.d.ts +0 -9
- package/dist/js/deprecated/components/PageHeader/PageHeaderTools.d.ts.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeaderTools.js +0 -14
- package/dist/js/deprecated/components/PageHeader/PageHeaderTools.js.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts +0 -18
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.d.ts.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.js +0 -17
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsGroup.js.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts +0 -20
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.d.ts.map +0 -1
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.js +0 -17
- package/dist/js/deprecated/components/PageHeader/PageHeaderToolsItem.js.map +0 -1
- package/dist/js/deprecated/components/PageHeader/index.d.ts +0 -5
- package/dist/js/deprecated/components/PageHeader/index.d.ts.map +0 -1
- package/dist/js/deprecated/components/PageHeader/index.js +0 -8
- package/dist/js/deprecated/components/PageHeader/index.js.map +0 -1
- package/dist/js/deprecated/components/Select/Select.d.ts +0 -200
- package/dist/js/deprecated/components/Select/Select.d.ts.map +0 -1
- package/dist/js/deprecated/components/Select/Select.js +0 -944
- package/dist/js/deprecated/components/Select/Select.js.map +0 -1
- package/dist/js/deprecated/components/Select/SelectGroup.d.ts +0 -13
- package/dist/js/deprecated/components/Select/SelectGroup.d.ts.map +0 -1
- package/dist/js/deprecated/components/Select/SelectGroup.js +0 -17
- package/dist/js/deprecated/components/Select/SelectGroup.js.map +0 -1
- package/dist/js/deprecated/components/Select/SelectMenu.d.ts +0 -47
- package/dist/js/deprecated/components/Select/SelectMenu.d.ts.map +0 -1
- package/dist/js/deprecated/components/Select/SelectMenu.js +0 -167
- package/dist/js/deprecated/components/Select/SelectMenu.js.map +0 -1
- package/dist/js/deprecated/components/Select/SelectOption.d.ts +0 -74
- package/dist/js/deprecated/components/Select/SelectOption.d.ts.map +0 -1
- package/dist/js/deprecated/components/Select/SelectOption.js +0 -200
- package/dist/js/deprecated/components/Select/SelectOption.js.map +0 -1
- package/dist/js/deprecated/components/Select/SelectToggle.d.ts +0 -57
- package/dist/js/deprecated/components/Select/SelectToggle.d.ts.map +0 -1
- package/dist/js/deprecated/components/Select/SelectToggle.js +0 -211
- package/dist/js/deprecated/components/Select/SelectToggle.js.map +0 -1
- package/dist/js/deprecated/components/Select/index.d.ts +0 -5
- package/dist/js/deprecated/components/Select/index.d.ts.map +0 -1
- package/dist/js/deprecated/components/Select/index.js +0 -8
- package/dist/js/deprecated/components/Select/index.js.map +0 -1
- package/dist/js/deprecated/components/Select/selectConstants.d.ts +0 -29
- package/dist/js/deprecated/components/Select/selectConstants.d.ts.map +0 -1
- package/dist/js/deprecated/components/Select/selectConstants.js +0 -27
- package/dist/js/deprecated/components/Select/selectConstants.js.map +0 -1
- package/dist/js/helpers/favorites.d.ts +0 -19
- package/dist/js/helpers/favorites.d.ts.map +0 -1
- package/dist/js/helpers/favorites.js +0 -70
- package/dist/js/helpers/favorites.js.map +0 -1
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncher.tsx +0 -208
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherContent.tsx +0 -34
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherContext.ts +0 -6
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherGroup.tsx +0 -8
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherIcon.tsx +0 -22
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherItem.tsx +0 -94
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherItemContext.ts +0 -3
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherSeparator.tsx +0 -9
- package/src/deprecated/components/ApplicationLauncher/ApplicationLauncherText.tsx +0 -21
- package/src/deprecated/components/ApplicationLauncher/__tests__/ApplicationLauncher.test.tsx +0 -72
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherContent.test.tsx +0 -13
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherGroup.test.tsx +0 -13
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherIcon.test.tsx +0 -13
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherSeparator.test.tsx +0 -16
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/ApplicationLauncherText.test.tsx +0 -13
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherContent.test.tsx.snap +0 -9
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherGroup.test.tsx.snap +0 -13
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherIcon.test.tsx.snap +0 -13
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherSeparator.test.tsx.snap +0 -14
- package/src/deprecated/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncherText.test.tsx.snap +0 -13
- package/src/deprecated/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +0 -597
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncher.md +0 -79
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherAlignRight.tsx +0 -33
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherAlignTop.tsx +0 -31
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherBasic.tsx +0 -23
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherCustomIcon.tsx +0 -32
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherDisabled.tsx +0 -25
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherDocumentBody.tsx +0 -31
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherFavoritesAndSearch.tsx +0 -108
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherRouterLink.tsx +0 -56
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherSectionsAndIcons.tsx +0 -47
- package/src/deprecated/components/ApplicationLauncher/examples/ApplicationLauncherTooltip.tsx +0 -35
- package/src/deprecated/components/ApplicationLauncher/index.ts +0 -9
- package/src/deprecated/components/ContextSelector/ContextSelector.tsx +0 -231
- package/src/deprecated/components/ContextSelector/ContextSelectorFooter.tsx +0 -21
- package/src/deprecated/components/ContextSelector/ContextSelectorItem.tsx +0 -78
- package/src/deprecated/components/ContextSelector/ContextSelectorMenuList.tsx +0 -51
- package/src/deprecated/components/ContextSelector/ContextSelectorToggle.tsx +0 -132
- package/src/deprecated/components/ContextSelector/__tests__/ContextSelector.test.tsx +0 -54
- package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorFooter.test.tsx +0 -8
- package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorItem.test.tsx +0 -38
- package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorMenuList.test.tsx +0 -22
- package/src/deprecated/components/ContextSelector/__tests__/ContextSelectorToggle.test.tsx +0 -60
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +0 -411
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorFooter.test.tsx.snap +0 -11
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorItem.test.tsx.snap +0 -30
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorMenuList.test.tsx.snap +0 -123
- package/src/deprecated/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +0 -161
- package/src/deprecated/components/ContextSelector/contextSelectorConstants.tsx +0 -6
- package/src/deprecated/components/ContextSelector/examples/ContextSelector.md +0 -25
- package/src/deprecated/components/ContextSelector/examples/ContextSelectorBasic.tsx +0 -85
- package/src/deprecated/components/ContextSelector/examples/ContextSelectorPlainText.tsx +0 -85
- package/src/deprecated/components/ContextSelector/examples/ContextSelectorWithFooter.tsx +0 -92
- package/src/deprecated/components/ContextSelector/index.ts +0 -3
- package/src/deprecated/components/Dropdown/BadgeToggle.tsx +0 -83
- package/src/deprecated/components/Dropdown/Dropdown.tsx +0 -115
- package/src/deprecated/components/Dropdown/DropdownGroup.tsx +0 -36
- package/src/deprecated/components/Dropdown/DropdownItem.tsx +0 -113
- package/src/deprecated/components/Dropdown/DropdownMenu.tsx +0 -254
- package/src/deprecated/components/Dropdown/DropdownSeparator.tsx +0 -42
- package/src/deprecated/components/Dropdown/DropdownToggle.tsx +0 -138
- package/src/deprecated/components/Dropdown/DropdownToggleAction.tsx +0 -46
- package/src/deprecated/components/Dropdown/DropdownToggleCheckbox.tsx +0 -130
- package/src/deprecated/components/Dropdown/DropdownWithContext.tsx +0 -193
- package/src/deprecated/components/Dropdown/InternalDropdownItem.tsx +0 -292
- package/src/deprecated/components/Dropdown/KebabToggle.tsx +0 -73
- package/src/deprecated/components/Dropdown/Toggle.tsx +0 -183
- package/src/deprecated/components/Dropdown/__tests__/Dropdown.test.tsx +0 -278
- package/src/deprecated/components/Dropdown/__tests__/DropdownGroup.test.tsx +0 -10
- package/src/deprecated/components/Dropdown/__tests__/DropdownToggle.test.tsx +0 -223
- package/src/deprecated/components/Dropdown/__tests__/DropdownToggleAction.test.tsx +0 -31
- package/src/deprecated/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +0 -65
- package/src/deprecated/components/Dropdown/__tests__/Generated/DropdownItem.test.tsx +0 -31
- package/src/deprecated/components/Dropdown/__tests__/Generated/DropdownMenu.test.tsx +0 -23
- package/src/deprecated/components/Dropdown/__tests__/Generated/DropdownSeparator.test.tsx +0 -17
- package/src/deprecated/components/Dropdown/__tests__/Generated/KebabToggle.test.tsx +0 -28
- package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/DropdownItem.test.tsx.snap +0 -9
- package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/DropdownMenu.test.tsx.snap +0 -16
- package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/DropdownSeparator.test.tsx.snap +0 -14
- package/src/deprecated/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +0 -27
- package/src/deprecated/components/Dropdown/__tests__/InternalDropdownItem.test.tsx +0 -83
- package/src/deprecated/components/Dropdown/__tests__/Toggle.test.tsx +0 -13
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +0 -978
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownGroup.test.tsx.snap +0 -21
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +0 -350
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggleAction.test.tsx.snap +0 -33
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +0 -149
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/InternalDropdownItem.test.tsx.snap +0 -178
- package/src/deprecated/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +0 -64
- package/src/deprecated/components/Dropdown/dropdownConstants.tsx +0 -64
- package/src/deprecated/components/Dropdown/examples/Dropdown.md +0 -213
- package/src/deprecated/components/Dropdown/examples/DropdownAlignmentOnBreakpoints.tsx +0 -64
- package/src/deprecated/components/Dropdown/examples/DropdownAppendBodyVsParent.tsx +0 -84
- package/src/deprecated/components/Dropdown/examples/DropdownBadge.tsx +0 -46
- package/src/deprecated/components/Dropdown/examples/DropdownBasic.tsx +0 -59
- package/src/deprecated/components/Dropdown/examples/DropdownBasicPanel.tsx +0 -34
- package/src/deprecated/components/Dropdown/examples/DropdownDescriptions.tsx +0 -55
- package/src/deprecated/components/Dropdown/examples/DropdownDirectionUp.tsx +0 -64
- package/src/deprecated/components/Dropdown/examples/DropdownDisabled.tsx +0 -57
- package/src/deprecated/components/Dropdown/examples/DropdownGroups.tsx +0 -55
- package/src/deprecated/components/Dropdown/examples/DropdownIconOnly.tsx +0 -59
- package/src/deprecated/components/Dropdown/examples/DropdownImageAndText.tsx +0 -64
- package/src/deprecated/components/Dropdown/examples/DropdownInitialSelection.tsx +0 -57
- package/src/deprecated/components/Dropdown/examples/DropdownKebab.tsx +0 -54
- package/src/deprecated/components/Dropdown/examples/DropdownPlainTextToggle.tsx +0 -59
- package/src/deprecated/components/Dropdown/examples/DropdownPositionRight.tsx +0 -64
- package/src/deprecated/components/Dropdown/examples/DropdownPrimaryToggle.tsx +0 -57
- package/src/deprecated/components/Dropdown/examples/DropdownRouterLink.tsx +0 -36
- package/src/deprecated/components/Dropdown/examples/DropdownSecondaryToggle.tsx +0 -57
- package/src/deprecated/components/Dropdown/examples/DropdownSplitButton.tsx +0 -67
- package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonAction.tsx +0 -105
- package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonActionPrimary.tsx +0 -107
- package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonActionSecondary.tsx +0 -107
- package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonDisabled.tsx +0 -73
- package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonProgressCheckbox.tsx +0 -140
- package/src/deprecated/components/Dropdown/examples/DropdownSplitButtonText.tsx +0 -69
- package/src/deprecated/components/Dropdown/index.ts +0 -12
- package/src/deprecated/components/OptionsMenu/OptionsMenu.tsx +0 -99
- package/src/deprecated/components/OptionsMenu/OptionsMenuItem.tsx +0 -47
- package/src/deprecated/components/OptionsMenu/OptionsMenuItemGroup.tsx +0 -35
- package/src/deprecated/components/OptionsMenu/OptionsMenuSeparator.tsx +0 -8
- package/src/deprecated/components/OptionsMenu/OptionsMenuToggle.tsx +0 -67
- package/src/deprecated/components/OptionsMenu/OptionsMenuToggleWithText.tsx +0 -146
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuItem.test.tsx +0 -24
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuItemGroup.test.tsx +0 -21
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuSeparator.test.tsx +0 -13
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuToggle.test.tsx +0 -28
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/OptionsMenuToggleWithText.test.tsx +0 -28
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItem.test.tsx.snap +0 -24
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItemGroup.test.tsx.snap +0 -18
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuSeparator.test.tsx.snap +0 -10
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggle.test.tsx.snap +0 -42
- package/src/deprecated/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuToggleWithText.test.tsx.snap +0 -32
- package/src/deprecated/components/OptionsMenu/__tests__/OptionsMenu.test.tsx +0 -134
- package/src/deprecated/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +0 -681
- package/src/deprecated/components/OptionsMenu/examples/OptionsMenu.md +0 -574
- package/src/deprecated/components/OptionsMenu/index.ts +0 -6
- package/src/deprecated/components/PageHeader/PageHeader.tsx +0 -103
- package/src/deprecated/components/PageHeader/PageHeaderTools.tsx +0 -21
- package/src/deprecated/components/PageHeader/PageHeaderToolsGroup.tsx +0 -43
- package/src/deprecated/components/PageHeader/PageHeaderToolsItem.tsx +0 -47
- package/src/deprecated/components/PageHeader/examples/PageHeader.md +0 -19
- package/src/deprecated/components/PageHeader/examples/PageVerticalNavUsingPageHeaderComponent.tsx +0 -42
- package/src/deprecated/components/PageHeader/index.ts +0 -4
- package/src/deprecated/components/PageHeader/tests/PageHeader.test.tsx +0 -30
- package/src/deprecated/components/PageHeader/tests/PageHeaderTools.test.tsx +0 -17
- package/src/deprecated/components/PageHeader/tests/PageHeaderToolsGroup.test.tsx +0 -17
- package/src/deprecated/components/PageHeader/tests/PageHeaderToolsItem.test.tsx +0 -15
- package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeader.test.tsx.snap +0 -59
- package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeaderTools.test.tsx.snap +0 -13
- package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeaderToolsGroup.test.tsx.snap +0 -13
- package/src/deprecated/components/PageHeader/tests/__snapshots__/PageHeaderToolsItem.test.tsx.snap +0 -14
- package/src/deprecated/components/Select/Select.tsx +0 -1495
- package/src/deprecated/components/Select/SelectGroup.tsx +0 -36
- package/src/deprecated/components/Select/SelectMenu.tsx +0 -276
- package/src/deprecated/components/Select/SelectOption.tsx +0 -463
- package/src/deprecated/components/Select/SelectToggle.tsx +0 -367
- package/src/deprecated/components/Select/__tests__/Select.test.tsx +0 -589
- package/src/deprecated/components/Select/__tests__/SelectGroup.test.tsx +0 -28
- package/src/deprecated/components/Select/__tests__/SelectOption.test.tsx +0 -246
- package/src/deprecated/components/Select/__tests__/SelectToggle.test.tsx +0 -92
- package/src/deprecated/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +0 -2415
- package/src/deprecated/components/Select/__tests__/__snapshots__/SelectGroup.test.tsx.snap +0 -24
- package/src/deprecated/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +0 -234
- package/src/deprecated/components/Select/__tests__/__snapshots__/SelectToggle.test.tsx.snap +0 -34
- package/src/deprecated/components/Select/examples/Select.md +0 -2938
- package/src/deprecated/components/Select/index.ts +0 -4
- package/src/deprecated/components/Select/selectConstants.tsx +0 -39
- package/src/helpers/favorites.ts +0 -81
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { OUIAProps } from '../../../helpers';
|
|
3
|
-
export interface ContextSelectorProps extends OUIAProps {
|
|
4
|
-
/** content rendered inside the Context Selector */
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
/** Classes applied to root element of Context Selector */
|
|
7
|
-
className?: string;
|
|
8
|
-
/** Flag to indicate if Context Selector is opened */
|
|
9
|
-
isOpen?: boolean;
|
|
10
|
-
/** Function callback called when user clicks toggle button */
|
|
11
|
-
onToggle?: (event: any, value: boolean) => void;
|
|
12
|
-
/** Function callback called when user selects item */
|
|
13
|
-
onSelect?: (event: any, value: React.ReactNode) => void;
|
|
14
|
-
/** The container to append the menu to. Defaults to 'inline'.
|
|
15
|
-
* If your menu is being cut off you can append it to an element higher up the DOM tree.
|
|
16
|
-
* Some examples:
|
|
17
|
-
* menuAppendTo="parent"
|
|
18
|
-
* menuAppendTo={() => document.body}
|
|
19
|
-
* menuAppendTo={document.getElementById('target')}
|
|
20
|
-
*/
|
|
21
|
-
menuAppendTo?: HTMLElement | (() => HTMLElement) | 'inline' | 'parent';
|
|
22
|
-
/** Flag indicating that the context selector should expand to full height */
|
|
23
|
-
isFullHeight?: boolean;
|
|
24
|
-
/** Labels the Context Selector for Screen Readers */
|
|
25
|
-
screenReaderLabel?: string;
|
|
26
|
-
/** Component or string that will be used in the context selector.
|
|
27
|
-
* This prop is placed in a button, and cannot contain any interactive elements
|
|
28
|
-
*/
|
|
29
|
-
toggleText?: React.ReactNode;
|
|
30
|
-
/** Aria-label for the Context Selector Search Button */
|
|
31
|
-
searchButtonAriaLabel?: string;
|
|
32
|
-
/** Value in the Search field */
|
|
33
|
-
searchInputValue?: string;
|
|
34
|
-
/** Function callback called when user changes the Search Input */
|
|
35
|
-
onSearchInputChange?: (event: React.FormEvent<HTMLInputElement>, value: string) => void;
|
|
36
|
-
/** Search Input placeholder */
|
|
37
|
-
searchInputPlaceholder?: string;
|
|
38
|
-
/** Function callback for when Search Button is clicked */
|
|
39
|
-
onSearchButtonClick?: (event?: React.SyntheticEvent<HTMLButtonElement>) => void;
|
|
40
|
-
/** Footer of the context selector */
|
|
41
|
-
footer?: React.ReactNode;
|
|
42
|
-
/** Flag to indicate the toggle has no border or background */
|
|
43
|
-
isPlain?: boolean;
|
|
44
|
-
/** Flag to indicate if toggle is textual toggle */
|
|
45
|
-
isText?: boolean;
|
|
46
|
-
/** Flag to disable focus trap */
|
|
47
|
-
disableFocusTrap?: boolean;
|
|
48
|
-
/** Flag for indicating that the context selector menu should automatically flip vertically when
|
|
49
|
-
* it reaches the boundary. This prop can only be used when the context selector component is not
|
|
50
|
-
* appended inline, e.g. `menuAppendTo="parent"`
|
|
51
|
-
*/
|
|
52
|
-
isFlipEnabled?: boolean;
|
|
53
|
-
/** Id of the context selector */
|
|
54
|
-
id?: string;
|
|
55
|
-
/** z-index of the context selector when menuAppendTo is not inline. */
|
|
56
|
-
zIndex?: number;
|
|
57
|
-
/** Value to overwrite the randomly generated data-ouia-component-id.*/
|
|
58
|
-
ouiaId?: number | string;
|
|
59
|
-
/** Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false. */
|
|
60
|
-
ouiaSafe?: boolean;
|
|
61
|
-
/** Adds an accessible label to the context selector menu. */
|
|
62
|
-
menuAriaLabel?: string;
|
|
63
|
-
}
|
|
64
|
-
declare class ContextSelector extends React.Component<ContextSelectorProps, {
|
|
65
|
-
ouiaStateId: string;
|
|
66
|
-
}> {
|
|
67
|
-
static displayName: string;
|
|
68
|
-
static defaultProps: ContextSelectorProps;
|
|
69
|
-
constructor(props: ContextSelectorProps);
|
|
70
|
-
parentRef: React.RefObject<HTMLDivElement>;
|
|
71
|
-
popperRef: React.RefObject<HTMLDivElement>;
|
|
72
|
-
render(): React.JSX.Element;
|
|
73
|
-
}
|
|
74
|
-
export { ContextSelector };
|
|
75
|
-
//# sourceMappingURL=ContextSelector.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelector.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAgB,SAAS,EAAoB,MAAM,kBAAkB,CAAC;AAG7E,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,mDAAmD;IACnD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qDAAqD;IACrD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,sDAAsD;IACtD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC;IACxD;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,CAAC,MAAM,W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B,EAAE;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC;IAC1F,MAAM,CAAC,WAAW,SAAqB;IACvC,MAAM,CAAC,YAAY,EAAE,oBAAoB,CAqBvC;gBACU,KAAK,EAAE,oBAAoB;IAOvC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAqB;IAC/D,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,CAAqB;IAE/D,MAAM;CAyHP;AAED,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContextSelector = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const context_selector_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/ContextSelector/context-selector"));
|
|
7
|
-
const react_styles_1 = require("@patternfly/react-styles");
|
|
8
|
-
const ContextSelectorToggle_1 = require("./ContextSelectorToggle");
|
|
9
|
-
const ContextSelectorMenuList_1 = require("./ContextSelectorMenuList");
|
|
10
|
-
const contextSelectorConstants_1 = require("./contextSelectorConstants");
|
|
11
|
-
const helpers_1 = require("../../../helpers");
|
|
12
|
-
const Popper_1 = require("../../../helpers/Popper/Popper");
|
|
13
|
-
const helpers_2 = require("../../../helpers");
|
|
14
|
-
const SearchInput_1 = require("../../../components/SearchInput");
|
|
15
|
-
class ContextSelector extends React.Component {
|
|
16
|
-
constructor(props) {
|
|
17
|
-
super(props);
|
|
18
|
-
this.parentRef = React.createRef();
|
|
19
|
-
this.popperRef = React.createRef();
|
|
20
|
-
this.state = {
|
|
21
|
-
ouiaStateId: (0, helpers_2.getDefaultOUIAId)(ContextSelector.displayName)
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
render() {
|
|
25
|
-
const _a = this.props, { children, className, isOpen, isFullHeight, onToggle, onSelect, screenReaderLabel, toggleText, searchButtonAriaLabel, searchInputValue, onSearchInputChange, searchInputPlaceholder, onSearchButtonClick, menuAppendTo, ouiaId, ouiaSafe, isPlain, isText, footer, disableFocusTrap, isFlipEnabled, id, zIndex, menuAriaLabel } = _a, props = tslib_1.__rest(_a, ["children", "className", "isOpen", "isFullHeight", "onToggle", "onSelect", "screenReaderLabel", "toggleText", "searchButtonAriaLabel", "searchInputValue", "onSearchInputChange", "searchInputPlaceholder", "onSearchButtonClick", "menuAppendTo", "ouiaId", "ouiaSafe", "isPlain", "isText", "footer", "disableFocusTrap", "isFlipEnabled", "id", "zIndex", "menuAriaLabel"]);
|
|
26
|
-
const uniqueId = id || (0, helpers_1.getUniqueId)();
|
|
27
|
-
const toggleId = `pf-v6-context-selector-toggle-id-${uniqueId}`;
|
|
28
|
-
const screenReaderLabelId = `pf-v6-context-selector-label-id-${uniqueId}`;
|
|
29
|
-
const isStatic = isFlipEnabled && menuAppendTo !== 'inline';
|
|
30
|
-
const menuContainer = (React.createElement("div", { className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorMenu, isStatic && context_selector_1.default.modifiers.static), id: uniqueId }, isOpen && (React.createElement(helpers_1.FocusTrap, { active: !disableFocusTrap, focusTrapOptions: { clickOutsideDeactivates: true, tabbableOptions: { displayCheck: 'none' } } },
|
|
31
|
-
React.createElement("div", { className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorMenuSearch) },
|
|
32
|
-
React.createElement(SearchInput_1.SearchInput, { submitSearchButtonLabel: searchButtonAriaLabel, placeholder: searchInputPlaceholder, onChange: onSearchInputChange, onSearch: (event, _value, _) => {
|
|
33
|
-
onSearchButtonClick(event);
|
|
34
|
-
}, value: searchInputValue })),
|
|
35
|
-
React.createElement(contextSelectorConstants_1.ContextSelectorContext.Provider, { value: { onSelect } },
|
|
36
|
-
React.createElement(ContextSelectorMenuList_1.ContextSelectorMenuList, { isOpen: isOpen, "aria-label": menuAriaLabel }, children)),
|
|
37
|
-
footer))));
|
|
38
|
-
const popperContainer = (React.createElement("div", Object.assign({ className: (0, react_styles_1.css)(context_selector_1.default.contextSelector, isOpen && context_selector_1.default.modifiers.expanded, className), ref: this.popperRef }, props), isOpen && menuContainer));
|
|
39
|
-
const mainContainer = (React.createElement("div", Object.assign({ className: (0, react_styles_1.css)(context_selector_1.default.contextSelector, isOpen && context_selector_1.default.modifiers.expanded, isFullHeight && context_selector_1.default.modifiers.fullHeight, className), ref: this.parentRef }, (0, helpers_2.getOUIAProps)(ContextSelector.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe), props),
|
|
40
|
-
screenReaderLabel && (React.createElement("span", { id: screenReaderLabelId, hidden: true }, screenReaderLabel)),
|
|
41
|
-
React.createElement(ContextSelectorToggle_1.ContextSelectorToggle, { onToggle: onToggle, isOpen: isOpen, toggleText: toggleText, id: toggleId, parentRef: menuAppendTo === 'inline' ? this.parentRef : this.popperRef, "aria-labelledby": `${screenReaderLabelId} ${toggleId}`, isPlain: isPlain, isText: isText }),
|
|
42
|
-
isOpen && menuAppendTo === 'inline' && menuContainer));
|
|
43
|
-
const getParentElement = () => {
|
|
44
|
-
if (this.parentRef && this.parentRef.current) {
|
|
45
|
-
return this.parentRef.current.parentElement;
|
|
46
|
-
}
|
|
47
|
-
return null;
|
|
48
|
-
};
|
|
49
|
-
return menuAppendTo === 'inline' ? (mainContainer) : (React.createElement(Popper_1.Popper, { trigger: mainContainer, triggerRef: this.parentRef, popper: popperContainer, popperRef: this.popperRef, appendTo: menuAppendTo === 'parent' ? getParentElement() : menuAppendTo, isVisible: isOpen, zIndex: zIndex }));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.ContextSelector = ContextSelector;
|
|
53
|
-
ContextSelector.displayName = 'ContextSelector';
|
|
54
|
-
ContextSelector.defaultProps = {
|
|
55
|
-
children: null,
|
|
56
|
-
className: '',
|
|
57
|
-
isOpen: false,
|
|
58
|
-
onToggle: () => undefined,
|
|
59
|
-
onSelect: () => undefined,
|
|
60
|
-
screenReaderLabel: '',
|
|
61
|
-
toggleText: '',
|
|
62
|
-
searchButtonAriaLabel: 'Search menu items',
|
|
63
|
-
searchInputValue: '',
|
|
64
|
-
onSearchInputChange: () => undefined,
|
|
65
|
-
searchInputPlaceholder: 'Search',
|
|
66
|
-
onSearchButtonClick: () => undefined,
|
|
67
|
-
menuAppendTo: 'inline',
|
|
68
|
-
ouiaSafe: true,
|
|
69
|
-
disableFocusTrap: false,
|
|
70
|
-
footer: null,
|
|
71
|
-
isPlain: false,
|
|
72
|
-
isText: false,
|
|
73
|
-
isFlipEnabled: true,
|
|
74
|
-
zIndex: 9999
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=ContextSelector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelector.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelector.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,wIAA8F;AAC9F,2DAA+C;AAC/C,mEAAgE;AAChE,uEAAoE;AACpE,yEAAoE;AACpE,8CAA0D;AAC1D,2DAAwD;AACxD,8CAA6E;AAC7E,iEAA8D;AAgE9D,MAAM,eAAgB,SAAQ,KAAK,CAAC,SAAwD;IAwB1F,YAAY,KAA2B;QACrC,KAAK,CAAC,KAAK,CAAC,CAAC;QAMf,cAAS,GAAoC,KAAK,CAAC,SAAS,EAAE,CAAC;QAC/D,cAAS,GAAoC,KAAK,CAAC,SAAS,EAAE,CAAC;QAN7D,IAAI,CAAC,KAAK,GAAG;YACX,WAAW,EAAE,IAAA,0BAAgB,EAAC,eAAe,CAAC,WAAW,CAAC;SAC3D,CAAC;IACJ,CAAC;IAKD,MAAM;QACJ,MAAM,KA0BF,IAAI,CAAC,KAAK,EA1BR,EACJ,QAAQ,EACR,SAAS,EACT,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,UAAU,EACV,qBAA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AAa,EAAE,IAAI;IACnB,MAAM,EAAE,IAAI;CACb,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface ContextSelectorFooterProps extends React.HTMLProps<HTMLDivElement> {
|
|
3
|
-
/** Content rendered inside the ContextSelectorFooter */
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
/** Additional classes added to the ContextSelectorFooter */
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const ContextSelectorFooter: React.FunctionComponent<ContextSelectorFooterProps>;
|
|
9
|
-
//# sourceMappingURL=ContextSelectorFooter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorFooter.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,0BAA2B,SAAQ,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;IACjF,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,iBAAiB,CAAC,0BAA0B,CAQrF,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContextSelectorFooter = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const react_styles_1 = require("@patternfly/react-styles");
|
|
7
|
-
const context_selector_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/ContextSelector/context-selector"));
|
|
8
|
-
const ContextSelectorFooter = (_a) => {
|
|
9
|
-
var { children = null, className = '' } = _a, props = tslib_1.__rest(_a, ["children", "className"]);
|
|
10
|
-
return (React.createElement("div", Object.assign({}, props, { className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorMenuFooter, className) }), children));
|
|
11
|
-
};
|
|
12
|
-
exports.ContextSelectorFooter = ContextSelectorFooter;
|
|
13
|
-
exports.ContextSelectorFooter.displayName = 'ContextSelectorFooter';
|
|
14
|
-
//# sourceMappingURL=ContextSelectorFooter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorFooter.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorFooter.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,wIAA8F;AASvF,MAAM,qBAAqB,GAAwD,CAAC,EAI9D,EAAE,EAAE;QAJ0D,EACzF,QAAQ,GAAG,IAAI,EACf,SAAS,GAAG,EAAE,OAEa,EADxB,KAAK,sBAHiF,yBAI1F,CADS;IACwB,OAAA,CAChC,6CAAS,KAAK,IAAE,SAAS,EAAE,IAAA,kBAAG,EAAC,0BAAM,CAAC,yBAAyB,EAAE,SAAS,CAAC,KACxE,QAAQ,CACL,CACP,CAAA;CAAA,CAAC;AARW,QAAA,qBAAqB,yBAQhC;AACF,6BAAqB,CAAC,WAAW,GAAG,uBAAuB,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface ContextSelectorItemProps {
|
|
3
|
-
/** Anything which can be rendered as Context Selector item */
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
/** Classes applied to root element of the Context Selector item */
|
|
6
|
-
className?: string;
|
|
7
|
-
/** Render Context Selector item as disabled */
|
|
8
|
-
isDisabled?: boolean;
|
|
9
|
-
/** Callback for click event */
|
|
10
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
11
|
-
/** @hide internal index of the item */
|
|
12
|
-
index?: number;
|
|
13
|
-
/** Internal callback for ref tracking */
|
|
14
|
-
sendRef?: (index: number, current: any) => void;
|
|
15
|
-
/** Link href, indicates item should render as anchor tag */
|
|
16
|
-
href?: string;
|
|
17
|
-
}
|
|
18
|
-
declare class ContextSelectorItem extends React.Component<ContextSelectorItemProps> {
|
|
19
|
-
static displayName: string;
|
|
20
|
-
static defaultProps: ContextSelectorItemProps;
|
|
21
|
-
ref: React.RefObject<HTMLButtonElement & HTMLAnchorElement>;
|
|
22
|
-
componentDidMount(): void;
|
|
23
|
-
render(): React.JSX.Element;
|
|
24
|
-
}
|
|
25
|
-
export { ContextSelectorItem };
|
|
26
|
-
//# sourceMappingURL=ContextSelectorItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorItem.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,wBAAwB;IACvC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,+BAA+B;IAC/B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IAChD,4DAA4D;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,cAAM,mBAAoB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC;IACzE,MAAM,CAAC,WAAW,SAAyB;IAC3C,MAAM,CAAC,YAAY,EAAE,wBAAwB,CAQ3C;IAEF,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAqB;IAEhF,iBAAiB;IAKjB,MAAM;CAkCP;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContextSelectorItem = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const context_selector_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/ContextSelector/context-selector"));
|
|
7
|
-
const react_styles_1 = require("@patternfly/react-styles");
|
|
8
|
-
const contextSelectorConstants_1 = require("./contextSelectorConstants");
|
|
9
|
-
class ContextSelectorItem extends React.Component {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.ref = React.createRef();
|
|
13
|
-
}
|
|
14
|
-
componentDidMount() {
|
|
15
|
-
/* eslint-disable-next-line */
|
|
16
|
-
this.props.sendRef(this.props.index, this.ref.current);
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
20
|
-
const _a = this.props, { className, children, onClick, isDisabled, index, sendRef, href } = _a, props = tslib_1.__rest(_a, ["className", "children", "onClick", "isDisabled", "index", "sendRef", "href"]);
|
|
21
|
-
const Component = href ? 'a' : 'button';
|
|
22
|
-
const isDisabledLink = href && isDisabled;
|
|
23
|
-
return (React.createElement(contextSelectorConstants_1.ContextSelectorContext.Consumer, null, ({ onSelect }) => (React.createElement("li", { role: "none" },
|
|
24
|
-
React.createElement(Component, Object.assign({ className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorMenuListItem, isDisabledLink && context_selector_1.default.modifiers.disabled, className), ref: this.ref, onClick: (event) => {
|
|
25
|
-
if (!isDisabled) {
|
|
26
|
-
onClick(event);
|
|
27
|
-
onSelect(event, children);
|
|
28
|
-
}
|
|
29
|
-
}, disabled: isDisabled && !href, href: href }, (isDisabledLink && { 'aria-disabled': true, tabIndex: -1 }), props), children)))));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
exports.ContextSelectorItem = ContextSelectorItem;
|
|
33
|
-
ContextSelectorItem.displayName = 'ContextSelectorItem';
|
|
34
|
-
ContextSelectorItem.defaultProps = {
|
|
35
|
-
children: null,
|
|
36
|
-
className: '',
|
|
37
|
-
isDisabled: false,
|
|
38
|
-
onClick: () => undefined,
|
|
39
|
-
index: undefined,
|
|
40
|
-
sendRef: () => { },
|
|
41
|
-
href: null
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=ContextSelectorItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorItem.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorItem.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,wIAA8F;AAC9F,2DAA+C;AAC/C,yEAAoE;AAmBpE,MAAM,mBAAoB,SAAQ,KAAK,CAAC,SAAmC;IAA3E;;QAYE,QAAG,GAA2D,KAAK,CAAC,SAAS,EAAE,CAAC;IAyClF,CAAC;IAvCC,iBAAiB;QACf,8BAA8B;QAC9B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACzD,CAAC;IAED,MAAM;QACJ,6DAA6D;QAC7D,MAAM,KAA+E,IAAI,CAAC,KAAK,EAAzF,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,OAAyB,EAApB,KAAK,sBAA1E,8EAA4E,CAAa,CAAC;QAChG,MAAM,SAAS,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC;QACxC,MAAM,cAAc,GAAG,IAAI,IAAI,UAAU,CAAC;QAC1C,OAAO,CACL,oBAAC,iDAAsB,CAAC,QAAQ,QAC7B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACjB,4BAAI,IAAI,EAAC,MAAM;YACb,oBAAC,SAAS,kBACR,SAAS,EAAE,IAAA,kBAAG,EACZ,0BAAM,CAAC,2BAA2B,EAClC,cAAc,IAAI,0BAAM,CAAC,SAAS,CAAC,QAAQ,EAC3C,SAAS,CACV,EACD,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;oBACjB,IAAI,CAAC,UAAU,EAAE;wBACf,OAAO,CAAC,KAAK,CAAC,CAAC;wBACf,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;qBAC3B;gBACH,CAAC,EACD,QAAQ,EAAE,UAAU,IAAI,CAAC,IAAI,EAC7B,IAAI,EAAE,IAAI,IACN,CAAC,cAAc,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,EAC3D,KAAK,GAER,QAAQ,CACC,CACT,CACN,CAC+B,CACnC,CAAC;IACJ,CAAC;;AAGM,kDAAmB;AAtDnB,+BAAW,GAAG,qBAAqB,CAAC;AACpC,gCAAY,GAA6B;IAC9C,QAAQ,EAAE,IAAuB;IACjC,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,GAAQ,EAAE,CAAC,SAAS;IAC7B,KAAK,EAAE,SAAmB;IAC1B,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC;IACjB,IAAI,EAAE,IAAc;CACrB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface ContextSelectorMenuListProps {
|
|
3
|
-
/** Content rendered inside the context selector menu */
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
/** Classess applied to root element of context selector menu */
|
|
6
|
-
className?: string;
|
|
7
|
-
/** Flag to indicate if context selector menu is opened */
|
|
8
|
-
isOpen?: boolean;
|
|
9
|
-
/** Adds an accessible label to the context selector menu. */
|
|
10
|
-
'aria-label'?: string;
|
|
11
|
-
}
|
|
12
|
-
declare class ContextSelectorMenuList extends React.Component<ContextSelectorMenuListProps> {
|
|
13
|
-
static displayName: string;
|
|
14
|
-
static defaultProps: ContextSelectorMenuListProps;
|
|
15
|
-
refsCollection: any;
|
|
16
|
-
sendRef: (index: number, ref: any) => void;
|
|
17
|
-
extendChildren(): React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
18
|
-
render: () => React.JSX.Element;
|
|
19
|
-
}
|
|
20
|
-
export { ContextSelectorMenuList };
|
|
21
|
-
//# sourceMappingURL=ContextSelectorMenuList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorMenuList.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorMenuList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,4BAA4B;IAC3C,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,cAAM,uBAAwB,SAAQ,KAAK,CAAC,SAAS,CAAC,4BAA4B,CAAC;IACjF,MAAM,CAAC,WAAW,SAA6B;IAC/C,MAAM,CAAC,YAAY,EAAE,4BAA4B,CAI/C;IAEF,cAAc,MAAa;IAE3B,OAAO,UAAW,MAAM,OAAO,GAAG,UAEhC;IAEF,cAAc;IAUd,MAAM,0BAQJ;CACH;AAED,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContextSelectorMenuList = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const context_selector_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/ContextSelector/context-selector"));
|
|
7
|
-
const react_styles_1 = require("@patternfly/react-styles");
|
|
8
|
-
class ContextSelectorMenuList extends React.Component {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this.refsCollection = [];
|
|
12
|
-
this.sendRef = (index, ref) => {
|
|
13
|
-
this.refsCollection[index] = ref;
|
|
14
|
-
};
|
|
15
|
-
this.render = () => {
|
|
16
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
17
|
-
const _a = this.props, { className, isOpen, children } = _a, props = tslib_1.__rest(_a, ["className", "isOpen", "children"]);
|
|
18
|
-
return (React.createElement("ul", Object.assign({ className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorMenuList, className), hidden: !isOpen, role: "menu" }, props), this.extendChildren()));
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
extendChildren() {
|
|
22
|
-
return React.Children.map(this.props.children, (child, index) => React.cloneElement(child, {
|
|
23
|
-
sendRef: this.sendRef,
|
|
24
|
-
index,
|
|
25
|
-
role: 'menuitem'
|
|
26
|
-
}));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
exports.ContextSelectorMenuList = ContextSelectorMenuList;
|
|
30
|
-
ContextSelectorMenuList.displayName = 'ContextSelectorMenuList';
|
|
31
|
-
ContextSelectorMenuList.defaultProps = {
|
|
32
|
-
children: null,
|
|
33
|
-
className: '',
|
|
34
|
-
isOpen: true
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=ContextSelectorMenuList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorMenuList.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorMenuList.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,wIAA8F;AAC9F,2DAA+C;AAa/C,MAAM,uBAAwB,SAAQ,KAAK,CAAC,SAAuC;IAAnF;;QAQE,mBAAc,GAAG,EAAS,CAAC;QAE3B,YAAO,GAAG,CAAC,KAAa,EAAE,GAAQ,EAAE,EAAE;YACpC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QACnC,CAAC,CAAC;QAYF,WAAM,GAAG,GAAG,EAAE;YACZ,6DAA6D;YAC7D,MAAM,KAA4C,IAAI,CAAC,KAAK,EAAtD,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,OAAyB,EAApB,KAAK,sBAAvC,mCAAyC,CAAa,CAAC;YAC7D,OAAO,CACL,0CAAI,SAAS,EAAE,IAAA,kBAAG,EAAC,0BAAM,CAAC,uBAAuB,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,IAAI,EAAC,MAAM,IAAK,KAAK,GAClG,IAAI,CAAC,cAAc,EAAE,CACnB,CACN,CAAC;QACJ,CAAC,CAAC;IACJ,CAAC;IAnBC,cAAc;QACZ,OAAO,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAC9D,KAAK,CAAC,YAAY,CAAC,KAAgC,EAAE;YACnD,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,KAAK;YACL,IAAI,EAAE,UAAU;SACjB,CAAC,CACH,CAAC;IACJ,CAAC;;AAaM,0DAAuB;AAlCvB,mCAAW,GAAG,yBAAyB,CAAC;AACxC,oCAAY,GAAiC;IAClD,QAAQ,EAAE,IAAuB;IACjC,SAAS,EAAE,EAAE;IACb,MAAM,EAAE,IAAI;CACb,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PickOptional } from '../../../helpers/typeUtils';
|
|
3
|
-
export interface ContextSelectorToggleProps {
|
|
4
|
-
/** HTML ID of toggle */
|
|
5
|
-
id: string;
|
|
6
|
-
/** Classes applied to root element of toggle */
|
|
7
|
-
className?: string;
|
|
8
|
-
/** Component or string that will be used in the context selector.
|
|
9
|
-
* This prop is placed in a button, and cannot contain any interactive elements
|
|
10
|
-
*/
|
|
11
|
-
toggleText?: React.ReactNode;
|
|
12
|
-
/** Flag to indicate if menu is opened */
|
|
13
|
-
isOpen?: boolean;
|
|
14
|
-
/** Callback called when toggle is clicked */
|
|
15
|
-
onToggle?: (event: any, value: boolean) => void;
|
|
16
|
-
/** Callback for toggle open on keyboard entry */
|
|
17
|
-
onEnter?: () => void;
|
|
18
|
-
/** Element which wraps toggle */
|
|
19
|
-
parentRef?: any;
|
|
20
|
-
/** Forces active state */
|
|
21
|
-
isActive?: boolean;
|
|
22
|
-
/** Flag to indicate the toggle has no border or background */
|
|
23
|
-
isPlain?: boolean;
|
|
24
|
-
/** Flag to indicate if toggle is textual toggle */
|
|
25
|
-
isText?: boolean;
|
|
26
|
-
}
|
|
27
|
-
declare class ContextSelectorToggle extends React.Component<ContextSelectorToggleProps> {
|
|
28
|
-
static displayName: string;
|
|
29
|
-
static defaultProps: PickOptional<ContextSelectorToggleProps>;
|
|
30
|
-
toggle: React.RefObject<HTMLButtonElement>;
|
|
31
|
-
componentDidMount: () => void;
|
|
32
|
-
componentWillUnmount: () => void;
|
|
33
|
-
onDocClick: (event: any) => void;
|
|
34
|
-
onEscPress: (event: any) => void;
|
|
35
|
-
onKeyDown: (event: any) => void;
|
|
36
|
-
render(): React.JSX.Element;
|
|
37
|
-
}
|
|
38
|
-
export { ContextSelectorToggle };
|
|
39
|
-
//# sourceMappingURL=ContextSelectorToggle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorToggle.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,MAAM,WAAW,0BAA0B;IACzC,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,yCAAyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,iCAAiC;IACjC,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mDAAmD;IACnD,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,cAAM,qBAAsB,SAAQ,KAAK,CAAC,SAAS,CAAC,0BAA0B,CAAC;IAC7E,MAAM,CAAC,WAAW,SAA2B;IAC7C,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,0BAA0B,CAAC,CAS3D;IAEF,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAqB;IAE/D,iBAAiB,aAIf;IAEF,oBAAoB,aAIlB;IAEF,UAAU,UAAW,GAAG,UAMtB;IAEF,UAAU,UAAW,GAAG,UAMtB;IAEF,SAAS,UAAW,GAAG,UAYrB;IAEF,MAAM;CAwCP;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContextSelectorToggle = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const caret_down_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/caret-down-icon'));
|
|
7
|
-
const context_selector_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/ContextSelector/context-selector"));
|
|
8
|
-
const react_styles_1 = require("@patternfly/react-styles");
|
|
9
|
-
const constants_1 = require("../../../helpers/constants");
|
|
10
|
-
class ContextSelectorToggle extends React.Component {
|
|
11
|
-
constructor() {
|
|
12
|
-
super(...arguments);
|
|
13
|
-
this.toggle = React.createRef();
|
|
14
|
-
this.componentDidMount = () => {
|
|
15
|
-
document.addEventListener('mousedown', this.onDocClick);
|
|
16
|
-
document.addEventListener('touchstart', this.onDocClick);
|
|
17
|
-
document.addEventListener('keydown', this.onEscPress);
|
|
18
|
-
};
|
|
19
|
-
this.componentWillUnmount = () => {
|
|
20
|
-
document.removeEventListener('mousedown', this.onDocClick);
|
|
21
|
-
document.removeEventListener('touchstart', this.onDocClick);
|
|
22
|
-
document.removeEventListener('keydown', this.onEscPress);
|
|
23
|
-
};
|
|
24
|
-
this.onDocClick = (event) => {
|
|
25
|
-
const { isOpen, parentRef, onToggle } = this.props;
|
|
26
|
-
if (isOpen && (parentRef === null || parentRef === void 0 ? void 0 : parentRef.current) && !parentRef.current.contains(event.target)) {
|
|
27
|
-
onToggle(null, false);
|
|
28
|
-
this.toggle.current.focus();
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
this.onEscPress = (event) => {
|
|
32
|
-
const { isOpen, onToggle } = this.props;
|
|
33
|
-
if (isOpen && event.key === constants_1.KeyTypes.Escape) {
|
|
34
|
-
onToggle(null, false);
|
|
35
|
-
this.toggle.current.focus();
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
this.onKeyDown = (event) => {
|
|
39
|
-
const { isOpen, onToggle, onEnter } = this.props;
|
|
40
|
-
if ((event.key === constants_1.KeyTypes.Tab && !isOpen) || event.key !== constants_1.KeyTypes.Enter) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
event.preventDefault();
|
|
44
|
-
if ((event.key === constants_1.KeyTypes.Tab || event.key === constants_1.KeyTypes.Enter || event.key !== constants_1.KeyTypes.Space) && isOpen) {
|
|
45
|
-
onToggle(null, !isOpen);
|
|
46
|
-
}
|
|
47
|
-
else if ((event.key === constants_1.KeyTypes.Enter || event.key === ' ') && !isOpen) {
|
|
48
|
-
onToggle(null, !isOpen);
|
|
49
|
-
onEnter();
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
render() {
|
|
54
|
-
const _a = this.props, { className, toggleText, isOpen, onToggle, id, isPlain, isText,
|
|
55
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
56
|
-
isActive, onEnter, parentRef } = _a,
|
|
57
|
-
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
58
|
-
props = tslib_1.__rest(_a, ["className", "toggleText", "isOpen", "onToggle", "id", "isPlain", "isText", "isActive", "onEnter", "parentRef"]);
|
|
59
|
-
return (React.createElement("button", Object.assign({}, props, { id: id, ref: this.toggle, className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorToggle, isActive && context_selector_1.default.modifiers.active, isPlain && context_selector_1.default.modifiers.plain, isText && context_selector_1.default.modifiers.text, className), type: "button", onClick: (event) => onToggle(event, !isOpen), "aria-expanded": isOpen, onKeyDown: this.onKeyDown }),
|
|
60
|
-
React.createElement("span", { className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorToggleText) }, toggleText),
|
|
61
|
-
React.createElement("span", { className: (0, react_styles_1.css)(context_selector_1.default.contextSelectorToggleIcon) },
|
|
62
|
-
React.createElement(caret_down_icon_1.default, { "aria-hidden": true }))));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
exports.ContextSelectorToggle = ContextSelectorToggle;
|
|
66
|
-
ContextSelectorToggle.displayName = 'ContextSelectorToggle';
|
|
67
|
-
ContextSelectorToggle.defaultProps = {
|
|
68
|
-
className: '',
|
|
69
|
-
toggleText: '',
|
|
70
|
-
isOpen: false,
|
|
71
|
-
onEnter: () => undefined,
|
|
72
|
-
parentRef: null,
|
|
73
|
-
isActive: false,
|
|
74
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
75
|
-
onToggle: (event, value) => undefined
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=ContextSelectorToggle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSelectorToggle.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/ContextSelectorToggle.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,oHAAmF;AACnF,wIAA8F;AAC9F,2DAA+C;AAC/C,0DAAsD;AA4BtD,MAAM,qBAAsB,SAAQ,KAAK,CAAC,SAAqC;IAA/E;;QAaE,WAAM,GAAuC,KAAK,CAAC,SAAS,EAAE,CAAC;QAE/D,sBAAiB,GAAG,GAAG,EAAE;YACvB,QAAQ,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACxD,QAAQ,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YACzD,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QACxD,CAAC,CAAC;QAEF,yBAAoB,GAAG,GAAG,EAAE;YAC1B,QAAQ,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAC3D,QAAQ,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;YAC5D,QAA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AAQ;YAC3E,8BAAM,SAAS,EAAE,IAAA,kBAAG,EAAC,0BAAM,CAAC,yBAAyB,CAAC;gBACpD,oBAAC,yBAAa,0BAAe,CACxB,CACA,CACV,CAAC;IACJ,CAAC;;AAGM,sDAAqB;AAlGrB,iCAAW,GAAG,uBAAuB,CAAC;AACtC,kCAAY,GAA6C;IAC9D,SAAS,EAAE,EAAE;IACb,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,GAAG,EAAE,CAAC,SAAgB;IAC/B,SAAS,EAAE,IAAW;IACtB,QAAQ,EAAE,KAAK;IACf,6DAA6D;IAC7D,QAAQ,EAAE,CAAC,KAAU,EAAE,KAAc,EAAE,EAAE,CAAC,SAAgB;CAC3D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contextSelectorConstants.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/contextSelectorConstants.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,sBAAsB;sBAEf,GAAG,SAAS,MAAM,SAAS,KAAG,GAAG;EACnD,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContextSelectorContext = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
exports.ContextSelectorContext = React.createContext({
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
8
|
-
onSelect: (event, value) => undefined
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=contextSelectorConstants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contextSelectorConstants.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/contextSelectorConstants.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAElB,QAAA,sBAAsB,GAAG,KAAK,CAAC,aAAa,CAAC;IACxD,6DAA6D;IAC7D,QAAQ,EAAE,CAAC,KAAU,EAAE,KAAsB,EAAO,EAAE,CAAC,SAAS;CACjE,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ContextSelector"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ContextSelectorItem"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ContextSelectorFooter"), exports);
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/ContextSelector/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,gEAAsC;AACtC,kEAAwC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DropdownToggleProps } from './DropdownToggle';
|
|
3
|
-
import { BadgeProps } from '../../../components/Badge';
|
|
4
|
-
export interface BadgeToggleProps extends DropdownToggleProps {
|
|
5
|
-
/** HTML ID of dropdown toggle */
|
|
6
|
-
id?: string;
|
|
7
|
-
/** Anything which can be rendered as dropdown toggle */
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
/** Badge specific properties */
|
|
10
|
-
badgeProps?: BadgeProps;
|
|
11
|
-
/** Classess applied to root element of dropdown toggle */
|
|
12
|
-
className?: string;
|
|
13
|
-
/** Flag to indicate if menu is opened */
|
|
14
|
-
isOpen?: boolean;
|
|
15
|
-
/** Label Toggle button */
|
|
16
|
-
'aria-label'?: string;
|
|
17
|
-
/** Callback called when toggle is clicked */
|
|
18
|
-
onToggle?: (event: MouseEvent | TouchEvent | KeyboardEvent | React.KeyboardEvent<any> | React.MouseEvent<HTMLButtonElement>, isOpen: boolean) => void;
|
|
19
|
-
/** Element which wraps toggle */
|
|
20
|
-
parentRef?: any;
|
|
21
|
-
/** The menu element */
|
|
22
|
-
getMenuRef?: () => HTMLElement;
|
|
23
|
-
/** Forces active state */
|
|
24
|
-
isActive?: boolean;
|
|
25
|
-
/** Disables the dropdown toggle */
|
|
26
|
-
isDisabled?: boolean;
|
|
27
|
-
/** Display the toggle with no border or background */
|
|
28
|
-
isPlain?: boolean;
|
|
29
|
-
/** Type to put on the button */
|
|
30
|
-
type?: 'button' | 'submit' | 'reset';
|
|
31
|
-
/** Allows selecting toggle to select parent */
|
|
32
|
-
bubbleEvent?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export declare const BadgeToggle: React.FunctionComponent<BadgeToggleProps>;
|
|
35
|
-
//# sourceMappingURL=BadgeToggle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BadgeToggle.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/Dropdown/BadgeToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGvD,OAAO,EAAS,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE9D,MAAM,WAAW,gBAAiB,SAAQ,mBAAmB;IAC3D,iCAAiC;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,gCAAgC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,CACT,KAAK,EAAE,UAAU,GAAG,UAAU,GAAG,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAC/G,MAAM,EAAE,OAAO,KACZ,IAAI,CAAC;IACV,iCAAiC;IACjC,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,uBAAuB;IACvB,UAAU,CAAC,EAAE,MAAM,WAAW,CAAC;IAC/B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sDAAsD;IACtD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gCAAgC;IAChC,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IACrC,+CAA+C;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAuCjE,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BadgeToggle = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const react_styles_1 = require("@patternfly/react-styles");
|
|
7
|
-
const dropdown_1 = tslib_1.__importDefault(require("@patternfly/react-styles/css/components/Dropdown/dropdown"));
|
|
8
|
-
const caret_down_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/caret-down-icon'));
|
|
9
|
-
const Toggle_1 = require("./Toggle");
|
|
10
|
-
const Badge_1 = require("../../../components/Badge");
|
|
11
|
-
const BadgeToggle = (_a) => {
|
|
12
|
-
var { id = '', children = null, badgeProps = { isRead: true }, className = '', isOpen = false, 'aria-label': ariaLabel = 'Actions', parentRef = null, getMenuRef = null, isActive = false, isPlain = null, isDisabled = false, bubbleEvent = false, onToggle = () => undefined,
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
|
-
ref } = _a, // Types of Ref are different for React.FunctionComponent vs React.Component
|
|
15
|
-
props = tslib_1.__rest(_a, ["id", "children", "badgeProps", "className", "isOpen", 'aria-label', "parentRef", "getMenuRef", "isActive", "isPlain", "isDisabled", "bubbleEvent", "onToggle", "ref"]);
|
|
16
|
-
return (React.createElement(Toggle_1.Toggle, Object.assign({ id: id, className: className, isOpen: isOpen, "aria-label": ariaLabel, parentRef: parentRef, getMenuRef: getMenuRef, isActive: isActive, isPlain: isPlain || true, isDisabled: isDisabled, onToggle: onToggle, bubbleEvent: bubbleEvent }, props),
|
|
17
|
-
React.createElement(Badge_1.Badge, Object.assign({}, badgeProps),
|
|
18
|
-
children,
|
|
19
|
-
React.createElement("span", { className: (0, react_styles_1.css)(dropdown_1.default.dropdownToggleIcon) },
|
|
20
|
-
React.createElement(caret_down_icon_1.default, null)))));
|
|
21
|
-
};
|
|
22
|
-
exports.BadgeToggle = BadgeToggle;
|
|
23
|
-
exports.BadgeToggle.displayName = 'BadgeToggle';
|
|
24
|
-
//# sourceMappingURL=BadgeToggle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BadgeToggle.js","sourceRoot":"","sources":["../../../../../src/deprecated/components/Dropdown/BadgeToggle.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2DAA+C;AAC/C,iHAA+E;AAE/E,oHAAmF;AACnF,qCAAkC;AAClC,qDAA8D;AAoCvD,MAAM,WAAW,GAA8C,CAAC,EAiBpD,EAAE,EAAE;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