@patternfly/patternfly 4.222.1 → 4.222.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.
@@ -22,6 +22,9 @@
22
22
  --pf-c-input-group__text--BorderLeftColor: var(--pf-global--BorderColor--300);
23
23
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--BackgroundColor--100);
24
24
  --pf-c-input-group__textarea--MinHeight: var(--pf-global--spacer--xl);
25
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--disabled-color--100);
26
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
27
+ --pf-c-input-group__text--m-disabled--BorderBottomColor: transparent;
25
28
  --pf-c-input-group--c-form-control--invalid--ZIndex: var(--pf-global--ZIndex--xs);
26
29
  --pf-c-input-group--c-form-control--MarginRight: 0;
27
30
  color: var(--pf-global--Color--100);
@@ -71,6 +74,11 @@ label.pf-c-input-group__text {
71
74
  --pf-c-input-group__text--BorderWidth: 0;
72
75
  margin-left: 0;
73
76
  }
77
+ .pf-c-input-group__text.pf-m-disabled {
78
+ --pf-c-input-group__text--Color: var(--pf-c-input-group__text--m-disabled--Color);
79
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
80
+ --pf-c-input-group__text--BorderBottomColor: var(--pf-c-input-group__text--m-disabled--BorderBottomColor);
81
+ }
74
82
 
75
83
  :where(.pf-theme-dark) .pf-c-input-group {
76
84
  --pf-c-input-group--BackgroundColor: transparent;
@@ -79,6 +87,8 @@ label.pf-c-input-group__text {
79
87
  --pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
80
88
  --pf-c-input-group__text--BorderLeftColor: transparent;
81
89
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--palette--black-600);
90
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--palette--black-100);
91
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
82
92
  }
83
93
  :where(.pf-theme-dark) .pf-c-input-group > * + * {
84
94
  margin-left: 0;
@@ -92,4 +102,8 @@ label.pf-c-input-group__text {
92
102
  }
93
103
  :where(.pf-theme-dark) .pf-c-input-group__text.pf-m-plain {
94
104
  --pf-c-input-group__text--BackgroundColor: transparent;
105
+ }
106
+ :where(.pf-theme-dark) .pf-c-input-group__text.pf-m-disabled {
107
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
108
+ color: var(--pf-c-input-group__text--m-disabled--Color);
95
109
  }
@@ -15,6 +15,9 @@
15
15
  --pf-c-input-group__text--BorderLeftColor: var(--pf-global--BorderColor--300);
16
16
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--BackgroundColor--100);
17
17
  --pf-c-input-group__textarea--MinHeight: var(--pf-global--spacer--xl);
18
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--disabled-color--100);
19
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
20
+ --pf-c-input-group__text--m-disabled--BorderBottomColor: transparent;
18
21
 
19
22
  // Form control
20
23
  --pf-c-input-group--c-form-control--invalid--ZIndex: var(--pf-global--ZIndex--xs);
@@ -84,6 +87,12 @@
84
87
 
85
88
  margin-left: 0;
86
89
  }
90
+
91
+ &.pf-m-disabled {
92
+ --pf-c-input-group__text--Color: var(--pf-c-input-group__text--m-disabled--Color);
93
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
94
+ --pf-c-input-group__text--BorderBottomColor: var(--pf-c-input-group__text--m-disabled--BorderBottomColor);
95
+ }
87
96
  }
88
97
 
89
98
  // stylelint-disable no-invalid-position-at-import-rule
@@ -8,6 +8,8 @@
8
8
  --pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
9
9
  --pf-c-input-group__text--BorderLeftColor: transparent;
10
10
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--palette--black-600);
11
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--palette--black-100);
12
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
11
13
 
12
14
  > * + * {
13
15
  margin-left: 0;
@@ -24,5 +26,11 @@
24
26
  &.pf-m-plain {
25
27
  --pf-c-input-group__text--BackgroundColor: transparent;
26
28
  }
29
+
30
+ &.pf-m-disabled {
31
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
32
+
33
+ color: var(--pf-c-input-group__text--m-disabled--Color);
34
+ }
27
35
  }
28
36
  }
@@ -182,13 +182,6 @@
182
182
  z-index: var(--pf-c-slider__value--m-floating--ZIndex);
183
183
  transform: translate(var(--pf-c-slider__value--m-floating--TranslateX), var(--pf-c-slider__value--m-floating--TranslateY));
184
184
  }
185
- .pf-c-slider__value.pf-m-floating .pf-c-input-group {
186
- align-items: center;
187
- }
188
- .pf-c-slider__value.pf-m-floating .pf-c-input-group__text {
189
- position: absolute;
190
- left: 100%;
191
- }
192
185
  .pf-c-slider__value .pf-c-form-control {
193
186
  width: var(--pf-c-slider__value--c-form-control--Width);
194
187
  }
@@ -218,15 +218,6 @@
218
218
  left: var(--pf-c-slider__value--m-floating--Left);
219
219
  z-index: var(--pf-c-slider__value--m-floating--ZIndex);
220
220
  transform: translate(var(--pf-c-slider__value--m-floating--TranslateX), var(--pf-c-slider__value--m-floating--TranslateY));
