@eturnity/eturnity_reusable_components 8.31.0-EPDM-15609.0 → 8.31.0-dev-03-8.31.1

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.
@@ -3,6 +3,7 @@
3
3
  <InputWrapper
4
4
  :icon-color="iconColor"
5
5
  :icon-position="iconPosition"
6
+ :input-height="inputHeight"
6
7
  :is-full-height="isFullHeight"
7
8
  >
8
9
  <SearchIconSvg class="search-icn" />
@@ -12,6 +13,7 @@
12
13
  :data-qa-id="dataQaId"
13
14
  :disabled="disabled"
14
15
  :has-focus="hasFocus"
16
+ :input-height="inputHeight"
15
17
  :input-width="inputWidth"
16
18
  :is-disabled="disabled"
17
19
  :is-filter="isFilter"
@@ -47,6 +49,7 @@
47
49
  inputWidth: String,
48
50
  isFilter: Boolean,
49
51
  isFullHeight: Boolean,
52
+ inputHeight: String,
50
53
  }
51
54
  const Container = styled('div', inputAttrs)`
52
55
  width: ${(props) => (props.inputWidth ? props.inputWidth : '100%')};
@@ -61,7 +64,7 @@
61
64
  font-size: 13px;
62
65
  color: ${(props) => props.theme.colors.black};
63
66
  width: ${(props) => (props.inputWidth ? props.inputWidth : '100%')};
64
- height: ${(props) => (props.isFullHeight ? '100%' : 'auto')};
67
+ height: ${(props) => (props.isFullHeight ? '100%' : props.inputHeight)};
65
68
  box-sizing: border-box;
66
69
  cursor: ${(props) => (props.isDisabled ? 'not-allowed' : 'auto')};
67
70
  background: ${(props) => props.theme.colors.white} !important;
@@ -78,10 +81,12 @@
78
81
  iconColor: String,
79
82
  iconPosition: String,
80
83
  isFullHeight: Boolean,
84
+ inputHeight: String,
81
85
  }
82
86
  const InputWrapper = styled('div', wrapperAttrs)`
83
87
  position: relative;
84
- height: ${(props) => (props.isFullHeight ? '100%' : 'auto')};
88
+ height: ${({ isFullHeight, inputHeight }) =>
89
+ isFullHeight ? '100%' : inputHeight};
85
90
 
86
91
  svg {
87
92
  position: absolute;
@@ -158,6 +163,10 @@
158
163
  type: Boolean,
159
164
  default: false,
160
165
  },
166
+ inputHeight: {
167
+ type: String,
168
+ default: 'auto',
169
+ },
161
170
  },
162
171
  emits: ['on-change'],
163
172
  watch: {