@patternfly/patternfly 5.0.0-alpha.14 → 5.0.0-alpha.19
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/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/components/Accordion/accordion.css +2 -0
- package/components/Accordion/accordion.scss +2 -0
- package/components/AppLauncher/app-launcher.css +2 -0
- package/components/AppLauncher/app-launcher.scss +2 -0
- package/components/Breadcrumb/breadcrumb.css +2 -0
- package/components/Breadcrumb/breadcrumb.scss +2 -0
- package/components/ContextSelector/context-selector.css +5 -1
- package/components/ContextSelector/context-selector.scss +6 -2
- package/components/DataList/data-list.css +2 -0
- package/components/DataList/data-list.scss +2 -0
- package/components/Drawer/drawer.css +13 -13
- package/components/Dropdown/dropdown.css +12 -10
- package/components/Dropdown/dropdown.scss +2 -0
- package/components/ExpandableSection/expandable-section.css +2 -0
- package/components/ExpandableSection/expandable-section.scss +2 -0
- package/components/Label/label.css +2 -0
- package/components/Label/label.scss +2 -0
- package/components/Login/login.css +1 -1
- package/components/Menu/menu.css +2 -0
- package/components/Menu/menu.scss +2 -0
- package/components/MenuToggle/menu-toggle.css +2 -0
- package/components/MenuToggle/menu-toggle.scss +2 -0
- package/components/Page/page.css +60 -60
- package/components/Pagination/pagination.css +2 -2
- package/components/Progress/progress.css +5 -2
- package/components/Progress/progress.scss +5 -2
- package/components/SearchInput/search-input.css +2 -0
- package/components/SearchInput/search-input.scss +2 -0
- package/components/Table/table-grid.css +28 -28
- package/components/Table/table-tree-view.css +4 -4
- package/components/TextInputGroup/text-input-group.css +4 -2
- package/components/TextInputGroup/text-input-group.scss +4 -3
- package/components/Toolbar/toolbar.css +35 -35
- package/components/TreeView/tree-view.css +7 -15
- package/components/TreeView/tree-view.scss +7 -18
- package/components/Wizard/wizard.css +2 -0
- package/components/Wizard/wizard.scss +2 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
- package/docs/components/Accordion/examples/Accordion.md +12 -12
- package/docs/components/ActionList/examples/ActionList.md +6 -6
- package/docs/components/Alert/examples/Alert.md +19 -19
- package/docs/components/AlertGroup/examples/AlertGroup.md +10 -10
- package/docs/components/AppLauncher/examples/application-launcher.md +34 -34
- package/docs/components/Avatar/examples/Avatar.md +11 -11
- package/docs/components/BackToTop/examples/BackToTop.md +4 -4
- package/docs/components/Backdrop/examples/Backdrop.md +4 -4
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +5 -5
- package/docs/components/Banner/examples/Banner.md +8 -8
- package/docs/components/Brand/examples/Brand.md +9 -9
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +15 -15
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
- package/docs/components/Card/examples/Card.md +27 -27
- package/docs/components/Check/examples/Check.md +13 -13
- package/docs/components/Chip/examples/Chip.md +13 -13
- package/docs/components/ChipGroup/examples/ChipGroup.md +15 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
- package/docs/components/CodeEditor/examples/CodeEditor.md +56 -33
- package/docs/components/Content/examples/Content.md +10 -10
- package/docs/components/ContextSelector/examples/context-selector.css +5 -1
- package/docs/components/ContextSelector/examples/context-selector.md +80 -74
- package/docs/components/DataList/examples/DataList.md +83 -83
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
- package/docs/components/Divider/examples/Divider.md +9 -9
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +43 -43
- package/docs/components/Dropdown/examples/Dropdown.css +5 -2
- package/docs/components/Dropdown/examples/Dropdown.md +50 -50
- package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
- package/docs/components/EmptyState/examples/EmptyState.md +19 -19
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +64 -64
- package/docs/components/FormControl/examples/FormControl.md +20 -20
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +7 -7
- package/docs/components/Icon/examples/Icon.md +10 -10
- package/docs/components/InlineEdit/examples/InlineEdit.md +24 -24
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +21 -21
- package/docs/components/Label/examples/Label.md +31 -31
- package/docs/components/LabelGroup/examples/LabelGroup.md +22 -22
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.md +69 -69
- package/docs/components/Login/examples/Login.md +22 -22
- package/docs/components/Masthead/examples/masthead.md +9 -9
- package/docs/components/Menu/examples/Menu.md +78 -76
- package/docs/components/MenuToggle/examples/MenuToggle.md +24 -24
- package/docs/components/ModalBox/examples/ModalBox.md +35 -35
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +22 -22
- package/docs/components/Nav/examples/Navigation.md +36 -36
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +39 -39
- package/docs/components/NumberInput/examples/NumberInput.md +12 -12
- package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
- package/docs/components/Page/examples/Page.md +54 -54
- package/docs/components/Pagination/examples/Pagination.md +27 -27
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +34 -34
- package/docs/components/Progress/examples/Progress.md +31 -60
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +24 -24
- package/docs/components/Radio/examples/Radio.md +11 -11
- package/docs/components/SearchInput/examples/SearchInput.md +34 -34
- package/docs/components/Select/examples/Select.md +143 -143
- package/docs/components/Sidebar/examples/Sidebar.md +14 -14
- package/docs/components/SimpleList/examples/SimpleList.md +11 -11
- package/docs/components/Skeleton/examples/Skeleton.md +8 -8
- package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
- package/docs/components/Slider/examples/Slider.md +24 -24
- package/docs/components/Spinner/examples/Spinner.md +24 -24
- package/docs/components/Switch/examples/Switch.md +19 -19
- package/docs/components/TabContent/examples/TabContent.md +13 -13
- package/docs/components/Table/examples/Table.md +155 -155
- package/docs/components/Tabs/examples/Tabs.md +47 -47
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +19 -19
- package/docs/components/Tile/examples/Tile.md +15 -15
- package/docs/components/Timestamp/examples/Timestamp.md +5 -5
- package/docs/components/Title/examples/Title.md +17 -17
- package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
- package/docs/components/Toolbar/examples/Toolbar.md +113 -113
- package/docs/components/Tooltip/examples/Tooltip.md +10 -10
- package/docs/components/TreeView/examples/TreeView.md +34 -34
- package/docs/components/Truncate/examples/Truncate.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +47 -51
- package/docs/demos/DataList/examples/DataList.md +4 -4
- package/docs/demos/Masthead/examples/Masthead.md +6 -6
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +6 -6
- package/docs/demos/Table/examples/Table.md +22 -22
- package/docs/demos/Toolbar/examples/Toolbar.md +8 -8
- package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
- package/docs/layouts/Flex/examples/Flex.md +98 -98
- package/docs/layouts/Gallery/examples/Gallery.md +7 -7
- package/docs/layouts/Grid/examples/Grid.md +9 -9
- package/docs/layouts/Level/examples/Level.md +5 -5
- package/docs/layouts/Split/examples/Split.md +7 -7
- package/docs/layouts/Stack/examples/Stack.md +6 -6
- package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
- package/docs/utilities/Alignment/examples/Alignment.md +6 -6
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
- package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
- package/docs/utilities/Display/examples/Display.md +11 -11
- package/docs/utilities/Flex/examples/Flex.md +34 -34
- package/docs/utilities/Float/examples/Float.md +4 -4
- package/docs/utilities/Sizing/examples/Sizing.md +50 -50
- package/docs/utilities/Spacing/examples/Spacing.md +34 -34
- package/docs/utilities/Text/examples/Text.md +27 -27
- package/icons/{pf-icons.json → pf-icons.mjs} +1 -1
- package/layouts/Grid/grid.css +5 -5
- package/package.json +56 -61
- package/patternfly-no-reset.css +201 -178
- package/patternfly.css +201 -178
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -96,10 +96,10 @@ cssPrefix: pf-c-tabs
|
|
|
96
96
|
|
|
97
97
|
### Default tabs usage
|
|
98
98
|
|
|
99
|
-
| Class
|
|
100
|
-
|
|
|
101
|
-
| `.pf-m-disabled`
|
|
102
|
-
| `.pf-m-aria-disabled` | `.pf-c-tabs__link`
|
|
99
|
+
| Class | Applied to | Outcome |
|
|
100
|
+
| -- | -- | -- |
|
|
101
|
+
| `.pf-m-disabled` | `a.pf-c-tabs__link` | Modifies a tabs link for disabled styles. |
|
|
102
|
+
| `.pf-m-aria-disabled` | `.pf-c-tabs__link` | Modifies a tabs link for disabled styles, but is still hoverable/focusable. |
|
|
103
103
|
|
|
104
104
|
## Overflow
|
|
105
105
|
|
|
@@ -213,10 +213,10 @@ cssPrefix: pf-c-tabs
|
|
|
213
213
|
|
|
214
214
|
### Overflow beginning of list usage
|
|
215
215
|
|
|
216
|
-
| Class
|
|
217
|
-
|
|
|
218
|
-
| `.pf-m-scrollable`
|
|
219
|
-
| `.pf-c-tabs__scroll-button` | `<button>`
|
|
216
|
+
| Class | Applied to | Outcome |
|
|
217
|
+
| -- | -- | -- |
|
|
218
|
+
| `.pf-m-scrollable` | `.pf-c-tabs` | Enables the directional scroll buttons. |
|
|
219
|
+
| `.pf-c-tabs__scroll-button` | `<button>` | Initiates a tabs component scroll button. |
|
|
220
220
|
|
|
221
221
|
### Horizontal overflow example
|
|
222
222
|
|
|
@@ -1653,10 +1653,10 @@ cssPrefix: pf-c-tabs
|
|
|
1653
1653
|
|
|
1654
1654
|
### Insets usage
|
|
1655
1655
|
|
|
1656
|
-
| Class
|
|
1657
|
-
|
|
|
1656
|
+
| Class | Applied to | Outcome |
|
|
1657
|
+
| -- | -- | -- |
|
|
1658
1658
|
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl, 3xl}{-on-[sm, md, lg, xl, 2xl]}` | `.pf-c-tabs` | Modifies the tabs component padding/inset to visually match padding of other adjacent components. |
|
|
1659
|
-
| `.pf-m-page-insets`
|
|
1659
|
+
| `.pf-m-page-insets` | `.pf-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
1660
1660
|
|
|
1661
1661
|
## Icons
|
|
1662
1662
|
|
|
@@ -2318,9 +2318,9 @@ cssPrefix: pf-c-tabs
|
|
|
2318
2318
|
|
|
2319
2319
|
### Filled usage
|
|
2320
2320
|
|
|
2321
|
-
| Class
|
|
2322
|
-
|
|
|
2323
|
-
| `.pf-m-fill`
|
|
2321
|
+
| Class | Applied to | Outcome |
|
|
2322
|
+
| -- | -- | -- |
|
|
2323
|
+
| `.pf-m-fill` | `.pf-c-tabs` | Modifies the tabs to fill the available space. **Required** |
|
|
2324
2324
|
|
|
2325
2325
|
## Tabs as navigation
|
|
2326
2326
|
|
|
@@ -7551,36 +7551,36 @@ Whenever a list of tabs is unique on the current page, it can be used in a `<nav
|
|
|
7551
7551
|
|
|
7552
7552
|
### Usage
|
|
7553
7553
|
|
|
7554
|
-
| Class
|
|
7555
|
-
|
|
|
7556
|
-
| `.pf-c-tabs`
|
|
7557
|
-
| `.pf-c-tabs__list`
|
|
7558
|
-
| `.pf-c-tabs__item`
|
|
7559
|
-
| `.pf-c-tabs__item-text`
|
|
7560
|
-
| `.pf-c-tabs__item-icon`
|
|
7561
|
-
| `.pf-c-tabs__item-close`
|
|
7562
|
-
| `.pf-c-tabs__item-close-icon`
|
|
7563
|
-
| `.pf-c-tabs__link`
|
|
7564
|
-
| `.pf-c-tabs__scroll-button`
|
|
7565
|
-
| `.pf-c-tabs__add`
|
|
7566
|
-
| `.pf-c-tabs__toggle`
|
|
7567
|
-
| `.pf-c-tabs__toggle-button`
|
|
7568
|
-
| `.pf-c-tabs__toggle-icon`
|
|
7569
|
-
| `.pf-c-tabs__toggle-text`
|
|
7570
|
-
| `.pf-m-secondary`
|
|
7571
|
-
| `.pf-m-no-border-bottom`
|
|
7572
|
-
| `.pf-m-box`
|
|
7573
|
-
| `.pf-m-vertical`
|
|
7574
|
-
| `.pf-m-fill`
|
|
7575
|
-
| `.pf-m-current`
|
|
7576
|
-
| `.pf-m-action`
|
|
7577
|
-
| `.pf-m-overflow`
|
|
7578
|
-
| `.pf-m-expanded`
|
|
7579
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-c-tabs`
|
|
7580
|
-
| `.pf-m-page-insets`
|
|
7581
|
-
| `.pf-m-color-scheme--light-300`
|
|
7582
|
-
| `.pf-m-expandable{-on-[breakpoint]}`
|
|
7583
|
-
| `.pf-m-non-expandable{-on-[breakpoint]}`
|
|
7584
|
-
| `.pf-m-expanded`
|
|
7585
|
-
| `.pf-m-disabled`
|
|
7586
|
-
| `.pf-m-aria-disabled`
|
|
7554
|
+
| Class | Applied to | Outcome |
|
|
7555
|
+
| -- | -- | -- |
|
|
7556
|
+
| `.pf-c-tabs` | `<nav>`, `<div>` | Initiates the tabs component. **Required** |
|
|
7557
|
+
| `.pf-c-tabs__list` | `<ul>` | Initiates a tabs component list. **Required** |
|
|
7558
|
+
| `.pf-c-tabs__item` | `<li>` | Initiates a tabs component item. **Required** |
|
|
7559
|
+
| `.pf-c-tabs__item-text` | `<span>` | Initiates a tabs component item icon. **Required** |
|
|
7560
|
+
| `.pf-c-tabs__item-icon` | `<span>` | Initiates a tabs component item text. **Required** |
|
|
7561
|
+
| `.pf-c-tabs__item-close` | `<span>` | Initiates a tabs component item close. |
|
|
7562
|
+
| `.pf-c-tabs__item-close-icon` | `<span>` | Initiates a tabs component item close icon. |
|
|
7563
|
+
| `.pf-c-tabs__link` | `<button>`, `<a>` | Initiates a tabs component link. **Required** |
|
|
7564
|
+
| `.pf-c-tabs__scroll-button` | `<button>` | Initiates a tabs component scroll button. |
|
|
7565
|
+
| `.pf-c-tabs__add` | `<span>` | Initiates a tabs component add button. |
|
|
7566
|
+
| `.pf-c-tabs__toggle` | `<div>` | Initiates a tabs expandable toggle. |
|
|
7567
|
+
| `.pf-c-tabs__toggle-button` | `<button>` | Initiates a tabs expandable toggle button. |
|
|
7568
|
+
| `.pf-c-tabs__toggle-icon` | `<span>` | Initiates a tabs expandable toggle icon. |
|
|
7569
|
+
| `.pf-c-tabs__toggle-text` | `<span>` | Initiates a tabs expandable toggle text. |
|
|
7570
|
+
| `.pf-m-secondary` | `.pf-c-tabs` | Applies secondary styling to the tab component. |
|
|
7571
|
+
| `.pf-m-no-border-bottom` | `.pf-c-tabs` | Removes bottom border from a tab component. |
|
|
7572
|
+
| `.pf-m-box` | `.pf-c-tabs` | Applies box styling to the tab component. |
|
|
7573
|
+
| `.pf-m-vertical` | `.pf-c-tabs` | Applies vertical styling to the tab component. |
|
|
7574
|
+
| `.pf-m-fill` | `.pf-c-tabs` | Modifies the tabs to fill the available space. |
|
|
7575
|
+
| `.pf-m-current` | `.pf-c-tabs__item` | Indicates that a tab item is currently selected. |
|
|
7576
|
+
| `.pf-m-action` | `.pf-c-tabs__item` | Indicates that a tab item contains actions other than the tab link. |
|
|
7577
|
+
| `.pf-m-overflow` | `.pf-c-tabs__item` | Applies overflow menu styling to a tab item. |
|
|
7578
|
+
| `.pf-m-expanded` | `.pf-c-tabs__item` | Applies expanded styling to the overflow menu tab item. |
|
|
7579
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-c-tabs` | Modifies tabs horizontal padding at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
7580
|
+
| `.pf-m-page-insets` | `.pf-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
7581
|
+
| `.pf-m-color-scheme--light-300` | `.pf-c-tabs` | Modifies the tabs component tab background colors. |
|
|
7582
|
+
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-c-tabs` | Modifies the tabs component to be expandable via a toggle at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** works with vertical tabs only. |
|
|
7583
|
+
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-c-tabs` | Modifies the tabs component to be non-expandable at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
7584
|
+
| `.pf-m-expanded` | `.pf-c-tabs` | Modifies the expandable tabs component for the expanded state. |
|
|
7585
|
+
| `.pf-m-disabled` | `a.pf-c-tabs__link` | Modifies a tabs link for disabled styles. |
|
|
7586
|
+
| `.pf-m-aria-disabled` | `.pf-c-tabs__link` | Modifies a tabs link for disabled styles, but is still hoverable/focusable. |
|
|
@@ -34,9 +34,9 @@ cssPrefix: pf-c-text-input-group
|
|
|
34
34
|
<input
|
|
35
35
|
class="pf-c-text-input-group__text-input"
|
|
36
36
|
type="text"
|
|
37
|
-
value="Disabled"
|
|
38
37
|
disabled
|
|
39
|
-
|
|
38
|
+
value="Disabled"
|
|
39
|
+
aria-label="Disabled text input group example input"
|
|
40
40
|
/>
|
|
41
41
|
</span>
|
|
42
42
|
</div>
|
|
@@ -530,9 +530,9 @@ cssPrefix: pf-c-text-input-group
|
|
|
530
530
|
</span>
|
|
531
531
|
<input
|
|
532
532
|
class="pf-c-text-input-group__text-input"
|
|
533
|
-
type="
|
|
534
|
-
value
|
|
533
|
+
type="search"
|
|
535
534
|
placeholder="Find by name"
|
|
535
|
+
value
|
|
536
536
|
aria-label="Type to filter"
|
|
537
537
|
/>
|
|
538
538
|
</span>
|
|
@@ -552,9 +552,9 @@ cssPrefix: pf-c-text-input-group
|
|
|
552
552
|
</span>
|
|
553
553
|
<input
|
|
554
554
|
class="pf-c-text-input-group__text-input"
|
|
555
|
-
type="
|
|
556
|
-
value="Joh"
|
|
555
|
+
type="search"
|
|
557
556
|
placeholder="Find by name"
|
|
557
|
+
value="Joh"
|
|
558
558
|
aria-label="Type to filter"
|
|
559
559
|
/>
|
|
560
560
|
</span>
|
|
@@ -583,9 +583,9 @@ cssPrefix: pf-c-text-input-group
|
|
|
583
583
|
</span>
|
|
584
584
|
<input
|
|
585
585
|
class="pf-c-text-input-group__text-input"
|
|
586
|
-
type="
|
|
587
|
-
value="John Doe"
|
|
586
|
+
type="search"
|
|
588
587
|
placeholder="Find by name"
|
|
588
|
+
value="John Doe"
|
|
589
589
|
aria-label="Type to filter"
|
|
590
590
|
/>
|
|
591
591
|
</span>
|
|
@@ -615,9 +615,9 @@ cssPrefix: pf-c-text-input-group
|
|
|
615
615
|
</span>
|
|
616
616
|
<input
|
|
617
617
|
class="pf-c-text-input-group__text-input"
|
|
618
|
-
type="
|
|
619
|
-
value="John Doe"
|
|
618
|
+
type="search"
|
|
620
619
|
placeholder="Find by name"
|
|
620
|
+
value="John Doe"
|
|
621
621
|
aria-label="Type to filter"
|
|
622
622
|
/>
|
|
623
623
|
</span>
|
|
@@ -659,9 +659,9 @@ cssPrefix: pf-c-text-input-group
|
|
|
659
659
|
</span>
|
|
660
660
|
<input
|
|
661
661
|
class="pf-c-text-input-group__text-input"
|
|
662
|
-
type="
|
|
663
|
-
value
|
|
662
|
+
type="search"
|
|
664
663
|
placeholder="Search"
|
|
664
|
+
value
|
|
665
665
|
aria-label="Type to filter"
|
|
666
666
|
/>
|
|
667
667
|
</span>
|
|
@@ -686,9 +686,9 @@ cssPrefix: pf-c-text-input-group
|
|
|
686
686
|
</span>
|
|
687
687
|
<input
|
|
688
688
|
class="pf-c-text-input-group__text-input"
|
|
689
|
-
type="
|
|
690
|
-
value
|
|
689
|
+
type="search"
|
|
691
690
|
placeholder="Find by name"
|
|
691
|
+
value
|
|
692
692
|
aria-label="Type to filter"
|
|
693
693
|
/>
|
|
694
694
|
</span>
|
|
@@ -713,7 +713,7 @@ cssPrefix: pf-c-text-input-group
|
|
|
713
713
|
</span>
|
|
714
714
|
<input
|
|
715
715
|
class="pf-c-text-input-group__text-input"
|
|
716
|
-
type="
|
|
716
|
+
type="search"
|
|
717
717
|
value="username:root firstname:ned"
|
|
718
718
|
aria-label="Type to filter"
|
|
719
719
|
/>
|
|
@@ -756,7 +756,7 @@ cssPrefix: pf-c-text-input-group
|
|
|
756
756
|
</span>
|
|
757
757
|
<input
|
|
758
758
|
class="pf-c-text-input-group__text-input"
|
|
759
|
-
type="
|
|
759
|
+
type="search"
|
|
760
760
|
value="username:root firstname:ned"
|
|
761
761
|
aria-label="Type to filter"
|
|
762
762
|
/>
|
|
@@ -879,7 +879,7 @@ cssPrefix: pf-c-text-input-group
|
|
|
879
879
|
</span>
|
|
880
880
|
<input
|
|
881
881
|
class="pf-c-text-input-group__text-input"
|
|
882
|
-
type="
|
|
882
|
+
type="search"
|
|
883
883
|
value="app"
|
|
884
884
|
aria-label="Type to filter"
|
|
885
885
|
/>
|
|
@@ -944,7 +944,7 @@ cssPrefix: pf-c-text-input-group
|
|
|
944
944
|
</span>
|
|
945
945
|
<input
|
|
946
946
|
class="pf-c-text-input-group__text-input pf-m-hint"
|
|
947
|
-
type="
|
|
947
|
+
type="search"
|
|
948
948
|
value="appleseed"
|
|
949
949
|
disabled
|
|
950
950
|
aria-hidden="true"
|
|
@@ -991,7 +991,7 @@ cssPrefix: pf-c-text-input-group
|
|
|
991
991
|
</span>
|
|
992
992
|
<input
|
|
993
993
|
class="pf-c-text-input-group__text-input"
|
|
994
|
-
type="
|
|
994
|
+
type="search"
|
|
995
995
|
value="username:root firstname:n"
|
|
996
996
|
aria-label="Type to filter"
|
|
997
997
|
/>
|
|
@@ -872,21 +872,21 @@ cssPrefix: pf-c-tile
|
|
|
872
872
|
|
|
873
873
|
### Accessibility
|
|
874
874
|
|
|
875
|
-
| Attribute
|
|
876
|
-
|
|
|
877
|
-
| `tabindex="0"`
|
|
878
|
-
| `tabindex="-1"` | `.pf-c-tile` | Removes the tile from keyboard focus when it is disabled.
|
|
875
|
+
| Attribute | Applied to | Outcome |
|
|
876
|
+
| -- | -- | -- |
|
|
877
|
+
| `tabindex="0"` | `.pf-c-tile` | Inserts the tile into the tab order of the page so that it is focusable. **Required** |
|
|
878
|
+
| `tabindex="-1"` | `.pf-c-tile` | Removes the tile from keyboard focus when it is disabled. |
|
|
879
879
|
|
|
880
880
|
### Usage
|
|
881
881
|
|
|
882
|
-
| Class
|
|
883
|
-
|
|
|
884
|
-
| `.pf-c-tile`
|
|
885
|
-
| `.pf-c-tile__header` | `<div>`
|
|
886
|
-
| `.pf-c-tile__title`
|
|
887
|
-
| `.pf-c-tile__icon`
|
|
888
|
-
| `.pf-c-tile__body`
|
|
889
|
-
| `.pf-m-selected`
|
|
890
|
-
| `.pf-m-disabled`
|
|
891
|
-
| `.pf-m-stacked`
|
|
892
|
-
| `.pf-m-display-lg`
|
|
882
|
+
| Class | Applied to | Outcome |
|
|
883
|
+
| -- | -- | -- |
|
|
884
|
+
| `.pf-c-tile` | `<div>` | Initiates a tile. **Required** |
|
|
885
|
+
| `.pf-c-tile__header` | `<div>` | Initiates the tile header. |
|
|
886
|
+
| `.pf-c-tile__title` | `<div>` | Initiates the tile title. |
|
|
887
|
+
| `.pf-c-tile__icon` | `<div>` | Initiates the tile icon or image. |
|
|
888
|
+
| `.pf-c-tile__body` | `<div>` | Initiates the tile body. |
|
|
889
|
+
| `.pf-m-selected` | `.pf-c-tile` | Modifies the tile for the selected state. |
|
|
890
|
+
| `.pf-m-disabled` | `.pf-c-tile` | Modifies the tile for the disabled state. |
|
|
891
|
+
| `.pf-m-stacked` | `.pf-c-tile__header` | Modifies the tile header to be stacked vertically. |
|
|
892
|
+
| `.pf-m-display-lg` | `.pf-c-tile` | Modifies the tile to have large display styling. |
|
|
@@ -55,8 +55,8 @@ cssPrefix: pf-c-timestamp
|
|
|
55
55
|
|
|
56
56
|
### Usage
|
|
57
57
|
|
|
58
|
-
| Class
|
|
59
|
-
|
|
|
60
|
-
| `.pf-c-timestamp`
|
|
61
|
-
| `.pf-c-timestamp__text` | `<time>`
|
|
62
|
-
| `.pf-m-help-text
|
|
58
|
+
| Class | Applied to | Outcome |
|
|
59
|
+
| -- | -- | -- |
|
|
60
|
+
| `.pf-c-timestamp` | `<span>` | Creates a timestamp. **Required** |
|
|
61
|
+
| `.pf-c-timestamp__text` | `<time>` | Creates the visual text of the timestamp. **Required** |
|
|
62
|
+
| `.pf-m-help-text`| `.pf-c-timestamp` | Modifies styling for a timestamp that has help text. |
|
|
@@ -24,23 +24,23 @@ The title component styles font-size, font-weight, and line-height to titles.
|
|
|
24
24
|
|
|
25
25
|
The content component defines margin on headers. To regain the same spacing use, spacer utility classes:
|
|
26
26
|
|
|
27
|
-
| Title | Margin top
|
|
28
|
-
|
|
|
29
|
-
| 4xl
|
|
30
|
-
| 3xl
|
|
31
|
-
| 2xl
|
|
32
|
-
| xl
|
|
33
|
-
| lg
|
|
34
|
-
| md
|
|
27
|
+
| Title | Margin top | Margin bottom |
|
|
28
|
+
| -- | -- | -- |
|
|
29
|
+
| 4xl | `.pf-u-mt-lg` | `.pf-u-mb-sm` |
|
|
30
|
+
| 3xl | `.pf-u-mt-lg` | `.pf-u-mb-sm` |
|
|
31
|
+
| 2xl | `.pf-u-mt-lg` | `.pf-u-mb-sm` |
|
|
32
|
+
| xl | `.pf-u-mt-lg` | `.pf-u-mb-sm` |
|
|
33
|
+
| lg | `.pf-u-mt-lg` | `.pf-u-mb-sm` |
|
|
34
|
+
| md | `.pf-u-mt-lg` | `.pf-u-mb-sm` |
|
|
35
35
|
|
|
36
36
|
### Usage
|
|
37
37
|
|
|
38
|
-
| Class
|
|
39
|
-
|
|
|
40
|
-
| `.pf-c-title` | `*`
|
|
41
|
-
| `.pf-m-4xl`
|
|
42
|
-
| `.pf-m-3xl`
|
|
43
|
-
| `.pf-m-2xl`
|
|
44
|
-
| `.pf-m-xl`
|
|
45
|
-
| `.pf-m-lg`
|
|
46
|
-
| `.pf-m-md`
|
|
38
|
+
| Class | Applied | Outcome |
|
|
39
|
+
| -- | -- | -- |
|
|
40
|
+
| `.pf-c-title` | `*` | Initiates a title. Always use it with a modifier class. |
|
|
41
|
+
| `.pf-m-4xl` | `.pf-c-title` | Modifies for 4xl size |
|
|
42
|
+
| `.pf-m-3xl` | `.pf-c-title` | Modifies for 3xl size |
|
|
43
|
+
| `.pf-m-2xl` | `.pf-c-title` | Modifies for 2xl size |
|
|
44
|
+
| `.pf-m-xl` | `.pf-c-title` | Modifies for xl size |
|
|
45
|
+
| `.pf-m-lg` | `.pf-c-title` | Modifies for lg size |
|
|
46
|
+
| `.pf-m-md` | `.pf-c-title` | Modifies for md size |
|
|
@@ -319,19 +319,19 @@ cssPrefix: pf-c-toggle-group
|
|
|
319
319
|
|
|
320
320
|
### Accessibility
|
|
321
321
|
|
|
322
|
-
| Attribute
|
|
323
|
-
|
|
|
324
|
-
| `aria-label="[button label text]"` | `.pf-c-toggle-group__button` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text**
|
|
325
|
-
| `disabled`
|
|
322
|
+
| Attribute | Applied to | Outcome |
|
|
323
|
+
| -- | -- | -- |
|
|
324
|
+
| `aria-label="[button label text]"` | `.pf-c-toggle-group__button` | Provides an accessible name for the button when an icon is used instead of text. **Required when icon is used with no supporting text** |
|
|
325
|
+
| `disabled` | `.pf-c-toggle-group__button` | When a button element is used, indicates that it is unavailable and removes it from keyboard focus. **Required when button is disabled** |
|
|
326
326
|
|
|
327
327
|
### Usage
|
|
328
328
|
|
|
329
|
-
| Class
|
|
330
|
-
|
|
|
331
|
-
| `.pf-c-toggle-group`
|
|
332
|
-
| `.pf-c-toggle-group__button` | `<button>`
|
|
333
|
-
| `.pf-c-toggle-group__item`
|
|
334
|
-
| `.pf-c-toggle-group__text`
|
|
335
|
-
| `.pf-c-toggle-group__icon`
|
|
336
|
-
| `.pf-m-compact`
|
|
337
|
-
| `.pf-m-selected`
|
|
329
|
+
| Class | Applied to | Outcome |
|
|
330
|
+
| -- | -- | -- |
|
|
331
|
+
| `.pf-c-toggle-group` | `<div>` | Initiates the toggle group. **Required** |
|
|
332
|
+
| `.pf-c-toggle-group__button` | `<button>` | Initiates the toggle group button. **Required** |
|
|
333
|
+
| `.pf-c-toggle-group__item` | `<div>` | Initiates the toggle group item wrapper. **Required** |
|
|
334
|
+
| `.pf-c-toggle-group__text` | `<span>` | Initiates the toggle button text element. |
|
|
335
|
+
| `.pf-c-toggle-group__icon` | `<span>` | Initiates the toggle button icon element. |
|
|
336
|
+
| `.pf-m-compact` | `.pf-c-toggle-group` | Modifies the toggle group for compact styles. |
|
|
337
|
+
| `.pf-m-selected` | `.pf-c-toggle-group__button` | Modifies the toggle button group button for the selected state. |
|