@zap-wunschlachen/wl-shared-components 1.0.76 → 1.0.78
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/.github/workflows/playwright.yml +229 -229
- package/.github/workflows/static.yml +61 -61
- package/.github/workflows/update-snapshots.yml +37 -37
- package/.prettierrc.json +8 -8
- package/.storybook/main.ts +18 -18
- package/.storybook/preview.ts +37 -37
- package/.storybook/storyWrapper.vue +18 -18
- package/.storybook/withVuetifyTheme.decorator.ts +21 -21
- package/App.vue +139 -139
- package/README.md +56 -56
- package/docs/assets.md +62 -62
- package/heroicons.ts +75 -75
- package/index.html +19 -19
- package/package.json +71 -71
- package/playwright.config.ts +48 -48
- package/public/background.svg +60 -60
- package/public/style.css +187 -187
- package/public/technologies.svg +22 -22
- package/scripts/check-translations.ts +352 -352
- package/src/assets/css/base.css +242 -242
- package/src/assets/css/variables.css +176 -176
- package/src/components/Accordion/Accordion.css +65 -65
- package/src/components/Accordion/AccordionGroup.vue +88 -88
- package/src/components/Accordion/AccordionItem.vue +272 -272
- package/src/components/Accordion/presets/default.css +4 -4
- package/src/components/Accordion/presets/elevated.css +25 -25
- package/src/components/Accordion/presets/filled.css +26 -26
- package/src/components/Accordion/presets/index.css +5 -5
- package/src/components/Accordion/presets/plain.css +34 -34
- package/src/components/Appointment/Card/Actions.css +54 -54
- package/src/components/Appointment/Card/Actions.vue +99 -99
- package/src/components/Appointment/Card/AnamneseNotification.css +20 -20
- package/src/components/Appointment/Card/AnamneseNotification.vue +23 -23
- package/src/components/Appointment/Card/Card.css +99 -99
- package/src/components/Appointment/Card/Card.vue +97 -97
- package/src/components/Appointment/Card/Details.css +62 -62
- package/src/components/Appointment/Card/Details.vue +44 -44
- package/src/components/Audio/Audio.vue +187 -187
- package/src/components/Audio/Waveform.vue +118 -118
- package/src/components/Banner/Banner.css +29 -29
- package/src/components/Banner/Banner.vue +89 -89
- package/src/components/Button/Button.vue +257 -257
- package/src/components/CheckBox/CheckBox.css +234 -234
- package/src/components/CheckBox/Checkbox.vue +184 -184
- package/src/components/DateInput/DateInput.css +2 -2
- package/src/components/DateInput/DateInput.vue +376 -370
- package/src/components/Dialog/Dialog.css +6 -6
- package/src/components/Dialog/Dialog.vue +46 -46
- package/src/components/EditField/EditField.css +19 -19
- package/src/components/EditField/EditField.vue +211 -211
- package/src/components/ErrorPage/ErrorPage.css +172 -172
- package/src/components/IconBullet/IconBullet.vue +104 -104
- package/src/components/IconBullet/IconBulletList.vue +55 -55
- package/src/components/Icons/AdvanceAppointments.vue +161 -161
- package/src/components/Icons/Audio/CloudFailed.vue +27 -27
- package/src/components/Icons/Audio/CloudSaved.vue +28 -28
- package/src/components/Icons/Audio/Delete.vue +22 -22
- package/src/components/Icons/Audio/Pause.vue +25 -25
- package/src/components/Icons/Audio/Play.vue +22 -22
- package/src/components/Icons/Calendar.vue +28 -28
- package/src/components/Icons/CalendarNotification.vue +137 -137
- package/src/components/Icons/Chair.vue +43 -43
- package/src/components/Icons/ChairNotification.vue +46 -46
- package/src/components/Icons/Circle.vue +66 -66
- package/src/components/Icons/FavIcon.vue +69 -69
- package/src/components/Icons/FilledCircle.vue +11 -11
- package/src/components/Icons/Group3.vue +57 -57
- package/src/components/Icons/Play.vue +16 -16
- package/src/components/Icons/RingNotification.vue +65 -65
- package/src/components/Icons/SolidArrowRight.vue +14 -14
- package/src/components/Icons/checkbox.vue +19 -19
- package/src/components/Icons/outlineChecked.vue +38 -38
- package/src/components/Input/Input.css +234 -234
- package/src/components/Input/Input.vue +281 -281
- package/src/components/Laboratory/AppointmentCard/AppointmentCard.css +7 -7
- package/src/components/Laboratory/AppointmentCard/AppointmentCard.vue +116 -116
- package/src/components/Laboratory/ChatBoxImage/ChatBoxImage.vue +81 -81
- package/src/components/Laboratory/ChatMessage/ChatMessage.vue +113 -113
- package/src/components/Laboratory/ChatMessage/ChatMessageBadge.css +4 -4
- package/src/components/Laboratory/ChatMessage/ChatMessageBadge.vue +99 -99
- package/src/components/Laboratory/ChatNotification/ChatNotification.vue +130 -130
- package/src/components/Laboratory/DocumentCard/DocumentCard.css +3 -3
- package/src/components/Laboratory/DocumentCard/DocumentCard.vue +50 -50
- package/src/components/Laboratory/DocumentCard/DocumentCardItem.vue +53 -53
- package/src/components/Laboratory/InfoCard/InfoCard.vue +162 -162
- package/src/components/Laboratory/MainColumnsBar/MainColumnsBar.vue +102 -102
- package/src/components/Laboratory/ProgressCircle/ProgressCircle.vue +152 -152
- package/src/components/Laboratory/ProgressLinear/ProgressLinear.css +33 -33
- package/src/components/Laboratory/ProgressLinear/ProgressLinear.vue +75 -75
- package/src/components/Laboratory/SelectionColumnBar/SelectionColumnBar.vue +92 -92
- package/src/components/Laboratory/StatusNotification/StatusNotification.vue +49 -49
- package/src/components/Laboratory/TagLabel/TagLabel.vue +126 -126
- package/src/components/Laboratory/TagLabelGroup/TagLabelGroup.vue +97 -97
- package/src/components/Laboratory/TicketCard/TicketCard.css +3 -3
- package/src/components/Laboratory/TicketCard/TicketCard.vue +143 -143
- package/src/components/Laboratory/TimeLine/TimeLineEvent.css +18 -18
- package/src/components/Laboratory/TimeLine/TimeLineEvent.vue +119 -119
- package/src/components/Laboratory/TimeLine/Timeline.css +4 -4
- package/src/components/Laboratory/TimeLine/Timeline.vue +30 -30
- package/src/components/Loader/Loader.css +78 -78
- package/src/components/MaintenanceBanner/MaintenanceBanner.css +353 -353
- package/src/components/MaintenanceBanner/MaintenanceBanner.vue +140 -140
- package/src/components/MaintenanceBanner/MaintenanceIllustration.vue +54 -54
- package/src/components/Modal/Modal.css +5 -5
- package/src/components/Modal/Modal.vue +29 -29
- package/src/components/NotificationBubble/NotificationBubble.css +4 -4
- package/src/components/NotificationBubble/NotificationBubble.vue +90 -90
- package/src/components/OtpInput/OtpInput.css +43 -43
- package/src/components/OtpInput/OtpInput.vue +181 -181
- package/src/components/PhoneInput/PhoneInput.css +151 -126
- package/src/components/PhoneInput/PhoneInput.vue +230 -139
- package/src/components/RadioGroup/RadioGroup.css +65 -0
- package/src/components/RadioGroup/RadioGroup.vue +134 -0
- package/src/components/Select/Select.css +172 -172
- package/src/components/Select/Select.vue +377 -377
- package/src/components/SelectAutocomplete/SelectAutocomplete.css +172 -172
- package/src/components/SelectAutocomplete/SelectAutocomplete.vue +414 -414
- package/src/components/TextArea/TextArea.css +269 -269
- package/src/components/TextArea/TextArea.vue +207 -207
- package/src/components/TickBox/TickBox.css +116 -116
- package/src/components/TickBox/TickBox.vue +172 -172
- package/src/components/Tile/Tile.css +106 -106
- package/src/components/Tile/Tile.vue +173 -173
- package/src/components/accessibility.css +218 -218
- package/src/components/index.ts +110 -109
- package/src/constants/iconEnums.ts +3 -3
- package/src/i18n/i18n.ts +15 -15
- package/src/i18n/locales/de.json +30 -30
- package/src/i18n/locales/en.json +30 -30
- package/src/index.ts +43 -43
- package/src/main.ts +11 -11
- package/src/pages/AccordionGroupPage.vue +873 -873
- package/src/pages/AllPage.vue +2483 -2365
- package/src/pages/SelectPage.vue +1302 -1302
- package/src/pages/TilePage.vue +902 -902
- package/src/plugins/vuetify.ts +54 -54
- package/src/shims-vue.d.ts +30 -30
- package/src/utils/index.ts +733 -733
- package/src/vite-env.d.ts +1 -1
- package/tests/unit/accessibility/component-a11y.spec.ts +657 -657
- package/tests/unit/components/Accordion/AccordionGroup.spec.ts +228 -228
- package/tests/unit/components/Accordion/AccordionItem.spec.ts +257 -257
- package/tests/unit/components/Appointment/AnamneseNotification.spec.ts +176 -176
- package/tests/unit/components/Appointment/Card/Actions.spec.ts +436 -436
- package/tests/unit/components/Appointment/Card/Card.spec.ts +531 -531
- package/tests/unit/components/Appointment/Card/Details.spec.ts +395 -395
- package/tests/unit/components/Audio/Audio.spec.ts +403 -403
- package/tests/unit/components/Audio/Waveform.spec.ts +483 -483
- package/tests/unit/components/Background/Background.spec.ts +177 -177
- package/tests/unit/components/Core/AnamneseAnswerDialog.spec.ts +344 -0
- package/tests/unit/components/Core/Banner.spec.ts +187 -0
- package/tests/unit/components/Core/Button.spec.ts +346 -346
- package/tests/unit/components/Core/Checkbox.spec.ts +544 -544
- package/tests/unit/components/Core/DateInput.spec.ts +702 -702
- package/tests/unit/components/Core/Dialog.spec.ts +448 -448
- package/tests/unit/components/Core/EditField.spec.ts +541 -541
- package/tests/unit/components/Core/Input.spec.ts +512 -512
- package/tests/unit/components/Core/List.spec.ts +163 -0
- package/tests/unit/components/Core/ListItem.spec.ts +205 -0
- package/tests/unit/components/Core/Modal.spec.ts +518 -518
- package/tests/unit/components/Core/NotificationBubble.spec.ts +606 -606
- package/tests/unit/components/Core/OtpInput.spec.ts +708 -708
- package/tests/unit/components/Core/PhoneInput.spec.ts +757 -619
- package/tests/unit/components/Core/RadioGroup.spec.ts +318 -0
- package/tests/unit/components/Core/Select.spec.ts +712 -712
- package/tests/unit/components/Core/SelectAutocomplete.spec.ts +361 -0
- package/tests/unit/components/Core/TextArea.spec.ts +565 -565
- package/tests/unit/components/Core/TickBox.spec.ts +836 -836
- package/tests/unit/components/Core/Tile.spec.ts +286 -0
- package/tests/unit/components/DateInput/DateInput.spec.ts +128 -0
- package/tests/unit/components/ErrorPage/ErrorPage.spec.ts +313 -313
- package/tests/unit/components/ErrorPage/ErrorPageLogo.spec.ts +153 -153
- package/tests/unit/components/IconBullet/IconBullet.spec.ts +356 -356
- package/tests/unit/components/IconBullet/IconBulletList.spec.ts +371 -371
- package/tests/unit/components/Icons/AdvanceAppointments.spec.ts +186 -186
- package/tests/unit/components/Icons/Audio/CloudFailed.spec.ts +108 -108
- package/tests/unit/components/Icons/Audio/CloudSaved.spec.ts +149 -149
- package/tests/unit/components/Icons/Audio/Delete.spec.ts +158 -158
- package/tests/unit/components/Icons/Audio/Pause.spec.ts +208 -208
- package/tests/unit/components/Icons/Audio/Play.spec.ts +217 -217
- package/tests/unit/components/Icons/CalendarNotification.spec.ts +193 -193
- package/tests/unit/components/Icons/Chair.spec.ts +241 -241
- package/tests/unit/components/Icons/ChairNotification.spec.ts +318 -318
- package/tests/unit/components/Icons/Circle.spec.ts +255 -255
- package/tests/unit/components/Icons/FavIcon.spec.ts +259 -259
- package/tests/unit/components/Icons/FilledCircle.spec.ts +274 -274
- package/tests/unit/components/Icons/Group3.spec.ts +362 -362
- package/tests/unit/components/Icons/Logo.spec.ts +229 -229
- package/tests/unit/components/Icons/MiniLogo.spec.ts +38 -38
- package/tests/unit/components/Icons/RingNotification.spec.ts +400 -400
- package/tests/unit/components/Icons/SolidArrowRight.spec.ts +49 -49
- package/tests/unit/components/Icons/calendar.spec.ts +293 -293
- package/tests/unit/components/Icons/checkbox.spec.ts +315 -315
- package/tests/unit/components/Icons/outlineChecked.spec.ts +441 -441
- package/tests/unit/components/Icons/play.spec.ts +315 -315
- package/tests/unit/components/Laboratory/AppointmentCard.spec.ts +167 -167
- package/tests/unit/components/Laboratory/ChatBoxImage.spec.ts +179 -179
- package/tests/unit/components/Laboratory/ChatMessage.spec.ts +263 -263
- package/tests/unit/components/Laboratory/ChatMessageBadge.spec.ts +282 -282
- package/tests/unit/components/Laboratory/ChatNotification.spec.ts +256 -256
- package/tests/unit/components/Laboratory/DocumentCard.spec.ts +228 -228
- package/tests/unit/components/Laboratory/DocumentCardItem.spec.ts +236 -236
- package/tests/unit/components/Laboratory/InfoCard.spec.ts +308 -308
- package/tests/unit/components/Laboratory/MainColumnsBar.spec.ts +251 -251
- package/tests/unit/components/Laboratory/ProgressCircle.spec.ts +290 -290
- package/tests/unit/components/Laboratory/ProgressLinear.spec.ts +275 -275
- package/tests/unit/components/Laboratory/SelectionColumnBar.spec.ts +288 -288
- package/tests/unit/components/Laboratory/StatusNotification.spec.ts +296 -296
- package/tests/unit/components/Laboratory/TagLabel.spec.ts +353 -353
- package/tests/unit/components/Laboratory/TagLabelGroup.spec.ts +377 -377
- package/tests/unit/components/Laboratory/TicketCard.spec.ts +351 -351
- package/tests/unit/components/Laboratory/TimeLineEvent.spec.ts +381 -381
- package/tests/unit/components/Laboratory/Timeline.spec.ts +419 -419
- package/tests/unit/components/Loader/Loader.spec.ts +197 -197
- package/tests/unit/components/MaintenanceBanner/MaintenanceBanner.spec.ts +302 -302
- package/tests/unit/constants/iconEnums.spec.ts +39 -39
- package/tests/unit/i18n/i18n.spec.ts +88 -88
- package/tests/unit/plugins/vuetify.spec.ts +182 -182
- package/tests/unit/setup.ts +237 -237
- package/tests/unit/src/components/index.spec.ts.skip +192 -192
- package/tests/unit/src/index.spec.ts.skip +182 -182
- package/tests/unit/src/main.spec.ts +111 -111
- package/tests/unit/utils/accessibility.spec.ts +318 -318
- package/tests/unit/utils/anamnese.spec.ts +531 -0
- package/tsconfig.json +26 -26
- package/vite.config.ts +29 -29
- package/vitest.config.ts +91 -91
package/src/pages/TilePage.vue
CHANGED
|
@@ -1,902 +1,902 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="page">
|
|
3
|
-
<div class="element-container">
|
|
4
|
-
<div class="controls">
|
|
5
|
-
<h2>Testing Domain: {{ currentDomain }}</h2>
|
|
6
|
-
<div class="button-group">
|
|
7
|
-
<Button label="Switch to Wunschlachen (Dental)" @click="switchToDental" variant="flat" color="#4caf50" text-color="#ffffff" />
|
|
8
|
-
<Button label="Switch to White Cocoon" @click="switchToCocoon" variant="flat" color="#4caf50" text-color="#ffffff" />
|
|
9
|
-
<Button label="Reset to Auto-Detect" @click="resetDomain" variant="flat" color="#f44336" text-color="#ffffff" />
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<!-- Banner Standalone -->
|
|
14
|
-
<div class="section">
|
|
15
|
-
<h3 class="section-title">Banner Component</h3>
|
|
16
|
-
<p class="section-description">Standalone ribbon-style label with color variants</p>
|
|
17
|
-
<div class="banner-row">
|
|
18
|
-
<div class="example-item">
|
|
19
|
-
<h4>Blue (Default)</h4>
|
|
20
|
-
<Banner text="Empholen" color="blue" />
|
|
21
|
-
</div>
|
|
22
|
-
<div class="example-item">
|
|
23
|
-
<h4>Orange</h4>
|
|
24
|
-
<Banner text="Warnung" color="orange" />
|
|
25
|
-
</div>
|
|
26
|
-
<div class="example-item">
|
|
27
|
-
<h4>Pink</h4>
|
|
28
|
-
<Banner text="Dringend" color="pink" />
|
|
29
|
-
</div>
|
|
30
|
-
<div class="example-item">
|
|
31
|
-
<h4>Green</h4>
|
|
32
|
-
<Banner text="Bestätigt" color="green" />
|
|
33
|
-
</div>
|
|
34
|
-
<div class="example-item">
|
|
35
|
-
<h4>Custom Colors</h4>
|
|
36
|
-
<Banner text="Custom" bg-color="#E4E2FD" fold-color="#C5BDF2" />
|
|
37
|
-
</div>
|
|
38
|
-
<div class="example-item">
|
|
39
|
-
<h4>Long Text</h4>
|
|
40
|
-
<Banner text="Dringend empfohlen für Kinder" color="blue" />
|
|
41
|
-
</div>
|
|
42
|
-
<div class="example-item">
|
|
43
|
-
<h4>Custom Content</h4>
|
|
44
|
-
<Banner color="orange">
|
|
45
|
-
<template #content>
|
|
46
|
-
<div class="banner-custom-content">
|
|
47
|
-
<v-icon size="14" icon="heroicons:sparkles" />
|
|
48
|
-
<span>Neu & Beliebt</span>
|
|
49
|
-
</div>
|
|
50
|
-
</template>
|
|
51
|
-
</Banner>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<!-- Basic Tile -->
|
|
57
|
-
<div class="section">
|
|
58
|
-
<h3 class="section-title">Basic Tile</h3>
|
|
59
|
-
<div class="examples-grid">
|
|
60
|
-
<div class="example-item">
|
|
61
|
-
<h4>With Title, Description & Label</h4>
|
|
62
|
-
<Tile
|
|
63
|
-
title="Kontrolle & Kinderprophylaxe"
|
|
64
|
-
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an"
|
|
65
|
-
label="Empholen"
|
|
66
|
-
/>
|
|
67
|
-
</div>
|
|
68
|
-
|
|
69
|
-
<div class="example-item">
|
|
70
|
-
<h4>Title & Description Only</h4>
|
|
71
|
-
<Tile
|
|
72
|
-
title="Zahnreinigung"
|
|
73
|
-
description="Professionelle Reinigung und Politur aller Zähne"
|
|
74
|
-
/>
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
<div class="example-item">
|
|
78
|
-
<h4>Title Only</h4>
|
|
79
|
-
<Tile title="Kontrolluntersuchung" />
|
|
80
|
-
</div>
|
|
81
|
-
|
|
82
|
-
<div class="example-item">
|
|
83
|
-
<h4>Title Without Icon</h4>
|
|
84
|
-
<Tile title="Kontrolluntersuchung" :show-icon="false" />
|
|
85
|
-
</div>
|
|
86
|
-
|
|
87
|
-
<div class="example-item">
|
|
88
|
-
<h4>Title Only, Centered</h4>
|
|
89
|
-
<Tile :show-icon="false" class="tile-centered">
|
|
90
|
-
<template #title>
|
|
91
|
-
<h3 class="tile-centered-title">Kontrolluntersuchung</h3>
|
|
92
|
-
</template>
|
|
93
|
-
</Tile>
|
|
94
|
-
</div>
|
|
95
|
-
|
|
96
|
-
<div class="example-item">
|
|
97
|
-
<h4>Long Title & Description</h4>
|
|
98
|
-
<Tile
|
|
99
|
-
title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung"
|
|
100
|
-
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an. Inklusive Fluoridierung, Versiegelung der Backenzähne und individuelle Beratung zur optimalen Mundhygiene für Kinder und Jugendliche."
|
|
101
|
-
label="Empholen"
|
|
102
|
-
/>
|
|
103
|
-
</div>
|
|
104
|
-
|
|
105
|
-
<div class="example-item">
|
|
106
|
-
<h4>Long Title Only</h4>
|
|
107
|
-
<Tile title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung" />
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
|
|
112
|
-
<!-- Banner via showBanner prop -->
|
|
113
|
-
<div class="section">
|
|
114
|
-
<h3 class="section-title">Banner Label (showBanner prop)</h3>
|
|
115
|
-
<p class="section-description">Set showBanner to render the label as a ribbon Banner</p>
|
|
116
|
-
<div class="examples-grid">
|
|
117
|
-
<div class="example-item">
|
|
118
|
-
<h4>Blue Banner</h4>
|
|
119
|
-
<Tile
|
|
120
|
-
title="Kontrolle & Kinderprophylaxe"
|
|
121
|
-
description="Umfassende Vorsorgeuntersuchung"
|
|
122
|
-
label="Empholen"
|
|
123
|
-
:use-w-l-banner="true"
|
|
124
|
-
banner-color="blue"
|
|
125
|
-
/>
|
|
126
|
-
</div>
|
|
127
|
-
|
|
128
|
-
<div class="example-item">
|
|
129
|
-
<h4>Orange Banner</h4>
|
|
130
|
-
<Tile
|
|
131
|
-
title="Kontrolluntersuchung"
|
|
132
|
-
description="Termin muss noch bestätigt werden"
|
|
133
|
-
label="Ausstehend"
|
|
134
|
-
:use-w-l-banner="true"
|
|
135
|
-
banner-color="orange"
|
|
136
|
-
/>
|
|
137
|
-
</div>
|
|
138
|
-
|
|
139
|
-
<div class="example-item">
|
|
140
|
-
<h4>Pink Banner</h4>
|
|
141
|
-
<Tile
|
|
142
|
-
title="Wurzelbehandlung"
|
|
143
|
-
description="Dringend erforderliche Behandlung"
|
|
144
|
-
label="Dringend"
|
|
145
|
-
:use-w-l-banner="true"
|
|
146
|
-
banner-color="pink"
|
|
147
|
-
/>
|
|
148
|
-
</div>
|
|
149
|
-
|
|
150
|
-
<div class="example-item">
|
|
151
|
-
<h4>Green Banner</h4>
|
|
152
|
-
<Tile
|
|
153
|
-
title="Zahnreinigung"
|
|
154
|
-
description="Termin wurde erfolgreich bestätigt"
|
|
155
|
-
label="Bestätigt"
|
|
156
|
-
:use-w-l-banner="true"
|
|
157
|
-
banner-color="green"
|
|
158
|
-
/>
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
<div class="example-item">
|
|
162
|
-
<h4>Long Title with Banner</h4>
|
|
163
|
-
<Tile
|
|
164
|
-
title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung"
|
|
165
|
-
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an. Inklusive Fluoridierung, Versiegelung der Backenzähne und individuelle Beratung zur optimalen Mundhygiene für Kinder und Jugendliche."
|
|
166
|
-
label="Empholen"
|
|
167
|
-
:use-w-l-banner="true"
|
|
168
|
-
banner-color="blue"
|
|
169
|
-
/>
|
|
170
|
-
</div>
|
|
171
|
-
|
|
172
|
-
<div class="example-item">
|
|
173
|
-
<h4>Long Title & Long Banner Text</h4>
|
|
174
|
-
<Tile
|
|
175
|
-
title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung"
|
|
176
|
-
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an."
|
|
177
|
-
label="Dringend empfohlen für Kinder"
|
|
178
|
-
:use-w-l-banner="true"
|
|
179
|
-
banner-color="orange"
|
|
180
|
-
/>
|
|
181
|
-
</div>
|
|
182
|
-
</div>
|
|
183
|
-
</div>
|
|
184
|
-
|
|
185
|
-
<!-- Different Icons -->
|
|
186
|
-
<div class="section">
|
|
187
|
-
<h3 class="section-title">Custom Icons</h3>
|
|
188
|
-
<div class="examples-grid">
|
|
189
|
-
<div class="example-item">
|
|
190
|
-
<h4>Default (Check Circle)</h4>
|
|
191
|
-
<Tile
|
|
192
|
-
title="Kontrolle & Kinderprophylaxe"
|
|
193
|
-
description="Umfassende Vorsorgeuntersuchung"
|
|
194
|
-
label="Empholen"
|
|
195
|
-
/>
|
|
196
|
-
</div>
|
|
197
|
-
|
|
198
|
-
<div class="example-item">
|
|
199
|
-
<h4>Star Icon</h4>
|
|
200
|
-
<Tile
|
|
201
|
-
title="Premium Behandlung"
|
|
202
|
-
description="Exklusive Behandlung mit modernster Technologie"
|
|
203
|
-
label="Premium"
|
|
204
|
-
icon="heroicons:star"
|
|
205
|
-
icon-color="#FF9800"
|
|
206
|
-
/>
|
|
207
|
-
</div>
|
|
208
|
-
|
|
209
|
-
<div class="example-item">
|
|
210
|
-
<h4>Medical Icon</h4>
|
|
211
|
-
<Tile
|
|
212
|
-
title="Wurzelbehandlung"
|
|
213
|
-
description="Behandlung des Zahnmarks zur Zahnerhaltung"
|
|
214
|
-
icon="heroicons:heart"
|
|
215
|
-
icon-color="#4CAF50"
|
|
216
|
-
/>
|
|
217
|
-
</div>
|
|
218
|
-
</div>
|
|
219
|
-
</div>
|
|
220
|
-
|
|
221
|
-
<!-- Visibility Props -->
|
|
222
|
-
<div class="section">
|
|
223
|
-
<h3 class="section-title">Visibility Props</h3>
|
|
224
|
-
<p class="section-description">Control visibility of icon, title, and label independently via showIcon, showTitle, showLabel</p>
|
|
225
|
-
<div class="examples-grid">
|
|
226
|
-
<div class="example-item">
|
|
227
|
-
<h4>All Visible (Default)</h4>
|
|
228
|
-
<Tile
|
|
229
|
-
title="Zahnreinigung"
|
|
230
|
-
description="Professionelle Reinigung und Politur"
|
|
231
|
-
label="Verfügbar"
|
|
232
|
-
/>
|
|
233
|
-
</div>
|
|
234
|
-
|
|
235
|
-
<div class="example-item">
|
|
236
|
-
<h4>Hide Icon (showIcon=false)</h4>
|
|
237
|
-
<Tile
|
|
238
|
-
title="Zahnreinigung"
|
|
239
|
-
description="Professionelle Reinigung und Politur"
|
|
240
|
-
label="Verfügbar"
|
|
241
|
-
:show-icon="false"
|
|
242
|
-
/>
|
|
243
|
-
</div>
|
|
244
|
-
|
|
245
|
-
<div class="example-item">
|
|
246
|
-
<h4>Hide Title (showTitle=false)</h4>
|
|
247
|
-
<Tile
|
|
248
|
-
title="Zahnreinigung"
|
|
249
|
-
description="Professionelle Reinigung und Politur"
|
|
250
|
-
label="Verfügbar"
|
|
251
|
-
:show-title="false"
|
|
252
|
-
/>
|
|
253
|
-
</div>
|
|
254
|
-
|
|
255
|
-
<div class="example-item">
|
|
256
|
-
<h4>Hide Label (showLabel=false)</h4>
|
|
257
|
-
<Tile
|
|
258
|
-
title="Zahnreinigung"
|
|
259
|
-
description="Professionelle Reinigung und Politur"
|
|
260
|
-
label="Verfügbar"
|
|
261
|
-
:show-label="false"
|
|
262
|
-
/>
|
|
263
|
-
</div>
|
|
264
|
-
|
|
265
|
-
<div class="example-item">
|
|
266
|
-
<h4>Description Only</h4>
|
|
267
|
-
<Tile
|
|
268
|
-
title="Zahnreinigung"
|
|
269
|
-
description="Professionelle Reinigung und Politur aller Zähne für ein strahlendes Lächeln"
|
|
270
|
-
:show-icon="false"
|
|
271
|
-
:show-title="false"
|
|
272
|
-
/>
|
|
273
|
-
</div>
|
|
274
|
-
|
|
275
|
-
<div class="example-item">
|
|
276
|
-
<h4>Icon & Description Only</h4>
|
|
277
|
-
<Tile
|
|
278
|
-
title="Zahnreinigung"
|
|
279
|
-
description="Professionelle Reinigung und Politur aller Zähne"
|
|
280
|
-
icon="heroicons:heart"
|
|
281
|
-
:show-title="false"
|
|
282
|
-
/>
|
|
283
|
-
</div>
|
|
284
|
-
</div>
|
|
285
|
-
</div>
|
|
286
|
-
|
|
287
|
-
<!-- States -->
|
|
288
|
-
<div class="section">
|
|
289
|
-
<h3 class="section-title">States</h3>
|
|
290
|
-
<div class="examples-grid">
|
|
291
|
-
<div class="example-item">
|
|
292
|
-
<h4>Normal</h4>
|
|
293
|
-
<Tile
|
|
294
|
-
title="Zahnreinigung"
|
|
295
|
-
description="Professionelle Reinigung und Politur"
|
|
296
|
-
label="Verfügbar"
|
|
297
|
-
/>
|
|
298
|
-
</div>
|
|
299
|
-
|
|
300
|
-
<div class="example-item">
|
|
301
|
-
<h4>Disabled</h4>
|
|
302
|
-
<Tile
|
|
303
|
-
title="Implantologie"
|
|
304
|
-
description="Derzeit nicht verfügbar"
|
|
305
|
-
label="Nicht verfügbar"
|
|
306
|
-
:disabled="true"
|
|
307
|
-
/>
|
|
308
|
-
</div>
|
|
309
|
-
</div>
|
|
310
|
-
</div>
|
|
311
|
-
|
|
312
|
-
<!-- Custom Slot: Prepend -->
|
|
313
|
-
<div class="section">
|
|
314
|
-
<h3 class="section-title">Custom Prepend Slot</h3>
|
|
315
|
-
<p class="section-description">Replace the default icon with custom content</p>
|
|
316
|
-
<div class="examples-grid">
|
|
317
|
-
<div class="example-item">
|
|
318
|
-
<h4>Avatar Prepend</h4>
|
|
319
|
-
<Tile
|
|
320
|
-
title="Dr. Maria Schmidt"
|
|
321
|
-
description="Zahnärztin — Spezialisiert auf Kinderzahnheilkunde"
|
|
322
|
-
label="Online"
|
|
323
|
-
>
|
|
324
|
-
<template #prepend>
|
|
325
|
-
<div class="custom-avatar">MS</div>
|
|
326
|
-
</template>
|
|
327
|
-
</Tile>
|
|
328
|
-
</div>
|
|
329
|
-
|
|
330
|
-
<div class="example-item">
|
|
331
|
-
<h4>Image Prepend</h4>
|
|
332
|
-
<Tile
|
|
333
|
-
title="Implantologie"
|
|
334
|
-
description="Ersatz fehlender Zähne durch hochwertige Implantate"
|
|
335
|
-
>
|
|
336
|
-
<template #prepend>
|
|
337
|
-
<div class="custom-image-icon">
|
|
338
|
-
<v-icon size="28" color="#172774" icon="heroicons:heart" />
|
|
339
|
-
</div>
|
|
340
|
-
</template>
|
|
341
|
-
</Tile>
|
|
342
|
-
</div>
|
|
343
|
-
</div>
|
|
344
|
-
</div>
|
|
345
|
-
|
|
346
|
-
<!-- Custom Slot: Title & Description -->
|
|
347
|
-
<div class="section">
|
|
348
|
-
<h3 class="section-title">Custom Title & Description Slots</h3>
|
|
349
|
-
<p class="section-description">Replace title or description individually with custom content</p>
|
|
350
|
-
<div class="examples-grid">
|
|
351
|
-
<div class="example-item">
|
|
352
|
-
<h4>Custom Description</h4>
|
|
353
|
-
<Tile title="Kieferorthopädie" label="Neu">
|
|
354
|
-
<template #description>
|
|
355
|
-
<div class="custom-content">
|
|
356
|
-
<div class="custom-content__tags">
|
|
357
|
-
<span class="tag tag--blue">Beratung</span>
|
|
358
|
-
<span class="tag tag--green">30 Min.</span>
|
|
359
|
-
</div>
|
|
360
|
-
<div class="custom-content__desc">Korrektur von Zahnfehlstellungen bei Kindern und Erwachsenen</div>
|
|
361
|
-
</div>
|
|
362
|
-
</template>
|
|
363
|
-
</Tile>
|
|
364
|
-
</div>
|
|
365
|
-
|
|
366
|
-
<div class="example-item">
|
|
367
|
-
<h4>Custom Title & Description</h4>
|
|
368
|
-
<Tile icon="heroicons:chart-bar" icon-color="#2196F3" :show-label="false">
|
|
369
|
-
<template #title>
|
|
370
|
-
<div class="custom-content__title">Behandlungen diese Woche</div>
|
|
371
|
-
</template>
|
|
372
|
-
<template #description>
|
|
373
|
-
<div class="custom-content">
|
|
374
|
-
<div class="custom-content__stat">42</div>
|
|
375
|
-
<div class="custom-content__desc">+12% gegenüber letzter Woche</div>
|
|
376
|
-
</div>
|
|
377
|
-
</template>
|
|
378
|
-
</Tile>
|
|
379
|
-
</div>
|
|
380
|
-
</div>
|
|
381
|
-
</div>
|
|
382
|
-
|
|
383
|
-
<!-- Custom Slot: Label -->
|
|
384
|
-
<div class="section">
|
|
385
|
-
<h3 class="section-title">Custom Label Slot</h3>
|
|
386
|
-
<p class="section-description">Replace the default pill label with custom markup</p>
|
|
387
|
-
<div class="examples-grid">
|
|
388
|
-
<div class="example-item">
|
|
389
|
-
<h4>Status Badge</h4>
|
|
390
|
-
<Tile
|
|
391
|
-
title="Kontrolle & Kinderprophylaxe"
|
|
392
|
-
description="Umfassende Vorsorgeuntersuchung"
|
|
393
|
-
>
|
|
394
|
-
<template #label>
|
|
395
|
-
<span class="status-badge status-badge--active">Aktiv</span>
|
|
396
|
-
</template>
|
|
397
|
-
</Tile>
|
|
398
|
-
</div>
|
|
399
|
-
|
|
400
|
-
<div class="example-item">
|
|
401
|
-
<h4>Price Label</h4>
|
|
402
|
-
<Tile
|
|
403
|
-
title="Zahnreinigung"
|
|
404
|
-
description="Professionelle Reinigung und Politur aller Zähne"
|
|
405
|
-
>
|
|
406
|
-
<template #label>
|
|
407
|
-
<div class="price-label">
|
|
408
|
-
<span class="price-label__amount">85 €</span>
|
|
409
|
-
<span class="price-label__note">pro Sitzung</span>
|
|
410
|
-
</div>
|
|
411
|
-
</template>
|
|
412
|
-
</Tile>
|
|
413
|
-
</div>
|
|
414
|
-
|
|
415
|
-
<div class="example-item">
|
|
416
|
-
<h4>Action Button</h4>
|
|
417
|
-
<Tile
|
|
418
|
-
title="Wurzelbehandlung"
|
|
419
|
-
description="Behandlung des Zahnmarks zur Zahnerhaltung"
|
|
420
|
-
>
|
|
421
|
-
<template #label>
|
|
422
|
-
<Button label="Buchen" size="small" variant="flat" />
|
|
423
|
-
</template>
|
|
424
|
-
</Tile>
|
|
425
|
-
</div>
|
|
426
|
-
</div>
|
|
427
|
-
</div>
|
|
428
|
-
|
|
429
|
-
<!-- Multiple Tiles List -->
|
|
430
|
-
<div class="section">
|
|
431
|
-
<h3 class="section-title">Tile List</h3>
|
|
432
|
-
<p class="section-description">Multiple tiles stacked as a treatment selection</p>
|
|
433
|
-
<div class="tile-list">
|
|
434
|
-
<Tile
|
|
435
|
-
v-for="treatment in treatments"
|
|
436
|
-
:key="treatment.id"
|
|
437
|
-
:title="treatment.title"
|
|
438
|
-
:description="treatment.description"
|
|
439
|
-
:label="treatment.label"
|
|
440
|
-
:icon="treatment.icon"
|
|
441
|
-
/>
|
|
442
|
-
</div>
|
|
443
|
-
</div>
|
|
444
|
-
|
|
445
|
-
<!-- Fully Custom Example -->
|
|
446
|
-
<div class="section">
|
|
447
|
-
<h3 class="section-title">Fully Customized</h3>
|
|
448
|
-
<p class="section-description">Individual named slots (#prepend, #title, #description, #label) replaced with custom content</p>
|
|
449
|
-
<div class="examples-grid">
|
|
450
|
-
<div class="example-item">
|
|
451
|
-
<h4>Named Slots</h4>
|
|
452
|
-
<Tile>
|
|
453
|
-
<template #prepend>
|
|
454
|
-
<div class="custom-avatar custom-avatar--large">TB</div>
|
|
455
|
-
</template>
|
|
456
|
-
<template #title>
|
|
457
|
-
<div class="custom-content">
|
|
458
|
-
<div class="custom-content__title">Dr. Thomas Bauer</div>
|
|
459
|
-
<div class="custom-content__subtitle">Kieferorthopäde</div>
|
|
460
|
-
</div>
|
|
461
|
-
</template>
|
|
462
|
-
<template #description>
|
|
463
|
-
<div class="custom-content__tags">
|
|
464
|
-
<span class="tag tag--blue">Implantologie</span>
|
|
465
|
-
<span class="tag tag--green">Kieferorthopädie</span>
|
|
466
|
-
</div>
|
|
467
|
-
</template>
|
|
468
|
-
<template #label>
|
|
469
|
-
<div class="availability">
|
|
470
|
-
<span class="availability__dot"></span>
|
|
471
|
-
<span class="availability__text">Verfügbar</span>
|
|
472
|
-
</div>
|
|
473
|
-
</template>
|
|
474
|
-
</Tile>
|
|
475
|
-
</div>
|
|
476
|
-
|
|
477
|
-
<div class="example-item">
|
|
478
|
-
<h4>Full Override (default slot)</h4>
|
|
479
|
-
<Tile>
|
|
480
|
-
<div class="custom-content">
|
|
481
|
-
<div class="custom-content__title">Kieferorthopädie</div>
|
|
482
|
-
<div class="custom-content__tags">
|
|
483
|
-
<span class="tag tag--blue">Beratung</span>
|
|
484
|
-
<span class="tag tag--green">30 Min.</span>
|
|
485
|
-
</div>
|
|
486
|
-
<div class="custom-content__desc">Korrektur von Zahnfehlstellungen bei Kindern und Erwachsenen</div>
|
|
487
|
-
</div>
|
|
488
|
-
</Tile>
|
|
489
|
-
</div>
|
|
490
|
-
</div>
|
|
491
|
-
</div>
|
|
492
|
-
|
|
493
|
-
<!-- Selection Tiles (Figma Design: "Für wen ist der Termin?") -->
|
|
494
|
-
<div class="section">
|
|
495
|
-
<h3 class="section-title">Selection Tiles (Figma Design)</h3>
|
|
496
|
-
<p class="section-description">Centered icon + title tiles used as selection cards — e.g. "Für wen ist der Termin?"</p>
|
|
497
|
-
|
|
498
|
-
<div class="selection-tiles-row">
|
|
499
|
-
<Tile aria-label="Kind (bis 17 J.)">
|
|
500
|
-
<div class="selection-tile-content">
|
|
501
|
-
<v-icon size="60" color="#172774" icon="heroicons:face-smile" />
|
|
502
|
-
<span class="selection-tile-title">Kind (bis 17 J.)</span>
|
|
503
|
-
</div>
|
|
504
|
-
</Tile>
|
|
505
|
-
<Tile aria-label="Erwachsener">
|
|
506
|
-
<div class="selection-tile-content">
|
|
507
|
-
<v-icon size="60" color="#172774" icon="heroicons:user" />
|
|
508
|
-
<span class="selection-tile-title">Erwachsener</span>
|
|
509
|
-
</div>
|
|
510
|
-
</Tile>
|
|
511
|
-
</div>
|
|
512
|
-
|
|
513
|
-
<h4 style="margin-top: 1.5rem;">Three Options Variant</h4>
|
|
514
|
-
<div class="selection-tiles-row">
|
|
515
|
-
<Tile aria-label="Kind (bis 17 J.)">
|
|
516
|
-
<div class="selection-tile-content">
|
|
517
|
-
<v-icon size="60" color="#172774" icon="heroicons:face-smile" />
|
|
518
|
-
<span class="selection-tile-title">Kind (bis 17 J.)</span>
|
|
519
|
-
</div>
|
|
520
|
-
</Tile>
|
|
521
|
-
<Tile aria-label="Erwachsener">
|
|
522
|
-
<div class="selection-tile-content">
|
|
523
|
-
<v-icon size="60" color="#172774" icon="heroicons:user" />
|
|
524
|
-
<span class="selection-tile-title">Erwachsener</span>
|
|
525
|
-
</div>
|
|
526
|
-
</Tile>
|
|
527
|
-
<Tile aria-label="Senior">
|
|
528
|
-
<div class="selection-tile-content">
|
|
529
|
-
<v-icon size="60" color="#172774" icon="heroicons:heart" />
|
|
530
|
-
<span class="selection-tile-title">Senior (65+)</span>
|
|
531
|
-
</div>
|
|
532
|
-
</Tile>
|
|
533
|
-
</div>
|
|
534
|
-
|
|
535
|
-
<h4 style="margin-top: 1.5rem;">With Disabled State</h4>
|
|
536
|
-
<div class="selection-tiles-row">
|
|
537
|
-
<Tile aria-label="Kind (bis 17 J.)">
|
|
538
|
-
<div class="selection-tile-content">
|
|
539
|
-
<v-icon size="60" color="#172774" icon="heroicons:face-smile" />
|
|
540
|
-
<span class="selection-tile-title">Kind (bis 17 J.)</span>
|
|
541
|
-
</div>
|
|
542
|
-
</Tile>
|
|
543
|
-
<Tile aria-label="Erwachsener" :disabled="true">
|
|
544
|
-
<div class="selection-tile-content">
|
|
545
|
-
<v-icon size="60" color="#172774" icon="heroicons:user" />
|
|
546
|
-
<span class="selection-tile-title">Erwachsener</span>
|
|
547
|
-
</div>
|
|
548
|
-
</Tile>
|
|
549
|
-
</div>
|
|
550
|
-
</div>
|
|
551
|
-
</div>
|
|
552
|
-
</div>
|
|
553
|
-
</template>
|
|
554
|
-
|
|
555
|
-
<script setup lang="ts">
|
|
556
|
-
import { computed } from "vue";
|
|
557
|
-
import {
|
|
558
|
-
domain,
|
|
559
|
-
setTestingDomain,
|
|
560
|
-
clearTestingDomain,
|
|
561
|
-
} from "@/utils/index";
|
|
562
|
-
|
|
563
|
-
import Banner from "@/components/Banner/Banner.vue";
|
|
564
|
-
import Button from "@/components/Button/Button.vue";
|
|
565
|
-
import Tile from "@/components/Tile/Tile.vue";
|
|
566
|
-
|
|
567
|
-
const currentDomain = computed(() => domain.value);
|
|
568
|
-
const switchToDental = () => setTestingDomain("domain-dental");
|
|
569
|
-
const switchToCocoon = () => setTestingDomain("domain-cocoon");
|
|
570
|
-
const resetDomain = () => clearTestingDomain();
|
|
571
|
-
|
|
572
|
-
const treatments = [
|
|
573
|
-
{
|
|
574
|
-
id: '1',
|
|
575
|
-
title: 'Kontrolle & Kinderprophylaxe',
|
|
576
|
-
description: 'Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an',
|
|
577
|
-
label: 'Empholen',
|
|
578
|
-
icon: 'heroicons:check-circle',
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
id: '2',
|
|
582
|
-
title: 'Zahnreinigung',
|
|
583
|
-
description: 'Professionelle Reinigung und Politur aller Zähne für ein strahlendes Lächeln',
|
|
584
|
-
label: 'Beliebt',
|
|
585
|
-
icon: 'heroicons:star',
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
id: '3',
|
|
589
|
-
title: 'Kieferorthopädie',
|
|
590
|
-
description: 'Korrektur von Zahnfehlstellungen bei Kindern und Erwachsenen',
|
|
591
|
-
label: undefined,
|
|
592
|
-
icon: 'heroicons:heart',
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
id: '4',
|
|
596
|
-
title: 'Implantologie',
|
|
597
|
-
description: 'Ersatz fehlender Zähne durch hochwertige Implantate',
|
|
598
|
-
label: 'Neu',
|
|
599
|
-
icon: 'heroicons:plus-circle',
|
|
600
|
-
},
|
|
601
|
-
];
|
|
602
|
-
</script>
|
|
603
|
-
|
|
604
|
-
<style scoped>
|
|
605
|
-
.page {
|
|
606
|
-
display: flex;
|
|
607
|
-
flex-direction: column;
|
|
608
|
-
justify-content: flex-start;
|
|
609
|
-
align-items: center;
|
|
610
|
-
width: 100vw;
|
|
611
|
-
min-height: 100vh;
|
|
612
|
-
background-color: #f5f5f5;
|
|
613
|
-
padding: 2rem 0;
|
|
614
|
-
overflow-y: auto;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.element-container {
|
|
618
|
-
display: flex;
|
|
619
|
-
flex-direction: column;
|
|
620
|
-
justify-content: flex-start;
|
|
621
|
-
align-items: center;
|
|
622
|
-
width: 95%;
|
|
623
|
-
max-width: 1400px;
|
|
624
|
-
gap: 2rem;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
.controls {
|
|
628
|
-
width: 100%;
|
|
629
|
-
background: white;
|
|
630
|
-
padding: 1.5rem;
|
|
631
|
-
border-radius: 8px;
|
|
632
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
633
|
-
text-align: center;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.controls h2 {
|
|
637
|
-
margin: 0 0 1rem 0;
|
|
638
|
-
color: #333;
|
|
639
|
-
font-size: 1.5rem;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.button-group {
|
|
643
|
-
display: flex;
|
|
644
|
-
gap: 1rem;
|
|
645
|
-
justify-content: center;
|
|
646
|
-
flex-wrap: wrap;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.section {
|
|
650
|
-
width: 100%;
|
|
651
|
-
background: white;
|
|
652
|
-
padding: 1.5rem;
|
|
653
|
-
border-radius: 8px;
|
|
654
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
.section-title {
|
|
658
|
-
margin: 0 0 1.5rem 0;
|
|
659
|
-
color: #333;
|
|
660
|
-
font-size: 1.25rem;
|
|
661
|
-
font-weight: 600;
|
|
662
|
-
border-bottom: 2px solid #e0e0e0;
|
|
663
|
-
padding-bottom: 0.5rem;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.section-description {
|
|
667
|
-
margin: -1rem 0 1.5rem 0;
|
|
668
|
-
font-size: 0.875rem;
|
|
669
|
-
color: #666;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
.examples-grid {
|
|
673
|
-
display: grid;
|
|
674
|
-
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
|
675
|
-
gap: 1.5rem;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
.example-item {
|
|
679
|
-
display: flex;
|
|
680
|
-
flex-direction: column;
|
|
681
|
-
gap: 0.5rem;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
.example-item h4 {
|
|
685
|
-
margin: 0;
|
|
686
|
-
font-size: 0.875rem;
|
|
687
|
-
font-weight: 600;
|
|
688
|
-
color: #555;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
/* Centered tile */
|
|
692
|
-
.tile-centered :deep(.wl-tile__header) {
|
|
693
|
-
justify-content: center;
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
.tile-centered-title {
|
|
697
|
-
margin: 0;
|
|
698
|
-
font-family: 'Outfit', sans-serif;
|
|
699
|
-
font-weight: 700;
|
|
700
|
-
font-size: 20px;
|
|
701
|
-
line-height: 1.2;
|
|
702
|
-
color: #172774;
|
|
703
|
-
text-align: center;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
/* Banner custom content */
|
|
707
|
-
.banner-custom-content {
|
|
708
|
-
display: flex;
|
|
709
|
-
align-items: center;
|
|
710
|
-
gap: 4px;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
/* Banner row */
|
|
714
|
-
.banner-row {
|
|
715
|
-
display: flex;
|
|
716
|
-
gap: 2rem;
|
|
717
|
-
flex-wrap: wrap;
|
|
718
|
-
align-items: flex-start;
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
/* Tile list */
|
|
722
|
-
.tile-list {
|
|
723
|
-
display: flex;
|
|
724
|
-
flex-direction: column;
|
|
725
|
-
gap: 0.75rem;
|
|
726
|
-
max-width: 500px;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
/* Custom avatar */
|
|
730
|
-
.custom-avatar {
|
|
731
|
-
width: 36px;
|
|
732
|
-
height: 36px;
|
|
733
|
-
border-radius: 50%;
|
|
734
|
-
background-color: #172774;
|
|
735
|
-
color: white;
|
|
736
|
-
display: flex;
|
|
737
|
-
align-items: center;
|
|
738
|
-
justify-content: center;
|
|
739
|
-
font-size: 0.75rem;
|
|
740
|
-
font-weight: 600;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
.custom-avatar--large {
|
|
744
|
-
width: 44px;
|
|
745
|
-
height: 44px;
|
|
746
|
-
font-size: 0.875rem;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
/* Custom image icon */
|
|
750
|
-
.custom-image-icon {
|
|
751
|
-
width: 44px;
|
|
752
|
-
height: 44px;
|
|
753
|
-
border-radius: 12px;
|
|
754
|
-
background-color: #E4F2FB;
|
|
755
|
-
display: flex;
|
|
756
|
-
align-items: center;
|
|
757
|
-
justify-content: center;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
/* Custom content */
|
|
761
|
-
.custom-content {
|
|
762
|
-
display: flex;
|
|
763
|
-
flex-direction: column;
|
|
764
|
-
gap: 4px;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
.custom-content__title {
|
|
768
|
-
font-weight: 600;
|
|
769
|
-
font-size: 14px;
|
|
770
|
-
color: #172774;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
.custom-content__subtitle {
|
|
774
|
-
font-size: 13px;
|
|
775
|
-
color: #4F5B95;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
.custom-content__desc {
|
|
779
|
-
font-size: 13px;
|
|
780
|
-
color: #4F5B95;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
.custom-content__stat {
|
|
784
|
-
font-size: 28px;
|
|
785
|
-
font-weight: 700;
|
|
786
|
-
color: #172774;
|
|
787
|
-
line-height: 1;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
.custom-content__tags {
|
|
791
|
-
display: flex;
|
|
792
|
-
gap: 6px;
|
|
793
|
-
flex-wrap: wrap;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
.tag {
|
|
797
|
-
font-size: 11px;
|
|
798
|
-
font-weight: 500;
|
|
799
|
-
padding: 2px 8px;
|
|
800
|
-
border-radius: 100px;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
.tag--blue {
|
|
804
|
-
background-color: #EDF5FC;
|
|
805
|
-
color: #172774;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
.tag--green {
|
|
809
|
-
background-color: #D8FDE4;
|
|
810
|
-
color: #037A2C;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
/* Status badge */
|
|
814
|
-
.status-badge {
|
|
815
|
-
font-size: 12px;
|
|
816
|
-
font-weight: 500;
|
|
817
|
-
padding: 4px 12px;
|
|
818
|
-
border-radius: 100px;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
.status-badge--active {
|
|
822
|
-
background-color: #D8FDE4;
|
|
823
|
-
color: #037A2C;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
/* Price label */
|
|
827
|
-
.price-label {
|
|
828
|
-
display: flex;
|
|
829
|
-
flex-direction: column;
|
|
830
|
-
align-items: flex-end;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
.price-label__amount {
|
|
834
|
-
font-size: 16px;
|
|
835
|
-
font-weight: 700;
|
|
836
|
-
color: #172774;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
.price-label__note {
|
|
840
|
-
font-size: 11px;
|
|
841
|
-
color: #9198BC;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
/* Availability */
|
|
845
|
-
.availability {
|
|
846
|
-
display: flex;
|
|
847
|
-
align-items: center;
|
|
848
|
-
gap: 6px;
|
|
849
|
-
justify-self: end;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
.availability__dot {
|
|
853
|
-
width: 8px;
|
|
854
|
-
height: 8px;
|
|
855
|
-
border-radius: 50%;
|
|
856
|
-
background-color: #01D449;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
.availability__text {
|
|
860
|
-
font-size: 12px;
|
|
861
|
-
font-weight: 500;
|
|
862
|
-
color: #037A2C;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
/* Selection tiles (Figma design) */
|
|
866
|
-
.selection-tiles-row {
|
|
867
|
-
display: flex;
|
|
868
|
-
gap: 8px;
|
|
869
|
-
max-width: 390px;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
.selection-tiles-row :deep(.wl-tile) {
|
|
873
|
-
flex: 1;
|
|
874
|
-
height: 126px;
|
|
875
|
-
align-items: center;
|
|
876
|
-
justify-content: center;
|
|
877
|
-
border-color: #DDDDDF;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
.selection-tile-content {
|
|
881
|
-
display: flex;
|
|
882
|
-
flex-direction: column;
|
|
883
|
-
align-items: center;
|
|
884
|
-
justify-content: center;
|
|
885
|
-
gap: 8px;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
.selection-tile-title {
|
|
889
|
-
font-family: 'Outfit', sans-serif;
|
|
890
|
-
font-weight: 700;
|
|
891
|
-
font-size: 14px;
|
|
892
|
-
line-height: 1.2;
|
|
893
|
-
color: #172774;
|
|
894
|
-
text-align: center;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
@media (max-width: 768px) {
|
|
898
|
-
.examples-grid {
|
|
899
|
-
grid-template-columns: 1fr;
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="page">
|
|
3
|
+
<div class="element-container">
|
|
4
|
+
<div class="controls">
|
|
5
|
+
<h2>Testing Domain: {{ currentDomain }}</h2>
|
|
6
|
+
<div class="button-group">
|
|
7
|
+
<Button label="Switch to Wunschlachen (Dental)" @click="switchToDental" variant="flat" color="#4caf50" text-color="#ffffff" />
|
|
8
|
+
<Button label="Switch to White Cocoon" @click="switchToCocoon" variant="flat" color="#4caf50" text-color="#ffffff" />
|
|
9
|
+
<Button label="Reset to Auto-Detect" @click="resetDomain" variant="flat" color="#f44336" text-color="#ffffff" />
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<!-- Banner Standalone -->
|
|
14
|
+
<div class="section">
|
|
15
|
+
<h3 class="section-title">Banner Component</h3>
|
|
16
|
+
<p class="section-description">Standalone ribbon-style label with color variants</p>
|
|
17
|
+
<div class="banner-row">
|
|
18
|
+
<div class="example-item">
|
|
19
|
+
<h4>Blue (Default)</h4>
|
|
20
|
+
<Banner text="Empholen" color="blue" />
|
|
21
|
+
</div>
|
|
22
|
+
<div class="example-item">
|
|
23
|
+
<h4>Orange</h4>
|
|
24
|
+
<Banner text="Warnung" color="orange" />
|
|
25
|
+
</div>
|
|
26
|
+
<div class="example-item">
|
|
27
|
+
<h4>Pink</h4>
|
|
28
|
+
<Banner text="Dringend" color="pink" />
|
|
29
|
+
</div>
|
|
30
|
+
<div class="example-item">
|
|
31
|
+
<h4>Green</h4>
|
|
32
|
+
<Banner text="Bestätigt" color="green" />
|
|
33
|
+
</div>
|
|
34
|
+
<div class="example-item">
|
|
35
|
+
<h4>Custom Colors</h4>
|
|
36
|
+
<Banner text="Custom" bg-color="#E4E2FD" fold-color="#C5BDF2" />
|
|
37
|
+
</div>
|
|
38
|
+
<div class="example-item">
|
|
39
|
+
<h4>Long Text</h4>
|
|
40
|
+
<Banner text="Dringend empfohlen für Kinder" color="blue" />
|
|
41
|
+
</div>
|
|
42
|
+
<div class="example-item">
|
|
43
|
+
<h4>Custom Content</h4>
|
|
44
|
+
<Banner color="orange">
|
|
45
|
+
<template #content>
|
|
46
|
+
<div class="banner-custom-content">
|
|
47
|
+
<v-icon size="14" icon="heroicons:sparkles" />
|
|
48
|
+
<span>Neu & Beliebt</span>
|
|
49
|
+
</div>
|
|
50
|
+
</template>
|
|
51
|
+
</Banner>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<!-- Basic Tile -->
|
|
57
|
+
<div class="section">
|
|
58
|
+
<h3 class="section-title">Basic Tile</h3>
|
|
59
|
+
<div class="examples-grid">
|
|
60
|
+
<div class="example-item">
|
|
61
|
+
<h4>With Title, Description & Label</h4>
|
|
62
|
+
<Tile
|
|
63
|
+
title="Kontrolle & Kinderprophylaxe"
|
|
64
|
+
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an"
|
|
65
|
+
label="Empholen"
|
|
66
|
+
/>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<div class="example-item">
|
|
70
|
+
<h4>Title & Description Only</h4>
|
|
71
|
+
<Tile
|
|
72
|
+
title="Zahnreinigung"
|
|
73
|
+
description="Professionelle Reinigung und Politur aller Zähne"
|
|
74
|
+
/>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div class="example-item">
|
|
78
|
+
<h4>Title Only</h4>
|
|
79
|
+
<Tile title="Kontrolluntersuchung" />
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<div class="example-item">
|
|
83
|
+
<h4>Title Without Icon</h4>
|
|
84
|
+
<Tile title="Kontrolluntersuchung" :show-icon="false" />
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
<div class="example-item">
|
|
88
|
+
<h4>Title Only, Centered</h4>
|
|
89
|
+
<Tile :show-icon="false" class="tile-centered">
|
|
90
|
+
<template #title>
|
|
91
|
+
<h3 class="tile-centered-title">Kontrolluntersuchung</h3>
|
|
92
|
+
</template>
|
|
93
|
+
</Tile>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<div class="example-item">
|
|
97
|
+
<h4>Long Title & Description</h4>
|
|
98
|
+
<Tile
|
|
99
|
+
title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung"
|
|
100
|
+
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an. Inklusive Fluoridierung, Versiegelung der Backenzähne und individuelle Beratung zur optimalen Mundhygiene für Kinder und Jugendliche."
|
|
101
|
+
label="Empholen"
|
|
102
|
+
/>
|
|
103
|
+
</div>
|
|
104
|
+
|
|
105
|
+
<div class="example-item">
|
|
106
|
+
<h4>Long Title Only</h4>
|
|
107
|
+
<Tile title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung" />
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
<!-- Banner via showBanner prop -->
|
|
113
|
+
<div class="section">
|
|
114
|
+
<h3 class="section-title">Banner Label (showBanner prop)</h3>
|
|
115
|
+
<p class="section-description">Set showBanner to render the label as a ribbon Banner</p>
|
|
116
|
+
<div class="examples-grid">
|
|
117
|
+
<div class="example-item">
|
|
118
|
+
<h4>Blue Banner</h4>
|
|
119
|
+
<Tile
|
|
120
|
+
title="Kontrolle & Kinderprophylaxe"
|
|
121
|
+
description="Umfassende Vorsorgeuntersuchung"
|
|
122
|
+
label="Empholen"
|
|
123
|
+
:use-w-l-banner="true"
|
|
124
|
+
banner-color="blue"
|
|
125
|
+
/>
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div class="example-item">
|
|
129
|
+
<h4>Orange Banner</h4>
|
|
130
|
+
<Tile
|
|
131
|
+
title="Kontrolluntersuchung"
|
|
132
|
+
description="Termin muss noch bestätigt werden"
|
|
133
|
+
label="Ausstehend"
|
|
134
|
+
:use-w-l-banner="true"
|
|
135
|
+
banner-color="orange"
|
|
136
|
+
/>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
<div class="example-item">
|
|
140
|
+
<h4>Pink Banner</h4>
|
|
141
|
+
<Tile
|
|
142
|
+
title="Wurzelbehandlung"
|
|
143
|
+
description="Dringend erforderliche Behandlung"
|
|
144
|
+
label="Dringend"
|
|
145
|
+
:use-w-l-banner="true"
|
|
146
|
+
banner-color="pink"
|
|
147
|
+
/>
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
<div class="example-item">
|
|
151
|
+
<h4>Green Banner</h4>
|
|
152
|
+
<Tile
|
|
153
|
+
title="Zahnreinigung"
|
|
154
|
+
description="Termin wurde erfolgreich bestätigt"
|
|
155
|
+
label="Bestätigt"
|
|
156
|
+
:use-w-l-banner="true"
|
|
157
|
+
banner-color="green"
|
|
158
|
+
/>
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
<div class="example-item">
|
|
162
|
+
<h4>Long Title with Banner</h4>
|
|
163
|
+
<Tile
|
|
164
|
+
title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung"
|
|
165
|
+
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an. Inklusive Fluoridierung, Versiegelung der Backenzähne und individuelle Beratung zur optimalen Mundhygiene für Kinder und Jugendliche."
|
|
166
|
+
label="Empholen"
|
|
167
|
+
:use-w-l-banner="true"
|
|
168
|
+
banner-color="blue"
|
|
169
|
+
/>
|
|
170
|
+
</div>
|
|
171
|
+
|
|
172
|
+
<div class="example-item">
|
|
173
|
+
<h4>Long Title & Long Banner Text</h4>
|
|
174
|
+
<Tile
|
|
175
|
+
title="Kontrolle & Kinderprophylaxe mit umfassender Vorsorgeuntersuchung und professioneller Zahnreinigung"
|
|
176
|
+
description="Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an."
|
|
177
|
+
label="Dringend empfohlen für Kinder"
|
|
178
|
+
:use-w-l-banner="true"
|
|
179
|
+
banner-color="orange"
|
|
180
|
+
/>
|
|
181
|
+
</div>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<!-- Different Icons -->
|
|
186
|
+
<div class="section">
|
|
187
|
+
<h3 class="section-title">Custom Icons</h3>
|
|
188
|
+
<div class="examples-grid">
|
|
189
|
+
<div class="example-item">
|
|
190
|
+
<h4>Default (Check Circle)</h4>
|
|
191
|
+
<Tile
|
|
192
|
+
title="Kontrolle & Kinderprophylaxe"
|
|
193
|
+
description="Umfassende Vorsorgeuntersuchung"
|
|
194
|
+
label="Empholen"
|
|
195
|
+
/>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<div class="example-item">
|
|
199
|
+
<h4>Star Icon</h4>
|
|
200
|
+
<Tile
|
|
201
|
+
title="Premium Behandlung"
|
|
202
|
+
description="Exklusive Behandlung mit modernster Technologie"
|
|
203
|
+
label="Premium"
|
|
204
|
+
icon="heroicons:star"
|
|
205
|
+
icon-color="#FF9800"
|
|
206
|
+
/>
|
|
207
|
+
</div>
|
|
208
|
+
|
|
209
|
+
<div class="example-item">
|
|
210
|
+
<h4>Medical Icon</h4>
|
|
211
|
+
<Tile
|
|
212
|
+
title="Wurzelbehandlung"
|
|
213
|
+
description="Behandlung des Zahnmarks zur Zahnerhaltung"
|
|
214
|
+
icon="heroicons:heart"
|
|
215
|
+
icon-color="#4CAF50"
|
|
216
|
+
/>
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
221
|
+
<!-- Visibility Props -->
|
|
222
|
+
<div class="section">
|
|
223
|
+
<h3 class="section-title">Visibility Props</h3>
|
|
224
|
+
<p class="section-description">Control visibility of icon, title, and label independently via showIcon, showTitle, showLabel</p>
|
|
225
|
+
<div class="examples-grid">
|
|
226
|
+
<div class="example-item">
|
|
227
|
+
<h4>All Visible (Default)</h4>
|
|
228
|
+
<Tile
|
|
229
|
+
title="Zahnreinigung"
|
|
230
|
+
description="Professionelle Reinigung und Politur"
|
|
231
|
+
label="Verfügbar"
|
|
232
|
+
/>
|
|
233
|
+
</div>
|
|
234
|
+
|
|
235
|
+
<div class="example-item">
|
|
236
|
+
<h4>Hide Icon (showIcon=false)</h4>
|
|
237
|
+
<Tile
|
|
238
|
+
title="Zahnreinigung"
|
|
239
|
+
description="Professionelle Reinigung und Politur"
|
|
240
|
+
label="Verfügbar"
|
|
241
|
+
:show-icon="false"
|
|
242
|
+
/>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<div class="example-item">
|
|
246
|
+
<h4>Hide Title (showTitle=false)</h4>
|
|
247
|
+
<Tile
|
|
248
|
+
title="Zahnreinigung"
|
|
249
|
+
description="Professionelle Reinigung und Politur"
|
|
250
|
+
label="Verfügbar"
|
|
251
|
+
:show-title="false"
|
|
252
|
+
/>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
<div class="example-item">
|
|
256
|
+
<h4>Hide Label (showLabel=false)</h4>
|
|
257
|
+
<Tile
|
|
258
|
+
title="Zahnreinigung"
|
|
259
|
+
description="Professionelle Reinigung und Politur"
|
|
260
|
+
label="Verfügbar"
|
|
261
|
+
:show-label="false"
|
|
262
|
+
/>
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
<div class="example-item">
|
|
266
|
+
<h4>Description Only</h4>
|
|
267
|
+
<Tile
|
|
268
|
+
title="Zahnreinigung"
|
|
269
|
+
description="Professionelle Reinigung und Politur aller Zähne für ein strahlendes Lächeln"
|
|
270
|
+
:show-icon="false"
|
|
271
|
+
:show-title="false"
|
|
272
|
+
/>
|
|
273
|
+
</div>
|
|
274
|
+
|
|
275
|
+
<div class="example-item">
|
|
276
|
+
<h4>Icon & Description Only</h4>
|
|
277
|
+
<Tile
|
|
278
|
+
title="Zahnreinigung"
|
|
279
|
+
description="Professionelle Reinigung und Politur aller Zähne"
|
|
280
|
+
icon="heroicons:heart"
|
|
281
|
+
:show-title="false"
|
|
282
|
+
/>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
|
|
287
|
+
<!-- States -->
|
|
288
|
+
<div class="section">
|
|
289
|
+
<h3 class="section-title">States</h3>
|
|
290
|
+
<div class="examples-grid">
|
|
291
|
+
<div class="example-item">
|
|
292
|
+
<h4>Normal</h4>
|
|
293
|
+
<Tile
|
|
294
|
+
title="Zahnreinigung"
|
|
295
|
+
description="Professionelle Reinigung und Politur"
|
|
296
|
+
label="Verfügbar"
|
|
297
|
+
/>
|
|
298
|
+
</div>
|
|
299
|
+
|
|
300
|
+
<div class="example-item">
|
|
301
|
+
<h4>Disabled</h4>
|
|
302
|
+
<Tile
|
|
303
|
+
title="Implantologie"
|
|
304
|
+
description="Derzeit nicht verfügbar"
|
|
305
|
+
label="Nicht verfügbar"
|
|
306
|
+
:disabled="true"
|
|
307
|
+
/>
|
|
308
|
+
</div>
|
|
309
|
+
</div>
|
|
310
|
+
</div>
|
|
311
|
+
|
|
312
|
+
<!-- Custom Slot: Prepend -->
|
|
313
|
+
<div class="section">
|
|
314
|
+
<h3 class="section-title">Custom Prepend Slot</h3>
|
|
315
|
+
<p class="section-description">Replace the default icon with custom content</p>
|
|
316
|
+
<div class="examples-grid">
|
|
317
|
+
<div class="example-item">
|
|
318
|
+
<h4>Avatar Prepend</h4>
|
|
319
|
+
<Tile
|
|
320
|
+
title="Dr. Maria Schmidt"
|
|
321
|
+
description="Zahnärztin — Spezialisiert auf Kinderzahnheilkunde"
|
|
322
|
+
label="Online"
|
|
323
|
+
>
|
|
324
|
+
<template #prepend>
|
|
325
|
+
<div class="custom-avatar">MS</div>
|
|
326
|
+
</template>
|
|
327
|
+
</Tile>
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
<div class="example-item">
|
|
331
|
+
<h4>Image Prepend</h4>
|
|
332
|
+
<Tile
|
|
333
|
+
title="Implantologie"
|
|
334
|
+
description="Ersatz fehlender Zähne durch hochwertige Implantate"
|
|
335
|
+
>
|
|
336
|
+
<template #prepend>
|
|
337
|
+
<div class="custom-image-icon">
|
|
338
|
+
<v-icon size="28" color="#172774" icon="heroicons:heart" />
|
|
339
|
+
</div>
|
|
340
|
+
</template>
|
|
341
|
+
</Tile>
|
|
342
|
+
</div>
|
|
343
|
+
</div>
|
|
344
|
+
</div>
|
|
345
|
+
|
|
346
|
+
<!-- Custom Slot: Title & Description -->
|
|
347
|
+
<div class="section">
|
|
348
|
+
<h3 class="section-title">Custom Title & Description Slots</h3>
|
|
349
|
+
<p class="section-description">Replace title or description individually with custom content</p>
|
|
350
|
+
<div class="examples-grid">
|
|
351
|
+
<div class="example-item">
|
|
352
|
+
<h4>Custom Description</h4>
|
|
353
|
+
<Tile title="Kieferorthopädie" label="Neu">
|
|
354
|
+
<template #description>
|
|
355
|
+
<div class="custom-content">
|
|
356
|
+
<div class="custom-content__tags">
|
|
357
|
+
<span class="tag tag--blue">Beratung</span>
|
|
358
|
+
<span class="tag tag--green">30 Min.</span>
|
|
359
|
+
</div>
|
|
360
|
+
<div class="custom-content__desc">Korrektur von Zahnfehlstellungen bei Kindern und Erwachsenen</div>
|
|
361
|
+
</div>
|
|
362
|
+
</template>
|
|
363
|
+
</Tile>
|
|
364
|
+
</div>
|
|
365
|
+
|
|
366
|
+
<div class="example-item">
|
|
367
|
+
<h4>Custom Title & Description</h4>
|
|
368
|
+
<Tile icon="heroicons:chart-bar" icon-color="#2196F3" :show-label="false">
|
|
369
|
+
<template #title>
|
|
370
|
+
<div class="custom-content__title">Behandlungen diese Woche</div>
|
|
371
|
+
</template>
|
|
372
|
+
<template #description>
|
|
373
|
+
<div class="custom-content">
|
|
374
|
+
<div class="custom-content__stat">42</div>
|
|
375
|
+
<div class="custom-content__desc">+12% gegenüber letzter Woche</div>
|
|
376
|
+
</div>
|
|
377
|
+
</template>
|
|
378
|
+
</Tile>
|
|
379
|
+
</div>
|
|
380
|
+
</div>
|
|
381
|
+
</div>
|
|
382
|
+
|
|
383
|
+
<!-- Custom Slot: Label -->
|
|
384
|
+
<div class="section">
|
|
385
|
+
<h3 class="section-title">Custom Label Slot</h3>
|
|
386
|
+
<p class="section-description">Replace the default pill label with custom markup</p>
|
|
387
|
+
<div class="examples-grid">
|
|
388
|
+
<div class="example-item">
|
|
389
|
+
<h4>Status Badge</h4>
|
|
390
|
+
<Tile
|
|
391
|
+
title="Kontrolle & Kinderprophylaxe"
|
|
392
|
+
description="Umfassende Vorsorgeuntersuchung"
|
|
393
|
+
>
|
|
394
|
+
<template #label>
|
|
395
|
+
<span class="status-badge status-badge--active">Aktiv</span>
|
|
396
|
+
</template>
|
|
397
|
+
</Tile>
|
|
398
|
+
</div>
|
|
399
|
+
|
|
400
|
+
<div class="example-item">
|
|
401
|
+
<h4>Price Label</h4>
|
|
402
|
+
<Tile
|
|
403
|
+
title="Zahnreinigung"
|
|
404
|
+
description="Professionelle Reinigung und Politur aller Zähne"
|
|
405
|
+
>
|
|
406
|
+
<template #label>
|
|
407
|
+
<div class="price-label">
|
|
408
|
+
<span class="price-label__amount">85 €</span>
|
|
409
|
+
<span class="price-label__note">pro Sitzung</span>
|
|
410
|
+
</div>
|
|
411
|
+
</template>
|
|
412
|
+
</Tile>
|
|
413
|
+
</div>
|
|
414
|
+
|
|
415
|
+
<div class="example-item">
|
|
416
|
+
<h4>Action Button</h4>
|
|
417
|
+
<Tile
|
|
418
|
+
title="Wurzelbehandlung"
|
|
419
|
+
description="Behandlung des Zahnmarks zur Zahnerhaltung"
|
|
420
|
+
>
|
|
421
|
+
<template #label>
|
|
422
|
+
<Button label="Buchen" size="small" variant="flat" />
|
|
423
|
+
</template>
|
|
424
|
+
</Tile>
|
|
425
|
+
</div>
|
|
426
|
+
</div>
|
|
427
|
+
</div>
|
|
428
|
+
|
|
429
|
+
<!-- Multiple Tiles List -->
|
|
430
|
+
<div class="section">
|
|
431
|
+
<h3 class="section-title">Tile List</h3>
|
|
432
|
+
<p class="section-description">Multiple tiles stacked as a treatment selection</p>
|
|
433
|
+
<div class="tile-list">
|
|
434
|
+
<Tile
|
|
435
|
+
v-for="treatment in treatments"
|
|
436
|
+
:key="treatment.id"
|
|
437
|
+
:title="treatment.title"
|
|
438
|
+
:description="treatment.description"
|
|
439
|
+
:label="treatment.label"
|
|
440
|
+
:icon="treatment.icon"
|
|
441
|
+
/>
|
|
442
|
+
</div>
|
|
443
|
+
</div>
|
|
444
|
+
|
|
445
|
+
<!-- Fully Custom Example -->
|
|
446
|
+
<div class="section">
|
|
447
|
+
<h3 class="section-title">Fully Customized</h3>
|
|
448
|
+
<p class="section-description">Individual named slots (#prepend, #title, #description, #label) replaced with custom content</p>
|
|
449
|
+
<div class="examples-grid">
|
|
450
|
+
<div class="example-item">
|
|
451
|
+
<h4>Named Slots</h4>
|
|
452
|
+
<Tile>
|
|
453
|
+
<template #prepend>
|
|
454
|
+
<div class="custom-avatar custom-avatar--large">TB</div>
|
|
455
|
+
</template>
|
|
456
|
+
<template #title>
|
|
457
|
+
<div class="custom-content">
|
|
458
|
+
<div class="custom-content__title">Dr. Thomas Bauer</div>
|
|
459
|
+
<div class="custom-content__subtitle">Kieferorthopäde</div>
|
|
460
|
+
</div>
|
|
461
|
+
</template>
|
|
462
|
+
<template #description>
|
|
463
|
+
<div class="custom-content__tags">
|
|
464
|
+
<span class="tag tag--blue">Implantologie</span>
|
|
465
|
+
<span class="tag tag--green">Kieferorthopädie</span>
|
|
466
|
+
</div>
|
|
467
|
+
</template>
|
|
468
|
+
<template #label>
|
|
469
|
+
<div class="availability">
|
|
470
|
+
<span class="availability__dot"></span>
|
|
471
|
+
<span class="availability__text">Verfügbar</span>
|
|
472
|
+
</div>
|
|
473
|
+
</template>
|
|
474
|
+
</Tile>
|
|
475
|
+
</div>
|
|
476
|
+
|
|
477
|
+
<div class="example-item">
|
|
478
|
+
<h4>Full Override (default slot)</h4>
|
|
479
|
+
<Tile>
|
|
480
|
+
<div class="custom-content">
|
|
481
|
+
<div class="custom-content__title">Kieferorthopädie</div>
|
|
482
|
+
<div class="custom-content__tags">
|
|
483
|
+
<span class="tag tag--blue">Beratung</span>
|
|
484
|
+
<span class="tag tag--green">30 Min.</span>
|
|
485
|
+
</div>
|
|
486
|
+
<div class="custom-content__desc">Korrektur von Zahnfehlstellungen bei Kindern und Erwachsenen</div>
|
|
487
|
+
</div>
|
|
488
|
+
</Tile>
|
|
489
|
+
</div>
|
|
490
|
+
</div>
|
|
491
|
+
</div>
|
|
492
|
+
|
|
493
|
+
<!-- Selection Tiles (Figma Design: "Für wen ist der Termin?") -->
|
|
494
|
+
<div class="section">
|
|
495
|
+
<h3 class="section-title">Selection Tiles (Figma Design)</h3>
|
|
496
|
+
<p class="section-description">Centered icon + title tiles used as selection cards — e.g. "Für wen ist der Termin?"</p>
|
|
497
|
+
|
|
498
|
+
<div class="selection-tiles-row">
|
|
499
|
+
<Tile aria-label="Kind (bis 17 J.)">
|
|
500
|
+
<div class="selection-tile-content">
|
|
501
|
+
<v-icon size="60" color="#172774" icon="heroicons:face-smile" />
|
|
502
|
+
<span class="selection-tile-title">Kind (bis 17 J.)</span>
|
|
503
|
+
</div>
|
|
504
|
+
</Tile>
|
|
505
|
+
<Tile aria-label="Erwachsener">
|
|
506
|
+
<div class="selection-tile-content">
|
|
507
|
+
<v-icon size="60" color="#172774" icon="heroicons:user" />
|
|
508
|
+
<span class="selection-tile-title">Erwachsener</span>
|
|
509
|
+
</div>
|
|
510
|
+
</Tile>
|
|
511
|
+
</div>
|
|
512
|
+
|
|
513
|
+
<h4 style="margin-top: 1.5rem;">Three Options Variant</h4>
|
|
514
|
+
<div class="selection-tiles-row">
|
|
515
|
+
<Tile aria-label="Kind (bis 17 J.)">
|
|
516
|
+
<div class="selection-tile-content">
|
|
517
|
+
<v-icon size="60" color="#172774" icon="heroicons:face-smile" />
|
|
518
|
+
<span class="selection-tile-title">Kind (bis 17 J.)</span>
|
|
519
|
+
</div>
|
|
520
|
+
</Tile>
|
|
521
|
+
<Tile aria-label="Erwachsener">
|
|
522
|
+
<div class="selection-tile-content">
|
|
523
|
+
<v-icon size="60" color="#172774" icon="heroicons:user" />
|
|
524
|
+
<span class="selection-tile-title">Erwachsener</span>
|
|
525
|
+
</div>
|
|
526
|
+
</Tile>
|
|
527
|
+
<Tile aria-label="Senior">
|
|
528
|
+
<div class="selection-tile-content">
|
|
529
|
+
<v-icon size="60" color="#172774" icon="heroicons:heart" />
|
|
530
|
+
<span class="selection-tile-title">Senior (65+)</span>
|
|
531
|
+
</div>
|
|
532
|
+
</Tile>
|
|
533
|
+
</div>
|
|
534
|
+
|
|
535
|
+
<h4 style="margin-top: 1.5rem;">With Disabled State</h4>
|
|
536
|
+
<div class="selection-tiles-row">
|
|
537
|
+
<Tile aria-label="Kind (bis 17 J.)">
|
|
538
|
+
<div class="selection-tile-content">
|
|
539
|
+
<v-icon size="60" color="#172774" icon="heroicons:face-smile" />
|
|
540
|
+
<span class="selection-tile-title">Kind (bis 17 J.)</span>
|
|
541
|
+
</div>
|
|
542
|
+
</Tile>
|
|
543
|
+
<Tile aria-label="Erwachsener" :disabled="true">
|
|
544
|
+
<div class="selection-tile-content">
|
|
545
|
+
<v-icon size="60" color="#172774" icon="heroicons:user" />
|
|
546
|
+
<span class="selection-tile-title">Erwachsener</span>
|
|
547
|
+
</div>
|
|
548
|
+
</Tile>
|
|
549
|
+
</div>
|
|
550
|
+
</div>
|
|
551
|
+
</div>
|
|
552
|
+
</div>
|
|
553
|
+
</template>
|
|
554
|
+
|
|
555
|
+
<script setup lang="ts">
|
|
556
|
+
import { computed } from "vue";
|
|
557
|
+
import {
|
|
558
|
+
domain,
|
|
559
|
+
setTestingDomain,
|
|
560
|
+
clearTestingDomain,
|
|
561
|
+
} from "@/utils/index";
|
|
562
|
+
|
|
563
|
+
import Banner from "@/components/Banner/Banner.vue";
|
|
564
|
+
import Button from "@/components/Button/Button.vue";
|
|
565
|
+
import Tile from "@/components/Tile/Tile.vue";
|
|
566
|
+
|
|
567
|
+
const currentDomain = computed(() => domain.value);
|
|
568
|
+
const switchToDental = () => setTestingDomain("domain-dental");
|
|
569
|
+
const switchToCocoon = () => setTestingDomain("domain-cocoon");
|
|
570
|
+
const resetDomain = () => clearTestingDomain();
|
|
571
|
+
|
|
572
|
+
const treatments = [
|
|
573
|
+
{
|
|
574
|
+
id: '1',
|
|
575
|
+
title: 'Kontrolle & Kinderprophylaxe',
|
|
576
|
+
description: 'Umfassende Vorsorgeuntersuchung und sanfte Zahnreinigung für gesunde Kinderzähne von Anfang an',
|
|
577
|
+
label: 'Empholen',
|
|
578
|
+
icon: 'heroicons:check-circle',
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
id: '2',
|
|
582
|
+
title: 'Zahnreinigung',
|
|
583
|
+
description: 'Professionelle Reinigung und Politur aller Zähne für ein strahlendes Lächeln',
|
|
584
|
+
label: 'Beliebt',
|
|
585
|
+
icon: 'heroicons:star',
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
id: '3',
|
|
589
|
+
title: 'Kieferorthopädie',
|
|
590
|
+
description: 'Korrektur von Zahnfehlstellungen bei Kindern und Erwachsenen',
|
|
591
|
+
label: undefined,
|
|
592
|
+
icon: 'heroicons:heart',
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
id: '4',
|
|
596
|
+
title: 'Implantologie',
|
|
597
|
+
description: 'Ersatz fehlender Zähne durch hochwertige Implantate',
|
|
598
|
+
label: 'Neu',
|
|
599
|
+
icon: 'heroicons:plus-circle',
|
|
600
|
+
},
|
|
601
|
+
];
|
|
602
|
+
</script>
|
|
603
|
+
|
|
604
|
+
<style scoped>
|
|
605
|
+
.page {
|
|
606
|
+
display: flex;
|
|
607
|
+
flex-direction: column;
|
|
608
|
+
justify-content: flex-start;
|
|
609
|
+
align-items: center;
|
|
610
|
+
width: 100vw;
|
|
611
|
+
min-height: 100vh;
|
|
612
|
+
background-color: #f5f5f5;
|
|
613
|
+
padding: 2rem 0;
|
|
614
|
+
overflow-y: auto;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.element-container {
|
|
618
|
+
display: flex;
|
|
619
|
+
flex-direction: column;
|
|
620
|
+
justify-content: flex-start;
|
|
621
|
+
align-items: center;
|
|
622
|
+
width: 95%;
|
|
623
|
+
max-width: 1400px;
|
|
624
|
+
gap: 2rem;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.controls {
|
|
628
|
+
width: 100%;
|
|
629
|
+
background: white;
|
|
630
|
+
padding: 1.5rem;
|
|
631
|
+
border-radius: 8px;
|
|
632
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
633
|
+
text-align: center;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.controls h2 {
|
|
637
|
+
margin: 0 0 1rem 0;
|
|
638
|
+
color: #333;
|
|
639
|
+
font-size: 1.5rem;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
.button-group {
|
|
643
|
+
display: flex;
|
|
644
|
+
gap: 1rem;
|
|
645
|
+
justify-content: center;
|
|
646
|
+
flex-wrap: wrap;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.section {
|
|
650
|
+
width: 100%;
|
|
651
|
+
background: white;
|
|
652
|
+
padding: 1.5rem;
|
|
653
|
+
border-radius: 8px;
|
|
654
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.section-title {
|
|
658
|
+
margin: 0 0 1.5rem 0;
|
|
659
|
+
color: #333;
|
|
660
|
+
font-size: 1.25rem;
|
|
661
|
+
font-weight: 600;
|
|
662
|
+
border-bottom: 2px solid #e0e0e0;
|
|
663
|
+
padding-bottom: 0.5rem;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.section-description {
|
|
667
|
+
margin: -1rem 0 1.5rem 0;
|
|
668
|
+
font-size: 0.875rem;
|
|
669
|
+
color: #666;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.examples-grid {
|
|
673
|
+
display: grid;
|
|
674
|
+
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
|
675
|
+
gap: 1.5rem;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.example-item {
|
|
679
|
+
display: flex;
|
|
680
|
+
flex-direction: column;
|
|
681
|
+
gap: 0.5rem;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.example-item h4 {
|
|
685
|
+
margin: 0;
|
|
686
|
+
font-size: 0.875rem;
|
|
687
|
+
font-weight: 600;
|
|
688
|
+
color: #555;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/* Centered tile */
|
|
692
|
+
.tile-centered :deep(.wl-tile__header) {
|
|
693
|
+
justify-content: center;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.tile-centered-title {
|
|
697
|
+
margin: 0;
|
|
698
|
+
font-family: 'Outfit', sans-serif;
|
|
699
|
+
font-weight: 700;
|
|
700
|
+
font-size: 20px;
|
|
701
|
+
line-height: 1.2;
|
|
702
|
+
color: #172774;
|
|
703
|
+
text-align: center;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/* Banner custom content */
|
|
707
|
+
.banner-custom-content {
|
|
708
|
+
display: flex;
|
|
709
|
+
align-items: center;
|
|
710
|
+
gap: 4px;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
/* Banner row */
|
|
714
|
+
.banner-row {
|
|
715
|
+
display: flex;
|
|
716
|
+
gap: 2rem;
|
|
717
|
+
flex-wrap: wrap;
|
|
718
|
+
align-items: flex-start;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/* Tile list */
|
|
722
|
+
.tile-list {
|
|
723
|
+
display: flex;
|
|
724
|
+
flex-direction: column;
|
|
725
|
+
gap: 0.75rem;
|
|
726
|
+
max-width: 500px;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/* Custom avatar */
|
|
730
|
+
.custom-avatar {
|
|
731
|
+
width: 36px;
|
|
732
|
+
height: 36px;
|
|
733
|
+
border-radius: 50%;
|
|
734
|
+
background-color: #172774;
|
|
735
|
+
color: white;
|
|
736
|
+
display: flex;
|
|
737
|
+
align-items: center;
|
|
738
|
+
justify-content: center;
|
|
739
|
+
font-size: 0.75rem;
|
|
740
|
+
font-weight: 600;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
.custom-avatar--large {
|
|
744
|
+
width: 44px;
|
|
745
|
+
height: 44px;
|
|
746
|
+
font-size: 0.875rem;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/* Custom image icon */
|
|
750
|
+
.custom-image-icon {
|
|
751
|
+
width: 44px;
|
|
752
|
+
height: 44px;
|
|
753
|
+
border-radius: 12px;
|
|
754
|
+
background-color: #E4F2FB;
|
|
755
|
+
display: flex;
|
|
756
|
+
align-items: center;
|
|
757
|
+
justify-content: center;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/* Custom content */
|
|
761
|
+
.custom-content {
|
|
762
|
+
display: flex;
|
|
763
|
+
flex-direction: column;
|
|
764
|
+
gap: 4px;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.custom-content__title {
|
|
768
|
+
font-weight: 600;
|
|
769
|
+
font-size: 14px;
|
|
770
|
+
color: #172774;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.custom-content__subtitle {
|
|
774
|
+
font-size: 13px;
|
|
775
|
+
color: #4F5B95;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.custom-content__desc {
|
|
779
|
+
font-size: 13px;
|
|
780
|
+
color: #4F5B95;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.custom-content__stat {
|
|
784
|
+
font-size: 28px;
|
|
785
|
+
font-weight: 700;
|
|
786
|
+
color: #172774;
|
|
787
|
+
line-height: 1;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.custom-content__tags {
|
|
791
|
+
display: flex;
|
|
792
|
+
gap: 6px;
|
|
793
|
+
flex-wrap: wrap;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
.tag {
|
|
797
|
+
font-size: 11px;
|
|
798
|
+
font-weight: 500;
|
|
799
|
+
padding: 2px 8px;
|
|
800
|
+
border-radius: 100px;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.tag--blue {
|
|
804
|
+
background-color: #EDF5FC;
|
|
805
|
+
color: #172774;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.tag--green {
|
|
809
|
+
background-color: #D8FDE4;
|
|
810
|
+
color: #037A2C;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/* Status badge */
|
|
814
|
+
.status-badge {
|
|
815
|
+
font-size: 12px;
|
|
816
|
+
font-weight: 500;
|
|
817
|
+
padding: 4px 12px;
|
|
818
|
+
border-radius: 100px;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.status-badge--active {
|
|
822
|
+
background-color: #D8FDE4;
|
|
823
|
+
color: #037A2C;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/* Price label */
|
|
827
|
+
.price-label {
|
|
828
|
+
display: flex;
|
|
829
|
+
flex-direction: column;
|
|
830
|
+
align-items: flex-end;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.price-label__amount {
|
|
834
|
+
font-size: 16px;
|
|
835
|
+
font-weight: 700;
|
|
836
|
+
color: #172774;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
.price-label__note {
|
|
840
|
+
font-size: 11px;
|
|
841
|
+
color: #9198BC;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
/* Availability */
|
|
845
|
+
.availability {
|
|
846
|
+
display: flex;
|
|
847
|
+
align-items: center;
|
|
848
|
+
gap: 6px;
|
|
849
|
+
justify-self: end;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.availability__dot {
|
|
853
|
+
width: 8px;
|
|
854
|
+
height: 8px;
|
|
855
|
+
border-radius: 50%;
|
|
856
|
+
background-color: #01D449;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.availability__text {
|
|
860
|
+
font-size: 12px;
|
|
861
|
+
font-weight: 500;
|
|
862
|
+
color: #037A2C;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
/* Selection tiles (Figma design) */
|
|
866
|
+
.selection-tiles-row {
|
|
867
|
+
display: flex;
|
|
868
|
+
gap: 8px;
|
|
869
|
+
max-width: 390px;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.selection-tiles-row :deep(.wl-tile) {
|
|
873
|
+
flex: 1;
|
|
874
|
+
height: 126px;
|
|
875
|
+
align-items: center;
|
|
876
|
+
justify-content: center;
|
|
877
|
+
border-color: #DDDDDF;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.selection-tile-content {
|
|
881
|
+
display: flex;
|
|
882
|
+
flex-direction: column;
|
|
883
|
+
align-items: center;
|
|
884
|
+
justify-content: center;
|
|
885
|
+
gap: 8px;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
.selection-tile-title {
|
|
889
|
+
font-family: 'Outfit', sans-serif;
|
|
890
|
+
font-weight: 700;
|
|
891
|
+
font-size: 14px;
|
|
892
|
+
line-height: 1.2;
|
|
893
|
+
color: #172774;
|
|
894
|
+
text-align: center;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
@media (max-width: 768px) {
|
|
898
|
+
.examples-grid {
|
|
899
|
+
grid-template-columns: 1fr;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
</style>
|