@avakhula/ui 0.1.7 → 0.1.8

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.1.7",
3
+ "version": "0.1.8",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
package/src/App.vue CHANGED
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <ib-select :options="opt">
3
3
  <template v-slot:triggerContent="{ selectedCount }">
4
- {{ selectedCount }} test hello
4
+ {{ selectedCount }}
5
5
  </template>
6
6
  </ib-select>
7
7
 
@@ -184,6 +184,7 @@ export default {
184
184
  this.actualValue = "";
185
185
  this.$emit("update:modelValue", this.actualValue);
186
186
  this.$emit("input", this.actualValue);
187
+ this.$emit("clear");
187
188
  },
188
189
  onBlur() {
189
190
  this.$emit("blur", this.actualValue);
@@ -261,6 +262,7 @@ export default {
261
262
  "input",
262
263
  "blur",
263
264
  "focus",
265
+ "clear",
264
266
  "update:modelValue",
265
267
  `label:disabled:${this?.id}`,
266
268
  ],