@eclass/ui-kit 1.51.8 → 1.51.9

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.
@@ -9,7 +9,7 @@ import { IAlertProps } from './types.d';
9
9
  * state='info'
10
10
  * buttonName='Texto botón'
11
11
  * buttonIcon={<Multimedia />}
12
- * onClick={() => alert('hola')}
12
+ * onClick={() => alert('hola ')}
13
13
  * m='0 20px'>
14
14
  * Mensaje
15
15
  * </Alert>
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { ICalendarDropdown } from '../types';
3
- export declare const CalendarDropdownContainer: ({ events, loading, text, now, redirectToCalendar, courseColors: colors, m, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdownContainer: ({ events, loading, text, now, redirectToCalendar, courseColors: colors, onlyToCalendar, m, }: ICalendarDropdown) => JSX.Element;
@@ -6,7 +6,7 @@ interface EventsProps {
6
6
  tomorrow: Event[];
7
7
  next: Event[];
8
8
  };
9
- text: Text;
9
+ text?: Text;
10
10
  redirecToCalendar: () => void;
11
11
  isMobile: boolean;
12
12
  colors: any;
@@ -3,6 +3,8 @@ interface IGoToCalendar {
3
3
  hasNew: boolean;
4
4
  text: string;
5
5
  tooltipDisabled: boolean;
6
+ onlyToCalendar?: boolean;
7
+ onClick?: () => void;
6
8
  }
7
- export declare const GoToCalendar: ({ hasNew, text, tooltipDisabled }: IGoToCalendar) => JSX.Element;
9
+ export declare const GoToCalendar: ({ hasNew, text, tooltipDisabled, onlyToCalendar, onClick, }: IGoToCalendar) => JSX.Element;
8
10
  export {};
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import { ICalendarDropdown } from './types';
3
- export declare const CalendarDropdown: ({ redirectToCalendar, text, courseColors, now, events, loading, m, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdown: ({ redirectToCalendar, text, courseColors, now, events, loading, onlyToCalendar, m, }: ICalendarDropdown) => JSX.Element;
@@ -45,5 +45,6 @@ interface ICalendarDropdown {
45
45
  loading?: boolean
46
46
  now: string
47
47
  redirectToCalendar: () => void
48
- text: Text
48
+ text?: Text
49
+ onlyToCalendar?: boolean
49
50
  }