@conduction/components 2.1.2 → 2.1.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.
package/README.md CHANGED
@@ -4,7 +4,8 @@
4
4
 
5
5
  - **Version 2.1 (breaking changes from 2.0.x)**
6
6
 
7
- - 2.1.2: REVERT 2.1.1 and 2.1.0
7
+ - 2.1.3: Export IKeyValue from CreateKeyValue component.
8
+ - 2.1.2: REVERT 2.1.1 and 2.1.0.
8
9
  - 2.1.1: Deploy issues.
9
10
  - 2.1.0: InputDate now includes Den Haag InputDate component, requiring react-hook-form controls.
10
11
 
@@ -9,7 +9,7 @@ interface CreateKeyValueProps {
9
9
  control: Control<FieldValues, any>;
10
10
  defaultValue?: IKeyValue[];
11
11
  }
12
- interface IKeyValue {
12
+ export interface IKeyValue {
13
13
  key: string;
14
14
  value: string;
15
15
  }
@@ -3,5 +3,5 @@ import { Textarea } from "./textarea";
3
3
  import { InputCheckbox } from "./checkbox";
4
4
  import { InputRadio } from "./radio";
5
5
  import { SelectSingle, SelectMultiple, SelectCreate } from "./select/select";
6
- import { CreateKeyValue } from "./createKeyValue/CreateKeyValue";
7
- export { InputRadio, InputText, InputPassword, InputEmail, InputURL, InputDate, InputDateTime, InputNumber, InputCheckbox, InputFile, Textarea, SelectSingle, SelectMultiple, SelectCreate, CreateKeyValue, };
6
+ import { CreateKeyValue, IKeyValue } from "./createKeyValue/CreateKeyValue";
7
+ export { InputRadio, InputText, InputPassword, InputEmail, InputURL, InputDate, InputDateTime, InputNumber, InputCheckbox, InputFile, Textarea, SelectSingle, SelectMultiple, SelectCreate, CreateKeyValue, IKeyValue, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/components",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -14,7 +14,7 @@ interface CreateKeyValueProps {
14
14
  defaultValue?: IKeyValue[];
15
15
  }
16
16
 
17
- interface IKeyValue {
17
+ export interface IKeyValue {
18
18
  key: string;
19
19
  value: string;
20
20
  }
@@ -12,7 +12,7 @@ import { Textarea } from "./textarea";
12
12
  import { InputCheckbox } from "./checkbox";
13
13
  import { InputRadio } from "./radio";
14
14
  import { SelectSingle, SelectMultiple, SelectCreate } from "./select/select";
15
- import { CreateKeyValue } from "./createKeyValue/CreateKeyValue";
15
+ import { CreateKeyValue, IKeyValue } from "./createKeyValue/CreateKeyValue";
16
16
 
17
17
  export {
18
18
  InputRadio,
@@ -30,4 +30,5 @@ export {
30
30
  SelectMultiple,
31
31
  SelectCreate,
32
32
  CreateKeyValue,
33
+ IKeyValue,
33
34
  };