@netu-si/netu-react-dsf-components 1.0.35 → 2.0.0

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.d.ts CHANGED
@@ -514,6 +514,7 @@ interface DSFFileUploadProps extends React.InputHTMLAttributes<HTMLInputElement>
514
514
  acceptedFormats?: string;
515
515
  name?: string;
516
516
  isTitle?: boolean;
517
+ hideInput?: boolean;
517
518
  onChange?: React.ChangeEventHandler<HTMLInputElement>;
518
519
  }
519
520
  declare const DSFFileUpload: ForwardRefExoticComponent<DSFFileUploadProps & RefAttributes<HTMLInputElement>>;
@@ -651,4 +652,5 @@ declare const DSFDatePicker: {
651
652
  displayName: string;
652
653
  };
653
654
 
654
- export { DSFBackLink, DSFBeforeMainContainer, DSFBodyEndContainer, DSFBodyStartContainer, DSFButton, DSFCheckbox, DSFCookies$1 as DSFCookies, DSFCookies as DSFCookiesV3, DSFDateInput, DSFDateInputProps, DSFDatePicker, DSFDatePickerProps, DSFErrorSummary, DSFErrorSummaryProps, DSFErrorText, DSFFieldSet, DSFFileUpload, DSFFooter, DSFFooterProps, DSFFormGroup, DSFHeader, DSFHintText, DSFInput, DSFInputField, DSFInputProps, DSFLabel, DSFLoadingBox, DSFMain, DSFPage, DSFPanel, PanelEnum as DSFPanelEnum, DSFRadio, DSFSelect, DSFSkipLink, DSFSummaryList, DSFSummaryListItem, DSFSummaryListProps, DSFTable, DSFTableColumn, DSFTableProps, DSFTextArea, DSFTextAreaProps, DSFUserSignOut, DSFWarningText, IFooterLink };
655
+ export { DSFBackLink, DSFBeforeMainContainer, DSFBodyEndContainer, DSFBodyStartContainer, DSFButton, DSFCheckbox, DSFCookies$1 as DSFCookies, DSFCookies as DSFCookiesV3, DSFDateInput, DSFDatePicker, DSFErrorSummary, DSFErrorText, DSFFieldSet, DSFFileUpload, DSFFooter, DSFFormGroup, DSFHeader, DSFHintText, DSFInput, DSFInputField, DSFLabel, DSFLoadingBox, DSFMain, DSFPage, DSFPanel, PanelEnum as DSFPanelEnum, DSFRadio, DSFSelect, DSFSkipLink, DSFSummaryList, DSFTable, DSFTextArea, DSFUserSignOut, DSFWarningText };
656
+ export type { DSFDateInputProps, DSFDatePickerProps, DSFErrorSummaryProps, DSFFooterProps, DSFInputProps, DSFSummaryListItem, DSFSummaryListProps, DSFTableColumn, DSFTableProps, DSFTextAreaProps, IFooterLink };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netu-si/netu-react-dsf-components",
3
- "version": "1.0.35",
3
+ "version": "2.0.0",
4
4
  "description": "React Component Library Using the GOV-CY DSF Design System",
5
5
  "repository": "https://github.com/netu-si/netu-react-dsf-components.git",
6
6
  "homepage": "https://github.com/netu-si/netu-react-dsf-components#readme",
@@ -26,67 +26,67 @@
26
26
  "docs": "yarn docs:components && node scripts/concat-readme.js"
27
27
  },
28
28
  "dependencies": {
29
- "@types/jquery": "^3.5.30",
29
+ "@types/jquery": "^3.5.33",
30
30
  "help": "^3.0.2",
31
31
  "jquery": "^3.7.1",
32
- "react-bootstrap-icons": "^1.11.4"
32
+ "react-bootstrap-icons": "^1.11.6"
33
33
  },
