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,489 +0,0 @@
1
- {
2
- "$ref": "#/definitions/presets",
3
- "definitions": {
4
- "presets": {
5
- "type": "object",
6
- "properties": {
7
- "component": {
8
- "type": "string"
9
- },
10
- "categories": {
11
- "type": "array",
12
- "items": {
13
- "allOf": [
14
- {
15
- "type": "string"
16
- },
17
- {
18
- "anyOf": [
19
- {
20
- "type": "string"
21
- },
22
- {
23
- "type": "object",
24
- "properties": {
25
- "id": {
26
- "type": "string"
27
- },
28
- "collection": {
29
- "type": "string"
30
- }
31
- },
32
- "required": [
33
- "id",
34
- "collection"
35
- ],
36
- "additionalProperties": false
37
- },
38
- {
39
- "type": "object",
40
- "properties": {
41
- "slug": {
42
- "type": "string"
43
- },
44
- "collection": {
45
- "type": "string"
46
- }
47
- },
48
- "required": [
49
- "slug",
50
- "collection"
51
- ],
52
- "additionalProperties": false
53
- }
54
- ]
55
- }
56
- ]
57
- }
58
- },
59
- "theme": {
60
- "type": "string",
61
- "enum": [
62
- "light",
63
- "dark"
64
- ]
65
- },
66
- "lang": {
67
- "type": "string"
68
- },
69
- "seo": {
70
- "type": "object",
71
- "properties": {
72
- "title": {
73
- "type": "string"
74
- },
75
- "description": {
76
- "type": "string"
77
- }
78
- },
79
- "additionalProperties": false
80
- },
81
- "title": {
82
- "type": "string"
83
- },
84
- "description": {
85
- "type": "string"
86
- },
87
- "image": {
88
- "allOf": [
89
- {
90
- "anyOf": [
91
- {
92
- "anyOf": [
93
- {
94
- "type": "string"
95
- },
96
- {
97
- "type": "object",
98
- "properties": {
99
- "id": {
100
- "type": "string"
101
- },
102
- "collection": {
103
- "type": "string"
104
- }
105
- },
106
- "required": [
107
- "id",
108
- "collection"
109
- ],
110
- "additionalProperties": false
111
- },
112
- {
113
- "type": "object",
114
- "properties": {
115
- "slug": {
116
- "type": "string"
117
- },
118
- "collection": {
119
- "type": "string"
120
- }
121
- },
122
- "required": [
123
- "slug",
124
- "collection"
125
- ],
126
- "additionalProperties": false
127
- }
128
- ]
129
- },
130
- {
131
- "type": "object",
132
- "properties": {},
133
- "additionalProperties": true
134
- }
135
- ]
136
- },
137
- {
138
- "type": "object",
139
- "properties": {
140
- "id": {
141
- "type": "string"
142
- },
143
- "src": {
144
- "type": "string"
145
- },
146
- "alt": {
147
- "type": "string"
148
- },
149
- "width": {
150
- "type": "number"
151
- },
152
- "height": {
153
- "type": "number"
154
- }
155
- },
156
- "additionalProperties": true
157
- }
158
- ]
159
- },
160
- "sections": {
161
- "type": "array",
162
- "items": {
163
- "type": "object",
164
- "properties": {
165
- "rating": {
166
- "anyOf": [
167
- {
168
- "type": "number"
169
- },
170
- {
171
- "type": "object",
172
- "properties": {
173
- "value": {
174
- "type": "number"
175
- },
176
- "avatar": {
177
- "type": "string"
178
- },
179
- "avatars": {
180
- "type": "array",
181
- "items": {
182
- "$ref": "#/definitions/presets/properties/sections/items/properties/rating/anyOf/1/properties/avatar"
183
- }
184
- },
185
- "text": {
186
- "type": "string"
187
- }
188
- },
189
- "additionalProperties": false
190
- }
191
- ]
192
- },
193
- "badge": {
194
- "anyOf": [
195
- {
196
- "allOf": [
197
- {
198
- "type": "string"
199
- },
200
- {
201
- "anyOf": [
202
- {
203
- "type": "string"
204
- },
205
- {
206
- "type": "object",
207
- "properties": {
208
- "id": {
209
- "type": "string"
210
- },
211
- "collection": {
212
- "type": "string"
213
- }
214
- },
215
- "required": [
216
- "id",
217
- "collection"
218
- ],
219
- "additionalProperties": false
220
- },
221
- {
222
- "type": "object",
223
- "properties": {
224
- "slug": {
225
- "type": "string"
226
- },
227
- "collection": {
228
- "type": "string"
229
- }
230
- },
231
- "required": [
232
- "slug",
233
- "collection"
234
- ],
235
- "additionalProperties": false
236
- }
237
- ]
238
- }
239
- ]
240
- },
241
- {
242
- "type": "object",
243
- "properties": {
244
- "text": {
245
- "type": "string"
246
- },
247
- "href": {
248
- "type": "string"
249
- },
250
- "icon": {
251
- "type": "string"
252
- }
253
- },
254
- "additionalProperties": true
255
- }
256
- ]
257
- },
258
- "tagline": {
259
- "type": "string"
260
- },
261
- "heading": {
262
- "type": "string"
263
- },
264
- "text": {
265
- "$ref": "#/definitions/presets/properties/sections/items/properties/rating/anyOf/1/properties/text"
266
- },
267
- "list": {
268
- "type": "array",
269
- "items": {
270
- "type": "string"
271
- }
272
- },
273
- "price": {
274
- "type": "number"
275
- },
276
- "component": {
277
- "$ref": "#/definitions/presets/properties/component"
278
- },
279
- "image": {
280
- "$ref": "#/definitions/presets/properties/image"
281
- },
282
- "buttons": {
283
- "type": "array",
284
- "items": {
285
- "allOf": [
286
- {
287
- "anyOf": [
288
- {
289
- "allOf": [
290
- {
291
- "type": "string"
292
- },
293
- {
294
- "anyOf": [
295
- {
296
- "type": "string"
297
- },
298
- {
299
- "type": "object",
300
- "properties": {
301
- "id": {
302
- "type": "string"
303
- },
304
- "collection": {
305
- "type": "string"
306
- }
307
- },
308
- "required": [
309
- "id",
310
- "collection"
311
- ],
312
- "additionalProperties": false
313
- },
314
- {
315
- "type": "object",
316
- "properties": {
317
- "slug": {
318
- "type": "string"
319
- },
320
- "collection": {
321
- "type": "string"
322
- }
323
- },
324
- "required": [
325
- "slug",
326
- "collection"
327
- ],
328
- "additionalProperties": false
329
- }
330
- ]
331
- }
332
- ]
333
- },
334
- {
335
- "type": "object",
336
- "properties": {},
337
- "additionalProperties": true
338
- }
339
- ]
340
- },
341
- {
342
- "type": "object",
343
- "properties": {
344
- "slug": {
345
- "type": "string"
346
- },
347
- "text": {
348
- "type": "string"
349
- },
350
- "href": {
351
- "type": "string"
352
- },
353
- "icon": {
354
- "type": "string"
355
- }
356
- },
357
- "additionalProperties": true
358
- }
359
- ]
360
- }
361
- },
362
- "cards": {
363
- "type": "array",
364
- "items": {
365
- "allOf": [
366
- {
367
- "anyOf": [
368
- {
369
- "allOf": [
370
- {
371
- "type": "string"
372
- },
373
- {
374
- "anyOf": [
375
- {
376
- "type": "string"
377
- },
378
- {
379
- "type": "object",
380
- "properties": {
381
- "id": {
382
- "type": "string"
383
- },
384
- "collection": {
385
- "type": "string"
386
- }
387
- },
388
- "required": [
389
- "id",
390
- "collection"
391
- ],
392
- "additionalProperties": false
393
- },
394
- {
395
- "type": "object",
396
- "properties": {
397
- "slug": {
398
- "type": "string"
399
- },
400
- "collection": {
401
- "type": "string"
402
- }
403
- },
404
- "required": [
405
- "slug",
406
- "collection"
407
- ],
408
- "additionalProperties": false
409
- }
410
- ]
411
- }
412
- ]
413
- },
414
- {
415
- "type": "object",
416
- "properties": {},
417
- "additionalProperties": true
418
- }
419
- ]
420
- },
421
- {
422
- "type": "object",
423
- "properties": {
424
- "rating": {
425
- "$ref": "#/definitions/presets/properties/sections/items/properties/rating"
426
- },
427
- "badge": {
428
- "$ref": "#/definitions/presets/properties/sections/items/properties/badge"
429
- },
430
- "tagline": {
431
- "$ref": "#/definitions/presets/properties/sections/items/properties/tagline"
432
- },
433
- "heading": {
434
- "$ref": "#/definitions/presets/properties/sections/items/properties/heading"
435
- },
436
- "text": {
437
- "$ref": "#/definitions/presets/properties/sections/items/properties/text"
438
- },
439
- "list": {
440
- "$ref": "#/definitions/presets/properties/sections/items/properties/list"
441
- },
442
- "price": {
443
- "$ref": "#/definitions/presets/properties/sections/items/properties/price"
444
- },
445
- "slug": {
446
- "type": "string"
447
- },
448
- "image": {
449
- "$ref": "#/definitions/presets/properties/image"
450
- },
451
- "images": {
452
- "type": "array",
453
- "items": {
454
- "$ref": "#/definitions/presets/properties/image"
455
- }
456
- },
457
- "buttons": {
458
- "$ref": "#/definitions/presets/properties/sections/items/properties/buttons"
459
- },
460
- "button": {
461
- "$ref": "#/definitions/presets/properties/sections/items/properties/buttons/items"
462
- },
463
- "icon": {
464
- "type": "string"
465
- }
466
- },
467
- "additionalProperties": true
468
- }
469
- ]
470
- }
471
- }
472
- },
473
- "additionalProperties": true
474
- }
475
- },
476
- "header": {},
477
- "footer": {},
478
- "navigation": {},
479
- "toc": {},
480
- "sidebar": {},
481
- "$schema": {
482
- "type": "string"
483
- }
484
- },
485
- "additionalProperties": false
486
- }
487
- },
488
- "$schema": "http://json-schema.org/draft-07/schema#"
489
- }