@patternfly/patternfly 6.0.0-alpha.97 → 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 +20 -6
- package/components/MenuToggle/menu-toggle.scss +32 -6
- 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 +35 -35
- 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 +106 -22
- 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 +57 -57
- 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/Banner/examples/Banner.md +1 -1
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/DataList/examples/DataList.md +179 -280
- package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -0
- package/docs/demos/Masthead/examples/Masthead.md +4 -8
- package/docs/demos/Nav/examples/Nav.md +45 -149
- package/docs/demos/Page/examples/Page.md +3 -37
- package/docs/demos/Page/examples/Penta.md +119 -40
- package/docs/demos/Table/examples/Table.md +1531 -4970
- package/docs/demos/Tabs/examples/Tabs.md +118 -174
- package/docs/demos/Toolbar/examples/Toolbar.md +220 -600
- 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 +363 -465
- package/patternfly-theme-dark-unversioned.css +363 -465
- package/patternfly.css +363 -465
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
id: Select
|
|
3
3
|
section: components
|
|
4
4
|
subsection: menus
|
|
5
|
-
cssPrefix: pf-
|
|
5
|
+
cssPrefix: pf-v6-c-select
|
|
6
6
|
deprecated: true
|
|
7
7
|
---import './Select.css'
|
|
8
8
|
|
|
@@ -239,17 +239,17 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
239
239
|
|
|
240
240
|
| Class | Applied to | Outcome |
|
|
241
241
|
| -- | -- | -- |
|
|
242
|
-
| `.pf-
|
|
243
|
-
| `.pf-
|
|
244
|
-
| `.pf-
|
|
245
|
-
| `.pf-
|
|
246
|
-
| `.pf-
|
|
247
|
-
| `.pf-
|
|
248
|
-
| `.pf-
|
|
249
|
-
| `.pf-m-top` | `.pf-
|
|
250
|
-
| `.pf-m-align-right` | `.pf-
|
|
251
|
-
| `.pf-m-static` | `.pf-
|
|
252
|
-
| `.pf-m-active` | `.pf-
|
|
242
|
+
| `.pf-v6-c-select` | `<div>` | Initiates a custom select. |
|
|
243
|
+
| `.pf-v6-c-select__toggle` | `<button>` | Initiates a custom toggle. |
|
|
244
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates a custom select toggle wrapper. |
|
|
245
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
246
|
+
| `.pf-v6-c-select__menu` | `<ul>` | Initiates the custom select dropdown menu. |
|
|
247
|
+
| `.pf-v6-c-select__menu-item` | `<li>` | Initiates the items in the custom select dropdown menu. |
|
|
248
|
+
| `.pf-v6-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
|
|
249
|
+
| `.pf-m-top` | `.pf-v6-c-select` | Modifies the select menu to display above the toggle. |
|
|
250
|
+
| `.pf-m-align-right` | `.pf-v6-c-select__menu` | Modifies the select menu to display right aligned to the toggle. |
|
|
251
|
+
| `.pf-m-static` | `.pf-v6-c-select__menu` | Modifies the select menu to be statically positioned to support custom positioning. |
|
|
252
|
+
| `.pf-m-active` | `.pf-v6-c-select` | Forces display of the active state of the toggle. |
|
|
253
253
|
|
|
254
254
|
## States
|
|
255
255
|
|
|
@@ -496,27 +496,27 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
496
496
|
|
|
497
497
|
| Attribute | Applied to | Outcome |
|
|
498
498
|
| -- | -- | -- |
|
|
499
|
-
| `aria-invalid="true"` | `.pf-
|
|
500
|
-
| `aria-selected="true"` | `.pf-
|
|
501
|
-
| `disabled` | `.pf-
|
|
499
|
+
| `aria-invalid="true"` | `.pf-v6-c-select__toggle` | Indicates that the select is in the invalid state. |
|
|
500
|
+
| `aria-selected="true"` | `.pf-v6-c-select__menu-item` | Should be set programmatically to indicate the active item. |
|
|
501
|
+
| `disabled` | `.pf-v6-c-select__toggle` | Disables the dropdown toggle and removes it from keyboard focus. |
|
|
502
502
|
|
|
503
503
|
### Usage
|
|
504
504
|
|
|
505
505
|
| Class | Applied to | Outcome |
|
|
506
506
|
| -- | -- | -- |
|
|
507
|
-
| `.pf-
|
|
508
|
-
| `.pf-
|
|
509
|
-
| `.pf-
|
|
510
|
-
| `.pf-
|
|
511
|
-
| `.pf-
|
|
512
|
-
| `.pf-
|
|
513
|
-
| `.pf-
|
|
514
|
-
| `.pf-m-expanded` | `.pf-
|
|
515
|
-
| `.pf-m-success` | `.pf-
|
|
516
|
-
| `.pf-m-warning` | `.pf-
|
|
517
|
-
| `.pf-m-invalid` | `.pf-
|
|
518
|
-
| `.pf-m-selected` | `.pf-
|
|
519
|
-
| `.pf-m-disabled` | `div.pf-
|
|
507
|
+
| `.pf-v6-c-select` | `<div>` | Initiates the select component. |
|
|
508
|
+
| `.pf-v6-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
509
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
510
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
511
|
+
| `.pf-v6-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
512
|
+
| `.pf-v6-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
513
|
+
| `.pf-v6-c-select__menu-item-icon` | `<span>` | Initiates the selected item icon wrapper. |
|
|
514
|
+
| `.pf-m-expanded` | `.pf-v6-c-select` | Indicates the select is expanded. |
|
|
515
|
+
| `.pf-m-success` | `.pf-v6-c-select` | Modifies select component for the success state. |
|
|
516
|
+
| `.pf-m-warning` | `.pf-v6-c-select` | Modifies select component for the warning state. |
|
|
517
|
+
| `.pf-m-invalid` | `.pf-v6-c-select` | Modifies select component for the invalid state. |
|
|
518
|
+
| `.pf-m-selected` | `.pf-v6-c-select__menu-item` | Indicates the menu item is selected. |
|
|
519
|
+
| `.pf-m-disabled` | `div.pf-v6-c-select__toggle` | Modifies to display the select toggle as disabled. This applies to `div.pf-v6-c-select__toggle` and should not be used in lieu of the `disabled` attribute on `button.pf-v6-c-select__toggle`. When this is used, `disabled` should also be added to any form elements in `div.pf-v6-c-select__toggle`|
|
|
520
520
|
|
|
521
521
|
## Typeahead
|
|
522
522
|
|
|
@@ -934,24 +934,24 @@ The single select typeahead should be used when the user is selecting one option
|
|
|
934
934
|
|
|
935
935
|
| Attribute | Applied to | Outcome |
|
|
936
936
|
| -- | -- | -- |
|
|
937
|
-
| `aria-selected="true"` | `.pf-
|
|
937
|
+
| `aria-selected="true"` | `.pf-v6-c-select__menu-item` | Should be set programmatically to indicate the active item. |
|
|
938
938
|
|
|
939
939
|
### Usage
|
|
940
940
|
|
|
941
941
|
| Class | Applied to | Outcome |
|
|
942
942
|
| -- | -- | -- |
|
|
943
|
-
| `.pf-
|
|
944
|
-
| `.pf-
|
|
945
|
-
| `.pf-
|
|
946
|
-
| `.pf-
|
|
947
|
-
| `.pf-
|
|
948
|
-
| `.pf-
|
|
949
|
-
| `.pf-
|
|
950
|
-
| `.pf-
|
|
951
|
-
| `.pf-
|
|
952
|
-
| `.pf-m-expanded` | `.pf-
|
|
953
|
-
| `.pf-m-typeahead` | `.pf-
|
|
954
|
-
| `.pf-m-focus` | `.pf-
|
|
943
|
+
| `.pf-v6-c-select` | `<div>` | Initiates the select component. |
|
|
944
|
+
| `.pf-v6-c-select__toggle` | `<div>` | Initiates the select toggle. |
|
|
945
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
946
|
+
| `.pf-v6-c-select__toggle-typeahead` | `input.pf-v6-c-form-control` | Initiates the input field for typeahead. |
|
|
947
|
+
| `.pf-v6-c-select__toggle-clear` | `button.pf-v6-c-button.pf-m-plain` | Initiates a clear button in the toggle. |
|
|
948
|
+
| `.pf-v6-c-select__toggle-button` | `button.pf-v6-c-button.pf-m-plain` | Initiates a toggle button. |
|
|
949
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
|
|
950
|
+
| `.pf-v6-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
951
|
+
| `.pf-v6-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
952
|
+
| `.pf-m-expanded` | `.pf-v6-c-select` | Indicates the select is expanded. |
|
|
953
|
+
| `.pf-m-typeahead` | `.pf-v6-c-select__toggle` | Indicates the select has a typeahead. |
|
|
954
|
+
| `.pf-m-focus` | `.pf-v6-c-select__menu-item` | Modifies the menu item to apply `:focus` styling. For use when navigating the menu items by keyboard when the typeahead input field has browser focus. |
|
|
955
955
|
|
|
956
956
|
## Typeahead multiselect
|
|
957
957
|
|
|
@@ -1548,24 +1548,24 @@ The multiselect should be used when the user is selecting multiple items from a
|
|
|
1548
1548
|
|
|
1549
1549
|
| Attribute | Applied to | Outcome |
|
|
1550
1550
|
| -- | -- | -- |
|
|
1551
|
-
| `aria-selected="true"` | `.pf-
|
|
1551
|
+
| `aria-selected="true"` | `.pf-v6-c-select__menu-item` | Should be set programmatically to indicate the active item. |
|
|
1552
1552
|
|
|
1553
1553
|
### Usage
|
|
1554
1554
|
|
|
1555
1555
|
| Class | Applied to | Outcome |
|
|
1556
1556
|
| -- | -- | -- |
|
|
1557
|
-
| `.pf-
|
|
1558
|
-
| `.pf-
|
|
1559
|
-
| `.pf-
|
|
1560
|
-
| `.pf-
|
|
1561
|
-
| `.pf-
|
|
1562
|
-
| `.pf-
|
|
1563
|
-
| `.pf-
|
|
1564
|
-
| `.pf-
|
|
1565
|
-
| `.pf-
|
|
1566
|
-
| `.pf-
|
|
1567
|
-
| `.pf-m-expanded` | `.pf-
|
|
1568
|
-
| `.pf-m-typeahead` | `.pf-
|
|
1557
|
+
| `.pf-v6-c-select` | `<div>` | Initiates the select component. |
|
|
1558
|
+
| `.pf-v6-c-select__toggle` | `<div>` | Initiates the select toggle. |
|
|
1559
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
|
|
1560
|
+
| `.pf-v6-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
|
|
1561
|
+
| `.pf-v6-c-select__toggle-typeahead` | `input.pf-v6-c-form-control` | Initiates the input field for typeahead. |
|
|
1562
|
+
| `.pf-v6-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
|
|
1563
|
+
| `.pf-v6-c-select__toggle-button` | `<button>` | Initiates a toggle button. |
|
|
1564
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret icon. |
|
|
1565
|
+
| `.pf-v6-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
1566
|
+
| `.pf-v6-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
1567
|
+
| `.pf-m-expanded` | `.pf-v6-c-select` | Indicates the select is expanded. |
|
|
1568
|
+
| `.pf-m-typeahead` | `.pf-v6-c-select__toggle` | Indicates the select has a typeahead. |
|
|
1569
1569
|
|
|
1570
1570
|
## Checkbox
|
|
1571
1571
|
|
|
@@ -2336,25 +2336,25 @@ The checkbox select can select multiple items using checkboxes. The number of it
|
|
|
2336
2336
|
|
|
2337
2337
|
| Class | Applied to | Outcome |
|
|
2338
2338
|
| -- | -- | -- |
|
|
2339
|
-
| `.pf-
|
|
2340
|
-
| `.pf-
|
|
2341
|
-
| `.pf-
|
|
2342
|
-
| `.pf-
|
|
2343
|
-
| `.pf-
|
|
2344
|
-
| `.pf-
|
|
2345
|
-
| `.pf-
|
|
2346
|
-
| `.pf-
|
|
2347
|
-
| `.pf-
|
|
2348
|
-
| `.pf-
|
|
2349
|
-
| `.pf-
|
|
2350
|
-
| `.pf-
|
|
2351
|
-
| `.pf-
|
|
2352
|
-
| `.pf-
|
|
2353
|
-
| `.pf-
|
|
2354
|
-
| `.pf-
|
|
2355
|
-
| `.pf-
|
|
2356
|
-
| `.pf-m-expanded` | `.pf-
|
|
2357
|
-
| `.pf-m-typeahead` | `.pf-
|
|
2339
|
+
| `.pf-v6-c-select` | `<div>` | Initiates the select component. |
|
|
2340
|
+
| `.pf-v6-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2341
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper so that chips and input field can wrap together. |
|
|
2342
|
+
| `.pf-v6-c-chip` | `<div>` | Initiates a chip. (See [chip component](/components/chip) for more details) |
|
|
2343
|
+
| `.pf-v6-c-select__toggle-typeahead` | `input.pf-v6-c-form-control` | Initiates the input field for typeahead. |
|
|
2344
|
+
| `.pf-v6-c-select__toggle-badge` | `<div>` | Initiates a container for a badge to indicate the number of items checked. \* note: This should contain an unread badge \* |
|
|
2345
|
+
| `.pf-v6-c-select__toggle-clear` | `button.pf-m-plain` | Initiates a clear button in the toggle. |
|
|
2346
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2347
|
+
| `.pf-v6-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
|
|
2348
|
+
| `.pf-v6-c-select__menu-item` | `div.pf-v6-c-check` | Initiates the items in the select dropdown menu. |
|
|
2349
|
+
| `.pf-v6-c-select__menu-item-row` | `<span>` | Initiates a menu item row for use with positioning other elements before/after the item text. |
|
|
2350
|
+
| `.pf-v6-c-select__menu-item-text` | `<span>` | Initiates the menu item row text. |
|
|
2351
|
+
| `.pf-v6-c-select__menu-item-count` | `<span>` | Initiates the menu item row count. |
|
|
2352
|
+
| `.pf-v6-c-select__menu-fieldset` | `<fieldset>` | Initiates a fieldset for the items in a checkbox select. |
|
|
2353
|
+
| `.pf-v6-c-select__menu-group` | `<div>` | Initiates a group within a select menu. |
|
|
2354
|
+
| `.pf-v6-c-select__menu-group-title` | `<div>` | Initiates a title for a group with a select menu. |
|
|
2355
|
+
| `.pf-v6-c-select__menu-search` | `<div>` | Initiates a container for the search input group. |
|
|
2356
|
+
| `.pf-m-expanded` | `.pf-v6-c-select` | Indicates the select is expanded. |
|
|
2357
|
+
| `.pf-m-typeahead` | `.pf-v6-c-select__toggle` | Indicates the select has a typeahead. |
|
|
2358
2358
|
|
|
2359
2359
|
## Plain
|
|
2360
2360
|
|
|
@@ -2477,16 +2477,16 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2477
2477
|
|
|
2478
2478
|
| Class | Applied to | Outcome |
|
|
2479
2479
|
| -- | -- | -- |
|
|
2480
|
-
| `.pf-
|
|
2481
|
-
| `.pf-
|
|
2482
|
-
| `.pf-
|
|
2483
|
-
| `.pf-
|
|
2484
|
-
| `.pf-
|
|
2485
|
-
| `.pf-
|
|
2486
|
-
| `.pf-
|
|
2487
|
-
| `.pf-m-expanded` | `.pf-
|
|
2488
|
-
| `.pf-m-plain` | `.pf-
|
|
2489
|
-
| `.pf-m-selected` | `.pf-
|
|
2480
|
+
| `.pf-v6-c-select` | `<div>` | Initiates the select component. |
|
|
2481
|
+
| `.pf-v6-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2482
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
2483
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2484
|
+
| `.pf-v6-c-select__menu` | `<ul>` | Initiates the select dropdown menu. |
|
|
2485
|
+
| `.pf-v6-c-select__menu-item` | `<li>` | Initiates the items in the select dropdown menu. |
|
|
2486
|
+
| `.pf-v6-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
|
|
2487
|
+
| `.pf-m-expanded` | `.pf-v6-c-select` | Indicates the select is expanded. |
|
|
2488
|
+
| `.pf-m-plain` | `.pf-v6-c-select__toggle` | Modifies to display the toggle with no border. |
|
|
2489
|
+
| `.pf-m-selected` | `.pf-v6-c-select__menu-item` | Indicates the menu item is selected. |
|
|
2490
2490
|
|
|
2491
2491
|
## Icon
|
|
2492
2492
|
|
|
@@ -2554,17 +2554,17 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2554
2554
|
|
|
2555
2555
|
| Attribute | Applied to | Outcome |
|
|
2556
2556
|
| -- | -- | -- |
|
|
2557
|
-
| `aria-hidden="true"` | `.pf-
|
|
2557
|
+
| `aria-hidden="true"` | `.pf-v6-c-select__toggle-icon` | Hides the icon from assistive technologies.
|
|
2558
2558
|
|
|
2559
2559
|
### Usage
|
|
2560
2560
|
|
|
2561
2561
|
| Class | Applied to | Outcome |
|
|
2562
2562
|
| -- | -- | -- |
|
|
2563
|
-
| `.pf-
|
|
2564
|
-
| `.pf-
|
|
2565
|
-
| `.pf-
|
|
2566
|
-
| `.pf-
|
|
2567
|
-
| `.pf-
|
|
2563
|
+
| `.pf-v6-c-select` | `<div>` | Initiates the select component. |
|
|
2564
|
+
| `.pf-v6-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2565
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
2566
|
+
| `.pf-v6-c-select__toggle-icon` | `<span>` | Initiates the icon in the dropdown toggle. |
|
|
2567
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2568
2568
|
|
|
2569
2569
|
## Panel
|
|
2570
2570
|
|
|
@@ -2602,11 +2602,11 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2602
2602
|
|
|
2603
2603
|
| Class | Applied to | Outcome |
|
|
2604
2604
|
| -- | -- | -- |
|
|
2605
|
-
| `.pf-
|
|
2606
|
-
| `.pf-
|
|
2607
|
-
| `.pf-
|
|
2608
|
-
| `.pf-
|
|
2609
|
-
| `.pf-
|
|
2605
|
+
| `.pf-v6-c-select` | `<div>` | Initiates the select component. |
|
|
2606
|
+
| `.pf-v6-c-select__toggle` | `<button>` | Initiates the select toggle. |
|
|
2607
|
+
| `.pf-v6-c-select__toggle-wrapper` | `<div>` | Initiates the select toggle wrapper. |
|
|
2608
|
+
| `.pf-v6-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
2609
|
+
| `.pf-v6-c-select__menu` | `<div>` | Initiates the select dropdown menu. |
|
|
2610
2610
|
|
|
2611
2611
|
## Description
|
|
2612
2612
|
|
|
@@ -2805,9 +2805,9 @@ The plain select variation should be used when you do not want a border applied
|
|
|
2805
2805
|
|
|
2806
2806
|
| Class | Applied to | Outcome |
|
|
2807
2807
|
| -- | -- | -- |
|
|
2808
|
-
| `.pf-
|
|
2809
|
-
| `.pf-
|
|
2810
|
-
| `.pf-m-description` | `.pf-
|
|
2808
|
+
| `.pf-v6-c-select__menu-item-description` | `<span>` | Initiates the select menu item description element. |
|
|
2809
|
+
| `.pf-v6-c-select__menu-item-main` | `<span>` | Initiates the select menu item main element. Used when the description element is present. |
|
|
2810
|
+
| `.pf-m-description` | `.pf-v6-c-select__menu-item` | Modifies the select menu item when selected to accommodate the description element. |
|
|
2811
2811
|
|
|
2812
2812
|
## Favorites
|
|
2813
2813
|
|
|
@@ -3034,18 +3034,18 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3034
3034
|
|
|
3035
3035
|
| Attribute | Applied to | Outcome |
|
|
3036
3036
|
| -- | -- | -- |
|
|
3037
|
-
| `aria-label="Not starred"` | `.pf-
|
|
3038
|
-
| `aria-label="Starred"` | `.pf-
|
|
3037
|
+
| `aria-label="Not starred"` | `.pf-v6-c-select__menu-wrapper > .pf-v6-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is not selected. |
|
|
3038
|
+
| `aria-label="Starred"` | `.pf-v6-c-select__menu-wrapper.pf-m-favorite > .pf-v6-c-select__menu-item.pf-m-action` | Provides an accessible label indicating that the favorite action is selected. |
|
|
3039
3039
|
|
|
3040
3040
|
### Usage
|
|
3041
3041
|
|
|
3042
3042
|
| Class | Applied to | Outcome |
|
|
3043
3043
|
| -- | -- | -- |
|
|
3044
|
-
| `.pf-
|
|
3045
|
-
| `.pf-m-favorite` | `.pf-
|
|
3046
|
-
| `.pf-m-favorite-action` | `.pf-
|
|
3047
|
-
| `.pf-m-link` | `.pf-
|
|
3048
|
-
| `.pf-m-action` | `.pf-
|
|
3044
|
+
| `.pf-v6-c-select__menu-wrapper` | `<li>` | Defines a menu wrapper for use with multiple actionable items in a single item row. |
|
|
3045
|
+
| `.pf-m-favorite` | `.pf-v6-c-select__menu-wrapper` | Modifies wrapper to indicate that the item row has been favorited. |
|
|
3046
|
+
| `.pf-m-favorite-action` | `.pf-v6-c-select__menu-item` | Modifies an item for favorite styles. |
|
|
3047
|
+
| `.pf-m-link` | `.pf-v6-c-select__menu-item.pf-m-wrapper > .pf-v6-c-select__menu-item` | Modifies item for link styles. |
|
|
3048
|
+
| `.pf-m-action` | `.pf-v6-c-select__menu-item.pf-m-wrapper > .pf-v6-c-select__menu-item` | Modifies item to for action styles. |
|
|
3049
3049
|
|
|
3050
3050
|
## View more
|
|
3051
3051
|
|
|
@@ -3115,7 +3115,7 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3115
3115
|
|
|
3116
3116
|
| Class | Applied to | Outcome |
|
|
3117
3117
|
| -- | -- | -- |
|
|
3118
|
-
| `.pf-m-load` | `.pf-
|
|
3118
|
+
| `.pf-m-load` | `.pf-v6-c-select__menu-item` | Modifies a menu item for load styles. |
|
|
3119
3119
|
|
|
3120
3120
|
## Loading
|
|
3121
3121
|
|
|
@@ -3197,8 +3197,8 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3197
3197
|
|
|
3198
3198
|
| Class | Applied to | Outcome |
|
|
3199
3199
|
| -- | -- | -- |
|
|
3200
|
-
| `.pf-
|
|
3201
|
-
| `.pf-m-loading` | `.pf-
|
|
3200
|
+
| `.pf-v6-c-select__list-item` | `<li>` | Defines a list item element in the select menu. |
|
|
3201
|
+
| `.pf-m-loading` | `.pf-v6-c-select__list-item` | Modifies a list item for loading styles. |
|
|
3202
3202
|
|
|
3203
3203
|
## Footer
|
|
3204
3204
|
|
|
@@ -3270,8 +3270,8 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3270
3270
|
|
|
3271
3271
|
| Class | Applied to | Outcome |
|
|
3272
3272
|
| -- | -- | -- |
|
|
3273
|
-
| `.pf-
|
|
3274
|
-
| `.pf-
|
|
3273
|
+
| `.pf-v6-c-select__menu-footer` | `<div>` | Defines a menu footer. |
|
|
3274
|
+
| `.pf-v6-c-select__menu-list` | `<ul>` | Defines the menu list when the list is placed in `div.pf-v6-c-select__menu`. |
|
|
3275
3275
|
|
|
3276
3276
|
## Placeholder
|
|
3277
3277
|
|
|
@@ -3514,7 +3514,7 @@ The plain select variation should be used when you do not want a border applied
|
|
|
3514
3514
|
|
|
3515
3515
|
| Class | Applied to | Outcome |
|
|
3516
3516
|
| -- | -- | -- |
|
|
3517
|
-
| `.pf-m-placeholder` | `.pf-
|
|
3517
|
+
| `.pf-m-placeholder` | `.pf-v6-c-select__toggle` | Modifies the toggle for placeholder styles. |
|
|
3518
3518
|
|
|
3519
3519
|
## Documentation
|
|
3520
3520
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: 'Sidebar'
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-sidebar
|
|
5
5
|
---import './Sidebar.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -253,18 +253,18 @@ cssPrefix: pf-v5-c-sidebar
|
|
|
253
253
|
|
|
254
254
|
| Class | Applied to | Outcome |
|
|
255
255
|
| -- | -- | -- |
|
|
256
|
-
| `.pf-
|
|
257
|
-
| `.pf-
|
|
258
|
-
| `.pf-
|
|
259
|
-
| `.pf-
|
|
260
|
-
| `.pf-m-border` | `.pf-
|
|
261
|
-
| `.pf-m-padding` | `.pf-
|
|
262
|
-
| `.pf-m-gutter` | `.pf-
|
|
263
|
-
| `.pf-m-stack` | `.pf-
|
|
264
|
-
| `.pf-m-split` | `.pf-
|
|
265
|
-
| `.pf-m-panel-right` | `.pf-
|
|
266
|
-
| `.pf-m-sticky` | `.pf-
|
|
267
|
-
| `.pf-m-static` | `.pf-
|
|
268
|
-
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-
|
|
269
|
-
| `.pf-m-no-background` | `.pf-
|
|
270
|
-
| `.pf-m-secondary` | `.pf-
|
|
256
|
+
| `.pf-v6-c-sidebar` | `<div>` | Initiates the sidebar component. **Required** |
|
|
257
|
+
| `.pf-v6-c-sidebar__main` | `<div>` | Initiates the sidebar main element. **Required** |
|
|
258
|
+
| `.pf-v6-c-sidebar__panel` | `<div>` | Initiates the sidebar panel element. **Required** |
|
|
259
|
+
| `.pf-v6-c-sidebar__content` | `<div>` | Initiates the sidebar content element. **Required** |
|
|
260
|
+
| `.pf-m-border` | `.pf-v6-c-sidebar__main` | Modifies the sidebar component to add a border between the panel and content. |
|
|
261
|
+
| `.pf-m-padding` | `.pf-v6-c-sidebar__panel`, `.pf-v6-c-sidebar__content` | Modifies the sidebar component to add a padding to panel and/or content. |
|
|
262
|
+
| `.pf-m-gutter` | `.pf-v6-c-sidebar` | Modifies the sidebar component to add a gutter between the panel and content. |
|
|
263
|
+
| `.pf-m-stack` | `.pf-v6-c-sidebar` | Modifies the sidebar to stack the panel on top of the content. |
|
|
264
|
+
| `.pf-m-split` | `.pf-v6-c-sidebar` | Modifies the sidebar to position the panel and content side by side. |
|
|
265
|
+
| `.pf-m-panel-right` | `.pf-v6-c-sidebar` | Modifies the sidebar to place the panel to the right of the content. |
|
|
266
|
+
| `.pf-m-sticky` | `.pf-v6-c-sidebar__panel` | Modifies the panel to be sticky to the top of the layout. |
|
|
267
|
+
| `.pf-m-static` | `.pf-v6-c-sidebar__panel` | Modifies the panel to be positioned statically. |
|
|
268
|
+
| `.pf-m-width-{default, 25, 33, 50, 66, 75, 100}{-on-[breakpoint]}` | `.pf-v6-c-sidebar__panel` | Modifies the panel width at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** does not apply when the panel is stacked on top of the content. |
|
|
269
|
+
| `.pf-m-no-background` | `.pf-v6-c-sidebar`, `.pf-v6-c-sidebar__panel, .pf-v6-c-sidebar__content` | Modifies the element to have a transparent background. |
|
|
270
|
+
| `.pf-m-secondary` | `.pf-v6-c-sidebar__panel, .pf-v6-c-sidebar__content` | Modifies the element to have secondary styling. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Simple list
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-simple-list
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Simple list
|
|
@@ -108,16 +108,16 @@ cssPrefix: pf-v5-c-simple-list
|
|
|
108
108
|
|
|
109
109
|
| Attribute | Applied to | Outcome |
|
|
110
110
|
| -- | -- | -- |
|
|
111
|
-
| `tabindex="0"` | `a.pf-
|
|
111
|
+
| `tabindex="0"` | `a.pf-v6-c-simple-list__item-link` | Inserts the link into the tab order of the page so that it is focusable. **Required** |
|
|
112
112
|
|
|
113
113
|
### Usage
|
|
114
114
|
|
|
115
115
|
| Class | Applied to | Outcome |
|
|
116
116
|
| -- | -- | -- |
|
|
117
|
-
| `.pf-
|
|
118
|
-
| `.pf-
|
|
119
|
-
| `.pf-
|
|
120
|
-
| `.pf-
|
|
121
|
-
| `.pf-
|
|
122
|
-
| `.pf-
|
|
123
|
-
| `.pf-m-current` | `.pf-
|
|
117
|
+
| `.pf-v6-c-simple-list` | `<div>` | Initiates a simple list. |
|
|
118
|
+
| `.pf-v6-c-simple-list__section` | `<section>` | Initiates a simple list section. |
|
|
119
|
+
| `.pf-v6-c-simple-list__title` | `<h2>` | Initiates a simple list title. |
|
|
120
|
+
| `.pf-v6-c-simple-list__list` | `<ul>` | Initiates a simple list unordered list. |
|
|
121
|
+
| `.pf-v6-c-simple-list__item` | `<li>` | Initiates a simple list item. |
|
|
122
|
+
| `.pf-v6-c-simple-list__item-link` | `<button>`, `<a>` | Initiates a simple list item link. It can be a button or a link depending on the context. |
|
|
123
|
+
| `.pf-m-current` | `.pf-v6-c-simple-list__item-link` | Modifies the simple list item link for the current state. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Skeleton
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-skeleton
|
|
5
5
|
---import './Skeleton.css'
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
@@ -45,19 +45,19 @@ cssPrefix: pf-v5-c-skeleton
|
|
|
45
45
|
### Text modifiers
|
|
46
46
|
|
|
47
47
|
```html
|
|
48
|
-
--pf-
|
|
48
|
+
--pf-v6-global--FontSize--4xl
|
|
49
49
|
<div class="pf-v6-c-skeleton pf-m-text-4xl"></div>
|
|
50
|
-
<br />--pf-
|
|
50
|
+
<br />--pf-v6-global--FontSize--3xl
|
|
51
51
|
<div class="pf-v6-c-skeleton pf-m-text-3xl"></div>
|
|
52
|
-
<br />--pf-
|
|
52
|
+
<br />--pf-v6-global--FontSize--2xl
|
|
53
53
|
<div class="pf-v6-c-skeleton pf-m-text-2xl"></div>
|
|
54
|
-
<br />--pf-
|
|
54
|
+
<br />--pf-v6-global--FontSize--xl
|
|
55
55
|
<div class="pf-v6-c-skeleton pf-m-text-xl"></div>
|
|
56
|
-
<br />--pf-
|
|
56
|
+
<br />--pf-v6-global--FontSize--lg
|
|
57
57
|
<div class="pf-v6-c-skeleton pf-m-text-lg"></div>
|
|
58
|
-
<br />--pf-
|
|
58
|
+
<br />--pf-v6-global--FontSize--md
|
|
59
59
|
<div class="pf-v6-c-skeleton pf-m-text-md"></div>
|
|
60
|
-
<br />--pf-
|
|
60
|
+
<br />--pf-v6-global--FontSize--sm
|
|
61
61
|
<div class="pf-v6-c-skeleton pf-m-text-sm"></div>
|
|
62
62
|
|
|
63
63
|
```
|
|
@@ -92,9 +92,9 @@ Small circle
|
|
|
92
92
|
|
|
93
93
|
| Class | Applied to | Outcome |
|
|
94
94
|
| -- | -- | -- |
|
|
95
|
-
| `.pf-
|
|
96
|
-
| `.pf-m-width-[sm, md, lg, 25, 33, 50, 66, 75]` | `.pf-
|
|
97
|
-
| `.pf-m-height-[sm, md, lg, 25, 33, 50, 66, 75, 100]` | `.pf-
|
|
98
|
-
| `.pf-m-text-[sm, md, lg, xl, 2xl, 3xl, 4xl]` | `.pf-
|
|
99
|
-
| `.pf-m-circle` | `.pf-
|
|
100
|
-
| `.pf-m-square` | `.pf-
|
|
95
|
+
| `.pf-v6-c-skeleton` | `<div>` | Initiates the skeleton component. **Required** |
|
|
96
|
+
| `.pf-m-width-[sm, md, lg, 25, 33, 50, 66, 75]` | `.pf-v6-c-skeleton` | Modifies the width of the skeleton. The default is 100%. |
|
|
97
|
+
| `.pf-m-height-[sm, md, lg, 25, 33, 50, 66, 75, 100]` | `.pf-v6-c-skeleton` | Modifies the height of the skeleton. The default is the inherited font size. |
|
|
98
|
+
| `.pf-m-text-[sm, md, lg, xl, 2xl, 3xl, 4xl]` | `.pf-v6-c-skeleton` | Modifies the skeleton height to match the height of PatternFly's text elements. |
|
|
99
|
+
| `.pf-m-circle` | `.pf-v6-c-skeleton` | Modifies the border radius of the skeleton to be a circle. Use a width modifier to specify the size. |
|
|
100
|
+
| `.pf-m-square` | `.pf-v6-c-skeleton` | Modifies the border radius of the skeleton to be a square. Use a width modifier to specify the size. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Skip to content
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-skip-to-content
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
@@ -135,16 +135,16 @@ cssPrefix: pf-v5-c-skip-to-content
|
|
|
135
135
|
|
|
136
136
|
Skip to content allows screen reader and keyboard users to bypass navigation rather than tabbing through it.
|
|
137
137
|
|
|
138
|
-
When using `.pf-
|
|
138
|
+
When using `.pf-v6-c-skip-to-content` you must provide an `href` attribute whose value corresponds to the `id` attribute of the primary content container for your application. In most cases this is the `<main>` element. For a demo of this, navigate to a [page demo](/components/page/html-demos) and note the use of `tabindex="-1"`, which allows the element to receive focus programmatically.
|
|
139
139
|
|
|
140
140
|
### Accessibility
|
|
141
141
|
|
|
142
142
|
| Attribute | Applied to | Outcome |
|
|
143
143
|
| -- | -- | -- |
|
|
144
|
-
| `href="[id of main container]"` | `.pf-
|
|
144
|
+
| `href="[id of main container]"` | `.pf-v6-c-skip-to-content` | Sends focus to the primary content container. **Required** |
|
|
145
145
|
|
|
146
146
|
### Usage
|
|
147
147
|
|
|
148
148
|
| Class | Applied to | Outcome |
|
|
149
149
|
| -- | -- | -- |
|
|
150
|
-
| `.pf-
|
|
150
|
+
| `.pf-v6-c-skip-to-content` | `<a>` | initiates the skip to content link. |
|