mod-arch-kubeflow 1.0.0 → 1.1.0
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 +3 -2
- package/dist/style/MUI-theme.scss +333 -167
- package/package.json +26 -1
package/README.md
CHANGED
|
@@ -20,11 +20,12 @@ import {
|
|
|
20
20
|
ThemeProvider,
|
|
21
21
|
useThemeContext,
|
|
22
22
|
style,
|
|
23
|
-
images
|
|
23
|
+
images,
|
|
24
|
+
Theme
|
|
24
25
|
} from 'mod-arch-kubeflow';
|
|
25
26
|
|
|
26
27
|
// In your app root
|
|
27
|
-
<ThemeProvider theme=
|
|
28
|
+
<ThemeProvider theme={Theme.MUI}>
|
|
28
29
|
<App />
|
|
29
30
|
</ThemeProvider>
|
|
30
31
|
```
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
// Button
|
|
20
20
|
--mui-button-FontWeight: 500;
|
|
21
|
+
--mui-button--BorderWidth: 1px;
|
|
21
22
|
--mui-button--hover--BorderWidth: 1px;
|
|
22
23
|
--mui-button--PaddingBlockStart: 6px;
|
|
23
24
|
--mui-button--PaddingBlockEnd: 6px;
|
|
@@ -26,6 +27,9 @@
|
|
|
26
27
|
--mui-button--LineHeight: 1.75;
|
|
27
28
|
--mui-link-underlineColor: rgba(33, 150, 243, 0.4);
|
|
28
29
|
|
|
30
|
+
// Drawer
|
|
31
|
+
--mui-drawer-BorderLeft: var(--mui-palette-grey-300);
|
|
32
|
+
|
|
29
33
|
// Helper text
|
|
30
34
|
--mui-helper-text__item--FontWeight: 400;
|
|
31
35
|
|
|
@@ -49,6 +53,8 @@
|
|
|
49
53
|
--mui-menu-toggle--PaddingInlineEnd: 16px;
|
|
50
54
|
--mui-menu-toggle--ColumnGap: 0;
|
|
51
55
|
--mui-menu-toggle--expanded--Color: black;
|
|
56
|
+
--mui-menu-toggle--hover--BorderColor: none;
|
|
57
|
+
--mui-menu-toggle--BorderColor: none;
|
|
52
58
|
--mui-menu-toggle--PaddingInlineStart: 10px;
|
|
53
59
|
--mui-menu-toggle--PaddingInlineEnd: 10px;
|
|
54
60
|
|
|
@@ -103,6 +109,7 @@
|
|
|
103
109
|
--mui-spacing-12px: calc(1.5 * var(--mui-spacing));
|
|
104
110
|
--mui-spacing-16px: calc(2 * var(--mui-spacing));
|
|
105
111
|
|
|
112
|
+
--pf-t--global--spacer--gap--group-to-group--vertical--default: var(--pf-t--global--spacer--sm);
|
|
106
113
|
--pf-t--global--border--width--box--status--default: 1px;
|
|
107
114
|
--pf-t--global--border--radius--pill: var(--mui-shape-borderRadius);
|
|
108
115
|
--pf-t--global--border--radius--medium: var(--mui-shape-borderRadius);
|
|
@@ -117,11 +124,15 @@
|
|
|
117
124
|
}
|
|
118
125
|
|
|
119
126
|
.mui-theme .pf-v6-c-action-list__item .pf-v6-c-button {
|
|
127
|
+
--pf-v6-c-button--PaddingInlineStart: 0;
|
|
128
|
+
--pf-v6-c-button--PaddingInlineEnd: 0;
|
|
120
129
|
border-radius: var(--mui-shape-borderRadius);
|
|
121
130
|
}
|
|
122
131
|
|
|
123
132
|
.mui-theme .pf-v6-c-alert {
|
|
124
|
-
--pf-v6-c-alert--m-warning__title--Color: var(
|
|
133
|
+
--pf-v6-c-alert--m-warning__title--Color: var(
|
|
134
|
+
--pf-t--global--text--color--status--warning--default
|
|
135
|
+
);
|
|
125
136
|
--pf-v6-c-alert__icon--MarginInlineEnd: var(--mui-alert__icon--MarginInlineEnd);
|
|
126
137
|
--pf-v6-c-alert__title--FontWeight: var(--mui-alert-warning-FontWeight);
|
|
127
138
|
--pf-v6-c-alert__icon--MarginBlockStart: var(--mui-alert__icon--MarginBlockStart);
|
|
@@ -156,7 +167,6 @@
|
|
|
156
167
|
--pf-v6-c-button--PaddingInlineStart: var(--mui-button--PaddingInlineStart);
|
|
157
168
|
--pf-v6-c-button--PaddingInlineEnd: var(--mui-button--PaddingInlineEnd);
|
|
158
169
|
--pf-v6-c-button--LineHeight: var(--mui-button--LineHeight);
|
|
159
|
-
--pf-v6-c-button--m-plain--BorderRadius: 50%;
|
|
160
170
|
|
|
161
171
|
letter-spacing: 0.02857em;
|
|
162
172
|
}
|
|
@@ -168,6 +178,10 @@
|
|
|
168
178
|
&:hover {
|
|
169
179
|
text-decoration-color: initial;
|
|
170
180
|
}
|
|
181
|
+
|
|
182
|
+
&.workspace-kind-summary-button {
|
|
183
|
+
text-transform: none;
|
|
184
|
+
}
|
|
171
185
|
}
|
|
172
186
|
|
|
173
187
|
.mui-theme .pf-v6-c-button.pf-m-link.pf-m-inline .pf-v6-c-button__icon {
|
|
@@ -180,12 +194,47 @@
|
|
|
180
194
|
--pf-v6-c-button--BackgroundColor: rgba(33, 150, 243, 0.04);
|
|
181
195
|
}
|
|
182
196
|
|
|
197
|
+
.mui-theme .pf-v6-c-card {
|
|
198
|
+
--pf-v6-c-card--BorderWidth: 1px;
|
|
199
|
+
--pf-v6-c-card--BorderRadius: var(--mui-shape-borderRadius);
|
|
200
|
+
--pf-v6-c-card--BorderColor: var(--mui-palette-divider);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.mui-theme .pf-v6-c-card__selectable-actions :is(.pf-v6-c-check__label, .pf-v6-c-radio__label, .pf-v6-c-card__clickable-action):hover {
|
|
204
|
+
--pf-v6-c-card--BorderColor: var(--mui-palette-grey-300);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.mui-theme .pf-v6-c-card:hover {
|
|
208
|
+
--pf-v6-c-card--BackgroundColor: var(--mui-palette-grey-100);
|
|
209
|
+
--pf-v6-c-card--BorderColor: var(--mui-palette-grey-200);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.mui-theme .pf-v6-c-card.pf-m-selected {
|
|
213
|
+
--pf-v6-c-card--BackgroundColor: var(--mui-palette-grey-200);
|
|
214
|
+
--pf-v6-c-card--m-selectable--m-selected--BorderColor: transparent;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mui-theme .pf-v6-c-card.pf-m-selected:hover {
|
|
218
|
+
--pf-v6-c-card--BackgroundColor: var(--mui-palette-grey-300);
|
|
219
|
+
--pf-v6-c-card--m-selectable--m-selected--BorderColor: transparent;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.mui-theme .pf-v6-c-description-list__term {
|
|
223
|
+
font: var(--mui-font-subtitle2);
|
|
224
|
+
}
|
|
225
|
+
|
|
183
226
|
.mui-theme .pf-v6-c-description-list__text .pf-v6-l-split__item.pf-m-fill {
|
|
184
227
|
align-content: center;
|
|
185
228
|
}
|
|
186
229
|
|
|
230
|
+
.mui-theme .pf-v6-c-drawer {
|
|
231
|
+
--pf-v6-c-drawer--m-inline--m-expanded__panel--after--BackgroundColor: var(
|
|
232
|
+
--mui-drawer-BorderLeft
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
|
|
187
236
|
.mui-theme .pf-v6-c-form {
|
|
188
|
-
--pf-v6-c-form--GridGap:
|
|
237
|
+
--pf-v6-c-form--GridGap: 0;
|
|
189
238
|
}
|
|
190
239
|
|
|
191
240
|
.mui-theme .pf-v6-c-form__group {
|
|
@@ -193,8 +242,7 @@
|
|
|
193
242
|
}
|
|
194
243
|
|
|
195
244
|
.mui-theme .pf-v6-c-form__group.model-description .pf-v6-c-form__group-label,
|
|
196
|
-
.mui-theme .pf-v6-c-form__group.version-description .pf-v6-c-form__group-label
|
|
197
|
-
.mui-theme .pf-v6-c-form__group.location-path {
|
|
245
|
+
.mui-theme .pf-v6-c-form__group.version-description .pf-v6-c-form__group-label {
|
|
198
246
|
padding-block-start: 10px;
|
|
199
247
|
}
|
|
200
248
|
|
|
@@ -221,20 +269,48 @@
|
|
|
221
269
|
--pf-v6-c-form__section-title--MarginInlineEnd: 0px;
|
|
222
270
|
}
|
|
223
271
|
|
|
272
|
+
// Base form label styles
|
|
224
273
|
.mui-theme .pf-v6-c-form__label {
|
|
274
|
+
color: var(--mui-palette-grey-600);
|
|
275
|
+
pointer-events: none;
|
|
276
|
+
transition: all 0.2s ease;
|
|
277
|
+
--pf-v6-c-form__label-required--Color: currentColor;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// Text input labels (text fields, textareas, selects)
|
|
281
|
+
.mui-theme .pf-v6-c-form__group:has(.pf-v6-c-form-control) .pf-v6-c-form__label,
|
|
282
|
+
.mui-theme .pf-v6-c-form__group:has(.pf-v6-c-text-input-group) .pf-v6-c-form__label {
|
|
225
283
|
position: absolute;
|
|
226
284
|
top: 35%;
|
|
227
285
|
left: 12px;
|
|
228
286
|
font-size: 14px;
|
|
229
|
-
color: var(--mui-palette-grey-600);
|
|
230
|
-
pointer-events: none;
|
|
231
|
-
transition: all 0.2s ease;
|
|
232
287
|
transform-origin: left center;
|
|
233
288
|
transform: translateY(-50%) scale(0.75);
|
|
234
289
|
background-color: var(--mui-palette-common-white);
|
|
235
290
|
padding: 0 4px;
|
|
236
291
|
z-index: 1;
|
|
237
|
-
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
// Form controls with number inputs - specific styling overrides
|
|
295
|
+
.mui-theme .pf-v6-c-form__group:has(.pf-v6-c-number-input) {
|
|
296
|
+
.pf-v6-c-form__label {
|
|
297
|
+
top: 30%;
|
|
298
|
+
font-size: 16px;
|
|
299
|
+
left: 0;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.pf-v6-c-form-control {
|
|
303
|
+
// Override default form control padding to match button padding in this context
|
|
304
|
+
--pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-8px);
|
|
305
|
+
--pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px);
|
|
306
|
+
|
|
307
|
+
&.workspace-kind-unit-select {
|
|
308
|
+
--pf-v6-c-form-control--PaddingInlineEnd: calc(
|
|
309
|
+
var(--pf-v6-c-form-control__select--PaddingInlineEnd) +
|
|
310
|
+
var(--pf-v6-c-form-control__icon--FontSize)
|
|
311
|
+
);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
238
314
|
}
|
|
239
315
|
|
|
240
316
|
.mui-theme .pf-v6-c-form-control input::placeholder {
|
|
@@ -253,12 +329,20 @@
|
|
|
253
329
|
resize: none;
|
|
254
330
|
--pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-16px);
|
|
255
331
|
--pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-16px);
|
|
332
|
+
|
|
333
|
+
#text-file-simple-filename {
|
|
334
|
+
--pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-8px);
|
|
335
|
+
--pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px);
|
|
336
|
+
}
|
|
256
337
|
}
|
|
257
338
|
|
|
258
339
|
.mui-theme .pf-v6-c-form__section {
|
|
259
340
|
--pf-v6-c-form__section--Gap: 0px;
|
|
260
341
|
}
|
|
261
342
|
|
|
343
|
+
.mui-theme .toolbar-fieldset-wrapper .pf-v6-c-form-control input {
|
|
344
|
+
padding: 8px 14px;
|
|
345
|
+
}
|
|
262
346
|
|
|
263
347
|
.mui-theme .tr-fieldset-wrapper .form-fieldset {
|
|
264
348
|
inset: 0px;
|
|
@@ -294,11 +378,27 @@
|
|
|
294
378
|
box-sizing: border-box;
|
|
295
379
|
}
|
|
296
380
|
|
|
297
|
-
.mui-theme .pf-v6-c-form-control> :is(input, select, textarea):focus {
|
|
298
|
-
--pf-v6-c-form-control--OutlineOffset:
|
|
381
|
+
.mui-theme .pf-v6-c-form-control > :is(input, select, textarea):focus {
|
|
382
|
+
--pf-v6-c-form-control--OutlineOffset: 0;
|
|
299
383
|
outline: none;
|
|
300
384
|
}
|
|
301
385
|
|
|
386
|
+
.mui-theme .workspacekind-form-resource-input,
|
|
387
|
+
.custom-resource-type-input {
|
|
388
|
+
// Make sure input and select have the same height in ResourceInputWrapper
|
|
389
|
+
.pf-v6-c-form-control {
|
|
390
|
+
--pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-8px);
|
|
391
|
+
--pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px);
|
|
392
|
+
|
|
393
|
+
&:has(select) {
|
|
394
|
+
--pf-v6-c-form-control--PaddingInlineEnd: calc(
|
|
395
|
+
var(--pf-v6-c-form-control__select--PaddingInlineEnd) +
|
|
396
|
+
var(--pf-v6-c-form-control__icon--FontSize)
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
302
402
|
.mui-theme .pf-v6-c-text-input-group__text-input:focus {
|
|
303
403
|
--pf-v6-c-form-control--OutlineOffset: none;
|
|
304
404
|
outline: none;
|
|
@@ -327,15 +427,16 @@
|
|
|
327
427
|
border-color: var(--mui-palette-common-black);
|
|
328
428
|
}
|
|
329
429
|
|
|
330
|
-
.form-fieldset-wrapper:focus-within span.pf-v6-c-form-control.pf-m-disabled
|
|
430
|
+
.form-fieldset-wrapper:focus-within span.pf-v6-c-form-control.pf-m-disabled ~ .form-fieldset,
|
|
431
|
+
.form-fieldset-wrapper:hover span.pf-v6-c-form-control.pf-m-disabled ~ .form-fieldset {
|
|
331
432
|
border-color: rgba(0, 0, 0, 0.23);
|
|
332
433
|
}
|
|
333
434
|
|
|
334
|
-
.form-fieldset-wrapper span.pf-v6-c-form-control.pf-m-error
|
|
435
|
+
.form-fieldset-wrapper span.pf-v6-c-form-control.pf-m-error ~ .form-fieldset {
|
|
335
436
|
border-color: var(--mui-palette-error-main);
|
|
336
437
|
}
|
|
337
438
|
|
|
338
|
-
.form-fieldset-wrapper .pf-v6-c-input-group span.pf-v6-c-form-control .pf-m-error
|
|
439
|
+
.form-fieldset-wrapper .pf-v6-c-input-group span.pf-v6-c-form-control .pf-m-error ~ .form-fieldset {
|
|
339
440
|
border-color: var(--mui-palette-error-main);
|
|
340
441
|
}
|
|
341
442
|
|
|
@@ -435,13 +536,18 @@
|
|
|
435
536
|
--pf-v6-c-form-control--after--BorderColor: transparent !important;
|
|
436
537
|
}
|
|
437
538
|
|
|
438
|
-
.pf-v6-c-
|
|
439
|
-
|
|
539
|
+
.pf-v6-c-form__field-group-body {
|
|
540
|
+
--pf-v6-c-form__field-group-body--PaddingBlockStart: 8px;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.pf-v6-c-form__group .pf-v6-c-form-control:focus-within + .pf-v6-c-form__label,
|
|
544
|
+
.pf-v6-c-form__group .pf-v6-c-form-control:not(:placeholder-shown) + .pf-v6-c-form__label {
|
|
440
545
|
color: var(--mui-palette-primary-main);
|
|
441
546
|
}
|
|
442
547
|
|
|
443
548
|
.pf-v6-c-form__group:focus-within .pf-v6-c-form-control {
|
|
444
549
|
--pf-v6-c-form-control--after--BorderWidth: 2px;
|
|
550
|
+
--pf-v6-c-form-control--after--BorderColor: var(--mui-palette-primary-main);
|
|
445
551
|
}
|
|
446
552
|
|
|
447
553
|
.pf-v6-c-form-control.pf-m-error {
|
|
@@ -490,18 +596,12 @@
|
|
|
490
596
|
--pf-v6-c-menu__item--FontSize: var(--mui-menu__item--FontSize);
|
|
491
597
|
}
|
|
492
598
|
|
|
493
|
-
.mui-theme .pf-v6-c-
|
|
494
|
-
--pf-v6-c-menu__item--BackgroundColor: var(--mui-menu__item--selected--BackgroundColor);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.mui-theme .pf-v6-c-menu__item-select-icon {
|
|
498
|
-
display: none;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
.mui-theme .pf-v6-c-menu-toggle:not(.pf-m-plain) {
|
|
599
|
+
.mui-theme .pf-v6-c-menu-toggle {
|
|
502
600
|
--pf-v6-c-menu-toggle__toggle-icon--MinHeight: var(--mui-menu-toggle__toggle-icon--MinHeight);
|
|
503
601
|
--pf-v6-c-menu-toggle__controls--MinWidth: var(--mui-menu-toggle__controls--MinWidth);
|
|
504
|
-
--pf-v6-c-menu-toggle--expanded--BackgroundColor: var(
|
|
602
|
+
--pf-v6-c-menu-toggle--expanded--BackgroundColor: var(
|
|
603
|
+
--mui-menu-toggle--expanded--BackgroundColor
|
|
604
|
+
);
|
|
505
605
|
--pf-v6-c-menu-toggle--expanded--BorderColor: var(--mui-menu-toggle--expanded--BorderColor);
|
|
506
606
|
--pf-v6-c-menu-toggle--PaddingInlineStart: var(--mui-menu-toggle--PaddingInlineStart);
|
|
507
607
|
--pf-v6-c-menu-toggle--PaddingInlineEnd: var(--mui-menu-toggle--PaddingInlineEnd);
|
|
@@ -509,49 +609,20 @@
|
|
|
509
609
|
--pf-v6-c-menu-toggle--expanded--Color: var(--mui-palette-common-black);
|
|
510
610
|
--pf-v6-c-menu-toggle--hover--BorderColor: var(--mui-menu-toggle--hover--BorderColor);
|
|
511
611
|
--pf-v6-c-menu-toggle--BorderColor: var(--mui-menu-toggle--BorderColor);
|
|
512
|
-
--pf-v6-c-menu-toggle--hover--BackgroundColor: var(
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
--pf-v6-c-menu-toggle--
|
|
516
|
-
|
|
517
|
-
|
|
612
|
+
--pf-v6-c-menu-toggle--hover--BackgroundColor: var(
|
|
613
|
+
--pf-t--global--background--color--action--plain--hover
|
|
614
|
+
);
|
|
615
|
+
--pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--expanded--child--BackgroundColor: var(
|
|
616
|
+
--pf-t--global--color--brand--default
|
|
617
|
+
);
|
|
618
|
+
--pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--child--BorderInlineStartColor: var(
|
|
619
|
+
--mui-palette-primary-dark
|
|
620
|
+
);
|
|
518
621
|
|
|
519
|
-
border-radius: var(--mui-shape-borderRadius);
|
|
520
622
|
font-weight: var(--mui-button-FontWeight);
|
|
521
623
|
letter-spacing: 0.02857em;
|
|
522
|
-
|
|
624
|
+
height: 37px;
|
|
523
625
|
|
|
524
|
-
// Apply the menu toggle styling to all except split button variant
|
|
525
|
-
.mui-theme .pf-v6-c-menu-toggle:not(.pf-m-split-button) {
|
|
526
|
-
position: relative;
|
|
527
|
-
box-sizing: border-box;
|
|
528
|
-
border: 1px solid rgba(0, 0, 0, 0.23);
|
|
529
|
-
--pf-v6-c-menu-toggle--BackgroundColor: var(--mui-palette-common-white);
|
|
530
|
-
|
|
531
|
-
&:hover {
|
|
532
|
-
// Restore direct border color setting for hover
|
|
533
|
-
border-color: var(--mui-palette-common-black);
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
&:focus-within {
|
|
537
|
-
// Keep border width consistent to prevent layout shift
|
|
538
|
-
border: 1px solid var(--mui-palette-primary-main);
|
|
539
|
-
// Use box-shadow to create a thicker border while preventing layout shift
|
|
540
|
-
box-shadow: 0 0 0 1px var(--mui-palette-primary-main);
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
.mui-theme .pf-v6-c-menu-toggle.pf-m-plain {
|
|
545
|
-
--pf-v6-c-menu-toggle--BorderRadius: 50%;
|
|
546
|
-
// Ensure plain variant doesn't get the border styling
|
|
547
|
-
border: none;
|
|
548
|
-
|
|
549
|
-
&:hover,
|
|
550
|
-
&:focus-within {
|
|
551
|
-
border: none;
|
|
552
|
-
box-shadow: none;
|
|
553
|
-
background-color: var(--pf-v6-c-menu-toggle--hover--BackgroundColor);
|
|
554
|
-
}
|
|
555
626
|
}
|
|
556
627
|
|
|
557
628
|
.mui-theme .pf-v6-c-menu-toggle__button {
|
|
@@ -560,14 +631,6 @@
|
|
|
560
631
|
align-self: stretch;
|
|
561
632
|
}
|
|
562
633
|
|
|
563
|
-
.mui-theme .pf-v6-c-menu-toggle.pf-m-disabled {
|
|
564
|
-
border: solid 1px var(--mui-palette-action-disabled);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
.mui-theme .pf-v6-c-menu-toggle.pf-m-plain {
|
|
568
|
-
--pf-v6-c-menu-toggle--BorderRadius: 50%;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
634
|
.mui-theme .pf-v6-c-menu-toggle.pf-m-primary {
|
|
572
635
|
--pf-v6-c-menu-toggle--expanded--Color: var(--mui-palette-common-white);
|
|
573
636
|
--pf-v6-c-menu-toggle--expanded--BackgroundColor: var(--mui-palette-primary-main);
|
|
@@ -578,8 +641,19 @@
|
|
|
578
641
|
--pf-v6-c-menu-toggle--expanded--Color: var(--pf-t--global--text--color--on-brand--clicked);
|
|
579
642
|
}
|
|
580
643
|
|
|
581
|
-
.mui-theme
|
|
582
|
-
|
|
644
|
+
.mui-theme
|
|
645
|
+
.pf-v6-c-menu-toggle.pf-m-primary.pf-m-split-button
|
|
646
|
+
.pf-v6-c-menu-toggle__button[aria-expanded='true'] {
|
|
647
|
+
--pf-v6-c-menu-toggle--m-split-button--m-action--m-primary--child--BackgroundColor: var(
|
|
648
|
+
--mui-palette-primary-dark
|
|
649
|
+
);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.pf-v6-c-menu-toggle.pf-m-secondary.pf-m-split-button {
|
|
653
|
+
--pf-v6-c-menu-toggle--BorderColor: var(--mui-palette-primary-main);
|
|
654
|
+
--pf-v6-c-menu-toggle--BorderWidth: var(--mui-button--BorderWidth);
|
|
655
|
+
--pf-v6-c-menu-toggle--BorderStyle: solid;
|
|
656
|
+
--pf-v6-c-menu-toggle--expanded--Color: var(--mui-palette-primary-dark);
|
|
583
657
|
}
|
|
584
658
|
|
|
585
659
|
.mui-theme .pf-v6-c-menu-toggle__button:has(.pf-v6-c-menu-toggle__toggle-icon) {
|
|
@@ -606,52 +680,22 @@
|
|
|
606
680
|
display: block;
|
|
607
681
|
}
|
|
608
682
|
|
|
609
|
-
.mui-theme .pf-v6-c-nav {
|
|
610
|
-
padding-block-start: 0;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
.mui-theme .pf-v6-c-nav__link {
|
|
614
|
-
--pf-v6-c-nav__link--BorderRadius: 0px;
|
|
615
|
-
--pf-v6-c-nav__link--hover--BackgroundColor: #ffffff1b;
|
|
616
|
-
--pf-v6-c-nav__link--Color: var(--kf-central-sidebar-default-color);
|
|
617
|
-
--pf-v6-c-nav__link--hover--Color: var(--kf-central-sidebar-default-color);
|
|
618
|
-
--pf-v6-c-nav__link--FontSize: var(--pf-t--global--font--size--md);
|
|
619
|
-
|
|
620
|
-
&.active {
|
|
621
|
-
border-left: 3px solid var(--mui-palette-common-white);
|
|
622
|
-
--pf-v6-c-nav__link--Color: var(--mui-palette-common-white);
|
|
623
|
-
--pf-v6-c-nav__link--hover--Color: var(--mui-palette-common-white);
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
&.pf-v6-c-brand {
|
|
627
|
-
--pf-v6-c-nav__link--hover--BackgroundColor: none;
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.mui-theme .pf-v6-c-nav__link:focus {
|
|
632
|
-
--pf-v6-c-nav__link--Color: var(--mui-palette-common-white);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.mui-theme .pf-v6-c-nav__list {
|
|
636
|
-
row-gap: none;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
683
|
.mui-theme .pf-v6-radio {
|
|
640
684
|
--pf-v6-c-radio--AccentColor: var(--mui-palette-primary-main);
|
|
641
685
|
}
|
|
642
686
|
|
|
643
|
-
.mui-theme .pf-v6-c-radio {
|
|
687
|
+
.mui-theme .pf-v6-c-radio:not(.pf-v6-c-card .pf-v6-c-radio) {
|
|
644
688
|
display: flex;
|
|
645
689
|
align-items: center;
|
|
646
690
|
margin: var(--mui-radio--margin);
|
|
647
691
|
}
|
|
648
692
|
|
|
649
|
-
.mui-theme .pf-v6-c-radio__input {
|
|
693
|
+
.mui-theme .pf-v6-c-radio__input:not(.pf-v6-c-card .pf-v6-c-radio__input) {
|
|
650
694
|
/* Hide default radio button */
|
|
651
695
|
display: none;
|
|
652
696
|
}
|
|
653
697
|
|
|
654
|
-
.mui-theme .pf-v6-c-radio__label {
|
|
698
|
+
.mui-theme .pf-v6-c-radio__label:not(.pf-v6-c-card .pf-v6-c-radio__label) {
|
|
655
699
|
--pf-v6-c-radio__label--FontSize: 16px;
|
|
656
700
|
padding-left: var(--mui-radio-PaddingLeft);
|
|
657
701
|
position: relative;
|
|
@@ -660,7 +704,7 @@
|
|
|
660
704
|
}
|
|
661
705
|
|
|
662
706
|
/* Custom radio circle */
|
|
663
|
-
.mui-theme .pf-v6-c-radio__label::before {
|
|
707
|
+
.mui-theme .pf-v6-c-radio__label:not(.pf-v6-c-card .pf-v6-c-radio__label)::before {
|
|
664
708
|
content: '';
|
|
665
709
|
position: absolute;
|
|
666
710
|
left: 0;
|
|
@@ -674,19 +718,51 @@
|
|
|
674
718
|
}
|
|
675
719
|
|
|
676
720
|
/* When radio is checked */
|
|
677
|
-
.mui-theme .pf-v6-c-radio__input:checked
|
|
721
|
+
.mui-theme .pf-v6-c-radio__input:not(.pf-v6-c-card .pf-v6-c-radio__input):checked + .pf-v6-c-radio__label::before {
|
|
678
722
|
background: var(--mui-palette-common-white);
|
|
679
723
|
border-color: var(--mui-palette-primary-main);
|
|
680
724
|
}
|
|
681
725
|
|
|
726
|
+
.mui-theme .pf-v6-c-nav {
|
|
727
|
+
padding-block-start: 0;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.mui-theme .pf-v6-c-nav__link {
|
|
731
|
+
--pf-v6-c-nav__link--BorderRadius: 0px;
|
|
732
|
+
--pf-v6-c-nav__link--hover--BackgroundColor: #ffffff1b;
|
|
733
|
+
--pf-v6-c-nav__link--Color: var(--kf-central-sidebar-default-color);
|
|
734
|
+
--pf-v6-c-nav__link--hover--Color: var(--kf-central-sidebar-default-color);
|
|
735
|
+
--pf-v6-c-nav__link--FontSize: var(--pf-t--global--font--size--md);
|
|
736
|
+
|
|
737
|
+
&.pf-m-current {
|
|
738
|
+
border-left: 3px solid var(--mui-palette-common-white);
|
|
739
|
+
--pf-v6-c-nav__link--m-current--BackgroundColor: #ffffff1b;
|
|
740
|
+
--pf-v6-c-nav__link--m-current--Color: var(--mui-palette-common-white);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
&.pf-v6-c-brand {
|
|
744
|
+
--pf-v6-c-nav__link--hover--BackgroundColor: transparent;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.mui-theme .pf-v6-c-nav__link:focus {
|
|
749
|
+
--pf-v6-c-nav__link--Color: var(--mui-palette-common-white);
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.mui-theme .pf-v6-c-nav__list {
|
|
753
|
+
row-gap: 0;
|
|
754
|
+
}
|
|
755
|
+
|
|
682
756
|
.mui-theme .pf-v6-c-page__sidebar {
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
757
|
+
position: fixed;
|
|
758
|
+
--pf-v6-c-page__sidebar--Width: var(--kf-central-app-drawer-width);
|
|
759
|
+
--pf-v6-c-page__sidebar--BackgroundColor: var(--kf-central-primary-background-color);
|
|
760
|
+
height: 100vh;
|
|
761
|
+
z-index: 1200;
|
|
762
|
+
display: flex;
|
|
763
|
+
flex-direction: column;
|
|
764
|
+
top: 0;
|
|
765
|
+
left: 0;
|
|
690
766
|
}
|
|
691
767
|
|
|
692
768
|
.mui-theme .pf-v6-c-page__sidebar-body {
|
|
@@ -696,8 +772,20 @@
|
|
|
696
772
|
overflow-y: auto;
|
|
697
773
|
}
|
|
698
774
|
|
|
775
|
+
.mui-theme .pf-v6-c-progress-stepper__step.pf-m-info {
|
|
776
|
+
--pf-v6-c-progress-stepper__step-icon--Color: var(--mui-palette-primary-main);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.mui-theme .pf-v6-c-progress-stepper__step.pf-m-success {
|
|
780
|
+
--pf-v6-c-progress-stepper__step-icon--Color: var(--mui-palette-success-main);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.mui-theme .pf-v6-c-radio.pf-m-standalone:not(.workspace-kind-form-radio) .pf-v6-c-radio__input {
|
|
784
|
+
display: none;
|
|
785
|
+
}
|
|
786
|
+
|
|
699
787
|
/* Inner dot for checked state */
|
|
700
|
-
.mui-theme .pf-v6-c-radio__input:checked
|
|
788
|
+
.mui-theme .pf-v6-c-radio__input:not(.pf-v6-c-card .pf-v6-c-radio__input):checked + .pf-v6-c-radio__label::after {
|
|
701
789
|
content: '';
|
|
702
790
|
position: absolute;
|
|
703
791
|
left: 5px;
|
|
@@ -727,11 +815,15 @@
|
|
|
727
815
|
--pf-v6-c-table--cell--PaddingInlineEnd: var(--mui-table--cell--PaddingInlineEnd);
|
|
728
816
|
--pf-v6-c-table--cell--PaddingBlockStart: var(--mui-table--cell--PaddingBlockStart);
|
|
729
817
|
--pf-v6-c-table--cell--PaddingBlockEnd: var(--mui-table--cell--PaddingBlockEnd);
|
|
730
|
-
--pf-v6-c-table--cell--first-last-child--PaddingInline: var(
|
|
818
|
+
--pf-v6-c-table--cell--first-last-child--PaddingInline: var(
|
|
819
|
+
--mui-table--cell--first-last-child--PaddingInline
|
|
820
|
+
);
|
|
731
821
|
--pf-v6-c-table__thead--cell--FontWeight: var(--mui-button-FontWeight);
|
|
732
822
|
--pf-v6-c-table__thead--cell--FontSize: var(--mui-table__thead--cell--FontSize);
|
|
733
823
|
--pf-v6-c-table__tr--BorderBlockEndColor: var(--mui-palette-grey-300);
|
|
734
|
-
--pf-v6-c-table__sort-indicator--MarginInlineStart: var(
|
|
824
|
+
--pf-v6-c-table__sort-indicator--MarginInlineStart: var(
|
|
825
|
+
--mui-table__sort-indicator--MarginInlineStart
|
|
826
|
+
);
|
|
735
827
|
|
|
736
828
|
letter-spacing: 0.01071em;
|
|
737
829
|
}
|
|
@@ -750,6 +842,11 @@
|
|
|
750
842
|
align-self: start;
|
|
751
843
|
}
|
|
752
844
|
|
|
845
|
+
/* CSS workaround for spacing in labels in Workspace Kind */
|
|
846
|
+
.form-label-field-group .pf-v6-c-table tr:where(.pf-v6-c-table__tr) > :where(th, td) {
|
|
847
|
+
padding-block-start: 0px;
|
|
848
|
+
}
|
|
849
|
+
|
|
753
850
|
/* CSS workaround to use MUI icon for sort icon */
|
|
754
851
|
.mui-theme .pf-v6-c-table__sort-indicator::before {
|
|
755
852
|
display: block;
|
|
@@ -784,6 +881,13 @@
|
|
|
784
881
|
--pf-v6-c-tab-content__body--m-padding--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
|
785
882
|
}
|
|
786
883
|
|
|
884
|
+
.pf-v6-c-tab-content__body.pf-m-padding {
|
|
885
|
+
--pf-v6-c-tab-content__body--PaddingInlineStart: 0px;
|
|
886
|
+
--pf-v6-c-tab-content__body--PaddingInlineEnd: 0px;
|
|
887
|
+
--pf-v6-c-tab-content__body--PaddingBlockStart: var(--mui-spacing-8px);
|
|
888
|
+
--pf-v6-c-tab-content__body--PaddingBlockEnd: var(--mui-spacing-8px);
|
|
889
|
+
}
|
|
890
|
+
|
|
787
891
|
.mui-theme .pf-v6-c-tabs {
|
|
788
892
|
--pf-v6-c-tabs__link--hover--BackgroundColor: var(--mui-tabs__link--hover--BackgroundColor);
|
|
789
893
|
--pf-v6-c-tabs__item--PaddingBlockStart: var(--mui-tabs__item--PaddingBlockStart);
|
|
@@ -795,7 +899,9 @@
|
|
|
795
899
|
--pf-v6-c-tabs__link--PaddingInlineStart: var(--mui-tabs__link--PaddingInlineStart);
|
|
796
900
|
--pf-v6-c-tabs__link--PaddingInlineEnd: var(--mui-tabs__link--PaddingInlineEnd);
|
|
797
901
|
--pf-v6-c-tabs__item--m-current__link--Color: var(--pf-t--global--text--color--brand--default);
|
|
798
|
-
--pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(
|
|
902
|
+
--pf-v6-c-tabs__item--m-current__link--after--BorderWidth: var(
|
|
903
|
+
--mui-tabs__item--m-current__link--after--BorderWidth
|
|
904
|
+
);
|
|
799
905
|
--pf-v6-c-tabs__link--FontSize: 0.875rem;
|
|
800
906
|
}
|
|
801
907
|
|
|
@@ -816,8 +922,10 @@
|
|
|
816
922
|
align-content: center;
|
|
817
923
|
}
|
|
818
924
|
|
|
819
|
-
.
|
|
820
|
-
|
|
925
|
+
// Updates the expand button to be 36.5px wide to match menu toggle button width
|
|
926
|
+
.mui-theme .pf-v6-c-table__td.pf-v6-c-table__toggle .pf-v6-c-button.pf-m-plain {
|
|
927
|
+
--pf-v6-c-button--PaddingInlineStart: 6px;
|
|
928
|
+
--pf-v6-c-button--PaddingInlineEnd: 6px;
|
|
821
929
|
}
|
|
822
930
|
|
|
823
931
|
.mui-theme .pf-v6-c-label {
|
|
@@ -854,6 +962,10 @@
|
|
|
854
962
|
box-shadow: var(--mui-shadows-1);
|
|
855
963
|
}
|
|
856
964
|
|
|
965
|
+
.mui-theme .pf-v6-c-toolbar__item.kubeflow-u-namespace-select > .pf-v6-c-menu-toggle.pf-m-disabled {
|
|
966
|
+
border: none;
|
|
967
|
+
}
|
|
968
|
+
|
|
857
969
|
.mui-theme .pf-v6-c-label.pf-m-outline {
|
|
858
970
|
--pf-v6-c-label--BorderColor: none;
|
|
859
971
|
--pf-v6-c-label--BackgroundColor: var(--mui-palette-grey-200);
|
|
@@ -867,35 +979,56 @@
|
|
|
867
979
|
|
|
868
980
|
.mui-theme .pf-v6-c-modal-box {
|
|
869
981
|
--pf-v6-c-modal-box--BorderRadius: var(--mui-shape-borderRadius);
|
|
870
|
-
--pf-v6-c-modal-box--BoxShadow: var(--mui-shadows-24)
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
.mui-theme .pf-v6-c-button.pf-m-plain {
|
|
874
|
-
--pf-v6-c-button--BorderRadius: 50%;
|
|
982
|
+
--pf-v6-c-modal-box--BoxShadow: var(--mui-shadows-24);
|
|
875
983
|
}
|
|
876
984
|
|
|
877
985
|
.mui-theme .pf-v6-c-page {
|
|
878
|
-
--pf-v6-c-page--BackgroundColor:
|
|
986
|
+
--pf-v6-c-page--BackgroundColor: transparent;
|
|
987
|
+
background: linear-gradient(to right,
|
|
988
|
+
var(--kf-central-primary-background-color) 0,
|
|
989
|
+
var(--kf-central-primary-background-color) var(--kf-central-app-drawer-width),
|
|
990
|
+
var(--mui-palette-grey-100) var(--kf-central-app-drawer-width),
|
|
991
|
+
var(--mui-palette-grey-100) 100%);
|
|
992
|
+
width: 100vw;
|
|
993
|
+
min-height: 100vh;
|
|
994
|
+
overflow-x: hidden;
|
|
879
995
|
}
|
|
880
996
|
|
|
881
997
|
.mui-theme .pf-v6-c-page__main {
|
|
882
|
-
--
|
|
883
|
-
|
|
884
|
-
|
|
998
|
+
// background-color: var(--mui-palette-grey-100);
|
|
999
|
+
// width: calc(100vw - var(--kf-central-app-drawer-width));
|
|
1000
|
+
// max-width: calc(100vw - var(--kf-central-app-drawer-width));
|
|
1001
|
+
// box-sizing: border-box;
|
|
885
1002
|
}
|
|
886
1003
|
|
|
887
|
-
.mui-theme .pf-v6-c-page__main-
|
|
888
|
-
--pf-v6-c-page__main-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
1004
|
+
.mui-theme .pf-v6-c-page__main-container {
|
|
1005
|
+
--pf-v6-c-page__main-container--BorderWidth: 0px;
|
|
1006
|
+
--pf-v6-c-page__main-container--BorderRadius: var(--mui-shape-borderRadius);
|
|
1007
|
+
box-shadow: var(--mui-shadows-1);
|
|
1008
|
+
margin: 0;
|
|
1009
|
+
margin-top: var(--kf-central-app-bar-height);
|
|
1010
|
+
margin-right: 24px;
|
|
1011
|
+
padding: 8px 24px;
|
|
892
1012
|
}
|
|
893
1013
|
|
|
894
|
-
.mui-theme .pf-v6-c-page__main-
|
|
895
|
-
|
|
896
|
-
margin-right: 2px;
|
|
1014
|
+
.mui-theme .pf-v6-c-page__main-group.pf-m-sticky-top {
|
|
1015
|
+
flex-grow: 0;
|
|
897
1016
|
}
|
|
898
1017
|
|
|
1018
|
+
// TODO: Remove when https://github.com/patternfly/patternfly-react/issues/11826 is resolved.
|
|
1019
|
+
.pf-v6-c-page__main-section .pf-v6-c-page__main-body {
|
|
1020
|
+
height: 100%;
|
|
1021
|
+
--pf-v6-c-page__main-section--PaddingInlineStart: 0px;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.mui-theme .pf-v6-c-page__main-section {
|
|
1025
|
+
--pf-v6-c-page__main-section--PaddingBlockStart: 8px;
|
|
1026
|
+
--pf-v6-c-page__main-section--PaddingBlockEnd: 8px;
|
|
1027
|
+
--pf-v6-c-page__main-section--PaddingInlineStart: 0px;
|
|
1028
|
+
--pf-v6-c-page__main-section--PaddingInlineEnd: 0px;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
|
|
899
1032
|
.mui-theme .pf-v6-c-pagination {
|
|
900
1033
|
--pf-v6-c-pagination__total-items--Display: block;
|
|
901
1034
|
}
|
|
@@ -918,35 +1051,57 @@
|
|
|
918
1051
|
content: 'Rows per page:';
|
|
919
1052
|
}
|
|
920
1053
|
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
.mui-theme .pf-v6-c-page.embedded {
|
|
1059
|
+
.pf-v6-c-page__main-container {
|
|
1060
|
+
margin: 0px;
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
|
|
921
1064
|
/* Hide Masthead Toggle by default */
|
|
922
1065
|
.mui-theme .pf-v6-c-masthead__toggle {
|
|
923
1066
|
display: none;
|
|
924
1067
|
}
|
|
925
1068
|
|
|
926
|
-
/* Show Masthead Toggle on viewports below 1270px */
|
|
927
|
-
@media (max-width:
|
|
1069
|
+
/* Show Masthead Toggle on viewports below 1270px */
|
|
1070
|
+
@media (max-width: 1270px) {
|
|
928
1071
|
.mui-theme .pf-v6-c-masthead__toggle {
|
|
929
1072
|
display: block;
|
|
930
1073
|
padding-block-start: var(--mui-spacing-4px);
|
|
931
1074
|
}
|
|
1075
|
+
|
|
1076
|
+
.mui-theme .pf-v6-c-page__main {
|
|
1077
|
+
width: 100vw;
|
|
1078
|
+
max-width: 100vw;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.mui-theme .pf-v6-c-page {
|
|
1082
|
+
background: var(--mui-palette-grey-100);
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
932
1085
|
|
|
933
|
-
|
|
934
|
-
|
|
1086
|
+
@media (min-width: 1270px) {
|
|
1087
|
+
.mui-theme .pf-v6-c-masthead {
|
|
1088
|
+
padding-left: var(--kf-central-app-drawer-width);
|
|
935
1089
|
}
|
|
936
1090
|
}
|
|
937
1091
|
|
|
938
|
-
.mui-theme .pf-v6-c-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
--pf-v6-c-
|
|
942
|
-
--pf-v6-c-page__main-section--PaddingInlineStart: none;
|
|
943
|
-
--pf-v6-c-page__main-section--PaddingInlineEnd: none;
|
|
944
|
-
--pf-v6-c-page__main-breadcrumb--PaddingInlineStart: none;
|
|
1092
|
+
.mui-theme .pf-v6-c-toolbar__group.pf-m-filter-group .pf-v6-c-form-control {
|
|
1093
|
+
// Override default form control padding to match button padding in this context
|
|
1094
|
+
--pf-v6-c-form-control--PaddingBlockStart: var(--mui-spacing-8px);
|
|
1095
|
+
--pf-v6-c-form-control--PaddingBlockEnd: var(--mui-spacing-8px);
|
|
945
1096
|
}
|
|
946
1097
|
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
--pf-v6-c-
|
|
1098
|
+
// Fix hover state margin issue by removing problematic padding
|
|
1099
|
+
.mui-theme .pf-v6-c-menu__list {
|
|
1100
|
+
--pf-v6-c-content--list--PaddingInlineStart: 0;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.mui-theme .pf-v6-c-expandable-section .pf-v6-c-expandable-section__content {
|
|
1104
|
+
margin-block-end: var(--mui-spacing-16px);
|
|
950
1105
|
}
|
|
951
1106
|
|
|
952
1107
|
.mui-theme .pf-v6-c-form__group-control .pf-v6-c-menu-toggle.pf-m-full-width.pf-m-typeahead {
|
|
@@ -965,25 +1120,36 @@
|
|
|
965
1120
|
border-width: 2px;
|
|
966
1121
|
background-color: var(--mui-palette-common-white);
|
|
967
1122
|
}
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.mui-theme .workspacekind-file-upload {
|
|
1126
|
+
height: 100%;
|
|
968
1127
|
|
|
969
|
-
.pf-v6-c-
|
|
970
|
-
|
|
1128
|
+
.pf-v6-c-file-upload__file-details {
|
|
1129
|
+
flex-grow: 1;
|
|
971
1130
|
}
|
|
972
1131
|
}
|
|
973
1132
|
|
|
974
|
-
|
|
975
|
-
.mui-theme .
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
display: flex;
|
|
979
|
-
height: 51px;
|
|
1133
|
+
/* Workaround for Toggle group header in Workspace Kind Form */
|
|
1134
|
+
.mui-theme .workspace-kind-form-header .pf-v6-c-toggle-group__button.pf-m-selected {
|
|
1135
|
+
background-color: #e0f0ff;
|
|
1136
|
+
color: var(--pf-t--color--black);
|
|
980
1137
|
}
|
|
981
1138
|
|
|
982
|
-
|
|
983
|
-
|
|
1139
|
+
|
|
1140
|
+
.mui-theme .pf-v6-c-menu__item.pf-m-selected {
|
|
1141
|
+
--pf-v6-c-menu__item--BackgroundColor: var(--mui-menu__item--selected--BackgroundColor);
|
|
984
1142
|
}
|
|
985
1143
|
|
|
986
|
-
.mui-theme .
|
|
987
|
-
|
|
988
|
-
|
|
1144
|
+
.mui-theme .pf-v6-c-menu__item-select-icon {
|
|
1145
|
+
display: none;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.mui-theme button.pf-v6-c-menu-toggle {
|
|
1149
|
+
// Use box-shadow to create a border effect without affecting the layout
|
|
1150
|
+
&.pf-m-expanded,
|
|
1151
|
+
&:focus {
|
|
1152
|
+
box-shadow: 0 0 0 2px var(--mui-palette-primary-main);
|
|
1153
|
+
outline: none; // Remove default browser outline
|
|
1154
|
+
}
|
|
989
1155
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mod-arch-kubeflow",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Kubeflow-specific theme and UI components for modular architecture micro-frontend projects",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,7 +20,12 @@
|
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "tsc && tsc-alias && npm run copy-assets",
|
|
22
22
|
"copy-assets": "mkdir -p dist/style dist/images && cp -r style/* dist/style/ && cp -r images/* dist/images/",
|
|
23
|
+
"test": "run-s test:lint test:unit test:type-check",
|
|
24
|
+
"test:jest": "jest --passWithNoTests",
|
|
25
|
+
"test:unit": "npm run test:jest -- --silent",
|
|
23
26
|
"test:type-check": "tsc --noEmit",
|
|
27
|
+
"test:fix": "eslint --ext .js,.ts,.jsx,.tsx . --fix",
|
|
28
|
+
"test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx .",
|
|
24
29
|
"prepare": "npm run build"
|
|
25
30
|
},
|
|
26
31
|
"repository": {
|
|
@@ -42,6 +47,9 @@
|
|
|
42
47
|
],
|
|
43
48
|
"author": "OpenDataHub.io",
|
|
44
49
|
"license": "Apache-2.0",
|
|
50
|
+
"publishConfig": {
|
|
51
|
+
"access": "public"
|
|
52
|
+
},
|
|
45
53
|
"peerDependencies": {
|
|
46
54
|
"react": ">=16.8.0",
|
|
47
55
|
"@mui/material": "^6.0.0"
|
|
@@ -49,9 +57,26 @@
|
|
|
49
57
|
"devDependencies": {
|
|
50
58
|
"@mui/material": "^6.1.7",
|
|
51
59
|
"@types/react": "^18.3.1",
|
|
60
|
+
"npm-run-all2": "^7.0.1",
|
|
52
61
|
"react": "^18.3.1",
|
|
53
62
|
"sass": "^1.83.0",
|
|
54
63
|
"tsc-alias": "^1.8.15",
|
|
55
64
|
"typescript": "^5.0.4"
|
|
65
|
+
},
|
|
66
|
+
"optionalDependencies": {
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
68
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
69
|
+
"eslint": "^8.57.0",
|
|
70
|
+
"eslint-config-prettier": "^9.1.0",
|
|
71
|
+
"eslint-import-resolver-node": "^0.3.7",
|
|
72
|
+
"eslint-import-resolver-typescript": "^3.8.3",
|
|
73
|
+
"eslint-plugin-cypress": "^3.3.0",
|
|
74
|
+
"eslint-plugin-import": "^2.31.0",
|
|
75
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
76
|
+
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
77
|
+
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
78
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
79
|
+
"eslint-plugin-react": "^7.37.2",
|
|
80
|
+
"eslint-plugin-react-hooks": "^5.2.0"
|
|
56
81
|
}
|
|
57
82
|
}
|