@patternfly/react-core 6.0.0-alpha.49 → 6.0.0-alpha.50
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 +4 -0
- package/components/package.json +1 -1
- package/deprecated/package.json +1 -1
- package/dist/dynamic/components/AboutModal/package.json +1 -1
- package/dist/dynamic/components/Accordion/package.json +1 -1
- package/dist/dynamic/components/ActionList/package.json +1 -1
- package/dist/dynamic/components/Alert/package.json +1 -1
- package/dist/dynamic/components/Avatar/package.json +1 -1
- package/dist/dynamic/components/BackToTop/package.json +1 -1
- package/dist/dynamic/components/Backdrop/package.json +1 -1
- package/dist/dynamic/components/BackgroundImage/package.json +1 -1
- package/dist/dynamic/components/Badge/package.json +1 -1
- package/dist/dynamic/components/Banner/package.json +1 -1
- package/dist/dynamic/components/Brand/package.json +1 -1
- package/dist/dynamic/components/Breadcrumb/package.json +1 -1
- package/dist/dynamic/components/Button/package.json +1 -1
- package/dist/dynamic/components/CalendarMonth/package.json +1 -1
- package/dist/dynamic/components/Card/package.json +1 -1
- package/dist/dynamic/components/Checkbox/package.json +1 -1
- package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
- package/dist/dynamic/components/CodeBlock/package.json +1 -1
- package/dist/dynamic/components/DataList/package.json +1 -1
- package/dist/dynamic/components/DatePicker/package.json +1 -1
- package/dist/dynamic/components/DescriptionList/package.json +1 -1
- package/dist/dynamic/components/Divider/package.json +1 -1
- package/dist/dynamic/components/Drawer/package.json +1 -1
- package/dist/dynamic/components/Dropdown/package.json +1 -1
- package/dist/dynamic/components/DualListSelector/package.json +1 -1
- package/dist/dynamic/components/EmptyState/package.json +1 -1
- package/dist/dynamic/components/ExpandableSection/package.json +1 -1
- package/dist/dynamic/components/FileUpload/package.json +1 -1
- package/dist/dynamic/components/Form/package.json +1 -1
- package/dist/dynamic/components/FormSelect/package.json +1 -1
- package/dist/dynamic/components/HelperText/package.json +1 -1
- package/dist/dynamic/components/Hint/package.json +1 -1
- package/dist/dynamic/components/Icon/package.json +1 -1
- package/dist/dynamic/components/InputGroup/package.json +1 -1
- package/dist/dynamic/components/JumpLinks/package.json +1 -1
- package/dist/dynamic/components/Label/package.json +1 -1
- package/dist/dynamic/components/List/package.json +1 -1
- package/dist/dynamic/components/LoginPage/package.json +1 -1
- package/dist/dynamic/components/Masthead/package.json +1 -1
- package/dist/dynamic/components/Menu/package.json +1 -1
- package/dist/dynamic/components/MenuToggle/package.json +1 -1
- package/dist/dynamic/components/Modal/package.json +1 -1
- package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
- package/dist/dynamic/components/Nav/package.json +1 -1
- package/dist/dynamic/components/NotificationBadge/package.json +1 -1
- package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
- package/dist/dynamic/components/NumberInput/package.json +1 -1
- package/dist/dynamic/components/OverflowMenu/package.json +1 -1
- package/dist/dynamic/components/Page/package.json +1 -1
- package/dist/dynamic/components/Pagination/package.json +1 -1
- package/dist/dynamic/components/Panel/package.json +1 -1
- package/dist/dynamic/components/Popover/package.json +1 -1
- package/dist/dynamic/components/Progress/package.json +1 -1
- package/dist/dynamic/components/ProgressStepper/package.json +1 -1
- package/dist/dynamic/components/Radio/package.json +1 -1
- package/dist/dynamic/components/SearchInput/package.json +1 -1
- package/dist/dynamic/components/Select/package.json +1 -1
- package/dist/dynamic/components/Sidebar/package.json +1 -1
- package/dist/dynamic/components/SimpleList/package.json +1 -1
- package/dist/dynamic/components/Skeleton/package.json +1 -1
- package/dist/dynamic/components/SkipToContent/package.json +1 -1
- package/dist/dynamic/components/Slider/package.json +1 -1
- package/dist/dynamic/components/Spinner/package.json +1 -1
- package/dist/dynamic/components/Switch/package.json +1 -1
- package/dist/dynamic/components/Tabs/package.json +1 -1
- package/dist/dynamic/components/Text/package.json +1 -1
- package/dist/dynamic/components/TextArea/package.json +1 -1
- package/dist/dynamic/components/TextInput/package.json +1 -1
- package/dist/dynamic/components/TextInputGroup/package.json +1 -1
- package/dist/dynamic/components/Tile/package.json +1 -1
- package/dist/dynamic/components/TimePicker/package.json +1 -1
- package/dist/dynamic/components/Timestamp/package.json +1 -1
- package/dist/dynamic/components/Title/package.json +1 -1
- package/dist/dynamic/components/ToggleGroup/package.json +1 -1
- package/dist/dynamic/components/Toolbar/package.json +1 -1
- package/dist/dynamic/components/Tooltip/package.json +1 -1
- package/dist/dynamic/components/TreeView/package.json +1 -1
- package/dist/dynamic/components/Truncate/package.json +1 -1
- package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
- package/dist/dynamic/components/Wizard/package.json +1 -1
- package/dist/dynamic/deprecated/components/ApplicationLauncher/package.json +1 -1
- package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
- package/dist/dynamic/deprecated/components/ContextSelector/package.json +1 -1
- package/dist/dynamic/deprecated/components/DragDrop/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/styles/assets/images/pf_logo.svg +11 -11
- package/dist/styles/assets/images/pf_logo_white.svg +2 -2
- package/dist/styles/assets/pficon/pf-v6-pficon.woff2 +0 -0
- package/dist/styles/assets/pficon/pficon.scss +271 -271
- package/dist/styles/base-no-reset.css +308 -366
- package/dist/styles/base.css +310 -368
- 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 +6 -6
- package/src/demos/CustomMenus/examples/ComposableDateSelect.tsx +8 -9
- package/src/demos/CustomMenus/examples/DateSelectDemo.tsx +8 -9
- package/src/demos/examples/Card/CardEventsView.tsx +15 -15
- package/src/demos/examples/Card/CardLogView.tsx +10 -10
- package/src/demos/examples/Card/CardTrendDemo1.tsx +1 -2
- package/src/demos/examples/Card/CardTrendDemo2.tsx +1 -2
- package/src/demos/examples/Card/CardUtilizationDemo3.tsx +1 -2
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":"6.0.0-alpha.
|
|
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":"6.0.0-alpha.49","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":"6.0.0-alpha.
|
|
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":"6.0.0-alpha.49","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":"6.0.0-alpha.
|
|
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":"6.0.0-alpha.49","private":true}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.50",
|
|
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",
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
"clean:exports": "node scripts/cleanDistExports.js"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@patternfly/react-icons": "^6.0.0-alpha.
|
|
51
|
-
"@patternfly/react-styles": "^6.0.0-alpha.
|
|
52
|
-
"@patternfly/react-tokens": "^6.0.0-alpha.
|
|
50
|
+
"@patternfly/react-icons": "^6.0.0-alpha.19",
|
|
51
|
+
"@patternfly/react-styles": "^6.0.0-alpha.19",
|
|
52
|
+
"@patternfly/react-tokens": "^6.0.0-alpha.19",
|
|
53
53
|
"focus-trap": "7.5.2",
|
|
54
54
|
"react-dropzone": "^14.2.3",
|
|
55
55
|
"tslib": "^2.5.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@patternfly/patternfly": "6.0.0-alpha.
|
|
58
|
+
"@patternfly/patternfly": "6.0.0-alpha.117",
|
|
59
59
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
60
60
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
61
61
|
"@rollup/plugin-replace": "^5.0.2",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"react": "^17 || ^18",
|
|
75
75
|
"react-dom": "^17 || ^18"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "ef6f95d064bfbb8f5aaa134ab6941f63ccf36111"
|
|
78
78
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { MenuToggle, Menu, MenuContent, MenuList, MenuItem, Popper } from '@patternfly/react-core';
|
|
3
|
-
import text from '@patternfly/react-styles/css/utilities/Text/text';
|
|
2
|
+
import { MenuToggle, Menu, MenuContent, MenuList, MenuItem, Popper, Timestamp } from '@patternfly/react-core';
|
|
4
3
|
|
|
5
4
|
export const ComposableSimpleDropdown: React.FunctionComponent = () => {
|
|
6
5
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
@@ -73,21 +72,21 @@ export const ComposableSimpleDropdown: React.FunctionComponent = () => {
|
|
|
73
72
|
};
|
|
74
73
|
|
|
75
74
|
const dateText = {
|
|
76
|
-
0: <
|
|
75
|
+
0: <Timestamp>({dateString(date)})</Timestamp>,
|
|
77
76
|
1: (
|
|
78
|
-
<
|
|
77
|
+
<Timestamp>
|
|
79
78
|
({dateString(new Date(new Date().setDate(date.getDate() - 1)))} - {dateString(date)})
|
|
80
|
-
</
|
|
79
|
+
</Timestamp>
|
|
81
80
|
),
|
|
82
81
|
2: (
|
|
83
|
-
<
|
|
82
|
+
<Timestamp>
|
|
84
83
|
({dateString(new Date(new Date().setDate(date.getDate() - 7)))} - {dateString(date)})
|
|
85
|
-
</
|
|
84
|
+
</Timestamp>
|
|
86
85
|
),
|
|
87
86
|
3: (
|
|
88
|
-
<
|
|
87
|
+
<Timestamp>
|
|
89
88
|
({dateString(new Date(new Date().setDate(date.getDate() - 14)))} - {dateString(date)})
|
|
90
|
-
</
|
|
89
|
+
</Timestamp>
|
|
91
90
|
)
|
|
92
91
|
};
|
|
93
92
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { MenuToggle, Select, SelectList, SelectOption } from '@patternfly/react-core';
|
|
3
|
-
import text from '@patternfly/react-styles/css/utilities/Text/text';
|
|
2
|
+
import { MenuToggle, Select, SelectList, SelectOption, Timestamp } from '@patternfly/react-core';
|
|
4
3
|
|
|
5
4
|
export const DateSelectDemo: React.FunctionComponent = () => {
|
|
6
5
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
@@ -38,21 +37,21 @@ export const DateSelectDemo: React.FunctionComponent = () => {
|
|
|
38
37
|
};
|
|
39
38
|
|
|
40
39
|
const dateText = {
|
|
41
|
-
0: <
|
|
40
|
+
0: <Timestamp>({dateString(date)})</Timestamp>,
|
|
42
41
|
1: (
|
|
43
|
-
<
|
|
42
|
+
<Timestamp>
|
|
44
43
|
({dateString(new Date(new Date().setDate(date.getDate() - 1)))} - {dateString(date)})
|
|
45
|
-
</
|
|
44
|
+
</Timestamp>
|
|
46
45
|
),
|
|
47
46
|
2: (
|
|
48
|
-
<
|
|
47
|
+
<Timestamp>
|
|
49
48
|
({dateString(new Date(new Date().setDate(date.getDate() - 7)))} - {dateString(date)})
|
|
50
|
-
</
|
|
49
|
+
</Timestamp>
|
|
51
50
|
),
|
|
52
51
|
3: (
|
|
53
|
-
<
|
|
52
|
+
<Timestamp>
|
|
54
53
|
({dateString(new Date(new Date().setDate(date.getDate() - 14)))} - {dateString(date)})
|
|
55
|
-
</
|
|
54
|
+
</Timestamp>
|
|
56
55
|
)
|
|
57
56
|
};
|
|
58
57
|
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
CardTitle,
|
|
7
7
|
CardBody,
|
|
8
8
|
CardFooter,
|
|
9
|
-
Gallery,
|
|
10
|
-
Flex,
|
|
11
|
-
FlexItem,
|
|
12
|
-
Title,
|
|
13
9
|
DescriptionList,
|
|
14
10
|
DescriptionListGroup,
|
|
15
11
|
DescriptionListTerm,
|
|
16
12
|
DescriptionListDescription,
|
|
17
|
-
|
|
13
|
+
Divider,
|
|
14
|
+
Flex,
|
|
15
|
+
FlexItem,
|
|
16
|
+
Gallery,
|
|
17
|
+
MenuToggle,
|
|
18
18
|
Select,
|
|
19
19
|
SelectList,
|
|
20
20
|
SelectOption,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
Spinner,
|
|
22
|
+
Timestamp,
|
|
23
|
+
Title
|
|
23
24
|
} from '@patternfly/react-core';
|
|
24
25
|
import ExclamationCircleIcon from '@patternfly/react-icons/dist/esm/icons/exclamation-circle-icon';
|
|
25
26
|
import CheckCircleIcon from '@patternfly/react-icons/dist/esm/icons/check-circle-icon';
|
|
26
27
|
import flex from '@patternfly/react-styles/css/utilities/Flex/flex';
|
|
27
|
-
import text from '@patternfly/react-styles/css/utilities/Text/text';
|
|
28
28
|
import l_gallery_GridTemplateColumns_min from '@patternfly/react-tokens/dist/esm/l_gallery_GridTemplateColumns_min';
|
|
29
29
|
|
|
30
30
|
export const CardEventsView: React.FunctionComponent = () => {
|
|
@@ -76,7 +76,7 @@ export const CardEventsView: React.FunctionComponent = () => {
|
|
|
76
76
|
<DescriptionListTerm>
|
|
77
77
|
<Flex flexWrap={{ default: 'nowrap' }}>
|
|
78
78
|
<FlexItem>
|
|
79
|
-
<ExclamationCircleIcon
|
|
79
|
+
<ExclamationCircleIcon aria-hidden="true" />
|
|
80
80
|
</FlexItem>
|
|
81
81
|
<FlexItem>
|
|
82
82
|
<span>Readiness probe failed</span>
|
|
@@ -88,14 +88,14 @@ export const CardEventsView: React.FunctionComponent = () => {
|
|
|
88
88
|
connection refused
|
|
89
89
|
</DescriptionListDescription>
|
|
90
90
|
<DescriptionListDescription>
|
|
91
|
-
<
|
|
91
|
+
<Timestamp> Jun 17, 11:02 am </Timestamp>
|
|
92
92
|
</DescriptionListDescription>
|
|
93
93
|
</DescriptionListGroup>
|
|
94
94
|
<DescriptionListGroup>
|
|
95
95
|
<DescriptionListTerm>
|
|
96
96
|
<Flex flexWrap={{ default: 'nowrap' }}>
|
|
97
97
|
<FlexItem>
|
|
98
|
-
<CheckCircleIcon
|
|
98
|
+
<CheckCircleIcon aria-hidden="true" />
|
|
99
99
|
</FlexItem>
|
|
100
100
|
<FlexItem>
|
|
101
101
|
<span>Successful assignment</span>
|
|
@@ -106,7 +106,7 @@ export const CardEventsView: React.FunctionComponent = () => {
|
|
|
106
106
|
Successfully assigned default/example to ip-10-0-130-149.ec2.internal
|
|
107
107
|
</DescriptionListDescription>
|
|
108
108
|
<DescriptionListDescription>
|
|
109
|
-
<
|
|
109
|
+
<Timestamp> Jun 17, 11:13 am </Timestamp>
|
|
110
110
|
</DescriptionListDescription>
|
|
111
111
|
</DescriptionListGroup>
|
|
112
112
|
<DescriptionListGroup>
|
|
@@ -122,14 +122,14 @@ export const CardEventsView: React.FunctionComponent = () => {
|
|
|
122
122
|
</DescriptionListTerm>
|
|
123
123
|
<DescriptionListDescription>Pulling image "openshift/hello-openshift"</DescriptionListDescription>
|
|
124
124
|
<DescriptionListDescription>
|
|
125
|
-
<
|
|
125
|
+
<Timestamp> Jun 17, 10:59 am </Timestamp>
|
|
126
126
|
</DescriptionListDescription>
|
|
127
127
|
</DescriptionListGroup>
|
|
128
128
|
<DescriptionListGroup>
|
|
129
129
|
<DescriptionListTerm>
|
|
130
130
|
<Flex flexWrap={{ default: 'nowrap' }}>
|
|
131
131
|
<FlexItem>
|
|
132
|
-
<CheckCircleIcon
|
|
132
|
+
<CheckCircleIcon aria-hidden="true" />
|
|
133
133
|
</FlexItem>
|
|
134
134
|
<FlexItem>
|
|
135
135
|
<span>Created container</span>
|
|
@@ -138,7 +138,7 @@ export const CardEventsView: React.FunctionComponent = () => {
|
|
|
138
138
|
</DescriptionListTerm>
|
|
139
139
|
<DescriptionListDescription>Created container hello-openshift</DescriptionListDescription>
|
|
140
140
|
<DescriptionListDescription>
|
|
141
|
-
<
|
|
141
|
+
<Timestamp> Jun 17, 10:45 am </Timestamp>
|
|
142
142
|
</DescriptionListDescription>
|
|
143
143
|
</DescriptionListGroup>
|
|
144
144
|
</DescriptionList>
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
CardTitle,
|
|
7
7
|
CardBody,
|
|
8
8
|
CardFooter,
|
|
9
|
-
Gallery,
|
|
10
|
-
Title,
|
|
11
9
|
DescriptionList,
|
|
12
10
|
DescriptionListGroup,
|
|
13
11
|
DescriptionListTerm,
|
|
14
12
|
DescriptionListDescription,
|
|
13
|
+
Divider,
|
|
14
|
+
Gallery,
|
|
15
|
+
MenuToggle,
|
|
16
|
+
MenuToggleElement,
|
|
15
17
|
Select,
|
|
16
18
|
SelectList,
|
|
17
19
|
SelectOption,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
MenuToggleElement
|
|
20
|
+
Timestamp,
|
|
21
|
+
Title
|
|
21
22
|
} from '@patternfly/react-core';
|
|
22
|
-
import text from '@patternfly/react-styles/css/utilities/Text/text';
|
|
23
23
|
import flex from '@patternfly/react-styles/css/utilities/Flex/flex';
|
|
24
24
|
import l_gallery_GridTemplateColumns_min from '@patternfly/react-tokens/dist/esm/l_gallery_GridTemplateColumns_min';
|
|
25
25
|
|
|
@@ -79,7 +79,7 @@ export const CardLogView: React.FunctionComponent = () => {
|
|
|
79
79
|
connection refused
|
|
80
80
|
</DescriptionListDescription>
|
|
81
81
|
<DescriptionListDescription>
|
|
82
|
-
<
|
|
82
|
+
<Timestamp> Jun 17, 11:02 am </Timestamp>
|
|
83
83
|
</DescriptionListDescription>
|
|
84
84
|
</DescriptionListGroup>
|
|
85
85
|
<DescriptionListGroup>
|
|
@@ -88,21 +88,21 @@ export const CardLogView: React.FunctionComponent = () => {
|
|
|
88
88
|
Successfully assigned default/example to ip-10-0-130-149.ec2.internal
|
|
89
89
|
</DescriptionListDescription>
|
|
90
90
|
<DescriptionListDescription>
|
|
91
|
-
<
|
|
91
|
+
<Timestamp> Jun 17, 11:13 am </Timestamp>
|
|
92
92
|
</DescriptionListDescription>
|
|
93
93
|
</DescriptionListGroup>
|
|
94
94
|
<DescriptionListGroup>
|
|
95
95
|
<DescriptionListTerm>Pulling image</DescriptionListTerm>
|
|
96
96
|
<DescriptionListDescription>Pulling image "openshift/hello-openshift"</DescriptionListDescription>
|
|
97
97
|
<DescriptionListDescription>
|
|
98
|
-
<
|
|
98
|
+
<Timestamp> Jun 17, 10:59 am </Timestamp>
|
|
99
99
|
</DescriptionListDescription>
|
|
100
100
|
</DescriptionListGroup>
|
|
101
101
|
<DescriptionListGroup>
|
|
102
102
|
<DescriptionListTerm>Created container</DescriptionListTerm>
|
|
103
103
|
<DescriptionListDescription>Created container hello-openshift</DescriptionListDescription>
|
|
104
104
|
<DescriptionListDescription>
|
|
105
|
-
<
|
|
105
|
+
<Timestamp> Jun 17, 10:45 am </Timestamp>
|
|
106
106
|
</DescriptionListDescription>
|
|
107
107
|
</DescriptionListGroup>
|
|
108
108
|
</DescriptionList>
|
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
MenuToggleElement
|
|
17
17
|
} from '@patternfly/react-core';
|
|
18
18
|
import { ChartArea, ChartGroup, ChartVoronoiContainer } from '@patternfly/react-charts';
|
|
19
|
-
import text from '@patternfly/react-styles/css/utilities/Text/text';
|
|
20
19
|
|
|
21
20
|
export const CardTrendDemo1: React.FunctionComponent = () => {
|
|
22
21
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
@@ -69,7 +68,7 @@ export const CardTrendDemo1: React.FunctionComponent = () => {
|
|
|
69
68
|
</CardTitle>
|
|
70
69
|
</FlexItem>
|
|
71
70
|
<FlexItem>
|
|
72
|
-
<span
|
|
71
|
+
<span>Workload</span>
|
|
73
72
|
</FlexItem>
|
|
74
73
|
</Flex>
|
|
75
74
|
</CardHeader>
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
FlexItem
|
|
12
12
|
} from '@patternfly/react-core';
|
|
13
13
|
import { ChartArea, ChartGroup, ChartVoronoiContainer } from '@patternfly/react-charts';
|
|
14
|
-
import text from '@patternfly/react-styles/css/utilities/Text/text';
|
|
15
14
|
|
|
16
15
|
export const CardTrendDemo2: React.FunctionComponent = () => (
|
|
17
16
|
<Gallery hasGutter minWidths={{ default: '360px' }}>
|
|
@@ -29,7 +28,7 @@ export const CardTrendDemo2: React.FunctionComponent = () => (
|
|
|
29
28
|
</CardTitle>
|
|
30
29
|
</FlexItem>
|
|
31
30
|
<FlexItem>
|
|
32
|
-
<span
|
|
31
|
+
<span>Storage capacity</span>
|
|
33
32
|
</FlexItem>
|
|
34
33
|
</Flex>
|
|
35
34
|
</FlexItem>
|
|
@@ -24,7 +24,6 @@ import chart_color_gold_300 from '@patternfly/react-tokens/dist/esm/chart_color_
|
|
|
24
24
|
import chart_color_orange_300 from '@patternfly/react-tokens/dist/esm/chart_color_orange_300';
|
|
25
25
|
import chart_color_red_100 from '@patternfly/react-tokens/dist/esm/chart_color_red_100';
|
|
26
26
|
import flex from '@patternfly/react-styles/css/utilities/Flex/flex';
|
|
27
|
-
import text from '@patternfly/react-styles/css/utilities/Text/text';
|
|
28
27
|
|
|
29
28
|
export const CardUtilizationDemo3: React.FunctionComponent = () => {
|
|
30
29
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
@@ -80,7 +79,7 @@ export const CardUtilizationDemo3: React.FunctionComponent = () => {
|
|
|
80
79
|
<span>System</span>
|
|
81
80
|
</FlexItem>
|
|
82
81
|
<Flex>
|
|
83
|
-
<ExclamationCircleIcon
|
|
82
|
+
<ExclamationCircleIcon aria-hidden />
|
|
84
83
|
<a href="#">25 incidents detected</a>
|
|
85
84
|
</Flex>
|
|
86
85
|
<FlexItem>
|