mario-teacher-student-client 1.6.2 → 1.6.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.
@@ -3,5 +3,5 @@ interface Props {
3
3
  learningData?: any;
4
4
  teacher?: string;
5
5
  }
6
- declare const PrintLearnPDF: ({ learningData, teacher }: Props) => JSX.Element;
6
+ declare const PrintLearnPDF: ({ teacher, learningData }: Props) => JSX.Element;
7
7
  export default PrintLearnPDF;
@@ -0,0 +1,12 @@
1
+ declare const schema: import("yup/lib/object").OptionalObjectSchema<{
2
+ firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
3
+ lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
4
+ email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
+ calendarId: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
6
+ }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
7
+ firstName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
8
+ lastName: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
9
+ email: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
10
+ calendarId: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
11
+ }>>;
12
+ export default schema;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const useProfile: () => {
3
3
  dataProfile: any;
4
- updateProfile: (data: any) => Promise<void>;
4
+ updateProfile: (imageUse: any, data: any) => Promise<void>;
5
5
  setFile: import("react").Dispatch<any>;
6
6
  };
7
7
  export default useProfile;
@@ -0,0 +1,4 @@
1
+ declare const useLearningPlan: () => {
2
+ createNewLearningPlan: (data: any) => Promise<void>;
3
+ };
4
+ export default useLearningPlan;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const useUpdateProfile: (studentId: number) => {
3
3
  studentData: any;
4
- updateStudentProfile: (studentId: any, data: any) => Promise<void>;
4
+ updateStudentProfile: (imageUse: any, studentId: any, data: any) => Promise<void>;
5
5
  file: any;
6
6
  setFile: import("react").Dispatch<any>;
7
7
  setStudentData: import("react").Dispatch<any>;
package/dist/index.css CHANGED
@@ -262,6 +262,10 @@ p._1YLGi {
262
262
  border-radius: 12px !important;
263
263
  width: 161px;
264
264
  height: 60px; }
265
+ @media (max-width: 767px) {
266
+ ._27SXJ {
267
+ width: 100%;
268
+ margin-bottom: 10px !important; } }
265
269
  ._27SXJ ._1EWKg {
266
270
  margin-right: 8px;
267
271
  color: #ffffff; }
@@ -686,7 +690,7 @@ p._1YLGi {
686
690
  font-size: 18px;
687
691
  font-weight: 600; }
688
692
  ._1pWXT ._2P6dw {
689
- width: 30%;
693
+ width: 33%;
690
694
  padding: 10px; }
691
695
  @media (max-width: 767px) {
692
696
  ._1pWXT ._2P6dw {
@@ -712,22 +716,6 @@ p._1YLGi {
712
716
  width: -moz-max-content;
713
717
  width: max-content; }
714
718
 
715
- ._1pWXT {
716
- display: flex;
717
- flex-direction: column;
718
- padding: 15px; }
719
- ._1pWXT > p {
720
- font-size: 18px;
721
- font-weight: 600; }
722
- ._1pWXT ._2P6dw {
723
- width: 30%;
724
- padding: 10px; }
725
- @media (max-width: 767px) {
726
- ._1pWXT ._2P6dw {
727
- width: 100%; } }
728
- ._1pWXT ._2P6dw ._2bl3n button {
729
- width: 80px; }
730
-
731
719
  ._2P6dw {
732
720
  background: #ffffff;
733
721
  border-radius: 10px;
@@ -820,7 +808,6 @@ p._1YLGi {
820
808
  ._24y6D ._nsz-5 ._2ztEK {
821
809
  background: #ffffff;
822
810
  border-radius: 12px;
823
- margin-left: 15px;
824
811
  outline: none;
825
812
  border: none; }
826
813
  ._24y6D ._nsz-5 ._2ztEK ._3G12w {
@@ -1027,6 +1014,9 @@ p._1YLGi {
1027
1014
  border-bottom: 1px solid #ebebeb; }
1028
1015
 
1029
1016
  ._1gCac {
1017
+ margin-bottom: 27px; }
1018
+
1019
+ ._2FOEG {
1030
1020
  margin-bottom: 90px; }
1031
1021
 
1032
1022
  ._2g648 {
@@ -1060,6 +1050,10 @@ p._1YLGi {
1060
1050
  ._2ZoYJ {
1061
1051
  font-size: 15.5px !important; }
1062
1052
 
1053
+ @media only screen and (max-width: 1024px) {
1054
+ ._2vHQz {
1055
+ height: 430px; } }
1056
+
1063
1057
  @font-face {
1064
1058
  font-family: "Lato-Regular";
1065
1059
  src: url("/fonts/Lato-Regular.ttf");
@@ -2201,19 +2195,6 @@ h2._1OAmb {
2201
2195
  @media (max-width: 767px) {
2202
2196
  ._TPgHY ._6pjAT {
2203
2197
  display: none; } }
2204
- ._TPgHY ._6pjAT ._nq8pm {
2205
- display: flex;
2206
- font-size: 18px;
2207
- font-weight: 600;
2208
- background: #1e4e8c;
2209
- margin-right: 15px;
2210
- color: #ffffff;
2211
- border-radius: 12px;
2212
- width: 161px;
2213
- height: 60px; }
2214
- ._TPgHY ._6pjAT ._nq8pm ._2D_y3 {
2215
- margin-right: 8px;
2216
- color: #ffffff; }
2217
2198
  ._TPgHY ._6pjAT ._2g9DW {
2218
2199
  display: flex;
2219
2200
  font-size: 18px;
@@ -2227,6 +2208,24 @@ h2._1OAmb {
2227
2208
  margin-right: 8px;
2228
2209
  color: #ffffff; }
2229
2210
 
2211
+ ._2PSik {
2212
+ display: none; }
2213
+ ._2PSik ._m3I3W {
2214
+ display: flex;
2215
+ font-size: 18px;
2216
+ font-weight: 600;
2217
+ background: #308252;
2218
+ color: #ffffff;
2219
+ border-radius: 12px;
2220
+ width: 100%;
2221
+ height: 60px; }
2222
+ ._2PSik ._m3I3W ._3ure3 {
2223
+ margin-right: 8px;
2224
+ color: #ffffff; }
2225
+ @media (max-width: 767px) {
2226
+ ._2PSik {
2227
+ display: block; } }
2228
+
2230
2229
  ._2Icy_ {
2231
2230
  font-family: "Roboto", sans-serif !important;
2232
2231
  color: #000000; }
@@ -2312,6 +2311,22 @@ h2._1OAmb {
2312
2311
  ._3TPGz ._1n-GQ ._1IiKL ._1k0E0 ._10gXX ._2eaXw {
2313
2312
  margin: 10px 0;
2314
2313
  width: 100%; } }
2314
+ ._3TPGz ._1n-GQ ._1IiKL ._1k0E0 ._10gXX ._2eaXw ._2Ea30 {
2315
+ transform: translate(14px, -6px) scale(0.75);
2316
+ z-index: 1;
2317
+ pointer-events: none;
2318
+ transition: color 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
2319
+ transform-origin: top left;
2320
+ top: 2;
2321
+ left: 0;
2322
+ margin-left: 20px;
2323
+ padding: 0 10px 0 5px;
2324
+ position: absolute;
2325
+ color: rgba(0, 0, 0, 0.54);
2326
+ font-size: 1rem;
2327
+ font-family: "Roboto", "Helvetica", "Arial",
2315
2328
  sans-serif;
2329
+ letter-spacing: 0.00938em;
2330
+ background: #ffffff; }
2316
2331
  ._3TPGz ._1n-GQ ._1IiKL ._1k0E0 ._10gXX ._1Rtg2 {
2317
2332
  width: 100%; }
2318
2333
  @media (max-width: 767px) {
@@ -2338,6 +2353,21 @@ h2._1OAmb {
2338
2353
  color: red;
2339
2354
  font-size: 13px !important; }
2340
2355
 
2356
+ ._1a4Tr {
2357
+ background-color: white;
2358
+ border: solid 1px #cbd4c9;
2359
+ border-radius: 12px;
2360
+ padding: 3px 10px;
2361
+ display: flex;
2362
+ align-items: center;
2363
+ justify-content: space-between;
2364
+ min-width: 220px; }
2365
+ ._1a4Tr ._3D6Xv {
2366
+ color: #cbd4c9; }
2367
+ ._1a4Tr > label {
2368
+ margin-bottom: 0;
2369
+ white-space: nowrap; }
2370
+
2341
2371
  ._MC1DJ ._1qzuv {
2342
2372
  padding: 20px 20px 0;
2343
2373
  display: flex;
@@ -2517,8 +2547,10 @@ h2._1OAmb {
2517
2547
 
2518
2548
  ._1qCwl {
2519
2549
  display: flex;
2550
+ flex-direction: row;
2520
2551
  align-items: center;
2521
- padding-bottom: 10px; }
2552
+ padding-bottom: 10px;
2553
+ flex-wrap: wrap; }
2522
2554
 
2523
2555
  ._1clLN {
2524
2556
  display: flex;
@@ -2537,6 +2569,7 @@ h2._1OAmb {
2537
2569
  padding: 20px 10px 10px 10px;
2538
2570
  width: 205px;
2539
2571
  margin-right: 16px;
2572
+ margin-bottom: 16px;
2540
2573
  border-radius: 9px;
2541
2574
  background-color: #ffffff; }
2542
2575
  ._2QGnx ._175nT {
@@ -2571,12 +2604,14 @@ h2._1OAmb {
2571
2604
 
2572
2605
  @media only screen and (max-width: 767px) {
2573
2606
  ._3F0Tm {
2574
- margin-top: 40px; }
2607
+ margin-top: 45px; }
2575
2608
  ._1jSN5 {
2576
- margin-top: 120px; }
2609
+ margin-top: 130px; }
2577
2610
  ._286sF:last-child {
2578
2611
  margin-top: 10px;
2579
- margin-left: 16px; } }
2612
+ margin-left: 16px; }
2613
+ ._1clLN {
2614
+ left: 0%; } }
2580
2615
 
2581
2616
  @media only screen and (min-width: 1025px) and (max-width: 1610px) {
2582
2617
  ._3F0Tm {
@@ -2585,7 +2620,9 @@ h2._1OAmb {
2585
2620
  margin-top: 50px; }
2586
2621
  ._3140u {
2587
2622
  margin-top: 10px;
2588
- margin-left: 16px; } }
2623
+ margin-left: 16px; }
2624
+ ._1clLN {
2625
+ left: 0%; } }
2589
2626
 
2590
2627
  @media only screen and (min-width: 768px) and (max-width: 1024px) {
2591
2628
  ._3F0Tm {
@@ -2594,7 +2631,9 @@ h2._1OAmb {
2594
2631
  margin-top: 100px; }
2595
2632
  ._286sF:last-child {
2596
2633
  margin-top: 10px;
2597
- margin-left: 16px; } }
2634
+ margin-left: 16px; }
2635
+ ._1clLN {
2636
+ left: 0%; } }
2598
2637
 
2599
2638
  @font-face {
2600
2639
  font-family: "Lato-Regular";
@@ -3707,9 +3746,6 @@ h2._1OAmb {
3707
3746
  padding: 15px;
3708
3747
  border-bottom: 1px solid #ebebeb; }
3709
3748
 
3710
- ._1mGJh {
3711
- margin-bottom: 90px; }
3712
-
3713
3749
  ._2hmDZ {
3714
3750
  background: #f6f4c6;
3715
3751
  color: #744210;
@@ -4371,8 +4407,10 @@ h2._1KpSK {
4371
4407
  ._1WNMT {
4372
4408
  display: flex;
4373
4409
  align-items: center;
4374
- padding-top: 21px;
4375
- padding-left: 25px; }
4410
+ padding-top: 21px; }
4411
+ @media (max-width: 767px) {
4412
+ ._1WNMT {
4413
+ padding-left: 0px; } }
4376
4414
  ._1WNMT ._3BU0L {
4377
4415
  display: flex;
4378
4416
  align-items: center;
@@ -4450,9 +4488,7 @@ h2._1KpSK {
4450
4488
  ._1dfpj ._3n2uY {
4451
4489
  background: #ffffff;
4452
4490
  border-radius: 12px;
4453
- min-width: 500px;
4454
- border: 1px solid rgba(0, 0, 0, 0.42);
4455
- padding: 8px 15px; }
4491
+ min-width: 500px; }
4456
4492
  ._1dfpj ._3n2uY input {
4457
4493
  color: #000000; }
4458
4494
  @media (max-width: 767px) {
@@ -4462,6 +4498,10 @@ h2._1KpSK {
4462
4498
  ._1dfpj ._1YvHz {
4463
4499
  margin-top: 20px; }
4464
4500
 
4501
+ ._tSDFC {
4502
+ font-size: 15px;
4503
+ color: red; }
4504
+
4465
4505
  @font-face {
4466
4506
  font-family: "Lato-Regular";
4467
4507
  src: url("/fonts/Lato-Regular.ttf");