@patternfly/react-core 5.3.0-prerelease.12 → 5.3.0-prerelease.14
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 +14 -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/Chip/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/DragDrop/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/ApplicationLauncher/package.json +1 -1
- package/dist/dynamic/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/Dropdown/package.json +1 -1
- package/dist/dynamic/deprecated/components/OptionsMenu/package.json +1 -1
- package/dist/dynamic/deprecated/components/PageHeader/package.json +1 -1
- package/dist/dynamic/deprecated/components/Select/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/favorites/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/components/ClipboardCopy/ClipboardCopy.d.ts +2 -2
- package/dist/esm/components/ClipboardCopy/ClipboardCopy.d.ts.map +1 -1
- package/dist/esm/components/ClipboardCopy/ClipboardCopy.js +10 -2
- package/dist/esm/components/ClipboardCopy/ClipboardCopy.js.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggleCheckbox.js +2 -2
- package/dist/esm/components/MenuToggle/MenuToggleCheckbox.js.map +1 -1
- package/dist/js/components/ClipboardCopy/ClipboardCopy.d.ts +2 -2
- package/dist/js/components/ClipboardCopy/ClipboardCopy.d.ts.map +1 -1
- package/dist/js/components/ClipboardCopy/ClipboardCopy.js +10 -2
- package/dist/js/components/ClipboardCopy/ClipboardCopy.js.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggleCheckbox.js +2 -2
- package/dist/js/components/MenuToggle/MenuToggleCheckbox.js.map +1 -1
- package/dist/umd/react-core.min.js +2 -2
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +6 -6
- package/src/components/ClipboardCopy/ClipboardCopy.tsx +17 -3
- package/src/components/MenuToggle/MenuToggleCheckbox.tsx +2 -2
- package/src/components/Select/examples/SelectMultiTypeaheadCheckbox.tsx +6 -1
- package/src/demos/AlertGroup.md +1 -0
- package/src/demos/BackToTop.md +1 -0
- package/src/demos/Banner.md +3 -2
- package/src/demos/CardView/CardView.md +2 -0
- package/src/demos/CardView/examples/CardView.tsx +1 -1
- package/src/demos/DataList/examples/DataListBasic.tsx +1 -1
- package/src/demos/DataList/examples/DataListExpandableControlInToolbar.tsx +1 -1
- package/src/demos/DataListDemo.md +1 -0
- package/src/demos/Filters/examples/FilterAttributeSearch.tsx +1 -1
- package/src/demos/Filters/examples/FilterCheckboxSelect.tsx +1 -1
- package/src/demos/Filters/examples/FilterFaceted.tsx +1 -1
- package/src/demos/Filters/examples/FilterMixedSelectGroup.tsx +1 -1
- package/src/demos/Filters/examples/FilterSameSelectGroup.tsx +1 -1
- package/src/demos/Filters/examples/FilterSearchInput.tsx +1 -1
- package/src/demos/Filters/examples/FilterSingleSelect.tsx +1 -1
- package/src/demos/JumpLinks.md +2 -1
- package/src/demos/PrimaryDetail.md +1 -0
- package/src/demos/Tabs.md +3 -2
- package/src/demos/Toolbar.md +1 -0
- package/src/demos/Wizard/WizardDemo.md +1 -0
- package/src/demos/examples/AlertGroup/AlertGroupToastWithNotificationDrawer.tsx +1 -1
- package/src/demos/examples/BackToTop/BackToTopNameDemo.tsx +1 -1
- package/src/demos/examples/Card/CardStatus.tsx +1 -1
- package/src/demos/examples/JumpLinks/JumpLinksWithDrawer.js +1 -1
- package/src/demos/examples/Nav/NavDefault.tsx +1 -1
- package/src/demos/examples/Nav/NavExpandable.tsx +1 -1
- package/src/demos/examples/Nav/NavHorizontal.tsx +1 -1
- package/src/demos/examples/Nav/NavHorizontalWithSubnav.tsx +1 -1
- package/src/demos/examples/Nav/NavWithSubnav.tsx +1 -1
- package/src/demos/examples/Nav/deprecated/NavTertiary.tsx +1 -1
- package/src/demos/examples/PrimaryDetail/PrimaryDetailCardView.tsx +1 -1
- package/src/demos/examples/PrimaryDetail/PrimaryDetailContentPadding.tsx +1 -1
- package/src/demos/examples/PrimaryDetail/PrimaryDetailDataListInCard.tsx +1 -1
- package/src/demos/examples/PrimaryDetail/PrimaryDetailFullPage.tsx +1 -1
- package/src/demos/examples/PrimaryDetail/PrimaryDetailInlineModifier.tsx +1 -1
- package/src/demos/examples/PrimaryDetail/PrimaryDetailSimpleListInCard.tsx +1 -1
- package/src/demos/examples/Tabs/ModalTabs.tsx +1 -1
- package/src/demos/examples/Tabs/NestedTabs.tsx +1 -1
- package/src/demos/examples/Tabs/NestedUnindentedTabs.tsx +1 -1
- package/src/demos/examples/Tabs/TabsAndTable.tsx +2 -2
- package/src/demos/examples/Toolbar/ConsoleLogViewerToolbar.tsx +1 -1
- package/src/demos/examples/Wizard/InModal.tsx +1 -1
- package/src/demos/examples/Wizard/InPage.tsx +1 -1
package/helpers/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"5.3.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"5.3.0-prerelease.13","private":true}
|
package/layouts/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"5.3.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"5.3.0-prerelease.13","private":true}
|
package/next/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"5.3.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"5.3.0-prerelease.13","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "5.3.0-prerelease.
|
|
3
|
+
"version": "5.3.0-prerelease.14",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"clean:exports": "node scripts/cleanDistExports.js"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@patternfly/react-icons": "^5.3.0-prerelease.
|
|
50
|
-
"@patternfly/react-styles": "^5.3.0-prerelease.
|
|
51
|
-
"@patternfly/react-tokens": "^5.3.0-prerelease.
|
|
49
|
+
"@patternfly/react-icons": "^5.3.0-prerelease.3",
|
|
50
|
+
"@patternfly/react-styles": "^5.3.0-prerelease.3",
|
|
51
|
+
"@patternfly/react-tokens": "^5.3.0-prerelease.3",
|
|
52
52
|
"focus-trap": "7.5.2",
|
|
53
53
|
"react-dropzone": "^14.2.3",
|
|
54
54
|
"tslib": "^2.5.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@patternfly/patternfly": "5.3.0-prerelease.
|
|
57
|
+
"@patternfly/patternfly": "5.3.0-prerelease.5",
|
|
58
58
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
59
59
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
60
60
|
"@rollup/plugin-replace": "^5.0.2",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"react": "^17 || ^18",
|
|
73
73
|
"react-dom": "^17 || ^18"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "988c428234f88b32b93290f7ffa8173fa22282cc"
|
|
76
76
|
}
|
|
@@ -10,8 +10,22 @@ import { ClipboardCopyToggle } from './ClipboardCopyToggle';
|
|
|
10
10
|
import { ClipboardCopyExpanded } from './ClipboardCopyExpanded';
|
|
11
11
|
import { getOUIAProps, OUIAProps } from '../../helpers';
|
|
12
12
|
|
|
13
|
-
export const clipboardCopyFunc = (
|
|
14
|
-
|
|
13
|
+
export const clipboardCopyFunc = (_event: React.ClipboardEvent<HTMLDivElement>, text?: React.ReactNode) => {
|
|
14
|
+
try {
|
|
15
|
+
navigator.clipboard.writeText(text.toString());
|
|
16
|
+
} catch (error) {
|
|
17
|
+
// eslint-disable-next-line no-console
|
|
18
|
+
console.warn(
|
|
19
|
+
"Clipboard API not found, this copy function will not work. This is likely because you're using an",
|
|
20
|
+
"unsupported browser or you're not using HTTPS. \n\nIf you're a developer building an application which needs",
|
|
21
|
+
"to support copying to the clipboard without the clipboard API, you'll have to create your own copy",
|
|
22
|
+
'function and pass it to the ClipboardCopy component as the onCopy prop. For more information see',
|
|
23
|
+
'https://developer.mozilla.org/en-US/docs/Web/API/Navigator/clipboard'
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line no-console
|
|
27
|
+
console.error(error);
|
|
28
|
+
}
|
|
15
29
|
};
|
|
16
30
|
|
|
17
31
|
export enum ClipboardCopyVariant {
|
|
@@ -70,7 +84,7 @@ export interface ClipboardCopyProps extends Omit<React.HTMLProps<HTMLDivElement>
|
|
|
70
84
|
exitDelay?: number;
|
|
71
85
|
/** Delay in ms before the tooltip appears. */
|
|
72
86
|
entryDelay?: number;
|
|
73
|
-
/** A function that is triggered on clicking the copy button. */
|
|
87
|
+
/** A function that is triggered on clicking the copy button. This will replace the existing clipboard copy functionality entirely. */
|
|
74
88
|
onCopy?: (event: React.ClipboardEvent<HTMLDivElement>, text?: React.ReactNode) => void;
|
|
75
89
|
/** A function that is triggered on changing the text. */
|
|
76
90
|
onChange?: (event: React.FormEvent, text?: string) => void;
|
|
@@ -84,7 +84,7 @@ class MenuToggleCheckbox extends React.Component<MenuToggleCheckboxProps, { ouia
|
|
|
84
84
|
</span>
|
|
85
85
|
);
|
|
86
86
|
return (
|
|
87
|
-
<label className={css(styles.check, !children && styles.modifiers.standalone, className)}
|
|
87
|
+
<label className={css(styles.check, !children && styles.modifiers.standalone, className)}>
|
|
88
88
|
<input
|
|
89
89
|
className={css(styles.checkInput)}
|
|
90
90
|
{...(this.calculateChecked() !== undefined && { onChange: this.handleChange })}
|
|
@@ -93,7 +93,7 @@ class MenuToggleCheckbox extends React.Component<MenuToggleCheckboxProps, { ouia
|
|
|
93
93
|
ref={(elem) => elem && (elem.indeterminate = isChecked === null)}
|
|
94
94
|
aria-invalid={!isValid}
|
|
95
95
|
disabled={isDisabled}
|
|
96
|
-
{...(defaultChecked !== undefined ? { defaultChecked } : { checked:
|
|
96
|
+
{...(defaultChecked !== undefined ? { defaultChecked } : { checked: this.calculateChecked() })}
|
|
97
97
|
{...getOUIAProps(
|
|
98
98
|
MenuToggleCheckbox.displayName,
|
|
99
99
|
ouiaId !== undefined ? ouiaId : this.state.ouiaStateId,
|
|
@@ -44,7 +44,12 @@ export const SelectMultiTypeaheadCheckbox: React.FunctionComponent = () => {
|
|
|
44
44
|
// When no options are found after filtering, display 'No results found'
|
|
45
45
|
if (!newSelectOptions.length) {
|
|
46
46
|
newSelectOptions = [
|
|
47
|
-
{
|
|
47
|
+
{
|
|
48
|
+
isDisabled: false,
|
|
49
|
+
children: `No results found for "${inputValue}"`,
|
|
50
|
+
value: 'no results',
|
|
51
|
+
hasCheckbox: false
|
|
52
|
+
}
|
|
48
53
|
];
|
|
49
54
|
}
|
|
50
55
|
|
package/src/demos/AlertGroup.md
CHANGED
|
@@ -6,6 +6,7 @@ section: components
|
|
|
6
6
|
import { useEffect } from 'react';
|
|
7
7
|
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
|
|
8
8
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
9
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
9
10
|
|
|
10
11
|
## Demos
|
|
11
12
|
|
package/src/demos/BackToTop.md
CHANGED
package/src/demos/Banner.md
CHANGED
|
@@ -5,6 +5,7 @@ section: components
|
|
|
5
5
|
|
|
6
6
|
import { css } from '@patternfly/react-styles';
|
|
7
7
|
import display from '@patternfly/react-styles/css/utilities/Display/display';
|
|
8
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
8
9
|
|
|
9
10
|
## Demos
|
|
10
11
|
|
|
@@ -25,7 +26,7 @@ import {
|
|
|
25
26
|
Text
|
|
26
27
|
} from '@patternfly/react-core';
|
|
27
28
|
|
|
28
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
29
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
29
30
|
import { css } from '@patternfly/react-styles';
|
|
30
31
|
import display from '@patternfly/react-styles/css/utilities/Display/display';
|
|
31
32
|
|
|
@@ -91,7 +92,7 @@ import {
|
|
|
91
92
|
TextContent,
|
|
92
93
|
Text
|
|
93
94
|
} from '@patternfly/react-core';
|
|
94
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
95
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
95
96
|
import { css } from '@patternfly/react-styles';
|
|
96
97
|
import display from '@patternfly/react-styles/css/utilities/Display/display';
|
|
97
98
|
|
|
@@ -18,6 +18,8 @@ import restIcon from '../assets/FuseConnector_Icons_REST.png';
|
|
|
18
18
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
19
19
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
20
20
|
|
|
21
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
22
|
+
|
|
21
23
|
## Demos
|
|
22
24
|
|
|
23
25
|
This demonstrates how you can assemble a full page view that contains a grid of equal sized cards that includes a toolbar for managing card grid contents.
|
|
@@ -51,7 +51,7 @@ import swaggerIcon from './assets/camel-swagger-java_200x150.png';
|
|
|
51
51
|
import azureIcon from './assets/FuseConnector_Icons_AzureServices.png';
|
|
52
52
|
import restIcon from './assets/FuseConnector_Icons_REST.png';
|
|
53
53
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
54
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
54
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
55
55
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
56
56
|
|
|
57
57
|
export const CardViewBasic: React.FunctionComponent = () => {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
ToolbarContent
|
|
25
25
|
} from '@patternfly/react-core';
|
|
26
26
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
27
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
27
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
28
28
|
|
|
29
29
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
30
30
|
import CodeIcon from '@patternfly/react-icons/dist/esm/icons/code-icon';
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
TextContent
|
|
29
29
|
} from '@patternfly/react-core';
|
|
30
30
|
|
|
31
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
31
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
32
32
|
|
|
33
33
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
34
34
|
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
|
|
@@ -14,6 +14,7 @@ import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
|
14
14
|
import ExclamationTriangleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-triangle-icon';
|
|
15
15
|
import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
|
|
16
16
|
import TimesCircleIcon from '@patternfly/react-icons/dist/esm/icons/times-circle-icon';
|
|
17
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
17
18
|
|
|
18
19
|
## Demos
|
|
19
20
|
|
|
@@ -651,7 +651,7 @@ export const FilterAttributeSearch: React.FunctionComponent = () => {
|
|
|
651
651
|
<Table aria-label="Selectable table">
|
|
652
652
|
<Thead>
|
|
653
653
|
<Tr>
|
|
654
|
-
<Th />
|
|
654
|
+
<Th screenReaderText="Row select" />
|
|
655
655
|
<Th width={20}>{columnNames.name}</Th>
|
|
656
656
|
<Th width={10}>{columnNames.threads}</Th>
|
|
657
657
|
<Th width={10}>{columnNames.apps}</Th>
|
|
@@ -377,7 +377,7 @@ export const FilterCheckboxSelect: React.FunctionComponent = () => {
|
|
|
377
377
|
<Table aria-label="Selectable table">
|
|
378
378
|
<Thead>
|
|
379
379
|
<Tr>
|
|
380
|
-
<Th />
|
|
380
|
+
<Th screenReaderText="Row select" />
|
|
381
381
|
<Th width={20}>{columnNames.name}</Th>
|
|
382
382
|
<Th width={10}>{columnNames.threads}</Th>
|
|
383
383
|
<Th width={10}>{columnNames.apps}</Th>
|
|
@@ -467,7 +467,7 @@ export const FilterFaceted: React.FunctionComponent = () => {
|
|
|
467
467
|
<Table aria-label="Selectable table">
|
|
468
468
|
<Thead>
|
|
469
469
|
<Tr>
|
|
470
|
-
<Th />
|
|
470
|
+
<Th screenReaderText="Row select" />
|
|
471
471
|
<Th width={20}>{columnNames.name}</Th>
|
|
472
472
|
<Th width={10}>{columnNames.threads}</Th>
|
|
473
473
|
<Th width={10}>{columnNames.apps}</Th>
|
|
@@ -517,7 +517,7 @@ export const FilterMixedSelectGroup: React.FunctionComponent = () => {
|
|
|
517
517
|
<Table aria-label="Selectable table">
|
|
518
518
|
<Thead>
|
|
519
519
|
<Tr>
|
|
520
|
-
<Th />
|
|
520
|
+
<Th screenReaderText="Row select" />
|
|
521
521
|
<Th width={20}>{columnNames.name}</Th>
|
|
522
522
|
<Th width={10}>{columnNames.threads}</Th>
|
|
523
523
|
<Th width={10}>{columnNames.apps}</Th>
|
|
@@ -490,7 +490,7 @@ export const FilterSameSelectGroup: React.FunctionComponent = () => {
|
|
|
490
490
|
<Table aria-label="Selectable table">
|
|
491
491
|
<Thead>
|
|
492
492
|
<Tr>
|
|
493
|
-
<Th />
|
|
493
|
+
<Th screenReaderText="Row select" />
|
|
494
494
|
<Th width={20}>{columnNames.name}</Th>
|
|
495
495
|
<Th width={10}>{columnNames.threads}</Th>
|
|
496
496
|
<Th width={10}>{columnNames.apps}</Th>
|
|
@@ -298,7 +298,7 @@ export const FilterSearchInput: React.FunctionComponent = () => {
|
|
|
298
298
|
<Table aria-label="Selectable table">
|
|
299
299
|
<Thead>
|
|
300
300
|
<Tr>
|
|
301
|
-
<Th />
|
|
301
|
+
<Th screenReaderText="Row select" />
|
|
302
302
|
<Th width={20}>{columnNames.name}</Th>
|
|
303
303
|
<Th width={10}>{columnNames.threads}</Th>
|
|
304
304
|
<Th width={10}>{columnNames.apps}</Th>
|
|
@@ -362,7 +362,7 @@ export const FilterSingleSelect: React.FunctionComponent = () => {
|
|
|
362
362
|
<Table aria-label="Selectable table">
|
|
363
363
|
<Thead>
|
|
364
364
|
<Tr>
|
|
365
|
-
<Th />
|
|
365
|
+
<Th screenReaderText="Row select" />
|
|
366
366
|
<Th width={20}>{columnNames.name}</Th>
|
|
367
367
|
<Th width={10}>{columnNames.threads}</Th>
|
|
368
368
|
<Th width={10}>{columnNames.apps}</Th>
|
package/src/demos/JumpLinks.md
CHANGED
|
@@ -4,6 +4,7 @@ section: components
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
import mastheadStyles from '@patternfly/react-styles/css/components/Masthead/masthead';
|
|
7
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
7
8
|
|
|
8
9
|
## Demos
|
|
9
10
|
|
|
@@ -34,7 +35,7 @@ import {
|
|
|
34
35
|
TextContent,
|
|
35
36
|
getResizeObserver
|
|
36
37
|
} from '@patternfly/react-core';
|
|
37
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
38
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
38
39
|
import mastheadStyles from '@patternfly/react-styles/css/components/Masthead/masthead';
|
|
39
40
|
|
|
40
41
|
ScrollspyH2 = () => {
|
|
@@ -24,6 +24,7 @@ import azureIcon from './assets/FuseConnector_Icons_AzureServices.png';
|
|
|
24
24
|
import restIcon from './assets/FuseConnector_Icons_REST.png';
|
|
25
25
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
26
26
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
27
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
27
28
|
|
|
28
29
|
## Demos
|
|
29
30
|
|
package/src/demos/Tabs.md
CHANGED
|
@@ -12,6 +12,7 @@ import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
|
12
12
|
import SortAmountDownIcon from '@patternfly/react-icons/dist/esm/icons/sort-amount-down-icon';
|
|
13
13
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
14
14
|
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
|
|
15
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
15
16
|
|
|
16
17
|
## Demos
|
|
17
18
|
|
|
@@ -43,7 +44,7 @@ import {
|
|
|
43
44
|
import CheckCircleIcon from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
44
45
|
import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
45
46
|
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
|
|
46
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
47
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
TabsOpenDemo = () => {
|
|
@@ -235,7 +236,7 @@ import {
|
|
|
235
236
|
import CheckCircleIcon from '@patternfly/react-icons/dist/js/icons/check-circle-icon';
|
|
236
237
|
import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-icon';
|
|
237
238
|
import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
|
|
238
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
239
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
239
240
|
|
|
240
241
|
TabsOpenWithSecondaryTabsDemo = () => {
|
|
241
242
|
const [activeTabKey, setActiveTabKey] = React.useState(0);
|
package/src/demos/Toolbar.md
CHANGED
|
@@ -11,6 +11,7 @@ import DownloadIcon from '@patternfly/react-icons/dist/esm/icons/download-icon';
|
|
|
11
11
|
import CogIcon from '@patternfly/react-icons/dist/esm/icons/cog-icon';
|
|
12
12
|
import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
|
|
13
13
|
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
|
|
14
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
14
15
|
|
|
15
16
|
## Demos
|
|
16
17
|
|
|
@@ -6,6 +6,7 @@ source: react-demos
|
|
|
6
6
|
|
|
7
7
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
8
8
|
import BarsIcon from '@patternfly/react-icons/dist/js/icons/bars-icon';
|
|
9
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
9
10
|
|
|
10
11
|
## Demos
|
|
11
12
|
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
|
|
35
35
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
36
36
|
import { DashboardHeader } from '@patternfly/react-core/src/demos/DashboardHeader';
|
|
37
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
37
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
38
38
|
|
|
39
39
|
interface NotificationProps {
|
|
40
40
|
title: string;
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
Page,
|
|
13
13
|
Switch
|
|
14
14
|
} from '@patternfly/react-core';
|
|
15
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
15
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
16
16
|
|
|
17
17
|
export const Name = () => {
|
|
18
18
|
const [isAlwaysVisible, setIsAlwaysVisible] = React.useState(false);
|
|
@@ -94,7 +94,7 @@ export const CardStatus: React.FunctionComponent = () => {
|
|
|
94
94
|
<Table variant="compact">
|
|
95
95
|
<Thead>
|
|
96
96
|
<Tr>
|
|
97
|
-
<Th />
|
|
97
|
+
<Th screenReaderText="Row expansion" />
|
|
98
98
|
{columns.map((column, columnIndex) => (
|
|
99
99
|
<Th key={columnIndex} modifier="fitContent">
|
|
100
100
|
{column}
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getResizeObserver,
|
|
21
21
|
DrawerContext
|
|
22
22
|
} from '@patternfly/react-core';
|
|
23
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
23
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
24
24
|
import mastheadStyles from '@patternfly/react-styles/css/components/Masthead/masthead';
|
|
25
25
|
|
|
26
26
|
const JumpLinksWrapper = ({ offsetHeight, headings }) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
TextContent,
|
|
17
17
|
Text
|
|
18
18
|
} from '@patternfly/react-core';
|
|
19
|
-
import { DashboardBreadcrumb } from '@patternfly/react-core/
|
|
19
|
+
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
20
20
|
import { DashboardHeader } from '@patternfly/react-core/src/demos/DashboardHeader';
|
|
21
21
|
|
|
22
22
|
export const NavDefault: React.FunctionComponent = () => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
TextContent,
|
|
18
18
|
Text
|
|
19
19
|
} from '@patternfly/react-core';
|
|
20
|
-
import { DashboardBreadcrumb } from '@patternfly/react-core/
|
|
20
|
+
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
21
21
|
import { DashboardHeader } from '@patternfly/react-core/src/demos/DashboardHeader';
|
|
22
22
|
|
|
23
23
|
export const NavExpandableDemo: React.FunctionComponent = () => {
|
|
@@ -39,7 +39,7 @@ import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-ico
|
|
|
39
39
|
import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
40
40
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
41
41
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
42
|
-
import { DashboardBreadcrumb } from '@patternfly/react-core/
|
|
42
|
+
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
43
43
|
|
|
44
44
|
export const NavHorizontal: React.FunctionComponent = () => {
|
|
45
45
|
const [isDropdownOpen, setIsDropdownOpen] = React.useState(false);
|
|
@@ -43,7 +43,7 @@ import BarsIcon from '@patternfly/react-icons/dist/esm/icons/bars-icon';
|
|
|
43
43
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
44
44
|
import imgAvatar from '@patternfly/react-core/src/components/assets/avatarImg.svg';
|
|
45
45
|
import pfLogo from '@patternfly/react-core/src/demos/assets/pf-logo.svg';
|
|
46
|
-
import { DashboardBreadcrumb } from '@patternfly/react-core/
|
|
46
|
+
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
47
47
|
|
|
48
48
|
export const NavHorizontalWithSubnav: React.FunctionComponent = () => {
|
|
49
49
|
const [isDropdownOpen, setIsDropdownOpen] = React.useState(false);
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
TextContent,
|
|
18
18
|
Text
|
|
19
19
|
} from '@patternfly/react-core';
|
|
20
|
-
import { DashboardBreadcrumb } from '@patternfly/react-core/
|
|
20
|
+
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
21
21
|
import { DashboardHeader } from '@patternfly/react-core/src/demos/DashboardHeader';
|
|
22
22
|
|
|
23
23
|
export const NavWithSubnav: React.FunctionComponent = () => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
TextContent,
|
|
15
15
|
Text
|
|
16
16
|
} from '@patternfly/react-core';
|
|
17
|
-
import { DashboardBreadcrumb } from '@patternfly/react-core/
|
|
17
|
+
import { DashboardBreadcrumb } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
18
18
|
import { DashboardHeader } from '@patternfly/react-core/src/demos/DashboardHeader';
|
|
19
19
|
|
|
20
20
|
export const NavTertiary: React.FunctionComponent = () => {
|
|
@@ -51,7 +51,7 @@ import swaggerIcon from './assets/camel-swagger-java_200x150.png';
|
|
|
51
51
|
import azureIcon from './assets/FuseConnector_Icons_AzureServices.png';
|
|
52
52
|
import restIcon from './assets/FuseConnector_Icons_REST.png';
|
|
53
53
|
import EllipsisVIcon from '@patternfly/react-icons/dist/esm/icons/ellipsis-v-icon';
|
|
54
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
54
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
55
55
|
import { data } from '@patternfly/react-core/src/demos/CardView/examples/CardViewData.jsx';
|
|
56
56
|
|
|
57
57
|
export const PrimaryDetailCardView: React.FunctionComponent = () => {
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
SelectOptionProps,
|
|
41
41
|
MenuToggle
|
|
42
42
|
} from '@patternfly/react-core';
|
|
43
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
43
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
44
44
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
45
45
|
import CodeIcon from '@patternfly/react-icons/dist/esm/icons/code-icon';
|
|
46
46
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
TextContent,
|
|
32
32
|
Title
|
|
33
33
|
} from '@patternfly/react-core';
|
|
34
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
34
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
35
35
|
|
|
36
36
|
export const PrimaryDetailDataListInCard: React.FunctionComponent = () => {
|
|
37
37
|
const [drawerPanelBodyContent, setDrawerPanelBodyContent] = React.useState(1);
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
SelectOptionProps,
|
|
41
41
|
MenuToggle
|
|
42
42
|
} from '@patternfly/react-core';
|
|
43
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
43
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
44
44
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
45
45
|
import CodeIcon from '@patternfly/react-icons/dist/esm/icons/code-icon';
|
|
46
46
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
SelectOptionProps,
|
|
41
41
|
MenuToggle
|
|
42
42
|
} from '@patternfly/react-core';
|
|
43
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
43
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
44
44
|
import CodeBranchIcon from '@patternfly/react-icons/dist/esm/icons/code-branch-icon';
|
|
45
45
|
import CodeIcon from '@patternfly/react-icons/dist/esm/icons/code-icon';
|
|
46
46
|
import CubeIcon from '@patternfly/react-icons/dist/esm/icons/cube-icon';
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
TextContent,
|
|
23
23
|
Title
|
|
24
24
|
} from '@patternfly/react-core';
|
|
25
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
25
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
26
26
|
|
|
27
27
|
export const PrimaryDetailSimpleListInCard: React.FunctionComponent = () => {
|
|
28
28
|
const [drawerPanelBodyContent, setDrawerPanelBodyContent] = React.useState(1);
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
Flex,
|
|
17
17
|
FlexItem
|
|
18
18
|
} from '@patternfly/react-core';
|
|
19
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
19
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
20
20
|
import sizing from '@patternfly/react-styles/css/utilities/Sizing/sizing';
|
|
21
21
|
|
|
22
22
|
export const NestedTabs: React.FunctionComponent = () => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
TitleSizes,
|
|
18
18
|
CardTitle
|
|
19
19
|
} from '@patternfly/react-core';
|
|
20
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
20
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
21
21
|
|
|
22
22
|
export const NestedUnindentedTabs: React.FunctionComponent = () => {
|
|
23
23
|
const [activeTabKey, setActiveTabKey] = React.useState(1);
|
|
@@ -57,7 +57,7 @@ import FilterIcon from '@patternfly/react-icons/dist/esm/icons/filter-icon';
|
|
|
57
57
|
import SortAmountDownIcon from '@patternfly/react-icons/dist/esm/icons/sort-amount-down-icon';
|
|
58
58
|
import { KeyTypes } from '../../../helpers';
|
|
59
59
|
import display from '@patternfly/react-styles/css/utilities/Display/display';
|
|
60
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
60
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
61
61
|
|
|
62
62
|
interface Repository {
|
|
63
63
|
name: string;
|
|
@@ -230,7 +230,7 @@ export const TablesAndTabs = () => {
|
|
|
230
230
|
<Table aria-label="`Composable` table">
|
|
231
231
|
<Thead noWrap>
|
|
232
232
|
<Tr>
|
|
233
|
-
<Th />
|
|
233
|
+
<Th screenReaderText="Row select" />
|
|
234
234
|
<Th>{columnNames.name}</Th>
|
|
235
235
|
<Th>{columnNames.branches}</Th>
|
|
236
236
|
<Th>{columnNames.prs}</Th>
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
DropdownList,
|
|
21
21
|
MenuFooter
|
|
22
22
|
} from '@patternfly/react-core';
|
|
23
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
23
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
24
24
|
import PauseIcon from '@patternfly/react-icons/dist/esm/icons/pause-icon';
|
|
25
25
|
import PlayIcon from '@patternfly/react-icons/dist/esm/icons/play-icon';
|
|
26
26
|
import ExpandIcon from '@patternfly/react-icons/dist/esm/icons/expand-icon';
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
WizardHeader,
|
|
12
12
|
WizardStep
|
|
13
13
|
} from '@patternfly/react-core';
|
|
14
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
14
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
15
15
|
|
|
16
16
|
export const WizardInModalDemo: React.FunctionComponent = () => (
|
|
17
17
|
<>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PageSection, PageSectionTypes, PageSectionVariants, Wizard, WizardStep } from '@patternfly/react-core';
|
|
3
|
-
import { DashboardWrapper } from '@patternfly/react-core/
|
|
3
|
+
import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
|
|
4
4
|
|
|
5
5
|
export const WizardFullPage: React.FunctionComponent = () => (
|
|
6
6
|
<React.Fragment>
|