maverick-wave-astro 1.0.0
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/README.md +83 -0
- package/bin/check.mjs +53 -0
- package/components/Accordion.astro +47 -0
- package/components/Address.astro +36 -0
- package/components/Announcement.astro +27 -0
- package/components/Avatar.astro +34 -0
- package/components/BaseLayout.astro +142 -0
- package/components/BlogPost.astro +144 -0
- package/components/Breadcrumbs.astro +69 -0
- package/components/Calendar.astro +104 -0
- package/components/CalendarLegend.astro +34 -0
- package/components/ComingSoon.astro +21 -0
- package/components/DateStamp.astro +24 -0
- package/components/EmptyState.astro +24 -0
- package/components/Favicons.astro +42 -0
- package/components/Feed.astro +85 -0
- package/components/Footer.astro +162 -0
- package/components/Gallery.astro +55 -0
- package/components/Header.astro +107 -0
- package/components/Hero.astro +158 -0
- package/components/Icon.astro +27 -0
- package/components/IconCard.astro +36 -0
- package/components/ImageSlider.astro +64 -0
- package/components/ImprintCard.astro +52 -0
- package/components/JsonLd.astro +11 -0
- package/components/LanguageSwitch.astro +53 -0
- package/components/LegalPage.astro +19 -0
- package/components/Media.astro +40 -0
- package/components/MetaInfo.astro +24 -0
- package/components/Modal.astro +47 -0
- package/components/Mosaic.astro +38 -0
- package/components/NotFound.astro +34 -0
- package/components/Offer.astro +79 -0
- package/components/OpeningHours.astro +14 -0
- package/components/PageHeader.astro +38 -0
- package/components/Picture.astro +50 -0
- package/components/PortraitGallery.astro +68 -0
- package/components/PostalAddress.astro +20 -0
- package/components/Price.astro +84 -0
- package/components/PrivacyCard.astro +65 -0
- package/components/Progress.astro +53 -0
- package/components/PromoBar.astro +25 -0
- package/components/Schedule.astro +60 -0
- package/components/SectionHead.astro +18 -0
- package/components/SocialLinks.astro +47 -0
- package/components/Stepper.astro +76 -0
- package/components/Stories.astro +80 -0
- package/components/TabPanel.astro +15 -0
- package/components/Table.astro +115 -0
- package/components/Tabs.astro +38 -0
- package/components/Testimonial.astro +61 -0
- package/components/ThemeToggle.astro +30 -0
- package/components/Tiles.astro +63 -0
- package/components/Timeline.astro +64 -0
- package/components/ValueList.astro +42 -0
- package/config/eslint.js +58 -0
- package/config/prettier.mjs +30 -0
- package/dist/config.d.ts +3 -0
- package/dist/config.js +6 -0
- package/dist/contact.d.ts +2 -0
- package/dist/contact.js +8 -0
- package/dist/date.d.ts +26 -0
- package/dist/date.js +72 -0
- package/dist/design.d.ts +166 -0
- package/dist/design.js +175 -0
- package/dist/icons.d.ts +13 -0
- package/dist/icons.js +15 -0
- package/dist/image-size.d.ts +10 -0
- package/dist/image-size.js +70 -0
- package/dist/integration.d.ts +13 -0
- package/dist/integration.js +90 -0
- package/dist/path.d.ts +1 -0
- package/dist/path.js +5 -0
- package/dist/schedule.d.ts +30 -0
- package/dist/schedule.js +117 -0
- package/dist/social.d.ts +35 -0
- package/dist/social.js +37 -0
- package/dist/structured-data.d.ts +1 -0
- package/dist/structured-data.js +2 -0
- package/dist/text.d.ts +3 -0
- package/dist/text.js +30 -0
- package/dist/types.d.ts +35 -0
- package/dist/types.js +1 -0
- package/dist/uploads.d.ts +7 -0
- package/dist/uploads.js +64 -0
- package/package.json +75 -0
- package/routes/design.css.ts +7 -0
- package/routes/theme.js.ts +28 -0
- package/routes/virtual.d.ts +6 -0
- package/schemas/design.schema.json +214 -0
- package/schemas/promo.schema.json +37 -0
- package/styles/schedule.css +17 -0
- package/styles/table.css +8 -0
- package/styles/theme-toggle.css +13 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Design",
|
|
4
|
+
"description": "Leer gelassen bleibt es so, wie formatwerke die Seite eingerichtet hat.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"corners": {
|
|
9
|
+
"title": "Ecken der Karten",
|
|
10
|
+
"description": "Zwei spitze und zwei runde Ecken sind das Markenzeichen von MaverickWave. Gleichmäßig rundet alle vier Ecken gleich.",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"enum": ["signature", "even"],
|
|
13
|
+
"x-labels": {
|
|
14
|
+
"signature": "Markenzeichen",
|
|
15
|
+
"even": "Gleichmäßig"
|
|
16
|
+
},
|
|
17
|
+
"x-empty": "Wie eingerichtet"
|
|
18
|
+
},
|
|
19
|
+
"radius": {
|
|
20
|
+
"title": "Rundung",
|
|
21
|
+
"description": "Wie rund alle Kästen gezeichnet werden.",
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": ["square", "default", "round"],
|
|
24
|
+
"x-labels": {
|
|
25
|
+
"square": "Eckig",
|
|
26
|
+
"default": "Normal",
|
|
27
|
+
"round": "Rund"
|
|
28
|
+
},
|
|
29
|
+
"x-empty": "Wie eingerichtet"
|
|
30
|
+
},
|
|
31
|
+
"buttonShape": {
|
|
32
|
+
"title": "Form der Buttons",
|
|
33
|
+
"description": "Formularfelder behalten ihre eigene Form.",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["square", "default", "pill"],
|
|
36
|
+
"x-labels": {
|
|
37
|
+
"square": "Eckig",
|
|
38
|
+
"default": "Normal",
|
|
39
|
+
"pill": "Ganz rund"
|
|
40
|
+
},
|
|
41
|
+
"x-empty": "Wie eingerichtet"
|
|
42
|
+
},
|
|
43
|
+
"buttonStyle": {
|
|
44
|
+
"title": "Stil der Buttons",
|
|
45
|
+
"description": "Wie ein gefüllter Button gemalt wird.",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": ["default", "glass", "tactile"],
|
|
48
|
+
"x-labels": {
|
|
49
|
+
"default": "Flach",
|
|
50
|
+
"glass": "Glas",
|
|
51
|
+
"tactile": "Zum Drücken"
|
|
52
|
+
},
|
|
53
|
+
"x-empty": "Wie eingerichtet"
|
|
54
|
+
},
|
|
55
|
+
"accent": {
|
|
56
|
+
"title": "Akzentfarbe",
|
|
57
|
+
"description": "Einfarbig lässt die zweite Markenfarbe weg.",
|
|
58
|
+
"type": "string",
|
|
59
|
+
"enum": ["dual", "single"],
|
|
60
|
+
"x-labels": {
|
|
61
|
+
"dual": "Zwei Farben",
|
|
62
|
+
"single": "Nur die Hauptfarbe"
|
|
63
|
+
},
|
|
64
|
+
"x-empty": "Wie eingerichtet"
|
|
65
|
+
},
|
|
66
|
+
"shadows": {
|
|
67
|
+
"title": "Schatten",
|
|
68
|
+
"description": "Ohne Schatten liegen Karten flach auf der Seite.",
|
|
69
|
+
"type": "string",
|
|
70
|
+
"enum": ["default", "flat"],
|
|
71
|
+
"x-labels": {
|
|
72
|
+
"default": "Mit Schatten",
|
|
73
|
+
"flat": "Ohne Schatten"
|
|
74
|
+
},
|
|
75
|
+
"x-empty": "Wie eingerichtet"
|
|
76
|
+
},
|
|
77
|
+
"surfaces": {
|
|
78
|
+
"title": "Karten und Fußzeile",
|
|
79
|
+
"description": "Bündig heißt: kein eigener Farbton, nur eine Linie trennt sie von der Seite.",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"enum": ["raised", "flush"],
|
|
82
|
+
"x-labels": {
|
|
83
|
+
"raised": "Abgesetzt",
|
|
84
|
+
"flush": "Bündig"
|
|
85
|
+
},
|
|
86
|
+
"x-empty": "Wie eingerichtet"
|
|
87
|
+
},
|
|
88
|
+
"headings": {
|
|
89
|
+
"title": "Überschriften",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"enum": ["default", "caps"],
|
|
92
|
+
"x-labels": {
|
|
93
|
+
"default": "Normal",
|
|
94
|
+
"caps": "In Großbuchstaben"
|
|
95
|
+
},
|
|
96
|
+
"x-empty": "Wie eingerichtet"
|
|
97
|
+
},
|
|
98
|
+
"links": {
|
|
99
|
+
"title": "Links im Text",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": ["default", "underline"],
|
|
102
|
+
"x-labels": {
|
|
103
|
+
"default": "Unterstrichen beim Überfahren",
|
|
104
|
+
"underline": "Immer unterstrichen"
|
|
105
|
+
},
|
|
106
|
+
"x-empty": "Wie eingerichtet"
|
|
107
|
+
},
|
|
108
|
+
"density": {
|
|
109
|
+
"title": "Dichte",
|
|
110
|
+
"description": "Wie viel Innenabstand Karten und Buttons haben. Die Schrift bleibt gleich groß.",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"enum": ["compact", "default", "roomy"],
|
|
113
|
+
"x-labels": {
|
|
114
|
+
"compact": "Kompakt",
|
|
115
|
+
"default": "Normal",
|
|
116
|
+
"roomy": "Luftig"
|
|
117
|
+
},
|
|
118
|
+
"x-empty": "Wie eingerichtet"
|
|
119
|
+
},
|
|
120
|
+
"fontSize": {
|
|
121
|
+
"title": "Schriftgröße",
|
|
122
|
+
"description": "Alles wächst mit: Schrift, Abstände und Buttons.",
|
|
123
|
+
"type": "string",
|
|
124
|
+
"enum": ["small", "default", "large"],
|
|
125
|
+
"x-labels": {
|
|
126
|
+
"small": "Klein",
|
|
127
|
+
"default": "Normal",
|
|
128
|
+
"large": "Groß"
|
|
129
|
+
},
|
|
130
|
+
"x-empty": "Wie eingerichtet"
|
|
131
|
+
},
|
|
132
|
+
"width": {
|
|
133
|
+
"title": "Seitenbreite",
|
|
134
|
+
"description": "Wie breit der Inhalt auf einem großen Bildschirm werden darf.",
|
|
135
|
+
"type": "string",
|
|
136
|
+
"enum": ["narrow", "medium", "default", "wide", "full"],
|
|
137
|
+
"x-labels": {
|
|
138
|
+
"narrow": "Schmal",
|
|
139
|
+
"medium": "Mittel",
|
|
140
|
+
"default": "Normal",
|
|
141
|
+
"wide": "Breit",
|
|
142
|
+
"full": "Ganze Breite"
|
|
143
|
+
},
|
|
144
|
+
"x-empty": "Wie eingerichtet"
|
|
145
|
+
},
|
|
146
|
+
"hover": {
|
|
147
|
+
"title": "Bewegung unter der Maus",
|
|
148
|
+
"description": "Ruhig: nichts hebt sich oder zoomt. Farben reagieren weiter.",
|
|
149
|
+
"type": "string",
|
|
150
|
+
"enum": ["animated", "static"],
|
|
151
|
+
"x-labels": {
|
|
152
|
+
"animated": "Bewegt",
|
|
153
|
+
"static": "Ruhig"
|
|
154
|
+
},
|
|
155
|
+
"x-empty": "Wie eingerichtet"
|
|
156
|
+
},
|
|
157
|
+
"motion": {
|
|
158
|
+
"title": "Tempo der Animationen",
|
|
159
|
+
"type": "string",
|
|
160
|
+
"enum": ["brisk", "default", "relaxed"],
|
|
161
|
+
"x-labels": {
|
|
162
|
+
"brisk": "Zügig",
|
|
163
|
+
"default": "Normal",
|
|
164
|
+
"relaxed": "Gemächlich"
|
|
165
|
+
},
|
|
166
|
+
"x-empty": "Wie eingerichtet"
|
|
167
|
+
},
|
|
168
|
+
"header": {
|
|
169
|
+
"title": "Kopfzeile",
|
|
170
|
+
"description": "Einblenden: die Leiste erscheint erst nach dem ersten Bildschirm.",
|
|
171
|
+
"type": "string",
|
|
172
|
+
"enum": ["reveal", "sticky"],
|
|
173
|
+
"x-labels": {
|
|
174
|
+
"reveal": "Einblenden",
|
|
175
|
+
"sticky": "Von Anfang an da"
|
|
176
|
+
},
|
|
177
|
+
"x-empty": "Wie eingerichtet"
|
|
178
|
+
},
|
|
179
|
+
"sections": {
|
|
180
|
+
"title": "Abschnitte",
|
|
181
|
+
"description": "Das feine Streifenmuster hinter jedem zweiten Abschnitt.",
|
|
182
|
+
"type": "string",
|
|
183
|
+
"enum": ["patterned", "plain"],
|
|
184
|
+
"x-labels": {
|
|
185
|
+
"patterned": "Mit Muster",
|
|
186
|
+
"plain": "Ohne Muster"
|
|
187
|
+
},
|
|
188
|
+
"x-empty": "Wie eingerichtet"
|
|
189
|
+
},
|
|
190
|
+
"scrollEffects": {
|
|
191
|
+
"title": "Einblenden beim Scrollen",
|
|
192
|
+
"description": "Karten und Abschnitte gleiten beim Scrollen an ihren Platz.",
|
|
193
|
+
"type": "string",
|
|
194
|
+
"enum": ["on", "off"],
|
|
195
|
+
"x-labels": {
|
|
196
|
+
"on": "An",
|
|
197
|
+
"off": "Aus"
|
|
198
|
+
},
|
|
199
|
+
"x-empty": "Wie eingerichtet"
|
|
200
|
+
},
|
|
201
|
+
"spacing": {
|
|
202
|
+
"title": "Abstand zwischen Abschnitten",
|
|
203
|
+
"type": "string",
|
|
204
|
+
"enum": ["compact", "default", "airy", "fluid"],
|
|
205
|
+
"x-labels": {
|
|
206
|
+
"compact": "Kompakt",
|
|
207
|
+
"default": "Normal",
|
|
208
|
+
"airy": "Luftig",
|
|
209
|
+
"fluid": "Wächst mit dem Bildschirm"
|
|
210
|
+
},
|
|
211
|
+
"x-empty": "Wie eingerichtet"
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "Rabattaktion",
|
|
4
|
+
"description": "0 Prozent schaltet die Aktion aus.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["percent", "text"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"percent": {
|
|
10
|
+
"title": "Rabatt in Prozent",
|
|
11
|
+
"type": "integer",
|
|
12
|
+
"minimum": 0,
|
|
13
|
+
"maximum": 90
|
|
14
|
+
},
|
|
15
|
+
"text": {
|
|
16
|
+
"title": "Text im Band",
|
|
17
|
+
"description": "Ohne Datum, das \"bis ...\" hängt die Seite selbst an.",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"minLength": 1
|
|
20
|
+
},
|
|
21
|
+
"from": {
|
|
22
|
+
"title": "Erster Tag",
|
|
23
|
+
"description": "Leer: gilt sofort.",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"format": "date",
|
|
26
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
|
|
27
|
+
},
|
|
28
|
+
"until": {
|
|
29
|
+
"title": "Letzter Tag",
|
|
30
|
+
"description": "Leer: unbefristet. Sichtbar bleibt die Aktion bis zum Mittag danach.",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"format": "date",
|
|
33
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
34
|
+
"x-not-before": "from"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* Schedule.astro sets the class - these rules only hide, never show, otherwise
|
|
2
|
+
every rule would have to rebuild MaverickWave's display value. */
|
|
3
|
+
html:not(.mwa-promo-active) .mwa-promo-only {
|
|
4
|
+
display: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
html.mwa-promo-active .mwa-no-promo {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* The framework's :has() would otherwise reserve the offset for a hidden
|
|
12
|
+
promo bar. Only zero that part, and only when no other bar remains. */
|
|
13
|
+
html:not(.mwa-promo-active):not(
|
|
14
|
+
:has(.mw-announcement:not(.mw-announcement-static):not(.mwa-promo-only))
|
|
15
|
+
) {
|
|
16
|
+
--mw-announcement-offset: 0px;
|
|
17
|
+
}
|
package/styles/table.css
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* The card view of mw-table-cards turns every td into a label row and leaves
|
|
2
|
+
a row header alone. Standing first in its card, it becomes the title. Same
|
|
3
|
+
breakpoint as the framework (md). */
|
|
4
|
+
@media (width < 768px) {
|
|
5
|
+
.mw-table-cards .mwa-table-row-head {
|
|
6
|
+
display: block;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* Both icons are in the markup, the state of the toggle decides which one
|
|
2
|
+
shows. */
|
|
3
|
+
.mw-theme-toggle .mwa-theme-sun {
|
|
4
|
+
display: none;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.mw-theme-toggle.mw-active .mwa-theme-sun {
|
|
8
|
+
display: block;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.mw-theme-toggle.mw-active .mwa-theme-moon {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|