@patternfly/react-core 6.6.0-prerelease.1 → 6.6.0-prerelease.3
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 +8 -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/Compass/package.json +1 -1
- package/dist/dynamic/components/Content/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/Hero/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/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/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/DualListSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
- package/dist/dynamic/deprecated/components/Tile/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/AnimationsProvider/AnimationsProvider/package.json +1 -1
- package/dist/dynamic/helpers/AnimationsProvider/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/SSRSafeIds/SSRSafeIds/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/useSSRSafeId/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/styles/package.json +1 -1
- package/dist/esm/components/FormSelect/FormSelect.js +2 -2
- package/dist/esm/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggle.js +2 -2
- package/dist/esm/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.js +2 -2
- package/dist/esm/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/esm/components/Wizard/WizardToggle.js +2 -2
- package/dist/esm/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/esm/deprecated/components/Wizard/WizardToggle.js +2 -2
- package/dist/esm/deprecated/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/js/components/FormSelect/FormSelect.js +2 -2
- package/dist/js/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggle.js +2 -2
- package/dist/js/components/MenuToggle/MenuToggle.js.map +1 -1
- package/dist/js/components/SearchInput/SearchInput.js +2 -2
- package/dist/js/components/SearchInput/SearchInput.js.map +1 -1
- package/dist/js/components/Wizard/WizardToggle.js +2 -2
- package/dist/js/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/js/deprecated/components/Wizard/WizardToggle.js +2 -2
- package/dist/js/deprecated/components/Wizard/WizardToggle.js.map +1 -1
- package/dist/umd/assets/{output-BRwDja7_.css → output-CAjTs_Ni.css} +20985 -20985
- package/dist/umd/react-core.min.js +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/Alert/__tests__/AlertToggleExpandButton.test.tsx +5 -6
- package/src/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +4 -16
- package/src/components/FormSelect/FormSelect.tsx +2 -2
- package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +36 -144
- package/src/components/Masthead/examples/Masthead.md +1 -1
- package/src/components/Menu/examples/Menu.md +2 -2
- package/src/components/Menu/examples/MenuWithActions.tsx +2 -2
- package/src/components/Menu/examples/MenuWithFavorites.tsx +2 -2
- package/src/components/MenuToggle/MenuToggle.tsx +2 -2
- package/src/components/MenuToggle/__tests__/__snapshots__/MenuToggle.test.tsx.snap +32 -128
- package/src/components/Modal/examples/Modal.md +1 -1
- package/src/components/Page/examples/Page.md +1 -1
- package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +4 -16
- package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +80 -320
- package/src/components/Panel/__tests__/__snapshots__/Panel.test.tsx.snap +6 -6
- package/src/components/SearchInput/SearchInput.tsx +2 -2
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +12 -48
- package/src/components/Wizard/WizardToggle.tsx +2 -2
- package/src/demos/CustomMenus/CustomMenus.md +2 -2
- package/src/demos/CustomMenus/examples/ActionsMenuDemo.tsx +2 -2
- package/src/demos/Masthead.md +1 -1
- package/src/demos/Nav.md +1 -1
- package/src/demos/NotificationDrawer/NotificationDrawer.md +1 -1
- package/src/demos/Page.md +1 -1
- package/src/demos/RTL/RTL.md +1 -1
- package/src/demos/Wizard/WizardDemo.md +1 -1
- package/src/deprecated/components/Modal/examples/Modal.md +1 -1
- package/src/deprecated/components/Wizard/WizardToggle.tsx +2 -2
- package/src/deprecated/components/Wizard/__tests__/Generated/__snapshots__/WizardToggle.test.tsx.snap +4 -16
- package/src/deprecated/components/Wizard/__tests__/__snapshots__/Wizard.test.tsx.snap +12 -48
|
@@ -104,24 +104,12 @@ exports[`SearchInput advanced search 1`] = `
|
|
|
104
104
|
fill="currentColor"
|
|
105
105
|
height="1em"
|
|
106
106
|
role="img"
|
|
107
|
+
viewBox="0 0 20 20"
|
|
107
108
|
width="1em"
|
|
108
109
|
>
|
|
109
|
-
<
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
>
|
|
113
|
-
<path
|
|
114
|
-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
115
|
-
/>
|
|
116
|
-
</svg>
|
|
117
|
-
<svg
|
|
118
|
-
class="pf-v6-icon-rh-ui"
|
|
119
|
-
viewBox="0 0 32 32"
|
|
120
|
-
>
|
|
121
|
-
<path
|
|
122
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
123
|
-
/>
|
|
124
|
-
</svg>
|
|
110
|
+
<path
|
|
111
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
112
|
+
/>
|
|
125
113
|
</svg>
|
|
126
114
|
</span>
|
|
127
115
|
</button>
|
|
@@ -283,24 +271,12 @@ exports[`SearchInput advanced search with custom attributes 1`] = `
|
|
|
283
271
|
fill="currentColor"
|
|
284
272
|
height="1em"
|
|
285
273
|
role="img"
|
|
274
|
+
viewBox="0 0 20 20"
|
|
286
275
|
width="1em"
|
|
287
276
|
>
|
|
288
|
-
<
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
>
|
|
292
|
-
<path
|
|
293
|
-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
294
|
-
/>
|
|
295
|
-
</svg>
|
|
296
|
-
<svg
|
|
297
|
-
class="pf-v6-icon-rh-ui"
|
|
298
|
-
viewBox="0 0 32 32"
|
|
299
|
-
>
|
|
300
|
-
<path
|
|
301
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
302
|
-
/>
|
|
303
|
-
</svg>
|
|
277
|
+
<path
|
|
278
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
279
|
+
/>
|
|
304
280
|
</svg>
|
|
305
281
|
</span>
|
|
306
282
|
</button>
|
|
@@ -652,24 +628,12 @@ exports[`SearchInput renders search input in strict mode 1`] = `
|
|
|
652
628
|
fill="currentColor"
|
|
653
629
|
height="1em"
|
|
654
630
|
role="img"
|
|
631
|
+
viewBox="0 0 20 20"
|
|
655
632
|
width="1em"
|
|
656
633
|
>
|
|
657
|
-
<
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
>
|
|
661
|
-
<path
|
|
662
|
-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
663
|
-
/>
|
|
664
|
-
</svg>
|
|
665
|
-
<svg
|
|
666
|
-
class="pf-v6-icon-rh-ui"
|
|
667
|
-
viewBox="0 0 32 32"
|
|
668
|
-
>
|
|
669
|
-
<path
|
|
670
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
671
|
-
/>
|
|
672
|
-
</svg>
|
|
634
|
+
<path
|
|
635
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
636
|
+
/>
|
|
673
637
|
</svg>
|
|
674
638
|
</span>
|
|
675
639
|
</button>
|
|
@@ -2,7 +2,7 @@ import { Fragment, useCallback, useEffect } from 'react';
|
|
|
2
2
|
import { css } from '@patternfly/react-styles';
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/Wizard/wizard';
|
|
4
4
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
5
|
-
import
|
|
5
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
6
6
|
import RhUiErrorFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-error-fill-icon';
|
|
7
7
|
import RhUiCheckCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-check-circle-fill-icon';
|
|
8
8
|
|
|
@@ -122,7 +122,7 @@ export const WizardToggle = ({
|
|
|
122
122
|
</span>
|
|
123
123
|
|
|
124
124
|
<span className={css(styles.wizardToggleIcon)}>
|
|
125
|
-
<
|
|
125
|
+
<RhMicronsCaretDownIcon />
|
|
126
126
|
</span>
|
|
127
127
|
</button>
|
|
128
128
|
<div className={css(styles.wizardOuterWrap)}>
|
|
@@ -13,13 +13,13 @@ import StorageDomainIcon from '@patternfly/react-icons/dist/esm/icons/storage-do
|
|
|
13
13
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
14
14
|
import LayerGroupIcon from '@patternfly/react-icons/dist/esm/icons/layer-group-icon';
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
16
|
-
import
|
|
16
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
17
17
|
import ClipboardIcon from '@patternfly/react-icons/dist/esm/icons/clipboard-icon';
|
|
18
18
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
19
19
|
import ThIcon from '@patternfly/react-icons/dist/esm/icons/th-icon';
|
|
20
20
|
import brandImg from '../assets/PF-IconLogo.svg';
|
|
21
21
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
22
|
-
import
|
|
22
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
23
23
|
import RhMicronsCloseIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-close-icon';
|
|
24
24
|
import avatarImg from '../assets/avatarImg.svg';
|
|
25
25
|
import { css } from '@patternfly/react-styles';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef, useState } from 'react';
|
|
2
2
|
import { MenuToggle, MenuItemAction, Select, SelectGroup, SelectList, SelectOption } from '@patternfly/react-core';
|
|
3
|
-
import
|
|
3
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
4
4
|
import ClipboardIcon from '@patternfly/react-icons/dist/esm/icons/clipboard-icon';
|
|
5
5
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
6
6
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
@@ -76,7 +76,7 @@ export const ActionsMenuDemo: React.FunctionComponent = () => {
|
|
|
76
76
|
</SelectOption>
|
|
77
77
|
<SelectOption
|
|
78
78
|
isSelected={selectedItems.includes(3)}
|
|
79
|
-
actions={<MenuItemAction icon={<
|
|
79
|
+
actions={<MenuItemAction icon={<RhUiMenuBarsIcon />} actionId="expand" aria-label="Expand" />}
|
|
80
80
|
description="This is a description"
|
|
81
81
|
value={3}
|
|
82
82
|
>
|
package/src/demos/Masthead.md
CHANGED
|
@@ -5,7 +5,7 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import { cloneElement, Fragment, useEffect, useRef, useState } from 'react';
|
|
7
7
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
8
|
-
import
|
|
8
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
9
9
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
10
10
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
11
11
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
package/src/demos/Nav.md
CHANGED
|
@@ -9,7 +9,7 @@ import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
|
9
9
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
10
10
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
11
11
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
12
|
-
import
|
|
12
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
13
13
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
14
14
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
@@ -7,7 +7,7 @@ import { Fragment, useRef, useState } from 'react';
|
|
|
7
7
|
|
|
8
8
|
import RhUiNotificationFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-notification-fill-icon';
|
|
9
9
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
10
|
-
import
|
|
10
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/js/icons/rh-ui-menu-bars-icon';
|
|
11
11
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
12
12
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
13
13
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
package/src/demos/Page.md
CHANGED
|
@@ -9,7 +9,7 @@ import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-s
|
|
|
9
9
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
10
10
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
11
11
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
12
|
-
import
|
|
12
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
13
13
|
import LightbulbIcon from '@patternfly/react-icons/dist/esm/icons/lightbulb-icon';
|
|
14
14
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
15
15
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
package/src/demos/RTL/RTL.md
CHANGED
|
@@ -11,7 +11,7 @@ import ToolsIcon from '@patternfly/react-icons/dist/esm/icons/tools-icon';
|
|
|
11
11
|
import ClockIcon from '@patternfly/react-icons/dist/esm/icons/clock-icon';
|
|
12
12
|
import WalkingIcon from '@patternfly/react-icons/dist/esm/icons/walking-icon';
|
|
13
13
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
14
|
-
import
|
|
14
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-menu-bars-icon';
|
|
15
15
|
import RhUiSettingsFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-settings-fill-icon';
|
|
16
16
|
import RhUiQuestionMarkCircleFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-question-mark-circle-fill-icon';
|
|
17
17
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
@@ -7,7 +7,7 @@ source: react-demos
|
|
|
7
7
|
import { Fragment, useRef, useState } from 'react';
|
|
8
8
|
|
|
9
9
|
import pfLogo from '@patternfly/react-core/src/demos/assets/PF-HorizontalLogo-Color.svg';
|
|
10
|
-
import
|
|
10
|
+
import RhUiMenuBarsIcon from '@patternfly/react-icons/dist/js/icons/rh-ui-menu-bars-icon';
|
|
11
11
|
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
12
12
|
|
|
13
13
|
## Demos
|
|
@@ -11,7 +11,7 @@ import { Fragment, useRef, useState } from 'react';
|
|
|
11
11
|
|
|
12
12
|
import { Modal as ModalDeprecated, ModalVariant as ModalVariantDeprecated } from '@patternfly/react-core/deprecated';
|
|
13
13
|
import WarningTriangleIcon from '@patternfly/react-icons/dist/esm/icons/warning-triangle-icon';
|
|
14
|
-
import
|
|
14
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
15
15
|
import BullhornIcon from '@patternfly/react-icons/dist/esm/icons/bullhorn-icon';
|
|
16
16
|
import HelpIcon from '@patternfly/react-icons/dist/esm/icons/help-icon';
|
|
17
17
|
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
|
|
@@ -2,7 +2,7 @@ import { Fragment } from 'react';
|
|
|
2
2
|
import { css } from '@patternfly/react-styles';
|
|
3
3
|
import styles from '@patternfly/react-styles/css/components/Wizard/wizard';
|
|
4
4
|
import RhMicronsCaretRightIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-right-icon';
|
|
5
|
-
import
|
|
5
|
+
import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon';
|
|
6
6
|
import { WizardStep } from './Wizard';
|
|
7
7
|
import { WizardBody } from './WizardBody';
|
|
8
8
|
|
|
@@ -97,7 +97,7 @@ export const WizardToggle: React.FunctionComponent<WizardToggleProps> = ({
|
|
|
97
97
|
{activeStepSubName && <span className={css(styles.wizardToggleListItem)}>{activeStepSubName}</span>}
|
|
98
98
|
</span>
|
|
99
99
|
<span className={css(styles.wizardToggleIcon)}>
|
|
100
|
-
<
|
|
100
|
+
<RhMicronsCaretDownIcon />
|
|
101
101
|
</span>
|
|
102
102
|
</button>
|
|
103
103
|
<div className={css(styles.wizardOuterWrap)}>
|
|
@@ -28,24 +28,12 @@ exports[`WizardToggle should match snapshot (auto-generated) 1`] = `
|
|
|
28
28
|
fill="currentColor"
|
|
29
29
|
height="1em"
|
|
30
30
|
role="img"
|
|
31
|
+
viewBox="0 0 20 20"
|
|
31
32
|
width="1em"
|
|
32
33
|
>
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
>
|
|
37
|
-
<path
|
|
38
|
-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
39
|
-
/>
|
|
40
|
-
</svg>
|
|
41
|
-
<svg
|
|
42
|
-
class="pf-v6-icon-rh-ui"
|
|
43
|
-
viewBox="0 0 32 32"
|
|
44
|
-
>
|
|
45
|
-
<path
|
|
46
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
47
|
-
/>
|
|
48
|
-
</svg>
|
|
34
|
+
<path
|
|
35
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
36
|
+
/>
|
|
49
37
|
</svg>
|
|
50
38
|
</span>
|
|
51
39
|
</button>
|
|
@@ -83,24 +83,12 @@ exports[`Wizard Expandable Nav Wizard should match snapshot 1`] = `
|
|
|
83
83
|
fill="currentColor"
|
|
84
84
|
height="1em"
|
|
85
85
|
role="img"
|
|
86
|
+
viewBox="0 0 20 20"
|
|
86
87
|
width="1em"
|
|
87
88
|
>
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
>
|
|
92
|
-
<path
|
|
93
|
-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
94
|
-
/>
|
|
95
|
-
</svg>
|
|
96
|
-
<svg
|
|
97
|
-
class="pf-v6-icon-rh-ui"
|
|
98
|
-
viewBox="0 0 32 32"
|
|
99
|
-
>
|
|
100
|
-
<path
|
|
101
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
102
|
-
/>
|
|
103
|
-
</svg>
|
|
89
|
+
<path
|
|
90
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
91
|
+
/>
|
|
104
92
|
</svg>
|
|
105
93
|
</span>
|
|
106
94
|
</button>
|
|
@@ -430,24 +418,12 @@ exports[`Wizard Wizard should match snapshot 1`] = `
|
|
|
430
418
|
fill="currentColor"
|
|
431
419
|
height="1em"
|
|
432
420
|
role="img"
|
|
421
|
+
viewBox="0 0 20 20"
|
|
433
422
|
width="1em"
|
|
434
423
|
>
|
|
435
|
-
<
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
>
|
|
439
|
-
<path
|
|
440
|
-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
441
|
-
/>
|
|
442
|
-
</svg>
|
|
443
|
-
<svg
|
|
444
|
-
class="pf-v6-icon-rh-ui"
|
|
445
|
-
viewBox="0 0 32 32"
|
|
446
|
-
>
|
|
447
|
-
<path
|
|
448
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
449
|
-
/>
|
|
450
|
-
</svg>
|
|
424
|
+
<path
|
|
425
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
426
|
+
/>
|
|
451
427
|
</svg>
|
|
452
428
|
</span>
|
|
453
429
|
</button>
|
|
@@ -708,24 +684,12 @@ exports[`Wizard bare wiz 1`] = `
|
|
|
708
684
|
fill="currentColor"
|
|
709
685
|
height="1em"
|
|
710
686
|
role="img"
|
|
687
|
+
viewBox="0 0 20 20"
|
|
711
688
|
width="1em"
|
|
712
689
|
>
|
|
713
|
-
<
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
>
|
|
717
|
-
<path
|
|
718
|
-
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
719
|
-
/>
|
|
720
|
-
</svg>
|
|
721
|
-
<svg
|
|
722
|
-
class="pf-v6-icon-rh-ui"
|
|
723
|
-
viewBox="0 0 32 32"
|
|
724
|
-
>
|
|
725
|
-
<path
|
|
726
|
-
d="M16 24.792c-.384 0-.769-.146-1.061-.438L2.293 11.707a.999.999 0 1 1 1.414-1.414L16 22.586l12.293-12.293a.999.999 0 1 1 1.414 1.414L17.061 24.353a1.497 1.497 0 0 1-1.061.438Z"
|
|
727
|
-
/>
|
|
728
|
-
</svg>
|
|
690
|
+
<path
|
|
691
|
+
d="M18.71 5.29a.996.996 0 0 0-1.41 0l-7.29 7.29-7.3-7.29a.987.987 0 0 0-1.41-.02.987.987 0 0 0-.02 1.41l.02.02 7.65 7.65c.29.29.68.44 1.06.44s.77-.15 1.06-.44l7.65-7.65a.996.996 0 0 0 0-1.41Z"
|
|
692
|
+
/>
|
|
729
693
|
</svg>
|
|
730
694
|
</span>
|
|
731
695
|
</button>
|