classcard-ui 0.2.242 → 0.2.244

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.242",
3
+ "version": "0.2.244",
4
4
  "main": "dist/classcard-ui.common.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -3,10 +3,13 @@
3
3
  <div
4
4
  :class="divider || showSection ? 'border-b border-gray-200 pb-2' : ''"
5
5
  class="flex flex-row items-center justify-between cursor-pointer"
6
- @click="collapse"
6
+ @click.self="collapse"
7
7
  >
8
8
  <!-- left and right arrow icon as per opening and closing of collapsible -->
9
- <div class="flex flex-row items-center">
9
+ <div
10
+ class="flex flex-row items-center"
11
+ @click="collapse"
12
+ >
10
13
  <c-icon
11
14
  :name="showSection ? 'chevron-down' : 'chevron-right'"
12
15
  class="text-gray-900 h-5 w-5"
@@ -81,6 +84,7 @@ export default {
81
84
  },
82
85
  methods: {
83
86
  collapse() {
87
+ console.log("collapsing")
84
88
  this.showSection = !this.showSection;
85
89
  },
86
90
  },