ublo-lib 1.47.107 → 1.47.108

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.
@@ -101,6 +101,8 @@ function getTag(type) {
101
101
  return Checkbox;
102
102
  case "number":
103
103
  return NumberPicker;
104
+ case "input-number":
105
+ return Input;
104
106
  default:
105
107
  return Input;
106
108
  }
@@ -129,6 +131,9 @@ function getProps(type, name, className, data, required, placeholder, autoSizing
129
131
  if (type === "number") {
130
132
  return { withInput: true, onChange, min, max, ...commonProps };
131
133
  }
134
+ if (type === "input-number") {
135
+ return { type: "number", onValueChange: onChange, ...commonProps };
136
+ }
132
137
  return { type, onValueChange: onChange, ...commonProps };
133
138
  }
134
139
  function getLabel(lang, label, required) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.47.107",
3
+ "version": "1.47.108",
4
4
  "peerDependencies": {
5
5
  "classnames": "^2.5.1",
6
6
  "dt-design-system": "^3.12.0",