mario-teacher-student-client 1.3.2 → 1.3.3

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,6 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  interface Props {
3
- informationUser: any;
3
+ informationUser?: any;
4
+ isTeacher?: boolean;
5
+ clickOpenProfileDialog?: any;
4
6
  }
5
- declare const InformationUser: ({ informationUser }: Props) => JSX.Element;
7
+ declare const InformationUser: ({ informationUser, isTeacher, clickOpenProfileDialog }: Props) => JSX.Element;
6
8
  export default InformationUser;
@@ -1,3 +1,6 @@
1
- /// <reference types="react" />
2
- declare const OverviewTop: () => JSX.Element;
1
+ import { FC } from "react";
2
+ interface Props {
3
+ informationDashboard: any;
4
+ }
5
+ declare const OverviewTop: FC<Props>;
3
6
  export default OverviewTop;
@@ -1,11 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  interface Props {
3
+ labelData: string[];
3
4
  chartData: number[];
4
5
  }
5
- declare const OverviewWellbeing: {
6
- ({ chartData }: Props): JSX.Element;
7
- defaultProps: {
8
- chartData: number[];
9
- };
10
- };
11
- export default OverviewWellbeing;
6
+ declare const _default: React.NamedExoticComponent<Props>;
7
+ export default _default;
@@ -8,7 +8,7 @@ export interface FILTER_STUDENT_SESSION {
8
8
  startDate?: number;
9
9
  endDate?: number;
10
10
  isDone?: boolean;
11
- isDescending: boolean;
11
+ isDescending?: boolean;
12
12
  }
