@d-mok/quasar-app-extension-quasar-axe 2.0.10 → 2.0.11

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": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -4,8 +4,15 @@
4
4
  class="text-body1"
5
5
  v-if="tooltip"
6
6
  :delay="150"
7
- >{{ tooltip }}</q-tooltip
8
- >
7
+ >{{ tooltip }}
8
+ </q-tooltip>
9
+ <q-badge
10
+ v-if="badge !== undefined"
11
+ floating
12
+ transparent
13
+ rounded
14
+ >{{ badge }}
15
+ </q-badge>
9
16
  </q-btn>
10
17
  </template>
11
18
 
@@ -13,6 +20,7 @@
13
20
  const props = withDefaults(
14
21
  defineProps<{
15
22
  tooltip?: string
23
+ badge?: string | number
16
24
  }>(),
17
25
  {}
18
26
  )