@patternfly/patternfly 4.183.2 → 4.184.2
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/components/Accordion/accordion.css +1 -0
- package/components/Accordion/accordion.scss +1 -0
- package/components/Menu/menu.css +1 -1
- package/components/Menu/menu.scss +2 -1
- package/components/MenuToggle/menu-toggle.css +18 -1
- package/components/MenuToggle/menu-toggle.scss +28 -1
- package/components/TextInputGroup/text-input-group.css +6 -0
- package/components/TextInputGroup/text-input-group.scss +11 -0
- package/docs/components/Accordion/examples/Accordion.md +16 -3
- package/docs/components/DescriptionList/examples/DescriptionList.md +19 -19
- package/docs/components/Form/examples/Form.md +118 -47
- package/docs/components/MenuToggle/examples/MenuToggle.md +68 -9
- package/docs/components/ModalBox/examples/ModalBox.md +1 -0
- package/docs/components/OptionsMenu/examples/options-menu.md +1 -1
- package/docs/components/Page/examples/Page.md +9 -8
- package/docs/components/Pagination/examples/Pagination.css +3 -0
- package/docs/components/Pagination/examples/Pagination.md +136 -158
- package/docs/components/Toolbar/examples/Toolbar.md +22 -26
- package/docs/components/Wizard/examples/Wizard.md +19 -18
- package/docs/demos/CardView/examples/CardView.md +22 -26
- package/docs/demos/DataList/examples/DataList.md +88 -104
- package/docs/demos/Form/examples/BasicForms.md +40 -8
- package/docs/demos/Modal/examples/Modal.md +7 -4
- package/docs/demos/Page/examples/Page.md +1 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +5 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +20 -4
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +54 -89
- package/docs/demos/Table/examples/Table.md +227 -273
- package/docs/demos/Tabs/examples/Tabs.md +64 -88
- package/docs/demos/Toolbar/examples/Toolbar.md +88 -104
- package/docs/demos/Wizard/examples/Wizard.md +4 -4
- package/package.json +1 -1
- package/patternfly-no-reset.css +26 -2
- package/patternfly.css +26 -2
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/themes/dark/_patternfly-theme-dark.scss +118 -0
- package/themes/dark/_variables.scss +94 -0
- package/themes/dark/colors.scss +16 -0
- package/themes/dark/globals.scss +7 -0
- package/themes/dark/mixins.scss +5 -0
- package/themes/dark/placeholders.scss +30 -0
- package/themes/dark/scss-variables.scss +85 -0
- package/components/AboutModalBox/themes/dark/about-modal-box.css +0 -0
- package/components/Accordion/themes/dark/accordion.css +0 -0
- package/components/Alert/themes/dark/alert.css +0 -0
- package/components/AppLauncher/themes/dark/app-launcher.css +0 -0
- package/components/Badge/themes/dark/badge.css +0 -0
- package/components/Banner/themes/dark/banner.css +0 -0
- package/components/Breadcrumb/themes/dark/breadcrumb.css +0 -0
- package/components/Button/themes/dark/button.css +0 -0
- package/components/CalendarMonth/themes/dark/calendar-month.css +0 -0
- package/components/Chip/themes/dark/chip.css +0 -0
- package/components/ClipboardCopy/themes/dark/clipboard-copy.css +0 -0
- package/components/CodeEditor/themes/dark/code-editor.css +0 -0
- package/components/ContextSelector/themes/dark/context-selector.css +0 -0
- package/components/DataList/themes/dark/data-list.css +0 -0
- package/components/DatePicker/themes/dark/date-picker.css +0 -0
- package/components/Drawer/themes/dark/drawer.css +0 -0
- package/components/Dropdown/themes/dark/dropdown.css +0 -0
- package/components/Form/themes/dark/form.css +0 -0
- package/components/FormControl/themes/dark/form-control.css +0 -0
- package/components/HelperText/themes/dark/helper-text.css +0 -0
- package/components/Hint/themes/dark/hint.css +0 -0
- package/components/InputGroup/themes/dark/input-group.css +0 -0
- package/components/Label/themes/dark/label.css +0 -0
- package/components/LogViewer/themes/dark/log-viewer.css +0 -0
- package/components/Login/themes/dark/login.css +0 -0
- package/components/Masthead/themes/dark/masthead.css +0 -0
- package/components/Menu/themes/dark/menu.css +0 -0
- package/components/MenuToggle/themes/dark/menu-toggle.css +0 -0
- package/components/ModalBox/themes/dark/modal-box.css +0 -0
- package/components/Nav/themes/dark/nav.css +0 -0
- package/components/NotificationBadge/themes/dark/notification-badge.css +0 -0
- package/components/NotificationDrawer/themes/dark/notification-drawer.css +0 -0
- package/components/OptionsMenu/themes/dark/options-menu.css +0 -0
- package/components/Page/themes/dark/page.css +0 -0
- package/components/Pagination/themes/dark/pagination.css +0 -0
- package/components/Popover/themes/dark/popover.css +0 -0
- package/components/Progress/themes/dark/progress.css +0 -0
- package/components/SearchInput/themes/dark/search-input.css +0 -0
- package/components/Select/themes/dark/select.css +0 -0
- package/components/SimpleList/themes/dark/simple-list.css +0 -0
- package/components/Skeleton/themes/dark/skeleton.css +0 -0
- package/components/Switch/themes/dark/switch.css +0 -0
- package/components/Table/themes/dark/table.css +0 -0
- package/components/Tabs/themes/dark/tabs.css +0 -0
- package/components/Tile/themes/dark/tile.css +0 -0
- package/components/ToggleGroup/themes/dark/toggle-group.css +0 -0
- package/components/Tooltip/themes/dark/tooltip.css +0 -0
- package/components/TreeView/themes/dark/tree-view.css +0 -0
- package/components/Wizard/themes/dark/wizard.css +0 -0
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
id: Pagination
|
|
3
3
|
section: components
|
|
4
4
|
cssPrefix: pf-c-pagination
|
|
5
|
-
|
|
5
|
+
---import './Pagination.css'
|
|
6
|
+
|
|
7
|
+
## Examples
|
|
6
8
|
|
|
7
9
|
### Top
|
|
8
10
|
|
|
@@ -13,23 +15,21 @@ cssPrefix: pf-c-pagination
|
|
|
13
15
|
<b>36</b>
|
|
14
16
|
</div>
|
|
15
17
|
<div class="pf-c-options-menu">
|
|
16
|
-
<
|
|
18
|
+
<button
|
|
19
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
20
|
+
type="button"
|
|
21
|
+
id="pagination-options-menu-top-example-toggle"
|
|
22
|
+
aria-haspopup="listbox"
|
|
23
|
+
aria-expanded="false"
|
|
24
|
+
>
|
|
17
25
|
<span class="pf-c-options-menu__toggle-text">
|
|
18
26
|
<b>1 - 10</b> of
|
|
19
27
|
<b>36</b>
|
|
20
28
|
</span>
|
|
21
|
-
<
|
|
22
|
-
class="
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
aria-expanded="false"
|
|
26
|
-
aria-label="Items per page"
|
|
27
|
-
>
|
|
28
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
29
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
30
|
-
</span>
|
|
31
|
-
</button>
|
|
32
|
-
</div>
|
|
29
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
30
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
31
|
+
</div>
|
|
32
|
+
</button>
|
|
33
33
|
<ul
|
|
34
34
|
class="pf-c-options-menu__menu"
|
|
35
35
|
aria-labelledby="pagination-options-menu-top-example-toggle"
|
|
@@ -115,23 +115,21 @@ cssPrefix: pf-c-pagination
|
|
|
115
115
|
<b>36</b>
|
|
116
116
|
</div>
|
|
117
117
|
<div class="pf-c-options-menu pf-m-expanded">
|
|
118
|
-
<
|
|
118
|
+
<button
|
|
119
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
120
|
+
type="button"
|
|
121
|
+
id="pagination-options-menu-top-expanded-example-toggle"
|
|
122
|
+
aria-haspopup="listbox"
|
|
123
|
+
aria-expanded="true"
|
|
124
|
+
>
|
|
119
125
|
<span class="pf-c-options-menu__toggle-text">
|
|
120
126
|
<b>1 - 10</b> of
|
|
121
127
|
<b>36</b>
|
|
122
128
|
</span>
|
|
123
|
-
<
|
|
124
|
-
class="
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
aria-expanded="true"
|
|
128
|
-
aria-label="Items per page"
|
|
129
|
-
>
|
|
130
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
131
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
132
|
-
</span>
|
|
133
|
-
</button>
|
|
134
|
-
</div>
|
|
129
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
130
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
131
|
+
</div>
|
|
132
|
+
</button>
|
|
135
133
|
<ul
|
|
136
134
|
class="pf-c-options-menu__menu"
|
|
137
135
|
aria-labelledby="pagination-options-menu-top-expanded-example-toggle"
|
|
@@ -216,23 +214,21 @@ cssPrefix: pf-c-pagination
|
|
|
216
214
|
<b>36</b>
|
|
217
215
|
</div>
|
|
218
216
|
<div class="pf-c-options-menu">
|
|
219
|
-
<
|
|
217
|
+
<button
|
|
218
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
219
|
+
type="button"
|
|
220
|
+
id="pagination-options-menu-top-example-toggle"
|
|
221
|
+
aria-haspopup="listbox"
|
|
222
|
+
aria-expanded="false"
|
|
223
|
+
>
|
|
220
224
|
<span class="pf-c-options-menu__toggle-text">
|
|
221
225
|
<b>1 - 10</b> of
|
|
222
226
|
<b>36</b>
|
|
223
227
|
</span>
|
|
224
|
-
<
|
|
225
|
-
class="
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
aria-expanded="false"
|
|
229
|
-
aria-label="Items per page"
|
|
230
|
-
>
|
|
231
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
232
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
233
|
-
</span>
|
|
234
|
-
</button>
|
|
235
|
-
</div>
|
|
228
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
229
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
230
|
+
</div>
|
|
231
|
+
</button>
|
|
236
232
|
<ul
|
|
237
233
|
class="pf-c-options-menu__menu"
|
|
238
234
|
aria-labelledby="pagination-options-menu-top-example-toggle"
|
|
@@ -328,23 +324,21 @@ cssPrefix: pf-c-pagination
|
|
|
328
324
|
<b>many</b>
|
|
329
325
|
</div>
|
|
330
326
|
<div class="pf-c-options-menu">
|
|
331
|
-
<
|
|
327
|
+
<button
|
|
328
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
329
|
+
type="button"
|
|
330
|
+
id="pagination-options-menu-top-indeterminate-example-toggle"
|
|
331
|
+
aria-haspopup="listbox"
|
|
332
|
+
aria-expanded="false"
|
|
333
|
+
>
|
|
332
334
|
<span class="pf-c-options-menu__toggle-text">
|
|
333
335
|
<b>1 - 10</b> of
|
|
334
336
|
<b>many</b>
|
|
335
337
|
</span>
|
|
336
|
-
<
|
|
337
|
-
class="
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
aria-expanded="false"
|
|
341
|
-
aria-label="Items per page"
|
|
342
|
-
>
|
|
343
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
344
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
345
|
-
</span>
|
|
346
|
-
</button>
|
|
347
|
-
</div>
|
|
338
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
339
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
340
|
+
</div>
|
|
341
|
+
</button>
|
|
348
342
|
<ul
|
|
349
343
|
class="pf-c-options-menu__menu"
|
|
350
344
|
aria-labelledby="pagination-options-menu-top-indeterminate-example-toggle"
|
|
@@ -425,23 +419,21 @@ cssPrefix: pf-c-pagination
|
|
|
425
419
|
```html
|
|
426
420
|
<div class="pf-c-pagination pf-m-bottom">
|
|
427
421
|
<div class="pf-c-options-menu pf-m-top">
|
|
428
|
-
<
|
|
422
|
+
<button
|
|
423
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
424
|
+
type="button"
|
|
425
|
+
id="pagination-options-menu-bottom-example-toggle"
|
|
426
|
+
aria-haspopup="listbox"
|
|
427
|
+
aria-expanded="false"
|
|
428
|
+
>
|
|
429
429
|
<span class="pf-c-options-menu__toggle-text">
|
|
430
430
|
<b>1 - 10</b> of
|
|
431
431
|
<b>36</b>
|
|
432
432
|
</span>
|
|
433
|
-
<
|
|
434
|
-
class="
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
aria-expanded="false"
|
|
438
|
-
aria-label="Items per page"
|
|
439
|
-
>
|
|
440
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
441
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
442
|
-
</span>
|
|
443
|
-
</button>
|
|
444
|
-
</div>
|
|
433
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
434
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
435
|
+
</div>
|
|
436
|
+
</button>
|
|
445
437
|
<ul
|
|
446
438
|
class="pf-c-options-menu__menu pf-m-top"
|
|
447
439
|
aria-labelledby="pagination-options-menu-bottom-example-toggle"
|
|
@@ -533,23 +525,21 @@ cssPrefix: pf-c-pagination
|
|
|
533
525
|
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus pretium est a porttitor vehicula. Quisque vel commodo urna. Morbi mattis rutrum ante, id vehicula ex accumsan ut. Morbi viverra, eros vel porttitor facilisis, eros purus aliquet erat, nec lobortis felis elit pulvinar sem. Vivamus vulputate, risus eget commodo eleifend, eros nibh porta quam, vitae lacinia leo libero at magna. Maecenas aliquam sagittis orci, et posuere nisi ultrices sit amet. Aliquam ex odio, malesuada sed posuere quis, pellentesque at mauris. Phasellus venenatis massa ex, eget pulvinar libero auctor pretium. Aliquam erat volutpat. Duis euismod justo in quam ullamcorper, in commodo massa vulputate.</div>
|
|
534
526
|
<div class="pf-c-pagination pf-m-bottom pf-m-sticky">
|
|
535
527
|
<div class="pf-c-options-menu pf-m-top">
|
|
536
|
-
<
|
|
528
|
+
<button
|
|
529
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
530
|
+
type="button"
|
|
531
|
+
id="pagination-options-menu-bottom-sticky-example-toggle"
|
|
532
|
+
aria-haspopup="listbox"
|
|
533
|
+
aria-expanded="false"
|
|
534
|
+
>
|
|
537
535
|
<span class="pf-c-options-menu__toggle-text">
|
|
538
536
|
<b>1 - 10</b> of
|
|
539
537
|
<b>36</b>
|
|
540
538
|
</span>
|
|
541
|
-
<
|
|
542
|
-
class="
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
aria-expanded="false"
|
|
546
|
-
aria-label="Items per page"
|
|
547
|
-
>
|
|
548
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
549
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
550
|
-
</span>
|
|
551
|
-
</button>
|
|
552
|
-
</div>
|
|
539
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
540
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
541
|
+
</div>
|
|
542
|
+
</button>
|
|
553
543
|
<ul
|
|
554
544
|
class="pf-c-options-menu__menu pf-m-top"
|
|
555
545
|
aria-labelledby="pagination-options-menu-bottom-sticky-example-toggle"
|
|
@@ -635,24 +625,22 @@ cssPrefix: pf-c-pagination
|
|
|
635
625
|
<b>36</b>
|
|
636
626
|
</div>
|
|
637
627
|
<div class="pf-c-options-menu">
|
|
638
|
-
<
|
|
628
|
+
<button
|
|
629
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
630
|
+
type="button"
|
|
631
|
+
id="pagination-options-menu-top-disabled-example-toggle"
|
|
632
|
+
aria-haspopup="listbox"
|
|
633
|
+
aria-expanded="false"
|
|
634
|
+
disabled
|
|
635
|
+
>
|
|
639
636
|
<span class="pf-c-options-menu__toggle-text">
|
|
640
637
|
<b>1 - 10</b> of
|
|
641
638
|
<b>36</b>
|
|
642
639
|
</span>
|
|
643
|
-
<
|
|
644
|
-
class="
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
aria-expanded="false"
|
|
648
|
-
aria-label="Items per page"
|
|
649
|
-
disabled
|
|
650
|
-
>
|
|
651
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
652
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
653
|
-
</span>
|
|
654
|
-
</button>
|
|
655
|
-
</div>
|
|
640
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
641
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
642
|
+
</div>
|
|
643
|
+
</button>
|
|
656
644
|
<ul
|
|
657
645
|
class="pf-c-options-menu__menu"
|
|
658
646
|
aria-labelledby="pagination-options-menu-top-disabled-example-toggle"
|
|
@@ -741,23 +729,21 @@ cssPrefix: pf-c-pagination
|
|
|
741
729
|
<b>36</b>
|
|
742
730
|
</div>
|
|
743
731
|
<div class="pf-c-options-menu">
|
|
744
|
-
<
|
|
732
|
+
<button
|
|
733
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
734
|
+
type="button"
|
|
735
|
+
id="pagination-options-menu-compact-example-toggle"
|
|
736
|
+
aria-haspopup="listbox"
|
|
737
|
+
aria-expanded="false"
|
|
738
|
+
>
|
|
745
739
|
<span class="pf-c-options-menu__toggle-text">
|
|
746
740
|
<b>1 - 10</b> of
|
|
747
741
|
<b>36</b>
|
|
748
742
|
</span>
|
|
749
|
-
<
|
|
750
|
-
class="
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
aria-expanded="false"
|
|
754
|
-
aria-label="Items per page"
|
|
755
|
-
>
|
|
756
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
757
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
758
|
-
</span>
|
|
759
|
-
</button>
|
|
760
|
-
</div>
|
|
743
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
744
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
745
|
+
</div>
|
|
746
|
+
</button>
|
|
761
747
|
<ul
|
|
762
748
|
class="pf-c-options-menu__menu"
|
|
763
749
|
aria-labelledby="pagination-options-menu-compact-example-toggle"
|
|
@@ -813,23 +799,21 @@ cssPrefix: pf-c-pagination
|
|
|
813
799
|
<b>36</b>
|
|
814
800
|
</div>
|
|
815
801
|
<div class="pf-c-options-menu">
|
|
816
|
-
<
|
|
802
|
+
<button
|
|
803
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
804
|
+
type="button"
|
|
805
|
+
id="pagination-top-with-summary-modifier-options-menu-toggle"
|
|
806
|
+
aria-haspopup="listbox"
|
|
807
|
+
aria-expanded="false"
|
|
808
|
+
>
|
|
817
809
|
<span class="pf-c-options-menu__toggle-text">
|
|
818
810
|
<b>1 - 10</b> of
|
|
819
811
|
<b>36</b>
|
|
820
812
|
</span>
|
|
821
|
-
<
|
|
822
|
-
class="
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
aria-expanded="false"
|
|
826
|
-
aria-label="Items per page"
|
|
827
|
-
>
|
|
828
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
829
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
830
|
-
</span>
|
|
831
|
-
</button>
|
|
832
|
-
</div>
|
|
813
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
814
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
815
|
+
</div>
|
|
816
|
+
</button>
|
|
833
817
|
<ul
|
|
834
818
|
class="pf-c-options-menu__menu"
|
|
835
819
|
aria-labelledby="pagination-top-with-summary-modifier-options-menu-toggle"
|
|
@@ -915,23 +899,21 @@ cssPrefix: pf-c-pagination
|
|
|
915
899
|
<b>36</b>
|
|
916
900
|
</div>
|
|
917
901
|
<div class="pf-c-options-menu">
|
|
918
|
-
<
|
|
902
|
+
<button
|
|
903
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
904
|
+
type="button"
|
|
905
|
+
id="pagination-top-with-full-modifier-options-menu-toggle"
|
|
906
|
+
aria-haspopup="listbox"
|
|
907
|
+
aria-expanded="false"
|
|
908
|
+
>
|
|
919
909
|
<span class="pf-c-options-menu__toggle-text">
|
|
920
910
|
<b>1 - 10</b> of
|
|
921
911
|
<b>36</b>
|
|
922
912
|
</span>
|
|
923
|
-
<
|
|
924
|
-
class="
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
aria-expanded="false"
|
|
928
|
-
aria-label="Items per page"
|
|
929
|
-
>
|
|
930
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
931
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
932
|
-
</span>
|
|
933
|
-
</button>
|
|
934
|
-
</div>
|
|
913
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
914
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
915
|
+
</div>
|
|
916
|
+
</button>
|
|
935
917
|
<ul
|
|
936
918
|
class="pf-c-options-menu__menu"
|
|
937
919
|
aria-labelledby="pagination-top-with-full-modifier-options-menu-toggle"
|
|
@@ -1019,23 +1001,21 @@ cssPrefix: pf-c-pagination
|
|
|
1019
1001
|
<b>36</b>
|
|
1020
1002
|
</div>
|
|
1021
1003
|
<div class="pf-c-options-menu">
|
|
1022
|
-
<
|
|
1004
|
+
<button
|
|
1005
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
1006
|
+
type="button"
|
|
1007
|
+
id="pagination-top-with-responsive-summary-navigation-modifiers-options-menu-toggle"
|
|
1008
|
+
aria-haspopup="listbox"
|
|
1009
|
+
aria-expanded="false"
|
|
1010
|
+
>
|
|
1023
1011
|
<span class="pf-c-options-menu__toggle-text">
|
|
1024
1012
|
<b>1 - 10</b> of
|
|
1025
1013
|
<b>36</b>
|
|
1026
1014
|
</span>
|
|
1027
|
-
<
|
|
1028
|
-
class="
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
aria-expanded="false"
|
|
1032
|
-
aria-label="Items per page"
|
|
1033
|
-
>
|
|
1034
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
1035
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1036
|
-
</span>
|
|
1037
|
-
</button>
|
|
1038
|
-
</div>
|
|
1015
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
1016
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1017
|
+
</div>
|
|
1018
|
+
</button>
|
|
1039
1019
|
<ul
|
|
1040
1020
|
class="pf-c-options-menu__menu"
|
|
1041
1021
|
aria-labelledby="pagination-top-with-responsive-summary-navigation-modifiers-options-menu-toggle"
|
|
@@ -1121,23 +1101,21 @@ cssPrefix: pf-c-pagination
|
|
|
1121
1101
|
<b>36</b>
|
|
1122
1102
|
</div>
|
|
1123
1103
|
<div class="pf-c-options-menu">
|
|
1124
|
-
<
|
|
1104
|
+
<button
|
|
1105
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
1106
|
+
type="button"
|
|
1107
|
+
id="pagination-compact-with-full-modifier-options-menu-toggle"
|
|
1108
|
+
aria-haspopup="listbox"
|
|
1109
|
+
aria-expanded="false"
|
|
1110
|
+
>
|
|
1125
1111
|
<span class="pf-c-options-menu__toggle-text">
|
|
1126
1112
|
<b>1 - 10</b> of
|
|
1127
1113
|
<b>36</b>
|
|
1128
1114
|
</span>
|
|
1129
|
-
<
|
|
1130
|
-
class="
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
aria-expanded="false"
|
|
1134
|
-
aria-label="Items per page"
|
|
1135
|
-
>
|
|
1136
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
1137
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1138
|
-
</span>
|
|
1139
|
-
</button>
|
|
1140
|
-
</div>
|
|
1115
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
1116
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1117
|
+
</div>
|
|
1118
|
+
</button>
|
|
1141
1119
|
<ul
|
|
1142
1120
|
class="pf-c-options-menu__menu"
|
|
1143
1121
|
aria-labelledby="pagination-compact-with-full-modifier-options-menu-toggle"
|
|
@@ -3137,23 +3137,21 @@ The `.pf-m-toggle-group` controls when, and at which breakpoint, filters will be
|
|
|
3137
3137
|
<div class="pf-c-pagination" aria-label="Element pagination">
|
|
3138
3138
|
<div class="pf-c-pagination__total-items">37 items</div>
|
|
3139
3139
|
<div class="pf-c-options-menu">
|
|
3140
|
-
<
|
|
3140
|
+
<button
|
|
3141
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
3142
|
+
type="button"
|
|
3143
|
+
id="toolbar-stacked-example-pagination-options-menu-toggle"
|
|
3144
|
+
aria-haspopup="listbox"
|
|
3145
|
+
aria-expanded="false"
|
|
3146
|
+
>
|
|
3141
3147
|
<span class="pf-c-options-menu__toggle-text">
|
|
3142
3148
|
<b>1 - 10</b> of
|
|
3143
3149
|
<b>36</b>
|
|
3144
3150
|
</span>
|
|
3145
|
-
<
|
|
3146
|
-
class="
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
aria-expanded="false"
|
|
3150
|
-
aria-label="Items per page"
|
|
3151
|
-
>
|
|
3152
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
3153
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3154
|
-
</span>
|
|
3155
|
-
</button>
|
|
3156
|
-
</div>
|
|
3151
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
3152
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3153
|
+
</div>
|
|
3154
|
+
</button>
|
|
3157
3155
|
<ul
|
|
3158
3156
|
class="pf-c-options-menu__menu"
|
|
3159
3157
|
aria-labelledby="toolbar-stacked-example-pagination-options-menu-toggle"
|
|
@@ -3652,23 +3650,21 @@ The `.pf-m-toggle-group` controls when, and at which breakpoint, filters will be
|
|
|
3652
3650
|
<div class="pf-c-pagination" aria-label="Element pagination">
|
|
3653
3651
|
<div class="pf-c-pagination__total-items">37 items</div>
|
|
3654
3652
|
<div class="pf-c-options-menu">
|
|
3655
|
-
<
|
|
3653
|
+
<button
|
|
3654
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
3655
|
+
type="button"
|
|
3656
|
+
id="toolbar-stacked-collapsed-example-pagination-options-menu-toggle"
|
|
3657
|
+
aria-haspopup="listbox"
|
|
3658
|
+
aria-expanded="false"
|
|
3659
|
+
>
|
|
3656
3660
|
<span class="pf-c-options-menu__toggle-text">
|
|
3657
3661
|
<b>1 - 10</b> of
|
|
3658
3662
|
<b>36</b>
|
|
3659
3663
|
</span>
|
|
3660
|
-
<
|
|
3661
|
-
class="
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
aria-expanded="false"
|
|
3665
|
-
aria-label="Items per page"
|
|
3666
|
-
>
|
|
3667
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
3668
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3669
|
-
</span>
|
|
3670
|
-
</button>
|
|
3671
|
-
</div>
|
|
3664
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
3665
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
3666
|
+
</div>
|
|
3667
|
+
</button>
|
|
3672
3668
|
<ul
|
|
3673
3669
|
class="pf-c-options-menu__menu"
|
|
3674
3670
|
aria-labelledby="toolbar-stacked-collapsed-example-pagination-options-menu-toggle"
|
|
@@ -75,7 +75,7 @@ wrapperTag: div
|
|
|
75
75
|
</li>
|
|
76
76
|
</ol>
|
|
77
77
|
</nav>
|
|
78
|
-
<main class="pf-c-wizard__main">
|
|
78
|
+
<main class="pf-c-wizard__main" tabindex="0">
|
|
79
79
|
<div class="pf-c-wizard__main-body">
|
|
80
80
|
<form novalidate class="pf-c-form">
|
|
81
81
|
<div class="pf-c-form__group">
|
|
@@ -302,7 +302,7 @@ wrapperTag: div
|
|
|
302
302
|
</li>
|
|
303
303
|
</ol>
|
|
304
304
|
</nav>
|
|
305
|
-
<main class="pf-c-wizard__main">
|
|
305
|
+
<main class="pf-c-wizard__main" tabindex="0">
|
|
306
306
|
<div class="pf-c-wizard__main-body">
|
|
307
307
|
<form novalidate class="pf-c-form">
|
|
308
308
|
<div class="pf-c-form__group">
|
|
@@ -536,7 +536,7 @@ wrapperTag: div
|
|
|
536
536
|
</li>
|
|
537
537
|
</ol>
|
|
538
538
|
</nav>
|
|
539
|
-
<main class="pf-c-wizard__main">
|
|
539
|
+
<main class="pf-c-wizard__main" tabindex="0">
|
|
540
540
|
<div class="pf-c-wizard__main-body">
|
|
541
541
|
<form novalidate class="pf-c-form">
|
|
542
542
|
<div class="pf-c-form__group">
|
|
@@ -794,7 +794,7 @@ wrapperTag: div
|
|
|
794
794
|
</li>
|
|
795
795
|
</ol>
|
|
796
796
|
</nav>
|
|
797
|
-
<main class="pf-c-wizard__main">
|
|
797
|
+
<main class="pf-c-wizard__main" tabindex="0">
|
|
798
798
|
<div class="pf-c-wizard__main-body">
|
|
799
799
|
<form novalidate class="pf-c-form">
|
|
800
800
|
<div class="pf-c-form__group">
|
|
@@ -1039,7 +1039,7 @@ wrapperTag: div
|
|
|
1039
1039
|
</li>
|
|
1040
1040
|
</ol>
|
|
1041
1041
|
</nav>
|
|
1042
|
-
<main class="pf-c-wizard__main">
|
|
1042
|
+
<main class="pf-c-wizard__main" tabindex="0">
|
|
1043
1043
|
<div class="pf-c-wizard__main-body">
|
|
1044
1044
|
<div class="pf-l-bullseye">
|
|
1045
1045
|
<div class="pf-c-empty-state pf-m-lg">
|
|
@@ -1106,19 +1106,20 @@ wrapperTag: div
|
|
|
1106
1106
|
|
|
1107
1107
|
### Accessibility
|
|
1108
1108
|
|
|
1109
|
-
| Attribute | Applied to | Outcome
|
|
1110
|
-
| ----------------------- | ----------------------------------------------------------- |
|
|
1111
|
-
| `aria-expanded="true"` | `.pf-c-wizard__toggle` | Indicates that the steps menu is visible. **Required**
|
|
1112
|
-
| `aria-expanded="false"` | `.pf-c-wizard__toggle` | Indicates that the steps menu is hidden. **Required**
|
|
1113
|
-
| `aria-label="close"` | `.pf-c-wizard__toggle-icon` | Gives the close button an accessible name. **Required**
|
|
1114
|
-
| `aria-hidden="true"` | `.pf-c-wizard__toggle-icon`, `.pf-c-wizard__toggle-divider` | Hides the icon from assistive technologies. **Required**
|
|
1115
|
-
| `aria-label="Steps"` | `.pf-c-wizard__nav` | Gives the steps nav element an accessible name. **Required**
|
|
1116
|
-
| `disabled` | `button.pf-c-wizard__nav-link` | Indicates that the element is disabled. **Required when a nav item is disabled**
|
|
1117
|
-
| `aria-disabled="true"` | `a.pf-c-wizard__nav-link` | Indicates that the element is disabled. **Required for disabled links with `.pf-m-disabled`**
|
|
1118
|
-
| `aria-current="page"` | `.pf-c-wizard__nav-link` | Indicates the current page link. Can only occur once on page. **Required for the current link**
|
|
1119
|
-
| `aria-expanded="true"` | `.pf-c-wizard__nav-link` | Indicates that the link subnav is visible. **Required**
|
|
1120
|
-
| `aria-expanded="false"` | `.pf-c-wizard__nav-link` | Indicates that the link subnav is hidden. **Required**
|
|
1121
|
-
| `tabindex="-1"` | `a.pf-c-wizard__nav-link` | Removes a link from keyboard focus. **Required for disabled links with `.pf-m-disabled`**
|
|
1109
|
+
| Attribute | Applied to | Outcome |
|
|
1110
|
+
| ----------------------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1111
|
+
| `aria-expanded="true"` | `.pf-c-wizard__toggle` | Indicates that the steps menu is visible. **Required** |
|
|
1112
|
+
| `aria-expanded="false"` | `.pf-c-wizard__toggle` | Indicates that the steps menu is hidden. **Required** |
|
|
1113
|
+
| `aria-label="close"` | `.pf-c-wizard__toggle-icon` | Gives the close button an accessible name. **Required** |
|
|
1114
|
+
| `aria-hidden="true"` | `.pf-c-wizard__toggle-icon`, `.pf-c-wizard__toggle-divider` | Hides the icon from assistive technologies. **Required** |
|
|
1115
|
+
| `aria-label="Steps"` | `.pf-c-wizard__nav` | Gives the steps nav element an accessible name. **Required** |
|
|
1116
|
+
| `disabled` | `button.pf-c-wizard__nav-link` | Indicates that the element is disabled. **Required when a nav item is disabled** |
|
|
1117
|
+
| `aria-disabled="true"` | `a.pf-c-wizard__nav-link` | Indicates that the element is disabled. **Required for disabled links with `.pf-m-disabled`** |
|
|
1118
|
+
| `aria-current="page"` | `.pf-c-wizard__nav-link` | Indicates the current page link. Can only occur once on page. **Required for the current link** |
|
|
1119
|
+
| `aria-expanded="true"` | `.pf-c-wizard__nav-link` | Indicates that the link subnav is visible. **Required** |
|
|
1120
|
+
| `aria-expanded="false"` | `.pf-c-wizard__nav-link` | Indicates that the link subnav is hidden. **Required** |
|
|
1121
|
+
| `tabindex="-1"` | `a.pf-c-wizard__nav-link` | Removes a link from keyboard focus. **Required for disabled links with `.pf-m-disabled`** |
|
|
1122
|
+
| `tabindex="0"` | `.pf-c-wizard__main` | If the wizard main section has overflow content that triggers a scrollbar, to ensure that the content is keyboard accessible, the section must include either a focusable element within the scrollable region or the section itself must be focusable by adding `tabindex="0"`. |
|
|
1122
1123
|
|
|
1123
1124
|
### Usage
|
|
1124
1125
|
|
|
@@ -407,23 +407,21 @@ section: demos
|
|
|
407
407
|
<div class="pf-c-toolbar__item pf-m-pagination">
|
|
408
408
|
<div class="pf-c-pagination pf-m-compact">
|
|
409
409
|
<div class="pf-c-options-menu">
|
|
410
|
-
<
|
|
410
|
+
<button
|
|
411
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
412
|
+
type="button"
|
|
413
|
+
id="-top-pagination-toggle"
|
|
414
|
+
aria-haspopup="listbox"
|
|
415
|
+
aria-expanded="false"
|
|
416
|
+
>
|
|
411
417
|
<span class="pf-c-options-menu__toggle-text">
|
|
412
418
|
<b>1 - 10</b> of
|
|
413
419
|
<b>36</b>
|
|
414
420
|
</span>
|
|
415
|
-
<
|
|
416
|
-
class="
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
aria-expanded="false"
|
|
420
|
-
aria-label="Items per page"
|
|
421
|
-
>
|
|
422
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
423
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
424
|
-
</span>
|
|
425
|
-
</button>
|
|
426
|
-
</div>
|
|
421
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
422
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
423
|
+
</div>
|
|
424
|
+
</button>
|
|
427
425
|
<ul
|
|
428
426
|
class="pf-c-options-menu__menu"
|
|
429
427
|
aria-labelledby="-top-pagination-toggle"
|
|
@@ -1259,23 +1257,21 @@ section: demos
|
|
|
1259
1257
|
>
|
|
1260
1258
|
<div class="pf-c-pagination pf-m-bottom">
|
|
1261
1259
|
<div class="pf-c-options-menu pf-m-top">
|
|
1262
|
-
<
|
|
1260
|
+
<button
|
|
1261
|
+
class="pf-c-options-menu__toggle pf-m-text pf-m-plain"
|
|
1262
|
+
type="button"
|
|
1263
|
+
id="pagination-options-menu-bottom-example-toggle"
|
|
1264
|
+
aria-haspopup="listbox"
|
|
1265
|
+
aria-expanded="false"
|
|
1266
|
+
>
|
|
1263
1267
|
<span class="pf-c-options-menu__toggle-text">
|
|
1264
1268
|
<b>1 - 10</b> of
|
|
1265
1269
|
<b>36</b>
|
|
1266
1270
|
</span>
|
|
1267
|
-
<
|
|
1268
|
-
class="
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
aria-expanded="false"
|
|
1272
|
-
aria-label="Items per page"
|
|
1273
|
-
>
|
|
1274
|
-
<span class="pf-c-options-menu__toggle-button-icon">
|
|
1275
|
-
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1276
|
-
</span>
|
|
1277
|
-
</button>
|
|
1278
|
-
</div>
|
|
1271
|
+
<div class="pf-c-options-menu__toggle-icon">
|
|
1272
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1273
|
+
</div>
|
|
1274
|
+
</button>
|
|
1279
1275
|
<ul
|
|
1280
1276
|
class="pf-c-options-menu__menu pf-m-top"
|
|
1281
1277
|
aria-labelledby="pagination-options-menu-bottom-example-toggle"
|