mario-teacher-student-client 2.1.14 → 2.1.16

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,15 +1,8 @@
1
- import { Theme } from "@material-ui/core";
1
+ import { Theme, MenuProps as MenuPropsType } from "@material-ui/core";
2
2
  export declare const ITEM_HEIGHT = 48;
3
3
  export declare const ITEM_PADDING_TOP = 8;
4
- export declare const MenuProps: {
5
- PaperProps: {
6
- style: {
7
- maxHeight: number;
8
- width: number;
9
- };
10
- };
11
- };
12
- export declare const useStyles: (props?: any) => Record<"label" | "selected" | "formControl" | "chips" | "chip" | "noLabel", string>;
4
+ export declare const MenuProps: Partial<MenuPropsType>;
5
+ export declare const useStyles: (props?: any) => Record<"label" | "selected" | "formControl" | "chips" | "chip" | "noLabel" | "selectAllText" | "selectedAll", string>;
13
6
  export declare const getStyles: (name: string, values: string[], theme: Theme) => {
14
7
  fontWeight: (string & {}) | (number & {}) | undefined;
15
8
  };
@@ -8,6 +8,7 @@ interface PropsType {
8
8
  onEdit: Function;
9
9
  toggleAllow: boolean;
10
10
  isTeacher: boolean;
11
+ classFontSize: string;
11
12
  }
12
- declare const LearningStrategiesMobileItem: ({ title, detail, bestFits, note, onDelete, onEdit, toggleAllow, isTeacher }: PropsType) => JSX.Element;
13
+ declare const LearningStrategiesMobileItem: ({ title, detail, bestFits, note, onDelete, onEdit, toggleAllow, isTeacher, classFontSize }: PropsType) => JSX.Element;
13
14
  export default LearningStrategiesMobileItem;
@@ -0,0 +1,3 @@
1
+ export declare const SMALL_FONT_DEFAULT = 12;
2
+ export declare const LARGE_FONT_DEFAULT = 20;
3
+ export declare const caculateHeaderFont: (defaultFont: number) => number;
@@ -5,5 +5,6 @@ declare const useUpdateProfile: (studentId: number) => {
5
5
  file: any;
6
6
  setFile: import("react").Dispatch<any>;
7
7
  setStudentData: import("react").Dispatch<any>;
8
+ classFontSize: string;
8
9
  };
9
10
  export default useUpdateProfile;
@@ -6,6 +6,7 @@ interface PropsType {
6
6
  onDeleteItem?: Function;
7
7
  onEditItem?: Function;
8
8
  isAllowedEdit?: boolean;
9
+ classFontSize: string;
9
10
  }
10
- declare const CardItemMobile: ({ imageUrl, interestName, interestDescription, onDeleteItem, onEditItem, isAllowedEdit }: PropsType) => JSX.Element;
11
+ declare const CardItemMobile: ({ imageUrl, interestName, interestDescription, onDeleteItem, onEditItem, isAllowedEdit, classFontSize }: PropsType) => JSX.Element;
11
12
  export default CardItemMobile;
package/dist/index.css CHANGED
@@ -1866,7 +1866,10 @@ p._1YLGi {
1866
1866
  font-size: 1.1rem !important; }
1867
1867
 
1868
1868
  ._2xoD2 ._18Kga {
1869
- font-size: 1.85rem !important; }
1869
+ font-size: 1.9rem !important; }
1870
+
1871
+ ._2xoD2 ._3PjVZ {
1872
+ font-size: 1.4rem !important; }
1870
1873
 
1871
1874
  ._3106c ._3KmXg ._3rDTT {
1872
1875
  font-size: 1.1rem !important; }
@@ -1884,7 +1887,10 @@ p._1YLGi {
1884
1887
  font-size: 0.8rem !important; }
1885
1888
 
1886
1889
  ._3106c ._18Kga {
1887
- font-size: 1.45rem !important; }
1890
+ font-size: 1.4rem !important; }
1891
+
1892
+ ._3106c ._3PjVZ {
1893
+ font-size: 0.9rem !important; }
1888
1894
 
