@citizenplane/pimp 16.2.0 → 16.2.1

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": "@citizenplane/pimp",
3
- "version": "16.2.0",
3
+ "version": "16.2.1",
4
4
  "scripts": {
5
5
  "dev": "storybook dev -p 8081",
6
6
  "build-storybook": "storybook build --output-dir ./docs",
@@ -2,6 +2,7 @@
2
2
  <div class="cpTableColumnEditor">
3
3
  <v-dropdown
4
4
  v-model:shown="isDropdownVisible"
5
+ :aria-id="ariaId"
5
6
  :delay="0"
6
7
  placement="bottom-end"
7
8
  popper-class="cpTableColumnEditor__dropdown"
@@ -80,7 +81,7 @@
80
81
  </template>
81
82
 
82
83
  <script setup lang="ts">
83
- import { computed, ref, useTemplateRef } from 'vue'
84
+ import { computed, ref, useTemplateRef, useId } from 'vue'
84
85
 
85
86
  import { CpTableColumnObject } from '@/constants/CpTableColumn'
86
87
 
@@ -93,6 +94,8 @@ interface Props {
93
94
 
94
95
  const props = defineProps<Props>()
95
96
 
97
+ const ariaId = useId()
98
+
96
99
  const isDropdownVisible = ref(false)
97
100
  const selectedColumnIds = defineModel<string[]>()
98
101