@gen-epix/ui-core-components 4.0.2 → 4.2.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.
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "translation": {
3
+ "(last modified: {{lastModified}})": "(last modified: {{lastModified}})",
4
+ "(size: {{size}})": "(size: {{size}})",
3
5
  "Cancel": "Cancel",
6
+ "Choose File": "Choose File",
7
+ "Clear {{fileName}}": "Clear {{fileName}}",
8
+ "Clear all selected files": "Clear all selected files",
9
+ "Click or drag to replace": "Click or drag to replace",
10
+ "Click or drag to upload file ({{accept}})": "Click or drag to upload file ({{accept}})",
11
+ "Click or drag to upload files ({{accept}})": "Click or drag to upload files ({{accept}})",
4
12
  "Close": "Close",
5
13
  "Close dialog": "Close dialog",
6
14
  "Close dialog with title: {{title}}": "Close dialog with title: {{title}}",
@@ -8,11 +16,17 @@
8
16
  "Copied to clipboard": "Copied to clipboard",
9
17
  "Copy to clipboard": "Copy to clipboard",
10
18
  "Current: ": "Current: ",
19
+ "Drag & drop your file here, or click to browse": "Drag & drop your file here, or click to browse",
20
+ "Drop file here": "Drop file here",
21
+ "Drop files here": "Drop files here",
11
22
  "Error": "Error",
23
+ "Invalid file type. Accepted types: {{accept}}": "Invalid file type. Accepted types: {{accept}}",
12
24
  "Loading": "Loading",
13
25
  "Menu": "Menu",
14
26
  "OK": "OK",
15
27
  "Optional": "Optional",
16
- "This is taking longer than expected. We are still trying.": "This is taking longer than expected. We are still trying."
28
+ "Selected files: {{numFiles}}": "Selected files: {{numFiles}}",
29
+ "This is taking longer than expected. We are still trying.": "This is taking longer than expected. We are still trying.",
30
+ "Too many files selected. Maximum allowed: {{numFilesAllowed}}": "Too many files selected. Maximum allowed: {{numFilesAllowed}}"
17
31
  }
18
32
  }
@@ -1,6 +1,14 @@
1
1
  {
2
2
  "translation": {
3
+ "(last modified: {{lastModified}})": "(laatst gewijzigd: {{lastModified}})",
4
+ "(size: {{size}})": "(grootte: {{size}})",
3
5
  "Cancel": "Annuleren",
6
+ "Choose File": "Bestand kiezen",
7
+ "Clear {{fileName}}": "{{fileName}} wissen",
8
+ "Clear all selected files": "Alle geselecteerde bestanden wissen",
9
+ "Click or drag to replace": "Klik of sleep om te vervangen",
10
+ "Click or drag to upload file ({{accept}})": "Klik of sleep om bestand te uploaden ({{accept}})",
11
+ "Click or drag to upload files ({{accept}})": "Klik of sleep om bestanden te uploaden ({{accept}})",
4
12
  "Close": "Sluiten",
5
13
  "Close dialog": "Dialoog sluiten",
6
14
  "Close dialog with title: {{title}}": "Dialoog met titel {{title}} sluiten",
@@ -8,11 +16,17 @@
8
16
  "Copied to clipboard": "Gekopieerd naar klembord",
9
17
  "Copy to clipboard": "Kopieer naar klembord",
10
18
  "Current: ": "Huidig: ",
19
+ "Drag & drop your file here, or click to browse": "Sleep uw bestand hierheen, of klik om te bladeren",
20
+ "Drop file here": "Zet bestand hier neer",
21
+ "Drop files here": "Zet bestanden hier neer",
11
22
  "Error": "Fout",
23
+ "Invalid file type. Accepted types: {{accept}}": "Ongeldig bestandstype. Toegestane typen: {{accept}}",
12
24
  "Loading": "Laden",
13
25
  "Menu": "Menu",
14
26
  "OK": "OK",
15
27
  "Optional": "Optioneel",
16
- "This is taking longer than expected. We are still trying.": "Dit duurt langer dan verwacht. We proberen het nog steeds."
28
+ "Selected files: {{numFiles}}": "Geselecteerde bestanden: {{numFiles}}",
29
+ "This is taking longer than expected. We are still trying.": "Dit duurt langer dan verwacht. We proberen het nog steeds.",
30
+ "Too many files selected. Maximum allowed: {{numFilesAllowed}}": "Te veel bestanden geselecteerd. Maximaal toegestaan: {{numFilesAllowed}}"
17
31
  }
18
- }
32
+ }
package/package.json CHANGED
@@ -1,23 +1,14 @@
1
1
  {
2
2
  "name": "@gen-epix/ui-core-components",
3
- "version": "4.0.2",
4
- "license": "EUPL-1.2",
3
+ "version": "4.2.0",
4
+ "homepage": "https://github.com/RIVM-bioinformatics/gen-epix",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/RIVM-bioinformatics/gen-epix-ui.git"
8
8
  },
9
+ "license": "EUPL-1.2",
9
10
  "author": "RIVM-bioinformatics <ids-bioinformatics@rivm.nl>",
10
- "homepage": "https://github.com/RIVM-bioinformatics/gen-epix",
11
11
  "type": "module",
