fulldev-ui 0.5.0-beta.0 → 0.5.0-beta.10

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 (91) hide show
  1. package/CONTRIBUTING.md +10 -4
  2. package/astro.config.ts +4 -11
  3. package/package.json +5 -3
  4. package/pnpm-lock.yaml +6400 -0
  5. package/src/blocks/Article.astro +31 -12
  6. package/src/blocks/Banner.astro +2 -1
  7. package/src/blocks/Contact.astro +7 -30
  8. package/src/blocks/Excerpt.astro +14 -0
  9. package/src/blocks/Intro.astro +3 -1
  10. package/src/blocks/Product.astro +55 -22
  11. package/src/components/Card.astro +11 -5
  12. package/src/components/Cart.astro +38 -0
  13. package/src/components/CartForm.astro +121 -0
  14. package/src/components/CartList.astro +134 -0
  15. package/src/components/CartSummary.astro +147 -0
  16. package/src/components/Drawer.astro +128 -52
  17. package/src/components/Footer.astro +6 -3
  18. package/src/components/Form.astro +49 -0
  19. package/src/components/Header.astro +19 -14
  20. package/src/components/Image.astro +0 -1
  21. package/src/components/Input.astro +6 -0
  22. package/src/components/Menu.astro +56 -0
  23. package/src/components/Price.astro +7 -11
  24. package/src/components/Search.astro +1 -4
  25. package/src/components/Section.astro +2 -1
  26. package/src/components/Sidebar.astro +66 -105
  27. package/src/components/Social.astro +7 -0
  28. package/src/components/ThemeSelect.astro +3 -0
  29. package/src/components/Toc.astro +33 -94
  30. package/src/components/docs/PropsTable.astro +2 -2
  31. package/src/components/experimental/Form.astro +31 -5
  32. package/src/components/experimental/Gallery.astro +50 -126
  33. package/src/components/experimental/Prose.astro +32 -0
  34. package/src/content/pages/base/select.mdx +0 -8
  35. package/src/content/pages/base/textarea.mdx +0 -5
  36. package/src/content/pages/blocks/_product.mdx +73 -2
  37. package/src/content/pages/index.mdx +0 -3
  38. package/src/content/pages/layouts/_layout.mdx +14 -0
  39. package/src/content/pages/layouts/docslayout.mdx +10 -1
  40. package/src/content/pages/overview/components.mdx +5 -0
  41. package/src/content/pages/overview/content-collections.mdx +139 -0
  42. package/src/content/pages/overview/installation.mdx +25 -26
  43. package/src/content/pages/overview/introduction.mdx +16 -10
  44. package/src/content/pages/overview/theming.mdx +69 -0
  45. package/src/content/pages/schemas/page.mdx +6 -0
  46. package/src/content/presets/base.yml +57 -44
  47. package/src/content/presets/blocks.yml +0 -3
  48. package/src/content/presets/docs.yml +3 -62
  49. package/src/env.d.ts +1 -1
  50. package/src/integration/index.ts +49 -33
  51. package/src/layouts/DocsLayout.astro +23 -35
  52. package/src/layouts/Layout.astro +37 -21
  53. package/src/layouts/OverviewLayout.astro +17 -10
  54. package/src/layouts/PostLayout.astro +7 -7
  55. package/src/layouts/ProductLayout.astro +5 -2
  56. package/src/schemas/components/footer.ts +1 -0
  57. package/src/schemas/components/header.ts +1 -0
  58. package/src/schemas/components/menu.ts +13 -0
  59. package/src/schemas/components/sidebar.ts +15 -0
  60. package/src/schemas/components/toc.ts +3 -0
  61. package/src/schemas/pageSchema.ts +72 -34
  62. package/src/schemas/presetSchema.ts +2 -28
  63. package/src/schemas/utils/navigation.ts +6 -51
  64. package/src/stores/cart.ts +23 -0
  65. package/src/utils/cart.ts +36 -0
  66. package/src/utils/{getChildPages.ts → getFolderChildren.ts} +3 -1
  67. package/src/utils/{getCategoryPages.ts → getReferenceChildren.ts} +6 -3
  68. package/tsconfig.json +1 -3
  69. package/.astro/assets.mjs +0 -1
  70. package/.astro/astro/content.d.ts +0 -547
  71. package/.astro/collections/blocks.schema.json +0 -851
  72. package/.astro/collections/collections.json +0 -63
  73. package/.astro/collections/images.schema.json +0 -22
  74. package/.astro/collections/layouts.schema.json +0 -826
  75. package/.astro/collections/pages.schema.json +0 -568
  76. package/.astro/collections/presets.schema.json +0 -489
  77. package/.astro/collections/records.schema.json +0 -822
  78. package/.astro/collections/settings.schema.json +0 -822
  79. package/.astro/data-store.json +0 -1
  80. package/.astro/modules.mjs +0 -1
  81. package/.astro/settings.json +0 -5
  82. package/.astro/types.d.ts +0 -2
  83. package/src/components/experimental/GalleryVertical.astro +0 -161
  84. package/src/content/pages/layouts/layout.mdx +0 -21
  85. package/src/content/pages/layouts/pagelayout.mdx +0 -21
  86. package/src/content/pages/overview/content-layer.mdx +0 -128
  87. package/src/content/pages/overview/customization.mdx +0 -83
  88. package/src/layouts/ContentLayout.astro +0 -16
  89. package/src/layouts/PageLayout.astro +0 -15
  90. /package/src/schemas/utils/{categories.ts → parents.ts} +0 -0
  91. /package/src/types/{global-props.d.ts → global-props.ts} +0 -0
