@eturnity/eturnity_reusable_components 1.2.19-EPDM-3412.7 → 1.2.19-EPDM-3412.8
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
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
:placeholder="displayedPlaceholder"
|
|
21
21
|
:isError="isError"
|
|
22
22
|
:inputWidth="inputWidth"
|
|
23
|
+
:inputHeight="inputHeight"
|
|
23
24
|
:minWidth="minWidth"
|
|
24
25
|
:value="formatWithCurrency(value)"
|
|
25
26
|
@input.native="onChangeHandler($event.target.value)"
|
|
@@ -102,7 +103,8 @@ const inputProps = {
|
|
|
102
103
|
fontSize: String,
|
|
103
104
|
fontColor: String,
|
|
104
105
|
hasSlot: Boolean,
|
|
105
|
-
slotSize: String
|
|
106
|
+
slotSize: String,
|
|
107
|
+
inputHeight:String
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
const Container = styled('div', inputProps)`
|
|
@@ -141,7 +143,7 @@ const InputContainer = styled('input', inputProps)`
|
|
|
141
143
|
background-color: ${(props) =>
|
|
142
144
|
props.isDisabled ? props.theme.colors.grey5 : '#fff'};
|
|
143
145
|
box-sizing: border-box;
|
|
144
|
-
|
|
146
|
+
max-height: ${(props) => (props.inputHeight)};
|
|
145
147
|
&::placeholder {
|
|
146
148
|
color: ${(props) =>
|
|
147
149
|
props.isError ? props.theme.colors.red : props.theme.colors.darkGray};
|
|
@@ -259,6 +261,10 @@ export default {
|
|
|
259
261
|
required: false,
|
|
260
262
|
default: null
|
|
261
263
|
},
|
|
264
|
+
inputHeight:{
|
|
265
|
+
required:false,
|
|
266
|
+
default:null
|
|
267
|
+
},
|
|
262
268
|
value: {
|
|
263
269
|
required: true,
|
|
264
270
|
default: null
|