@westartcom/bread-quasar-fields 0.1.2 → 0.1.3

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.
@@ -19,16 +19,13 @@
19
19
  </template>
20
20
  </div>
21
21
 
22
- <div class="label placeholder q-mb-sm" v-else-if="!selectedOptions.length || field.extra_data.multiple" @click="toggleOptions">
23
- <template v-if="field.placeholder">
24
- <q-btn icon="fa-solid fa-add" push :label="field.placeholder" />
25
- </template>
26
- <template v-else-if="field.extra_data.multiple">
22
+ <div class="label placeholder" v-else-if="!selectedOptions.length || field.extra_data.multiple" @click="toggleOptions">
23
+ <div class="q-mb-sm" v-if="field.extra_data.multiple">
27
24
  {{ $i18n.get('actions.add') }}
28
- </template>
29
- <template v-else>
25
+ </div>
26
+ <div v-else>
30
27
  {{ $i18n.get('actions.select') }}
31
- </template>
28
+ </div>
32
29
  </div>
33
30
  </template>
34
31
 
@@ -802,13 +799,12 @@ export default defineComponent({
802
799
  &.selected-option {
803
800
  font-weight: bold;
804
801
  cursor: default;
805
- background-color: $accent;
802
+ background-color: $grey-4;
806
803
  text-decoration-color: var(--color-primary);
807
804
  }
808
805
 
809
806
  &:hover:not(.selected-option) {
810
807
  background-color: $grey-2;
811
- color: var(--color-light-txt);
812
808
  }
813
809
  }
814
810
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@westartcom/bread-quasar-fields",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Quasar compatible fields for bread package",
5
5
  "main": "index.js",
6
6
  "scripts": {