1889
1895
  @font-face {
1890
1896
  font-family: "Lato-Regular";
@@ -2465,6 +2471,12 @@ p._1YLGi {
2465
2471
  ._3jnB9 ._1jvgU {
2466
2472
  font-size: 22px !important; }
2467
2473
 
2474
+ ._3jnB9 ._27IqN {
2475
+ font-size: 25px !important; }
2476
+
2477
+ ._3jnB9 ._1HdIl {
2478
+ font-size: 29px !important; }
2479
+
2468
2480
  ._3EINP ._3CPV3,
2469
2481
  ._3EINP ._1AbWU {
2470
2482
  font-size: 12px !important; }
@@ -2472,6 +2484,15 @@ p._1YLGi {
2472
2484
  ._3EINP ._1jvgU {
2473
2485
  font-size: 17px !important; }
2474
2486
 
2487
+ ._3EINP ._27IqN {
2488
+ font-size: 16px !important; }
2489
+
2490
+ ._3EINP ._1HdIl {
2491
+ font-size: 18px !important; }
2492
+
2493
+ ._27IqN {
2494
+ font-size: 20px; }
2495
+
2475
2496
  @font-face {
2476
2497
  font-family: "Lato-Regular";
2477
2498
  src: url("/fonts/Lato-Regular.ttf");
@@ -2521,6 +2542,14 @@ p._1YLGi {
2521
2542
  ._3A-A9._XhgGV ._3-Mx5 p:nth-child(2) {
2522
2543
  font-size: 14px !important; }
2523
2544
 
2545
+ ._CvEXW ._3RlQ2,
2546
+ ._CvEXW ._JAWru {
2547
+ font-size: 17px !important; }
2548
+
2549
+ ._XhgGV ._3RlQ2,
2550
+ ._XhgGV ._JAWru {
2551
+ font-size: 11px !important; }
2552
+
2524
2553
  ._1saEt {
2525
2554
  padding: 75px 16px 0 16px; }
2526
2555
 
@@ -2976,7 +3005,7 @@ h2._1OAmb {
2976
3005
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
2977
3006
  background: white;
2978
3007
  top: 140px;
2979
- z-index: 10;
3008
+ z-index: 999;
2980
3009
  height: calc(100% - 140px);
2981
3010
  display: flex;
2982
3011
  position: fixed;
@@ -3023,7 +3052,8 @@ h2._1OAmb {
3023
3052
  @media screen and (max-width: 767px) {
3024
3053
  ._m1FkD ._15JZz {
3025
3054
  width: 100%;
3026
- height: 95%; } }
3055
+ height: 95%;
3056
+ padding-bottom: 85px; } }
3027
3057
  ._m1FkD ._15JZz ._1ncr0 {
3028
3058
  display: flex;
3029
3059
  background: #eeeeee;
@@ -5199,8 +5229,7 @@ h2._1OAmb {
5199
5229
  ._2eBS9 {
5200
5230
  background: #ffff;
5201
5231
  border-radius: 12px;
5202
- box-shadow: 0px 3px 12px 2px #0000001f;
5203
- padding: 20px; }
5232
+ box-shadow: 0px 3px 12px 2px #0000001f; }
5204
5233
 
5205
5234
  ._1OOBH ._3oCcd {
5206
5235
  border-radius: 50%;
@@ -7024,7 +7053,7 @@ h2._1OAmb {
7024
7053
  border-radius: 10px; }
7025
7054
  ._1HGVd ._2fSIC {
7026
7055
  background: white;
7027
- padding: 24px 30px;
7056
+ padding: 20px;
7028
7057
  border-radius: 12px;
7029
7058
  box-shadow: 0px 3px 12px 2px #0000001f; }
7030
7059
  @media screen and (max-width: 767px) {
@@ -7077,7 +7106,7 @@ h2._1OAmb {
7077
7106
  border-radius: 10px; }
7078
7107
  ._3kTV7 ._20dQ3 {
7079
7108
  background: white;
7080
- padding: 24px 30px;
7109
+ padding: 20px;
7081
7110
  border-radius: 12px;
7082
7111
  box-shadow: 0px 3px 12px 2px #0000001f; }
7083
7112
  @media screen and (max-width: 767px) {
@@ -7278,7 +7307,7 @@ h2._1OAmb {
7278
7307
  ._1y5x4 ._3_wVX ._36_oX {
7279
7308
  display: flex;
7280
7309
  align-items: center;
7281
- margin-right: 25px; }
7310
+ margin-right: 20px; }
7282
7311
  ._1y5x4 ._3_wVX ._36_oX ._1O3TZ {
7283
7312
  background-color: #308252;
7284
7313
  border-radius: 12px;
@@ -9805,6 +9834,24 @@ h2._1KpSK {
9805
9834
  cursor: pointer;
9806
9835
  margin-top: 5px; }
9807
9836
 
9837
+ ._1T5-0 ._3ixvM, ._1T5-0 ._bWHlA > div > input {
9838
+ font-size: 16px !important; }
9839
+
9840
+ ._1T5-0 ._1tibz {
9841
+ font-size: 19px !important; }
9842
+
9843
+ ._1T5-0 ._j6FQq > span {
9844
+ font-size: 16px !important; }
9845
+
9846
+ ._2pu-7 ._3ixvM, ._2pu-7 ._bWHlA > div > input {
9847
+ font-size: 10px !important; }
9848
+
9849
+ ._2pu-7 ._1tibz {
9850
+ font-size: 12px !important; }
9851
+
9852
+ ._2pu-7 ._j6FQq > span {
9853
+ font-size: 11px !important; }
9854
+
9808
9855
  @font-face {
9809
9856
  font-family: "Lato-Regular";
9810
9857
  src: url("/fonts/Lato-Regular.ttf");
@@ -10166,7 +10213,7 @@ h2._1KpSK {
10166
10213
  ._15Jy8 ._MZRDy {
10167
10214
  font-size: 24px !important; }
10168
10215
 
10169
- ._15Jy8 ._3zTpO {
10216
+ ._15Jy8 ._3zTpO, ._15Jy8 ._3VqLJ > span {
10170
10217
  font-size: 16px !important; }
10171
10218
 
10172
10219
  ._QWjdz ._2GCRD {
@@ -10181,7 +10228,7 @@ h2._1KpSK {
10181
10228
  ._QWjdz ._3g4-- {
10182
10229
  font-size: 12px !important; }
10183
10230
 
10184
- ._QWjdz ._3zTpO {
10231
+ ._QWjdz ._3zTpO, ._QWjdz ._3VqLJ > span {
10185
10232
  font-size: 10px !important; }
10186
10233
 
10187
10234
  ._xGTUu {
@@ -10230,6 +10277,18 @@ h2._1KpSK {
10230
10277
  color: #e53e3e;
10231
10278
  border-color: #e53e3e; }
10232
10279
 
10280
+ ._NEUy5 ._2pY4q {
10281
+ font-size: 21px !important; }
10282
+
10283
+ ._NEUy5 ._3ll8I {
10284
+ font-size: 16px !important; }
10285
+
10286
+ ._3jpB7 ._2pY4q {
10287
+ font-size: 14px !important; }
10288
+
10289
+ ._3jpB7 ._3ll8I {
10290
+ font-size: 10px !important; }
10291
+
10233
10292
  ._1KdDE {
10234
10293
  display: flex;
10235
10294
  justify-content: space-between;
@@ -11426,6 +11485,9 @@ h2._1KpSK {
11426
11485
  ._D-Uhs ._3yMlb > svg, ._D-Uhs ._1CkZq > svg {
11427
11486
  font-size: 24px !important; }
11428
11487
 
11488
+ ._D-Uhs ._1Meya > button > span {
11489
+ font-size: 17px !important; }
11490
+
11429
11491
  ._z8g7N ._4gDYn > p {
11430
11492
  font-size: 16px !important; }
11431
11493
 
@@ -11452,6 +11514,9 @@ h2._1KpSK {
11452
11514
  ._z8g7N ._3yMlb > svg, ._z8g7N ._1CkZq > svg {
11453
11515
  font-size: 24px !important; }
11454
11516
 
11517
+ ._z8g7N ._1Meya > button > span {
11518
+ font-size: 10px !important; }
11519
+
11455
11520
  ._1Meya {
11456
11521
  padding: 20px;
11457
11522
  position: fixed;
@@ -11505,7 +11570,7 @@ h2._1KpSK {
11505
11570
  margin: 5px;
11506
11571
  color: #0a4da2;
11507
11572
  background-color: #ebf8ff;
11508
- font-size: 13;
11573
+ font-size: 13px;
11509
11574
  border-radius: 70px; }
11510
11575
 
11511
11576
  ._2VYWX {
@@ -11541,6 +11606,30 @@ h2._1KpSK {
11541
11606
  color: #e53e3e;
11542
11607
  border-color: #e53e3e; }
11543
11608
 
11609
+ ._2E7T7 ._1FyDg {
11610
+ font-size: 22px !important; }
11611
+
11612
+ ._2E7T7 ._3p8Z2, ._2E7T7 ._RcQoB {
11613
+ font-size: 19px !important; }
11614
+
11615
+ ._2E7T7 ._AVM2p, ._2E7T7 ._2VYWX {
11616
+ font-size: 20px !important; }
11617
+
11618
+ ._2E7T7 ._QZjKj {
11619
+ font-size: 17px !important; }
11620
+
11621
+ ._2LE0_ ._1FyDg {
11622
+ font-size: 14px !important; }
11623
+
11624
+ ._2LE0_ ._3p8Z2, ._2LE0_ ._RcQoB {
11625
+ font-size: 12px !important; }
11626
+
11627
+ ._2LE0_ ._AVM2p, ._2LE0_ ._2VYWX {
11628
+ font-size: 13px !important; }
11629
+
11630
+ ._2LE0_ ._QZjKj {
11631
+ font-size: 10px !important; }
11632
+
11544
11633
  @font-face {
11545
11634
  font-family: "Lato-Regular";
11546
11635
  src: url("/fonts/Lato-Regular.ttf");
@@ -12057,7 +12146,9 @@ h2._1KpSK {
12057
12146
  font-size: 1rem !important;
12058
12147
  line-height: 16px !important;
12059
12148
  margin-left: 16px;
12060
- height: -webkit-fill-available;
12149
+ height: -webkit-fit-content;
12150
+ height: -moz-fit-content;
12151
+ height: fit-content;
12061
12152
  white-space: nowrap; }
12062
12153
 
12063
12154
  ._2Ssf_ {
@@ -12069,7 +12160,9 @@ h2._1KpSK {
12069
12160
  width: -moz-max-content;
12070
12161
  width: max-content;
12071
12162
  font-size: 1rem;
12072
- height: -webkit-fill-available;
12163
+ height: -webkit-fit-content;
12164
+ height: -moz-fit-content;
12165
+ height: fit-content;
12073
12166
  white-space: nowrap; }
12074
12167
 
12075
12168
  ._221OL {
@@ -12081,7 +12174,9 @@ h2._1KpSK {
12081
12174
  width: -moz-max-content;
12082
12175
  width: max-content;
12083
12176
  font-size: 1rem;
12084
- height: -webkit-fill-available;
12177
+ height: -webkit-fit-content;
12178
+ height: -moz-fit-content;
12179
+ height: fit-content;
12085
12180
  white-space: nowrap; }
12086
12181
 
12087
12182
  ._Px9sV {
@@ -12093,7 +12188,9 @@ h2._1KpSK {
12093
12188
  width: -moz-max-content;
12094
12189
  width: max-content;
12095
12190
  font-size: 1rem;
12096
- height: -webkit-fill-available;
12191
+ height: -webkit-fit-content;
12192
+ height: -moz-fit-content;
12193
+ height: fit-content;
12097
12194
  white-space: nowrap; }
12098
12195
 
12099
12196
  ._2vc2E {
@@ -12154,7 +12251,8 @@ h2._1KpSK {
12154
12251
  font-weight: 700; }
12155
12252
  ._2Wey9 ._3v_VO {
12156
12253
  display: flex;
12157
- font-size: 1.1rem; }
12254
+ font-size: 1.1rem;
12255
+ align-items: center; }
12158
12256
  @media (max-width: 767px) {
12159
12257
  ._2Wey9 ._3wSMy {
12160
12258
  padding: 0;
@@ -12201,7 +12299,9 @@ h2._1KpSK {
12201
12299
  ._1JhNh {
12202
12300
  color: #0a4da2;
12203
12301
  font-size: 1.15rem;
12204
- cursor: pointer; }
12302
+ cursor: pointer;
12303
+ padding: 0;
12304
+ margin-left: 5px !important; }
12205
12305
 
12206
12306
  ._2racV {
12207
12307
  font-weight: 700;
@@ -12264,7 +12364,8 @@ h2._1KpSK {
12264
12364
  ._2Zh_U ._27lGk {
12265
12365
  margin-top: 10px; }
12266
12366
  ._2Zh_U ._27lGk > button {
12267
- background: #a10630; }
12367
+ background: #a10630;
12368
+ padding: 0; }
12268
12369
 
12269
12370
  ._2C16n {
12270
12371
  display: none; }
@@ -12292,6 +12393,23 @@ h2._1KpSK {
12292
12393
  ._16peK ._3ibCi, ._16peK ._221OL, ._16peK ._Px9sV, ._16peK ._2Ssf_ {
12293
12394
  font-size: 0.9rem !important; }
12294
12395
 
12396
+ @media (max-width: 767px) {
12397
+ ._2YVDU {
12398
+ display: none; } }
12399
+
12400
+ ._TdSnH {
12401
+ display: none;
12402
+ padding: 15px; }
12403
+ ._TdSnH button {
12404
+ width: 100%; }
12405
+ @media (max-width: 767px) {
12406
+ ._TdSnH {
12407
+ display: block;
12408
+ bottom: 0;
12409
+ position: fixed;
12410
+ background-color: #ffffff;
12411
+ width: 100%; } }
12412
+
12295
12413
  ._2wJvz {
12296
12414
  width: 80%;
12297
12415
  display: block;