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

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.11",
3
+ "version": "2.0.12",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -4,15 +4,15 @@
4
4
  class="text-body1"
5
5
  v-if="tooltip"
6
6
  :delay="150"
7
- >{{ tooltip }}
8
- </q-tooltip>
7
+ >{{ tooltip }}</q-tooltip
8
+ >
9
9
  <q-badge
10
10
  v-if="badge !== undefined"
11
11
  floating
12
- transparent
13
12
  rounded
14
- >{{ badge }}
15
- </q-badge>
13
+ :color="badgeColor"
14
+ >{{ badge }}</q-badge
15
+ >
16
16
  </q-btn>
17
17
  </template>
18
18
 
@@ -21,7 +21,10 @@ const props = withDefaults(
21
21
  defineProps<{
22
22
  tooltip?: string
23
23
  badge?: string | number
24
+ badgeColor?: string
24
25
  }>(),
25
- {}
26
+ {
27
+ badgeColor: 'red',
28
+ }
26
29
  )
27
30
  </script>
@@ -33,7 +33,7 @@ type action = {
33
33
 
34
34
  const props = defineProps<{
35
35
  position: 'bottom-left' | 'bottom-right'
36
- color: string
36
+ color?: string
37
37
  icon: string
38
38
  label?: string
39
39
  actions: action[]
@@ -30,7 +30,7 @@
30
30
  defineProps<{
31
31
  title: string
32
32
  caption?: string
33
- link: string
33
+ link?: string
34
34
  icon?: string
35
35
  }>()
36
36
  </script>