@gridsuite/commons-ui 0.82.0 → 0.84.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.
Files changed (77) hide show
  1. package/dist/_mocks_/svg.d.ts +1 -1
  2. package/dist/components/authentication/AuthenticationRouter.js +1 -1
  3. package/dist/components/authentication/Login.js +1 -5
  4. package/dist/components/authentication/authenticationType.d.ts +3 -3
  5. package/dist/components/authentication/utils/authService.d.ts +3 -3
  6. package/dist/components/cardErrorBoundary/CardErrorBoundary.d.ts +1 -1
  7. package/dist/components/checkBoxList/checkBoxList.type.d.ts +7 -8
  8. package/dist/components/contingencyList/criteriaBased/CriteriaBasedForm.d.ts +1 -1
  9. package/dist/components/contingencyList/criteriaBased/criteriaBasedUtils.d.ts +3 -3
  10. package/dist/components/customAGGrid/customAggrid.d.ts +1 -1
  11. package/dist/components/customAGGrid/customAggrid.js +1 -2
  12. package/dist/components/customAGGrid/customAggrid.style.d.ts +2 -2
  13. package/dist/components/dialogs/customMuiDialog/CustomMuiDialog.d.ts +2 -2
  14. package/dist/components/dialogs/modifyElementSelection/ModifyElementSelection.d.ts +1 -1
  15. package/dist/components/directoryItemSelector/DirectoryItemSelector.d.ts +2 -2
  16. package/dist/components/elementSearch/elementItem/EquipmentItem.d.ts +2 -2
  17. package/dist/components/elementSearch/elementSearchInput/ElementSearchInput.d.ts +1 -1
  18. package/dist/components/elementSearch/tagRenderer/TagRenderer.d.ts +1 -1
  19. package/dist/components/filter/FilterCreationDialog.d.ts +1 -1
  20. package/dist/components/filter/FilterCreationDialog.js +1 -1
  21. package/dist/components/filter/HeaderFilterForm.d.ts +2 -2
  22. package/dist/components/filter/expert/ExpertFilterForm.js +2 -3
  23. package/dist/components/filter/expert/expertFilter.type.d.ts +2 -2
  24. package/dist/components/filter/expert/expertFilterConstants.d.ts +2 -2
  25. package/dist/components/filter/expert/expertFilterConstants.js +1 -1
  26. package/dist/components/filter/expert/expertFilterUtils.d.ts +3 -75
  27. package/dist/components/filter/expert/expertFilterUtils.js +3 -4
  28. package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.d.ts +3 -3
  29. package/dist/components/filter/explicitNaming/ExplicitNamingFilterForm.js +2 -1
  30. package/dist/components/filter/filter.type.d.ts +4 -4
  31. package/dist/components/filter/utils/filterFormUtils.d.ts +1 -1
  32. package/dist/components/inputs/reactHookForm/agGridTable/CustomAgGridTable.js +2 -7
  33. package/dist/components/inputs/reactHookForm/agGridTable/csvUploader/CsvUploader.js +1 -2
  34. package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.d.ts +1 -1
  35. package/dist/components/inputs/reactHookForm/autocompleteInputs/AutocompleteInput.js +1 -1
  36. package/dist/components/inputs/reactHookForm/numbers/RangeInput.d.ts +2 -3
  37. package/dist/components/inputs/reactHookForm/numbers/SliderInput.d.ts +2 -2
  38. package/dist/components/inputs/reactHookForm/numbers/SliderInput.js +26 -3
  39. package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.d.ts +2 -2
  40. package/dist/components/inputs/reactHookForm/provider/CustomFormProvider.js +1 -5
  41. package/dist/components/inputs/reactHookForm/selectInputs/SelectInput.d.ts +1 -1
  42. package/dist/components/inputs/reactHookForm/text/ExpandingTextField.d.ts +1 -1
  43. package/dist/components/inputs/reactHookForm/text/TextInput.d.ts +3 -3
  44. package/dist/components/inputs/reactHookForm/text/TextInput.js +2 -2
  45. package/dist/components/inputs/reactHookForm/text/UniqueNameInput.d.ts +2 -2
  46. package/dist/components/inputs/reactHookForm/utils/TextFieldWithAdornment.d.ts +1 -1
  47. package/dist/components/inputs/reactQueryBuilder/AutocompleteWithFavorites.js +1 -1
  48. package/dist/components/inputs/reactQueryBuilder/CustomReactQueryBuilder.js +1 -1
  49. package/dist/components/inputs/reactQueryBuilder/PropertyValueEditor.d.ts +1 -1
  50. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/GroupValueEditor.d.ts +1 -1
  51. package/dist/components/inputs/reactQueryBuilder/compositeRuleEditor/RuleValueEditor.d.ts +1 -1
  52. package/dist/components/notifications/contexts/NotificationsContext.d.ts +0 -1
  53. package/dist/components/notifications/hooks/useListenerManager.d.ts +1 -1
  54. package/dist/components/notifications/hooks/useNotificationsListener.d.ts +3 -3
  55. package/dist/components/overflowableText/OverflowableText.d.ts +4 -4
  56. package/dist/components/topBar/AboutDialog.js +1 -1
  57. package/dist/components/topBar/GridLogo.d.ts +1 -1
  58. package/dist/components/topBar/TopBar.d.ts +7 -7
  59. package/dist/components/topBar/TopBar.js +1 -5
  60. package/dist/components/topBar/UserInformationDialog.js +1 -2
  61. package/dist/components/topBar/UserSettingsDialog.d.ts +1 -1
  62. package/dist/components/topBar/UserSettingsDialog.js +17 -14
  63. package/dist/components/treeViewFinder/TreeViewFinder.d.ts +3 -3
  64. package/dist/components/treeViewFinder/TreeViewFinder.js +2 -3
  65. package/dist/hooks/useIntlRef.d.ts +1 -2
  66. package/dist/hooks/useLocalizedCountries.js +1 -1
  67. package/dist/hooks/useModificationLabelComputer.d.ts +1 -1
  68. package/dist/hooks/useModificationLabelComputer.js +8 -10
  69. package/dist/hooks/usePredefinedProperties.d.ts +2 -2
  70. package/dist/services/directory.d.ts +1 -1
  71. package/dist/services/explore.d.ts +2 -2
  72. package/dist/translations/en/topBarEn.js +1 -1
  73. package/dist/translations/fr/topBarFr.js +1 -1
  74. package/dist/utils/mapper/getFileIcon.d.ts +1 -1
  75. package/dist/utils/types/metadata.d.ts +1 -1
  76. package/dist/utils/types/types.d.ts +1 -1
  77. package/package.json +70 -76
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.82.0",
3
+ "version": "0.84.0",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "engines": {
6
6
  "npm": ">=9",
@@ -28,120 +28,114 @@
28
28
  "licenses-check": "license-checker --summary --excludePrivatePackages --production --onlyAllow \"$( jq -r .onlyAllow[] license-checker-config.json | tr '\n' ';')\" --excludePackages \"$( jq -r .excludePackages[] license-checker-config.json | tr '\n' ';')\""
29
29
  },
