@trackunit/custom-field-components 1.3.212 → 1.3.213

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": "@trackunit/custom-field-components",
3
- "version": "1.3.212",
3
+ "version": "1.3.213",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -12,16 +12,16 @@
12
12
  "react-select": "^5.10.0",
13
13
  "@testing-library/react": "16.2.0",
14
14
  "jest-fetch-mock": "^3.0.3",
15
- "@trackunit/react-form-components": "1.3.195",
16
- "@trackunit/shared-utils": "1.5.140",
17
- "@trackunit/custom-field-api": "1.3.169",
18
- "@trackunit/iris-app-runtime-core": "1.4.150",
19
- "@trackunit/react-components": "1.4.171",
20
- "@trackunit/react-modal": "1.3.187",
21
- "@trackunit/react-core-hooks": "1.3.152",
22
- "@trackunit/i18n-library-translation": "1.3.159",
23
- "@trackunit/iris-app-runtime-core-api": "1.3.150",
24
- "@trackunit/react-test-setup": "1.0.30"
15
+ "@trackunit/react-form-components": "1.3.196",
16
+ "@trackunit/shared-utils": "1.5.141",
17
+ "@trackunit/custom-field-api": "1.3.170",
18
+ "@trackunit/iris-app-runtime-core": "1.4.151",
19
+ "@trackunit/react-components": "1.4.172",
20
+ "@trackunit/react-modal": "1.3.188",
21
+ "@trackunit/react-core-hooks": "1.3.153",
22
+ "@trackunit/i18n-library-translation": "1.3.160",
23
+ "@trackunit/iris-app-runtime-core-api": "1.3.151",
24
+ "@trackunit/react-test-setup": "1.0.31"
25
25
  },
26
26
  "module": "./index.esm.js",
27
27
  "main": "./index.cjs.js",
@@ -13,7 +13,7 @@ export interface DropdownCustomFieldProps extends FormGroupExposedProps {
13
13
  *
14
14
  * @memberof DropdownCustomFieldProps
15
15
  */
16
- defaultValue?: string[];
16
+ defaultValue?: Array<string>;
17
17
  /**
18
18
  * A id that can be used in tests to get the component
19
19
  *
@@ -43,7 +43,7 @@ export interface DropdownCustomFieldProps extends FormGroupExposedProps {
43
43
  *
44
44
  * @memberof DropdownCustomFieldProps
45
45
  */
46
- allValues: string[] | undefined;
46
+ allValues: Array<string> | undefined;
47
47
  /**
48
48
  * Used for field validation by React Hook Form library it dynamically set the value of a registered field and have the options to validate and update the form state. At the same time, it tries to avoid unnecessary rerender.
49
49
  *
@@ -1,7 +1,7 @@
1
1
  import { CommonProps } from "@trackunit/react-components";
2
2
  import { Control, FieldValues, RegisterOptions, UseFormRegister, UseFormSetValue } from "react-hook-form";
3
3
  export interface StringListFieldProps extends CommonProps {
4
- defaultValue?: string[];
4
+ defaultValue?: Array<string>;
5
5
  label: string;
6
6
  helpText?: string;
7
7
  errorMessage?: string;