mario-teacher-student-client 2.1.14 → 2.1.15

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
 
@@ -5199,8 +5228,7 @@ h2._1OAmb {
5199
5228
  ._2eBS9 {
5200
5229
  background: #ffff;
5201
5230
  border-radius: 12px;
5202
- box-shadow: 0px 3px 12px 2px #0000001f;
5203
- padding: 20px; }
5231
+ box-shadow: 0px 3px 12px 2px #0000001f; }
5204
5232
 
5205
5233
  ._1OOBH ._3oCcd {
5206
5234
  border-radius: 50%;
@@ -7024,7 +7052,7 @@ h2._1OAmb {
7024
7052
  border-radius: 10px; }
7025
7053
  ._1HGVd ._2fSIC {
7026
7054
  background: white;
7027
- padding: 24px 30px;
7055
+ padding: 20px;
7028
7056
  border-radius: 12px;
7029
7057
  box-shadow: 0px 3px 12px 2px #0000001f; }
7030
7058
  @media screen and (max-width: 767px) {
@@ -7077,7 +7105,7 @@ h2._1OAmb {
7077
7105
  border-radius: 10px; }
7078
7106
  ._3kTV7 ._20dQ3 {
7079
7107
  background: white;
7080
- padding: 24px 30px;
7108
+ padding: 20px;
7081
7109
  border-radius: 12px;
7082
7110
  box-shadow: 0px 3px 12px 2px #0000001f; }
7083
7111
  @media screen and (max-width: 767px) {
@@ -7278,7 +7306,7 @@ h2._1OAmb {
7278
7306
  ._1y5x4 ._3_wVX ._36_oX {
7279
7307
  display: flex;
7280
7308
  align-items: center;
7281
- margin-right: 25px; }
7309
+ margin-right: 20px; }
7282
7310
  ._1y5x4 ._3_wVX ._36_oX ._1O3TZ {
7283
7311
  background-color: #308252;
7284
7312
  border-radius: 12px;
@@ -9805,6 +9833,24 @@ h2._1KpSK {
9805
9833
  cursor: pointer;
9806
9834
  margin-top: 5px; }
9807
9835
 
9836
+ ._1T5-0 ._3ixvM, ._1T5-0 ._bWHlA > div > input {
9837
+ font-size: 16px !important; }
9838
+
9839
+ ._1T5-0 ._1tibz {
9840
+ font-size: 19px !important; }
9841
+
9842
+ ._1T5-0 ._j6FQq > span {
9843
+ font-size: 16px !important; }
9844
+
9845
+ ._2pu-7 ._3ixvM, ._2pu-7 ._bWHlA > div > input {
9846
+ font-size: 10px !important; }
9847
+
9848
+ ._2pu-7 ._1tibz {
9849
+ font-size: 12px !important; }
9850
+
9851
+ ._2pu-7 ._j6FQq > span {
9852
+ font-size: 11px !important; }
9853
+
9808
9854
  @font-face {
9809
9855
  font-family: "Lato-Regular";
9810
9856
  src: url("/fonts/Lato-Regular.ttf");
@@ -10166,7 +10212,7 @@ h2._1KpSK {
10166
10212
  ._15Jy8 ._MZRDy {
10167
10213
  font-size: 24px !important; }
10168
10214
 
10169
- ._15Jy8 ._3zTpO {
10215
+ ._15Jy8 ._3zTpO, ._15Jy8 ._3VqLJ > span {
10170
10216
  font-size: 16px !important; }
10171
10217
 
10172
10218
  ._QWjdz ._2GCRD {
@@ -10181,7 +10227,7 @@ h2._1KpSK {
10181
10227
  ._QWjdz ._3g4-- {
10182
10228
  font-size: 12px !important; }
10183
10229
 
10184
- ._QWjdz ._3zTpO {
10230
+ ._QWjdz ._3zTpO, ._QWjdz ._3VqLJ > span {
10185
10231
  font-size: 10px !important; }
10186
10232
 
10187
10233
  ._xGTUu {
@@ -10230,6 +10276,18 @@ h2._1KpSK {
10230
10276
  color: #e53e3e;
10231
10277
  border-color: #e53e3e; }
10232
10278
 
10279
+ ._NEUy5 ._2pY4q {
10280
+ font-size: 21px !important; }
10281
+
10282
+ ._NEUy5 ._3ll8I {
10283
+ font-size: 16px !important; }
10284
+
10285
+ ._3jpB7 ._2pY4q {
10286
+ font-size: 14px !important; }
10287
+
10288
+ ._3jpB7 ._3ll8I {
10289
+ font-size: 10px !important; }
10290
+
10233
10291
  ._1KdDE {
10234
10292
  display: flex;
10235
10293
  justify-content: space-between;
@@ -11426,6 +11484,9 @@ h2._1KpSK {
11426
11484
  ._D-Uhs ._3yMlb > svg, ._D-Uhs ._1CkZq > svg {
11427
11485
  font-size: 24px !important; }
11428
11486
 
11487
+ ._D-Uhs ._1Meya > button > span {
11488
+ font-size: 17px !important; }
11489
+
11429
11490
  ._z8g7N ._4gDYn > p {
11430
11491
  font-size: 16px !important; }
11431
11492
 
@@ -11452,6 +11513,9 @@ h2._1KpSK {
11452
11513
  ._z8g7N ._3yMlb > svg, ._z8g7N ._1CkZq > svg {
11453
11514
  font-size: 24px !important; }
11454
11515
 
11516
+ ._z8g7N ._1Meya > button > span {
11517
+ font-size: 10px !important; }
11518
+
11455
11519
  ._1Meya {
11456
11520
  padding: 20px;
11457
11521
  position: fixed;
@@ -11505,7 +11569,7 @@ h2._1KpSK {
11505
11569
  margin: 5px;
11506
11570
  color: #0a4da2;
11507
11571
  background-color: #ebf8ff;
11508
- font-size: 13;
11572
+ font-size: 13px;
11509
11573
  border-radius: 70px; }
11510
11574
 
11511
11575
  ._2VYWX {
@@ -11541,6 +11605,30 @@ h2._1KpSK {
11541
11605
  color: #e53e3e;
11542
11606
  border-color: #e53e3e; }
11543
11607
 
11608
+ ._2E7T7 ._1FyDg {
11609
+ font-size: 22px !important; }
11610
+
11611
+ ._2E7T7 ._3p8Z2, ._2E7T7 ._RcQoB {
11612
+ font-size: 19px !important; }
11613
+
11614
+ ._2E7T7 ._AVM2p, ._2E7T7 ._2VYWX {
11615
+ font-size: 20px !important; }
11616
+
11617
+ ._2E7T7 ._QZjKj {
11618
+ font-size: 17px !important; }
11619
+
11620
+ ._2LE0_ ._1FyDg {
11621
+ font-size: 14px !important; }
11622
+
11623
+ ._2LE0_ ._3p8Z2, ._2LE0_ ._RcQoB {
11624
+ font-size: 12px !important; }
11625
+
11626
+ ._2LE0_ ._AVM2p, ._2LE0_ ._2VYWX {
11627
+ font-size: 13px !important; }
11628
+
11629
+ ._2LE0_ ._QZjKj {
11630
+ font-size: 10px !important; }
11631
+
11544
11632
  @font-face {
11545
11633
  font-family: "Lato-Regular";
11546
11634
  src: url("/fonts/Lato-Regular.ttf");
@@ -12057,7 +12145,9 @@ h2._1KpSK {
12057
12145
  font-size: 1rem !important;
12058
12146
  line-height: 16px !important;
12059
12147
  margin-left: 16px;
12060
- height: -webkit-fill-available;
12148
+ height: -webkit-fit-content;
12149
+ height: -moz-fit-content;
12150
+ height: fit-content;
12061
12151
  white-space: nowrap; }
12062
12152
 
12063
12153
  ._2Ssf_ {
@@ -12069,7 +12159,9 @@ h2._1KpSK {
12069
12159
  width: -moz-max-content;
12070
12160
  width: max-content;
12071
12161
  font-size: 1rem;
12072
- height: -webkit-fill-available;
12162
+ height: -webkit-fit-content;
12163
+ height: -moz-fit-content;
12164
+ height: fit-content;
12073
12165
  white-space: nowrap; }
12074
12166
 
12075
12167
  ._221OL {
@@ -12081,7 +12173,9 @@ h2._1KpSK {
12081
12173
  width: -moz-max-content;
12082
12174
  width: max-content;
12083
12175
  font-size: 1rem;
12084
- height: -webkit-fill-available;
12176
+ height: -webkit-fit-content;
12177
+ height: -moz-fit-content;
12178
+ height: fit-content;
12085
12179
  white-space: nowrap; }
12086
12180
 
12087
12181
  ._Px9sV {
@@ -12093,7 +12187,9 @@ h2._1KpSK {
12093
12187
  width: -moz-max-content;
12094
12188
  width: max-content;
12095
12189
  font-size: 1rem;
12096
- height: -webkit-fill-available;
12190
+ height: -webkit-fit-content;
12191
+ height: -moz-fit-content;
12192
+ height: fit-content;
12097
12193
  white-space: nowrap; }
12098
12194
 
12099
12195
  ._2vc2E {
@@ -12154,7 +12250,8 @@ h2._1KpSK {
12154
12250
  font-weight: 700; }
12155
12251
  ._2Wey9 ._3v_VO {
12156
12252
  display: flex;
12157
- font-size: 1.1rem; }
12253
+ font-size: 1.1rem;
12254
+ align-items: center; }
12158
12255
  @media (max-width: 767px) {
12159
12256
  ._2Wey9 ._3wSMy {
12160
12257
  padding: 0;
@@ -12201,7 +12298,9 @@ h2._1KpSK {
12201
12298
  ._1JhNh {
12202
12299
  color: #0a4da2;
12203
12300
  font-size: 1.15rem;
12204
- cursor: pointer; }
12301
+ cursor: pointer;
12302
+ padding: 0;
12303
+ margin-left: 5px !important; }
12205
12304
 
12206
12305
  ._2racV {
12207
12306
  font-weight: 700;
@@ -12264,7 +12363,8 @@ h2._1KpSK {
12264
12363
  ._2Zh_U ._27lGk {
12265
12364
  margin-top: 10px; }
12266
12365
  ._2Zh_U ._27lGk > button {
12267
- background: #a10630; }
12366
+ background: #a10630;
12367
+ padding: 0; }
12268
12368
 
12269
12369
  ._2C16n {
12270
12370
  display: none; }
@@ -12292,6 +12392,23 @@ h2._1KpSK {
12292
12392
  ._16peK ._3ibCi, ._16peK ._221OL, ._16peK ._Px9sV, ._16peK ._2Ssf_ {
12293
12393
  font-size: 0.9rem !important; }
12294
12394
 
12395
+ @media (max-width: 767px) {
12396
+ ._2YVDU {
12397
+ display: none; } }
12398
+
12399
+ ._TdSnH {
12400
+ display: none;
12401
+ padding: 15px; }
12402
+ ._TdSnH button {
12403
+ width: 100%; }
12404
+ @media (max-width: 767px) {
12405
+ ._TdSnH {
12406
+ display: block;
12407
+ bottom: 0;
12408
+ position: fixed;
12409
+ background-color: #ffffff;
12410
+ width: 100%; } }
12411
+
12295
12412
  ._2wJvz {
12296
12413
  width: 80%;
12297
12414
  display: block;