@inntechcorp/it-design 2.0.211 → 2.0.213
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/dist/index.cjs.js +29 -29
- package/dist/index.d.ts +8 -2
- package/dist/index.esm.js +29 -29
- package/dist/{output-BwpNST6S.css → output-DfOH-aLb.css} +29 -29
- package/dist/types/InputProps.d.ts +8 -2
- package/package.json +1 -1
|
@@ -87,6 +87,35 @@
|
|
|
87
87
|
white-space: nowrap;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
.arrow {
|
|
91
|
+
transition: all 0.25s ease-out;
|
|
92
|
+
margin-left: auto;
|
|
93
|
+
transform: rotate(0deg);
|
|
94
|
+
width: 20px;
|
|
95
|
+
height: 20px;
|
|
96
|
+
fill: rgba(255, 255, 255, 0.6);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.arrowNormal {
|
|
100
|
+
margin-left: auto;
|
|
101
|
+
transform: rotate(-90deg);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.arrowOpen {
|
|
105
|
+
transform: rotate(-180deg);
|
|
106
|
+
fill: #ffffff;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.icon {
|
|
110
|
+
margin-right: 8px;
|
|
111
|
+
height: 22px;
|
|
112
|
+
width: 22px;
|
|
113
|
+
color: rgba(255, 255, 255, 0.6);
|
|
114
|
+
font-size: 22px;
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
}
|
|
118
|
+
|
|
90
119
|
.menu {
|
|
91
120
|
background-color: #050A20;
|
|
92
121
|
border-radius: 0 5px 5px 5px;
|
|
@@ -153,35 +182,6 @@
|
|
|
153
182
|
transition: height 150ms ease-out;
|
|
154
183
|
}
|
|
155
184
|
|
|
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;
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { FocusEventHandler, KeyboardEvent, MutableRefObject } from "react";
|
|
2
2
|
import { ChildrenProps } from "./ChildrenProps";
|
|
3
3
|
import { ITDSize } from "../index";
|
|
4
|
+
export type InputVariant = "default" | "filled" | "dashed";
|
|
5
|
+
export declare enum InputTypes {
|
|
6
|
+
TEXT = "text",
|
|
7
|
+
NUMBER = "number",
|
|
8
|
+
CURRENCY = "currency",
|
|
9
|
+
PASSWORD = "password"
|
|
10
|
+
}
|
|
4
11
|
export type InputProps = {
|
|
5
12
|
id?: string;
|
|
6
13
|
placeholder?: string;
|
|
7
14
|
value?: string;
|
|
8
15
|
defaultValue?: string;
|
|
9
|
-
type?:
|
|
16
|
+
type?: InputTypes;
|
|
10
17
|
className?: string;
|
|
11
18
|
size?: ITDSize;
|
|
12
19
|
variant?: InputVariant;
|
|
@@ -32,4 +39,3 @@ export type InputProps = {
|
|
|
32
39
|
onKeyDown?: ((event: KeyboardEvent) => void) | null;
|
|
33
40
|
children?: ChildrenProps;
|
|
34
41
|
};
|
|
35
|
-
export type InputVariant = "default" | "filled" | "dashed";
|