34
34
  "peerDependencies": {
35
- "react": "^18.3.1",
36
- "react-dom": "^18.3.1",
37
- "react-hook-form": "^7.52.1"
35
+ "react": "^19.0.0",
36
+ "react-dom": "^19.0.0",
37
+ "react-hook-form": "^7.70.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@babel/preset-env": "^7.22.9",
41
- "@babel/preset-react": "^7.22.5",
42
- "@babel/preset-typescript": "^7.22.5",
40
+ "@babel/preset-env": "^7.28.5",
41
+ "@babel/preset-react": "^7.28.5",
42
+ "@babel/preset-typescript": "^7.28.5",
43
43
  "@netu-si/api-docs": "file:local-packages/api-docs",
44
- "@rollup/plugin-commonjs": "^25.0.2",
45
- "@rollup/plugin-node-resolve": "^15.1.0",
44
+ "@rollup/plugin-commonjs": "^29.0.0",
45
+ "@rollup/plugin-node-resolve": "^16.0.3",
46
46
  "@rollup/plugin-terser": "^0.4.4",
47
- "@rollup/plugin-typescript": "^11.1.2",
48
- "@storybook/addon-essentials": "7.0.27",
49
- "@storybook/addon-interactions": "7.0.27",
50
- "@storybook/addon-links": "7.0.27",
51
- "@storybook/blocks": "7.0.27",
52
- "@storybook/react": "7.0.27",
53
- "@storybook/react-webpack5": "7.0.27",
54
- "@storybook/testing-library": "0.2.0",
55
- "@types/react": "18.3.18",
56
- "@types/react-dom": "18.3.5",
57
- "@typescript-eslint/eslint-plugin": "^6.21.0",
58
- "@typescript-eslint/parser": "^6.0.0",
47
+ "@rollup/plugin-typescript": "^12.3.0",
48
+ "@storybook/addon-docs": "^10.1.11",
49
+ "@storybook/addon-links": "^10.1.11",
50
+ "@storybook/react": "^10.1.11",
51
+ "@storybook/react-vite": "^10.1.11",
52
+ "@types/react": "19.2.8",
53
+ "@types/react-dom": "19.2.3",
54
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
55
+ "@typescript-eslint/parser": "^8.52.0",
56
+ "@vitest/mocker": "^4.0.16",
59
57
  "can-npm-publish": "^1.3.6",
60
58
  "concat": "^1.0.3",
61
- "eslint": "8.54.0",
62
- "eslint-config-airbnb": "^19.0.4",
63
- "eslint-config-airbnb-typescript": "^17.1.0",
64
- "eslint-plugin-cypress": "^2.13.3",
65
- "eslint-plugin-flowtype": "^8.0.3",
66
- "eslint-plugin-import": "^2.27.5",
67
- "eslint-plugin-jsx-a11y": "^6.7.1",
68
- "eslint-plugin-no-only-tests": "^3.1.0",
69
- "eslint-config-prettier": "10.0.1",
70
- "eslint-plugin-prettier": "^5.2.3",
71
- "prettier": "3.4.2",
72
- "eslint-plugin-react": "^7.32.2",
73
- "eslint-plugin-react-hooks": "^4.6.0",
74
- "eslint-plugin-storybook": "^0.6.12",
75
- "gh-pages": "^5.0.0",
59
+ "eslint": "9.39.2",
60
+ "eslint-config-prettier": "10.1.8",
61
+ "eslint-plugin-cypress": "^5.2.1",
62
+ "eslint-plugin-import": "^2.32.0",
63
+ "eslint-plugin-jsx-a11y": "^6.10.2",
64
+ "eslint-plugin-no-only-tests": "^3.3.0",
65
+ "eslint-plugin-prettier": "^5.5.4",
66
+ "eslint-plugin-react": "^7.37.5",
67
+ "eslint-plugin-react-hooks": "^7.0.1",
68
+ "eslint-plugin-storybook": "^10.1.11",
69
+ "gh-pages": "^6.3.0",
76
70
  "hex-rgb": "^5.0.0",
77
- "next": "^14.2.11",
78
- "postcss-import": "^16.1.0",
71
+ "postcss-import": "^16.1.1",
72
+ "prettier": "3.7.4",
79
73
  "prop-types": "15.8.1",
74
+ "react-hook-form": "^7.71.0",
75
+ "react-router-dom": "^7.12.0",
80
76
  "react-transition-group": "^4.4.5",
81
- "remark-gfm": "^3.0.1",
82
- "rimraf": "^5.0.1",
83
- "rollup": "^3.29.4",
84
- "rollup-plugin-dts": "^5.3.0",
77
+ "remark-gfm": "^4.0.1",
78
+ "rimraf": "^6.1.2",
79
+ "rollup": "^4.55.1",
80
+ "rollup-plugin-dts": "^6.3.0",
85
81
  "rollup-plugin-peer-deps-external": "^2.2.4",
86
82
  "rollup-plugin-postcss": "^4.0.2",
87
- "storybook": "7.0.27",
88
- "storybook-addon-react-router-v6": "^1.0.2",
89
- "styled-components": "^6.0.4",
90
- "typescript": "^5.7.3"
83
+ "storybook": "^10.1.11",
84
+ "storybook-addon-remix-react-router": "^6.0.0",
85
+ "styled-components": "^6.3.5",
86
+ "typescript": "^5.9.3",
87
+ "vite": "^7.3.1"
88
+ },
89
+ "overrides": {
90
+ "react-inspector": "^6.0.2"
91
91
  }
92
92
  }