@eturnity/eturnity_reusable_components 1.0.86 → 1.0.87

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.0.86",
3
+ "version": "1.0.87",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -1,24 +1,24 @@
1
1
  <template>
2
- <container>
3
- <input-wrapper>
4
- <input-container
5
- :placeholder="placeholder"
6
- :value="value"
7
- @input="onChangeHandler($event)"
8
- :disabled="disabled"
9
- :isDisabled="disabled"
10
- />
11
- <img
12
- class="search-icn"
13
- :src="require('../../../assets/icons/search_icon_black.svg')"
14
- />
15
- </input-wrapper>
16
- </container>
2
+ <container>
3
+ <input-wrapper>
4
+ <input-container
5
+ :placeholder="placeholder"
6
+ :value="value"
7
+ @input="onChangeHandler($event)"
8
+ :disabled="disabled"
9
+ :isDisabled="disabled"
10
+ />
11
+ <img
12
+ class="search-icn"
13
+ :src="require('../../../assets/icons/search_icon_black.svg')"
14
+ />
15
+ </input-wrapper>
16
+ </container>
17
17
  </template>
18
18
 
19
19
  <script>
20
20
  // import SearchInput from "@eturnity/eturnity_reusable_components/src/components/inputs/searchInput"
21
- import styled from 'vue-styled-components'
21
+ import styled from "vue-styled-components"
22
22
 
23
23
  const Container = styled.div`
24
24
  width: 100%;
@@ -26,7 +26,7 @@ const Container = styled.div`
26
26
  `
27
27
 
28
28
  const inputAttrs = { isDisabled: Boolean }
29
- const InputContainer = styled('input', inputAttrs)`
29
+ const InputContainer = styled("input", inputAttrs)`
30
30
  border: 1px solid ${(props) => props.theme.colors.mediumGray};
31
31
  padding: 11px 30px 11px 10px;
32
32
  border-radius: 4px;
@@ -34,8 +34,8 @@ const InputContainer = styled('input', inputAttrs)`
34
34
  color: ${(props) => props.theme.colors.black};
35
35
  width: 100%;
36
36
  box-sizing: border-box;
37
- cursor: ${props => props.isDisabled ? 'not-allowed' : 'auto'};
38
-
37
+ cursor: ${(props) => (props.isDisabled ? "not-allowed" : "auto")};
38
+ background: ${(props) => props.theme.colors.white} + " !important";
39
39
  &::placeholder {
40
40
  color: ${(props) => props.theme.colors.darkGray};
41
41
  }
@@ -60,25 +60,25 @@ export default {
60
60
  components: {
61
61
  InputContainer,
62
62
  InputWrapper,
63
- Container
63
+ Container,
64
64
  },
65
65
  props: {
66
66
  value: {
67
- required: true
67
+ required: true,
68
68
  },
69
69
  disabled: {
70
70
  required: false,
71
- default: false
71
+ default: false,
72
72
  },
73
73
  placeholder: {
74
74
  required: false,
75
- default: ''
76
- }
75
+ default: "",
76
+ },
77
77
  },
78
78
  methods: {
79
79
  onChangeHandler(event) {
80
- this.$emit('on-change', event)
81
- }
82
- }
80
+ this.$emit("on-change", event)
81
+ },
82
+ },
83
83
  }
84
84
  </script>