@patternfly/react-core 4.208.6 → 4.208.7

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 CHANGED
@@ -3,6 +3,14 @@
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.208.7 (2022-05-04)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-core
9
+
10
+
11
+
12
+
13
+
6
14
  ## 4.208.6 (2022-05-03)
7
15
 
8
16
  **Note:** Version bump only for package @patternfly/react-core
@@ -15973,6 +15973,185 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
15973
15973
  margin-top: var(--pf-c-popover__footer--MarginTop);
15974
15974
  }
15975
15975
 
15976
+ .pf-c-progress {
15977
+ --pf-c-progress--GridGap: var(--pf-global--spacer--md);
15978
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-global--primary-color--100);
15979
+ --pf-c-progress__bar--Height: var(--pf-global--spacer--md);
15980
+ --pf-c-progress__bar--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
15981
+ --pf-c-progress__measure--m-static-width--MinWidth: 4.5ch;
15982
+ --pf-c-progress__status-icon--Color: var(--pf-global--Color--100);
15983
+ --pf-c-progress__status-icon--MarginLeft: var(--pf-global--spacer--sm);
15984
+ --pf-c-progress__bar--before--Opacity: .2;
15985
+ --pf-c-progress__indicator--Height: var(--pf-c-progress__bar--Height);
15986
+ --pf-c-progress__indicator--BackgroundColor: var(--pf-c-progress__bar--before--BackgroundColor);
15987
+ --pf-c-progress--m-success__bar--BackgroundColor: var(--pf-global--success-color--100);
15988
+ --pf-c-progress--m-warning__bar--BackgroundColor: var(--pf-global--warning-color--100);
15989
+ --pf-c-progress--m-danger__bar--BackgroundColor: var(--pf-global--danger-color--100);
15990
+ --pf-c-progress--m-success__status-icon--Color: var(--pf-global--success-color--100);
15991
+ --pf-c-progress--m-warning__status-icon--Color: var(--pf-global--warning-color--100);
15992
+ --pf-c-progress--m-danger__status-icon--Color: var(--pf-global--danger-color--100);
15993
+ --pf-c-progress--m-inside__indicator--MinWidth: var(--pf-global--spacer--xl);
15994
+ --pf-c-progress--m-inside__measure--Color: var(--pf-global--Color--light-100);
15995
+ --pf-c-progress--m-success--m-inside__measure--Color: var(--pf-global--Color--light-100);
15996
+ --pf-c-progress--m-warning--m-inside__measure--Color: var(--pf-global--Color--dark-100);
15997
+ --pf-c-progress--m-inside__measure--FontSize: var(--pf-global--FontSize--sm);
15998
+ --pf-c-progress--m-outside__measure--FontSize: var(--pf-global--FontSize--sm);
15999
+ --pf-c-progress--m-sm__bar--Height: var(--pf-global--spacer--sm);
16000
+ --pf-c-progress--m-sm__description--FontSize: var(--pf-global--FontSize--sm);
16001
+ --pf-c-progress--m-sm__measure--FontSize: var(--pf-global--FontSize--sm);
16002
+ --pf-c-progress--m-lg__bar--Height: var(--pf-global--spacer--lg);
16003
+ display: grid;
16004
+ align-items: end;
16005
+ grid-gap: var(--pf-c-progress--GridGap);
16006
+ grid-template-columns: auto auto;
16007
+ grid-template-rows: 1fr auto;
16008
+ }
16009
+
16010
+ .pf-c-progress.pf-m-sm {
16011
+ --pf-c-progress__bar--Height: var(--pf-c-progress--m-sm__bar--Height);
16012
+ }
16013
+
16014
+ .pf-c-progress.pf-m-sm .pf-c-progress__description {
16015
+ font-size: var(--pf-c-progress--m-sm__description--FontSize);
16016
+ }
16017
+
16018
+ .pf-c-progress.pf-m-sm .pf-c-progress__measure {
16019
+ font-size: var(--pf-c-progress--m-sm__measure--FontSize);
16020
+ }
16021
+
16022
+ .pf-c-progress.pf-m-lg {
16023
+ --pf-c-progress__bar--Height: var(--pf-c-progress--m-lg__bar--Height);
16024
+ }
16025
+
16026
+ .pf-c-progress.pf-m-inside .pf-c-progress__indicator {
16027
+ display: flex;
16028
+ align-items: center;
16029
+ justify-content: center;
16030
+ min-width: var(--pf-c-progress--m-inside__indicator--MinWidth);
16031
+ }
16032
+
16033
+ .pf-c-progress.pf-m-inside .pf-c-progress__measure {
16034
+ font-size: var(--pf-c-progress--m-inside__measure--FontSize);
16035
+ color: var(--pf-c-progress--m-inside__measure--Color);
16036
+ text-align: center;
16037
+ }
16038
+
16039
+ .pf-c-progress.pf-m-outside .pf-c-progress__description {
16040
+ grid-column: 1/3;
16041
+ }
16042
+
16043
+ .pf-c-progress.pf-m-outside .pf-c-progress__status {
16044
+ grid-column: 2/3;
16045
+ grid-row: 2/3;
16046
+ align-self: center;
16047
+ }
16048
+
16049
+ .pf-c-progress.pf-m-outside .pf-c-progress__measure {
16050
+ display: inline-block;
16051
+ font-size: var(--pf-c-progress--m-outside__measure--FontSize);
16052
+ }
16053
+
16054
+ .pf-c-progress.pf-m-outside .pf-c-progress__measure.pf-m-static-width {
16055
+ min-width: var(--pf-c-progress__measure--m-static-width--MinWidth);
16056
+ text-align: left;
16057
+ }
16058
+
16059
+ .pf-c-progress.pf-m-outside .pf-c-progress__bar,
16060
+ .pf-c-progress.pf-m-outside .pf-c-progress__indicator {
16061
+ grid-column: 1/2;
16062
+ }
16063
+
16064
+ .pf-c-progress.pf-m-singleline {
16065
+ grid-template-rows: 1fr;
16066
+ }
16067
+
16068
+ .pf-c-progress.pf-m-singleline .pf-c-progress__description {
16069
+ display: none;
16070
+ visibility: hidden;
16071
+ }
16072
+
16073
+ .pf-c-progress.pf-m-singleline .pf-c-progress__bar {
16074
+ grid-row: 1/2;
16075
+ grid-column: 1/2;
16076
+ }
16077
+
16078
+ .pf-c-progress.pf-m-singleline .pf-c-progress__status {
16079
+ grid-row: 1/2;
16080
+ grid-column: 2/3;
16081
+ }
16082
+
16083
+ .pf-c-progress.pf-m-outside, .pf-c-progress.pf-m-singleline {
16084
+ grid-template-columns: 1fr fit-content(50%);
16085
+ }
16086
+
16087
+ .pf-c-progress.pf-m-success {
16088
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-success__bar--BackgroundColor);
16089
+ --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-success__status-icon--Color);
16090
+ --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-success--m-inside__measure--Color);
16091
+ }
16092
+
16093
+ .pf-c-progress.pf-m-warning {
16094
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-warning__bar--BackgroundColor);
16095
+ --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-warning__status-icon--Color);
16096
+ --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-warning--m-inside__measure--Color);
16097
+ }
16098
+
16099
+ .pf-c-progress.pf-m-danger {
16100
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-danger__bar--BackgroundColor);
16101
+ --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-danger__status-icon--Color);
16102
+ }
16103
+
16104
+ .pf-c-progress__description {
16105
+ word-break: break-word;
16106
+ grid-column: 1/2;
16107
+ }
16108
+
16109
+ .pf-c-progress__description.pf-m-truncate {
16110
+ overflow: hidden;
16111
+ text-overflow: ellipsis;
16112
+ white-space: nowrap;
16113
+ }
16114
+
16115
+ .pf-c-progress__status {
16116
+ grid-column: 2/3;
16117
+ grid-row: 1/2;
16118
+ text-align: right;
16119
+ word-break: break-word;
16120
+ }
16121
+
16122
+ .pf-c-progress__status-icon {
16123
+ margin-left: var(--pf-c-progress__status-icon--MarginLeft);
16124
+ color: var(--pf-c-progress__status-icon--Color);
16125
+ }
16126
+
16127
+ .pf-c-progress__bar {
16128
+ position: relative;
16129
+ grid-column: 1/3;
16130
+ grid-row: 2/3;
16131
+ align-self: center;
16132
+ height: var(--pf-c-progress__bar--Height);
16133
+ background-color: var(--pf-c-progress__bar--BackgroundColor);
16134
+ }
16135
+
16136
+ .pf-c-progress__bar::before {
16137
+ position: absolute;
16138
+ top: 0;
16139
+ left: 0;
16140
+ width: 100%;
16141
+ height: 100%;
16142
+ content: "";
16143
+ background-color: var(--pf-c-progress__bar--before--BackgroundColor);
16144
+ opacity: var(--pf-c-progress__bar--before--Opacity);
16145
+ }
16146
+
16147
+ .pf-c-progress__indicator {
16148
+ position: absolute;
16149
+ top: 0;
16150
+ left: 0;
16151
+ height: var(--pf-c-progress__indicator--Height);
16152
+ background-color: var(--pf-c-progress__indicator--BackgroundColor);
16153
+ }
16154
+
15976
16155
  .pf-c-progress-stepper {
15977
16156
  --pf-c-progress-stepper--GridAutoFlow: column;
15978
16157
  --pf-c-progress-stepper--GridTemplateRows: auto 1fr;
@@ -16314,185 +16493,6 @@ label.pf-c-radio, .pf-c-radio__label,
16314
16493
  cursor: not-allowed;
16315
16494
  }