12
- "files": [
13
- "dist"
14
- ],
15
- "publishConfig": {
16
- "files": [
17
- "dist"
18
- ],
19
- "access": "public"
20
- },
21
12
  "exports": {
22
13
  "./components/BackdropSpinner": {
23
14
  "types": "./dist/components/BackdropSpinner/index.d.ts",
@@ -35,6 +26,10 @@
35
26
  "types": "./dist/components/Dialog/index.d.ts",
36
27
  "import": "./dist/components/Dialog/index.js"
37
28
  },
29
+ "./components/FileDropZone": {
30
+ "types": "./dist/components/FileDropZone/index.d.ts",
31
+ "import": "./dist/components/FileDropZone/index.js"
32
+ },
38
33
  "./components/LinearProgressWithLabel": {
39
34
  "types": "./dist/components/LinearProgressWithLabel/index.d.ts",
40
35
  "import": "./dist/components/LinearProgressWithLabel/index.js"
@@ -43,6 +38,10 @@
43
38
  "types": "./dist/components/LoadingIndicator/index.d.ts",
44
39
  "import": "./dist/components/LoadingIndicator/index.js"
45
40
  },
41
+ "./components/MultiFileUploader": {
42
+ "types": "./dist/components/MultiFileUploader/index.d.ts",
43
+ "import": "./dist/components/MultiFileUploader/index.js"
44
+ },
46
45
  "./components/NestedMenu": {
47
46
  "types": "./dist/components/NestedMenu/index.d.ts",
48
47
  "import": "./dist/components/NestedMenu/index.js"
@@ -68,55 +67,66 @@
68
67
  "import": "./dist/models/nestedMenu.js"
69
68
  }
70
69
  },
71
- "peerDependencies": {
72
- "@gen-epix/ui-core": "^3.0.2",
73
- "@mui/icons-material": "*",
74
- "@mui/material": "*",
75
- "@mui/utils": "*",
76
- "i18next": "*",
77
- "react": "*",
78
- "react-i18next": "*"
79
- },
70
+ "files": [
71
+ "dist"
72
+ ],
73
+ "browserslist": [
74
+ "last 2 Chrome versions"
75
+ ],
80
76
  "dependencies": {
77
+ "date-fns": "4.4.0",
81
78
  "lodash": "4.18.1",
82
- "react-hook-form": "7.87.0",
83
79
  "use-cleanup-callback": "1.3.0",
84
80
  "use-debounce": "10.1.1",
85
81
  "uuid": "14.0.2"
86
82
  },
87
83
  "devDependencies": {
88
84
  "@gen-epix/eslint-config": "0.5.0",
89
- "@gen-epix/ui-core": "^3.0.2",
90
85
  "@gen-epix/translation-util": "0.2.0",
86
+ "@gen-epix/ui-core": "^3.2.0",
91
87
  "@mui/icons-material": "9.4.0",
92
88
  "@mui/material": "9.4.0",
93
89
  "@mui/utils": "9.4.0",
94
90
  "@types/lodash": "4.17.25",
95
- "@types/react": "19.2.18",
96
- "eslint": "10.9.1",
97
- "i18next": "26.4.1",
98
- "react": "19.2.8",
91
+ "@types/react": "19.3.0",
92
+ "eslint": "10.10.0",
93
+ "i18next": "26.4.2",
94
+ "react": "19.3.0",
95
+ "react-hook-form": "7.87.0",
99
96
  "react-i18next": "17.0.13",
100
97
  "typescript": "6.0.3",
98
+ "vite": "8.2.2",
101
99
  "vite-plugin-dts": "5.1.0",
102
100
  "vite-plugin-static-copy": "4.1.1",
103
- "vite": "8.2.2",
104
- "vitest": "4.1.11"
101
+ "vitest": "5.0.0"
102
+ },
103
+ "peerDependencies": {
104
+ "@gen-epix/ui-core": "^3.2.0",
105
+ "@mui/icons-material": "*",
106
+ "@mui/material": "*",
107
+ "@mui/utils": "*",
108
+ "i18next": "*",
109
+ "react": "*",
110
+ "react-hook-form": "*",
111
+ "react-i18next": "*"
112
+ },
113
+ "publishConfig": {
114
+ "access": "public",
115
+ "files": [
116
+ "dist"
117
+ ]
105
118
  },
106
- "browserslist": [
107
- "last 2 Chrome versions"
108
- ],
109
119
  "scripts": {
110
- "test-missing-translations": "translation-util ./ --dry-run --fail-on-missing --fail-on-stale",
111
120
  "add-missing-translations": "translation-util ./",
112
- "update-exports": "node scripts/update-exports.js",
113
121
  "build": "vite build",
114
122
  "build-publish": "pnpm build && pnpm publish --access=public",
115
- "validate": "pnpm run lint && pnpm run check-types && pnpm run test-run",
116
- "test": "vitest --coverage",
117
- "test-run": "vitest run --passWithNoTests --coverage",
123
+ "check-types": "tsc --noemit",
118
124
  "lint": "eslint ./src --report-unused-disable-directives --max-warnings 0",
119
125
  "lint-fix": "eslint ./src --report-unused-disable-directives --max-warnings 0 --fix",
120
- "check-types": "tsc --noemit"
126
+ "test": "vitest --coverage",
127
+ "test-missing-translations": "translation-util ./ --dry-run --fail-on-missing --fail-on-stale",
128
+ "test-run": "vitest run --passWithNoTests --coverage",
129
+ "update-exports": "node scripts/update-exports.js",
130
+ "validate": "pnpm run lint && pnpm run check-types && pnpm run test-run"
121
131
  }
122
132
  }