@eturnity/eturnity_reusable_components 7.48.1-EPDM-12680.21 → 7.48.1-EPDM-12680.23
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,9 +1,9 @@
|
|
1
|
-
<svg width="
|
2
|
-
<g clip-path="url(#
|
3
|
-
<path d="
|
1
|
+
<svg width="30" height="30" viewBox="8 8 14 14" fill="#263238" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<g clip-path="url(#clip0_908_47480)" fill="#263238">
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 19.75V8.5H9.5V19.75C9.5 20.1642 9.83579 20.5 10.25 20.5C10.6642 20.5 11 20.1642 11 19.75V10.25C11 9.2835 11.7835 8.5 12.75 8.5C13.7165 8.5 14.5 9.2835 14.5 10.25V21.5H13.5V10.25C13.5 9.83579 13.1642 9.5 12.75 9.5C12.3358 9.5 12 9.83579 12 10.25V19.75C12 20.7165 11.2165 21.5 10.25 21.5C9.2835 21.5 8.5 20.7165 8.5 19.75ZM20 9.5H15.5V8.5H20C20.8284 8.5 21.5 9.17157 21.5 10C21.5 10.8284 20.8284 11.5 20 11.5H17C16.7239 11.5 16.5 11.7239 16.5 12C16.5 12.2761 16.7239 12.5 17 12.5H20C20.8284 12.5 21.5 13.1716 21.5 14C21.5 14.8284 20.8284 15.5 20 15.5H17C16.7239 15.5 16.5 15.7239 16.5 16C16.5 16.2761 16.7239 16.5 17 16.5H20C20.8284 16.5 21.5 17.1716 21.5 18C21.5 18.8284 20.8284 19.5 20 19.5H17C16.7239 19.5 16.5 19.7239 16.5 20C16.5 20.2761 16.7239 20.5 17 20.5H21.5V21.5H17C16.1716 21.5 15.5 20.8284 15.5 20C15.5 19.1716 16.1716 18.5 17 18.5H20C20.2761 18.5 20.5 18.2761 20.5 18C20.5 17.7239 20.2761 17.5 20 17.5H17C16.1716 17.5 15.5 16.8284 15.5 16C15.5 15.1716 16.1716 14.5 17 14.5H20C20.2761 14.5 20.5 14.2761 20.5 14C20.5 13.7239 20.2761 13.5 20 13.5H17C16.1716 13.5 15.5 12.8284 15.5 12C15.5 11.1716 16.1716 10.5 17 10.5H20C20.2761 10.5 20.5 10.2761 20.5 10C20.5 9.72386 20.2761 9.5 20 9.5Z" fill="white"/>
|
4
4
|
</g>
|
5
5
|
<defs>
|
6
|
-
<clipPath id="
|
6
|
+
<clipPath id="clip0_908_47480">
|
7
7
|
<rect width="14" height="14" fill="white" transform="translate(8 8)"/>
|
8
8
|
</clipPath>
|
9
9
|
</defs>
|
@@ -51,6 +51,7 @@
|
|
51
51
|
:min-width="minWidth"
|
52
52
|
:no-border="noBorder"
|
53
53
|
:placeholder="displayedPlaceholder"
|
54
|
+
:show-arrow-controls="showArrowControls"
|
54
55
|
:show-linear-unit-name="showLinearUnitName"
|
55
56
|
:slot-size="slotSize"
|
56
57
|
:text-align="textAlign"
|
@@ -195,6 +196,7 @@
|
|
195
196
|
borderColor: String,
|
196
197
|
showLinearUnitName: Boolean,
|
197
198
|
colorMode: String,
|
199
|
+
showArrowControls: Boolean,
|
198
200
|
}
|
199
201
|
|
200
202
|
const Container = styled('div', inputProps)`
|
@@ -220,8 +222,16 @@
|
|
220
222
|
max-height: ${(props) => props.inputHeight};
|
221
223
|
padding: ${({ colorMode }) =>
|
222
224
|
colorMode === 'transparent' ? '10px 15px' : '0 10px'};
|
223
|
-
padding-right: ${({
|
224
|
-
|
225
|
+
padding-right: ${({
|
226
|
+
slotSize,
|
227
|
+
isError,
|
228
|
+
showLinearUnitName,
|
229
|
+
colorMode,
|
230
|
+
showArrowControls,
|
231
|
+
}) =>
|
232
|
+
showArrowControls
|
233
|
+
? '40px'
|
234
|
+
: colorMode === 'transparent'
|
225
235
|
? '0'
|
226
236
|
: slotSize
|
227
237
|
? isError && !showLinearUnitName
|
@@ -229,7 +239,7 @@
|
|
229
239
|
: 'calc(' + slotSize + ' + 10px)'
|
230
240
|
: isError && !showLinearUnitName
|
231
241
|
? '24px'
|
232
|
-
: '
|
242
|
+
: '5px'};
|
233
243
|
border-radius: ${(props) =>
|
234
244
|
props.isInteractive && props.alignItems != 'vertical'
|
235
245
|
? '0 4px 4px 0'
|