16316
16495
 
16317
- .pf-c-progress {
16318
- --pf-c-progress--GridGap: var(--pf-global--spacer--md);
16319
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-global--primary-color--100);
16320
- --pf-c-progress__bar--Height: var(--pf-global--spacer--md);
16321
- --pf-c-progress__bar--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
16322
- --pf-c-progress__measure--m-static-width--MinWidth: 4.5ch;
16323
- --pf-c-progress__status-icon--Color: var(--pf-global--Color--100);
16324
- --pf-c-progress__status-icon--MarginLeft: var(--pf-global--spacer--sm);
16325
- --pf-c-progress__bar--before--Opacity: .2;
16326
- --pf-c-progress__indicator--Height: var(--pf-c-progress__bar--Height);
16327
- --pf-c-progress__indicator--BackgroundColor: var(--pf-c-progress__bar--before--BackgroundColor);
16328
- --pf-c-progress--m-success__bar--BackgroundColor: var(--pf-global--success-color--100);
16329
- --pf-c-progress--m-warning__bar--BackgroundColor: var(--pf-global--warning-color--100);
16330
- --pf-c-progress--m-danger__bar--BackgroundColor: var(--pf-global--danger-color--100);
16331
- --pf-c-progress--m-success__status-icon--Color: var(--pf-global--success-color--100);
16332
- --pf-c-progress--m-warning__status-icon--Color: var(--pf-global--warning-color--100);
16333
- --pf-c-progress--m-danger__status-icon--Color: var(--pf-global--danger-color--100);
16334
- --pf-c-progress--m-inside__indicator--MinWidth: var(--pf-global--spacer--xl);
16335
- --pf-c-progress--m-inside__measure--Color: var(--pf-global--Color--light-100);
16336
- --pf-c-progress--m-success--m-inside__measure--Color: var(--pf-global--Color--light-100);
16337
- --pf-c-progress--m-warning--m-inside__measure--Color: var(--pf-global--Color--dark-100);
16338
- --pf-c-progress--m-inside__measure--FontSize: var(--pf-global--FontSize--sm);
16339
- --pf-c-progress--m-outside__measure--FontSize: var(--pf-global--FontSize--sm);
16340
- --pf-c-progress--m-sm__bar--Height: var(--pf-global--spacer--sm);
16341
- --pf-c-progress--m-sm__description--FontSize: var(--pf-global--FontSize--sm);
16342
- --pf-c-progress--m-sm__measure--FontSize: var(--pf-global--FontSize--sm);
16343
- --pf-c-progress--m-lg__bar--Height: var(--pf-global--spacer--lg);
16344
- display: grid;
16345
- align-items: end;
16346
- grid-gap: var(--pf-c-progress--GridGap);
16347
- grid-template-columns: auto auto;
16348
- grid-template-rows: 1fr auto;
16349
- }
16350
-
16351
- .pf-c-progress.pf-m-sm {
16352
- --pf-c-progress__bar--Height: var(--pf-c-progress--m-sm__bar--Height);
16353
- }
16354
-
16355
- .pf-c-progress.pf-m-sm .pf-c-progress__description {
16356
- font-size: var(--pf-c-progress--m-sm__description--FontSize);
16357
- }
16358
-
16359
- .pf-c-progress.pf-m-sm .pf-c-progress__measure {
16360
- font-size: var(--pf-c-progress--m-sm__measure--FontSize);
16361
- }
16362
-
16363
- .pf-c-progress.pf-m-lg {
16364
- --pf-c-progress__bar--Height: var(--pf-c-progress--m-lg__bar--Height);
16365
- }
16366
-
16367
- .pf-c-progress.pf-m-inside .pf-c-progress__indicator {
16368
- display: flex;
16369
- align-items: center;
16370
- justify-content: center;
16371
- min-width: var(--pf-c-progress--m-inside__indicator--MinWidth);
16372
- }
16373
-
16374
- .pf-c-progress.pf-m-inside .pf-c-progress__measure {
16375
- font-size: var(--pf-c-progress--m-inside__measure--FontSize);
16376
- color: var(--pf-c-progress--m-inside__measure--Color);
16377
- text-align: center;
16378
- }
16379
-
16380
- .pf-c-progress.pf-m-outside .pf-c-progress__description {
16381
- grid-column: 1/3;
16382
- }
16383
-
16384
- .pf-c-progress.pf-m-outside .pf-c-progress__status {
16385
- grid-column: 2/3;
16386
- grid-row: 2/3;
16387
- align-self: center;
16388
- }
16389
-
16390
- .pf-c-progress.pf-m-outside .pf-c-progress__measure {
16391
- display: inline-block;
16392
- font-size: var(--pf-c-progress--m-outside__measure--FontSize);
16393
- }
16394
-
16395
- .pf-c-progress.pf-m-outside .pf-c-progress__measure.pf-m-static-width {
16396
- min-width: var(--pf-c-progress__measure--m-static-width--MinWidth);
16397
- text-align: left;
16398
- }
16399
-
16400
- .pf-c-progress.pf-m-outside .pf-c-progress__bar,
16401
- .pf-c-progress.pf-m-outside .pf-c-progress__indicator {
16402
- grid-column: 1/2;
16403
- }
16404
-
16405
- .pf-c-progress.pf-m-singleline {
16406
- grid-template-rows: 1fr;
16407
- }
16408
-
16409
- .pf-c-progress.pf-m-singleline .pf-c-progress__description {
16410
- display: none;
16411
- visibility: hidden;
16412
- }
16413
-
16414
- .pf-c-progress.pf-m-singleline .pf-c-progress__bar {
16415
- grid-row: 1/2;
16416
- grid-column: 1/2;
16417
- }
16418
-
16419
- .pf-c-progress.pf-m-singleline .pf-c-progress__status {
16420
- grid-row: 1/2;
16421
- grid-column: 2/3;
16422
- }
16423
-
16424
- .pf-c-progress.pf-m-outside, .pf-c-progress.pf-m-singleline {
16425
- grid-template-columns: 1fr fit-content(50%);
16426
- }
16427
-
16428
- .pf-c-progress.pf-m-success {
16429
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-success__bar--BackgroundColor);
16430
- --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-success__status-icon--Color);
16431
- --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-success--m-inside__measure--Color);
16432
- }
16433
-
16434
- .pf-c-progress.pf-m-warning {
16435
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-warning__bar--BackgroundColor);
16436
- --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-warning__status-icon--Color);
16437
- --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-warning--m-inside__measure--Color);
16438
- }
16439
-
16440
- .pf-c-progress.pf-m-danger {
16441
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-danger__bar--BackgroundColor);
16442
- --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-danger__status-icon--Color);
16443
- }
16444
-
16445
- .pf-c-progress__description {
16446
- word-break: break-word;
16447
- grid-column: 1/2;
16448
- }
16449
-
16450
- .pf-c-progress__description.pf-m-truncate {
16451
- overflow: hidden;
16452
- text-overflow: ellipsis;
16453
- white-space: nowrap;
16454
- }
16455
-
16456
- .pf-c-progress__status {
16457
- grid-column: 2/3;
16458
- grid-row: 1/2;
16459
- text-align: right;
16460
- word-break: break-word;
16461
- }
16462
-
16463
- .pf-c-progress__status-icon {
16464
- margin-left: var(--pf-c-progress__status-icon--MarginLeft);
16465
- color: var(--pf-c-progress__status-icon--Color);
16466
- }
16467
-
16468
- .pf-c-progress__bar {
16469
- position: relative;
16470
- grid-column: 1/3;
16471
- grid-row: 2/3;
16472
- align-self: center;
16473
- height: var(--pf-c-progress__bar--Height);
16474
- background-color: var(--pf-c-progress__bar--BackgroundColor);
16475
- }
16476
-
16477
- .pf-c-progress__bar::before {
16478
- position: absolute;
16479
- top: 0;
16480
- left: 0;
16481
- width: 100%;
16482
- height: 100%;
16483
- content: "";
16484
- background-color: var(--pf-c-progress__bar--before--BackgroundColor);
16485
- opacity: var(--pf-c-progress__bar--before--Opacity);
16486
- }
16487
-
16488
- .pf-c-progress__indicator {
16489
- position: absolute;
16490
- top: 0;
16491
- left: 0;
16492
- height: var(--pf-c-progress__indicator--Height);
16493
- background-color: var(--pf-c-progress__indicator--BackgroundColor);
16494
- }
16495
-
16496
16496
  .pf-c-search-input {
16497
16497
  --pf-c-search-input__text--before--BorderWidth: var(--pf-global--BorderWidth--sm);
16498
16498
  --pf-c-search-input__text--before--BorderColor: var(--pf-global--BorderColor--300);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "4.208.6",
3
+ "version": "4.208.7",
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.59.6",
38
- "@patternfly/react-styles": "^4.58.6",
39
- "@patternfly/react-tokens": "^4.60.6",
37
+ "@patternfly/react-icons": "^4.59.7",
38
+ "@patternfly/react-styles": "^4.58.7",
39
+ "@patternfly/react-tokens": "^4.60.7",
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": "35f7c3e0f7efd0b45a2659f80268b463f3e0a8d4"
63
+ "gitHead": "1af2a9586c42d64d32fe1def12a3c858653e7115"
64
64
  }