@patternfly/react-core 6.0.0-alpha.20 → 6.0.0-alpha.22
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 +15 -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/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/Icon/Icon.d.ts +4 -3
- package/dist/esm/components/Icon/Icon.d.ts.map +1 -1
- package/dist/esm/components/Icon/Icon.js.map +1 -1
- package/dist/esm/components/Label/Label.d.ts +2 -4
- package/dist/esm/components/Label/Label.d.ts.map +1 -1
- package/dist/esm/components/Label/Label.js +10 -6
- package/dist/esm/components/Label/Label.js.map +1 -1
- package/dist/esm/components/Label/LabelGroup.d.ts.map +1 -1
- package/dist/esm/components/Label/LabelGroup.js +2 -2
- package/dist/esm/components/Label/LabelGroup.js.map +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts.map +1 -1
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.js +3 -3
- package/dist/esm/components/MultipleFileUpload/MultipleFileUploadStatusItem.js.map +1 -1
- package/dist/esm/components/NotificationBadge/NotificationBadge.d.ts.map +1 -1
- package/dist/esm/components/NotificationBadge/NotificationBadge.js +7 -13
- package/dist/esm/components/NotificationBadge/NotificationBadge.js.map +1 -1
- package/dist/esm/components/Sidebar/Sidebar.d.ts +4 -0
- package/dist/esm/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/esm/components/Sidebar/Sidebar.js +5 -0
- package/dist/esm/components/Sidebar/Sidebar.js.map +1 -1
- package/dist/esm/components/Sidebar/SidebarContent.d.ts +2 -0
- package/dist/esm/components/Sidebar/SidebarContent.d.ts.map +1 -1
- package/dist/esm/components/Sidebar/SidebarContent.js +2 -2
- package/dist/esm/components/Sidebar/SidebarContent.js.map +1 -1
- package/dist/esm/components/Sidebar/SidebarPanel.d.ts +2 -0
- package/dist/esm/components/Sidebar/SidebarPanel.d.ts.map +1 -1
- package/dist/esm/components/Sidebar/SidebarPanel.js +2 -2
- package/dist/esm/components/Sidebar/SidebarPanel.js.map +1 -1
- package/dist/js/components/Icon/Icon.d.ts +4 -3
- package/dist/js/components/Icon/Icon.d.ts.map +1 -1
- package/dist/js/components/Icon/Icon.js.map +1 -1
- package/dist/js/components/Label/Label.d.ts +2 -4
- package/dist/js/components/Label/Label.d.ts.map +1 -1
- package/dist/js/components/Label/Label.js +10 -6
- package/dist/js/components/Label/Label.js.map +1 -1
- package/dist/js/components/Label/LabelGroup.d.ts.map +1 -1
- package/dist/js/components/Label/LabelGroup.js +2 -2
- package/dist/js/components/Label/LabelGroup.js.map +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js +2 -2
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatus.js.map +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.d.ts.map +1 -1
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.js +3 -3
- package/dist/js/components/MultipleFileUpload/MultipleFileUploadStatusItem.js.map +1 -1
- package/dist/js/components/NotificationBadge/NotificationBadge.d.ts.map +1 -1
- package/dist/js/components/NotificationBadge/NotificationBadge.js +7 -13
- package/dist/js/components/NotificationBadge/NotificationBadge.js.map +1 -1
- package/dist/js/components/Sidebar/Sidebar.d.ts +4 -0
- package/dist/js/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/js/components/Sidebar/Sidebar.js +6 -1
- package/dist/js/components/Sidebar/Sidebar.js.map +1 -1
- package/dist/js/components/Sidebar/SidebarContent.d.ts +2 -0
- package/dist/js/components/Sidebar/SidebarContent.d.ts.map +1 -1
- package/dist/js/components/Sidebar/SidebarContent.js +2 -2
- package/dist/js/components/Sidebar/SidebarContent.js.map +1 -1
- package/dist/js/components/Sidebar/SidebarPanel.d.ts +2 -0
- package/dist/js/components/Sidebar/SidebarPanel.d.ts.map +1 -1
- package/dist/js/components/Sidebar/SidebarPanel.js +2 -2
- package/dist/js/components/Sidebar/SidebarPanel.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 +3 -2
- package/src/components/Icon/Icon.tsx +20 -3
- package/src/components/Icon/__tests__/Icon.test.tsx +49 -30
- package/src/components/Icon/examples/BodyIconSizes.tsx +17 -0
- package/src/components/Icon/examples/HeadingIconSizes.tsx +26 -0
- package/src/components/Icon/examples/Icon.md +18 -2
- package/src/components/Icon/examples/IconContentSizes.tsx +4 -4
- package/src/components/Icon/examples/{IconSizes.tsx → StandaloneIconSizes.tsx} +7 -1
- package/src/components/Label/Label.tsx +14 -9
- package/src/components/Label/LabelGroup.tsx +2 -1
- package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +7 -7
- package/src/components/Label/__tests__/__snapshots__/LabelGroup.test.tsx.snap +1 -1
- package/src/components/Label/examples/Label.css +6 -0
- package/src/components/Label/examples/Label.md +19 -3
- package/src/components/Label/examples/LabelCompact.tsx +35 -5
- package/src/components/Label/examples/LabelFilled.tsx +75 -47
- package/src/components/Label/examples/LabelGroupEditableAdd.tsx +1 -1
- package/src/components/Label/examples/LabelGroupEditableAddDropdown.tsx +1 -1
- package/src/components/Label/examples/LabelGroupEditableAddModal.tsx +1 -1
- package/src/components/Label/examples/LabelOutline.tsx +88 -48
- package/src/components/MultipleFileUpload/MultipleFileUploadStatus.tsx +2 -2
- package/src/components/MultipleFileUpload/MultipleFileUploadStatusItem.tsx +3 -4
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatus.test.tsx.snap +4 -4
- package/src/components/MultipleFileUpload/__tests__/__snapshots__/MultipleFileUploadStatusItem.test.tsx.snap +40 -24
- package/src/components/NotificationBadge/NotificationBadge.tsx +19 -15
- package/src/components/NotificationBadge/__tests__/NotificationBadge.test.tsx +4 -4
- package/src/components/NotificationBadge/__tests__/__snapshots__/NotificationBadge.test.tsx.snap +10 -22
- package/src/components/NotificationBadge/examples/NotificationBadge.md +0 -1
- package/src/components/NotificationBadge/examples/NotificationBadgeBasic.tsx +2 -2
- package/src/components/NotificationBadge/examples/NotificationBadgeWithCount.tsx +2 -2
- package/src/components/Sidebar/Sidebar.tsx +5 -0
- package/src/components/Sidebar/SidebarContent.tsx +4 -0
- package/src/components/Sidebar/SidebarPanel.tsx +4 -0
- package/src/components/Sidebar/__tests__/SidebarContent.test.tsx +5 -0
- package/src/components/Sidebar/__tests__/SidebarPanel.test.tsx +5 -0
- package/src/components/NotificationBadge/examples/notificationBadge.css +0 -4
|
@@ -9,16 +9,17 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
9
9
|
};
|
|
10
10
|
return (
|
|
11
11
|
<React.Fragment>
|
|
12
|
-
<Label>Grey</Label>
|
|
13
|
-
<Label
|
|
12
|
+
<Label>Grey</Label>
|
|
13
|
+
<Label icon={<InfoCircleIcon />}>Grey icon</Label>
|
|
14
|
+
<Label onClose={() => Function.prototype}>Grey removable</Label>
|
|
14
15
|
<Label icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
15
16
|
Grey icon removable
|
|
16
|
-
</Label>
|
|
17
|
-
<Label href="#filled">Grey link</Label>
|
|
17
|
+
</Label>
|
|
18
|
+
<Label href="#filled">Grey link</Label>
|
|
18
19
|
<Label href="#filled" onClose={() => Function.prototype}>
|
|
19
20
|
Grey link removable
|
|
20
21
|
</Label>
|
|
21
|
-
<Label onClick={() => logColor('grey')}>Grey clickable</Label>
|
|
22
|
+
<Label onClick={() => logColor('grey')}>Grey clickable</Label>
|
|
22
23
|
<Label onClick={() => logColor('grey')} onClose={() => Function.prototype}>
|
|
23
24
|
Grey clickable removable
|
|
24
25
|
</Label>
|
|
@@ -27,25 +28,25 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
27
28
|
</Label>
|
|
28
29
|
<br />
|
|
29
30
|
<br />
|
|
30
|
-
<Label color="blue">Blue</Label>
|
|
31
|
+
<Label color="blue">Blue</Label>
|
|
31
32
|
<Label color="blue" icon={<InfoCircleIcon />}>
|
|
32
33
|
Blue icon
|
|
33
|
-
</Label>
|
|
34
|
+
</Label>
|
|
34
35
|
<Label color="blue" onClose={() => Function.prototype}>
|
|
35
36
|
Blue removable
|
|
36
|
-
</Label>
|
|
37
|
+
</Label>
|
|
37
38
|
<Label color="blue" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
38
39
|
Blue icon removable
|
|
39
|
-
</Label>
|
|
40
|
+
</Label>
|
|
40
41
|
<Label color="blue" href="#filled">
|
|
41
42
|
Blue link
|
|
42
|
-
</Label>
|
|
43
|
+
</Label>
|
|
43
44
|
<Label color="blue" href="#filled" onClose={() => Function.prototype}>
|
|
44
45
|
Blue link removable
|
|
45
46
|
</Label>
|
|
46
47
|
<Label color="blue" onClick={() => logColor('blue')}>
|
|
47
48
|
Blue clickable
|
|
48
|
-
</Label>
|
|
49
|
+
</Label>
|
|
49
50
|
<Label color="blue" onClick={() => logColor('blue')} onClose={() => Function.prototype}>
|
|
50
51
|
Blue clickable removable
|
|
51
52
|
</Label>
|
|
@@ -54,25 +55,25 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
54
55
|
</Label>
|
|
55
56
|
<br />
|
|
56
57
|
<br />
|
|
57
|
-
<Label color="green">Green</Label>
|
|
58
|
+
<Label color="green">Green</Label>
|
|
58
59
|
<Label color="green" icon={<InfoCircleIcon />}>
|
|
59
60
|
Green icon
|
|
60
|
-
</Label>
|
|
61
|
+
</Label>
|
|
61
62
|
<Label color="green" onClose={() => Function.prototype}>
|
|
62
63
|
Green removable
|
|
63
|
-
</Label>
|
|
64
|
+
</Label>
|
|
64
65
|
<Label color="green" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
65
66
|
Green icon removable
|
|
66
|
-
</Label>
|
|
67
|
+
</Label>
|
|
67
68
|
<Label color="green" href="#filled">
|
|
68
69
|
Green link
|
|
69
|
-
</Label>
|
|
70
|
+
</Label>
|
|
70
71
|
<Label color="green" href="#filled" onClose={() => Function.prototype}>
|
|
71
72
|
Green link removable
|
|
72
73
|
</Label>
|
|
73
74
|
<Label color="green" onClick={() => logColor('green')}>
|
|
74
75
|
Green clickable
|
|
75
|
-
</Label>
|
|
76
|
+
</Label>
|
|
76
77
|
<Label color="green" onClick={() => logColor('green')} onClose={() => Function.prototype}>
|
|
77
78
|
Green clickable removable
|
|
78
79
|
</Label>
|
|
@@ -81,25 +82,25 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
81
82
|
</Label>
|
|
82
83
|
<br />
|
|
83
84
|
<br />
|
|
84
|
-
<Label color="orange">Orange</Label>
|
|
85
|
+
<Label color="orange">Orange</Label>
|
|
85
86
|
<Label color="orange" icon={<InfoCircleIcon />}>
|
|
86
87
|
Orange icon
|
|
87
|
-
</Label>
|
|
88
|
+
</Label>
|
|
88
89
|
<Label color="orange" onClose={() => Function.prototype}>
|
|
89
90
|
Orange removable
|
|
90
|
-
</Label>
|
|
91
|
+
</Label>
|
|
91
92
|
<Label color="orange" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
92
93
|
Orange icon removable
|
|
93
|
-
</Label>
|
|
94
|
+
</Label>
|
|
94
95
|
<Label color="orange" href="#filled">
|
|
95
96
|
Orange link
|
|
96
|
-
</Label>
|
|
97
|
+
</Label>
|
|
97
98
|
<Label color="orange" href="#filled" onClose={() => Function.prototype}>
|
|
98
99
|
Orange link removable
|
|
99
100
|
</Label>
|
|
100
101
|
<Label color="orange" onClick={() => logColor('orange')}>
|
|
101
102
|
Orange clickable
|
|
102
|
-
</Label>
|
|
103
|
+
</Label>
|
|
103
104
|
<Label color="orange" onClick={() => logColor('orange')} onClose={() => Function.prototype}>
|
|
104
105
|
Orange clickable removable
|
|
105
106
|
</Label>
|
|
@@ -108,25 +109,25 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
108
109
|
</Label>
|
|
109
110
|
<br />
|
|
110
111
|
<br />
|
|
111
|
-
<Label color="red">Red</Label>
|
|
112
|
+
<Label color="red">Red</Label>
|
|
112
113
|
<Label color="red" icon={<InfoCircleIcon />}>
|
|
113
114
|
Red icon
|
|
114
|
-
</Label>
|
|
115
|
+
</Label>
|
|
115
116
|
<Label color="red" onClose={() => Function.prototype}>
|
|
116
117
|
Red removable
|
|
117
|
-
</Label>
|
|
118
|
+
</Label>
|
|
118
119
|
<Label color="red" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
119
120
|
Red icon removable
|
|
120
|
-
</Label>
|
|
121
|
+
</Label>
|
|
121
122
|
<Label color="red" href="#filled">
|
|
122
123
|
Red link
|
|
123
|
-
</Label>
|
|
124
|
+
</Label>
|
|
124
125
|
<Label color="red" href="#filled" onClose={() => Function.prototype}>
|
|
125
126
|
Red link removable
|
|
126
127
|
</Label>
|
|
127
128
|
<Label color="red" onClick={() => logColor('red')}>
|
|
128
129
|
Red clickable
|
|
129
|
-
</Label>
|
|
130
|
+
</Label>
|
|
130
131
|
<Label color="red" onClick={() => logColor('red')} onClose={() => Function.prototype}>
|
|
131
132
|
Red clickable removable
|
|
132
133
|
</Label>
|
|
@@ -135,25 +136,52 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
135
136
|
</Label>
|
|
136
137
|
<br />
|
|
137
138
|
<br />
|
|
138
|
-
<Label color="
|
|
139
|
+
<Label color="orangered">Orange red</Label>
|
|
140
|
+
<Label color="orangered" icon={<InfoCircleIcon />}>
|
|
141
|
+
Orange red icon
|
|
142
|
+
</Label>
|
|
143
|
+
<Label color="orangered" onClose={() => Function.prototype}>
|
|
144
|
+
Orange red removable
|
|
145
|
+
</Label>
|
|
146
|
+
<Label color="orangered" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
147
|
+
Orange red icon removable
|
|
148
|
+
</Label>
|
|
149
|
+
<Label color="orangered" href="#filled">
|
|
150
|
+
Orange red link
|
|
151
|
+
</Label>
|
|
152
|
+
<Label color="orangered" href="#filled" onClose={() => Function.prototype}>
|
|
153
|
+
Orange red link removable
|
|
154
|
+
</Label>
|
|
155
|
+
<Label color="orangered" onClick={() => logColor('orangered')}>
|
|
156
|
+
Orange red clickable
|
|
157
|
+
</Label>
|
|
158
|
+
<Label color="orangered" onClick={() => logColor('orangered')} onClose={() => Function.prototype}>
|
|
159
|
+
Orange red clickable removable
|
|
160
|
+
</Label>
|
|
161
|
+
<Label color="orangered" icon={<InfoCircleIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
|
|
162
|
+
Orange red label with icon that overflows
|
|
163
|
+
</Label>
|
|
164
|
+
<br />
|
|
165
|
+
<br />
|
|
166
|
+
<Label color="purple">Purple</Label>
|
|
139
167
|
<Label color="purple" icon={<InfoCircleIcon />}>
|
|
140
168
|
Purple icon
|
|
141
|
-
</Label>
|
|
169
|
+
</Label>
|
|
142
170
|
<Label color="purple" onClose={() => Function.prototype}>
|
|
143
171
|
Purple removable
|
|
144
|
-
</Label>
|
|
172
|
+
</Label>
|
|
145
173
|
<Label color="purple" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
146
174
|
Purple icon removable
|
|
147
|
-
</Label>
|
|
175
|
+
</Label>
|
|
148
176
|
<Label color="purple" href="#filled">
|
|
149
177
|
Purple link
|
|
150
|
-
</Label>
|
|
178
|
+
</Label>
|
|
151
179
|
<Label color="purple" href="#filled" onClose={() => Function.prototype}>
|
|
152
180
|
Purple link removable
|
|
153
181
|
</Label>
|
|
154
182
|
<Label color="purple" onClick={() => logColor('purple')}>
|
|
155
183
|
Purple clickable
|
|
156
|
-
</Label>
|
|
184
|
+
</Label>
|
|
157
185
|
<Label color="purple" onClick={() => logColor('purple')} onClose={() => Function.prototype}>
|
|
158
186
|
Purple clickable removable
|
|
159
187
|
</Label>
|
|
@@ -162,25 +190,25 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
162
190
|
</Label>
|
|
163
191
|
<br />
|
|
164
192
|
<br />
|
|
165
|
-
<Label color="cyan">Cyan</Label>
|
|
193
|
+
<Label color="cyan">Cyan</Label>
|
|
166
194
|
<Label color="cyan" icon={<InfoCircleIcon />}>
|
|
167
195
|
Cyan icon
|
|
168
|
-
</Label>
|
|
196
|
+
</Label>
|
|
169
197
|
<Label color="cyan" onClose={() => Function.prototype}>
|
|
170
198
|
Cyan removable
|
|
171
|
-
</Label>
|
|
199
|
+
</Label>
|
|
172
200
|
<Label color="cyan" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
173
201
|
Cyan icon removable
|
|
174
|
-
</Label>
|
|
202
|
+
</Label>
|
|
175
203
|
<Label color="cyan" href="#filled">
|
|
176
204
|
Cyan link
|
|
177
|
-
</Label>
|
|
205
|
+
</Label>
|
|
178
206
|
<Label color="cyan" href="#filled" onClose={() => Function.prototype}>
|
|
179
207
|
Cyan link removable
|
|
180
208
|
</Label>
|
|
181
209
|
<Label color="cyan" onClick={() => logColor('cyan')}>
|
|
182
210
|
Cyan clickable
|
|
183
|
-
</Label>
|
|
211
|
+
</Label>
|
|
184
212
|
<Label color="cyan" onClick={() => logColor('cyan')} onClose={() => Function.prototype}>
|
|
185
213
|
Cyan clickable removable
|
|
186
214
|
</Label>
|
|
@@ -189,25 +217,25 @@ export const LabelFilled: React.FunctionComponent = () => {
|
|
|
189
217
|
</Label>
|
|
190
218
|
<br />
|
|
191
219
|
<br />
|
|
192
|
-
<Label color="gold">Gold</Label>
|
|
220
|
+
<Label color="gold">Gold</Label>
|
|
193
221
|
<Label color="gold" icon={<InfoCircleIcon />}>
|
|
194
222
|
Gold icon
|
|
195
|
-
</Label>
|
|
223
|
+
</Label>
|
|
196
224
|
<Label color="gold" onClose={() => Function.prototype}>
|
|
197
225
|
Gold removable
|
|
198
|
-
</Label>
|
|
226
|
+
</Label>
|
|
199
227
|
<Label color="gold" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
200
228
|
Gold icon removable
|
|
201
|
-
</Label>
|
|
229
|
+
</Label>
|
|
202
230
|
<Label color="gold" href="#filled">
|
|
203
231
|
Gold link
|
|
204
|
-
</Label>
|
|
232
|
+
</Label>
|
|
205
233
|
<Label color="gold" href="#filled" onClose={() => Function.prototype}>
|
|
206
234
|
Gold link removable
|
|
207
235
|
</Label>
|
|
208
236
|
<Label color="gold" onClick={() => logColor('gold')}>
|
|
209
237
|
Gold clickable
|
|
210
|
-
</Label>
|
|
238
|
+
</Label>
|
|
211
239
|
<Label color="gold" onClick={() => logColor('gold')} onClose={() => Function.prototype}>
|
|
212
240
|
Gold clickable removable
|
|
213
241
|
</Label>
|
|
@@ -56,7 +56,7 @@ export const LabelGroupEditableAdd: React.FunctionComponent = () => {
|
|
|
56
56
|
numLabels={5}
|
|
57
57
|
isEditable
|
|
58
58
|
addLabelControl={
|
|
59
|
-
<Label
|
|
59
|
+
<Label variant="add" onClick={onAdd}>
|
|
60
60
|
Add label
|
|
61
61
|
</Label>
|
|
62
62
|
}
|
|
@@ -102,7 +102,7 @@ export const LabelGroupEditableAddDropdown: React.FunctionComponent = () => {
|
|
|
102
102
|
|
|
103
103
|
const toggle = (
|
|
104
104
|
<div ref={toggleRef}>
|
|
105
|
-
<Label
|
|
105
|
+
<Label variant="overflow" onClick={onToggleClick}>
|
|
106
106
|
Add label
|
|
107
107
|
</Label>
|
|
108
108
|
</div>
|
|
@@ -236,7 +236,7 @@ export const LabelGroupEditableAddModal: React.FunctionComponent = () => {
|
|
|
236
236
|
numLabels={5}
|
|
237
237
|
isEditable
|
|
238
238
|
addLabelControl={
|
|
239
|
-
<Label
|
|
239
|
+
<Label variant="overflow" onClick={handleModalToggle}>
|
|
240
240
|
Add label
|
|
241
241
|
</Label>
|
|
242
242
|
}
|
|
@@ -9,25 +9,25 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
9
9
|
};
|
|
10
10
|
return (
|
|
11
11
|
<React.Fragment>
|
|
12
|
-
<Label variant="outline">Grey</Label>
|
|
12
|
+
<Label variant="outline">Grey</Label>
|
|
13
13
|
<Label variant="outline" icon={<InfoCircleIcon />}>
|
|
14
14
|
Grey icon
|
|
15
|
-
</Label>
|
|
15
|
+
</Label>
|
|
16
16
|
<Label variant="outline" onClose={() => Function.prototype}>
|
|
17
17
|
Grey removable
|
|
18
|
-
</Label>
|
|
18
|
+
</Label>
|
|
19
19
|
<Label variant="outline" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
20
20
|
Grey icon removable
|
|
21
|
-
</Label>
|
|
21
|
+
</Label>
|
|
22
22
|
<Label variant="outline" href="#outline">
|
|
23
23
|
Grey link
|
|
24
|
-
</Label>
|
|
24
|
+
</Label>
|
|
25
25
|
<Label variant="outline" href="#outline" onClose={() => Function.prototype}>
|
|
26
26
|
Grey link removable
|
|
27
27
|
</Label>
|
|
28
28
|
<Label variant="outline" onClick={() => logColor('grey')}>
|
|
29
29
|
Grey clickable
|
|
30
|
-
</Label>
|
|
30
|
+
</Label>
|
|
31
31
|
<Label variant="outline" onClick={() => logColor('grey')} onClose={() => Function.prototype}>
|
|
32
32
|
Grey clickable removable
|
|
33
33
|
</Label>
|
|
@@ -38,25 +38,25 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
38
38
|
<br />
|
|
39
39
|
<Label variant="outline" color="blue">
|
|
40
40
|
Blue
|
|
41
|
-
</Label>
|
|
41
|
+
</Label>
|
|
42
42
|
<Label variant="outline" color="blue" icon={<InfoCircleIcon />}>
|
|
43
43
|
Blue icon
|
|
44
|
-
</Label>
|
|
44
|
+
</Label>
|
|
45
45
|
<Label variant="outline" color="blue" onClose={() => Function.prototype}>
|
|
46
46
|
Blue removable
|
|
47
|
-
</Label>
|
|
47
|
+
</Label>
|
|
48
48
|
<Label variant="outline" color="blue" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
49
49
|
Blue icon removable
|
|
50
|
-
</Label>
|
|
50
|
+
</Label>
|
|
51
51
|
<Label variant="outline" color="blue" href="#outline">
|
|
52
52
|
Blue link
|
|
53
|
-
</Label>
|
|
53
|
+
</Label>
|
|
54
54
|
<Label variant="outline" color="blue" href="#outline" onClose={() => Function.prototype}>
|
|
55
55
|
Blue link removable
|
|
56
56
|
</Label>
|
|
57
57
|
<Label variant="outline" color="blue" onClick={() => logColor('blue')}>
|
|
58
58
|
Blue clickable
|
|
59
|
-
</Label>
|
|
59
|
+
</Label>
|
|
60
60
|
<Label variant="outline" color="blue" onClick={() => logColor('blue')} onClose={() => Function.prototype}>
|
|
61
61
|
Blue clickable removable
|
|
62
62
|
</Label>
|
|
@@ -73,25 +73,25 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
73
73
|
<br />
|
|
74
74
|
<Label variant="outline" color="green">
|
|
75
75
|
Green
|
|
76
|
-
</Label>
|
|
76
|
+
</Label>
|
|
77
77
|
<Label variant="outline" color="green" icon={<InfoCircleIcon />}>
|
|
78
78
|
Green icon
|
|
79
|
-
</Label>
|
|
79
|
+
</Label>
|
|
80
80
|
<Label variant="outline" color="green" onClose={() => Function.prototype}>
|
|
81
81
|
Green removable
|
|
82
|
-
</Label>
|
|
82
|
+
</Label>
|
|
83
83
|
<Label variant="outline" color="green" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
84
84
|
Green icon removable
|
|
85
|
-
</Label>
|
|
85
|
+
</Label>
|
|
86
86
|
<Label variant="outline" color="green" href="#outline">
|
|
87
87
|
Green link
|
|
88
|
-
</Label>
|
|
88
|
+
</Label>
|
|
89
89
|
<Label variant="outline" color="green" href="#outline" onClose={() => Function.prototype}>
|
|
90
90
|
Green link removable
|
|
91
91
|
</Label>
|
|
92
92
|
<Label variant="outline" color="green" onClick={() => logColor('green')}>
|
|
93
93
|
Green clickable
|
|
94
|
-
</Label>
|
|
94
|
+
</Label>
|
|
95
95
|
<Label variant="outline" color="green" onClick={() => logColor('green')} onClose={() => Function.prototype}>
|
|
96
96
|
Green clickable removable
|
|
97
97
|
</Label>
|
|
@@ -108,25 +108,25 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
108
108
|
<br />
|
|
109
109
|
<Label variant="outline" color="orange">
|
|
110
110
|
Orange
|
|
111
|
-
</Label>
|
|
111
|
+
</Label>
|
|
112
112
|
<Label variant="outline" color="orange" icon={<InfoCircleIcon />}>
|
|
113
113
|
Orange icon
|
|
114
|
-
</Label>
|
|
114
|
+
</Label>
|
|
115
115
|
<Label variant="outline" color="orange" onClose={() => Function.prototype}>
|
|
116
116
|
Orange removable
|
|
117
|
-
</Label>
|
|
117
|
+
</Label>
|
|
118
118
|
<Label variant="outline" color="orange" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
119
119
|
Orange icon removable
|
|
120
|
-
</Label>
|
|
120
|
+
</Label>
|
|
121
121
|
<Label variant="outline" color="orange" href="#outline">
|
|
122
122
|
Orange link
|
|
123
|
-
</Label>
|
|
123
|
+
</Label>
|
|
124
124
|
<Label variant="outline" color="orange" href="#outline" onClose={() => Function.prototype}>
|
|
125
125
|
Orange link removable
|
|
126
126
|
</Label>
|
|
127
127
|
<Label variant="outline" color="orange" onClick={() => logColor('orange')}>
|
|
128
128
|
Orange clickable
|
|
129
|
-
</Label>
|
|
129
|
+
</Label>
|
|
130
130
|
<Label variant="outline" color="orange" onClick={() => logColor('orange')} onClose={() => Function.prototype}>
|
|
131
131
|
Orange clickable removable
|
|
132
132
|
</Label>
|
|
@@ -143,25 +143,25 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
143
143
|
<br />
|
|
144
144
|
<Label variant="outline" color="red">
|
|
145
145
|
Red
|
|
146
|
-
</Label>
|
|
146
|
+
</Label>
|
|
147
147
|
<Label variant="outline" color="red" icon={<InfoCircleIcon />}>
|
|
148
148
|
Red icon
|
|
149
|
-
</Label>
|
|
149
|
+
</Label>
|
|
150
150
|
<Label variant="outline" color="red" onClose={() => Function.prototype}>
|
|
151
151
|
Red removable
|
|
152
|
-
</Label>
|
|
152
|
+
</Label>
|
|
153
153
|
<Label variant="outline" color="red" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
154
154
|
Red icon removable
|
|
155
|
-
</Label>
|
|
155
|
+
</Label>
|
|
156
156
|
<Label variant="outline" color="red" href="#outline">
|
|
157
157
|
Red link
|
|
158
|
-
</Label>
|
|
158
|
+
</Label>
|
|
159
159
|
<Label variant="outline" color="red" href="#outline" onClose={() => Function.prototype}>
|
|
160
160
|
Red link removable
|
|
161
161
|
</Label>
|
|
162
162
|
<Label variant="outline" color="red" onClick={() => logColor('red')}>
|
|
163
163
|
Red clickable
|
|
164
|
-
</Label>
|
|
164
|
+
</Label>
|
|
165
165
|
<Label variant="outline" color="red" onClick={() => logColor('red')} onClose={() => Function.prototype}>
|
|
166
166
|
Red clickable removable
|
|
167
167
|
</Label>
|
|
@@ -176,27 +176,67 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
176
176
|
</Label>
|
|
177
177
|
<br />
|
|
178
178
|
<br />
|
|
179
|
+
<Label variant="outline" color="orangered">
|
|
180
|
+
Orange red
|
|
181
|
+
</Label>
|
|
182
|
+
<Label variant="outline" color="orangered" icon={<InfoCircleIcon />}>
|
|
183
|
+
Orange red icon
|
|
184
|
+
</Label>
|
|
185
|
+
<Label variant="outline" color="orangered" onClose={() => Function.prototype}>
|
|
186
|
+
Orange red removable
|
|
187
|
+
</Label>
|
|
188
|
+
<Label variant="outline" color="orangered" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
189
|
+
Orange red icon removable
|
|
190
|
+
</Label>
|
|
191
|
+
<Label variant="outline" color="orangered" href="#outline">
|
|
192
|
+
Orange red link
|
|
193
|
+
</Label>
|
|
194
|
+
<Label variant="outline" color="orangered" href="#outline" onClose={() => Function.prototype}>
|
|
195
|
+
Orange red link removable
|
|
196
|
+
</Label>
|
|
197
|
+
<Label variant="outline" color="orangered" onClick={() => logColor('orangered')}>
|
|
198
|
+
Orange red clickable
|
|
199
|
+
</Label>
|
|
200
|
+
<Label
|
|
201
|
+
variant="outline"
|
|
202
|
+
color="orangered"
|
|
203
|
+
onClick={() => logColor('orangered')}
|
|
204
|
+
onClose={() => Function.prototype}
|
|
205
|
+
>
|
|
206
|
+
Orange red clickable removable
|
|
207
|
+
</Label>
|
|
208
|
+
<Label
|
|
209
|
+
variant="outline"
|
|
210
|
+
color="orangered"
|
|
211
|
+
icon={<InfoCircleIcon />}
|
|
212
|
+
onClose={() => Function.prototype}
|
|
213
|
+
textMaxWidth="16ch"
|
|
214
|
+
>
|
|
215
|
+
Orange red label with icon that overflows
|
|
216
|
+
</Label>
|
|
217
|
+
<br />
|
|
218
|
+
<br />
|
|
179
219
|
<Label variant="outline" color="purple">
|
|
180
220
|
Purple
|
|
181
|
-
</Label>
|
|
221
|
+
</Label>
|
|
182
222
|
<Label variant="outline" color="purple" icon={<InfoCircleIcon />}>
|
|
183
223
|
Purple icon
|
|
184
|
-
</Label>
|
|
224
|
+
</Label>
|
|
185
225
|
<Label variant="outline" color="purple" onClose={() => Function.prototype}>
|
|
186
226
|
Purple removable
|
|
187
|
-
</Label>
|
|
227
|
+
</Label>
|
|
188
228
|
<Label variant="outline" color="purple" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
189
229
|
Purple icon removable
|
|
190
|
-
</Label>
|
|
230
|
+
</Label>
|
|
191
231
|
<Label variant="outline" color="purple" href="#outline">
|
|
192
232
|
Purple link
|
|
193
|
-
</Label>
|
|
233
|
+
</Label>
|
|
194
234
|
<Label variant="outline" color="purple" href="#outline" onClose={() => Function.prototype}>
|
|
195
235
|
Purple link removable
|
|
196
236
|
</Label>
|
|
197
237
|
<Label variant="outline" color="purple" onClick={() => logColor('purple')}>
|
|
198
238
|
Purple clickable
|
|
199
|
-
</Label>
|
|
239
|
+
</Label>
|
|
200
240
|
<Label variant="outline" color="purple" onClick={() => logColor('purple')} onClose={() => Function.prototype}>
|
|
201
241
|
Purple clickable removable
|
|
202
242
|
</Label>
|
|
@@ -213,25 +253,25 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
213
253
|
<br />
|
|
214
254
|
<Label variant="outline" color="cyan">
|
|
215
255
|
Cyan
|
|
216
|
-
</Label>
|
|
256
|
+
</Label>
|
|
217
257
|
<Label variant="outline" color="cyan" icon={<InfoCircleIcon />}>
|
|
218
258
|
Cyan icon
|
|
219
|
-
</Label>
|
|
259
|
+
</Label>
|
|
220
260
|
<Label variant="outline" color="cyan" onClose={() => Function.prototype}>
|
|
221
261
|
Cyan removable
|
|
222
|
-
</Label>
|
|
262
|
+
</Label>
|
|
223
263
|
<Label variant="outline" color="cyan" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
224
264
|
Cyan icon removable
|
|
225
|
-
</Label>
|
|
265
|
+
</Label>
|
|
226
266
|
<Label variant="outline" color="cyan" href="#outline">
|
|
227
267
|
Cyan link
|
|
228
|
-
</Label>
|
|
268
|
+
</Label>
|
|
229
269
|
<Label variant="outline" color="cyan" href="#outline" onClose={() => Function.prototype}>
|
|
230
270
|
Cyan link removable
|
|
231
271
|
</Label>
|
|
232
272
|
<Label variant="outline" color="cyan" onClick={() => logColor('cyan')}>
|
|
233
273
|
Cyan clickable
|
|
234
|
-
</Label>
|
|
274
|
+
</Label>
|
|
235
275
|
<Label variant="outline" color="cyan" onClick={() => logColor('cyan')} onClose={() => Function.prototype}>
|
|
236
276
|
Cyan clickable removable
|
|
237
277
|
</Label>
|
|
@@ -248,25 +288,25 @@ export const LabelOutline: React.FunctionComponent = () => {
|
|
|
248
288
|
<br />
|
|
249
289
|
<Label variant="outline" color="gold">
|
|
250
290
|
Gold
|
|
251
|
-
</Label>
|
|
291
|
+
</Label>
|
|
252
292
|
<Label variant="outline" color="gold" icon={<InfoCircleIcon />}>
|
|
253
293
|
Gold icon
|
|
254
|
-
</Label>
|
|
294
|
+
</Label>
|
|
255
295
|
<Label variant="outline" color="gold" onClose={() => Function.prototype}>
|
|
256
296
|
Gold removable
|
|
257
|
-
</Label>
|
|
297
|
+
</Label>
|
|
258
298
|
<Label variant="outline" color="gold" icon={<InfoCircleIcon />} onClose={() => Function.prototype}>
|
|
259
299
|
Gold icon removable
|
|
260
|
-
</Label>
|
|
300
|
+
</Label>
|
|
261
301
|
<Label variant="outline" color="gold" href="#outline">
|
|
262
302
|
Gold link
|
|
263
|
-
</Label>
|
|
303
|
+
</Label>
|
|
264
304
|
<Label variant="outline" color="gold" href="#outline" onClose={() => Function.prototype}>
|
|
265
305
|
Gold link removable
|
|
266
306
|
</Label>
|
|
267
307
|
<Label variant="outline" color="gold" onClick={() => logColor('gold')}>
|
|
268
308
|
Gold clickable
|
|
269
|
-
</Label>
|
|
309
|
+
</Label>
|
|
270
310
|
<Label variant="outline" color="gold" onClick={() => logColor('gold')} onClose={() => Function.prototype}>
|
|
271
311
|
Gold clickable removable
|
|
272
312
|
</Label>
|
|
@@ -55,8 +55,8 @@ export const MultipleFileUploadStatus: React.FunctionComponent<MultipleFileUploa
|
|
|
55
55
|
|
|
56
56
|
const toggle = (
|
|
57
57
|
<div className={styles.multipleFileUploadStatusProgress}>
|
|
58
|
-
<div className={styles.
|
|
59
|
-
<div className={styles.
|
|
58
|
+
<div className={`${styles.multipleFileUploadStatusProgress}-icon`}>{icon}</div>
|
|
59
|
+
<div className={`${styles.multipleFileUploadStatusProgress}-text`}>{statusToggleText}</div>
|
|
60
60
|
</div>
|
|
61
61
|
);
|
|
62
62
|
|
|
@@ -4,7 +4,7 @@ import { css } from '@patternfly/react-styles';
|
|
|
4
4
|
import { Progress } from '../Progress';
|
|
5
5
|
import { Button } from '../Button';
|
|
6
6
|
import FileIcon from '@patternfly/react-icons/dist/esm/icons/file-icon';
|
|
7
|
-
import
|
|
7
|
+
import TimesIcon from '@patternfly/react-icons/dist/esm/icons/times-icon';
|
|
8
8
|
|
|
9
9
|
/** Automatically reads an uploaded file to render a visual representation of it, including
|
|
10
10
|
* its name, size, and read status. This sub-component also allows custom reading of files
|
|
@@ -165,10 +165,9 @@ export const MultipleFileUploadStatusItem: React.FunctionComponent<MultipleFileU
|
|
|
165
165
|
helperText={progressHelperText}
|
|
166
166
|
/>
|
|
167
167
|
</div>
|
|
168
|
-
{
|
|
169
|
-
<div>
|
|
168
|
+
<div className={`${styles.multipleFileUploadStatusItem}-close`}>
|
|
170
169
|
<Button variant="plain" aria-label={buttonAriaLabel} onClick={onClearClick}>
|
|
171
|
-
<
|
|
170
|
+
<TimesIcon />
|
|
172
171
|
</Button>
|
|
173
172
|
</div>
|
|
174
173
|
</li>
|