221
-
222
- .pf-c-input-group {
223
- align-items: center;
224
- }
225
-
226
- .pf-c-input-group__text {
227
- position: absolute;
228
- left: 100%;
229
- }
230
221
  }
231
222
 
232
223
  .pf-c-form-control {
@@ -233,3 +233,4 @@ When using the `.pf-c-input-group` always ensure labels are used outside the inp
233
233
  | `.pf-c-input-group__text` | `<span>` | Initiates the input group text. This can be used to show text, radio, icons, or check boxes. |
234
234
  | `.pf-m-plain` | `.pf-c-input-group` | Removes the background from the input group. |
235
235
  | `.pf-m-plain` | `.pf-c-input-group__text` | Removes the border from the text element. |
236
+ | `.pf-m-disabled` | `.pf-c-input-group__text` | Adds disabled styling to match a disabled input within the input group. |
@@ -267,7 +267,7 @@ cssPrefix: pf-c-slider
267
267
  value="50"
268
268
  aria-label="Slider value input"
269
269
  />
270
- <span class="pf-c-input-group__text pf-m-plain">%</span>
270
+ <span class="pf-c-input-group__text">%</span>
271
271
  </div>
272
272
  </div>
273
273
  </div>
@@ -297,7 +297,7 @@ cssPrefix: pf-c-slider
297
297
  value="50"
298
298
  aria-label="Slider value input"
299
299
  />
300
- <span class="pf-c-input-group__text pf-m-plain">%</span>
300
+ <span class="pf-c-input-group__text">%</span>
301
301
  </div>
302
302
  </div>
303
303
  </div>
@@ -329,7 +329,7 @@ cssPrefix: pf-c-slider
329
329
  value="50"
330
330
  aria-label="Slider value input"
331
331
  />
332
- <span class="pf-c-input-group__text pf-m-plain">%</span>
332
+ <span class="pf-c-input-group__text">%</span>
333
333
  </div>
334
334
  </div>
335
335
  </div>
@@ -393,7 +393,7 @@ cssPrefix: pf-c-slider
393
393
  value="50"
394
394
  aria-label="Slider value input"
395
395
  />
396
- <span class="pf-c-input-group__text pf-m-plain">%</span>
396
+ <span class="pf-c-input-group__text pf-m-disabled">%</span>
397
397
  </div>
398
398
  </div>
399
399
  </div>
@@ -429,7 +429,7 @@ cssPrefix: pf-c-slider
429
429
  value="50"
430
430
  aria-label="Slider value input"
431
431
  />
432
- <span class="pf-c-input-group__text pf-m-plain">%</span>
432
+ <span class="pf-c-input-group__text">%</span>
433
433
  </div>
434
434
  </div>
435
435
  </div>
@@ -570,7 +570,7 @@ cssPrefix: pf-c-slider
570
570
  value="50"
571
571
  aria-label="Slider value input"
572
572
  />
573
- <span class="pf-c-input-group__text pf-m-plain">%</span>
573
+ <span class="pf-c-input-group__text pf-m-disabled">%</span>
574
574
  </div>
575
575
  </div>
576
576
  </div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "4.222.1",
4
+ "version": "4.222.2",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -16144,6 +16144,9 @@ textarea.pf-c-form-control {
16144
16144
  --pf-c-input-group__text--BorderLeftColor: var(--pf-global--BorderColor--300);
16145
16145
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--BackgroundColor--100);
16146
16146
  --pf-c-input-group__textarea--MinHeight: var(--pf-global--spacer--xl);
16147
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--disabled-color--100);
16148
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
16149
+ --pf-c-input-group__text--m-disabled--BorderBottomColor: transparent;
16147
16150
  --pf-c-input-group--c-form-control--invalid--ZIndex: var(--pf-global--ZIndex--xs);
16148
16151
  --pf-c-input-group--c-form-control--MarginRight: 0;
16149
16152
  color: var(--pf-global--Color--100);
@@ -16193,6 +16196,11 @@ label.pf-c-input-group__text {
16193
16196
  --pf-c-input-group__text--BorderWidth: 0;
16194
16197
  margin-left: 0;
16195
16198
  }
16199
+ .pf-c-input-group__text.pf-m-disabled {
16200
+ --pf-c-input-group__text--Color: var(--pf-c-input-group__text--m-disabled--Color);
16201
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
16202
+ --pf-c-input-group__text--BorderBottomColor: var(--pf-c-input-group__text--m-disabled--BorderBottomColor);
16203
+ }
16196
16204
 
16197
16205
  :where(.pf-theme-dark) .pf-c-wizard__header, :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
16198
16206
  :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-],
@@ -16237,6 +16245,8 @@ label.pf-c-input-group__text {
16237
16245
  --pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
16238
16246
  --pf-c-input-group__text--BorderLeftColor: transparent;
16239
16247
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--palette--black-600);
16248
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--palette--black-100);
16249
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
16240
16250
  }
