@ukhomeoffice/cop-react-form-renderer 8.0.0-alpha.4 → 8.0.0-alpha.6
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/dist/index.cjs +11 -8
- package/dist/index.js +3084 -3422
- package/dist/utils/Component/cleanAttributes.d.ts +1 -1
- package/dist/utils/Component/index.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +4 -2
|
@@ -10,5 +10,5 @@ export declare const JSON_ONLY_PROPERTIES: string[];
|
|
|
10
10
|
* @param {Array} alsoRemove An array of additional properties to remove.
|
|
11
11
|
* @returns A clean(er) JSON object.
|
|
12
12
|
*/
|
|
13
|
-
declare const cleanAttributes: (options: any, alsoRemove?:
|
|
13
|
+
declare const cleanAttributes: (options: any, alsoRemove?: string[]) => {};
|
|
14
14
|
export default cleanAttributes;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
|
-
clean: (options: any, alsoRemove?:
|
|
2
|
+
clean: (options: any, alsoRemove?: string[]) => {};
|
|
3
3
|
defaultValue: (component: any, formData: any) => any;
|
|
4
4
|
defaultValueFromConfig: (component: any, data: any) => any;
|
|
5
5
|
editable: (options: any) => any;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const Utils: {
|
|
|
32
32
|
setData: (collectionName: any, newData: any, formData: any) => void;
|
|
33
33
|
};
|
|
34
34
|
Component: {
|
|
35
|
-
clean: (options: any, alsoRemove?:
|
|
35
|
+
clean: (options: any, alsoRemove?: string[]) => {};
|
|
36
36
|
defaultValue: (component: any, formData: any) => any;
|
|
37
37
|
defaultValueFromConfig: (component: any, data: any) => any;
|
|
38
38
|
editable: (options: any) => any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ukhomeoffice/cop-react-form-renderer",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.6",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": "24.14.1"
|
|
6
6
|
},
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@ukhomeoffice/cop-react-components": "6.0.0",
|
|
28
|
+
"dayjs": "1.11.0",
|
|
28
29
|
"react": ">=16.14.0 <20",
|
|
29
30
|
"react-dom": ">=16.14.0 <20"
|
|
30
31
|
},
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
"@vitejs/plugin-react": "5.1.1",
|
|
46
47
|
"@vitest/browser-playwright": "4.0.16",
|
|
47
48
|
"@vitest/coverage-v8": "4.0.16",
|
|
48
|
-
"axios": "1.
|
|
49
|
+
"axios": "1.15.0",
|
|
49
50
|
"axios-mock-adapter": "2.1.0",
|
|
50
51
|
"better-npm-audit": "3.11.0",
|
|
51
52
|
"cross-env": "10.1.0",
|
|
@@ -63,6 +64,7 @@
|
|
|
63
64
|
"react-dom": "19.2.4",
|
|
64
65
|
"react-test-renderer": "19.2.4",
|
|
65
66
|
"rimraf": "6.1.2",
|
|
67
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
66
68
|
"sass-embedded": "1.97.3",
|
|
67
69
|
"storybook": "10.2.19",
|
|
68
70
|
"storybook-addon-mock": "^6.0.1",
|