@stokr/components-library 2.3.58 → 2.3.60
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.
|
@@ -26,7 +26,7 @@ const MainMenuOptions = exports.MainMenuOptions = _styledComponents.default.div.
|
|
|
26
26
|
const MainMenuOption = exports.MainMenuOption = _styledComponents.default.div.withConfig({
|
|
27
27
|
displayName: "MainMenustyles__MainMenuOption",
|
|
28
28
|
componentId: "sc-1cw1nhj-3"
|
|
29
|
-
})(["background-color:white !important;position:relative;display:flex;flex-basis:33.3333%;justify-content:center;align-items:center;width:100%;padding:4px 16px;outline:none;&:hover{font-weight:bold;}", " ", " &
|
|
29
|
+
})(["background-color:white !important;position:relative;display:flex;flex-basis:33.3333%;justify-content:center;align-items:center;width:100%;padding:4px 16px;outline:none;&:hover{font-weight:bold;}", " ", " &{border-top:1px solid #e1e1e1;}", " ", " ", " ", " ", " span{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}button{color:#ee220d;border-color:#ee220d;background-color:white;&:hover{color:#be1b09;border-color:#be1b09;}}"], _ref => {
|
|
30
30
|
let {
|
|
31
31
|
isDashboard
|
|
32
32
|
} = _ref;
|
|
@@ -36,7 +36,7 @@ const MainMenuOption = exports.MainMenuOption = _styledComponents.default.div.wi
|
|
|
36
36
|
isSettings
|
|
37
37
|
} = _ref2;
|
|
38
38
|
return isSettings && (0, _styledComponents.css)(["border-right:none !important;"]);
|
|
39
|
-
}, _rwd.default.Medium(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 10px;\n border-bottom: 1px solid #e1e1e1;\n margin-bottom: -1px;\n transition: border-bottom-color .2s;\n\n &
|
|
39
|
+
}, _rwd.default.Medium(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding: 10px;\n border-bottom: 1px solid #e1e1e1;\n margin-bottom: -1px;\n transition: border-bottom-color .2s;\n\n & {\n border-top: 0;\n border-left: 1px solid #e1e1e1;\n\n ", "\n }\n\n ", ";\n\n ", "\n\n ", "\n\n "])), _ref3 => {
|
|
40
40
|
let {
|
|
41
41
|
isDashboard
|
|
42
42
|
} = _ref3;
|
|
@@ -6,8 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.checkTodoStatus = void 0;
|
|
7
7
|
var _checklistGenerator = require("./checklistGenerator");
|
|
8
8
|
const checkTodoStatus = user => {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
if (user.user_type === 'investor' || user.user_type === 'investor-entity') {
|
|
10
|
+
const coreTasks = (0, _checklistGenerator.generateCoreChecklistTasks)(user);
|
|
11
|
+
return coreTasks.remainingCount;
|
|
12
|
+
} else return 0;
|
|
11
13
|
};
|
|
12
14
|
exports.checkTodoStatus = checkTodoStatus;
|
|
13
15
|
var _default = exports.default = checkTodoStatus;
|