@eturnity/eturnity_reusable_components 1.1.5 → 1.1.6

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.1.5",
3
+ "version": "1.1.6",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -17,6 +17,7 @@
17
17
  :rows="rowHeight"
18
18
  :value="value"
19
19
  :disabled="isDisabled"
20
+ :fontSize="fontSize"
20
21
  @input="onChangeHandler"
21
22
  />
22
23
  </input-wrapper>
@@ -56,7 +57,7 @@ const LabelWrapper = styled.div`
56
57
  margin-bottom: 12px;
57
58
  `
58
59
 
59
- const inputProps = { isError: Boolean, disabled: Boolean }
60
+ const inputProps = { isError: Boolean, disabled: Boolean, fontSize: String }
60
61
  const InputContainer = styled("textarea", inputProps)`
61
62
  border: ${(props) =>
62
63
  props.isError
@@ -65,7 +66,7 @@ const InputContainer = styled("textarea", inputProps)`
65
66
  padding: ${(props) =>
66
67
  props.hasUnit ? "11px 40px 11px 10px" : "11px 5px 11px 10px"};
67
68
  border-radius: 4px;
68
- font-size: 16px;
69
+ font-size: ${(props) => (props.fontSize ? props.fontSize : "16px")};
69
70
  color: ${(props) => props.theme.colors.black};
70
71
  width: 100%;
71
72
  max-width: 100%;
@@ -146,6 +147,10 @@ export default {
146
147
  label: {
147
148
  required: false,
148
149
  },
150
+ fontSize: {
151
+ required: false,
152
+ default: "16px",
153
+ },
149
154
  },
150
155
  methods: {
151
156
  onChangeHandler($event) {