@patternfly/react-core 4.267.8 → 4.267.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "4.267.8",
3
+ "version": "4.267.9",
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",
@@ -71,5 +71,5 @@
71
71
  "react": "^16.8 || ^17 || ^18",
72
72
  "react-dom": "^16.8 || ^17 || ^18"
73
73
  },
74
- "gitHead": "7e065917a0db61f3b4e4a8b6014e9b0e181e0dde"
74
+ "gitHead": "2a086cbdd80796d19510e2ea14eb86188ea9e6db"
75
75
  }
@@ -326,7 +326,10 @@ export const Slider: React.FunctionComponent<SliderProps> = ({
326
326
  return (
327
327
  <InputGroup>
328
328
  {textInput}
329
- <InputGroupText variant="plain"> {inputLabel}</InputGroupText>
329
+ <InputGroupText {...(isDisabled && { className: css(styles.modifiers.disabled) })}>
330
+ {' '}
331
+ {inputLabel}
332
+ </InputGroupText>
330
333
  </InputGroup>
331
334
  );
332
335
  } else {
@@ -424,7 +424,7 @@ exports[`slider renders slider with input 1`] = `
424
424
  value="50"
425
425
  />
426
426
  <span
427
- class="pf-c-input-group__text pf-m-plain"
427
+ class="pf-c-input-group__text"
428
428
  >
429
429
  %
430
430
  </span>
@@ -503,7 +503,7 @@ exports[`slider renders slider with input above thumb 1`] = `
503
503
  value="50"
504
504
  />
505
505
  <span
506
- class="pf-c-input-group__text pf-m-plain"
506
+ class="pf-c-input-group__text"
507
507
  >
508
508
  %
509
509
  </span>