@inntechcorp/it-design 2.0.129 → 2.0.131

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.
@@ -61,32 +61,6 @@
61
61
  -webkit-box-shadow: 0 0 0 30px #151d3d inset !important;
62
62
  }
63
63
 
64
- .option {
65
- display: flex;
66
- align-items: center;
67
- cursor: pointer;
68
- min-width: max-content;
69
- padding: 10px 30px 10px 15px;
70
- }
71
- .option:not(:last-child) {
72
- margin-bottom: 1px;
73
- }
74
- .option:hover {
75
- background-color: rgba(29, 38, 73, 0.5019607843);
76
- }
77
-
78
- .selected .single, .selected .option span {
79
- color: #ffffff;
80
- }
81
-
82
- .single, .option span {
83
- color: rgba(255, 255, 255, 0.6666666667);
84
- font-weight: 400;
85
- font-size: 12px;
86
- line-height: 12px;
87
- white-space: nowrap;
88
- }
89
-
90
64
  .arrow {
91
65
  transition: all 0.25s ease-out;
92
66
  margin-left: auto;
@@ -182,6 +156,32 @@
182
156
  transition: height 150ms ease-out;
183
157
  }
184
158
 
159
+ .option {
160
+ display: flex;
161
+ align-items: center;
162
+ cursor: pointer;
163
+ min-width: max-content;
164
+ padding: 10px 30px 10px 15px;
165
+ }
166
+ .option:not(:last-child) {
167
+ margin-bottom: 1px;
168
+ }
169
+ .option:hover {
170
+ background-color: rgba(29, 38, 73, 0.5019607843);
171
+ }
172
+
173
+ .selected .single, .selected .option span {
174
+ color: #ffffff;
175
+ }
176
+
177
+ .single, .option span {
178
+ color: rgba(255, 255, 255, 0.6666666667);
179
+ font-weight: 400;
180
+ font-size: 12px;
181
+ line-height: 12px;
182
+ white-space: nowrap;
183
+ }
184
+
185
185
  .container {
186
186
  display: flex;
187
187
  align-items: center;
@@ -61,61 +61,6 @@
61
61
  -webkit-box-shadow: 0 0 0 30px #151d3d inset !important;
62
62
  }
63
63
 
64
- .arrow {
65
- transition: all 0.25s ease-out;
66
- margin-left: auto;
67
- transform: rotate(0deg);
68
- width: 20px;
69
- height: 20px;
70
- fill: rgba(255, 255, 255, 0.6);
71
- }
72
-
73
- .arrowNormal {
74
- margin-left: auto;
75
- transform: rotate(-90deg);
76
- }
77
-
78
- .arrowOpen {
79
- transform: rotate(-180deg);
80
- fill: #ffffff;
81
- }
82
-
83
- .icon {
84
- margin-right: 8px;
85
- height: 22px;
86
- width: 22px;
87
- color: rgba(255, 255, 255, 0.6);
88
- font-size: 22px;
89
- display: flex;
90
- align-items: center;
91
- }
92
-
93
- .option {
94
- display: flex;
95
- align-items: center;
96
- cursor: pointer;
97
- min-width: max-content;
98
- padding: 10px 30px 10px 15px;
99
- }
100
- .option:not(:last-child) {
101
- margin-bottom: 1px;
102
- }
103
- .option:hover {
104
- background-color: rgba(29, 38, 73, 0.5019607843);
105
- }
106
-
107
- .selected .single, .selected .option span {
108
- color: #ffffff;
109
- }
110
-
111
- .single, .option span {
112
- color: rgba(255, 255, 255, 0.6666666667);
113
- font-weight: 400;
114
- font-size: 12px;
115
- line-height: 12px;
116
- white-space: nowrap;
117
- }
118
-
119
64
  .menu {
120
65
  background-color: #050A20;
121
66
  border-radius: 0 5px 5px 5px;
@@ -182,6 +127,61 @@
182
127
  transition: height 150ms ease-out;
183
128
  }
184
129
 
130
+ .option {
131
+ display: flex;
132
+ align-items: center;
133
+ cursor: pointer;
134
+ min-width: max-content;
135
+ padding: 10px 30px 10px 15px;
136
+ }
137
+ .option:not(:last-child) {
138
+ margin-bottom: 1px;
139
+ }
140
+ .option:hover {
141
+ background-color: rgba(29, 38, 73, 0.5019607843);
142
+ }
143
+
144
+ .selected .single, .selected .option span {
145
+ color: #ffffff;
146
+ }
147
+
148
+ .single, .option span {
149
+ color: rgba(255, 255, 255, 0.6666666667);
150
+ font-weight: 400;
151
+ font-size: 12px;
152
+ line-height: 12px;
153
+ white-space: nowrap;
154
+ }
155
+
156
+ .arrow {
157
+ transition: all 0.25s ease-out;
158
+ margin-left: auto;
159
+ transform: rotate(0deg);
160
+ width: 20px;
161
+ height: 20px;
162
+ fill: rgba(255, 255, 255, 0.6);
163
+ }
164
+
165
+ .arrowNormal {
166
+ margin-left: auto;
167
+ transform: rotate(-90deg);
168
+ }
169
+
170
+ .arrowOpen {
171
+ transform: rotate(-180deg);
172
+ fill: #ffffff;
173
+ }
174
+
175
+ .icon {
176
+ margin-right: 8px;
177
+ height: 22px;
178
+ width: 22px;
179
+ color: rgba(255, 255, 255, 0.6);
180
+ font-size: 22px;
181
+ display: flex;
182
+ align-items: center;
183
+ }
184
+
185
185
  .container {
186
186
  display: flex;
187
187
  align-items: center;
@@ -6,7 +6,7 @@ type MenuProps = {
6
6
  direction: string;
7
7
  multi: boolean;
8
8
  children: ChildrenProps;
9
- onChange: (value: string | string[] | number | number[], label?: string) => void;
9
+ onChange: (value: SelectValue, label?: string) => void;
10
10
  onClose: () => void;
11
11
  isOpen: boolean;
12
12
  };
@@ -51,5 +51,5 @@ export type SelectPosition = "top" | "bottom";
51
51
  export type SelectDirection = "right" | "left";
52
52
  export type SelectOptionProps = {
53
53
  value: string;
54
- text: string;
54
+ children: string;
55
55
  };
@@ -1,2 +1,2 @@
1
1
  import { ITDSizeSlug } from "../index";
2
- export default function GetSizeBySizeSlug(size: ITDSizeSlug): "large" | "small" | "x-small" | "medium" | "default" | "x-large" | "df";
2
+ export default function GetSizeBySizeSlug(size: ITDSizeSlug): "small" | "medium" | "large" | "x-small" | "default" | "x-large" | "df";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.0.129",
3
+ "version": "2.0.131",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",