@woosmap/ui 4.236.8 → 4.236.10

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": "@woosmap/ui",
3
- "version": "4.236.8",
3
+ "version": "4.236.10",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -235,7 +235,7 @@ export default class Input extends Component {
235
235
  }
236
236
 
237
237
  Input.propTypes = {
238
- value: PropTypes.string,
238
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
239
239
  size: PropTypes.oneOf(['large', 'normal', 'small', 'mini']),
240
240
  isFilter: PropTypes.bool,
241
241
  isNoBorder: PropTypes.bool,
@@ -251,7 +251,18 @@ Input.propTypes = {
251
251
  checked: PropTypes.bool,
252
252
  isFocusedDefault: PropTypes.bool,
253
253
  className: PropTypes.string,
254
- type: PropTypes.oneOf(['text', 'password', 'tel', 'email', 'checkbox', 'textarea', 'radio', 'number', 'search']),
254
+ type: PropTypes.oneOf([
255
+ 'text',
256
+ 'password',
257
+ 'tel',
258
+ 'email',
259
+ 'checkbox',
260
+ 'textarea',
261
+ 'radio',
262
+ 'number',
263
+ 'search',
264
+ 'color',
265
+ ]),
255
266
  onChange: PropTypes.func,
256
267
  onBlur: PropTypes.func,
257
268
  onFocus: PropTypes.func,