@portnet/ui 3.0.6 → 3.1.1

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