@africode/core 5.0.7 → 5.0.9

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 (64) hide show
  1. package/AGENTS.md +2 -0
  2. package/AGENT_INSTRUCTIONS.md +595 -595
  3. package/COMPONENT_SCHEMA.json +1800 -990
  4. package/README.md +2 -0
  5. package/bin/create-africode.js +87 -25
  6. package/components/auth-form.js +154 -0
  7. package/components/index.js +15 -0
  8. package/components/kyc-upload.js +173 -0
  9. package/components/nav-drawer.js +217 -0
  10. package/components/transaction-ledger.js +138 -0
  11. package/components/wallet-balance.js +114 -0
  12. package/core/a2ui-schema-manager.js +1 -1
  13. package/core/a2ui.js +178 -1
  14. package/core/bun-runtime.js +122 -7
  15. package/core/cli/commands/build.js +30 -5
  16. package/core/cli/ui.js +13 -3
  17. package/core/compliance.js +201 -0
  18. package/core/middleware.js +80 -17
  19. package/core/patterns.js +168 -0
  20. package/core/request-analytics.js +254 -0
  21. package/core/request-identity.js +79 -29
  22. package/core/sdk.js +4 -1
  23. package/core/validation.js +13 -0
  24. package/dist/africode.js +858 -457
  25. package/dist/africode.js.map +14 -9
  26. package/dist/build-info.json +3 -3
  27. package/dist/components.js +784 -383
  28. package/dist/components.js.map +11 -6
  29. package/package.json +1 -1
  30. package/templates/starter/package.json +5 -5
  31. package/templates/starter/src/index.js +18 -0
  32. package/templates/starter/src/pages/index.js +1 -1
  33. package/templates/starter-3d/package.json +5 -5
  34. package/templates/starter-3d/src/pages/index.js +1 -1
  35. package/templates/starter-dashboard/.env.example +21 -0
  36. package/templates/starter-dashboard/africode.config.js +20 -0
  37. package/templates/starter-dashboard/package.json +14 -0
  38. package/templates/starter-dashboard/src/index.js +17 -0
  39. package/templates/starter-dashboard/src/pages/api/analytics.js +24 -0
  40. package/templates/starter-dashboard/src/pages/index.html +118 -0
  41. package/templates/starter-dashboard/src/pages/index.js +110 -0
  42. package/templates/starter-dashboard/src/styles/main.css +172 -0
  43. package/templates/starter-fintech/.env.example +28 -0
  44. package/templates/starter-fintech/africode.config.js +20 -0
  45. package/templates/starter-fintech/package.json +15 -0
  46. package/templates/starter-fintech/src/index.js +17 -0
  47. package/templates/starter-fintech/src/pages/api/auth.js +45 -0
  48. package/templates/starter-fintech/src/pages/api/transfer.js +65 -0
  49. package/templates/starter-fintech/src/pages/api/wallet.js +39 -0
  50. package/templates/starter-fintech/src/pages/api/webhooks/payment.js +32 -0
  51. package/templates/starter-fintech/src/pages/index.html +169 -0
  52. package/templates/starter-fintech/src/pages/index.js +161 -0
  53. package/templates/starter-fintech/src/styles/main.css +246 -0
  54. package/templates/starter-react/package.json +5 -5
  55. package/templates/starter-react/src/pages/index.js +1 -1
  56. package/templates/starter-tailwind/package.json +5 -5
  57. package/templates/starter-tailwind/src/pages/index.js +1 -1
  58. package/templates/starter-website/.env.example +18 -0
  59. package/templates/starter-website/africode.config.js +20 -0
  60. package/templates/starter-website/package.json +14 -0
  61. package/templates/starter-website/src/index.js +17 -0
  62. package/templates/starter-website/src/pages/index.html +124 -0
  63. package/templates/starter-website/src/pages/index.js +116 -0
  64. package/templates/starter-website/src/styles/main.css +195 -0
