@patternfly/patternfly 6.6.0-prerelease.1 → 6.6.0-prerelease.10
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/assets/images/img_avatar-rhds.svg +22 -0
- package/assets/images/pf-logo-avatar.jpg +0 -0
- package/base/normalize.scss +2 -0
- package/base/patternfly-common.css +2 -2
- package/base/patternfly-common.scss +1 -1
- package/base/patternfly-fa-icons.css +3 -3
- package/base/patternfly-fa-icons.scss +3 -3
- package/base/patternfly-variables.css +58 -56
- package/base/reset.scss +2 -0
- package/base/tokens/tokens-charts-dark.scss +1 -1
- package/base/tokens/tokens-charts-highcontrast-dark.scss +1 -1
- package/base/tokens/tokens-charts-highcontrast.scss +1 -1
- package/base/tokens/tokens-charts.scss +1 -1
- package/base/tokens/tokens-dark.scss +9 -9
- package/base/tokens/tokens-default.scss +8 -8
- package/base/tokens/tokens-felt-dark.scss +1 -1
- package/base/tokens/tokens-felt-glass-dark.scss +8 -8
- package/base/tokens/tokens-felt-glass.scss +10 -9
- package/base/tokens/tokens-felt-highcontrast-dark.scss +1 -1
- package/base/tokens/tokens-felt-highcontrast.scss +1 -1
- package/base/tokens/tokens-felt.scss +1 -1
- package/base/tokens/tokens-glass-dark.scss +8 -8
- package/base/tokens/tokens-glass.scss +10 -9
- package/base/tokens/tokens-highcontrast-dark.scss +8 -8
- package/base/tokens/tokens-highcontrast.scss +7 -7
- package/base/tokens/tokens-palette.scss +1 -1
- package/base/tokens/tokens-redhat-highcontrast.scss +6 -6
- package/components/AboutModalBox/about-modal-box.css +1 -1
- package/components/AboutModalBox/about-modal-box.scss +1 -1
- package/components/Accordion/accordion.css +3 -3
- package/components/Accordion/accordion.scss +3 -3
- package/components/Alert/alert-group.css +1 -1
- package/components/Alert/alert-group.scss +1 -1
- package/components/Alert/alert.css +4 -3
- package/components/Alert/alert.scss +4 -3
- package/components/Avatar/avatar.css +144 -0
- package/components/Avatar/avatar.scss +161 -0
- package/components/Breadcrumb/breadcrumb.css +1 -1
- package/components/Breadcrumb/breadcrumb.scss +1 -1
- package/components/Button/button.css +9 -6
- package/components/Button/button.scss +10 -6
- package/components/Card/card.css +2 -2
- package/components/Card/card.scss +3 -3
- package/components/Check/check.css +1 -1
- package/components/Check/check.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +2 -2
- package/components/ClipboardCopy/clipboard-copy.scss +2 -2
- package/components/Compass/compass.css +7 -3
- package/components/Compass/compass.scss +7 -3
- package/components/Content/content.css +2 -2
- package/components/Content/content.scss +2 -2
- package/components/DataList/data-list.css +1 -1
- package/components/DataList/data-list.scss +1 -1
- package/components/DescriptionList/description-list.css +0 -1
- package/components/DescriptionList/description-list.scss +0 -1
- package/components/Drawer/drawer.css +2 -2
- package/components/Drawer/drawer.scss +2 -2
- package/components/DualListSelector/dual-list-selector.css +6 -6
- package/components/DualListSelector/dual-list-selector.scss +6 -6
- package/components/ExpandableSection/expandable-section.css +3 -3
- package/components/ExpandableSection/expandable-section.scss +3 -3
- package/components/Form/form.css +12 -12
- package/components/Form/form.scss +6 -6
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +3 -1
- package/components/Hero/hero.css +1 -1
- package/components/Hero/hero.scss +1 -1
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +1 -1
- package/components/InputGroup/input-group.css +5 -5
- package/components/InputGroup/input-group.scss +5 -5
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/Label/label.css +1 -1
- package/components/Label/label.scss +1 -1
- package/components/Login/login.css +2 -2
- package/components/Login/login.scss +2 -2
- package/components/Masthead/masthead.css +2 -2
- package/components/Masthead/masthead.scss +2 -2
- package/components/Menu/menu.css +4 -4
- package/components/Menu/menu.scss +4 -4
- package/components/MenuToggle/menu-toggle.css +4 -1
- package/components/MenuToggle/menu-toggle.scss +5 -2
- package/components/ModalBox/modal-box.css +1 -1
- package/components/ModalBox/modal-box.scss +1 -1
- package/components/Nav/nav.css +5 -5
- package/components/Nav/nav.scss +5 -5
- package/components/NotificationDrawer/notification-drawer.css +5 -5
- package/components/NotificationDrawer/notification-drawer.scss +5 -5
- package/components/Page/page.css +26 -21
- package/components/Page/page.scss +30 -25
- package/components/Popover/popover.css +1 -1
- package/components/Popover/popover.scss +2 -2
- package/components/Progress/progress.css +3 -3
- package/components/Progress/progress.scss +3 -6
- package/components/ProgressStepper/progress-stepper.css +1 -1
- package/components/Radio/radio.css +1 -1
- package/components/Radio/radio.scss +1 -1
- package/components/Sidebar/sidebar.css +4 -7
- package/components/Sidebar/sidebar.scss +9 -9
- package/components/Spinner/spinner.css +2 -2
- package/components/Spinner/spinner.scss +2 -2
- package/components/Switch/switch.css +1 -1
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-tree-view.css +10 -10
- package/components/Table/table-tree-view.scss +2 -2
- package/components/Table/table.css +37 -10
- package/components/Table/table.scss +53 -14
- package/components/Tabs/tabs.css +3 -3
- package/components/Tabs/tabs.scss +3 -3
- package/components/TextInputGroup/text-input-group.css +1 -1
- package/components/TextInputGroup/text-input-group.scss +1 -1
- package/components/Title/title.css +1 -1
- package/components/Title/title.scss +1 -1
- package/components/Toolbar/toolbar.css +1 -1
- package/components/Toolbar/toolbar.scss +1 -1
- package/components/Tooltip/tooltip.css +1 -1
- package/components/Tooltip/tooltip.scss +2 -2
- package/components/TreeView/tree-view.css +5 -5
- package/components/TreeView/tree-view.scss +5 -5
- package/components/Wizard/wizard.css +5 -5
- package/components/Wizard/wizard.scss +5 -5
- package/components/_index.css +337 -154
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +1 -1
- package/docs/components/Accordion/examples/Accordion.md +30 -30
- package/docs/components/ActionList/examples/ActionList.md +11 -11
- package/docs/components/Alert/examples/Alert.md +54 -54
- package/docs/components/Avatar/examples/Avatar.css +6 -0
- package/docs/components/Avatar/examples/Avatar.md +414 -40
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Banner/examples/Banner.md +10 -10
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +25 -25
- package/docs/components/Button/examples/Button.md +184 -184
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +16 -16
- package/docs/components/Card/examples/Card.md +14 -14
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +18 -18
- package/docs/components/DataList/examples/DataList.md +34 -34
- package/docs/components/DatePicker/examples/DatePicker.md +6 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +25 -25
- package/docs/components/Drawer/examples/Drawer.md +23 -23
- package/docs/components/DualListSelector/examples/DualListSelector.md +89 -89
- package/docs/components/EmptyState/examples/EmptyState.md +6 -6
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +7 -7
- package/docs/components/Form/examples/Form.md +6 -6
- package/docs/components/Hint/examples/Hint.md +3 -3
- package/docs/components/Icon/examples/Icon.md +9 -9
- package/docs/components/InlineEdit/examples/InlineEdit.md +26 -26
- package/docs/components/InputGroup/examples/InputGroup.md +4 -4
- package/docs/components/JumpLinks/examples/JumpLinks.md +4 -4
- package/docs/components/Label/examples/Label.md +218 -218
- package/docs/components/Login/examples/Login.md +4 -4
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +129 -129
- package/docs/components/MenuToggle/examples/MenuToggle.md +271 -232
- package/docs/components/ModalBox/examples/ModalBox.md +24 -24
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +12 -12
- package/docs/components/Nav/examples/Navigation.md +66 -66
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +83 -83
- package/docs/components/OverflowMenu/examples/overflow-menu.md +11 -11
- package/docs/components/Page/examples/Page.md +1 -1
- package/docs/components/Pagination/examples/Pagination.md +92 -92
- package/docs/components/Popover/examples/Popover.md +22 -22
- package/docs/components/Progress/examples/Progress.md +7 -7
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +21 -21
- package/docs/components/Sidebar/examples/Sidebar.md +3 -1
- package/docs/components/Slider/examples/Slider.md +4 -4
- package/docs/components/Table/examples/Table.css +6 -0
- package/docs/components/Table/examples/Table.md +807 -527
- package/docs/components/Tabs/examples/Tabs.md +378 -378
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +46 -46
- package/docs/components/ToggleGroup/examples/toggle-group.md +15 -15
- package/docs/components/Toolbar/examples/Toolbar.md +117 -117
- package/docs/components/TreeView/examples/TreeView.md +104 -104
- package/docs/components/Wizard/examples/Wizard.md +40 -40
- package/docs/demos/AboutModal/examples/AboutModal.md +9 -9
- package/docs/demos/Alert/examples/Alert.md +32 -32
- package/docs/demos/BackToTop/examples/BackToTop.md +9 -9
- package/docs/demos/Banner/examples/Banner.md +16 -16
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +78 -78
- package/docs/demos/CardView/examples/CardView.md +38 -38
- package/docs/demos/Compass/examples/Compass.md +294 -238
- package/docs/demos/Dashboard/examples/Dashboard.md +48 -48
- package/docs/demos/DataList/examples/DataList.md +101 -101
- package/docs/demos/DescriptionList/examples/DescriptionList.md +26 -26
- package/docs/demos/Drawer/examples/Drawer.md +40 -40
- package/docs/demos/Form/examples/BasicForms.md +21 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +49 -49
- package/docs/demos/Masthead/examples/Masthead.md +57 -57
- package/docs/demos/Modal/examples/Modal.md +54 -54
- package/docs/demos/Nav/examples/Nav.md +93 -93
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +173 -173
- package/docs/demos/Page/examples/Page.md +119 -119
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +4 -4
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +142 -142
- package/docs/demos/Skeleton/examples/Skeleton.md +8 -8
- package/docs/demos/Table/examples/Table.md +630 -630
- package/docs/demos/Tabs/examples/Tabs.md +62 -62
- package/docs/demos/Toolbar/examples/Toolbar.md +161 -161
- package/docs/demos/Wizard/examples/Wizard.md +100 -100
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +1 -1
- package/layouts/Grid/grid.scss +1 -1
- package/layouts/_index.css +2 -2
- package/package.json +11 -12
- package/patternfly-addons.css +12 -12
- package/patternfly-base-no-globals.css +63 -61
- package/patternfly-base.css +63 -61
- package/patternfly-no-globals.css +402 -217
- package/patternfly.css +402 -217
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +2 -2
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/_index.css +12 -12
|
@@ -2,71 +2,431 @@
|
|
|
2
2
|
id: Avatar
|
|
3
3
|
section: components
|
|
4
4
|
cssPrefix: pf-v6-c-avatar
|
|
5
|
-
|
|
5
|
+
---import './Avatar.css'
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Examples
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
<img
|
|
11
|
-
class="pf-v6-c-avatar"
|
|
12
|
-
alt="Avatar image"
|
|
13
|
-
src="/assets/images/img_avatar-light.svg"
|
|
14
|
-
/>
|
|
9
|
+
### Basic usage
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
### Bordered
|
|
11
|
+
Avatars can be created using either an `<img>` element with an image source, or a `<div>` element with custom content.
|
|
19
12
|
|
|
20
13
|
```html
|
|
21
14
|
<img
|
|
22
|
-
class="pf-v6-c-avatar
|
|
23
|
-
alt="
|
|
24
|
-
src="/assets/images/
|
|
15
|
+
class="pf-v6-c-avatar"
|
|
16
|
+
alt="Basic avatar with image"
|
|
17
|
+
src="/assets/images/pf-logo-avatar.jpg"
|
|
25
18
|
/>
|
|
19
|
+
<div
|
|
20
|
+
class="pf-v6-c-avatar"
|
|
21
|
+
role="img"
|
|
22
|
+
aria-label="Basic avatar with custom content"
|
|
23
|
+
>
|
|
24
|
+
<svg
|
|
25
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
26
|
+
width="48"
|
|
27
|
+
height="48"
|
|
28
|
+
viewBox="0 0 48 48"
|
|
29
|
+
fill="none"
|
|
30
|
+
>
|
|
31
|
+
<g>
|
|
32
|
+
<rect width="48" height="48" fill="#147878" />
|
|
33
|
+
<rect x="36" y="42" width="6" height="6" fill="#004D4D" />
|
|
34
|
+
<rect x="6" y="42" width="6" height="6" fill="#004D4D" />
|
|
35
|
+
<rect x="12" y="36" width="24" height="6" fill="#004D4D" />
|
|
36
|
+
<rect x="18" y="30" width="12" height="6" fill="#004D4D" />
|
|
37
|
+
<rect
|
|
38
|
+
width="6"
|
|
39
|
+
height="24"
|
|
40
|
+
transform="matrix(-1 0 0 1 48 12)"
|
|
41
|
+
fill="#004D4D"
|
|
42
|
+
/>
|
|
43
|
+
<rect
|
|
44
|
+
width="6"
|
|
45
|
+
height="6"
|
|
46
|
+
transform="matrix(-1 0 0 1 42 30)"
|
|
47
|
+
fill="#004D4D"
|
|
48
|
+
/>
|
|
49
|
+
<rect
|
|
50
|
+
width="6"
|
|
51
|
+
height="6"
|
|
52
|
+
transform="matrix(-1 0 0 1 36 24)"
|
|
53
|
+
fill="#004D4D"
|
|
54
|
+
/>
|
|
55
|
+
<rect
|
|
56
|
+
width="6"
|
|
57
|
+
height="6"
|
|
58
|
+
transform="matrix(-1 0 0 1 42 18)"
|
|
59
|
+
fill="#004D4D"
|
|
60
|
+
/>
|
|
61
|
+
<rect
|
|
62
|
+
width="6"
|
|
63
|
+
height="6"
|
|
64
|
+
transform="matrix(-1 0 0 1 36 12)"
|
|
65
|
+
fill="#004D4D"
|
|
66
|
+
/>
|
|
67
|
+
<rect
|
|
68
|
+
width="6"
|
|
69
|
+
height="6"
|
|
70
|
+
transform="matrix(-1 0 0 1 42 6)"
|
|
71
|
+
fill="#004D4D"
|
|
72
|
+
/>
|
|
73
|
+
<rect x="18" width="12" height="12" fill="#004D4D" />
|
|
74
|
+
<rect x="6" y="30" width="6" height="6" fill="#004D4D" />
|
|
75
|
+
<rect x="12" y="24" width="6" height="6" fill="#004D4D" />
|
|
76
|
+
<rect x="6" y="18" width="6" height="6" fill="#004D4D" />
|
|
77
|
+
<rect x="12" y="12" width="6" height="6" fill="#004D4D" />
|
|
78
|
+
<rect x="6" y="6" width="6" height="6" fill="#004D4D" />
|
|
79
|
+
<rect y="12" width="6" height="24" fill="#004D4D" />
|
|
80
|
+
</g>
|
|
81
|
+
</svg>
|
|
82
|
+
</div>
|
|
26
83
|
|
|
27
84
|
```
|
|
28
85
|
|
|
29
|
-
###
|
|
86
|
+
### Color modifiers
|
|
87
|
+
|
|
88
|
+
Color modifiers add visual interest and automatically include a border. The available colors are: "red", "orangered", "orange", "yellow", "green", "teal", "blue", "purple", and "gray".
|
|
30
89
|
|
|
31
90
|
```html
|
|
32
|
-
<
|
|
33
|
-
class="pf-v6-c-avatar pf-m-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
91
|
+
<div
|
|
92
|
+
class="pf-v6-c-avatar pf-m-red pf-m-colorful"
|
|
93
|
+
role="img"
|
|
94
|
+
aria-label="Red avatar "
|
|
95
|
+
>
|
|
96
|
+
<svg
|
|
97
|
+
aria-hidden="true"
|
|
98
|
+
data-name="Layer 1"
|
|
99
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
100
|
+
version="1.1"
|
|
101
|
+
viewBox="0 0 36 36"
|
|
102
|
+
>
|
|
103
|
+
<path
|
|
104
|
+
fill="currentColor"
|
|
105
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
106
|
+
/>
|
|
107
|
+
<path
|
|
108
|
+
fill="currentColor"
|
|
109
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
110
|
+
/>
|
|
111
|
+
</svg>
|
|
112
|
+
</div>
|
|
113
|
+
<div
|
|
114
|
+
class="pf-v6-c-avatar pf-m-orangered pf-m-colorful"
|
|
115
|
+
role="img"
|
|
116
|
+
aria-label="Orange-red avatar "
|
|
117
|
+
>
|
|
118
|
+
<svg
|
|
119
|
+
aria-hidden="true"
|
|
120
|
+
data-name="Layer 1"
|
|
121
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
122
|
+
version="1.1"
|
|
123
|
+
viewBox="0 0 36 36"
|
|
124
|
+
>
|
|
125
|
+
<path
|
|
126
|
+
fill="currentColor"
|
|
127
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
128
|
+
/>
|
|
129
|
+
<path
|
|
130
|
+
fill="currentColor"
|
|
131
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
132
|
+
/>
|
|
133
|
+
</svg>
|
|
134
|
+
</div>
|
|
135
|
+
<div
|
|
136
|
+
class="pf-v6-c-avatar pf-m-orange pf-m-colorful"
|
|
137
|
+
role="img"
|
|
138
|
+
aria-label="Orange avatar "
|
|
139
|
+
>
|
|
140
|
+
<svg
|
|
141
|
+
aria-hidden="true"
|
|
142
|
+
data-name="Layer 1"
|
|
143
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
144
|
+
version="1.1"
|
|
145
|
+
viewBox="0 0 36 36"
|
|
146
|
+
>
|
|
147
|
+
<path
|
|
148
|
+
fill="currentColor"
|
|
149
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
150
|
+
/>
|
|
151
|
+
<path
|
|
152
|
+
fill="currentColor"
|
|
153
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
154
|
+
/>
|
|
155
|
+
</svg>
|
|
156
|
+
</div>
|
|
157
|
+
<div
|
|
158
|
+
class="pf-v6-c-avatar pf-m-yellow pf-m-colorful"
|
|
159
|
+
role="img"
|
|
160
|
+
aria-label="Yellow avatar "
|
|
161
|
+
>
|
|
162
|
+
<svg
|
|
163
|
+
aria-hidden="true"
|
|
164
|
+
data-name="Layer 1"
|
|
165
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
166
|
+
version="1.1"
|
|
167
|
+
viewBox="0 0 36 36"
|
|
168
|
+
>
|
|
169
|
+
<path
|
|
170
|
+
fill="currentColor"
|
|
171
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
172
|
+
/>
|
|
173
|
+
<path
|
|
174
|
+
fill="currentColor"
|
|
175
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
176
|
+
/>
|
|
177
|
+
</svg>
|
|
178
|
+
</div>
|
|
179
|
+
<div
|
|
180
|
+
class="pf-v6-c-avatar pf-m-green pf-m-colorful"
|
|
181
|
+
role="img"
|
|
182
|
+
aria-label="Green avatar "
|
|
183
|
+
>
|
|
184
|
+
<svg
|
|
185
|
+
aria-hidden="true"
|
|
186
|
+
data-name="Layer 1"
|
|
187
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
188
|
+
version="1.1"
|
|
189
|
+
viewBox="0 0 36 36"
|
|
190
|
+
>
|
|
191
|
+
<path
|
|
192
|
+
fill="currentColor"
|
|
193
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
194
|
+
/>
|
|
195
|
+
<path
|
|
196
|
+
fill="currentColor"
|
|
197
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
198
|
+
/>
|
|
199
|
+
</svg>
|
|
200
|
+
</div>
|
|
201
|
+
<div
|
|
202
|
+
class="pf-v6-c-avatar pf-m-teal pf-m-colorful"
|
|
203
|
+
role="img"
|
|
204
|
+
aria-label="Teal avatar "
|
|
205
|
+
>
|
|
206
|
+
<svg
|
|
207
|
+
aria-hidden="true"
|
|
208
|
+
data-name="Layer 1"
|
|
209
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
210
|
+
version="1.1"
|
|
211
|
+
viewBox="0 0 36 36"
|
|
212
|
+
>
|
|
213
|
+
<path
|
|
214
|
+
fill="currentColor"
|
|
215
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
216
|
+
/>
|
|
217
|
+
<path
|
|
218
|
+
fill="currentColor"
|
|
219
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
220
|
+
/>
|
|
221
|
+
</svg>
|
|
222
|
+
</div>
|
|
223
|
+
<div
|
|
224
|
+
class="pf-v6-c-avatar pf-m-blue pf-m-colorful"
|
|
225
|
+
role="img"
|
|
226
|
+
aria-label="Blue avatar "
|
|
227
|
+
>
|
|
228
|
+
<svg
|
|
229
|
+
aria-hidden="true"
|
|
230
|
+
data-name="Layer 1"
|
|
231
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
232
|
+
version="1.1"
|
|
233
|
+
viewBox="0 0 36 36"
|
|
234
|
+
>
|
|
235
|
+
<path
|
|
236
|
+
fill="currentColor"
|
|
237
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
238
|
+
/>
|
|
239
|
+
<path
|
|
240
|
+
fill="currentColor"
|
|
241
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
242
|
+
/>
|
|
243
|
+
</svg>
|
|
244
|
+
</div>
|
|
245
|
+
<div
|
|
246
|
+
class="pf-v6-c-avatar pf-m-purple pf-m-colorful"
|
|
247
|
+
role="img"
|
|
248
|
+
aria-label="Purple avatar "
|
|
249
|
+
>
|
|
250
|
+
<svg
|
|
251
|
+
aria-hidden="true"
|
|
252
|
+
data-name="Layer 1"
|
|
253
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
254
|
+
version="1.1"
|
|
255
|
+
viewBox="0 0 36 36"
|
|
256
|
+
>
|
|
257
|
+
<path
|
|
258
|
+
fill="currentColor"
|
|
259
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
260
|
+
/>
|
|
261
|
+
<path
|
|
262
|
+
fill="currentColor"
|
|
263
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
264
|
+
/>
|
|
265
|
+
</svg>
|
|
266
|
+
</div>
|
|
267
|
+
<div
|
|
268
|
+
class="pf-v6-c-avatar pf-m-gray pf-m-colorful"
|
|
269
|
+
role="img"
|
|
270
|
+
aria-label="Gray avatar "
|
|
271
|
+
>
|
|
272
|
+
<svg
|
|
273
|
+
aria-hidden="true"
|
|
274
|
+
data-name="Layer 1"
|
|
275
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
276
|
+
version="1.1"
|
|
277
|
+
viewBox="0 0 36 36"
|
|
278
|
+
>
|
|
279
|
+
<path
|
|
280
|
+
fill="currentColor"
|
|
281
|
+
d="M17.7,20.1c-3.5,0-6.4-2.9-6.4-6.4s2.9-6.4,6.4-6.4,6.4,2.9,6.4,6.4-2.8,6.4-6.4,6.4Z"
|
|
282
|
+
/>
|
|
283
|
+
<path
|
|
284
|
+
fill="currentColor"
|
|
285
|
+
d="M30.6,36c-.4-3.9-1.3-9-2.9-11-1.1-1.4-2.3-2.2-3.5-2.6s-1.8-.6-6.3-.6-6.1.7-6.1.7c-1.2.4-2.4,1.2-3.4,2.6-1.7,1.9-2.6,7.1-3,10.9h25.2Z"
|
|
286
|
+
/>
|
|
287
|
+
</svg>
|
|
288
|
+
</div>
|
|
37
289
|
|
|
38
290
|
```
|
|
39
291
|
|
|
40
|
-
###
|
|
292
|
+
### With initials
|
|
293
|
+
|
|
294
|
+
Display a user's initials in the avatar. It's recommended to pass only a single initial to ensure the text fits inside of the avatar.
|
|
41
295
|
|
|
42
296
|
```html
|
|
43
|
-
<
|
|
44
|
-
class="pf-v6-c-avatar pf-m-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
297
|
+
<div
|
|
298
|
+
class="pf-v6-c-avatar pf-m-bordered"
|
|
299
|
+
role="img"
|
|
300
|
+
aria-label="Avatar with initial C"
|
|
301
|
+
>
|
|
302
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
303
|
+
</div>
|
|
304
|
+
<div
|
|
305
|
+
class="pf-v6-c-avatar pf-m-red pf-m-colorful"
|
|
306
|
+
role="img"
|
|
307
|
+
aria-label="Red avatar with initial C"
|
|
308
|
+
>
|
|
309
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
310
|
+
</div>
|
|
311
|
+
<div
|
|
312
|
+
class="pf-v6-c-avatar pf-m-orangered pf-m-colorful"
|
|
313
|
+
role="img"
|
|
314
|
+
aria-label="Orange-red avatar with initial C"
|
|
315
|
+
>
|
|
316
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
317
|
+
</div>
|
|
318
|
+
<div
|
|
319
|
+
class="pf-v6-c-avatar pf-m-orange pf-m-colorful"
|
|
320
|
+
role="img"
|
|
321
|
+
aria-label="Orange avatar with initial C"
|
|
322
|
+
>
|
|
323
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
324
|
+
</div>
|
|
325
|
+
<div
|
|
326
|
+
class="pf-v6-c-avatar pf-m-yellow pf-m-colorful"
|
|
327
|
+
role="img"
|
|
328
|
+
aria-label="Yellow avatar with initial C"
|
|
329
|
+
>
|
|
330
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
331
|
+
</div>
|
|
332
|
+
<div
|
|
333
|
+
class="pf-v6-c-avatar pf-m-green pf-m-colorful"
|
|
334
|
+
role="img"
|
|
335
|
+
aria-label="Green avatar with initial C"
|
|
336
|
+
>
|
|
337
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
338
|
+
</div>
|
|
339
|
+
<div
|
|
340
|
+
class="pf-v6-c-avatar pf-m-teal pf-m-colorful"
|
|
341
|
+
role="img"
|
|
342
|
+
aria-label="Teal avatar with initial C"
|
|
343
|
+
>
|
|
344
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
345
|
+
</div>
|
|
346
|
+
<div
|
|
347
|
+
class="pf-v6-c-avatar pf-m-blue pf-m-colorful"
|
|
348
|
+
role="img"
|
|
349
|
+
aria-label="Blue avatar with initial C"
|
|
350
|
+
>
|
|
351
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
352
|
+
</div>
|
|
353
|
+
<div
|
|
354
|
+
class="pf-v6-c-avatar pf-m-purple pf-m-colorful"
|
|
355
|
+
role="img"
|
|
356
|
+
aria-label="Purple avatar with initial C"
|
|
357
|
+
>
|
|
358
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
359
|
+
</div>
|
|
360
|
+
<div
|
|
361
|
+
class="pf-v6-c-avatar pf-m-gray pf-m-colorful"
|
|
362
|
+
role="img"
|
|
363
|
+
aria-label="Gray avatar with initial C"
|
|
364
|
+
>
|
|
365
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
366
|
+
</div>
|
|
48
367
|
|
|
49
368
|
```
|
|
50
369
|
|
|
51
|
-
###
|
|
370
|
+
### Bordered
|
|
371
|
+
|
|
372
|
+
Use `.pf-m-bordered` to add a border to non-colorful avatars.
|
|
52
373
|
|
|
53
374
|
```html
|
|
54
|
-
<
|
|
55
|
-
class="pf-v6-c-avatar pf-m-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
375
|
+
<div
|
|
376
|
+
class="pf-v6-c-avatar pf-m-bordered"
|
|
377
|
+
role="img"
|
|
378
|
+
aria-label="Bordered avatar with chatbot icon"
|
|
379
|
+
>
|
|
380
|
+
<svg
|
|
381
|
+
class="pf-v6-svg"
|
|
382
|
+
fill="currentColor"
|
|
383
|
+
viewBox="0 0 32 32"
|
|
384
|
+
aria-hidden="true"
|
|
385
|
+
role="img"
|
|
386
|
+
width="1em"
|
|
387
|
+
height="1em"
|
|
388
|
+
>
|
|
389
|
+
<path
|
|
390
|
+
d="M28 12H17V9h1.75C19.44 9 20 8.44 20 7.75v-4.5C20 2.56 19.44 2 18.75 2h-5.5C12.56 2 12 2.56 12 3.25v4.5c0 .69.56 1.25 1.25 1.25H15v3H4c-1.654 0-3 1.346-3 3v12c0 1.654 1.346 3 3 3h24c1.654 0 3-1.346 3-3V15c0-1.654-1.346-3-3-3ZM14 4h4v3h-4V4Zm15 23a1 1 0 0 1-1 1H4c-.551 0-1-.448-1-1V15c0-.551.449-1 1-1h24c.552 0 1 .449 1 1v12ZM8.75 18v2a.75.75 0 0 1-.75.75H6a.75.75 0 0 1-.75-.75v-2a.75.75 0 0 1 .75-.75h2a.75.75 0 0 1 .75.75Zm18 0v2a.75.75 0 0 1-.75.75h-2a.75.75 0 0 1-.75-.75v-2a.75.75 0 0 1 .75-.75h2a.75.75 0 0 1 .75.75Zm-7.05 4.475a.873.873 0 0 1-.175 1.224c-1.023.77-2.242 1.176-3.525 1.176s-2.502-.406-3.526-1.176a.874.874 0 1 1 1.05-1.398c1.437 1.078 3.513 1.078 4.95 0a.871.871 0 0 1 1.225.174Z"
|
|
391
|
+
/>
|
|
392
|
+
</svg>
|
|
393
|
+
</div>
|
|
59
394
|
|
|
60
395
|
```
|
|
61
396
|
|
|
62
|
-
###
|
|
397
|
+
### Size variations
|
|
398
|
+
|
|
399
|
+
Avatars support small, medium (default), large, and extra large sizes.
|
|
63
400
|
|
|
64
401
|
```html
|
|
65
|
-
<
|
|
66
|
-
class="pf-v6-c-avatar pf-m-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
402
|
+
<div
|
|
403
|
+
class="pf-v6-c-avatar pf-m-red pf-m-colorful pf-m-sm"
|
|
404
|
+
role="img"
|
|
405
|
+
aria-label="Small red avatar with initial C"
|
|
406
|
+
>
|
|
407
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
408
|
+
</div>
|
|
409
|
+
<div
|
|
410
|
+
class="pf-v6-c-avatar pf-m-red pf-m-colorful pf-m-md"
|
|
411
|
+
role="img"
|
|
412
|
+
aria-label="Medium red avatar with initial C"
|
|
413
|
+
>
|
|
414
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
415
|
+
</div>
|
|
416
|
+
<div
|
|
417
|
+
class="pf-v6-c-avatar pf-m-red pf-m-colorful pf-m-lg"
|
|
418
|
+
role="img"
|
|
419
|
+
aria-label="Large red avatar with initial C"
|
|
420
|
+
>
|
|
421
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
422
|
+
</div>
|
|
423
|
+
<div
|
|
424
|
+
class="pf-v6-c-avatar pf-m-red pf-m-colorful pf-m-xl"
|
|
425
|
+
role="img"
|
|
426
|
+
aria-label="Extra large red avatar with initial C"
|
|
427
|
+
>
|
|
428
|
+
<span class="pf-v6-c-avatar__initials" aria-hidden="true">C</span>
|
|
429
|
+
</div>
|
|
70
430
|
|
|
71
431
|
```
|
|
72
432
|
|
|
@@ -80,15 +440,29 @@ The avatar component provides a default SVG icon. If an image is used it should
|
|
|
80
440
|
|
|
81
441
|
| Attribute | Applied to | Outcome |
|
|
82
442
|
| -- | -- | -- |
|
|
83
|
-
| `alt` | `.pf-v6-c-avatar` | The alt attribute describes the appearance and function of the avatar image. **Required** |
|
|
443
|
+
| `alt` | `.pf-v6-c-avatar` | The alt attribute describes the appearance and function of the avatar image. **Required for image avatars** |
|
|
444
|
+
| `role="img"` | `.pf-v6-c-avatar` | Indicates the element represents an image. **Required for colorful avatars** |
|
|
445
|
+
| `aria-label` | `.pf-v6-c-avatar` | Provides an accessible name for the avatar. **Required for colorful avatars** |
|
|
446
|
+
| `aria-hidden="true"` | `.pf-v6-c-avatar__initials`, `<svg>` | Hides decorative content from screen readers when the container has `aria-label`. |
|
|
84
447
|
|
|
85
448
|
### Usage
|
|
86
449
|
|
|
87
450
|
| Class | Applied to | Outcome |
|
|
88
451
|
| -- | -- | -- |
|
|
89
|
-
| `.pf-v6-c-avatar` | `<img>` | Initiates an avatar
|
|
452
|
+
| `.pf-v6-c-avatar` | `<img>`, `<div>` | Initiates an avatar. **Required** |
|
|
453
|
+
| `.pf-v6-c-avatar__initials` | `<span>` | Contains the user's initials in a colorful avatar. |
|
|
90
454
|
| `.pf-m-bordered` | `.pf-v6-c-avatar` | Modifies an avatar to have a border. |
|
|
91
455
|
| `.pf-m-sm{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
92
456
|
| `.pf-m-md{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be medium on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). **Note:** This is the default size. |
|
|
93
457
|
| `.pf-m-lg{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
94
458
|
| `.pf-m-xl{-on-[breakpoint]}` | `.pf-v6-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/foundations-and-styles/design-tokens/all-design-tokens). |
|
|
459
|
+
| `.pf-m-colorful` | `.pf-v6-c-avatar` | Modifies an avatar to use colorful styling with a border. |
|
|
460
|
+
| `.pf-m-red` | `.pf-v6-c-avatar` | Modifies avatar for red styling. |
|
|
461
|
+
| `.pf-m-orangered` | `.pf-v6-c-avatar` | Modifies avatar for orangered styling. |
|
|
462
|
+
| `.pf-m-orange` | `.pf-v6-c-avatar` | Modifies avatar for orange styling. |
|
|
463
|
+
| `.pf-m-yellow` | `.pf-v6-c-avatar` | Modifies avatar for yellow styling. |
|
|
464
|
+
| `.pf-m-green` | `.pf-v6-c-avatar` | Modifies avatar for green styling. |
|
|
465
|
+
| `.pf-m-teal` | `.pf-v6-c-avatar` | Modifies avatar for teal styling. |
|
|
466
|
+
| `.pf-m-blue` | `.pf-v6-c-avatar` | Modifies avatar for blue styling. |
|
|
467
|
+
| `.pf-m-purple` | `.pf-v6-c-avatar` | Modifies avatar for purple styling. |
|
|
468
|
+
| `.pf-m-gray` | `.pf-v6-c-avatar` | Modifies avatar for gray styling. |
|
|
@@ -109,8 +109,8 @@ When a banner is used to convey status, it is advised to add an icon that also c
|
|
|
109
109
|
|
|
110
110
|
<svg
|
|
111
111
|
class="pf-v6-svg"
|
|
112
|
-
viewBox="0 0 32 32"
|
|
113
112
|
fill="currentColor"
|
|
113
|
+
viewBox="0 0 32 32"
|
|
114
114
|
aria-hidden="true"
|
|
115
115
|
role="img"
|
|
116
116
|
width="1em"
|
|
@@ -134,8 +134,8 @@ When a banner is used to convey status, it is advised to add an icon that also c
|
|
|
134
134
|
|
|
135
135
|
<svg
|
|
136
136
|
class="pf-v6-svg"
|
|
137
|
-
viewBox="0 0 32 32"
|
|
138
137
|
fill="currentColor"
|
|
138
|
+
viewBox="0 0 32 32"
|
|
139
139
|
aria-hidden="true"
|
|
140
140
|
role="img"
|
|
141
141
|
width="1em"
|
|
@@ -159,8 +159,8 @@ When a banner is used to convey status, it is advised to add an icon that also c
|
|
|
159
159
|
|
|
160
160
|
<svg
|
|
161
161
|
class="pf-v6-svg"
|
|
162
|
-
viewBox="0 0 32 32"
|
|
163
162
|
fill="currentColor"
|
|
163
|
+
viewBox="0 0 32 32"
|
|
164
164
|
aria-hidden="true"
|
|
165
165
|
role="img"
|
|
166
166
|
width="1em"
|
|
@@ -184,8 +184,8 @@ When a banner is used to convey status, it is advised to add an icon that also c
|
|
|
184
184
|
|
|
185
185
|
<svg
|
|
186
186
|
class="pf-v6-svg"
|
|
187
|
-
viewBox="0 0 32 32"
|
|
188
187
|
fill="currentColor"
|
|
188
|
+
viewBox="0 0 32 32"
|
|
189
189
|
aria-hidden="true"
|
|
190
190
|
role="img"
|
|
191
191
|
width="1em"
|
|
@@ -209,8 +209,8 @@ When a banner is used to convey status, it is advised to add an icon that also c
|
|
|
209
209
|
|
|
210
210
|
<svg
|
|
211
211
|
class="pf-v6-svg"
|
|
212
|
-
viewBox="0 0 32 32"
|
|
213
212
|
fill="currentColor"
|
|
213
|
+
viewBox="0 0 32 32"
|
|
214
214
|
aria-hidden="true"
|
|
215
215
|
role="img"
|
|
216
216
|
width="1em"
|
|
@@ -239,8 +239,8 @@ To display a banner with rounded corners, use `pf-m-pill`. The pill modifier can
|
|
|
239
239
|
|
|
240
240
|
<svg
|
|
241
241
|
class="pf-v6-svg"
|
|
242
|
-
viewBox="0 0 32 32"
|
|
243
242
|
fill="currentColor"
|
|
243
|
+
viewBox="0 0 32 32"
|
|
244
244
|
aria-hidden="true"
|
|
245
245
|
role="img"
|
|
246
246
|
width="1em"
|
|
@@ -264,8 +264,8 @@ To display a banner with rounded corners, use `pf-m-pill`. The pill modifier can
|
|
|
264
264
|
|
|
265
265
|
<svg
|
|
266
266
|
class="pf-v6-svg"
|
|
267
|
-
viewBox="0 0 32 32"
|
|
268
267
|
fill="currentColor"
|
|
268
|
+
viewBox="0 0 32 32"
|
|
269
269
|
aria-hidden="true"
|
|
270
270
|
role="img"
|
|
271
271
|
width="1em"
|
|
@@ -289,8 +289,8 @@ To display a banner with rounded corners, use `pf-m-pill`. The pill modifier can
|
|
|
289
289
|
|
|
290
290
|
<svg
|
|
291
291
|
class="pf-v6-svg"
|
|
292
|
-
viewBox="0 0 32 32"
|
|
293
292
|
fill="currentColor"
|
|
293
|
+
viewBox="0 0 32 32"
|
|
294
294
|
aria-hidden="true"
|
|
295
295
|
role="img"
|
|
296
296
|
width="1em"
|
|
@@ -314,8 +314,8 @@ To display a banner with rounded corners, use `pf-m-pill`. The pill modifier can
|
|
|
314
314
|
|
|
315
315
|
<svg
|
|
316
316
|
class="pf-v6-svg"
|
|
317
|
-
viewBox="0 0 32 32"
|
|
318
317
|
fill="currentColor"
|
|
318
|
+
viewBox="0 0 32 32"
|
|
319
319
|
aria-hidden="true"
|
|
320
320
|
role="img"
|
|
321
321
|
width="1em"
|
|
@@ -339,8 +339,8 @@ To display a banner with rounded corners, use `pf-m-pill`. The pill modifier can
|
|
|
339
339
|
|
|
340
340
|
<svg
|
|
341
341
|
class="pf-v6-svg"
|
|
342
|
-
viewBox="0 0 32 32"
|
|
343
342
|
fill="currentColor"
|
|
343
|
+
viewBox="0 0 32 32"
|
|
344
344
|
aria-hidden="true"
|
|
345
345
|
role="img"
|
|
346
346
|
width="1em"
|