@cullsin/lnc-menu 5.7.0 → 5.9.0

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.
@@ -9,7 +9,7 @@
9
9
  .MuiBox-root .MuiList-root {
10
10
  background: linear-gradient(to bottom, #1e2f97, #0b1659) !important;
11
11
  color: #fff;
12
- height: 100%;
12
+ height: "100vh";
13
13
  bottom: 0;
14
14
  padding: 20px 0;
15
15
  }
@@ -50,15 +50,17 @@
50
50
 
51
51
  // Selected state - unified capsule background
52
52
  &.selected {
53
- padding: 7px;
53
+ padding: 10px 15px;
54
54
  background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
55
55
  border-radius: 20px;
56
56
  margin: 0 7px;
57
+ display: flex;
58
+ align-items: center;
57
59
 
58
60
  .MuiListItemIcon-root {
59
61
  color: #1e2f97;
60
- padding: 10px;
61
- min-width: 25px;
62
+ min-width: auto;
63
+ margin-right: 8px;
62
64
 
63
65
  svg,
64
66
  .MuiSvgIcon-root {
@@ -69,11 +71,6 @@
69
71
 
70
72
  .MuiListItemText-root {
71
73
  margin: 0;
72
-
73
- span {
74
- padding: 10px 15px 10px 5px;
75
- display: inline-block;
76
- }
77
74
 
78
75
  .MuiTypography-root {
79
76
  color: #1e2f97;
@@ -83,15 +80,17 @@
83
80
 
84
81
  // Hover state - unified capsule background
85
82
  &:hover:not(.selected) {
86
- padding: 7px;
83
+ padding: 10px 15px;
87
84
  background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
88
85
  border-radius: 20px;
89
86
  margin: 0 7px;
87
+ display: flex;
88
+ align-items: center;
90
89
 
91
90
  .MuiListItemIcon-root {
92
91
  color: #1e2f97;
93
- padding: 10px;
94
- min-width: 25px;
92
+ min-width: auto;
93
+ margin-right: 8px;
95
94
 
96
95
  svg,
97
96
  .MuiSvgIcon-root {
@@ -102,11 +101,6 @@
102
101
 
103
102
  .MuiListItemText-root {
104
103
  margin: 0;
105
-
106
- span {
107
- padding: 10px 15px 10px 5px;
108
- display: inline-block;
109
- }
110
104
 
111
105
  .MuiTypography-root {
112
106
  color: #1e2f97;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cullsin/lnc-menu",
3
- "version": "5.7.0",
3
+ "version": "5.9.0",
4
4
  "description": "Reusable SideMenu component for MedGenome LNC platform using MUI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",