@patternfly/react-core 4.182.3 → 4.183.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/CHANGELOG.md +11 -0
- package/dist/umd/react-core.css +218 -218
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
# 4.183.0 (2022-01-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Table:** allow a generic to be passed for cell props ([#6691](https://github.com/patternfly/patternfly-react/issues/6691)) ([e22c7be](https://github.com/patternfly/patternfly-react/commit/e22c7bebf630b7cd71e4dc434c593b69fa2fb2c8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 4.182.3 (2022-01-04)
|
|
7
18
|
|
|
8
19
|
|
package/dist/umd/react-core.css
CHANGED
|
@@ -290,224 +290,6 @@
|
|
|
290
290
|
--pf-c-action-list--child--spacer: var(--pf-c-action-list--m-icon--spacer);
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
.pf-c-alert {
|
|
294
|
-
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
295
|
-
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
296
|
-
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
297
|
-
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
298
|
-
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
299
|
-
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
300
|
-
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.pf-c-alert {
|
|
304
|
-
--pf-c-alert--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
305
|
-
--pf-c-alert--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
306
|
-
--pf-c-alert--GridTemplateColumns: max-content 1fr max-content;
|
|
307
|
-
--pf-c-alert--GridTemplateAreas:
|
|
308
|
-
"icon title action"
|
|
309
|
-
". description description"
|
|
310
|
-
". actiongroup actiongroup";
|
|
311
|
-
--pf-c-alert--BorderTopWidth: var(--pf-global--BorderWidth--md);
|
|
312
|
-
--pf-c-alert--BorderTopColor: var(--pf-global--default-color--200);
|
|
313
|
-
--pf-c-alert--PaddingTop: var(--pf-global--spacer--md);
|
|
314
|
-
--pf-c-alert--PaddingRight: var(--pf-global--spacer--md);
|
|
315
|
-
--pf-c-alert--PaddingBottom: var(--pf-global--spacer--md);
|
|
316
|
-
--pf-c-alert--PaddingLeft: var(--pf-global--spacer--md);
|
|
317
|
-
--pf-c-alert__FontSize: var(--pf-global--FontSize--sm);
|
|
318
|
-
--pf-c-alert__toggle--MarginTop: calc(-1 * var(--pf-global--spacer--form-element) - 0.0625rem);
|
|
319
|
-
--pf-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
|
|
320
|
-
--pf-c-alert__toggle--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
|
|
321
|
-
--pf-c-alert__toggle-icon--Rotate: 0;
|
|
322
|
-
--pf-c-alert__toggle-icon--Transition: var(--pf-global--Transition);
|
|
323
|
-
--pf-c-alert__icon--Color: var(--pf-global--default-color--200);
|
|
324
|
-
--pf-c-alert__icon--MarginTop: 0.0625rem;
|
|
325
|
-
--pf-c-alert__icon--MarginRight: var(--pf-global--spacer--sm);
|
|
326
|
-
--pf-c-alert__icon--FontSize: var(--pf-global--icon--FontSize--md);
|
|
327
|
-
--pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
328
|
-
--pf-c-alert__title--Color: var(--pf-global--default-color--300);
|
|
329
|
-
--pf-c-alert__title--max-lines: 1;
|
|
330
|
-
--pf-c-alert__action--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
331
|
-
--pf-c-alert__action--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
|
|
332
|
-
--pf-c-alert__action--TranslateY: 0.125rem;
|
|
333
|
-
--pf-c-alert__action--MarginRight: calc(var(--pf-global--spacer--sm) * -1);
|
|
334
|
-
--pf-c-alert__description--PaddingTop: var(--pf-global--spacer--xs);
|
|
335
|
-
--pf-c-alert__action-group--PaddingTop-base: var(--pf-global--spacer--xs);
|
|
336
|
-
--pf-c-alert__action-group--PaddingTop: var(--pf-c-alert__action-group--PaddingTop-base);
|
|
337
|
-
--pf-c-alert__description--action-group--PaddingTop-base: var(--pf-global--spacer--md);
|
|
338
|
-
--pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop-base);
|
|
339
|
-
--pf-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-global--spacer--lg);
|
|
340
|
-
--pf-c-alert--m-success--BorderTopColor: var(--pf-global--success-color--100);
|
|
341
|
-
--pf-c-alert--m-success__icon--Color: var(--pf-global--success-color--100);
|
|
342
|
-
--pf-c-alert--m-success__title--Color: var(--pf-global--success-color--200);
|
|
343
|
-
--pf-c-alert--m-danger--BorderTopColor: var(--pf-global--danger-color--100);
|
|
344
|
-
--pf-c-alert--m-danger__icon--Color: var(--pf-global--danger-color--100);
|
|
345
|
-
--pf-c-alert--m-danger__title--Color: var(--pf-global--danger-color--200);
|
|
346
|
-
--pf-c-alert--m-warning--BorderTopColor: var(--pf-global--warning-color--100);
|
|
347
|
-
--pf-c-alert--m-warning__icon--Color: var(--pf-global--warning-color--100);
|
|
348
|
-
--pf-c-alert--m-warning__title--Color: var(--pf-global--warning-color--200);
|
|
349
|
-
--pf-c-alert--m-info--BorderTopColor: var(--pf-global--info-color--100);
|
|
350
|
-
--pf-c-alert--m-info__icon--Color: var(--pf-global--info-color--100);
|
|
351
|
-
--pf-c-alert--m-info__title--Color: var(--pf-global--info-color--200);
|
|
352
|
-
--pf-c-alert--m-inline--BoxShadow: none;
|
|
353
|
-
--pf-c-alert--m-inline--BackgroundColor: var(--pf-global--palette--cyan-50);
|
|
354
|
-
--pf-c-alert--m-inline--m-success--BackgroundColor: var(--pf-global--palette--green-50);
|
|
355
|
-
--pf-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-global--palette--red-50);
|
|
356
|
-
--pf-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-global--palette--gold-50);
|
|
357
|
-
--pf-c-alert--m-inline--m-info--BackgroundColor: var(--pf-global--palette--blue-50);
|
|
358
|
-
--pf-c-alert--m-inline--m-plain--BorderTopWidth: 0;
|
|
359
|
-
--pf-c-alert--m-inline--m-plain--BackgroundColor: transparent;
|
|
360
|
-
--pf-c-alert--m-inline--m-plain--PaddingTop: 0;
|
|
361
|
-
--pf-c-alert--m-inline--m-plain--PaddingRight: 0;
|
|
362
|
-
--pf-c-alert--m-inline--m-plain--PaddingBottom: 0;
|
|
363
|
-
--pf-c-alert--m-inline--m-plain--PaddingLeft: 0;
|
|
364
|
-
--pf-c-alert--m-expandable--GridTemplateColumns: auto max-content 1fr max-content;
|
|
365
|
-
--pf-c-alert--m-expandable--GridTemplateAreas:
|
|
366
|
-
"toggle icon title action"
|
|
367
|
-
". . description description"
|
|
368
|
-
". . actiongroup actiongroup";
|
|
369
|
-
--pf-c-alert--m-expandable__description--action-group--PaddingTop: var(--pf-c-alert__action-group--PaddingTop-base);
|
|
370
|
-
--pf-c-alert--m-expanded__toggle-icon--Rotate: 90deg;
|
|
371
|
-
--pf-c-alert--m-expanded__description--action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop-base);
|
|
372
|
-
color: var(--pf-global--Color--100);
|
|
373
|
-
position: relative;
|
|
374
|
-
display: grid;
|
|
375
|
-
padding: var(--pf-c-alert--PaddingTop) var(--pf-c-alert--PaddingRight) var(--pf-c-alert--PaddingBottom) var(--pf-c-alert--PaddingLeft);
|
|
376
|
-
font-size: var(--pf-c-alert__FontSize);
|
|
377
|
-
background-color: var(--pf-c-alert--BackgroundColor);
|
|
378
|
-
border-top: var(--pf-c-alert--BorderTopWidth) solid var(--pf-c-alert--BorderTopColor);
|
|
379
|
-
box-shadow: var(--pf-c-alert--BoxShadow);
|
|
380
|
-
grid-template-columns: var(--pf-c-alert--GridTemplateColumns);
|
|
381
|
-
grid-template-areas: var(--pf-c-alert--GridTemplateAreas);
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
.pf-c-alert.pf-m-success {
|
|
385
|
-
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-success--BorderTopColor);
|
|
386
|
-
--pf-c-alert__icon--Color: var(--pf-c-alert--m-success__icon--Color);
|
|
387
|
-
--pf-c-alert__title--Color: var(--pf-c-alert--m-success__title--Color);
|
|
388
|
-
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-success--BackgroundColor);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.pf-c-alert.pf-m-danger {
|
|
392
|
-
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-danger--BorderTopColor);
|
|
393
|
-
--pf-c-alert__icon--Color: var(--pf-c-alert--m-danger__icon--Color);
|
|
394
|
-
--pf-c-alert__title--Color: var(--pf-c-alert--m-danger__title--Color);
|
|
395
|
-
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-danger--BackgroundColor);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.pf-c-alert.pf-m-warning {
|
|
399
|
-
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-warning--BorderTopColor);
|
|
400
|
-
--pf-c-alert__icon--Color: var(--pf-c-alert--m-warning__icon--Color);
|
|
401
|
-
--pf-c-alert__title--Color: var(--pf-c-alert--m-warning__title--Color);
|
|
402
|
-
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-warning--BackgroundColor);
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
.pf-c-alert.pf-m-info {
|
|
406
|
-
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-info--BorderTopColor);
|
|
407
|
-
--pf-c-alert__icon--Color: var(--pf-c-alert--m-info__icon--Color);
|
|
408
|
-
--pf-c-alert__title--Color: var(--pf-c-alert--m-info__title--Color);
|
|
409
|
-
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-info--BackgroundColor);
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
.pf-c-alert.pf-m-inline {
|
|
413
|
-
--pf-c-alert--BoxShadow: var(--pf-c-alert--m-inline--BoxShadow);
|
|
414
|
-
--pf-c-alert--BackgroundColor: var(--pf-c-alert--m-inline--BackgroundColor);
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
.pf-c-alert.pf-m-plain {
|
|
418
|
-
--pf-c-alert--BorderTopWidth: var(--pf-c-alert--m-inline--m-plain--BorderTopWidth);
|
|
419
|
-
--pf-c-alert--BackgroundColor: var(--pf-c-alert--m-inline--m-plain--BackgroundColor);
|
|
420
|
-
--pf-c-alert--PaddingTop: var(--pf-c-alert--m-inline--m-plain--PaddingTop);
|
|
421
|
-
--pf-c-alert--PaddingRight: var(--pf-c-alert--m-inline--m-plain--PaddingRight);
|
|
422
|
-
--pf-c-alert--PaddingBottom: var(--pf-c-alert--m-inline--m-plain--PaddingBottom);
|
|
423
|
-
--pf-c-alert--PaddingLeft: var(--pf-c-alert--m-inline--m-plain--PaddingLeft);
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
.pf-c-alert.pf-m-expandable {
|
|
427
|
-
--pf-c-alert--GridTemplateColumns: var(--pf-c-alert--m-expandable--GridTemplateColumns);
|
|
428
|
-
--pf-c-alert--GridTemplateAreas: var(--pf-c-alert--m-expandable--GridTemplateAreas);
|
|
429
|
-
--pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert--m-expandable__description--action-group--PaddingTop);
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
.pf-c-alert.pf-m-expanded {
|
|
433
|
-
--pf-c-alert__toggle-icon--Rotate: var(--pf-c-alert--m-expanded__toggle-icon--Rotate);
|
|
434
|
-
--pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert--m-expanded__description--action-group--PaddingTop);
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.pf-c-alert__toggle {
|
|
438
|
-
margin-top: var(--pf-c-alert__toggle--MarginTop);
|
|
439
|
-
margin-bottom: var(--pf-c-alert__toggle--MarginBottom);
|
|
440
|
-
margin-left: var(--pf-c-alert__toggle--MarginLeft);
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
.pf-c-alert__toggle-icon {
|
|
444
|
-
display: inline-block;
|
|
445
|
-
transition: var(--pf-c-alert__toggle-icon--Transition);
|
|
446
|
-
transform: rotate(var(--pf-c-alert__toggle-icon--Rotate));
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
.pf-c-alert__icon {
|
|
450
|
-
grid-area: icon;
|
|
451
|
-
display: flex;
|
|
452
|
-
margin-top: var(--pf-c-alert__icon--MarginTop);
|
|
453
|
-
margin-right: var(--pf-c-alert__icon--MarginRight);
|
|
454
|
-
font-size: var(--pf-c-alert__icon--FontSize);
|
|
455
|
-
color: var(--pf-c-alert__icon--Color);
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
.pf-c-alert__title {
|
|
459
|
-
grid-area: title;
|
|
460
|
-
font-weight: var(--pf-c-alert__title--FontWeight);
|
|
461
|
-
color: var(--pf-c-alert__title--Color);
|
|
462
|
-
word-break: break-word;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
.pf-c-alert__title.pf-m-truncate {
|
|
466
|
-
display: -webkit-box;
|
|
467
|
-
-webkit-box-orient: vertical;
|
|
468
|
-
-webkit-line-clamp: var(--pf-c-alert__title--max-lines);
|
|
469
|
-
overflow: hidden;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
.pf-c-alert__description {
|
|
473
|
-
grid-area: description;
|
|
474
|
-
padding-top: var(--pf-c-alert__description--PaddingTop);
|
|
475
|
-
word-break: break-word;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.pf-c-alert__description + .pf-c-alert__action-group {
|
|
479
|
-
--pf-c-alert__action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop);
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.pf-c-alert__action {
|
|
483
|
-
grid-area: action;
|
|
484
|
-
margin-top: var(--pf-c-alert__action--MarginTop);
|
|
485
|
-
margin-right: var(--pf-c-alert__action--MarginRight);
|
|
486
|
-
margin-bottom: var(--pf-c-alert__action--MarginBottom);
|
|
487
|
-
transform: translateY(var(--pf-c-alert__action--TranslateY));
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
.pf-c-alert__action > .pf-c-button {
|
|
491
|
-
--pf-c-button--LineHeight: 1;
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
.pf-c-alert__action-group {
|
|
495
|
-
grid-area: actiongroup;
|
|
496
|
-
padding-top: var(--pf-c-alert__action-group--PaddingTop);
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
.pf-c-alert__action-group > .pf-c-button {
|
|
500
|
-
--pf-c-button--m-link--m-inline--hover--TextDecoration: none;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.pf-c-alert__action-group > .pf-c-button:not(:last-child) {
|
|
504
|
-
margin-right: var(--pf-c-alert__action-group__c-button--not-last-child--MarginRight);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.pf-m-overpass-font .pf-c-alert__title {
|
|
508
|
-
--pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
509
|
-
}
|
|
510
|
-
|
|
511
293
|
.pf-c-app-launcher {
|
|
512
294
|
--pf-c-app-launcher__menu--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
513
295
|
--pf-c-app-launcher__menu--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
@@ -1048,6 +830,224 @@ textarea.pf-c-form-control {
|
|
|
1048
830
|
resize: horizontal;
|
|
1049
831
|
}
|
|
1050
832
|
|
|
833
|
+
.pf-c-alert {
|
|
834
|
+
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
835
|
+
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
836
|
+
--pf-global--BorderColor--100: var(--pf-global--BorderColor--dark-100);
|
|
837
|
+
--pf-global--primary-color--100: var(--pf-global--primary-color--dark-100);
|
|
838
|
+
--pf-global--link--Color: var(--pf-global--link--Color--dark);
|
|
839
|
+
--pf-global--link--Color--hover: var(--pf-global--link--Color--dark--hover);
|
|
840
|
+
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--light-100);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.pf-c-alert {
|
|
844
|
+
--pf-c-alert--BoxShadow: var(--pf-global--BoxShadow--lg);
|
|
845
|
+
--pf-c-alert--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
846
|
+
--pf-c-alert--GridTemplateColumns: max-content 1fr max-content;
|
|
847
|
+
--pf-c-alert--GridTemplateAreas:
|
|
848
|
+
"icon title action"
|
|
849
|
+
". description description"
|
|
850
|
+
". actiongroup actiongroup";
|
|
851
|
+
--pf-c-alert--BorderTopWidth: var(--pf-global--BorderWidth--md);
|
|
852
|
+
--pf-c-alert--BorderTopColor: var(--pf-global--default-color--200);
|
|
853
|
+
--pf-c-alert--PaddingTop: var(--pf-global--spacer--md);
|
|
854
|
+
--pf-c-alert--PaddingRight: var(--pf-global--spacer--md);
|
|
855
|
+
--pf-c-alert--PaddingBottom: var(--pf-global--spacer--md);
|
|
856
|
+
--pf-c-alert--PaddingLeft: var(--pf-global--spacer--md);
|
|
857
|
+
--pf-c-alert__FontSize: var(--pf-global--FontSize--sm);
|
|
858
|
+
--pf-c-alert__toggle--MarginTop: calc(-1 * var(--pf-global--spacer--form-element) - 0.0625rem);
|
|
859
|
+
--pf-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-global--spacer--form-element));
|
|
860
|
+
--pf-c-alert__toggle--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
|
|
861
|
+
--pf-c-alert__toggle-icon--Rotate: 0;
|
|
862
|
+
--pf-c-alert__toggle-icon--Transition: var(--pf-global--Transition);
|
|
863
|
+
--pf-c-alert__icon--Color: var(--pf-global--default-color--200);
|
|
864
|
+
--pf-c-alert__icon--MarginTop: 0.0625rem;
|
|
865
|
+
--pf-c-alert__icon--MarginRight: var(--pf-global--spacer--sm);
|
|
866
|
+
--pf-c-alert__icon--FontSize: var(--pf-global--icon--FontSize--md);
|
|
867
|
+
--pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
868
|
+
--pf-c-alert__title--Color: var(--pf-global--default-color--300);
|
|
869
|
+
--pf-c-alert__title--max-lines: 1;
|
|
870
|
+
--pf-c-alert__action--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
871
|
+
--pf-c-alert__action--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
|
|
872
|
+
--pf-c-alert__action--TranslateY: 0.125rem;
|
|
873
|
+
--pf-c-alert__action--MarginRight: calc(var(--pf-global--spacer--sm) * -1);
|
|
874
|
+
--pf-c-alert__description--PaddingTop: var(--pf-global--spacer--xs);
|
|
875
|
+
--pf-c-alert__action-group--PaddingTop-base: var(--pf-global--spacer--xs);
|
|
876
|
+
--pf-c-alert__action-group--PaddingTop: var(--pf-c-alert__action-group--PaddingTop-base);
|
|
877
|
+
--pf-c-alert__description--action-group--PaddingTop-base: var(--pf-global--spacer--md);
|
|
878
|
+
--pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop-base);
|
|
879
|
+
--pf-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-global--spacer--lg);
|
|
880
|
+
--pf-c-alert--m-success--BorderTopColor: var(--pf-global--success-color--100);
|
|
881
|
+
--pf-c-alert--m-success__icon--Color: var(--pf-global--success-color--100);
|
|
882
|
+
--pf-c-alert--m-success__title--Color: var(--pf-global--success-color--200);
|
|
883
|
+
--pf-c-alert--m-danger--BorderTopColor: var(--pf-global--danger-color--100);
|
|
884
|
+
--pf-c-alert--m-danger__icon--Color: var(--pf-global--danger-color--100);
|
|
885
|
+
--pf-c-alert--m-danger__title--Color: var(--pf-global--danger-color--200);
|
|
886
|
+
--pf-c-alert--m-warning--BorderTopColor: var(--pf-global--warning-color--100);
|
|
887
|
+
--pf-c-alert--m-warning__icon--Color: var(--pf-global--warning-color--100);
|
|
888
|
+
--pf-c-alert--m-warning__title--Color: var(--pf-global--warning-color--200);
|
|
889
|
+
--pf-c-alert--m-info--BorderTopColor: var(--pf-global--info-color--100);
|
|
890
|
+
--pf-c-alert--m-info__icon--Color: var(--pf-global--info-color--100);
|
|
891
|
+
--pf-c-alert--m-info__title--Color: var(--pf-global--info-color--200);
|
|
892
|
+
--pf-c-alert--m-inline--BoxShadow: none;
|
|
893
|
+
--pf-c-alert--m-inline--BackgroundColor: var(--pf-global--palette--cyan-50);
|
|
894
|
+
--pf-c-alert--m-inline--m-success--BackgroundColor: var(--pf-global--palette--green-50);
|
|
895
|
+
--pf-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-global--palette--red-50);
|
|
896
|
+
--pf-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-global--palette--gold-50);
|
|
897
|
+
--pf-c-alert--m-inline--m-info--BackgroundColor: var(--pf-global--palette--blue-50);
|
|
898
|
+
--pf-c-alert--m-inline--m-plain--BorderTopWidth: 0;
|
|
899
|
+
--pf-c-alert--m-inline--m-plain--BackgroundColor: transparent;
|
|
900
|
+
--pf-c-alert--m-inline--m-plain--PaddingTop: 0;
|
|
901
|
+
--pf-c-alert--m-inline--m-plain--PaddingRight: 0;
|
|
902
|
+
--pf-c-alert--m-inline--m-plain--PaddingBottom: 0;
|
|
903
|
+
--pf-c-alert--m-inline--m-plain--PaddingLeft: 0;
|
|
904
|
+
--pf-c-alert--m-expandable--GridTemplateColumns: auto max-content 1fr max-content;
|
|
905
|
+
--pf-c-alert--m-expandable--GridTemplateAreas:
|
|
906
|
+
"toggle icon title action"
|
|
907
|
+
". . description description"
|
|
908
|
+
". . actiongroup actiongroup";
|
|
909
|
+
--pf-c-alert--m-expandable__description--action-group--PaddingTop: var(--pf-c-alert__action-group--PaddingTop-base);
|
|
910
|
+
--pf-c-alert--m-expanded__toggle-icon--Rotate: 90deg;
|
|
911
|
+
--pf-c-alert--m-expanded__description--action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop-base);
|
|
912
|
+
color: var(--pf-global--Color--100);
|
|
913
|
+
position: relative;
|
|
914
|
+
display: grid;
|
|
915
|
+
padding: var(--pf-c-alert--PaddingTop) var(--pf-c-alert--PaddingRight) var(--pf-c-alert--PaddingBottom) var(--pf-c-alert--PaddingLeft);
|
|
916
|
+
font-size: var(--pf-c-alert__FontSize);
|
|
917
|
+
background-color: var(--pf-c-alert--BackgroundColor);
|
|
918
|
+
border-top: var(--pf-c-alert--BorderTopWidth) solid var(--pf-c-alert--BorderTopColor);
|
|
919
|
+
box-shadow: var(--pf-c-alert--BoxShadow);
|
|
920
|
+
grid-template-columns: var(--pf-c-alert--GridTemplateColumns);
|
|
921
|
+
grid-template-areas: var(--pf-c-alert--GridTemplateAreas);
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
.pf-c-alert.pf-m-success {
|
|
925
|
+
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-success--BorderTopColor);
|
|
926
|
+
--pf-c-alert__icon--Color: var(--pf-c-alert--m-success__icon--Color);
|
|
927
|
+
--pf-c-alert__title--Color: var(--pf-c-alert--m-success__title--Color);
|
|
928
|
+
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-success--BackgroundColor);
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.pf-c-alert.pf-m-danger {
|
|
932
|
+
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-danger--BorderTopColor);
|
|
933
|
+
--pf-c-alert__icon--Color: var(--pf-c-alert--m-danger__icon--Color);
|
|
934
|
+
--pf-c-alert__title--Color: var(--pf-c-alert--m-danger__title--Color);
|
|
935
|
+
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-danger--BackgroundColor);
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
.pf-c-alert.pf-m-warning {
|
|
939
|
+
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-warning--BorderTopColor);
|
|
940
|
+
--pf-c-alert__icon--Color: var(--pf-c-alert--m-warning__icon--Color);
|
|
941
|
+
--pf-c-alert__title--Color: var(--pf-c-alert--m-warning__title--Color);
|
|
942
|
+
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-warning--BackgroundColor);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.pf-c-alert.pf-m-info {
|
|
946
|
+
--pf-c-alert--BorderTopColor: var(--pf-c-alert--m-info--BorderTopColor);
|
|
947
|
+
--pf-c-alert__icon--Color: var(--pf-c-alert--m-info__icon--Color);
|
|
948
|
+
--pf-c-alert__title--Color: var(--pf-c-alert--m-info__title--Color);
|
|
949
|
+
--pf-c-alert--m-inline--BackgroundColor: var(--pf-c-alert--m-inline--m-info--BackgroundColor);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
.pf-c-alert.pf-m-inline {
|
|
953
|
+
--pf-c-alert--BoxShadow: var(--pf-c-alert--m-inline--BoxShadow);
|
|
954
|
+
--pf-c-alert--BackgroundColor: var(--pf-c-alert--m-inline--BackgroundColor);
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.pf-c-alert.pf-m-plain {
|
|
958
|
+
--pf-c-alert--BorderTopWidth: var(--pf-c-alert--m-inline--m-plain--BorderTopWidth);
|
|
959
|
+
--pf-c-alert--BackgroundColor: var(--pf-c-alert--m-inline--m-plain--BackgroundColor);
|
|
960
|
+
--pf-c-alert--PaddingTop: var(--pf-c-alert--m-inline--m-plain--PaddingTop);
|
|
961
|
+
--pf-c-alert--PaddingRight: var(--pf-c-alert--m-inline--m-plain--PaddingRight);
|
|
962
|
+
--pf-c-alert--PaddingBottom: var(--pf-c-alert--m-inline--m-plain--PaddingBottom);
|
|
963
|
+
--pf-c-alert--PaddingLeft: var(--pf-c-alert--m-inline--m-plain--PaddingLeft);
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.pf-c-alert.pf-m-expandable {
|
|
967
|
+
--pf-c-alert--GridTemplateColumns: var(--pf-c-alert--m-expandable--GridTemplateColumns);
|
|
968
|
+
--pf-c-alert--GridTemplateAreas: var(--pf-c-alert--m-expandable--GridTemplateAreas);
|
|
969
|
+
--pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert--m-expandable__description--action-group--PaddingTop);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.pf-c-alert.pf-m-expanded {
|
|
973
|
+
--pf-c-alert__toggle-icon--Rotate: var(--pf-c-alert--m-expanded__toggle-icon--Rotate);
|
|
974
|
+
--pf-c-alert__description--action-group--PaddingTop: var(--pf-c-alert--m-expanded__description--action-group--PaddingTop);
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.pf-c-alert__toggle {
|
|
978
|
+
margin-top: var(--pf-c-alert__toggle--MarginTop);
|
|
979
|
+
margin-bottom: var(--pf-c-alert__toggle--MarginBottom);
|
|
980
|
+
margin-left: var(--pf-c-alert__toggle--MarginLeft);
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.pf-c-alert__toggle-icon {
|
|
984
|
+
display: inline-block;
|
|
985
|
+
transition: var(--pf-c-alert__toggle-icon--Transition);
|
|
986
|
+
transform: rotate(var(--pf-c-alert__toggle-icon--Rotate));
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.pf-c-alert__icon {
|
|
990
|
+
grid-area: icon;
|
|
991
|
+
display: flex;
|
|
992
|
+
margin-top: var(--pf-c-alert__icon--MarginTop);
|
|
993
|
+
margin-right: var(--pf-c-alert__icon--MarginRight);
|
|
994
|
+
font-size: var(--pf-c-alert__icon--FontSize);
|
|
995
|
+
color: var(--pf-c-alert__icon--Color);
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.pf-c-alert__title {
|
|
999
|
+
grid-area: title;
|
|
1000
|
+
font-weight: var(--pf-c-alert__title--FontWeight);
|
|
1001
|
+
color: var(--pf-c-alert__title--Color);
|
|
1002
|
+
word-break: break-word;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.pf-c-alert__title.pf-m-truncate {
|
|
1006
|
+
display: -webkit-box;
|
|
1007
|
+
-webkit-box-orient: vertical;
|
|
1008
|
+
-webkit-line-clamp: var(--pf-c-alert__title--max-lines);
|
|
1009
|
+
overflow: hidden;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.pf-c-alert__description {
|
|
1013
|
+
grid-area: description;
|
|
1014
|
+
padding-top: var(--pf-c-alert__description--PaddingTop);
|
|
1015
|
+
word-break: break-word;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.pf-c-alert__description + .pf-c-alert__action-group {
|
|
1019
|
+
--pf-c-alert__action-group--PaddingTop: var(--pf-c-alert__description--action-group--PaddingTop);
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
.pf-c-alert__action {
|
|
1023
|
+
grid-area: action;
|
|
1024
|
+
margin-top: var(--pf-c-alert__action--MarginTop);
|
|
1025
|
+
margin-right: var(--pf-c-alert__action--MarginRight);
|
|
1026
|
+
margin-bottom: var(--pf-c-alert__action--MarginBottom);
|
|
1027
|
+
transform: translateY(var(--pf-c-alert__action--TranslateY));
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.pf-c-alert__action > .pf-c-button {
|
|
1031
|
+
--pf-c-button--LineHeight: 1;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.pf-c-alert__action-group {
|
|
1035
|
+
grid-area: actiongroup;
|
|
1036
|
+
padding-top: var(--pf-c-alert__action-group--PaddingTop);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.pf-c-alert__action-group > .pf-c-button {
|
|
1040
|
+
--pf-c-button--m-link--m-inline--hover--TextDecoration: none;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.pf-c-alert__action-group > .pf-c-button:not(:last-child) {
|
|
1044
|
+
margin-right: var(--pf-c-alert__action-group__c-button--not-last-child--MarginRight);
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.pf-m-overpass-font .pf-c-alert__title {
|
|
1048
|
+
--pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
1051
|
.pf-u-screen-reader {
|
|
1052
1052
|
position: fixed;
|
|
1053
1053
|
top: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.183.0",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"generate": "node scripts/copyStyles.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@patternfly/react-icons": "^4.
|
|
38
|
-
"@patternfly/react-styles": "^4.
|
|
39
|
-
"@patternfly/react-tokens": "^4.
|
|
37
|
+
"@patternfly/react-icons": "^4.34.0",
|
|
38
|
+
"@patternfly/react-styles": "^4.33.0",
|
|
39
|
+
"@patternfly/react-tokens": "^4.35.0",
|
|
40
40
|
"focus-trap": "6.2.2",
|
|
41
41
|
"react-dropzone": "9.0.0",
|
|
42
42
|
"tippy.js": "5.1.2",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react": "^16.8.0 || ^17.0.0",
|
|
61
61
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "66422523fe55a104080eb333b7ea0ea5db5e08c3"
|
|
64
64
|
}
|