mario-education 2.4.562-feedback → 2.4.564-feedback

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.
@@ -2,7 +2,7 @@ import React from "react";
2
2
  declare const useHeaderSideBar: (_navigations: any) => {
3
3
  anchorFontEl: HTMLElement | null;
4
4
  anchorEl: HTMLElement | null;
5
- classes: Record<"title" | "header" | "content" | "overlay" | "arrow" | "grow" | "menuItem" | "menuButton" | "listItem" | "dropdown" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
5
+ classes: Record<"title" | "header" | "content" | "overlay" | "avatar" | "arrow" | "grow" | "menuItem" | "menuText" | "menuButton" | "listItem" | "dropdown" | "menuIcon" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
6
6
  screenWidth: number;
7
7
  isReadOnly: string | null;
8
8
  notificationAlert: import("../constants/types").NOTIFICATION_ALERT | undefined;
@@ -111,6 +111,7 @@ export declare type TotalCardItem = {
111
111
  value: number;
112
112
  lastMonthValue: number;
113
113
  totalStudent?: number;
114
+ percent?: number;
114
115
  };
115
116
  export interface IGeneralTip {
116
117
  id: number;
@@ -19,12 +19,14 @@ declare const useHome: () => {
19
19
  value: number;
20
20
  lastMonthValue: number;
21
21
  totalStudent: number;
22
+ percent: number;
22
23
  } | {
23
24
  id: string;
24
25
  title: string;
25
26
  value: number;
26
27
  lastMonthValue: number;
27
28
  totalStudent?: undefined;
29
+ percent?: undefined;
28
30
  })[];
29
31
  schoolInfo: import("../common/interface").ISchoolInfo;
30
32
  avgQuestionLastMonth: import("../common/interface").IQuestionResponseLastMonth[];
@@ -6,12 +6,14 @@ declare const useSchoolUsage: () => {
6
6
  value: number;
7
7
  lastMonthValue: number;
8
8
  totalStudent: number;
9
+ percent: number;
9
10
  } | {
10
11
  id: string;
11
12
  title: string;
12
13
  value: number;
13
14
  lastMonthValue: number;
14
15
  totalStudent?: undefined;
16
+ percent?: undefined;
15
17
  })[];
16
18
  schoolInfo: ISchoolInfo;
17
19
  getTotalTime: () => Promise<void>;
package/dist/index.css CHANGED
@@ -4764,30 +4764,54 @@ p._1YLGi {
4764
4764
  color: #242424; }
4765
4765
 
4766
4766
  ._1KcY7 {
4767
- padding: 10px 75px;
4768
- border-top: 1px solid #DFE0DF;
4767
+ padding: 8px 20px;
4768
+ border-radius: 50px;
4769
+ background: #FFFFFF;
4770
+ color: #242424;
4769
4771
  cursor: pointer;
4770
- font-size: 20px;
4772
+ font-size: 14px;
4771
4773
  text-align: center;
4772
4774
  margin-bottom: 0;
4773
- transition: background-color 0.5s ease-out; }
4775
+ transition: background-color 0.5s ease-out;
4776
+ border: none;
4777
+ font-weight: 600; }
4774
4778
 
4775
4779
  ._1KcY7:hover {
4776
- background: #336DDA;
4777
- color: #ffff; }
4780
+ color: #316CD9;
4781
+ border: 2px solid #316CD9;
4782
+ padding: 6px 18px;
4783
+ background: #FFFFFF; }
4778
4784
 
4779
4785
  ._dOVso {
4780
- background: #336DDA;
4781
- color: #ffff; }
4786
+ background: #316CD9 !important;
4787
+ color: #FFFFFF !important; }
4782
4788
 
4783
4789
  ._3ZqxI > div {
4784
4790
  border-radius: 7px; }
4785
4791
 
4786
4792
  ._3ZqxI ._g-p72 {
4787
- font-weight: 500;
4788
- line-height: 1.6;
4789
- font-size: 20px;
4790
- padding: 10px 20px; }
4793
+ font-weight: 600;
4794
+ line-height: 32px;
4795
+ font-size: 24px;
4796
+ text-align: center;
4797
+ margin-bottom: 24px; }
4798
+
4799
+ ._3ZqxI ._NhW9l {
4800
+ position: absolute;
4801
+ top: 16px;
4802
+ right: 16px; }
4803
+ ._3ZqxI ._NhW9l svg {
4804
+ width: 24px;
4805
+ height: 24px;
4806
+ color: #D3D3D3; }
4807
+
4808
+ ._3ZqxI ._2oGz6 {
4809
+ display: flex;
4810
+ align-items: center;
4811
+ gap: 4px;
4812
+ border-radius: 50px;
4813
+ padding: 4px;
4814
+ border: 1px solid #e9e9e9; }
4791
4815
 
4792
4816
  ._2Nd8Z {
4793
4817
  align-items: center; }