16241
16251
  :where(.pf-theme-dark) .pf-c-input-group > * + * {
16242
16252
  margin-left: 0;
@@ -16251,6 +16261,10 @@ label.pf-c-input-group__text {
16251
16261
  :where(.pf-theme-dark) .pf-c-input-group__text.pf-m-plain {
16252
16262
  --pf-c-input-group__text--BackgroundColor: transparent;
16253
16263
  }
16264
+ :where(.pf-theme-dark) .pf-c-input-group__text.pf-m-disabled {
16265
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
16266
+ color: var(--pf-c-input-group__text--m-disabled--Color);
16267
+ }
16254
16268
 
16255
16269
  .pf-c-jump-links {
16256
16270
  --pf-c-jump-links__list--Display: flex;
@@ -25978,13 +25992,6 @@ label.pf-c-radio, .pf-c-radio__label,
25978
25992
  z-index: var(--pf-c-slider__value--m-floating--ZIndex);
25979
25993
  transform: translate(var(--pf-c-slider__value--m-floating--TranslateX), var(--pf-c-slider__value--m-floating--TranslateY));
25980
25994
  }
25981
- .pf-c-slider__value.pf-m-floating .pf-c-input-group {
25982
- align-items: center;
25983
- }
25984
- .pf-c-slider__value.pf-m-floating .pf-c-input-group__text {
25985
- position: absolute;
25986
- left: 100%;
25987
- }
25988
25995
  .pf-c-slider__value .pf-c-form-control {
25989
25996
  width: var(--pf-c-slider__value--c-form-control--Width);
25990
25997
  }
package/patternfly.css CHANGED
@@ -16271,6 +16271,9 @@ textarea.pf-c-form-control {
16271
16271
  --pf-c-input-group__text--BorderLeftColor: var(--pf-global--BorderColor--300);
16272
16272
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--BackgroundColor--100);
16273
16273
  --pf-c-input-group__textarea--MinHeight: var(--pf-global--spacer--xl);
16274
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--disabled-color--100);
16275
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--300);
16276
+ --pf-c-input-group__text--m-disabled--BorderBottomColor: transparent;
16274
16277
  --pf-c-input-group--c-form-control--invalid--ZIndex: var(--pf-global--ZIndex--xs);
16275
16278
  --pf-c-input-group--c-form-control--MarginRight: 0;
16276
16279
  color: var(--pf-global--Color--100);
@@ -16320,6 +16323,11 @@ label.pf-c-input-group__text {
16320
16323
  --pf-c-input-group__text--BorderWidth: 0;
16321
16324
  margin-left: 0;
16322
16325
  }
16326
+ .pf-c-input-group__text.pf-m-disabled {
16327
+ --pf-c-input-group__text--Color: var(--pf-c-input-group__text--m-disabled--Color);
16328
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
16329
+ --pf-c-input-group__text--BorderBottomColor: var(--pf-c-input-group__text--m-disabled--BorderBottomColor);
16330
+ }
16323
16331
 
16324
16332
  :where(.pf-theme-dark) .pf-c-wizard__header, :where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector,
16325
16333
  :where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-],
@@ -16364,6 +16372,8 @@ label.pf-c-input-group__text {
16364
16372
  --pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
16365
16373
  --pf-c-input-group__text--BorderLeftColor: transparent;
16366
16374
  --pf-c-input-group__text--BackgroundColor: var(--pf-global--palette--black-600);
16375
+ --pf-c-input-group__text--m-disabled--Color: var(--pf-global--palette--black-100);
16376
+ --pf-c-input-group__text--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
16367
16377
  }
16368
16378
  :where(.pf-theme-dark) .pf-c-input-group > * + * {
16369
16379
  margin-left: 0;
@@ -16378,6 +16388,10 @@ label.pf-c-input-group__text {
16378
16388
  :where(.pf-theme-dark) .pf-c-input-group__text.pf-m-plain {
16379
16389
  --pf-c-input-group__text--BackgroundColor: transparent;
16380
16390
  }
16391
+ :where(.pf-theme-dark) .pf-c-input-group__text.pf-m-disabled {
16392
+ --pf-c-input-group__text--BackgroundColor: var(--pf-c-input-group__text--m-disabled--BackgroundColor);
16393
+ color: var(--pf-c-input-group__text--m-disabled--Color);
16394
+ }
16381
16395
 
16382
16396
  .pf-c-jump-links {
16383
16397
  --pf-c-jump-links__list--Display: flex;
@@ -26105,13 +26119,6 @@ label.pf-c-radio, .pf-c-radio__label,
26105
26119
  z-index: var(--pf-c-slider__value--m-floating--ZIndex);
26106
26120
  transform: translate(var(--pf-c-slider__value--m-floating--TranslateX), var(--pf-c-slider__value--m-floating--TranslateY));
26107
26121
  }
26108
- .pf-c-slider__value.pf-m-floating .pf-c-input-group {
26109
- align-items: center;
26110
- }
26111
- .pf-c-slider__value.pf-m-floating .pf-c-input-group__text {
26112
- position: absolute;
26113
- left: 100%;
26114
- }
26115
26122
  .pf-c-slider__value .pf-c-form-control {
26116
26123
  width: var(--pf-c-slider__value--c-form-control--Width);
26117
26124
  }