@eclass/ui-kit 1.18.4 → 1.19.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 +107 -8
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +32 -32
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/CourseList/Boxes/BoxImage.d.ts +14 -0
- package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts +12 -0
- package/dist/organisms/CourseList/Boxes/Boxes.d.ts +9 -0
- package/dist/organisms/CourseList/Boxes/index.d.ts +1 -0
- package/dist/organisms/CourseList/CourseList.d.ts +1 -1
- package/dist/organisms/CourseList/types.d.ts +3 -2
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/organisms/CourseList/CourseBox.d.ts +0 -12
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as Type from '../types';
|
|
3
|
+
interface ImageBoxProps {
|
|
4
|
+
backgroundImg: string;
|
|
5
|
+
title: string;
|
|
6
|
+
data?: Type.AcademicList;
|
|
7
|
+
size?: 'large' | 'small';
|
|
8
|
+
m?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function BoxImage({ backgroundImg, title, data, size, m, }: ImageBoxProps): JSX.Element;
|
|
11
|
+
export declare namespace BoxImage {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as Type from '../types';
|
|
3
|
+
export declare const CourseBoxContext: React.Context<Partial<import("@eclass/api").AcademicBox>>;
|
|
4
|
+
interface IBoxTraditional {
|
|
5
|
+
data: Type.AcademicList;
|
|
6
|
+
modalPaymentText?: Type.PaymentText;
|
|
7
|
+
}
|
|
8
|
+
export declare function BoxTraditional({ data, modalPaymentText }: IBoxTraditional): JSX.Element;
|
|
9
|
+
export declare namespace BoxTraditional {
|
|
10
|
+
var displayName: string;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AcademicList, WrapperCoursesProps } from '../types';
|
|
3
|
+
interface IBoxes {
|
|
4
|
+
type: WrapperCoursesProps['typeBox'];
|
|
5
|
+
modalPaymentText: WrapperCoursesProps['modalPaymentText'];
|
|
6
|
+
data: AcademicList;
|
|
7
|
+
}
|
|
8
|
+
export declare const Boxes: ({ type, data, modalPaymentText }: IBoxes) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Boxes';
|
|
@@ -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, modalPaymentText, m, }: Type.WrapperCoursesProps): JSX.Element | null;
|
|
13
|
+
export declare function CourseList({ courses, modalPaymentText, m, typeBox, }: Type.WrapperCoursesProps): JSX.Element | null;
|
|
14
14
|
export declare namespace CourseList {
|
|
15
15
|
var displayName: string;
|
|
16
16
|
}
|
|
@@ -11,9 +11,10 @@ interface PaymentText {
|
|
|
11
11
|
export interface WrapperCoursesProps {
|
|
12
12
|
courses: AcademicList[]
|
|
13
13
|
m?: string
|
|
14
|
-
modalPaymentText
|
|
14
|
+
modalPaymentText?: PaymentText
|
|
15
|
+
typeBox?: 'TRADITIONAL' | 'TRADITIONAL_LANDSCAPE' | 'IMAGE_LARGE' | 'IMAGE_SMALL'
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export interface FooterProps {
|
|
18
|
-
modalPaymentText
|
|
19
|
+
modalPaymentText?: PaymentText
|
|
19
20
|
}
|