l-min-components 1.0.802 → 1.0.805

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.802",
3
+ "version": "1.0.805",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -49,6 +49,33 @@ export const ControlInput = styled.input`
49
49
  }
50
50
  `;
51
51
 
52
+ // export const DropDownContent = styled.ul`
53
+ // position: absolute;
54
+ // top: 35px;
55
+ // left: 0;
56
+ // list-style-type: none;
57
+ // padding-left: 25px;
58
+ // padding-bottom: 0px;
59
+ // width: 100%;
60
+ // max-height: 200px;
61
+ // overflow-y: scroll;
62
+ // scrollbar-width: thin;
63
+ // scrollbar-color: transparent transparent;
64
+
65
+ // &::-webkit-scrollbar {
66
+ // width: 6px;
67
+ // background-color: transparent;
68
+ // }
69
+
70
+ // &::-webkit-scrollbar-thumb {
71
+ // background-color: transparent;
72
+ // }
73
+
74
+ // .loader {
75
+ // margin-bottom: 20px;
76
+ // }
77
+ // `;
78
+
52
79
  export const DropDownContent = styled.ul`
53
80
  position: absolute;
54
81
  top: 35px;
@@ -57,18 +84,27 @@ export const DropDownContent = styled.ul`
57
84
  padding-left: 25px;
58
85
  padding-bottom: 0px;
59
86
  width: 100%;
60
- max-height: 200px;
61
- overflow-y: scroll;
62
- scrollbar-width: thin;
63
- scrollbar-color: transparent transparent;
87
+ max-height: 100px;
88
+ /* height: 142px; */
89
+ overflow-y: auto;
64
90
 
91
+ /* Added for Firefox */
92
+ scrollbar-width: thin;
93
+ scrollbar-color: #888 #f5f7f7;
94
+
95
+ /* Added for Chrome, Safari, and Opera */
65
96
  &::-webkit-scrollbar {
66
- width: 6px;
67
- background-color: transparent;
97
+ width: 6px;
68
98
  }
69
99
 
70
100
  &::-webkit-scrollbar-thumb {
71
- background-color: transparent;
101
+ background: #888;
102
+ border-radius: 10px;
103
+ }
104
+
105
+ &::-webkit-scrollbar-track {
106
+ background: #f5f7f7;
107
+ border-radius: 10px;
72
108
  }
73
109
 
74
110
  .loader {
@@ -76,6 +112,7 @@ export const DropDownContent = styled.ul`
76
112
  }
77
113
  `;
78
114
 
115
+
79
116
  export const DropDownItem = styled.li`
80
117
  font-family: "Nunito", sans-serif;
81
118
  padding: 4px 10px;