@eturnity/eturnity_reusable_components 1.2.83 → 1.2.85

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "1.2.83",
3
+ "version": "1.2.85",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -149,9 +149,9 @@ const InputContainer = styled('input', inputProps)`
149
149
  ? '1px solid ' + props.theme.colors[props.borderColor]
150
150
  : '1px solid ' + props.borderColor
151
151
  : '1px solid ' + props.theme.colors.grey4};
152
- padding-top: 11px;
153
- padding-bottom: 11px;
154
- padding-left: 10px;
152
+ height: ${(props) => props.inputHeight};
153
+ max-height: ${(props) => props.inputHeight};
154
+ padding: 0 10px;
155
155
  padding-right: ${({ slotSize, isError, showLinearUnitName }) =>
156
156
  slotSize
157
157
  ? isError && !showLinearUnitName
@@ -160,7 +160,10 @@ const InputContainer = styled('input', inputProps)`
160
160
  : isError && !showLinearUnitName
161
161
  ? '24px'
162
162
  : '5px'};
163
- border-radius: ${props=>props.isInteractive && props.alignItems!="vertical" ? "0 4px 4px 0" : "4px"};
163
+ border-radius: ${(props) =>
164
+ props.isInteractive && props.alignItems != 'vertical'
165
+ ? '0 4px 4px 0'
166
+ : '4px'};
164
167
  text-align: ${(props) => props.textAlign};
165
168
  cursor: ${(props) => (props.isDisabled ? 'not-allowed' : 'auto')};
166
169
  font-size: ${(props) => (props.fontSize ? props.fontSize : '13px')};
@@ -182,7 +185,7 @@ const InputContainer = styled('input', inputProps)`
182
185
  background-color: ${(props) =>
183
186
  props.isDisabled ? props.theme.colors.grey5 : '#fff'};
184
187
  box-sizing: border-box;
185
- max-height: ${(props) => props.inputHeight};
188
+
186
189
  &::placeholder {
187
190
  color: ${(props) => props.theme.colors.grey2};
188
191
  }
@@ -253,8 +256,8 @@ const LabelSlotWrapper = styled('div', inputProps)`
253
256
  align-items: center;
254
257
  cursor: ${(props) => (props.isInteractive ? 'ew-resize' : 'auto')};
255
258
  border: ${(props) =>
256
- props.alignItems=="vertical"
257
- ? "none"
259
+ props.alignItems == 'vertical'
260
+ ? 'none'
258
261
  : props.isError
259
262
  ? '1px solid ' + props.theme.colors.red
260
263
  : props.noBorder
@@ -265,7 +268,7 @@ const LabelSlotWrapper = styled('div', inputProps)`
265
268
  : '1px solid ' + props.borderColor
266
269
  : '1px solid ' + props.theme.colors.grey4};
267
270
  border-radius: 4px 0 0 4px;
268
- border-right:none;
271
+ border-right: none;
269
272
  `
270
273
 
271
274
  const LabelText = styled('div', inputProps)`
@@ -330,7 +333,7 @@ export default {
330
333
  },
331
334
  inputHeight: {
332
335
  required: false,
333
- default: null
336
+ default: '40px'
334
337
  },
335
338
  value: {
336
339
  required: true,
@@ -5,7 +5,7 @@
5
5
  v-if="label && labelAlign === 'left'"
6
6
  :hasInfoMessage="!!infoTextMessage"
7
7
  >
8
- <label-text :size="size">{{ label }}</label-text>
8
+ <label-text :size="size" :fontColor="fontColor">{{ label }}</label-text>
9
9
  <info-text
10
10
  v-if="infoTextMessage"
11
11
  :text="infoTextMessage"
@@ -332,6 +332,7 @@ const TableContainer = styled('table', containerAttrs)`
332
332
  font-size: 13px;
333
333
  padding: 5px 10px;
334
334
  background: #fff;
335
+ height: unset;
335
336
 
336
337
  &:focus {
337
338
  background: ${(props) => props.theme.colors.grey5};