@patternfly/patternfly 6.1.0-prerelease.1 → 6.1.0-prerelease.3
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/README.md +5 -5
- package/components/CodeEditor/code-editor.css +15 -0
- package/components/CodeEditor/code-editor.scss +16 -1
- package/components/Content/content.css +9 -0
- package/components/Content/content.scss +7 -0
- package/components/Label/label-group.css +12 -0
- package/components/Label/label-group.scss +14 -0
- package/components/Label/label.css +2 -0
- package/components/Label/label.scss +2 -0
- package/components/MenuToggle/menu-toggle.css +3 -7
- package/components/MenuToggle/menu-toggle.scss +3 -8
- package/components/Table/table-grid.css +12 -12
- package/components/Table/table-grid.scss +4 -4
- package/components/Table/table-tree-view.css +4 -4
- package/components/Table/table-tree-view.scss +4 -4
- package/components/Table/table.css +1 -0
- package/components/Table/table.scss +2 -0
- package/components/Title/title.css +4 -0
- package/components/Title/title.scss +7 -0
- package/components/Wizard/wizard.css +1 -1
- package/components/Wizard/wizard.scss +1 -1
- package/components/_index.css +63 -24
- package/docs/components/CodeEditor/examples/CodeEditor.css +3 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +158 -7
- package/docs/components/Content/examples/Content.md +8 -7
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -18
- package/docs/components/Label/examples/Label.css +12 -0
- package/docs/components/Label/examples/Label.md +127 -0
- package/docs/components/MenuToggle/examples/MenuToggle.md +1193 -536
- package/docs/components/Table/examples/Table.md +465 -2523
- package/docs/components/Title/examples/Title.md +10 -0
- package/docs/demos/AboutModal/examples/AboutModal.md +2 -4
- package/docs/demos/Alert/examples/Alert.md +6 -12
- package/docs/demos/BackToTop/examples/BackToTop.md +2 -4
- package/docs/demos/Banner/examples/Banner.md +4 -8
- package/docs/demos/Card/examples/Card.css +4 -0
- package/docs/demos/Card/examples/Card.md +13 -21
- package/docs/demos/CardView/examples/CardView.md +2 -4
- package/docs/demos/Dashboard/examples/Dashboard.md +2 -4
- package/docs/demos/DataList/examples/DataList.md +13 -46
- package/docs/demos/DescriptionList/examples/DescriptionList.md +11 -42
- package/docs/demos/Drawer/examples/Drawer.md +6 -12
- package/docs/demos/JumpLinks/examples/JumpLinks.md +8 -16
- package/docs/demos/Masthead/examples/Masthead.md +18 -36
- package/docs/demos/Modal/examples/Modal.md +12 -24
- package/docs/demos/Nav/examples/Nav.md +12 -24
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -20
- package/docs/demos/Page/examples/Page.md +24 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +14 -28
- package/docs/demos/Skeleton/examples/Skeleton.md +2 -4
- package/docs/demos/Table/examples/Table.md +191 -984
- package/docs/demos/Tabs/examples/Tabs.md +18 -60
- package/docs/demos/Toolbar/examples/Toolbar.md +16 -80
- package/docs/demos/Wizard/examples/Wizard.md +18 -36
- package/package.json +3 -3
- package/patternfly-no-globals.css +63 -24
- package/patternfly.css +63 -24
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# PatternFly
|
|
1
|
+
# PatternFly
|
|
2
2
|
|
|
3
3
|
## Install
|
|
4
4
|
|
|
5
5
|
- This assumes an environment is already set up for npm packages - if not, please use npm init following the steps at [https://docs.npmjs.com/getting-started/using-a-package.json](https://docs.npmjs.com/getting-started/using-a-package.json).
|
|
6
6
|
- run `npm install @patternfly/patternfly --save`
|
|
7
7
|
|
|
8
|
-
When you install PatternFly
|
|
8
|
+
When you install PatternFly, the package includes:
|
|
9
9
|
|
|
10
10
|
- a single file for the entire compiled library: `node_modules/@patternfly/patternfly/patternfly.css`
|
|
11
11
|
- individual files with each component compiled separately: `node_modules/@patternfly/patternfly/<ComponentName>/styles.css`
|
|
@@ -16,9 +16,9 @@ Any of the files above are meant for use in consuming the library. The recommend
|
|
|
16
16
|
|
|
17
17
|
## Development
|
|
18
18
|
|
|
19
|
-
**PatternFly
|
|
19
|
+
**PatternFly Development requires Node v18.0.0 or greater**
|
|
20
20
|
|
|
21
|
-
To setup the PatternFly
|
|
21
|
+
To setup the PatternFly development environment:
|
|
22
22
|
|
|
23
23
|
- clone the project
|
|
24
24
|
- run `yarn install` from the project root
|
|
@@ -115,7 +115,7 @@ If you have any suggestions about ways that we can improve how we use this tool,
|
|
|
115
115
|
[How do I use CSS variables to customize the library?](https://core-staging.patternfly.org/guidelines#variables)
|
|
116
116
|
|
|
117
117
|
#### Browser support
|
|
118
|
-
PatternFly
|
|
118
|
+
PatternFly is supported on the latest two major versions of the following browsers:
|
|
119
119
|
|
|
120
120
|
- Chrome
|
|
121
121
|
- Firefox
|
|
@@ -51,9 +51,22 @@
|
|
|
51
51
|
--pf-v6-c-code-editor__tab-icon--text--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
.pf-v6-c-code-editor {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
}
|
|
54
58
|
.pf-v6-c-code-editor.pf-m-read-only {
|
|
55
59
|
--pf-v6-c-code-editor__main--BackgroundColor: var(--pf-v6-c-code-editor--m-read-only__main--BackgroundColor);
|
|
56
60
|
}
|
|
61
|
+
.pf-v6-c-code-editor.pf-m-full-height {
|
|
62
|
+
height: 100%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.pf-v6-c-code-editor__container {
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
flex-grow: 1;
|
|
69
|
+
}
|
|
57
70
|
|
|
58
71
|
.pf-v6-c-code-editor__header {
|
|
59
72
|
position: relative;
|
|
@@ -120,6 +133,7 @@
|
|
|
120
133
|
|
|
121
134
|
.pf-v6-c-code-editor__main {
|
|
122
135
|
position: relative;
|
|
136
|
+
flex-grow: 1;
|
|
123
137
|
color: var(--pf-v6-c-code-editor__main--Color, inherit);
|
|
124
138
|
background-color: var(--pf-v6-c-code-editor__main--BackgroundColor);
|
|
125
139
|
border: var(--pf-v6-c-code-editor__main--BorderWidth) solid;
|
|
@@ -141,6 +155,7 @@
|
|
|
141
155
|
|
|
142
156
|
.pf-v6-c-code-editor__code {
|
|
143
157
|
position: relative;
|
|
158
|
+
height: 100%;
|
|
144
159
|
padding-block-start: var(--pf-v6-c-code-editor__code--PaddingBlockStart);
|
|
145
160
|
padding-block-end: var(--pf-v6-c-code-editor__code--PaddingBlockEnd);
|
|
146
161
|
padding-inline-start: var(--pf-v6-c-code-editor__code--PaddingInlineStart);
|
|
@@ -71,9 +71,22 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.#{$code-editor} {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
|
|
74
77
|
&.pf-m-read-only {
|
|
75
78
|
--#{$code-editor}__main--BackgroundColor: var(--#{$code-editor}--m-read-only__main--BackgroundColor);
|
|
76
79
|
}
|
|
80
|
+
|
|
81
|
+
&.pf-m-full-height {
|
|
82
|
+
height: 100%;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.#{$code-editor}__container {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
flex-grow: 1;
|
|
77
90
|
}
|
|
78
91
|
|
|
79
92
|
.#{$code-editor}__header {
|
|
@@ -144,7 +157,8 @@
|
|
|
144
157
|
}
|
|
145
158
|
|
|
146
159
|
.#{$code-editor}__main {
|
|
147
|
-
position: relative;
|
|
160
|
+
position: relative;
|
|
161
|
+
flex-grow: 1;
|
|
148
162
|
color: var(--#{$code-editor}__main--Color, inherit);
|
|
149
163
|
background-color: var(--#{$code-editor}__main--BackgroundColor);
|
|
150
164
|
border: var(--#{$code-editor}__main--BorderWidth) solid;
|
|
@@ -170,6 +184,7 @@
|
|
|
170
184
|
|
|
171
185
|
.#{$code-editor}__code {
|
|
172
186
|
position: relative;
|
|
187
|
+
height: 100%;
|
|
173
188
|
padding-block-start: var(--#{$code-editor}__code--PaddingBlockStart);
|
|
174
189
|
padding-block-end: var(--#{$code-editor}__code--PaddingBlockEnd);
|
|
175
190
|
padding-inline-start: var(--#{$code-editor}__code--PaddingInlineStart);
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
--pf-v6-c-content--h6--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
37
37
|
--pf-v6-c-content--h6--FontSize: var(--pf-t--global--font--size--heading--h6);
|
|
38
38
|
--pf-v6-c-content--h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
39
|
+
--pf-v6-c-content--heading--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
39
40
|
--pf-v6-c-content--small--MarginBlockEnd: var(--pf-t--global--spacer--md);
|
|
40
41
|
--pf-v6-c-content--small--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
41
42
|
--pf-v6-c-content--small--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
@@ -135,6 +136,14 @@
|
|
|
135
136
|
.pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6):last-child {
|
|
136
137
|
margin-block-end: 0;
|
|
137
138
|
}
|
|
139
|
+
:is(.pf-v6-c-content--h1,
|
|
140
|
+
.pf-v6-c-content--h2,
|
|
141
|
+
.pf-v6-c-content--h3,
|
|
142
|
+
.pf-v6-c-content--h4,
|
|
143
|
+
.pf-v6-c-content--h5,
|
|
144
|
+
.pf-v6-c-content--h6, .pf-v6-c-content h1, .pf-v6-c-content h2, .pf-v6-c-content h3, .pf-v6-c-content h4, .pf-v6-c-content h5, .pf-v6-c-content h6).pf-m-page-title {
|
|
145
|
+
font-weight: var(--pf-v6-c-content--heading--m-page-title--FontWeight);
|
|
146
|
+
}
|
|
138
147
|
|
|
139
148
|
:is(.pf-v6-c-content--h1, .pf-v6-c-content h1) {
|
|
140
149
|
margin-block-start: var(--pf-v6-c-content--h1--MarginBlockStart);
|
|
@@ -56,6 +56,9 @@
|
|
|
56
56
|
--#{$content}--h6--FontSize: var(--pf-t--global--font--size--heading--h6);
|
|
57
57
|
--#{$content}--h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
58
58
|
|
|
59
|
+
// Page title
|
|
60
|
+
--#{$content}--heading--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
61
|
+
|
|
59
62
|
// Small text
|
|
60
63
|
--#{$content}--small--MarginBlockEnd: var(--pf-t--global--spacer--md);
|
|
61
64
|
--#{$content}--small--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
@@ -194,6 +197,10 @@
|
|
|
194
197
|
&:last-child {
|
|
195
198
|
margin-block-end: 0;
|
|
196
199
|
}
|
|
200
|
+
|
|
201
|
+
&.pf-m-page-title {
|
|
202
|
+
font-weight: var(--#{$content}--heading--m-page-title--FontWeight);
|
|
203
|
+
}
|
|
197
204
|
}
|
|
198
205
|
|
|
199
206
|
@at-root :is(
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
.pf-v6-c-label-group {
|
|
2
2
|
--pf-v6-c-label-group--RowGap: var(--pf-t--global--spacer--sm);
|
|
3
3
|
--pf-v6-c-label-group--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
4
|
+
--pf-v6-c-label-group--MaxWidth: 100%;
|
|
4
5
|
--pf-v6-c-label-group--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
|
|
5
6
|
--pf-v6-c-label-group--m-vertical--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
6
7
|
--pf-v6-c-label-group__main--RowGap: var(--pf-t--global--spacer--xs);
|
|
7
8
|
--pf-v6-c-label-group__main--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
9
|
+
--pf-v6-c-label-group__main--MaxWidth: 100%;
|
|
10
|
+
--pf-v6-c-label-group__main--MinWidth: 0;
|
|
8
11
|
--pf-v6-c-label-group--m-vertical__main--RowGap: var(--pf-t--global--spacer--sm);
|
|
9
12
|
--pf-v6-c-label-group--m-vertical__main--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
10
13
|
--pf-v6-c-label-group__list--RowGap: var(--pf-t--global--spacer--xs);
|
|
11
14
|
--pf-v6-c-label-group__list--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
15
|
+
--pf-v6-c-label-group__list--MaxWidth: 100%;
|
|
16
|
+
--pf-v6-c-label-group__list--MinWidth: 0;
|
|
12
17
|
--pf-v6-c-label-group--m-vertical__list--RowGap: var(--pf-t--global--spacer--xs);
|
|
13
18
|
--pf-v6-c-label-group--m-vertical__list--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
19
|
+
--pf-v6-c-label-group__list-item--MaxWidth: 100%;
|
|
14
20
|
--pf-v6-c-label-group--m-category--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
15
21
|
--pf-v6-c-label-group--m-category--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
16
22
|
--pf-v6-c-label-group--m-category--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
@@ -37,6 +43,7 @@
|
|
|
37
43
|
row-gap: var(--pf-v6-c-label-group--RowGap);
|
|
38
44
|
column-gap: var(--pf-v6-c-label-group--ColumnGap);
|
|
39
45
|
align-items: center;
|
|
46
|
+
max-width: var(--pf-v6-c-label-group--MaxWidth);
|
|
40
47
|
}
|
|
41
48
|
.pf-v6-c-label-group.pf-m-category {
|
|
42
49
|
padding-block-start: var(--pf-v6-c-label-group--m-category--PaddingBlockStart);
|
|
@@ -62,9 +69,11 @@
|
|
|
62
69
|
.pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__list {
|
|
63
70
|
flex-direction: column;
|
|
64
71
|
align-items: flex-start;
|
|
72
|
+
max-width: var(--pf-v6-c-label-group__list--MaxWidth);
|
|
65
73
|
}
|
|
66
74
|
.pf-v6-c-label-group.pf-m-vertical .pf-v6-c-label-group__main {
|
|
67
75
|
flex-direction: column;
|
|
76
|
+
min-width: var(--pf-v6-c-label-group__main--MinWidth);
|
|
68
77
|
}
|
|
69
78
|
.pf-v6-c-label-group.pf-m-editable,
|
|
70
79
|
.pf-v6-c-label-group.pf-m-editable .pf-v6-c-label-group__main,
|
|
@@ -85,6 +94,7 @@
|
|
|
85
94
|
row-gap: var(--pf-v6-c-label-group__main--RowGap);
|
|
86
95
|
column-gap: var(--pf-v6-c-label-group__main--ColumnGap);
|
|
87
96
|
align-items: baseline;
|
|
97
|
+
min-width: var(--pf-v6-c-label-group__main--MinWidth);
|
|
88
98
|
}
|
|
89
99
|
|
|
90
100
|
.pf-v6-c-label-group__list {
|
|
@@ -92,10 +102,12 @@
|
|
|
92
102
|
flex-wrap: wrap;
|
|
93
103
|
row-gap: var(--pf-v6-c-label-group__list--RowGap);
|
|
94
104
|
column-gap: var(--pf-v6-c-label-group__list--ColumnGap);
|
|
105
|
+
min-width: var(--pf-v6-c-label-group__list--MinWidth);
|
|
95
106
|
}
|
|
96
107
|
|
|
97
108
|
.pf-v6-c-label-group__list-item {
|
|
98
109
|
display: inline-flex;
|
|
110
|
+
max-width: var(--pf-v6-c-label-group__list-item--MaxWidth);
|
|
99
111
|
}
|
|
100
112
|
|
|
101
113
|
.pf-v6-c-label-group__label {
|
|
@@ -4,21 +4,29 @@
|
|
|
4
4
|
// Label group - spaces main with the close button
|
|
5
5
|
--#{$label-group}--RowGap: var(--pf-t--global--spacer--sm);
|
|
6
6
|
--#{$label-group}--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
7
|
+
--#{$label-group}--MaxWidth: 100%;
|
|
7
8
|
--#{$label-group}--m-vertical--RowGap: var(--pf-t--global--spacer--sm);
|
|
8
9
|
--#{$label-group}--m-vertical--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
9
10
|
|
|
10
11
|
// Main - spaces the category label with the list
|
|
11
12
|
--#{$label-group}__main--RowGap: var(--pf-t--global--spacer--xs);
|
|
12
13
|
--#{$label-group}__main--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
14
|
+
--#{$label-group}__main--MaxWidth: 100%;
|
|
15
|
+
--#{$label-group}__main--MinWidth: 0;
|
|
13
16
|
--#{$label-group}--m-vertical__main--RowGap: var(--pf-t--global--spacer--sm);
|
|
14
17
|
--#{$label-group}--m-vertical__main--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
15
18
|
|
|
16
19
|
// List - spaces the items
|
|
17
20
|
--#{$label-group}__list--RowGap: var(--pf-t--global--spacer--xs);
|
|
18
21
|
--#{$label-group}__list--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
22
|
+
--#{$label-group}__list--MaxWidth: 100%;
|
|
23
|
+
--#{$label-group}__list--MinWidth: 0;
|
|
19
24
|
--#{$label-group}--m-vertical__list--RowGap: var(--pf-t--global--spacer--xs);
|
|
20
25
|
--#{$label-group}--m-vertical__list--ColumnGap: var(--pf-t--global--spacer--xs);
|
|
21
26
|
|
|
27
|
+
// List item
|
|
28
|
+
--#{$label-group}__list-item--MaxWidth: 100%;
|
|
29
|
+
|
|
22
30
|
// Category
|
|
23
31
|
--#{$label-group}--m-category--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
24
32
|
--#{$label-group}--m-category--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -52,6 +60,7 @@
|
|
|
52
60
|
row-gap: var(--#{$label-group}--RowGap);
|
|
53
61
|
column-gap: var(--#{$label-group}--ColumnGap);
|
|
54
62
|
align-items: center;
|
|
63
|
+
max-width: var(--#{$label-group}--MaxWidth);
|
|
55
64
|
|
|
56
65
|
&.pf-m-category {
|
|
57
66
|
padding-block-start: var(--#{$label-group}--m-category--PaddingBlockStart);
|
|
@@ -79,10 +88,12 @@
|
|
|
79
88
|
.#{$label-group}__list {
|
|
80
89
|
flex-direction: column;
|
|
81
90
|
align-items: flex-start;
|
|
91
|
+
max-width: var(--#{$label-group}__list--MaxWidth);
|
|
82
92
|
}
|
|
83
93
|
|
|
84
94
|
.#{$label-group}__main {
|
|
85
95
|
flex-direction: column;
|
|
96
|
+
min-width: var(--#{$label-group}__main--MinWidth);
|
|
86
97
|
}
|
|
87
98
|
}
|
|
88
99
|
|
|
@@ -109,6 +120,7 @@
|
|
|
109
120
|
row-gap: var(--#{$label-group}__main--RowGap);
|
|
110
121
|
column-gap: var(--#{$label-group}__main--ColumnGap);
|
|
111
122
|
align-items: baseline;
|
|
123
|
+
min-width: var(--#{$label-group}__main--MinWidth);
|
|
112
124
|
}
|
|
113
125
|
|
|
114
126
|
.#{$label-group}__list {
|
|
@@ -116,10 +128,12 @@
|
|
|
116
128
|
flex-wrap: wrap;
|
|
117
129
|
row-gap: var(--#{$label-group}__list--RowGap);
|
|
118
130
|
column-gap: var(--#{$label-group}__list--ColumnGap);
|
|
131
|
+
min-width: var(--#{$label-group}__list--MinWidth);
|
|
119
132
|
}
|
|
120
133
|
|
|
121
134
|
.#{$label-group}__list-item {
|
|
122
135
|
display: inline-flex;
|
|
136
|
+
max-width: var(--#{$label-group}__list-item--MaxWidth);
|
|
123
137
|
}
|
|
124
138
|
|
|
125
139
|
.#{$label-group}__label {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
--pf-v6-c-label--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
5
5
|
--pf-v6-c-label--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
6
6
|
--pf-v6-c-label--MaxWidth: 100%;
|
|
7
|
+
--pf-v6-c-label--MinWidth: 3em;
|
|
7
8
|
--pf-v6-c-label--BorderWidth: 0;
|
|
8
9
|
--pf-v6-c-label--BorderColor: transparent;
|
|
9
10
|
--pf-v6-c-label--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
@@ -193,6 +194,7 @@
|
|
|
193
194
|
|
|
194
195
|
.pf-v6-c-label {
|
|
195
196
|
position: relative;
|
|
197
|
+
min-width: var(--pf-v6-c-label--MinWidth);
|
|
196
198
|
max-width: var(--pf-v6-c-label--MaxWidth);
|
|
197
199
|
padding-block-start: var(--pf-v6-c-label--PaddingBlockStart);
|
|
198
200
|
padding-block-end: var(--pf-v6-c-label--PaddingBlockEnd);
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--#{$label}--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
7
7
|
--#{$label}--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
8
8
|
--#{$label}--MaxWidth: 100%;
|
|
9
|
+
--#{$label}--MinWidth: 3em;
|
|
9
10
|
--#{$label}--BorderWidth: 0;
|
|
10
11
|
--#{$label}--BorderColor: transparent;
|
|
11
12
|
--#{$label}--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
@@ -251,6 +252,7 @@
|
|
|
251
252
|
|
|
252
253
|
.#{$label} {
|
|
253
254
|
position: relative;
|
|
255
|
+
min-width: var(--#{$label}--MinWidth);
|
|
254
256
|
max-width: var(--#{$label}--MaxWidth);
|
|
255
257
|
padding-block-start: var(--#{$label}--PaddingBlockStart);
|
|
256
258
|
padding-block-end: var(--#{$label}--PaddingBlockEnd);
|
|
@@ -383,13 +383,6 @@
|
|
|
383
383
|
flex-wrap: nowrap;
|
|
384
384
|
}
|
|
385
385
|
|
|
386
|
-
.pf-v6-c-menu-toggle__controls,
|
|
387
|
-
.pf-v6-c-menu-toggle__toggle-icon {
|
|
388
|
-
display: flex;
|
|
389
|
-
align-items: center;
|
|
390
|
-
justify-content: center;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
386
|
.pf-v6-c-menu-toggle__icon {
|
|
394
387
|
flex-shrink: 0;
|
|
395
388
|
}
|
|
@@ -401,7 +394,10 @@
|
|
|
401
394
|
}
|
|
402
395
|
|
|
403
396
|
.pf-v6-c-menu-toggle__controls {
|
|
397
|
+
display: flex;
|
|
404
398
|
gap: var(--pf-v6-c-menu-toggle__controls--Gap);
|
|
399
|
+
align-items: center;
|
|
400
|
+
justify-content: center;
|
|
405
401
|
margin-inline-start: auto;
|
|
406
402
|
}
|
|
407
403
|
|
|
@@ -500,14 +500,6 @@
|
|
|
500
500
|
flex-wrap: nowrap;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
|
-
// - Menu toggle controls - Menu toggle icon
|
|
504
|
-
.#{$menu-toggle}__controls,
|
|
505
|
-
.#{$menu-toggle}__toggle-icon {
|
|
506
|
-
display: flex;
|
|
507
|
-
align-items: center;
|
|
508
|
-
justify-content: center;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
503
|
.#{$menu-toggle}__icon {
|
|
512
504
|
flex-shrink: 0;
|
|
513
505
|
|
|
@@ -523,7 +515,10 @@
|
|
|
523
515
|
|
|
524
516
|
// - Menu toggle controls
|
|
525
517
|
.#{$menu-toggle}__controls {
|
|
518
|
+
display: flex;
|
|
526
519
|
gap: var(--#{$menu-toggle}__controls--Gap);
|
|
520
|
+
align-items: center;
|
|
521
|
+
justify-content: center;
|
|
527
522
|
margin-inline-start: auto; // TODO: possibly replace as part of one of the other TODOs at top of file
|
|
528
523
|
}
|
|
529
524
|
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
--pf-v6-c-table--cell--Width: auto;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
@media screen and (max-width: 48rem) {
|
|
358
|
+
@media screen and (max-width: calc(48rem - 1px)) {
|
|
359
359
|
.pf-m-grid-md.pf-v6-c-table {
|
|
360
360
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
361
361
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -625,14 +625,14 @@
|
|
|
625
625
|
text-align: end;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
@media screen and (max-width: 48rem) and (max-width: 36rem) {
|
|
628
|
+
@media screen and (max-width: calc(48rem - 1px)) and (max-width: 36rem) {
|
|
629
629
|
.pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__action {
|
|
630
630
|
grid-row-start: 1;
|
|
631
631
|
grid-column-start: 2;
|
|
632
632
|
margin-inline-start: 0;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
@media screen and (max-width: 48rem) {
|
|
635
|
+
@media screen and (max-width: calc(48rem - 1px)) {
|
|
636
636
|
.pf-m-grid-md.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
637
637
|
grid-column: 2;
|
|
638
638
|
grid-row: 2;
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
@media screen and (max-width: 62rem) {
|
|
661
|
+
@media screen and (max-width: calc(62rem - 1px)) {
|
|
662
662
|
.pf-m-grid-lg.pf-v6-c-table {
|
|
663
663
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
664
664
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -928,14 +928,14 @@
|
|
|
928
928
|
text-align: end;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
-
@media screen and (max-width: 62rem) and (max-width: 36rem) {
|
|
931
|
+
@media screen and (max-width: calc(62rem - 1px)) and (max-width: 36rem) {
|
|
932
932
|
.pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__action {
|
|
933
933
|
grid-row-start: 1;
|
|
934
934
|
grid-column-start: 2;
|
|
935
935
|
margin-inline-start: 0;
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
-
@media screen and (max-width: 62rem) {
|
|
938
|
+
@media screen and (max-width: calc(62rem - 1px)) {
|
|
939
939
|
.pf-m-grid-lg.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
940
940
|
grid-column: 2;
|
|
941
941
|
grid-row: 2;
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
963
|
|
|
964
|
-
@media screen and (max-width: 75rem) {
|
|
964
|
+
@media screen and (max-width: calc(75rem - 1px)) {
|
|
965
965
|
.pf-m-grid-xl.pf-v6-c-table {
|
|
966
966
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
967
967
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -1231,14 +1231,14 @@
|
|
|
1231
1231
|
text-align: end;
|
|
1232
1232
|
}
|
|
1233
1233
|
}
|
|
1234
|
-
@media screen and (max-width: 75rem) and (max-width: 36rem) {
|
|
1234
|
+
@media screen and (max-width: calc(75rem - 1px)) and (max-width: 36rem) {
|
|
1235
1235
|
.pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1236
1236
|
grid-row-start: 1;
|
|
1237
1237
|
grid-column-start: 2;
|
|
1238
1238
|
margin-inline-start: 0;
|
|
1239
1239
|
}
|
|
1240
1240
|
}
|
|
1241
|
-
@media screen and (max-width: 75rem) {
|
|
1241
|
+
@media screen and (max-width: calc(75rem - 1px)) {
|
|
1242
1242
|
.pf-m-grid-xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
1243
1243
|
grid-column: 2;
|
|
1244
1244
|
grid-row: 2;
|
|
@@ -1264,7 +1264,7 @@
|
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
|
-
@media screen and (max-width: 90.625rem) {
|
|
1267
|
+
@media screen and (max-width: calc(90.625rem - 1px)) {
|
|
1268
1268
|
.pf-m-grid-2xl.pf-v6-c-table {
|
|
1269
1269
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--pf-v6-c-table--m-grid--cell--PaddingBlockStart);
|
|
1270
1270
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--pf-v6-c-table--m-grid--cell--PaddingInlineEnd);
|
|
@@ -1534,14 +1534,14 @@
|
|
|
1534
1534
|
text-align: end;
|
|
1535
1535
|
}
|
|
1536
1536
|
}
|
|
1537
|
-
@media screen and (max-width: 90.625rem) and (max-width: 36rem) {
|
|
1537
|
+
@media screen and (max-width: calc(90.625rem - 1px)) and (max-width: 36rem) {
|
|
1538
1538
|
.pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__action {
|
|
1539
1539
|
grid-row-start: 1;
|
|
1540
1540
|
grid-column-start: 2;
|
|
1541
1541
|
margin-inline-start: 0;
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
|
-
@media screen and (max-width: 90.625rem) {
|
|
1544
|
+
@media screen and (max-width: calc(90.625rem - 1px)) {
|
|
1545
1545
|
.pf-m-grid-2xl.pf-v6-c-table .pf-v6-c-table__inline-edit-action {
|
|
1546
1546
|
grid-column: 2;
|
|
1547
1547
|
grid-row: 2;
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.pf-m-grid-md.#{$table} {
|
|
10
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--md) {
|
|
10
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--md)) {
|
|
11
11
|
@content;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.pf-m-grid-lg.#{$table} {
|
|
16
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--lg) {
|
|
16
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--lg)) {
|
|
17
17
|
@content;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.pf-m-grid-xl.#{$table} {
|
|
22
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--xl) {
|
|
22
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--xl)) {
|
|
23
23
|
@content;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.pf-m-grid-2xl.#{$table} {
|
|
28
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
|
|
28
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--2xl)) {
|
|
29
29
|
@content;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingInlineStart: calc(var(--pf-v6-c-table__tree-view-main--nested-indent--base) * 9 + var(--pf-v6-c-table__tree-view-main--indent--base));
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
@media screen and (max-width: 48rem) {
|
|
249
|
+
@media screen and (max-width: calc(48rem - 1px)) {
|
|
250
250
|
.pf-m-tree-view-grid-md.pf-v6-c-table {
|
|
251
251
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
252
252
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
-
@media screen and (max-width: 62rem) {
|
|
392
|
+
@media screen and (max-width: calc(62rem - 1px)) {
|
|
393
393
|
.pf-m-tree-view-grid-lg.pf-v6-c-table {
|
|
394
394
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
395
395
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
-
@media screen and (max-width: 75rem) {
|
|
535
|
+
@media screen and (max-width: calc(75rem - 1px)) {
|
|
536
536
|
.pf-m-tree-view-grid-xl.pf-v6-c-table {
|
|
537
537
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
538
538
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
677
|
|
|
678
|
-
@media screen and (max-width: 90.625rem) {
|
|
678
|
+
@media screen and (max-width: calc(90.625rem - 1px)) {
|
|
679
679
|
.pf-m-tree-view-grid-2xl.pf-v6-c-table {
|
|
680
680
|
--pf-v6-c-table--m-tree-view-grid--tr--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
681
681
|
--pf-v6-c-table--m-tree-view-grid__tbody--cell--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
@@ -126,25 +126,25 @@ $pf-v6-c-tree-view--MaxDepth: 10;
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.pf-m-tree-view-grid-md.#{$table} {
|
|
129
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--md) {
|
|
129
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--md)) {
|
|
130
130
|
@content;
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.pf-m-tree-view-grid-lg.#{$table} {
|
|
135
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--lg) {
|
|
135
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--lg)) {
|
|
136
136
|
@content;
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.pf-m-tree-view-grid-xl.#{$table} {
|
|
141
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--xl) {
|
|
141
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--xl)) {
|
|
142
142
|
@content;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.pf-m-tree-view-grid-2xl.#{$table} {
|
|
147
|
-
@media screen and (max-width: $pf-v6-global--breakpoint--2xl) {
|
|
147
|
+
@media screen and (max-width: pf-v6-max-width-bp($pf-v6-global--breakpoint--2xl)) {
|
|
148
148
|
@content;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
--pf-v6-c-title--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
37
37
|
--pf-v6-c-title--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
|
|
38
38
|
--pf-v6-c-title--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
39
|
+
--pf-v6-c-title--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
.pf-v6-c-title {
|
|
@@ -101,4 +102,7 @@
|
|
|
101
102
|
font-size: var(--pf-v6-c-title--m-h6--FontSize);
|
|
102
103
|
font-weight: var(--pf-v6-c-title--m-h6--FontWeight);
|
|
103
104
|
line-height: var(--pf-v6-c-title--m-h6--LineHeight);
|
|
105
|
+
}
|
|
106
|
+
.pf-v6-c-title.pf-m-page-title {
|
|
107
|
+
font-weight: var(--pf-v6-c-title--m-page-title--FontWeight);
|
|
104
108
|
}
|
|
@@ -64,6 +64,9 @@
|
|
|
64
64
|
--#{$title}--m-h6--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
65
65
|
--#{$title}--m-h6--FontSize: var(--pf-t--global--font--size--heading--h6);
|
|
66
66
|
--#{$title}--m-h6--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
67
|
+
|
|
68
|
+
// Page title
|
|
69
|
+
--#{$title}--m-page-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
67
70
|
}
|
|
68
71
|
|
|
69
72
|
.#{$title} {
|
|
@@ -141,4 +144,8 @@
|
|
|
141
144
|
font-weight: var(--#{$title}--m-h6--FontWeight);
|
|
142
145
|
line-height: var(--#{$title}--m-h6--LineHeight);
|
|
143
146
|
}
|
|
147
|
+
|
|
148
|
+
&.pf-m-page-title {
|
|
149
|
+
font-weight: var(--#{$title}--m-page-title--FontWeight);
|
|
150
|
+
}
|
|
144
151
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
--pf-v6-c-wizard__toggle-separator--Color: var(--pf-t--global--border--color--default);
|
|
83
83
|
--pf-v6-c-wizard__toggle-icon--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
84
84
|
--pf-v6-c-wizard__toggle--m-expanded__toggle-icon--Rotate: 180deg;
|
|
85
|
-
--pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--
|
|
85
|
+
--pf-v6-c-wizard__nav--ZIndex: var(--pf-t--global--z-index--sm);
|
|
86
86
|
--pf-v6-c-wizard__nav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
87
87
|
--pf-v6-c-wizard__nav--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
88
88
|
--pf-v6-c-wizard__nav--Width: 100%;
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
--#{$wizard}__toggle--m-expanded__toggle-icon--Rotate: 180deg;
|
|
127
127
|
|
|
128
128
|
// Nav
|
|
129
|
-
--#{$wizard}__nav--ZIndex: var(--pf-t--global--z-index--
|
|
129
|
+
--#{$wizard}__nav--ZIndex: var(--pf-t--global--z-index--sm);
|
|
130
130
|
--#{$wizard}__nav--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
131
131
|
--#{$wizard}__nav--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
|
|
132
132
|
--#{$wizard}__nav--Width: 100%;
|