classcard-ui 0.2.415 → 0.2.418

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": "classcard-ui",
3
- "version": "0.2.415",
3
+ "version": "0.2.418",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -5,7 +5,7 @@
5
5
  v-if="type == 'tertiary'"
6
6
  :class="customClasses"
7
7
  class="flex cursor-pointer flex-row rounded-md px-4 py-2 text-sm text-indigo-600 hover:bg-indigo-100 hover:text-indigo-800 focus:outline-none focus:ring-2 focus:ring-indigo-200 focus:ring-offset-2"
8
- @click="$emit('action')"
8
+ @click.prevent="$emit('action')"
9
9
  >
10
10
  <c-icon
11
11
  v-if="icon"
@@ -23,7 +23,7 @@
23
23
  :class="classes"
24
24
  :disabled="disabled"
25
25
  class="inline-flex items-center rounded-md px-4 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50"
26
- @click="$emit('action')"
26
+ @click.prevent="$emit('action')"
27
27
  >
28
28
  <c-icon v-if="isLoading" class="mr-2 h-5 w-5" name="loader"></c-icon>
29
29
  <c-icon
@@ -42,7 +42,7 @@
42
42
  :class="classes"
43
43
  :disabled="disabled"
44
44
  class="inline-flex items-center rounded-md px-3 py-2 text-sm font-medium shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50"
45
- @click="$emit('action')"
45
+ @click.prevent="$emit('action')"
46
46
  >
47
47
  <c-icon v-if="isLoading" class="mr-2 h-5 w-5" name="loader"></c-icon>
48
48
  <c-icon