@eturnity/eturnity_reusable_components 1.1.54 → 1.1.57
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/README.md
CHANGED
package/package.json
CHANGED
|
@@ -41,9 +41,16 @@
|
|
|
41
41
|
</no-template>
|
|
42
42
|
<input-container
|
|
43
43
|
v-if="item.type === 'input'"
|
|
44
|
-
@click.stop="onInputClick()"
|
|
44
|
+
@click.native.stop="onInputClick()"
|
|
45
45
|
>
|
|
46
|
+
<text-container
|
|
47
|
+
v-if="customInputDisabled && item.value === '-'"
|
|
48
|
+
class="input-placeholder"
|
|
49
|
+
>
|
|
50
|
+
<span> {{ item.value }}</span>
|
|
51
|
+
</text-container>
|
|
46
52
|
<input-text
|
|
53
|
+
v-else
|
|
47
54
|
class="inputField"
|
|
48
55
|
:value="item.value"
|
|
49
56
|
:noBorder="true"
|
|
@@ -181,6 +188,11 @@ const DropdownRow = styled("div", rowAttrs)`
|
|
|
181
188
|
input {
|
|
182
189
|
cursor: ${(props) => (!props.isOpen ? "pointer !important" : "inherit")};
|
|
183
190
|
}
|
|
191
|
+
|
|
192
|
+
.input-placeholder {
|
|
193
|
+
height: 25px;
|
|
194
|
+
padding-left: 12px;
|
|
195
|
+
}
|
|
184
196
|
`
|
|
185
197
|
|
|
186
198
|
const ComponentItem = styled.td`
|
|
@@ -192,6 +204,13 @@ const ComponentItem = styled.td`
|
|
|
192
204
|
background-clip: content-box;
|
|
193
205
|
padding: 8px 0 7px 0 !important;
|
|
194
206
|
|
|
207
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
208
|
+
@supports (-webkit-appearance: none) {
|
|
209
|
+
/* Safari Only CSS here */
|
|
210
|
+
padding: 8px 0 10px 0 !important;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
195
214
|
span {
|
|
196
215
|
padding-left: 15px;
|
|
197
216
|
}
|
|
@@ -225,6 +244,13 @@ const ArrowContainer = styled.td`
|
|
|
225
244
|
padding: 8px 0 7px 0 !important;
|
|
226
245
|
border-radius: 0 4px 4px 0;
|
|
227
246
|
|
|
247
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
248
|
+
@supports (-webkit-appearance: none) {
|
|
249
|
+
/* Safari Only CSS here */
|
|
250
|
+
padding: 8px 0 10px 0 !important;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
228
254
|
.arrow-dropdown {
|
|
229
255
|
vertical-align: middle;
|
|
230
256
|
margin-left: 11px;
|