@eturnity/eturnity_reusable_components 1.2.58 → 1.2.60

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.58",
3
+ "version": "1.2.60",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -80,20 +80,20 @@ const InputContainer = styled('div', inputProps)`
80
80
  textarea {
81
81
  border: ${(props) =>
82
82
  props.isError
83
- ? '1px solid ' + props.theme.colors.red
84
- : '1px solid ' + props.theme.colors.grey4};
83
+ ? `1px solid ${props.theme.colors.red} !important`
84
+ : `1px solid ${props.theme.colors.grey3} !important`};
85
85
  padding: ${(props) =>
86
- props.hasUnit ? '11px 40px 11px 10px' : '11px 5px 11px 10px'};
87
- border-radius: 4px;
88
- font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
89
- color: ${(props) => props.theme.colors.black};
86
+ props.hasUnit ? '11px 40px 11px 10px !important' : '15px !important'};
87
+ border-radius: 4px !important;
88
+ font-size: ${(props) => `${props.fontSize} !important`};
89
+ color: ${(props) => `${props.theme.colors.grey1} !important`};
90
90
  width: ${(props) => (props.inputWidth ? props.inputWidth : '100%')};
91
91
  max-width: 100%;
92
92
  box-sizing: border-box; // to allow width of 100% with padding
93
93
  cursor: ${(props) => (props.disabled ? 'not-allowed' : 'inherit')};
94
94
 
95
95
  &::placeholder {
96
- color: ${(props) => props.theme.colors.grey2};
96
+ color: ${(props) => `${props.theme.colors.grey2} !important`};
97
97
  }
98
98
 
99
99
  &:focus {
@@ -172,7 +172,7 @@ export default {
172
172
  },
173
173
  fontSize: {
174
174
  required: false,
175
- default: '16px'
175
+ default: '13px'
176
176
  },
177
177
  inputWidth: {
178
178
  required: false,
@@ -31,7 +31,7 @@
31
31
  item.type === 'template' &&
32
32
  (item.value === '' || item.value === '-')
33
33
  "
34
- :key="idx"
34
+ :key="index + '_button'"
35
35
  >{{ $gettext('Use template...') }}</template-button
36
36
  >
37
37
  <template-link