orcs-design-system 3.5.16 → 3.5.17

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.
@@ -112,7 +112,7 @@ const TextInput = /*#__PURE__*/React.forwardRef((props, ref) => {
112
112
  htmlFor: id,
113
113
  mandatory: mandatory,
114
114
  children: label
115
- }) : null, numberProps ? /*#__PURE__*/_jsx(NumberInput, _objectSpread(_objectSpread({
115
+ }) : null, numberProps ? /*#__PURE__*/_jsx(NumberInput, _objectSpread(_objectSpread(_objectSpread({
116
116
  getInputRef: getNumberInputRef,
117
117
  "data-testid": props["data-testid"],
118
118
  id: id,
@@ -120,10 +120,10 @@ const TextInput = /*#__PURE__*/React.forwardRef((props, ref) => {
120
120
  "aria-invalid": invalid !== null && invalid !== void 0 ? invalid : undefined,
121
121
  invalid: invalid,
122
122
  valid: valid
123
- }, rest), {}, {
124
- type: "text",
123
+ }, rest), numberProps), {}, {
124
+ type: numberProps.type != null ? numberProps.type : rest.type === "number" ? "text" : rest.type || "text",
125
125
  height: height
126
- }, numberProps)) : /*#__PURE__*/_jsx(Input, _objectSpread({
126
+ })) : /*#__PURE__*/_jsx(Input, _objectSpread({
127
127
  "data-testid": props["data-testid"],
128
128
  height: height,
129
129
  ref: inputRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orcs-design-system",
3
- "version": "3.5.16",
3
+ "version": "3.5.17",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },