@autumnsgrove/groveengine 0.8.0 → 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.
Files changed (76) hide show
  1. package/dist/components/OnboardingChecklist.svelte +2 -2
  2. package/dist/components/WispButton.svelte +83 -0
  3. package/dist/components/WispButton.svelte.d.ts +49 -0
  4. package/dist/components/WispPanel.svelte +1092 -0
  5. package/dist/components/WispPanel.svelte.d.ts +49 -0
  6. package/dist/components/custom/ContentWithGutter.svelte +7 -13
  7. package/dist/components/custom/TableOfContents.svelte +12 -1
  8. package/dist/components/quota/UpgradePrompt.svelte +1 -0
  9. package/dist/config/wisp.d.ts +145 -0
  10. package/dist/config/wisp.js +175 -0
  11. package/dist/index.d.ts +2 -0
  12. package/dist/index.js +3 -0
  13. package/dist/server/inference-client.d.ts +139 -0
  14. package/dist/server/inference-client.js +294 -0
  15. package/dist/ui/components/forms/SearchInput.svelte +0 -1
  16. package/dist/ui/components/gallery/ImageGallery.svelte +14 -3
  17. package/dist/ui/components/gallery/Lightbox.svelte +8 -3
  18. package/dist/ui/components/gallery/ZoomableImage.svelte +12 -2
  19. package/dist/ui/components/nature/Logo.svelte +55 -19
  20. package/dist/ui/components/nature/botanical/LeafFalling.svelte +2 -2
  21. package/dist/ui/components/nature/botanical/PetalFalling.svelte +7 -7
  22. package/dist/ui/components/nature/ground/Crocus.svelte +3 -3
  23. package/dist/ui/components/nature/ground/Daffodil.svelte +3 -3
  24. package/dist/ui/components/nature/ground/Tulip.svelte +5 -5
  25. package/dist/ui/components/nature/palette.d.ts +187 -76
  26. package/dist/ui/components/nature/palette.js +169 -81
  27. package/dist/ui/components/nature/trees/TreeCherry.svelte +3 -3
  28. package/dist/ui/components/nature/trees/TreeCherry.svelte.d.ts +1 -1
  29. package/dist/ui/components/nature/trees/TreePine.svelte +2 -2
  30. package/dist/ui/components/nature/trees/TreePine.svelte.d.ts +1 -1
  31. package/dist/ui/components/primitives/textarea/textarea.svelte +1 -1
  32. package/dist/ui/components/typography/Alagard.svelte +17 -0
  33. package/dist/ui/components/typography/Alagard.svelte.d.ts +10 -0
  34. package/dist/ui/components/typography/Atkinson.svelte +17 -0
  35. package/dist/ui/components/typography/Atkinson.svelte.d.ts +10 -0
  36. package/dist/ui/components/typography/Calistoga.svelte +17 -0
  37. package/dist/ui/components/typography/Calistoga.svelte.d.ts +10 -0
  38. package/dist/ui/components/typography/Caveat.svelte +17 -0
  39. package/dist/ui/components/typography/Caveat.svelte.d.ts +10 -0
  40. package/dist/ui/components/typography/Cozette.svelte +17 -0
  41. package/dist/ui/components/typography/Cozette.svelte.d.ts +10 -0
  42. package/dist/ui/components/typography/FontProvider.svelte +98 -0
  43. package/dist/ui/components/typography/FontProvider.svelte.d.ts +17 -0
  44. package/dist/ui/components/typography/IBMPlexMono.svelte +17 -0
  45. package/dist/ui/components/typography/IBMPlexMono.svelte.d.ts +10 -0
  46. package/dist/ui/components/typography/Lexend.svelte +17 -0
  47. package/dist/ui/components/typography/Lexend.svelte.d.ts +10 -0
  48. package/dist/ui/components/typography/OpenDyslexic.svelte +17 -0
  49. package/dist/ui/components/typography/OpenDyslexic.svelte.d.ts +10 -0
  50. package/dist/ui/components/typography/PlusJakartaSans.svelte +17 -0
  51. package/dist/ui/components/typography/PlusJakartaSans.svelte.d.ts +10 -0
  52. package/dist/ui/components/typography/Quicksand.svelte +17 -0
  53. package/dist/ui/components/typography/Quicksand.svelte.d.ts +10 -0
  54. package/dist/ui/components/typography/README.md +153 -0
  55. package/dist/ui/components/typography/index.d.ts +13 -0
  56. package/dist/ui/components/typography/index.js +31 -0
  57. package/dist/ui/components/ui/CollapsibleSection.svelte +10 -0
  58. package/dist/ui/components/ui/GlassCarousel.svelte +446 -0
  59. package/dist/ui/components/ui/GlassCarousel.svelte.d.ts +57 -0
  60. package/dist/ui/components/ui/GlassConfirmDialog.svelte +2 -1
  61. package/dist/ui/components/ui/GlassLogo.svelte +2 -1
  62. package/dist/ui/components/ui/GlassOverlay.svelte +1 -1
  63. package/dist/ui/components/ui/index.d.ts +1 -0
  64. package/dist/ui/components/ui/index.js +1 -0
  65. package/dist/ui/index.d.ts +1 -0
  66. package/dist/ui/index.js +2 -0
  67. package/dist/ui/tokens/fonts.d.ts +1 -1
  68. package/dist/ui/tokens/fonts.js +0 -126
  69. package/dist/ui/vineyard/index.d.ts +9 -0
  70. package/dist/ui/vineyard/index.js +8 -0
  71. package/dist/utils/csrf.js +5 -2
  72. package/dist/utils/readability.d.ts +89 -0
  73. package/dist/utils/readability.js +204 -0
  74. package/package.json +38 -21
  75. package/static/fonts/alagard.ttf +0 -0
  76. package/LICENSE +0 -378
