@eclass/ui-kit 1.5.6 → 1.6.0
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/eclass-ui-kit.es.js +446 -127
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +18 -18
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/CourseList/CourseBox.d.ts +2 -1
- package/dist/organisms/CourseList/CourseList.d.ts +1 -1
- package/dist/organisms/CourseList/components/Footer.d.ts +5 -1
- package/dist/organisms/CourseList/types.d.ts +1 -0
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +36 -36
|
@@ -3,8 +3,9 @@ import * as Type from './types';
|
|
|
3
3
|
export declare const CourseBoxContext: React.Context<Partial<import("@eclass/api").AcademicBox>>;
|
|
4
4
|
interface CourseBoxProps {
|
|
5
5
|
data: Type.AcademicList;
|
|
6
|
+
onClick?: () => void;
|
|
6
7
|
}
|
|
7
|
-
export declare function CourseBox({ data }: CourseBoxProps): JSX.Element;
|
|
8
|
+
export declare function CourseBox({ data, onClick }: CourseBoxProps): JSX.Element;
|
|
8
9
|
export declare namespace CourseBox {
|
|
9
10
|
var displayName: string;
|
|
10
11
|
}
|
|
@@ -10,7 +10,7 @@ export declare const wCourse = 17.8125;
|
|
|
10
10
|
* Tener en cuenta el width del padre donde se pondra este componente, utilizar método maxWidthCoursesList
|
|
11
11
|
* @see src/organisms/CourseList/maxWidthCoursesList.ts
|
|
12
12
|
*/
|
|
13
|
-
export declare function CourseList({ courses, m, }: Type.WrapperCoursesProps): JSX.Element | null;
|
|
13
|
+
export declare function CourseList({ courses, m, onClick, }: Type.WrapperCoursesProps): JSX.Element | null;
|
|
14
14
|
export declare namespace CourseList {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
interface FooterProps {
|
|
3
|
+
onClick?: () => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function Footer({ onClick }: FooterProps): JSX.Element | null;
|
|
3
6
|
export declare namespace Footer {
|
|
4
7
|
var displayName: string;
|
|
5
8
|
}
|
|
9
|
+
export {};
|