@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.
- package/dist/components/buttons/PuiButton.js +50 -21
- package/dist/components/buttons/PuiIconButton.js +9 -8
- package/dist/components/common/PuiAlertContext.js +1 -2
- package/dist/components/common/StyledMuiButton.js +14 -11
- package/dist/components/common/StyledMuiTextField.js +42 -30
- package/dist/components/inputs/PuiAutocomplete.js +11 -9
- package/dist/components/inputs/PuiCheckbox.js +13 -11
- package/dist/components/inputs/PuiCheckboxGroup.js +8 -6
- package/dist/components/inputs/PuiCheckboxItem.js +9 -8
- package/dist/components/inputs/PuiDateField.js +10 -9
- package/dist/components/inputs/PuiDateTimeField.js +10 -9
- package/dist/components/inputs/PuiFileField.js +11 -10
- package/dist/components/inputs/PuiRadioGroup.js +9 -8
- package/dist/components/inputs/PuiRadioItem.js +8 -7
- package/dist/components/inputs/PuiSelect.js +62 -36
- package/dist/components/inputs/PuiTextField.js +9 -8
- package/dist/components/others/PuiBadge.js +6 -4
- package/dist/components/others/PuiChip.js +16 -15
- package/dist/components/others/PuiDialog.js +9 -8
- package/dist/components/others/PuiFormikForm.js +1 -2
- package/dist/components/others/PuiGrid.js +5 -3
- package/dist/components/others/PuiIcon.js +9 -8
- package/dist/components/others/PuiLoadingBackdrop.js +1 -1
- package/dist/components/others/PuiMainContainer.js +8 -7
- package/dist/components/others/PuiNavigation.js +7 -6
- package/dist/components/others/PuiSection.js +8 -7
- package/dist/components/others/PuiTooltip.js +10 -9
- package/dist/components/providers/PuiAlertProvider.js +10 -8
- package/dist/components/providers/PuiLocalizationProvider.js +7 -5
- package/dist/components/referentiel/common/ReferetielContext.js +1 -2
- package/dist/components/referentiel/common/constants/specificReferentielsBaseColumns.js +92 -92
- package/dist/components/referentiel/common/constants/specificReferentielsBaseFilters.js +1 -1
- package/dist/components/referentiel/common/constants/specificReferentielsValidationSchemas.js +1 -2
- package/dist/components/referentiel/components/PuiBasePopupReferentielField.js +7 -6
- package/dist/components/referentiel/components/PuiCustomPopupReferentielField.js +7 -6
- package/dist/components/referentiel/components/PuiSimplePopupReferentielField.js +8 -6
- package/dist/components/referentiel/components/PuiSimpleReferentielField.js +11 -9
- package/dist/components/referentiel/components/PuiSpecificReferentielField.js +10 -8
- package/dist/components/referentiel/providers/PuiReferentielProvider.js +7 -6
- package/dist/components/stepper/PuiStepContent.js +66 -0
- package/dist/components/stepper/PuiStepper.js +184 -0
- package/dist/components/stepper/PuiStepperActions.js +105 -0
- package/dist/components/tab/PuiTab.js +1 -1
- package/dist/components/tab/PuiTabs.js +13 -10
- package/dist/components/table/ActionPopover.js +3 -1
- package/dist/components/table/PuiTable.js +11 -9
- package/dist/components/table/PuiTableAction.js +6 -4
- package/dist/components/typography/PuiDefinition.js +1 -1
- package/dist/components/typography/PuiIndication.js +7 -6
- package/dist/components/typography/PuiMainTitle.js +8 -6
- package/dist/components/ui/dialogs/PuiSearchDialog.js +9 -8
- package/dist/components/ui/pages/errors/PuiErrorBasePage.js +1 -1
- package/dist/components/ui/pages/errors/PuiForbiddenErrorPage.js +1 -1
- package/dist/components/ui/pages/errors/PuiNetworkErrorPage.js +1 -1
- package/dist/components/ui/pages/errors/PuiNotFoundErrorPage.js +1 -1
- package/dist/components/ui/pages/errors/PuiServerErrorPage.js +1 -1
- package/dist/components/ui/pages/general/PuiDefaultPage.js +1 -1
- package/dist/components/ui/pages/general/PuiSearchPage.js +8 -6
- package/dist/config/apperance.js +56 -13
- package/dist/config/mapping.js +1 -1
- package/dist/hooks/useAlert.js +2 -3
- package/dist/hooks/useAxios.js +1 -1
- package/dist/hooks/useCustomAxios.js +1 -1
- package/dist/hooks/useQuery.js +4 -2
- package/dist/index.js +22 -1
- package/package.json +108 -99
package/package.json
CHANGED
|
@@ -1,99 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@portnet/ui",
|
|
3
|
-
"version": "3.
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"
|
|
70
|
-
"not
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"last 1
|
|
75
|
-
"last 1
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"@babel/
|
|
81
|
-
"@babel/
|
|
82
|
-
"@babel/preset-
|
|
83
|
-
"@
|
|
84
|
-
"@storybook/addon-
|
|
85
|
-
"@storybook/addon-
|
|
86
|
-
"@storybook/addon-
|
|
87
|
-
"@storybook/
|
|
88
|
-
"@storybook/
|
|
89
|
-
"@storybook/
|
|
90
|
-
"@storybook/
|
|
91
|
-
"@storybook/
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
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
|
+
}
|