@patternfly/react-core 4.182.2 → 4.183.2

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,44 @@
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.2 (2022-01-06)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-core
9
+
10
+
11
+
12
+
13
+
14
+ ## 4.183.1 (2022-01-06)
15
+
16
+ **Note:** Version bump only for package @patternfly/react-core
17
+
18
+
19
+
20
+
21
+
22
+ # 4.183.0 (2022-01-05)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
33
+ ## 4.182.3 (2022-01-04)
34
+
35
+
36
+ ### Bug Fixes
37
+
38
+ * **docs:** fix broken theme-patternfly-org link ([#6726](https://github.com/patternfly/patternfly-react/issues/6726)) ([4ba15e9](https://github.com/patternfly/patternfly-react/commit/4ba15e9d9611afbb80d995e4d63f5478c4212a9e))
39
+
40
+
41
+
42
+
43
+
6
44
  ## 4.182.2 (2022-01-04)
7
45
 
8
46
  **Note:** Version bump only for package @patternfly/react-core
@@ -7506,6 +7506,7 @@ label.pf-c-check, .pf-c-check__label,
7506
7506
  --pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
7507
7507
  --pf-c-expandable-section__toggle--focus--Color: var(--pf-global--link--Color--hover);
7508
7508
  --pf-c-expandable-section__toggle--m-expanded--Color: var(--pf-global--link--Color--hover);
7509
+ --pf-c-expandable-section__toggle-icon--MinWidth: 1em;
7509
7510
  --pf-c-expandable-section__toggle-icon--Color: var(--pf-global--Color--100);
7510
7511
  --pf-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
7511
7512
  --pf-c-expandable-section__toggle-icon--Rotate: 0;
@@ -7528,6 +7529,7 @@ label.pf-c-check, .pf-c-check__label,
7528
7529
  --pf-c-expandable-section--m-display-lg--after--BackgroundColor: transparent;
7529
7530
  --pf-c-expandable-section--m-display-lg--after--Width: var(--pf-global--BorderWidth--lg);
7530
7531
  --pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
7532
+ --pf-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-c-expandable-section__toggle-text--MarginLeft) + var(--pf-c-expandable-section__toggle-icon--MinWidth));
7531
7533
  }
7532
7534
 
7533
7535
  .pf-c-expandable-section.pf-m-expanded {
@@ -7568,6 +7570,10 @@ label.pf-c-check, .pf-c-check__label,
7568
7570
  background-color: var(--pf-c-expandable-section--m-display-lg--after--BackgroundColor);
7569
7571
  }
7570
7572
 
7573
+ .pf-c-expandable-section.pf-m-indented {
7574
+ --pf-c-expandable-section__content--PaddingLeft: var(--pf-c-expandable-section--m-indented__content--PaddingLeft);
7575
+ }
7576
+
7571
7577
  .pf-c-expandable-section__toggle {
7572
7578
  display: flex;
7573
7579
  padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
@@ -7588,6 +7594,7 @@ label.pf-c-check, .pf-c-check__label,
7588
7594
  }
7589
7595
 
7590
7596
  .pf-c-expandable-section__toggle-icon {
7597
+ min-width: var(--pf-c-expandable-section__toggle-icon--MinWidth);
7591
7598
  color: var(--pf-c-expandable-section__toggle-icon--Color);
7592
7599
  transition: var(--pf-c-expandable-section__toggle-icon--Transition);
7593
7600
  transform: rotate(var(--pf-c-expandable-section__toggle-icon--Rotate));
@@ -9202,6 +9209,7 @@ label.pf-c-input-group__text {
9202
9209
  --pf-c-label--m-compact--PaddingBottom: 0;
9203
9210
  --pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);
9204
9211
  --pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
9212
+ --pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
9205
9213
  --pf-c-label__content--Color: var(--pf-global--Color--100);
9206
9214
  --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
9207
9215
  --pf-c-label__text--MaxWidth: 16ch;
@@ -9216,6 +9224,18 @@ label.pf-c-input-group__text {
9216
9224
  --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
9217
9225
  --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
9218
9226
  --pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
9227
+ --pf-c-label__editable-text--MaxWidth: 16ch;
9228
+ --pf-c-label__editable-text--BorderWidth: 0;
9229
+ --pf-c-label--m-editable--Cursor: pointer;
9230
+ --pf-c-label--m-editable--TextDecoration: underline;
9231
+ --pf-c-label--m-editable--TextDecorationStyle: dashed;
9232
+ --pf-c-label--m-editable--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
9233
+ --pf-c-label--m-editable--TextDecorationOffset: 0.25rem;
9234
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
9235
+ --pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
9236
+ --pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
9237
+ --pf-c-label--m-editable--m-editable-active--Cursor: auto;
9238
+ --pf-c-label--m-editable--m-editable-active--TextDecoration: none;
9219
9239
  --pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
9220
9240
  --pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
9221
9241
  --pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
@@ -9235,6 +9255,7 @@ label.pf-c-input-group__text {
9235
9255
  --pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);
9236
9256
  --pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);
9237
9257
  --pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);
