@cullsin/lnc-menu 5.6.0 → 5.7.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.
@@ -18,6 +18,36 @@
18
18
  .MuiListItem-root {
19
19
  padding: 15px;
20
20
 
21
+ // Normalize all icons (MUI icons and custom SVGs)
22
+ .MuiListItemIcon-root {
23
+ color: #fff;
24
+ min-width: 30px;
25
+ cursor: pointer;
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+
30
+ // Ensure consistent icon sizing for both MUI icons and custom SVGs
31
+ svg,
32
+ .MuiSvgIcon-root {
33
+ width: 24px;
34
+ height: 24px;
35
+ display: block;
36
+ }
37
+ }
38
+
39
+ .MuiListItemText-root {
40
+ margin-top: 0;
41
+ margin-bottom: 0;
42
+
43
+ .MuiTypography-root {
44
+ font: 14px/24px "OpenSans-SemiBold";
45
+ color: #fff;
46
+ cursor: pointer;
47
+ white-space: nowrap;
48
+ }
49
+ }
50
+
21
51
  // Selected state - unified capsule background
22
52
  &.selected {
23
53
  padding: 7px;
@@ -27,8 +57,14 @@
27
57
 
28
58
  .MuiListItemIcon-root {
29
59
  color: #1e2f97;
30
- padding: 11px 10px;
60
+ padding: 10px;
31
61
  min-width: 25px;
62
+
63
+ svg,
64
+ .MuiSvgIcon-root {
65
+ fill: #1e2f97;
66
+ color: #1e2f97;
67
+ }
32
68
  }
33
69
 
34
70
  .MuiListItemText-root {
@@ -54,8 +90,14 @@
54
90
 
55
91
  .MuiListItemIcon-root {
56
92
  color: #1e2f97;
57
- padding: 11px 10px;
93
+ padding: 10px;
58
94
  min-width: 25px;
95
+
96
+ svg,
97
+ .MuiSvgIcon-root {
98
+ fill: #1e2f97;
99
+ color: #1e2f97;
100
+ }
59
101
  }
60
102
 
61
103
  .MuiListItemText-root {
@@ -71,24 +113,6 @@
71
113
  }
72
114
  }
73
115
  }
74
-
75
- .MuiListItemIcon-root {
76
- color: #fff;
77
- min-width: 30px;
78
- cursor: pointer;
79
- }
80
-
81
- .MuiListItemText-root {
82
- margin-top: 0;
83
- margin-bottom: 0;
84
-
85
- .MuiTypography-root {
86
- font: 14px/24px "OpenSans-SemiBold";
87
- color: #fff;
88
- cursor: pointer;
89
- white-space: nowrap;
90
- }
91
- }
92
116
  }
93
117
  }
94
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cullsin/lnc-menu",
3
- "version": "5.6.0",
3
+ "version": "5.7.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",