webcake-ui-kit 1.1.15 → 1.1.17

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": "webcake-ui-kit",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "UI Kit for Vue 2 && 3 - Pure Options API",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
@@ -56,6 +56,9 @@
56
56
  @click.stop="openIfClosed"
57
57
  @keydown.stop="onSearchKeydown"
58
58
  />
59
+ <span v-else-if="!selectedItems.length" class="ui-select__value ui-select__value--placeholder">{{
60
+ placeholder
61
+ }}</span>
59
62
  </span>
60
63
  <input
61
64
  v-else-if="isSearchable"
@@ -252,6 +255,7 @@ export default {
252
255
  var vals = Object.keys(this.slotOptionVisible)
253
256
  if (vals.length > 0 && vals.every(v => !this.slotOptionVisible[v])) return true
254
257
  }
258
+ if (this.normalizedOptions.length === 0 && Object.keys(this.slotOptionVisible).length === 0) return true
255
259
  return false
256
260
  },
257
261
  hasIconSlot() {
@@ -204,10 +204,12 @@
204
204
  margin: 0;
205
205
  min-width: 60px;
206
206
  flex: 1;
207
+ font-size: 12px;
207
208
  }
208
209
 
209
210
  .ui-select__search::placeholder {
210
211
  color: var(--muted-fg);
212
+ font-size: 14px;
211
213
  }
212
214
 
213
215
  .ui-select__search--single {