@eclass/ui-kit 1.31.0 → 1.32.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/atoms/Icons/AcademicRecord.d.ts +2 -1
- package/dist/atoms/Icons/AlertInfo.d.ts +2 -1
- package/dist/atoms/Icons/Alerts/ErrorWhite.d.ts +2 -1
- package/dist/atoms/Icons/Alerts/InfoWhite.d.ts +2 -1
- package/dist/atoms/Icons/Alerts/SuccessWhite.d.ts +2 -1
- package/dist/atoms/Icons/Alerts/WarningWhite.d.ts +2 -1
- package/dist/atoms/Icons/ArrowRight.d.ts +2 -1
- package/dist/atoms/Icons/Base.d.ts +2 -2
- package/dist/atoms/Icons/Certificate.d.ts +2 -1
- package/dist/atoms/Icons/CircularCheck.d.ts +2 -1
- package/dist/atoms/Icons/CircularInformation.d.ts +2 -1
- package/dist/atoms/Icons/Close.d.ts +2 -1
- package/dist/atoms/Icons/Download.d.ts +2 -1
- package/dist/atoms/Icons/GoAhead.d.ts +2 -1
- package/dist/atoms/Icons/GoBack.d.ts +2 -1
- package/dist/atoms/Icons/Loader.d.ts +1 -0
- package/dist/atoms/Icons/Multimedia.d.ts +2 -1
- package/dist/atoms/Icons/Password.d.ts +2 -1
- package/dist/atoms/Icons/Pen.d.ts +2 -1
- package/dist/atoms/Icons/PlusSign.d.ts +2 -1
- package/dist/atoms/Icons/Profile.d.ts +2 -1
- package/dist/atoms/Icons/Schedule.d.ts +2 -1
- package/dist/atoms/Icons/TextBubble.d.ts +2 -1
- package/dist/atoms/Icons/TinyAlertError.d.ts +2 -1
- package/dist/atoms/Icons/TinyAlertInfo.d.ts +2 -1
- package/dist/atoms/Icons/TinyAlertSuccess.d.ts +2 -1
- package/dist/atoms/Icons/TinyAlertWarning.d.ts +2 -1
- package/dist/atoms/Icons/TrashCan.d.ts +2 -1
- package/dist/atoms/Progress/Progress.d.ts +1 -0
- package/dist/atoms/Ripples/Ripples.d.ts +1 -0
- package/dist/atoms/TinyAlert/TinyAlert.d.ts +1 -0
- package/dist/eclass-ui-kit.es.js +36480 -28573
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +276 -371
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/molecules/Buttons/BtnPrimary.d.ts +2 -1
- package/dist/molecules/Buttons/BtnSecondary.d.ts +2 -1
- package/dist/molecules/Tooltip/NewTooltip.d.ts +3 -2
- package/dist/organisms/Alerts/Alert.d.ts +2 -1
- package/dist/organisms/Alerts/FlashNotification.d.ts +2 -1
- package/dist/organisms/Alerts/utils/alertStates.d.ts +4 -4
- package/dist/organisms/Alerts/utils/useFlashNotification.d.ts +1 -1
- package/dist/organisms/CourseList/Boxes/BoxImage.d.ts +2 -1
- package/dist/organisms/CourseList/Boxes/BoxTraditional.d.ts +1 -1
- package/dist/organisms/CourseList/Boxes/Boxes.d.ts +2 -1
- package/dist/organisms/CourseList/CourseList.d.ts +2 -1
- package/dist/organisms/CourseList/components/CourseStatus.d.ts +2 -1
- package/dist/organisms/CourseList/components/DateStatus.d.ts +1 -0
- package/dist/organisms/CourseList/components/Footer.d.ts +2 -1
- package/dist/organisms/CourseList/components/Header.d.ts +1 -0
- package/dist/organisms/CourseList/components/IconSelection.d.ts +1 -0
- package/dist/organisms/CourseList/components/Modal/PaymentModal.d.ts +2 -1
- package/dist/organisms/CourseList/components/Section.d.ts +1 -0
- package/dist/organisms/CourseList/utils/dataFake.d.ts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +61 -64
- package/dist/organisms/Alerts/types.d.ts +0 -66
- package/dist/organisms/CourseList/types.d.ts +0 -37
- package/dist/vite-env.d.ts +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from '@atoms';
|
|
2
|
+
export * from '@molecules';
|
|
3
|
+
export * from '@organisms';
|
|
4
|
+
export * from '@theme';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { PlacementWithLogical } from '@chakra-ui/react';
|
|
1
|
+
import { type FC, type ReactElement } from 'react';
|
|
2
|
+
import { type PlacementWithLogical } from '@chakra-ui/react';
|
|
3
3
|
interface TooltipProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
label?: React.ReactNode;
|
|
@@ -7,6 +7,7 @@ interface TooltipProps {
|
|
|
7
7
|
m?: string;
|
|
8
8
|
maxWidth?: string;
|
|
9
9
|
placement?: PlacementWithLogical;
|
|
10
|
+
children?: ReactElement;
|
|
10
11
|
}
|
|
11
12
|
export declare const NewTooltip: FC<TooltipProps>;
|
|
12
13
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IAlertProps } from './types.d';
|
|
2
3
|
/**
|
|
3
4
|
* Componente de alerta embebida que puede tener 4 estados diferentes.
|
|
4
5
|
* Opcionalmente puede llevar un botón. El botón puede mostrar sólo un texto
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type IFlashNotificationProps } from './types.d';
|
|
2
3
|
/**
|
|
3
4
|
* Componente de notificación flash que se muestra centrada en la parte superior de la pantalla.
|
|
4
5
|
* Para implementarlo, se usa en conjunto con el hook useFlashNotification.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export declare const alertStates: {
|
|
2
2
|
success: {
|
|
3
|
-
icon: JSX.Element;
|
|
3
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
bg: string;
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
7
7
|
error: {
|
|
8
|
-
icon: JSX.Element;
|
|
8
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
bg: string;
|
|
10
10
|
id: string;
|
|
11
11
|
};
|
|
12
12
|
info: {
|
|
13
|
-
icon: JSX.Element;
|
|
13
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
bg: string;
|
|
15
15
|
id: string;
|
|
16
16
|
};
|
|
17
17
|
warning: {
|
|
18
|
-
icon: JSX.Element;
|
|
18
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
bg: string;
|
|
20
20
|
id: string;
|
|
21
21
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type AcademicList, type WrapperCoursesProps } from '../types';
|
|
2
3
|
interface IBoxes {
|
|
3
4
|
type: WrapperCoursesProps['typeBox'];
|
|
4
5
|
modalPaymentText: WrapperCoursesProps['modalPaymentText'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type icon = 'schedule' | 'certificate' | 'circularCheck' | 'progress' | 'circularInformation';
|
|
2
2
|
export declare const dataBase: {
|
|
3
3
|
name: string;
|
|
4
4
|
background: string;
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const theme:
|
|
1
|
+
export declare const theme: Record<string, any>;
|
|
2
2
|
export declare const vars: (value: string) => string;
|