@ukhomeoffice/cop-react-form-renderer 8.0.7-alpha → 8.0.7-alpha.2

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 (33) hide show
  1. package/dist/components/CollectionPage/CollectionPage.d.ts +1 -1
  2. package/dist/components/CollectionSummary/BannerStrip.d.ts +1 -1
  3. package/dist/components/CollectionSummary/CollectionSummary.d.ts +1 -1
  4. package/dist/components/CollectionSummary/Confirmation.d.ts +1 -1
  5. package/dist/components/CollectionSummary/RenderListView.d.ts +1 -1
  6. package/dist/components/CollectionSummary/SummaryCard.d.ts +1 -1
  7. package/dist/components/CollectionSummary/SummaryCardButtons.d.ts +1 -1
  8. package/dist/components/CollectionSummary/SummaryCardValidationContext.d.ts +1 -1
  9. package/dist/components/FormComponent/Collection.d.ts +1 -1
  10. package/dist/components/FormComponent/Container.d.ts +1 -1
  11. package/dist/components/FormPage/FormPage.d.ts +1 -1
  12. package/dist/components/FormRenderer/FormRenderer.d.ts +3 -1
  13. package/dist/components/PageActions/ActionButton.d.ts +1 -1
  14. package/dist/components/PageActions/PageActions.d.ts +1 -1
  15. package/dist/components/SummaryList/GroupAction.d.ts +1 -1
  16. package/dist/components/SummaryList/RowAction.d.ts +1 -1
  17. package/dist/components/SummaryList/SummaryList.d.ts +1 -1
  18. package/dist/components/SummaryList/SummaryList.stories.d.ts +1 -1
  19. package/dist/components/SummaryList/SummaryListHeadingRow.d.ts +1 -1
  20. package/dist/components/SummaryList/SummaryListHeadingRowWithAction.d.ts +1 -1
  21. package/dist/components/SummaryList/SummaryListRow.d.ts +1 -1
  22. package/dist/components/SummaryList/SummaryListTitleRow.d.ts +1 -1
  23. package/dist/components/TaskList/Task.d.ts +1 -1
  24. package/dist/components/TaskList/TaskList.d.ts +1 -1
  25. package/dist/components/TaskList/TaskState.d.ts +1 -1
  26. package/dist/context/HooksContext/HooksContext.d.ts +1 -1
  27. package/dist/context/ValidationContext/ValidationContext.d.ts +1 -1
  28. package/dist/index.cjs +11 -11
  29. package/dist/index.css +1 -1
  30. package/dist/index.js +5902 -6656
  31. package/dist/utils/CheckYourAnswers/getCYARowForGroup.d.ts +1 -1
  32. package/dist/utils/CheckYourAnswers/getSummaryListRowForDetails.d.ts +1 -1
  33. package/package.json +17 -19
