classcard-ui 0.2.804 → 0.2.806

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.804",
3
+ "version": "0.2.806",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -155,7 +155,7 @@
155
155
  {{ formatTimeFromDate(event.end) }}
156
156
  </div>
157
157
  <div
158
- class="mt-1 text-sm font-semibold flex"
158
+ class="mt-1 flex text-sm font-semibold"
159
159
  :style="{ color: event.color }"
160
160
  :class="event.status === 7 ? 'line-through' : ''"
161
161
  >
@@ -166,7 +166,7 @@
166
166
  class="mt-0.5 h-4 w-4 shrink-0"
167
167
  :style="`color:${event.color}`"
168
168
  ></c-icon>
169
- {{ event.title }} ({{ event.booked }}/{{ event.seats }})
169
+ {{ event.title }}
170
170
  </div>
171
171
  <div class="-mx-1 -my-0.5 flex flex-wrap items-center">
172
172
  <div class="mx-1 my-0.5 flex items-center space-x-0.5">
@@ -3,7 +3,7 @@
3
3
  <div
4
4
  v-scroll-lock="true"
5
5
  id="confirmModal"
6
- class="z-100 fixed inset-0 overflow-y-auto"
6
+ class="fixed inset-0 z-100 overflow-y-auto"
7
7
  >
8
8
  <div
9
9
  class="flex min-h-screen items-end justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0"
@@ -56,6 +56,7 @@
56
56
  </div>
57
57
  <div class="mt-5 flex justify-end space-x-2">
58
58
  <c-button
59
+ v-if="!hideActionOne"
59
60
  @action="$emit('action-one')"
60
61
  :type="actionOneType"
61
62
  :label="actionOneLabel"
@@ -117,6 +118,10 @@ export default {
117
118
  type: Boolean,
118
119
  default: false,
119
120
  },
121
+ hideActionOne: {
122
+ type: Boolean,
123
+ default: false,
124
+ },
120
125
  },
121
126
  };
122
127
  </script>