@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.
@@ -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: PaymentText
14
+ modalPaymentText?: PaymentText
15
+ typeBox?: 'TRADITIONAL' | 'TRADITIONAL_LANDSCAPE' | 'IMAGE_LARGE' | 'IMAGE_SMALL'
15
16
  }
16
17
 
17
18
  export interface FooterProps {
18
- modalPaymentText: PaymentText
19
+ modalPaymentText?: PaymentText
19
20
  }