9258
+ --pf-c-label--m-editable--TextDecorationOffset: var(--pf-c-label--m-compact--m-editable--TextDecorationOffset);
9238
9259
  }
9239
9260
 
9240
9261
  .pf-c-label.pf-m-blue {
@@ -9334,7 +9355,26 @@ label.pf-c-input-group__text {
9334
9355
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);
9335
9356
  }
9336
9357
 
9358
+ .pf-c-label.pf-m-editable {
9359
+ text-decoration: var(--pf-c-label--m-editable--TextDecoration);
9360
+ cursor: var(--pf-c-label--m-editable--Cursor);
9361
+ text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
9362
+ text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
9363
+ text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
9364
+ text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
9365
+ }
9366
+
9367
+ .pf-c-label.pf-m-editable:hover {
9368
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
9369
+ }
9370
+
9371
+ .pf-c-label.pf-m-editable:focus {
9372
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--focus--TextDecorationColor);
9373
+ }
9374
+
9337
9375
  .pf-c-label.pf-m-editable-active {
9376
+ --pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
9377
+ --pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
9338
9378
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
9339
9379
  --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
9340
9380
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
@@ -9344,6 +9384,14 @@ label.pf-c-input-group__text {
9344
9384
  visibility: hidden;
9345
9385
  }
9346
9386
 
9387
+ .pf-c-label .pf-c-label__editable-text {
9388
+ overflow: hidden;
9389
+ text-overflow: ellipsis;
9390
+ white-space: nowrap;
9391
+ max-width: var(--pf-c-label__editable-text--MaxWidth);
9392
+ border-width: var(--pf-c-label__editable-text--BorderWidth);
9393
+ }
9394
+
9347
9395
  .pf-c-label .pf-c-button {
9348
9396
  --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
9349
9397
  --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
@@ -10638,6 +10638,7 @@
10638
10638
  "detached": "pf-m-detached",
10639
10639
  "limitWidth": "pf-m-limit-width",
10640
10640
  "displayLg": "pf-m-display-lg",
10641
+ "indented": "pf-m-indented",
10641
10642
  "active": "pf-m-active",
10642
10643
  "expandTop": "pf-m-expand-top",
10643
10644
  "overpassFont": "pf-m-overpass-font"
@@ -13349,6 +13350,7 @@
13349
13350
  "button": "pf-c-button",
13350
13351
  "label": "pf-c-label",
13351
13352
  "labelContent": "pf-c-label__content",
13353
+ "labelEditableText": "pf-c-label__editable-text",
13352
13354
  "labelIcon": "pf-c-label__icon",
13353
13355
  "labelText": "pf-c-label__text",
13354
13356
  "modifiers": {
@@ -13361,6 +13363,7 @@
13361
13363
  "cyan": "pf-m-cyan",
13362
13364
  "outline": "pf-m-outline",
13363
13365
  "overflow": "pf-m-overflow",
13366
+ "editable": "pf-m-editable",
13364
13367
  "editableActive": "pf-m-editable-active"
13365
13368
  }
13366
13369
  };
@@ -7506,6 +7506,7 @@ label.pf-c-check, .pf-c-check__label,
7506
7506
  --pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
7507
7507
  --pf-c-expandable-section__toggle--focus--Color: var(--pf-global--link--Color--hover);
7508
7508
  --pf-c-expandable-section__toggle--m-expanded--Color: var(--pf-global--link--Color--hover);
7509
+ --pf-c-expandable-section__toggle-icon--MinWidth: 1em;
7509
7510
  --pf-c-expandable-section__toggle-icon--Color: var(--pf-global--Color--100);
7510
7511
  --pf-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
7511
7512
  --pf-c-expandable-section__toggle-icon--Rotate: 0;
@@ -7528,6 +7529,7 @@ label.pf-c-check, .pf-c-check__label,
7528
7529
  --pf-c-expandable-section--m-display-lg--after--BackgroundColor: transparent;
7529
7530
  --pf-c-expandable-section--m-display-lg--after--Width: var(--pf-global--BorderWidth--lg);
7530
7531
  --pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
7532
+ --pf-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-c-expandable-section__toggle-text--MarginLeft) + var(--pf-c-expandable-section__toggle-icon--MinWidth));
7531
7533
  }
7532
7534
 
