@zap-wunschlachen/wl-shared-components 1.0.22 → 1.0.23

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": "@zap-wunschlachen/wl-shared-components",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -37,12 +37,19 @@
37
37
  .bg-Soft-concrete-1 {
38
38
  background-color: #F8FAFD;
39
39
  }
40
+
40
41
  .border-rounded-md {
41
42
  border-radius: 0.375rem;
42
43
  }
44
+
43
45
  .p-4 {
44
46
  padding: 1rem;
45
47
  }
48
+
46
49
  .text-dental-blue-3 {
47
50
  color: var(--Dental-Blue--0) !important;
51
+ }
52
+
53
+ .text-error-red-0 {
54
+ color: #B00020;
48
55
  }
@@ -12,10 +12,16 @@
12
12
 
13
13
  </template>
14
14
  <template v-if="appointment.status === 'cancelled'">
15
- <div class="actions-grid">
16
- <Button class="full-width-button-opacity" variant="outlined" prependIcon="heroicons:arrow-path"
17
- :disabled="disabled" :label="t('wl.appointment_card.reschedule_after_cancellation')"
18
- @click="handleReschedule" />
15
+ <div>
16
+ <p class="text-center font-weight-bold text-error-red-0 mb-5">
17
+ <v-icon size="26" icon="heroicons:x-circle" />
18
+ {{ t('appointments.status.cancelled') }}
19
+ </p>
20
+ <div class="actions-grid">
21
+ <Button class="full-width-button-opacity" variant="outlined" prependIcon="heroicons:arrow-path"
22
+ :disabled="disabled" :label="t('wl.appointment_card.reschedule_after_cancellation')"
23
+ @click="handleReschedule" />
24
+ </div>
19
25
  </div>
20
26
  </template>
21
27
  <template v-if="appointment.status === 'done' && appointment.for_patient">
@@ -26,6 +32,10 @@
26
32
  </div>
27
33
  </template>
28
34
  <template v-if="appointment.status === 'missed'">
35
+ <p class="text-center font-weight-bold text-error-red-0 mb-5">
36
+ <v-icon size="26" icon="heroicons:x-circle" />
37
+ {{ t('appointments.status.missed') }}
38
+ </p>
29
39
  <div class="actions-grid justify-center align-center bg-Soft-concrete-1 border border-rounded-md p-4">
30
40
  <div>
31
41
  <v-icon size="46" icon="heroicons:calendar-days" />