mario-core 2.9.144-up → 2.9.146-level

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,3 +1,6 @@
1
1
  /// <reference types="react" />
2
- declare const TheHeader: () => JSX.Element;
2
+ interface Props {
3
+ onToggleModel?: Function;
4
+ }
5
+ declare const TheHeader: ({ onToggleModel }: Props) => JSX.Element;
3
6
  export default TheHeader;
@@ -1,3 +1,6 @@
1
1
  /// <reference types="react" />
2
- declare const TheHeaderDropdown: () => JSX.Element;
2
+ interface Props {
3
+ onToggleModel?: Function;
4
+ }
5
+ declare const TheHeaderDropdown: ({ onToggleModel }: Props) => JSX.Element;
3
6
  export default TheHeaderDropdown;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "../i18n";
3
+ declare const TheLayoutAdmin: ({ routes, navigation }: any) => React.JSX.Element;
4
+ export default TheLayoutAdmin;
@@ -71,3 +71,4 @@ export declare const ROLES: {
71
71
  SECONDARY_TEACHER: string;
72
72
  };
73
73
  export declare const NOTIFICATION_ALERT_KEY = "NOTIFICATION_ALERT_KEY";
74
+ export declare const handleUserRole: (userRoles: string[]) => string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-core",
3
- "version": "2.9.144-up",
3
+ "version": "2.9.146-level",
4
4
  "description": "Contains core components && functions for Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -84,7 +84,7 @@
84
84
  "i18next": "^19.8.7",
85
85
  "link": "^1.5.1",
86
86
  "moment": "^2.29.1",
87
- "node-sass": "8.0.0",
87
+ "node-sass": "^5.0.0",
88
88
  "pusher-js": "^7.0.3",
89
89
  "react-datepicker": "^3.6.0",
90
90
  "react-google-login": "^5.2.2",