tenjin-ui-kit 0.2.185 → 0.2.187

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.
@@ -27,10 +27,12 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
27
27
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
28
28
  var ProjectTopbar = function ProjectTopbar(_ref) {
29
29
  var _loggedInUser$role;
30
- var loggedInUser = _ref.loggedInUser,
30
+ var homeIcon = _ref.homeIcon,
31
+ loggedInUser = _ref.loggedInUser,
31
32
  actions = _ref.actions,
32
33
  onLogout = _ref.onLogout,
33
- onViewProfileClick = _ref.onViewProfileClick;
34
+ onViewProfileClick = _ref.onViewProfileClick,
35
+ hrefLink = _ref.hrefLink;
34
36
  var theme = (0, _system.useTheme)();
35
37
  var _useState = (0, _react.useState)(null),
36
38
  _useState2 = _slicedToArray(_useState, 2),
@@ -101,15 +103,15 @@ var ProjectTopbar = function ProjectTopbar(_ref) {
101
103
  alignItems: "center"
102
104
  }
103
105
  }, /*#__PURE__*/_react.default.createElement("a", {
104
- href: "/home/projects/recentprojects",
106
+ href: hrefLink || "/home/projects/recentprojects",
105
107
  style: {
106
108
  marginRight: "1rem",
107
109
  textDecoration: "none"
108
110
  }
109
111
  }, /*#__PURE__*/_react.default.createElement(_system.Box, {
110
112
  sx: {
111
- width: 35,
112
- height: 30,
113
+ width: homeIcon ? 100 : 35,
114
+ height: homeIcon ? 90 : 30,
113
115
  // marginTop: theme.spacing(1.7),
114
116
  "& img": {
115
117
  width: "inherit",
@@ -117,7 +119,7 @@ var ProjectTopbar = function ProjectTopbar(_ref) {
117
119
  }
118
120
  }
119
121
  }, /*#__PURE__*/_react.default.createElement("img", {
120
- src: _tenjin40Logo.default,
122
+ src: homeIcon || _tenjin40Logo.default,
121
123
  alt: "app png logo"
122
124
  })))), /*#__PURE__*/_react.default.createElement(_system.Box, {
123
125
  className: "Center",
@@ -146,13 +146,12 @@ var SimpleSelect = function SimpleSelect(_ref) {
146
146
  position: "sticky",
147
147
  top: 0,
148
148
  zIndex: 9999,
149
- backgroundColor: "white",
149
+ backgroundColor: "white !important",
150
150
  height: "2.188rem",
151
151
  margin: 0,
152
152
  width: "100%",
153
153
  border: "1px solid #949494",
154
- borderRadius: "4px",
155
- boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)"
154
+ borderRadius: "4px"
156
155
  },
157
156
  placeholder: "Type to search...",
158
157
  onChange: function onChange(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tenjin-ui-kit",
3
- "version": "0.2.185",
3
+ "version": "0.2.187",
4
4
  "repository": {
5
5
  "url": "https://gitlab.com/yethi/react/tenjin-ui-kit.git"
6
6
  },