classcard-ui 0.2.196 → 0.2.197

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.196",
3
+ "version": "0.2.197",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -20,7 +20,11 @@
20
20
  type="solid"
21
21
  class="h-5 w-5 mr-3 text-gray-500"
22
22
  ></c-icon>
23
- <c-avatar :size="items.size" :rounded="items.rounded" :image="items.image"></c-avatar>
23
+ <c-avatar
24
+ :size="items.size"
25
+ :rounded="items.rounded"
26
+ :image="items.image"
27
+ ></c-avatar>
24
28
  <div class="flex flex-grow items-center justify-between flex-wrap">
25
29
  <div class="ml-3">
26
30
  <div class="flex pb-1">
@@ -42,9 +46,14 @@
42
46
  <button
43
47
  type="button"
44
48
  v-if="items.listIcon"
49
+ @click="$emit('remove')"
45
50
  class="rounded-full h-8 w-8 flex items-center justify-center text-gray-500 hover:bg-red-100 hover:text-red-800 focus:outline-none focus:ring-2 focus:ring-red-500"
46
51
  >
47
- <c-icon name="trash" type="solid" class="h-5 w-5 hover:text-red-800"></c-icon>
52
+ <c-icon
53
+ name="trash"
54
+ type="solid"
55
+ class="h-5 w-5 hover:text-red-800"
56
+ ></c-icon>
48
57
  </button>
49
58
  </div>
50
59
  </li>