@asd20/ui 3.2.506 → 3.2.508

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.506",
8
+ "version": "3.2.508",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -31,13 +31,13 @@
31
31
  class="multiselect__tag"
32
32
  >
33
33
  <span v-text="option[itemLabel]" />
34
- <!-- <i
34
+ <i
35
35
  aria-hidden="true"
36
36
  tabindex="1"
37
37
  class="multiselect__tag-icon"
38
38
  @keypress.enter.prevent="remove(option)"
39
39
  @mousedown.prevent="remove(option)"
40
- /> -->
40
+ />
41
41
  <i
42
42
  tabindex="1"
43
43
  class="multiselect__tag-icon"
@@ -54,6 +54,23 @@
54
54
  </template>
55
55
  </Multiselect>
56
56
 
57
+ <!-- <div style="outline-style: solid" id="demo">
58
+ <select
59
+ v-bind:class="{ 'fix-height': multiple === 'true' }"
60
+ v-model="selected"
61
+ multiple="true"
62
+ >
63
+ <option disabled value="">Please Select</option>
64
+ <option
65
+ v-for="item in computedItems"
66
+ :key="items"
67
+ :value="item"
68
+ :id="computedId"
69
+ >{{ item }}</option
70
+ >
71
+ </select>
72
+ </div> -->
73
+
57
74
  <div
58
75
  class="asd20-multiselect-input__help-text"
59
76
  v-if="helpText"
@@ -77,6 +94,10 @@ export default {
77
94
  name: 'Asd20MultiselectInput',
78
95
  mixins: [inputComponentMixin],
79
96
  components: { Asd20Icon, Multiselect },
97
+ data: () => ({
98
+ selected: '',
99
+ multiple: 'true',
100
+ }),
80
101
  methods: {
81
102
  addTag(newTag) {
82
103
  const tag = {}
@@ -4,7 +4,7 @@
4
4
  ref="menuButton"
5
5
  id="menu-toggle-button"
6
6
  aria-owns="main-menu-list"
7
- aria-cotrols="main-menu-list"
7
+ aria-controls="main-menu-list"
8
8
  :size="desktop && !zoomed ? 'lg' : 'md'"
9
9
  class="menu-button"
10
10
  :icon="menuActive ? 'close' : 'menu'"
@@ -3,8 +3,7 @@
3
3
  id="main-menu-list"
4
4
  ref="container"
5
5
  class="asd20-site-menu"
6
- aria-label="Main Menu List"
7
- role="list"
6
+ role="menu"
8
7
  @click="onBackgroundClick"
9
8
  @focus="onFocus"
10
9
  @blur="onBlur"
@@ -21,6 +20,7 @@
21
20
  <transition name="slide-right">
22
21
  <div v-if="!activeSection" class="asd20-table-of-contents">
23
22
  <button
23
+ role="menuitem"
24
24
  v-for="(section, index) in sections"
25
25
  :key="index"
26
26
  :id="`asd20-site-menu__section-${index}`"