13
13
  export interface FILTER_SESSION {
14
14
  currentPage: number;
@@ -39,6 +39,7 @@ export interface SESSION_TYPE {
39
39
  gradeLevel?: any;
40
40
  finalScore?: any;
41
41
  studentProfile?: any;
42
+ sortOrder?: string;
42
43
  }
43
44
  export interface STUDENT_PROFILE {
44
45
  id: number;
@@ -72,3 +73,7 @@ export interface ActionPointType {
72
73
  id?: string;
73
74
  text: string;
74
75
  }
76
+ export interface FILTER_STUDENT_WELLBEING {
77
+ startDate?: number;
78
+ endDate?: number;
79
+ }
@@ -1,4 +1,9 @@
1
+ import { FILTER_STUDENT_WELLBEING } from "../constants/types";
1
2
  declare const useOverview: (studentId: number) => {
2
3
  partnerData: any;
4
+ informationDashboard: any;
5
+ filters: FILTER_STUDENT_WELLBEING;
6
+ changeFilters: (updatedFilters: any) => void;
7
+ informationWellbeing: any;
3
8
  };
4
9
  export default useOverview;
package/dist/index.css CHANGED
@@ -65,7 +65,7 @@
65
65
  width: 6%; }
66
66
  @media (max-width: 767px) {
67
67
  ._1bTW5 ._1gs0Z {
68
- width: 19%;
68
+ width: 30%;
69
69
  padding-top: 0;
70
70
  font-size: 14px; } }
71
71
 
@@ -424,7 +424,7 @@ p._1YLGi {
424
424
  border: 1px solid rgba(0, 0, 0, 0.54);
425
425
  box-sizing: border-box;
426
426
  border-radius: 8px;
427
- height: 28px;
427
+ height: 50px;
428
428
  flex: 1; }
429
429
  ._2z25F ._ExThj {
430
430
  position: absolute;
@@ -432,18 +432,29 @@ p._1YLGi {
432
432
  top: 50%;
433
433
  transform: translateY(-50%); }
434
434
  ._2z25F ._3grbq {
435
- height: 28px;
435
+ height: 50px;
436
436
  padding-left: 42px;
437
437
  padding-right: 20px;
438
438
  width: 304px; }
439
439
  ._2z25F ._uV_ur {
440
- height: 28px;
440
+ height: 50px;
441
441
  padding-left: 42px;
442
442
  padding-right: 20px;
443
443
  width: 275px !important; }
444
444
  @media (max-width: 767px) {
445
445
  ._2z25F {
446
446
  flex: none; } }
447
+ @media (width: 414px) {
448
+ ._2z25F ._3grbq {
449
+ height: 40px;
450
+ padding-left: 42px;
451
+ padding-right: 20px;
452
+ width: 336px; }
453
+ ._2z25F ._uV_ur {
454
+ height: 40px;
455
+ padding-left: 42px;
456
+ padding-right: 20px;
457
+ width: 301px !important; } }
447
458
 
448
459
  ._oozC- {
449
460
  flex-direction: row;
@@ -911,8 +922,8 @@ p._1YLGi {
911
922
  align-items: center;
912
923
  justify-content: end; }
913
924
  ._3JBFt ._3kCLX {
914
- width: 36px;
915
- height: 36px;
925
+ width: 33px;
926
+ height: 33px;
916
927
  background: #308252;
917
928
  border-radius: 12px;
918
929
  border: none;
@@ -1037,7 +1048,7 @@ p._1YLGi {
1037
1048
  border: 1px solid rgba(0, 0, 0, 0.54);
1038
1049
  box-sizing: border-box;
1039
1050
  border-radius: 8px;
1040
- height: 28px;
1051
+ height: 50px;
1041
1052
  flex: 1; }
1042
1053
  ._2QjST ._25CAI {
1043
1054
  position: absolute;
@@ -1045,13 +1056,19 @@ p._1YLGi {
1045
1056
  top: 50%;
1046
1057
  transform: translateY(-50%); }
1047
1058
  ._2QjST ._1nJp- {
1048
- height: 28px;
1059
+ height: 50px;
1049
1060
  padding-left: 42px;
1050
1061
  padding-right: 20px;
1051
1062
  width: 304px; }
1052
1063
  @media (max-width: 767px) {
1053
1064
  ._2QjST {
1054
1065
  flex: none; } }
1066
+ @media (width: 414px) {
1067
+ ._2QjST ._1nJp- {
1068
+ height: 50px;
1069
+ padding-left: 42px;
1070
+ padding-right: 20px;
1071
+ width: 336px; } }
1055
1072
 
1056
1073
  ._1L0-h {
1057
1074
  flex-direction: row;
@@ -1487,8 +1504,8 @@ p._1YLGi {
1487
1504
  align-items: center;
1488
1505
  justify-content: end; }
1489
1506
  ._2opXv ._1zPxS {
1490
- width: 36px;
1491
- height: 36px;
1507
+ width: 33px;
1508
+ height: 33px;
1492
1509
  background: #308252;
1493
1510
  border-radius: 12px;
1494
1511
  border: none;
@@ -1852,7 +1869,7 @@ h2._1OAmb {
1852
1869
  flex-direction: row;
1853
1870
  display: flex;
1854
1871
  width: 100%;
1855
- padding: 40px 20px 0;
1872
+ padding: 20px 20px 0;
1856
1873
  justify-content: flex-end; }
1857
1874
  @media (max-width: 767px) {
1858
1875
  ._YFlqJ {
@@ -1872,15 +1889,15 @@ h2._1OAmb {
1872
1889
  position: relative;
1873
1890
  border: 1px solid rgba(0, 0, 0, 0.54);
1874
1891
  box-sizing: border-box;
1875
- border-radius: 8px;
1876
- height: 55px; }
1892
+ border-radius: 12px;
1893
+ height: 50px; }
1877
1894
  ._1M92J ._5wXkg {
1878
1895
  position: absolute;
1879
1896
  left: 10px;
1880
1897
  top: 50%;
1881
1898
  transform: translateY(-50%); }
1882
1899
  ._1M92J ._13Wre {
1883
- height: 55px;
1900
+ height: 50px;
1884
1901
  padding-left: 50px;
1885
1902
  padding-right: 20px;
1886
1903
  width: 286px; }
@@ -1915,7 +1932,8 @@ h2._1OAmb {
1915
1932
  padding: 5px 8px;
1916
1933
  width: -webkit-max-content;
1917
1934
  width: -moz-max-content;
1918
- width: max-content; }
1935
+ width: max-content;
1936
+ font-size: 14px; }
1919
1937
 
1920
1938
  ._2hgIb {
1921
1939
  display: flex; }
@@ -2069,6 +2087,8 @@ h2._1OAmb {
2069
2087
  border-radius: 10px;
2070
2088
  margin-bottom: 24px;
2071
2089
  width: 100%; }
2090
+ ._3uYAt ._1V3nf p {
2091
+ padding: 2px 0px !important; }
2072
2092
  ._3uYAt ._2AQxk {
2073
2093
  background: #fff;
2074
2094
  border-radius: 10px;
@@ -2079,7 +2099,20 @@ h2._1OAmb {
2079
2099
 
2080
2100
  ._1qCwl {
2081
2101
  display: flex;
2082
- align-items: center; }
2102
+ align-items: center;
2103
+ padding-bottom: 10px; }
2104
+
2105
+ ._1clLN {
2106
+ display: flex;
2107
+ position: absolute;
2108
+ align-items: center;
2109
+ top: 19px;
2110
+ left: 20%; }
2111
+ ._1clLN span {
2112
+ font-weight: bold;
2113
+ font-size: 14px;
2114
+ margin: 4px 17px 0px;
2115
+ display: inline-block; }
2083
2116
 
2084
2117
  ._2QGnx {
2085
2118
  text-align: center;
@@ -2097,6 +2130,20 @@ h2._1OAmb {
2097
2130
  font-weight: 700;
2098
2131
  font-size: 28px; }
2099
2132
 
2133
+ ._3sc5l {
2134
+ padding-top: 10px; }
2135
+ ._3sc5l ._2UlJW {
2136
+ box-shadow: none;
2137
+ margin-bottom: 10px;
2138
+ border-radius: 10px; }
2139
+ ._3sc5l ._2UlJW::before {
2140
+ opacity: 0 !important; }
2141
+
2142
+ ._3aapW {
2143
+ font-size: 18px !important;
2144
+ font-weight: bold !important;
2145
+ color: #000; }
2146
+
2100
2147
  @font-face {
2101
2148
  font-family: "Lato-Regular";
2102
2149
  src: url("/fonts/Lato-Regular.ttf");
@@ -2341,7 +2388,7 @@ h2._1OAmb {
2341
2388
  flex: 1; }
2342
2389
 
2343
2390
  ._1nbUt {
2344
- background: #F6F4C6;
2391
+ background: #f6f4c6;
2345
2392
  color: #744210;
2346
2393
  padding: 5px 8px;
2347
2394
  border-radius: 70px;
@@ -2352,8 +2399,8 @@ h2._1OAmb {
2352
2399
  height: 30px; }
2353
2400
 
2354
2401
  ._fjN_n {
2355
- background: #C6F6D5;
2356
- color: #22543D;
2402
+ background: #c6f6d5;
2403
+ color: #22543d;
2357
2404
  padding: 5px 8px;
2358
2405
  border-radius: 70px;
2359
2406
  width: -webkit-max-content;
@@ -2666,7 +2713,7 @@ h2._1OAmb {
2666
2713
  font-size: 13px;
2667
2714
  font-weight: 600;
2668
2715
  padding: 5px;
2669
- background-color: #CEEDFF;
2716
+ background-color: #ceedff;
2670
2717
  border-radius: 15px; }
2671
2718
  ._1L19m ._2GXnd ._qjAxA {
2672
2719
  font-size: 18px;
@@ -3219,6 +3266,21 @@ h4._1gYmd {
3219
3266
  h4._1gYmd > i {
3220
3267
  margin-left: 3px; }
3221
3268
 
3269
+ ._29Tsr ._3eN9V {
3270
+ display: flex; }
3271
+ ._29Tsr ._3eN9V ._2FDfq {
3272
+ margin-left: 5px;
3273
+ margin-top: 3px;
3274
+ width: 15px;
3275
+ height: 15px; }
3276
+
3277
+ ._29Tsr h5._2J0ft {
3278
+ color: #2d3748;
3279
+ font-weight: 700;
3280
+ text-transform: capitalize;
3281
+ font-size: 14px;
3282
+ line-height: 19.07px; }
3283
+
3222
3284
  ._29Tsr p._1xpMn {
3223
3285
  color: #6b6b6b;
3224
3286
  font-size: 12px;
@@ -3230,13 +3292,6 @@ h4._1gYmd > i {
3230
3292
  ._29Tsr p._1xpMn {
3231
3293
  margin-bottom: 0px; } }
3232
3294
 
3233
- ._29Tsr h5._2J0ft {
3234
- color: #2d3748;
3235
- font-weight: 700;
3236
- text-transform: capitalize;
3237
- font-size: 14px;
3238
- line-height: 19.07px; }
3239
-
3240
3295
  ._SX3F9 {
3241
3296
  margin-right: 20px; }
3242
3297
  ._SX3F9 img {