@patternfly/patternfly 6.2.0-prerelease.2 → 6.2.0-prerelease.21
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.scss +1 -1
- package/base/normalize.scss +2 -2
- package/base/patternfly-pf-icons.css +1 -1
- package/components/Alert/alert-group.css +50 -7
- package/components/Alert/alert-group.scss +114 -28
- package/components/Banner/banner.css +2 -2
- package/components/Banner/banner.scss +2 -2
- package/components/Breadcrumb/breadcrumb.css +3 -2
- package/components/Breadcrumb/breadcrumb.scss +3 -2
- package/components/Button/button.css +63 -2
- package/components/Button/button.scss +74 -2
- package/components/Card/card.css +17 -0
- package/components/Card/card.scss +22 -0
- package/components/ClipboardCopy/clipboard-copy.css +3 -0
- package/components/ClipboardCopy/clipboard-copy.scss +4 -0
- package/components/Content/content.css +2 -1
- package/components/Content/content.scss +2 -1
- package/components/DescriptionList/description-list.css +3 -2
- package/components/DescriptionList/description-list.scss +3 -2
- package/components/Drawer/drawer.css +3 -1
- package/components/Drawer/drawer.scss +3 -1
- package/components/Form/form.css +3 -6
- package/components/Form/form.scss +3 -7
- package/components/HelperText/helper-text.css +13 -0
- package/components/HelperText/helper-text.scss +16 -0
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/Label/label.css +3 -2
- package/components/Label/label.scss +3 -2
- package/components/Masthead/masthead.css +1 -1
- package/components/Masthead/masthead.scss +1 -1
- package/components/Menu/menu.css +15 -7
- package/components/Menu/menu.scss +14 -5
- package/components/MenuToggle/menu-toggle.css +41 -0
- package/components/MenuToggle/menu-toggle.scss +49 -0
- package/components/Nav/nav.css +46 -13
- package/components/Nav/nav.scss +57 -17
- package/components/Page/page.css +16 -1
- package/components/Page/page.scss +17 -3
- package/components/Popover/popover.css +2 -0
- package/components/Popover/popover.scss +2 -0
- package/components/Progress/progress.css +3 -0
- package/components/Progress/progress.scss +3 -0
- package/components/ProgressStepper/progress-stepper.css +2 -1
- package/components/ProgressStepper/progress-stepper.scss +2 -1
- package/components/SimpleList/simple-list.css +2 -2
- package/components/SimpleList/simple-list.scss +2 -2
- package/components/Switch/switch.css +3 -1
- package/components/Switch/switch.scss +4 -2
- package/components/Table/table.css +3 -3
- package/components/Table/table.scss +3 -2
- package/components/Tabs/tabs.css +1 -1
- package/components/Tabs/tabs.scss +1 -1
- package/components/Timestamp/timestamp.css +2 -1
- package/components/Timestamp/timestamp.scss +2 -1
- package/components/ToggleGroup/toggle-group.css +1 -1
- package/components/ToggleGroup/toggle-group.scss +1 -1
- package/components/Toolbar/toolbar.css +6 -1
- package/components/Toolbar/toolbar.scss +7 -1
- package/components/Wizard/wizard.css +1 -1
- package/components/Wizard/wizard.scss +1 -1
- package/components/_index.css +310 -60
- package/docs/components/Alert/examples/Alert.md +6 -0
- package/docs/components/Avatar/examples/Avatar.md +4 -4
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Button/examples/Button.md +29 -0
- package/docs/components/Card/examples/Card.md +30 -0
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +29 -0
- package/docs/components/DataList/examples/DataList.md +3 -3
- package/docs/components/DescriptionList/examples/DescriptionList.md +2 -2
- package/docs/components/Divider/examples/Divider.md +2 -2
- package/docs/components/Drawer/examples/Drawer.md +3 -3
- package/docs/components/JumpLinks/examples/JumpLinks.md +2 -2
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +8 -8
- package/docs/components/Nav/examples/Navigation.md +3 -0
- package/docs/components/Page/examples/Page.md +2 -2
- package/docs/components/Pagination/examples/Pagination.md +3 -3
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +2 -2
- package/docs/components/Sidebar/examples/Sidebar.md +1 -1
- package/docs/components/Table/examples/Table.md +17 -29
- package/docs/components/Tabs/examples/Tabs.md +148 -6
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +10 -0
- package/docs/components/Toolbar/examples/Toolbar.css +3 -0
- package/docs/components/Toolbar/examples/Toolbar.md +35 -7
- package/docs/demos/Card/examples/Card.md +32 -24
- package/docs/demos/CardView/examples/CardView.md +2 -0
- package/docs/demos/Nav/examples/Nav.md +2 -0
- 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 +4 -4
- 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 +6 -6
- package/docs/utilities/Spacing/examples/Spacing.md +1 -1
- package/docs/utilities/Text/examples/Text.md +1 -1
- package/package.json +2 -2
- package/patternfly-base-no-globals.css +1 -1
- package/patternfly-base.css +3 -3
- package/patternfly-charts.css +83 -0
- package/patternfly-charts.scss +126 -0
- package/patternfly-no-globals.css +311 -61
- package/patternfly.css +313 -63
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/docs/components/TabContent/examples/TabContent.md +0 -153
|
@@ -9099,14 +9099,137 @@ cssPrefix: pf-v6-c-tabs
|
|
|
9099
9099
|
|
|
9100
9100
|
```
|
|
9101
9101
|
|
|
9102
|
+
## Tab content
|
|
9103
|
+
|
|
9104
|
+
### Default tab content example
|
|
9105
|
+
|
|
9106
|
+
```html
|
|
9107
|
+
<section
|
|
9108
|
+
class="pf-v6-c-tab-content"
|
|
9109
|
+
id="basic-tab1-panel"
|
|
9110
|
+
role="tabpanel"
|
|
9111
|
+
tabindex="0"
|
|
9112
|
+
>
|
|
9113
|
+
<div class="pf-v6-c-tab-content__body">Panel 1</div>
|
|
9114
|
+
</section>
|
|
9115
|
+
<section
|
|
9116
|
+
class="pf-v6-c-tab-content"
|
|
9117
|
+
id="basic-tab2-panel"
|
|
9118
|
+
role="tabpanel"
|
|
9119
|
+
tabindex="0"
|
|
9120
|
+
hidden
|
|
9121
|
+
>
|
|
9122
|
+
<div class="pf-v6-c-tab-content__body">Panel 2</div>
|
|
9123
|
+
</section>
|
|
9124
|
+
<section
|
|
9125
|
+
class="pf-v6-c-tab-content"
|
|
9126
|
+
id="basic-tab3-panel"
|
|
9127
|
+
role="tabpanel"
|
|
9128
|
+
tabindex="0"
|
|
9129
|
+
hidden
|
|
9130
|
+
>
|
|
9131
|
+
<div class="pf-v6-c-tab-content__body">Panel 3</div>
|
|
9132
|
+
</section>
|
|
9133
|
+
<section
|
|
9134
|
+
class="pf-v6-c-tab-content"
|
|
9135
|
+
id="basic-tab4-panel"
|
|
9136
|
+
role="tabpanel"
|
|
9137
|
+
tabindex="0"
|
|
9138
|
+
hidden
|
|
9139
|
+
>
|
|
9140
|
+
<div class="pf-v6-c-tab-content__body">Panel 4</div>
|
|
9141
|
+
</section>
|
|
9142
|
+
|
|
9143
|
+
```
|
|
9144
|
+
|
|
9145
|
+
### Padding
|
|
9146
|
+
|
|
9147
|
+
```html
|
|
9148
|
+
<section
|
|
9149
|
+
class="pf-v6-c-tab-content"
|
|
9150
|
+
id="tab1-panel-with-padding"
|
|
9151
|
+
role="tabpanel"
|
|
9152
|
+
tabindex="0"
|
|
9153
|
+
>
|
|
9154
|
+
<div class="pf-v6-c-tab-content__body pf-m-padding">Panel 1</div>
|
|
9155
|
+
</section>
|
|
9156
|
+
<section
|
|
9157
|
+
class="pf-v6-c-tab-content"
|
|
9158
|
+
id="tab2-panel-with-padding"
|
|
9159
|
+
role="tabpanel"
|
|
9160
|
+
tabindex="0"
|
|
9161
|
+
hidden
|
|
9162
|
+
>
|
|
9163
|
+
<div class="pf-v6-c-tab-content__body pf-m-padding">Panel 2</div>
|
|
9164
|
+
</section>
|
|
9165
|
+
<section
|
|
9166
|
+
class="pf-v6-c-tab-content"
|
|
9167
|
+
id="tab3-panel-with-padding"
|
|
9168
|
+
role="tabpanel"
|
|
9169
|
+
tabindex="0"
|
|
9170
|
+
hidden
|
|
9171
|
+
>
|
|
9172
|
+
<div class="pf-v6-c-tab-content__body pf-m-padding">Panel 3</div>
|
|
9173
|
+
</section>
|
|
9174
|
+
<section
|
|
9175
|
+
class="pf-v6-c-tab-content"
|
|
9176
|
+
id="tab4-panel-with-padding"
|
|
9177
|
+
role="tabpanel"
|
|
9178
|
+
tabindex="0"
|
|
9179
|
+
hidden
|
|
9180
|
+
>
|
|
9181
|
+
<div class="pf-v6-c-tab-content__body pf-m-padding">Panel 4</div>
|
|
9182
|
+
</section>
|
|
9183
|
+
|
|
9184
|
+
```
|
|
9185
|
+
|
|
9186
|
+
### Secondary
|
|
9187
|
+
|
|
9188
|
+
```html
|
|
9189
|
+
<section
|
|
9190
|
+
class="pf-v6-c-tab-content pf-m-secondary"
|
|
9191
|
+
id="secondary-tab1-panel"
|
|
9192
|
+
role="tabpanel"
|
|
9193
|
+
tabindex="0"
|
|
9194
|
+
>
|
|
9195
|
+
<div class="pf-v6-c-tab-content__body">Panel 1</div>
|
|
9196
|
+
</section>
|
|
9197
|
+
<section
|
|
9198
|
+
class="pf-v6-c-tab-content pf-m-secondary"
|
|
9199
|
+
id="secondary-tab2-panel"
|
|
9200
|
+
role="tabpanel"
|
|
9201
|
+
tabindex="0"
|
|
9202
|
+
hidden
|
|
9203
|
+
>
|
|
9204
|
+
<div class="pf-v6-c-tab-content__body">Panel 2</div>
|
|
9205
|
+
</section>
|
|
9206
|
+
<section
|
|
9207
|
+
class="pf-v6-c-tab-content pf-m-secondary"
|
|
9208
|
+
id="secondary-tab3-panel"
|
|
9209
|
+
role="tabpanel"
|
|
9210
|
+
tabindex="0"
|
|
9211
|
+
hidden
|
|
9212
|
+
>
|
|
9213
|
+
<div class="pf-v6-c-tab-content__body">Panel 3</div>
|
|
9214
|
+
</section>
|
|
9215
|
+
<section
|
|
9216
|
+
class="pf-v6-c-tab-content pf-m-secondary"
|
|
9217
|
+
id="secondary-tab4-panel"
|
|
9218
|
+
role="tabpanel"
|
|
9219
|
+
tabindex="0"
|
|
9220
|
+
hidden
|
|
9221
|
+
>
|
|
9222
|
+
<div class="pf-v6-c-tab-content__body">Panel 4</div>
|
|
9223
|
+
</section>
|
|
9224
|
+
|
|
9225
|
+
```
|
|
9226
|
+
|
|
9102
9227
|
## Documentation
|
|
9103
9228
|
|
|
9104
|
-
###
|
|
9229
|
+
### Tabs overview
|
|
9105
9230
|
|
|
9106
9231
|
The tabs component should only be used to change content views within a page. The similar-looking but semantically different [horizontal nav component](/components/navigation/#horizontal) is available for general navigation use cases.
|
|
9107
9232
|
|
|
9108
|
-
Tabs should be used with the [tab content component](/components/tab-content).
|
|
9109
|
-
|
|
9110
9233
|
Whenever a list of tabs is unique on the current page, it can be used in a `<nav>` element. Cases where the same set of tabs are duplicated in multiple regions on a page (e.g. cards on a dashboard) are less likely to benefit from using the `<nav>` element.
|
|
9111
9234
|
|
|
9112
9235
|
### Usage
|
|
@@ -9136,11 +9259,30 @@ Whenever a list of tabs is unique on the current page, it can be used in a `<nav
|
|
|
9136
9259
|
| `.pf-m-action` | `.pf-v6-c-tabs__item` | Indicates that a tab item contains actions other than the tab link. |
|
|
9137
9260
|
| `.pf-m-overflow` | `.pf-v6-c-tabs__item` | Applies overflow menu styling to a tab item. |
|
|
9138
9261
|
| `.pf-m-expanded` | `.pf-v6-c-tabs__item` | Applies expanded styling to the overflow menu tab item. |
|
|
9139
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-v6-c-tabs` | Modifies tabs horizontal padding at optional [breakpoint](/
|
|
9262
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-v6-c-tabs` | Modifies tabs horizontal padding at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
9140
9263
|
| `.pf-m-page-insets` | `.pf-v6-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
9141
9264
|
| `.pf-m-secondary` | `.pf-v6-c-tabs.pf-m-box` | Modifies the tabs component tab background colors for the box variant. |
|
|
9142
|
-
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-v6-c-tabs` | Modifies the tabs component to be expandable via a toggle at optional [breakpoint](/
|
|
9143
|
-
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-v6-c-tabs` | Modifies the tabs component to be non-expandable at optional [breakpoint](/
|
|
9265
|
+
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-v6-c-tabs` | Modifies the tabs component to be expandable via a toggle at optional [breakpoint](/tokens/all-patternfly-tokens). **Note:** works with vertical tabs only. |
|
|
9266
|
+
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-v6-c-tabs` | Modifies the tabs component to be non-expandable at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
9144
9267
|
| `.pf-m-expanded` | `.pf-v6-c-tabs` | Modifies the expandable tabs component for the expanded state. |
|
|
9145
9268
|
| `.pf-m-disabled` | `a.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles. |
|
|
9146
9269
|
| `.pf-m-aria-disabled` | `.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles, but is still hoverable/focusable. |
|
|
9270
|
+
|
|
9271
|
+
### Tab content accessibility
|
|
9272
|
+
|
|
9273
|
+
| Attribute | Applied to | Outcome |
|
|
9274
|
+
| -- | -- | -- |
|
|
9275
|
+
| `role="tabpanel"` | `.pf-v6-c-tab-content` | Indicates that the element serves as a container for a set of tabs. **Required** |
|
|
9276
|
+
| `aria-labelledby=[ID of tab element]` | `.pf-v6-c-tab-content` | Provides an accessible name for the tab panel by referring to the tab element that controls it. **Required**
|
|
9277
|
+
| `id=[ID of tab panel]` | `.pf-v6-c-tab-content` | Provides an ID for the tab panel, and should be used as the value of `aria-controls` on the tab element that controls the panel. **Required**
|
|
9278
|
+
| `hidden` | `.pf-v6-c-tab-content` | Indicates that the tab panel is not visible. **Required on all but the active tab panel**
|
|
9279
|
+
| `tabindex="0"` | `.pf-v6-c-tab-content` | Puts the tab panel in the page tab sequence and facilitates movement to panel content for assistive technology users. **Required**
|
|
9280
|
+
|
|
9281
|
+
### Tab content usage
|
|
9282
|
+
|
|
9283
|
+
| Class | Applied to | Outcome |
|
|
9284
|
+
| -- | -- | -- |
|
|
9285
|
+
| `.pf-v6-c-tab-content` | `<section>` | Initiates the tab content component. **Required** |
|
|
9286
|
+
| `.pf-v6-c-tab-content__body` | `<div>` | Initiates the tab content body component. |
|
|
9287
|
+
| `.pf-m-padding` | `.pf-v6-c-tab-content__body` | Modifies the tab content body component padding. |
|
|
9288
|
+
| `.pf-m-secondary` | `.pf-v6-c-tab-content` | Modifies the tab content component for secondary styles. |
|
|
@@ -1461,8 +1461,18 @@ For the purposes of this example, the `TextInputGroup` is contained in a wrapper
|
|
|
1461
1461
|
|
|
1462
1462
|
| Class | Applied to | Outcome |
|
|
1463
1463
|
| -- | -- | -- |
|
|
1464
|
+
| `.pf-v6-c-text-input-group` | `<div>` | Creates a text input group. *Required* |
|
|
1465
|
+
| `.pf-v6-c-text-input-group__main` | `<div>` | Creates a wrapper for the main content. *Required* |
|
|
1466
|
+
| `.pf-v6-c-text-input-group__text` | `<span>` | Creates the text container. *Required*|
|
|
1467
|
+
| `.pf-v6-c-text-input-group__icon` | `<span>` | Creates a container for an icon. |
|
|
1468
|
+
| `.pf-v6-c-text-input-group__text-input` | `<input>` | Creates a text input. *Required* |
|
|
1469
|
+
| `.pf-v6-c-text-input-group__utilities` | `<div>` | Creates text input utilities container. |
|
|
1470
|
+
| `.pf-v6-c-text-input-group__group` | `<div>` | Creates text input prev/next nav group. |
|
|
1471
|
+
| `.pf-m-plain` | `.pf-v6-c-text-input-group` | Applies plain styling. Only use this variant when the text input group is contained in an ancestor with its own border or background styling. |
|
|
1472
|
+
| `.pf-m-disabled` | `.pf-v6-c-text-input-group` | Applies disabled styling. The `<input>` should also be `disabled`. |
|
|
1464
1473
|
| `.pf-m-success` | `.pf-v6-c-text-input-group` | Applies success validation styling. |
|
|
1465
1474
|
| `.pf-m-warning` | `.pf-v6-c-text-input-group` | Applies warning validation styling. |
|
|
1466
1475
|
| `.pf-m-error` | `.pf-v6-c-text-input-group` | Applies error validation styling. |
|
|
1467
1476
|
| `.pf-m-icon` | `.pf-v6-c-text-input-group__main` | Applies styling when icons are included in the container. |
|
|
1468
1477
|
| `.pf-m-status` | `.pf-v6-c-text-input-group__icon` | Applies status styling to the icon, matching the status modifier applied to `.pf-v6-c-text-input-group`. |
|
|
1478
|
+
| `.pf-m-hint` | `.pf-v6-c-text-input-group__text-input` | Applies styling when hints are included in the container. |
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
#ws-core-c-toolbar-adjusted-group-column-gap .pf-v6-c-toolbar__group,
|
|
29
29
|
#ws-core-e-toolbar-simple .pf-v6-c-toolbar,
|
|
30
30
|
#ws-core-e-toolbar-simple .pf-v6-c-toolbar__group,
|
|
31
|
+
#ws-core-c-toolbar-no-padding .pf-v6-c-toolbar,
|
|
31
32
|
#ws-core-e-toolbar-adjusted-spacers .pf-v6-c-toolbar,
|
|
32
33
|
#ws-core-e-toolbar-adjusted-group-spacers .pf-v6-c-toolbar,
|
|
33
34
|
#ws-core-c-toolbar-simple .pf-v6-c-toolbar,
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
#ws-core-e-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
|
|
51
52
|
#ws-core-e-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
|
|
52
53
|
#ws-core-c-toolbar-simple .pf-v6-c-toolbar__item,
|
|
54
|
+
#ws-core-c-toolbar-no-padding .pf-v6-c-toolbar__item,
|
|
53
55
|
#ws-core-c-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
|
|
54
56
|
#ws-core-c-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
|
|
55
57
|
#ws-core-c-toolbar-insets .pf-v6-c-toolbar__item,
|
|
@@ -64,6 +66,7 @@
|
|
|
64
66
|
#ws-core-e-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
|
|
65
67
|
#ws-core-e-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
|
|
66
68
|
#ws-core-c-toolbar-simple .pf-v6-c-toolbar__item,
|
|
69
|
+
#ws-core-c-toolbar-no-padding .pf-v6-c-toolbar__item,
|
|
67
70
|
#ws-core-c-toolbar-adjusted-spacers .pf-v6-c-toolbar__item,
|
|
68
71
|
#ws-core-c-toolbar-adjusted-group-spacers .pf-v6-c-toolbar__item,
|
|
69
72
|
#ws-core-c-toolbar-insets .pf-v6-c-toolbar__item,
|
|
@@ -14,8 +14,8 @@ Toolbar relies on groups (`.pf-v6-c-toolbar__group`) and items (`.pf-v6-c-toolba
|
|
|
14
14
|
| -- | -- | -- |
|
|
15
15
|
| `.pf-v6-c-toolbar__group` | `--pf-v6-c-toolbar__group--ColumnGap` | `16px` |
|
|
16
16
|
| `.pf-v6-c-toolbar__item` | `--pf-v6-c-toolbar__item--ColumnGap` | `16px` |
|
|
17
|
-
| `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]{-on-[breakpoint]}` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar group or item spacing at optional [breakpoint](/
|
|
18
|
-
| `.pf-m-gap-[none/sm/md/lg/xl/2xl]{-on-[breakpoint]}` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies both column gap and row gap for toolbar group or item spacing at optional [breakpoint](/
|
|
17
|
+
| `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]{-on-[breakpoint]}` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar group or item spacing at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
18
|
+
| `.pf-m-gap-[none/sm/md/lg/xl/2xl]{-on-[breakpoint]}` | `.pf-v6-c-toolbar__content-section`, `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies both column gap and row gap for toolbar group or item spacing at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
19
19
|
|
|
20
20
|
### Toolbar item types
|
|
21
21
|
|
|
@@ -37,7 +37,7 @@ Toolbar relies on groups (`.pf-v6-c-toolbar__group`) and items (`.pf-v6-c-toolba
|
|
|
37
37
|
|
|
38
38
|
Several components in the following examples do not include functional and/or accessibility specifications (for example `.pf-v6-c-select`, `.pf-v6-c-options-menu`). Rather, `.pf-v6-c-toolbar` focuses on functionality and accessibility specifications that apply to it only.
|
|
39
39
|
|
|
40
|
-
**Available [breakpoints](/
|
|
40
|
+
**Available [breakpoints](/tokens/all-patternfly-tokens) are: `-on-sm`, `-on-md`, `-on-lg`, `-on-xl`, and `-on-2xl`.**
|
|
41
41
|
|
|
42
42
|
## Examples
|
|
43
43
|
|
|
@@ -75,6 +75,33 @@ Several components in the following examples do not include functional and/or ac
|
|
|
75
75
|
| `.pf-v6-c-toolbar__item` | `<div>` | Initiates the toolbar component item. **Required** |
|
|
76
76
|
| `.pf-v6-c-toolbar__group` | `<div>` | Initiates the toolbar component group. |
|
|
77
77
|
|
|
78
|
+
### No padding
|
|
79
|
+
|
|
80
|
+
```html
|
|
81
|
+
<div class="pf-v6-c-toolbar pf-m-no-padding" id="toolbar-simple-example">
|
|
82
|
+
<div class="pf-v6-c-toolbar__content">
|
|
83
|
+
<div class="pf-v6-c-toolbar__content-section">
|
|
84
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
85
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
86
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
87
|
+
<hr class="pf-v6-c-divider pf-m-vertical" />
|
|
88
|
+
|
|
89
|
+
<div class="pf-v6-c-toolbar__group">
|
|
90
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
91
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
92
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
<hr class="pf-v6-c-divider pf-m-vertical" />
|
|
96
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
97
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
98
|
+
<div class="pf-v6-c-toolbar__item">Item</div>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
|
|
78
105
|
### Adjusted group column gap
|
|
79
106
|
|
|
80
107
|
```html
|
|
@@ -154,8 +181,8 @@ Several components in the following examples do not include functional and/or ac
|
|
|
154
181
|
|
|
155
182
|
| Class | Applied to | Outcome |
|
|
156
183
|
| -- | -- | -- |
|
|
157
|
-
| `--pf-v6-c-toolbar__item--Width: {width}` | `.pf-v6-c-toolbar__item` | Modifies the width value of a toolbar item at optional [breakpoint](/
|
|
158
|
-
| `--pf-v6-c-toolbar__item--MinWidth: {width}` | `.pf-v6-c-toolbar__item` | Modifies the min width value of a toolbar item at optional [breakpoint](/
|
|
184
|
+
| `--pf-v6-c-toolbar__item--Width: {width}` | `.pf-v6-c-toolbar__item` | Modifies the width value of a toolbar item at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
185
|
+
| `--pf-v6-c-toolbar__item--MinWidth: {width}` | `.pf-v6-c-toolbar__item` | Modifies the min width value of a toolbar item at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
159
186
|
|
|
160
187
|
## Group types
|
|
161
188
|
|
|
@@ -2607,6 +2634,7 @@ As the toolbar component is a hybrid layout and component, some of its elements
|
|
|
2607
2634
|
| `.pf-m-static` | `.pf-v6-c-toolbar` | Modifies expandable content section to position itself to the nearest absolutely positioned parent outside of the toolbar component. This is used primarily for masthead toolbar. |
|
|
2608
2635
|
| `.pf-m-primary` | `.pf-v6-c-toolbar` | Modifies toolbar to have primary background color. |
|
|
2609
2636
|
| `.pf-m-secondary` | `.pf-v6-c-toolbar` | Modifies toolbar to have secondary background color. |
|
|
2637
|
+
| `.pf-m-no-padding` | `.pf-v6-c-toolbar` | Modifies toolbar to have no padding. |
|
|
2610
2638
|
| `.pf-m-no-background` | `.pf-v6-c-toolbar` | Modifies toolbar to have no background color. |
|
|
2611
2639
|
| `.pf-m-expanded` | `.pf-v6-c-toolbar__expandable-content` | Modifies expandable content section for the expanded state. |
|
|
2612
2640
|
| `.pf-m-expanded` | `.pf-v6-c-toolbar__item.pf-m-expand-all` | Modifies an expand all button for the expanded state. |
|
|
@@ -2646,5 +2674,5 @@ As the toolbar component is a hybrid layout and component, some of its elements
|
|
|
2646
2674
|
|
|
2647
2675
|
| Class | Applied to | Outcome |
|
|
2648
2676
|
| -- | -- | -- |
|
|
2649
|
-
| `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar group or item spacing at optional [breakpoint](/
|
|
2650
|
-
| `.pf-m-gap-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies both column and row gap for toolbar group or item spacing at optional [breakpoint](/
|
|
2677
|
+
| `.pf-m-[column/row]-gap-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies toolbar group or item spacing at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
2678
|
+
| `.pf-m-gap-[none/sm/md/lg/xl/2xl]` | `.pf-v6-c-toolbar__group`, `.pf-v6-c-toolbar__item` | Modifies both column and row gap for toolbar group or item spacing at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
@@ -444,7 +444,7 @@ wrapperTag: div
|
|
|
444
444
|
<h2 class="pf-v6-c-card__title-text">5 Clusters</h2>
|
|
445
445
|
</div>
|
|
446
446
|
<div class="pf-v6-c-card__body">
|
|
447
|
-
<span class="pf-v6-c-icon">
|
|
447
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
448
448
|
<span class="pf-v6-c-icon__content pf-m-success">
|
|
449
449
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
450
450
|
</span>
|
|
@@ -456,7 +456,7 @@ wrapperTag: div
|
|
|
456
456
|
<h2 class="pf-v6-c-card__title-text">15 Clusters</h2>
|
|
457
457
|
</div>
|
|
458
458
|
<div class="pf-v6-c-card__body">
|
|
459
|
-
<span class="pf-v6-c-icon">
|
|
459
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
460
460
|
<span class="pf-v6-c-icon__content pf-m-warning">
|
|
461
461
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
462
462
|
</span>
|
|
@@ -468,7 +468,7 @@ wrapperTag: div
|
|
|
468
468
|
<h2 class="pf-v6-c-card__title-text">3 Clusters</h2>
|
|
469
469
|
</div>
|
|
470
470
|
<div class="pf-v6-c-card__body">
|
|
471
|
-
<span class="pf-v6-c-icon">
|
|
471
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
472
472
|
<span class="pf-v6-c-icon__content pf-m-danger">
|
|
473
473
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
474
474
|
</span>
|
|
@@ -487,7 +487,7 @@ wrapperTag: div
|
|
|
487
487
|
<div class="pf-v6-l-flex pf-m-inline-flex pf-m-space-items-md">
|
|
488
488
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
489
489
|
<div class="pf-v6-l-flex__item">
|
|
490
|
-
<span class="pf-v6-c-icon">
|
|
490
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
491
491
|
<span class="pf-v6-c-icon__content pf-m-success">
|
|
492
492
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
493
493
|
</span>
|
|
@@ -500,7 +500,7 @@ wrapperTag: div
|
|
|
500
500
|
<hr class="pf-v6-c-divider pf-m-vertical" />
|
|
501
501
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
502
502
|
<div class="pf-v6-l-flex__item">
|
|
503
|
-
<span class="pf-v6-c-icon">
|
|
503
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
504
504
|
<span class="pf-v6-c-icon__content pf-m-warning">
|
|
505
505
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
506
506
|
</span>
|
|
@@ -521,7 +521,7 @@ wrapperTag: div
|
|
|
521
521
|
<div class="pf-v6-l-flex pf-m-inline-flex pf-m-space-items-md">
|
|
522
522
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
523
523
|
<div class="pf-v6-l-flex__item">
|
|
524
|
-
<span class="pf-v6-c-icon">
|
|
524
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
525
525
|
<span class="pf-v6-c-icon__content pf-m-success">
|
|
526
526
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
527
527
|
</span>
|
|
@@ -534,7 +534,7 @@ wrapperTag: div
|
|
|
534
534
|
<hr class="pf-v6-c-divider pf-m-vertical" />
|
|
535
535
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
536
536
|
<div class="pf-v6-l-flex__item">
|
|
537
|
-
<span class="pf-v6-c-icon">
|
|
537
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
538
538
|
<span class="pf-v6-c-icon__content pf-m-danger">
|
|
539
539
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
540
540
|
</span>
|
|
@@ -555,7 +555,7 @@ wrapperTag: div
|
|
|
555
555
|
<div class="pf-v6-l-flex pf-m-inline-flex pf-m-space-items-md">
|
|
556
556
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
557
557
|
<div class="pf-v6-l-flex__item">
|
|
558
|
-
<span class="pf-v6-c-icon">
|
|
558
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
559
559
|
<span class="pf-v6-c-icon__content pf-m-warning">
|
|
560
560
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
561
561
|
</span>
|
|
@@ -568,7 +568,7 @@ wrapperTag: div
|
|
|
568
568
|
<hr class="pf-v6-c-divider pf-m-vertical" />
|
|
569
569
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
570
570
|
<div class="pf-v6-l-flex__item">
|
|
571
|
-
<span class="pf-v6-c-icon">
|
|
571
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
572
572
|
<span class="pf-v6-c-icon__content pf-m-danger">
|
|
573
573
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
574
574
|
</span>
|
|
@@ -600,7 +600,7 @@ wrapperTag: div
|
|
|
600
600
|
>
|
|
601
601
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
602
602
|
<div class="pf-v6-l-flex__item">
|
|
603
|
-
<span class="pf-v6-c-icon">
|
|
603
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
604
604
|
<span class="pf-v6-c-icon__content pf-m-danger">
|
|
605
605
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
606
606
|
</span>
|
|
@@ -613,7 +613,7 @@ wrapperTag: div
|
|
|
613
613
|
</div>
|
|
614
614
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
615
615
|
<div class="pf-v6-l-flex__item">
|
|
616
|
-
<span class="pf-v6-c-icon">
|
|
616
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
617
617
|
<span class="pf-v6-c-icon__content pf-m-warning">
|
|
618
618
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
619
619
|
</span>
|
|
@@ -637,7 +637,7 @@ wrapperTag: div
|
|
|
637
637
|
>
|
|
638
638
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
639
639
|
<div class="pf-v6-l-flex__item">
|
|
640
|
-
<span class="pf-v6-c-icon">
|
|
640
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
641
641
|
<span class="pf-v6-c-icon__content pf-m-success">
|
|
642
642
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
643
643
|
</span>
|
|
@@ -650,7 +650,7 @@ wrapperTag: div
|
|
|
650
650
|
</div>
|
|
651
651
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
652
652
|
<div class="pf-v6-l-flex__item">
|
|
653
|
-
<span class="pf-v6-c-icon">
|
|
653
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
654
654
|
<span class="pf-v6-c-icon__content pf-m-warning">
|
|
655
655
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
656
656
|
</span>
|
|
@@ -674,7 +674,7 @@ wrapperTag: div
|
|
|
674
674
|
>
|
|
675
675
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
676
676
|
<div class="pf-v6-l-flex__item">
|
|
677
|
-
<span class="pf-v6-c-icon">
|
|
677
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
678
678
|
<span class="pf-v6-c-icon__content pf-m-warning">
|
|
679
679
|
<i class="fas fa-exclamation-triangle" aria-hidden="true"></i>
|
|
680
680
|
</span>
|
|
@@ -687,7 +687,7 @@ wrapperTag: div
|
|
|
687
687
|
</div>
|
|
688
688
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
689
689
|
<div class="pf-v6-l-flex__item">
|
|
690
|
-
<span class="pf-v6-c-icon">
|
|
690
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
691
691
|
<span class="pf-v6-c-icon__content pf-m-danger">
|
|
692
692
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
693
693
|
</span>
|
|
@@ -767,7 +767,7 @@ wrapperTag: div
|
|
|
767
767
|
<div class="pf-v6-l-grid">
|
|
768
768
|
<div class="pf-v6-l-grid__item pf-m-3-col">
|
|
769
769
|
<svg
|
|
770
|
-
class="pf-v6-c-spinner pf-m-
|
|
770
|
+
class="pf-v6-c-spinner pf-m-inline"
|
|
771
771
|
role="progressbar"
|
|
772
772
|
viewBox="0 0 100 100"
|
|
773
773
|
aria-label="Loading"
|
|
@@ -801,7 +801,11 @@ wrapperTag: div
|
|
|
801
801
|
<span class="pf-v6-c-description-list__text">
|
|
802
802
|
<div class="pf-v6-l-flex">
|
|
803
803
|
<div class="pf-v6-l-flex__item">
|
|
804
|
-
<
|
|
804
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
805
|
+
<span class="pf-v6-c-icon__content pf-m-success">
|
|
806
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
807
|
+
</span>
|
|
808
|
+
</span>
|
|
805
809
|
</div>
|
|
806
810
|
<div class="pf-v6-l-flex__item">
|
|
807
811
|
<h3 class="pf-v6-c-title pf-m-md">Ready</h3>
|
|
@@ -824,7 +828,7 @@ wrapperTag: div
|
|
|
824
828
|
<div class="pf-v6-l-grid">
|
|
825
829
|
<div class="pf-v6-l-grid__item pf-m-3-col">
|
|
826
830
|
<svg
|
|
827
|
-
class="pf-v6-c-spinner pf-m-
|
|
831
|
+
class="pf-v6-c-spinner pf-m-inline"
|
|
828
832
|
role="progressbar"
|
|
829
833
|
viewBox="0 0 100 100"
|
|
830
834
|
aria-label="Loading"
|
|
@@ -858,7 +862,11 @@ wrapperTag: div
|
|
|
858
862
|
<span class="pf-v6-c-description-list__text">
|
|
859
863
|
<div class="pf-v6-l-flex">
|
|
860
864
|
<div class="pf-v6-l-flex__item">
|
|
861
|
-
<
|
|
865
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
866
|
+
<span class="pf-v6-c-icon__content pf-m-success">
|
|
867
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
868
|
+
</span>
|
|
869
|
+
</span>
|
|
862
870
|
</div>
|
|
863
871
|
<div class="pf-v6-l-flex__item">
|
|
864
872
|
<h3 class="pf-v6-c-title pf-m-md">Ready</h3>
|
|
@@ -1935,7 +1943,7 @@ wrapperTag: div
|
|
|
1935
1943
|
<div class="pf-v6-l-flex pf-m-column">
|
|
1936
1944
|
<span>System</span>
|
|
1937
1945
|
<div class="pf-v6-l-flex pf-m-space-items-sm">
|
|
1938
|
-
<span class="pf-v6-c-icon">
|
|
1946
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
1939
1947
|
<span class="pf-v6-c-icon__content pf-m-danger">
|
|
1940
1948
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
1941
1949
|
</span>
|
|
@@ -2907,7 +2915,7 @@ wrapperTag: div
|
|
|
2907
2915
|
<dt class="pf-v6-c-description-list__term">
|
|
2908
2916
|
<div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
|
|
2909
2917
|
<div class="pf-v6-l-flex__item">
|
|
2910
|
-
<span class="pf-v6-c-icon">
|
|
2918
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
2911
2919
|
<span class="pf-v6-c-icon__content pf-m-danger">
|
|
2912
2920
|
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
2913
2921
|
</span>
|
|
@@ -2936,7 +2944,7 @@ wrapperTag: div
|
|
|
2936
2944
|
<dt class="pf-v6-c-description-list__term">
|
|
2937
2945
|
<div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
|
|
2938
2946
|
<div class="pf-v6-l-flex__item">
|
|
2939
|
-
<span class="pf-v6-c-icon">
|
|
2947
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
2940
2948
|
<span class="pf-v6-c-icon__content pf-m-success">
|
|
2941
2949
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
2942
2950
|
</span>
|
|
@@ -2966,7 +2974,7 @@ wrapperTag: div
|
|
|
2966
2974
|
<div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
|
|
2967
2975
|
<div class="pf-v6-l-flex__item">
|
|
2968
2976
|
<svg
|
|
2969
|
-
class="pf-v6-c-spinner pf-m-
|
|
2977
|
+
class="pf-v6-c-spinner pf-m-inline"
|
|
2970
2978
|
role="progressbar"
|
|
2971
2979
|
viewBox="0 0 100 100"
|
|
2972
2980
|
aria-label="Loading"
|
|
@@ -3003,7 +3011,7 @@ wrapperTag: div
|
|
|
3003
3011
|
<dt class="pf-v6-c-description-list__term">
|
|
3004
3012
|
<div class="pf-v6-l-flex pf-m-nowrap pf-m-space-items-sm">
|
|
3005
3013
|
<div class="pf-v6-l-flex__item">
|
|
3006
|
-
<span class="pf-v6-c-icon">
|
|
3014
|
+
<span class="pf-v6-c-icon pf-m-inline">
|
|
3007
3015
|
<span class="pf-v6-c-icon__content pf-m-success">
|
|
3008
3016
|
<i class="fas fa-check-circle" aria-hidden="true"></i>
|
|
3009
3017
|
</span>
|
|
@@ -254,6 +254,7 @@ section: patterns
|
|
|
254
254
|
class="pf-v6-c-nav__subnav"
|
|
255
255
|
aria-labelledby="card-view-basic-example-expandable-nav-link2"
|
|
256
256
|
hidden
|
|
257
|
+
inert
|
|
257
258
|
>
|
|
258
259
|
<ul class="pf-v6-c-nav__list" role="list">
|
|
259
260
|
<li class="pf-v6-c-nav__item">
|
|
@@ -286,6 +287,7 @@ section: patterns
|
|
|
286
287
|
class="pf-v6-c-nav__subnav"
|
|
287
288
|
aria-labelledby="card-view-basic-example-expandable-nav-link3"
|
|
288
289
|
hidden
|
|
290
|
+
inert
|
|
289
291
|
>
|
|
290
292
|
<ul class="pf-v6-c-nav__list" role="list">
|
|
291
293
|
<li class="pf-v6-c-nav__item">
|
|
@@ -890,6 +890,7 @@ section: components
|
|
|
890
890
|
class="pf-v6-c-nav__subnav"
|
|
891
891
|
aria-labelledby="nav-expandable-example-expandable-nav-link2"
|
|
892
892
|
hidden
|
|
893
|
+
inert
|
|
893
894
|
>
|
|
894
895
|
<ul class="pf-v6-c-nav__list" role="list">
|
|
895
896
|
<li class="pf-v6-c-nav__item">
|
|
@@ -922,6 +923,7 @@ section: components
|
|
|
922
923
|
class="pf-v6-c-nav__subnav"
|
|
923
924
|
aria-labelledby="nav-expandable-example-expandable-nav-link3"
|
|
924
925
|
hidden
|
|
926
|
+
inert
|
|
925
927
|
>
|
|
926
928
|
<ul class="pf-v6-c-nav__list" role="list">
|
|
927
929
|
<li class="pf-v6-c-nav__item">
|
|
@@ -20,7 +20,7 @@ The flex layout provides two ways of spacing its direct children.
|
|
|
20
20
|
|
|
21
21
|
### Breakpoints
|
|
22
22
|
|
|
23
|
-
[Breakpoints](/
|
|
23
|
+
[Breakpoints](/tokens/all-patternfly-tokens) `-on-sm`, `-on-md`, `-on-lg`, `-on-xl`, and `-on-2xl` are provided.
|
|
24
24
|
|
|
25
25
|
### Usefulness
|
|
26
26
|
|
|
@@ -174,5 +174,5 @@ The gallery layout is designed so that all of its children are of uniform size,
|
|
|
174
174
|
| `.pf-v6-l-gallery` | `<div>` | Initializes a Gallery layout |
|
|
175
175
|
| `.pf-v6-l-gallery__item` | `<div>` | Explicitly sets the child for the gallery. This class isn't necessary, but it is included to keep inline with BEM convention, and to provide an entity that will later be used for applying modifiers. |
|
|
176
176
|
| `.pf-m-gutter` | `.pf-v6-l-gallery` | Adds space between children by using the globally defined gutter value. |
|
|
177
|
-
| `--pf-v6-l-gallery--GridTemplateColumns--min{-on-[breakpoint]}: {width}` | `.pf-v6-l-gallery` | Modifies the min value of `grid-template-columns` declaration at the optional [breakpoint](/
|
|
178
|
-
| `--pf-v6-l-gallery--GridTemplateColumns--max{-on-[breakpoint]}: {width}` | `.pf-v6-l-gallery` | Modifies the max value of `grid-template-columns` declaration at the optional [breakpoint](/
|
|
177
|
+
| `--pf-v6-l-gallery--GridTemplateColumns--min{-on-[breakpoint]}: {width}` | `.pf-v6-l-gallery` | Modifies the min value of `grid-template-columns` declaration at the optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
178
|
+
| `--pf-v6-l-gallery--GridTemplateColumns--max{-on-[breakpoint]}: {width}` | `.pf-v6-l-gallery` | Modifies the max value of `grid-template-columns` declaration at the optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
@@ -318,7 +318,7 @@ The grid layout is based on CSS Grid’s two-dimensional system of columns and r
|
|
|
318
318
|
| `.pf-v6-l-grid` | `<div>` | Initializes the grid layout. |
|
|
319
319
|
| `.pf-v6-l-grid__item` | `<div>` | Explicitly sets a child of the grid. This class isn't necessary, but it is included to keep inline with BEM convention, and to provide an entity that will later be used for applying modifiers. |
|
|
320
320
|
| `.pf-m-gutter` | `.pf-v6-l-grid` | Adds space between children by using the globally defined gutter value. |
|
|
321
|
-
| `.pf-m-all-{1-12}-col{-on-[breakpoint]}` | `.pf-v6-l-grid` | Defines grid item size on grid container at optional [breakpoint](/
|
|
322
|
-
| `.pf-m-{1-12}-col{-on-[breakpoint]}` | `.pf-v6-l-grid__item` | Defines grid item size at optional [breakpoint](/
|
|
323
|
-
| `.pf-m-{2-x}-row{-on-[breakpoint]}` | `.pf-v6-l-grid__item` | Defines grid item row span at optional [breakpoint](/
|
|
324
|
-
| `--pf-v6-l-grid--item--Order{-on-[breakpoint]}: {order}` | `.pf-v6-l-grid > .pf-v6-l-grid`, `.pf-v6-l-grid__item` | Modifies the order of the grid layout element at optional [breakpoint](/
|
|
321
|
+
| `.pf-m-all-{1-12}-col{-on-[breakpoint]}` | `.pf-v6-l-grid` | Defines grid item size on grid container at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
322
|
+
| `.pf-m-{1-12}-col{-on-[breakpoint]}` | `.pf-v6-l-grid__item` | Defines grid item size at optional [breakpoint](/tokens/all-patternfly-tokens). Although not required, they are strongly suggested. If not used, grid item will default to 12 col. |
|
|
323
|
+
| `.pf-m-{2-x}-row{-on-[breakpoint]}` | `.pf-v6-l-grid__item` | Defines grid item row span at optional [breakpoint](/tokens/all-patternfly-tokens). For row spans to function correctly, the value of of the current row plus the grid items to span must be equal to or less than 12. Example: `.pf-m-8-col.pf-m-2-row` + `.pf-m-4-col` + `.pf-m-4-col`. There is no limit to number of spanned rows. |
|
|
324
|
+
| `--pf-v6-l-grid--item--Order{-on-[breakpoint]}: {order}` | `.pf-v6-l-grid > .pf-v6-l-grid`, `.pf-v6-l-grid__item` | Modifies the order of the grid layout element at optional [breakpoint](/tokens/all-patternfly-tokens). |
|
|
@@ -34,7 +34,7 @@ The text underneath is hidden.
|
|
|
34
34
|
|
|
35
35
|
### Overview
|
|
36
36
|
|
|
37
|
-
[
|
|
37
|
+
[Breakpoints](/tokens/all-patternfly-tokens) are optional. Breakpoint options include: base (no breakpoint value), `-on-sm`, `-on-md`, `-on-lg`, and `-on-xl`. Example: `.pf-v6-u-screen-reader-on-lg`
|
|
38
38
|
|
|
39
39
|
### Usage
|
|
40
40
|
|
|
@@ -23,7 +23,7 @@ section: utility-classes
|
|
|
23
23
|
|
|
24
24
|
### Overview
|
|
25
25
|
|
|
26
|
-
[
|
|
26
|
+
[Breakpoints](/tokens/all-patternfly-tokens) are optional. Breakpoint options include: base (no breakpoint value), `-on-sm`, `-on-md`, `-on-lg`, and `-on-xl`. Example: `.pf-v6-u-text-align-start-on-lg`
|
|
27
27
|
|
|
28
28
|
### Usage
|
|
29
29
|
|
|
@@ -28,7 +28,7 @@ Care should be taken especially when applying background colors, as this can hav
|
|
|
28
28
|
|
|
29
29
|
Note that "inverse" background colors are labeled as such to indicate that they are best used with the ["inverse" text colors](/utility-classes/text#inverse-colors).
|
|
30
30
|
|
|
31
|
-
[
|
|
31
|
+
[Breakpoints](/tokens/all-patternfly-tokens) are optional. Breakpoint options include: base (no breakpoint value), `-on-sm`, `-on-md`, `-on-lg`, and `-on-xl`. Example: `.pf-v6-u-background-color-disabled-on-lg`
|
|
32
32
|
|
|
33
33
|
### Usage
|
|
34
34
|
|
|
@@ -83,7 +83,7 @@ section: utility-classes
|
|
|
83
83
|
|
|
84
84
|
### Overview
|
|
85
85
|
|
|
86
|
-
[
|
|
86
|
+
[Breakpoints](/tokens/all-patternfly-tokens) are optional. Breakpoint options include: base (no breakpoint value), `-on-sm`, `-on-md`, `-on-lg`, and `-on-xl`. Example: `.pf-v6-u-display-inline-block-on-lg`
|
|
87
87
|
|
|
88
88
|
### Usage
|
|
89
89
|
|