@@ -1,991 +1,1801 @@
1
- {
2
- "version": "5.0.0",
3
- "timestamp": "2026-06-28T10:52:30.385Z",
4
- "components": [
5
- {
6
- "tagName": "af-accordion",
7
- "className": "AfriAccordion",
8
- "filePath": "components\\accordion.js",
9
- "slots": [
10
- "default"
11
- ],
12
- "attributes": {
13
- "theme": {
14
- "type": "string"
15
- },
16
- "multiple": {
17
- "type": "string"
18
- }
19
- },
20
- "events": [],
21
- "cssCustomProperties": [],
22
- "example": "<af-accordion></af-accordion>",
23
- "securityNotes": "Sanitizes slot content"
24
- },
25
- {
26
- "tagName": "af-alert",
27
- "className": "AfriAlert",
28
- "filePath": "components\\alert.js",
29
- "slots": [
30
- "default"
31
- ],
32
- "attributes": {
33
- "type": {
34
- "type": "string"
35
- },
36
- "title": {
37
- "type": "string"
38
- },
39
- "dismissible": {
40
- "type": "string"
41
- }
42
- },
43
- "events": [],
44
- "cssCustomProperties": [],
45
- "example": "<af-alert></af-alert>",
46
- "securityNotes": "Sanitizes slot content"
47
- },
48
- {
49
- "tagName": "af-auth",
50
- "className": "AfriAuth",
51
- "filePath": "components\\auth.js",
52
- "slots": [
53
- "default"
54
- ],
55
- "attributes": {},
56
- "events": [],
57
- "cssCustomProperties": [],
58
- "example": "<af-auth></af-auth>",
59
- "securityNotes": "Sanitizes slot content"
60
- },
61
- {
62
- "tagName": "af-avatar",
63
- "className": "AfriAvatar",
64
- "filePath": "components\\avatar.js",
65
- "slots": [
66
- "default"
67
- ],
68
- "attributes": {
69
- "src": {
70
- "type": "string"
71
- },
72
- "name": {
73
- "type": "string"
74
- },
75
- "size": {
76
- "type": "string"
77
- },
78
- "status": {
79
- "type": "string"
80
- },
81
- "theme": {
82
- "type": "string"
83
- }
84
- },
85
- "events": [],
86
- "cssCustomProperties": [],
87
- "example": "<af-avatar></af-avatar>",
88
- "securityNotes": "Sanitizes slot content"
89
- },
90
- {
91
- "tagName": "af-badge",
92
- "className": "AfriBadge",
93
- "filePath": "components\\badge.js",
94
- "slots": [
95
- "default"
96
- ],
97
- "attributes": {
98
- "variant": {
99
- "type": "string"
100
- },
101
- "size": {
102
- "type": "string"
103
- },
104
- "removable": {
105
- "type": "string"
106
- }
107
- },
108
- "events": [],
109
- "cssCustomProperties": [],
110
- "example": "<af-badge></af-badge>",
111
- "securityNotes": "Sanitizes slot content"
112
- },
113
- {
114
- "tagName": "af-button",
115
- "className": "AfriButton",
116
- "filePath": "components\\button.js",
117
- "slots": [
118
- "default"
119
- ],
120
- "attributes": {
121
- "variant": {
122
- "type": "string"
123
- },
124
- "size": {
125
- "type": "string"
126
- },
127
- "theme": {
128
- "type": "string"
129
- },
130
- "disabled": {
131
- "type": "string"
132
- },
133
- "loading": {
134
- "type": "string"
135
- },
136
- "icon": {
137
- "type": "string"
138
- },
139
- "aria-label": {
140
- "type": "string"
141
- }
142
- },
143
- "events": [
144
- {
145
- "name": "click",
146
- "detail": {
147
- "type": "object"
148
- }
149
- }
150
- ],
151
- "cssCustomProperties": [],
152
- "example": "<af-button></af-button>",
153
- "securityNotes": "Sanitizes slot content"
154
- },
155
- {
156
- "tagName": "af-card",
157
- "className": "AfriCard",
158
- "filePath": "components\\card.js",
159
- "slots": [
160
- "default"
161
- ],
162
- "attributes": {
163
- "theme": {
164
- "type": "string"
165
- },
166
- "variant": {
167
- "type": "string"
168
- },
169
- "clickable": {
170
- "type": "string"
171
- },
172
- "image": {
173
- "type": "string"
174
- }
175
- },
176
- "events": [],
177
- "cssCustomProperties": [],
178
- "example": "<af-card></af-card>",
179
- "securityNotes": "Sanitizes slot content"
180
- },
181
- {
182
- "tagName": "af-cultural-card",
183
- "className": "CulturalCard",
184
- "filePath": "components\\cultural-card.js",
185
- "slots": [
186
- "default"
187
- ],
188
- "attributes": {
189
- "culture": {
190
- "type": "string"
191
- },
192
- "interactive": {
193
- "type": "string"
194
- }
195
- },
196
- "events": [],
197
- "cssCustomProperties": [],
198
- "example": "<af-cultural-card></af-cultural-card>",
199
- "securityNotes": "Sanitizes slot content"
200
- },
201
- {
202
- "tagName": "af-divider",
203
- "className": "AfriDivider",
204
- "filePath": "components\\divider.js",
205
- "slots": [
206
- "default"
207
- ],
208
- "attributes": {
209
- "pattern": {
210
- "type": "string"
211
- },
212
- "height": {
213
- "type": "string"
214
- },
215
- "color": {
216
- "type": "string"
217
- },
218
- "flip": {
219
- "type": "string"
220
- }
221
- },
222
- "events": [],
223
- "cssCustomProperties": [],
224
- "example": "<af-divider></af-divider>",
225
- "securityNotes": "Sanitizes slot content"
226
- },
227
- {
228
- "tagName": "af-dropdown",
229
- "className": "AfriDropdown",
230
- "filePath": "components\\dropdown.js",
231
- "slots": [
232
- "default"
233
- ],
234
- "attributes": {
235
- "label": {
236
- "type": "string"
237
- },
238
- "open": {
239
- "type": "string"
240
- }
241
- },
242
- "events": [],
243
- "cssCustomProperties": [],
244
- "example": "<af-dropdown></af-dropdown>",
245
- "securityNotes": "Sanitizes slot content"
246
- },
247
- {
248
- "tagName": "af-error-boundary",
249
- "className": "AfriErrorBoundary",
250
- "filePath": "components\\error-boundary.js",
251
- "slots": [
252
- "default"
253
- ],
254
- "attributes": {
255
- "theme": {
256
- "type": "string"
257
- },
258
- "fallback-message": {
259
- "type": "string"
260
- }
261
- },
262
- "events": [],
263
- "cssCustomProperties": [],
264
- "example": "<af-error-boundary></af-error-boundary>",
265
- "securityNotes": "Sanitizes slot content"
266
- },
267
- {
268
- "tagName": "af-form",
269
- "className": "AfriForm",
270
- "filePath": "components\\form.js",
271
- "slots": [
272
- "default"
273
- ],
274
- "attributes": {
275
- "action": {
276
- "type": "string"
277
- },
278
- "method": {
279
- "type": "string"
280
- },
281
- "error": {
282
- "type": "string"
283
- },
284
- "success": {
285
- "type": "string"
286
- },
287
- "schema": {
288
- "type": "string"
289
- }
290
- },
291
- "events": [],
292
- "cssCustomProperties": [],
293
- "example": "<af-form></af-form>",
294
- "securityNotes": "Sanitizes slot content"
295
- },
296
- {
297
- "tagName": "af-grid",
298
- "className": "AfriGrid",
299
- "filePath": "components\\grid.js",
300
- "slots": [
301
- "default"
302
- ],
303
- "attributes": {
304
- "min-width": {
305
- "type": "string"
306
- },
307
- "gap": {
308
- "type": "string"
309
- },
310
- "columns": {
311
- "type": "string"
312
- },
313
- "rows": {
314
- "type": "string"
315
- },
316
- "layout": {
317
- "type": "string"
318
- },
319
- "align": {
320
- "type": "string"
321
- },
322
- "justify": {
323
- "type": "string"
324
- },
325
- "dense": {
326
- "type": "string"
327
- },
328
- "sidebar-side": {
329
- "type": "string"
330
- },
331
- "sidebar-width": {
332
- "type": "string"
333
- },
334
- "": {
335
- "type": "string"
336
- }
337
- },
338
- "events": [],
339
- "cssCustomProperties": [],
340
- "example": "<af-grid></af-grid>",
341
- "securityNotes": "Sanitizes slot content"
342
- },
343
- {
344
- "tagName": "af-hero",
345
- "className": "AfriHero",
346
- "filePath": "components\\hero.js",
347
- "slots": [
348
- "default"
349
- ],
350
- "attributes": {
351
- "title": {
352
- "type": "string"
353
- },
354
- "subtitle": {
355
- "type": "string"
356
- },
357
- "pattern": {
358
- "type": "string"
359
- },
360
- "overlay": {
361
- "type": "string"
362
- }
363
- },
364
- "events": [],
365
- "cssCustomProperties": [],
366
- "example": "<af-hero></af-hero>",
367
- "securityNotes": "Sanitizes slot content"
368
- },
369
- {
370
- "tagName": "af-icon",
371
- "className": "AfriIcon",
372
- "filePath": "components\\icon.js",
373
- "slots": [
374
- "default"
375
- ],
376
- "attributes": {
377
- "name": {
378
- "type": "string"
379
- },
380
- "size": {
381
- "type": "string"
382
- }
383
- },
384
- "events": [],
385
- "cssCustomProperties": [],
386
- "example": "<af-icon></af-icon>",
387
- "securityNotes": "Sanitizes slot content"
388
- },
389
- {
390
- "tagName": "af-input",
391
- "className": "AfriInput",
392
- "filePath": "components\\input.js",
393
- "slots": [
394
- "default"
395
- ],
396
- "attributes": {
397
- "type": {
398
- "type": "string"
399
- },
400
- "name": {
401
- "type": "string"
402
- },
403
- "label": {
404
- "type": "string"
405
- },
406
- "placeholder": {
407
- "type": "string"
408
- },
409
- "error": {
410
- "type": "string"
411
- },
412
- "helper": {
413
- "type": "string"
414
- },
415
- "theme": {
416
- "type": "string"
417
- },
418
- "icon": {
419
- "type": "string"
420
- },
421
- "required": {
422
- "type": "string"
423
- },
424
- "aria-label": {
425
- "type": "string"
426
- },
427
- "aria-describedby": {
428
- "type": "string"
429
- },
430
- "validation": {
431
- "type": "string"
432
- }
433
- },
434
- "events": [],
435
- "cssCustomProperties": [],
436
- "example": "<af-input></af-input>",
437
- "securityNotes": "Sanitizes slot content"
438
- },
439
- {
440
- "tagName": "af-kanga-card",
441
- "className": "KangaCard",
442
- "filePath": "components\\kanga-card.js",
443
- "slots": [
444
- "default"
445
- ],
446
- "attributes": {
447
- "theme": {
448
- "type": "string"
449
- },
450
- "proverb": {
451
- "type": "string"
452
- },
453
- "proverb-translation": {
454
- "type": "string"
455
- }
456
- },
457
- "events": [],
458
- "cssCustomProperties": [],
459
- "example": "<af-kanga-card></af-kanga-card>",
460
- "securityNotes": "Sanitizes slot content"
461
- },
462
- {
463
- "tagName": "af-language-switcher",
464
- "className": "AfriLanguageSwitcher",
465
- "filePath": "components\\language-switcher.js",
466
- "slots": [
467
- "default"
468
- ],
469
- "attributes": {
470
- "current": {
471
- "type": "string"
472
- }
473
- },
474
- "events": [],
475
- "cssCustomProperties": [],
476
- "example": "<af-language-switcher></af-language-switcher>",
477
- "securityNotes": "Sanitizes slot content"
478
- },
479
- {
480
- "tagName": "af-loader",
481
- "className": "AfriLoader",
482
- "filePath": "components\\loader.js",
483
- "slots": [
484
- "default"
485
- ],
486
- "attributes": {
487
- "size": {
488
- "type": "string"
489
- },
490
- "color": {
491
- "type": "string"
492
- },
493
- "type": {
494
- "type": "string"
495
- }
496
- },
497
- "events": [],
498
- "cssCustomProperties": [],
499
- "example": "<af-loader></af-loader>",
500
- "securityNotes": "Sanitizes slot content"
501
- },
502
- {
503
- "tagName": "af-modal",
504
- "className": "AfriModal",
505
- "filePath": "components\\modal.js",
506
- "slots": [
507
- "default"
508
- ],
509
- "attributes": {
510
- "open": {
511
- "type": "string"
512
- },
513
- "theme": {
514
- "type": "string"
515
- },
516
- "size": {
517
- "type": "string"
518
- },
519
- "aria-label": {
520
- "type": "string"
521
- },
522
- "aria-labelledby": {
523
- "type": "string"
524
- }
525
- },
526
- "events": [],
527
- "cssCustomProperties": [],
528
- "example": "<af-modal></af-modal>",
529
- "securityNotes": "Sanitizes slot content"
530
- },
531
- {
532
- "tagName": "af-motion",
533
- "className": "MotionComponent",
534
- "filePath": "components\\motion.js",
535
- "slots": [
536
- "default"
537
- ],
538
- "attributes": {
539
- "animate": {
540
- "type": "string"
541
- },
542
- "transition": {
543
- "type": "string"
544
- }
545
- },
546
- "events": [],
547
- "cssCustomProperties": [],
548
- "example": "<af-motion></af-motion>",
549
- "securityNotes": "Sanitizes slot content"
550
- },
551
- {
552
- "tagName": "af-navbar",
553
- "className": "AfriNavbar",
554
- "filePath": "components\\navbar.js",
555
- "slots": [
556
- "default"
557
- ],
558
- "attributes": {
559
- "theme": {
560
- "type": "string"
561
- },
562
- "logo": {
563
- "type": "string"
564
- },
565
- "sticky": {
566
- "type": "string"
567
- }
568
- },
569
- "events": [],
570
- "cssCustomProperties": [],
571
- "example": "<af-navbar></af-navbar>",
572
- "securityNotes": "Sanitizes slot content"
573
- },
574
- {
575
- "tagName": "af-pattern-showcase",
576
- "className": "PatternShowcase",
577
- "filePath": "components\\pattern-showcase.js",
578
- "slots": [
579
- "default"
580
- ],
581
- "attributes": {
582
- "region": {
583
- "type": "string"
584
- },
585
- "size": {
586
- "type": "string"
587
- }
588
- },
589
- "events": [],
590
- "cssCustomProperties": [],
591
- "example": "<af-pattern-showcase></af-pattern-showcase>",
592
- "securityNotes": "Sanitizes slot content"
593
- },
594
- {
595
- "tagName": "af-progress",
596
- "className": "AfriProgress",
597
- "filePath": "components\\progress.js",
598
- "slots": [
599
- "default"
600
- ],
601
- "attributes": {
602
- "value": {
603
- "type": "string"
604
- },
605
- "max": {
606
- "type": "string"
607
- },
608
- "theme": {
609
- "type": "string"
610
- },
611
- "size": {
612
- "type": "string"
613
- },
614
- "label": {
615
- "type": "string"
616
- },
617
- "animated": {
618
- "type": "string"
619
- }
620
- },
621
- "events": [],
622
- "cssCustomProperties": [],
623
- "example": "<af-progress></af-progress>",
624
- "securityNotes": "Sanitizes slot content"
625
- },
626
- {
627
- "tagName": "af-react",
628
- "className": "AfriReact",
629
- "filePath": "components\\react.js",
630
- "slots": [
631
- "default"
632
- ],
633
- "attributes": {
634
- "component": {
635
- "type": "string"
636
- }
637
- },
638
- "events": [],
639
- "cssCustomProperties": [],
640
- "example": "<af-react></af-react>",
641
- "securityNotes": "Sanitizes slot content"
642
- },
643
- {
644
- "tagName": "af-section",
645
- "className": "AfriSection",
646
- "filePath": "components\\section.js",
647
- "slots": [
648
- "default"
649
- ],
650
- "attributes": {},
651
- "events": [],
652
- "cssCustomProperties": [],
653
- "example": "<af-section></af-section>",
654
- "securityNotes": "Sanitizes slot content"
655
- },
656
- {
657
- "tagName": "af-select",
658
- "className": "AfriSelect",
659
- "filePath": "components\\select.js",
660
- "slots": [
661
- "default"
662
- ],
663
- "attributes": {
664
- "label": {
665
- "type": "string"
666
- },
667
- "placeholder": {
668
- "type": "string"
669
- },
670
- "theme": {
671
- "type": "string"
672
- },
673
- "error": {
674
- "type": "string"
675
- },
676
- "required": {
677
- "type": "string"
678
- },
679
- "aria-label": {
680
- "type": "string"
681
- },
682
- "aria-describedby": {
683
- "type": "string"
684
- }
685
- },
686
- "events": [],
687
- "cssCustomProperties": [],
688
- "example": "<af-select></af-select>",
689
- "securityNotes": "Sanitizes slot content"
690
- },
691
- {
692
- "tagName": "af-sidebar",
693
- "className": "AfriSidebar",
694
- "filePath": "components\\sidebar.js",
695
- "slots": [
696
- "default"
697
- ],
698
- "attributes": {
699
- "position": {
700
- "type": "string"
701
- }
702
- },
703
- "events": [],
704
- "cssCustomProperties": [],
705
- "example": "<af-sidebar></af-sidebar>",
706
- "securityNotes": "Sanitizes slot content"
707
- },
708
- {
709
- "tagName": "af-skeleton",
710
- "className": "AfriSkeleton",
711
- "filePath": "components\\skeleton.js",
712
- "slots": [
713
- "default"
714
- ],
715
- "attributes": {
716
- "variant": {
717
- "type": "string"
718
- },
719
- "width": {
720
- "type": "string"
721
- },
722
- "height": {
723
- "type": "string"
724
- },
725
- "lines": {
726
- "type": "string"
727
- }
728
- },
729
- "events": [],
730
- "cssCustomProperties": [],
731
- "example": "<af-skeleton></af-skeleton>",
732
- "securityNotes": "Sanitizes slot content"
733
- },
734
- {
735
- "tagName": "af-table",
736
- "className": "AfriTable",
737
- "filePath": "components\\table.js",
738
- "slots": [
739
- "default"
740
- ],
741
- "attributes": {
742
- "theme": {
743
- "type": "string"
744
- },
745
- "striped": {
746
- "type": "string"
747
- },
748
- "hoverable": {
749
- "type": "string"
750
- }
751
- },
752
- "events": [],
753
- "cssCustomProperties": [],
754
- "example": "<af-table></af-table>",
755
- "securityNotes": "Sanitizes slot content"
756
- },
757
- {
758
- "tagName": "af-tabs",
759
- "className": "AfriTabs",
760
- "filePath": "components\\tabs.js",
761
- "slots": [
762
- "default"
763
- ],
764
- "attributes": {
765
- "theme": {
766
- "type": "string"
767
- }
768
- },
769
- "events": [],
770
- "cssCustomProperties": [],
771
- "example": "<af-tabs></af-tabs>",
772
- "securityNotes": "Sanitizes slot content"
773
- },
774
- {
775
- "tagName": "af-theme-toggle",
776
- "className": "Theme-toggleComponent",
777
- "filePath": "components\\theme-toggle.js",
778
- "slots": [
779
- "default"
780
- ],
781
- "attributes": {},
782
- "events": [],
783
- "cssCustomProperties": [],
784
- "example": "<af-theme-toggle></af-theme-toggle>",
785
- "securityNotes": "Sanitizes slot content"
786
- },
787
- {
788
- "tagName": "af-toast",
789
- "className": "AfriToast",
790
- "filePath": "components\\toast.js",
791
- "slots": [
792
- "default"
793
- ],
794
- "attributes": {
795
- "type": {
796
- "type": "string"
797
- },
798
- "message": {
799
- "type": "string"
800
- },
801
- "duration": {
802
- "type": "string"
803
- }
804
- },
805
- "events": [],
806
- "cssCustomProperties": [],
807
- "example": "<af-toast></af-toast>",
808
- "securityNotes": "Sanitizes slot content"
809
- },
810
- {
811
- "tagName": "af-tooltip",
812
- "className": "AfriTooltip",
813
- "filePath": "components\\tooltip.js",
814
- "slots": [
815
- "default"
816
- ],
817
- "attributes": {
818
- "text": {
819
- "type": "string"
820
- },
821
- "position": {
822
- "type": "string"
823
- }
824
- },
825
- "events": [],
826
- "cssCustomProperties": [],
827
- "example": "<af-tooltip></af-tooltip>",
828
- "securityNotes": "Sanitizes slot content"
829
- },
830
- {
831
- "tagName": "af-ui-badge",
832
- "className": "AfriUIBadge",
833
- "filePath": "components\\ui-badge.js",
834
- "slots": [
835
- "default"
836
- ],
837
- "attributes": {
838
- "variant": {
839
- "type": "string"
840
- },
841
- "size": {
842
- "type": "string"
843
- },
844
- "pill": {
845
- "type": "string"
846
- }
847
- },
848
- "events": [],
849
- "cssCustomProperties": [],
850
- "example": "<af-ui-badge></af-ui-badge>",
851
- "securityNotes": "Sanitizes slot content"
852
- },
853
- {
854
- "tagName": "af-ui-button",
855
- "className": "AfriUIButton",
856
- "filePath": "components\\ui-button.js",
857
- "slots": [
858
- "default"
859
- ],
860
- "attributes": {
861
- "variant": {
862
- "type": "string"
863
- },
864
- "size": {
865
- "type": "string"
866
- },
867
- "disabled": {
868
- "type": "string"
869
- },
870
- "loading": {
871
- "type": "string"
872
- },
873
- "full-width": {
874
- "type": "string"
875
- },
876
- "aria-label": {
877
- "type": "string"
878
- }
879
- },
880
- "events": [
881
- {
882
- "name": "click",
883
- "detail": {
884
- "type": "object"
885
- }
886
- }
887
- ],
888
- "cssCustomProperties": [],
889
- "example": "<af-ui-button></af-ui-button>",
890
- "securityNotes": "Sanitizes slot content"
891
- },
892
- {
893
- "tagName": "af-ui-card",
894
- "className": "AfriUICard",
895
- "filePath": "components\\ui-card.js",
896
- "slots": [
897
- "default"
898
- ],
899
- "attributes": {
900
- "variant": {
901
- "type": "string"
902
- },
903
- "bordered": {
904
- "type": "string"
905
- },
906
- "clickable": {
907
- "type": "string"
908
- }
909
- },
910
- "events": [],
911
- "cssCustomProperties": [],
912
- "example": "<af-ui-card></af-ui-card>",
913
- "securityNotes": "Sanitizes slot content"
914
- },
915
- {
916
- "tagName": "af-ui-input",
917
- "className": "AfriUIInput",
918
- "filePath": "components\\ui-input.js",
919
- "slots": [
920
- "default"
921
- ],
922
- "attributes": {
923
- "label": {
924
- "type": "string"
925
- },
926
- "placeholder": {
927
- "type": "string"
928
- },
929
- "type": {
930
- "type": "string"
931
- },
932
- "value": {
933
- "type": "string"
934
- },
935
- "disabled": {
936
- "type": "string"
937
- },
938
- "error": {
939
- "type": "string"
940
- }
941
- },
942
- "events": [
943
- {
944
- "name": "click",
945
- "detail": {
946
- "type": "object"
947
- }
948
- }
949
- ],
950
- "cssCustomProperties": [],
951
- "example": "<af-ui-input></af-ui-input>",
952
- "securityNotes": "Sanitizes slot content"
953
- },
954
- {
955
- "tagName": "af-ui-switch",
956
- "className": "AfriUISwitch",
957
- "filePath": "components\\ui-switch.js",
958
- "slots": [
959
- "default"
960
- ],
961
- "attributes": {
962
- "checked": {
963
- "type": "string"
964
- },
965
- "disabled": {
966
- "type": "string"
967
- },
968
- "size": {
969
- "type": "string"
970
- }
971
- },
972
- "events": [
973
- {
974
- "name": "click",
975
- "detail": {
976
- "type": "object"
977
- }
978
- }
979
- ],
980
- "cssCustomProperties": [],
981
- "example": "<af-ui-switch></af-ui-switch>",
982
- "securityNotes": "Sanitizes slot content"
983
- }
984
- ],
985
- "forbiddenPatterns": [
986
- "eval()",
987
- "innerHTML = userInput",
988
- "fetch without CORS headers",
989
- "localStorage for sensitive data"
990
- ]
1
+ {
2
+ "version": "5.0.0",
3
+ "timestamp": "2026-07-07T14:08:34.990Z",
4
+ "components": [
5
+ {
6
+ "tagName": "af-accordion",
7
+ "className": "AfriAccordion",
8
+ "filePath": "components\\accordion.js",
9
+ "slots": [
10
+ "default"
11
+ ],
12
+ "attributes": {
13
+ "theme": {
14
+ "type": "string"
15
+ },
16
+ "multiple": {
17
+ "type": "string"
18
+ }
19
+ },
20
+ "events": [],
21
+ "cssCustomProperties": [],
22
+ "example": "<af-accordion></af-accordion>",
23
+ "securityNotes": "Sanitizes slot content"
24
+ },
25
+ {
26
+ "tagName": "af-alert",
27
+ "className": "AfriAlert",
28
+ "filePath": "components\\alert.js",
29
+ "slots": [
30
+ "default"
31
+ ],
32
+ "attributes": {
33
+ "type": {
34
+ "type": "string"
35
+ },
36
+ "title": {
37
+ "type": "string"
38
+ },
39
+ "dismissible": {
40
+ "type": "string"
41
+ }
42
+ },
43
+ "events": [],
44
+ "cssCustomProperties": [],
45
+ "example": "<af-alert></af-alert>",
46
+ "securityNotes": "Sanitizes slot content"
47
+ },
48
+ {
49
+ "tagName": "af-auth-form",
50
+ "className": "AfriAuthForm",
51
+ "filePath": "components\\auth-form.js",
52
+ "slots": [
53
+ "default"
54
+ ],
55
+ "attributes": {
56
+ "endpoint": {
57
+ "type": "string"
58
+ },
59
+ "button-label": {
60
+ "type": "string"
61
+ }
62
+ },
63
+ "events": [],
64
+ "cssCustomProperties": [],
65
+ "example": "<af-auth-form></af-auth-form>",
66
+ "securityNotes": "Sanitizes slot content"
67
+ },
68
+ {
69
+ "tagName": "af-auth",
70
+ "className": "AfriAuth",
71
+ "filePath": "components\\auth.js",
72
+ "slots": [
73
+ "default"
74
+ ],
75
+ "attributes": {},
76
+ "events": [],
77
+ "cssCustomProperties": [],
78
+ "example": "<af-auth></af-auth>",
79
+ "securityNotes": "Sanitizes slot content"
80
+ },
81
+ {
82
+ "tagName": "af-avatar",
83
+ "className": "AfriAvatar",
84
+ "filePath": "components\\avatar.js",
85
+ "slots": [
86
+ "default"
87
+ ],
88
+ "attributes": {
89
+ "src": {
90
+ "type": "string"
91
+ },
92
+ "name": {
93
+ "type": "string"
94
+ },
95
+ "size": {
96
+ "type": "string"
97
+ },
98
+ "status": {
99
+ "type": "string"
100
+ },
101
+ "theme": {
102
+ "type": "string"
103
+ }
104
+ },
105
+ "events": [],
106
+ "cssCustomProperties": [],
107
+ "example": "<af-avatar></af-avatar>",
108
+ "securityNotes": "Sanitizes slot content"
109
+ },
110
+ {
111
+ "tagName": "af-badge",
112
+ "className": "AfriBadge",
113
+ "filePath": "components\\badge.js",
114
+ "slots": [
115
+ "default"
116
+ ],
117
+ "attributes": {
118
+ "variant": {
119
+ "type": "string"
120
+ },
121
+ "size": {
122
+ "type": "string"
123
+ },
124
+ "removable": {
125
+ "type": "string"
126
+ }
127
+ },
128
+ "events": [],
129
+ "cssCustomProperties": [],
130
+ "example": "<af-badge></af-badge>",
131
+ "securityNotes": "Sanitizes slot content"
132
+ },
133
+ {
134
+ "tagName": "af-breadcrumb",
135
+ "className": "AfriBreadcrumb",
136
+ "filePath": "components\\breadcrumb.js",
137
+ "slots": [
138
+ "default"
139
+ ],
140
+ "attributes": {
141
+ "separator": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ "events": [],
146
+ "cssCustomProperties": [],
147
+ "example": "<af-breadcrumb></af-breadcrumb>",
148
+ "securityNotes": "Sanitizes slot content"
149
+ },
150
+ {
151
+ "tagName": "af-button",
152
+ "className": "AfriButton",
153
+ "filePath": "components\\button.js",
154
+ "slots": [
155
+ "default"
156
+ ],
157
+ "attributes": {
158
+ "variant": {
159
+ "type": "string"
160
+ },
161
+ "size": {
162
+ "type": "string"
163
+ },
164
+ "theme": {
165
+ "type": "string"
166
+ },
167
+ "disabled": {
168
+ "type": "string"
169
+ },
170
+ "loading": {
171
+ "type": "string"
172
+ },
173
+ "icon": {
174
+ "type": "string"
175
+ },
176
+ "aria-label": {
177
+ "type": "string"
178
+ }
179
+ },
180
+ "events": [
181
+ {
182
+ "name": "click",
183
+ "detail": {
184
+ "type": "object"
185
+ }
186
+ }
187
+ ],
188
+ "cssCustomProperties": [],
189
+ "example": "<af-button></af-button>",
190
+ "securityNotes": "Sanitizes slot content"
191
+ },
192
+ {
193
+ "tagName": "af-card",
194
+ "className": "AfriCard",
195
+ "filePath": "components\\card.js",
196
+ "slots": [
197
+ "default"
198
+ ],
199
+ "attributes": {
200
+ "theme": {
201
+ "type": "string"
202
+ },
203
+ "variant": {
204
+ "type": "string"
205
+ },
206
+ "clickable": {
207
+ "type": "string"
208
+ },
209
+ "image": {
210
+ "type": "string"
211
+ }
212
+ },
213
+ "events": [],
214
+ "cssCustomProperties": [],
215
+ "example": "<af-card></af-card>",
216
+ "securityNotes": "Sanitizes slot content"
217
+ },
218
+ {
219
+ "tagName": "af-carousel",
220
+ "className": "AfriCarousel",
221
+ "filePath": "components\\carousel.js",
222
+ "slots": [
223
+ "default"
224
+ ],
225
+ "attributes": {},
226
+ "events": [],
227
+ "cssCustomProperties": [],
228
+ "example": "<af-carousel></af-carousel>",
229
+ "securityNotes": "Sanitizes slot content"
230
+ },
231
+ {
232
+ "tagName": "af-cart-drawer",
233
+ "className": "AfriCartDrawer",
234
+ "filePath": "components\\cart-drawer.js",
235
+ "slots": [
236
+ "default"
237
+ ],
238
+ "attributes": {},
239
+ "events": [],
240
+ "cssCustomProperties": [],
241
+ "example": "<af-cart-drawer></af-cart-drawer>",
242
+ "securityNotes": "Sanitizes slot content"
243
+ },
244
+ {
245
+ "tagName": "af-code-block",
246
+ "className": "AfriCodeBlock",
247
+ "filePath": "components\\code-block.js",
248
+ "slots": [
249
+ "default"
250
+ ],
251
+ "attributes": {},
252
+ "events": [],
253
+ "cssCustomProperties": [],
254
+ "example": "<af-code-block></af-code-block>",
255
+ "securityNotes": "Sanitizes slot content"
256
+ },
257
+ {
258
+ "tagName": "af-contact-form",
259
+ "className": "AfriContactForm",
260
+ "filePath": "components\\contact-form.js",
261
+ "slots": [
262
+ "default"
263
+ ],
264
+ "attributes": {},
265
+ "events": [],
266
+ "cssCustomProperties": [],
267
+ "example": "<af-contact-form></af-contact-form>",
268
+ "securityNotes": "Sanitizes slot content"
269
+ },
270
+ {
271
+ "tagName": "af-cookie-consent",
272
+ "className": "AfriCookieConsent",
273
+ "filePath": "components\\cookie-consent.js",
274
+ "slots": [
275
+ "default"
276
+ ],
277
+ "attributes": {},
278
+ "events": [],
279
+ "cssCustomProperties": [],
280
+ "example": "<af-cookie-consent></af-cookie-consent>",
281
+ "securityNotes": "Sanitizes slot content"
282
+ },
283
+ {
284
+ "tagName": "af-cta-banner",
285
+ "className": "AfriCTABanner",
286
+ "filePath": "components\\cta-banner.js",
287
+ "slots": [
288
+ "default"
289
+ ],
290
+ "attributes": {
291
+ "title": {
292
+ "type": "string"
293
+ },
294
+ "subtitle": {
295
+ "type": "string"
296
+ },
297
+ "cta-text": {
298
+ "type": "string"
299
+ }
300
+ },
301
+ "events": [],
302
+ "cssCustomProperties": [],
303
+ "example": "<af-cta-banner></af-cta-banner>",
304
+ "securityNotes": "Sanitizes slot content"
305
+ },
306
+ {
307
+ "tagName": "af-cultural-card",
308
+ "className": "CulturalCard",
309
+ "filePath": "components\\cultural-card.js",
310
+ "slots": [
311
+ "default"
312
+ ],
313
+ "attributes": {
314
+ "culture": {
315
+ "type": "string"
316
+ },
317
+ "interactive": {
318
+ "type": "string"
319
+ }
320
+ },
321
+ "events": [],
322
+ "cssCustomProperties": [],
323
+ "example": "<af-cultural-card></af-cultural-card>",
324
+ "securityNotes": "Sanitizes slot content"
325
+ },
326
+ {
327
+ "tagName": "af-dashboard-activity-list",
328
+ "className": "AfriDashboardActivityList",
329
+ "filePath": "components\\dashboard-activity-list.js",
330
+ "slots": [
331
+ "default"
332
+ ],
333
+ "attributes": {
334
+ "title": {
335
+ "type": "string"
336
+ },
337
+ "empty-text": {
338
+ "type": "string"
339
+ }
340
+ },
341
+ "events": [],
342
+ "cssCustomProperties": [],
343
+ "example": "<af-dashboard-activity-list></af-dashboard-activity-list>",
344
+ "securityNotes": "Sanitizes slot content"
345
+ },
346
+ {
347
+ "tagName": "af-dashboard-card",
348
+ "className": "AfriDashboardCard",
349
+ "filePath": "components\\dashboard-card.js",
350
+ "slots": [
351
+ "default"
352
+ ],
353
+ "attributes": {
354
+ "title": {
355
+ "type": "string"
356
+ },
357
+ "variant": {
358
+ "type": "string"
359
+ }
360
+ },
361
+ "events": [],
362
+ "cssCustomProperties": [],
363
+ "example": "<af-dashboard-card></af-dashboard-card>",
364
+ "securityNotes": "Sanitizes slot content"
365
+ },
366
+ {
367
+ "tagName": "af-dashboard-metric",
368
+ "className": "AfriDashboardMetric",
369
+ "filePath": "components\\dashboard-metric.js",
370
+ "slots": [
371
+ "default"
372
+ ],
373
+ "attributes": {
374
+ "label": {
375
+ "type": "string"
376
+ },
377
+ "value": {
378
+ "type": "string"
379
+ },
380
+ "delta": {
381
+ "type": "string"
382
+ },
383
+ "trend": {
384
+ "type": "string"
385
+ }
386
+ },
387
+ "events": [],
388
+ "cssCustomProperties": [],
389
+ "example": "<af-dashboard-metric></af-dashboard-metric>",
390
+ "securityNotes": "Sanitizes slot content"
391
+ },
392
+ {
393
+ "tagName": "af-dashboard-shell",
394
+ "className": "AfriDashboardShell",
395
+ "filePath": "components\\dashboard-shell.js",
396
+ "slots": [
397
+ "default"
398
+ ],
399
+ "attributes": {
400
+ "sidebar-width": {
401
+ "type": "string"
402
+ },
403
+ "topbar-height": {
404
+ "type": "string"
405
+ }
406
+ },
407
+ "events": [],
408
+ "cssCustomProperties": [],
409
+ "example": "<af-dashboard-shell></af-dashboard-shell>",
410
+ "securityNotes": "Sanitizes slot content"
411
+ },
412
+ {
413
+ "tagName": "af-dashboard-topbar",
414
+ "className": "AfriDashboardTopbar",
415
+ "filePath": "components\\dashboard-topbar.js",
416
+ "slots": [
417
+ "default"
418
+ ],
419
+ "attributes": {
420
+ "title": {
421
+ "type": "string"
422
+ },
423
+ "description": {
424
+ "type": "string"
425
+ }
426
+ },
427
+ "events": [],
428
+ "cssCustomProperties": [],
429
+ "example": "<af-dashboard-topbar></af-dashboard-topbar>",
430
+ "securityNotes": "Sanitizes slot content"
431
+ },
432
+ {
433
+ "tagName": "af-divider",
434
+ "className": "AfriDivider",
435
+ "filePath": "components\\divider.js",
436
+ "slots": [
437
+ "default"
438
+ ],
439
+ "attributes": {
440
+ "pattern": {
441
+ "type": "string"
442
+ },
443
+ "height": {
444
+ "type": "string"
445
+ },
446
+ "color": {
447
+ "type": "string"
448
+ },
449
+ "flip": {
450
+ "type": "string"
451
+ }
452
+ },
453
+ "events": [],
454
+ "cssCustomProperties": [],
455
+ "example": "<af-divider></af-divider>",
456
+ "securityNotes": "Sanitizes slot content"
457
+ },
458
+ {
459
+ "tagName": "af-dropdown",
460
+ "className": "AfriDropdown",
461
+ "filePath": "components\\dropdown.js",
462
+ "slots": [
463
+ "default"
464
+ ],
465
+ "attributes": {
466
+ "label": {
467
+ "type": "string"
468
+ },
469
+ "open": {
470
+ "type": "string"
471
+ }
472
+ },
473
+ "events": [],
474
+ "cssCustomProperties": [],
475
+ "example": "<af-dropdown></af-dropdown>",
476
+ "securityNotes": "Sanitizes slot content"
477
+ },
478
+ {
479
+ "tagName": "af-error-boundary",
480
+ "className": "AfriErrorBoundary",
481
+ "filePath": "components\\error-boundary.js",
482
+ "slots": [
483
+ "default"
484
+ ],
485
+ "attributes": {
486
+ "theme": {
487
+ "type": "string"
488
+ },
489
+ "fallback-message": {
490
+ "type": "string"
491
+ }
492
+ },
493
+ "events": [],
494
+ "cssCustomProperties": [],
495
+ "example": "<af-error-boundary></af-error-boundary>",
496
+ "securityNotes": "Sanitizes slot content"
497
+ },
498
+ {
499
+ "tagName": "af-faq-accordion",
500
+ "className": "AfriFAQAccordion",
501
+ "filePath": "components\\faq-accordion.js",
502
+ "slots": [
503
+ "default"
504
+ ],
505
+ "attributes": {},
506
+ "events": [],
507
+ "cssCustomProperties": [],
508
+ "example": "<af-faq-accordion></af-faq-accordion>",
509
+ "securityNotes": "Sanitizes slot content"
510
+ },
511
+ {
512
+ "tagName": "af-feature-grid",
513
+ "className": "AfriFeatureGrid",
514
+ "filePath": "components\\feature-grid.js",
515
+ "slots": [
516
+ "default"
517
+ ],
518
+ "attributes": {
519
+ "columns": {
520
+ "type": "string"
521
+ }
522
+ },
523
+ "events": [],
524
+ "cssCustomProperties": [],
525
+ "example": "<af-feature-grid></af-feature-grid>",
526
+ "securityNotes": "Sanitizes slot content"
527
+ },
528
+ {
529
+ "tagName": "af-file-uploader",
530
+ "className": "AfriFileUploader",
531
+ "filePath": "components\\file-uploader.js",
532
+ "slots": [
533
+ "default"
534
+ ],
535
+ "attributes": {},
536
+ "events": [],
537
+ "cssCustomProperties": [],
538
+ "example": "<af-file-uploader></af-file-uploader>",
539
+ "securityNotes": "Sanitizes slot content"
540
+ },
541
+ {
542
+ "tagName": "af-filter-bar",
543
+ "className": "AfriFilterBar",
544
+ "filePath": "components\\filter-bar.js",
545
+ "slots": [
546
+ "default"
547
+ ],
548
+ "attributes": {},
549
+ "events": [],
550
+ "cssCustomProperties": [],
551
+ "example": "<af-filter-bar></af-filter-bar>",
552
+ "securityNotes": "Sanitizes slot content"
553
+ },
554
+ {
555
+ "tagName": "af-footer",
556
+ "className": "AfriFooter",
557
+ "filePath": "components\\footer.js",
558
+ "slots": [
559
+ "default"
560
+ ],
561
+ "attributes": {
562
+ "company": {
563
+ "type": "string"
564
+ },
565
+ "year": {
566
+ "type": "string"
567
+ }
568
+ },
569
+ "events": [],
570
+ "cssCustomProperties": [],
571
+ "example": "<af-footer></af-footer>",
572
+ "securityNotes": "Sanitizes slot content"
573
+ },
574
+ {
575
+ "tagName": "af-form",
576
+ "className": "AfriForm",
577
+ "filePath": "components\\form.js",
578
+ "slots": [
579
+ "default"
580
+ ],
581
+ "attributes": {
582
+ "action": {
583
+ "type": "string"
584
+ },
585
+ "method": {
586
+ "type": "string"
587
+ },
588
+ "error": {
589
+ "type": "string"
590
+ },
591
+ "success": {
592
+ "type": "string"
593
+ },
594
+ "schema": {
595
+ "type": "string"
596
+ }
597
+ },
598
+ "events": [],
599
+ "cssCustomProperties": [],
600
+ "example": "<af-form></af-form>",
601
+ "securityNotes": "Sanitizes slot content"
602
+ },
603
+ {
604
+ "tagName": "af-gallery",
605
+ "className": "AfriGallery",
606
+ "filePath": "components\\gallery.js",
607
+ "slots": [
608
+ "default"
609
+ ],
610
+ "attributes": {},
611
+ "events": [],
612
+ "cssCustomProperties": [],
613
+ "example": "<af-gallery></af-gallery>",
614
+ "securityNotes": "Sanitizes slot content"
615
+ },
616
+ {
617
+ "tagName": "af-grid",
618
+ "className": "AfriGrid",
619
+ "filePath": "components\\grid.js",
620
+ "slots": [
621
+ "default"
622
+ ],
623
+ "attributes": {
624
+ "min-width": {
625
+ "type": "string"
626
+ },
627
+ "gap": {
628
+ "type": "string"
629
+ },
630
+ "columns": {
631
+ "type": "string"
632
+ },
633
+ "rows": {
634
+ "type": "string"
635
+ },
636
+ "layout": {
637
+ "type": "string"
638
+ },
639
+ "align": {
640
+ "type": "string"
641
+ },
642
+ "justify": {
643
+ "type": "string"
644
+ },
645
+ "dense": {
646
+ "type": "string"
647
+ },
648
+ "sidebar-side": {
649
+ "type": "string"
650
+ },
651
+ "sidebar-width": {
652
+ "type": "string"
653
+ },
654
+ "": {
655
+ "type": "string"
656
+ }
657
+ },
658
+ "events": [],
659
+ "cssCustomProperties": [],
660
+ "example": "<af-grid></af-grid>",
661
+ "securityNotes": "Sanitizes slot content"
662
+ },
663
+ {
664
+ "tagName": "af-hero",
665
+ "className": "AfriHero",
666
+ "filePath": "components\\hero.js",
667
+ "slots": [
668
+ "default"
669
+ ],
670
+ "attributes": {
671
+ "title": {
672
+ "type": "string"
673
+ },
674
+ "subtitle": {
675
+ "type": "string"
676
+ },
677
+ "pattern": {
678
+ "type": "string"
679
+ },
680
+ "overlay": {
681
+ "type": "string"
682
+ }
683
+ },
684
+ "events": [],
685
+ "cssCustomProperties": [],
686
+ "example": "<af-hero></af-hero>",
687
+ "securityNotes": "Sanitizes slot content"
688
+ },
689
+ {
690
+ "tagName": "af-icon",
691
+ "className": "AfriIcon",
692
+ "filePath": "components\\icon.js",
693
+ "slots": [
694
+ "default"
695
+ ],
696
+ "attributes": {
697
+ "name": {
698
+ "type": "string"
699
+ },
700
+ "size": {
701
+ "type": "string"
702
+ }
703
+ },
704
+ "events": [],
705
+ "cssCustomProperties": [],
706
+ "example": "<af-icon></af-icon>",
707
+ "securityNotes": "Sanitizes slot content"
708
+ },
709
+ {
710
+ "tagName": "af-input",
711
+ "className": "AfriInput",
712
+ "filePath": "components\\input.js",
713
+ "slots": [
714
+ "default"
715
+ ],
716
+ "attributes": {
717
+ "type": {
718
+ "type": "string"
719
+ },
720
+ "name": {
721
+ "type": "string"
722
+ },
723
+ "label": {
724
+ "type": "string"
725
+ },
726
+ "placeholder": {
727
+ "type": "string"
728
+ },
729
+ "error": {
730
+ "type": "string"
731
+ },
732
+ "helper": {
733
+ "type": "string"
734
+ },
735
+ "theme": {
736
+ "type": "string"
737
+ },
738
+ "icon": {
739
+ "type": "string"
740
+ },
741
+ "required": {
742
+ "type": "string"
743
+ },
744
+ "aria-label": {
745
+ "type": "string"
746
+ },
747
+ "aria-describedby": {
748
+ "type": "string"
749
+ },
750
+ "validation": {
751
+ "type": "string"
752
+ }
753
+ },
754
+ "events": [],
755
+ "cssCustomProperties": [],
756
+ "example": "<af-input></af-input>",
757
+ "securityNotes": "Sanitizes slot content"
758
+ },
759
+ {
760
+ "tagName": "af-kanga-card",
761
+ "className": "KangaCard",
762
+ "filePath": "components\\kanga-card.js",
763
+ "slots": [
764
+ "default"
765
+ ],
766
+ "attributes": {
767
+ "theme": {
768
+ "type": "string"
769
+ },
770
+ "proverb": {
771
+ "type": "string"
772
+ },
773
+ "proverb-translation": {
774
+ "type": "string"
775
+ }
776
+ },
777
+ "events": [],
778
+ "cssCustomProperties": [],
779
+ "example": "<af-kanga-card></af-kanga-card>",
780
+ "securityNotes": "Sanitizes slot content"
781
+ },
782
+ {
783
+ "tagName": "af-kyc-upload",
784
+ "className": "AfriKycUpload",
785
+ "filePath": "components\\kyc-upload.js",
786
+ "slots": [
787
+ "default"
788
+ ],
789
+ "attributes": {
790
+ "endpoint": {
791
+ "type": "string"
792
+ },
793
+ "max-size-mb": {
794
+ "type": "string"
795
+ }
796
+ },
797
+ "events": [],
798
+ "cssCustomProperties": [],
799
+ "example": "<af-kyc-upload></af-kyc-upload>",
800
+ "securityNotes": "Sanitizes slot content"
801
+ },
802
+ {
803
+ "tagName": "af-language-switcher",
804
+ "className": "AfriLanguageSwitcher",
805
+ "filePath": "components\\language-switcher.js",
806
+ "slots": [
807
+ "default"
808
+ ],
809
+ "attributes": {
810
+ "current": {
811
+ "type": "string"
812
+ }
813
+ },
814
+ "events": [],
815
+ "cssCustomProperties": [],
816
+ "example": "<af-language-switcher></af-language-switcher>",
817
+ "securityNotes": "Sanitizes slot content"
818
+ },
819
+ {
820
+ "tagName": "af-loader",
821
+ "className": "AfriLoader",
822
+ "filePath": "components\\loader.js",
823
+ "slots": [
824
+ "default"
825
+ ],
826
+ "attributes": {
827
+ "size": {
828
+ "type": "string"
829
+ },
830
+ "color": {
831
+ "type": "string"
832
+ },
833
+ "type": {
834
+ "type": "string"
835
+ }
836
+ },
837
+ "events": [],
838
+ "cssCustomProperties": [],
839
+ "example": "<af-loader></af-loader>",
840
+ "securityNotes": "Sanitizes slot content"
841
+ },
842
+ {
843
+ "tagName": "af-modal",
844
+ "className": "AfriModal",
845
+ "filePath": "components\\modal.js",
846
+ "slots": [
847
+ "default"
848
+ ],
849
+ "attributes": {
850
+ "open": {
851
+ "type": "string"
852
+ },
853
+ "theme": {
854
+ "type": "string"
855
+ },
856
+ "size": {
857
+ "type": "string"
858
+ },
859
+ "aria-label": {
860
+ "type": "string"
861
+ },
862
+ "aria-labelledby": {
863
+ "type": "string"
864
+ }
865
+ },
866
+ "events": [],
867
+ "cssCustomProperties": [],
868
+ "example": "<af-modal></af-modal>",
869
+ "securityNotes": "Sanitizes slot content"
870
+ },
871
+ {
872
+ "tagName": "af-motion",
873
+ "className": "MotionComponent",
874
+ "filePath": "components\\motion.js",
875
+ "slots": [
876
+ "default"
877
+ ],
878
+ "attributes": {
879
+ "animate": {
880
+ "type": "string"
881
+ },
882
+ "transition": {
883
+ "type": "string"
884
+ }
885
+ },
886
+ "events": [],
887
+ "cssCustomProperties": [],
888
+ "example": "<af-motion></af-motion>",
889
+ "securityNotes": "Sanitizes slot content"
890
+ },
891
+ {
892
+ "tagName": "af-navbar",
893
+ "className": "AfriNavbar",
894
+ "filePath": "components\\navbar.js",
895
+ "slots": [
896
+ "default"
897
+ ],
898
+ "attributes": {
899
+ "theme": {
900
+ "type": "string"
901
+ },
902
+ "logo": {
903
+ "type": "string"
904
+ },
905
+ "sticky": {
906
+ "type": "string"
907
+ }
908
+ },
909
+ "events": [],
910
+ "cssCustomProperties": [],
911
+ "example": "<af-navbar></af-navbar>",
912
+ "securityNotes": "Sanitizes slot content"
913
+ },
914
+ {
915
+ "tagName": "af-newsletter-signup",
916
+ "className": "AfriNewsletterSignup",
917
+ "filePath": "components\\newsletter-signup.js",
918
+ "slots": [
919
+ "default"
920
+ ],
921
+ "attributes": {},
922
+ "events": [],
923
+ "cssCustomProperties": [],
924
+ "example": "<af-newsletter-signup></af-newsletter-signup>",
925
+ "securityNotes": "Sanitizes slot content"
926
+ },
927
+ {
928
+ "tagName": "af-pagination",
929
+ "className": "AfriPagination",
930
+ "filePath": "components\\pagination.js",
931
+ "slots": [
932
+ "default"
933
+ ],
934
+ "attributes": {},
935
+ "events": [],
936
+ "cssCustomProperties": [],
937
+ "example": "<af-pagination></af-pagination>",
938
+ "securityNotes": "Sanitizes slot content"
939
+ },
940
+ {
941
+ "tagName": "af-pattern-showcase",
942
+ "className": "PatternShowcase",
943
+ "filePath": "components\\pattern-showcase.js",
944
+ "slots": [
945
+ "default"
946
+ ],
947
+ "attributes": {
948
+ "region": {
949
+ "type": "string"
950
+ },
951
+ "size": {
952
+ "type": "string"
953
+ }
954
+ },
955
+ "events": [],
956
+ "cssCustomProperties": [],
957
+ "example": "<af-pattern-showcase></af-pattern-showcase>",
958
+ "securityNotes": "Sanitizes slot content"
959
+ },
960
+ {
961
+ "tagName": "af-pricing-card",
962
+ "className": "AfriPricingCard",
963
+ "filePath": "components\\pricing-card.js",
964
+ "slots": [
965
+ "default"
966
+ ],
967
+ "attributes": {
968
+ "title": {
969
+ "type": "string"
970
+ },
971
+ "price": {
972
+ "type": "string"
973
+ },
974
+ "frequency": {
975
+ "type": "string"
976
+ },
977
+ "highlight": {
978
+ "type": "string"
979
+ }
980
+ },
981
+ "events": [],
982
+ "cssCustomProperties": [],
983
+ "example": "<af-pricing-card></af-pricing-card>",
984
+ "securityNotes": "Sanitizes slot content"
985
+ },
986
+ {
987
+ "tagName": "af-product-card",
988
+ "className": "AfriProductCard",
989
+ "filePath": "components\\product-card.js",
990
+ "slots": [
991
+ "default"
992
+ ],
993
+ "attributes": {
994
+ "title": {
995
+ "type": "string"
996
+ },
997
+ "price": {
998
+ "type": "string"
999
+ },
1000
+ "image": {
1001
+ "type": "string"
1002
+ },
1003
+ "currency": {
1004
+ "type": "string"
1005
+ }
1006
+ },
1007
+ "events": [],
1008
+ "cssCustomProperties": [],
1009
+ "example": "<af-product-card></af-product-card>",
1010
+ "securityNotes": "Sanitizes slot content"
1011
+ },
1012
+ {
1013
+ "tagName": "af-progress",
1014
+ "className": "AfriProgress",
1015
+ "filePath": "components\\progress.js",
1016
+ "slots": [
1017
+ "default"
1018
+ ],
1019
+ "attributes": {
1020
+ "value": {
1021
+ "type": "string"
1022
+ },
1023
+ "max": {
1024
+ "type": "string"
1025
+ },
1026
+ "theme": {
1027
+ "type": "string"
1028
+ },
1029
+ "size": {
1030
+ "type": "string"
1031
+ },
1032
+ "label": {
1033
+ "type": "string"
1034
+ },
1035
+ "animated": {
1036
+ "type": "string"
1037
+ }
1038
+ },
1039
+ "events": [],
1040
+ "cssCustomProperties": [],
1041
+ "example": "<af-progress></af-progress>",
1042
+ "securityNotes": "Sanitizes slot content"
1043
+ },
1044
+ {
1045
+ "tagName": "af-react",
1046
+ "className": "AfriReact",
1047
+ "filePath": "components\\react.js",
1048
+ "slots": [
1049
+ "default"
1050
+ ],
1051
+ "attributes": {
1052
+ "component": {
1053
+ "type": "string"
1054
+ }
1055
+ },
1056
+ "events": [],
1057
+ "cssCustomProperties": [],
1058
+ "example": "<af-react></af-react>",
1059
+ "securityNotes": "Sanitizes slot content"
1060
+ },
1061
+ {
1062
+ "tagName": "af-search-box",
1063
+ "className": "AfriSearchBox",
1064
+ "filePath": "components\\search-box.js",
1065
+ "slots": [
1066
+ "default"
1067
+ ],
1068
+ "attributes": {},
1069
+ "events": [],
1070
+ "cssCustomProperties": [],
1071
+ "example": "<af-search-box></af-search-box>",
1072
+ "securityNotes": "Sanitizes slot content"
1073
+ },
1074
+ {
1075
+ "tagName": "af-section",
1076
+ "className": "AfriSection",
1077
+ "filePath": "components\\section.js",
1078
+ "slots": [
1079
+ "default"
1080
+ ],
1081
+ "attributes": {},
1082
+ "events": [],
1083
+ "cssCustomProperties": [],
1084
+ "example": "<af-section></af-section>",
1085
+ "securityNotes": "Sanitizes slot content"
1086
+ },
1087
+ {
1088
+ "tagName": "af-select",
1089
+ "className": "AfriSelect",
1090
+ "filePath": "components\\select.js",
1091
+ "slots": [
1092
+ "default"
1093
+ ],
1094
+ "attributes": {
1095
+ "label": {
1096
+ "type": "string"
1097
+ },
1098
+ "placeholder": {
1099
+ "type": "string"
1100
+ },
1101
+ "theme": {
1102
+ "type": "string"
1103
+ },
1104
+ "error": {
1105
+ "type": "string"
1106
+ },
1107
+ "required": {
1108
+ "type": "string"
1109
+ },
1110
+ "aria-label": {
1111
+ "type": "string"
1112
+ },
1113
+ "aria-describedby": {
1114
+ "type": "string"
1115
+ }
1116
+ },
1117
+ "events": [],
1118
+ "cssCustomProperties": [],
1119
+ "example": "<af-select></af-select>",
1120
+ "securityNotes": "Sanitizes slot content"
1121
+ },
1122
+ {
1123
+ "tagName": "af-sidebar",
1124
+ "className": "AfriSidebar",
1125
+ "filePath": "components\\sidebar.js",
1126
+ "slots": [
1127
+ "default"
1128
+ ],
1129
+ "attributes": {
1130
+ "position": {
1131
+ "type": "string"
1132
+ }
1133
+ },
1134
+ "events": [],
1135
+ "cssCustomProperties": [],
1136
+ "example": "<af-sidebar></af-sidebar>",
1137
+ "securityNotes": "Sanitizes slot content"
1138
+ },
1139
+ {
1140
+ "tagName": "af-simple-chart",
1141
+ "className": "AfriSimpleChart",
1142
+ "filePath": "components\\simple-chart.js",
1143
+ "slots": [
1144
+ "default"
1145
+ ],
1146
+ "attributes": {},
1147
+ "events": [],
1148
+ "cssCustomProperties": [],
1149
+ "example": "<af-simple-chart></af-simple-chart>",
1150
+ "securityNotes": "Sanitizes slot content"
1151
+ },
1152
+ {
1153
+ "tagName": "af-skeleton",
1154
+ "className": "AfriSkeleton",
1155
+ "filePath": "components\\skeleton.js",
1156
+ "slots": [
1157
+ "default"
1158
+ ],
1159
+ "attributes": {
1160
+ "variant": {
1161
+ "type": "string"
1162
+ },
1163
+ "width": {
1164
+ "type": "string"
1165
+ },
1166
+ "height": {
1167
+ "type": "string"
1168
+ },
1169
+ "lines": {
1170
+ "type": "string"
1171
+ }
1172
+ },
1173
+ "events": [],
1174
+ "cssCustomProperties": [],
1175
+ "example": "<af-skeleton></af-skeleton>",
1176
+ "securityNotes": "Sanitizes slot content"
1177
+ },
1178
+ {
1179
+ "tagName": "af-stepper",
1180
+ "className": "AfriStepper",
1181
+ "filePath": "components\\stepper.js",
1182
+ "slots": [
1183
+ "default"
1184
+ ],
1185
+ "attributes": {},
1186
+ "events": [],
1187
+ "cssCustomProperties": [],
1188
+ "example": "<af-stepper></af-stepper>",
1189
+ "securityNotes": "Sanitizes slot content"
1190
+ },
1191
+ {
1192
+ "tagName": "af-table",
1193
+ "className": "AfriTable",
1194
+ "filePath": "components\\table.js",
1195
+ "slots": [
1196
+ "default"
1197
+ ],
1198
+ "attributes": {
1199
+ "theme": {
1200
+ "type": "string"
1201
+ },
1202
+ "striped": {
1203
+ "type": "string"
1204
+ },
1205
+ "hoverable": {
1206
+ "type": "string"
1207
+ }
1208
+ },
1209
+ "events": [],
1210
+ "cssCustomProperties": [],
1211
+ "example": "<af-table></af-table>",
1212
+ "securityNotes": "Sanitizes slot content"
1213
+ },
1214
+ {
1215
+ "tagName": "af-tabs",
1216
+ "className": "AfriTabs",
1217
+ "filePath": "components\\tabs.js",
1218
+ "slots": [
1219
+ "default"
1220
+ ],
1221
+ "attributes": {
1222
+ "theme": {
1223
+ "type": "string"
1224
+ }
1225
+ },
1226
+ "events": [],
1227
+ "cssCustomProperties": [],
1228
+ "example": "<af-tabs></af-tabs>",
1229
+ "securityNotes": "Sanitizes slot content"
1230
+ },
1231
+ {
1232
+ "tagName": "af-team-grid",
1233
+ "className": "AfriTeamGrid",
1234
+ "filePath": "components\\team-grid.js",
1235
+ "slots": [
1236
+ "default"
1237
+ ],
1238
+ "attributes": {},
1239
+ "events": [],
1240
+ "cssCustomProperties": [],
1241
+ "example": "<af-team-grid></af-team-grid>",
1242
+ "securityNotes": "Sanitizes slot content"
1243
+ },
1244
+ {
1245
+ "tagName": "af-testimonial",
1246
+ "className": "AfriTestimonial",
1247
+ "filePath": "components\\testimonial.js",
1248
+ "slots": [
1249
+ "default"
1250
+ ],
1251
+ "attributes": {
1252
+ "author": {
1253
+ "type": "string"
1254
+ },
1255
+ "role": {
1256
+ "type": "string"
1257
+ },
1258
+ "company": {
1259
+ "type": "string"
1260
+ }
1261
+ },
1262
+ "events": [],
1263
+ "cssCustomProperties": [],
1264
+ "example": "<af-testimonial></af-testimonial>",
1265
+ "securityNotes": "Sanitizes slot content"
1266
+ },
1267
+ {
1268
+ "tagName": "af-theme-toggle",
1269
+ "className": "Theme-toggleComponent",
1270
+ "filePath": "components\\theme-toggle.js",
1271
+ "slots": [
1272
+ "default"
1273
+ ],
1274
+ "attributes": {},
1275
+ "events": [],
1276
+ "cssCustomProperties": [],
1277
+ "example": "<af-theme-toggle></af-theme-toggle>",
1278
+ "securityNotes": "Sanitizes slot content"
1279
+ },
1280
+ {
1281
+ "tagName": "af-toast",
1282
+ "className": "AfriToast",
1283
+ "filePath": "components\\toast.js",
1284
+ "slots": [
1285
+ "default"
1286
+ ],
1287
+ "attributes": {
1288
+ "type": {
1289
+ "type": "string"
1290
+ },
1291
+ "message": {
1292
+ "type": "string"
1293
+ },
1294
+ "duration": {
1295
+ "type": "string"
1296
+ }
1297
+ },
1298
+ "events": [],
1299
+ "cssCustomProperties": [],
1300
+ "example": "<af-toast></af-toast>",
1301
+ "securityNotes": "Sanitizes slot content"
1302
+ },
1303
+ {
1304
+ "tagName": "af-tooltip",
1305
+ "className": "AfriTooltip",
1306
+ "filePath": "components\\tooltip.js",
1307
+ "slots": [
1308
+ "default"
1309
+ ],
1310
+ "attributes": {
1311
+ "text": {
1312
+ "type": "string"
1313
+ },
1314
+ "position": {
1315
+ "type": "string"
1316
+ }
1317
+ },
1318
+ "events": [],
1319
+ "cssCustomProperties": [],
1320
+ "example": "<af-tooltip></af-tooltip>",
1321
+ "securityNotes": "Sanitizes slot content"
1322
+ },
1323
+ {
1324
+ "tagName": "af-transaction-ledger",
1325
+ "className": "AfriTransactionLedger",
1326
+ "filePath": "components\\transaction-ledger.js",
1327
+ "slots": [
1328
+ "default"
1329
+ ],
1330
+ "attributes": {
1331
+ "endpoint": {
1332
+ "type": "string"
1333
+ }
1334
+ },
1335
+ "events": [],
1336
+ "cssCustomProperties": [],
1337
+ "example": "<af-transaction-ledger></af-transaction-ledger>",
1338
+ "securityNotes": "Sanitizes slot content"
1339
+ },
1340
+ {
1341
+ "tagName": "af-ui-avatar",
1342
+ "className": "AfriUIAvatar",
1343
+ "filePath": "components\\ui-avatar.js",
1344
+ "slots": [
1345
+ "default"
1346
+ ],
1347
+ "attributes": {
1348
+ "src": {
1349
+ "type": "string"
1350
+ },
1351
+ "initials": {
1352
+ "type": "string"
1353
+ },
1354
+ "size": {
1355
+ "type": "string"
1356
+ },
1357
+ "badge": {
1358
+ "type": "string"
1359
+ }
1360
+ },
1361
+ "events": [],
1362
+ "cssCustomProperties": [],
1363
+ "example": "<af-ui-avatar></af-ui-avatar>",
1364
+ "securityNotes": "Sanitizes slot content"
1365
+ },
1366
+ {
1367
+ "tagName": "af-ui-badge",
1368
+ "className": "AfriUIBadge",
1369
+ "filePath": "components\\ui-badge.js",
1370
+ "slots": [
1371
+ "default"
1372
+ ],
1373
+ "attributes": {
1374
+ "variant": {
1375
+ "type": "string"
1376
+ },
1377
+ "size": {
1378
+ "type": "string"
1379
+ },
1380
+ "pill": {
1381
+ "type": "string"
1382
+ }
1383
+ },
1384
+ "events": [],
1385
+ "cssCustomProperties": [],
1386
+ "example": "<af-ui-badge></af-ui-badge>",
1387
+ "securityNotes": "Sanitizes slot content"
1388
+ },
1389
+ {
1390
+ "tagName": "af-ui-button",
1391
+ "className": "AfriUIButton",
1392
+ "filePath": "components\\ui-button.js",
1393
+ "slots": [
1394
+ "default"
1395
+ ],
1396
+ "attributes": {
1397
+ "variant": {
1398
+ "type": "string"
1399
+ },
1400
+ "size": {
1401
+ "type": "string"
1402
+ },
1403
+ "disabled": {
1404
+ "type": "string"
1405
+ },
1406
+ "loading": {
1407
+ "type": "string"
1408
+ },
1409
+ "full-width": {
1410
+ "type": "string"
1411
+ },
1412
+ "aria-label": {
1413
+ "type": "string"
1414
+ }
1415
+ },
1416
+ "events": [
1417
+ {
1418
+ "name": "click",
1419
+ "detail": {
1420
+ "type": "object"
1421
+ }
1422
+ }
1423
+ ],
1424
+ "cssCustomProperties": [],
1425
+ "example": "<af-ui-button></af-ui-button>",
1426
+ "securityNotes": "Sanitizes slot content"
1427
+ },
1428
+ {
1429
+ "tagName": "af-ui-card",
1430
+ "className": "AfriUICard",
1431
+ "filePath": "components\\ui-card.js",
1432
+ "slots": [
1433
+ "default"
1434
+ ],
1435
+ "attributes": {
1436
+ "variant": {
1437
+ "type": "string"
1438
+ },
1439
+ "bordered": {
1440
+ "type": "string"
1441
+ },
1442
+ "clickable": {
1443
+ "type": "string"
1444
+ }
1445
+ },
1446
+ "events": [],
1447
+ "cssCustomProperties": [],
1448
+ "example": "<af-ui-card></af-ui-card>",
1449
+ "securityNotes": "Sanitizes slot content"
1450
+ },
1451
+ {
1452
+ "tagName": "af-ui-chip",
1453
+ "className": "AfriUIChip",
1454
+ "filePath": "components\\ui-chip.js",
1455
+ "slots": [
1456
+ "default"
1457
+ ],
1458
+ "attributes": {
1459
+ "variant": {
1460
+ "type": "string"
1461
+ },
1462
+ "size": {
1463
+ "type": "string"
1464
+ },
1465
+ "dismissible": {
1466
+ "type": "string"
1467
+ }
1468
+ },
1469
+ "events": [],
1470
+ "cssCustomProperties": [],
1471
+ "example": "<af-ui-chip></af-ui-chip>",
1472
+ "securityNotes": "Sanitizes slot content"
1473
+ },
1474
+ {
1475
+ "tagName": "af-ui-input",
1476
+ "className": "AfriUIInput",
1477
+ "filePath": "components\\ui-input.js",
1478
+ "slots": [
1479
+ "default"
1480
+ ],
1481
+ "attributes": {
1482
+ "label": {
1483
+ "type": "string"
1484
+ },
1485
+ "placeholder": {
1486
+ "type": "string"
1487
+ },
1488
+ "type": {
1489
+ "type": "string"
1490
+ },
1491
+ "value": {
1492
+ "type": "string"
1493
+ },
1494
+ "disabled": {
1495
+ "type": "string"
1496
+ },
1497
+ "error": {
1498
+ "type": "string"
1499
+ }
1500
+ },
1501
+ "events": [
1502
+ {
1503
+ "name": "click",
1504
+ "detail": {
1505
+ "type": "object"
1506
+ }
1507
+ }
1508
+ ],
1509
+ "cssCustomProperties": [],
1510
+ "example": "<af-ui-input></af-ui-input>",
1511
+ "securityNotes": "Sanitizes slot content"
1512
+ },
1513
+ {
1514
+ "tagName": "af-ui-popover",
1515
+ "className": "AfriUIPopover",
1516
+ "filePath": "components\\ui-popover.js",
1517
+ "slots": [
1518
+ "default"
1519
+ ],
1520
+ "attributes": {
1521
+ "label": {
1522
+ "type": "string"
1523
+ },
1524
+ "open": {
1525
+ "type": "string"
1526
+ }
1527
+ },
1528
+ "events": [],
1529
+ "cssCustomProperties": [],
1530
+ "example": "<af-ui-popover></af-ui-popover>",
1531
+ "securityNotes": "Sanitizes slot content"
1532
+ },
1533
+ {
1534
+ "tagName": "af-ui-progress-ring",
1535
+ "className": "AfriUIProgressRing",
1536
+ "filePath": "components\\ui-progress-ring.js",
1537
+ "slots": [
1538
+ "default"
1539
+ ],
1540
+ "attributes": {
1541
+ "value": {
1542
+ "type": "string"
1543
+ },
1544
+ "size": {
1545
+ "type": "string"
1546
+ },
1547
+ "stroke": {
1548
+ "type": "string"
1549
+ },
1550
+ "label": {
1551
+ "type": "string"
1552
+ }
1553
+ },
1554
+ "events": [],
1555
+ "cssCustomProperties": [],
1556
+ "example": "<af-ui-progress-ring></af-ui-progress-ring>",
1557
+ "securityNotes": "Sanitizes slot content"
1558
+ },
1559
+ {
1560
+ "tagName": "af-ui-select",
1561
+ "className": "AfriUISelect",
1562
+ "filePath": "components\\ui-select.js",
1563
+ "slots": [
1564
+ "default"
1565
+ ],
1566
+ "attributes": {
1567
+ "label": {
1568
+ "type": "string"
1569
+ },
1570
+ "placeholder": {
1571
+ "type": "string"
1572
+ },
1573
+ "disabled": {
1574
+ "type": "string"
1575
+ },
1576
+ "error": {
1577
+ "type": "string"
1578
+ }
1579
+ },
1580
+ "events": [
1581
+ {
1582
+ "name": "click",
1583
+ "detail": {
1584
+ "type": "object"
1585
+ }
1586
+ }
1587
+ ],
1588
+ "cssCustomProperties": [],
1589
+ "example": "<af-ui-select></af-ui-select>",
1590
+ "securityNotes": "Sanitizes slot content"
1591
+ },
1592
+ {
1593
+ "tagName": "af-ui-stat",
1594
+ "className": "AfriUIStat",
1595
+ "filePath": "components\\ui-stat.js",
1596
+ "slots": [
1597
+ "default"
1598
+ ],
1599
+ "attributes": {
1600
+ "label": {
1601
+ "type": "string"
1602
+ },
1603
+ "value": {
1604
+ "type": "string"
1605
+ },
1606
+ "delta": {
1607
+ "type": "string"
1608
+ },
1609
+ "trend": {
1610
+ "type": "string"
1611
+ }
1612
+ },
1613
+ "events": [],
1614
+ "cssCustomProperties": [],
1615
+ "example": "<af-ui-stat></af-ui-stat>",
1616
+ "securityNotes": "Sanitizes slot content"
1617
+ },
1618
+ {
1619
+ "tagName": "af-ui-switch",
1620
+ "className": "AfriUISwitch",
1621
+ "filePath": "components\\ui-switch.js",
1622
+ "slots": [
1623
+ "default"
1624
+ ],
1625
+ "attributes": {
1626
+ "checked": {
1627
+ "type": "string"
1628
+ },
1629
+ "disabled": {
1630
+ "type": "string"
1631
+ },
1632
+ "size": {
1633
+ "type": "string"
1634
+ }
1635
+ },
1636
+ "events": [
1637
+ {
1638
+ "name": "click",
1639
+ "detail": {
1640
+ "type": "object"
1641
+ }
1642
+ }
1643
+ ],
1644
+ "cssCustomProperties": [],
1645
+ "example": "<af-ui-switch></af-ui-switch>",
1646
+ "securityNotes": "Sanitizes slot content"
1647
+ },
1648
+ {
1649
+ "tagName": "af-ui-table",
1650
+ "className": "AfriUITable",
1651
+ "filePath": "components\\ui-table.js",
1652
+ "slots": [
1653
+ "default"
1654
+ ],
1655
+ "attributes": {
1656
+ "striped": {
1657
+ "type": "string"
1658
+ },
1659
+ "bordered": {
1660
+ "type": "string"
1661
+ },
1662
+ "compact": {
1663
+ "type": "string"
1664
+ }
1665
+ },
1666
+ "events": [],
1667
+ "cssCustomProperties": [],
1668
+ "example": "<af-ui-table></af-ui-table>",
1669
+ "securityNotes": "Sanitizes slot content"
1670
+ },
1671
+ {
1672
+ "tagName": "af-ui-tabs",
1673
+ "className": "AfriUITabs",
1674
+ "filePath": "components\\ui-tabs.js",
1675
+ "slots": [
1676
+ "default"
1677
+ ],
1678
+ "attributes": {
1679
+ "active": {
1680
+ "type": "string"
1681
+ }
1682
+ },
1683
+ "events": [],
1684
+ "cssCustomProperties": [],
1685
+ "example": "<af-ui-tabs></af-ui-tabs>",
1686
+ "securityNotes": "Sanitizes slot content"
1687
+ },
1688
+ {
1689
+ "tagName": "af-ui-tag",
1690
+ "className": "AfriUITag",
1691
+ "filePath": "components\\ui-tag.js",
1692
+ "slots": [
1693
+ "default"
1694
+ ],
1695
+ "attributes": {
1696
+ "variant": {
1697
+ "type": "string"
1698
+ },
1699
+ "size": {
1700
+ "type": "string"
1701
+ }
1702
+ },
1703
+ "events": [],
1704
+ "cssCustomProperties": [],
1705
+ "example": "<af-ui-tag></af-ui-tag>",
1706
+ "securityNotes": "Sanitizes slot content"
1707
+ },
1708
+ {
1709
+ "tagName": "af-ui-textarea",
1710
+ "className": "AfriUITextarea",
1711
+ "filePath": "components\\ui-textarea.js",
1712
+ "slots": [
1713
+ "default"
1714
+ ],
1715
+ "attributes": {
1716
+ "label": {
1717
+ "type": "string"
1718
+ },
1719
+ "placeholder": {
1720
+ "type": "string"
1721
+ },
1722
+ "rows": {
1723
+ "type": "string"
1724
+ },
1725
+ "disabled": {
1726
+ "type": "string"
1727
+ },
1728
+ "error": {
1729
+ "type": "string"
1730
+ }
1731
+ },
1732
+ "events": [
1733
+ {
1734
+ "name": "click",
1735
+ "detail": {
1736
+ "type": "object"
1737
+ }
1738
+ }
1739
+ ],
1740
+ "cssCustomProperties": [],
1741
+ "example": "<af-ui-textarea></af-ui-textarea>",
1742
+ "securityNotes": "Sanitizes slot content"
1743
+ },
1744
+ {
1745
+ "tagName": "af-ui-tooltip",
1746
+ "className": "AfriUITooltip",
1747
+ "filePath": "components\\ui-tooltip.js",
1748
+ "slots": [
1749
+ "default"
1750
+ ],
1751
+ "attributes": {
1752
+ "text": {
1753
+ "type": "string"
1754
+ },
1755
+ "position": {
1756
+ "type": "string"
1757
+ }
1758
+ },
1759
+ "events": [],
1760
+ "cssCustomProperties": [],
1761
+ "example": "<af-ui-tooltip></af-ui-tooltip>",
1762
+ "securityNotes": "Sanitizes slot content"
1763
+ },
1764
+ {
1765
+ "tagName": "af-video-player",
1766
+ "className": "AfriVideoPlayer",
1767
+ "filePath": "components\\video-player.js",
1768
+ "slots": [
1769
+ "default"
1770
+ ],
1771
+ "attributes": {},
1772
+ "events": [],
1773
+ "cssCustomProperties": [],
1774
+ "example": "<af-video-player></af-video-player>",
1775
+ "securityNotes": "Sanitizes slot content"
1776
+ },
1777
+ {
1778
+ "tagName": "af-wallet-balance",
1779
+ "className": "AfriWalletBalance",
1780
+ "filePath": "components\\wallet-balance.js",
1781
+ "slots": [
1782
+ "default"
1783
+ ],
1784
+ "attributes": {
1785
+ "endpoint": {
1786
+ "type": "string"
1787
+ }
1788
+ },
1789
+ "events": [],
1790
+ "cssCustomProperties": [],
1791
+ "example": "<af-wallet-balance></af-wallet-balance>",
1792
+ "securityNotes": "Sanitizes slot content"
1793
+ }
1794
+ ],
1795
+ "forbiddenPatterns": [
1796
+ "eval()",
1797
+ "innerHTML = userInput",
1798
+ "fetch without CORS headers",
1799
+ "localStorage for sensitive data"
1800
+ ]
991
1801
  }