@autumnsgrove/groveengine 0.8.5 → 0.8.6
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/dist/components/WispPanel.svelte +0 -1
- package/dist/components/custom/ContentWithGutter.svelte +7 -13
- package/dist/ui/components/forms/SearchInput.svelte +0 -1
- package/dist/ui/components/gallery/ImageGallery.svelte +14 -3
- package/dist/ui/components/gallery/Lightbox.svelte +8 -3
- package/dist/ui/components/gallery/ZoomableImage.svelte +12 -2
- package/dist/ui/components/typography/index.d.ts +0 -10
- package/dist/ui/components/typography/index.js +1 -12
- package/dist/ui/components/ui/CollapsibleSection.svelte +10 -0
- package/dist/ui/tokens/fonts.d.ts +1 -1
- package/dist/ui/tokens/fonts.js +0 -126
- package/package.json +22 -21
- package/static/fonts/alagard.ttf +0 -0
- package/LICENSE +0 -378
- package/dist/ui/components/typography/BodoniModa.svelte +0 -17
- package/dist/ui/components/typography/BodoniModa.svelte.d.ts +0 -10
- package/dist/ui/components/typography/Cormorant.svelte +0 -17
- package/dist/ui/components/typography/Cormorant.svelte.d.ts +0 -10
- package/dist/ui/components/typography/EBGaramond.svelte +0 -17
- package/dist/ui/components/typography/EBGaramond.svelte.d.ts +0 -10
- package/dist/ui/components/typography/Fraunces.svelte +0 -17
- package/dist/ui/components/typography/Fraunces.svelte.d.ts +0 -10
- package/dist/ui/components/typography/InstrumentSans.svelte +0 -17
- package/dist/ui/components/typography/InstrumentSans.svelte.d.ts +0 -10
- package/dist/ui/components/typography/Lora.svelte +0 -17
- package/dist/ui/components/typography/Lora.svelte.d.ts +0 -10
- package/dist/ui/components/typography/Luciole.svelte +0 -17
- package/dist/ui/components/typography/Luciole.svelte.d.ts +0 -10
- package/dist/ui/components/typography/Manrope.svelte +0 -17
- package/dist/ui/components/typography/Manrope.svelte.d.ts +0 -10
- package/dist/ui/components/typography/Merriweather.svelte +0 -17
- package/dist/ui/components/typography/Merriweather.svelte.d.ts +0 -10
- package/dist/ui/components/typography/Nunito.svelte +0 -17
- package/dist/ui/components/typography/Nunito.svelte.d.ts +0 -10
|
@@ -247,15 +247,17 @@
|
|
|
247
247
|
|
|
248
248
|
// Add IDs to headers and position mobile gutter items
|
|
249
249
|
$effect(() => {
|
|
250
|
+
// Track contentBodyElement outside untrack() so effect re-runs when element becomes available
|
|
251
|
+
const contentEl = contentBodyElement;
|
|
252
|
+
if (!contentEl) return;
|
|
253
|
+
|
|
250
254
|
// Track moved elements for cleanup
|
|
251
255
|
const movedElements: Array<{ element: HTMLElement; originalParent: HTMLElement | null; originalNextSibling: Node | null }> = [];
|
|
252
256
|
|
|
253
257
|
untrack(() => {
|
|
254
|
-
if (!contentBodyElement) return;
|
|
255
|
-
|
|
256
258
|
// First, add IDs to headers
|
|
257
259
|
if (headers && headers.length > 0) {
|
|
258
|
-
const headerElements = (
|
|
260
|
+
const headerElements = (contentEl as HTMLElement).querySelectorAll('h1, h2, h3, h4, h5, h6');
|
|
259
261
|
headerElements.forEach((el: Element) => {
|
|
260
262
|
const text = (el as HTMLElement).textContent?.trim() || '';
|
|
261
263
|
const matchingHeader = headers.find((h: Header) => h.text === text);
|
|
@@ -275,7 +277,7 @@
|
|
|
275
277
|
const originalParent = mobileGutterEl.parentElement;
|
|
276
278
|
const originalNextSibling = mobileGutterEl.nextSibling;
|
|
277
279
|
|
|
278
|
-
const targetEl = findAnchorElement(anchor,
|
|
280
|
+
const targetEl = findAnchorElement(anchor, contentEl as HTMLElement, headers);
|
|
279
281
|
|
|
280
282
|
if (targetEl) {
|
|
281
283
|
targetEl.insertAdjacentElement('afterend', mobileGutterEl);
|
|
@@ -643,15 +645,7 @@
|
|
|
643
645
|
:global(.dark) .overflow-anchor-label {
|
|
644
646
|
color: #666;
|
|
645
647
|
}
|
|
646
|
-
/* Reference number in overflow label */
|
|
647
|
-
.overflow-ref-num {
|
|
648
|
-
color: #2c5f2d;
|
|
649
|
-
font-weight: 600;
|
|
650
|
-
margin-right: 0.5rem;
|
|
651
|
-
}
|
|
652
|
-
:global(.dark) .overflow-ref-num {
|
|
653
|
-
color: var(--accent-success);
|
|
654
|
-
}
|
|
648
|
+
/* Reference number in overflow label - unused selector removed */
|
|
655
649
|
/* Reference markers in content (global because they're in @html) */
|
|
656
650
|
:global(.gutter-ref-marker) {
|
|
657
651
|
font-size: 0.75em;
|
|
@@ -263,10 +263,14 @@
|
|
|
263
263
|
|
|
264
264
|
<!-- Lightbox modal -->
|
|
265
265
|
{#if lightboxOpen}
|
|
266
|
-
<!-- svelte-ignore
|
|
266
|
+
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
|
267
267
|
<div
|
|
268
268
|
class="lightbox-backdrop"
|
|
269
269
|
onclick={(/** @type {MouseEvent} */ e) => e.target === e.currentTarget && closeLightbox()}
|
|
270
|
+
onkeydown={(/** @type {KeyboardEvent} */ e) => {
|
|
271
|
+
if (e.key === 'Escape') closeLightbox();
|
|
272
|
+
if (e.key === 'Enter' || e.key === ' ') closeLightbox();
|
|
273
|
+
}}
|
|
270
274
|
role="dialog"
|
|
271
275
|
aria-modal="true"
|
|
272
276
|
aria-label="Image viewer"
|
|
@@ -279,8 +283,15 @@
|
|
|
279
283
|
</svg>
|
|
280
284
|
</button>
|
|
281
285
|
|
|
282
|
-
<!-- svelte-ignore
|
|
283
|
-
<div
|
|
286
|
+
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
|
287
|
+
<div
|
|
288
|
+
class="lightbox-content"
|
|
289
|
+
onclick={(/** @type {MouseEvent} */ e) => e.target === e.currentTarget && closeLightbox()}
|
|
290
|
+
onkeydown={(/** @type {KeyboardEvent} */ e) => {
|
|
291
|
+
if (e.key === 'Escape') closeLightbox();
|
|
292
|
+
if (e.key === 'Enter' || e.key === ' ') closeLightbox();
|
|
293
|
+
}}
|
|
294
|
+
>
|
|
284
295
|
<ZoomableImage
|
|
285
296
|
src={currentImage.url}
|
|
286
297
|
alt={currentImage.alt || `Image ${currentIndex + 1}`}
|
|
@@ -24,10 +24,11 @@
|
|
|
24
24
|
<svelte:window onkeydown={handleKeydown} />
|
|
25
25
|
|
|
26
26
|
{#if isOpen}
|
|
27
|
-
<!-- svelte-ignore
|
|
27
|
+
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
|
28
28
|
<div
|
|
29
29
|
class="lightbox-backdrop"
|
|
30
30
|
onclick={handleBackdropClick}
|
|
31
|
+
onkeydown={handleKeydown}
|
|
31
32
|
role="dialog"
|
|
32
33
|
aria-modal="true"
|
|
33
34
|
aria-label="Image viewer"
|
|
@@ -39,8 +40,12 @@
|
|
|
39
40
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
40
41
|
</svg>
|
|
41
42
|
</button>
|
|
42
|
-
<!-- svelte-ignore
|
|
43
|
-
<div
|
|
43
|
+
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
|
44
|
+
<div
|
|
45
|
+
class="lightbox-content"
|
|
46
|
+
onclick={handleBackdropClick}
|
|
47
|
+
onkeydown={handleKeydown}
|
|
48
|
+
>
|
|
44
49
|
<ZoomableImage {src} {alt} isActive={isOpen} class="lightbox-image" />
|
|
45
50
|
</div>
|
|
46
51
|
<LightboxCaption {caption} />
|
|
@@ -124,11 +124,19 @@
|
|
|
124
124
|
}
|
|
125
125
|
cycleZoom();
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
// Keyboard handler for accessibility
|
|
129
|
+
function handleKeydown(/** @type {KeyboardEvent} */ event) {
|
|
130
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
cycleZoom();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
127
135
|
</script>
|
|
128
136
|
|
|
129
137
|
<svelte:window onmousemove={handleMouseMove} onmouseup={handleMouseUp} />
|
|
130
138
|
|
|
131
|
-
<!-- svelte-ignore
|
|
139
|
+
<!-- svelte-ignore a11y_click_events_have_key_events -->
|
|
132
140
|
<img
|
|
133
141
|
{src}
|
|
134
142
|
{alt}
|
|
@@ -141,8 +149,10 @@
|
|
|
141
149
|
ontouchmove={handleTouchMove}
|
|
142
150
|
ontouchend={handleTouchEnd}
|
|
143
151
|
onclick={handleClick}
|
|
144
|
-
|
|
152
|
+
onkeydown={handleKeydown}
|
|
145
153
|
tabindex="0"
|
|
154
|
+
role="button"
|
|
155
|
+
aria-label="Click to zoom image"
|
|
146
156
|
/>
|
|
147
157
|
|
|
148
158
|
<style>
|
|
@@ -2,18 +2,8 @@ export { default as FontProvider } from './FontProvider.svelte';
|
|
|
2
2
|
export { default as Lexend } from './Lexend.svelte';
|
|
3
3
|
export { default as Atkinson } from './Atkinson.svelte';
|
|
4
4
|
export { default as OpenDyslexic } from './OpenDyslexic.svelte';
|
|
5
|
-
export { default as Luciole } from './Luciole.svelte';
|
|
6
|
-
export { default as Nunito } from './Nunito.svelte';
|
|
7
5
|
export { default as Quicksand } from './Quicksand.svelte';
|
|
8
|
-
export { default as Manrope } from './Manrope.svelte';
|
|
9
|
-
export { default as InstrumentSans } from './InstrumentSans.svelte';
|
|
10
6
|
export { default as PlusJakartaSans } from './PlusJakartaSans.svelte';
|
|
11
|
-
export { default as Cormorant } from './Cormorant.svelte';
|
|
12
|
-
export { default as BodoniModa } from './BodoniModa.svelte';
|
|
13
|
-
export { default as Lora } from './Lora.svelte';
|
|
14
|
-
export { default as EBGaramond } from './EBGaramond.svelte';
|
|
15
|
-
export { default as Merriweather } from './Merriweather.svelte';
|
|
16
|
-
export { default as Fraunces } from './Fraunces.svelte';
|
|
17
7
|
export { default as IBMPlexMono } from './IBMPlexMono.svelte';
|
|
18
8
|
export { default as Cozette } from './Cozette.svelte';
|
|
19
9
|
export { default as Alagard } from './Alagard.svelte';
|
|
@@ -16,20 +16,9 @@ export { default as Lexend } from './Lexend.svelte';
|
|
|
16
16
|
// Accessibility fonts
|
|
17
17
|
export { default as Atkinson } from './Atkinson.svelte';
|
|
18
18
|
export { default as OpenDyslexic } from './OpenDyslexic.svelte';
|
|
19
|
-
|
|
20
|
-
// Modern sans-serif fonts
|
|
21
|
-
export { default as Nunito } from './Nunito.svelte';
|
|
19
|
+
// Sans-serif fonts
|
|
22
20
|
export { default as Quicksand } from './Quicksand.svelte';
|
|
23
|
-
export { default as Manrope } from './Manrope.svelte';
|
|
24
|
-
export { default as InstrumentSans } from './InstrumentSans.svelte';
|
|
25
21
|
export { default as PlusJakartaSans } from './PlusJakartaSans.svelte';
|
|
26
|
-
// Serif fonts
|
|
27
|
-
export { default as Cormorant } from './Cormorant.svelte';
|
|
28
|
-
export { default as BodoniModa } from './BodoniModa.svelte';
|
|
29
|
-
export { default as Lora } from './Lora.svelte';
|
|
30
|
-
export { default as EBGaramond } from './EBGaramond.svelte';
|
|
31
|
-
export { default as Merriweather } from './Merriweather.svelte';
|
|
32
|
-
export { default as Fraunces } from './Fraunces.svelte';
|
|
33
22
|
// Monospace fonts
|
|
34
23
|
export { default as IBMPlexMono } from './IBMPlexMono.svelte';
|
|
35
24
|
export { default as Cozette } from './Cozette.svelte';
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
let {
|
|
12
12
|
title,
|
|
13
13
|
defaultOpen = false,
|
|
14
|
+
open: externalOpen,
|
|
15
|
+
ontoggle,
|
|
14
16
|
children,
|
|
15
17
|
class: className = '',
|
|
16
18
|
...restProps
|
|
@@ -18,8 +20,16 @@
|
|
|
18
20
|
|
|
19
21
|
let isOpen = $state(defaultOpen);
|
|
20
22
|
|
|
23
|
+
// Sync with external open prop if provided
|
|
24
|
+
$effect(() => {
|
|
25
|
+
if (externalOpen !== undefined) {
|
|
26
|
+
isOpen = externalOpen;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
|
|
21
30
|
function toggle() {
|
|
22
31
|
isOpen = !isOpen;
|
|
32
|
+
ontoggle?.();
|
|
23
33
|
}
|
|
24
34
|
</script>
|
|
25
35
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
/** CDN base URL for all font assets */
|
|
8
8
|
export declare const FONT_CDN_BASE = "https://cdn.grove.place/fonts";
|
|
9
9
|
/** Font category for organizing fonts */
|
|
10
|
-
export type FontCategory = "default" | "accessibility" | "sans-serif" | "
|
|
10
|
+
export type FontCategory = "default" | "accessibility" | "sans-serif" | "monospace" | "display";
|
|
11
11
|
/** Font format for @font-face src declarations */
|
|
12
12
|
export type FontFormat = "truetype" | "opentype";
|
|
13
13
|
/** Complete font definition with metadata */
|
package/dist/ui/tokens/fonts.js
CHANGED
|
@@ -61,39 +61,7 @@ export const fonts = [
|
|
|
61
61
|
"sans-serif",
|
|
62
62
|
],
|
|
63
63
|
},
|
|
64
|
-
{
|
|
65
|
-
id: "luciole",
|
|
66
|
-
name: "Luciole",
|
|
67
|
-
file: "Luciole-Regular.ttf",
|
|
68
|
-
format: "truetype",
|
|
69
|
-
fontFamily: "Luciole",
|
|
70
|
-
category: "accessibility",
|
|
71
|
-
description: "French accessibility font designed for visually impaired readers.",
|
|
72
|
-
fallback: [
|
|
73
|
-
"-apple-system",
|
|
74
|
-
"BlinkMacSystemFont",
|
|
75
|
-
"Segoe UI",
|
|
76
|
-
"Roboto",
|
|
77
|
-
"sans-serif",
|
|
78
|
-
],
|
|
79
|
-
},
|
|
80
64
|
// Modern sans-serif fonts
|
|
81
|
-
{
|
|
82
|
-
id: "nunito",
|
|
83
|
-
name: "Nunito",
|
|
84
|
-
file: "Nunito-Regular.ttf",
|
|
85
|
-
format: "truetype",
|
|
86
|
-
fontFamily: "Nunito",
|
|
87
|
-
category: "sans-serif",
|
|
88
|
-
description: "Friendly rounded sans-serif. Warm and approachable.",
|
|
89
|
-
fallback: [
|
|
90
|
-
"-apple-system",
|
|
91
|
-
"BlinkMacSystemFont",
|
|
92
|
-
"Segoe UI",
|
|
93
|
-
"Roboto",
|
|
94
|
-
"sans-serif",
|
|
95
|
-
],
|
|
96
|
-
},
|
|
97
65
|
{
|
|
98
66
|
id: "quicksand",
|
|
99
67
|
name: "Quicksand",
|
|
@@ -110,38 +78,6 @@ export const fonts = [
|
|
|
110
78
|
"sans-serif",
|
|
111
79
|
],
|
|
112
80
|
},
|
|
113
|
-
{
|
|
114
|
-
id: "manrope",
|
|
115
|
-
name: "Manrope",
|
|
116
|
-
file: "Manrope-Regular.ttf",
|
|
117
|
-
format: "truetype",
|
|
118
|
-
fontFamily: "Manrope",
|
|
119
|
-
category: "sans-serif",
|
|
120
|
-
description: "Professional geometric sans. Clean and contemporary.",
|
|
121
|
-
fallback: [
|
|
122
|
-
"-apple-system",
|
|
123
|
-
"BlinkMacSystemFont",
|
|
124
|
-
"Segoe UI",
|
|
125
|
-
"Roboto",
|
|
126
|
-
"sans-serif",
|
|
127
|
-
],
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
id: "instrument-sans",
|
|
131
|
-
name: "Instrument Sans",
|
|
132
|
-
file: "InstrumentSans-Regular.ttf",
|
|
133
|
-
format: "truetype",
|
|
134
|
-
fontFamily: "Instrument Sans",
|
|
135
|
-
category: "sans-serif",
|
|
136
|
-
description: "Low contrast sans with humanist touches. Elegant simplicity.",
|
|
137
|
-
fallback: [
|
|
138
|
-
"-apple-system",
|
|
139
|
-
"BlinkMacSystemFont",
|
|
140
|
-
"Segoe UI",
|
|
141
|
-
"Roboto",
|
|
142
|
-
"sans-serif",
|
|
143
|
-
],
|
|
144
|
-
},
|
|
145
81
|
{
|
|
146
82
|
id: "plus-jakarta-sans",
|
|
147
83
|
name: "Plus Jakarta Sans",
|
|
@@ -158,67 +94,6 @@ export const fonts = [
|
|
|
158
94
|
"sans-serif",
|
|
159
95
|
],
|
|
160
96
|
},
|
|
161
|
-
// Serif fonts
|
|
162
|
-
{
|
|
163
|
-
id: "cormorant",
|
|
164
|
-
name: "Cormorant",
|
|
165
|
-
file: "Cormorant-Regular.ttf",
|
|
166
|
-
format: "truetype",
|
|
167
|
-
fontFamily: "Cormorant",
|
|
168
|
-
category: "serif",
|
|
169
|
-
description: "Elegant display serif inspired by Garamond. Refined and classic.",
|
|
170
|
-
fallback: ["Georgia", "Times New Roman", "serif"],
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
id: "bodoni-moda",
|
|
174
|
-
name: "Bodoni Moda",
|
|
175
|
-
file: "BodoniModa-Regular.ttf",
|
|
176
|
-
format: "truetype",
|
|
177
|
-
fontFamily: "Bodoni Moda",
|
|
178
|
-
category: "serif",
|
|
179
|
-
description: "High contrast modern serif. Bold and sophisticated.",
|
|
180
|
-
fallback: ["Georgia", "Times New Roman", "serif"],
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
id: "lora",
|
|
184
|
-
name: "Lora",
|
|
185
|
-
file: "Lora-Regular.ttf",
|
|
186
|
-
format: "truetype",
|
|
187
|
-
fontFamily: "Lora",
|
|
188
|
-
category: "serif",
|
|
189
|
-
description: "Well-balanced contemporary serif. Excellent for body text.",
|
|
190
|
-
fallback: ["Georgia", "Times New Roman", "serif"],
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
id: "eb-garamond",
|
|
194
|
-
name: "EB Garamond",
|
|
195
|
-
file: "EBGaramond-Regular.ttf",
|
|
196
|
-
format: "truetype",
|
|
197
|
-
fontFamily: "EB Garamond",
|
|
198
|
-
category: "serif",
|
|
199
|
-
description: "Revival of classic Garamond. Timeless book typography.",
|
|
200
|
-
fallback: ["Georgia", "Times New Roman", "serif"],
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
id: "merriweather",
|
|
204
|
-
name: "Merriweather",
|
|
205
|
-
file: "Merriweather-Regular.ttf",
|
|
206
|
-
format: "truetype",
|
|
207
|
-
fontFamily: "Merriweather",
|
|
208
|
-
category: "serif",
|
|
209
|
-
description: "Designed for screen reading. Excellent legibility.",
|
|
210
|
-
fallback: ["Georgia", "Times New Roman", "serif"],
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
id: "fraunces",
|
|
214
|
-
name: "Fraunces",
|
|
215
|
-
file: "Fraunces-Regular.ttf",
|
|
216
|
-
format: "truetype",
|
|
217
|
-
fontFamily: "Fraunces",
|
|
218
|
-
category: "serif",
|
|
219
|
-
description: 'Soft serif with "wonky" optical axes. Warm personality.',
|
|
220
|
-
fallback: ["Georgia", "Times New Roman", "serif"],
|
|
221
|
-
},
|
|
222
97
|
// Monospace fonts
|
|
223
98
|
{
|
|
224
99
|
id: "ibm-plex-mono",
|
|
@@ -335,7 +210,6 @@ export const fontCategoryLabels = {
|
|
|
335
210
|
default: "Default",
|
|
336
211
|
accessibility: "Accessibility",
|
|
337
212
|
"sans-serif": "Sans-Serif",
|
|
338
|
-
serif: "Serif",
|
|
339
213
|
monospace: "Monospace",
|
|
340
214
|
display: "Display & Special",
|
|
341
215
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autumnsgrove/groveengine",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"description": "Multi-tenant blog engine for Grove Platform. Features gutter annotations, markdown editing, magic code auth, and Cloudflare Workers deployment.",
|
|
5
5
|
"author": "AutumnsGrove",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
@@ -158,6 +158,26 @@
|
|
|
158
158
|
"static",
|
|
159
159
|
"!dist/**/*.test.*"
|
|
160
160
|
],
|
|
161
|
+
"scripts": {
|
|
162
|
+
"dev": "vite dev",
|
|
163
|
+
"dev:wrangler": "wrangler pages dev -- vite dev",
|
|
164
|
+
"build": "vite build",
|
|
165
|
+
"build:package": "svelte-kit sync && svelte-package -o dist",
|
|
166
|
+
"package": "svelte-kit sync && svelte-package -o dist",
|
|
167
|
+
"prepublishOnly": "pnpm run package",
|
|
168
|
+
"preview": "vite preview",
|
|
169
|
+
"deploy": "wrangler pages deploy .svelte-kit/cloudflare --project-name groveengine",
|
|
170
|
+
"audit": "pnpm audit --audit-level=moderate",
|
|
171
|
+
"audit:fix": "pnpm audit --fix",
|
|
172
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
173
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
174
|
+
"test": "vitest",
|
|
175
|
+
"test:ui": "vitest --ui",
|
|
176
|
+
"test:run": "vitest run",
|
|
177
|
+
"test:security": "vitest run tests/security",
|
|
178
|
+
"test:coverage": "vitest run --coverage",
|
|
179
|
+
"test:watch": "vitest watch"
|
|
180
|
+
},
|
|
161
181
|
"peerDependencies": {
|
|
162
182
|
"@sveltejs/kit": "^2.0.0",
|
|
163
183
|
"svelte": "^5.0.0",
|
|
@@ -204,24 +224,5 @@
|
|
|
204
224
|
"marked": "^17.0.1",
|
|
205
225
|
"svelte-sonner": "^1.0.7",
|
|
206
226
|
"tailwind-merge": "^3.4.0"
|
|
207
|
-
},
|
|
208
|
-
"scripts": {
|
|
209
|
-
"dev": "vite dev",
|
|
210
|
-
"dev:wrangler": "wrangler pages dev -- vite dev",
|
|
211
|
-
"build": "vite build",
|
|
212
|
-
"build:package": "svelte-kit sync && svelte-package -o dist",
|
|
213
|
-
"package": "svelte-kit sync && svelte-package -o dist",
|
|
214
|
-
"preview": "vite preview",
|
|
215
|
-
"deploy": "wrangler pages deploy .svelte-kit/cloudflare --project-name groveengine",
|
|
216
|
-
"audit": "pnpm audit --audit-level=moderate",
|
|
217
|
-
"audit:fix": "pnpm audit --fix",
|
|
218
|
-
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
219
|
-
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
220
|
-
"test": "vitest",
|
|
221
|
-
"test:ui": "vitest --ui",
|
|
222
|
-
"test:run": "vitest run",
|
|
223
|
-
"test:security": "vitest run tests/security",
|
|
224
|
-
"test:coverage": "vitest run --coverage",
|
|
225
|
-
"test:watch": "vitest watch"
|
|
226
227
|
}
|
|
227
|
-
}
|
|
228
|
+
}
|
package/static/fonts/alagard.ttf
CHANGED
|
File without changes
|
package/LICENSE
DELETED
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
3
|
-
Version 3, 19 November 2007
|
|
4
|
-
|
|
5
|
-
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
6
|
-
Everyone is permitted to copy and distribute verbatim copies
|
|
7
|
-
of this license document, but changing it is not allowed.
|
|
8
|
-
|
|
9
|
-
Preamble
|
|
10
|
-
|
|
11
|
-
The GNU Affero General Public License is a free, copyleft license for
|
|
12
|
-
software and other kinds of works, specifically designed to ensure
|
|
13
|
-
cooperation with the community in the case of network server software.
|
|
14
|
-
|
|
15
|
-
The licenses for most software and other practical works are designed
|
|
16
|
-
to take away your freedom to share and change the works. By contrast,
|
|
17
|
-
our General Public Licenses are intended to guarantee your freedom to
|
|
18
|
-
share and change all versions of a program--to make sure it remains free
|
|
19
|
-
software for all its users.
|
|
20
|
-
|
|
21
|
-
When we speak of free software, we are referring to freedom, not
|
|
22
|
-
price. Our General Public Licenses are designed to make sure that you
|
|
23
|
-
have the freedom to distribute copies of free software (and charge for
|
|
24
|
-
them if you wish), that you receive source code or can get it if you
|
|
25
|
-
want it, that you can change the software or use pieces of it in new
|
|
26
|
-
free programs, and that you know you can do these things.
|
|
27
|
-
|
|
28
|
-
Developers that use our General Public Licenses protect your rights
|
|
29
|
-
with two steps: (1) assert copyright on the software, and (2) offer
|
|
30
|
-
you this License which gives you legal permission to copy, distribute
|
|
31
|
-
and/or modify the software.
|
|
32
|
-
|
|
33
|
-
A secondary benefit of defending all users' freedom is that
|
|
34
|
-
improvements made in alternate versions of the program, if they
|
|
35
|
-
receive widespread use, become available for other developers to
|
|
36
|
-
incorporate. Many developers of free software are heartened and
|
|
37
|
-
encouraged by the resulting cooperation. However, in the case of
|
|
38
|
-
software used on network servers, this result may fail to come about.
|
|
39
|
-
The GNU General Public License permits making a modified version and
|
|
40
|
-
letting the public access it on a server without ever releasing its
|
|
41
|
-
source code to the public.
|
|
42
|
-
|
|
43
|
-
The GNU Affero General Public License is designed specifically to
|
|
44
|
-
ensure that, in such cases, the modified source code becomes available
|
|
45
|
-
to the community. It requires the operator of a network server to
|
|
46
|
-
provide the source code of the modified version running there to the
|
|
47
|
-
users of that server. Therefore, public use of a modified version, on
|
|
48
|
-
a publicly accessible server, gives the public access to the source
|
|
49
|
-
code of the modified version.
|
|
50
|
-
|
|
51
|
-
An older license, called the Affero General Public License and
|
|
52
|
-
published by Affero, was designed to accomplish similar goals. This is
|
|
53
|
-
a different license, not a version of the Affero GPL, but Affero has
|
|
54
|
-
released a new version of the Affero GPL which permits relicensing under
|
|
55
|
-
this license.
|
|
56
|
-
|
|
57
|
-
The precise terms and conditions for copying, distribution and
|
|
58
|
-
modification follow.
|
|
59
|
-
|
|
60
|
-
TERMS AND CONDITIONS
|
|
61
|
-
|
|
62
|
-
0. Definitions.
|
|
63
|
-
|
|
64
|
-
"This License" refers to version 3 of the GNU Affero General Public License.
|
|
65
|
-
|
|
66
|
-
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
67
|
-
works, such as semiconductor masks.
|
|
68
|
-
|
|
69
|
-
"The Program" refers to any copyrightable work licensed under this
|
|
70
|
-
License. Each licensee is addressed as "you". "Licensees" and
|
|
71
|
-
"recipients" may be individuals or organizations.
|
|
72
|
-
|
|
73
|
-
To "modify" a work means to copy from or adapt all or part of the work
|
|
74
|
-
in a fashion requiring copyright permission, other than the making of an
|
|
75
|
-
exact copy. The resulting work is called a "modified version" of the
|
|
76
|
-
earlier work or a work "based on" the earlier work.
|
|
77
|
-
|
|
78
|
-
A "covered work" means either the unmodified Program or a work based
|
|
79
|
-
on the Program.
|
|
80
|
-
|
|
81
|
-
To "propagate" a work means to do anything with it that, without
|
|
82
|
-
permission, would make you directly or secondarily liable for
|
|
83
|
-
infringement under applicable copyright law, except executing it on a
|
|
84
|
-
computer or modifying a private copy. Propagation includes copying,
|
|
85
|
-
distribution (with or without modification), making available to the
|
|
86
|
-
public, and in some countries other activities as well.
|
|
87
|
-
|
|
88
|
-
To "convey" a work means any kind of propagation that enables other
|
|
89
|
-
parties to make or receive copies. Mere interaction with a user through
|
|
90
|
-
a computer network, with no transfer of a copy, is not conveying.
|
|
91
|
-
|
|
92
|
-
An interactive user interface displays "Appropriate Legal Notices"
|
|
93
|
-
to the extent that it includes a convenient and prominently visible
|
|
94
|
-
feature that (a) displays an appropriate copyright notice, and (b)
|
|
95
|
-
tells the user that there is no warranty for the work (except to the
|
|
96
|
-
extent that warranties are provided), that licensees may convey the
|
|
97
|
-
work under this License, and how to view a copy of this License. If
|
|
98
|
-
the interface presents a list of user commands or options, such as a
|
|
99
|
-
menu, a prominent item in the list meets this criterion.
|
|
100
|
-
|
|
101
|
-
1. Source Code.
|
|
102
|
-
|
|
103
|
-
The "source code" for a work means the preferred form of the work
|
|
104
|
-
for making modifications to it. "Object code" means any non-source
|
|
105
|
-
form of a work.
|
|
106
|
-
|
|
107
|
-
A "corresponding source" means the source code for a work in object
|
|
108
|
-
code form. It includes any data and utility programs needed for
|
|
109
|
-
generating, installing, and (for an executable work) running the object
|
|
110
|
-
code and for modifying the work, but excludes the system library of
|
|
111
|
-
general-purpose tools or generally available free programs which are
|
|
112
|
-
used unmodified in performing those activities but which are not part of
|
|
113
|
-
the work. For example, corresponding source includes interface definition
|
|
114
|
-
files associated with source files for the work, and the source code for
|
|
115
|
-
shared libraries and dynamically linked subprograms that the work is
|
|
116
|
-
specifically designed to require, such as by intimate data communication
|
|
117
|
-
or control flow between those subprograms and other parts of the work.
|
|
118
|
-
|
|
119
|
-
The corresponding source need not include anything that users
|
|
120
|
-
can regenerate automatically from other parts of the corresponding
|
|
121
|
-
source.
|
|
122
|
-
|
|
123
|
-
The corresponding source for a work in source code form is that
|
|
124
|
-
same work.
|
|
125
|
-
|
|
126
|
-
2. Basic Permissions.
|
|
127
|
-
|
|
128
|
-
All rights granted under this License are granted for the term of
|
|
129
|
-
copyright on the Program, and are irrevocable provided the stated
|
|
130
|
-
conditions are met. This License explicitly affirms your unlimited
|
|
131
|
-
permission to run the unmodified Program. The output from running a
|
|
132
|
-
covered work is covered by this License only if the output, given its
|
|
133
|
-
content, constitutes a covered work. This License acknowledges your
|
|
134
|
-
rights of fair use or other equivalent, as provided by copyright law.
|
|
135
|
-
|
|
136
|
-
You may make, run and propagate covered works that you do not
|
|
137
|
-
convey, without conditions so long as your license remains in force.
|
|
138
|
-
You may convey covered works to others for the sole purpose of having
|
|
139
|
-
them make modifications exclusively for you, or provide you with
|
|
140
|
-
facilities for running those works, provided that you comply with the
|
|
141
|
-
terms of this License in conveying all material for which you do not
|
|
142
|
-
control copyright. Those thus making or running the covered works for
|
|
143
|
-
you must do so exclusively on your behalf, under your direction and
|
|
144
|
-
control, on terms that prohibit them from making any copies of your
|
|
145
|
-
copyrighted material outside their relationship with you.
|
|
146
|
-
|
|
147
|
-
Conveying under any other circumstances is permitted solely under
|
|
148
|
-
the conditions stated below. Sublicensing is not allowed; section 10
|
|
149
|
-
makes it unnecessary.
|
|
150
|
-
|
|
151
|
-
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
152
|
-
|
|
153
|
-
No covered work shall be deemed part of an effective technological
|
|
154
|
-
measure under any applicable law fulfilling obligations under article
|
|
155
|
-
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
156
|
-
similar laws prohibiting or restricting circumvention of such
|
|
157
|
-
measures.
|
|
158
|
-
|
|
159
|
-
When you convey a covered work, you waive any legal power to forbid
|
|
160
|
-
circumvention of technological measures to the extent such circumvention
|
|
161
|
-
is effected by exercising rights under this License with respect to
|
|
162
|
-
the covered work, and you disclaim any intention to limit operation or
|
|
163
|
-
modification of the work as a means of enforcing, against the work's
|
|
164
|
-
users, your or third parties' legal rights to forbid circumvention of
|
|
165
|
-
technological measures.
|
|
166
|
-
|
|
167
|
-
4. Conveying Verbatim Copies.
|
|
168
|
-
|
|
169
|
-
You may convey verbatim copies of the Program's source code as you
|
|
170
|
-
receive it, in any medium, provided that you conspicuously and
|
|
171
|
-
appropriately publish on each copy an appropriate copyright notice;
|
|
172
|
-
keep intact all notices stating that this License and any
|
|
173
|
-
non-permissive terms added in accord with section 7 apply to the code;
|
|
174
|
-
keep intact all notices of the absence of any warranty; and give all
|
|
175
|
-
recipients a copy of this License along with the Program.
|
|
176
|
-
|
|
177
|
-
You may charge any price or no price for each copy that you convey,
|
|
178
|
-
and you may offer support or warranty protection for a fee.
|
|
179
|
-
|
|
180
|
-
5. Conveying Modified Source Versions.
|
|
181
|
-
|
|
182
|
-
You may convey a work based on the Program, or the modifications to
|
|
183
|
-
produce it from the Program, in the form of source code under the
|
|
184
|
-
terms of section 4, provided that you also meet all of these conditions:
|
|
185
|
-
|
|
186
|
-
a) The work must carry prominent notices stating that you modified
|
|
187
|
-
it, and giving a relevant date.
|
|
188
|
-
|
|
189
|
-
b) The work must carry prominent notices stating that it is
|
|
190
|
-
released under this License and any conditions added under section
|
|
191
|
-
7. This requirement modifies the requirement in section 4 to
|
|
192
|
-
"keep intact all notices".
|
|
193
|
-
|
|
194
|
-
c) You must license the entire work, as a whole, under this
|
|
195
|
-
License to anyone who comes into possession of a copy. This
|
|
196
|
-
License will therefore apply, along with any applicable section 7
|
|
197
|
-
additional terms, to the whole of the work, and all its parts,
|
|
198
|
-
regardless of how they are packaged. This License gives no
|
|
199
|
-
permission to license the work in any other way, but it does not
|
|
200
|
-
invalidate such permission if you have separately received it.
|
|
201
|
-
|
|
202
|
-
d) If the work has interactive user interfaces, each must display
|
|
203
|
-
Appropriate Legal Notices; however, if the Program has interactive
|
|
204
|
-
interfaces that do not display Appropriate Legal Notices, your
|
|
205
|
-
work need not make them do so.
|
|
206
|
-
|
|
207
|
-
A compilation of a covered work with other separate and independent
|
|
208
|
-
works, which are not by their nature extensions of the covered work,
|
|
209
|
-
and which are not combined with it such as to form a larger program,
|
|
210
|
-
in or on a volume of a storage or distribution medium, is called an
|
|
211
|
-
"aggregate" if the compilation and its resulting copyright are not
|
|
212
|
-
used to limit the access or legal rights of the compilation's users
|
|
213
|
-
beyond what the individual works permit. Inclusion of a covered work
|
|
214
|
-
in an aggregate does not cause this License to apply to the other
|
|
215
|
-
parts of the aggregate.
|
|
216
|
-
|
|
217
|
-
6. Conveying Non-Source Forms.
|
|
218
|
-
|
|
219
|
-
You may convey a covered work in object code form under the terms
|
|
220
|
-
of sections 4 and 5, provided that you also convey the
|
|
221
|
-
machine-readable Corresponding Source under the terms of this License,
|
|
222
|
-
in one of these ways:
|
|
223
|
-
|
|
224
|
-
a) Convey the object code in, or embodied in, a physical product
|
|
225
|
-
(including a physical distribution medium), accompanied by the
|
|
226
|
-
Corresponding Source fixed on a durable physical medium
|
|
227
|
-
customarily used for software interchange.
|
|
228
|
-
|
|
229
|
-
b) Convey the object code in, or embodied in, a physical product
|
|
230
|
-
(including a physical distribution medium), accompanied by a
|
|
231
|
-
written offer, valid for at least three years and valid for as
|
|
232
|
-
long as you offer spare parts or customer support for that product
|
|
233
|
-
model, to give anyone who possesses the object code either (1) a
|
|
234
|
-
copy of the Corresponding Source for all the software in the
|
|
235
|
-
product that is covered by this License, on a durable physical
|
|
236
|
-
medium customarily used for software interchange, for a price no
|
|
237
|
-
more than your reasonable cost of physically performing this
|
|
238
|
-
conveying, or (2) access to copy the Corresponding Source from a
|
|
239
|
-
network server at no charge.
|
|
240
|
-
|
|
241
|
-
c) Convey individual copies of the object code with a copy of the
|
|
242
|
-
written offer to provide the Corresponding Source. This
|
|
243
|
-
alternative is allowed only occasionally and noncommercially, and
|
|
244
|
-
only if you received the object code with such an offer, in accord
|
|
245
|
-
with subsection 6b.
|
|
246
|
-
|
|
247
|
-
d) Convey the object code by offering access from a designated
|
|
248
|
-
place (gratis or for a charge), and offer equivalent access to the
|
|
249
|
-
Corresponding Source in the same way through the same place at no
|
|
250
|
-
further charge. You need not require recipients to copy the
|
|
251
|
-
Corresponding Source along with the object code. If the place to
|
|
252
|
-
copy the object code is a network server, the Corresponding Source
|
|
253
|
-
may be on a different server (operated by you or a third party)
|
|
254
|
-
that supports equivalent copying facilities, provided you maintain
|
|
255
|
-
clear directions next to the object code saying where to find the
|
|
256
|
-
Corresponding Source. Regardless of what server hosts the
|
|
257
|
-
Corresponding Source, you remain obligated to ensure that it is
|
|
258
|
-
available for as long as needed to satisfy these requirements.
|
|
259
|
-
|
|
260
|
-
e) Convey the object code using peer-to-peer transmission, provided
|
|
261
|
-
you inform other peers where the object code and Corresponding
|
|
262
|
-
Source of the work are being offered to the general public at no
|
|
263
|
-
charge under subsection 6d.
|
|
264
|
-
|
|
265
|
-
A separable portion of the object code, whose source code is excluded
|
|
266
|
-
from the Corresponding Source as a Library, need not be included in
|
|
267
|
-
conveying the object code work.
|
|
268
|
-
|
|
269
|
-
7. Additional Terms.
|
|
270
|
-
|
|
271
|
-
"Additional permissions" are terms that supplement the terms of this
|
|
272
|
-
License by making exceptions from one or more of its conditions.
|
|
273
|
-
Additional permissions that are applicable to the entire Program shall
|
|
274
|
-
be treated as though they were included in this License, to the extent
|
|
275
|
-
that they are valid under applicable law. If additional permissions
|
|
276
|
-
apply only to part of the Program, that part may be used separately
|
|
277
|
-
under those permissions, but the entire Program remains governed by
|
|
278
|
-
this License without regard to the additional permissions.
|
|
279
|
-
|
|
280
|
-
When you convey a copy of a covered work, you may at your option
|
|
281
|
-
remove any additional permissions from that copy, or from any part of
|
|
282
|
-
it. (Additional permissions placed by the licensee are void if they
|
|
283
|
-
affect the licensee's obligations under this License, so they may be
|
|
284
|
-
removed.)
|
|
285
|
-
|
|
286
|
-
You may place additional permissions on material, added by you to a
|
|
287
|
-
covered work, for which you have or can give appropriate copyright
|
|
288
|
-
permission.
|
|
289
|
-
|
|
290
|
-
Notwithstanding any other provision of this License, for material you
|
|
291
|
-
add to a covered work, you may (if authorized by the copyright holders of
|
|
292
|
-
that material) supplement the terms of this License with terms:
|
|
293
|
-
|
|
294
|
-
a) Disclaiming warranty or limiting liability differently from the
|
|
295
|
-
terms of sections 15 and 16 of this License; or
|
|
296
|
-
|
|
297
|
-
b) Requiring preservation of specified reasonable legal notices or
|
|
298
|
-
author attributions in that material or in the Appropriate Legal
|
|
299
|
-
Notices displayed by works containing it; or
|
|
300
|
-
|
|
301
|
-
c) Prohibiting misrepresentation of the origin of that material, or
|
|
302
|
-
requiring that modified versions of such material be marked in
|
|
303
|
-
reasonable ways as different from the original version; or
|
|
304
|
-
|
|
305
|
-
d) Limiting the use for publicity purposes of names of licensors or
|
|
306
|
-
authors of the material; or
|
|
307
|
-
|
|
308
|
-
e) Declining to grant rights under trademark law for use of some
|
|
309
|
-
trade names, trademarks, or service marks; or
|
|
310
|
-
|
|
311
|
-
f) Requiring indemnification of licensors and authors of that
|
|
312
|
-
material by anyone who conveys the material (or modified versions of
|
|
313
|
-
it) with contractual assumptions of liability to the recipient, for
|
|
314
|
-
any liability that these contractual assumptions directly impose on
|
|
315
|
-
those licensors and authors.
|
|
316
|
-
|
|
317
|
-
All other non-permissive additional terms are considered "further
|
|
318
|
-
restrictions" within the meaning of section 10. If the Program as you
|
|
319
|
-
received it, or any part of it, contains a notice stating that it is
|
|
320
|
-
governed by this License along with a term that is a further
|
|
321
|
-
restriction, you may remove that term. If a license document contains
|
|
322
|
-
a further restriction but permits relicensing or conveying under this
|
|
323
|
-
License, you may act as if that further restriction does not exist in
|
|
324
|
-
relating to the Program or any part thereof.
|
|
325
|
-
|
|
326
|
-
8. Termination.
|
|
327
|
-
|
|
328
|
-
You may not propagate or modify a covered work except as expressly
|
|
329
|
-
provided under this License. Any attempt otherwise to propagate or
|
|
330
|
-
modify it is void, and will automatically terminate your rights under
|
|
331
|
-
this License (including any patent licenses granted under the third
|
|
332
|
-
paragraph of section 11).
|
|
333
|
-
|
|
334
|
-
However, if you cease all violation of this License, then your
|
|
335
|
-
license from a particular copyright holder is reinstated (a)
|
|
336
|
-
provisionally, unless and until the copyright holder explicitly and
|
|
337
|
-
finally terminates your license, and (b) permanently, if the copyright
|
|
338
|
-
holder fails to notify you of the violation by some reasonable means
|
|
339
|
-
prior to 60 days after the cessation.
|
|
340
|
-
|
|
341
|
-
Moreover, your license from a particular copyright holder is
|
|
342
|
-
reinstated permanently if the copyright holder notifies you of the
|
|
343
|
-
violation by some reasonable means, this is the first time you have
|
|
344
|
-
received notice of violation of this License (for any work) from that
|
|
345
|
-
copyright holder, and you cure the violation prior to 30 days after
|
|
346
|
-
your receipt of the notice.
|
|
347
|
-
|
|
348
|
-
Termination of your rights under this section does not terminate the
|
|
349
|
-
licenses of parties who have received copies or rights from you under
|
|
350
|
-
this License. If your rights have been terminated and not permanently
|
|
351
|
-
reinstated, you do not qualify to receive new licenses for the same
|
|
352
|
-
material under section 10.
|
|
353
|
-
|
|
354
|
-
9. Acceptance Not Required for Having Copies.
|
|
355
|
-
|
|
356
|
-
You are not required to accept this License in order to receive or
|
|
357
|
-
run a copy of the Program. Ancillary propagation of a covered work
|
|
358
|
-
occurring solely as a consequence of using peer-to-peer transmission
|
|
359
|
-
to receive a copy likewise does not require acceptance. However,
|
|
360
|
-
nothing other than this License grants you permission to propagate or
|
|
361
|
-
modify any covered work. These actions infringe copyright if you do
|
|
362
|
-
not accept this License.
|
|
363
|
-
|
|
364
|
-
10. Automatic Licensing of Downstream Recipients.
|
|
365
|
-
|
|
366
|
-
Each time you convey a covered work, the recipient automatically
|
|
367
|
-
receives a license from the original licensors to run, modify and
|
|
368
|
-
propagate that work, subject to this License. You are not responsible
|
|
369
|
-
for enforcing compliance by third parties with this License.
|
|
370
|
-
|
|
371
|
-
An "entity transaction" is a transaction transferring control of an
|
|
372
|
-
organization, or substantially all assets of one, or subdividing an
|
|
373
|
-
organization, or merging organizations. If propagation of a covered
|
|
374
|
-
work results from an entity transaction, each party to that
|
|
375
|
-
transaction who receives a copy of the work also receives whatever
|
|
376
|
-
licenses to the work the party's predecessor in interest had or could
|
|
377
|
-
give under the previous paragraph, plus a right to possession of the
|
|
378
|
-
Corresponding Source of the work
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="bodoni-moda" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const BodoniModa: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type BodoniModa = ReturnType<typeof BodoniModa>;
|
|
10
|
-
export default BodoniModa;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="cormorant" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const Cormorant: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type Cormorant = ReturnType<typeof Cormorant>;
|
|
10
|
-
export default Cormorant;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="eb-garamond" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const EBGaramond: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type EBGaramond = ReturnType<typeof EBGaramond>;
|
|
10
|
-
export default EBGaramond;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="fraunces" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const Fraunces: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type Fraunces = ReturnType<typeof Fraunces>;
|
|
10
|
-
export default Fraunces;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="instrument-sans" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const InstrumentSans: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type InstrumentSans = ReturnType<typeof InstrumentSans>;
|
|
10
|
-
export default InstrumentSans;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="lora" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const Lora: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type Lora = ReturnType<typeof Lora>;
|
|
10
|
-
export default Lora;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="luciole" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const Luciole: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type Luciole = ReturnType<typeof Luciole>;
|
|
10
|
-
export default Luciole;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="manrope" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const Manrope: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type Manrope = ReturnType<typeof Manrope>;
|
|
10
|
-
export default Manrope;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="merriweather" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const Merriweather: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type Merriweather = ReturnType<typeof Merriweather>;
|
|
10
|
-
export default Merriweather;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import FontProvider from './FontProvider.svelte';
|
|
4
|
-
|
|
5
|
-
interface Props {
|
|
6
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
7
|
-
class?: string;
|
|
8
|
-
style?: string;
|
|
9
|
-
children: Snippet;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
let { as = 'span', class: className = '', style = '', children }: Props = $props();
|
|
13
|
-
</script>
|
|
14
|
-
|
|
15
|
-
<FontProvider font="nunito" {as} class={className} {style}>
|
|
16
|
-
{@render children()}
|
|
17
|
-
</FontProvider>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from 'svelte';
|
|
2
|
-
interface Props {
|
|
3
|
-
as?: 'span' | 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'pre' | 'article' | 'section';
|
|
4
|
-
class?: string;
|
|
5
|
-
style?: string;
|
|
6
|
-
children: Snippet;
|
|
7
|
-
}
|
|
8
|
-
declare const Nunito: import("svelte").Component<Props, {}, "">;
|
|
9
|
-
type Nunito = ReturnType<typeof Nunito>;
|
|
10
|
-
export default Nunito;
|