@patternfly/patternfly 5.3.0-prerelease.4 → 5.3.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.
@@ -141,6 +141,10 @@
141
141
  --pf-v5-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
142
142
  --pf-v5-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
143
143
  --pf-v5-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
144
+ --pf-v5-c-label--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
145
+ --pf-v5-c-label--m-disabled__content--Color: var(--pf-v5-global--disabled-color--100);
146
+ --pf-v5-c-label--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--100);
147
+ --pf-v5-c-label--c-button--m-disabled--Color: var(--pf-v5-global--disabled-color--100);
144
148
  position: relative;
145
149
  max-width: var(--pf-v5-c-label--MaxWidth);
146
150
  padding-block-start: var(--pf-v5-c-label--PaddingTop);
@@ -327,6 +331,16 @@
327
331
  --pf-v5-c-label__content--link--focus--before--BorderWidth: var(--pf-v5-c-label--m-overflow__content--link--focus--before--BorderWidth);
328
332
  --pf-v5-c-label__content--link--focus--before--BorderColor: var(--pf-v5-c-label--m-overflow__content--link--focus--before--BorderColor);
329
333
  }
334
+ .pf-v5-c-label.pf-m-disabled {
335
+ --pf-v5-c-label--BackgroundColor: var(--pf-v5-c-label--m-disabled--BackgroundColor);
336
+ --pf-v5-c-label__content--Color: var(--pf-v5-c-label--m-disabled__content--Color);
337
+ --pf-v5-c-label__icon--Color: var(--pf-v5-c-label--m-disabled__icon--Color);
338
+ --pf-v5-c-label__content--before--BorderWidth: 0;
339
+ pointer-events: none;
340
+ }
341
+ .pf-v5-c-label.pf-m-disabled .pf-v5-c-button {
342
+ --pf-v5-c-button--m-plain--disabled--Color: var(--pf-v5-c-label--c-button--m-disabled--Color);
343
+ }
330
344
 
331
345
  .pf-v5-c-label,
332
346
  .pf-v5-c-label__content {
@@ -185,6 +185,12 @@
185
185
  --#{$label}--m-editable--m-editable-active__content--before--BorderWidth: 0;
186
186
  --#{$label}--m-editable--m-editable-active__content--before--BorderColor: transparent;
187
187
 
188
+ // Disabled
189
+ --#{$label}--m-disabled--BackgroundColor: var(--#{$pf-global}--disabled-color--200);
190
+ --#{$label}--m-disabled__content--Color: var(--#{$pf-global}--disabled-color--100);
191
+ --#{$label}--m-disabled__icon--Color: var(--#{$pf-global}--disabled-color--100);
192
+ --#{$label}--c-button--m-disabled--Color: var(--#{$pf-global}--disabled-color--100);
193
+
188
194
  position: relative;
189
195
  max-width: var(--#{$label}--MaxWidth);
190
196
  padding-block-start: var(--#{$label}--PaddingTop);
@@ -395,6 +401,19 @@
395
401
  --#{$label}__content--link--focus--before--BorderWidth: var(--#{$label}--m-overflow__content--link--focus--before--BorderWidth);
396
402
  --#{$label}__content--link--focus--before--BorderColor: var(--#{$label}--m-overflow__content--link--focus--before--BorderColor);
397
403
  }
404
+
405
+ &.pf-m-disabled {
406
+ --#{$label}--BackgroundColor: var(--#{$label}--m-disabled--BackgroundColor);
407
+ --#{$label}__content--Color: var(--#{$label}--m-disabled__content--Color);
408
+ --#{$label}__icon--Color: var(--#{$label}--m-disabled__icon--Color);
409
+ --#{$label}__content--before--BorderWidth: 0;
410
+
411
+ pointer-events: none;
412
+
413
+ .#{$button} {
414
+ --#{$button}--m-plain--disabled--Color: var(--#{$label}--c-button--m-disabled--Color);
415
+ }
416
+ }
398
417
  }
399
418
 
400
419
  .#{$label},