@eturnity/eturnity_reusable_components 1.1.55 → 1.1.58

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.55",
3
+ "version": "1.1.58",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -41,9 +41,13 @@
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 v-if="customInputDisabled" class="input-placeholder">
47
+ <span> {{ item.value }}</span>
48
+ </text-container>
46
49
  <input-text
50
+ v-else
47
51
  class="inputField"
48
52
  :value="item.value"
49
53
  :noBorder="true"
@@ -181,6 +185,11 @@ const DropdownRow = styled("div", rowAttrs)`
181
185
  input {
182
186
  cursor: ${(props) => (!props.isOpen ? "pointer !important" : "inherit")};
183
187
  }
188
+
189
+ .input-placeholder {
190
+ height: 25px;
191
+ padding-left: 12px;
192
+ }
184
193
  `
185
194
 
186
195
  const ComponentItem = styled.td`
@@ -192,9 +201,11 @@ const ComponentItem = styled.td`
192
201
  background-clip: content-box;
193
202
  padding: 8px 0 7px 0 !important;
194
203
 
195
- @supports (-webkit-appearance: none) {
196
- /* Safari Only CSS here */
197
- padding: 8px 0 10px 0 !important;
204
+ @media not all and (min-resolution: 0.001dpcm) {
205
+ @supports (-webkit-appearance: none) {
206
+ /* Safari Only CSS here */
207
+ padding: 8px 0 10px 0 !important;
208
+ }
198
209
  }
199
210
 
200
211
  span {
@@ -230,9 +241,11 @@ const ArrowContainer = styled.td`
230
241
  padding: 8px 0 7px 0 !important;
231
242
  border-radius: 0 4px 4px 0;
232
243
 
233
- @supports (-webkit-appearance: none) {
234
- /* Safari Only CSS here */
235
- padding: 8px 0 10px 0 !important;
244
+ @media not all and (min-resolution: 0.001dpcm) {
245
+ @supports (-webkit-appearance: none) {
246
+ /* Safari Only CSS here */
247
+ padding: 8px 0 10px 0 !important;
248
+ }
236
249
  }
237
250
 
238
251
  .arrow-dropdown {
@@ -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
  }