@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 { BaseProps } from './Base';
2
3
  export declare function AcademicRecord(props: BaseProps): JSX.Element;
3
4
  export declare namespace AcademicRecord {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function AlertInfo(props: BaseProps): JSX.Element;
3
4
  export declare namespace AlertInfo {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from '../Base';
2
3
  export declare function ErrorWhite(props: BaseProps): JSX.Element;
3
4
  export declare namespace ErrorWhite {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from '../Base';
2
3
  export declare function InfoWhite(props: BaseProps): JSX.Element;
3
4
  export declare namespace InfoWhite {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from '../Base';
2
3
  export declare function SuccessWhite(props: BaseProps): JSX.Element;
3
4
  export declare namespace SuccessWhite {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from '../Base';
2
3
  export declare function WarningWhite(props: BaseProps): JSX.Element;
3
4
  export declare namespace WarningWhite {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function ArrowRight(props: BaseProps): JSX.Element;
3
4
  export declare namespace ArrowRight {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Certificate(props: BaseProps): JSX.Element;
3
4
  export declare namespace Certificate {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function CircularCheck(props: BaseProps): JSX.Element;
3
4
  export declare namespace CircularCheck {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function CircularInformation(props: BaseProps): JSX.Element;
3
4
  export declare namespace CircularInformation {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Close(props: BaseProps): JSX.Element;
3
4
  export declare namespace Close {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Download(props: BaseProps): JSX.Element;
3
4
  export declare namespace Download {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function GoAhead(props: BaseProps): JSX.Element;
3
4
  export declare namespace GoAhead {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function GoBack(props: BaseProps): JSX.Element;
3
4
  export declare namespace GoBack {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface props {
2
3
  fill?: string;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Multimedia(props: BaseProps): JSX.Element;
3
4
  export declare namespace Multimedia {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Password(props: BaseProps): JSX.Element;
3
4
  export declare namespace Password {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Pen(props: BaseProps): JSX.Element;
3
4
  export declare namespace Pen {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function PlusSign(props: BaseProps): JSX.Element;
3
4
  export declare namespace PlusSign {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Profile(props: BaseProps): JSX.Element;
3
4
  export declare namespace Profile {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function Schedule(props: BaseProps): JSX.Element;
3
4
  export declare namespace Schedule {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function TextBubble(props: BaseProps): JSX.Element;
3
4
  export declare namespace TextBubble {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function TinyAlertError(props: BaseProps): JSX.Element;
3
4
  export declare namespace TinyAlertError {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function TinyAlertInfo(props: BaseProps): JSX.Element;
3
4
  export declare namespace TinyAlertInfo {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function TinyAlertSuccess(props: BaseProps): JSX.Element;
3
4
  export declare namespace TinyAlertSuccess {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function TinyAlertWarning(props: BaseProps): JSX.Element;
3
4
  export declare namespace TinyAlertWarning {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { BaseProps } from './Base';
2
3
  export declare function TrashCan(props: BaseProps): JSX.Element;
3
4
  export declare namespace TrashCan {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface ProgressProps {
2
3
  value: number;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Componente Ripples se debe poner entre un Wrapper y su contenido
3
4
  * @example
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface props {
2
3
  status: 'success' | 'error' | 'info' | 'warning' | 'answered' | 'pending' | 'omitted' | 'new';
3
4
  text?: string;
@@ -29542,6 +29542,7 @@ function BtnTertiary({
29542
29542
  type = "button",
29543
29543
  tabIndex,
29544
29544
  id: id2,
29545
+ activeWhenPress = false,
29545
29546
  onClick
29546
29547
  }) {
29547
29548
  var _a;
@@ -29617,6 +29618,7 @@ function BtnTertiary({
29617
29618
  boxShadow: `inset 0 0 0 2px ${blue}, inset 0 0 0 4px ${white}`
29618
29619
  },
29619
29620
  _focus: {
29621
+ color: activeWhenPress ? `${blue}` : "inherit",
29620
29622
  boxShadow: "none"
29621
29623
  },
29622
29624
  _active: {
@@ -29633,6 +29635,11 @@ function BtnTertiary({
29633
29635
  fill: colorIcon
29634
29636
  }
29635
29637
  }
29638
+ },
29639
+ "&:focus": {
29640
+ "svg path": {
29641
+ fill: activeWhenPress ? `${blue}` : ""
29642
+ }
29636
29643
  }
29637
29644
  },
29638
29645
  children
@@ -29677,9 +29684,11 @@ const NewTooltip = ({
29677
29684
  isDisabled: isDisabled2 = false,
29678
29685
  m: m2,
29679
29686
  maxWidth = "200px",
29680
- placement = "bottom"
29687
+ placement = "bottom",
29688
+ isOpen
29681
29689
  }) => {
29682
29690
  return /* @__PURE__ */ jsx(Tooltip, {
29691
+ isOpen,
29683
29692
  sx: {
29684
29693
  bg: vars("colors-neutral-darkCharcoal"),
29685
29694
  borderRadius: "10px",