@trackunit/custom-field-components 1.6.47 → 1.6.49
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +7 -7
- package/src/StringListField/StringListField.d.ts +1 -1
package/index.cjs.js
CHANGED
|
@@ -255,7 +255,7 @@ const StringListInput = ({ value: initialValue, onSave, onDelete, disabled, id,
|
|
|
255
255
|
/**
|
|
256
256
|
* A custom field that displays a list of strings.
|
|
257
257
|
*/
|
|
258
|
-
const StringListField = ({ defaultValue = [], label, description, disabled, validationRules, id, control, register, dataTestId, ...props }) => {
|
|
258
|
+
const StringListField = ({ defaultValue = [], label, description, disabled, validationRules, id, control, register, setValue, dataTestId, ...props }) => {
|
|
259
259
|
const [isEditing, setIsEditing] = react.useState(false);
|
|
260
260
|
const { confirm } = reactCoreHooks.useConfirmationDialog();
|
|
261
261
|
const { t } = useTranslation();
|
package/index.esm.js
CHANGED
|
@@ -253,7 +253,7 @@ const StringListInput = ({ value: initialValue, onSave, onDelete, disabled, id,
|
|
|
253
253
|
/**
|
|
254
254
|
* A custom field that displays a list of strings.
|
|
255
255
|
*/
|
|
256
|
-
const StringListField = ({ defaultValue = [], label, description, disabled, validationRules, id, control, register, dataTestId, ...props }) => {
|
|
256
|
+
const StringListField = ({ defaultValue = [], label, description, disabled, validationRules, id, control, register, setValue, dataTestId, ...props }) => {
|
|
257
257
|
const [isEditing, setIsEditing] = useState(false);
|
|
258
258
|
const { confirm } = useConfirmationDialog();
|
|
259
259
|
const { t } = useTranslation();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/custom-field-components",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.49",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -12,14 +12,14 @@
|
|
|
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.7.
|
|
15
|
+
"@trackunit/react-form-components": "1.7.14",
|
|
16
16
|
"@trackunit/shared-utils": "1.8.33",
|
|
17
|
-
"@trackunit/custom-field-api": "1.6.
|
|
17
|
+
"@trackunit/custom-field-api": "1.6.37",
|
|
18
18
|
"@trackunit/iris-app-runtime-core": "1.7.35",
|
|
19
|
-
"@trackunit/react-components": "1.8.
|
|
20
|
-
"@trackunit/react-modal": "1.6.
|
|
21
|
-
"@trackunit/react-core-hooks": "1.6.
|
|
22
|
-
"@trackunit/i18n-library-translation": "1.6.
|
|
19
|
+
"@trackunit/react-components": "1.8.1",
|
|
20
|
+
"@trackunit/react-modal": "1.6.46",
|
|
21
|
+
"@trackunit/react-core-hooks": "1.6.36",
|
|
22
|
+
"@trackunit/i18n-library-translation": "1.6.37",
|
|
23
23
|
"@trackunit/iris-app-runtime-core-api": "1.6.35",
|
|
24
24
|
"@trackunit/react-test-setup": "1.3.33"
|
|
25
25
|
},
|
|
@@ -16,4 +16,4 @@ export interface StringListFieldProps extends CommonProps {
|
|
|
16
16
|
/**
|
|
17
17
|
* A custom field that displays a list of strings.
|
|
18
18
|
*/
|
|
19
|
-
export declare const StringListField: ({ defaultValue, label, description, disabled, validationRules, id, control, register, dataTestId, ...props }: StringListFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const StringListField: ({ defaultValue, label, description, disabled, validationRules, id, control, register, setValue, dataTestId, ...props }: StringListFieldProps) => import("react/jsx-runtime").JSX.Element;
|