@portnet/ui 0.0.108 → 0.0.110

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 (66) hide show
  1. package/dist/components/buttons/PuiButton.js +8 -8
  2. package/dist/components/buttons/PuiIconButton.js +8 -8
  3. package/dist/components/common/PuiAlertContext.js +4 -4
  4. package/dist/components/common/StyledMuiButton.js +8 -8
  5. package/dist/components/common/StyledMuiTextField.js +8 -8
  6. package/dist/components/inputs/PuiAutocomplete.js +11 -10
  7. package/dist/components/inputs/PuiCheckbox.js +8 -8
  8. package/dist/components/inputs/PuiCheckboxGroup.js +8 -12
  9. package/dist/components/inputs/PuiCheckboxItem.js +8 -8
  10. package/dist/components/inputs/PuiDateField.js +8 -9
  11. package/dist/components/inputs/PuiDateTimeField.js +8 -8
  12. package/dist/components/inputs/PuiFileField.js +8 -8
  13. package/dist/components/inputs/PuiRadioGroup.js +9 -10
  14. package/dist/components/inputs/PuiRadioItem.js +8 -8
  15. package/dist/components/inputs/PuiSelect.js +8 -8
  16. package/dist/components/inputs/PuiTextField.js +8 -8
  17. package/dist/components/others/PuiBadge.js +5 -6
  18. package/dist/components/others/PuiChip.js +8 -8
  19. package/dist/components/others/PuiDialog.js +8 -8
  20. package/dist/components/others/PuiFormikForm.js +4 -4
  21. package/dist/components/others/PuiGrid.js +5 -6
  22. package/dist/components/others/PuiIcon.js +8 -8
  23. package/dist/components/others/PuiLoadingBackdrop.js +1 -2
  24. package/dist/components/others/PuiMainContainer.js +8 -8
  25. package/dist/components/others/PuiNavigation.js +8 -8
  26. package/dist/components/others/PuiSection.js +8 -8
  27. package/dist/components/others/PuiTooltip.js +8 -8
  28. package/dist/components/providers/PuiAlertProvider.js +8 -8
  29. package/dist/components/providers/PuiLocalizationProvider.js +5 -6
  30. package/dist/components/referentiel/common/ReferetielContext.js +4 -4
  31. package/dist/components/referentiel/common/constants/specificReferentielsApis.js +2 -2
  32. package/dist/components/referentiel/common/constants/specificReferentielsBaseColumns.js +121 -85
  33. package/dist/components/referentiel/common/constants/specificReferentielsBaseFilters.js +38 -2
  34. package/dist/components/referentiel/common/constants/specificReferentielsInitialValues.js +6 -2
  35. package/dist/components/referentiel/common/constants/specificReferentielsKeys.js +13 -23
  36. package/dist/components/referentiel/common/constants/specificReferentielsTitles.js +2 -2
  37. package/dist/components/referentiel/common/constants/specificReferentielsValidationSchemas.js +9 -4
  38. package/dist/components/referentiel/components/PuiBasePopupReferentielField.js +8 -8
  39. package/dist/components/referentiel/components/PuiCustomPopupReferentielField.js +8 -8
  40. package/dist/components/referentiel/components/PuiSimplePopupReferentielField.js +9 -9
  41. package/dist/components/referentiel/components/PuiSimpleReferentielField.js +8 -8
  42. package/dist/components/referentiel/components/PuiSpecificReferentielField.js +14 -14
  43. package/dist/components/referentiel/providers/PuiReferentielProvider.js +8 -8
  44. package/dist/components/tab/PuiTab.js +1 -2
  45. package/dist/components/tab/PuiTabs.js +8 -8
  46. package/dist/components/table/PuiTable.js +62 -43
  47. package/dist/components/table/PuiTableAction.js +5 -6
  48. package/dist/components/typography/PuiDefinition.js +1 -2
  49. package/dist/components/typography/PuiIndication.js +8 -8
  50. package/dist/components/typography/PuiMainTitle.js +8 -8
  51. package/dist/components/ui/dialogs/PuiSearchDialog.js +8 -8
  52. package/dist/components/ui/pages/errors/PuiErrorBasePage.js +1 -2
  53. package/dist/components/ui/pages/errors/PuiForbiddenErrorPage.js +1 -2
  54. package/dist/components/ui/pages/errors/PuiNetworkErrorPage.js +1 -2
  55. package/dist/components/ui/pages/errors/PuiNotFoundErrorPage.js +1 -2
  56. package/dist/components/ui/pages/errors/PuiServerErrorPage.js +1 -2
  57. package/dist/components/ui/pages/general/PuiDefaultPage.js +1 -2
  58. package/dist/components/ui/pages/general/PuiSearchPage.js +8 -8
  59. package/dist/config/apperance.js +2 -3
  60. package/dist/config/mapping.js +2 -4
  61. package/dist/config/referentiel.js +1 -2
  62. package/dist/general/yupValidationErrors.js +2 -4
  63. package/dist/hooks/useAlert.js +4 -4
  64. package/dist/hooks/useAxios.js +1 -2
  65. package/dist/hooks/useQuery.js +1 -2
  66. package/package.json +97 -93
