l-min-components 1.0.266 → 1.0.270

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.266",
3
+ "version": "1.0.270",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -57,8 +57,7 @@ const AccountDropdown = (props) => {
57
57
  <div>
58
58
  <h1>
59
59
  {" "}
60
- {props?.selectedAccount?.display_name ||
61
- props?.selectedAccount?.metadata?.organization_name ||
60
+ {props?.selectedAccount?.metadata?.organization_name ||
62
61
  props?.activeAccountName}
63
62
  </h1>
64
63
  <h2 style={{ textTransform: "capitalize" }}>
@@ -132,7 +131,11 @@ const AccountDropdown = (props) => {
132
131
  />
133
132
  </div>
134
133
  <div className="account-details">
135
- <h1> {developerItem?.display_name || props.accountName}</h1>
134
+ <h1>
135
+ {" "}
136
+ {developerItem?.metadata?.organization_name ||
137
+ props.accountName}
138
+ </h1>
136
139
  {/* <span>{props.notificationCount} </span> */}
137
140
  </div>
138
141
  </div>
@@ -275,10 +275,7 @@ const HeaderComponent = (props) => {
275
275
  />
276
276
  </div>
277
277
  <div className="user-info-container">
278
- <h5>
279
- {selectedAccount?.display_name ||
280
- selectedAccount?.metadata?.organization_name}
281
- </h5>
278
+ <h5>{selectedAccount?.metadata?.organization_name}</h5>
282
279
  <h6 style={{ textTransform: "capitalize" }}>
283
280
  {selectedAccount?.type?.toLowerCase()}
284
281
  </h6>
@@ -299,7 +299,7 @@ export const AccountDropdownLayout = styled.div`
299
299
  flex-direction: column;
300
300
  position: absolute;
301
301
  top: 65px;
302
- right: 0;
302
+ right: 20px;
303
303
  z-index: 5;
304
304
  `;
305
305
 
@@ -393,7 +393,7 @@ export const AccountDropdownBody = styled.div`
393
393
  }
394
394
  }
395
395
  & .activated {
396
- background-color: rgba(239, 248, 248, 1);
396
+ background-color: rgba(0, 194, 194, 0.15);
397
397
  }
398
398
 
399
399
  & .account-details {
@@ -20,7 +20,7 @@ const SideBar = ({ routes }) => {
20
20
  <NavLinkStyled
21
21
  to={route.path}
22
22
  activeClassName="active"
23
- className={route?.label === "Learning" ? "active" : ""}
23
+ // className={route?.label === "Learning" ? "active" : ""}
24
24
  >
25
25
  <Icon>{route.icon}</Icon>
26
26
  <span className="text">{route.label}</span>