@patternfly/react-styles 5.0.0-alpha.17 → 5.0.0-alpha.19
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/css/components/BackgroundImage/background-image.css +2 -1
- package/css/components/CodeEditor/code-editor.css +5 -0
- package/css/components/Consoles/AccessConsoles.css +3 -3
- package/css/components/Consoles/AccessConsoles.d.ts +2 -2
- package/css/components/Consoles/AccessConsoles.js +2 -2
- package/css/components/Consoles/AccessConsoles.mjs +2 -2
- package/css/components/Consoles/DesktopViewer.css +1 -1
- package/css/components/Consoles/DesktopViewer.d.ts +1 -1
- package/css/components/Consoles/DesktopViewer.js +1 -1
- package/css/components/Consoles/DesktopViewer.mjs +1 -1
- package/css/components/Consoles/SerialConsole.css +3 -3
- package/css/components/Consoles/SerialConsole.d.ts +2 -2
- package/css/components/Consoles/SerialConsole.js +2 -2
- package/css/components/Consoles/SerialConsole.mjs +2 -2
- package/css/components/Consoles/VncConsole.css +2 -2
- package/css/components/Consoles/VncConsole.d.ts +2 -2
- package/css/components/Consoles/VncConsole.js +2 -2
- package/css/components/Consoles/VncConsole.mjs +2 -2
- package/css/components/FormControl/form-control.css +6 -6
- package/css/components/MenuToggle/menu-toggle.css +5 -1
- package/css/components/Page/page.css +20 -17
- package/css/components/Table/inline-edit.css +30 -30
- package/css/components/Table/inline-edit.d.ts +2 -2
- package/css/components/Table/inline-edit.js +2 -2
- package/css/components/Table/inline-edit.mjs +2 -2
- package/css/layouts/Flex/flex.css +1 -0
- package/package.json +3 -3
- package/src/css/components/Consoles/AccessConsoles.css +3 -3
- package/src/css/components/Consoles/DesktopViewer.css +1 -1
- package/src/css/components/Consoles/SerialConsole.css +3 -3
- package/src/css/components/Consoles/VncConsole.css +2 -2
- package/src/css/components/Table/inline-edit.css +30 -30
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [5.0.0-alpha.19](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-styles@5.0.0-alpha.18...@patternfly/react-styles@5.0.0-alpha.19) (2023-06-02)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @patternfly/react-styles
|
9
|
+
|
10
|
+
# 5.0.0-alpha.18 (2023-06-01)
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
- **react-styles:** updated class names to include versions ([#9173](https://github.com/patternfly/patternfly-react/issues/9173)) ([ae05e89](https://github.com/patternfly/patternfly-react/commit/ae05e89a361773223c3804fa352ea7eefab01c8a))
|
15
|
+
|
6
16
|
# 5.0.0-alpha.17 (2023-05-31)
|
7
17
|
|
8
18
|
**Note:** Version bump only for package @patternfly/react-styles
|
@@ -1,5 +1,6 @@
|
|
1
1
|
.pf-v5-c-background-image {
|
2
2
|
--pf-v5-c-background-image--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-100);
|
3
|
+
--pf-v5-c-background-image--BackgroundImage: none;
|
3
4
|
--pf-v5-c-background-image--BackgroundPosition: bottom right;
|
4
5
|
--pf-v5-c-background-image--BackgroundSize--min-width: 200px;
|
5
6
|
--pf-v5-c-background-image--BackgroundSize--width: 60%;
|
@@ -12,7 +13,7 @@
|
|
12
13
|
width: 100%;
|
13
14
|
height: 100%;
|
14
15
|
background-color: var(--pf-v5-c-background-image--BackgroundColor);
|
15
|
-
background-image: var(--pf-v5-c-background-image--BackgroundImage
|
16
|
+
background-image: var(--pf-v5-c-background-image--BackgroundImage);
|
16
17
|
background-repeat: no-repeat;
|
17
18
|
background-position: var(--pf-v5-c-background-image--BackgroundPosition);
|
18
19
|
background-size: var(--pf-v5-c-background-image--BackgroundSize);
|
@@ -77,6 +77,7 @@
|
|
77
77
|
|
78
78
|
.pf-v5-c-code-editor__main {
|
79
79
|
position: relative;
|
80
|
+
color: var(--pf-v5-c-code-editor__main--Color, inherit);
|
80
81
|
background-color: var(--pf-v5-c-code-editor__main--BackgroundColor);
|
81
82
|
border: var(--pf-v5-c-code-editor__main--BorderWidth) solid;
|
82
83
|
border-color: var(--pf-v5-c-code-editor__main--BorderColor);
|
@@ -135,6 +136,10 @@
|
|
135
136
|
margin-left: var(--pf-v5-c-code-editor__tab-icon--text--MarginLeft);
|
136
137
|
}
|
137
138
|
|
139
|
+
:where(.pf-v5-theme-dark) .pf-v5-c-code-editor {
|
140
|
+
--pf-v5-c-code-editor--m-read-only__main--Color: var(--pf-v5-global--disabled-color--300);
|
141
|
+
--pf-v5-c-code-editor--m-read-only__main--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
142
|
+
}
|
138
143
|
:where(.pf-v5-theme-dark) .pf-v5-c-code-editor__controls > * + * {
|
139
144
|
border-left: 1px solid var(--pf-v5-global--palette--black-700);
|
140
145
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
.pf-c-console {
|
1
|
+
.pf-v5-c-console {
|
2
2
|
display: grid;
|
3
3
|
grid-template-areas:
|
4
4
|
'actions-main actions-extra'
|
5
5
|
'main main';
|
6
6
|
row-gap: var(--pf-v5-global--spacer--md);
|
7
7
|
}
|
8
|
-
.pf-c-console__actions {
|
8
|
+
.pf-v5-c-console__actions {
|
9
9
|
grid-area: actions-main;
|
10
10
|
display: flex;
|
11
11
|
}
|
12
|
-
.pf-c-console__actions > div {
|
12
|
+
.pf-v5-c-console__actions > div {
|
13
13
|
margin-right: var(--pf-v5-global--spacer--sm);
|
14
14
|
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
.pf-c-console__serial {
|
1
|
+
.pf-v5-c-console__serial {
|
2
2
|
grid-area: main;
|
3
3
|
}
|
4
|
-
.pf-c-console__actions-serial {
|
4
|
+
.pf-v5-c-console__actions-serial {
|
5
5
|
grid-area: actions-extra;
|
6
6
|
display: flex;
|
7
7
|
justify-content: flex-end;
|
8
8
|
}
|
9
|
-
.pf-c-console__actions-serial > button {
|
9
|
+
.pf-v5-c-console__actions-serial > button {
|
10
10
|
margin-right: var(--pf-v5-global--spacer--sm);
|
11
11
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import './SerialConsole.css';
|
2
2
|
declare const _default: {
|
3
|
-
"consoleActionsSerial": "pf-c-console__actions-serial",
|
4
|
-
"consoleSerial": "pf-c-console__serial"
|
3
|
+
"consoleActionsSerial": "pf-v5-c-console__actions-serial",
|
4
|
+
"consoleSerial": "pf-v5-c-console__serial"
|
5
5
|
};
|
6
6
|
export default _default;
|
@@ -2,6 +2,6 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./SerialConsole.css');
|
4
4
|
exports.default = {
|
5
|
-
"consoleActionsSerial": "pf-c-console__actions-serial",
|
6
|
-
"consoleSerial": "pf-c-console__serial"
|
5
|
+
"consoleActionsSerial": "pf-v5-c-console__actions-serial",
|
6
|
+
"consoleSerial": "pf-v5-c-console__serial"
|
7
7
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import './VncConsole.css';
|
2
2
|
declare const _default: {
|
3
|
-
"consoleActionsVnc": "pf-c-console__actions-vnc",
|
4
|
-
"consoleVnc": "pf-c-console__vnc"
|
3
|
+
"consoleActionsVnc": "pf-v5-c-console__actions-vnc",
|
4
|
+
"consoleVnc": "pf-v5-c-console__vnc"
|
5
5
|
};
|
6
6
|
export default _default;
|
@@ -2,6 +2,6 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./VncConsole.css');
|
4
4
|
exports.default = {
|
5
|
-
"consoleActionsVnc": "pf-c-console__actions-vnc",
|
6
|
-
"consoleVnc": "pf-c-console__vnc"
|
5
|
+
"consoleActionsVnc": "pf-v5-c-console__actions-vnc",
|
6
|
+
"consoleVnc": "pf-v5-c-console__vnc"
|
7
7
|
};
|
@@ -275,14 +275,14 @@
|
|
275
275
|
--pf-v5-c-form-control--BorderBottomColor: var(--pf-v5-global--BorderColor--400);
|
276
276
|
--pf-v5-c-form-control--BorderLeftColor: transparent;
|
277
277
|
--pf-v5-c-form-control--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
278
|
-
--pf-v5-c-form-control--disabled--Color: var(--pf-v5-global--disabled-color--300);
|
279
|
-
--pf-v5-c-form-control--disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
280
|
-
--pf-v5-c-form-control--readonly--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
278
|
+
--pf-v5-c-form-control--m-disabled--Color: var(--pf-v5-global--disabled-color--300);
|
279
|
+
--pf-v5-c-form-control--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
280
|
+
--pf-v5-c-form-control--m-readonly--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
281
|
+
--pf-v5-c-form-control--m-readonly--hover--BorderBottomColor: var(--pf-v5-global--BorderColor--400);
|
282
|
+
--pf-v5-c-form-control--m-readonly--focus--BorderBottomColor:var(--pf-v5-global--BorderColor--400);
|
283
|
+
--pf-v5-c-form-control--m-disabled__toggle-icon--Color: var(--pf-v5-global--disabled-color--300);
|
281
284
|
color: var(--pf-v5-global--Color--100);
|
282
285
|
}
|
283
286
|
:where(.pf-v5-theme-dark) .pf-v5-c-form-control::-webkit-calendar-picker-indicator {
|
284
287
|
filter: invert(1);
|
285
|
-
}
|
286
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-form-control.pf-m-readonly {
|
287
|
-
border-bottom-color: var(--pf-v5-global--palette--black-700);
|
288
288
|
}
|
@@ -107,9 +107,11 @@
|
|
107
107
|
--pf-v5-c-menu-toggle--m-split-button--m-action--m-primary--m-expanded--child--BackgroundColor: var(--pf-v5-global--primary-color--200);
|
108
108
|
--pf-v5-c-menu-toggle--m-split-button--m-action--m-secondary--child--BorderLeftColor: var(--pf-v5-global--primary-color--100);
|
109
109
|
--pf-v5-c-menu-toggle__button--BackgroundColor: transparent;
|
110
|
+
--pf-v5-c-menu-toggle__button--PaddingLeft: var(--pf-v5-global--spacer--sm);
|
111
|
+
--pf-v5-c-menu-toggle__button--PaddingRight: var(--pf-v5-global--spacer--sm);
|
110
112
|
--pf-v5-c-menu-toggle__button__controls--MarginRight: var(--pf-v5-global--spacer--sm);
|
111
113
|
--pf-v5-c-menu-toggle__button__controls--MarginLeft: var(--pf-v5-global--spacer--sm);
|
112
|
-
--pf-v5-c-menu-toggle--m-typeahead__controls--MarginRight: var(--pf-v5-global--spacer--
|
114
|
+
--pf-v5-c-menu-toggle--m-typeahead__controls--MarginRight: var(--pf-v5-global--spacer--sm);
|
113
115
|
--pf-v5-c-menu-toggle--m-typeahead__controls--MarginLeft: var(--pf-v5-global--spacer--sm);
|
114
116
|
--pf-v5-c-menu-toggle--m-typeahead--c-text-input-group__utilities--c-button--PaddingRight: var(--pf-v5-global--spacer--sm);
|
115
117
|
position: relative;
|
@@ -360,6 +362,8 @@
|
|
360
362
|
--pf-v5-c-menu-toggle__controls--PaddingLeft: 0;
|
361
363
|
--pf-v5-c-menu-toggle__controls--MarginRight: var(--pf-v5-c-menu-toggle__button__controls--MarginRight);
|
362
364
|
--pf-v5-c-menu-toggle__controls--MarginLeft: var(--pf-v5-c-menu-toggle__button__controls--MarginLeft);
|
365
|
+
padding-right: var(--pf-v5-c-menu-toggle__button--PaddingRight);
|
366
|
+
padding-left: var(--pf-v5-c-menu-toggle__button--PaddingLeft);
|
363
367
|
color: inherit;
|
364
368
|
background-color: var(--pf-v5-c-menu-toggle__button--BackgroundColor);
|
365
369
|
border: 0;
|
@@ -67,7 +67,7 @@
|
|
67
67
|
}
|
68
68
|
}
|
69
69
|
|
70
|
-
|
70
|
+
:root {
|
71
71
|
--pf-v5-c-page--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-300);
|
72
72
|
--pf-v5-c-page--inset: var(--pf-v5-global--spacer--md);
|
73
73
|
--pf-v5-c-page--xl--inset: var(--pf-v5-global--spacer--lg);
|
@@ -181,40 +181,32 @@
|
|
181
181
|
--pf-v5-c-page__main-wizard--BorderTopColor: var(--pf-v5-global--BorderColor--100);
|
182
182
|
--pf-v5-c-page__main-wizard--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
|
183
183
|
--pf-v5-c-page__main-wizard--m-light-200--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
|
184
|
-
display: grid;
|
185
|
-
grid-template-areas: "header" "main";
|
186
|
-
grid-template-rows: max-content 1fr;
|
187
|
-
grid-template-columns: 1fr;
|
188
|
-
height: 100vh;
|
189
|
-
height: 100dvh;
|
190
|
-
max-height: 100%;
|
191
|
-
background-color: var(--pf-v5-c-page--BackgroundColor);
|
192
184
|
}
|
193
185
|
@media (min-width: 1200px) {
|
194
|
-
|
186
|
+
:root {
|
195
187
|
--pf-v5-c-page__header-brand--PaddingLeft: var(--pf-v5-c-page__header-brand--xl--PaddingLeft);
|
196
188
|
--pf-v5-c-page--inset: var(--pf-v5-c-page--xl--inset);
|
197
189
|
}
|
198
190
|
}
|
199
191
|
@media screen and (min-width: 1200px) {
|
200
|
-
|
192
|
+
:root {
|
201
193
|
--pf-v5-c-page__header-nav--BackgroundColor: var(--pf-v5-c-page__header-nav--xl--BackgroundColor);
|
202
194
|
--pf-v5-c-page__header-nav--PaddingRight: var(--pf-v5-c-page__header-nav--xl--PaddingRight);
|
203
195
|
--pf-v5-c-page__header-nav--PaddingLeft: var(--pf-v5-c-page__header-nav--xl--PaddingLeft);
|
204
196
|
}
|
205
197
|
}
|
206
198
|
@media screen and (min-width: 1200px) {
|
207
|
-
|
199
|
+
:root {
|
208
200
|
--pf-v5-c-page__header-tools--MarginRight: var(--pf-v5-c-page__header-tools--xl--MarginRight);
|
209
201
|
}
|
210
202
|
}
|
211
203
|
@media screen and (min-width: 1200px) {
|
212
|
-
|
204
|
+
:root {
|
213
205
|
--pf-v5-c-page__sidebar--TranslateX: var(--pf-v5-c-page__sidebar--xl--TranslateX);
|
214
206
|
}
|
215
207
|
}
|
216
208
|
@media screen and (min-width: 1200px) {
|
217
|
-
|
209
|
+
:root {
|
218
210
|
--pf-v5-c-page__main-section--PaddingTop: var(--pf-v5-c-page__main-section--xl--PaddingTop);
|
219
211
|
--pf-v5-c-page__main-section--PaddingRight: var(--pf-v5-c-page__main-section--xl--PaddingRight);
|
220
212
|
--pf-v5-c-page__main-section--PaddingBottom: var(--pf-v5-c-page__main-section--xl--PaddingBottom);
|
@@ -222,17 +214,28 @@
|
|
222
214
|
}
|
223
215
|
}
|
224
216
|
@media screen and (min-width: 1200px) {
|
225
|
-
|
217
|
+
:root {
|
226
218
|
--pf-v5-c-page__main-nav--PaddingRight: var(--pf-v5-c-page__main-nav--xl--PaddingRight);
|
227
219
|
--pf-v5-c-page__main-nav--PaddingLeft: var(--pf-v5-c-page__main-nav--xl--PaddingLeft);
|
228
220
|
}
|
229
221
|
}
|
230
222
|
@media screen and (min-width: 1200px) {
|
231
|
-
|
223
|
+
:root {
|
232
224
|
--pf-v5-c-page__main-breadcrumb--PaddingRight: var(--pf-v5-c-page__main-breadcrumb--xl--PaddingRight);
|
233
225
|
--pf-v5-c-page__main-breadcrumb--PaddingLeft: var(--pf-v5-c-page__main-breadcrumb--xl--PaddingLeft);
|
234
226
|
}
|
235
227
|
}
|
228
|
+
|
229
|
+
.pf-v5-c-page {
|
230
|
+
display: grid;
|
231
|
+
grid-template-areas: "header" "main";
|
232
|
+
grid-template-rows: max-content 1fr;
|
233
|
+
grid-template-columns: 1fr;
|
234
|
+
height: 100vh;
|
235
|
+
height: 100dvh;
|
236
|
+
max-height: 100%;
|
237
|
+
background-color: var(--pf-v5-c-page--BackgroundColor);
|
238
|
+
}
|
236
239
|
@media (min-width: 1200px) {
|
237
240
|
.pf-v5-c-page {
|
238
241
|
grid-template-areas: "header header" "nav main";
|
@@ -961,7 +964,7 @@
|
|
961
964
|
--pf-v5-global--BackgroundColor--100: #1b1d21;
|
962
965
|
}
|
963
966
|
|
964
|
-
:where(.pf-v5-theme-dark)
|
967
|
+
:where(.pf-v5-theme-dark):root {
|
965
968
|
--pf-v5-c-page__main-section--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
|
966
969
|
--pf-v5-c-page__header-tools--c-button--m-selected--before--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
967
970
|
--pf-v5-c-page__sidebar--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
@@ -1,60 +1,60 @@
|
|
1
1
|
:root {
|
2
|
-
--pf-v5-global--
|
3
|
-
--pf-v5-global--
|
2
|
+
--pf-v5-global--palette--blue-50: #def3ff;
|
3
|
+
--pf-v5-global--palette--blue-200: #7dc3e8;
|
4
4
|
}
|
5
5
|
|
6
|
-
tr.pf-c-table__editable-row:hover,
|
7
|
-
tr.pf-c-table__editable-row.pf-m-editing {
|
8
|
-
background: var(--pf-v5-global--
|
6
|
+
tr.pf-v5-c-table__editable-row:hover,
|
7
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing {
|
8
|
+
background: var(--pf-v5-global--palette--blue-50) !important;
|
9
9
|
}
|
10
|
-
tr.pf-c-table__editable-row:hover td,
|
11
|
-
tr.pf-c-table__editable-row.pf-m-editing td {
|
12
|
-
border-bottom: 1px solid var(--pf-v5-global--
|
13
|
-
border-top: 1px solid var(--pf-v5-global--
|
10
|
+
tr.pf-v5-c-table__editable-row:hover td,
|
11
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing td {
|
12
|
+
border-bottom: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
13
|
+
border-top: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
14
14
|
}
|
15
|
-
tr.pf-c-table__editable-row:hover td:first-child,
|
16
|
-
tr.pf-c-table__editable-row.pf-m-editing td:first-child {
|
17
|
-
border-left: 1px solid var(--pf-v5-global--
|
15
|
+
tr.pf-v5-c-table__editable-row:hover td:first-child,
|
16
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing td:first-child {
|
17
|
+
border-left: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
18
18
|
}
|
19
|
-
tr.pf-c-table__editable-row:hover td:last-child,
|
20
|
-
tr.pf-c-table__editable-row.pf-m-editing td:last-child {
|
21
|
-
border-right: 1px solid var(--pf-v5-global--
|
19
|
+
tr.pf-v5-c-table__editable-row:hover td:last-child,
|
20
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing td:last-child {
|
21
|
+
border-right: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
22
22
|
}
|
23
|
-
tr.pf-c-table__editable-row.pf-m-table-editing-first-row {
|
24
|
-
border-top: 3px solid var(--pf-v5-global--
|
23
|
+
tr.pf-v5-c-table__editable-row.pf-m-table-editing-first-row {
|
24
|
+
border-top: 3px solid var(--pf-v5-global--palette--blue-200) !important;
|
25
25
|
}
|
26
|
-
tr.pf-c-table__editable-row.pf-m-table-editing-last-row {
|
27
|
-
border-bottom: 3px solid var(--pf-v5-global--
|
26
|
+
tr.pf-v5-c-table__editable-row.pf-m-table-editing-last-row {
|
27
|
+
border-bottom: 3px solid var(--pf-v5-global--palette--blue-200) !important;
|
28
28
|
}
|
29
|
-
tr.pf-c-table__editable-row input {
|
29
|
+
tr.pf-v5-c-table__editable-row input {
|
30
30
|
display: block;
|
31
31
|
background: var(--pf-v5-global--BackgroundColor--100);
|
32
|
-
border: 1px solid var(--pf-v5-global--BorderColor);
|
32
|
+
border: 1px solid var(--pf-v5-global--BorderColor--100);
|
33
33
|
}
|
34
|
-
tr.pf-c-table__editable-row input:hover {
|
34
|
+
tr.pf-v5-c-table__editable-row input:hover {
|
35
35
|
cursor: text;
|
36
36
|
}
|
37
37
|
|
38
|
-
.pf-c-table__inline-edit-buttons {
|
38
|
+
.pf-v5-c-table__inline-edit-buttons {
|
39
39
|
position: fixed;
|
40
40
|
z-index: 1000;
|
41
41
|
padding: 4px;
|
42
42
|
margin: 0;
|
43
|
-
background: var(--pf-v5-global--
|
44
|
-
border: 1px solid var(--pf-v5-global--
|
43
|
+
background: var(--pf-v5-global--palette--blue-50);
|
44
|
+
border: 1px solid var(--pf-v5-global--palette--blue-200);
|
45
45
|
}
|
46
|
-
.pf-c-table__inline-edit-buttons.pf-m-top {
|
46
|
+
.pf-v5-c-table__inline-edit-buttons.pf-m-top {
|
47
47
|
border-bottom: 0;
|
48
48
|
}
|
49
|
-
.pf-c-table__inline-edit-buttons.pf-m-bottom {
|
49
|
+
.pf-v5-c-table__inline-edit-buttons.pf-m-bottom {
|
50
50
|
border-top: 0;
|
51
51
|
}
|
52
|
-
.pf-c-table__inline-edit-buttons.pf-m-bold {
|
52
|
+
.pf-v5-c-table__inline-edit-buttons.pf-m-bold {
|
53
53
|
border-width: 3px;
|
54
54
|
}
|
55
|
-
.pf-c-table__inline-edit-buttons button {
|
55
|
+
.pf-v5-c-table__inline-edit-buttons button {
|
56
56
|
margin-left: 4px;
|
57
57
|
}
|
58
|
-
.pf-c-table__inline-edit-buttons button:first-child {
|
58
|
+
.pf-v5-c-table__inline-edit-buttons button:first-child {
|
59
59
|
margin-left: 0;
|
60
60
|
}
|
@@ -8,7 +8,7 @@ declare const _default: {
|
|
8
8
|
"bottom": "pf-m-bottom",
|
9
9
|
"bold": "pf-m-bold"
|
10
10
|
},
|
11
|
-
"tableEditableRow": "pf-c-table__editable-row",
|
12
|
-
"tableInlineEditButtons": "pf-c-table__inline-edit-buttons"
|
11
|
+
"tableEditableRow": "pf-v5-c-table__editable-row",
|
12
|
+
"tableInlineEditButtons": "pf-v5-c-table__inline-edit-buttons"
|
13
13
|
};
|
14
14
|
export default _default;
|
@@ -10,6 +10,6 @@ exports.default = {
|
|
10
10
|
"bottom": "pf-m-bottom",
|
11
11
|
"bold": "pf-m-bold"
|
12
12
|
},
|
13
|
-
"tableEditableRow": "pf-c-table__editable-row",
|
14
|
-
"tableInlineEditButtons": "pf-c-table__inline-edit-buttons"
|
13
|
+
"tableEditableRow": "pf-v5-c-table__editable-row",
|
14
|
+
"tableInlineEditButtons": "pf-v5-c-table__inline-edit-buttons"
|
15
15
|
};
|
@@ -8,6 +8,6 @@ export default {
|
|
8
8
|
"bottom": "pf-m-bottom",
|
9
9
|
"bold": "pf-m-bold"
|
10
10
|
},
|
11
|
-
"tableEditableRow": "pf-c-table__editable-row",
|
12
|
-
"tableInlineEditButtons": "pf-c-table__inline-edit-buttons"
|
11
|
+
"tableEditableRow": "pf-v5-c-table__editable-row",
|
12
|
+
"tableInlineEditButtons": "pf-v5-c-table__inline-edit-buttons"
|
13
13
|
};
|
@@ -29,6 +29,7 @@
|
|
29
29
|
}
|
30
30
|
|
31
31
|
.pf-v5-l-flex > * {
|
32
|
+
--pf-v5-l-flex--spacer: initial;
|
32
33
|
--pf-v5-l-flex--spacer--column: var(--pf-v5-l-flex--spacer, var(--pf-v5-l-flex--spacer--column--base));
|
33
34
|
--pf-v5-l-flex--spacer--row: var(--pf-v5-l-flex--spacer, var(--pf-v5-l-flex--spacer--row--base));
|
34
35
|
order: var(--pf-v5-l-flex--item--Order);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "5.0.0-alpha.
|
3
|
+
"version": "5.0.0-alpha.19",
|
4
4
|
"main": "dist/js/index.js",
|
5
5
|
"module": "dist/esm/index.js",
|
6
6
|
"types": "dist/esm/index.d.ts",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"clean": "rimraf dist css"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"@patternfly/patternfly": "5.0.0-alpha.
|
22
|
+
"@patternfly/patternfly": "5.0.0-alpha.74",
|
23
23
|
"camel-case": "^3.0.0",
|
24
24
|
"css": "^2.2.3",
|
25
25
|
"fs-extra": "^11.1.1",
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"typescript": "^4.7.4"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "ed9000303ee57e753010e884ab9f3db6acea5b15"
|
33
33
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
.pf-c-console {
|
1
|
+
.pf-v5-c-console {
|
2
2
|
display: grid;
|
3
3
|
grid-template-areas:
|
4
4
|
'actions-main actions-extra'
|
5
5
|
'main main';
|
6
6
|
row-gap: var(--pf-v5-global--spacer--md);
|
7
7
|
}
|
8
|
-
.pf-c-console__actions {
|
8
|
+
.pf-v5-c-console__actions {
|
9
9
|
grid-area: actions-main;
|
10
10
|
display: flex;
|
11
11
|
}
|
12
|
-
.pf-c-console__actions > div {
|
12
|
+
.pf-v5-c-console__actions > div {
|
13
13
|
margin-right: var(--pf-v5-global--spacer--sm);
|
14
14
|
}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
.pf-c-console__serial {
|
1
|
+
.pf-v5-c-console__serial {
|
2
2
|
grid-area: main;
|
3
3
|
}
|
4
|
-
.pf-c-console__actions-serial {
|
4
|
+
.pf-v5-c-console__actions-serial {
|
5
5
|
grid-area: actions-extra;
|
6
6
|
display: flex;
|
7
7
|
justify-content: flex-end;
|
8
8
|
}
|
9
|
-
.pf-c-console__actions-serial > button {
|
9
|
+
.pf-v5-c-console__actions-serial > button {
|
10
10
|
margin-right: var(--pf-v5-global--spacer--sm);
|
11
11
|
}
|
@@ -1,60 +1,60 @@
|
|
1
1
|
:root {
|
2
|
-
--pf-v5-global--
|
3
|
-
--pf-v5-global--
|
2
|
+
--pf-v5-global--palette--blue-50: #def3ff;
|
3
|
+
--pf-v5-global--palette--blue-200: #7dc3e8;
|
4
4
|
}
|
5
5
|
|
6
|
-
tr.pf-c-table__editable-row:hover,
|
7
|
-
tr.pf-c-table__editable-row.pf-m-editing {
|
8
|
-
background: var(--pf-v5-global--
|
6
|
+
tr.pf-v5-c-table__editable-row:hover,
|
7
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing {
|
8
|
+
background: var(--pf-v5-global--palette--blue-50) !important;
|
9
9
|
}
|
10
|
-
tr.pf-c-table__editable-row:hover td,
|
11
|
-
tr.pf-c-table__editable-row.pf-m-editing td {
|
12
|
-
border-bottom: 1px solid var(--pf-v5-global--
|
13
|
-
border-top: 1px solid var(--pf-v5-global--
|
10
|
+
tr.pf-v5-c-table__editable-row:hover td,
|
11
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing td {
|
12
|
+
border-bottom: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
13
|
+
border-top: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
14
14
|
}
|
15
|
-
tr.pf-c-table__editable-row:hover td:first-child,
|
16
|
-
tr.pf-c-table__editable-row.pf-m-editing td:first-child {
|
17
|
-
border-left: 1px solid var(--pf-v5-global--
|
15
|
+
tr.pf-v5-c-table__editable-row:hover td:first-child,
|
16
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing td:first-child {
|
17
|
+
border-left: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
18
18
|
}
|
19
|
-
tr.pf-c-table__editable-row:hover td:last-child,
|
20
|
-
tr.pf-c-table__editable-row.pf-m-editing td:last-child {
|
21
|
-
border-right: 1px solid var(--pf-v5-global--
|
19
|
+
tr.pf-v5-c-table__editable-row:hover td:last-child,
|
20
|
+
tr.pf-v5-c-table__editable-row.pf-m-editing td:last-child {
|
21
|
+
border-right: 1px solid var(--pf-v5-global--palette--blue-200) !important;
|
22
22
|
}
|
23
|
-
tr.pf-c-table__editable-row.pf-m-table-editing-first-row {
|
24
|
-
border-top: 3px solid var(--pf-v5-global--
|
23
|
+
tr.pf-v5-c-table__editable-row.pf-m-table-editing-first-row {
|
24
|
+
border-top: 3px solid var(--pf-v5-global--palette--blue-200) !important;
|
25
25
|
}
|
26
|
-
tr.pf-c-table__editable-row.pf-m-table-editing-last-row {
|
27
|
-
border-bottom: 3px solid var(--pf-v5-global--
|
26
|
+
tr.pf-v5-c-table__editable-row.pf-m-table-editing-last-row {
|
27
|
+
border-bottom: 3px solid var(--pf-v5-global--palette--blue-200) !important;
|
28
28
|
}
|
29
|
-
tr.pf-c-table__editable-row input {
|
29
|
+
tr.pf-v5-c-table__editable-row input {
|
30
30
|
display: block;
|
31
31
|
background: var(--pf-v5-global--BackgroundColor--100);
|
32
|
-
border: 1px solid var(--pf-v5-global--BorderColor);
|
32
|
+
border: 1px solid var(--pf-v5-global--BorderColor--100);
|
33
33
|
}
|
34
|
-
tr.pf-c-table__editable-row input:hover {
|
34
|
+
tr.pf-v5-c-table__editable-row input:hover {
|
35
35
|
cursor: text;
|
36
36
|
}
|
37
37
|
|
38
|
-
.pf-c-table__inline-edit-buttons {
|
38
|
+
.pf-v5-c-table__inline-edit-buttons {
|
39
39
|
position: fixed;
|
40
40
|
z-index: 1000;
|
41
41
|
padding: 4px;
|
42
42
|
margin: 0;
|
43
|
-
background: var(--pf-v5-global--
|
44
|
-
border: 1px solid var(--pf-v5-global--
|
43
|
+
background: var(--pf-v5-global--palette--blue-50);
|
44
|
+
border: 1px solid var(--pf-v5-global--palette--blue-200);
|
45
45
|
}
|
46
|
-
.pf-c-table__inline-edit-buttons.pf-m-top {
|
46
|
+
.pf-v5-c-table__inline-edit-buttons.pf-m-top {
|
47
47
|
border-bottom: 0;
|
48
48
|
}
|
49
|
-
.pf-c-table__inline-edit-buttons.pf-m-bottom {
|
49
|
+
.pf-v5-c-table__inline-edit-buttons.pf-m-bottom {
|
50
50
|
border-top: 0;
|
51
51
|
}
|
52
|
-
.pf-c-table__inline-edit-buttons.pf-m-bold {
|
52
|
+
.pf-v5-c-table__inline-edit-buttons.pf-m-bold {
|
53
53
|
border-width: 3px;
|
54
54
|
}
|
55
|
-
.pf-c-table__inline-edit-buttons button {
|
55
|
+
.pf-v5-c-table__inline-edit-buttons button {
|
56
56
|
margin-left: 4px;
|
57
57
|
}
|
58
|
-
.pf-c-table__inline-edit-buttons button:first-child {
|
58
|
+
.pf-v5-c-table__inline-edit-buttons button:first-child {
|
59
59
|
margin-left: 0;
|
60
60
|
}
|