@patternfly/react-core 4.192.12 → 4.192.16

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.192.12",
3
+ "version": "4.192.16",
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.43.12",
38
- "@patternfly/react-styles": "^4.42.12",
39
- "@patternfly/react-tokens": "^4.44.12",
37
+ "@patternfly/react-icons": "^4.43.16",
38
+ "@patternfly/react-styles": "^4.42.16",
39
+ "@patternfly/react-tokens": "^4.44.16",
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": "8422aef0c69f3f50a7321806c8beeba1ee2df92e"
63
+ "gitHead": "ab8881705440faa1a8f31a49214067790be5c228"
64
64
  }
@@ -3,6 +3,7 @@ import styles from '@patternfly/react-styles/css/components/NumberInput/number-i
3
3
  import { css } from '@patternfly/react-styles';
4
4
  import MinusIcon from '@patternfly/react-icons/dist/esm/icons/minus-icon';
5
5
  import PlusIcon from '@patternfly/react-icons/dist/esm/icons/plus-icon';
6
+ import { InputGroup } from '../InputGroup';
6
7
  import { Button, ButtonProps } from '../Button';
7
8
  import { KEY_CODES } from '../../helpers';
8
9
 
@@ -94,7 +95,7 @@ export const NumberInput: React.FunctionComponent<NumberInputProps> = ({
94
95
  {...props}
95
96
  >
96
97
  {unit && unitPosition === 'before' && numberInputUnit}
97
- <div className={css(styles.inputGroup)}>
98
+ <InputGroup>
98
99
  <Button
99
100
  variant="control"
100
101
  aria-label={minusBtnAriaLabel}
@@ -129,7 +130,7 @@ export const NumberInput: React.FunctionComponent<NumberInputProps> = ({
129
130
  <PlusIcon aria-hidden="true" />
130
131
  </span>
131
132
  </Button>
132
- </div>
133
+ </InputGroup>
133
134
  {unit && unitPosition === 'after' && numberInputUnit}
134
135
  </div>
135
136
  );