@cullsin/lnc-menu 5.4.0 → 5.6.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,69 +18,51 @@
18
18
  .MuiListItem-root {
19
19
  padding: 15px;
20
20
 
21
- // Selected state - capsule style with icon and text combined
21
+ // Selected state - unified capsule background
22
22
  &.selected {
23
23
  padding: 7px;
24
+ background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
25
+ border-radius: 20px;
26
+ margin: 0 7px;
24
27
 
25
28
  .MuiListItemIcon-root {
26
- background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
27
29
  color: #1e2f97;
28
- padding: 10px;
30
+ padding: 11px 10px;
29
31
  min-width: 25px;
30
- border-top-left-radius: 20px;
31
- border-bottom-left-radius: 20px;
32
- border-top-right-radius: 0;
33
- border-bottom-right-radius: 0;
34
-
35
- // When collapsed (icon only), make full capsule
36
- &:only-child {
37
- border-radius: 20px;
38
- }
39
32
  }
40
33
 
41
34
  .MuiListItemText-root {
42
35
  margin: 0;
43
36
 
44
37
  span {
45
- background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
46
38
  padding: 10px 15px 10px 5px;
47
- min-width: 25px;
48
- border-top-right-radius: 20px;
49
- border-bottom-right-radius: 20px;
50
39
  display: inline-block;
51
40
  }
41
+
42
+ .MuiTypography-root {
43
+ color: #1e2f97;
44
+ }
52
45
  }
53
46
  }
54
47
 
55
- // Hover state - capsule style
48
+ // Hover state - unified capsule background
56
49
  &:hover:not(.selected) {
57
50
  padding: 7px;
51
+ background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
52
+ border-radius: 20px;
53
+ margin: 0 7px;
58
54
 
59
55
  .MuiListItemIcon-root {
60
- background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
61
56
  color: #1e2f97;
62
- padding: 10px;
57
+ padding: 11px 10px;
63
58
  min-width: 25px;
64
- border-top-left-radius: 20px;
65
- border-bottom-left-radius: 20px;
66
- border-top-right-radius: 0;
67
- border-bottom-right-radius: 0;
68
-
69
- // When collapsed (icon only), make full capsule
70
- &:only-child {
71
- border-radius: 20px;
72
- }
73
59
  }
74
60
 
75
61
  .MuiListItemText-root {
76
62
  margin: 0;
77
63
 
78
64
  span {
79
- background: linear-gradient(to bottom, #7ad4f7, #20a9ef) !important;
80
65
  padding: 10px 15px 10px 5px;
81
- min-width: 25px;
82
- border-top-right-radius: 20px;
83
- border-bottom-right-radius: 20px;
84
66
  display: inline-block;
85
67
  }
86
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cullsin/lnc-menu",
3
- "version": "5.4.0",
3
+ "version": "5.6.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",