@dhis2-ui/input 8.15.0-alpha.1 → 8.15.0-alpha.3

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 +9 -8
  2. package/types/index.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/input",
3
- "version": "8.15.0-alpha.1",
3
+ "version": "8.15.0-alpha.3",
4
4
  "description": "UI Input",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,6 +13,7 @@
13
13
  "main": "./build/cjs/index.js",
14
14
  "module": "./build/es/index.js",
15
15
  "exports": {
16
+ "types": "./types/index.d.ts",
16
17
  "import": "./build/es/index.js",
17
18
  "require": "./build/cjs/index.js"
18
19
  },
@@ -32,13 +33,13 @@
32
33
  },
33
34
  "dependencies": {
34
35
  "@dhis2/prop-types": "^3.1.2",
35
- "@dhis2-ui/box": "8.15.0-alpha.1",
36
- "@dhis2-ui/field": "8.15.0-alpha.1",
37
- "@dhis2-ui/input": "8.15.0-alpha.1",
38
- "@dhis2-ui/loader": "8.15.0-alpha.1",
39
- "@dhis2-ui/status-icon": "8.15.0-alpha.1",
40
- "@dhis2/ui-constants": "8.15.0-alpha.1",
41
- "@dhis2/ui-icons": "8.15.0-alpha.1",
36
+ "@dhis2-ui/box": "8.15.0-alpha.3",
37
+ "@dhis2-ui/field": "8.15.0-alpha.3",
38
+ "@dhis2-ui/input": "8.15.0-alpha.3",
39
+ "@dhis2-ui/loader": "8.15.0-alpha.3",
40
+ "@dhis2-ui/status-icon": "8.15.0-alpha.3",
41
+ "@dhis2/ui-constants": "8.15.0-alpha.3",
42
+ "@dhis2/ui-icons": "8.15.0-alpha.3",
42
43
  "classnames": "^2.3.1",
43
44
  "prop-types": "^15.7.2"
44
45
  },
package/types/index.d.ts CHANGED
@@ -16,8 +16,8 @@ export type InputType =
16
16
  | 'search'
17
17
 
18
18
  export interface InputEventPayload {
19
- value?: string
20
- name?: string
19
+ value: string | undefined
20
+ name: string | undefined
21
21
  }
22
22
 
23
23
  export type InputEventHandler<Event extends React.SyntheticEvent> = (