package/package.json CHANGED
@@ -1,93 +1,97 @@
1
- {
2
- "name": "@portnet/ui",
3
- "version": "0.0.108",
4
- "description": "Portnet UI",
5
- "keywords": [
6
- "react",
7
- "components",
8
- "ui"
9
- ],
10
- "main": "dist/index.js",
11
- "private": false,
12
- "files": [
13
- "dist",
14
- "README.md"
15
- ],
16
- "dependencies": {
17
- "@emotion/react": "^11.10.5",
18
- "@emotion/styled": "^11.10.5",
19
- "@mui/icons-material": "^5.10.16",
20
- "@mui/lab": "^5.0.0-alpha.60",
21
- "@mui/material": "^5.10.16",
22
- "@mui/x-data-grid": "^5.17.14",
23
- "@mui/x-date-pickers": "^5.0.4",
24
- "@testing-library/jest-dom": "^5.16.5",
25
- "@testing-library/react": "^13.4.0",
26
- "@testing-library/user-event": "^13.5.0",
27
- "axios": "^0.27.2",
28
- "formik": "^2.2.9",
29
- "moment": "^2.29.4",
30
- "react": "^18.2.0",
31
- "react-dom": "^18.2.0",
32
- "react-scripts": "^5.0.1",
33
- "react-transition-group": "^4.4.5",
34
- "uuid": "^9.0.0",
35
- "web-vitals": "^2.1.4",
36
- "yup": "^0.32.11"
37
- },
38
- "scripts": {
39
- "start": "react-scripts start",
40
- "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files",
41
- "test": "react-scripts test",
42
- "eject": "react-scripts eject",
43
- "storybook": "start-storybook -p 6006 -s public",
44
- "build-storybook": "build-storybook -s public"
45
- },
46
- "eslintConfig": {
47
- "extends": [
48
- "react-app",
49
- "react-app/jest"
50
- ],
51
- "overrides": [
52
- {
53
- "files": [
54
- "**/*.stories.*"
55
- ],
56
- "rules": {
57
- "import/no-anonymous-default-export": "off"
58
- }
59
- }
60
- ]
61
- },
62
- "browserslist": {
63
- "production": [
64
- ">0.2%",
65
- "not dead",
66
- "not op_mini all"
67
- ],
68
- "development": [
69
- "last 1 chrome version",
70
- "last 1 firefox version",
71
- "last 1 safari version"
72
- ]
73
- },
74
- "devDependencies": {
75
- "@babel/cli": "^7.19.3",
76
- "@babel/core": "^7.20.5",
77
- "@babel/preset-env": "^7.20.2",
78
- "@babel/preset-react": "^7.18.6",
79
- "@storybook/addon-actions": "^6.5.15",
80
- "@storybook/addon-essentials": "^6.5.15",
81
- "@storybook/addon-interactions": "^6.5.15",
82
- "@storybook/addon-links": "^6.5.15",
83
- "@storybook/builder-webpack5": "^6.5.15",
84
- "@storybook/manager-webpack5": "^6.5.15",
85
- "@storybook/node-logger": "^6.5.15",
86
- "@storybook/preset-create-react-app": "^4.1.2",
87
- "@storybook/react": "^6.5.15",
88
- "@storybook/testing-library": "^0.0.13",
89
- "husky": "^4.3.8",
90
- "prop-types": "^15.8.1",
91
- "webpack": "^5.75.0"
92
- }
93
- }
1
+ {
2
+ "name": "@portnet/ui",
3
+ "version": "0.0.110",
4
+ "description": "Portnet UI",
5
+ "keywords": [
6
+ "react",
7
+ "components",
8
+ "ui"
9
+ ],
10
+ "main": "dist/index.js",
11
+ "private": false,
12
+ "files": [
13
+ "dist",
14
+ "README.md"
15
+ ],
16
+ "dependencies": {
17
+ "@emotion/react": "^11.10.5",
18
+ "@emotion/styled": "^11.10.5",
19
+ "@mui/icons-material": "^5.10.16",
20
+ "@mui/lab": "^5.0.0-alpha.60",
21
+ "@mui/material": "^5.10.16",
22
+ "@mui/x-data-grid": "^5.17.26",
23
+ "@mui/x-date-pickers": "^5.0.4",
24
+ "@testing-library/jest-dom": "^5.16.5",
25
+ "@testing-library/react": "^13.4.0",
26
+ "@testing-library/user-event": "^13.5.0",
27
+ "axios": "^0.27.2",
28
+ "formik": "^2.2.9",
29
+ "lodash": "^4.17.21",
30
+ "moment": "^2.29.4",
31
+ "react": "^18.2.0",
32
+ "react-dom": "^18.2.0",
33
+ "react-scripts": "^5.0.1",
34
+ "react-transition-group": "^4.4.5",
35
+ "styled-components": "^6.1.3",
36
+ "uuid": "^9.0.0",
37
+ "web-vitals": "^2.1.4",
38
+ "yup": "^0.32.11"
39
+ },
40
+ "scripts": {
41
+ "start": "react-scripts start",
42
+ "build": "rimraf dist && cross-env NODE_ENV=production babel src/lib --out-dir dist --copy-files",
43
+ "test": "react-scripts test",
44
+ "eject": "react-scripts eject",
45
+ "storybook": "storybook dev -p 6006 -s public",
46
+ "build-storybook": "storybook build -s public"
47
+ },
48
+ "eslintConfig": {
49
+ "extends": [
50
+ "react-app",
51
+ "react-app/jest"
52
+ ],
53
+ "overrides": [
54
+ {
55
+ "files": [
56
+ "**/*.stories.*"
57
+ ],
58
+ "rules": {
59
+ "import/no-anonymous-default-export": "off"
60
+ }
61
+ }
62
+ ]
63
+ },
64
+ "browserslist": {
65
+ "production": [
66
+ ">0.2%",
67
+ "not dead",
68
+ "not op_mini all"
69
+ ],
70
+ "development": [
71
+ "last 1 chrome version",
72
+ "last 1 firefox version",
73
+ "last 1 safari version"
74
+ ]
75
+ },
76
+ "devDependencies": {
77
+ "@babel/cli": "^7.19.3",
78
+ "@babel/core": "^7.20.5",
79
+ "@babel/preset-env": "^7.20.2",
80
+ "@babel/preset-react": "^7.18.6",
81
+ "@storybook/addon-actions": "^7.6.4",
82
+ "@storybook/addon-essentials": "^7.6.4",
83
+ "@storybook/addon-interactions": "^7.6.4",
84
+ "@storybook/addon-links": "^7.6.4",
85
+ "@storybook/node-logger": "^7.6.4",
86
+ "@storybook/preset-create-react-app": "^7.6.4",
87
+ "@storybook/react": "^7.6.4",
88
+ "@storybook/react-webpack5": "^7.6.4",
89
+ "@storybook/testing-library": "^0.2.2",
90
+ "cross-env": "^7.0.3",
91
+ "husky": "^4.3.8",
92
+ "prop-types": "^15.8.1",
93
+ "rimraf": "^5.0.5",
94
+ "storybook": "^7.6.4",
95
+ "webpack": "^5.75.0"
96
+ }
97
+ }