mario-teacher-student-client 2.1.0 → 2.1.1
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.
- package/dist/index.css +4 -3
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2659,12 +2659,12 @@ h2._1OAmb {
|
|
|
2659
2659
|
background: white;
|
|
2660
2660
|
width: 301px;
|
|
2661
2661
|
text-align: center;
|
|
2662
|
-
right:
|
|
2662
|
+
right: 90px;
|
|
2663
2663
|
padding: 12px;
|
|
2664
2664
|
border-radius: 12px;
|
|
2665
2665
|
box-shadow: 0px 3px 12px 2px #f0e6e6;
|
|
2666
2666
|
z-index: 99;
|
|
2667
|
-
bottom:
|
|
2667
|
+
bottom: 70px; }
|
|
2668
2668
|
._2d_37 ._3sLHL ._3lbPv {
|
|
2669
2669
|
font-size: 16px;
|
|
2670
2670
|
font-weight: 400;
|
|
@@ -2684,7 +2684,8 @@ h2._1OAmb {
|
|
|
2684
2684
|
color: white;
|
|
2685
2685
|
position: absolute;
|
|
2686
2686
|
padding: 15px;
|
|
2687
|
-
right:
|
|
2687
|
+
right: 85px;
|
|
2688
|
+
bottom: 10px; }
|
|
2688
2689
|
|
|
2689
2690
|
._17w4S {
|
|
2690
2691
|
color: #0a4da2;
|
package/dist/index.js
CHANGED
|
@@ -512,6 +512,9 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
512
512
|
}, {
|
|
513
513
|
name: "Settings",
|
|
514
514
|
icon: React__default.createElement(SettingsIcon, null)
|
|
515
|
+
}, {
|
|
516
|
+
name: "My Learning Plan",
|
|
517
|
+
icon: React__default.createElement(CommentIcon, null)
|
|
515
518
|
}];
|
|
516
519
|
return React__default.createElement("div", null, React__default.createElement(AppBar, {
|
|
517
520
|
position: "fixed",
|
|
@@ -638,7 +641,7 @@ var HeaderSideBar = function HeaderSideBar(_ref) {
|
|
|
638
641
|
},
|
|
639
642
|
className: classes.drawerItem + " " + (urlActive != "" && (navigation.to.includes(urlActive) || navigation.to.includes("my-student") && urlActive == "student-detail" || navigation.to.includes("my-one-to-one") && urlActive == "start-question" || navigation.to.includes("my-conferences") && urlActive == "start-conference") ? classes.drawerActive : "")
|
|
640
643
|
}, React__default.createElement(core.ListItemIcon, null, (_ICON_NAV$find = ICON_NAV.find(function (nav) {
|
|
641
|
-
return nav.name == navigation.name;
|
|
644
|
+
return nav.name.trim().toLocaleLowerCase() == navigation.name.trim().toLocaleLowerCase();
|
|
642
645
|
})) === null || _ICON_NAV$find === void 0 ? void 0 : _ICON_NAV$find.icon), React__default.createElement(core.ListItemText, null, React__default.createElement("span", {
|
|
643
646
|
className: classes.drawerContent
|
|
644
647
|
}, navigation === null || navigation === void 0 ? void 0 : navigation.name)));
|
|
@@ -6811,7 +6814,7 @@ var HeaderComponent = function HeaderComponent(_ref) {
|
|
|
6811
6814
|
};
|
|
6812
6815
|
|
|
6813
6816
|
React.useEffect(function () {
|
|
6814
|
-
isOpenSideBar ? setWidth(screenWidth -
|
|
6817
|
+
isOpenSideBar ? setWidth(screenWidth - 280) : setWidth(screenWidth);
|
|
6815
6818
|
}, [isOpenSideBar]);
|
|
6816
6819
|
window.addEventListener("resize", reSize);
|
|
6817
6820
|
var ckeckUrlImage = React.useMemo(function () {
|
|
@@ -39485,7 +39488,8 @@ var useAddClassReflection = function useAddClassReflection() {
|
|
|
39485
39488
|
setRowClassReflection([{
|
|
39486
39489
|
id: marioCore.generateRandomString(),
|
|
39487
39490
|
classType: "",
|
|
39488
|
-
classDate: new Date(),
|
|
39491
|
+
classDate: new Date().valueOf(),
|
|
39492
|
+
classDateTime: new Date(),
|
|
39489
39493
|
teacherEmail: "",
|
|
39490
39494
|
teacherName: "",
|
|
39491
39495
|
teacherImage: "",
|
|
@@ -39513,7 +39517,8 @@ var useAddClassReflection = function useAddClassReflection() {
|
|
|
39513
39517
|
var itemClass = {
|
|
39514
39518
|
id: marioCore.generateRandomString(),
|
|
39515
39519
|
classType: "",
|
|
39516
|
-
classDate: new Date(),
|
|
39520
|
+
classDate: new Date().valueOf(),
|
|
39521
|
+
classDateTime: new Date(),
|
|
39517
39522
|
teacherEmail: "",
|
|
39518
39523
|
teacherName: "",
|
|
39519
39524
|
teacherImage: "",
|