@stokr/components-library 2.3.59 → 2.3.61

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.
@@ -98,6 +98,7 @@ class MainMenu extends _react.PureComponent {
98
98
  button: true,
99
99
  nameOption: true,
100
100
  isVenture: isAdmin,
101
+ isDashboard: true,
101
102
  onClick: () => {
102
103
  isAdmin ? window.location.href = "https://admin.".concat(_globalVariables.platformDomain) : window.location.href = "".concat(platformUrlForUserMenu, "/overview");
103
104
  }
@@ -26,30 +26,25 @@ 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;}", " ", " & + &{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
- let {
31
- isDashboard
32
- } = _ref;
33
- return isDashboard && (0, _styledComponents.css)(["border-color:#e1e1e1 !important;"]);
34
- }, _ref2 => {
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 => {
35
30
  let {
36
31
  isSettings
37
- } = _ref2;
32
+ } = _ref;
38
33
  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 & + & {\n border-top: 0;\n border-left: 1px solid #e1e1e1;\n\n ", "\n }\n\n ", ";\n\n ", "\n\n ", "\n\n "])), _ref3 => {
34
+ }, _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 "])), _ref2 => {
40
35
  let {
41
36
  isDashboard
42
- } = _ref3;
43
- return isDashboard && (0, _styledComponents.css)(["border-right:1px solid #e1e1e1;"]);
44
- }, props => props.isOpened && "\n border-bottom-color: transparent;\n ", _ref4 => {
37
+ } = _ref2;
38
+ return isDashboard && (0, _styledComponents.css)(["border-right:0;"]);
39
+ }, props => props.isOpened && "\n border-bottom-color: transparent;\n ", _ref3 => {
45
40
  let {
46
41
  isVenture
47
- } = _ref4;
42
+ } = _ref3;
48
43
  return isVenture && (0, _styledComponents.css)(["flex-basis:66.6%;"]);
49
- }, props => props.nameOption && "\n display: flex;\n "), props => props.nameOption && "\n display: none;\n ", _rwd.default.Large(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\n ", "\n\n ", ";\n "])), _ref5 => {
44
+ }, props => props.nameOption && "\n display: flex;\n "), props => props.nameOption && "\n display: none;\n ", _rwd.default.Large(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n\n ", "\n\n ", ";\n "])), _ref4 => {
50
45
  let {
51
46
  isVenture
52
- } = _ref5;
47
+ } = _ref4;
53
48
  return isVenture && (0, _styledComponents.css)(["flex-basis:75.5%;"]);
54
49
  }, props => props.nameOption && "\n display: flex;\n "), props => props.noBorder && "\n border: none !important;\n ", props => props.button && "\n cursor: pointer;\n transition: color .2s;\n outline: 0;\n \n & > span {\n display: inline-block;\n vertical-align: middle;\n text-transform: uppercase;\n font-size: 11px;\n line-height: 20px;\n }\n\n &:hover {\n color: ".concat(props.theme.cPrimary, ";\n }\n "));
55
50
  const UserName = exports.UserName = _styledComponents.default.h3.withConfig({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokr/components-library",
3
- "version": "2.3.59",
3
+ "version": "2.3.61",
4
4
  "description": "STOKR - Components Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",