@eclass/ui-kit 1.33.0 → 1.33.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/atoms/Icons/AcademicRecord.d.ts +1 -2
- package/dist/atoms/Icons/AlertInfo.d.ts +1 -2
- package/dist/atoms/Icons/Alerts/ErrorWhite.d.ts +1 -2
- package/dist/atoms/Icons/Alerts/InfoWhite.d.ts +1 -2
- package/dist/atoms/Icons/Alerts/SuccessWhite.d.ts +1 -2
- package/dist/atoms/Icons/Alerts/WarningWhite.d.ts +1 -2
- package/dist/atoms/Icons/ArrowRight.d.ts +1 -2
- package/dist/atoms/Icons/Base.d.ts +2 -2
- package/dist/atoms/Icons/Certificate.d.ts +1 -2
- package/dist/atoms/Icons/CircularCheck.d.ts +1 -2
- package/dist/atoms/Icons/CircularInformation.d.ts +1 -2
- package/dist/atoms/Icons/Close.d.ts +1 -2
- package/dist/atoms/Icons/Download.d.ts +1 -2
- package/dist/atoms/Icons/GoAhead.d.ts +1 -2
- package/dist/atoms/Icons/GoBack.d.ts +1 -2
- package/dist/atoms/Icons/Loader.d.ts +0 -1
- package/dist/atoms/Icons/Multimedia.d.ts +1 -2
- package/dist/atoms/Icons/Password.d.ts +1 -2
- package/dist/atoms/Icons/Pen.d.ts +1 -2
- package/dist/atoms/Icons/PlusSign.d.ts +1 -2
- package/dist/atoms/Icons/Profile.d.ts +1 -2
- package/dist/atoms/Icons/Schedule.d.ts +1 -2
- package/dist/atoms/Icons/TextBubble.d.ts +1 -2
- package/dist/atoms/Icons/TinyAlertError.d.ts +1 -2
- package/dist/atoms/Icons/TinyAlertInfo.d.ts +1 -2
- package/dist/atoms/Icons/TinyAlertSuccess.d.ts +1 -2
- package/dist/atoms/Icons/TinyAlertWarning.d.ts +1 -2
- package/dist/atoms/Icons/TrashCan.d.ts +1 -2
- package/dist/atoms/Progress/Progress.d.ts +0 -1
- package/dist/atoms/Ripples/Ripples.d.ts +0 -1
- package/dist/atoms/TinyAlert/TinyAlert.d.ts +0 -1
- package/dist/eclass-ui-kit.es.js +28861 -36768
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +371 -276
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/molecules/Buttons/BtnPrimary.d.ts +1 -2
- package/dist/molecules/Buttons/BtnSecondary.d.ts +1 -2
- package/dist/molecules/Buttons/BtnTertiary.d.ts +1 -2
- package/dist/molecules/Tooltip/NewTooltip.d.ts +2 -3
- package/dist/organisms/Alerts/Alert.d.ts +1 -2
- package/dist/organisms/Alerts/FlashNotification.d.ts +1 -2
- package/dist/organisms/Alerts/types.d.ts +66 -0
- package/dist/organisms/Alerts/utils/alertStates.d.ts +4 -4
- package/dist/organisms/Alerts/utils/useFlashNotification.d.ts +1 -1
- package/dist/organisms/CourseList/Boxes/BoxImage.d.ts +1 -2
- package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts +1 -1
- package/dist/organisms/CourseList/Boxes/Boxes.d.ts +1 -2
- package/dist/organisms/CourseList/CourseList.d.ts +1 -2
- package/dist/organisms/CourseList/components/CourseStatus.d.ts +1 -2
- package/dist/organisms/CourseList/components/DateStatus.d.ts +0 -1
- package/dist/organisms/CourseList/components/Footer.d.ts +1 -2
- package/dist/organisms/CourseList/components/Header.d.ts +0 -1
- package/dist/organisms/CourseList/components/IconSelection.d.ts +0 -1
- package/dist/organisms/CourseList/components/Modal/PaymentModal.d.ts +1 -2
- package/dist/organisms/CourseList/components/Section.d.ts +0 -1
- package/dist/organisms/CourseList/types.d.ts +37 -0
- package/dist/organisms/CourseList/utils/dataFake.d.ts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/vite-env.d.ts +2 -0
- package/package.json +63 -60
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclass/ui-kit",
|
|
3
3
|
"description": "Elementos UI transversales eClass",
|
|
4
|
-
"version": "1.33.
|
|
4
|
+
"version": "1.33.1",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
8
8
|
"main": "dist/eclass-ui-kit.umd.js",
|
|
9
9
|
"module": "dist/eclass-ui-kit.es.js",
|
|
10
|
-
"types": "
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"import": "./dist/eclass-ui-kit.es.js",
|
|
@@ -30,8 +30,9 @@
|
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
32
|
"dev": "vite",
|
|
33
|
-
"build": "tsc && vite build && npm run build:types",
|
|
33
|
+
"build": "tsc && vite build && npm run build:types && npm run copy-dts",
|
|
34
34
|
"build:types": "tsc -p tsconfig.types.json",
|
|
35
|
+
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist",
|
|
35
36
|
"serve": "vite preview",
|
|
36
37
|
"test": "jest --coverage",
|
|
37
38
|
"test-local": "jest --watch",
|
|
@@ -40,87 +41,89 @@
|
|
|
40
41
|
"eslint": "eslint 'src/**/*.{ts,tsx,mdx}' --fix --cache",
|
|
41
42
|
"lint:check": "eslint 'src/**/*.{ts,tsx,mdx}'",
|
|
42
43
|
"ts-compile-check": "tsc -p tsconfig.json",
|
|
43
|
-
"prepare": "ts-patch install -s &&
|
|
44
|
+
"prepare": "ts-patch install -s && node ./prepare.js",
|
|
45
|
+
"preinstall": "npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
|
|
44
46
|
"deploy": "VITE_REACT_DEPLOY_DOCUMENTATION=DOCUMENTATION vite build"
|
|
45
47
|
},
|
|
46
48
|
"publishConfig": {
|
|
47
49
|
"access": "public"
|
|
48
50
|
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"react": "^16.8 || 17.x",
|
|
53
|
+
"react-dom": "^16.8 || 17.x"
|
|
54
|
+
},
|
|
49
55
|
"devDependencies": {
|
|
50
|
-
"@commitlint/cli": "
|
|
51
|
-
"@commitlint/config-conventional": "
|
|
56
|
+
"@commitlint/cli": "13.2.1",
|
|
57
|
+
"@commitlint/config-conventional": "13.2.0",
|
|
52
58
|
"@fontsource/lora": "4.5.13",
|
|
53
59
|
"@fontsource/roboto": "4.5.8",
|
|
54
60
|
"@semantic-release/changelog": "6.0.1",
|
|
55
|
-
"@semantic-release/git": "
|
|
56
|
-
"@testing-library/dom": "
|
|
57
|
-
"@testing-library/jest-dom": "
|
|
58
|
-
"@testing-library/react": "
|
|
59
|
-
"@testing-library/user-event": "
|
|
61
|
+
"@semantic-release/git": "9.0.1",
|
|
62
|
+
"@testing-library/dom": "8.20.1",
|
|
63
|
+
"@testing-library/jest-dom": "5.17.0",
|
|
64
|
+
"@testing-library/react": "12.1.5",
|
|
65
|
+
"@testing-library/user-event": "14.4.3",
|
|
60
66
|
"@types/eclass__api": "git+ssh://git@gitlab.com/eclass/types-eclass-api.git#v3.108.0",
|
|
61
67
|
"@types/eclass__sequelize-models": "git+ssh://git@gitlab.com/eclass/types-sequelize-models.git#v5.40.0",
|
|
62
|
-
"@types/jest": "
|
|
63
|
-
"@types/react": "
|
|
64
|
-
"@types/react-dom": "
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "
|
|
66
|
-
"@typescript-eslint/parser": "
|
|
67
|
-
"@vitejs/plugin-react": "
|
|
68
|
-
"
|
|
69
|
-
"eslint
|
|
70
|
-
"eslint-config-
|
|
71
|
-
"eslint-config-standard
|
|
72
|
-
"eslint-config-standard-
|
|
73
|
-
"eslint-config-standard-
|
|
74
|
-
"eslint-
|
|
68
|
+
"@types/jest": "27.5.2",
|
|
69
|
+
"@types/react": "17.0.64",
|
|
70
|
+
"@types/react-dom": "17.0.20",
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "5.17.0",
|
|
72
|
+
"@typescript-eslint/parser": "5.17.0",
|
|
73
|
+
"@vitejs/plugin-react": "1.3.2",
|
|
74
|
+
"copyfiles": "2.4.1",
|
|
75
|
+
"eslint": "8.46.0",
|
|
76
|
+
"eslint-config-prettier": "8.10.0",
|
|
77
|
+
"eslint-config-standard": "16.0.3",
|
|
78
|
+
"eslint-config-standard-jsx": "10.0.0",
|
|
79
|
+
"eslint-config-standard-react": "11.0.1",
|
|
80
|
+
"eslint-config-standard-with-typescript": "21.0.1",
|
|
81
|
+
"eslint-import-resolver-typescript": "2.7.1",
|
|
75
82
|
"eslint-plugin-import": "2.28.0",
|
|
76
|
-
"eslint-plugin-jest": "
|
|
77
|
-
"eslint-plugin-jest-dom": "
|
|
83
|
+
"eslint-plugin-jest": "25.7.0",
|
|
84
|
+
"eslint-plugin-jest-dom": "4.0.3",
|
|
78
85
|
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
79
|
-
"eslint-plugin-mdx": "
|
|
86
|
+
"eslint-plugin-mdx": "1.17.1",
|
|
80
87
|
"eslint-plugin-node": "11.1.0",
|
|
81
|
-
"eslint-plugin-prettier": "
|
|
88
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
82
89
|
"eslint-plugin-promise": "6.1.1",
|
|
83
|
-
"eslint-plugin-react": "7.33.
|
|
90
|
+
"eslint-plugin-react": "7.33.1",
|
|
84
91
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
85
|
-
"eslint-plugin-
|
|
86
|
-
"eslint-plugin-
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"husky": "8.0.3",
|
|
92
|
+
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
93
|
+
"eslint-plugin-testing-library": "5.11.1",
|
|
94
|
+
"gh-pages": "^6.0.0",
|
|
95
|
+
"graphql": "^16.8.1",
|
|
96
|
+
"husky": "7.0.4",
|
|
91
97
|
"identity-obj-proxy": "3.0.0",
|
|
92
|
-
"jest": "
|
|
93
|
-
"jest-
|
|
94
|
-
"
|
|
95
|
-
"
|
|
98
|
+
"jest": "27.5.1",
|
|
99
|
+
"jest-watch-typeahead": "1.0.0",
|
|
100
|
+
"lint-staged": "12.3.7",
|
|
101
|
+
"localforage": "1.10.0",
|
|
96
102
|
"match-sorter": "6.3.1",
|
|
97
|
-
"prettier": "
|
|
98
|
-
"react": "
|
|
99
|
-
"react-code-blocks": "0.1.
|
|
100
|
-
"react-dom": "
|
|
103
|
+
"prettier": "2.6.1",
|
|
104
|
+
"react": "17.0.2",
|
|
105
|
+
"react-code-blocks": "0.1.3",
|
|
106
|
+
"react-dom": "17.0.2",
|
|
101
107
|
"react-router-dom": "6.14.2",
|
|
102
|
-
"semantic-release": "
|
|
103
|
-
"
|
|
104
|
-
"ts-
|
|
105
|
-
"
|
|
106
|
-
"typescript
|
|
107
|
-
"
|
|
108
|
-
"vite
|
|
108
|
+
"semantic-release": "18.0.1",
|
|
109
|
+
"sort-by": "1.2.0",
|
|
110
|
+
"ts-jest": "27.1.5",
|
|
111
|
+
"ts-patch": "2.0.1",
|
|
112
|
+
"typescript": "4.6.3",
|
|
113
|
+
"typescript-transform-paths": "3.3.1",
|
|
114
|
+
"vite": "2.9.16",
|
|
115
|
+
"vite-tsconfig-paths": "3.4.1"
|
|
109
116
|
},
|
|
110
117
|
"dependencies": {
|
|
111
|
-
"@chakra-ui/react": "
|
|
112
|
-
"@emotion/react": "11.
|
|
113
|
-
"@emotion/styled": "11.
|
|
114
|
-
"framer-motion": "
|
|
118
|
+
"@chakra-ui/react": "1.8.9",
|
|
119
|
+
"@emotion/react": "11.8.2",
|
|
120
|
+
"@emotion/styled": "11.8.1",
|
|
121
|
+
"framer-motion": "6.2.8",
|
|
115
122
|
"react-hot-toast": "2.4.1",
|
|
116
123
|
"react-ripples": "2.2.1"
|
|
117
124
|
},
|
|
118
125
|
"resolutions": {
|
|
119
|
-
"@types/react": "
|
|
120
|
-
"@types/react-dom": "
|
|
121
|
-
},
|
|
122
|
-
"peerDependencies": {
|
|
123
|
-
"react": "^16.8 || 17.x || 18.x",
|
|
124
|
-
"react-dom": "^16.8 || 17.x || 18.x"
|
|
126
|
+
"@types/react": "17.0.2",
|
|
127
|
+
"@types/react-dom": "17.0.2"
|
|
125
128
|
}
|
|
126
129
|
}
|