@patternfly/patternfly 4.176.3 → 4.177.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/UPGRADE-GUIDE.md +3 -0
- package/components/Avatar/avatar.css +224 -0
- package/components/Avatar/avatar.scss +18 -0
- package/components/CodeEditor/code-editor.css +8 -0
- package/components/CodeEditor/code-editor.scss +11 -1
- package/docs/components/Avatar/examples/Avatar.md +53 -5
- package/docs/components/Brand/examples/Brand.md +6 -6
- package/docs/components/CodeEditor/examples/CodeEditor.md +71 -10
- package/docs/components/DataList/examples/DataList.md +11 -11
- package/docs/components/DescriptionList/examples/DescriptionList.md +19 -19
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +27 -27
- package/docs/components/Dropdown/examples/Dropdown.md +2 -2
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/LogViewer/examples/LogViewer.md +19 -19
- package/docs/components/Masthead/examples/masthead.md +10 -10
- package/docs/components/Menu/examples/Menu.md +2 -2
- package/docs/components/Page/examples/Page.md +4 -4
- package/docs/components/Pagination/examples/Pagination.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +14 -14
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Tabs/examples/Tabs.md +27 -27
- package/docs/components/Toolbar/examples/Toolbar.md +31 -31
- package/docs/demos/Alert/examples/Alert.md +358 -52
- package/docs/demos/BackToTop/examples/BackToTop.md +304 -5
- package/docs/demos/ContextSelector/examples/ContextSelector.md +2199 -45
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1221 -80
- package/docs/demos/Nav/examples/Nav.md +293 -2
- package/docs/demos/Page/examples/Page.md +6098 -161
- package/docs/demos/Table/examples/Table.md +21223 -165
- package/docs/demos/Tabs/examples/Tabs.md +7304 -697
- package/docs/demos/Toolbar/examples/Toolbar.md +1026 -44
- package/docs/layouts/Flex/examples/Flex.md +1 -1
- package/docs/layouts/Gallery/examples/Gallery.md +2 -2
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
- package/docs/utilities/Alignment/examples/Alignment.md +1 -1
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
- package/docs/utilities/Display/examples/Display.md +1 -1
- package/docs/utilities/Flex/examples/Flex.md +1 -1
- package/docs/utilities/Float/examples/Float.md +1 -1
- package/docs/utilities/Sizing/examples/Sizing.md +12 -0
- package/docs/utilities/Spacing/examples/Spacing.md +1 -1
- package/docs/utilities/Text/examples/Text.md +1 -1
- package/package.json +1 -1
- package/patternfly-no-reset.css +232 -0
- package/patternfly.css +232 -0
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -6,9 +6,308 @@ cssPrefix: pf-d-back-to-top
|
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
8
8
|
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
```html isFullscreen
|
|
10
|
+
<div class="pf-c-page" id="back-to-top-basic">
|
|
11
|
+
<a
|
|
12
|
+
class="pf-c-skip-to-content pf-c-button pf-m-primary"
|
|
13
|
+
href="#main-content-back-to-top-basic"
|
|
14
|
+
>Skip to content</a>
|
|
15
|
+
<header class="pf-c-page__header">
|
|
16
|
+
<div class="pf-c-page__header-brand">
|
|
17
|
+
<div class="pf-c-page__header-brand-toggle">
|
|
18
|
+
<button
|
|
19
|
+
class="pf-c-button pf-m-plain"
|
|
20
|
+
type="button"
|
|
21
|
+
id="back-to-top-basic-nav-toggle"
|
|
22
|
+
aria-label="Global navigation"
|
|
23
|
+
aria-expanded="true"
|
|
24
|
+
aria-controls="back-to-top-basic-primary-nav"
|
|
25
|
+
>
|
|
26
|
+
<i class="fas fa-bars" aria-hidden="true"></i>
|
|
27
|
+
</button>
|
|
28
|
+
</div>
|
|
29
|
+
<a href="#" class="pf-c-page__header-brand-link">
|
|
30
|
+
<img
|
|
31
|
+
class="pf-c-brand"
|
|
32
|
+
src="/assets/images/PF-Masthead-Logo.svg"
|
|
33
|
+
alt="PatternFly logo"
|
|
34
|
+
/>
|
|
35
|
+
</a>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="pf-c-page__header-tools">
|
|
38
|
+
<div class="pf-c-page__header-tools-group">
|
|
39
|
+
<div
|
|
40
|
+
class="pf-c-page__header-tools-item pf-m-hidden pf-m-visible-on-lg"
|
|
41
|
+
>
|
|
42
|
+
<button
|
|
43
|
+
class="pf-c-button pf-m-plain"
|
|
44
|
+
type="button"
|
|
45
|
+
aria-label="Settings"
|
|
46
|
+
>
|
|
47
|
+
<i class="fas fa-cog" aria-hidden="true"></i>
|
|
48
|
+
</button>
|
|
49
|
+
</div>
|
|
50
|
+
<div
|
|
51
|
+
class="pf-c-page__header-tools-item pf-m-hidden pf-m-visible-on-lg"
|
|
52
|
+
>
|
|
53
|
+
<button
|
|
54
|
+
class="pf-c-button pf-m-plain"
|
|
55
|
+
type="button"
|
|
56
|
+
aria-label="Help"
|
|
57
|
+
>
|
|
58
|
+
<i class="pf-icon pf-icon-help" aria-hidden="true"></i>
|
|
59
|
+
</button>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="pf-c-page__header-tools-group">
|
|
63
|
+
<div class="pf-c-page__header-tools-item pf-m-hidden-on-lg">
|
|
64
|
+
<div class="pf-c-dropdown">
|
|
65
|
+
<button
|
|
66
|
+
class="pf-c-dropdown__toggle pf-m-plain"
|
|
67
|
+
id="back-to-top-basic-dropdown-kebab-1-button"
|
|
68
|
+
aria-expanded="false"
|
|
69
|
+
type="button"
|
|
70
|
+
aria-label="Actions"
|
|
71
|
+
>
|
|
72
|
+
<i class="fas fa-ellipsis-v" aria-hidden="true"></i>
|
|
73
|
+
</button>
|
|
74
|
+
<ul
|
|
75
|
+
class="pf-c-dropdown__menu pf-m-align-right"
|
|
76
|
+
aria-labelledby="back-to-top-basic-dropdown-kebab-1-button"
|
|
77
|
+
hidden
|
|
78
|
+
>
|
|
79
|
+
<li>
|
|
80
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
81
|
+
</li>
|
|
82
|
+
<li>
|
|
83
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
84
|
+
</li>
|
|
85
|
+
<li>
|
|
86
|
+
<a
|
|
87
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
88
|
+
href="#"
|
|
89
|
+
aria-disabled="true"
|
|
90
|
+
tabindex="-1"
|
|
91
|
+
>Disabled link</a>
|
|
92
|
+
</li>
|
|
93
|
+
<li>
|
|
94
|
+
<button
|
|
95
|
+
class="pf-c-dropdown__menu-item"
|
|
96
|
+
type="button"
|
|
97
|
+
disabled
|
|
98
|
+
>Disabled action</button>
|
|
99
|
+
</li>
|
|
100
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
101
|
+
<li>
|
|
102
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
103
|
+
</li>
|
|
104
|
+
</ul>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
<div
|
|
108
|
+
class="pf-c-page__header-tools-item pf-m-hidden pf-m-visible-on-md"
|
|
109
|
+
>
|
|
110
|
+
<div class="pf-c-dropdown">
|
|
111
|
+
<button
|
|
112
|
+
class="pf-c-dropdown__toggle pf-m-plain"
|
|
113
|
+
id="back-to-top-basic-dropdown-kebab-2-button"
|
|
114
|
+
aria-expanded="false"
|
|
115
|
+
type="button"
|
|
116
|
+
>
|
|
117
|
+
<span class="pf-c-dropdown__toggle-text">John Smith</span>
|
|
118
|
+
<span class="pf-c-dropdown__toggle-icon">
|
|
119
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
120
|
+
</span>
|
|
121
|
+
</button>
|
|
122
|
+
<ul
|
|
123
|
+
class="pf-c-dropdown__menu"
|
|
124
|
+
aria-labelledby="back-to-top-basic-dropdown-kebab-2-button"
|
|
125
|
+
hidden
|
|
126
|
+
>
|
|
127
|
+
<li>
|
|
128
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
129
|
+
</li>
|
|
130
|
+
<li>
|
|
131
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
132
|
+
</li>
|
|
133
|
+
<li>
|
|
134
|
+
<a
|
|
135
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
136
|
+
href="#"
|
|
137
|
+
aria-disabled="true"
|
|
138
|
+
tabindex="-1"
|
|
139
|
+
>Disabled link</a>
|
|
140
|
+
</li>
|
|
141
|
+
<li>
|
|
142
|
+
<button
|
|
143
|
+
class="pf-c-dropdown__menu-item"
|
|
144
|
+
type="button"
|
|
145
|
+
disabled
|
|
146
|
+
>Disabled action</button>
|
|
147
|
+
</li>
|
|
148
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
149
|
+
<li>
|
|
150
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
151
|
+
</li>
|
|
152
|
+
</ul>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
<img
|
|
157
|
+
class="pf-c-avatar"
|
|
158
|
+
src="/assets/images/img_avatar.svg"
|
|
159
|
+
alt="Avatar image"
|
|
160
|
+
/>
|
|
161
|
+
</div>
|
|
162
|
+
</header>
|
|
163
|
+
<div class="pf-c-page__sidebar">
|
|
164
|
+
<div class="pf-c-page__sidebar-body">
|
|
165
|
+
<nav
|
|
166
|
+
class="pf-c-nav"
|
|
167
|
+
id="back-to-top-basic-primary-nav"
|
|
168
|
+
aria-label="Global"
|
|
169
|
+
>
|
|
170
|
+
<ul class="pf-c-nav__list">
|
|
171
|
+
<li class="pf-c-nav__item">
|
|
172
|
+
<a href="#" class="pf-c-nav__link">System panel</a>
|
|
173
|
+
</li>
|
|
174
|
+
<li class="pf-c-nav__item">
|
|
175
|
+
<a
|
|
176
|
+
href="#"
|
|
177
|
+
class="pf-c-nav__link pf-m-current"
|
|
178
|
+
aria-current="page"
|
|
179
|
+
>Policy</a>
|
|
180
|
+
</li>
|
|
181
|
+
<li class="pf-c-nav__item">
|
|
182
|
+
<a href="#" class="pf-c-nav__link">Authentication</a>
|
|
183
|
+
</li>
|
|
184
|
+
<li class="pf-c-nav__item">
|
|
185
|
+
<a href="#" class="pf-c-nav__link">Network services</a>
|
|
186
|
+
</li>
|
|
187
|
+
<li class="pf-c-nav__item">
|
|
188
|
+
<a href="#" class="pf-c-nav__link">Server</a>
|
|
189
|
+
</li>
|
|
190
|
+
</ul>
|
|
191
|
+
</nav>
|
|
192
|
+
</div>
|
|
193
|
+
</div>
|
|
194
|
+
<main
|
|
195
|
+
class="pf-c-page__main"
|
|
196
|
+
tabindex="-1"
|
|
197
|
+
id="main-content-back-to-top-basic"
|
|
198
|
+
>
|
|
199
|
+
<section class="pf-c-page__main-breadcrumb pf-m-limit-width">
|
|
200
|
+
<div class="pf-c-page__main-body">
|
|
201
|
+
<nav class="pf-c-breadcrumb" aria-label="breadcrumb">
|
|
202
|
+
<ol class="pf-c-breadcrumb__list">
|
|
203
|
+
<li class="pf-c-breadcrumb__item">
|
|
204
|
+
<a href="#" class="pf-c-breadcrumb__link">Section home</a>
|
|
205
|
+
</li>
|
|
206
|
+
<li class="pf-c-breadcrumb__item">
|
|
207
|
+
<span class="pf-c-breadcrumb__item-divider">
|
|
208
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
209
|
+
</span>
|
|
210
|
+
|
|
211
|
+
<a href="#" class="pf-c-breadcrumb__link">Section title</a>
|
|
212
|
+
</li>
|
|
213
|
+
<li class="pf-c-breadcrumb__item">
|
|
214
|
+
<span class="pf-c-breadcrumb__item-divider">
|
|
215
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
216
|
+
</span>
|
|
217
|
+
|
|
218
|
+
<a href="#" class="pf-c-breadcrumb__link">Section title</a>
|
|
219
|
+
</li>
|
|
220
|
+
<li class="pf-c-breadcrumb__item">
|
|
221
|
+
<span class="pf-c-breadcrumb__item-divider">
|
|
222
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
223
|
+
</span>
|
|
224
|
+
|
|
225
|
+
<a
|
|
226
|
+
href="#"
|
|
227
|
+
class="pf-c-breadcrumb__link pf-m-current"
|
|
228
|
+
aria-current="page"
|
|
229
|
+
>Section landing</a>
|
|
230
|
+
</li>
|
|
231
|
+
</ol>
|
|
232
|
+
</nav>
|
|
233
|
+
</div>
|
|
234
|
+
</section>
|
|
235
|
+
<section class="pf-c-page__main-section pf-m-limit-width pf-m-light">
|
|
236
|
+
<div class="pf-c-page__main-body">
|
|
237
|
+
<div class="pf-c-content">
|
|
238
|
+
<h1>Main title</h1>
|
|
239
|
+
<p>This is a full page demo.</p>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
</section>
|
|
243
|
+
<section class="pf-c-page__main-section pf-m-limit-width">
|
|
244
|
+
<div class="pf-c-page__main-body">
|
|
245
|
+
<div class="pf-l-gallery pf-m-gutter">
|
|
246
|
+
<div class="pf-l-gallery__item">
|
|
247
|
+
<div class="pf-c-card">
|
|
248
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
251
|
+
<div class="pf-l-gallery__item">
|
|
252
|
+
<div class="pf-c-card">
|
|
253
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
254
|
+
</div>
|
|
255
|
+
</div>
|
|
256
|
+
<div class="pf-l-gallery__item">
|
|
257
|
+
<div class="pf-c-card">
|
|
258
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
<div class="pf-l-gallery__item">
|
|
262
|
+
<div class="pf-c-card">
|
|
263
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
<div class="pf-l-gallery__item">
|
|
267
|
+
<div class="pf-c-card">
|
|
268
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
269
|
+
</div>
|
|
270
|
+
</div>
|
|
271
|
+
<div class="pf-l-gallery__item">
|
|
272
|
+
<div class="pf-c-card">
|
|
273
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
274
|
+
</div>
|
|
275
|
+
</div>
|
|
276
|
+
<div class="pf-l-gallery__item">
|
|
277
|
+
<div class="pf-c-card">
|
|
278
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
<div class="pf-l-gallery__item">
|
|
282
|
+
<div class="pf-c-card">
|
|
283
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
<div class="pf-l-gallery__item">
|
|
287
|
+
<div class="pf-c-card">
|
|
288
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
<div class="pf-l-gallery__item">
|
|
292
|
+
<div class="pf-c-card">
|
|
293
|
+
<div class="pf-c-card__body">This is a card</div>
|
|
294
|
+
</div>
|
|
295
|
+
</div>
|
|
296
|
+
</div>
|
|
297
|
+
</div>
|
|
298
|
+
</section>
|
|
299
|
+
<div class="pf-c-back-to-top">
|
|
300
|
+
<a
|
|
301
|
+
class="pf-c-button pf-m-primary"
|
|
302
|
+
href="#main-content-back-to-top-basic"
|
|
303
|
+
>
|
|
304
|
+
Back to top
|
|
305
|
+
<span class="pf-c-button__icon pf-m-end">
|
|
306
|
+
<i class="fas fa-angle-up" aria-hidden="true"></i>
|
|
307
|
+
</span>
|
|
308
|
+
</a>
|
|
309
|
+
</div>
|
|
310
|
+
</main>
|
|
311
|
+
</div>
|
|
312
|
+
|
|
14
313
|
```
|