@@ -4,7 +4,7 @@ declare const getCYARowForGroup: (page: any, group: any, rows: any, onAction: an
4
4
  fieldId: any;
5
5
  key: any;
6
6
  required: any;
7
- value: import("react/jsx-runtime").JSX.Element;
7
+ value: import('react/jsx-runtime').JSX.Element;
8
8
  action: {
9
9
  page: any;
10
10
  label: any;
@@ -1,3 +1,3 @@
1
1
  import { Utils } from '@ukhomeoffice/cop-react-components';
2
- declare const getSummaryListRowForDetails: (page: any, component: any, customClasses: ReturnType<typeof Utils.classBuilder>, entryData: any, optionalFieldPlaceholder: any) => import("react/jsx-runtime").JSX.Element;
2
+ declare const getSummaryListRowForDetails: (page: any, component: any, customClasses: ReturnType<typeof Utils.classBuilder>, entryData: any, optionalFieldPlaceholder: any) => import('react/jsx-runtime').JSX.Element;
3
3
  export default getSummaryListRowForDetails;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ukhomeoffice/cop-react-form-renderer",
3
- "version": "8.0.7-alpha",
3
+ "version": "8.0.7-alpha.2",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc -b && vite build",
@@ -18,10 +18,9 @@
18
18
  "lib:yalc-publish": "npm run lib:transpile-with-maps && yalc publish --push --force"
19
19
  },
20
20
  "dependencies": {
21
- "@ukhomeoffice/cop-react-components": "6.0.2",
21
+ "@ukhomeoffice/cop-react-components": "6.0.3-alpha",
22
22
  "dayjs": "1.11.0",
23
23
  "govuk-frontend": "5.9.0",
24
- "monaco-editor": "0.53.0",
25
24
  "uuid": "14.0.0"
26
25
  },
27
26
  "peerDependencies": {
@@ -31,12 +30,11 @@
31
30
  "devDependencies": {
32
31
  "@chromatic-com/storybook": "5.0.1",
33
32
  "@eslint/js": "9.39.1",
34
- "@monaco-editor/react": "4.7.0",
35
- "@storybook/addon-a11y": "10.2.19",
36
- "@storybook/addon-docs": "10.2.19",
37
- "@storybook/addon-onboarding": "10.2.19",
38
- "@storybook/addon-vitest": "10.2.19",
39
- "@storybook/react-vite": "10.2.19",
33
+ "@storybook/addon-a11y": "10.6.1",
34
+ "@storybook/addon-docs": "10.6.1",
35
+ "@storybook/addon-onboarding": "10.6.1",
36
+ "@storybook/addon-vitest": "10.6.1",
37
+ "@storybook/react-vite": "10.6.1",
40
38
  "@storybook/storybook-deployer": "2.8.16",
41
39
  "@testing-library/dom": "10.4.1",
42
40
  "@testing-library/react": "16.3.2",
@@ -46,9 +44,9 @@
46
44
  "@types/sanitize-html": "2.16.0",
47
45
  "@types/trusted-types": "2.0.7",
48
46
  "@vitejs/plugin-react": "5.2.0",
49
- "@vitest/browser-playwright": "4.1.11",
50
- "@vitest/coverage-v8": "4.1.11",
51
- "axios": "1.18.0",
47
+ "@vitest/browser-playwright": "5.0.3",
48
+ "@vitest/coverage-v8": "5.0.3",
49
+ "axios": "1.20.0",
52
50
  "axios-mock-adapter": "2.1.0",
53
51
  "better-npm-audit": "3.11.0",
54
52
  "cross-env": "10.1.0",
@@ -57,26 +55,26 @@
57
55
  "eslint-plugin-react-hooks": "7.0.1",
58
56
  "eslint-plugin-react-refresh": "0.4.24",
59
57
  "eslint-plugin-react-x": "2.5.3",
60
- "eslint-plugin-storybook": "10.2.19",
58
+ "eslint-plugin-storybook": "10.6.1",
61
59
  "globals": "16.5.0",
62
60
  "jsdom": "28.1.0",
61
+ "json-edit-react": "1.30.2",
63
62
  "playwright": "1.57.0",
64
63
  "prop-types": "15.8.1",
65
64
  "react": "19.2.4",
66
65
  "react-dom": "19.2.4",
67
66
  "react-test-renderer": "19.2.4",
68
- "rimraf": "6.1.2",
67
+ "rimraf": "6.1.3",
69
68
  "rollup-plugin-copy": "3.5.0",
70
69
  "sass-embedded": "1.97.3",
71
- "storybook": "10.2.19",
72
- "storybook-addon-mock": "6.0.1",
70
+ "storybook": "10.6.1",
73
71
  "typescript": "5.9.3",
74
72
  "typescript-eslint": "8.46.4",
75
- "vite": "7.3.5",
76
- "vite-plugin-dts": "4.5.4",
73
+ "vite": "8.3.3",
74
+ "vite-plugin-dts": "5.1.2",
77
75
  "vite-plugin-lib-inject-css": "2.2.2",
78
76
  "vite-tsconfig-paths": "6.1.1",
79
- "vitest": "4.1.11"
77
+ "vitest": "5.0.3"
80
78
  },
81
79
  "type": "module",
82
80
  "main": "./dist/index.cjs",