@patternfly/react-core 6.0.0-alpha.20 → 6.0.0-alpha.21
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 +9 -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/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/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/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
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.20","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.20","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.20","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.21",
|
|
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",
|
|
@@ -58,6 +58,7 @@
|
|
|
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",
|
|
61
|
+
"case-anything": "^2.1.13",
|
|
61
62
|
"css": "^2.2.3",
|
|
62
63
|
"fs-extra": "^11.1.1",
|
|
63
64
|
"glob": "^7.1.2",
|
|
@@ -72,5 +73,5 @@
|
|
|
72
73
|
"react": "^17 || ^18",
|
|
73
74
|
"react-dom": "^17 || ^18"
|
|
74
75
|
},
|
|
75
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "1794095e336814dc8ed16282e1bae4a171ebaa46"
|
|
76
77
|
}
|
|
@@ -3,6 +3,23 @@ import styles from '@patternfly/react-styles/css/components/Icon/icon';
|
|
|
3
3
|
import { css } from '@patternfly/react-styles';
|
|
4
4
|
import { Spinner } from '../Spinner';
|
|
5
5
|
|
|
6
|
+
export type IconSize =
|
|
7
|
+
| 'sm'
|
|
8
|
+
| 'md'
|
|
9
|
+
| 'lg'
|
|
10
|
+
| 'xl'
|
|
11
|
+
| '2xl'
|
|
12
|
+
| '3xl'
|
|
13
|
+
| 'headingSm'
|
|
14
|
+
| 'headingMd'
|
|
15
|
+
| 'headingLg'
|
|
16
|
+
| 'headingXl'
|
|
17
|
+
| 'heading_2xl'
|
|
18
|
+
| 'heading_3xl'
|
|
19
|
+
| 'bodySm'
|
|
20
|
+
| 'bodyDefault'
|
|
21
|
+
| 'bodyLg';
|
|
22
|
+
|
|
6
23
|
export interface IconComponentProps extends Omit<React.HTMLProps<HTMLSpanElement>, 'size'> {
|
|
7
24
|
/** Icon content */
|
|
8
25
|
children?: React.ReactNode;
|
|
@@ -11,11 +28,11 @@ export interface IconComponentProps extends Omit<React.HTMLProps<HTMLSpanElement
|
|
|
11
28
|
/** Additional classes applied to the icon container */
|
|
12
29
|
className?: string;
|
|
13
30
|
/** Size of the icon component container and icon. */
|
|
14
|
-
size?:
|
|
31
|
+
size?: IconSize;
|
|
15
32
|
/** Size of icon. Overrides the icon size set by the size property. */
|
|
16
|
-
iconSize?:
|
|
33
|
+
iconSize?: IconSize;
|
|
17
34
|
/** Size of progress icon. Overrides the icon size set by the size property. */
|
|
18
|
-
progressIconSize?:
|
|
35
|
+
progressIconSize?: IconSize;
|
|
19
36
|
/** Status color of the icon */
|
|
20
37
|
status?: 'custom' | 'info' | 'success' | 'warning' | 'danger';
|
|
21
38
|
/** Indicates the icon is inline and should inherit the text font size and color. Overriden by size and iconSize properties. */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { render, screen } from '@testing-library/react';
|
|
3
|
-
import {
|
|
3
|
+
import { kebabCase } from 'case-anything';
|
|
4
|
+
import { Icon, IconSize } from '../Icon';
|
|
4
5
|
import CheckIcon from '@patternfly/react-icons/dist/esm/icons/check-icon';
|
|
5
6
|
import styles from '@patternfly/react-styles/css/components/Icon/icon';
|
|
6
7
|
|
|
@@ -41,16 +42,60 @@ test('sets additional custom class successfully', () => {
|
|
|
41
42
|
expect(iconContainer).toHaveClass('test');
|
|
42
43
|
});
|
|
43
44
|
|
|
44
|
-
Object.values([
|
|
45
|
+
Object.values([
|
|
46
|
+
'sm',
|
|
47
|
+
'md',
|
|
48
|
+
'lg',
|
|
49
|
+
'xl',
|
|
50
|
+
'2xl',
|
|
51
|
+
'3xl',
|
|
52
|
+
'headingSm',
|
|
53
|
+
'headingMd',
|
|
54
|
+
'headingLg',
|
|
55
|
+
'headingXl',
|
|
56
|
+
'heading_2xl',
|
|
57
|
+
'heading_3xl',
|
|
58
|
+
'bodySm',
|
|
59
|
+
'bodyDefault',
|
|
60
|
+
'bodyLg'
|
|
61
|
+
]).forEach((size) => {
|
|
45
62
|
test(`sets icon size modifier successfully - ${size}`, () => {
|
|
46
63
|
render(
|
|
47
|
-
<Icon iconSize={size as
|
|
64
|
+
<Icon iconSize={size as IconSize} title={`content-${size}-icon`}>
|
|
48
65
|
<CheckIcon />
|
|
49
66
|
</Icon>
|
|
50
67
|
);
|
|
51
68
|
const iconContainer = screen.getByTitle(`content-${size}-icon`).querySelector(`.${styles.iconContent}`);
|
|
52
69
|
|
|
53
|
-
|
|
70
|
+
const formattedSize = kebabCase(size).replace(/(\d)(-)/, '$1');
|
|
71
|
+
|
|
72
|
+
expect(iconContainer).toHaveClass(`pf-m-${formattedSize}`);
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
test(`sets progress icon size modifier successfully - ${size}`, () => {
|
|
76
|
+
render(
|
|
77
|
+
<Icon isInProgress progressIconSize={size as IconSize} title={`progress-content-${size}-icon`}>
|
|
78
|
+
<CheckIcon />
|
|
79
|
+
</Icon>
|
|
80
|
+
);
|
|
81
|
+
const iconContainer = screen.getByTitle(`progress-content-${size}-icon`).querySelector(`.${styles.iconProgress}`);
|
|
82
|
+
|
|
83
|
+
const formattedSize = kebabCase(size).replace(/(\d)(-)/, '$1');
|
|
84
|
+
|
|
85
|
+
expect(iconContainer).toHaveClass(`pf-m-${formattedSize}`);
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
test(`sets size modifier successfully - ${size}`, () => {
|
|
89
|
+
render(
|
|
90
|
+
<Icon size={size as IconSize} title={`${size}-icon`}>
|
|
91
|
+
<CheckIcon />
|
|
92
|
+
</Icon>
|
|
93
|
+
);
|
|
94
|
+
const iconContainer = screen.getByTitle(`${size}-icon`);
|
|
95
|
+
|
|
96
|
+
const formattedSize = kebabCase(size).replace(/(\d)(-)/, '$1');
|
|
97
|
+
|
|
98
|
+
expect(iconContainer).toHaveClass(`pf-m-${formattedSize}`);
|
|
54
99
|
});
|
|
55
100
|
});
|
|
56
101
|
|
|
@@ -64,19 +109,6 @@ test('check icon without iconSize', () => {
|
|
|
64
109
|
expect(Array.from(iconContainer?.classList || []).some((c) => /pf-m-*/.test(c))); // Check no modifier classes have been added
|
|
65
110
|
});
|
|
66
111
|
|
|
67
|
-
Object.values(['sm', 'md', 'lg', 'xl']).forEach((size) => {
|
|
68
|
-
test(`sets progress icon size modifier successfully - ${size}`, () => {
|
|
69
|
-
render(
|
|
70
|
-
<Icon isInProgress progressIconSize={size as 'sm' | 'md' | 'lg' | 'xl'} title={`progress-content-${size}-icon`}>
|
|
71
|
-
<CheckIcon />
|
|
72
|
-
</Icon>
|
|
73
|
-
);
|
|
74
|
-
const iconContainer = screen.getByTitle(`progress-content-${size}-icon`).querySelector(`.${styles.iconProgress}`);
|
|
75
|
-
|
|
76
|
-
expect(iconContainer).toHaveClass(`pf-m-${size}`);
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
|
|
80
112
|
test('check icon without progress icon size', () => {
|
|
81
113
|
render(
|
|
82
114
|
<Icon title="no-progress-icon-size">
|
|
@@ -87,19 +119,6 @@ test('check icon without progress icon size', () => {
|
|
|
87
119
|
expect(Array.from(iconContainer?.classList || []).some((c) => /pf-m-*/.test(c))); // Check no modifier classes have been added
|
|
88
120
|
});
|
|
89
121
|
|
|
90
|
-
Object.values(['sm', 'md', 'lg', 'xl']).forEach((size) => {
|
|
91
|
-
test(`sets size modifier successfully - ${size}`, () => {
|
|
92
|
-
render(
|
|
93
|
-
<Icon size={size as 'sm' | 'md' | 'lg' | 'xl'} title={`${size}-icon`}>
|
|
94
|
-
<CheckIcon />
|
|
95
|
-
</Icon>
|
|
96
|
-
);
|
|
97
|
-
const iconContainer = screen.getByTitle(`${size}-icon`);
|
|
98
|
-
|
|
99
|
-
expect(iconContainer).toHaveClass(`pf-m-${size}`);
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
|
|
103
122
|
test('check icon without size', () => {
|
|
104
123
|
render(
|
|
105
124
|
<Icon title="no-size">
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from '@patternfly/react-core';
|
|
3
|
+
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
4
|
+
|
|
5
|
+
export const BodyIconSizes: React.FunctionComponent = () => (
|
|
6
|
+
<React.Fragment>
|
|
7
|
+
<Icon size="bodySm">
|
|
8
|
+
<PlusCircleIcon />
|
|
9
|
+
</Icon>
|
|
10
|
+
<Icon size="bodyDefault">
|
|
11
|
+
<PlusCircleIcon />
|
|
12
|
+
</Icon>
|
|
13
|
+
<Icon size="bodyLg">
|
|
14
|
+
<PlusCircleIcon />
|
|
15
|
+
</Icon>
|
|
16
|
+
</React.Fragment>
|
|
17
|
+
);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from '@patternfly/react-core';
|
|
3
|
+
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
4
|
+
|
|
5
|
+
export const HeadingIconSizes: React.FunctionComponent = () => (
|
|
6
|
+
<React.Fragment>
|
|
7
|
+
<Icon size="headingSm">
|
|
8
|
+
<PlusCircleIcon />
|
|
9
|
+
</Icon>
|
|
10
|
+
<Icon size="headingMd">
|
|
11
|
+
<PlusCircleIcon />
|
|
12
|
+
</Icon>
|
|
13
|
+
<Icon size="headingLg">
|
|
14
|
+
<PlusCircleIcon />
|
|
15
|
+
</Icon>
|
|
16
|
+
<Icon size="headingXl">
|
|
17
|
+
<PlusCircleIcon />
|
|
18
|
+
</Icon>
|
|
19
|
+
<Icon size="heading_2xl">
|
|
20
|
+
<PlusCircleIcon />
|
|
21
|
+
</Icon>
|
|
22
|
+
<Icon size="heading_3xl">
|
|
23
|
+
<PlusCircleIcon />
|
|
24
|
+
</Icon>
|
|
25
|
+
</React.Fragment>
|
|
26
|
+
);
|
|
@@ -23,9 +23,25 @@ import BellIcon from '@patternfly/react-icons/dist/esm/icons/bell-icon';
|
|
|
23
23
|
```ts file="IconBasic.tsx"
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
###
|
|
26
|
+
### Standalone icon sizes
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
These are the standard options for sizing icons.
|
|
29
|
+
|
|
30
|
+
```ts file="StandaloneIconSizes.tsx"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Body sizes
|
|
34
|
+
|
|
35
|
+
These size options are meant to make icons match the size of body text.
|
|
36
|
+
|
|
37
|
+
```ts file="BodyIconSizes.tsx"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Heading sizes
|
|
41
|
+
|
|
42
|
+
These size options are meant to make icons match the size of heading text.
|
|
43
|
+
|
|
44
|
+
```ts file="HeadingIconSizes.tsx"
|
|
29
45
|
```
|
|
30
46
|
|
|
31
47
|
### Status colors
|
|
@@ -4,16 +4,16 @@ import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-i
|
|
|
4
4
|
|
|
5
5
|
export const IconContentSizes: React.FunctionComponent = () => (
|
|
6
6
|
<React.Fragment>
|
|
7
|
-
<Icon size="
|
|
7
|
+
<Icon size="3xl" iconSize="lg">
|
|
8
8
|
<PlusCircleIcon />
|
|
9
9
|
</Icon>
|
|
10
|
-
<Icon size="
|
|
10
|
+
<Icon size="3xl" iconSize="xl">
|
|
11
11
|
<PlusCircleIcon />
|
|
12
12
|
</Icon>
|
|
13
|
-
<Icon size="
|
|
13
|
+
<Icon size="3xl" iconSize="2xl">
|
|
14
14
|
<PlusCircleIcon />
|
|
15
15
|
</Icon>
|
|
16
|
-
<Icon size="
|
|
16
|
+
<Icon size="3xl">
|
|
17
17
|
<PlusCircleIcon />
|
|
18
18
|
</Icon>
|
|
19
19
|
</React.Fragment>
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { Icon } from '@patternfly/react-core';
|
|
3
3
|
import PlusCircleIcon from '@patternfly/react-icons/dist/esm/icons/plus-circle-icon';
|
|
4
4
|
|
|
5
|
-
export const
|
|
5
|
+
export const StandaloneIconSizes: React.FunctionComponent = () => (
|
|
6
6
|
<React.Fragment>
|
|
7
7
|
<Icon size="sm">
|
|
8
8
|
<PlusCircleIcon />
|
|
@@ -16,5 +16,11 @@ export const IconSizes: React.FunctionComponent = () => (
|
|
|
16
16
|
<Icon size="xl">
|
|
17
17
|
<PlusCircleIcon />
|
|
18
18
|
</Icon>
|
|
19
|
+
<Icon size="2xl">
|
|
20
|
+
<PlusCircleIcon />
|
|
21
|
+
</Icon>
|
|
22
|
+
<Icon size="3xl">
|
|
23
|
+
<PlusCircleIcon />
|
|
24
|
+
</Icon>
|
|
19
25
|
</React.Fragment>
|
|
20
26
|
);
|
|
@@ -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>
|
|
@@ -42,7 +42,7 @@ exports[`MultipleFileUploadStatus renders custom class names 1`] = `
|
|
|
42
42
|
class="pf-v5-c-multiple-file-upload__status-progress-icon"
|
|
43
43
|
/>
|
|
44
44
|
<div
|
|
45
|
-
class="pf-v5-c-multiple-file-upload__status-
|
|
45
|
+
class="pf-v5-c-multiple-file-upload__status-progress-text"
|
|
46
46
|
/>
|
|
47
47
|
</div>
|
|
48
48
|
</span>
|
|
@@ -121,7 +121,7 @@ exports[`MultipleFileUploadStatus renders status toggle icon 1`] = `
|
|
|
121
121
|
</svg>
|
|
122
122
|
</div>
|
|
123
123
|
<div
|
|
124
|
-
class="pf-v5-c-multiple-file-upload__status-
|
|
124
|
+
class="pf-v5-c-multiple-file-upload__status-progress-text"
|
|
125
125
|
/>
|
|
126
126
|
</div>
|
|
127
127
|
</span>
|
|
@@ -186,7 +186,7 @@ exports[`MultipleFileUploadStatus renders status toggle text 1`] = `
|
|
|
186
186
|
class="pf-v5-c-multiple-file-upload__status-progress-icon"
|
|
187
187
|
/>
|
|
188
188
|
<div
|
|
189
|
-
class="pf-v5-c-multiple-file-upload__status-
|
|
189
|
+
class="pf-v5-c-multiple-file-upload__status-progress-text"
|
|
190
190
|
>
|
|
191
191
|
test
|
|
192
192
|
</div>
|
|
@@ -253,7 +253,7 @@ exports[`MultipleFileUploadStatus renders with expected class names 1`] = `
|
|
|
253
253
|
class="pf-v5-c-multiple-file-upload__status-progress-icon"
|
|
254
254
|
/>
|
|
255
255
|
<div
|
|
256
|
-
class="pf-v5-c-multiple-file-upload__status-
|
|
256
|
+
class="pf-v5-c-multiple-file-upload__status-progress-text"
|
|
257
257
|
/>
|
|
258
258
|
</div>
|
|
259
259
|
</span>
|
|
@@ -85,7 +85,9 @@ exports[`MultipleFileUploadStatusItem renders custom aria labels 1`] = `
|
|
|
85
85
|
</div>
|
|
86
86
|
</div>
|
|
87
87
|
</div>
|
|
88
|
-
<div
|
|
88
|
+
<div
|
|
89
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
90
|
+
>
|
|
89
91
|
<button
|
|
90
92
|
aria-disabled="false"
|
|
91
93
|
aria-label="buttonAriaLabel"
|
|
@@ -101,11 +103,11 @@ exports[`MultipleFileUploadStatusItem renders custom aria labels 1`] = `
|
|
|
101
103
|
fill="currentColor"
|
|
102
104
|
height="1em"
|
|
103
105
|
role="img"
|
|
104
|
-
viewBox="0 0
|
|
106
|
+
viewBox="0 0 352 512"
|
|
105
107
|
width="1em"
|
|
106
108
|
>
|
|
107
109
|
<path
|
|
108
|
-
d="
|
|
110
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
109
111
|
/>
|
|
110
112
|
</svg>
|
|
111
113
|
</button>
|
|
@@ -196,7 +198,9 @@ exports[`MultipleFileUploadStatusItem renders custom class names 1`] = `
|
|
|
196
198
|
</div>
|
|
197
199
|
</div>
|
|
198
200
|
</div>
|
|
199
|
-
<div
|
|
201
|
+
<div
|
|
202
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
203
|
+
>
|
|
200
204
|
<button
|
|
201
205
|
aria-disabled="false"
|
|
202
206
|
aria-label="Remove from list"
|
|
@@ -212,11 +216,11 @@ exports[`MultipleFileUploadStatusItem renders custom class names 1`] = `
|
|
|
212
216
|
fill="currentColor"
|
|
213
217
|
height="1em"
|
|
214
218
|
role="img"
|
|
215
|
-
viewBox="0 0
|
|
219
|
+
viewBox="0 0 352 512"
|
|
216
220
|
width="1em"
|
|
217
221
|
>
|
|
218
222
|
<path
|
|
219
|
-
d="
|
|
223
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
220
224
|
/>
|
|
221
225
|
</svg>
|
|
222
226
|
</button>
|
|
@@ -309,7 +313,9 @@ exports[`MultipleFileUploadStatusItem renders custom file name/size/icon/progres
|
|
|
309
313
|
</div>
|
|
310
314
|
</div>
|
|
311
315
|
</div>
|
|
312
|
-
<div
|
|
316
|
+
<div
|
|
317
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
318
|
+
>
|
|
313
319
|
<button
|
|
314
320
|
aria-disabled="false"
|
|
315
321
|
aria-label="Remove from list"
|
|
@@ -325,11 +331,11 @@ exports[`MultipleFileUploadStatusItem renders custom file name/size/icon/progres
|
|
|
325
331
|
fill="currentColor"
|
|
326
332
|
height="1em"
|
|
327
333
|
role="img"
|
|
328
|
-
viewBox="0 0
|
|
334
|
+
viewBox="0 0 352 512"
|
|
329
335
|
width="1em"
|
|
330
336
|
>
|
|
331
337
|
<path
|
|
332
|
-
d="
|
|
338
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
333
339
|
/>
|
|
334
340
|
</svg>
|
|
335
341
|
</button>
|
|
@@ -422,7 +428,9 @@ exports[`MultipleFileUploadStatusItem renders custom function progressAriaLiveMe
|
|
|
422
428
|
</div>
|
|
423
429
|
</div>
|
|
424
430
|
</div>
|
|
425
|
-
<div
|
|
431
|
+
<div
|
|
432
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
433
|
+
>
|
|
426
434
|
<button
|
|
427
435
|
aria-disabled="false"
|
|
428
436
|
aria-label="Remove from list"
|
|
@@ -438,11 +446,11 @@ exports[`MultipleFileUploadStatusItem renders custom function progressAriaLiveMe
|
|
|
438
446
|
fill="currentColor"
|
|
439
447
|
height="1em"
|
|
440
448
|
role="img"
|
|
441
|
-
viewBox="0 0
|
|
449
|
+
viewBox="0 0 352 512"
|
|
442
450
|
width="1em"
|
|
443
451
|
>
|
|
444
452
|
<path
|
|
445
|
-
d="
|
|
453
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
446
454
|
/>
|
|
447
455
|
</svg>
|
|
448
456
|
</button>
|
|
@@ -552,7 +560,9 @@ exports[`MultipleFileUploadStatusItem renders custom progress value/variant when
|
|
|
552
560
|
</div>
|
|
553
561
|
</div>
|
|
554
562
|
</div>
|
|
555
|
-
<div
|
|
563
|
+
<div
|
|
564
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
565
|
+
>
|
|
556
566
|
<button
|
|
557
567
|
aria-disabled="false"
|
|
558
568
|
aria-label="Remove from list"
|
|
@@ -568,11 +578,11 @@ exports[`MultipleFileUploadStatusItem renders custom progress value/variant when
|
|
|
568
578
|
fill="currentColor"
|
|
569
579
|
height="1em"
|
|
570
580
|
role="img"
|
|
571
|
-
viewBox="0 0
|
|
581
|
+
viewBox="0 0 352 512"
|
|
572
582
|
width="1em"
|
|
573
583
|
>
|
|
574
584
|
<path
|
|
575
|
-
d="
|
|
585
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
576
586
|
/>
|
|
577
587
|
</svg>
|
|
578
588
|
</button>
|
|
@@ -665,7 +675,9 @@ exports[`MultipleFileUploadStatusItem renders expected values from a passed file
|
|
|
665
675
|
</div>
|
|
666
676
|
</div>
|
|
667
677
|
</div>
|
|
668
|
-
<div
|
|
678
|
+
<div
|
|
679
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
680
|
+
>
|
|
669
681
|
<button
|
|
670
682
|
aria-disabled="false"
|
|
671
683
|
aria-label="Remove from list"
|
|
@@ -681,11 +693,11 @@ exports[`MultipleFileUploadStatusItem renders expected values from a passed file
|
|
|
681
693
|
fill="currentColor"
|
|
682
694
|
height="1em"
|
|
683
695
|
role="img"
|
|
684
|
-
viewBox="0 0
|
|
696
|
+
viewBox="0 0 352 512"
|
|
685
697
|
width="1em"
|
|
686
698
|
>
|
|
687
699
|
<path
|
|
688
|
-
d="
|
|
700
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
689
701
|
/>
|
|
690
702
|
</svg>
|
|
691
703
|
</button>
|
|
@@ -776,7 +788,9 @@ exports[`MultipleFileUploadStatusItem renders with expected class names 1`] = `
|
|
|
776
788
|
</div>
|
|
777
789
|
</div>
|
|
778
790
|
</div>
|
|
779
|
-
<div
|
|
791
|
+
<div
|
|
792
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
793
|
+
>
|
|
780
794
|
<button
|
|
781
795
|
aria-disabled="false"
|
|
782
796
|
aria-label="Remove from list"
|
|
@@ -792,11 +806,11 @@ exports[`MultipleFileUploadStatusItem renders with expected class names 1`] = `
|
|
|
792
806
|
fill="currentColor"
|
|
793
807
|
height="1em"
|
|
794
808
|
role="img"
|
|
795
|
-
viewBox="0 0
|
|
809
|
+
viewBox="0 0 352 512"
|
|
796
810
|
width="1em"
|
|
797
811
|
>
|
|
798
812
|
<path
|
|
799
|
-
d="
|
|
813
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
800
814
|
/>
|
|
801
815
|
</svg>
|
|
802
816
|
</button>
|
|
@@ -889,7 +903,9 @@ exports[`MultipleFileUploadStatusItem rendersdefault progressAriaLiveMessage whe
|
|
|
889
903
|
</div>
|
|
890
904
|
</div>
|
|
891
905
|
</div>
|
|
892
|
-
<div
|
|
906
|
+
<div
|
|
907
|
+
class="pf-v5-c-multiple-file-upload__status-item-close"
|
|
908
|
+
>
|
|
893
909
|
<button
|
|
894
910
|
aria-disabled="false"
|
|
895
911
|
aria-label="Remove from list"
|
|
@@ -905,11 +921,11 @@ exports[`MultipleFileUploadStatusItem rendersdefault progressAriaLiveMessage whe
|
|
|
905
921
|
fill="currentColor"
|
|
906
922
|
height="1em"
|
|
907
923
|
role="img"
|
|
908
|
-
viewBox="0 0
|
|
924
|
+
viewBox="0 0 352 512"
|
|
909
925
|
width="1em"
|
|
910
926
|
>
|
|
911
927
|
<path
|
|
912
|
-
d="
|
|
928
|
+
d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
|
|
913
929
|
/>
|
|
914
930
|
</svg>
|
|
915
931
|
</button>
|