30
30
  "dependencies": {
31
- "@react-querybuilder/dnd": "^7.2.0",
32
- "@react-querybuilder/material": "^7.2.0",
31
+ "@react-querybuilder/dnd": "^8.2.0",
32
+ "@react-querybuilder/material": "^8.2.0",
33
33
  "autosuggest-highlight": "^3.3.4",
34
- "clsx": "^2.1.0",
34
+ "clsx": "^2.1.1",
35
35
  "jwt-decode": "^4.0.0",
36
36
  "localized-countries": "^2.0.0",
37
37
  "oidc-client": "^1.11.5",
38
38
  "prop-types": "^15.8.1",
39
39
  "react-beautiful-dnd": "^13.1.1",
40
- "react-csv-downloader": "^3.1.0",
40
+ "react-csv-downloader": "^3.3.0",
41
41
  "react-dnd": "^16.0.1",
42
42
  "react-dnd-html5-backend": "^16.0.1",
43
- "react-querybuilder": "^7.2.0",
43
+ "react-querybuilder": "^8.2.0",
44
44
  "reconnecting-websocket": "^4.4.0",
45
- "uuid": "^9.0.1"
45
+ "type-fest": "^4.34.1",
46
+ "uuid": "^11.0.5"
46
47
  },
47
48
  "peerDependencies": {
48
- "@emotion/react": "^11.11.4",
49
- "@emotion/styled": "^11.11.0",
50
- "@hookform/resolvers": "^3.3.4",
51
- "@mui/icons-material": "^5.15.14",
52
- "@mui/lab": "5.0.0-alpha.169",
53
- "@mui/material": "^5.15.14",
54
- "@mui/system": "^5.15.15",
49
+ "@emotion/react": "^11.14.0",
50
+ "@emotion/styled": "^11.14.0",
51
+ "@hookform/resolvers": "^4.0.0",
52
+ "@mui/icons-material": "^5.16.14",
53
+ "@mui/lab": "5.0.0-alpha.175",
54
+ "@mui/material": "^5.16.14",
55
55
  "@mui/x-tree-view": "^6.17.0",
56
56
  "ag-grid-community": "^33.0.3",
57
- "ag-grid-react": "^33.0.3",
58
- "notistack": "^3.0.1",
59
- "papaparse": "^5.4.1",
60
- "react": "^18.2.0",
61
- "react-dom": "^18.2.0",
62
- "react-hook-form": "^7.51.2",
63
- "react-intl": "^6.6.4",
64
- "react-papaparse": "^4.1.0",
65
- "react-router-dom": "^6.22.3",
66
- "yup": "^1.4.0"
57
+ "ag-grid-react": "^33.0.4",
58
+ "notistack": "^3.0.2",
59
+ "react": "^18.3.1",
60
+ "react-dom": "^18.3.1",
61
+ "react-hook-form": "^7.54.2",
62
+ "react-intl": "^6.8.9",
63
+ "react-papaparse": "^4.4.0",
64
+ "react-router": "^6.29.0",
65
+ "yup": "^1.6.1"
67
66
  },