@@ -65,32 +65,67 @@ export declare const natural: {
65
65
  readonly birchWhite: "#f5f5f0";
66
66
  };
67
67
  /**
68
- * Spring colors - fresh growth and renewal
69
- * Bright yellow-greens of new leaves, soft pastels of early blooms.
70
- * Organized dark-to-light for depth layering (darker = far, brighter = near).
71
- * Spring feels lighter and more pastel than the saturated summer greens.
68
+ * Spring foliage - fresh yellow-green growth
69
+ * The distinctive bright yellow-green of new spring leaves.
70
+ * Organized dark-to-light for depth layering.
72
71
  */
73
- export declare const spring: {
72
+ export declare const springFoliage: {
74
73
  readonly sprout: "#65a30d";
75
74
  readonly newLeaf: "#84cc16";
76
75
  readonly freshGreen: "#a3e635";
77
76
  readonly budding: "#bef264";
78
77
  readonly tender: "#d9f99d";
79
- readonly clearSky: "#7dd3fc";
80
- readonly softSky: "#bae6fd";
78
+ };
79
+ /**
80
+ * Spring sky colors
81
+ * Clear, bright spring atmosphere.
82
+ */
83
+ export declare const springSky: {
84
+ readonly clear: "#7dd3fc";
85
+ readonly soft: "#bae6fd";
86
+ };
87
+ /**
88
+ * Wildflowers - spring and general meadow flowers
89
+ * Unified wildflower palette for all seasons.
90
+ * Used for spring wildflowers and general meadow accents.
91
+ */
92
+ export declare const wildflowers: {
81
93
  readonly buttercup: "#facc15";
82
94
  readonly daffodil: "#fde047";
83
95
  readonly crocus: "#a78bfa";
84
- readonly lilac: "#c4b5fd";
96
+ readonly violet: "#8b5cf6";
97
+ readonly purple: "#a855f7";
98
+ readonly lavender: "#c4b5fd";
85
99
  readonly tulipPink: "#f9a8d4";
86
100
  readonly tulipRed: "#fb7185";
87
- readonly hillDeep: "#166534";
88
- readonly hillMid: "#22c55e";
89
- readonly hillNear: "#86efac";
90
- readonly hillFront: "#bbf7d0";
101
+ readonly white: "#fefefe";
102
+ };
103
+ /**
104
+ * Cherry blossoms - standard summer/default
105
+ * Used for cherry trees during summer.
106
+ * Pink blooms from dense to pale.
107
+ */
108
+ export declare const cherryBlossoms: {
109
+ readonly deep: "#db2777";
110
+ readonly standard: "#ec4899";
111
+ readonly light: "#f472b6";
112
+ readonly pale: "#f9a8d4";
113
+ readonly falling: "#fbcfe8";
114
+ };
115
+ /**
116
+ * Cherry blossoms peak bloom - vibrant spring version
117
+ * Extra saturated for spring when cherry blossoms are at their most beautiful.
118
+ * One shade brighter than standard cherryBlossoms.
119
+ */
120
+ export declare const cherryBlossomsPeak: {
121
+ readonly deep: "#ec4899";
122
+ readonly standard: "#f472b6";
123
+ readonly light: "#f9a8d4";
124
+ readonly pale: "#fbcfe8";
125
+ readonly falling: "#fce7f3";
91
126
  };
92
127
  /**
93
- * Autumn/Fall colors
128
+ * Autumn/Fall foliage colors
94
129
  * Replaces greens for deciduous trees during autumn season.
95
130
  * Organized warm-to-bright for depth layering (dark rust = far, bright gold = near).
96
131
  * Aspen and birch use gold/honey for their signature golden fall color.
@@ -104,18 +139,6 @@ export declare const autumn: {
104
139
  readonly honey: "#facc15";
105
140
  readonly straw: "#fde047";
106
141
  };
107
- /**
108
- * Cherry blossom pinks (spring/summer)
109
- * Used for cherry trees during spring bloom.
110
- * In autumn, cherry trees switch to autumnReds to mimic real cherry leaf color change.
111
- */
112
- export declare const pinks: {
113
- readonly deepPink: "#db2777";
114
- readonly pink: "#ec4899";
115
- readonly rose: "#f472b6";
116
- readonly blush: "#f9a8d4";
117
- readonly palePink: "#fbcfe8";
118
- };
119
142
  /**
120
143
  * Autumn reds for cherry/maple foliage
121
144
  * Cherry trees don't just lose pink - they turn red/crimson in fall.
@@ -153,7 +176,7 @@ export declare const winter: {
153
176
  };
154
177
  /**
155
178
  * Accent colors for specific components
156
- * Each category gets 1-2 unique colors that don't fit the main palettes.
179
+ * Each category gets unique colors that don't fit the main palettes.
157
180
  * These add visual interest without breaking the natural cohesion.
158
181
  */
159
182
  export declare const accents: {
@@ -165,11 +188,20 @@ export declare const accents: {
165
188
  readonly spots: "#fefefe";
166
189
  readonly gill: "#fde8e8";
167
190
  };
168
- /** Wildflower accents - purple/violet break from green monotony */
191
+ /**
192
+ * @deprecated Use the top-level `wildflowers` export instead. Will be removed in v1.0.
193
+ *
194
+ * Historical context: Flower colors were originally split between two places:
195
+ * - `spring` palette had wildflower accents (crocus, lilac, tulips, buttercup, daffodil)
196
+ * - `accents.flower` had generic flower colors (purple, violet, yellow, white, lavender)
197
+ *
198
+ * This caused confusion and duplicate values. Now unified in the top-level `wildflowers`
199
+ * palette which contains all meadow flower colors in one place.
200
+ */
169
201
  readonly flower: {
170
202
  readonly purple: "#a855f7";
171
203
  readonly violet: "#8b5cf6";
172
- readonly yellow: "#fbbf24";
204
+ readonly yellow: "#facc15";
173
205
  readonly white: "#fefefe";
174
206
  readonly lavender: "#c4b5fd";
175
207
  };
@@ -220,6 +252,19 @@ export declare const accents: {
220
252
  readonly bluebirdBreast: "#ea580c";
221
253
  };
222
254
  };
255
+ /**
256
+ * Midnight Bloom - the far vision
257
+ * A late-night tea café palette: deep plums, warm amber, soft golds.
258
+ * Used for the Midnight Bloom section of the roadmap and future theming.
259
+ */
260
+ export declare const midnightBloom: {
261
+ readonly deepPlum: "#581c87";
262
+ readonly purple: "#7c3aed";
263
+ readonly violet: "#8b5cf6";
264
+ readonly amber: "#f59e0b";
265
+ readonly warmCream: "#fef3c7";
266
+ readonly softGold: "#fcd34d";
267
+ };
223
268
  /** Supported seasons for seasonal color switching */
224
269
  export type Season = 'spring' | 'summer' | 'autumn' | 'winter';
225
270
  /**
@@ -228,7 +273,7 @@ export type Season = 'spring' | 'summer' | 'autumn' | 'winter';
228
273
  * Spring uses bright yellow-greens of new growth.
229
274
  * Autumn uses warm oranges and golds.
230
275
  * In winter, returns frosted evergreen colors (for pines that keep needles).
231
- * @example getSeasonalGreens('spring') // returns spring palette greens
276
+ * @example getSeasonalGreens('spring') // returns spring foliage mapped to greens structure
232
277
  * @example getSeasonalGreens('autumn') // returns autumn palette
233
278
  */
234
279
  export declare function getSeasonalGreens(season?: Season): {
@@ -264,28 +309,16 @@ export declare function getSeasonalGreens(season?: Season): {
264
309
  mint: "#4a6355";
265
310
  pale: "#4a6355";
266
311
  };
267
- /**
268
- * Spring cherry blossom colors - extra vibrant for peak bloom
269
- * Spring is when cherry blossoms are at their most beautiful.
270
- * Slightly brighter and more saturated than the standard pinks.
271
- */
272
- export declare const springBlossoms: {
273
- readonly deepPink: "#ec4899";
274
- readonly pink: "#f472b6";
275
- readonly rose: "#f9a8d4";
276
- readonly blush: "#fbcfe8";
277
- readonly palePink: "#fce7f3";
278
- };
279
312
  /**
280
313
  * Get cherry tree colors based on season
281
314
  * Spring: Extra vibrant pink blossoms (peak bloom!)
282
315
  * Summer: Standard pink blossoms
283
316
  * Autumn: Turn red/crimson like real cherry leaves
284
317
  * Winter: Bare (no blossoms)
285
- * @example getCherryColors('spring') // returns springBlossoms (vibrant)
318
+ * @example getCherryColors('spring') // returns cherryBlossomsPeak (vibrant)
286
319
  * @example getCherryColors('autumn') // returns autumnReds palette
287
320
  */
288
- export declare function getCherryColors(season?: Season): typeof pinks | typeof autumnReds | typeof springBlossoms | null;
321
+ export declare function getCherryColors(season?: Season): typeof cherryBlossoms | typeof autumnReds | typeof cherryBlossomsPeak | null;
289
322
  /**
290
323
  * Check if a tree should be bare (no foliage) based on season
291
324
  * Deciduous trees lose leaves in winter.
@@ -304,17 +337,50 @@ export declare function pickRandom<T extends Record<string, string>>(palette: T)
304
337
  */
305
338
  export declare function pickFrom<T extends Record<string, string>>(palette: T, keys: (keyof T)[]): string;
306
339
  /**
307
- * Midnight Bloom - the far vision
308
- * A late-night tea café palette: deep plums, warm amber, soft golds.
309
- * Used for the Midnight Bloom section of the roadmap and future theming.
340
+ * @deprecated Use `cherryBlossoms` instead. Will be removed in v1.0.
341
+ * Alias for backward compatibility with components using 'pinks'.
310
342
  */
311
- export declare const midnightBloom: {
312
- readonly deepPlum: "#581c87";
313
- readonly purple: "#7c3aed";
314
- readonly violet: "#8b5cf6";
315
- readonly amber: "#f59e0b";
316
- readonly warmCream: "#fef3c7";
317
- readonly softGold: "#fcd34d";
343
+ export declare const pinks: {
344
+ readonly deepPink: "#db2777";
345
+ readonly pink: "#ec4899";
346
+ readonly rose: "#f472b6";
347
+ readonly blush: "#f9a8d4";
348
+ readonly palePink: "#fbcfe8";
349
+ };
350
+ /**
351
+ * @deprecated Use `cherryBlossomsPeak` instead. Will be removed in v1.0.
352
+ * Alias for backward compatibility with components using 'springBlossoms'.
353
+ */
354
+ export declare const springBlossoms: {
355
+ readonly deepPink: "#ec4899";
356
+ readonly pink: "#f472b6";
357
+ readonly rose: "#f9a8d4";
358
+ readonly blush: "#fbcfe8";
359
+ readonly palePink: "#fce7f3";
360
+ };
361
+ /**
362
+ * @deprecated Use `springFoliage`, `wildflowers`, `springSky` instead. Will be removed in v1.0.
363
+ * Combined spring palette for backward compatibility.
364
+ * New code should import the specific palettes directly.
365
+ */
366
+ export declare const spring: {
367
+ readonly sprout: "#65a30d";
368
+ readonly newLeaf: "#84cc16";
369
+ readonly freshGreen: "#a3e635";
370
+ readonly budding: "#bef264";
371
+ readonly tender: "#d9f99d";
372
+ readonly clearSky: "#7dd3fc";
373
+ readonly softSky: "#bae6fd";
374
+ readonly buttercup: "#facc15";
375
+ readonly daffodil: "#fde047";
376
+ readonly crocus: "#a78bfa";
377
+ readonly lilac: "#c4b5fd";
378
+ readonly tulipPink: "#f9a8d4";
379
+ readonly tulipRed: "#fb7185";
380
+ readonly hillDeep: "#166534";
381
+ readonly hillMid: "#22c55e";
382
+ readonly hillNear: "#86efac";
383
+ readonly hillFront: "#bbf7d0";
318
384
  };
319
385
  export declare const naturePalette: {
320
386
  readonly greens: {
@@ -348,31 +414,41 @@ export declare const naturePalette: {
348
414
  readonly mushroom: "#d4c8be";
349
415
  readonly birchWhite: "#f5f5f0";
350
416
  };
351
- readonly spring: {
417
+ readonly springFoliage: {
352
418
  readonly sprout: "#65a30d";
353
419
  readonly newLeaf: "#84cc16";
354
420
  readonly freshGreen: "#a3e635";
355
421
  readonly budding: "#bef264";
356
422
  readonly tender: "#d9f99d";
357
- readonly clearSky: "#7dd3fc";
358
- readonly softSky: "#bae6fd";
423
+ };
424
+ readonly springSky: {
425
+ readonly clear: "#7dd3fc";
426
+ readonly soft: "#bae6fd";
427
+ };
428
+ readonly wildflowers: {
359
429
  readonly buttercup: "#facc15";
360
430
  readonly daffodil: "#fde047";
361
431
  readonly crocus: "#a78bfa";
362
- readonly lilac: "#c4b5fd";
432
+ readonly violet: "#8b5cf6";
433
+ readonly purple: "#a855f7";
434
+ readonly lavender: "#c4b5fd";
363
435
  readonly tulipPink: "#f9a8d4";
364
436
  readonly tulipRed: "#fb7185";
365
- readonly hillDeep: "#166534";
366
- readonly hillMid: "#22c55e";
367
- readonly hillNear: "#86efac";
368
- readonly hillFront: "#bbf7d0";
437
+ readonly white: "#fefefe";
369
438
  };
370
- readonly springBlossoms: {
371
- readonly deepPink: "#ec4899";
372
- readonly pink: "#f472b6";
373
- readonly rose: "#f9a8d4";
374
- readonly blush: "#fbcfe8";
375
- readonly palePink: "#fce7f3";
439
+ readonly cherryBlossoms: {
440
+ readonly deep: "#db2777";
441
+ readonly standard: "#ec4899";
442
+ readonly light: "#f472b6";
443
+ readonly pale: "#f9a8d4";
444
+ readonly falling: "#fbcfe8";
445
+ };
446
+ readonly cherryBlossomsPeak: {
447
+ readonly deep: "#ec4899";
448
+ readonly standard: "#f472b6";
449
+ readonly light: "#f9a8d4";
450
+ readonly pale: "#fbcfe8";
451
+ readonly falling: "#fce7f3";
376
452
  };
377
453
  readonly autumn: {
378
454
  readonly rust: "#9a3412";
@@ -383,13 +459,6 @@ export declare const naturePalette: {
383
459
  readonly honey: "#facc15";
384
460
  readonly straw: "#fde047";
385
461
  };
386
- readonly pinks: {
387
- readonly deepPink: "#db2777";
388
- readonly pink: "#ec4899";
389
- readonly rose: "#f472b6";
390
- readonly blush: "#f9a8d4";
391
- readonly palePink: "#fbcfe8";
392
- };
393
462
  readonly autumnReds: {
394
463
  readonly crimson: "#be123c";
395
464
  readonly scarlet: "#e11d48";
@@ -424,11 +493,20 @@ export declare const naturePalette: {
424
493
  readonly spots: "#fefefe";
425
494
  readonly gill: "#fde8e8";
426
495
  };
427
- /** Wildflower accents - purple/violet break from green monotony */
496
+ /**
497
+ * @deprecated Use the top-level `wildflowers` export instead. Will be removed in v1.0.
498
+ *
499
+ * Historical context: Flower colors were originally split between two places:
500
+ * - `spring` palette had wildflower accents (crocus, lilac, tulips, buttercup, daffodil)
501
+ * - `accents.flower` had generic flower colors (purple, violet, yellow, white, lavender)
502
+ *
503
+ * This caused confusion and duplicate values. Now unified in the top-level `wildflowers`
504
+ * palette which contains all meadow flower colors in one place.
505
+ */
428
506
  readonly flower: {
429
507
  readonly purple: "#a855f7";
430
508
  readonly violet: "#8b5cf6";
431
- readonly yellow: "#fbbf24";
509
+ readonly yellow: "#facc15";
432
510
  readonly white: "#fefefe";
433
511
  readonly lavender: "#c4b5fd";
434
512
  };
@@ -487,5 +565,38 @@ export declare const naturePalette: {
487
565
  readonly warmCream: "#fef3c7";
488
566
  readonly softGold: "#fcd34d";
489
567
  };
568
+ readonly spring: {
569
+ readonly sprout: "#65a30d";
570
+ readonly newLeaf: "#84cc16";
571
+ readonly freshGreen: "#a3e635";
572
+ readonly budding: "#bef264";
573
+ readonly tender: "#d9f99d";
574
+ readonly clearSky: "#7dd3fc";
575
+ readonly softSky: "#bae6fd";
576
+ readonly buttercup: "#facc15";
577
+ readonly daffodil: "#fde047";
578
+ readonly crocus: "#a78bfa";
579
+ readonly lilac: "#c4b5fd";
580
+ readonly tulipPink: "#f9a8d4";
581
+ readonly tulipRed: "#fb7185";
582
+ readonly hillDeep: "#166534";
583
+ readonly hillMid: "#22c55e";
584
+ readonly hillNear: "#86efac";
585
+ readonly hillFront: "#bbf7d0";
586
+ };
587
+ readonly pinks: {
588
+ readonly deepPink: "#db2777";
589
+ readonly pink: "#ec4899";
590
+ readonly rose: "#f472b6";
591
+ readonly blush: "#f9a8d4";
592
+ readonly palePink: "#fbcfe8";
593
+ };
594
+ readonly springBlossoms: {
595
+ readonly deepPink: "#ec4899";
596
+ readonly pink: "#f472b6";
597
+ readonly rose: "#f9a8d4";
598
+ readonly blush: "#fbcfe8";
599
+ readonly palePink: "#fce7f3";
600
+ };
490
601
  };
491
602
  export default naturePalette;