@inntechcorp/it-design 2.0.170 → 2.0.172
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 +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +2 -2
- package/dist/{output-DCvuWNga.css → output-DOIezTPH.css} +29 -29
- package/dist/{output-DjWTgiS1.css → output-DfOH-aLb.css} +26 -26
- package/dist/types/UploadProps.d.ts +3 -0
- package/dist/upload/styled.d.ts +2 -0
- package/dist/utils/GetSizeBySizeSlug.d.ts +1 -1
- package/package.json +1 -1
|
@@ -61,35 +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
64
|
.menu {
|
|
94
65
|
background-color: #050A20;
|
|
95
66
|
border-radius: 0 5px 5px 5px;
|
|
@@ -182,6 +153,35 @@
|
|
|
182
153
|
white-space: nowrap;
|
|
183
154
|
}
|
|
184
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;
|
|
@@ -61,6 +61,32 @@
|
|
|
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
|
+
|
|
64
90
|
.arrow {
|
|
65
91
|
transition: all 0.25s ease-out;
|
|
66
92
|
margin-left: auto;
|
|
@@ -90,32 +116,6 @@
|
|
|
90
116
|
align-items: center;
|
|
91
117
|
}
|
|
92
118
|
|
|
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
119
|
.menu {
|
|
120
120
|
background-color: #050A20;
|
|
121
121
|
border-radius: 0 5px 5px 5px;
|
|
@@ -10,8 +10,11 @@ export type UploadProps = {
|
|
|
10
10
|
resultFileName?: string | null;
|
|
11
11
|
showDeleteIcon?: boolean;
|
|
12
12
|
showPreviewIcon?: boolean;
|
|
13
|
+
containerWidth?: number | string;
|
|
14
|
+
containerHeight?: number | string;
|
|
13
15
|
maxImageWidth?: number | string;
|
|
14
16
|
maxImageHeight?: number | string;
|
|
17
|
+
fileWidth?: number | string;
|
|
15
18
|
fileHeight?: number | string;
|
|
16
19
|
padding?: number;
|
|
17
20
|
previewFileWidth?: number | string;
|
package/dist/upload/styled.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ declare const FileContent: import("styled-components/dist/types").IStyledCompone
|
|
|
7
7
|
$padding: number;
|
|
8
8
|
$maxImageWidth?: string | number | undefined;
|
|
9
9
|
$maxImageHeight?: string | number | undefined;
|
|
10
|
+
$containerWidth?: string | number | undefined;
|
|
11
|
+
$containerHeight?: string | number | undefined;
|
|
10
12
|
}>> & string;
|
|
11
13
|
declare const Label: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
|
|
12
14
|
$showFocus: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ITDSizeSlug } from "../index";
|
|
2
|
-
export default function GetSizeBySizeSlug(size: ITDSizeSlug): "
|
|
2
|
+
export default function GetSizeBySizeSlug(size: ITDSizeSlug): "default" | "x-small" | "small" | "medium" | "large" | "x-large" | "df";
|