@eclass/ui-kit 1.4.3 → 1.5.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/Label/Label.d.ts +4 -0
- package/dist/atoms/Progress/Progress.d.ts +9 -1
- package/dist/atoms/Ripples/Ripples.d.ts +9 -0
- package/dist/components/TestVars.d.ts +6 -0
- package/dist/eclass-ui-kit.es.js +128 -86
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +6 -6
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/organisms/CourseList/CourseBox.d.ts +3 -3
- package/dist/organisms/CourseList/CourseList.d.ts +2 -6
- package/dist/organisms/CourseList/components/DateStatus.d.ts +1 -1
- package/dist/organisms/CourseList/components/IconSelection.d.ts +2 -3
- package/dist/organisms/CourseList/maxWidthCoursesList.d.ts +1 -1
- package/package.json +27 -21
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import
|
|
3
|
-
export declare const CourseBoxContext: React.Context<Partial<box>>;
|
|
2
|
+
import * as Type from './types.d';
|
|
3
|
+
export declare const CourseBoxContext: React.Context<Partial<import("./dataFake").box>>;
|
|
4
4
|
interface CourseBoxProps {
|
|
5
|
-
data:
|
|
5
|
+
data: Type.AcademicList;
|
|
6
6
|
}
|
|
7
7
|
export declare function CourseBox({ data }: CourseBoxProps): JSX.Element;
|
|
8
8
|
export declare namespace CourseBox {
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
courses: any;
|
|
4
|
-
m?: string;
|
|
5
|
-
}
|
|
2
|
+
import * as Type from './types.d';
|
|
6
3
|
export declare const columnGap = 1.25;
|
|
7
4
|
export declare const wCourse = 17.8125;
|
|
8
5
|
/**
|
|
@@ -13,8 +10,7 @@ export declare const wCourse = 17.8125;
|
|
|
13
10
|
* Tener en cuenta el width del padre donde se pondra este componente, utilizar método maxWidthCoursesList
|
|
14
11
|
* @see src/organisms/CourseList/maxWidthCoursesList.ts
|
|
15
12
|
*/
|
|
16
|
-
export declare function CourseList({ courses, m }: WrapperCoursesProps): JSX.Element | null;
|
|
13
|
+
export declare function CourseList({ courses, m, }: Type.WrapperCoursesProps): JSX.Element | null;
|
|
17
14
|
export declare namespace CourseList {
|
|
18
15
|
var displayName: string;
|
|
19
16
|
}
|
|
20
|
-
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { icon } from '../dataFake';
|
|
3
2
|
interface IconSelectionProps {
|
|
4
|
-
type:
|
|
3
|
+
type: string;
|
|
5
4
|
progressValue?: number;
|
|
6
5
|
}
|
|
7
|
-
export declare function IconSelection({ type, progressValue }: IconSelectionProps): JSX.Element;
|
|
6
|
+
export declare function IconSelection({ type, progressValue }: IconSelectionProps): JSX.Element | null;
|
|
8
7
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclass/ui-kit",
|
|
3
3
|
"description": "Elementos UI transversales eClass",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.5.1",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"scripts": {
|
|
32
32
|
"dev": "vite",
|
|
33
|
-
"build": "
|
|
33
|
+
"build": "vite build && npm run build:types",
|
|
34
34
|
"build:types": "tsc src/index.ts --declaration --emitDeclarationOnly --jsx react-jsx --esModuleInterop --outDir dist",
|
|
35
35
|
"serve": "vite preview",
|
|
36
36
|
"test": "jest --coverage",
|
|
@@ -39,9 +39,11 @@
|
|
|
39
39
|
"build-storybook": "build-storybook -o docs/ ",
|
|
40
40
|
"lint": "npm run format && npm run eslint",
|
|
41
41
|
"format": "prettier --write 'src/**/*.{ts,tsx,mdx}'",
|
|
42
|
-
"eslint": "eslint 'src/**/*.{ts,tsx,mdx}' --fix",
|
|
42
|
+
"eslint": "eslint 'src/**/*.{ts,tsx,mdx}' --fix --cache",
|
|
43
43
|
"lint:check": "eslint 'src/**/*.{ts,tsx,mdx}'",
|
|
44
|
-
"
|
|
44
|
+
"ts-compile-check": "tsc -p tsconfig.json --noEmit --incremental",
|
|
45
|
+
"deploy-storybook": "storybook-to-ghpages",
|
|
46
|
+
"prepare": "node ./prepare.js"
|
|
45
47
|
},
|
|
46
48
|
"storybook-deployer": {
|
|
47
49
|
"gitUsername": "SeGonzalezR",
|
|
@@ -57,23 +59,25 @@
|
|
|
57
59
|
},
|
|
58
60
|
"devDependencies": {
|
|
59
61
|
"@babel/core": "7.15.8",
|
|
62
|
+
"@commitlint/cli": "^13.2.1",
|
|
63
|
+
"@commitlint/config-conventional": "^13.2.0",
|
|
60
64
|
"@semantic-release/changelog": "5.0.1",
|
|
61
65
|
"@semantic-release/git": "9.0.1",
|
|
62
|
-
"@storybook/addon-actions": "6.3.
|
|
63
|
-
"@storybook/addon-essentials": "6.3.
|
|
64
|
-
"@storybook/addon-links": "6.3.
|
|
65
|
-
"@storybook/react": "6.3.
|
|
66
|
+
"@storybook/addon-actions": "6.3.12",
|
|
67
|
+
"@storybook/addon-essentials": "6.3.12",
|
|
68
|
+
"@storybook/addon-links": "6.3.12",
|
|
69
|
+
"@storybook/react": "6.3.12",
|
|
66
70
|
"@storybook/storybook-deployer": "2.8.10",
|
|
67
|
-
"@testing-library/dom": "8.
|
|
71
|
+
"@testing-library/dom": "8.10.1",
|
|
68
72
|
"@testing-library/jest-dom": "5.14.1",
|
|
69
73
|
"@testing-library/react": "12.1.2",
|
|
70
|
-
"@testing-library/user-event": "13.
|
|
74
|
+
"@testing-library/user-event": "13.5.0",
|
|
71
75
|
"@types/jest": "27.0.2",
|
|
72
|
-
"@types/react": "17.0.
|
|
76
|
+
"@types/react": "17.0.30",
|
|
73
77
|
"@types/react-dom": "17.0.9",
|
|
74
78
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
75
79
|
"@typescript-eslint/parser": "4.33.0",
|
|
76
|
-
"@vitejs/plugin-react": "1.0.
|
|
80
|
+
"@vitejs/plugin-react": "1.0.5",
|
|
77
81
|
"babel-eslint": "10.1.0",
|
|
78
82
|
"babel-loader": "8.2.2",
|
|
79
83
|
"eslint": "7.32.0",
|
|
@@ -82,8 +86,8 @@
|
|
|
82
86
|
"eslint-config-standard-jsx": "10.0.0",
|
|
83
87
|
"eslint-config-standard-react": "11.0.1",
|
|
84
88
|
"eslint-config-standard-with-typescript": "21.0.1",
|
|
85
|
-
"eslint-plugin-import": "2.
|
|
86
|
-
"eslint-plugin-jest": "24.
|
|
89
|
+
"eslint-plugin-import": "2.25.2",
|
|
90
|
+
"eslint-plugin-jest": "24.7.0",
|
|
87
91
|
"eslint-plugin-jest-dom": "3.9.2",
|
|
88
92
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
89
93
|
"eslint-plugin-mdx": "1.15.1",
|
|
@@ -94,20 +98,22 @@
|
|
|
94
98
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
95
99
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
96
100
|
"eslint-plugin-testing-library": "4.12.4",
|
|
97
|
-
"
|
|
101
|
+
"husky": "7.0.2",
|
|
102
|
+
"jest": "27.3.1",
|
|
98
103
|
"jest-watch-typeahead": "1.0.0",
|
|
104
|
+
"lint-staged": "11.2.3",
|
|
99
105
|
"prettier": "2.4.1",
|
|
100
106
|
"react": "17.0.2",
|
|
101
107
|
"react-dom": "17.0.2",
|
|
102
108
|
"semantic-release": "17.4.7",
|
|
103
|
-
"storybook-builder-vite": "0.1.
|
|
104
|
-
"ts-jest": "27.0.
|
|
105
|
-
"typescript": "4.4.
|
|
106
|
-
"vite": "2.6.
|
|
109
|
+
"storybook-builder-vite": "0.1.2",
|
|
110
|
+
"ts-jest": "27.0.7",
|
|
111
|
+
"typescript": "4.4.4",
|
|
112
|
+
"vite": "2.6.10"
|
|
107
113
|
},
|
|
108
114
|
"dependencies": {
|
|
109
|
-
"@chakra-ui/react": "1.6.
|
|
110
|
-
"@emotion/react": "11.
|
|
115
|
+
"@chakra-ui/react": "1.6.10",
|
|
116
|
+
"@emotion/react": "11.5.0",
|
|
111
117
|
"@emotion/styled": "11.3.0",
|
|
112
118
|
"@fontsource/lora": "4.5.0",
|
|
113
119
|
"@fontsource/roboto": "4.5.1",
|