@eclass/ui-kit 1.34.0 → 1.35.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.
Files changed (53) hide show
  1. package/dist/atoms/Icons/AcademicRecord.d.ts +1 -0
  2. package/dist/atoms/Icons/AlertInfo.d.ts +1 -0
  3. package/dist/atoms/Icons/Alerts/ErrorWhite.d.ts +1 -0
  4. package/dist/atoms/Icons/Alerts/InfoWhite.d.ts +1 -0
  5. package/dist/atoms/Icons/Alerts/SuccessWhite.d.ts +1 -0
  6. package/dist/atoms/Icons/Alerts/WarningWhite.d.ts +1 -0
  7. package/dist/atoms/Icons/ArrowRight.d.ts +1 -0
  8. package/dist/atoms/Icons/Certificate.d.ts +1 -0
  9. package/dist/atoms/Icons/CircularCheck.d.ts +1 -0
  10. package/dist/atoms/Icons/CircularInformation.d.ts +1 -0
  11. package/dist/atoms/Icons/Close.d.ts +1 -0
  12. package/dist/atoms/Icons/Download.d.ts +1 -0
  13. package/dist/atoms/Icons/GoAhead.d.ts +1 -0
  14. package/dist/atoms/Icons/GoBack.d.ts +1 -0
  15. package/dist/atoms/Icons/Loader.d.ts +1 -0
  16. package/dist/atoms/Icons/Multimedia.d.ts +1 -0
  17. package/dist/atoms/Icons/Password.d.ts +1 -0
  18. package/dist/atoms/Icons/Pen.d.ts +1 -0
  19. package/dist/atoms/Icons/PlusSign.d.ts +1 -0
  20. package/dist/atoms/Icons/Profile.d.ts +1 -0
  21. package/dist/atoms/Icons/Schedule.d.ts +1 -0
  22. package/dist/atoms/Icons/TextBubble.d.ts +1 -0
  23. package/dist/atoms/Icons/TinyAlertError.d.ts +1 -0
  24. package/dist/atoms/Icons/TinyAlertInfo.d.ts +1 -0
  25. package/dist/atoms/Icons/TinyAlertSuccess.d.ts +1 -0
  26. package/dist/atoms/Icons/TinyAlertWarning.d.ts +1 -0
  27. package/dist/atoms/Icons/TrashCan.d.ts +1 -0
  28. package/dist/atoms/Progress/Progress.d.ts +1 -0
  29. package/dist/atoms/Ripples/Ripples.d.ts +1 -0
  30. package/dist/atoms/TinyAlert/TinyAlert.d.ts +1 -0
  31. package/dist/eclass-ui-kit.es.js +10 -1
  32. package/dist/eclass-ui-kit.es.js.map +1 -1
  33. package/dist/eclass-ui-kit.umd.js +15 -15
  34. package/dist/eclass-ui-kit.umd.js.map +1 -1
  35. package/dist/molecules/Buttons/BtnPrimary.d.ts +1 -0
  36. package/dist/molecules/Buttons/BtnSecondary.d.ts +1 -0
  37. package/dist/molecules/Buttons/BtnTertiary.d.ts +2 -1
  38. package/dist/molecules/Tooltip/NewTooltip.d.ts +1 -0
  39. package/dist/organisms/Alerts/Alert.d.ts +1 -0
  40. package/dist/organisms/Alerts/FlashNotification.d.ts +1 -0
  41. package/dist/organisms/Alerts/utils/alertStates.d.ts +1 -0
  42. package/dist/organisms/CourseList/Boxes/BoxImage.d.ts +1 -0
  43. package/dist/organisms/CourseList/Boxes/Boxes.d.ts +1 -0
  44. package/dist/organisms/CourseList/CourseList.d.ts +1 -0
  45. package/dist/organisms/CourseList/components/CourseStatus.d.ts +1 -0
  46. package/dist/organisms/CourseList/components/DateStatus.d.ts +1 -0
  47. package/dist/organisms/CourseList/components/Footer.d.ts +1 -0
  48. package/dist/organisms/CourseList/components/Header.d.ts +1 -0
  49. package/dist/organisms/CourseList/components/IconSelection.d.ts +1 -0
  50. package/dist/organisms/CourseList/components/Modal/PaymentModal.d.ts +1 -0
  51. package/dist/organisms/CourseList/components/Section.d.ts +1 -0
  52. package/dist/tsconfig.types.tsbuildinfo +1 -1
  53. package/package.json +2 -3
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { propsBaseBtns } from './Btn';
2
3
  /**
3
4
  * Componente BtnPrimary
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { propsBaseBtns } from './Btn';
2
3
  /**
3
4
  * Componente BtnSecondary
@@ -9,9 +9,10 @@ export interface propsTertiaryBtn {
9
9
  type?: 'button' | 'submit' | 'reset';
10
10
  tabIndex?: number;
11
11
  id?: string;
12
+ activeWhenPress?: boolean;
12
13
  onClick?: (e: React.MouseEvent<HTMLElement>) => void;
13
14
  }
14
- export declare function BtnTertiary({ children, iconStatus, iconCustom, rightIcon, withoutColor, m, type, tabIndex, id, onClick, }: propsTertiaryBtn): JSX.Element;
15
+ export declare function BtnTertiary({ children, iconStatus, iconCustom, rightIcon, withoutColor, m, type, tabIndex, id, activeWhenPress, onClick, }: propsTertiaryBtn): JSX.Element;
15
16
  export declare namespace BtnTertiary {
16
17
  var displayName: string;
17
18
  }
@@ -7,6 +7,7 @@ interface TooltipProps {
7
7
  m?: string;
8
8
  maxWidth?: string;
9
9
  placement?: PlacementWithLogical;
10
+ isOpen?: boolean | undefined;
10
11
  }
11
12
  export declare const NewTooltip: FC<TooltipProps>;
12
13
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IAlertProps } from './types.d';
2
3
  /**
3
4
  * Componente de alerta embebida que puede tener 4 estados diferentes.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IFlashNotificationProps } from './types.d';
2
3
  /**
3
4
  * Componente de notificación flash que se muestra centrada en la parte superior de la pantalla.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const alertStates: {
2
3
  success: {
3
4
  icon: JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as Type from '../types';
2
3
  interface ImageBoxProps {
3
4
  backgroundImg: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AcademicList, WrapperCoursesProps } from '../types';
2
3
  interface IBoxes {
3
4
  type: WrapperCoursesProps['typeBox'];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as Type from './types';
2
3
  export declare const columnGap = 1.25;
3
4
  export declare const wCourse = 17.8125;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProgressCourse, StatusCourse } from '@eclass/api';
2
3
  interface props {
3
4
  /** import { ProgressCourse } from '@eclass/api' */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface DateStatusProps {
2
3
  date?: string;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as Type from '../types';
2
3
  export declare function Footer({ modalPaymentText }: Type.FooterProps): JSX.Element | null;
3
4
  export declare namespace Footer {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Header(): JSX.Element;
2
3
  export declare namespace Header {
3
4
  var displayName: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface IconSelectionProps {
2
3
  type: string;
3
4
  progressValue?: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import * as Type from '../../types';
2
3
  interface PaymentModalProps {
3
4
  isOpen: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Section(): JSX.Element | null;
2
3
  export declare namespace Section {
3
4
  var displayName: string;