@eturnity/eturnity_reusable_components 1.2.31-3d-master.12 → 1.2.31-3d-master.14

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.31-3d-master.12",
3
+ "version": "1.2.31-3d-master.14",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -33,6 +33,7 @@
33
33
  :disabled="disabled"
34
34
  :isDisabled="disabled"
35
35
  :noBorder="noBorder"
36
+ :borderColor="borderColor"
36
37
  :textAlign="textAlign"
37
38
  :fontSize="fontSize"
38
39
  :fontColor="fontColor"
@@ -114,7 +115,8 @@ const inputProps = {
114
115
  inputHeight:String,
115
116
  isInteractive:Boolean,
116
117
  alignItems:String,
117
- labelFontColor:String
118
+ labelFontColor:String,
119
+ borderColor:String
118
120
  }
119
121
 
120
122
  const Container = styled('div', inputProps)`
@@ -131,6 +133,10 @@ const InputContainer = styled('input', inputProps)`
131
133
  ? '1px solid ' + props.theme.colors.red
132
134
  : props.noBorder
133
135
  ? 'none'
136
+ : props.borderColor ?
137
+ props.theme.colors[props.borderColor]
138
+ ? '1px solid ' + props.theme.colors[props.borderColor]
139
+ : '1px solid ' + props.borderColor
134
140
  : '1px solid ' + props.theme.colors.grey4};
135
141
  padding-top: 11px;
136
142
  padding-bottom: 11px;
@@ -325,6 +331,9 @@ export default {
325
331
  required: false,
326
332
  default: false
327
333
  },
334
+ borderColor:{
335
+ required:false,
336
+ },
328
337
  textAlign: {
329
338
  required: false,
330
339
  default: 'left'