@patternfly/patternfly 6.0.0-alpha.98 → 6.0.0-alpha.99
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/Card/card.css +1 -0
- package/components/Card/card.scss +1 -0
- package/components/Check/check.css +10 -3
- package/components/Check/check.scss +17 -4
- package/components/Masthead/masthead.css +17 -9
- package/components/Masthead/masthead.scss +18 -9
- package/components/MenuToggle/menu-toggle.css +4 -4
- package/components/MenuToggle/menu-toggle.scss +4 -4
- package/components/ModalBox/modal-box.css +11 -7
- package/components/ModalBox/modal-box.scss +27 -12
- package/components/Nav/nav.css +64 -110
- package/components/Nav/nav.scss +70 -143
- package/components/Page/page.css +9 -17
- package/components/Page/page.scss +10 -23
- package/components/Radio/radio.css +12 -5
- package/components/Radio/radio.scss +21 -6
- package/components/Table/table-grid.css +30 -35
- package/components/Table/table-grid.scss +44 -32
- package/components/Table/table-scrollable.css +14 -6
- package/components/Table/table-scrollable.scss +6 -1
- package/components/Table/table-tree-view.css +5 -5
- package/components/Table/table-tree-view.scss +14 -8
- package/components/Table/table.css +90 -254
- package/components/Table/table.scss +158 -347
- package/components/Toolbar/toolbar.css +66 -2
- package/components/Toolbar/toolbar.scss +21 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
- package/docs/components/Accordion/examples/Accordion.md +19 -19
- package/docs/components/ActionList/examples/ActionList.md +5 -5
- package/docs/components/Alert/examples/Alert.md +26 -26
- package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
- package/docs/components/Avatar/examples/Avatar.md +8 -8
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +3 -3
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +6 -6
- package/docs/components/Banner/examples/Banner.md +17 -17
- package/docs/components/Brand/examples/Brand.css +3 -3
- package/docs/components/Brand/examples/Brand.md +7 -7
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
- package/docs/components/Card/examples/Card.md +30 -30
- package/docs/components/Check/examples/Check.md +12 -12
- package/docs/components/Chip/examples/Chip.md +21 -21
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
- package/docs/components/DataList/examples/DataList.md +177 -112
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
- package/docs/components/Divider/examples/Divider.md +7 -7
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +36 -36
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
- package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
- package/docs/components/EmptyState/examples/EmptyState.md +21 -21
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +52 -52
- package/docs/components/FormControl/examples/FormControl.md +22 -22
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +6 -6
- package/docs/components/Icon/examples/Icon.md +13 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/Label/examples/Label.css +4 -4
- package/docs/components/Label/examples/Label.md +45 -45
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +45 -165
- package/docs/components/Login/examples/Login.md +21 -21
- package/docs/components/Masthead/examples/masthead.md +7 -7
- package/docs/components/Menu/examples/Menu.md +60 -60
- package/docs/components/MenuToggle/examples/MenuToggle.md +34 -106
- package/docs/components/ModalBox/examples/ModalBox.md +75 -34
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
- package/docs/components/Nav/examples/Navigation.css +20 -3
- package/docs/components/Nav/examples/Navigation.md +44 -50
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
- package/docs/components/NumberInput/examples/NumberInput.md +13 -13
- package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
- package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
- package/docs/components/Page/deprecated/PageHeader.md +30 -30
- package/docs/components/Page/examples/Page.md +55 -54
- package/docs/components/Pagination/examples/Pagination.md +25 -25
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +30 -30
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
- package/docs/components/Radio/examples/Radio.md +9 -9
- package/docs/components/Select/deprecated/Select.md +110 -110
- package/docs/components/Sidebar/examples/Sidebar.md +16 -16
- package/docs/components/SimpleList/examples/SimpleList.md +9 -9
- package/docs/components/Skeleton/examples/Skeleton.md +14 -14
- package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
- package/docs/components/Slider/examples/Slider.md +33 -33
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +14 -14
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +5395 -15077
- package/docs/components/Tabs/examples/Tabs.md +39 -39
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/docs/components/Tile/examples/Tile.md +12 -12
- package/docs/components/Timestamp/examples/Timestamp.md +4 -4
- package/docs/components/Title/examples/Title.md +20 -20
- package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
- package/docs/components/Toolbar/examples/Toolbar.md +68 -200
- package/docs/components/Tooltip/examples/Tooltip.md +9 -9
- package/docs/components/TreeView/examples/TreeView.md +31 -31
- package/docs/components/Truncate/examples/Truncate.md +8 -8
- package/docs/components/Wizard/examples/Wizard.md +46 -46
- package/docs/demos/AboutModal/examples/AboutModal.md +4 -52
- package/docs/demos/Alert/examples/Alert.md +12 -156
- package/docs/demos/BackToTop/examples/BackToTop.md +4 -52
- package/docs/demos/Banner/examples/Banner.md +9 -105
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/CardView/examples/CardView.md +5 -65
- package/docs/demos/ContextSelector/examples/ContextSelector.md +12 -156
- package/docs/demos/Dashboard/examples/Dashboard.md +4 -52
- package/docs/demos/DataList/examples/DataList.md +200 -553
- package/docs/demos/DescriptionList/examples/DescriptionList.md +18 -156
- package/docs/demos/Drawer/examples/Drawer.md +20 -260
- package/docs/demos/JumpLinks/examples/JumpLinks.md +24 -312
- package/docs/demos/Masthead/examples/Masthead.md +23 -255
- package/docs/demos/Modal/examples/Modal.md +24 -312
- package/docs/demos/Nav/examples/Nav.md +69 -461
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +20 -260
- package/docs/demos/Page/examples/Page.md +39 -505
- package/docs/demos/Page/examples/Penta.md +120 -53
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +35 -455
- package/docs/demos/Skeleton/examples/Skeleton.md +4 -52
- package/docs/demos/Table/examples/Table.md +1598 -6045
- package/docs/demos/Tabs/examples/Tabs.md +143 -499
- package/docs/demos/Toolbar/examples/Toolbar.md +245 -925
- package/docs/demos/Wizard/examples/Wizard.md +36 -468
- package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
- package/docs/layouts/Flex/examples/Flex.md +76 -76
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.md +8 -8
- package/docs/layouts/Level/examples/Level.md +4 -4
- package/docs/layouts/Split/examples/Split.md +6 -6
- package/docs/layouts/Stack/examples/Stack.md +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
- package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
- package/docs/utilities/Display/examples/Display.md +9 -9
- package/docs/utilities/Flex/examples/Flex.md +32 -32
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Sizing/examples/Sizing.md +41 -41
- package/docs/utilities/Spacing/examples/Spacing.md +11 -11
- package/docs/utilities/Text/examples/Text.md +28 -28
- package/package.json +2 -1
- package/patternfly-no-globals.css +347 -463
- package/patternfly-theme-dark-unversioned.css +347 -463
- package/patternfly.css +347 -463
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Tabs
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-tabs
|
|
5
5
|
---import './Tabs.css'
|
|
6
6
|
|
|
7
7
|
# Examples
|
|
@@ -106,8 +106,8 @@ cssPrefix: pf-v5-c-tabs
|
|
|
106
106
|
|
|
107
107
|
| Class | Applied to | Outcome |
|
|
108
108
|
| -- | -- | -- |
|
|
109
|
-
| `.pf-m-disabled` | `a.pf-
|
|
110
|
-
| `.pf-m-aria-disabled` | `.pf-
|
|
109
|
+
| `.pf-m-disabled` | `a.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles. |
|
|
110
|
+
| `.pf-m-aria-disabled` | `.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles, but is still hoverable/focusable. |
|
|
111
111
|
|
|
112
112
|
## Overflow
|
|
113
113
|
|
|
@@ -240,8 +240,8 @@ cssPrefix: pf-v5-c-tabs
|
|
|
240
240
|
|
|
241
241
|
| Class | Applied to | Outcome |
|
|
242
242
|
| -- | -- | -- |
|
|
243
|
-
| `.pf-m-scrollable` | `.pf-
|
|
244
|
-
| `.pf-
|
|
243
|
+
| `.pf-m-scrollable` | `.pf-v6-c-tabs` | Enables the directional scroll buttons. |
|
|
244
|
+
| `.pf-v6-c-tabs__scroll-button` | `<div>` | Initiates a tabs component scroll button container. |
|
|
245
245
|
|
|
246
246
|
### Horizontal overflow example
|
|
247
247
|
|
|
@@ -1845,8 +1845,8 @@ cssPrefix: pf-v5-c-tabs
|
|
|
1845
1845
|
|
|
1846
1846
|
| Class | Applied to | Outcome |
|
|
1847
1847
|
| -- | -- | -- |
|
|
1848
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl, 3xl}{-on-[sm, md, lg, xl, 2xl]}` | `.pf-
|
|
1849
|
-
| `.pf-m-page-insets` | `.pf-
|
|
1848
|
+
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl, 3xl}{-on-[sm, md, lg, xl, 2xl]}` | `.pf-v6-c-tabs` | Modifies the tabs component padding/inset to visually match padding of other adjacent components. |
|
|
1849
|
+
| `.pf-m-page-insets` | `.pf-v6-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
1850
1850
|
|
|
1851
1851
|
## Icons
|
|
1852
1852
|
|
|
@@ -2596,7 +2596,7 @@ cssPrefix: pf-v5-c-tabs
|
|
|
2596
2596
|
|
|
2597
2597
|
| Class | Applied to | Outcome |
|
|
2598
2598
|
| -- | -- | -- |
|
|
2599
|
-
| `.pf-m-fill` | `.pf-
|
|
2599
|
+
| `.pf-m-fill` | `.pf-v6-c-tabs` | Modifies the tabs to fill the available space. **Required** |
|
|
2600
2600
|
|
|
2601
2601
|
## Tabs as navigation
|
|
2602
2602
|
|
|
@@ -8453,34 +8453,34 @@ Whenever a list of tabs is unique on the current page, it can be used in a `<nav
|
|
|
8453
8453
|
|
|
8454
8454
|
| Class | Applied to | Outcome |
|
|
8455
8455
|
| -- | -- | -- |
|
|
8456
|
-
| `.pf-
|
|
8457
|
-
| `.pf-
|
|
8458
|
-
| `.pf-
|
|
8459
|
-
| `.pf-
|
|
8460
|
-
| `.pf-
|
|
8461
|
-
| `.pf-
|
|
8462
|
-
| `.pf-
|
|
8463
|
-
| `.pf-
|
|
8464
|
-
| `.pf-
|
|
8465
|
-
| `.pf-
|
|
8466
|
-
| `.pf-
|
|
8467
|
-
| `.pf-
|
|
8468
|
-
| `.pf-
|
|
8469
|
-
| `.pf-
|
|
8470
|
-
| `.pf-m-tubtab` | `.pf-
|
|
8471
|
-
| `.pf-m-no-border-bottom` | `.pf-
|
|
8472
|
-
| `.pf-m-box` | `.pf-
|
|
8473
|
-
| `.pf-m-vertical` | `.pf-
|
|
8474
|
-
| `.pf-m-fill` | `.pf-
|
|
8475
|
-
| `.pf-m-current` | `.pf-
|
|
8476
|
-
| `.pf-m-action` | `.pf-
|
|
8477
|
-
| `.pf-m-overflow` | `.pf-
|
|
8478
|
-
| `.pf-m-expanded` | `.pf-
|
|
8479
|
-
| `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[md, lg, xl, 2xl]}` | `.pf-
|
|
8480
|
-
| `.pf-m-page-insets` | `.pf-
|
|
8481
|
-
| `.pf-m-secondary` | `.pf-
|
|
8482
|
-
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-
|
|
8483
|
-
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-
|
|
8484
|
-
| `.pf-m-expanded` | `.pf-
|
|
8485
|
-
| `.pf-m-disabled` | `a.pf-
|
|
8486
|
-
| `.pf-m-aria-disabled` | `.pf-
|
|
8456
|
+
| `.pf-v6-c-tabs` | `<nav>`, `<div>` | Initiates the tabs component. **Required** |
|
|
8457
|
+
| `.pf-v6-c-tabs__list` | `<ul>` | Initiates a tabs component list. **Required** |
|
|
8458
|
+
| `.pf-v6-c-tabs__item` | `<li>` | Initiates a tabs component item. **Required** |
|
|
8459
|
+
| `.pf-v6-c-tabs__item-text` | `<span>` | Initiates a tabs component item icon. **Required** |
|
|
8460
|
+
| `.pf-v6-c-tabs__item-icon` | `<span>` | Initiates a tabs component item text. **Required** |
|
|
8461
|
+
| `.pf-v6-c-tabs__item-close` | `<span>` | Initiates a tabs component item close. |
|
|
8462
|
+
| `.pf-v6-c-tabs__item-close-icon` | `<span>` | Initiates a tabs component item close icon. |
|
|
8463
|
+
| `.pf-v6-c-tabs__link` | `<button>`, `<a>` | Initiates a tabs component link. **Required** |
|
|
8464
|
+
| `.pf-v6-c-tabs__scroll-button` | `<div>` | Initiates a tabs component scroll button container. |
|
|
8465
|
+
| `.pf-v6-c-tabs__add` | `<span>` | Initiates a tabs component add button. |
|
|
8466
|
+
| `.pf-v6-c-tabs__toggle` | `<div>` | Initiates a tabs expandable toggle. |
|
|
8467
|
+
| `.pf-v6-c-tabs__toggle-button` | `<button>` | Initiates a tabs expandable toggle button. |
|
|
8468
|
+
| `.pf-v6-c-tabs__toggle-icon` | `<span>` | Initiates a tabs expandable toggle icon. |
|
|
8469
|
+
| `.pf-v6-c-tabs__toggle-text` | `<span>` | Initiates a tabs expandable toggle text. |
|
|
8470
|
+
| `.pf-m-tubtab` | `.pf-v6-c-tabs` | Applies subtab styling to the tab component. |
|
|
8471
|
+
| `.pf-m-no-border-bottom` | `.pf-v6-c-tabs` | Removes bottom border from a tab component. |
|
|
8472
|
+
| `.pf-m-box` | `.pf-v6-c-tabs` | Applies box styling to the tab component. |
|
|
8473
|
+
| `.pf-m-vertical` | `.pf-v6-c-tabs` | Applies vertical styling to the tab component. |
|
|
8474
|
+
| `.pf-m-fill` | `.pf-v6-c-tabs` | Modifies the tabs to fill the available space. |
|
|
8475
|
+
| `.pf-m-current` | `.pf-v6-c-tabs__item` | Indicates that a tab item is currently selected. |
|
|
8476
|
+
| `.pf-m-action` | `.pf-v6-c-tabs__item` | Indicates that a tab item contains actions other than the tab link. |
|
|
8477
|
+
| `.pf-m-overflow` | `.pf-v6-c-tabs__item` | Applies overflow menu styling to a tab item. |
|
|
8478
|
+
| `.pf-m-expanded` | `.pf-v6-c-tabs__item` | Applies expanded styling to the overflow menu tab item. |
|
|
8479
|
+
| `.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](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
8480
|
+
| `.pf-m-page-insets` | `.pf-v6-c-tabs` | Modifies the tabs component padding/inset to visually match padding of page elements. |
|
|
8481
|
+
| `.pf-m-secondary` | `.pf-v6-c-tabs.pf-m-box` | Modifies the tabs component tab background colors for the box variant. |
|
|
8482
|
+
| `.pf-m-expandable{-on-[breakpoint]}` | `.pf-v6-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. |
|
|
8483
|
+
| `.pf-m-non-expandable{-on-[breakpoint]}` | `.pf-v6-c-tabs` | Modifies the tabs component to be non-expandable at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
|
|
8484
|
+
| `.pf-m-expanded` | `.pf-v6-c-tabs` | Modifies the expandable tabs component for the expanded state. |
|
|
8485
|
+
| `.pf-m-disabled` | `a.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles. |
|
|
8486
|
+
| `.pf-m-aria-disabled` | `.pf-v6-c-tabs__link` | Modifies a tabs link for disabled styles, but is still hoverable/focusable. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Tile
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-tile
|
|
5
5
|
---import './Tile.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -993,19 +993,19 @@ cssPrefix: pf-v5-c-tile
|
|
|
993
993
|
|
|
994
994
|
| Attribute | Applied to | Outcome |
|
|
995
995
|
| -- | -- | -- |
|
|
996
|
-
| `tabindex="0"` | `.pf-
|
|
997
|
-
| `tabindex="-1"` | `.pf-
|
|
996
|
+
| `tabindex="0"` | `.pf-v6-c-tile` | Inserts the tile into the tab order of the page so that it is focusable. **Required** |
|
|
997
|
+
| `tabindex="-1"` | `.pf-v6-c-tile` | Removes the tile from keyboard focus when it is disabled. |
|
|
998
998
|
|
|
999
999
|
### Usage
|
|
1000
1000
|
|
|
1001
1001
|
| Class | Applied to | Outcome |
|
|
1002
1002
|
| -- | -- | -- |
|
|
1003
|
-
| `.pf-
|
|
1004
|
-
| `.pf-
|
|
1005
|
-
| `.pf-
|
|
1006
|
-
| `.pf-
|
|
1007
|
-
| `.pf-
|
|
1008
|
-
| `.pf-m-selected` | `.pf-
|
|
1009
|
-
| `.pf-m-disabled` | `.pf-
|
|
1010
|
-
| `.pf-m-stacked` | `.pf-
|
|
1011
|
-
| `.pf-m-display-lg` | `.pf-
|
|
1003
|
+
| `.pf-v6-c-tile` | `<div>` | Initiates a tile. **Required** |
|
|
1004
|
+
| `.pf-v6-c-tile__header` | `<div>` | Initiates the tile header. |
|
|
1005
|
+
| `.pf-v6-c-tile__title` | `<div>` | Initiates the tile title. |
|
|
1006
|
+
| `.pf-v6-c-tile__icon` | `<div>` | Initiates the tile icon or image. |
|
|
1007
|
+
| `.pf-v6-c-tile__body` | `<div>` | Initiates the tile body. |
|
|
1008
|
+
| `.pf-m-selected` | `.pf-v6-c-tile` | Modifies the tile for the selected state. |
|
|
1009
|
+
| `.pf-m-disabled` | `.pf-v6-c-tile` | Modifies the tile for the disabled state. |
|
|
1010
|
+
| `.pf-m-stacked` | `.pf-v6-c-tile__header` | Modifies the tile header to be stacked vertically. |
|
|
1011
|
+
| `.pf-m-display-lg` | `.pf-v6-c-tile` | Modifies the tile to have large display styling. |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
id: Timestamp
|
|
3
3
|
beta: true
|
|
4
4
|
section: components
|
|
5
|
-
cssPrefix: pf-
|
|
5
|
+
cssPrefix: pf-v6-c-timestamp
|
|
6
6
|
---## Examples
|
|
7
7
|
|
|
8
8
|
### Basic
|
|
@@ -57,6 +57,6 @@ cssPrefix: pf-v5-c-timestamp
|
|
|
57
57
|
|
|
58
58
|
| Class | Applied to | Outcome |
|
|
59
59
|
| -- | -- | -- |
|
|
60
|
-
| `.pf-
|
|
61
|
-
| `.pf-
|
|
62
|
-
| `.pf-m-help-text`| `.pf-
|
|
60
|
+
| `.pf-v6-c-timestamp` | `<span>` | Creates a timestamp. **Required** |
|
|
61
|
+
| `.pf-v6-c-timestamp__text` | `<time>` | Creates the visual text of the timestamp. **Required** |
|
|
62
|
+
| `.pf-m-help-text`| `.pf-v6-c-timestamp` | Modifies styling for a timestamp that has help text. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Title
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-title
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Size modifiers
|
|
@@ -38,27 +38,27 @@ The content component defines margin on headers. To regain the same spacing use,
|
|
|
38
38
|
|
|
39
39
|
| Title | Margin top | Margin bottom |
|
|
40
40
|
| -- | -- | -- |
|
|
41
|
-
| 4xl | `.pf-
|
|
42
|
-
| 3xl | `.pf-
|
|
43
|
-
| 2xl | `.pf-
|
|
44
|
-
| xl | `.pf-
|
|
45
|
-
| lg | `.pf-
|
|
46
|
-
| md | `.pf-
|
|
41
|
+
| 4xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
42
|
+
| 3xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
43
|
+
| 2xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
44
|
+
| xl | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
45
|
+
| lg | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
46
|
+
| md | `.pf-v6-u-mt-lg` | `.pf-v6-u-mb-sm` |
|
|
47
47
|
|
|
48
48
|
### Usage
|
|
49
49
|
|
|
50
50
|
| Class | Applied | Outcome |
|
|
51
51
|
| -- | -- | -- |
|
|
52
|
-
| `.pf-
|
|
53
|
-
| `.pf-m-4xl` | `.pf-
|
|
54
|
-
| `.pf-m-3xl` | `.pf-
|
|
55
|
-
| `.pf-m-2xl` | `.pf-
|
|
56
|
-
| `.pf-m-xl` | `.pf-
|
|
57
|
-
| `.pf-m-lg` | `.pf-
|
|
58
|
-
| `.pf-m-md` | `.pf-
|
|
59
|
-
| `.pf-m-h1` | `.pf-
|
|
60
|
-
| `.pf-m-h2` | `.pf-
|
|
61
|
-
| `.pf-m-h3` | `.pf-
|
|
62
|
-
| `.pf-m-h4` | `.pf-
|
|
63
|
-
| `.pf-m-h5` | `.pf-
|
|
64
|
-
| `.pf-m-h6` | `.pf-
|
|
52
|
+
| `.pf-v6-c-title` | `*` | Initiates a title. Always use it with a modifier class. |
|
|
53
|
+
| `.pf-m-4xl` | `.pf-v6-c-title` | Modifies for 4xl size |
|
|
54
|
+
| `.pf-m-3xl` | `.pf-v6-c-title` | Modifies for 3xl size |
|
|
55
|
+
| `.pf-m-2xl` | `.pf-v6-c-title` | Modifies for 2xl size |
|
|
56
|
+
| `.pf-m-xl` | `.pf-v6-c-title` | Modifies for xl size |
|
|
57
|
+
| `.pf-m-lg` | `.pf-v6-c-title` | Modifies for lg size |
|
|
58
|
+
| `.pf-m-md` | `.pf-v6-c-title` | Modifies for md size |
|
|
59
|
+
| `.pf-m-h1` | `.pf-v6-c-title` | Modifies for default h1 size |
|
|
60
|
+
| `.pf-m-h2` | `.pf-v6-c-title` | Modifies for default h2 size |
|
|
61
|
+
| `.pf-m-h3` | `.pf-v6-c-title` | Modifies for default h3 size |
|
|
62
|
+
| `.pf-m-h4` | `.pf-v6-c-title` | Modifies for default h4 size |
|
|
63
|
+
| `.pf-m-h5` | `.pf-v6-c-title` | Modifies for default h5 size |
|
|
64
|
+
| `.pf-m-h6` | `.pf-v6-c-title` | Modifies for default h6 size |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Toggle group
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-toggle-group
|
|
5
5
|
---import './toggle-group.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -321,17 +321,17 @@ cssPrefix: pf-v5-c-toggle-group
|
|
|
321
321
|
|
|
322
322
|
| Attribute | Applied to | Outcome |
|
|
323
323
|
| -- | -- | -- |
|
|
324
|
-
| `aria-label="[button label text]"` | `.pf-
|
|
325
|
-
| `disabled` | `.pf-
|
|
324
|
+
| `aria-label="[button label text]"` | `.pf-v6-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-v6-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
329
|
| Class | Applied to | Outcome |
|
|
330
330
|
| -- | -- | -- |
|
|
331
|
-
| `.pf-
|
|
332
|
-
| `.pf-
|
|
333
|
-
| `.pf-
|
|
334
|
-
| `.pf-
|
|
335
|
-
| `.pf-
|
|
336
|
-
| `.pf-m-compact` | `.pf-
|
|
337
|
-
| `.pf-m-selected` | `.pf-
|
|
331
|
+
| `.pf-v6-c-toggle-group` | `<div>` | Initiates the toggle group. **Required** |
|
|
332
|
+
| `.pf-v6-c-toggle-group__button` | `<button>` | Initiates the toggle group button. **Required** |
|
|
333
|
+
| `.pf-v6-c-toggle-group__item` | `<div>` | Initiates the toggle group item wrapper. **Required** |
|
|
334
|
+
| `.pf-v6-c-toggle-group__text` | `<span>` | Initiates the toggle button text element. |
|
|
335
|
+
| `.pf-v6-c-toggle-group__icon` | `<span>` | Initiates the toggle button icon element. |
|
|
336
|
+
| `.pf-m-compact` | `.pf-v6-c-toggle-group` | Modifies the toggle group for compact styles. |
|
|
337
|
+
| `.pf-m-selected` | `.pf-v6-c-toggle-group__button` | Modifies the toggle button group button for the selected state. |
|