@@ -1,568 +0,0 @@
1
- {
2
- "$ref": "#/definitions/pages",
3
- "definitions": {
4
- "pages": {
5
- "allOf": [
6
- {
7
- "allOf": [
8
- {
9
- "type": "object",
10
- "properties": {
11
- "i18n": {
12
- "allOf": [
13
- {
14
- "type": "string"
15
- },
16
- {
17
- "anyOf": [
18
- {
19
- "type": "string"
20
- },
21
- {
22
- "type": "object",
23
- "properties": {
24
- "id": {
25
- "type": "string"
26
- },
27
- "collection": {
28
- "type": "string"
29
- }
30
- },
31
- "required": [
32
- "id",
33
- "collection"
34
- ],
35
- "additionalProperties": false
36
- },
37
- {
38
- "type": "object",
39
- "properties": {
40
- "slug": {
41
- "type": "string"
42
- },
43
- "collection": {
44
- "type": "string"
45
- }
46
- },
47
- "required": [
48
- "slug",
49
- "collection"
50
- ],
51
- "additionalProperties": false
52
- }
53
- ]
54
- }
55
- ]
56
- }
57
- },
58
- "additionalProperties": true
59
- },
60
- {
61
- "type": "object",
62
- "properties": {
63
- "presets": {
64
- "anyOf": [
65
- {
66
- "allOf": [
67
- {
68
- "type": "string"
69
- },
70
- {
71
- "anyOf": [
72
- {
73
- "type": "string"
74
- },
75
- {
76
- "type": "object",
77
- "properties": {
78
- "id": {
79
- "type": "string"
80
- },
81
- "collection": {
82
- "type": "string"
83
- }
84
- },
85
- "required": [
86
- "id",
87
- "collection"
88
- ],
89
- "additionalProperties": false
90
- },
91
- {
92
- "type": "object",
93
- "properties": {
94
- "slug": {
95
- "type": "string"
96
- },
97
- "collection": {
98
- "type": "string"
99
- }
100
- },
101
- "required": [
102
- "slug",
103
- "collection"
104
- ],
105
- "additionalProperties": false
106
- }
107
- ]
108
- }
109
- ]
110
- },
111
- {
112
- "type": "array",
113
- "items": {
114
- "allOf": [
115
- {
116
- "type": "string"
117
- },
118
- {
119
- "anyOf": [
120
- {
121
- "type": "string"
122
- },
123
- {
124
- "type": "object",
125
- "properties": {
126
- "id": {
127
- "type": "string"
128
- },
129
- "collection": {
130
- "type": "string"
131
- }
132
- },
133
- "required": [
134
- "id",
135
- "collection"
136
- ],
137
- "additionalProperties": false
138
- },
139
- {
140
- "type": "object",
141
- "properties": {
142
- "slug": {
143
- "type": "string"
144
- },
145
- "collection": {
146
- "type": "string"
147
- }
148
- },
149
- "required": [
150
- "slug",
151
- "collection"
152
- ],
153
- "additionalProperties": false
154
- }
155
- ]
156
- }
157
- ]
158
- }
159
- }
160
- ]
161
- }
162
- },
163
- "additionalProperties": true
164
- }
165
- ]
166
- },
167
- {
168
- "type": "object",
169
- "properties": {
170
- "_layout": {
171
- "type": "string"
172
- },
173
- "categories": {
174
- "type": "array",
175
- "items": {
176
- "allOf": [
177
- {
178
- "type": "string"
179
- },
180
- {
181
- "anyOf": [
182
- {
183
- "type": "string"
184
- },
185
- {
186
- "type": "object",
187
- "properties": {
188
- "id": {
189
- "type": "string"
190
- },
191
- "collection": {
192
- "type": "string"
193
- }
194
- },
195
- "required": [
196
- "id",
197
- "collection"
198
- ],
199
- "additionalProperties": false
200
- },
201
- {
202
- "type": "object",
203
- "properties": {
204
- "slug": {
205
- "type": "string"
206
- },
207
- "collection": {
208
- "type": "string"
209
- }
210
- },
211
- "required": [
212
- "slug",
213
- "collection"
214
- ],
215
- "additionalProperties": false
216
- }
217
- ]
218
- }
219
- ]
220
- }
221
- },
222
- "seo": {
223
- "type": "object",
224
- "properties": {
225
- "title": {
226
- "type": "string"
227
- },
228
- "description": {
229
- "type": "string"
230
- }
231
- },
232
- "additionalProperties": false
233
- },
234
- "title": {
235
- "type": "string"
236
- },
237
- "description": {
238
- "type": "string"
239
- },
240
- "image": {
241
- "type": "string"
242
- },
243
- "theme": {
244
- "type": "string",
245
- "enum": [
246
- "light",
247
- "dark"
248
- ]
249
- },
250
- "lang": {
251
- "type": "string"
252
- },
253
- "header": {
254
- "type": "object",
255
- "properties": {
256
- "logo": {
257
- "type": "string"
258
- },
259
- "buttons": {
260
- "type": "array",
261
- "items": {
262
- "anyOf": [
263
- {
264
- "allOf": [
265
- {
266
- "type": "string"
267
- },
268
- {
269
- "anyOf": [
270
- {
271
- "type": "string"
272
- },
273
- {
274
- "type": "object",
275
- "properties": {
276
- "id": {
277
- "type": "string"
278
- },
279
- "collection": {
280
- "type": "string"
281
- }
282
- },
283
- "required": [
284
- "id",
285
- "collection"
286
- ],
287
- "additionalProperties": false
288
- },
289
- {
290
- "type": "object",
291
- "properties": {
292
- "slug": {
293
- "type": "string"
294
- },
295
- "collection": {
296
- "type": "string"
297
- }
298
- },
299
- "required": [
300
- "slug",
301
- "collection"
302
- ],
303
- "additionalProperties": false
304
- }
305
- ]
306
- }
307
- ]
308
- },
309
- {
310
- "type": "object",
311
- "properties": {
312
- "text": {
313
- "type": "string"
314
- },
315
- "href": {
316
- "type": "string"
317
- },
318
- "icon": {
319
- "type": "string"
320
- }
321
- },
322
- "additionalProperties": false
323
- }
324
- ]
325
- }
326
- }
327
- },
328
- "additionalProperties": false
329
- },
330
- "sections": {
331
- "type": "array",
332
- "items": {
333
- "type": "object",
334
- "properties": {
335
- "rating": {
336
- "anyOf": [
337
- {
338
- "type": "number"
339
- },
340
- {
341
- "type": "object",
342
- "properties": {
343
- "value": {
344
- "type": "number"
345
- },
346
- "avatar": {
347
- "type": "string"
348
- },
349
- "avatars": {
350
- "type": "array",
351
- "items": {
352
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/rating/anyOf/1/properties/avatar"
353
- }
354
- },
355
- "text": {
356
- "type": "string"
357
- }
358
- },
359
- "additionalProperties": false
360
- }
361
- ]
362
- },
363
- "badge": {
364
- "anyOf": [
365
- {
366
- "allOf": [
367
- {
368
- "type": "string"
369
- },
370
- {
371
- "anyOf": [
372
- {
373
- "type": "string"
374
- },
375
- {
376
- "type": "object",
377
- "properties": {
378
- "id": {
379
- "type": "string"
380
- },
381
- "collection": {
382
- "type": "string"
383
- }
384
- },
385
- "required": [
386
- "id",
387
- "collection"
388
- ],
389
- "additionalProperties": false
390
- },
391
- {
392
- "type": "object",
393
- "properties": {
394
- "slug": {
395
- "type": "string"
396
- },
397
- "collection": {
398
- "type": "string"
399
- }
400
- },
401
- "required": [
402
- "slug",
403
- "collection"
404
- ],
405
- "additionalProperties": false
406
- }
407
- ]
408
- }
409
- ]
410
- },
411
- {
412
- "type": "object",
413
- "properties": {
414
- "text": {
415
- "type": "string"
416
- },
417
- "href": {
418
- "type": "string"
419
- },
420
- "icon": {
421
- "type": "string"
422
- }
423
- },
424
- "additionalProperties": true
425
- }
426
- ]
427
- },
428
- "tagline": {
429
- "type": "string"
430
- },
431
- "heading": {
432
- "type": "string"
433
- },
434
- "text": {
435
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/rating/anyOf/1/properties/text"
436
- },
437
- "list": {
438
- "type": "array",
439
- "items": {
440
- "type": "string"
441
- }
442
- },
443
- "price": {
444
- "type": "number"
445
- },
446
- "component": {
447
- "type": "string"
448
- },
449
- "image": {
450
- "$ref": "#/definitions/pages/allOf/1/properties/image"
451
- },
452
- "buttons": {
453
- "$ref": "#/definitions/pages/allOf/1/properties/header/properties/buttons"
454
- },
455
- "cards": {
456
- "type": "array",
457
- "items": {
458
- "type": "object",
459
- "properties": {
460
- "rating": {
461
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/rating"
462
- },
463
- "badge": {
464
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/badge"
465
- },
466
- "tagline": {
467
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/tagline"
468
- },
469
- "heading": {
470
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/heading"
471
- },
472
- "text": {
473
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/text"
474
- },
475
- "list": {
476
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/list"
477
- },
478
- "price": {
479
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/price"
480
- },
481
- "image": {
482
- "$ref": "#/definitions/pages/allOf/1/properties/image"
483
- },
484
- "images": {
485
- "type": "array",
486
- "items": {
487
- "$ref": "#/definitions/pages/allOf/1/properties/image"
488
- }
489
- },
490
- "buttons": {
491
- "$ref": "#/definitions/pages/allOf/1/properties/header/properties/buttons"
492
- },
493
- "button": {
494
- "$ref": "#/definitions/pages/allOf/1/properties/header/properties/buttons/items"
495
- },
496
- "icon": {
497
- "type": "string"
498
- }
499
- },
500
- "additionalProperties": false
501
- }
502
- }
503
- },
504
- "additionalProperties": true
505
- }
506
- },
507
- "footer": {
508
- "type": "object",
509
- "properties": {
510
- "logo": {
511
- "$ref": "#/definitions/pages/allOf/1/properties/header/properties/logo"
512
- },
513
- "text": {
514
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/rating/anyOf/1/properties/text"
515
- },
516
- "socials": {
517
- "type": "array",
518
- "items": {
519
- "type": "string"
520
- }
521
- },
522
- "channels": {
523
- "type": "array",
524
- "items": {
525
- "type": "object",
526
- "properties": {
527
- "heading": {
528
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/heading"
529
- },
530
- "text": {
531
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/rating/anyOf/1/properties/text"
532
- },
533
- "icon": {
534
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/cards/items/properties/icon"
535
- },
536
- "href": {
537
- "type": "string"
538
- }
539
- },
540
- "additionalProperties": false
541
- }
542
- },
543
- "columns": {
544
- "type": "array",
545
- "items": {
546
- "type": "object",
547
- "properties": {
548
- "heading": {
549
- "$ref": "#/definitions/pages/allOf/1/properties/sections/items/properties/heading"
550
- },
551
- "buttons": {
552
- "$ref": "#/definitions/pages/allOf/1/properties/header/properties/buttons"
553
- }
554
- },
555
- "additionalProperties": false
556
- }
557
- }
558
- },
559
- "additionalProperties": false
560
- }
561
- },
562
- "additionalProperties": false
563
- }
564
- ]
565
- }
566
- },
567
- "$schema": "http://json-schema.org/draft-07/schema#"
568
- }