@dhis2-ui/input 10.1.3 → 10.1.5

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/types/index.d.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/input",
3
- "version": "10.1.3",
3
+ "version": "10.1.5",
4
4
  "description": "UI Input",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,13 +33,13 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@dhis2/prop-types": "^3.1.2",
36
- "@dhis2-ui/box": "10.1.3",
37
- "@dhis2-ui/field": "10.1.3",
38
- "@dhis2-ui/input": "10.1.3",
39
- "@dhis2-ui/loader": "10.1.3",
40
- "@dhis2-ui/status-icon": "10.1.3",
41
- "@dhis2/ui-constants": "10.1.3",
42
- "@dhis2/ui-icons": "10.1.3",
36
+ "@dhis2-ui/box": "10.1.5",
37
+ "@dhis2-ui/field": "10.1.5",
38
+ "@dhis2-ui/input": "10.1.5",
39
+ "@dhis2-ui/loader": "10.1.5",
40
+ "@dhis2-ui/status-icon": "10.1.5",
41
+ "@dhis2/ui-constants": "10.1.5",
42
+ "@dhis2/ui-icons": "10.1.5",
43
43
  "classnames": "^2.3.1",
44
44
  "prop-types": "^15.7.2"
45
45
  },
package/types/index.d.ts CHANGED
@@ -115,6 +115,10 @@ export interface InputProps {
115
115
  * Applies 'warning' appearance for validation feedback. Mutually exclusive with `valid` and `error` props
116
116
  */
117
117
  warning?: boolean
118
+ /**
119
+ * Defines the width of the input. Can be any valid CSS measurement
120
+ */
121
+ width?: string
118
122
  /**
119
123
  * Called with signature `({ name: string, value: string }, event)`
120
124
  */