@enso-ui/select 3.0.13 → 3.0.14

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": "@enso-ui/select",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "description": "Select",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <vue-select v-bind="$attrs"
2
+ <vue-select
3
3
  :http="http"
4
4
  :i18n="i18n"
5
5
  :error-handler="errorHandler"
@@ -1,6 +1,7 @@
1
1
  <template>
2
- <div class="vue-select">
3
- <core-select v-bind="{...$attrs, class: undefined}"
2
+ <div class="vue-select"
3
+ :class="$attrs.class">
4
+ <core-select v-bind="$attrs"
4
5
  ref="select">
5
6
  <template #default="{
6
7
  allowsSelection, canAddTag, clearControl, clearEvents, dropdownDisabled, disableClear,
@@ -142,6 +143,8 @@ export default {
142
143
 
143
144
  directives: { focus, clickOutside },
144
145
 
146
+ inheritAttrs: false,
147
+
145
148
  components: {
146
149
  CoreSelect,
147
150
  Dropdown,
@@ -3,9 +3,15 @@ import { debounce } from 'lodash';
3
3
  import Modes from '@enso-ui/search-mode/src/modes';
4
4
 
5
5
  export default {
6
-
7
6
  name: 'CoreSelect',
8
7
 
8
+ emits: [
9
+ 'add-tag', 'clear', 'deselect', 'fetch', 'input', 'select',
10
+ 'selection', 'update', 'update:modelValue',
11
+ ],
12
+
13
+ inheritAttrs: false,
14
+
9
15
  props: {
10
16
  customParams: {
11
17
  type: Object,
@@ -105,13 +111,6 @@ export default {
105
111
  },
106
112
  },
107
113
 
108
- emits: [
109
- 'add-tag', 'clear', 'deselect', 'fetch', 'input', 'select',
110
- 'selection', 'update', 'update:modelValue',
111
- ],
112
-
113
- inheritAttrs: false,
114
-
115
114
  data: v => ({
116
115
  allowsSelection: true,
117
116
  internalValue: null,