@eturnity/eturnity_reusable_components 1.1.54 → 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.54",
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`
@@ -192,6 +204,13 @@ const ComponentItem = styled.td`
192
204
  background-clip: content-box;
193
205
  padding: 8px 0 7px 0 !important;
194
206
 
207
+ @media not all and (min-resolution: 0.001dpcm) {
208
+ @supports (-webkit-appearance: none) {
209
+ /* Safari Only CSS here */
210
+ padding: 8px 0 10px 0 !important;
211
+ }
212
+ }
213
+
195
214
  span {
196
215
  padding-left: 15px;
197
216
  }
@@ -225,6 +244,13 @@ const ArrowContainer = styled.td`
225
244
  padding: 8px 0 7px 0 !important;
226
245
  border-radius: 0 4px 4px 0;
227
246
 
247
+ @media not all and (min-resolution: 0.001dpcm) {
248
+ @supports (-webkit-appearance: none) {
249
+ /* Safari Only CSS here */
250
+ padding: 8px 0 10px 0 !important;
251
+ }
252
+ }
253
+
228
254
  .arrow-dropdown {
229
255
  vertical-align: middle;
230
256
  margin-left: 11px;
@@ -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
  }