@patternfly/react-core 5.0.0-alpha.106 → 5.0.0-alpha.108
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 +16 -0
- package/dist/esm/components/AboutModal/package.json +1 -1
- package/dist/esm/components/Accordion/package.json +1 -1
- package/dist/esm/components/ActionList/package.json +1 -1
- package/dist/esm/components/Alert/package.json +1 -1
- package/dist/esm/components/Avatar/package.json +1 -1
- package/dist/esm/components/BackToTop/package.json +1 -1
- package/dist/esm/components/Backdrop/package.json +1 -1
- package/dist/esm/components/BackgroundImage/package.json +1 -1
- package/dist/esm/components/Badge/package.json +1 -1
- package/dist/esm/components/Banner/package.json +1 -1
- package/dist/esm/components/Brand/package.json +1 -1
- package/dist/esm/components/Breadcrumb/package.json +1 -1
- package/dist/esm/components/Button/package.json +1 -1
- package/dist/esm/components/CalendarMonth/package.json +1 -1
- package/dist/esm/components/Card/package.json +1 -1
- package/dist/esm/components/Checkbox/package.json +1 -1
- package/dist/esm/components/Chip/package.json +1 -1
- package/dist/esm/components/ClipboardCopy/package.json +1 -1
- package/dist/esm/components/CodeBlock/package.json +1 -1
- package/dist/esm/components/DataList/package.json +1 -1
- package/dist/esm/components/DatePicker/package.json +1 -1
- package/dist/esm/components/DescriptionList/package.json +1 -1
- package/dist/esm/components/Divider/package.json +1 -1
- package/dist/esm/components/DragDrop/package.json +1 -1
- package/dist/esm/components/Drawer/package.json +1 -1
- package/dist/esm/components/Dropdown/Dropdown.d.ts +11 -3
- package/dist/esm/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/Dropdown.js +11 -5
- package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/components/Dropdown/package.json +1 -1
- package/dist/esm/components/DualListSelector/package.json +1 -1
- package/dist/esm/components/EmptyState/package.json +1 -1
- package/dist/esm/components/ExpandableSection/package.json +1 -1
- package/dist/esm/components/FileUpload/package.json +1 -1
- package/dist/esm/components/Form/package.json +1 -1
- package/dist/esm/components/FormSelect/package.json +1 -1
- package/dist/esm/components/HelperText/package.json +1 -1
- package/dist/esm/components/Hint/package.json +1 -1
- package/dist/esm/components/Icon/package.json +1 -1
- package/dist/esm/components/InputGroup/package.json +1 -1
- package/dist/esm/components/JumpLinks/package.json +1 -1
- package/dist/esm/components/Label/package.json +1 -1
- package/dist/esm/components/List/package.json +1 -1
- package/dist/esm/components/LoginPage/package.json +1 -1
- package/dist/esm/components/Masthead/package.json +1 -1
- package/dist/esm/components/Menu/MenuItem.d.ts +1 -1
- package/dist/esm/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/esm/components/Menu/package.json +1 -1
- package/dist/esm/components/MenuToggle/package.json +1 -1
- package/dist/esm/components/Modal/package.json +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts.map +1 -1
- package/dist/esm/components/MultipleFileUpload/package.json +1 -1
- package/dist/esm/components/Nav/package.json +1 -1
- package/dist/esm/components/NotificationBadge/package.json +1 -1
- package/dist/esm/components/NotificationDrawer/package.json +1 -1
- package/dist/esm/components/NumberInput/package.json +1 -1
- package/dist/esm/components/OverflowMenu/package.json +1 -1
- package/dist/esm/components/Page/package.json +1 -1
- package/dist/esm/components/Pagination/package.json +1 -1
- package/dist/esm/components/Panel/package.json +1 -1
- package/dist/esm/components/Popover/package.json +1 -1
- package/dist/esm/components/Progress/Progress.d.ts +1 -1
- package/dist/esm/components/Progress/ProgressContainer.d.ts +1 -1
- package/dist/esm/components/Progress/package.json +1 -1
- package/dist/esm/components/ProgressStepper/package.json +1 -1
- package/dist/esm/components/Radio/package.json +1 -1
- package/dist/esm/components/SearchInput/package.json +1 -1
- package/dist/esm/components/Select/Select.d.ts +31 -5
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.js +16 -10
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Select/SelectGroup.d.ts +3 -0
- package/dist/esm/components/Select/SelectGroup.d.ts.map +1 -1
- package/dist/esm/components/Select/SelectGroup.js.map +1 -1
- package/dist/esm/components/Select/SelectOption.d.ts +14 -1
- package/dist/esm/components/Select/SelectOption.d.ts.map +1 -1
- package/dist/esm/components/Select/SelectOption.js +4 -3
- package/dist/esm/components/Select/SelectOption.js.map +1 -1
- package/dist/esm/components/Select/package.json +1 -1
- package/dist/esm/components/Sidebar/package.json +1 -1
- package/dist/esm/components/SimpleList/package.json +1 -1
- package/dist/esm/components/Skeleton/package.json +1 -1
- package/dist/esm/components/SkipToContent/package.json +1 -1
- package/dist/esm/components/Slider/package.json +1 -1
- package/dist/esm/components/Spinner/package.json +1 -1
- package/dist/esm/components/Switch/package.json +1 -1
- package/dist/esm/components/Tabs/Tab.d.ts +3 -3
- package/dist/esm/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/esm/components/Tabs/Tabs.d.ts +1 -1
- package/dist/esm/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/esm/components/Tabs/package.json +1 -1
- package/dist/esm/components/Text/package.json +1 -1
- package/dist/esm/components/TextArea/package.json +1 -1
- package/dist/esm/components/TextInput/package.json +1 -1
- package/dist/esm/components/TextInputGroup/package.json +1 -1
- package/dist/esm/components/Tile/package.json +1 -1
- package/dist/esm/components/TimePicker/package.json +1 -1
- package/dist/esm/components/Timestamp/package.json +1 -1
- package/dist/esm/components/Title/package.json +1 -1
- package/dist/esm/components/ToggleGroup/package.json +1 -1
- package/dist/esm/components/Toolbar/package.json +1 -1
- package/dist/esm/components/Tooltip/package.json +1 -1
- package/dist/esm/components/TreeView/package.json +1 -1
- package/dist/esm/components/Truncate/package.json +1 -1
- package/dist/esm/components/Wizard/hooks/package.json +1 -1
- package/dist/esm/components/Wizard/package.json +1 -1
- package/dist/esm/components/package.json +1 -1
- package/dist/esm/deprecated/components/ApplicationLauncher/package.json +1 -1
- package/dist/esm/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts +3 -3
- package/dist/esm/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts.map +1 -1
- package/dist/esm/deprecated/components/Dropdown/package.json +1 -1
- package/dist/esm/deprecated/components/OptionsMenu/package.json +1 -1
- package/dist/esm/deprecated/components/PageHeader/package.json +1 -1
- package/dist/esm/deprecated/components/Select/package.json +1 -1
- package/dist/esm/deprecated/components/Wizard/package.json +1 -1
- package/dist/esm/deprecated/components/package.json +1 -1
- package/dist/esm/deprecated/package.json +1 -1
- package/dist/esm/helpers/Popper/Popper.d.ts +1 -1
- package/dist/esm/helpers/Popper/Popper.d.ts.map +1 -1
- package/dist/esm/helpers/Popper/thirdparty/popper-core/package.json +1 -1
- package/dist/esm/helpers/package.json +1 -1
- package/dist/esm/layouts/Bullseye/package.json +1 -1
- package/dist/esm/layouts/Flex/Flex.d.ts +27 -0
- package/dist/esm/layouts/Flex/Flex.d.ts.map +1 -1
- package/dist/esm/layouts/Flex/Flex.js +2 -2
- package/dist/esm/layouts/Flex/Flex.js.map +1 -1
- package/dist/esm/layouts/Flex/package.json +1 -1
- package/dist/esm/layouts/Gallery/package.json +1 -1
- package/dist/esm/layouts/Grid/package.json +1 -1
- package/dist/esm/layouts/Level/package.json +1 -1
- package/dist/esm/layouts/Split/package.json +1 -1
- package/dist/esm/layouts/Stack/package.json +1 -1
- package/dist/esm/layouts/package.json +1 -1
- package/dist/esm/next/components/package.json +1 -1
- package/dist/esm/next/package.json +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/js/components/AboutModal/package.json +1 -1
- package/dist/js/components/Accordion/package.json +1 -1
- package/dist/js/components/ActionList/package.json +1 -1
- package/dist/js/components/Alert/package.json +1 -1
- package/dist/js/components/Avatar/package.json +1 -1
- package/dist/js/components/BackToTop/package.json +1 -1
- package/dist/js/components/Backdrop/package.json +1 -1
- package/dist/js/components/BackgroundImage/package.json +1 -1
- package/dist/js/components/Badge/package.json +1 -1
- package/dist/js/components/Banner/package.json +1 -1
- package/dist/js/components/Brand/package.json +1 -1
- package/dist/js/components/Breadcrumb/package.json +1 -1
- package/dist/js/components/Button/package.json +1 -1
- package/dist/js/components/CalendarMonth/package.json +1 -1
- package/dist/js/components/Card/package.json +1 -1
- package/dist/js/components/Checkbox/package.json +1 -1
- package/dist/js/components/Chip/package.json +1 -1
- package/dist/js/components/ClipboardCopy/package.json +1 -1
- package/dist/js/components/CodeBlock/package.json +1 -1
- package/dist/js/components/DataList/package.json +1 -1
- package/dist/js/components/DatePicker/package.json +1 -1
- package/dist/js/components/DescriptionList/package.json +1 -1
- package/dist/js/components/Divider/package.json +1 -1
- package/dist/js/components/DragDrop/package.json +1 -1
- package/dist/js/components/Drawer/package.json +1 -1
- package/dist/js/components/Dropdown/Dropdown.d.ts +11 -3
- package/dist/js/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/js/components/Dropdown/Dropdown.js +11 -5
- package/dist/js/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/js/components/Dropdown/package.json +1 -1
- package/dist/js/components/DualListSelector/package.json +1 -1
- package/dist/js/components/EmptyState/package.json +1 -1
- package/dist/js/components/ExpandableSection/package.json +1 -1
- package/dist/js/components/FileUpload/package.json +1 -1
- package/dist/js/components/Form/package.json +1 -1
- package/dist/js/components/FormSelect/package.json +1 -1
- package/dist/js/components/HelperText/package.json +1 -1
- package/dist/js/components/Hint/package.json +1 -1
- package/dist/js/components/Icon/package.json +1 -1
- package/dist/js/components/InputGroup/package.json +1 -1
- package/dist/js/components/JumpLinks/package.json +1 -1
- package/dist/js/components/Label/package.json +1 -1
- package/dist/js/components/List/package.json +1 -1
- package/dist/js/components/LoginPage/package.json +1 -1
- package/dist/js/components/Masthead/package.json +1 -1
- package/dist/js/components/Menu/MenuItem.d.ts +1 -1
- package/dist/js/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/js/components/Menu/package.json +1 -1
- package/dist/js/components/MenuToggle/package.json +1 -1
- package/dist/js/components/Modal/package.json +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts.map +1 -1
- package/dist/js/components/MultipleFileUpload/package.json +1 -1
- package/dist/js/components/Nav/package.json +1 -1
- package/dist/js/components/NotificationBadge/package.json +1 -1
- package/dist/js/components/NotificationDrawer/package.json +1 -1
- package/dist/js/components/NumberInput/package.json +1 -1
- package/dist/js/components/OverflowMenu/package.json +1 -1
- package/dist/js/components/Page/package.json +1 -1
- package/dist/js/components/Pagination/package.json +1 -1
- package/dist/js/components/Panel/package.json +1 -1
- package/dist/js/components/Popover/package.json +1 -1
- package/dist/js/components/Progress/Progress.d.ts +1 -1
- package/dist/js/components/Progress/ProgressContainer.d.ts +1 -1
- package/dist/js/components/Progress/package.json +1 -1
- package/dist/js/components/ProgressStepper/package.json +1 -1
- package/dist/js/components/Radio/package.json +1 -1
- package/dist/js/components/SearchInput/package.json +1 -1
- package/dist/js/components/Select/Select.d.ts +31 -5
- package/dist/js/components/Select/Select.d.ts.map +1 -1
- package/dist/js/components/Select/Select.js +16 -10
- package/dist/js/components/Select/Select.js.map +1 -1
- package/dist/js/components/Select/SelectGroup.d.ts +3 -0
- package/dist/js/components/Select/SelectGroup.d.ts.map +1 -1
- package/dist/js/components/Select/SelectGroup.js.map +1 -1
- package/dist/js/components/Select/SelectOption.d.ts +14 -1
- package/dist/js/components/Select/SelectOption.d.ts.map +1 -1
- package/dist/js/components/Select/SelectOption.js +4 -4
- package/dist/js/components/Select/SelectOption.js.map +1 -1
- package/dist/js/components/Select/package.json +1 -1
- package/dist/js/components/Sidebar/package.json +1 -1
- package/dist/js/components/SimpleList/package.json +1 -1
- package/dist/js/components/Skeleton/package.json +1 -1
- package/dist/js/components/SkipToContent/package.json +1 -1
- package/dist/js/components/Slider/package.json +1 -1
- package/dist/js/components/Spinner/package.json +1 -1
- package/dist/js/components/Switch/package.json +1 -1
- package/dist/js/components/Tabs/Tab.d.ts +3 -3
- package/dist/js/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/js/components/Tabs/Tabs.d.ts +1 -1
- package/dist/js/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/js/components/Tabs/package.json +1 -1
- package/dist/js/components/Text/package.json +1 -1
- package/dist/js/components/TextArea/package.json +1 -1
- package/dist/js/components/TextInput/package.json +1 -1
- package/dist/js/components/TextInputGroup/package.json +1 -1
- package/dist/js/components/Tile/package.json +1 -1
- package/dist/js/components/TimePicker/package.json +1 -1
- package/dist/js/components/Timestamp/package.json +1 -1
- package/dist/js/components/Title/package.json +1 -1
- package/dist/js/components/ToggleGroup/package.json +1 -1
- package/dist/js/components/Toolbar/package.json +1 -1
- package/dist/js/components/Tooltip/package.json +1 -1
- package/dist/js/components/TreeView/package.json +1 -1
- package/dist/js/components/Truncate/package.json +1 -1
- package/dist/js/components/Wizard/hooks/package.json +1 -1
- package/dist/js/components/Wizard/package.json +1 -1
- package/dist/js/components/package.json +1 -1
- package/dist/js/deprecated/components/ApplicationLauncher/package.json +1 -1
- package/dist/js/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts +3 -3
- package/dist/js/deprecated/components/Dropdown/DropdownToggleCheckbox.d.ts.map +1 -1
- package/dist/js/deprecated/components/Dropdown/package.json +1 -1
- package/dist/js/deprecated/components/OptionsMenu/package.json +1 -1
- package/dist/js/deprecated/components/PageHeader/package.json +1 -1
- package/dist/js/deprecated/components/Select/package.json +1 -1
- package/dist/js/deprecated/components/Wizard/package.json +1 -1
- package/dist/js/deprecated/components/package.json +1 -1
- package/dist/js/deprecated/package.json +1 -1
- package/dist/js/helpers/Popper/Popper.d.ts +1 -1
- package/dist/js/helpers/Popper/Popper.d.ts.map +1 -1
- package/dist/js/helpers/Popper/thirdparty/popper-core/package.json +1 -1
- package/dist/js/helpers/package.json +1 -1
- package/dist/js/layouts/Bullseye/package.json +1 -1
- package/dist/js/layouts/Flex/Flex.d.ts +27 -0
- package/dist/js/layouts/Flex/Flex.d.ts.map +1 -1
- package/dist/js/layouts/Flex/Flex.js +2 -2
- package/dist/js/layouts/Flex/Flex.js.map +1 -1
- package/dist/js/layouts/Flex/package.json +1 -1
- package/dist/js/layouts/Gallery/package.json +1 -1
- package/dist/js/layouts/Grid/package.json +1 -1
- package/dist/js/layouts/Level/package.json +1 -1
- package/dist/js/layouts/Split/package.json +1 -1
- package/dist/js/layouts/Stack/package.json +1 -1
- package/dist/js/layouts/package.json +1 -1
- package/dist/js/next/components/package.json +1 -1
- package/dist/js/next/package.json +1 -1
- package/dist/js/package.json +1 -1
- package/dist/umd/react-core.min.js +2 -2
- package/package.json +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +27 -29
- package/src/components/DatePicker/examples/DatePicker.md +0 -1
- package/src/components/Dropdown/Dropdown.tsx +25 -11
- package/src/components/Dropdown/examples/Dropdown.md +10 -1
- package/src/components/Dropdown/examples/DropdownBasic.tsx +2 -6
- package/src/components/Dropdown/examples/DropdownWithDescriptions.tsx +2 -6
- package/src/components/Dropdown/examples/DropdownWithGroups.tsx +2 -6
- package/src/components/Dropdown/examples/DropdownWithKebabToggle.tsx +2 -6
- package/src/components/Icon/examples/Icon.md +0 -1
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/Menu/examples/Menu.md +1 -1
- package/src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx +1 -1
- package/src/components/Progress/Progress.tsx +1 -1
- package/src/components/Progress/ProgressContainer.tsx +1 -1
- package/src/components/Progress/examples/Progress.md +1 -1
- package/src/components/ProgressStepper/examples/ProgressStepper.md +0 -1
- package/src/components/SearchInput/examples/SearchInput.md +0 -1
- package/src/components/Select/Select.tsx +62 -24
- package/src/components/Select/SelectGroup.tsx +3 -0
- package/src/components/Select/SelectOption.tsx +22 -2
- package/src/components/Select/examples/Select.md +49 -2
- package/src/components/Select/examples/SelectBasic.tsx +27 -17
- package/src/components/Select/examples/SelectCheckbox.tsx +1 -3
- package/src/components/Select/examples/SelectFooter.tsx +57 -0
- package/src/components/Select/examples/SelectGrouped.tsx +14 -6
- package/src/components/Select/examples/SelectMultiTypeahead.tsx +7 -12
- package/src/components/Select/examples/SelectMultiTypeaheadCheckbox.tsx +204 -0
- package/src/components/Select/examples/SelectMultiTypeaheadCreatable.tsx +222 -0
- package/src/components/Select/examples/SelectOptionVariations.tsx +70 -0
- package/src/components/Select/examples/SelectTypeahead.tsx +13 -13
- package/src/components/Select/examples/SelectTypeaheadCreatable.tsx +220 -0
- package/src/components/Select/examples/SelectViewMore.tsx +146 -0
- package/src/components/Tabs/Tab.tsx +3 -3
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Tabs/examples/Tabs.md +3 -3
- package/src/components/TextInputGroup/examples/TextInputGroup.md +0 -1
- package/src/components/Tile/examples/Tile.md +0 -1
- package/src/components/Truncate/examples/Truncate.md +1 -2
- package/src/demos/ComposableMenu/ComposableMenu.md +17 -3
- package/src/demos/DatePicker/DatePicker.md +0 -1
- package/src/demos/ProgressStepperDemo.md +0 -1
- package/src/demos/SearchInput/SearchInput.md +0 -1
- package/src/demos/TextInputGroupDemo.md +0 -1
- package/src/deprecated/components/Dropdown/DropdownToggleCheckbox.tsx +3 -3
- package/src/deprecated/components/Dropdown/examples/Dropdown.md +1 -1
- package/src/helpers/Popper/Popper.tsx +1 -1
- package/src/layouts/Flex/Flex.tsx +141 -0
- package/src/layouts/Flex/__tests__/Flex.test.tsx +30 -10
- package/src/layouts/Flex/examples/Flex.md +192 -65
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MenuProps } from '../Menu';
|
|
3
|
-
import { PopperProps } from '../../helpers/Popper/Popper';
|
|
4
3
|
import { OUIAProps } from '../../helpers';
|
|
4
|
+
export interface SelectPopperProps {
|
|
5
|
+
/** Vertical direction of the popper. If enableFlip is set to true, this will set the initial direction before the popper flips. */
|
|
6
|
+
direction?: 'up' | 'down';
|
|
7
|
+
/** Horizontal position of the popper */
|
|
8
|
+
position?: 'right' | 'left' | 'center';
|
|
9
|
+
/** Custom width of the popper. If the value is "trigger", it will set the width to the select toggle's width */
|
|
10
|
+
width?: string | 'trigger';
|
|
11
|
+
/** Minimum width of the popper. If the value is "trigger", it will set the min width to the select toggle's width */
|
|
12
|
+
minWidth?: string | 'trigger';
|
|
13
|
+
/** Maximum width of the popper. If the value is "trigger", it will set the max width to the select toggle's width */
|
|
14
|
+
maxWidth?: string | 'trigger';
|
|
15
|
+
/** Enable to flip the popper when it reaches the boundary */
|
|
16
|
+
enableFlip?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface SelectToggleProps {
|
|
19
|
+
/** Select toggle node. */
|
|
20
|
+
toggleNode: React.ReactNode;
|
|
21
|
+
/** Reference to the toggle. */
|
|
22
|
+
toggleRef?: React.RefObject<HTMLButtonElement>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* See the Menu documentation for additional props that may be passed.
|
|
26
|
+
*/
|
|
5
27
|
export interface SelectProps extends MenuProps, OUIAProps {
|
|
6
28
|
/** Anything which can be rendered in a select */
|
|
7
29
|
children?: React.ReactNode;
|
|
@@ -11,13 +33,17 @@ export interface SelectProps extends MenuProps, OUIAProps {
|
|
|
11
33
|
isOpen?: boolean;
|
|
12
34
|
/** Single itemId for single select menus, or array of itemIds for multi select. You can also specify isSelected on the SelectOption. */
|
|
13
35
|
selected?: any | any[];
|
|
14
|
-
/**
|
|
15
|
-
toggle: (toggleRef: React.RefObject<any>) => React.ReactNode;
|
|
36
|
+
/** Select toggle. The toggle should either be a renderer function which forwards the given toggle ref, or a direct ReactNode that should be passed along with the toggleRef property. */
|
|
37
|
+
toggle: SelectToggleProps | ((toggleRef: React.RefObject<any>) => React.ReactNode);
|
|
38
|
+
/** Flag indicating the toggle should be focused after a selection. If this use case is too restrictive, the optional toggleRef property with a node toggle may be used to control focus. */
|
|
39
|
+
shouldFocusToggleOnSelect?: boolean;
|
|
16
40
|
/** Function callback when user selects an option. */
|
|
17
41
|
onSelect?: (event?: React.MouseEvent<Element, MouseEvent>, itemId?: string | number) => void;
|
|
18
42
|
/** Callback to allow the select component to change the open state of the menu.
|
|
19
|
-
* Triggered by clicking outside of the menu, or by pressing
|
|
43
|
+
* Triggered by clicking outside of the menu, or by pressing any keys specificed in onOpenChangeKeys. */
|
|
20
44
|
onOpenChange?: (isOpen: boolean) => void;
|
|
45
|
+
/** @beta Keys that trigger onOpenChange, defaults to tab and escape. It is highly recommended to include Escape in the array, while Tab may be omitted if the menu contains non-menu items that are focusable. */
|
|
46
|
+
onOpenChangeKeys?: string[];
|
|
21
47
|
/** Indicates if the select should be without the outer box-shadow */
|
|
22
48
|
isPlain?: boolean;
|
|
23
49
|
/** @hide Forwarded ref */
|
|
@@ -27,7 +53,7 @@ export interface SelectProps extends MenuProps, OUIAProps {
|
|
|
27
53
|
/** @beta Determines the accessible role of the select. For a checkbox select pass in "menu". */
|
|
28
54
|
role?: string;
|
|
29
55
|
/** Additional properties to pass to the popper */
|
|
30
|
-
popperProps?:
|
|
56
|
+
popperProps?: SelectPopperProps;
|
|
31
57
|
}
|
|
32
58
|
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<any>>;
|
|
33
59
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,SAAS,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,SAAS,EAAE,MAAM,SAAS,C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,OAAO,EAAE,UAAU,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC7F;4GACwG;IACxG,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,kNAAkN;IAClN,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,qEAAqE;IACrE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACrC,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gGAAgG;IAChG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAwGD,eAAO,MAAM,MAAM,yEAEjB,CAAC"}
|
|
@@ -8,18 +8,22 @@ const Menu_1 = require("../Menu");
|
|
|
8
8
|
const Popper_1 = require("../../helpers/Popper/Popper");
|
|
9
9
|
const helpers_1 = require("../../helpers");
|
|
10
10
|
const SelectBase = (_a) => {
|
|
11
|
-
var { children, className, onSelect, isOpen, selected, toggle, onOpenChange, isPlain, innerRef, zIndex = 9999, role = 'listbox', popperProps } = _a, props = tslib_1.__rest(_a, ["children", "className", "onSelect", "isOpen", "selected", "toggle", "onOpenChange", "isPlain", "innerRef", "zIndex", "role", "popperProps"]);
|
|
11
|
+
var { children, className, onSelect, isOpen, selected, toggle, shouldFocusToggleOnSelect = false, onOpenChange, onOpenChangeKeys = ['Escape', 'Tab'], isPlain, innerRef, zIndex = 9999, role = 'listbox', popperProps } = _a, props = tslib_1.__rest(_a, ["children", "className", "onSelect", "isOpen", "selected", "toggle", "shouldFocusToggleOnSelect", "onOpenChange", "onOpenChangeKeys", "isPlain", "innerRef", "zIndex", "role", "popperProps"]);
|
|
12
12
|
const localMenuRef = react_1.default.useRef();
|
|
13
|
-
const
|
|
14
|
-
const containerRef = react_1.default.useRef();
|
|
13
|
+
const localToggleRef = react_1.default.useRef();
|
|
15
14
|
const menuRef = innerRef || localMenuRef;
|
|
15
|
+
const toggleRef = typeof toggle === 'function' || (typeof toggle !== 'function' && !toggle.toggleRef)
|
|
16
|
+
? localToggleRef
|
|
17
|
+
: toggle === null || toggle === void 0 ? void 0 : toggle.toggleRef;
|
|
16
18
|
react_1.default.useEffect(() => {
|
|
17
19
|
const handleMenuKeys = (event) => {
|
|
18
20
|
var _a, _b, _c;
|
|
19
21
|
// Close the menu on tab or escape if onOpenChange is provided
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
if (isOpen &&
|
|
23
|
+
onOpenChange &&
|
|
24
|
+
(((_a = menuRef.current) === null || _a === void 0 ? void 0 : _a.contains(event.target)) || ((_b = toggleRef.current) === null || _b === void 0 ? void 0 : _b.contains(event.target)))) {
|
|
25
|
+
if (onOpenChangeKeys.includes(event.key)) {
|
|
26
|
+
event.preventDefault();
|
|
23
27
|
onOpenChange(false);
|
|
24
28
|
(_c = toggleRef.current) === null || _c === void 0 ? void 0 : _c.focus();
|
|
25
29
|
}
|
|
@@ -48,11 +52,13 @@ const SelectBase = (_a) => {
|
|
|
48
52
|
window.removeEventListener('keydown', handleMenuKeys);
|
|
49
53
|
window.removeEventListener('click', handleClick);
|
|
50
54
|
};
|
|
51
|
-
}, [isOpen, menuRef, onOpenChange]);
|
|
52
|
-
const menu = (react_1.default.createElement(Menu_1.Menu, Object.assign({ role: role, className: (0, react_styles_1.css)(className), ref: menuRef, onSelect: (event, itemId) =>
|
|
55
|
+
}, [isOpen, menuRef, toggleRef, onOpenChange, onOpenChangeKeys]);
|
|
56
|
+
const menu = (react_1.default.createElement(Menu_1.Menu, Object.assign({ role: role, className: (0, react_styles_1.css)(className), ref: menuRef, onSelect: (event, itemId) => {
|
|
57
|
+
onSelect && onSelect(event, itemId);
|
|
58
|
+
shouldFocusToggleOnSelect && toggleRef.current.focus();
|
|
59
|
+
}, isPlain: isPlain, selected: selected }, (0, helpers_1.getOUIAProps)(exports.Select.displayName, props.ouiaId !== undefined ? props.ouiaId : (0, helpers_1.getDefaultOUIAId)(exports.Select.displayName), props.ouiaSafe !== undefined ? props.ouiaSafe : true), props),
|
|
53
60
|
react_1.default.createElement(Menu_1.MenuContent, null, children)));
|
|
54
|
-
return (react_1.default.createElement(
|
|
55
|
-
react_1.default.createElement(Popper_1.Popper, Object.assign({ trigger: toggle(toggleRef), triggerRef: toggleRef, popper: menu, popperRef: menuRef, appendTo: containerRef.current || undefined, isVisible: isOpen, zIndex: zIndex }, popperProps))));
|
|
61
|
+
return (react_1.default.createElement(Popper_1.Popper, Object.assign({ trigger: typeof toggle === 'function' ? toggle(toggleRef) : toggle.toggleNode, triggerRef: toggleRef, popper: menu, popperRef: menuRef, isVisible: isOpen, zIndex: zIndex }, popperProps)));
|
|
56
62
|
};
|
|
57
63
|
exports.Select = react_1.default.forwardRef((props, ref) => (react_1.default.createElement(SelectBase, Object.assign({ innerRef: ref }, props))));
|
|
58
64
|
exports.Select.displayName = 'Select';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../../src/components/Select/Select.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,2DAA+C;AAC/C,kCAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../../src/components/Select/Select.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,2DAA+C;AAC/C,kCAAuD;AACvD,wDAAqD;AACrD,2CAA0E;AA4D1E,MAAM,UAAU,GAAqD,CAAC,EAgB5C,EAAE,EAAE;QAhBwC,EACpE,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,MAAM,EACN,yBAAyB,GAAG,KAAK,EACjC,YAAY,EACZ,gBAAgB,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,EACpC,OAAO,EACP,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,CAAC,CAAC;YACpC,yBAAyB,IAAI,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACzD,CAAC,EACD,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IACd,IAAA,sBAAY,EACd,cAAM,CAAC,WAAW,EAClB,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAA,0BAAgB,EAAC,cAAM,CAAC,WAAW,CAAC,EAChF,KAAK,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CACrD,EACG,KAAK;QAET,8BAAC,kBAAW,QAAE,QAAQ,CAAe,CAChC,CACR,CAAC;IACF,OAAO,CACL,8BAAC,eAAM,kBACL,OAAO,EAAE,OAAO,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,UAAU,EAC7E,UAAU,EAAE,SAAS,EACrB,MAAM,EAAE,IAAI,EACZ,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,IACV,WAAW,EACf,CACH,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,MAAM,GAAG,eAAK,CAAC,UAAU,CAAC,CAAC,KAAkB,EAAE,GAAmB,EAAE,EAAE,CAAC,CAClF,8BAAC,UAAU,kBAAC,QAAQ,EAAE,GAAG,IAAM,KAAK,EAAI,CACzC,CAAC,CAAC;AAEH,cAAM,CAAC,WAAW,GAAG,QAAQ,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MenuGroupProps } from '../Menu';
|
|
3
|
+
/**
|
|
4
|
+
* See the MenuGroup section of the Menu documentation for additional props that may be passed.
|
|
5
|
+
*/
|
|
3
6
|
export interface SelectGroupProps extends Omit<MenuGroupProps, 'ref'> {
|
|
4
7
|
/** Anything which can be rendered in a select group */
|
|
5
8
|
children: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAa,MAAM,SAAS,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC;IACnE,uDAAuD;IACvD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CASjE,CAAC"}
|
|
1
|
+
{"version":3,"file":"SelectGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,cAAc,EAAa,MAAM,SAAS,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC;IACnE,uDAAuD;IACvD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CASjE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectGroup.js","sourceRoot":"","sources":["../../../../src/components/Select/SelectGroup.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,2DAA+C;AAC/C,kCAAoD;
|
|
1
|
+
{"version":3,"file":"SelectGroup.js","sourceRoot":"","sources":["../../../../src/components/Select/SelectGroup.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,2DAA+C;AAC/C,kCAAoD;AAc7C,MAAM,WAAW,GAA8C,CAAC,EAKpD,EAAE,EAAE;QALgD,EACrE,QAAQ,EACR,SAAS,EACT,KAAK,OAEY,EADd,KAAK,sBAJ6D,kCAKtE,CADS;IACc,OAAA,CACtB,8BAAC,gBAAS,kBAAC,SAAS,EAAE,IAAA,kBAAG,EAAC,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,IAAM,KAAK,GAC1D,QAAQ,CACC,CACb,CAAA;CAAA,CAAC;AATW,QAAA,WAAW,eAStB;AACF,mBAAW,CAAC,WAAW,GAAG,aAAa,CAAC"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MenuItemProps } from '../Menu';
|
|
3
|
+
/**
|
|
4
|
+
* See the MenuItem section of the Menu documentation for additional props that may be passed.
|
|
5
|
+
*/
|
|
3
6
|
export interface SelectOptionProps extends Omit<MenuItemProps, 'ref'> {
|
|
4
7
|
/** Anything which can be rendered in a select option */
|
|
5
8
|
children?: React.ReactNode;
|
|
6
9
|
/** Classes applied to root element of select option */
|
|
7
10
|
className?: string;
|
|
11
|
+
/** @hide Forwarded ref */
|
|
12
|
+
innerRef?: React.Ref<HTMLAnchorElement | HTMLButtonElement>;
|
|
8
13
|
/** Identifies the component in the Select onSelect callback */
|
|
9
14
|
itemId?: any;
|
|
10
15
|
/** Indicates the option has a checkbox */
|
|
@@ -15,6 +20,14 @@ export interface SelectOptionProps extends Omit<MenuItemProps, 'ref'> {
|
|
|
15
20
|
isSelected?: boolean;
|
|
16
21
|
/** Indicates the option is focused */
|
|
17
22
|
isFocused?: boolean;
|
|
23
|
+
/** Render an external link icon on focus or hover, and set the link's
|
|
24
|
+
* "target" attribute to a value of "_blank".
|
|
25
|
+
*/
|
|
26
|
+
isExternalLink?: boolean;
|
|
27
|
+
/** Render option with icon */
|
|
28
|
+
icon?: React.ReactNode;
|
|
29
|
+
/** Description of the option */
|
|
30
|
+
description?: React.ReactNode;
|
|
18
31
|
}
|
|
19
|
-
export declare const SelectOption: React.
|
|
32
|
+
export declare const SelectOption: React.ForwardRefExoticComponent<SelectOptionProps & React.RefAttributes<any>>;
|
|
20
33
|
//# sourceMappingURL=SelectOption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectOption.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAY,MAAM,SAAS,CAAC;AAElD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC;IACnE,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,0CAA0C;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uCAAuC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectOption.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAY,MAAM,SAAS,CAAC;AAElD;;GAEG;AAEH,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,aAAa,EAAE,KAAK,CAAC;IACnE,wDAAwD;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;IAC5D,+DAA+D;IAC/D,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,0CAA0C;IAC1C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uCAAuC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gCAAgC;IAChC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAaD,eAAO,MAAM,YAAY,+EAEvB,CAAC"}
|
|
@@ -5,10 +5,10 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const react_styles_1 = require("@patternfly/react-styles");
|
|
7
7
|
const Menu_1 = require("../Menu");
|
|
8
|
-
const
|
|
9
|
-
var { children, className } = _a, props = tslib_1.__rest(_a, ["children", "className"]);
|
|
10
|
-
return (react_1.default.createElement(Menu_1.MenuItem, Object.assign({ className: (0, react_styles_1.css)(className) }, props), children));
|
|
8
|
+
const SelectOptionBase = (_a) => {
|
|
9
|
+
var { children, className, innerRef } = _a, props = tslib_1.__rest(_a, ["children", "className", "innerRef"]);
|
|
10
|
+
return (react_1.default.createElement(Menu_1.MenuItem, Object.assign({ ref: innerRef, className: (0, react_styles_1.css)(className) }, props), children));
|
|
11
11
|
};
|
|
12
|
-
exports.SelectOption =
|
|
12
|
+
exports.SelectOption = react_1.default.forwardRef((props, ref) => (react_1.default.createElement(SelectOptionBase, Object.assign({}, props, { innerRef: ref }))));
|
|
13
13
|
exports.SelectOption.displayName = 'SelectOption';
|
|
14
14
|
//# sourceMappingURL=SelectOption.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectOption.js","sourceRoot":"","sources":["../../../../src/components/Select/SelectOption.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,2DAA+C;AAC/C,kCAAkD;
|
|
1
|
+
{"version":3,"file":"SelectOption.js","sourceRoot":"","sources":["../../../../src/components/Select/SelectOption.tsx"],"names":[],"mappings":";;;;AAAA,0DAA0B;AAC1B,2DAA+C;AAC/C,kCAAkD;AAiClD,MAAM,gBAAgB,GAA2C,CAAC,EAK9C,EAAE,EAAE;QAL0C,EAChE,QAAQ,EACR,SAAS,EACT,QAAQ,OAEU,EADf,KAAK,sBAJwD,qCAKjE,CADS;IACe,OAAA,CACvB,8BAAC,eAAQ,kBAAC,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAA,kBAAG,EAAC,SAAS,CAAC,IAAM,KAAK,GAC1D,QAAQ,CACA,CACZ,CAAA;CAAA,CAAC;AAEW,QAAA,YAAY,GAAG,eAAK,CAAC,UAAU,CAAC,CAAC,KAAwB,EAAE,GAAmB,EAAE,EAAE,CAAC,CAC9F,8BAAC,gBAAgB,oBAAK,KAAK,IAAE,QAAQ,EAAE,GAAG,IAAI,CAC/C,CAAC,CAAC;AAEH,oBAAY,CAAC,WAAW,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-select-cjs","main":"index.js","module":"./dist/js/components/Select/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-select-cjs","main":"index.js","module":"./dist/js/components/Select/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-sidebar-cjs","main":"index.js","module":"./dist/js/components/Sidebar/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-sidebar-cjs","main":"index.js","module":"./dist/js/components/Sidebar/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-simplelist-cjs","main":"index.js","module":"./dist/js/components/SimpleList/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-simplelist-cjs","main":"index.js","module":"./dist/js/components/SimpleList/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-skeleton-cjs","main":"index.js","module":"./dist/js/components/Skeleton/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-skeleton-cjs","main":"index.js","module":"./dist/js/components/Skeleton/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-skiptocontent-cjs","main":"index.js","module":"./dist/js/components/SkipToContent/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-skiptocontent-cjs","main":"index.js","module":"./dist/js/components/SkipToContent/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-slider-cjs","main":"index.js","module":"./dist/js/components/Slider/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-slider-cjs","main":"index.js","module":"./dist/js/components/Slider/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-spinner-cjs","main":"index.js","module":"./dist/js/components/Spinner/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-spinner-cjs","main":"index.js","module":"./dist/js/components/Spinner/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-switch-cjs","main":"index.js","module":"./dist/js/components/Switch/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-switch-cjs","main":"index.js","module":"./dist/js/components/Switch/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -27,11 +27,11 @@ export interface TabProps extends Omit<React.HTMLProps<HTMLAnchorElement | HTMLB
|
|
|
27
27
|
innerRef?: React.Ref<any>;
|
|
28
28
|
/** Optional Tooltip rendered to a Tab. Should be <Tooltip> with appropriate props for proper rendering. */
|
|
29
29
|
tooltip?: React.ReactElement<any>;
|
|
30
|
-
/**
|
|
30
|
+
/** Aria-label for the close button added by passing the onClose property to Tabs. */
|
|
31
31
|
closeButtonAriaLabel?: string;
|
|
32
|
-
/**
|
|
32
|
+
/** Flag indicating the close button should be disabled */
|
|
33
33
|
isCloseDisabled?: boolean;
|
|
34
|
-
/**
|
|
34
|
+
/** Actions rendered beside the tab content */
|
|
35
35
|
actions?: React.ReactNode;
|
|
36
36
|
/** Value to set the data-ouia-component-id for the tab button.*/
|
|
37
37
|
ouiaId?: number | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,MAAM,WAAW,QACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,EACtF,SAAS;IACX,oDAAoD;IACpD,QAAQ,CAAC,EAAE,KAAK,CA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,CAAC,EAAE,MAAM,CAAC;IACd,4GAA4G;IAC5G,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,kCAAkC;IAClC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,6FAA6F;IAC7F,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,oGAAoG;IACpG,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IACrC,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sFAAsF;IACtF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gHAAgH;IAChH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC1B,2GAA2G;IAC3G,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;IAClC,qFAAqF;IACrF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,0DAA0D;IAC1D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8CAA8C;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAkGD,eAAO,MAAM,GAAG,6/LAAoG,CAAC"}
|
|
@@ -90,7 +90,7 @@ export interface TabsProps extends Omit<React.HTMLProps<HTMLElement | HTMLDivEle
|
|
|
90
90
|
toggleAriaLabel?: string;
|
|
91
91
|
/** Callback function to toggle the expandable tabs. */
|
|
92
92
|
onToggle?: (event: React.MouseEvent, isExpanded: boolean) => void;
|
|
93
|
-
/**
|
|
93
|
+
/** Flag which places overflowing tabs into a menu triggered by the last tab. Additionally an object can be passed with custom settings for the overflow tab. */
|
|
94
94
|
isOverflowHorizontal?: boolean | HorizontalOverflowObject;
|
|
95
95
|
/** Value to overwrite the randomly generated data-ouia-component-id.*/
|
|
96
96
|
ouiaId?: number | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAMvD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIjC,OAAO,EAAgB,SAAS,EAA+B,MAAM,eAAe,CAAC;AAGrF,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,GAAG,QAAQ;CACZ;AAED,MAAM,WAAW,wBAAwB;IACvC,kEAAkE;IAClE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qEAAqE;IACrE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+EAA+E;IAC/E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,aAAK,UAAU,GAAG,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC,CAAC;AACtF,aAAK,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzD,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,GAAG,cAAc,CAAC,EAAE,UAAU,CAAC,EAAE,SAAS;IAC3G,oIAAoI;IACpI,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;IAClC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IACjC,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC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iBAAiB;IAUjB,oBAAoB;IAUpB,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS;IAiC7D,MAAM;CA2LP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-tabs-cjs","main":"index.js","module":"./dist/js/components/Tabs/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-tabs-cjs","main":"index.js","module":"./dist/js/components/Tabs/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-text-cjs","main":"index.js","module":"./dist/js/components/Text/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-text-cjs","main":"index.js","module":"./dist/js/components/Text/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-textarea-cjs","main":"index.js","module":"./dist/js/components/TextArea/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-textarea-cjs","main":"index.js","module":"./dist/js/components/TextArea/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-textinput-cjs","main":"index.js","module":"./dist/js/components/TextInput/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-textinput-cjs","main":"index.js","module":"./dist/js/components/TextInput/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-textinputgroup-cjs","main":"index.js","module":"./dist/js/components/TextInputGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-textinputgroup-cjs","main":"index.js","module":"./dist/js/components/TextInputGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-tile-cjs","main":"index.js","module":"./dist/js/components/Tile/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-tile-cjs","main":"index.js","module":"./dist/js/components/Tile/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-timepicker-cjs","main":"index.js","module":"./dist/js/components/TimePicker/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-timepicker-cjs","main":"index.js","module":"./dist/js/components/TimePicker/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-timestamp-cjs","main":"index.js","module":"./dist/js/components/Timestamp/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-timestamp-cjs","main":"index.js","module":"./dist/js/components/Timestamp/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-title-cjs","main":"index.js","module":"./dist/js/components/Title/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-title-cjs","main":"index.js","module":"./dist/js/components/Title/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-togglegroup-cjs","main":"index.js","module":"./dist/js/components/ToggleGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-togglegroup-cjs","main":"index.js","module":"./dist/js/components/ToggleGroup/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-toolbar-cjs","main":"index.js","module":"./dist/js/components/Toolbar/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-toolbar-cjs","main":"index.js","module":"./dist/js/components/Toolbar/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-tooltip-cjs","main":"index.js","module":"./dist/js/components/Tooltip/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-tooltip-cjs","main":"index.js","module":"./dist/js/components/Tooltip/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-treeview-cjs","main":"index.js","module":"./dist/js/components/TreeView/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-treeview-cjs","main":"index.js","module":"./dist/js/components/TreeView/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-truncate-cjs","main":"index.js","module":"./dist/js/components/Truncate/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-truncate-cjs","main":"index.js","module":"./dist/js/components/Truncate/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-hooks-cjs","main":"index.js","module":"./dist/js/components/Wizard/hooks/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-hooks-cjs","main":"index.js","module":"./dist/js/components/Wizard/hooks/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-wizard-cjs","main":"index.js","module":"./dist/js/components/Wizard/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-wizard-cjs","main":"index.js","module":"./dist/js/components/Wizard/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-components-cjs","main":"index.js","module":"./dist/js/components/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-components-cjs","main":"index.js","module":"./dist/js/components/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-applicationlauncher-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/ApplicationLauncher/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-applicationlauncher-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/ApplicationLauncher/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-contextselector-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/ContextSelector/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-contextselector-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/ContextSelector/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -10,7 +10,7 @@ export interface DropdownToggleCheckboxProps extends Omit<React.HTMLProps<HTMLIn
|
|
|
10
10
|
isDisabled?: boolean;
|
|
11
11
|
/** Flag to show if the checkbox is checked */
|
|
12
12
|
isChecked?: boolean | null;
|
|
13
|
-
/**
|
|
13
|
+
/** Flag to show if the checkbox is in progress */
|
|
14
14
|
isInProgress?: boolean | null;
|
|
15
15
|
/** Alternate Flag to show if the checkbox is checked */
|
|
16
16
|
checked?: boolean | null;
|
|
@@ -22,9 +22,9 @@ export interface DropdownToggleCheckboxProps extends Omit<React.HTMLProps<HTMLIn
|
|
|
22
22
|
id: string;
|
|
23
23
|
/** Aria-label of the checkbox */
|
|
24
24
|
'aria-label': string;
|
|
25
|
-
/**
|
|
25
|
+
/** Text describing current loading status or progress */
|
|
26
26
|
defaultProgressAriaValueText?: string;
|
|
27
|
-
/**
|
|
27
|
+
/** Aria-label for the default progress icon to describe what is loading */
|
|
28
28
|
defaultProgressAriaLabel?: string;
|
|
29
29
|
/** Value to overwrite the randomly generated data-ouia-component-id.*/
|
|
30
30
|
ouiaId?: number | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownToggleCheckbox.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/Dropdown/DropdownToggleCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAgB,SAAS,EAAoB,MAAM,kBAAkB,CAAC;AAG7E,MAAM,WAAW,2BACf,SAAQ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC,EAC3F,SAAS;IACX,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,
|
|
1
|
+
{"version":3,"file":"DropdownToggleCheckbox.d.ts","sourceRoot":"","sources":["../../../../../src/deprecated/components/Dropdown/DropdownToggleCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAgB,SAA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A2B,CAAC,CAK5D;gBAEU,KAAK,EAAE,2BAA2B;IAO9C,YAAY,UAAW,MAAM,SAAS,CAAC,gBAAgB,CAAC,UAEtD;IAEF,gBAAgB,gBASd;IAEF,MAAM;CAyDP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-dropdown-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/Dropdown/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-dropdown-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/Dropdown/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-optionsmenu-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/OptionsMenu/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-optionsmenu-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/OptionsMenu/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-pageheader-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/PageHeader/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-pageheader-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/PageHeader/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-select-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/Select/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-select-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/Select/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-wizard-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/Wizard/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-wizard-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/Wizard/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-components-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-components-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/components/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-deprecated-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-deprecated-deprecated-cjs","main":"index.js","module":"./dist/js/deprecated/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -26,7 +26,7 @@ export interface PopperProps {
|
|
|
26
26
|
position?: 'right' | 'left' | 'center';
|
|
27
27
|
/** Instead of direction and position can set the placement of the popper */
|
|
28
28
|
placement?: Placement;
|
|
29
|
-
/**
|
|
29
|
+
/** Custom width of the popper. If the value is "trigger", it will set the width to the trigger element's width */
|
|
30
30
|
width?: string | 'trigger';
|
|
31
31
|
/** Minimum width of the popper. If the value is "trigger", it will set the min width to the trigger element's width */
|
|
32
32
|
minWidth?: string | 'trigger';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/helpers/Popper/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAY,MAAM,0BAA0B,CAAC;AAE/D,OAAO,2DAA2D,CAAC;AAsCnE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CACT;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAwRvD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-popper-core-cjs","main":"index.js","module":"./dist/js/helpers/Popper/thirdparty/popper-core/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-popper-core-cjs","main":"index.js","module":"./dist/js/helpers/Popper/thirdparty/popper-core/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers-cjs","main":"index.js","module":"./dist/js/helpers/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers-cjs","main":"index.js","module":"./dist/js/helpers/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-bullseye-cjs","main":"index.js","module":"./dist/js/layouts/Bullseye/index.js","typings":"index.d.ts","version":"5.0.0-alpha.
|
|
1
|
+
{"name":"@patternfly/react-core-bullseye-cjs","main":"index.js","module":"./dist/js/layouts/Bullseye/index.js","typings":"index.d.ts","version":"5.0.0-alpha.107"}
|