@ulu/frontend-vue 0.1.0-beta.28 → 0.1.0-beta.29

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.
@@ -4,6 +4,7 @@
4
4
  type="button"
5
5
  ref="trigger"
6
6
  @click="toggle"
7
+ :id="triggerId"
7
8
  :disabled="disabled"
8
9
  :class="[
9
10
  { [activeClass] : isOpen },
@@ -27,7 +28,7 @@
27
28
  },
28
29
  classes.content,
29
30
  ]"
30
- :aria-hidden="isOpen ? 'false' : 'true'"
31
+ :aria-labelledby="triggerId"
31
32
  :id="id"
32
33
  :style="floatingStyles"
33
34
  :data-placement="placement"
@@ -95,6 +96,7 @@
95
96
  });
96
97
 
97
98
  const id = newUid();
99
+ const triggerId = newUid();
98
100
  const config = Object.assign({}, defaults.popover, props.config);
99
101
  const isOpen = ref(props.startOpen || false);
100
102
  const trigger = ref(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ulu/frontend-vue",
3
- "version": "0.1.0-beta.28",
3
+ "version": "0.1.0-beta.29",
4
4
  "description": "A modular and tree-shakeable Vue 3 component library for the Ulu frontend",
5
5
  "type": "module",
6
6
  "files": [