@patternfly/react-core 5.0.0-prerelease.16 → 5.0.0-prerelease.18
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 +12 -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/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/package.json +1 -1
- package/dist/esm/components/FormControl/FormControlIcon.js +1 -1
- package/dist/esm/components/FormControl/FormControlIcon.js.map +1 -1
- package/dist/esm/components/FormSelect/FormSelect.js +3 -3
- package/dist/esm/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/esm/components/TextArea/TextArea.js +2 -2
- package/dist/esm/components/TextArea/TextArea.js.map +1 -1
- package/dist/esm/components/TextInput/TextInput.js +2 -2
- package/dist/esm/components/TextInput/TextInput.js.map +1 -1
- package/dist/esm/deprecated/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/deprecated/components/Select/Select.js +5 -6
- package/dist/esm/deprecated/components/Select/Select.js.map +1 -1
- package/dist/js/components/FormControl/FormControlIcon.js +1 -1
- package/dist/js/components/FormControl/FormControlIcon.js.map +1 -1
- package/dist/js/components/FormSelect/FormSelect.js +3 -3
- package/dist/js/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/js/components/TextArea/TextArea.js +2 -2
- package/dist/js/components/TextArea/TextArea.js.map +1 -1
- package/dist/js/components/TextInput/TextInput.js +2 -2
- package/dist/js/components/TextInput/TextInput.js.map +1 -1
- package/dist/js/deprecated/components/Select/Select.d.ts.map +1 -1
- package/dist/js/deprecated/components/Select/Select.js +5 -6
- package/dist/js/deprecated/components/Select/Select.js.map +1 -1
- package/dist/umd/react-core.min.js +1 -1
- package/helpers/package.json +1 -1
- package/layouts/package.json +1 -1
- package/next/package.json +1 -1
- package/package.json +2 -2
- package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +6 -6
- package/src/components/FileUpload/__tests__/__snapshots__/FileUpload.test.tsx.snap +4 -4
- package/src/components/FileUpload/__tests__/__snapshots__/FileUploadField.test.tsx.snap +4 -4
- package/src/components/FormControl/FormControlIcon.tsx +2 -2
- package/src/components/FormSelect/FormSelect.tsx +6 -6
- package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +60 -60
- package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +12 -12
- package/src/components/NumberInput/__tests__/__snapshots__/NumberInput.test.tsx.snap +38 -38
- package/src/components/Pagination/__tests__/Generated/__snapshots__/Navigation.test.tsx.snap +2 -2
- package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +40 -40
- package/src/components/SearchInput/__tests__/__snapshots__/SearchInput.test.tsx.snap +6 -6
- package/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +8 -8
- package/src/components/TextArea/TextArea.tsx +4 -4
- package/src/components/TextArea/__tests__/__snapshots__/TextArea.test.tsx.snap +2 -2
- package/src/components/TextInput/TextInput.tsx +4 -4
- package/src/components/TextInput/__tests__/__snapshots__/TextInput.test.tsx.snap +22 -22
- package/src/deprecated/components/Select/Select.tsx +11 -14
- package/src/deprecated/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +33 -12
package/helpers/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"5.0.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-helpers","main":"../dist/js/helpers/index.js","module":"../dist/esm/helpers/index.js","typings":"../dist/esm/helpers/index.d.ts","version":"5.0.0-prerelease.17"}
|
package/layouts/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"5.0.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-layouts","main":"../dist/js/layouts/index.js","module":"../dist/esm/layouts/index.js","typings":"../dist/esm/layouts/index.d.ts","version":"5.0.0-prerelease.17"}
|
package/next/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"5.0.0-prerelease.
|
|
1
|
+
{"name":"@patternfly/react-core-next","main":"../dist/js/next/index.js","module":"../dist/esm/next/index.js","typings":"../dist/esm/next/index.d.ts","version":"5.0.0-prerelease.17"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "5.0.0-prerelease.
|
|
3
|
+
"version": "5.0.0-prerelease.18",
|
|
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",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"react": "^17 || ^18",
|
|
72
72
|
"react-dom": "^17 || ^18"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "b4aec63b97f1861401eba8ea6d6c73a8ddde8df1"
|
|
75
75
|
}
|
package/src/components/ClipboardCopy/__tests__/Generated/__snapshots__/ClipboardCopy.test.tsx.snap
CHANGED
|
@@ -10,7 +10,7 @@ exports[`ClipboardCopy should match snapshot (auto-generated) 1`] = `
|
|
|
10
10
|
<div
|
|
11
11
|
class="pf-v5-c-clipboard-copy__group"
|
|
12
12
|
>
|
|
13
|
-
<
|
|
13
|
+
<span
|
|
14
14
|
class="pf-v5-c-form-control"
|
|
15
15
|
>
|
|
16
16
|
<input
|
|
@@ -23,7 +23,7 @@ exports[`ClipboardCopy should match snapshot (auto-generated) 1`] = `
|
|
|
23
23
|
type="text"
|
|
24
24
|
value="[object Object]"
|
|
25
25
|
/>
|
|
26
|
-
</
|
|
26
|
+
</span>
|
|
27
27
|
<button
|
|
28
28
|
aria-disabled="false"
|
|
29
29
|
aria-label="'Copy to clipboard'"
|
|
@@ -15,7 +15,7 @@ exports[`With popover opened 1`] = `
|
|
|
15
15
|
<div
|
|
16
16
|
class="pf-v5-c-input-group__item pf-m-fill"
|
|
17
17
|
>
|
|
18
|
-
<
|
|
18
|
+
<span
|
|
19
19
|
class="pf-v5-c-form-control"
|
|
20
20
|
>
|
|
21
21
|
<input
|
|
@@ -28,7 +28,7 @@ exports[`With popover opened 1`] = `
|
|
|
28
28
|
type="text"
|
|
29
29
|
value=""
|
|
30
30
|
/>
|
|
31
|
-
</
|
|
31
|
+
</span>
|
|
32
32
|
</div>
|
|
33
33
|
<div
|
|
34
34
|
class="pf-v5-c-input-group__item"
|
|
@@ -162,7 +162,7 @@ exports[`With popover opened 1`] = `
|
|
|
162
162
|
<div
|
|
163
163
|
class="pf-v5-c-calendar-month__header-year"
|
|
164
164
|
>
|
|
165
|
-
<
|
|
165
|
+
<span
|
|
166
166
|
class="pf-v5-c-form-control"
|
|
167
167
|
>
|
|
168
168
|
<input
|
|
@@ -174,7 +174,7 @@ exports[`With popover opened 1`] = `
|
|
|
174
174
|
type="number"
|
|
175
175
|
value="1969"
|
|
176
176
|
/>
|
|
177
|
-
</
|
|
177
|
+
</span>
|
|
178
178
|
</div>
|
|
179
179
|
</div>
|
|
180
180
|
</div>
|
|
@@ -786,7 +786,7 @@ exports[`disabled date picker 1`] = `
|
|
|
786
786
|
<div
|
|
787
787
|
class="pf-v5-c-input-group__item pf-m-fill"
|
|
788
788
|
>
|
|
789
|
-
<
|
|
789
|
+
<span
|
|
790
790
|
class="pf-v5-c-form-control pf-m-disabled"
|
|
791
791
|
>
|
|
792
792
|
<input
|
|
@@ -800,7 +800,7 @@ exports[`disabled date picker 1`] = `
|
|
|
800
800
|
type="text"
|
|
801
801
|
value="2020-11-20"
|
|
802
802
|
/>
|
|
803
|
-
</
|
|
803
|
+
</span>
|
|
804
804
|
</div>
|
|
805
805
|
<div
|
|
806
806
|
class="pf-v5-c-input-group__item"
|
|
@@ -15,7 +15,7 @@ exports[`simple fileupload 1`] = `
|
|
|
15
15
|
<div
|
|
16
16
|
class="pf-v5-c-input-group__item pf-m-fill"
|
|
17
17
|
>
|
|
18
|
-
<
|
|
18
|
+
<span
|
|
19
19
|
class="pf-v5-c-form-control pf-m-readonly pf-m-plain"
|
|
20
20
|
>
|
|
21
21
|
<input
|
|
@@ -32,7 +32,7 @@ exports[`simple fileupload 1`] = `
|
|
|
32
32
|
type="text"
|
|
33
33
|
value=""
|
|
34
34
|
/>
|
|
35
|
-
</
|
|
35
|
+
</span>
|
|
36
36
|
</div>
|
|
37
37
|
<div
|
|
38
38
|
class="pf-v5-c-input-group__item"
|
|
@@ -69,7 +69,7 @@ exports[`simple fileupload 1`] = `
|
|
|
69
69
|
<div
|
|
70
70
|
class="pf-v5-c-file-upload__file-details"
|
|
71
71
|
>
|
|
72
|
-
<
|
|
72
|
+
<span
|
|
73
73
|
class="pf-v5-c-form-control pf-m-resize-vertical"
|
|
74
74
|
>
|
|
75
75
|
<textarea
|
|
@@ -79,7 +79,7 @@ exports[`simple fileupload 1`] = `
|
|
|
79
79
|
name="simple-text-file"
|
|
80
80
|
placeholder=""
|
|
81
81
|
/>
|
|
82
|
-
</
|
|
82
|
+
</span>
|
|
83
83
|
</div>
|
|
84
84
|
<input
|
|
85
85
|
style="display: none;"
|
|
@@ -14,7 +14,7 @@ exports[`simple fileuploadfield 1`] = `
|
|
|
14
14
|
<div
|
|
15
15
|
class="pf-v5-c-input-group__item pf-m-fill"
|
|
16
16
|
>
|
|
17
|
-
<
|
|
17
|
+
<span
|
|
18
18
|
class="pf-v5-c-form-control pf-m-readonly pf-m-plain"
|
|
19
19
|
>
|
|
20
20
|
<input
|
|
@@ -31,7 +31,7 @@ exports[`simple fileuploadfield 1`] = `
|
|
|
31
31
|
type="text"
|
|
32
32
|
value=""
|
|
33
33
|
/>
|
|
34
|
-
</
|
|
34
|
+
</span>
|
|
35
35
|
</div>
|
|
36
36
|
<div
|
|
37
37
|
class="pf-v5-c-input-group__item"
|
|
@@ -67,7 +67,7 @@ exports[`simple fileuploadfield 1`] = `
|
|
|
67
67
|
<div
|
|
68
68
|
class="pf-v5-c-file-upload__file-details"
|
|
69
69
|
>
|
|
70
|
-
<
|
|
70
|
+
<span
|
|
71
71
|
class="pf-v5-c-form-control pf-m-resize-vertical"
|
|
72
72
|
>
|
|
73
73
|
<textarea
|
|
@@ -77,7 +77,7 @@ exports[`simple fileuploadfield 1`] = `
|
|
|
77
77
|
name="custom-file-upload"
|
|
78
78
|
placeholder=""
|
|
79
79
|
/>
|
|
80
|
-
</
|
|
80
|
+
</span>
|
|
81
81
|
</div>
|
|
82
82
|
<p>
|
|
83
83
|
A custom preview of the uploaded file can be passed as children
|
|
@@ -24,8 +24,8 @@ export const FormControlIcon = ({ status, customIcon, className, ...props }: For
|
|
|
24
24
|
const StatusIcon = status && statusIcons[status];
|
|
25
25
|
|
|
26
26
|
return (
|
|
27
|
-
<
|
|
27
|
+
<span className={css(styles.formControlIcon, status && styles.modifiers.status, className)} {...props}>
|
|
28
28
|
{customIcon || <StatusIcon />}
|
|
29
|
-
</
|
|
29
|
+
</span>
|
|
30
30
|
);
|
|
31
31
|
};
|
|
@@ -76,7 +76,7 @@ export class FormSelect extends React.Component<FormSelectProps, { ouiaStateId:
|
|
|
76
76
|
const hasStatusIcon = ['success', 'error', 'warning'].includes(validated);
|
|
77
77
|
|
|
78
78
|
return (
|
|
79
|
-
<
|
|
79
|
+
<span
|
|
80
80
|
className={css(
|
|
81
81
|
styles.formControl,
|
|
82
82
|
isDisabled && styles.modifiers.disabled,
|
|
@@ -96,13 +96,13 @@ export class FormSelect extends React.Component<FormSelectProps, { ouiaStateId:
|
|
|
96
96
|
>
|
|
97
97
|
{children}
|
|
98
98
|
</select>
|
|
99
|
-
<
|
|
99
|
+
<span className={css(styles.formControlUtilities)}>
|
|
100
100
|
{hasStatusIcon && <FormControlIcon status={validated as 'success' | 'error' | 'warning'} />}
|
|
101
|
-
<
|
|
101
|
+
<span className={css(styles.formControlToggleIcon)}>
|
|
102
102
|
<CaretDownIcon />
|
|
103
|
-
</
|
|
104
|
-
</
|
|
105
|
-
</
|
|
103
|
+
</span>
|
|
104
|
+
</span>
|
|
105
|
+
</span>
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`FormSelect Disabled FormSelect input 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
|
-
<
|
|
5
|
+
<span
|
|
6
6
|
class="pf-v5-c-form-control pf-m-disabled"
|
|
7
7
|
>
|
|
8
8
|
<select
|
|
@@ -20,10 +20,10 @@ exports[`FormSelect Disabled FormSelect input 1`] = `
|
|
|
20
20
|
Mr
|
|
21
21
|
</option>
|
|
22
22
|
</select>
|
|
23
|
-
<
|
|
23
|
+
<span
|
|
24
24
|
class="pf-v5-c-form-control__utilities"
|
|
25
25
|
>
|
|
26
|
-
<
|
|
26
|
+
<span
|
|
27
27
|
class="pf-v5-c-form-control__toggle-icon"
|
|
28
28
|
>
|
|
29
29
|
<svg
|
|
@@ -39,15 +39,15 @@ exports[`FormSelect Disabled FormSelect input 1`] = `
|
|
|
39
39
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
40
40
|
/>
|
|
41
41
|
</svg>
|
|
42
|
-
</
|
|
43
|
-
</
|
|
44
|
-
</
|
|
42
|
+
</span>
|
|
43
|
+
</span>
|
|
44
|
+
</span>
|
|
45
45
|
</DocumentFragment>
|
|
46
46
|
`;
|
|
47
47
|
|
|
48
48
|
exports[`FormSelect FormSelect input with aria-label does not generate console error 1`] = `
|
|
49
49
|
<DocumentFragment>
|
|
50
|
-
<
|
|
50
|
+
<span
|
|
51
51
|
class="pf-v5-c-form-control"
|
|
52
52
|
>
|
|
53
53
|
<select
|
|
@@ -64,10 +64,10 @@ exports[`FormSelect FormSelect input with aria-label does not generate console e
|
|
|
64
64
|
Mr
|
|
65
65
|
</option>
|
|
66
66
|
</select>
|
|
67
|
-
<
|
|
67
|
+
<span
|
|
68
68
|
class="pf-v5-c-form-control__utilities"
|
|
69
69
|
>
|
|
70
|
-
<
|
|
70
|
+
<span
|
|
71
71
|
class="pf-v5-c-form-control__toggle-icon"
|
|
72
72
|
>
|
|
73
73
|
<svg
|
|
@@ -83,15 +83,15 @@ exports[`FormSelect FormSelect input with aria-label does not generate console e
|
|
|
83
83
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
84
84
|
/>
|
|
85
85
|
</svg>
|
|
86
|
-
</
|
|
87
|
-
</
|
|
88
|
-
</
|
|
86
|
+
</span>
|
|
87
|
+
</span>
|
|
88
|
+
</span>
|
|
89
89
|
</DocumentFragment>
|
|
90
90
|
`;
|
|
91
91
|
|
|
92
92
|
exports[`FormSelect FormSelect input with id does not generate console error 1`] = `
|
|
93
93
|
<DocumentFragment>
|
|
94
|
-
<
|
|
94
|
+
<span
|
|
95
95
|
class="pf-v5-c-form-control"
|
|
96
96
|
>
|
|
97
97
|
<select
|
|
@@ -109,10 +109,10 @@ exports[`FormSelect FormSelect input with id does not generate console error 1`]
|
|
|
109
109
|
Mr
|
|
110
110
|
</option>
|
|
111
111
|
</select>
|
|
112
|
-
<
|
|
112
|
+
<span
|
|
113
113
|
class="pf-v5-c-form-control__utilities"
|
|
114
114
|
>
|
|
115
|
-
<
|
|
115
|
+
<span
|
|
116
116
|
class="pf-v5-c-form-control__toggle-icon"
|
|
117
117
|
>
|
|
118
118
|
<svg
|
|
@@ -128,15 +128,15 @@ exports[`FormSelect FormSelect input with id does not generate console error 1`]
|
|
|
128
128
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
129
129
|
/>
|
|
130
130
|
</svg>
|
|
131
|
-
</
|
|
132
|
-
</
|
|
133
|
-
</
|
|
131
|
+
</span>
|
|
132
|
+
</span>
|
|
133
|
+
</span>
|
|
134
134
|
</DocumentFragment>
|
|
135
135
|
`;
|
|
136
136
|
|
|
137
137
|
exports[`FormSelect FormSelect input with no aria-label or id generates console error 1`] = `
|
|
138
138
|
<DocumentFragment>
|
|
139
|
-
<
|
|
139
|
+
<span
|
|
140
140
|
class="pf-v5-c-form-control"
|
|
141
141
|
>
|
|
142
142
|
<select
|
|
@@ -152,10 +152,10 @@ exports[`FormSelect FormSelect input with no aria-label or id generates console
|
|
|
152
152
|
Mr
|
|
153
153
|
</option>
|
|
154
154
|
</select>
|
|
155
|
-
<
|
|
155
|
+
<span
|
|
156
156
|
class="pf-v5-c-form-control__utilities"
|
|
157
157
|
>
|
|
158
|
-
<
|
|
158
|
+
<span
|
|
159
159
|
class="pf-v5-c-form-control__toggle-icon"
|
|
160
160
|
>
|
|
161
161
|
<svg
|
|
@@ -171,15 +171,15 @@ exports[`FormSelect FormSelect input with no aria-label or id generates console
|
|
|
171
171
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
172
172
|
/>
|
|
173
173
|
</svg>
|
|
174
|
-
</
|
|
175
|
-
</
|
|
176
|
-
</
|
|
174
|
+
</span>
|
|
175
|
+
</span>
|
|
176
|
+
</span>
|
|
177
177
|
</DocumentFragment>
|
|
178
178
|
`;
|
|
179
179
|
|
|
180
180
|
exports[`FormSelect Grouped FormSelect input 1`] = `
|
|
181
181
|
<DocumentFragment>
|
|
182
|
-
<
|
|
182
|
+
<span
|
|
183
183
|
class="pf-v5-c-form-control"
|
|
184
184
|
>
|
|
185
185
|
<select
|
|
@@ -242,10 +242,10 @@ exports[`FormSelect Grouped FormSelect input 1`] = `
|
|
|
242
242
|
</option>
|
|
243
243
|
</optgroup>
|
|
244
244
|
</select>
|
|
245
|
-
<
|
|
245
|
+
<span
|
|
246
246
|
class="pf-v5-c-form-control__utilities"
|
|
247
247
|
>
|
|
248
|
-
<
|
|
248
|
+
<span
|
|
249
249
|
class="pf-v5-c-form-control__toggle-icon"
|
|
250
250
|
>
|
|
251
251
|
<svg
|
|
@@ -261,15 +261,15 @@ exports[`FormSelect Grouped FormSelect input 1`] = `
|
|
|
261
261
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
262
262
|
/>
|
|
263
263
|
</svg>
|
|
264
|
-
</
|
|
265
|
-
</
|
|
266
|
-
</
|
|
264
|
+
</span>
|
|
265
|
+
</span>
|
|
266
|
+
</span>
|
|
267
267
|
</DocumentFragment>
|
|
268
268
|
`;
|
|
269
269
|
|
|
270
270
|
exports[`FormSelect Simple FormSelect input 1`] = `
|
|
271
271
|
<DocumentFragment>
|
|
272
|
-
<
|
|
272
|
+
<span
|
|
273
273
|
class="pf-v5-c-form-control"
|
|
274
274
|
>
|
|
275
275
|
<select
|
|
@@ -324,10 +324,10 @@ exports[`FormSelect Simple FormSelect input 1`] = `
|
|
|
324
324
|
Other
|
|
325
325
|
</option>
|
|
326
326
|
</select>
|
|
327
|
-
<
|
|
327
|
+
<span
|
|
328
328
|
class="pf-v5-c-form-control__utilities"
|
|
329
329
|
>
|
|
330
|
-
<
|
|
330
|
+
<span
|
|
331
331
|
class="pf-v5-c-form-control__toggle-icon"
|
|
332
332
|
>
|
|
333
333
|
<svg
|
|
@@ -343,15 +343,15 @@ exports[`FormSelect Simple FormSelect input 1`] = `
|
|
|
343
343
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
344
344
|
/>
|
|
345
345
|
</svg>
|
|
346
|
-
</
|
|
347
|
-
</
|
|
348
|
-
</
|
|
346
|
+
</span>
|
|
347
|
+
</span>
|
|
348
|
+
</span>
|
|
349
349
|
</DocumentFragment>
|
|
350
350
|
`;
|
|
351
351
|
|
|
352
352
|
exports[`FormSelect invalid FormSelect input 1`] = `
|
|
353
353
|
<DocumentFragment>
|
|
354
|
-
<
|
|
354
|
+
<span
|
|
355
355
|
class="pf-v5-c-form-control pf-m-error"
|
|
356
356
|
>
|
|
357
357
|
<select
|
|
@@ -368,10 +368,10 @@ exports[`FormSelect invalid FormSelect input 1`] = `
|
|
|
368
368
|
Mr
|
|
369
369
|
</option>
|
|
370
370
|
</select>
|
|
371
|
-
<
|
|
371
|
+
<span
|
|
372
372
|
class="pf-v5-c-form-control__utilities"
|
|
373
373
|
>
|
|
374
|
-
<
|
|
374
|
+
<span
|
|
375
375
|
class="pf-v5-c-form-control__icon pf-m-status"
|
|
376
376
|
>
|
|
377
377
|
<svg
|
|
@@ -387,8 +387,8 @@ exports[`FormSelect invalid FormSelect input 1`] = `
|
|
|
387
387
|
d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
|
388
388
|
/>
|
|
389
389
|
</svg>
|
|
390
|
-
</
|
|
391
|
-
<
|
|
390
|
+
</span>
|
|
391
|
+
<span
|
|
392
392
|
class="pf-v5-c-form-control__toggle-icon"
|
|
393
393
|
>
|
|
394
394
|
<svg
|
|
@@ -404,15 +404,15 @@ exports[`FormSelect invalid FormSelect input 1`] = `
|
|
|
404
404
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
405
405
|
/>
|
|
406
406
|
</svg>
|
|
407
|
-
</
|
|
408
|
-
</
|
|
409
|
-
</
|
|
407
|
+
</span>
|
|
408
|
+
</span>
|
|
409
|
+
</span>
|
|
410
410
|
</DocumentFragment>
|
|
411
411
|
`;
|
|
412
412
|
|
|
413
413
|
exports[`FormSelect validated success FormSelect input 1`] = `
|
|
414
414
|
<DocumentFragment>
|
|
415
|
-
<
|
|
415
|
+
<span
|
|
416
416
|
class="pf-v5-c-form-control pf-m-success"
|
|
417
417
|
>
|
|
418
418
|
<select
|
|
@@ -429,10 +429,10 @@ exports[`FormSelect validated success FormSelect input 1`] = `
|
|
|
429
429
|
Mr
|
|
430
430
|
</option>
|
|
431
431
|
</select>
|
|
432
|
-
<
|
|
432
|
+
<span
|
|
433
433
|
class="pf-v5-c-form-control__utilities"
|
|
434
434
|
>
|
|
435
|
-
<
|
|
435
|
+
<span
|
|
436
436
|
class="pf-v5-c-form-control__icon pf-m-status"
|
|
437
437
|
>
|
|
438
438
|
<svg
|
|
@@ -448,8 +448,8 @@ exports[`FormSelect validated success FormSelect input 1`] = `
|
|
|
448
448
|
d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"
|
|
449
449
|
/>
|
|
450
450
|
</svg>
|
|
451
|
-
</
|
|
452
|
-
<
|
|
451
|
+
</span>
|
|
452
|
+
<span
|
|
453
453
|
class="pf-v5-c-form-control__toggle-icon"
|
|
454
454
|
>
|
|
455
455
|
<svg
|
|
@@ -465,15 +465,15 @@ exports[`FormSelect validated success FormSelect input 1`] = `
|
|
|
465
465
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
466
466
|
/>
|
|
467
467
|
</svg>
|
|
468
|
-
</
|
|
469
|
-
</
|
|
470
|
-
</
|
|
468
|
+
</span>
|
|
469
|
+
</span>
|
|
470
|
+
</span>
|
|
471
471
|
</DocumentFragment>
|
|
472
472
|
`;
|
|
473
473
|
|
|
474
474
|
exports[`FormSelect validated warning FormSelect input 1`] = `
|
|
475
475
|
<DocumentFragment>
|
|
476
|
-
<
|
|
476
|
+
<span
|
|
477
477
|
class="pf-v5-c-form-control pf-m-warning"
|
|
478
478
|
>
|
|
479
479
|
<select
|
|
@@ -490,10 +490,10 @@ exports[`FormSelect validated warning FormSelect input 1`] = `
|
|
|
490
490
|
Mr
|
|
491
491
|
</option>
|
|
492
492
|
</select>
|
|
493
|
-
<
|
|
493
|
+
<span
|
|
494
494
|
class="pf-v5-c-form-control__utilities"
|
|
495
495
|
>
|
|
496
|
-
<
|
|
496
|
+
<span
|
|
497
497
|
class="pf-v5-c-form-control__icon pf-m-status"
|
|
498
498
|
>
|
|
499
499
|
<svg
|
|
@@ -509,8 +509,8 @@ exports[`FormSelect validated warning FormSelect input 1`] = `
|
|
|
509
509
|
d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
|
510
510
|
/>
|
|
511
511
|
</svg>
|
|
512
|
-
</
|
|
513
|
-
<
|
|
512
|
+
</span>
|
|
513
|
+
<span
|
|
514
514
|
class="pf-v5-c-form-control__toggle-icon"
|
|
515
515
|
>
|
|
516
516
|
<svg
|
|
@@ -526,8 +526,8 @@ exports[`FormSelect validated warning FormSelect input 1`] = `
|
|
|
526
526
|
d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"
|
|
527
527
|
/>
|
|
528
528
|
</svg>
|
|
529
|
-
</
|
|
530
|
-
</
|
|
531
|
-
</
|
|
529
|
+
</span>
|
|
530
|
+
</span>
|
|
531
|
+
</span>
|
|
532
532
|
</DocumentFragment>
|
|
533
533
|
`;
|
|
@@ -33,7 +33,7 @@ exports[`LoginForm LoginForm with rememberMeLabel 1`] = `
|
|
|
33
33
|
<div
|
|
34
34
|
class="pf-v5-c-form__group-control"
|
|
35
35
|
>
|
|
36
|
-
<
|
|
36
|
+
<span
|
|
37
37
|
class="pf-v5-c-form-control"
|
|
38
38
|
>
|
|
39
39
|
<input
|
|
@@ -47,7 +47,7 @@ exports[`LoginForm LoginForm with rememberMeLabel 1`] = `
|
|
|
47
47
|
type="text"
|
|
48
48
|
value=""
|
|
49
49
|
/>
|
|
50
|
-
</
|
|
50
|
+
</span>
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
53
|
<div
|
|
@@ -77,7 +77,7 @@ exports[`LoginForm LoginForm with rememberMeLabel 1`] = `
|
|
|
77
77
|
<div
|
|
78
78
|
class="pf-v5-c-form__group-control"
|
|
79
79
|
>
|
|
80
|
-
<
|
|
80
|
+
<span
|
|
81
81
|
class="pf-v5-c-form-control"
|
|
82
82
|
>
|
|
83
83
|
<input
|
|
@@ -91,7 +91,7 @@ exports[`LoginForm LoginForm with rememberMeLabel 1`] = `
|
|
|
91
91
|
type="password"
|
|
92
92
|
value=""
|
|
93
93
|
/>
|
|
94
|
-
</
|
|
94
|
+
</span>
|
|
95
95
|
</div>
|
|
96
96
|
</div>
|
|
97
97
|
<div
|
|
@@ -180,7 +180,7 @@ exports[`LoginForm LoginForm with show password 1`] = `
|
|
|
180
180
|
<div
|
|
181
181
|
class="pf-v5-c-form__group-control"
|
|
182
182
|
>
|
|
183
|
-
<
|
|
183
|
+
<span
|
|
184
184
|
class="pf-v5-c-form-control"
|
|
185
185
|
>
|
|
186
186
|
<input
|
|
@@ -194,7 +194,7 @@ exports[`LoginForm LoginForm with show password 1`] = `
|
|
|
194
194
|
type="text"
|
|
195
195
|
value=""
|
|
196
196
|
/>
|
|
197
|
-
</
|
|
197
|
+
</span>
|
|
198
198
|
</div>
|
|
199
199
|
</div>
|
|
200
200
|
<div
|
|
@@ -230,7 +230,7 @@ exports[`LoginForm LoginForm with show password 1`] = `
|
|
|
230
230
|
<div
|
|
231
231
|
class="pf-v5-c-input-group__item pf-m-fill"
|
|
232
232
|
>
|
|
233
|
-
<
|
|
233
|
+
<span
|
|
234
234
|
class="pf-v5-c-form-control"
|
|
235
235
|
>
|
|
236
236
|
<input
|
|
@@ -244,7 +244,7 @@ exports[`LoginForm LoginForm with show password 1`] = `
|
|
|
244
244
|
type="password"
|
|
245
245
|
value=""
|
|
246
246
|
/>
|
|
247
|
-
</
|
|
247
|
+
</span>
|
|
248
248
|
</div>
|
|
249
249
|
<div
|
|
250
250
|
class="pf-v5-c-input-group__item"
|
|
@@ -335,7 +335,7 @@ exports[`LoginForm should render Login form 1`] = `
|
|
|
335
335
|
<div
|
|
336
336
|
class="pf-v5-c-form__group-control"
|
|
337
337
|
>
|
|
338
|
-
<
|
|
338
|
+
<span
|
|
339
339
|
class="pf-v5-c-form-control"
|
|
340
340
|
>
|
|
341
341
|
<input
|
|
@@ -349,7 +349,7 @@ exports[`LoginForm should render Login form 1`] = `
|
|
|
349
349
|
type="text"
|
|
350
350
|
value=""
|
|
351
351
|
/>
|
|
352
|
-
</
|
|
352
|
+
</span>
|
|
353
353
|
</div>
|
|
354
354
|
</div>
|
|
355
355
|
<div
|
|
@@ -379,7 +379,7 @@ exports[`LoginForm should render Login form 1`] = `
|
|
|
379
379
|
<div
|
|
380
380
|
class="pf-v5-c-form__group-control"
|
|
381
381
|
>
|
|
382
|
-
<
|
|
382
|
+
<span
|
|
383
383
|
class="pf-v5-c-form-control"
|
|
384
384
|
>
|
|
385
385
|
<input
|
|
@@ -393,7 +393,7 @@ exports[`LoginForm should render Login form 1`] = `
|
|
|
393
393
|
type="password"
|
|
394
394
|
value=""
|
|
395
395
|
/>
|
|
396
|
-
</
|
|
396
|
+
</span>
|
|
397
397
|
</div>
|
|
398
398
|
</div>
|
|
399
399
|
<div
|