@eclass/ui-kit 1.1.0 → 1.4.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/ArrowRight.d.ts +6 -0
- package/dist/atoms/Icons/Certificate.d.ts +6 -0
- package/dist/atoms/Icons/CircularCheck.d.ts +6 -0
- package/dist/atoms/Icons/CircularInformation.d.ts +6 -0
- package/dist/atoms/Icons/Icon.d.ts +12 -0
- package/dist/atoms/Icons/Schedule.d.ts +6 -0
- package/dist/atoms/Icons/index.d.ts +5 -0
- package/dist/atoms/Label/Label.d.ts +12 -0
- package/dist/atoms/Progress/Progress.d.ts +5 -0
- package/dist/atoms/Ripples/Ripples.d.ts +5 -0
- package/dist/atoms/index.d.ts +3 -0
- package/dist/eclass-ui-kit.es.js +10563 -1
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +33 -1
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/organisms/CourseList/CourseBox.d.ts +11 -0
- package/dist/organisms/CourseList/CourseList.d.ts +13 -0
- package/dist/organisms/CourseList/components/DateStatus.d.ts +9 -0
- package/dist/organisms/CourseList/components/Footer.d.ts +5 -0
- package/dist/organisms/CourseList/components/Header.d.ts +5 -0
- package/dist/organisms/CourseList/components/IconSelection.d.ts +8 -0
- package/dist/organisms/CourseList/components/Section.d.ts +5 -0
- package/dist/organisms/CourseList/components/index.d.ts +3 -0
- package/dist/organisms/CourseList/dataFake.d.ts +132 -0
- package/dist/organisms/CourseList/index.d.ts +1 -0
- package/dist/organisms/index.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/theme/colors.d.ts +35 -0
- package/dist/theme/index.d.ts +6 -0
- package/dist/theme/styles.d.ts +8 -0
- package/package.json +36 -26
- package/dist/components/HelloWord/HelloWorld.d.ts +0 -9
- package/dist/components/HelloWord/index.d.ts +0 -1
- package/dist/components/Link/Link.d.ts +0 -12
- package/dist/components/Link/index.d.ts +0 -1
- package/dist/components/index.d.ts +0 -2
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
main: {
|
|
3
|
+
blueGrey: string;
|
|
4
|
+
deepSkyBlue: string;
|
|
5
|
+
ziggurat: string;
|
|
6
|
+
veryLightBlue: string;
|
|
7
|
+
};
|
|
8
|
+
alert: {
|
|
9
|
+
deepSkyBlue: string;
|
|
10
|
+
veryLightBlue: string;
|
|
11
|
+
jadeGreen: string;
|
|
12
|
+
ice: string;
|
|
13
|
+
red: string;
|
|
14
|
+
veryLightPinkThree: string;
|
|
15
|
+
orangeyYelow: string;
|
|
16
|
+
pale: string;
|
|
17
|
+
};
|
|
18
|
+
icon: {
|
|
19
|
+
cetaceanBlue: string;
|
|
20
|
+
deepSkyBlue: string;
|
|
21
|
+
lightSeaGreen: string;
|
|
22
|
+
orangeRed: string;
|
|
23
|
+
ripeMango: string;
|
|
24
|
+
};
|
|
25
|
+
neutral: {
|
|
26
|
+
darkCharcoal: string;
|
|
27
|
+
davysGrey: string;
|
|
28
|
+
gray: string;
|
|
29
|
+
spanishGrey: string;
|
|
30
|
+
silverSand: string;
|
|
31
|
+
platinum: string;
|
|
32
|
+
cultured: string;
|
|
33
|
+
cultured2: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
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.1
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"dev": "vite",
|
|
33
33
|
"build": "tsc && vite build && npm run build:types",
|
|
34
|
-
"build:types": "tsc src/index.ts --declaration --emitDeclarationOnly --jsx react --esModuleInterop --outDir dist",
|
|
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",
|
|
37
37
|
"test-local": "jest --watch",
|
|
38
38
|
"storybook": "start-storybook -p 6006",
|
|
39
39
|
"build-storybook": "build-storybook -o docs/ ",
|
|
40
40
|
"lint": "npm run format && npm run eslint",
|
|
41
|
-
"format": "prettier --write 'src/**/*.{ts,tsx}'",
|
|
42
|
-
"eslint": "eslint 'src/**/*.{ts,tsx}' --fix",
|
|
43
|
-
"lint:check": "eslint 'src/**/*.{ts,tsx}'",
|
|
41
|
+
"format": "prettier --write 'src/**/*.{ts,tsx,mdx}'",
|
|
42
|
+
"eslint": "eslint 'src/**/*.{ts,tsx,mdx}' --fix",
|
|
43
|
+
"lint:check": "eslint 'src/**/*.{ts,tsx,mdx}'",
|
|
44
44
|
"deploy-storybook": "storybook-to-ghpages"
|
|
45
45
|
},
|
|
46
46
|
"storybook-deployer": {
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
"@babel/core": "7.15.5",
|
|
60
60
|
"@semantic-release/changelog": "5.0.1",
|
|
61
61
|
"@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.
|
|
62
|
+
"@storybook/addon-actions": "6.3.10",
|
|
63
|
+
"@storybook/addon-essentials": "6.3.10",
|
|
64
|
+
"@storybook/addon-links": "6.3.10",
|
|
65
|
+
"@storybook/react": "6.3.10",
|
|
66
66
|
"@storybook/storybook-deployer": "2.8.10",
|
|
67
|
-
"@testing-library/dom": "8.
|
|
67
|
+
"@testing-library/dom": "8.7.2",
|
|
68
68
|
"@testing-library/jest-dom": "5.14.1",
|
|
69
|
-
"@testing-library/react": "12.
|
|
69
|
+
"@testing-library/react": "12.1.2",
|
|
70
70
|
"@testing-library/user-event": "13.2.1",
|
|
71
|
-
"@types/jest": "27.0.
|
|
72
|
-
"@types/react": "17.0.
|
|
71
|
+
"@types/jest": "27.0.2",
|
|
72
|
+
"@types/react": "17.0.27",
|
|
73
73
|
"@types/react-dom": "17.0.9",
|
|
74
|
-
"@typescript-eslint/eslint-plugin": "4.
|
|
75
|
-
"@typescript-eslint/parser": "4.
|
|
76
|
-
"@vitejs/plugin-react
|
|
74
|
+
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
75
|
+
"@typescript-eslint/parser": "4.33.0",
|
|
76
|
+
"@vitejs/plugin-react": "1.0.2",
|
|
77
77
|
"babel-eslint": "10.1.0",
|
|
78
78
|
"babel-loader": "8.2.2",
|
|
79
79
|
"eslint": "7.32.0",
|
|
@@ -83,25 +83,35 @@
|
|
|
83
83
|
"eslint-config-standard-react": "11.0.1",
|
|
84
84
|
"eslint-config-standard-with-typescript": "21.0.1",
|
|
85
85
|
"eslint-plugin-import": "2.24.2",
|
|
86
|
-
"eslint-plugin-jest": "24.
|
|
87
|
-
"eslint-plugin-jest-dom": "3.9.
|
|
86
|
+
"eslint-plugin-jest": "24.5.2",
|
|
87
|
+
"eslint-plugin-jest-dom": "3.9.2",
|
|
88
88
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
89
|
+
"eslint-plugin-mdx": "1.15.1",
|
|
89
90
|
"eslint-plugin-node": "11.1.0",
|
|
90
91
|
"eslint-plugin-prettier": "4.0.0",
|
|
91
92
|
"eslint-plugin-promise": "5.1.0",
|
|
92
|
-
"eslint-plugin-react": "7.
|
|
93
|
+
"eslint-plugin-react": "7.26.1",
|
|
93
94
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
94
95
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
95
|
-
"eslint-plugin-testing-library": "4.12.
|
|
96
|
-
"jest": "27.
|
|
97
|
-
"jest-watch-typeahead": "0.
|
|
98
|
-
"prettier": "2.4.
|
|
96
|
+
"eslint-plugin-testing-library": "4.12.4",
|
|
97
|
+
"jest": "27.2.4",
|
|
98
|
+
"jest-watch-typeahead": "1.0.0",
|
|
99
|
+
"prettier": "2.4.1",
|
|
99
100
|
"react": "17.0.2",
|
|
100
101
|
"react-dom": "17.0.2",
|
|
101
102
|
"semantic-release": "17.4.7",
|
|
102
|
-
"storybook-builder-vite": "0.0
|
|
103
|
+
"storybook-builder-vite": "0.1.0",
|
|
103
104
|
"ts-jest": "27.0.5",
|
|
104
|
-
"typescript": "4.4.
|
|
105
|
-
"vite": "2.
|
|
105
|
+
"typescript": "4.4.3",
|
|
106
|
+
"vite": "2.6.3"
|
|
107
|
+
},
|
|
108
|
+
"dependencies": {
|
|
109
|
+
"@chakra-ui/react": "1.6.9",
|
|
110
|
+
"@emotion/react": "11.4.1",
|
|
111
|
+
"@emotion/styled": "11.3.0",
|
|
112
|
+
"@fontsource/lora": "4.5.0",
|
|
113
|
+
"@fontsource/roboto": "4.5.1",
|
|
114
|
+
"framer-motion": "4.1.17",
|
|
115
|
+
"react-ripples": "2.2.1"
|
|
106
116
|
}
|
|
107
117
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { HelloWorld } from './HelloWorld';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface LinkProps extends React.HTMLAttributes<HTMLAnchorElement> {
|
|
3
|
-
/** Provides a text to the anchor */
|
|
4
|
-
children?: React.ReactChild;
|
|
5
|
-
/** Decoration for the anchor */
|
|
6
|
-
textDecoration?: string;
|
|
7
|
-
}
|
|
8
|
-
/** This is a link */
|
|
9
|
-
export declare function Link({ textDecoration, children, ...props }: LinkProps): JSX.Element;
|
|
10
|
-
export declare namespace Link {
|
|
11
|
-
var displayName: string;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Link } from './Link';
|