l-min-components 1.0.691 → 1.0.697

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.691",
3
+ "version": "1.0.697",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -1,6 +1,6 @@
1
1
  import styled from "styled-components";
2
2
  import(
3
- "https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap"
3
+ "https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000&display=swap"
4
4
  );
5
5
 
6
6
  export const DropDownContainer = styled.div`
@@ -43,6 +43,10 @@ export const ControlInput = styled.input`
43
43
  border: none;
44
44
  cursor: caret;
45
45
  background: none;
46
+
47
+ &::placeholder {
48
+ color: #adb2b2; // Placeholder text color
49
+ }
46
50
  `;
47
51
 
48
52
  export const DropDownContent = styled.ul`
@@ -56,24 +60,18 @@ export const DropDownContent = styled.ul`
56
60
  max-height: 200px;
57
61
  overflow-y: scroll;
58
62
  scrollbar-width: thin;
59
- /* "auto" or "thin" depending on browser support */
60
63
  scrollbar-color: transparent transparent;
61
- /* color values for thumb and track */
62
64
 
63
65
  &::-webkit-scrollbar {
64
66
  width: 6px;
65
- /* adjust as needed */
66
67
  background-color: transparent;
67
- /* color value for track */
68
68
  }
69
69
 
70
70
  &::-webkit-scrollbar-thumb {
71
71
  background-color: transparent;
72
- /* color value for thumb */
73
72
  }
74
- // padding: 4px 10px;
75
- .loader{
76
- /* padding: 5px 0px; */
73
+
74
+ .loader {
77
75
  margin-bottom: 20px;
78
76
  }
79
77
  `;
@@ -104,3 +102,28 @@ export const DropDownItem = styled.li`
104
102
  }
105
103
  }
106
104
  `;
105
+
106
+ export const DownIcon = styled.svg`
107
+ width: ${({ width }) => width || "18px"};
108
+ height: ${({ height }) => height || "9px"};
109
+ fill: none;
110
+ cursor: pointer;
111
+ path {
112
+ stroke: ${({ fill }) => fill || "#7C8080"};
113
+ stroke-width: 2;
114
+ stroke-linecap: round;
115
+ stroke-linejoin: round;
116
+ }
117
+ `;
118
+
119
+ export const Tick = styled.svg`
120
+ width: ${({ size }) => size || "16px"};
121
+ height: ${({ size }) => size || "16px"};
122
+ fill: none;
123
+ path {
124
+ stroke: ${({ stroke }) => stroke || "white"};
125
+ stroke-width: 1.5;
126
+ stroke-linecap: round;
127
+ stroke-linejoin: round;
128
+ }
129
+ `;