@eturnity/eturnity_reusable_components 1.1.56 → 1.1.57

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/README.md CHANGED
@@ -15,7 +15,7 @@ npm run dev
15
15
  ### To use storybook
16
16
 
17
17
  ```
18
- ToDo
18
+ npm run storybook
19
19
  ```
20
20
 
21
21
  ### To publish a new version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "1.1.56",
3
+ "version": "1.1.57",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -41,9 +41,16 @@
41
41
  </no-template>
42
42
  <input-container
43
43
  v-if="item.type === 'input'"
44
- @click.stop="onInputClick()"
44
+ @click.native.stop="onInputClick()"
45
45
  >
46
+ <text-container
47
+ v-if="customInputDisabled && item.value === '-'"
48
+ class="input-placeholder"
49
+ >
50
+ <span> {{ item.value }}</span>
51
+ </text-container>
46
52
  <input-text
53
+ v-else
47
54
  class="inputField"
48
55
  :value="item.value"
49
56
  :noBorder="true"
@@ -181,6 +188,11 @@ const DropdownRow = styled("div", rowAttrs)`
181
188
  input {
182
189
  cursor: ${(props) => (!props.isOpen ? "pointer !important" : "inherit")};
183
190
  }
191
+
192
+ .input-placeholder {
193
+ height: 25px;
194
+ padding-left: 12px;
195
+ }
184
196
  `
185
197
 
186
198
  const ComponentItem = styled.td`
@@ -84,6 +84,7 @@ const TableContainer = styled.table`
84
84
  cursor: pointer;
85
85
 
86
86
  .arrow-container,
87
+ .input-placeholder,
87
88
  .table-dropdown-item {
88
89
  background-color: ${(props) => props.theme.colors.grey5};
89
90
  }