7533
7535
  .pf-c-expandable-section.pf-m-expanded {
@@ -7568,6 +7570,10 @@ label.pf-c-check, .pf-c-check__label,
7568
7570
  background-color: var(--pf-c-expandable-section--m-display-lg--after--BackgroundColor);
7569
7571
  }
7570
7572
 
7573
+ .pf-c-expandable-section.pf-m-indented {
7574
+ --pf-c-expandable-section__content--PaddingLeft: var(--pf-c-expandable-section--m-indented__content--PaddingLeft);
7575
+ }
7576
+
7571
7577
  .pf-c-expandable-section__toggle {
7572
7578
  display: flex;
7573
7579
  padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
@@ -7588,6 +7594,7 @@ label.pf-c-check, .pf-c-check__label,
7588
7594
  }
7589
7595
 
7590
7596
  .pf-c-expandable-section__toggle-icon {
7597
+ min-width: var(--pf-c-expandable-section__toggle-icon--MinWidth);
7591
7598
  color: var(--pf-c-expandable-section__toggle-icon--Color);
7592
7599
  transition: var(--pf-c-expandable-section__toggle-icon--Transition);
7593
7600
  transform: rotate(var(--pf-c-expandable-section__toggle-icon--Rotate));
@@ -9202,6 +9209,7 @@ label.pf-c-input-group__text {
9202
9209
  --pf-c-label--m-compact--PaddingBottom: 0;
9203
9210
  --pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);
9204
9211
  --pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
9212
+ --pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
9205
9213
  --pf-c-label__content--Color: var(--pf-global--Color--100);
9206
9214
  --pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
9207
9215
  --pf-c-label__text--MaxWidth: 16ch;
@@ -9216,6 +9224,18 @@ label.pf-c-input-group__text {
9216
9224
  --pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
9217
9225
  --pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
9218
9226
  --pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
9227
+ --pf-c-label__editable-text--MaxWidth: 16ch;
9228
+ --pf-c-label__editable-text--BorderWidth: 0;
9229
+ --pf-c-label--m-editable--Cursor: pointer;
9230
+ --pf-c-label--m-editable--TextDecoration: underline;
9231
+ --pf-c-label--m-editable--TextDecorationStyle: dashed;
9232
+ --pf-c-label--m-editable--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
9233
+ --pf-c-label--m-editable--TextDecorationOffset: 0.25rem;
9234
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
9235
+ --pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
9236
+ --pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
9237
+ --pf-c-label--m-editable--m-editable-active--Cursor: auto;
9238
+ --pf-c-label--m-editable--m-editable-active--TextDecoration: none;
9219
9239
  --pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
9220
9240
  --pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
9221
9241
  --pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
@@ -9235,6 +9255,7 @@ label.pf-c-input-group__text {
9235
9255
  --pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);
9236
9256
  --pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);
9237
9257
  --pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);
9258
+ --pf-c-label--m-editable--TextDecorationOffset: var(--pf-c-label--m-compact--m-editable--TextDecorationOffset);
9238
9259
  }
9239
9260
 
9240
9261
  .pf-c-label.pf-m-blue {
@@ -9334,7 +9355,26 @@ label.pf-c-input-group__text {
9334
9355
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);
9335
9356
  }
9336
9357
 
9358
+ .pf-c-label.pf-m-editable {
9359
+ text-decoration: var(--pf-c-label--m-editable--TextDecoration);
9360
+ cursor: var(--pf-c-label--m-editable--Cursor);
9361
+ text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
9362
+ text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
9363
+ text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
9364
+ text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
9365
+ }
9366
+
9367
+ .pf-c-label.pf-m-editable:hover {
9368
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
9369
+ }
9370
+
9371
+ .pf-c-label.pf-m-editable:focus {
9372
+ --pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--focus--TextDecorationColor);
9373
+ }
9374
+
9337
9375
  .pf-c-label.pf-m-editable-active {
9376
+ --pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
9377
+ --pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
9338
9378
  --pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
9339
9379
  --pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
9340
9380
  --pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
@@ -9344,6 +9384,14 @@ label.pf-c-input-group__text {
9344
9384
  visibility: hidden;
9345
9385
  }
9346
9386
 
9387
+ .pf-c-label .pf-c-label__editable-text {
9388
+ overflow: hidden;
9389
+ text-overflow: ellipsis;
9390
+ white-space: nowrap;
9391
+ max-width: var(--pf-c-label__editable-text--MaxWidth);
9392
+ border-width: var(--pf-c-label__editable-text--BorderWidth);
9393
+ }
9394
+
9347
9395
  .pf-c-label .pf-c-button {
9348
9396
  --pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
9349
9397
  --pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);