@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: 'Code block'
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-code-block
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
@@ -171,10 +171,10 @@ name: azure-sample-repo<div
|
|
|
171
171
|
|
|
172
172
|
| Class | Applied to | Outcome |
|
|
173
173
|
| -- | -- | -- |
|
|
174
|
-
| `.pf-
|
|
175
|
-
| `.pf-
|
|
176
|
-
| `.pf-
|
|
177
|
-
| `.pf-
|
|
178
|
-
| `.pf-
|
|
179
|
-
| `.pf-
|
|
180
|
-
| `.pf-
|
|
174
|
+
| `.pf-v6-c-code-block` | `<div>` | Initiates the code block component. **Required** |
|
|
175
|
+
| `.pf-v6-c-code-block__header` | `<div>` | Initiates the code block header. |
|
|
176
|
+
| `.pf-v6-c-code-block__actions` | `<div>` | Initiates the code block actions. |
|
|
177
|
+
| `.pf-v6-c-code-block__actions-item` | `<div>` | Initiates a code block action item. |
|
|
178
|
+
| `.pf-v6-c-code-block__content` | `<div>` | Initiates the code block content. **Required** |
|
|
179
|
+
| `.pf-v6-c-code-block__pre` | `<pre>` | Initiates the code block `<pre>` element. **Required** |
|
|
180
|
+
| `.pf-v6-c-code-block__code` | `<code>` | Initiates the code block `<code>` element. **Required** |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Code editor
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-code-editor
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Default
|
|
@@ -234,7 +234,7 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
234
234
|
<div class="pf-v6-c-code-editor__keyboard-shortcuts">
|
|
235
235
|
<button class="pf-v6-c-button pf-m-link" type="button">
|
|
236
236
|
<span class="pf-v6-c-button__icon pf-m-start">
|
|
237
|
-
<i class="pf-
|
|
237
|
+
<i class="pf-v6-pficon pf-v6-pficon-help" aria-hidden="true"></i>
|
|
238
238
|
</span>
|
|
239
239
|
View shortcuts
|
|
240
240
|
</button>
|
|
@@ -264,15 +264,15 @@ cssPrefix: pf-v5-c-code-editor
|
|
|
264
264
|
|
|
265
265
|
| Class | Applied to | Outcome |
|
|
266
266
|
| ------------------------------------------ | ---------- | --------------------------------------------------------------------------------------------- |
|
|
267
|
-
| `.pf-
|
|
268
|
-
| `.pf-
|
|
269
|
-
| `.pf-
|
|
270
|
-
| `.pf-
|
|
271
|
-
| `.pf-
|
|
272
|
-
| `.pf-
|
|
273
|
-
| `.pf-
|
|
274
|
-
| `.pf-
|
|
275
|
-
| `.pf-
|
|
276
|
-
| `.pf-
|
|
277
|
-
| `.pf-
|
|
278
|
-
| `.pf-
|
|
267
|
+
| `.pf-v6-c-code-editor` | `<div>` | Initiates the code editor component. **Required** |
|
|
268
|
+
| `.pf-v6-c-code-editor__header` | `<div>` | Initiates the code editor header used for the controls and tab elements. **Required** |
|
|
269
|
+
| `.pf-v6-c-code-editor__header-content` | `<div>` | Initiates the code editor header content used for the controls and tab elements. **Required** |
|
|
270
|
+
| `.pf-v6-c-code-editor__main` | `<div>` | Initiates the main container for a code editor e.g. Monaco **Required** |
|
|
271
|
+
| `.pf-v6-c-code-editor__code` | `<div>` | Initiates the container for code without a JS code editor. Comes with PatternFly styling. |
|
|
272
|
+
| `.pf-v6-c-code-editor__controls` | `<div>` | Initiates the code editor controls. |
|
|
273
|
+
| `.pf-v6-c-code-editor__header-main` | `<div>` | Initiates the code editor header content area. |
|
|
274
|
+
| `.pf-v6-c-code-editor__keyboard-shortcuts` | `<div>` | Initiates the code editor header keyboard shortcuts area. |
|
|
275
|
+
| `.pf-v6-c-code-editor__tab` | `<div>` | Initiates the code editor tab. |
|
|
276
|
+
| `.pf-v6-c-code-editor__tab-text` | `<span>` | Initiates the code editor tab text. |
|
|
277
|
+
| `.pf-v6-c-code-editor__tab-icon` | `<span>` | Initiates the code editor tab icon. |
|
|
278
|
+
| `.pf-v6-c-code-editor__upload` | `<div>` | Initiates the code editor upload border. |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Text
|
|
3
3
|
section: components
|
|
4
|
-
cssPrefix: pf-
|
|
4
|
+
cssPrefix: pf-v6-c-content
|
|
5
5
|
---## Examples
|
|
6
6
|
|
|
7
7
|
### Basic
|
|
@@ -161,7 +161,7 @@ cssPrefix: pf-v5-c-content
|
|
|
161
161
|
|
|
162
162
|
### Overview
|
|
163
163
|
|
|
164
|
-
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `pf-
|
|
164
|
+
When you can't use the CSS classes you want, or when you just want to directly use HTML tags, use `pf-v6-c-content` as container. It can handle almost any HTML tag:
|
|
165
165
|
|
|
166
166
|
* `<p>` paragraphs
|
|
167
167
|
* `<ul>` `<ol>` `<dl>` lists
|
|
@@ -169,7 +169,7 @@ When you can't use the CSS classes you want, or when you just want to directly u
|
|
|
169
169
|
* `<blockquote>` quotes
|
|
170
170
|
* `<em>` and `<strong>`
|
|
171
171
|
|
|
172
|
-
This `pf-
|
|
172
|
+
This `pf-v6-c-content` class can be used in any context where you just want to (or can only) write some text.
|
|
173
173
|
|
|
174
174
|
This component is an exception to the variable system since we style type selectors.
|
|
175
175
|
|
|
@@ -177,6 +177,6 @@ This component is an exception to the variable system since we style type select
|
|
|
177
177
|
|
|
178
178
|
| Class | Applied to | Outcome |
|
|
179
179
|
| -- | -- | -- |
|
|
180
|
-
| `.pf-
|
|
181
|
-
| `.pf-m-visited` | `.pf-
|
|
180
|
+
| `.pf-v6-c-content` | `<div>`, `<section>`, or `<article>` | Generates vertical rhythm and typographic treatment to html elements. |
|
|
181
|
+
| `.pf-m-visited` | `.pf-v6-c-content`, `<a>` | Modifies all links in a content block to include visited styles. Can also be applied to a single link in a content block. |
|
|
182
182
|
| `.pf-m-plain` | `<ul>`, `<ol>` | Removes the list marker and indentation. |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
id: Context selector
|
|
3
3
|
section: components
|
|
4
4
|
subsection: menus
|
|
5
|
-
cssPrefix: pf-
|
|
5
|
+
cssPrefix: pf-v6-c-context-selector
|
|
6
6
|
deprecated: true
|
|
7
7
|
---import './context-selector.css'
|
|
8
8
|
|
|
@@ -880,30 +880,30 @@ deprecated: true
|
|
|
880
880
|
|
|
881
881
|
| Class | Applied to | Outcome |
|
|
882
882
|
| -- | -- | -- |
|
|
883
|
-
| `aria-expanded="false"` | `.pf-
|
|
884
|
-
| `aria-expanded="true"` | `.pf-
|
|
885
|
-
| `aria-hidden="true"` | `.pf-
|
|
886
|
-
| `disabled` | `button.pf-
|
|
887
|
-
| `aria-disabled="true"` | `a.pf-
|
|
888
|
-
| `tabindex="-1"` | `a.pf-
|
|
883
|
+
| `aria-expanded="false"` | `.pf-v6-c-context-selector__toggle` | Indicates that the menu is hidden. |
|
|
884
|
+
| `aria-expanded="true"` | `.pf-v6-c-context-selector__toggle` | Indicates that the menu is visible. |
|
|
885
|
+
| `aria-hidden="true"` | `.pf-v6-c-context-selector__toggle-icon > *` | Hides the icon from assistive technologies. |
|
|
886
|
+
| `disabled` | `button.pf-v6-c-context-selector__menu-item` | When the menu item uses a button element, indicates that it is unavailable and removes it from keyboard focus. |
|
|
887
|
+
| `aria-disabled="true"` | `a.pf-v6-c-context-selector__menu-item` | When the menu item uses a link element, indicates that it is unavailable. |
|
|
888
|
+
| `tabindex="-1"` | `a.pf-v6-c-context-selector__menu-item` | When the menu item uses a link element, removes it from keyboard focus. |
|
|
889
889
|
|
|
890
890
|
### Usage
|
|
891
891
|
|
|
892
892
|
| Class | Applied to | Outcome |
|
|
893
893
|
| -- | -- | -- |
|
|
894
|
-
| `.pf-
|
|
895
|
-
| `.pf-
|
|
896
|
-
| `.pf-
|
|
897
|
-
| `.pf-
|
|
898
|
-
| `.pf-
|
|
899
|
-
| `.pf-
|
|
900
|
-
| `.pf-
|
|
901
|
-
| `.pf-
|
|
902
|
-
| `.pf-
|
|
903
|
-
| `.pf-m-expanded` | `.pf-
|
|
904
|
-
| `.pf-m-active` | `.pf-
|
|
905
|
-
| `.pf-m-plain.pf-m-text` | `.pf-
|
|
906
|
-
| `.pf-m-disabled` | `a.pf-
|
|
907
|
-
| `.pf-m-full-height` | `.pf-
|
|
908
|
-
| `.pf-m-large` | `.pf-
|
|
909
|
-
| `.pf-m-page-insets` | `.pf-
|
|
894
|
+
| `.pf-v6-c-context-selector` | `<div>` | Initiates a context selector.|
|
|
895
|
+
| `.pf-v6-c-context-selector__toggle` | `<button>` | Initiates a toggle. |
|
|
896
|
+
| `.pf-v6-c-context-selector__toggle-text` | `<span>` | Initiates text inside the toggle. |
|
|
897
|
+
| `.pf-v6-c-context-selector__toggle-icon` | `<span>` | Inititiates the toggle icon wrapper. |
|
|
898
|
+
| `.pf-v6-c-context-selector__menu` | `<div>` | Initiaties a menu. |
|
|
899
|
+
| `.pf-v6-c-context-selector__menu-search` | `<div>` | Initiates a container for the search input group. |
|
|
900
|
+
| `.pf-v6-c-context-selector__menu-list` | `<ul>` | Initiaties an unordered list of menu items that sits under the input container. |
|
|
901
|
+
| `.pf-v6-c-context-selector__menu-footer` | `<div>` | Initiaties a menu footer. |
|
|
902
|
+
| `.pf-v6-c-context-selector__menu-list-item` | `<li>` | Initiaties a menu item. |
|
|
903
|
+
| `.pf-m-expanded` | `.pf-v6-c-context-selector` | Modifies for the expanded state. |
|
|
904
|
+
| `.pf-m-active` | `.pf-v6-c-context-selector__toggle` | Forces display of the active state of the toggle. |
|
|
905
|
+
| `.pf-m-plain.pf-m-text` | `.pf-v6-c-context-selector__toggle` | Modifies the context selector toggle for plain text styles. |
|
|
906
|
+
| `.pf-m-disabled` | `a.pf-v6-c-context-selector__menu-list-item` | Modifies an item for the disabled state.|
|
|
907
|
+
| `.pf-m-full-height` | `.pf-v6-c-context-selector` | Modifies a context selector to full height of parent. See masthead for use. |
|
|
908
|
+
| `.pf-m-large` | `.pf-v6-c-context-selector` | Modifies toggle height to be large. |
|
|
909
|
+
| `.pf-m-page-insets` | `.pf-v6-c-context-selector` | Modifies toggle and menu insets to match the responsive page chrome insets. |
|