@patternfly/react-core 4.244.1 → 4.245.0
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 +24 -0
- package/dist/esm/components/Alert/Alert.d.ts +4 -0
- package/dist/esm/components/Alert/Alert.d.ts.map +1 -1
- package/dist/esm/components/Alert/Alert.js.map +1 -1
- package/dist/esm/components/Alert/AlertActionCloseButton.js +2 -4
- package/dist/esm/components/Alert/AlertActionCloseButton.js.map +1 -1
- package/dist/esm/components/Alert/AlertToggleExpandButton.js +1 -1
- package/dist/esm/components/Alert/AlertToggleExpandButton.js.map +1 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/dist/esm/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/esm/components/Button/Button.d.ts +4 -0
- package/dist/esm/components/Button/Button.d.ts.map +1 -1
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Card/Card.d.ts +4 -0
- package/dist/esm/components/Card/Card.d.ts.map +1 -1
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/esm/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/Chip/Chip.d.ts +2 -0
- package/dist/esm/components/Chip/Chip.d.ts.map +1 -1
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/ChipGroup/ChipGroup.d.ts +2 -0
- package/dist/esm/components/ChipGroup/ChipGroup.d.ts.map +1 -1
- package/dist/esm/components/ChipGroup/ChipGroup.js.map +1 -1
- package/dist/esm/components/ContextSelector/ContextSelector.d.ts +4 -0
- package/dist/esm/components/ContextSelector/ContextSelector.d.ts.map +1 -1
- package/dist/esm/components/ContextSelector/ContextSelector.js.map +1 -1
- package/dist/esm/components/Dropdown/Dropdown.d.ts +4 -0
- package/dist/esm/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/esm/components/Dropdown/DropdownItem.d.ts +4 -0
- package/dist/esm/components/Dropdown/DropdownItem.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/DropdownItem.js.map +1 -1
- package/dist/esm/components/Dropdown/DropdownSeparator.d.ts +4 -0
- package/dist/esm/components/Dropdown/DropdownSeparator.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/DropdownSeparator.js.map +1 -1
- package/dist/esm/components/Dropdown/DropdownToggle.d.ts +4 -0
- package/dist/esm/components/Dropdown/DropdownToggle.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/DropdownToggle.js.map +1 -1
- package/dist/esm/components/Dropdown/DropdownToggleCheckbox.d.ts +4 -0
- package/dist/esm/components/Dropdown/DropdownToggleCheckbox.d.ts.map +1 -1
- package/dist/esm/components/Dropdown/DropdownToggleCheckbox.js.map +1 -1
- package/dist/esm/components/Form/Form.d.ts +4 -2
- package/dist/esm/components/Form/Form.d.ts.map +1 -1
- package/dist/esm/components/Form/Form.js +4 -3
- package/dist/esm/components/Form/Form.js.map +1 -1
- package/dist/esm/components/FormSelect/FormSelect.d.ts +4 -0
- package/dist/esm/components/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/esm/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/esm/components/LoginPage/LoginForm.d.ts +1 -1
- package/dist/esm/components/LoginPage/LoginForm.d.ts.map +1 -1
- package/dist/esm/components/Menu/Menu.d.ts +4 -0
- package/dist/esm/components/Menu/Menu.d.ts.map +1 -1
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggleCheckbox.d.ts +4 -0
- package/dist/esm/components/MenuToggle/MenuToggleCheckbox.d.ts.map +1 -1
- package/dist/esm/components/MenuToggle/MenuToggleCheckbox.js.map +1 -1
- package/dist/esm/components/Modal/Modal.d.ts +4 -0
- package/dist/esm/components/Modal/Modal.d.ts.map +1 -1
- package/dist/esm/components/Modal/Modal.js.map +1 -1
- package/dist/esm/components/Modal/ModalBoxCloseButton.d.ts +2 -0
- package/dist/esm/components/Modal/ModalBoxCloseButton.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/esm/components/Modal/ModalContent.d.ts +4 -0
- package/dist/esm/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalContent.js.map +1 -1
- package/dist/esm/components/Nav/Nav.d.ts +4 -0
- package/dist/esm/components/Nav/Nav.d.ts.map +1 -1
- package/dist/esm/components/Nav/Nav.js.map +1 -1
- package/dist/esm/components/Nav/NavExpandable.d.ts +2 -0
- package/dist/esm/components/Nav/NavExpandable.d.ts.map +1 -1
- package/dist/esm/components/Nav/NavExpandable.js.map +1 -1
- package/dist/esm/components/Nav/NavItem.d.ts +4 -0
- package/dist/esm/components/Nav/NavItem.d.ts.map +1 -1
- package/dist/esm/components/Nav/NavItem.js.map +1 -1
- package/dist/esm/components/OptionsMenu/OptionsMenu.d.ts +4 -0
- package/dist/esm/components/OptionsMenu/OptionsMenu.d.ts.map +1 -1
- package/dist/esm/components/OptionsMenu/OptionsMenu.js.map +1 -1
- package/dist/esm/components/OverflowMenu/OverflowMenu.d.ts +7 -1
- package/dist/esm/components/OverflowMenu/OverflowMenu.d.ts.map +1 -1
- package/dist/esm/components/OverflowMenu/OverflowMenu.js +36 -23
- package/dist/esm/components/OverflowMenu/OverflowMenu.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.d.ts +4 -0
- package/dist/esm/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/Radio/Radio.d.ts +4 -0
- package/dist/esm/components/Radio/Radio.d.ts.map +1 -1
- package/dist/esm/components/Radio/Radio.js.map +1 -1
- package/dist/esm/components/Select/Select.d.ts +4 -0
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Switch/Switch.d.ts +4 -0
- package/dist/esm/components/Switch/Switch.d.ts.map +1 -1
- package/dist/esm/components/Switch/Switch.js.map +1 -1
- package/dist/esm/components/Tabs/Tab.d.ts +2 -0
- package/dist/esm/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/esm/components/Tabs/Tab.js.map +1 -1
- package/dist/esm/components/Tabs/TabContent.d.ts +4 -0
- package/dist/esm/components/Tabs/TabContent.d.ts.map +1 -1
- package/dist/esm/components/Tabs/TabContent.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.d.ts +4 -0
- package/dist/esm/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/Text/Text.d.ts +4 -0
- package/dist/esm/components/Text/Text.d.ts.map +1 -1
- package/dist/esm/components/Text/Text.js.map +1 -1
- package/dist/esm/components/TextInput/TextInput.d.ts +4 -0
- package/dist/esm/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/esm/components/TextInput/TextInput.js.map +1 -1
- package/dist/esm/components/Title/Title.d.ts +4 -0
- package/dist/esm/components/Title/Title.d.ts.map +1 -1
- package/dist/esm/components/Title/Title.js.map +1 -1
- package/dist/esm/components/Toolbar/Toolbar.d.ts +4 -0
- package/dist/esm/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/esm/components/Toolbar/Toolbar.js.map +1 -1
- package/dist/js/components/Alert/Alert.d.ts +4 -0
- package/dist/js/components/Alert/Alert.d.ts.map +1 -1
- package/dist/js/components/Alert/Alert.js.map +1 -1
- package/dist/js/components/Alert/AlertActionCloseButton.js +2 -4
- package/dist/js/components/Alert/AlertActionCloseButton.js.map +1 -1
- package/dist/js/components/Alert/AlertToggleExpandButton.js +1 -1
- package/dist/js/components/Alert/AlertToggleExpandButton.js.map +1 -1
- package/dist/js/components/Breadcrumb/Breadcrumb.d.ts +4 -0
- package/dist/js/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/js/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/js/components/Button/Button.d.ts +4 -0
- package/dist/js/components/Button/Button.d.ts.map +1 -1
- package/dist/js/components/Button/Button.js.map +1 -1
- package/dist/js/components/Card/Card.d.ts +4 -0
- package/dist/js/components/Card/Card.d.ts.map +1 -1
- package/dist/js/components/Card/Card.js.map +1 -1
- package/dist/js/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/js/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/js/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/js/components/Chip/Chip.d.ts +2 -0
- package/dist/js/components/Chip/Chip.d.ts.map +1 -1
- package/dist/js/components/Chip/Chip.js.map +1 -1
- package/dist/js/components/ChipGroup/ChipGroup.d.ts +2 -0
- package/dist/js/components/ChipGroup/ChipGroup.d.ts.map +1 -1
- package/dist/js/components/ChipGroup/ChipGroup.js.map +1 -1
- package/dist/js/components/ContextSelector/ContextSelector.d.ts +4 -0
- package/dist/js/components/ContextSelector/ContextSelector.d.ts.map +1 -1
- package/dist/js/components/ContextSelector/ContextSelector.js.map +1 -1
- package/dist/js/components/Dropdown/Dropdown.d.ts +4 -0
- package/dist/js/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/js/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/js/components/Dropdown/DropdownItem.d.ts +4 -0
- package/dist/js/components/Dropdown/DropdownItem.d.ts.map +1 -1
- package/dist/js/components/Dropdown/DropdownItem.js.map +1 -1
- package/dist/js/components/Dropdown/DropdownSeparator.d.ts +4 -0
- package/dist/js/components/Dropdown/DropdownSeparator.d.ts.map +1 -1
- package/dist/js/components/Dropdown/DropdownSeparator.js.map +1 -1
- package/dist/js/components/Dropdown/DropdownToggle.d.ts +4 -0
- package/dist/js/components/Dropdown/DropdownToggle.d.ts.map +1 -1
- package/dist/js/components/Dropdown/DropdownToggle.js.map +1 -1
- package/dist/js/components/Dropdown/DropdownToggleCheckbox.d.ts +4 -0
- package/dist/js/components/Dropdown/DropdownToggleCheckbox.d.ts.map +1 -1
- package/dist/js/components/Dropdown/DropdownToggleCheckbox.js.map +1 -1
- package/dist/js/components/Form/Form.d.ts +4 -2
- package/dist/js/components/Form/Form.d.ts.map +1 -1
- package/dist/js/components/Form/Form.js +4 -4
- package/dist/js/components/Form/Form.js.map +1 -1
- package/dist/js/components/FormSelect/FormSelect.d.ts +4 -0
- package/dist/js/components/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/js/components/FormSelect/FormSelect.js.map +1 -1
- package/dist/js/components/LoginPage/LoginForm.d.ts +1 -1
- package/dist/js/components/LoginPage/LoginForm.d.ts.map +1 -1
- package/dist/js/components/Menu/Menu.d.ts +4 -0
- package/dist/js/components/Menu/Menu.d.ts.map +1 -1
- package/dist/js/components/Menu/Menu.js.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggleCheckbox.d.ts +4 -0
- package/dist/js/components/MenuToggle/MenuToggleCheckbox.d.ts.map +1 -1
- package/dist/js/components/MenuToggle/MenuToggleCheckbox.js.map +1 -1
- package/dist/js/components/Modal/Modal.d.ts +4 -0
- package/dist/js/components/Modal/Modal.d.ts.map +1 -1
- package/dist/js/components/Modal/Modal.js.map +1 -1
- package/dist/js/components/Modal/ModalBoxCloseButton.d.ts +2 -0
- package/dist/js/components/Modal/ModalBoxCloseButton.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/js/components/Modal/ModalContent.d.ts +4 -0
- package/dist/js/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalContent.js.map +1 -1
- package/dist/js/components/Nav/Nav.d.ts +4 -0
- package/dist/js/components/Nav/Nav.d.ts.map +1 -1
- package/dist/js/components/Nav/Nav.js.map +1 -1
- package/dist/js/components/Nav/NavExpandable.d.ts +2 -0
- package/dist/js/components/Nav/NavExpandable.d.ts.map +1 -1
- package/dist/js/components/Nav/NavExpandable.js.map +1 -1
- package/dist/js/components/Nav/NavItem.d.ts +4 -0
- package/dist/js/components/Nav/NavItem.d.ts.map +1 -1
- package/dist/js/components/Nav/NavItem.js.map +1 -1
- package/dist/js/components/OptionsMenu/OptionsMenu.d.ts +4 -0
- package/dist/js/components/OptionsMenu/OptionsMenu.d.ts.map +1 -1
- package/dist/js/components/OptionsMenu/OptionsMenu.js.map +1 -1
- package/dist/js/components/OverflowMenu/OverflowMenu.d.ts +7 -1
- package/dist/js/components/OverflowMenu/OverflowMenu.d.ts.map +1 -1
- package/dist/js/components/OverflowMenu/OverflowMenu.js +35 -22
- package/dist/js/components/OverflowMenu/OverflowMenu.js.map +1 -1
- package/dist/js/components/Pagination/Pagination.d.ts +4 -0
- package/dist/js/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/js/components/Pagination/Pagination.js.map +1 -1
- package/dist/js/components/Radio/Radio.d.ts +4 -0
- package/dist/js/components/Radio/Radio.d.ts.map +1 -1
- package/dist/js/components/Radio/Radio.js.map +1 -1
- package/dist/js/components/Select/Select.d.ts +4 -0
- package/dist/js/components/Select/Select.d.ts.map +1 -1
- package/dist/js/components/Select/Select.js.map +1 -1
- package/dist/js/components/Switch/Switch.d.ts +4 -0
- package/dist/js/components/Switch/Switch.d.ts.map +1 -1
- package/dist/js/components/Switch/Switch.js.map +1 -1
- package/dist/js/components/Tabs/Tab.d.ts +2 -0
- package/dist/js/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/js/components/Tabs/Tab.js.map +1 -1
- package/dist/js/components/Tabs/TabContent.d.ts +4 -0
- package/dist/js/components/Tabs/TabContent.d.ts.map +1 -1
- package/dist/js/components/Tabs/TabContent.js.map +1 -1
- package/dist/js/components/Tabs/Tabs.d.ts +4 -0
- package/dist/js/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/js/components/Tabs/Tabs.js.map +1 -1
- package/dist/js/components/Text/Text.d.ts +4 -0
- package/dist/js/components/Text/Text.d.ts.map +1 -1
- package/dist/js/components/Text/Text.js.map +1 -1
- package/dist/js/components/TextInput/TextInput.d.ts +4 -0
- package/dist/js/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/js/components/TextInput/TextInput.js.map +1 -1
- package/dist/js/components/Title/Title.d.ts +4 -0
- package/dist/js/components/Title/Title.d.ts.map +1 -1
- package/dist/js/components/Title/Title.js.map +1 -1
- package/dist/js/components/Toolbar/Toolbar.d.ts +4 -0
- package/dist/js/components/Toolbar/Toolbar.d.ts.map +1 -1
- package/dist/js/components/Toolbar/Toolbar.js.map +1 -1
- package/dist/umd/react-core.min.js +2 -2
- package/package.json +2 -2
- package/src/components/Alert/Alert.tsx +4 -0
- package/src/components/Alert/AlertActionCloseButton.tsx +2 -2
- package/src/components/Alert/AlertToggleExpandButton.tsx +2 -2
- package/src/components/Alert/__tests__/Alert.test.tsx +713 -199
- package/src/components/Alert/__tests__/AlertActionCloseButton.test.tsx +125 -0
- package/src/components/Alert/__tests__/AlertActionLink.test.tsx +59 -0
- package/src/components/Alert/__tests__/AlertIcon.test.tsx +83 -0
- package/src/components/Alert/__tests__/AlertToggleExpandButton.test.tsx +150 -0
- package/src/components/Alert/__tests__/__snapshots__/Alert.test.tsx.snap +12 -2569
- package/src/components/Alert/__tests__/__snapshots__/AlertActionCloseButton.test.tsx.snap +31 -0
- package/src/components/Alert/__tests__/__snapshots__/AlertActionLink.test.tsx.snap +17 -0
- package/src/components/Alert/__tests__/__snapshots__/AlertIcon.test.tsx.snap +11 -0
- package/src/components/Alert/__tests__/__snapshots__/AlertToggleExpandButton.test.tsx.snap +24 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +4 -0
- package/src/components/Button/Button.tsx +4 -0
- package/src/components/Card/Card.tsx +4 -0
- package/src/components/Checkbox/Checkbox.tsx +4 -0
- package/src/components/Chip/Chip.tsx +2 -0
- package/src/components/ChipGroup/ChipGroup.tsx +2 -0
- package/src/components/ContextSelector/ContextSelector.tsx +4 -0
- package/src/components/Dropdown/Dropdown.tsx +4 -0
- package/src/components/Dropdown/DropdownItem.tsx +4 -0
- package/src/components/Dropdown/DropdownSeparator.tsx +4 -0
- package/src/components/Dropdown/DropdownToggle.tsx +4 -0
- package/src/components/Dropdown/DropdownToggleCheckbox.tsx +4 -0
- package/src/components/Dropdown/examples/Dropdown.md +1 -1
- package/src/components/Form/Form.tsx +9 -2
- package/src/components/FormSelect/FormSelect.tsx +4 -0
- package/src/components/LoginPage/LoginForm.tsx +1 -1
- package/src/components/Menu/Menu.tsx +4 -0
- package/src/components/MenuToggle/MenuToggleCheckbox.tsx +4 -0
- package/src/components/Modal/Modal.tsx +4 -0
- package/src/components/Modal/ModalBoxCloseButton.tsx +2 -0
- package/src/components/Modal/ModalContent.tsx +4 -0
- package/src/components/Nav/Nav.tsx +4 -0
- package/src/components/Nav/NavExpandable.tsx +2 -0
- package/src/components/Nav/NavItem.tsx +4 -0
- package/src/components/OptionsMenu/OptionsMenu.tsx +4 -0
- package/src/components/OverflowMenu/OverflowMenu.tsx +46 -25
- package/src/components/OverflowMenu/__tests__/OverflowMenu.test.tsx +38 -0
- package/src/components/OverflowMenu/examples/OverflowMenu.md +127 -35
- package/src/components/OverflowMenu/examples/OverflowMenuBreakpointOnContainer.tsx +100 -0
- package/src/components/Pagination/Pagination.tsx +4 -0
- package/src/components/Radio/Radio.tsx +4 -0
- package/src/components/Select/Select.tsx +4 -0
- package/src/components/Switch/Switch.tsx +4 -0
- package/src/components/Tabs/Tab.tsx +2 -0
- package/src/components/Tabs/TabContent.tsx +4 -0
- package/src/components/Tabs/Tabs.tsx +4 -0
- package/src/components/Text/Text.tsx +4 -0
- package/src/components/TextInput/TextInput.tsx +4 -0
- package/src/components/Title/Title.tsx +4 -0
- package/src/components/Toolbar/Toolbar.tsx +4 -0
- package/src/demos/examples/DashboardHeader.js +35 -6
- package/src/helpers/OUIA/OUIA.md +1 -1
|
@@ -1,2463 +1,23 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<div
|
|
6
|
-
aria-label="Danger Alert"
|
|
7
|
-
class="pf-c-alert pf-m-danger"
|
|
8
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-4"
|
|
9
|
-
data-ouia-component-type="PF4/Alert"
|
|
10
|
-
data-ouia-safe="true"
|
|
11
|
-
>
|
|
12
|
-
<div
|
|
13
|
-
class="pf-c-alert__icon"
|
|
14
|
-
>
|
|
15
|
-
<svg
|
|
16
|
-
aria-hidden="true"
|
|
17
|
-
fill="currentColor"
|
|
18
|
-
height="1em"
|
|
19
|
-
role="img"
|
|
20
|
-
style="vertical-align: -0.125em;"
|
|
21
|
-
viewBox="0 0 512 512"
|
|
22
|
-
width="1em"
|
|
23
|
-
>
|
|
24
|
-
<path
|
|
25
|
-
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"
|
|
26
|
-
/>
|
|
27
|
-
</svg>
|
|
28
|
-
</div>
|
|
29
|
-
<h4
|
|
30
|
-
class="pf-c-alert__title"
|
|
31
|
-
>
|
|
32
|
-
<span
|
|
33
|
-
class="pf-u-screen-reader"
|
|
34
|
-
>
|
|
35
|
-
Danger alert:
|
|
36
|
-
</span>
|
|
37
|
-
</h4>
|
|
38
|
-
<div
|
|
39
|
-
class="pf-c-alert__description"
|
|
40
|
-
>
|
|
41
|
-
Some alert
|
|
42
|
-
</div>
|
|
43
|
-
<div
|
|
44
|
-
class="pf-c-alert__action-group"
|
|
45
|
-
>
|
|
46
|
-
<button
|
|
47
|
-
aria-disabled="false"
|
|
48
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
49
|
-
data-ouia-component-id="OUIA-Generated-Button-link-4"
|
|
50
|
-
data-ouia-component-type="PF4/Button"
|
|
51
|
-
data-ouia-safe="true"
|
|
52
|
-
type="button"
|
|
53
|
-
>
|
|
54
|
-
test
|
|
55
|
-
</button>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
</DocumentFragment>
|
|
59
|
-
`;
|
|
60
|
-
|
|
61
|
-
exports[`Alert Alert - danger Action and Title 1`] = `
|
|
62
|
-
<DocumentFragment>
|
|
63
|
-
<div
|
|
64
|
-
aria-label="Danger Alert"
|
|
65
|
-
class="pf-c-alert pf-m-danger"
|
|
66
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-6"
|
|
67
|
-
data-ouia-component-type="PF4/Alert"
|
|
68
|
-
data-ouia-safe="true"
|
|
69
|
-
>
|
|
70
|
-
<div
|
|
71
|
-
class="pf-c-alert__icon"
|
|
72
|
-
>
|
|
73
|
-
<svg
|
|
74
|
-
aria-hidden="true"
|
|
75
|
-
fill="currentColor"
|
|
76
|
-
height="1em"
|
|
77
|
-
role="img"
|
|
78
|
-
style="vertical-align: -0.125em;"
|
|
79
|
-
viewBox="0 0 512 512"
|
|
80
|
-
width="1em"
|
|
81
|
-
>
|
|
82
|
-
<path
|
|
83
|
-
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"
|
|
84
|
-
/>
|
|
85
|
-
</svg>
|
|
86
|
-
</div>
|
|
87
|
-
<h4
|
|
88
|
-
class="pf-c-alert__title"
|
|
89
|
-
>
|
|
90
|
-
<span
|
|
91
|
-
class="pf-u-screen-reader"
|
|
92
|
-
>
|
|
93
|
-
Danger alert:
|
|
94
|
-
</span>
|
|
95
|
-
Some title
|
|
96
|
-
</h4>
|
|
97
|
-
<div
|
|
98
|
-
class="pf-c-alert__description"
|
|
99
|
-
>
|
|
100
|
-
Some alert
|
|
101
|
-
</div>
|
|
102
|
-
<div
|
|
103
|
-
class="pf-c-alert__action-group"
|
|
104
|
-
>
|
|
105
|
-
<button
|
|
106
|
-
aria-disabled="false"
|
|
107
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
108
|
-
data-ouia-component-id="OUIA-Generated-Button-link-5"
|
|
109
|
-
data-ouia-component-type="PF4/Button"
|
|
110
|
-
data-ouia-safe="true"
|
|
111
|
-
type="button"
|
|
112
|
-
>
|
|
113
|
-
test
|
|
114
|
-
</button>
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
</DocumentFragment>
|
|
118
|
-
`;
|
|
119
|
-
|
|
120
|
-
exports[`Alert Alert - danger Custom aria label 1`] = `
|
|
121
|
-
<DocumentFragment>
|
|
122
|
-
<div
|
|
123
|
-
aria-label="Custom aria label for danger"
|
|
124
|
-
class="pf-c-alert pf-m-danger"
|
|
125
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-7"
|
|
126
|
-
data-ouia-component-type="PF4/Alert"
|
|
127
|
-
data-ouia-safe="true"
|
|
128
|
-
>
|
|
129
|
-
<div
|
|
130
|
-
class="pf-c-alert__icon"
|
|
131
|
-
>
|
|
132
|
-
<svg
|
|
133
|
-
aria-hidden="true"
|
|
134
|
-
fill="currentColor"
|
|
135
|
-
height="1em"
|
|
136
|
-
role="img"
|
|
137
|
-
style="vertical-align: -0.125em;"
|
|
138
|
-
viewBox="0 0 512 512"
|
|
139
|
-
width="1em"
|
|
140
|
-
>
|
|
141
|
-
<path
|
|
142
|
-
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"
|
|
143
|
-
/>
|
|
144
|
-
</svg>
|
|
145
|
-
</div>
|
|
146
|
-
<h4
|
|
147
|
-
class="pf-c-alert__title"
|
|
148
|
-
>
|
|
149
|
-
<span
|
|
150
|
-
class="pf-u-screen-reader"
|
|
151
|
-
>
|
|
152
|
-
Danger alert:
|
|
153
|
-
</span>
|
|
154
|
-
Some title
|
|
155
|
-
</h4>
|
|
156
|
-
<div
|
|
157
|
-
class="pf-c-alert__description"
|
|
158
|
-
>
|
|
159
|
-
Some alert
|
|
160
|
-
</div>
|
|
161
|
-
<div
|
|
162
|
-
class="pf-c-alert__action-group"
|
|
163
|
-
>
|
|
164
|
-
<button
|
|
165
|
-
aria-disabled="false"
|
|
166
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
167
|
-
data-ouia-component-id="OUIA-Generated-Button-link-6"
|
|
168
|
-
data-ouia-component-type="PF4/Button"
|
|
169
|
-
data-ouia-safe="true"
|
|
170
|
-
type="button"
|
|
171
|
-
>
|
|
172
|
-
test
|
|
173
|
-
</button>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
</DocumentFragment>
|
|
177
|
-
`;
|
|
178
|
-
|
|
179
|
-
exports[`Alert Alert - danger Custom icon 1`] = `
|
|
180
|
-
<DocumentFragment>
|
|
181
|
-
<div
|
|
182
|
-
aria-label="danger custom icon alert"
|
|
183
|
-
class="pf-c-alert pf-m-danger"
|
|
184
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-15"
|
|
185
|
-
data-ouia-component-type="PF4/Alert"
|
|
186
|
-
data-ouia-safe="true"
|
|
187
|
-
>
|
|
188
|
-
<div
|
|
189
|
-
class="pf-c-alert__icon"
|
|
190
|
-
>
|
|
191
|
-
<svg
|
|
192
|
-
aria-hidden="true"
|
|
193
|
-
fill="currentColor"
|
|
194
|
-
height="1em"
|
|
195
|
-
role="img"
|
|
196
|
-
style="vertical-align: -0.125em;"
|
|
197
|
-
viewBox="0 0 640 512"
|
|
198
|
-
width="1em"
|
|
199
|
-
>
|
|
200
|
-
<path
|
|
201
|
-
d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"
|
|
202
|
-
/>
|
|
203
|
-
</svg>
|
|
204
|
-
</div>
|
|
205
|
-
<h4
|
|
206
|
-
class="pf-c-alert__title"
|
|
207
|
-
>
|
|
208
|
-
<span
|
|
209
|
-
class="pf-u-screen-reader"
|
|
210
|
-
>
|
|
211
|
-
Danger alert:
|
|
212
|
-
</span>
|
|
213
|
-
custom icon alert title
|
|
214
|
-
</h4>
|
|
215
|
-
<div
|
|
216
|
-
class="pf-c-alert__description"
|
|
217
|
-
>
|
|
218
|
-
Some noisy alert
|
|
219
|
-
</div>
|
|
220
|
-
</div>
|
|
221
|
-
</DocumentFragment>
|
|
222
|
-
`;
|
|
223
|
-
|
|
224
|
-
exports[`Alert Alert - danger Description 1`] = `
|
|
225
|
-
<DocumentFragment>
|
|
226
|
-
<div
|
|
227
|
-
aria-label="Danger Alert"
|
|
228
|
-
class="pf-c-alert pf-m-danger"
|
|
229
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-1"
|
|
230
|
-
data-ouia-component-type="PF4/Alert"
|
|
231
|
-
data-ouia-safe="true"
|
|
232
|
-
>
|
|
233
|
-
<div
|
|
234
|
-
class="pf-c-alert__icon"
|
|
235
|
-
>
|
|
236
|
-
<svg
|
|
237
|
-
aria-hidden="true"
|
|
238
|
-
fill="currentColor"
|
|
239
|
-
height="1em"
|
|
240
|
-
role="img"
|
|
241
|
-
style="vertical-align: -0.125em;"
|
|
242
|
-
viewBox="0 0 512 512"
|
|
243
|
-
width="1em"
|
|
244
|
-
>
|
|
245
|
-
<path
|
|
246
|
-
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"
|
|
247
|
-
/>
|
|
248
|
-
</svg>
|
|
249
|
-
</div>
|
|
250
|
-
<h4
|
|
251
|
-
class="pf-c-alert__title"
|
|
252
|
-
>
|
|
253
|
-
<span
|
|
254
|
-
class="pf-u-screen-reader"
|
|
255
|
-
>
|
|
256
|
-
Danger alert:
|
|
257
|
-
</span>
|
|
258
|
-
</h4>
|
|
259
|
-
<div
|
|
260
|
-
class="pf-c-alert__description"
|
|
261
|
-
>
|
|
262
|
-
Some alert
|
|
263
|
-
</div>
|
|
264
|
-
</div>
|
|
265
|
-
</DocumentFragment>
|
|
266
|
-
`;
|
|
267
|
-
|
|
268
|
-
exports[`Alert Alert - danger Heading level 1`] = `
|
|
269
|
-
<DocumentFragment>
|
|
270
|
-
<div
|
|
271
|
-
aria-label="Danger Alert"
|
|
272
|
-
class="pf-c-alert pf-m-danger"
|
|
273
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-3"
|
|
274
|
-
data-ouia-component-type="PF4/Alert"
|
|
275
|
-
data-ouia-safe="true"
|
|
276
|
-
>
|
|
277
|
-
<div
|
|
278
|
-
class="pf-c-alert__icon"
|
|
279
|
-
>
|
|
280
|
-
<svg
|
|
281
|
-
aria-hidden="true"
|
|
282
|
-
fill="currentColor"
|
|
283
|
-
height="1em"
|
|
284
|
-
role="img"
|
|
285
|
-
style="vertical-align: -0.125em;"
|
|
286
|
-
viewBox="0 0 512 512"
|
|
287
|
-
width="1em"
|
|
288
|
-
>
|
|
289
|
-
<path
|
|
290
|
-
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"
|
|
291
|
-
/>
|
|
292
|
-
</svg>
|
|
293
|
-
</div>
|
|
294
|
-
<h1
|
|
295
|
-
class="pf-c-alert__title"
|
|
296
|
-
>
|
|
297
|
-
<span
|
|
298
|
-
class="pf-u-screen-reader"
|
|
299
|
-
>
|
|
300
|
-
Danger alert:
|
|
301
|
-
</span>
|
|
302
|
-
Some title
|
|
303
|
-
</h1>
|
|
304
|
-
<div
|
|
305
|
-
class="pf-c-alert__description"
|
|
306
|
-
>
|
|
307
|
-
Some alert
|
|
308
|
-
</div>
|
|
309
|
-
</div>
|
|
310
|
-
</DocumentFragment>
|
|
311
|
-
`;
|
|
312
|
-
|
|
313
|
-
exports[`Alert Alert - danger Title 1`] = `
|
|
314
|
-
<DocumentFragment>
|
|
315
|
-
<div
|
|
316
|
-
aria-label="Danger Alert"
|
|
317
|
-
class="pf-c-alert pf-m-danger"
|
|
318
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-2"
|
|
319
|
-
data-ouia-component-type="PF4/Alert"
|
|
320
|
-
data-ouia-safe="true"
|
|
321
|
-
>
|
|
322
|
-
<div
|
|
323
|
-
class="pf-c-alert__icon"
|
|
324
|
-
>
|
|
325
|
-
<svg
|
|
326
|
-
aria-hidden="true"
|
|
327
|
-
fill="currentColor"
|
|
328
|
-
height="1em"
|
|
329
|
-
role="img"
|
|
330
|
-
style="vertical-align: -0.125em;"
|
|
331
|
-
viewBox="0 0 512 512"
|
|
332
|
-
width="1em"
|
|
333
|
-
>
|
|
334
|
-
<path
|
|
335
|
-
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"
|
|
336
|
-
/>
|
|
337
|
-
</svg>
|
|
338
|
-
</div>
|
|
339
|
-
<h4
|
|
340
|
-
class="pf-c-alert__title"
|
|
341
|
-
>
|
|
342
|
-
<span
|
|
343
|
-
class="pf-u-screen-reader"
|
|
344
|
-
>
|
|
345
|
-
Danger alert:
|
|
346
|
-
</span>
|
|
347
|
-
Some title
|
|
348
|
-
</h4>
|
|
349
|
-
<div
|
|
350
|
-
class="pf-c-alert__description"
|
|
351
|
-
>
|
|
352
|
-
Some alert
|
|
353
|
-
</div>
|
|
354
|
-
</div>
|
|
355
|
-
</DocumentFragment>
|
|
356
|
-
`;
|
|
357
|
-
|
|
358
|
-
exports[`Alert Alert - danger Toast alerts match snapsnot 1`] = `
|
|
359
|
-
<DocumentFragment>
|
|
360
|
-
<div
|
|
361
|
-
aria-atomic="false"
|
|
362
|
-
aria-label="danger toast alert"
|
|
363
|
-
aria-live="polite"
|
|
364
|
-
class="pf-c-alert pf-m-danger"
|
|
365
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-11"
|
|
366
|
-
data-ouia-component-type="PF4/Alert"
|
|
367
|
-
data-ouia-safe="true"
|
|
368
|
-
>
|
|
369
|
-
<div
|
|
370
|
-
class="pf-c-alert__icon"
|
|
371
|
-
>
|
|
372
|
-
<svg
|
|
373
|
-
aria-hidden="true"
|
|
374
|
-
fill="currentColor"
|
|
375
|
-
height="1em"
|
|
376
|
-
role="img"
|
|
377
|
-
style="vertical-align: -0.125em;"
|
|
378
|
-
viewBox="0 0 512 512"
|
|
379
|
-
width="1em"
|
|
380
|
-
>
|
|
381
|
-
<path
|
|
382
|
-
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"
|
|
383
|
-
/>
|
|
384
|
-
</svg>
|
|
385
|
-
</div>
|
|
386
|
-
<h4
|
|
387
|
-
class="pf-c-alert__title"
|
|
388
|
-
>
|
|
389
|
-
<span
|
|
390
|
-
class="pf-u-screen-reader"
|
|
391
|
-
>
|
|
392
|
-
Danger alert:
|
|
393
|
-
</span>
|
|
394
|
-
Some title
|
|
395
|
-
</h4>
|
|
396
|
-
<div
|
|
397
|
-
class="pf-c-alert__description"
|
|
398
|
-
>
|
|
399
|
-
Some toast alert
|
|
400
|
-
</div>
|
|
401
|
-
</div>
|
|
402
|
-
</DocumentFragment>
|
|
403
|
-
`;
|
|
404
|
-
|
|
405
|
-
exports[`Alert Alert - danger expandable variation 1`] = `
|
|
406
|
-
<DocumentFragment>
|
|
407
|
-
<div
|
|
408
|
-
aria-label="Danger Alert"
|
|
409
|
-
class="pf-c-alert pf-m-expandable pf-m-danger"
|
|
410
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-9"
|
|
411
|
-
data-ouia-component-type="PF4/Alert"
|
|
412
|
-
data-ouia-safe="true"
|
|
413
|
-
>
|
|
414
|
-
<div
|
|
415
|
-
class="pf-c-alert__toggle"
|
|
416
|
-
>
|
|
417
|
-
<button
|
|
418
|
-
aria-disabled="false"
|
|
419
|
-
aria-expanded="false"
|
|
420
|
-
aria-label="Danger alert details"
|
|
421
|
-
class="pf-c-button pf-m-plain"
|
|
422
|
-
data-ouia-component-id="OUIA-Generated-Button-plain-5"
|
|
423
|
-
data-ouia-component-type="PF4/Button"
|
|
424
|
-
data-ouia-safe="true"
|
|
425
|
-
type="button"
|
|
426
|
-
>
|
|
427
|
-
<span
|
|
428
|
-
class="pf-c-alert__toggle-icon"
|
|
429
|
-
>
|
|
430
|
-
<svg
|
|
431
|
-
aria-hidden="true"
|
|
432
|
-
fill="currentColor"
|
|
433
|
-
height="1em"
|
|
434
|
-
role="img"
|
|
435
|
-
style="vertical-align: -0.125em;"
|
|
436
|
-
viewBox="0 0 256 512"
|
|
437
|
-
width="1em"
|
|
438
|
-
>
|
|
439
|
-
<path
|
|
440
|
-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
|
|
441
|
-
/>
|
|
442
|
-
</svg>
|
|
443
|
-
</span>
|
|
444
|
-
</button>
|
|
445
|
-
</div>
|
|
446
|
-
<div
|
|
447
|
-
class="pf-c-alert__icon"
|
|
448
|
-
>
|
|
449
|
-
<svg
|
|
450
|
-
aria-hidden="true"
|
|
451
|
-
fill="currentColor"
|
|
452
|
-
height="1em"
|
|
453
|
-
role="img"
|
|
454
|
-
style="vertical-align: -0.125em;"
|
|
455
|
-
viewBox="0 0 512 512"
|
|
456
|
-
width="1em"
|
|
457
|
-
>
|
|
458
|
-
<path
|
|
459
|
-
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"
|
|
460
|
-
/>
|
|
461
|
-
</svg>
|
|
462
|
-
</div>
|
|
463
|
-
<h4
|
|
464
|
-
class="pf-c-alert__title"
|
|
465
|
-
>
|
|
466
|
-
<span
|
|
467
|
-
class="pf-u-screen-reader"
|
|
468
|
-
>
|
|
469
|
-
Danger alert:
|
|
470
|
-
</span>
|
|
471
|
-
Some title
|
|
472
|
-
</h4>
|
|
473
|
-
</div>
|
|
474
|
-
</DocumentFragment>
|
|
475
|
-
`;
|
|
476
|
-
|
|
477
|
-
exports[`Alert Alert - danger inline variation 1`] = `
|
|
478
|
-
<DocumentFragment>
|
|
479
|
-
<div
|
|
480
|
-
aria-label="Danger Alert"
|
|
481
|
-
class="pf-c-alert pf-m-inline pf-m-danger"
|
|
482
|
-
data-ouia-component-id="OUIA-Generated-Alert-danger-8"
|
|
483
|
-
data-ouia-component-type="PF4/Alert"
|
|
484
|
-
data-ouia-safe="true"
|
|
485
|
-
>
|
|
486
|
-
<div
|
|
487
|
-
class="pf-c-alert__icon"
|
|
488
|
-
>
|
|
489
|
-
<svg
|
|
490
|
-
aria-hidden="true"
|
|
491
|
-
fill="currentColor"
|
|
492
|
-
height="1em"
|
|
493
|
-
role="img"
|
|
494
|
-
style="vertical-align: -0.125em;"
|
|
495
|
-
viewBox="0 0 512 512"
|
|
496
|
-
width="1em"
|
|
497
|
-
>
|
|
498
|
-
<path
|
|
499
|
-
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"
|
|
500
|
-
/>
|
|
501
|
-
</svg>
|
|
502
|
-
</div>
|
|
503
|
-
<h4
|
|
504
|
-
class="pf-c-alert__title"
|
|
505
|
-
>
|
|
506
|
-
<span
|
|
507
|
-
class="pf-u-screen-reader"
|
|
508
|
-
>
|
|
509
|
-
Danger alert:
|
|
510
|
-
</span>
|
|
511
|
-
Some title
|
|
512
|
-
</h4>
|
|
513
|
-
<div
|
|
514
|
-
class="pf-c-alert__description"
|
|
515
|
-
>
|
|
516
|
-
Some alert
|
|
517
|
-
</div>
|
|
518
|
-
</div>
|
|
519
|
-
</DocumentFragment>
|
|
520
|
-
`;
|
|
521
|
-
|
|
522
|
-
exports[`Alert Alert - default Action Link 1`] = `
|
|
523
|
-
<DocumentFragment>
|
|
524
|
-
<div
|
|
525
|
-
aria-label="Default Alert"
|
|
526
|
-
class="pf-c-alert"
|
|
527
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-5"
|
|
528
|
-
data-ouia-component-type="PF4/Alert"
|
|
529
|
-
data-ouia-safe="true"
|
|
530
|
-
>
|
|
531
|
-
<div
|
|
532
|
-
class="pf-c-alert__icon"
|
|
533
|
-
>
|
|
534
|
-
<svg
|
|
535
|
-
aria-hidden="true"
|
|
536
|
-
fill="currentColor"
|
|
537
|
-
height="1em"
|
|
538
|
-
role="img"
|
|
539
|
-
style="vertical-align: -0.125em;"
|
|
540
|
-
viewBox="0 0 896 1024"
|
|
541
|
-
width="1em"
|
|
542
|
-
>
|
|
543
|
-
<path
|
|
544
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
545
|
-
/>
|
|
546
|
-
</svg>
|
|
547
|
-
</div>
|
|
548
|
-
<h4
|
|
549
|
-
class="pf-c-alert__title"
|
|
550
|
-
>
|
|
551
|
-
<span
|
|
552
|
-
class="pf-u-screen-reader"
|
|
553
|
-
>
|
|
554
|
-
Default alert:
|
|
555
|
-
</span>
|
|
556
|
-
</h4>
|
|
557
|
-
<div
|
|
558
|
-
class="pf-c-alert__description"
|
|
559
|
-
>
|
|
560
|
-
Some alert
|
|
561
|
-
</div>
|
|
562
|
-
<div
|
|
563
|
-
class="pf-c-alert__action-group"
|
|
564
|
-
>
|
|
565
|
-
<button
|
|
566
|
-
aria-disabled="false"
|
|
567
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
568
|
-
data-ouia-component-id="OUIA-Generated-Button-link-13"
|
|
569
|
-
data-ouia-component-type="PF4/Button"
|
|
570
|
-
data-ouia-safe="true"
|
|
571
|
-
type="button"
|
|
572
|
-
>
|
|
573
|
-
test
|
|
574
|
-
</button>
|
|
575
|
-
</div>
|
|
576
|
-
</div>
|
|
577
|
-
</DocumentFragment>
|
|
578
|
-
`;
|
|
579
|
-
|
|
580
|
-
exports[`Alert Alert - default Action and Title 1`] = `
|
|
581
|
-
<DocumentFragment>
|
|
582
|
-
<div
|
|
583
|
-
aria-label="Default Alert"
|
|
584
|
-
class="pf-c-alert"
|
|
585
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-7"
|
|
586
|
-
data-ouia-component-type="PF4/Alert"
|
|
587
|
-
data-ouia-safe="true"
|
|
588
|
-
>
|
|
589
|
-
<div
|
|
590
|
-
class="pf-c-alert__icon"
|
|
591
|
-
>
|
|
592
|
-
<svg
|
|
593
|
-
aria-hidden="true"
|
|
594
|
-
fill="currentColor"
|
|
595
|
-
height="1em"
|
|
596
|
-
role="img"
|
|
597
|
-
style="vertical-align: -0.125em;"
|
|
598
|
-
viewBox="0 0 896 1024"
|
|
599
|
-
width="1em"
|
|
600
|
-
>
|
|
601
|
-
<path
|
|
602
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
603
|
-
/>
|
|
604
|
-
</svg>
|
|
605
|
-
</div>
|
|
606
|
-
<h4
|
|
607
|
-
class="pf-c-alert__title"
|
|
608
|
-
>
|
|
609
|
-
<span
|
|
610
|
-
class="pf-u-screen-reader"
|
|
611
|
-
>
|
|
612
|
-
Default alert:
|
|
613
|
-
</span>
|
|
614
|
-
Some title
|
|
615
|
-
</h4>
|
|
616
|
-
<div
|
|
617
|
-
class="pf-c-alert__description"
|
|
618
|
-
>
|
|
619
|
-
Some alert
|
|
620
|
-
</div>
|
|
621
|
-
<div
|
|
622
|
-
class="pf-c-alert__action-group"
|
|
623
|
-
>
|
|
624
|
-
<button
|
|
625
|
-
aria-disabled="false"
|
|
626
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
627
|
-
data-ouia-component-id="OUIA-Generated-Button-link-14"
|
|
628
|
-
data-ouia-component-type="PF4/Button"
|
|
629
|
-
data-ouia-safe="true"
|
|
630
|
-
type="button"
|
|
631
|
-
>
|
|
632
|
-
test
|
|
633
|
-
</button>
|
|
634
|
-
</div>
|
|
635
|
-
</div>
|
|
636
|
-
</DocumentFragment>
|
|
637
|
-
`;
|
|
638
|
-
|
|
639
|
-
exports[`Alert Alert - default Custom aria label 1`] = `
|
|
640
|
-
<DocumentFragment>
|
|
641
|
-
<div
|
|
642
|
-
aria-label="Custom aria label for default"
|
|
643
|
-
class="pf-c-alert"
|
|
644
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-8"
|
|
645
|
-
data-ouia-component-type="PF4/Alert"
|
|
646
|
-
data-ouia-safe="true"
|
|
647
|
-
>
|
|
648
|
-
<div
|
|
649
|
-
class="pf-c-alert__icon"
|
|
650
|
-
>
|
|
651
|
-
<svg
|
|
652
|
-
aria-hidden="true"
|
|
653
|
-
fill="currentColor"
|
|
654
|
-
height="1em"
|
|
655
|
-
role="img"
|
|
656
|
-
style="vertical-align: -0.125em;"
|
|
657
|
-
viewBox="0 0 896 1024"
|
|
658
|
-
width="1em"
|
|
659
|
-
>
|
|
660
|
-
<path
|
|
661
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
662
|
-
/>
|
|
663
|
-
</svg>
|
|
664
|
-
</div>
|
|
665
|
-
<h4
|
|
666
|
-
class="pf-c-alert__title"
|
|
667
|
-
>
|
|
668
|
-
<span
|
|
669
|
-
class="pf-u-screen-reader"
|
|
670
|
-
>
|
|
671
|
-
Default alert:
|
|
672
|
-
</span>
|
|
673
|
-
Some title
|
|
674
|
-
</h4>
|
|
675
|
-
<div
|
|
676
|
-
class="pf-c-alert__description"
|
|
677
|
-
>
|
|
678
|
-
Some alert
|
|
679
|
-
</div>
|
|
680
|
-
<div
|
|
681
|
-
class="pf-c-alert__action-group"
|
|
682
|
-
>
|
|
683
|
-
<button
|
|
684
|
-
aria-disabled="false"
|
|
685
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
686
|
-
data-ouia-component-id="OUIA-Generated-Button-link-15"
|
|
687
|
-
data-ouia-component-type="PF4/Button"
|
|
688
|
-
data-ouia-safe="true"
|
|
689
|
-
type="button"
|
|
690
|
-
>
|
|
691
|
-
test
|
|
692
|
-
</button>
|
|
693
|
-
</div>
|
|
694
|
-
</div>
|
|
695
|
-
</DocumentFragment>
|
|
696
|
-
`;
|
|
697
|
-
|
|
698
|
-
exports[`Alert Alert - default Custom icon 1`] = `
|
|
699
|
-
<DocumentFragment>
|
|
700
|
-
<div
|
|
701
|
-
aria-label="default custom icon alert"
|
|
702
|
-
class="pf-c-alert"
|
|
703
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-16"
|
|
704
|
-
data-ouia-component-type="PF4/Alert"
|
|
705
|
-
data-ouia-safe="true"
|
|
706
|
-
>
|
|
707
|
-
<div
|
|
708
|
-
class="pf-c-alert__icon"
|
|
709
|
-
>
|
|
710
|
-
<svg
|
|
711
|
-
aria-hidden="true"
|
|
712
|
-
fill="currentColor"
|
|
713
|
-
height="1em"
|
|
714
|
-
role="img"
|
|
715
|
-
style="vertical-align: -0.125em;"
|
|
716
|
-
viewBox="0 0 640 512"
|
|
717
|
-
width="1em"
|
|
718
|
-
>
|
|
719
|
-
<path
|
|
720
|
-
d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"
|
|
721
|
-
/>
|
|
722
|
-
</svg>
|
|
723
|
-
</div>
|
|
724
|
-
<h4
|
|
725
|
-
class="pf-c-alert__title"
|
|
726
|
-
>
|
|
727
|
-
<span
|
|
728
|
-
class="pf-u-screen-reader"
|
|
729
|
-
>
|
|
730
|
-
Default alert:
|
|
731
|
-
</span>
|
|
732
|
-
custom icon alert title
|
|
733
|
-
</h4>
|
|
734
|
-
<div
|
|
735
|
-
class="pf-c-alert__description"
|
|
736
|
-
>
|
|
737
|
-
Some noisy alert
|
|
738
|
-
</div>
|
|
739
|
-
</div>
|
|
740
|
-
</DocumentFragment>
|
|
741
|
-
`;
|
|
742
|
-
|
|
743
|
-
exports[`Alert Alert - default Description 1`] = `
|
|
744
|
-
<DocumentFragment>
|
|
745
|
-
<div
|
|
746
|
-
aria-label="Default Alert"
|
|
747
|
-
class="pf-c-alert"
|
|
748
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-2"
|
|
749
|
-
data-ouia-component-type="PF4/Alert"
|
|
750
|
-
data-ouia-safe="true"
|
|
751
|
-
>
|
|
752
|
-
<div
|
|
753
|
-
class="pf-c-alert__icon"
|
|
754
|
-
>
|
|
755
|
-
<svg
|
|
756
|
-
aria-hidden="true"
|
|
757
|
-
fill="currentColor"
|
|
758
|
-
height="1em"
|
|
759
|
-
role="img"
|
|
760
|
-
style="vertical-align: -0.125em;"
|
|
761
|
-
viewBox="0 0 896 1024"
|
|
762
|
-
width="1em"
|
|
763
|
-
>
|
|
764
|
-
<path
|
|
765
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
766
|
-
/>
|
|
767
|
-
</svg>
|
|
768
|
-
</div>
|
|
769
|
-
<h4
|
|
770
|
-
class="pf-c-alert__title"
|
|
771
|
-
>
|
|
772
|
-
<span
|
|
773
|
-
class="pf-u-screen-reader"
|
|
774
|
-
>
|
|
775
|
-
Default alert:
|
|
776
|
-
</span>
|
|
777
|
-
</h4>
|
|
778
|
-
<div
|
|
779
|
-
class="pf-c-alert__description"
|
|
780
|
-
>
|
|
781
|
-
Some alert
|
|
782
|
-
</div>
|
|
783
|
-
</div>
|
|
784
|
-
</DocumentFragment>
|
|
785
|
-
`;
|
|
786
|
-
|
|
787
|
-
exports[`Alert Alert - default Heading level 1`] = `
|
|
788
|
-
<DocumentFragment>
|
|
789
|
-
<div
|
|
790
|
-
aria-label="Default Alert"
|
|
791
|
-
class="pf-c-alert"
|
|
792
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-4"
|
|
793
|
-
data-ouia-component-type="PF4/Alert"
|
|
794
|
-
data-ouia-safe="true"
|
|
795
|
-
>
|
|
796
|
-
<div
|
|
797
|
-
class="pf-c-alert__icon"
|
|
798
|
-
>
|
|
799
|
-
<svg
|
|
800
|
-
aria-hidden="true"
|
|
801
|
-
fill="currentColor"
|
|
802
|
-
height="1em"
|
|
803
|
-
role="img"
|
|
804
|
-
style="vertical-align: -0.125em;"
|
|
805
|
-
viewBox="0 0 896 1024"
|
|
806
|
-
width="1em"
|
|
807
|
-
>
|
|
808
|
-
<path
|
|
809
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
810
|
-
/>
|
|
811
|
-
</svg>
|
|
812
|
-
</div>
|
|
813
|
-
<h1
|
|
814
|
-
class="pf-c-alert__title"
|
|
815
|
-
>
|
|
816
|
-
<span
|
|
817
|
-
class="pf-u-screen-reader"
|
|
818
|
-
>
|
|
819
|
-
Default alert:
|
|
820
|
-
</span>
|
|
821
|
-
Some title
|
|
822
|
-
</h1>
|
|
823
|
-
<div
|
|
824
|
-
class="pf-c-alert__description"
|
|
825
|
-
>
|
|
826
|
-
Some alert
|
|
827
|
-
</div>
|
|
828
|
-
</div>
|
|
829
|
-
</DocumentFragment>
|
|
830
|
-
`;
|
|
831
|
-
|
|
832
|
-
exports[`Alert Alert - default Title 1`] = `
|
|
833
|
-
<DocumentFragment>
|
|
834
|
-
<div
|
|
835
|
-
aria-label="Default Alert"
|
|
836
|
-
class="pf-c-alert"
|
|
837
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-3"
|
|
838
|
-
data-ouia-component-type="PF4/Alert"
|
|
839
|
-
data-ouia-safe="true"
|
|
840
|
-
>
|
|
841
|
-
<div
|
|
842
|
-
class="pf-c-alert__icon"
|
|
843
|
-
>
|
|
844
|
-
<svg
|
|
845
|
-
aria-hidden="true"
|
|
846
|
-
fill="currentColor"
|
|
847
|
-
height="1em"
|
|
848
|
-
role="img"
|
|
849
|
-
style="vertical-align: -0.125em;"
|
|
850
|
-
viewBox="0 0 896 1024"
|
|
851
|
-
width="1em"
|
|
852
|
-
>
|
|
853
|
-
<path
|
|
854
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
855
|
-
/>
|
|
856
|
-
</svg>
|
|
857
|
-
</div>
|
|
858
|
-
<h4
|
|
859
|
-
class="pf-c-alert__title"
|
|
860
|
-
>
|
|
861
|
-
<span
|
|
862
|
-
class="pf-u-screen-reader"
|
|
863
|
-
>
|
|
864
|
-
Default alert:
|
|
865
|
-
</span>
|
|
866
|
-
Some title
|
|
867
|
-
</h4>
|
|
868
|
-
<div
|
|
869
|
-
class="pf-c-alert__description"
|
|
870
|
-
>
|
|
871
|
-
Some alert
|
|
872
|
-
</div>
|
|
873
|
-
</div>
|
|
874
|
-
</DocumentFragment>
|
|
875
|
-
`;
|
|
876
|
-
|
|
877
|
-
exports[`Alert Alert - default Toast alerts match snapsnot 1`] = `
|
|
878
|
-
<DocumentFragment>
|
|
879
|
-
<div
|
|
880
|
-
aria-atomic="false"
|
|
881
|
-
aria-label="default toast alert"
|
|
882
|
-
aria-live="polite"
|
|
883
|
-
class="pf-c-alert"
|
|
884
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-12"
|
|
885
|
-
data-ouia-component-type="PF4/Alert"
|
|
886
|
-
data-ouia-safe="true"
|
|
887
|
-
>
|
|
888
|
-
<div
|
|
889
|
-
class="pf-c-alert__icon"
|
|
890
|
-
>
|
|
891
|
-
<svg
|
|
892
|
-
aria-hidden="true"
|
|
893
|
-
fill="currentColor"
|
|
894
|
-
height="1em"
|
|
895
|
-
role="img"
|
|
896
|
-
style="vertical-align: -0.125em;"
|
|
897
|
-
viewBox="0 0 896 1024"
|
|
898
|
-
width="1em"
|
|
899
|
-
>
|
|
900
|
-
<path
|
|
901
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
902
|
-
/>
|
|
903
|
-
</svg>
|
|
904
|
-
</div>
|
|
905
|
-
<h4
|
|
906
|
-
class="pf-c-alert__title"
|
|
907
|
-
>
|
|
908
|
-
<span
|
|
909
|
-
class="pf-u-screen-reader"
|
|
910
|
-
>
|
|
911
|
-
Default alert:
|
|
912
|
-
</span>
|
|
913
|
-
Some title
|
|
914
|
-
</h4>
|
|
915
|
-
<div
|
|
916
|
-
class="pf-c-alert__description"
|
|
917
|
-
>
|
|
918
|
-
Some toast alert
|
|
919
|
-
</div>
|
|
920
|
-
</div>
|
|
921
|
-
</DocumentFragment>
|
|
922
|
-
`;
|
|
923
|
-
|
|
924
|
-
exports[`Alert Alert - default expandable variation 1`] = `
|
|
925
|
-
<DocumentFragment>
|
|
926
|
-
<div
|
|
927
|
-
aria-label="Default Alert"
|
|
928
|
-
class="pf-c-alert pf-m-expandable"
|
|
929
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-10"
|
|
930
|
-
data-ouia-component-type="PF4/Alert"
|
|
931
|
-
data-ouia-safe="true"
|
|
932
|
-
>
|
|
933
|
-
<div
|
|
934
|
-
class="pf-c-alert__toggle"
|
|
935
|
-
>
|
|
936
|
-
<button
|
|
937
|
-
aria-disabled="false"
|
|
938
|
-
aria-expanded="false"
|
|
939
|
-
aria-label="Default alert details"
|
|
940
|
-
class="pf-c-button pf-m-plain"
|
|
941
|
-
data-ouia-component-id="OUIA-Generated-Button-plain-14"
|
|
942
|
-
data-ouia-component-type="PF4/Button"
|
|
943
|
-
data-ouia-safe="true"
|
|
944
|
-
type="button"
|
|
945
|
-
>
|
|
946
|
-
<span
|
|
947
|
-
class="pf-c-alert__toggle-icon"
|
|
948
|
-
>
|
|
949
|
-
<svg
|
|
950
|
-
aria-hidden="true"
|
|
951
|
-
fill="currentColor"
|
|
952
|
-
height="1em"
|
|
953
|
-
role="img"
|
|
954
|
-
style="vertical-align: -0.125em;"
|
|
955
|
-
viewBox="0 0 256 512"
|
|
956
|
-
width="1em"
|
|
957
|
-
>
|
|
958
|
-
<path
|
|
959
|
-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
|
|
960
|
-
/>
|
|
961
|
-
</svg>
|
|
962
|
-
</span>
|
|
963
|
-
</button>
|
|
964
|
-
</div>
|
|
965
|
-
<div
|
|
966
|
-
class="pf-c-alert__icon"
|
|
967
|
-
>
|
|
968
|
-
<svg
|
|
969
|
-
aria-hidden="true"
|
|
970
|
-
fill="currentColor"
|
|
971
|
-
height="1em"
|
|
972
|
-
role="img"
|
|
973
|
-
style="vertical-align: -0.125em;"
|
|
974
|
-
viewBox="0 0 896 1024"
|
|
975
|
-
width="1em"
|
|
976
|
-
>
|
|
977
|
-
<path
|
|
978
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
979
|
-
/>
|
|
980
|
-
</svg>
|
|
981
|
-
</div>
|
|
982
|
-
<h4
|
|
983
|
-
class="pf-c-alert__title"
|
|
984
|
-
>
|
|
985
|
-
<span
|
|
986
|
-
class="pf-u-screen-reader"
|
|
987
|
-
>
|
|
988
|
-
Default alert:
|
|
989
|
-
</span>
|
|
990
|
-
Some title
|
|
991
|
-
</h4>
|
|
992
|
-
</div>
|
|
993
|
-
</DocumentFragment>
|
|
994
|
-
`;
|
|
995
|
-
|
|
996
|
-
exports[`Alert Alert - default inline variation 1`] = `
|
|
997
|
-
<DocumentFragment>
|
|
998
|
-
<div
|
|
999
|
-
aria-label="Default Alert"
|
|
1000
|
-
class="pf-c-alert pf-m-inline"
|
|
1001
|
-
data-ouia-component-id="OUIA-Generated-Alert-default-9"
|
|
1002
|
-
data-ouia-component-type="PF4/Alert"
|
|
1003
|
-
data-ouia-safe="true"
|
|
1004
|
-
>
|
|
1005
|
-
<div
|
|
1006
|
-
class="pf-c-alert__icon"
|
|
1007
|
-
>
|
|
1008
|
-
<svg
|
|
1009
|
-
aria-hidden="true"
|
|
1010
|
-
fill="currentColor"
|
|
1011
|
-
height="1em"
|
|
1012
|
-
role="img"
|
|
1013
|
-
style="vertical-align: -0.125em;"
|
|
1014
|
-
viewBox="0 0 896 1024"
|
|
1015
|
-
width="1em"
|
|
1016
|
-
>
|
|
1017
|
-
<path
|
|
1018
|
-
d="M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z"
|
|
1019
|
-
/>
|
|
1020
|
-
</svg>
|
|
1021
|
-
</div>
|
|
1022
|
-
<h4
|
|
1023
|
-
class="pf-c-alert__title"
|
|
1024
|
-
>
|
|
1025
|
-
<span
|
|
1026
|
-
class="pf-u-screen-reader"
|
|
1027
|
-
>
|
|
1028
|
-
Default alert:
|
|
1029
|
-
</span>
|
|
1030
|
-
Some title
|
|
1031
|
-
</h4>
|
|
1032
|
-
<div
|
|
1033
|
-
class="pf-c-alert__description"
|
|
1034
|
-
>
|
|
1035
|
-
Some alert
|
|
1036
|
-
</div>
|
|
1037
|
-
</div>
|
|
1038
|
-
</DocumentFragment>
|
|
1039
|
-
`;
|
|
1040
|
-
|
|
1041
|
-
exports[`Alert Alert - info Action Link 1`] = `
|
|
1042
|
-
<DocumentFragment>
|
|
1043
|
-
<div
|
|
1044
|
-
aria-label="Info Alert"
|
|
1045
|
-
class="pf-c-alert pf-m-info"
|
|
1046
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-4"
|
|
1047
|
-
data-ouia-component-type="PF4/Alert"
|
|
1048
|
-
data-ouia-safe="true"
|
|
1049
|
-
>
|
|
1050
|
-
<div
|
|
1051
|
-
class="pf-c-alert__icon"
|
|
1052
|
-
>
|
|
1053
|
-
<svg
|
|
1054
|
-
aria-hidden="true"
|
|
1055
|
-
fill="currentColor"
|
|
1056
|
-
height="1em"
|
|
1057
|
-
role="img"
|
|
1058
|
-
style="vertical-align: -0.125em;"
|
|
1059
|
-
viewBox="0 0 512 512"
|
|
1060
|
-
width="1em"
|
|
1061
|
-
>
|
|
1062
|
-
<path
|
|
1063
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1064
|
-
/>
|
|
1065
|
-
</svg>
|
|
1066
|
-
</div>
|
|
1067
|
-
<h4
|
|
1068
|
-
class="pf-c-alert__title"
|
|
1069
|
-
>
|
|
1070
|
-
<span
|
|
1071
|
-
class="pf-u-screen-reader"
|
|
1072
|
-
>
|
|
1073
|
-
Info alert:
|
|
1074
|
-
</span>
|
|
1075
|
-
</h4>
|
|
1076
|
-
<div
|
|
1077
|
-
class="pf-c-alert__description"
|
|
1078
|
-
>
|
|
1079
|
-
Some alert
|
|
1080
|
-
</div>
|
|
1081
|
-
<div
|
|
1082
|
-
class="pf-c-alert__action-group"
|
|
1083
|
-
>
|
|
1084
|
-
<button
|
|
1085
|
-
aria-disabled="false"
|
|
1086
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
1087
|
-
data-ouia-component-id="OUIA-Generated-Button-link-10"
|
|
1088
|
-
data-ouia-component-type="PF4/Button"
|
|
1089
|
-
data-ouia-safe="true"
|
|
1090
|
-
type="button"
|
|
1091
|
-
>
|
|
1092
|
-
test
|
|
1093
|
-
</button>
|
|
1094
|
-
</div>
|
|
1095
|
-
</div>
|
|
1096
|
-
</DocumentFragment>
|
|
1097
|
-
`;
|
|
1098
|
-
|
|
1099
|
-
exports[`Alert Alert - info Action and Title 1`] = `
|
|
1100
|
-
<DocumentFragment>
|
|
1101
|
-
<div
|
|
1102
|
-
aria-label="Info Alert"
|
|
1103
|
-
class="pf-c-alert pf-m-info"
|
|
1104
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-6"
|
|
1105
|
-
data-ouia-component-type="PF4/Alert"
|
|
1106
|
-
data-ouia-safe="true"
|
|
1107
|
-
>
|
|
1108
|
-
<div
|
|
1109
|
-
class="pf-c-alert__icon"
|
|
1110
|
-
>
|
|
1111
|
-
<svg
|
|
1112
|
-
aria-hidden="true"
|
|
1113
|
-
fill="currentColor"
|
|
1114
|
-
height="1em"
|
|
1115
|
-
role="img"
|
|
1116
|
-
style="vertical-align: -0.125em;"
|
|
1117
|
-
viewBox="0 0 512 512"
|
|
1118
|
-
width="1em"
|
|
1119
|
-
>
|
|
1120
|
-
<path
|
|
1121
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1122
|
-
/>
|
|
1123
|
-
</svg>
|
|
1124
|
-
</div>
|
|
1125
|
-
<h4
|
|
1126
|
-
class="pf-c-alert__title"
|
|
1127
|
-
>
|
|
1128
|
-
<span
|
|
1129
|
-
class="pf-u-screen-reader"
|
|
1130
|
-
>
|
|
1131
|
-
Info alert:
|
|
1132
|
-
</span>
|
|
1133
|
-
Some title
|
|
1134
|
-
</h4>
|
|
1135
|
-
<div
|
|
1136
|
-
class="pf-c-alert__description"
|
|
1137
|
-
>
|
|
1138
|
-
Some alert
|
|
1139
|
-
</div>
|
|
1140
|
-
<div
|
|
1141
|
-
class="pf-c-alert__action-group"
|
|
1142
|
-
>
|
|
1143
|
-
<button
|
|
1144
|
-
aria-disabled="false"
|
|
1145
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
1146
|
-
data-ouia-component-id="OUIA-Generated-Button-link-11"
|
|
1147
|
-
data-ouia-component-type="PF4/Button"
|
|
1148
|
-
data-ouia-safe="true"
|
|
1149
|
-
type="button"
|
|
1150
|
-
>
|
|
1151
|
-
test
|
|
1152
|
-
</button>
|
|
1153
|
-
</div>
|
|
1154
|
-
</div>
|
|
1155
|
-
</DocumentFragment>
|
|
1156
|
-
`;
|
|
1157
|
-
|
|
1158
|
-
exports[`Alert Alert - info Custom aria label 1`] = `
|
|
1159
|
-
<DocumentFragment>
|
|
1160
|
-
<div
|
|
1161
|
-
aria-label="Custom aria label for info"
|
|
1162
|
-
class="pf-c-alert pf-m-info"
|
|
1163
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-7"
|
|
1164
|
-
data-ouia-component-type="PF4/Alert"
|
|
1165
|
-
data-ouia-safe="true"
|
|
1166
|
-
>
|
|
1167
|
-
<div
|
|
1168
|
-
class="pf-c-alert__icon"
|
|
1169
|
-
>
|
|
1170
|
-
<svg
|
|
1171
|
-
aria-hidden="true"
|
|
1172
|
-
fill="currentColor"
|
|
1173
|
-
height="1em"
|
|
1174
|
-
role="img"
|
|
1175
|
-
style="vertical-align: -0.125em;"
|
|
1176
|
-
viewBox="0 0 512 512"
|
|
1177
|
-
width="1em"
|
|
1178
|
-
>
|
|
1179
|
-
<path
|
|
1180
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1181
|
-
/>
|
|
1182
|
-
</svg>
|
|
1183
|
-
</div>
|
|
1184
|
-
<h4
|
|
1185
|
-
class="pf-c-alert__title"
|
|
1186
|
-
>
|
|
1187
|
-
<span
|
|
1188
|
-
class="pf-u-screen-reader"
|
|
1189
|
-
>
|
|
1190
|
-
Info alert:
|
|
1191
|
-
</span>
|
|
1192
|
-
Some title
|
|
1193
|
-
</h4>
|
|
1194
|
-
<div
|
|
1195
|
-
class="pf-c-alert__description"
|
|
1196
|
-
>
|
|
1197
|
-
Some alert
|
|
1198
|
-
</div>
|
|
1199
|
-
<div
|
|
1200
|
-
class="pf-c-alert__action-group"
|
|
1201
|
-
>
|
|
1202
|
-
<button
|
|
1203
|
-
aria-disabled="false"
|
|
1204
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
1205
|
-
data-ouia-component-id="OUIA-Generated-Button-link-12"
|
|
1206
|
-
data-ouia-component-type="PF4/Button"
|
|
1207
|
-
data-ouia-safe="true"
|
|
1208
|
-
type="button"
|
|
1209
|
-
>
|
|
1210
|
-
test
|
|
1211
|
-
</button>
|
|
1212
|
-
</div>
|
|
1213
|
-
</div>
|
|
1214
|
-
</DocumentFragment>
|
|
1215
|
-
`;
|
|
1216
|
-
|
|
1217
|
-
exports[`Alert Alert - info Custom icon 1`] = `
|
|
1218
|
-
<DocumentFragment>
|
|
1219
|
-
<div
|
|
1220
|
-
aria-label="info custom icon alert"
|
|
1221
|
-
class="pf-c-alert pf-m-info"
|
|
1222
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-15"
|
|
1223
|
-
data-ouia-component-type="PF4/Alert"
|
|
1224
|
-
data-ouia-safe="true"
|
|
1225
|
-
>
|
|
1226
|
-
<div
|
|
1227
|
-
class="pf-c-alert__icon"
|
|
1228
|
-
>
|
|
1229
|
-
<svg
|
|
1230
|
-
aria-hidden="true"
|
|
1231
|
-
fill="currentColor"
|
|
1232
|
-
height="1em"
|
|
1233
|
-
role="img"
|
|
1234
|
-
style="vertical-align: -0.125em;"
|
|
1235
|
-
viewBox="0 0 640 512"
|
|
1236
|
-
width="1em"
|
|
1237
|
-
>
|
|
1238
|
-
<path
|
|
1239
|
-
d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"
|
|
1240
|
-
/>
|
|
1241
|
-
</svg>
|
|
1242
|
-
</div>
|
|
1243
|
-
<h4
|
|
1244
|
-
class="pf-c-alert__title"
|
|
1245
|
-
>
|
|
1246
|
-
<span
|
|
1247
|
-
class="pf-u-screen-reader"
|
|
1248
|
-
>
|
|
1249
|
-
Info alert:
|
|
1250
|
-
</span>
|
|
1251
|
-
custom icon alert title
|
|
1252
|
-
</h4>
|
|
1253
|
-
<div
|
|
1254
|
-
class="pf-c-alert__description"
|
|
1255
|
-
>
|
|
1256
|
-
Some noisy alert
|
|
1257
|
-
</div>
|
|
1258
|
-
</div>
|
|
1259
|
-
</DocumentFragment>
|
|
1260
|
-
`;
|
|
1261
|
-
|
|
1262
|
-
exports[`Alert Alert - info Description 1`] = `
|
|
1263
|
-
<DocumentFragment>
|
|
1264
|
-
<div
|
|
1265
|
-
aria-label="Info Alert"
|
|
1266
|
-
class="pf-c-alert pf-m-info"
|
|
1267
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-1"
|
|
1268
|
-
data-ouia-component-type="PF4/Alert"
|
|
1269
|
-
data-ouia-safe="true"
|
|
1270
|
-
>
|
|
1271
|
-
<div
|
|
1272
|
-
class="pf-c-alert__icon"
|
|
1273
|
-
>
|
|
1274
|
-
<svg
|
|
1275
|
-
aria-hidden="true"
|
|
1276
|
-
fill="currentColor"
|
|
1277
|
-
height="1em"
|
|
1278
|
-
role="img"
|
|
1279
|
-
style="vertical-align: -0.125em;"
|
|
1280
|
-
viewBox="0 0 512 512"
|
|
1281
|
-
width="1em"
|
|
1282
|
-
>
|
|
1283
|
-
<path
|
|
1284
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1285
|
-
/>
|
|
1286
|
-
</svg>
|
|
1287
|
-
</div>
|
|
1288
|
-
<h4
|
|
1289
|
-
class="pf-c-alert__title"
|
|
1290
|
-
>
|
|
1291
|
-
<span
|
|
1292
|
-
class="pf-u-screen-reader"
|
|
1293
|
-
>
|
|
1294
|
-
Info alert:
|
|
1295
|
-
</span>
|
|
1296
|
-
</h4>
|
|
1297
|
-
<div
|
|
1298
|
-
class="pf-c-alert__description"
|
|
1299
|
-
>
|
|
1300
|
-
Some alert
|
|
1301
|
-
</div>
|
|
1302
|
-
</div>
|
|
1303
|
-
</DocumentFragment>
|
|
1304
|
-
`;
|
|
1305
|
-
|
|
1306
|
-
exports[`Alert Alert - info Heading level 1`] = `
|
|
1307
|
-
<DocumentFragment>
|
|
1308
|
-
<div
|
|
1309
|
-
aria-label="Info Alert"
|
|
1310
|
-
class="pf-c-alert pf-m-info"
|
|
1311
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-3"
|
|
1312
|
-
data-ouia-component-type="PF4/Alert"
|
|
1313
|
-
data-ouia-safe="true"
|
|
1314
|
-
>
|
|
1315
|
-
<div
|
|
1316
|
-
class="pf-c-alert__icon"
|
|
1317
|
-
>
|
|
1318
|
-
<svg
|
|
1319
|
-
aria-hidden="true"
|
|
1320
|
-
fill="currentColor"
|
|
1321
|
-
height="1em"
|
|
1322
|
-
role="img"
|
|
1323
|
-
style="vertical-align: -0.125em;"
|
|
1324
|
-
viewBox="0 0 512 512"
|
|
1325
|
-
width="1em"
|
|
1326
|
-
>
|
|
1327
|
-
<path
|
|
1328
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1329
|
-
/>
|
|
1330
|
-
</svg>
|
|
1331
|
-
</div>
|
|
1332
|
-
<h1
|
|
1333
|
-
class="pf-c-alert__title"
|
|
1334
|
-
>
|
|
1335
|
-
<span
|
|
1336
|
-
class="pf-u-screen-reader"
|
|
1337
|
-
>
|
|
1338
|
-
Info alert:
|
|
1339
|
-
</span>
|
|
1340
|
-
Some title
|
|
1341
|
-
</h1>
|
|
1342
|
-
<div
|
|
1343
|
-
class="pf-c-alert__description"
|
|
1344
|
-
>
|
|
1345
|
-
Some alert
|
|
1346
|
-
</div>
|
|
1347
|
-
</div>
|
|
1348
|
-
</DocumentFragment>
|
|
1349
|
-
`;
|
|
1350
|
-
|
|
1351
|
-
exports[`Alert Alert - info Title 1`] = `
|
|
1352
|
-
<DocumentFragment>
|
|
1353
|
-
<div
|
|
1354
|
-
aria-label="Info Alert"
|
|
1355
|
-
class="pf-c-alert pf-m-info"
|
|
1356
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-2"
|
|
1357
|
-
data-ouia-component-type="PF4/Alert"
|
|
1358
|
-
data-ouia-safe="true"
|
|
1359
|
-
>
|
|
1360
|
-
<div
|
|
1361
|
-
class="pf-c-alert__icon"
|
|
1362
|
-
>
|
|
1363
|
-
<svg
|
|
1364
|
-
aria-hidden="true"
|
|
1365
|
-
fill="currentColor"
|
|
1366
|
-
height="1em"
|
|
1367
|
-
role="img"
|
|
1368
|
-
style="vertical-align: -0.125em;"
|
|
1369
|
-
viewBox="0 0 512 512"
|
|
1370
|
-
width="1em"
|
|
1371
|
-
>
|
|
1372
|
-
<path
|
|
1373
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1374
|
-
/>
|
|
1375
|
-
</svg>
|
|
1376
|
-
</div>
|
|
1377
|
-
<h4
|
|
1378
|
-
class="pf-c-alert__title"
|
|
1379
|
-
>
|
|
1380
|
-
<span
|
|
1381
|
-
class="pf-u-screen-reader"
|
|
1382
|
-
>
|
|
1383
|
-
Info alert:
|
|
1384
|
-
</span>
|
|
1385
|
-
Some title
|
|
1386
|
-
</h4>
|
|
1387
|
-
<div
|
|
1388
|
-
class="pf-c-alert__description"
|
|
1389
|
-
>
|
|
1390
|
-
Some alert
|
|
1391
|
-
</div>
|
|
1392
|
-
</div>
|
|
1393
|
-
</DocumentFragment>
|
|
1394
|
-
`;
|
|
1395
|
-
|
|
1396
|
-
exports[`Alert Alert - info Toast alerts match snapsnot 1`] = `
|
|
1397
|
-
<DocumentFragment>
|
|
1398
|
-
<div
|
|
1399
|
-
aria-atomic="false"
|
|
1400
|
-
aria-label="info toast alert"
|
|
1401
|
-
aria-live="polite"
|
|
1402
|
-
class="pf-c-alert pf-m-info"
|
|
1403
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-11"
|
|
1404
|
-
data-ouia-component-type="PF4/Alert"
|
|
1405
|
-
data-ouia-safe="true"
|
|
1406
|
-
>
|
|
1407
|
-
<div
|
|
1408
|
-
class="pf-c-alert__icon"
|
|
1409
|
-
>
|
|
1410
|
-
<svg
|
|
1411
|
-
aria-hidden="true"
|
|
1412
|
-
fill="currentColor"
|
|
1413
|
-
height="1em"
|
|
1414
|
-
role="img"
|
|
1415
|
-
style="vertical-align: -0.125em;"
|
|
1416
|
-
viewBox="0 0 512 512"
|
|
1417
|
-
width="1em"
|
|
1418
|
-
>
|
|
1419
|
-
<path
|
|
1420
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1421
|
-
/>
|
|
1422
|
-
</svg>
|
|
1423
|
-
</div>
|
|
1424
|
-
<h4
|
|
1425
|
-
class="pf-c-alert__title"
|
|
1426
|
-
>
|
|
1427
|
-
<span
|
|
1428
|
-
class="pf-u-screen-reader"
|
|
1429
|
-
>
|
|
1430
|
-
Info alert:
|
|
1431
|
-
</span>
|
|
1432
|
-
Some title
|
|
1433
|
-
</h4>
|
|
1434
|
-
<div
|
|
1435
|
-
class="pf-c-alert__description"
|
|
1436
|
-
>
|
|
1437
|
-
Some toast alert
|
|
1438
|
-
</div>
|
|
1439
|
-
</div>
|
|
1440
|
-
</DocumentFragment>
|
|
1441
|
-
`;
|
|
1442
|
-
|
|
1443
|
-
exports[`Alert Alert - info expandable variation 1`] = `
|
|
1444
|
-
<DocumentFragment>
|
|
1445
|
-
<div
|
|
1446
|
-
aria-label="Info Alert"
|
|
1447
|
-
class="pf-c-alert pf-m-expandable pf-m-info"
|
|
1448
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-9"
|
|
1449
|
-
data-ouia-component-type="PF4/Alert"
|
|
1450
|
-
data-ouia-safe="true"
|
|
1451
|
-
>
|
|
1452
|
-
<div
|
|
1453
|
-
class="pf-c-alert__toggle"
|
|
1454
|
-
>
|
|
1455
|
-
<button
|
|
1456
|
-
aria-disabled="false"
|
|
1457
|
-
aria-expanded="false"
|
|
1458
|
-
aria-label="Info alert details"
|
|
1459
|
-
class="pf-c-button pf-m-plain"
|
|
1460
|
-
data-ouia-component-id="OUIA-Generated-Button-plain-11"
|
|
1461
|
-
data-ouia-component-type="PF4/Button"
|
|
1462
|
-
data-ouia-safe="true"
|
|
1463
|
-
type="button"
|
|
1464
|
-
>
|
|
1465
|
-
<span
|
|
1466
|
-
class="pf-c-alert__toggle-icon"
|
|
1467
|
-
>
|
|
1468
|
-
<svg
|
|
1469
|
-
aria-hidden="true"
|
|
1470
|
-
fill="currentColor"
|
|
1471
|
-
height="1em"
|
|
1472
|
-
role="img"
|
|
1473
|
-
style="vertical-align: -0.125em;"
|
|
1474
|
-
viewBox="0 0 256 512"
|
|
1475
|
-
width="1em"
|
|
1476
|
-
>
|
|
1477
|
-
<path
|
|
1478
|
-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
|
|
1479
|
-
/>
|
|
1480
|
-
</svg>
|
|
1481
|
-
</span>
|
|
1482
|
-
</button>
|
|
1483
|
-
</div>
|
|
1484
|
-
<div
|
|
1485
|
-
class="pf-c-alert__icon"
|
|
1486
|
-
>
|
|
1487
|
-
<svg
|
|
1488
|
-
aria-hidden="true"
|
|
1489
|
-
fill="currentColor"
|
|
1490
|
-
height="1em"
|
|
1491
|
-
role="img"
|
|
1492
|
-
style="vertical-align: -0.125em;"
|
|
1493
|
-
viewBox="0 0 512 512"
|
|
1494
|
-
width="1em"
|
|
1495
|
-
>
|
|
1496
|
-
<path
|
|
1497
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1498
|
-
/>
|
|
1499
|
-
</svg>
|
|
1500
|
-
</div>
|
|
1501
|
-
<h4
|
|
1502
|
-
class="pf-c-alert__title"
|
|
1503
|
-
>
|
|
1504
|
-
<span
|
|
1505
|
-
class="pf-u-screen-reader"
|
|
1506
|
-
>
|
|
1507
|
-
Info alert:
|
|
1508
|
-
</span>
|
|
1509
|
-
Some title
|
|
1510
|
-
</h4>
|
|
1511
|
-
</div>
|
|
1512
|
-
</DocumentFragment>
|
|
1513
|
-
`;
|
|
1514
|
-
|
|
1515
|
-
exports[`Alert Alert - info inline variation 1`] = `
|
|
1516
|
-
<DocumentFragment>
|
|
1517
|
-
<div
|
|
1518
|
-
aria-label="Info Alert"
|
|
1519
|
-
class="pf-c-alert pf-m-inline pf-m-info"
|
|
1520
|
-
data-ouia-component-id="OUIA-Generated-Alert-info-8"
|
|
1521
|
-
data-ouia-component-type="PF4/Alert"
|
|
1522
|
-
data-ouia-safe="true"
|
|
1523
|
-
>
|
|
1524
|
-
<div
|
|
1525
|
-
class="pf-c-alert__icon"
|
|
1526
|
-
>
|
|
1527
|
-
<svg
|
|
1528
|
-
aria-hidden="true"
|
|
1529
|
-
fill="currentColor"
|
|
1530
|
-
height="1em"
|
|
1531
|
-
role="img"
|
|
1532
|
-
style="vertical-align: -0.125em;"
|
|
1533
|
-
viewBox="0 0 512 512"
|
|
1534
|
-
width="1em"
|
|
1535
|
-
>
|
|
1536
|
-
<path
|
|
1537
|
-
d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
1538
|
-
/>
|
|
1539
|
-
</svg>
|
|
1540
|
-
</div>
|
|
1541
|
-
<h4
|
|
1542
|
-
class="pf-c-alert__title"
|
|
1543
|
-
>
|
|
1544
|
-
<span
|
|
1545
|
-
class="pf-u-screen-reader"
|
|
1546
|
-
>
|
|
1547
|
-
Info alert:
|
|
1548
|
-
</span>
|
|
1549
|
-
Some title
|
|
1550
|
-
</h4>
|
|
1551
|
-
<div
|
|
1552
|
-
class="pf-c-alert__description"
|
|
1553
|
-
>
|
|
1554
|
-
Some alert
|
|
1555
|
-
</div>
|
|
1556
|
-
</div>
|
|
1557
|
-
</DocumentFragment>
|
|
1558
|
-
`;
|
|
1559
|
-
|
|
1560
|
-
exports[`Alert Alert - success Action Link 1`] = `
|
|
1561
|
-
<DocumentFragment>
|
|
1562
|
-
<div
|
|
1563
|
-
aria-label="Success Alert"
|
|
1564
|
-
class="pf-c-alert pf-m-success"
|
|
1565
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-4"
|
|
1566
|
-
data-ouia-component-type="PF4/Alert"
|
|
1567
|
-
data-ouia-safe="true"
|
|
1568
|
-
>
|
|
1569
|
-
<div
|
|
1570
|
-
class="pf-c-alert__icon"
|
|
1571
|
-
>
|
|
1572
|
-
<svg
|
|
1573
|
-
aria-hidden="true"
|
|
1574
|
-
fill="currentColor"
|
|
1575
|
-
height="1em"
|
|
1576
|
-
role="img"
|
|
1577
|
-
style="vertical-align: -0.125em;"
|
|
1578
|
-
viewBox="0 0 512 512"
|
|
1579
|
-
width="1em"
|
|
1580
|
-
>
|
|
1581
|
-
<path
|
|
1582
|
-
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"
|
|
1583
|
-
/>
|
|
1584
|
-
</svg>
|
|
1585
|
-
</div>
|
|
1586
|
-
<h4
|
|
1587
|
-
class="pf-c-alert__title"
|
|
1588
|
-
>
|
|
1589
|
-
<span
|
|
1590
|
-
class="pf-u-screen-reader"
|
|
1591
|
-
>
|
|
1592
|
-
Success alert:
|
|
1593
|
-
</span>
|
|
1594
|
-
</h4>
|
|
1595
|
-
<div
|
|
1596
|
-
class="pf-c-alert__description"
|
|
1597
|
-
>
|
|
1598
|
-
Some alert
|
|
1599
|
-
</div>
|
|
1600
|
-
<div
|
|
1601
|
-
class="pf-c-alert__action-group"
|
|
1602
|
-
>
|
|
1603
|
-
<button
|
|
1604
|
-
aria-disabled="false"
|
|
1605
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
1606
|
-
data-ouia-component-id="OUIA-Generated-Button-link-1"
|
|
1607
|
-
data-ouia-component-type="PF4/Button"
|
|
1608
|
-
data-ouia-safe="true"
|
|
1609
|
-
type="button"
|
|
1610
|
-
>
|
|
1611
|
-
test
|
|
1612
|
-
</button>
|
|
1613
|
-
</div>
|
|
1614
|
-
</div>
|
|
1615
|
-
</DocumentFragment>
|
|
1616
|
-
`;
|
|
1617
|
-
|
|
1618
|
-
exports[`Alert Alert - success Action and Title 1`] = `
|
|
1619
|
-
<DocumentFragment>
|
|
1620
|
-
<div
|
|
1621
|
-
aria-label="Success Alert"
|
|
1622
|
-
class="pf-c-alert pf-m-success"
|
|
1623
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-6"
|
|
1624
|
-
data-ouia-component-type="PF4/Alert"
|
|
1625
|
-
data-ouia-safe="true"
|
|
1626
|
-
>
|
|
1627
|
-
<div
|
|
1628
|
-
class="pf-c-alert__icon"
|
|
1629
|
-
>
|
|
1630
|
-
<svg
|
|
1631
|
-
aria-hidden="true"
|
|
1632
|
-
fill="currentColor"
|
|
1633
|
-
height="1em"
|
|
1634
|
-
role="img"
|
|
1635
|
-
style="vertical-align: -0.125em;"
|
|
1636
|
-
viewBox="0 0 512 512"
|
|
1637
|
-
width="1em"
|
|
1638
|
-
>
|
|
1639
|
-
<path
|
|
1640
|
-
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"
|
|
1641
|
-
/>
|
|
1642
|
-
</svg>
|
|
1643
|
-
</div>
|
|
1644
|
-
<h4
|
|
1645
|
-
class="pf-c-alert__title"
|
|
1646
|
-
>
|
|
1647
|
-
<span
|
|
1648
|
-
class="pf-u-screen-reader"
|
|
1649
|
-
>
|
|
1650
|
-
Success alert:
|
|
1651
|
-
</span>
|
|
1652
|
-
Some title
|
|
1653
|
-
</h4>
|
|
1654
|
-
<div
|
|
1655
|
-
class="pf-c-alert__description"
|
|
1656
|
-
>
|
|
1657
|
-
Some alert
|
|
1658
|
-
</div>
|
|
1659
|
-
<div
|
|
1660
|
-
class="pf-c-alert__action-group"
|
|
1661
|
-
>
|
|
1662
|
-
<button
|
|
1663
|
-
aria-disabled="false"
|
|
1664
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
1665
|
-
data-ouia-component-id="OUIA-Generated-Button-link-2"
|
|
1666
|
-
data-ouia-component-type="PF4/Button"
|
|
1667
|
-
data-ouia-safe="true"
|
|
1668
|
-
type="button"
|
|
1669
|
-
>
|
|
1670
|
-
test
|
|
1671
|
-
</button>
|
|
1672
|
-
</div>
|
|
1673
|
-
</div>
|
|
1674
|
-
</DocumentFragment>
|
|
1675
|
-
`;
|
|
1676
|
-
|
|
1677
|
-
exports[`Alert Alert - success Custom aria label 1`] = `
|
|
1678
|
-
<DocumentFragment>
|
|
1679
|
-
<div
|
|
1680
|
-
aria-label="Custom aria label for success"
|
|
1681
|
-
class="pf-c-alert pf-m-success"
|
|
1682
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-7"
|
|
1683
|
-
data-ouia-component-type="PF4/Alert"
|
|
1684
|
-
data-ouia-safe="true"
|
|
1685
|
-
>
|
|
1686
|
-
<div
|
|
1687
|
-
class="pf-c-alert__icon"
|
|
1688
|
-
>
|
|
1689
|
-
<svg
|
|
1690
|
-
aria-hidden="true"
|
|
1691
|
-
fill="currentColor"
|
|
1692
|
-
height="1em"
|
|
1693
|
-
role="img"
|
|
1694
|
-
style="vertical-align: -0.125em;"
|
|
1695
|
-
viewBox="0 0 512 512"
|
|
1696
|
-
width="1em"
|
|
1697
|
-
>
|
|
1698
|
-
<path
|
|
1699
|
-
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"
|
|
1700
|
-
/>
|
|
1701
|
-
</svg>
|
|
1702
|
-
</div>
|
|
1703
|
-
<h4
|
|
1704
|
-
class="pf-c-alert__title"
|
|
1705
|
-
>
|
|
1706
|
-
<span
|
|
1707
|
-
class="pf-u-screen-reader"
|
|
1708
|
-
>
|
|
1709
|
-
Success alert:
|
|
1710
|
-
</span>
|
|
1711
|
-
Some title
|
|
1712
|
-
</h4>
|
|
1713
|
-
<div
|
|
1714
|
-
class="pf-c-alert__description"
|
|
1715
|
-
>
|
|
1716
|
-
Some alert
|
|
1717
|
-
</div>
|
|
1718
|
-
<div
|
|
1719
|
-
class="pf-c-alert__action-group"
|
|
1720
|
-
>
|
|
1721
|
-
<button
|
|
1722
|
-
aria-disabled="false"
|
|
1723
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
1724
|
-
data-ouia-component-id="OUIA-Generated-Button-link-3"
|
|
1725
|
-
data-ouia-component-type="PF4/Button"
|
|
1726
|
-
data-ouia-safe="true"
|
|
1727
|
-
type="button"
|
|
1728
|
-
>
|
|
1729
|
-
test
|
|
1730
|
-
</button>
|
|
1731
|
-
</div>
|
|
1732
|
-
</div>
|
|
1733
|
-
</DocumentFragment>
|
|
1734
|
-
`;
|
|
1735
|
-
|
|
1736
|
-
exports[`Alert Alert - success Custom icon 1`] = `
|
|
1737
|
-
<DocumentFragment>
|
|
1738
|
-
<div
|
|
1739
|
-
aria-label="success custom icon alert"
|
|
1740
|
-
class="pf-c-alert pf-m-success"
|
|
1741
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-15"
|
|
1742
|
-
data-ouia-component-type="PF4/Alert"
|
|
1743
|
-
data-ouia-safe="true"
|
|
1744
|
-
>
|
|
1745
|
-
<div
|
|
1746
|
-
class="pf-c-alert__icon"
|
|
1747
|
-
>
|
|
1748
|
-
<svg
|
|
1749
|
-
aria-hidden="true"
|
|
1750
|
-
fill="currentColor"
|
|
1751
|
-
height="1em"
|
|
1752
|
-
role="img"
|
|
1753
|
-
style="vertical-align: -0.125em;"
|
|
1754
|
-
viewBox="0 0 640 512"
|
|
1755
|
-
width="1em"
|
|
1756
|
-
>
|
|
1757
|
-
<path
|
|
1758
|
-
d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"
|
|
1759
|
-
/>
|
|
1760
|
-
</svg>
|
|
1761
|
-
</div>
|
|
1762
|
-
<h4
|
|
1763
|
-
class="pf-c-alert__title"
|
|
1764
|
-
>
|
|
1765
|
-
<span
|
|
1766
|
-
class="pf-u-screen-reader"
|
|
1767
|
-
>
|
|
1768
|
-
Success alert:
|
|
1769
|
-
</span>
|
|
1770
|
-
custom icon alert title
|
|
1771
|
-
</h4>
|
|
1772
|
-
<div
|
|
1773
|
-
class="pf-c-alert__description"
|
|
1774
|
-
>
|
|
1775
|
-
Some noisy alert
|
|
1776
|
-
</div>
|
|
1777
|
-
</div>
|
|
1778
|
-
</DocumentFragment>
|
|
1779
|
-
`;
|
|
1780
|
-
|
|
1781
|
-
exports[`Alert Alert - success Description 1`] = `
|
|
1782
|
-
<DocumentFragment>
|
|
1783
|
-
<div
|
|
1784
|
-
aria-label="Success Alert"
|
|
1785
|
-
class="pf-c-alert pf-m-success"
|
|
1786
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-1"
|
|
1787
|
-
data-ouia-component-type="PF4/Alert"
|
|
1788
|
-
data-ouia-safe="true"
|
|
1789
|
-
>
|
|
1790
|
-
<div
|
|
1791
|
-
class="pf-c-alert__icon"
|
|
1792
|
-
>
|
|
1793
|
-
<svg
|
|
1794
|
-
aria-hidden="true"
|
|
1795
|
-
fill="currentColor"
|
|
1796
|
-
height="1em"
|
|
1797
|
-
role="img"
|
|
1798
|
-
style="vertical-align: -0.125em;"
|
|
1799
|
-
viewBox="0 0 512 512"
|
|
1800
|
-
width="1em"
|
|
1801
|
-
>
|
|
1802
|
-
<path
|
|
1803
|
-
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"
|
|
1804
|
-
/>
|
|
1805
|
-
</svg>
|
|
1806
|
-
</div>
|
|
1807
|
-
<h4
|
|
1808
|
-
class="pf-c-alert__title"
|
|
1809
|
-
>
|
|
1810
|
-
<span
|
|
1811
|
-
class="pf-u-screen-reader"
|
|
1812
|
-
>
|
|
1813
|
-
Success alert:
|
|
1814
|
-
</span>
|
|
1815
|
-
</h4>
|
|
1816
|
-
<div
|
|
1817
|
-
class="pf-c-alert__description"
|
|
1818
|
-
>
|
|
1819
|
-
Some alert
|
|
1820
|
-
</div>
|
|
1821
|
-
</div>
|
|
1822
|
-
</DocumentFragment>
|
|
1823
|
-
`;
|
|
1824
|
-
|
|
1825
|
-
exports[`Alert Alert - success Heading level 1`] = `
|
|
1826
|
-
<DocumentFragment>
|
|
1827
|
-
<div
|
|
1828
|
-
aria-label="Success Alert"
|
|
1829
|
-
class="pf-c-alert pf-m-success"
|
|
1830
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-3"
|
|
1831
|
-
data-ouia-component-type="PF4/Alert"
|
|
1832
|
-
data-ouia-safe="true"
|
|
1833
|
-
>
|
|
1834
|
-
<div
|
|
1835
|
-
class="pf-c-alert__icon"
|
|
1836
|
-
>
|
|
1837
|
-
<svg
|
|
1838
|
-
aria-hidden="true"
|
|
1839
|
-
fill="currentColor"
|
|
1840
|
-
height="1em"
|
|
1841
|
-
role="img"
|
|
1842
|
-
style="vertical-align: -0.125em;"
|
|
1843
|
-
viewBox="0 0 512 512"
|
|
1844
|
-
width="1em"
|
|
1845
|
-
>
|
|
1846
|
-
<path
|
|
1847
|
-
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"
|
|
1848
|
-
/>
|
|
1849
|
-
</svg>
|
|
1850
|
-
</div>
|
|
1851
|
-
<h1
|
|
1852
|
-
class="pf-c-alert__title"
|
|
1853
|
-
>
|
|
1854
|
-
<span
|
|
1855
|
-
class="pf-u-screen-reader"
|
|
1856
|
-
>
|
|
1857
|
-
Success alert:
|
|
1858
|
-
</span>
|
|
1859
|
-
Some title
|
|
1860
|
-
</h1>
|
|
1861
|
-
<div
|
|
1862
|
-
class="pf-c-alert__description"
|
|
1863
|
-
>
|
|
1864
|
-
Some alert
|
|
1865
|
-
</div>
|
|
1866
|
-
</div>
|
|
1867
|
-
</DocumentFragment>
|
|
1868
|
-
`;
|
|
1869
|
-
|
|
1870
|
-
exports[`Alert Alert - success Title 1`] = `
|
|
1871
|
-
<DocumentFragment>
|
|
1872
|
-
<div
|
|
1873
|
-
aria-label="Success Alert"
|
|
1874
|
-
class="pf-c-alert pf-m-success"
|
|
1875
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-2"
|
|
1876
|
-
data-ouia-component-type="PF4/Alert"
|
|
1877
|
-
data-ouia-safe="true"
|
|
1878
|
-
>
|
|
1879
|
-
<div
|
|
1880
|
-
class="pf-c-alert__icon"
|
|
1881
|
-
>
|
|
1882
|
-
<svg
|
|
1883
|
-
aria-hidden="true"
|
|
1884
|
-
fill="currentColor"
|
|
1885
|
-
height="1em"
|
|
1886
|
-
role="img"
|
|
1887
|
-
style="vertical-align: -0.125em;"
|
|
1888
|
-
viewBox="0 0 512 512"
|
|
1889
|
-
width="1em"
|
|
1890
|
-
>
|
|
1891
|
-
<path
|
|
1892
|
-
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"
|
|
1893
|
-
/>
|
|
1894
|
-
</svg>
|
|
1895
|
-
</div>
|
|
1896
|
-
<h4
|
|
1897
|
-
class="pf-c-alert__title"
|
|
1898
|
-
>
|
|
1899
|
-
<span
|
|
1900
|
-
class="pf-u-screen-reader"
|
|
1901
|
-
>
|
|
1902
|
-
Success alert:
|
|
1903
|
-
</span>
|
|
1904
|
-
Some title
|
|
1905
|
-
</h4>
|
|
1906
|
-
<div
|
|
1907
|
-
class="pf-c-alert__description"
|
|
1908
|
-
>
|
|
1909
|
-
Some alert
|
|
1910
|
-
</div>
|
|
1911
|
-
</div>
|
|
1912
|
-
</DocumentFragment>
|
|
1913
|
-
`;
|
|
1914
|
-
|
|
1915
|
-
exports[`Alert Alert - success Toast alerts match snapsnot 1`] = `
|
|
1916
|
-
<DocumentFragment>
|
|
1917
|
-
<div
|
|
1918
|
-
aria-atomic="false"
|
|
1919
|
-
aria-label="success toast alert"
|
|
1920
|
-
aria-live="polite"
|
|
1921
|
-
class="pf-c-alert pf-m-success"
|
|
1922
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-11"
|
|
1923
|
-
data-ouia-component-type="PF4/Alert"
|
|
1924
|
-
data-ouia-safe="true"
|
|
1925
|
-
>
|
|
1926
|
-
<div
|
|
1927
|
-
class="pf-c-alert__icon"
|
|
1928
|
-
>
|
|
1929
|
-
<svg
|
|
1930
|
-
aria-hidden="true"
|
|
1931
|
-
fill="currentColor"
|
|
1932
|
-
height="1em"
|
|
1933
|
-
role="img"
|
|
1934
|
-
style="vertical-align: -0.125em;"
|
|
1935
|
-
viewBox="0 0 512 512"
|
|
1936
|
-
width="1em"
|
|
1937
|
-
>
|
|
1938
|
-
<path
|
|
1939
|
-
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"
|
|
1940
|
-
/>
|
|
1941
|
-
</svg>
|
|
1942
|
-
</div>
|
|
1943
|
-
<h4
|
|
1944
|
-
class="pf-c-alert__title"
|
|
1945
|
-
>
|
|
1946
|
-
<span
|
|
1947
|
-
class="pf-u-screen-reader"
|
|
1948
|
-
>
|
|
1949
|
-
Success alert:
|
|
1950
|
-
</span>
|
|
1951
|
-
Some title
|
|
1952
|
-
</h4>
|
|
1953
|
-
<div
|
|
1954
|
-
class="pf-c-alert__description"
|
|
1955
|
-
>
|
|
1956
|
-
Some toast alert
|
|
1957
|
-
</div>
|
|
1958
|
-
</div>
|
|
1959
|
-
</DocumentFragment>
|
|
1960
|
-
`;
|
|
1961
|
-
|
|
1962
|
-
exports[`Alert Alert - success expandable variation 1`] = `
|
|
1963
|
-
<DocumentFragment>
|
|
1964
|
-
<div
|
|
1965
|
-
aria-label="Success Alert"
|
|
1966
|
-
class="pf-c-alert pf-m-expandable pf-m-success"
|
|
1967
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-9"
|
|
1968
|
-
data-ouia-component-type="PF4/Alert"
|
|
1969
|
-
data-ouia-safe="true"
|
|
1970
|
-
>
|
|
1971
|
-
<div
|
|
1972
|
-
class="pf-c-alert__toggle"
|
|
1973
|
-
>
|
|
1974
|
-
<button
|
|
1975
|
-
aria-disabled="false"
|
|
1976
|
-
aria-expanded="false"
|
|
1977
|
-
aria-label="Success alert details"
|
|
1978
|
-
class="pf-c-button pf-m-plain"
|
|
1979
|
-
data-ouia-component-id="OUIA-Generated-Button-plain-2"
|
|
1980
|
-
data-ouia-component-type="PF4/Button"
|
|
1981
|
-
data-ouia-safe="true"
|
|
1982
|
-
type="button"
|
|
1983
|
-
>
|
|
1984
|
-
<span
|
|
1985
|
-
class="pf-c-alert__toggle-icon"
|
|
1986
|
-
>
|
|
1987
|
-
<svg
|
|
1988
|
-
aria-hidden="true"
|
|
1989
|
-
fill="currentColor"
|
|
1990
|
-
height="1em"
|
|
1991
|
-
role="img"
|
|
1992
|
-
style="vertical-align: -0.125em;"
|
|
1993
|
-
viewBox="0 0 256 512"
|
|
1994
|
-
width="1em"
|
|
1995
|
-
>
|
|
1996
|
-
<path
|
|
1997
|
-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
|
|
1998
|
-
/>
|
|
1999
|
-
</svg>
|
|
2000
|
-
</span>
|
|
2001
|
-
</button>
|
|
2002
|
-
</div>
|
|
2003
|
-
<div
|
|
2004
|
-
class="pf-c-alert__icon"
|
|
2005
|
-
>
|
|
2006
|
-
<svg
|
|
2007
|
-
aria-hidden="true"
|
|
2008
|
-
fill="currentColor"
|
|
2009
|
-
height="1em"
|
|
2010
|
-
role="img"
|
|
2011
|
-
style="vertical-align: -0.125em;"
|
|
2012
|
-
viewBox="0 0 512 512"
|
|
2013
|
-
width="1em"
|
|
2014
|
-
>
|
|
2015
|
-
<path
|
|
2016
|
-
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"
|
|
2017
|
-
/>
|
|
2018
|
-
</svg>
|
|
2019
|
-
</div>
|
|
2020
|
-
<h4
|
|
2021
|
-
class="pf-c-alert__title"
|
|
2022
|
-
>
|
|
2023
|
-
<span
|
|
2024
|
-
class="pf-u-screen-reader"
|
|
2025
|
-
>
|
|
2026
|
-
Success alert:
|
|
2027
|
-
</span>
|
|
2028
|
-
Some title
|
|
2029
|
-
</h4>
|
|
2030
|
-
</div>
|
|
2031
|
-
</DocumentFragment>
|
|
2032
|
-
`;
|
|
2033
|
-
|
|
2034
|
-
exports[`Alert Alert - success inline variation 1`] = `
|
|
2035
|
-
<DocumentFragment>
|
|
2036
|
-
<div
|
|
2037
|
-
aria-label="Success Alert"
|
|
2038
|
-
class="pf-c-alert pf-m-inline pf-m-success"
|
|
2039
|
-
data-ouia-component-id="OUIA-Generated-Alert-success-8"
|
|
2040
|
-
data-ouia-component-type="PF4/Alert"
|
|
2041
|
-
data-ouia-safe="true"
|
|
2042
|
-
>
|
|
2043
|
-
<div
|
|
2044
|
-
class="pf-c-alert__icon"
|
|
2045
|
-
>
|
|
2046
|
-
<svg
|
|
2047
|
-
aria-hidden="true"
|
|
2048
|
-
fill="currentColor"
|
|
2049
|
-
height="1em"
|
|
2050
|
-
role="img"
|
|
2051
|
-
style="vertical-align: -0.125em;"
|
|
2052
|
-
viewBox="0 0 512 512"
|
|
2053
|
-
width="1em"
|
|
2054
|
-
>
|
|
2055
|
-
<path
|
|
2056
|
-
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"
|
|
2057
|
-
/>
|
|
2058
|
-
</svg>
|
|
2059
|
-
</div>
|
|
2060
|
-
<h4
|
|
2061
|
-
class="pf-c-alert__title"
|
|
2062
|
-
>
|
|
2063
|
-
<span
|
|
2064
|
-
class="pf-u-screen-reader"
|
|
2065
|
-
>
|
|
2066
|
-
Success alert:
|
|
2067
|
-
</span>
|
|
2068
|
-
Some title
|
|
2069
|
-
</h4>
|
|
2070
|
-
<div
|
|
2071
|
-
class="pf-c-alert__description"
|
|
2072
|
-
>
|
|
2073
|
-
Some alert
|
|
2074
|
-
</div>
|
|
2075
|
-
</div>
|
|
2076
|
-
</DocumentFragment>
|
|
2077
|
-
`;
|
|
2078
|
-
|
|
2079
|
-
exports[`Alert Alert - warning Action Link 1`] = `
|
|
2080
|
-
<DocumentFragment>
|
|
2081
|
-
<div
|
|
2082
|
-
aria-label="Warning Alert"
|
|
2083
|
-
class="pf-c-alert pf-m-warning"
|
|
2084
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-4"
|
|
2085
|
-
data-ouia-component-type="PF4/Alert"
|
|
2086
|
-
data-ouia-safe="true"
|
|
2087
|
-
>
|
|
2088
|
-
<div
|
|
2089
|
-
class="pf-c-alert__icon"
|
|
2090
|
-
>
|
|
2091
|
-
<svg
|
|
2092
|
-
aria-hidden="true"
|
|
2093
|
-
fill="currentColor"
|
|
2094
|
-
height="1em"
|
|
2095
|
-
role="img"
|
|
2096
|
-
style="vertical-align: -0.125em;"
|
|
2097
|
-
viewBox="0 0 576 512"
|
|
2098
|
-
width="1em"
|
|
2099
|
-
>
|
|
2100
|
-
<path
|
|
2101
|
-
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"
|
|
2102
|
-
/>
|
|
2103
|
-
</svg>
|
|
2104
|
-
</div>
|
|
2105
|
-
<h4
|
|
2106
|
-
class="pf-c-alert__title"
|
|
2107
|
-
>
|
|
2108
|
-
<span
|
|
2109
|
-
class="pf-u-screen-reader"
|
|
2110
|
-
>
|
|
2111
|
-
Warning alert:
|
|
2112
|
-
</span>
|
|
2113
|
-
</h4>
|
|
2114
|
-
<div
|
|
2115
|
-
class="pf-c-alert__description"
|
|
2116
|
-
>
|
|
2117
|
-
Some alert
|
|
2118
|
-
</div>
|
|
2119
|
-
<div
|
|
2120
|
-
class="pf-c-alert__action-group"
|
|
2121
|
-
>
|
|
2122
|
-
<button
|
|
2123
|
-
aria-disabled="false"
|
|
2124
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
2125
|
-
data-ouia-component-id="OUIA-Generated-Button-link-7"
|
|
2126
|
-
data-ouia-component-type="PF4/Button"
|
|
2127
|
-
data-ouia-safe="true"
|
|
2128
|
-
type="button"
|
|
2129
|
-
>
|
|
2130
|
-
test
|
|
2131
|
-
</button>
|
|
2132
|
-
</div>
|
|
2133
|
-
</div>
|
|
2134
|
-
</DocumentFragment>
|
|
2135
|
-
`;
|
|
2136
|
-
|
|
2137
|
-
exports[`Alert Alert - warning Action and Title 1`] = `
|
|
2138
|
-
<DocumentFragment>
|
|
2139
|
-
<div
|
|
2140
|
-
aria-label="Warning Alert"
|
|
2141
|
-
class="pf-c-alert pf-m-warning"
|
|
2142
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-6"
|
|
2143
|
-
data-ouia-component-type="PF4/Alert"
|
|
2144
|
-
data-ouia-safe="true"
|
|
2145
|
-
>
|
|
2146
|
-
<div
|
|
2147
|
-
class="pf-c-alert__icon"
|
|
2148
|
-
>
|
|
2149
|
-
<svg
|
|
2150
|
-
aria-hidden="true"
|
|
2151
|
-
fill="currentColor"
|
|
2152
|
-
height="1em"
|
|
2153
|
-
role="img"
|
|
2154
|
-
style="vertical-align: -0.125em;"
|
|
2155
|
-
viewBox="0 0 576 512"
|
|
2156
|
-
width="1em"
|
|
2157
|
-
>
|
|
2158
|
-
<path
|
|
2159
|
-
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"
|
|
2160
|
-
/>
|
|
2161
|
-
</svg>
|
|
2162
|
-
</div>
|
|
2163
|
-
<h4
|
|
2164
|
-
class="pf-c-alert__title"
|
|
2165
|
-
>
|
|
2166
|
-
<span
|
|
2167
|
-
class="pf-u-screen-reader"
|
|
2168
|
-
>
|
|
2169
|
-
Warning alert:
|
|
2170
|
-
</span>
|
|
2171
|
-
Some title
|
|
2172
|
-
</h4>
|
|
2173
|
-
<div
|
|
2174
|
-
class="pf-c-alert__description"
|
|
2175
|
-
>
|
|
2176
|
-
Some alert
|
|
2177
|
-
</div>
|
|
2178
|
-
<div
|
|
2179
|
-
class="pf-c-alert__action-group"
|
|
2180
|
-
>
|
|
2181
|
-
<button
|
|
2182
|
-
aria-disabled="false"
|
|
2183
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
2184
|
-
data-ouia-component-id="OUIA-Generated-Button-link-8"
|
|
2185
|
-
data-ouia-component-type="PF4/Button"
|
|
2186
|
-
data-ouia-safe="true"
|
|
2187
|
-
type="button"
|
|
2188
|
-
>
|
|
2189
|
-
test
|
|
2190
|
-
</button>
|
|
2191
|
-
</div>
|
|
2192
|
-
</div>
|
|
2193
|
-
</DocumentFragment>
|
|
2194
|
-
`;
|
|
2195
|
-
|
|
2196
|
-
exports[`Alert Alert - warning Custom aria label 1`] = `
|
|
2197
|
-
<DocumentFragment>
|
|
2198
|
-
<div
|
|
2199
|
-
aria-label="Custom aria label for warning"
|
|
2200
|
-
class="pf-c-alert pf-m-warning"
|
|
2201
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-7"
|
|
2202
|
-
data-ouia-component-type="PF4/Alert"
|
|
2203
|
-
data-ouia-safe="true"
|
|
2204
|
-
>
|
|
2205
|
-
<div
|
|
2206
|
-
class="pf-c-alert__icon"
|
|
2207
|
-
>
|
|
2208
|
-
<svg
|
|
2209
|
-
aria-hidden="true"
|
|
2210
|
-
fill="currentColor"
|
|
2211
|
-
height="1em"
|
|
2212
|
-
role="img"
|
|
2213
|
-
style="vertical-align: -0.125em;"
|
|
2214
|
-
viewBox="0 0 576 512"
|
|
2215
|
-
width="1em"
|
|
2216
|
-
>
|
|
2217
|
-
<path
|
|
2218
|
-
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"
|
|
2219
|
-
/>
|
|
2220
|
-
</svg>
|
|
2221
|
-
</div>
|
|
2222
|
-
<h4
|
|
2223
|
-
class="pf-c-alert__title"
|
|
2224
|
-
>
|
|
2225
|
-
<span
|
|
2226
|
-
class="pf-u-screen-reader"
|
|
2227
|
-
>
|
|
2228
|
-
Warning alert:
|
|
2229
|
-
</span>
|
|
2230
|
-
Some title
|
|
2231
|
-
</h4>
|
|
2232
|
-
<div
|
|
2233
|
-
class="pf-c-alert__description"
|
|
2234
|
-
>
|
|
2235
|
-
Some alert
|
|
2236
|
-
</div>
|
|
2237
|
-
<div
|
|
2238
|
-
class="pf-c-alert__action-group"
|
|
2239
|
-
>
|
|
2240
|
-
<button
|
|
2241
|
-
aria-disabled="false"
|
|
2242
|
-
class="pf-c-button pf-m-link pf-m-inline"
|
|
2243
|
-
data-ouia-component-id="OUIA-Generated-Button-link-9"
|
|
2244
|
-
data-ouia-component-type="PF4/Button"
|
|
2245
|
-
data-ouia-safe="true"
|
|
2246
|
-
type="button"
|
|
2247
|
-
>
|
|
2248
|
-
test
|
|
2249
|
-
</button>
|
|
2250
|
-
</div>
|
|
2251
|
-
</div>
|
|
2252
|
-
</DocumentFragment>
|
|
2253
|
-
`;
|
|
2254
|
-
|
|
2255
|
-
exports[`Alert Alert - warning Custom icon 1`] = `
|
|
2256
|
-
<DocumentFragment>
|
|
2257
|
-
<div
|
|
2258
|
-
aria-label="warning custom icon alert"
|
|
2259
|
-
class="pf-c-alert pf-m-warning"
|
|
2260
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-15"
|
|
2261
|
-
data-ouia-component-type="PF4/Alert"
|
|
2262
|
-
data-ouia-safe="true"
|
|
2263
|
-
>
|
|
2264
|
-
<div
|
|
2265
|
-
class="pf-c-alert__icon"
|
|
2266
|
-
>
|
|
2267
|
-
<svg
|
|
2268
|
-
aria-hidden="true"
|
|
2269
|
-
fill="currentColor"
|
|
2270
|
-
height="1em"
|
|
2271
|
-
role="img"
|
|
2272
|
-
style="vertical-align: -0.125em;"
|
|
2273
|
-
viewBox="0 0 640 512"
|
|
2274
|
-
width="1em"
|
|
2275
|
-
>
|
|
2276
|
-
<path
|
|
2277
|
-
d="M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"
|
|
2278
|
-
/>
|
|
2279
|
-
</svg>
|
|
2280
|
-
</div>
|
|
2281
|
-
<h4
|
|
2282
|
-
class="pf-c-alert__title"
|
|
2283
|
-
>
|
|
2284
|
-
<span
|
|
2285
|
-
class="pf-u-screen-reader"
|
|
2286
|
-
>
|
|
2287
|
-
Warning alert:
|
|
2288
|
-
</span>
|
|
2289
|
-
custom icon alert title
|
|
2290
|
-
</h4>
|
|
2291
|
-
<div
|
|
2292
|
-
class="pf-c-alert__description"
|
|
2293
|
-
>
|
|
2294
|
-
Some noisy alert
|
|
2295
|
-
</div>
|
|
2296
|
-
</div>
|
|
2297
|
-
</DocumentFragment>
|
|
2298
|
-
`;
|
|
2299
|
-
|
|
2300
|
-
exports[`Alert Alert - warning Description 1`] = `
|
|
2301
|
-
<DocumentFragment>
|
|
2302
|
-
<div
|
|
2303
|
-
aria-label="Warning Alert"
|
|
2304
|
-
class="pf-c-alert pf-m-warning"
|
|
2305
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-1"
|
|
2306
|
-
data-ouia-component-type="PF4/Alert"
|
|
2307
|
-
data-ouia-safe="true"
|
|
2308
|
-
>
|
|
2309
|
-
<div
|
|
2310
|
-
class="pf-c-alert__icon"
|
|
2311
|
-
>
|
|
2312
|
-
<svg
|
|
2313
|
-
aria-hidden="true"
|
|
2314
|
-
fill="currentColor"
|
|
2315
|
-
height="1em"
|
|
2316
|
-
role="img"
|
|
2317
|
-
style="vertical-align: -0.125em;"
|
|
2318
|
-
viewBox="0 0 576 512"
|
|
2319
|
-
width="1em"
|
|
2320
|
-
>
|
|
2321
|
-
<path
|
|
2322
|
-
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"
|
|
2323
|
-
/>
|
|
2324
|
-
</svg>
|
|
2325
|
-
</div>
|
|
2326
|
-
<h4
|
|
2327
|
-
class="pf-c-alert__title"
|
|
2328
|
-
>
|
|
2329
|
-
<span
|
|
2330
|
-
class="pf-u-screen-reader"
|
|
2331
|
-
>
|
|
2332
|
-
Warning alert:
|
|
2333
|
-
</span>
|
|
2334
|
-
</h4>
|
|
2335
|
-
<div
|
|
2336
|
-
class="pf-c-alert__description"
|
|
2337
|
-
>
|
|
2338
|
-
Some alert
|
|
2339
|
-
</div>
|
|
2340
|
-
</div>
|
|
2341
|
-
</DocumentFragment>
|
|
2342
|
-
`;
|
|
2343
|
-
|
|
2344
|
-
exports[`Alert Alert - warning Heading level 1`] = `
|
|
2345
|
-
<DocumentFragment>
|
|
2346
|
-
<div
|
|
2347
|
-
aria-label="Warning Alert"
|
|
2348
|
-
class="pf-c-alert pf-m-warning"
|
|
2349
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-3"
|
|
2350
|
-
data-ouia-component-type="PF4/Alert"
|
|
2351
|
-
data-ouia-safe="true"
|
|
2352
|
-
>
|
|
2353
|
-
<div
|
|
2354
|
-
class="pf-c-alert__icon"
|
|
2355
|
-
>
|
|
2356
|
-
<svg
|
|
2357
|
-
aria-hidden="true"
|
|
2358
|
-
fill="currentColor"
|
|
2359
|
-
height="1em"
|
|
2360
|
-
role="img"
|
|
2361
|
-
style="vertical-align: -0.125em;"
|
|
2362
|
-
viewBox="0 0 576 512"
|
|
2363
|
-
width="1em"
|
|
2364
|
-
>
|
|
2365
|
-
<path
|
|
2366
|
-
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"
|
|
2367
|
-
/>
|
|
2368
|
-
</svg>
|
|
2369
|
-
</div>
|
|
2370
|
-
<h1
|
|
2371
|
-
class="pf-c-alert__title"
|
|
2372
|
-
>
|
|
2373
|
-
<span
|
|
2374
|
-
class="pf-u-screen-reader"
|
|
2375
|
-
>
|
|
2376
|
-
Warning alert:
|
|
2377
|
-
</span>
|
|
2378
|
-
Some title
|
|
2379
|
-
</h1>
|
|
2380
|
-
<div
|
|
2381
|
-
class="pf-c-alert__description"
|
|
2382
|
-
>
|
|
2383
|
-
Some alert
|
|
2384
|
-
</div>
|
|
2385
|
-
</div>
|
|
2386
|
-
</DocumentFragment>
|
|
2387
|
-
`;
|
|
2388
|
-
|
|
2389
|
-
exports[`Alert Alert - warning Title 1`] = `
|
|
2390
|
-
<DocumentFragment>
|
|
2391
|
-
<div
|
|
2392
|
-
aria-label="Warning Alert"
|
|
2393
|
-
class="pf-c-alert pf-m-warning"
|
|
2394
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-2"
|
|
2395
|
-
data-ouia-component-type="PF4/Alert"
|
|
2396
|
-
data-ouia-safe="true"
|
|
2397
|
-
>
|
|
2398
|
-
<div
|
|
2399
|
-
class="pf-c-alert__icon"
|
|
2400
|
-
>
|
|
2401
|
-
<svg
|
|
2402
|
-
aria-hidden="true"
|
|
2403
|
-
fill="currentColor"
|
|
2404
|
-
height="1em"
|
|
2405
|
-
role="img"
|
|
2406
|
-
style="vertical-align: -0.125em;"
|
|
2407
|
-
viewBox="0 0 576 512"
|
|
2408
|
-
width="1em"
|
|
2409
|
-
>
|
|
2410
|
-
<path
|
|
2411
|
-
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"
|
|
2412
|
-
/>
|
|
2413
|
-
</svg>
|
|
2414
|
-
</div>
|
|
2415
|
-
<h4
|
|
2416
|
-
class="pf-c-alert__title"
|
|
2417
|
-
>
|
|
2418
|
-
<span
|
|
2419
|
-
class="pf-u-screen-reader"
|
|
2420
|
-
>
|
|
2421
|
-
Warning alert:
|
|
2422
|
-
</span>
|
|
2423
|
-
Some title
|
|
2424
|
-
</h4>
|
|
2425
|
-
<div
|
|
2426
|
-
class="pf-c-alert__description"
|
|
2427
|
-
>
|
|
2428
|
-
Some alert
|
|
2429
|
-
</div>
|
|
2430
|
-
</div>
|
|
2431
|
-
</DocumentFragment>
|
|
2432
|
-
`;
|
|
2433
|
-
|
|
2434
|
-
exports[`Alert Alert - warning Toast alerts match snapsnot 1`] = `
|
|
3
|
+
exports[`Matches snapshot 1`] = `
|
|
2435
4
|
<DocumentFragment>
|
|
2436
5
|
<div
|
|
2437
6
|
aria-atomic="false"
|
|
2438
|
-
aria-label="
|
|
7
|
+
aria-label="Toast alert label"
|
|
2439
8
|
aria-live="polite"
|
|
2440
|
-
class="pf-c-alert
|
|
2441
|
-
data-ouia-component-id="
|
|
9
|
+
class="pf-c-alert"
|
|
10
|
+
data-ouia-component-id="ouia-id"
|
|
2442
11
|
data-ouia-component-type="PF4/Alert"
|
|
2443
12
|
data-ouia-safe="true"
|
|
2444
13
|
>
|
|
2445
|
-
<div
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
role="img"
|
|
2453
|
-
style="vertical-align: -0.125em;"
|
|
2454
|
-
viewBox="0 0 576 512"
|
|
2455
|
-
width="1em"
|
|
2456
|
-
>
|
|
2457
|
-
<path
|
|
2458
|
-
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"
|
|
2459
|
-
/>
|
|
2460
|
-
</svg>
|
|
14
|
+
<div>
|
|
15
|
+
<p>
|
|
16
|
+
custom icon:
|
|
17
|
+
</p>
|
|
18
|
+
<p>
|
|
19
|
+
variant: default
|
|
20
|
+
</p>
|
|
2461
21
|
</div>
|
|
2462
22
|
<h4
|
|
2463
23
|
class="pf-c-alert__title"
|
|
@@ -2465,7 +25,7 @@ exports[`Alert Alert - warning Toast alerts match snapsnot 1`] = `
|
|
|
2465
25
|
<span
|
|
2466
26
|
class="pf-u-screen-reader"
|
|
2467
27
|
>
|
|
2468
|
-
|
|
28
|
+
Default alert:
|
|
2469
29
|
</span>
|
|
2470
30
|
Some title
|
|
2471
31
|
</h4>
|
|
@@ -2477,120 +37,3 @@ exports[`Alert Alert - warning Toast alerts match snapsnot 1`] = `
|
|
|
2477
37
|
</div>
|
|
2478
38
|
</DocumentFragment>
|
|
2479
39
|
`;
|
|
2480
|
-
|
|
2481
|
-
exports[`Alert Alert - warning expandable variation 1`] = `
|
|
2482
|
-
<DocumentFragment>
|
|
2483
|
-
<div
|
|
2484
|
-
aria-label="Warning Alert"
|
|
2485
|
-
class="pf-c-alert pf-m-expandable pf-m-warning"
|
|
2486
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-9"
|
|
2487
|
-
data-ouia-component-type="PF4/Alert"
|
|
2488
|
-
data-ouia-safe="true"
|
|
2489
|
-
>
|
|
2490
|
-
<div
|
|
2491
|
-
class="pf-c-alert__toggle"
|
|
2492
|
-
>
|
|
2493
|
-
<button
|
|
2494
|
-
aria-disabled="false"
|
|
2495
|
-
aria-expanded="false"
|
|
2496
|
-
aria-label="Warning alert details"
|
|
2497
|
-
class="pf-c-button pf-m-plain"
|
|
2498
|
-
data-ouia-component-id="OUIA-Generated-Button-plain-8"
|
|
2499
|
-
data-ouia-component-type="PF4/Button"
|
|
2500
|
-
data-ouia-safe="true"
|
|
2501
|
-
type="button"
|
|
2502
|
-
>
|
|
2503
|
-
<span
|
|
2504
|
-
class="pf-c-alert__toggle-icon"
|
|
2505
|
-
>
|
|
2506
|
-
<svg
|
|
2507
|
-
aria-hidden="true"
|
|
2508
|
-
fill="currentColor"
|
|
2509
|
-
height="1em"
|
|
2510
|
-
role="img"
|
|
2511
|
-
style="vertical-align: -0.125em;"
|
|
2512
|
-
viewBox="0 0 256 512"
|
|
2513
|
-
width="1em"
|
|
2514
|
-
>
|
|
2515
|
-
<path
|
|
2516
|
-
d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"
|
|
2517
|
-
/>
|
|
2518
|
-
</svg>
|
|
2519
|
-
</span>
|
|
2520
|
-
</button>
|
|
2521
|
-
</div>
|
|
2522
|
-
<div
|
|
2523
|
-
class="pf-c-alert__icon"
|
|
2524
|
-
>
|
|
2525
|
-
<svg
|
|
2526
|
-
aria-hidden="true"
|
|
2527
|
-
fill="currentColor"
|
|
2528
|
-
height="1em"
|
|
2529
|
-
role="img"
|
|
2530
|
-
style="vertical-align: -0.125em;"
|
|
2531
|
-
viewBox="0 0 576 512"
|
|
2532
|
-
width="1em"
|
|
2533
|
-
>
|
|
2534
|
-
<path
|
|
2535
|
-
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"
|
|
2536
|
-
/>
|
|
2537
|
-
</svg>
|
|
2538
|
-
</div>
|
|
2539
|
-
<h4
|
|
2540
|
-
class="pf-c-alert__title"
|
|
2541
|
-
>
|
|
2542
|
-
<span
|
|
2543
|
-
class="pf-u-screen-reader"
|
|
2544
|
-
>
|
|
2545
|
-
Warning alert:
|
|
2546
|
-
</span>
|
|
2547
|
-
Some title
|
|
2548
|
-
</h4>
|
|
2549
|
-
</div>
|
|
2550
|
-
</DocumentFragment>
|
|
2551
|
-
`;
|
|
2552
|
-
|
|
2553
|
-
exports[`Alert Alert - warning inline variation 1`] = `
|
|
2554
|
-
<DocumentFragment>
|
|
2555
|
-
<div
|
|
2556
|
-
aria-label="Warning Alert"
|
|
2557
|
-
class="pf-c-alert pf-m-inline pf-m-warning"
|
|
2558
|
-
data-ouia-component-id="OUIA-Generated-Alert-warning-8"
|
|
2559
|
-
data-ouia-component-type="PF4/Alert"
|
|
2560
|
-
data-ouia-safe="true"
|
|
2561
|
-
>
|
|
2562
|
-
<div
|
|
2563
|
-
class="pf-c-alert__icon"
|
|
2564
|
-
>
|
|
2565
|
-
<svg
|
|
2566
|
-
aria-hidden="true"
|
|
2567
|
-
fill="currentColor"
|
|
2568
|
-
height="1em"
|
|
2569
|
-
role="img"
|
|
2570
|
-
style="vertical-align: -0.125em;"
|
|
2571
|
-
viewBox="0 0 576 512"
|
|
2572
|
-
width="1em"
|
|
2573
|
-
>
|
|
2574
|
-
<path
|
|
2575
|
-
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"
|
|
2576
|
-
/>
|
|
2577
|
-
</svg>
|
|
2578
|
-
</div>
|
|
2579
|
-
<h4
|
|
2580
|
-
class="pf-c-alert__title"
|
|
2581
|
-
>
|
|
2582
|
-
<span
|
|
2583
|
-
class="pf-u-screen-reader"
|
|
2584
|
-
>
|
|
2585
|
-
Warning alert:
|
|
2586
|
-
</span>
|
|
2587
|
-
Some title
|
|
2588
|
-
</h4>
|
|
2589
|
-
<div
|
|
2590
|
-
class="pf-c-alert__description"
|
|
2591
|
-
>
|
|
2592
|
-
Some alert
|
|
2593
|
-
</div>
|
|
2594
|
-
</div>
|
|
2595
|
-
</DocumentFragment>
|
|
2596
|
-
`;
|