@avakhula/ui 0.0.209 → 0.0.211

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.209",
3
+ "version": "0.0.211",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.umd.cjs",
6
6
  "source": "src/index.js",
@@ -3,9 +3,7 @@
3
3
  <span
4
4
  class="dropdown-trigger"
5
5
  ref="dropdown"
6
- aria-haspopup="true"
7
6
  :class="triggerClasses"
8
- :aria-expanded="isOpenedState ? true : false"
9
7
  @keydown="onKeydown"
10
8
  @click.prevent.stop="toggle"
11
9
  v-if="hasTrigger && triggerType === 'click'"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div role="checkbox" :aria-checked="checked ? true : false">
2
+ <div role="checkbox" :class="this.$attrs.class" :aria-checked="checked ? true : false">
3
3
  <label
4
4
  v-bind="attrs"
5
5
  :for="id"
@@ -132,8 +132,8 @@ export default {
132
132
  },
133
133
  attrs() {
134
134
  const attrsList = { ...removeEvents({ ...this.$attrs }) };
135
-
136
- attrsList.class = [this.classes, attrsList.class];
135
+ delete attrsList.class;
136
+ attrsList.class = this.classes;
137
137
 
138
138
  return attrsList;
139
139
  },
@@ -26,6 +26,7 @@
26
26
  @blur="onBlur"
27
27
  @keyup.down="comboboxKeyupDown"
28
28
  @keyup.up="comboboxKeyupDown"
29
+ :aria-labelledby="id"
29
30
  :aria-label="ariaLabel"
30
31
  :aria-activedescendant="focusedOptionId"
31
32
  :class="{