@eclass/ui-kit 1.52.4 → 1.52.7

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.
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ICalendarDropdown } from '../types';
3
- export declare const CalendarDropdownContainer: ({ events, loading, text, now, redirectToCalendar, courseColors, onlyToCalendar, m, clickEvent, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdownContainer: ({ events, loading, text, now, redirectToCalendar, courseColors, onlyToCalendar, m, }: ICalendarDropdown) => JSX.Element;
4
4
  //# sourceMappingURL=CalendarDropdownContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDropdownContainer.d.ts","sourceRoot":"","sources":["../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,yBAAyB,qGAUnC,iBAAiB,KAAG,WAiKtB,CAAA"}
1
+ {"version":3,"file":"CalendarDropdownContainer.d.ts","sourceRoot":"","sources":["../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,yBAAyB,yFASnC,iBAAiB,KAAG,WAgKtB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { Text, Event, ICalendarDropdown } from '../../types';
2
+ import { Text, Event } from '../../types';
3
3
  interface IEventsProps {
4
4
  events: {
5
5
  today: Event[];
@@ -10,8 +10,7 @@ interface IEventsProps {
10
10
  redirecToCalendar: () => void;
11
11
  isMobile: boolean;
12
12
  colors?: Record<string, string>;
13
- clickEvent?: ICalendarDropdown['clickEvent'];
14
13
  }
15
- export declare const Events: ({ events, text, redirecToCalendar, isMobile, colors, clickEvent, }: IEventsProps) => JSX.Element;
14
+ export declare const Events: ({ events, text, redirecToCalendar, isMobile, colors, }: IEventsProps) => JSX.Element;
16
15
  export {};
17
16
  //# sourceMappingURL=Events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Events.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/Events.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAG5D,UAAU,YAAY;IACpB,MAAM,EAAE;QACN,KAAK,EAAE,KAAK,EAAE,CAAA;QACd,QAAQ,EAAE,KAAK,EAAE,CAAA;QACjB,IAAI,EAAE,KAAK,EAAE,CAAA;KACd,CAAA;IACD,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAA;CAC7C;AAED,eAAO,MAAM,MAAM,uEAOhB,YAAY,KAAG,WAuDjB,CAAA"}
1
+ {"version":3,"file":"Events.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/Events.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAGzC,UAAU,YAAY;IACpB,MAAM,EAAE;QACN,KAAK,EAAE,KAAK,EAAE,CAAA;QACd,QAAQ,EAAE,KAAK,EAAE,CAAA;QACjB,IAAI,EAAE,KAAK,EAAE,CAAA;KACd,CAAA;IACD,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAChC;AAED,eAAO,MAAM,MAAM,2DAMhB,YAAY,KAAG,WAoDjB,CAAA"}
@@ -1,12 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { Event, ICalendarDropdown } from '../../types';
2
+ import { Event } from '../../types';
3
3
  interface IEventsGroupProps {
4
4
  title: string;
5
5
  events: Event[];
6
6
  text: string;
7
7
  colors?: Record<string, string>;
8
- clickEvent?: ICalendarDropdown['clickEvent'];
9
8
  }
10
- export declare const EventsGroup: ({ title, events, text, colors, clickEvent, }: IEventsGroupProps) => JSX.Element;
9
+ export declare const EventsGroup: ({ title, events, text, colors }: IEventsGroupProps) => JSX.Element;
11
10
  export {};
12
11
  //# sourceMappingURL=EventsGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventsGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/EventsGroup.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAEtD,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,UAAU,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAA;CAC7C;AAED,eAAO,MAAM,WAAW,iDAMrB,iBAAiB,KAAG,WA2DtB,CAAA"}
1
+ {"version":3,"file":"EventsGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/EventsGroup.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAChC;AAED,eAAO,MAAM,WAAW,oCAAqC,iBAAiB,KAAG,WAwDhF,CAAA"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ICalendarDropdown } from './types';
3
- export declare const CalendarDropdown: ({ redirectToCalendar, text, courseColors, now, events, loading, onlyToCalendar, m, clickEvent, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdown: ({ redirectToCalendar, text, courseColors, now, events, loading, onlyToCalendar, m, }: ICalendarDropdown) => JSX.Element;
4
4
  //# sourceMappingURL=CalendarDropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDropdown.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/Dropdown/CalendarDropdown.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,gBAAgB,qGAU1B,iBAAiB,KAAG,WAiBtB,CAAA"}
1
+ {"version":3,"file":"CalendarDropdown.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/Dropdown/CalendarDropdown.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,gBAAgB,yFAS1B,iBAAiB,KAAG,WAgBtB,CAAA"}
@@ -9,8 +9,9 @@ interface Course {
9
9
  }
10
10
 
11
11
  interface FormattedDate {
12
- start: string
13
- hours: string
12
+ day: string
13
+ date: string
14
+ time: string
14
15
  }
15
16
 
16
17
  export interface Event {
@@ -22,6 +23,7 @@ export interface Event {
22
23
  course: Course
23
24
  formatedDate: FormattedDate
24
25
  isNew?: boolean
26
+ type: string
25
27
  }
26
28
 
27
29
  export type Events = Event[]
@@ -49,5 +51,4 @@ interface ICalendarDropdown {
49
51
  redirectToCalendar: () => void
50
52
  text?: Text
51
53
  onlyToCalendar?: boolean
52
- clickEvent?: (event: Event) => void
53
54
  }
@@ -1,14 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  export interface IEventList {
3
- hasNotification?: boolean;
4
- isDropdown?: boolean;
5
- name: string;
6
3
  color?: string;
7
4
  courseName?: string;
8
- text: string;
5
+ day: string;
9
6
  date: string;
10
- hours: string;
11
- clickEvent?: () => void;
7
+ hasNotification?: boolean;
8
+ showsCourseName?: boolean;
9
+ time: string;
10
+ name: string;
11
+ text: string;
12
+ type: string;
12
13
  }
13
- export declare const EventsList: ({ hasNotification, isDropdown, name, courseName, color, text, date, hours, clickEvent, }: IEventList) => JSX.Element;
14
+ export declare const EventsList: ({ courseName, color, day, date, hasNotification, showsCourseName, time, name, text, type, }: IEventList) => JSX.Element;
14
15
  //# sourceMappingURL=EventsList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventsList.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/EventsList/EventsList.tsx"],"names":[],"mappings":";AAQA,MAAM,WAAW,UAAU;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;CACxB;AAED,eAAO,MAAM,UAAU,6FAUpB,UAAU,KAAG,WA0Ef,CAAA"}
1
+ {"version":3,"file":"EventsList.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/EventsList/EventsList.tsx"],"names":[],"mappings":";AAQA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb;AAED,eAAO,MAAM,UAAU,gGAWpB,UAAU,KAAG,WAgGf,CAAA"}