68
67
  "devDependencies": {
69
- "@babel/helper-builder-react-jsx": "^7.22.10",
70
- "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
71
- "@babel/preset-env": "^7.24.3",
72
- "@babel/preset-react": "^7.24.1",
73
- "@babel/preset-typescript": "^7.24.1",
74
- "@emotion/react": "^11.11.4",
75
- "@emotion/styled": "^11.11.5",
76
- "@hookform/resolvers": "^3.3.4",
68
+ "@babel/helper-builder-react-jsx": "^7.25.9",
69
+ "@babel/preset-env": "^7.26.8",
70
+ "@babel/preset-react": "^7.26.3",
71
+ "@babel/preset-typescript": "^7.26.0",
72
+ "@emotion/react": "^11.14.0",
73
+ "@emotion/styled": "^11.14.0",
74
+ "@hookform/resolvers": "^4.0.0",
77
75
  "@jest/globals": "^29.7.0",
78
- "@mui/icons-material": "^5.15.14",
79
- "@mui/lab": "5.0.0-alpha.169",
80
- "@mui/material": "^5.15.14",
76
+ "@mui/icons-material": "^5.16.14",
77
+ "@mui/lab": "5.0.0-alpha.175",
78
+ "@mui/material": "^5.16.14",
81
79
  "@react-hook/window-size": "^3.1.1",
82
- "@testing-library/jest-dom": "^6.5.0",
83
- "@testing-library/react": "^16.0.0",
84
- "@testing-library/user-event": "^14.5.2",
80
+ "@testing-library/jest-dom": "^6.6.3",
81
+ "@testing-library/react": "^16.2.0",
82
+ "@testing-library/user-event": "^14.6.1",
85
83
  "@types/autosuggest-highlight": "^3.2.3",
86
- "@types/eslint": "^8.56.7",
84
+ "@types/eslint": "^8.56.12",
87
85
  "@types/eslint-config-prettier": "^6.11.3",
88
- "@types/jest": "^29.5.13",
89
- "@types/json-logic-js": "^2.0.7",
86
+ "@types/jest": "^29.5.14",
87
+ "@types/json-logic-js": "^2.0.8",
90
88
  "@types/license-checker": "^25.0.6",
91
89
  "@types/localized-countries": "^2.0.3",
92
- "@types/node": "^18.19.31",
93
- "@types/prop-types": "^15.7.12",
94
- "@types/react": "^18.2.75",
90
+ "@types/node": "^18.19.75",
91
+ "@types/prop-types": "^15.7.14",
92
+ "@types/react": "^18.3.18",
95
93
  "@types/react-beautiful-dnd": "^13.1.8",
96
- "@types/react-dom": "^18.2.24",
97
- "@types/react-resizable": "^3.0.7",
98
- "@types/utf-8-validate": "^5.0.2",
99
- "@types/uuid": "^9.0.8",
100
- "@typescript-eslint/eslint-plugin": "^7.0.0",
101
- "@typescript-eslint/parser": "^7.0.0",
102
- "@vitejs/plugin-react": "^4.2.1",
103
- "ag-grid-community": "^33.0.3",
104
- "ag-grid-react": "^33.0.3",
94
+ "@types/react-dom": "^18.3.5",
95
+ "@types/react-resizable": "^3.0.8",
96
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
97
+ "@typescript-eslint/parser": "^7.18.0",
98
+ "@vitejs/plugin-react": "^4.3.4",
99
+ "ag-grid-community": "^33.1.0",
100
+ "ag-grid-react": "^33.1.0",
105
101
  "babel-eslint": "^10.1.0",
106
102
  "babel-preset-airbnb": "^5.0.0",
107
103
  "babel-preset-vite": "^1.1.3",
108
- "bufferutil": "^4.0.8",
109
- "eslint": "^8.57.0",
110
- "eslint-config-airbnb": "^19.0.0",
104
+ "eslint": "^8.57.1",
105
+ "eslint-config-airbnb": "^19.0.4",
111
106
  "eslint-config-airbnb-typescript": "^18.0.0",
112
107
  "eslint-config-prettier": "^9.1.0",
113
108
  "eslint-config-react-app": "^7.0.1",
114
109
  "eslint-plugin-flowtype": "^8.0.3",
115
- "eslint-plugin-import": "^2.29.1",
116
- "eslint-plugin-jsx-a11y": "^6.8.0",
110
+ "eslint-plugin-import": "^2.31.0",
111
+ "eslint-plugin-jsx-a11y": "^6.10.2",
117
112
  "eslint-plugin-prettier": "^4.2.1",
118
- "eslint-plugin-react": "^7.34.1",
119
- "eslint-plugin-react-hooks": "^4.6.0",
120
- "glob": "^10.3.12",
113
+ "eslint-plugin-react": "^7.37.4",
114
+ "eslint-plugin-react-hooks": "^4.6.2",
115
+ "glob": "^11.0.1",
121
116
  "identity-obj-proxy": "^3.0.0",
122
117
  "jest": "^29.7.0",
123
118
  "jest-dom": "^4.0.0",
124
119
  "jest-environment-jsdom": "^29.7.0",
125
120
  "license-checker": "^25.0.1",
126
- "notistack": "^3.0.1",
121
+ "notistack": "^3.0.2",
127
122
  "prettier": "^2.8.8",
128
- "react": "^18.2.0",
129
- "react-dom": "^18.2.0",
130
- "react-hook-form": "^7.51.2",
131
- "react-intl": "^6.6.4",
132
- "react-papaparse": "^4.1.0",
123
+ "react": "^18.3.1",
124
+ "react-dom": "^18.3.1",
125
+ "react-hook-form": "^7.54.2",
126
+ "react-intl": "^6.8.9",
127
+ "react-papaparse": "^4.4.0",
133
128
  "react-resizable": "^3.0.5",
134
- "react-router-dom": "^6.22.3",
129
+ "react-router": "^6.29.0",
130
+ "react-router-dom": "^6.29.0",
135
131
  "ts-node": "^10.9.2",
136
- "type-fest": "^4.14.0",
137
- "typescript": "5.1.6",
138
- "utf-8-validate": "^6.0.3",
139
- "vite": "^5.2.7",
140
- "vite-plugin-dts": "^3.8.1",
132
+ "typescript": "~5.5.4",
133
+ "vite": "^5.4.14",
134
+ "vite-plugin-dts": "^3.9.1",
141
135
  "vite-plugin-eslint": "^1.8.1",
142
- "vite-plugin-lib-inject-css": "^2.0.1",
143
- "vite-plugin-svgr": "^4.2.0",
144
- "yup": "^1.4.0"
136
+ "vite-plugin-lib-inject-css": "^2.2.1",
137
+ "vite-plugin-svgr": "^4.3.0",
138
+ "yup": "^1.6.1"
145
139
  },
146
140
  "author": "gridsuite team",
147
141
  "homepage": "https://github.com/gridsuite",