@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.
Files changed (37) hide show
  1. package/dist/atoms/Icons/ArrowRight.d.ts +6 -0
  2. package/dist/atoms/Icons/Certificate.d.ts +6 -0
  3. package/dist/atoms/Icons/CircularCheck.d.ts +6 -0
  4. package/dist/atoms/Icons/CircularInformation.d.ts +6 -0
  5. package/dist/atoms/Icons/Icon.d.ts +12 -0
  6. package/dist/atoms/Icons/Schedule.d.ts +6 -0
  7. package/dist/atoms/Icons/index.d.ts +5 -0
  8. package/dist/atoms/Label/Label.d.ts +12 -0
  9. package/dist/atoms/Progress/Progress.d.ts +5 -0
  10. package/dist/atoms/Ripples/Ripples.d.ts +5 -0
  11. package/dist/atoms/index.d.ts +3 -0
  12. package/dist/eclass-ui-kit.es.js +10563 -1
  13. package/dist/eclass-ui-kit.es.js.map +1 -1
  14. package/dist/eclass-ui-kit.umd.js +33 -1
  15. package/dist/eclass-ui-kit.umd.js.map +1 -1
  16. package/dist/index.d.ts +3 -2
  17. package/dist/organisms/CourseList/CourseBox.d.ts +11 -0
  18. package/dist/organisms/CourseList/CourseList.d.ts +13 -0
  19. package/dist/organisms/CourseList/components/DateStatus.d.ts +9 -0
  20. package/dist/organisms/CourseList/components/Footer.d.ts +5 -0
  21. package/dist/organisms/CourseList/components/Header.d.ts +5 -0
  22. package/dist/organisms/CourseList/components/IconSelection.d.ts +8 -0
  23. package/dist/organisms/CourseList/components/Section.d.ts +5 -0
  24. package/dist/organisms/CourseList/components/index.d.ts +3 -0
  25. package/dist/organisms/CourseList/dataFake.d.ts +132 -0
  26. package/dist/organisms/CourseList/index.d.ts +1 -0
  27. package/dist/organisms/index.d.ts +1 -0
  28. package/dist/style.css +1 -0
  29. package/dist/theme/colors.d.ts +35 -0
  30. package/dist/theme/index.d.ts +6 -0
  31. package/dist/theme/styles.d.ts +8 -0
  32. package/package.json +36 -26
  33. package/dist/components/HelloWord/HelloWorld.d.ts +0 -9
  34. package/dist/components/HelloWord/index.d.ts +0 -1
  35. package/dist/components/Link/Link.d.ts +0 -12
  36. package/dist/components/Link/index.d.ts +0 -1
  37. 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
+ };
@@ -0,0 +1,6 @@
1
+ import '@fontsource/roboto/700.css';
2
+ import '@fontsource/roboto/500.css';
3
+ import '@fontsource/roboto/400.css';
4
+ import '@fontsource/roboto/300.css';
5
+ import '@fontsource/lora/400.css';
6
+ export declare const theme: import("@chakra-ui/utils").Dict<any>;
@@ -0,0 +1,8 @@
1
+ export declare const styles: {
2
+ global: (props: any) => {
3
+ '.react-ripples': {
4
+ h: string;
5
+ display: string;
6
+ };
7
+ };
8
+ };
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.0",
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.8",
63
- "@storybook/addon-essentials": "6.3.8",
64
- "@storybook/addon-links": "6.3.8",
65
- "@storybook/react": "6.3.8",
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.3.0",
67
+ "@testing-library/dom": "8.7.2",
68
68
  "@testing-library/jest-dom": "5.14.1",
69
- "@testing-library/react": "12.0.0",
69
+ "@testing-library/react": "12.1.2",
70
70
  "@testing-library/user-event": "13.2.1",
71
- "@types/jest": "27.0.1",
72
- "@types/react": "17.0.20",
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.31.0",
75
- "@typescript-eslint/parser": "4.31.0",
76
- "@vitejs/plugin-react-refresh": "1.3.6",
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.4.0",
87
- "eslint-plugin-jest-dom": "3.9.0",
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.25.1",
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.2",
96
- "jest": "27.1.1",
97
- "jest-watch-typeahead": "0.6.4",
98
- "prettier": "2.4.0",
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.12",
103
+ "storybook-builder-vite": "0.1.0",
103
104
  "ts-jest": "27.0.5",
104
- "typescript": "4.4.2",
105
- "vite": "2.5.6"
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,9 +0,0 @@
1
- /// <reference types="react" />
2
- interface HelloWorldProps {
3
- name: string;
4
- }
5
- export declare function HelloWorld({ name }: HelloWorldProps): JSX.Element;
6
- export declare namespace HelloWorld {
7
- var displayName: string;
8
- }
9
- export {};
@@ -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';
@@ -1,2 +0,0 @@
1
- export * from './HelloWord';
2
- export * from './Link';