@avakhula/ui 0.0.187 → 0.0.188

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": "@avakhula/ui",
3
- "version": "0.0.187",
3
+ "version": "0.0.188",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -210,6 +210,9 @@ export default {
210
210
  this.$emit("input", value);
211
211
  }, this.debounce);
212
212
  },
213
+ focus() {
214
+ this.$refs.field.focus();
215
+ },
213
216
  },
214
217
  computed: {
215
218
  hasSettings() {
@@ -37,14 +37,12 @@
37
37
  ref="component"
38
38
  tabindex="-1"
39
39
  v-show="showInput"
40
-
41
40
  :is="component"
42
41
  :name="actualName"
43
42
  :value="option.id"
44
43
  :id="'input' + id"
45
44
  :is-checked="isChecked"
46
45
  :disabled="option.isDisabled"
47
- @focus="() => console.log('focus on options')"
48
46
  autocomplete="off"
49
47
  autocorrect="off"
50
48
  autocapitalize="off"
@@ -549,7 +549,10 @@ export default {
549
549
  if (!this.isOpened) {
550
550
  this.$emit("blur");
551
551
  }
552
- }, 0);
552
+ }, 100);
553
+ },
554
+ focus() {
555
+ this.$refs.combobox.focus();
553
556
  },
554
557
  startResizing(prop) {
555
558
  this.resizingProp = prop;