@flipova/foundation 1.12.0 → 1.13.0

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 (83) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/LICENSE +21 -21
  3. package/README.md +215 -197
  4. package/dist/chunk-2XORADW6.js +24552 -0
  5. package/dist/chunk-2XORADW6.js.map +1 -0
  6. package/dist/chunk-52BHHF5M.js +46 -0
  7. package/dist/chunk-52BHHF5M.js.map +1 -0
  8. package/dist/{chunk-NYZH4C27.mjs → chunk-5647JY7Z.mjs} +4 -4
  9. package/dist/chunk-5647JY7Z.mjs.map +1 -0
  10. package/dist/{chunk-O7UP2OZR.js → chunk-7QFZMGL6.js} +1971 -93
  11. package/dist/chunk-7QFZMGL6.js.map +1 -0
  12. package/dist/{chunk-4KNPSB67.js → chunk-ASZEP37D.js} +2 -2
  13. package/dist/chunk-ASZEP37D.js.map +1 -0
  14. package/dist/chunk-BH5SU2JQ.mjs +8282 -0
  15. package/dist/chunk-BH5SU2JQ.mjs.map +1 -0
  16. package/dist/{chunk-TZUCBWHN.mjs → chunk-BO65GO53.mjs} +3 -3
  17. package/dist/chunk-BO65GO53.mjs.map +1 -0
  18. package/dist/{chunk-DJP3T7OD.mjs → chunk-BSVXX52E.mjs} +2 -2
  19. package/dist/chunk-BSVXX52E.mjs.map +1 -0
  20. package/dist/chunk-EDTAMUO2.js +8310 -0
  21. package/dist/chunk-EDTAMUO2.js.map +1 -0
  22. package/dist/chunk-M3YLASM2.js +428 -0
  23. package/dist/chunk-M3YLASM2.js.map +1 -0
  24. package/dist/{chunk-4NPMHFKO.mjs → chunk-RQXQK3ZO.mjs} +1971 -94
  25. package/dist/chunk-RQXQK3ZO.mjs.map +1 -0
  26. package/dist/chunk-SR25V4EA.mjs +40 -0
  27. package/dist/chunk-SR25V4EA.mjs.map +1 -0
  28. package/dist/{chunk-JYGNIQUU.js → chunk-UB34WFEQ.js} +18 -18
  29. package/dist/chunk-UB34WFEQ.js.map +1 -0
  30. package/dist/chunk-ZBRWXKDF.mjs +24431 -0
  31. package/dist/chunk-ZBRWXKDF.mjs.map +1 -0
  32. package/dist/cli/ds.d.mts +1 -0
  33. package/dist/cli/ds.d.ts +1 -0
  34. package/dist/cli/ds.js +182 -7914
  35. package/dist/cli/ds.js.map +1 -0
  36. package/dist/cli/ds.mjs +579 -0
  37. package/dist/cli/ds.mjs.map +1 -0
  38. package/dist/cli/flipova.d.mts +1 -0
  39. package/dist/cli/flipova.d.ts +1 -0
  40. package/dist/cli/flipova.js +24 -4884
  41. package/dist/cli/flipova.js.map +1 -0
  42. package/dist/cli/flipova.mjs +154 -0
  43. package/dist/cli/flipova.mjs.map +1 -0
  44. package/dist/config/index.d.mts +12 -12
  45. package/dist/config/index.d.ts +12 -12
  46. package/dist/config/index.js +6 -6
  47. package/dist/config/index.mjs +1 -1
  48. package/dist/{index-CpBqkIpd.d.mts → index-CuaJA3gM.d.mts} +10 -10
  49. package/dist/{index-CpBqkIpd.d.ts → index-CuaJA3gM.d.ts} +10 -10
  50. package/dist/index.d.mts +2 -2
  51. package/dist/index.d.ts +2 -2
  52. package/dist/index.js +216 -212
  53. package/dist/index.mjs +5 -5
  54. package/dist/registry/index.d.mts +470 -3
  55. package/dist/registry/index.d.ts +470 -3
  56. package/dist/registry/index.js +100 -96
  57. package/dist/registry/index.mjs +1 -1
  58. package/dist/theme/index.d.mts +15 -25
  59. package/dist/theme/index.d.ts +15 -25
  60. package/dist/theme/index.js +6 -6
  61. package/dist/theme/index.mjs +1 -1
  62. package/dist/tokens/index.js +10 -10
  63. package/dist/tokens/index.mjs +1 -1
  64. package/dist/types/index.d.mts +23 -21
  65. package/dist/types/index.d.ts +23 -21
  66. package/dist/ui/index.d.mts +242 -84
  67. package/dist/ui/index.d.ts +242 -84
  68. package/dist/ui/index.js +182 -182
  69. package/dist/ui/index.mjs +2 -2
  70. package/package.json +29 -11
  71. package/dist/chunk-4KNPSB67.js.map +0 -1
  72. package/dist/chunk-4NPMHFKO.mjs.map +0 -1
  73. package/dist/chunk-5LRV4YZO.js +0 -7024
  74. package/dist/chunk-5LRV4YZO.js.map +0 -1
  75. package/dist/chunk-CKQBSIBR.mjs +0 -6900
  76. package/dist/chunk-CKQBSIBR.mjs.map +0 -1
  77. package/dist/chunk-DJP3T7OD.mjs.map +0 -1
  78. package/dist/chunk-JYGNIQUU.js.map +0 -1
  79. package/dist/chunk-NYZH4C27.mjs.map +0 -1
  80. package/dist/chunk-O7UP2OZR.js.map +0 -1
  81. package/dist/chunk-RPO7RKXJ.js +0 -428
  82. package/dist/chunk-RPO7RKXJ.js.map +0 -1
  83. package/dist/chunk-TZUCBWHN.mjs.map +0 -1
@@ -147,7 +147,22 @@ var BoxMeta = {
147
147
  "stretch"
148
148
  ]
149
149
  }
150
- ]
150
+ ],
151
+ "example": `import React from 'react';
152
+ import { FoundationProvider, Box, Card, Stack, Text } from '@flipova/foundation';
153
+
154
+ export default function BoxExample() {
155
+ return (
156
+ <FoundationProvider defaultTheme="dark">
157
+ <Card p={5} borderRadius="lg" variant="elevated">
158
+ <Stack spacing={3}>
159
+ <Text variant="heading" size="md">Box Example</Text>
160
+ <Box />
161
+ </Stack>
162
+ </Card>
163
+ </FoundationProvider>
164
+ );
165
+ }`
151
166
  };
152
167
  var CenterMeta = {
153
168
  "id": "Center",
@@ -203,7 +218,22 @@ var CenterMeta = {
203
218
  "type": "number",
204
219
  "group": "layout"
205
220
  }
206
- ]
221
+ ],
222
+ "example": `import React from 'react';
223
+ import { FoundationProvider, Center, Card, Stack, Text } from '@flipova/foundation';
224
+
225
+ export default function CenterExample() {
226
+ return (
227
+ <FoundationProvider defaultTheme="dark">
228
+ <Card p={5} borderRadius="lg" variant="elevated">
229
+ <Stack spacing={3}>
230
+ <Text variant="heading" size="md">Center Example</Text>
231
+ <Center />
232
+ </Stack>
233
+ </Card>
234
+ </FoundationProvider>
235
+ );
236
+ }`
207
237
  };
208
238
  var InlineMeta = {
209
239
  "id": "Inline",
@@ -289,7 +319,27 @@ var InlineMeta = {
289
319
  "group": "layout",
290
320
  "default": false
291
321
  }
292
- ]
322
+ ],
323
+ "example": `import React from 'react';
324
+ import { FoundationProvider, Inline, Card, Stack, Text } from '@flipova/foundation';
325
+
326
+ export default function InlineExample() {
327
+ return (
328
+ <FoundationProvider defaultTheme="dark">
329
+ <Card p={5} borderRadius="lg" variant="elevated">
330
+ <Stack spacing={3}>
331
+ <Text variant="heading" size="md">Inline Example</Text>
332
+ <Inline
333
+ spacing={2}
334
+ align="stretch"
335
+ justify="flex-start"
336
+ wrap={false}
337
+ />
338
+ </Stack>
339
+ </Card>
340
+ </FoundationProvider>
341
+ );
342
+ }`
293
343
  };
294
344
  var ScrollMeta = {
295
345
  "id": "Scroll",
@@ -348,7 +398,26 @@ var ScrollMeta = {
348
398
  "type": "number",
349
399
  "group": "layout"
350
400
  }
351
- ]
401
+ ],
402
+ "example": `import React from 'react';
403
+ import { FoundationProvider, Scroll, Card, Stack, Text } from '@flipova/foundation';
404
+
405
+ export default function ScrollExample() {
406
+ return (
407
+ <FoundationProvider defaultTheme="dark">
408
+ <Card p={5} borderRadius="lg" variant="elevated">
409
+ <Stack spacing={3}>
410
+ <Text variant="heading" size="md">Scroll Example</Text>
411
+ <Scroll
412
+ horizontal={false}
413
+ showsScrollIndicator={true}
414
+ scrollEnabled={true}
415
+ />
416
+ </Stack>
417
+ </Card>
418
+ </FoundationProvider>
419
+ );
420
+ }`
352
421
  };
353
422
  var StackMeta = {
354
423
  "id": "Stack",
@@ -406,9 +475,28 @@ var StackMeta = {
406
475
  "type": "number",
407
476
  "group": "layout"
408
477
  }
409
- ]
478
+ ],
479
+ "example": `import React from 'react';
480
+ import { FoundationProvider, Stack, Card, Stack, Text } from '@flipova/foundation';
481
+
482
+ export default function StackExample() {
483
+ return (
484
+ <FoundationProvider defaultTheme="dark">
485
+ <Card p={5} borderRadius="lg" variant="elevated">
486
+ <Stack spacing={3}>
487
+ <Text variant="heading" size="md">Stack Example</Text>
488
+ <Stack
489
+ spacing={2}
490
+ align="stretch"
491
+ />
492
+ </Stack>
493
+ </Card>
494
+ </FoundationProvider>
495
+ );
496
+ }`
410
497
  };
411
498
  var BadgeWrapperMeta = {
499
+ "id": "BadgeWrapper",
412
500
  "name": "BadgeWrapper",
413
501
  "description": "Wraps an element and places a customizable notification badge in the top right corner.",
414
502
  "props": [
@@ -430,9 +518,29 @@ var BadgeWrapperMeta = {
430
518
  "description": "Badge background color",
431
519
  "default": null
432
520
  }
433
- ]
521
+ ],
522
+ "example": `import React from 'react';
523
+ import { FoundationProvider, BadgeWrapper, Card, Stack, Text } from '@flipova/foundation';
524
+
525
+ export default function BadgeWrapperExample() {
526
+ return (
527
+ <FoundationProvider defaultTheme="dark">
528
+ <Card p={5} borderRadius="lg" variant="elevated">
529
+ <Stack spacing={3}>
530
+ <Text variant="heading" size="md">BadgeWrapper Example</Text>
531
+ <BadgeWrapper
532
+ count={0}
533
+ showZero={false}
534
+ color="Sample"
535
+ />
536
+ </Stack>
537
+ </Card>
538
+ </FoundationProvider>
539
+ );
540
+ }`
434
541
  };
435
542
  var BlurWrapperMeta = {
543
+ "id": "BlurWrapper",
436
544
  "name": "BlurWrapper",
437
545
  "description": "Wraps children in a frosted glass/blur container.",
438
546
  "props": [
@@ -448,9 +556,28 @@ var BlurWrapperMeta = {
448
556
  "description": "Tint color (light, dark, default)",
449
557
  "default": "default"
450
558
  }
451
- ]
559
+ ],
560
+ "example": `import React from 'react';
561
+ import { FoundationProvider, BlurWrapper, Card, Stack, Text } from '@flipova/foundation';
562
+
563
+ export default function BlurWrapperExample() {
564
+ return (
565
+ <FoundationProvider defaultTheme="dark">
566
+ <Card p={5} borderRadius="lg" variant="elevated">
567
+ <Stack spacing={3}>
568
+ <Text variant="heading" size="md">BlurWrapper Example</Text>
569
+ <BlurWrapper
570
+ intensity={50}
571
+ tint="default"
572
+ />
573
+ </Stack>
574
+ </Card>
575
+ </FoundationProvider>
576
+ );
577
+ }`
452
578
  };
453
579
  var CollapsibleWrapperMeta = {
580
+ "id": "CollapsibleWrapper",
454
581
  "name": "CollapsibleWrapper",
455
582
  "description": "A container that smoothly expands or collapses its children height.",
456
583
  "props": [
@@ -460,9 +587,27 @@ var CollapsibleWrapperMeta = {
460
587
  "description": "Whether the container is expanded",
461
588
  "default": false
462
589
  }
463
- ]
590
+ ],
591
+ "example": `import React from 'react';
592
+ import { FoundationProvider, CollapsibleWrapper, Card, Stack, Text } from '@flipova/foundation';
593
+
594
+ export default function CollapsibleWrapperExample() {
595
+ return (
596
+ <FoundationProvider defaultTheme="dark">
597
+ <Card p={5} borderRadius="lg" variant="elevated">
598
+ <Stack spacing={3}>
599
+ <Text variant="heading" size="md">CollapsibleWrapper Example</Text>
600
+ <CollapsibleWrapper
601
+ isExpanded={false}
602
+ />
603
+ </Stack>
604
+ </Card>
605
+ </FoundationProvider>
606
+ );
607
+ }`
464
608
  };
465
609
  var FadeInWrapperMeta = {
610
+ "id": "FadeInWrapper",
466
611
  "name": "FadeInWrapper",
467
612
  "description": "Animates its children in with a smooth opacity fade on mount.",
468
613
  "props": [
@@ -478,9 +623,28 @@ var FadeInWrapperMeta = {
478
623
  "description": "Animation delay in ms",
479
624
  "default": 0
480
625
  }
481
- ]
626
+ ],
627
+ "example": `import React from 'react';
628
+ import { FoundationProvider, FadeInWrapper, Card, Stack, Text } from '@flipova/foundation';
629
+
630
+ export default function FadeInWrapperExample() {
631
+ return (
632
+ <FoundationProvider defaultTheme="dark">
633
+ <Card p={5} borderRadius="lg" variant="elevated">
634
+ <Stack spacing={3}>
635
+ <Text variant="heading" size="md">FadeInWrapper Example</Text>
636
+ <FadeInWrapper
637
+ duration={500}
638
+ delay={0}
639
+ />
640
+ </Stack>
641
+ </Card>
642
+ </FoundationProvider>
643
+ );
644
+ }`
482
645
  };
483
646
  var KeyboardAvoidWrapperMeta = {
647
+ "id": "KeyboardAvoidWrapper",
484
648
  "name": "KeyboardAvoidWrapper",
485
649
  "description": "Automatically handles keyboard layout shifting for its wrapped children.",
486
650
  "props": [
@@ -490,9 +654,27 @@ var KeyboardAvoidWrapperMeta = {
490
654
  "description": "Extra offset above keyboard",
491
655
  "default": 20
492
656
  }
493
- ]
657
+ ],
658
+ "example": `import React from 'react';
659
+ import { FoundationProvider, KeyboardAvoidWrapper, Card, Stack, Text } from '@flipova/foundation';
660
+
661
+ export default function KeyboardAvoidWrapperExample() {
662
+ return (
663
+ <FoundationProvider defaultTheme="dark">
664
+ <Card p={5} borderRadius="lg" variant="elevated">
665
+ <Stack spacing={3}>
666
+ <Text variant="heading" size="md">KeyboardAvoidWrapper Example</Text>
667
+ <KeyboardAvoidWrapper
668
+ offset={20}
669
+ />
670
+ </Stack>
671
+ </Card>
672
+ </FoundationProvider>
673
+ );
674
+ }`
494
675
  };
495
676
  var SafeAreaWrapperMeta = {
677
+ "id": "SafeAreaWrapper",
496
678
  "name": "SafeAreaWrapper",
497
679
  "description": "A convenient wrapper that applies safe area boundaries to specific sections of children.",
498
680
  "props": [
@@ -505,9 +687,25 @@ var SafeAreaWrapperMeta = {
505
687
  "bottom"
506
688
  ]
507
689
  }
508
- ]
690
+ ],
691
+ "example": `import React from 'react';
692
+ import { FoundationProvider, SafeAreaWrapper, Card, Stack, Text } from '@flipova/foundation';
693
+
694
+ export default function SafeAreaWrapperExample() {
695
+ return (
696
+ <FoundationProvider defaultTheme="dark">
697
+ <Card p={5} borderRadius="lg" variant="elevated">
698
+ <Stack spacing={3}>
699
+ <Text variant="heading" size="md">SafeAreaWrapper Example</Text>
700
+ <SafeAreaWrapper />
701
+ </Stack>
702
+ </Card>
703
+ </FoundationProvider>
704
+ );
705
+ }`
509
706
  };
510
707
  var ScalePressWrapperMeta = {
708
+ "id": "ScalePressWrapper",
511
709
  "name": "ScalePressWrapper",
512
710
  "description": "Wraps any element and adds a bouncy shrink effect when pressed.",
513
711
  "props": [
@@ -517,9 +715,27 @@ var ScalePressWrapperMeta = {
517
715
  "description": "Scale factor when pressed",
518
716
  "default": 0.95
519
717
  }
520
- ]
718
+ ],
719
+ "example": `import React from 'react';
720
+ import { FoundationProvider, ScalePressWrapper, Card, Stack, Text } from '@flipova/foundation';
721
+
722
+ export default function ScalePressWrapperExample() {
723
+ return (
724
+ <FoundationProvider defaultTheme="dark">
725
+ <Card p={5} borderRadius="lg" variant="elevated">
726
+ <Stack spacing={3}>
727
+ <Text variant="heading" size="md">ScalePressWrapper Example</Text>
728
+ <ScalePressWrapper
729
+ scaleTo={0.95}
730
+ />
731
+ </Stack>
732
+ </Card>
733
+ </FoundationProvider>
734
+ );
735
+ }`
521
736
  };
522
737
  var ShimmerWrapperMeta = {
738
+ "id": "ShimmerWrapper",
523
739
  "name": "ShimmerWrapper",
524
740
  "description": "Adds a shiny animated loading shimmer effect over its children.",
525
741
  "props": [
@@ -529,9 +745,27 @@ var ShimmerWrapperMeta = {
529
745
  "description": "Whether to show the shimmer",
530
746
  "default": true
531
747
  }
532
- ]
748
+ ],
749
+ "example": `import React from 'react';
750
+ import { FoundationProvider, ShimmerWrapper, Card, Stack, Text } from '@flipova/foundation';
751
+
752
+ export default function ShimmerWrapperExample() {
753
+ return (
754
+ <FoundationProvider defaultTheme="dark">
755
+ <Card p={5} borderRadius="lg" variant="elevated">
756
+ <Stack spacing={3}>
757
+ <Text variant="heading" size="md">ShimmerWrapper Example</Text>
758
+ <ShimmerWrapper
759
+ isLoading={true}
760
+ />
761
+ </Stack>
762
+ </Card>
763
+ </FoundationProvider>
764
+ );
765
+ }`
533
766
  };
534
767
  var SkeletonWrapperMeta = {
768
+ "id": "SkeletonWrapper",
535
769
  "name": "SkeletonWrapper",
536
770
  "description": "A wrapper component that measures its children and displays an animated shimmering skeleton outline when loading.",
537
771
  "tags": [
@@ -547,9 +781,27 @@ var SkeletonWrapperMeta = {
547
781
  "description": "Whether the component is currently loading. If true, shows skeleton.",
548
782
  "required": true
549
783
  }
550
- }
784
+ },
785
+ "example": `import React from 'react';
786
+ import { FoundationProvider, SkeletonWrapper, Card, Stack, Text } from '@flipova/foundation';
787
+
788
+ export default function SkeletonWrapperExample() {
789
+ return (
790
+ <FoundationProvider defaultTheme="dark">
791
+ <Card p={5} borderRadius="lg" variant="elevated">
792
+ <Stack spacing={3}>
793
+ <Text variant="heading" size="md">SkeletonWrapper Example</Text>
794
+ <SkeletonWrapper
795
+ isLoading={true}
796
+ />
797
+ </Stack>
798
+ </Card>
799
+ </FoundationProvider>
800
+ );
801
+ }`
551
802
  };
552
803
  var SlideUpWrapperMeta = {
804
+ "id": "SlideUpWrapper",
553
805
  "name": "SlideUpWrapper",
554
806
  "description": "Animates its children sliding up from below on mount.",
555
807
  "props": [
@@ -571,9 +823,29 @@ var SlideUpWrapperMeta = {
571
823
  "description": "Distance to slide from in pixels",
572
824
  "default": 50
573
825
  }
574
- ]
826
+ ],
827
+ "example": `import React from 'react';
828
+ import { FoundationProvider, SlideUpWrapper, Card, Stack, Text } from '@flipova/foundation';
829
+
830
+ export default function SlideUpWrapperExample() {
831
+ return (
832
+ <FoundationProvider defaultTheme="dark">
833
+ <Card p={5} borderRadius="lg" variant="elevated">
834
+ <Stack spacing={3}>
835
+ <Text variant="heading" size="md">SlideUpWrapper Example</Text>
836
+ <SlideUpWrapper
837
+ duration={500}
838
+ delay={0}
839
+ distance={50}
840
+ />
841
+ </Stack>
842
+ </Card>
843
+ </FoundationProvider>
844
+ );
845
+ }`
575
846
  };
576
847
  var TooltipWrapperMeta = {
848
+ "id": "TooltipWrapper",
577
849
  "name": "TooltipWrapper",
578
850
  "description": "Wraps a component and displays a tooltip bubble near it.",
579
851
  "props": [
@@ -589,7 +861,25 @@ var TooltipWrapperMeta = {
589
861
  "description": "Whether tooltip is visible",
590
862
  "default": false
591
863
  }
592
- ]
864
+ ],
865
+ "example": `import React from 'react';
866
+ import { FoundationProvider, TooltipWrapper, Card, Stack, Text } from '@flipova/foundation';
867
+
868
+ export default function TooltipWrapperExample() {
869
+ return (
870
+ <FoundationProvider defaultTheme="dark">
871
+ <Card p={5} borderRadius="lg" variant="elevated">
872
+ <Stack spacing={3}>
873
+ <Text variant="heading" size="md">TooltipWrapper Example</Text>
874
+ <TooltipWrapper
875
+ text="Sample"
876
+ isVisible={false}
877
+ />
878
+ </Stack>
879
+ </Card>
880
+ </FoundationProvider>
881
+ );
882
+ }`
593
883
  };
594
884
  var AccordionMeta = {
595
885
  "id": "Accordion",
@@ -647,9 +937,29 @@ var AccordionMeta = {
647
937
  "group": "style",
648
938
  "themeDefault": "border"
649
939
  }
650
- ]
940
+ ],
941
+ "example": `import React from 'react';
942
+ import { FoundationProvider, Accordion, Card, Stack, Text } from '@flipova/foundation';
943
+
944
+ export default function AccordionExample() {
945
+ return (
946
+ <FoundationProvider defaultTheme="dark">
947
+ <Card p={5} borderRadius="lg" variant="elevated">
948
+ <Stack spacing={3}>
949
+ <Text variant="heading" size="md">Accordion Example</Text>
950
+ <Accordion
951
+ title="Section"
952
+ defaultOpen={false}
953
+ borderRadius="lg"
954
+ />
955
+ </Stack>
956
+ </Card>
957
+ </FoundationProvider>
958
+ );
959
+ }`
651
960
  };
652
961
  var AudioMeta = {
962
+ "id": "Audio",
653
963
  "name": "Audio",
654
964
  "description": "A base component for audio playback using expo-av.",
655
965
  "tags": [
@@ -669,7 +979,25 @@ var AudioMeta = {
669
979
  "description": "Whether the audio should auto-play",
670
980
  "default": false
671
981
  }
672
- }
982
+ },
983
+ "example": `import React from 'react';
984
+ import { FoundationProvider, Audio, Card, Stack, Text } from '@flipova/foundation';
985
+
986
+ export default function AudioExample() {
987
+ return (
988
+ <FoundationProvider defaultTheme="dark">
989
+ <Card p={5} borderRadius="lg" variant="elevated">
990
+ <Stack spacing={3}>
991
+ <Text variant="heading" size="md">Audio Example</Text>
992
+ <Audio
993
+ source="Sample"
994
+ autoPlay={false}
995
+ />
996
+ </Stack>
997
+ </Card>
998
+ </FoundationProvider>
999
+ );
1000
+ }`
673
1001
  };
674
1002
  var AvatarMeta = {
675
1003
  "id": "Avatar",
@@ -782,9 +1110,30 @@ var AvatarMeta = {
782
1110
  "group": "style",
783
1111
  "themeDefault": "muted"
784
1112
  }
785
- ]
1113
+ ],
1114
+ "example": `import React from 'react';
1115
+ import { FoundationProvider, Avatar, Card, Stack, Text } from '@flipova/foundation';
1116
+
1117
+ export default function AvatarExample() {
1118
+ return (
1119
+ <FoundationProvider defaultTheme="dark">
1120
+ <Card p={5} borderRadius="lg" variant="elevated">
1121
+ <Stack spacing={3}>
1122
+ <Text variant="heading" size="md">Avatar Example</Text>
1123
+ <Avatar
1124
+ variant="circle"
1125
+ size="md"
1126
+ source="Image source"
1127
+ initials="Initials"
1128
+ />
1129
+ </Stack>
1130
+ </Card>
1131
+ </FoundationProvider>
1132
+ );
1133
+ }`
786
1134
  };
787
1135
  var AvatarPickerMeta = {
1136
+ "id": "AvatarPicker",
788
1137
  "name": "AvatarPicker",
789
1138
  "description": "Allows users to select an avatar from a list of predefined options or upload one.",
790
1139
  "tags": [
@@ -793,7 +1142,22 @@ var AvatarPickerMeta = {
793
1142
  "picker",
794
1143
  "avatar"
795
1144
  ],
796
- "props": []
1145
+ "props": [],
1146
+ "example": `import React from 'react';
1147
+ import { FoundationProvider, AvatarPicker, Card, Stack, Text } from '@flipova/foundation';
1148
+
1149
+ export default function AvatarPickerExample() {
1150
+ return (
1151
+ <FoundationProvider defaultTheme="dark">
1152
+ <Card p={5} borderRadius="lg" variant="elevated">
1153
+ <Stack spacing={3}>
1154
+ <Text variant="heading" size="md">AvatarPicker Example</Text>
1155
+ <AvatarPicker />
1156
+ </Stack>
1157
+ </Card>
1158
+ </FoundationProvider>
1159
+ );
1160
+ }`
797
1161
  };
798
1162
  var BadgeMeta = {
799
1163
  "id": "Badge",
@@ -949,7 +1313,28 @@ var BadgeMeta = {
949
1313
  "group": "style",
950
1314
  "default": "full"
951
1315
  }
952
- ]
1316
+ ],
1317
+ "example": `import React from 'react';
1318
+ import { FoundationProvider, Badge, Card, Stack, Text } from '@flipova/foundation';
1319
+
1320
+ export default function BadgeExample() {
1321
+ return (
1322
+ <FoundationProvider defaultTheme="dark">
1323
+ <Card p={5} borderRadius="lg" variant="elevated">
1324
+ <Stack spacing={3}>
1325
+ <Text variant="heading" size="md">Badge Example</Text>
1326
+ <Badge
1327
+ label="Label"
1328
+ variant="solid"
1329
+ size="md"
1330
+ color="primary"
1331
+ borderRadius="full"
1332
+ />
1333
+ </Stack>
1334
+ </Card>
1335
+ </FoundationProvider>
1336
+ );
1337
+ }`
953
1338
  };
954
1339
  var BlurViewMeta = {
955
1340
  "id": "BlurView",
@@ -1000,13 +1385,54 @@ var BlurViewMeta = {
1000
1385
  "type": "spacing",
1001
1386
  "group": "layout"
1002
1387
  }
1003
- ]
1388
+ ],
1389
+ "example": `import React from 'react';
1390
+ import { FoundationProvider, BlurView, Card, Stack, Text } from '@flipova/foundation';
1391
+
1392
+ export default function BlurViewExample() {
1393
+ return (
1394
+ <FoundationProvider defaultTheme="dark">
1395
+ <Card p={5} borderRadius="lg" variant="elevated">
1396
+ <Stack spacing={3}>
1397
+ <Text variant="heading" size="md">Blur View Example</Text>
1398
+ <BlurView
1399
+ intensity={50}
1400
+ tint="default"
1401
+ borderRadius="none"
1402
+ />
1403
+ </Stack>
1404
+ </Card>
1405
+ </FoundationProvider>
1406
+ );
1407
+ }`
1004
1408
  };
1005
1409
  var ButtonMeta = {
1006
1410
  "id": "Button",
1007
1411
  "label": "Button",
1008
1412
  "description": "Pressable button with variant and size support.",
1009
1413
  "category": "action",
1414
+ "example": `import React from 'react';
1415
+ import { FoundationProvider, Button, Inline, Stack, Text } from '@flipova/foundation';
1416
+
1417
+ export default function ButtonExample() {
1418
+ return (
1419
+ <FoundationProvider defaultTheme="dark">
1420
+ <Stack spacing={4} style={{ padding: 20 }}>
1421
+ <Text variant="heading" size="md">Button Actions</Text>
1422
+ <Inline spacing={3} alignItems="center">
1423
+ <Button
1424
+ label="Button"
1425
+ variant="primary"
1426
+ size="md"
1427
+ disabled={false}
1428
+ loading={false}
1429
+ fullWidth={false}
1430
+ onPress={() => console.log('Button pressed')} />
1431
+ </Inline>
1432
+ </Stack>
1433
+ </FoundationProvider>
1434
+ );
1435
+ }`,
1010
1436
  "tags": [
1011
1437
  "button",
1012
1438
  "cta",
@@ -1223,7 +1649,28 @@ var CameraMeta = {
1223
1649
  "group": "style",
1224
1650
  "default": "lg"
1225
1651
  }
1226
- ]
1652
+ ],
1653
+ "example": `import React from 'react';
1654
+ import { FoundationProvider, Camera, Card, Stack, Text } from '@flipova/foundation';
1655
+
1656
+ export default function CameraExample() {
1657
+ return (
1658
+ <FoundationProvider defaultTheme="dark">
1659
+ <Card p={5} borderRadius="lg" variant="elevated">
1660
+ <Stack spacing={3}>
1661
+ <Text variant="heading" size="md">Camera Example</Text>
1662
+ <Camera
1663
+ facing="back"
1664
+ flash="off"
1665
+ enableTorch={false}
1666
+ height={300}
1667
+ borderRadius="lg"
1668
+ />
1669
+ </Stack>
1670
+ </Card>
1671
+ </FoundationProvider>
1672
+ );
1673
+ }`
1227
1674
  };
1228
1675
  var CardMeta = {
1229
1676
  "id": "Card",
@@ -1280,7 +1727,27 @@ var CardMeta = {
1280
1727
  "group": "style",
1281
1728
  "default": "md"
1282
1729
  }
1283
- ]
1730
+ ],
1731
+ "example": `import React from 'react';
1732
+ import { FoundationProvider, Card, Card, Stack, Text } from '@flipova/foundation';
1733
+
1734
+ export default function CardExample() {
1735
+ return (
1736
+ <FoundationProvider defaultTheme="dark">
1737
+ <Card p={5} borderRadius="lg" variant="elevated">
1738
+ <Stack spacing={3}>
1739
+ <Text variant="heading" size="md">Card Example</Text>
1740
+ <Card
1741
+ shadow="md"
1742
+ interactive={false}
1743
+ padding={4}
1744
+ borderRadius="md"
1745
+ />
1746
+ </Stack>
1747
+ </Card>
1748
+ </FoundationProvider>
1749
+ );
1750
+ }`
1284
1751
  };
1285
1752
  var CheckboxMeta = {
1286
1753
  "id": "Checkbox",
@@ -1369,7 +1836,31 @@ var CheckboxMeta = {
1369
1836
  "group": "behavior",
1370
1837
  "default": false
1371
1838
  }
1372
- ]
1839
+ ],
1840
+ "example": `import React, { useState } from 'react';
1841
+ import { FoundationProvider, Checkbox, Card, Stack, Text, Button } from '@flipova/foundation';
1842
+
1843
+ export default function CheckboxExample() {
1844
+ const [value, setValue] = useState('');
1845
+
1846
+ return (
1847
+ <FoundationProvider defaultTheme="dark">
1848
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
1849
+ <Stack spacing={4}>
1850
+ <Text variant="heading" size="md">Checkbox Input</Text>
1851
+ <Checkbox
1852
+ variant="square"
1853
+ size="md"
1854
+ disabled={false}
1855
+ label="Label"
1856
+ checked={false}
1857
+ value={value} onChangeText={setValue} />
1858
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
1859
+ </Stack>
1860
+ </Card>
1861
+ </FoundationProvider>
1862
+ );
1863
+ }`
1373
1864
  };
1374
1865
  var ChipMeta = {
1375
1866
  "id": "Chip",
@@ -1465,9 +1956,35 @@ var ChipMeta = {
1465
1956
  "group": "style",
1466
1957
  "default": "full"
1467
1958
  }
1468
- ]
1959
+ ],
1960
+ "example": `import React, { useState } from 'react';
1961
+ import { FoundationProvider, Chip, Card, Stack, Text, Button } from '@flipova/foundation';
1962
+
1963
+ export default function ChipExample() {
1964
+ const [value, setValue] = useState('');
1965
+
1966
+ return (
1967
+ <FoundationProvider defaultTheme="dark">
1968
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
1969
+ <Stack spacing={4}>
1970
+ <Text variant="heading" size="md">Chip Input</Text>
1971
+ <Chip
1972
+ label="Label"
1973
+ variant="filled"
1974
+ size="md"
1975
+ selected={false}
1976
+ closable={false}
1977
+ disabled={false}
1978
+ value={value} onChangeText={setValue} />
1979
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
1980
+ </Stack>
1981
+ </Card>
1982
+ </FoundationProvider>
1983
+ );
1984
+ }`
1469
1985
  };
1470
1986
  var ColorPickerMeta = {
1987
+ "id": "ColorPicker",
1471
1988
  "name": "ColorPicker",
1472
1989
  "description": "A visual grid of color swatches for choosing a theme or element color.",
1473
1990
  "tags": [
@@ -1476,7 +1993,22 @@ var ColorPickerMeta = {
1476
1993
  "picker",
1477
1994
  "color"
1478
1995
  ],
1479
- "props": []
1996
+ "props": [],
1997
+ "example": `import React from 'react';
1998
+ import { FoundationProvider, ColorPicker, Card, Stack, Text } from '@flipova/foundation';
1999
+
2000
+ export default function ColorPickerExample() {
2001
+ return (
2002
+ <FoundationProvider defaultTheme="dark">
2003
+ <Card p={5} borderRadius="lg" variant="elevated">
2004
+ <Stack spacing={3}>
2005
+ <Text variant="heading" size="md">ColorPicker Example</Text>
2006
+ <ColorPicker />
2007
+ </Stack>
2008
+ </Card>
2009
+ </FoundationProvider>
2010
+ );
2011
+ }`
1480
2012
  };
1481
2013
  var DatePickerMeta = {
1482
2014
  "id": "DatePicker",
@@ -1575,7 +2107,32 @@ var DatePickerMeta = {
1575
2107
  "group": "style",
1576
2108
  "default": "md"
1577
2109
  }
1578
- ]
2110
+ ],
2111
+ "example": `import React, { useState } from 'react';
2112
+ import { FoundationProvider, DatePicker, Card, Stack, Text, Button } from '@flipova/foundation';
2113
+
2114
+ export default function DatePickerExample() {
2115
+ const [value, setValue] = useState('');
2116
+
2117
+ return (
2118
+ <FoundationProvider defaultTheme="dark">
2119
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
2120
+ <Stack spacing={4}>
2121
+ <Text variant="heading" size="md">Date Picker Input</Text>
2122
+ <DatePicker
2123
+ size="md"
2124
+ mode="date"
2125
+ label="Label"
2126
+ placeholder="Select date"
2127
+ error="Error message"
2128
+ disabled={false}
2129
+ value={value} onChangeText={setValue} />
2130
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
2131
+ </Stack>
2132
+ </Card>
2133
+ </FoundationProvider>
2134
+ );
2135
+ }`
1579
2136
  };
1580
2137
  var DividerMeta = {
1581
2138
  "id": "Divider",
@@ -1616,9 +2173,28 @@ var DividerMeta = {
1616
2173
  "type": "spacing",
1617
2174
  "group": "layout"
1618
2175
  }
1619
- ]
2176
+ ],
2177
+ "example": `import React from 'react';
2178
+ import { FoundationProvider, Divider, Card, Stack, Text } from '@flipova/foundation';
2179
+
2180
+ export default function DividerExample() {
2181
+ return (
2182
+ <FoundationProvider defaultTheme="dark">
2183
+ <Card p={5} borderRadius="lg" variant="elevated">
2184
+ <Stack spacing={3}>
2185
+ <Text variant="heading" size="md">Divider Example</Text>
2186
+ <Divider
2187
+ vertical={false}
2188
+ thickness={1}
2189
+ />
2190
+ </Stack>
2191
+ </Card>
2192
+ </FoundationProvider>
2193
+ );
2194
+ }`
1620
2195
  };
1621
2196
  var EmojiPickerMeta = {
2197
+ "id": "EmojiPicker",
1622
2198
  "name": "EmojiPicker",
1623
2199
  "description": "A grid of emojis categorized by type.",
1624
2200
  "tags": [
@@ -1627,7 +2203,22 @@ var EmojiPickerMeta = {
1627
2203
  "picker",
1628
2204
  "emoji"
1629
2205
  ],
1630
- "props": []
2206
+ "props": [],
2207
+ "example": `import React from 'react';
2208
+ import { FoundationProvider, EmojiPicker, Card, Stack, Text } from '@flipova/foundation';
2209
+
2210
+ export default function EmojiPickerExample() {
2211
+ return (
2212
+ <FoundationProvider defaultTheme="dark">
2213
+ <Card p={5} borderRadius="lg" variant="elevated">
2214
+ <Stack spacing={3}>
2215
+ <Text variant="heading" size="md">EmojiPicker Example</Text>
2216
+ <EmojiPicker />
2217
+ </Stack>
2218
+ </Card>
2219
+ </FoundationProvider>
2220
+ );
2221
+ }`
1631
2222
  };
1632
2223
  var FilePickerMeta = {
1633
2224
  "id": "FilePicker",
@@ -1725,13 +2316,58 @@ var FilePickerMeta = {
1725
2316
  "group": "style",
1726
2317
  "default": "md"
1727
2318
  }
1728
- ]
2319
+ ],
2320
+ "example": `import React, { useState } from 'react';
2321
+ import { FoundationProvider, FilePicker, Card, Stack, Text, Button } from '@flipova/foundation';
2322
+
2323
+ export default function FilePickerExample() {
2324
+ const [value, setValue] = useState('');
2325
+
2326
+ return (
2327
+ <FoundationProvider defaultTheme="dark">
2328
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
2329
+ <Stack spacing={4}>
2330
+ <Text variant="heading" size="md">File Picker Input</Text>
2331
+ <FilePicker
2332
+ variant="button"
2333
+ size="md"
2334
+ accept="image/*"
2335
+ multiple={false}
2336
+ label="Upload file"
2337
+ disabled={false}
2338
+ value={value} onChangeText={setValue} />
2339
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
2340
+ </Stack>
2341
+ </Card>
2342
+ </FoundationProvider>
2343
+ );
2344
+ }`
1729
2345
  };
1730
2346
  var FlatListMeta = {
1731
2347
  "id": "FlatList",
1732
2348
  "label": "List",
1733
2349
  "description": "Scrollable list with virtualization.",
1734
2350
  "category": "display",
2351
+ "example": `import React from 'react';
2352
+ import { FoundationProvider, FlatList, Card, Stack, Text } from '@flipova/foundation';
2353
+
2354
+ export default function FlatListExample() {
2355
+ return (
2356
+ <FoundationProvider defaultTheme="dark">
2357
+ <Card p={5} borderRadius="lg" variant="elevated">
2358
+ <Stack spacing={3}>
2359
+ <Text variant="heading" size="md">List Example</Text>
2360
+ <FlatList
2361
+ horizontal={false}
2362
+ numColumns={1}
2363
+ spacing={0}
2364
+ showsScrollIndicator={true}
2365
+ />
2366
+ </Stack>
2367
+ </Card>
2368
+ </FoundationProvider>
2369
+ );
2370
+ }`,
1735
2371
  "tags": [
1736
2372
  "list",
1737
2373
  "flatlist",
@@ -1783,6 +2419,7 @@ var FlatListMeta = {
1783
2419
  ]
1784
2420
  };
1785
2421
  var GifPickerMeta = {
2422
+ "id": "GifPicker",
1786
2423
  "name": "GifPicker",
1787
2424
  "description": "A placeholder picker for GIFs.",
1788
2425
  "tags": [
@@ -1791,7 +2428,22 @@ var GifPickerMeta = {
1791
2428
  "picker",
1792
2429
  "gif"
1793
2430
  ],
1794
- "props": []
2431
+ "props": [],
2432
+ "example": `import React from 'react';
2433
+ import { FoundationProvider, GifPicker, Card, Stack, Text } from '@flipova/foundation';
2434
+
2435
+ export default function GifPickerExample() {
2436
+ return (
2437
+ <FoundationProvider defaultTheme="dark">
2438
+ <Card p={5} borderRadius="lg" variant="elevated">
2439
+ <Stack spacing={3}>
2440
+ <Text variant="heading" size="md">GifPicker Example</Text>
2441
+ <GifPicker />
2442
+ </Stack>
2443
+ </Card>
2444
+ </FoundationProvider>
2445
+ );
2446
+ }`
1795
2447
  };
1796
2448
  var GradientMeta = {
1797
2449
  "id": "Gradient",
@@ -1855,7 +2507,27 @@ var GradientMeta = {
1855
2507
  "type": "spacing",
1856
2508
  "group": "layout"
1857
2509
  }
1858
- ]
2510
+ ],
2511
+ "example": `import React from 'react';
2512
+ import { FoundationProvider, Gradient, Card, Stack, Text } from '@flipova/foundation';
2513
+
2514
+ export default function GradientExample() {
2515
+ return (
2516
+ <FoundationProvider defaultTheme="dark">
2517
+ <Card p={5} borderRadius="lg" variant="elevated">
2518
+ <Stack spacing={3}>
2519
+ <Text variant="heading" size="md">Gradient Example</Text>
2520
+ <Gradient
2521
+ startColor="#3b82f6"
2522
+ endColor="#8b5cf6"
2523
+ direction="vertical"
2524
+ borderRadius="none"
2525
+ />
2526
+ </Stack>
2527
+ </Card>
2528
+ </FoundationProvider>
2529
+ );
2530
+ }`
1859
2531
  };
1860
2532
  var IconMeta = {
1861
2533
  "id": "Icon",
@@ -1908,7 +2580,26 @@ var IconMeta = {
1908
2580
  "group": "style",
1909
2581
  "default": 2
1910
2582
  }
1911
- ]
2583
+ ],
2584
+ "example": `import React from 'react';
2585
+ import { FoundationProvider, Icon, Card, Stack, Text } from '@flipova/foundation';
2586
+
2587
+ export default function IconExample() {
2588
+ return (
2589
+ <FoundationProvider defaultTheme="dark">
2590
+ <Card p={5} borderRadius="lg" variant="elevated">
2591
+ <Stack spacing={3}>
2592
+ <Text variant="heading" size="md">Icon Example</Text>
2593
+ <Icon
2594
+ name="star"
2595
+ size={24}
2596
+ strokeWidth={2}
2597
+ />
2598
+ </Stack>
2599
+ </Card>
2600
+ </FoundationProvider>
2601
+ );
2602
+ }`
1912
2603
  };
1913
2604
  var IconButtonMeta = {
1914
2605
  "id": "IconButton",
@@ -2015,9 +2706,30 @@ var IconButtonMeta = {
2015
2706
  "group": "style",
2016
2707
  "themeDefault": "foreground"
2017
2708
  }
2018
- ]
2709
+ ],
2710
+ "example": `import React from 'react';
2711
+ import { FoundationProvider, IconButton, Inline, Stack, Text } from '@flipova/foundation';
2712
+
2713
+ export default function IconButtonExample() {
2714
+ return (
2715
+ <FoundationProvider defaultTheme="dark">
2716
+ <Stack spacing={4} style={{ padding: 20 }}>
2717
+ <Text variant="heading" size="md">Icon Button Actions</Text>
2718
+ <Inline spacing={3} alignItems="center">
2719
+ <IconButton
2720
+ variant="ghost"
2721
+ size="md"
2722
+ disabled={false}
2723
+ borderRadius="full"
2724
+ onPress={() => console.log('IconButton pressed')} />
2725
+ </Inline>
2726
+ </Stack>
2727
+ </FoundationProvider>
2728
+ );
2729
+ }`
2019
2730
  };
2020
2731
  var IconPickerMeta = {
2732
+ "id": "IconPicker",
2021
2733
  "name": "IconPicker",
2022
2734
  "description": "A searchable grid of icons.",
2023
2735
  "tags": [
@@ -2026,7 +2738,22 @@ var IconPickerMeta = {
2026
2738
  "picker",
2027
2739
  "icon"
2028
2740
  ],
2029
- "props": []
2741
+ "props": [],
2742
+ "example": `import React from 'react';
2743
+ import { FoundationProvider, IconPicker, Card, Stack, Text } from '@flipova/foundation';
2744
+
2745
+ export default function IconPickerExample() {
2746
+ return (
2747
+ <FoundationProvider defaultTheme="dark">
2748
+ <Card p={5} borderRadius="lg" variant="elevated">
2749
+ <Stack spacing={3}>
2750
+ <Text variant="heading" size="md">IconPicker Example</Text>
2751
+ <IconPicker />
2752
+ </Stack>
2753
+ </Card>
2754
+ </FoundationProvider>
2755
+ );
2756
+ }`
2030
2757
  };
2031
2758
  var ImageMeta = {
2032
2759
  "id": "Image",
@@ -2099,7 +2826,28 @@ var ImageMeta = {
2099
2826
  "group": "style",
2100
2827
  "themeDefault": "muted"
2101
2828
  }
2102
- ]
2829
+ ],
2830
+ "example": `import React from 'react';
2831
+ import { FoundationProvider, Image, Card, Stack, Text } from '@flipova/foundation';
2832
+
2833
+ export default function ImageExample() {
2834
+ return (
2835
+ <FoundationProvider defaultTheme="dark">
2836
+ <Card p={5} borderRadius="lg" variant="elevated">
2837
+ <Stack spacing={3}>
2838
+ <Text variant="heading" size="md">Image Example</Text>
2839
+ <Image
2840
+ source="Source URL"
2841
+ alt="Alt text"
2842
+ resizeMode="cover"
2843
+ height={200}
2844
+ borderRadius="none"
2845
+ />
2846
+ </Stack>
2847
+ </Card>
2848
+ </FoundationProvider>
2849
+ );
2850
+ }`
2103
2851
  };
2104
2852
  var LottieAnimationMeta = {
2105
2853
  "id": "LottieAnimation",
@@ -2159,7 +2907,29 @@ var LottieAnimationMeta = {
2159
2907
  "group": "layout",
2160
2908
  "default": 200
2161
2909
  }
2162
- ]
2910
+ ],
2911
+ "example": `import React from 'react';
2912
+ import { FoundationProvider, LottieAnimation, Card, Stack, Text } from '@flipova/foundation';
2913
+
2914
+ export default function LottieAnimationExample() {
2915
+ return (
2916
+ <FoundationProvider defaultTheme="dark">
2917
+ <Card p={5} borderRadius="lg" variant="elevated">
2918
+ <Stack spacing={3}>
2919
+ <Text variant="heading" size="md">Lottie Example</Text>
2920
+ <LottieAnimation
2921
+ source="Source URL"
2922
+ autoPlay={true}
2923
+ loop={true}
2924
+ speed={1}
2925
+ width={200}
2926
+ height={200}
2927
+ />
2928
+ </Stack>
2929
+ </Card>
2930
+ </FoundationProvider>
2931
+ );
2932
+ }`
2163
2933
  };
2164
2934
  var MapViewMeta = {
2165
2935
  "id": "MapView",
@@ -2226,9 +2996,31 @@ var MapViewMeta = {
2226
2996
  "group": "behavior",
2227
2997
  "default": true
2228
2998
  }
2229
- ]
2999
+ ],
3000
+ "example": `import React from 'react';
3001
+ import { FoundationProvider, MapView, Card, Stack, Text } from '@flipova/foundation';
3002
+
3003
+ export default function MapViewExample() {
3004
+ return (
3005
+ <FoundationProvider defaultTheme="dark">
3006
+ <Card p={5} borderRadius="lg" variant="elevated">
3007
+ <Stack spacing={3}>
3008
+ <Text variant="heading" size="md">Map Example</Text>
3009
+ <MapView
3010
+ latitude={48.8566}
3011
+ longitude={2.3522}
3012
+ zoom={12}
3013
+ height={300}
3014
+ borderRadius="lg"
3015
+ />
3016
+ </Stack>
3017
+ </Card>
3018
+ </FoundationProvider>
3019
+ );
3020
+ }`
2230
3021
  };
2231
3022
  var NumberInputMeta = {
3023
+ "id": "NumberInput",
2232
3024
  "name": "NumberInput",
2233
3025
  "description": "A specialized input for numbers with increment/decrement steppers.",
2234
3026
  "tags": [
@@ -2237,9 +3029,25 @@ var NumberInputMeta = {
2237
3029
  "number",
2238
3030
  "stepper"
2239
3031
  ],
2240
- "props": []
3032
+ "props": [],
3033
+ "example": `import React from 'react';
3034
+ import { FoundationProvider, NumberInput, Card, Stack, Text } from '@flipova/foundation';
3035
+
3036
+ export default function NumberInputExample() {
3037
+ return (
3038
+ <FoundationProvider defaultTheme="dark">
3039
+ <Card p={5} borderRadius="lg" variant="elevated">
3040
+ <Stack spacing={3}>
3041
+ <Text variant="heading" size="md">NumberInput Example</Text>
3042
+ <NumberInput />
3043
+ </Stack>
3044
+ </Card>
3045
+ </FoundationProvider>
3046
+ );
3047
+ }`
2241
3048
  };
2242
3049
  var OTPInputMeta = {
3050
+ "id": "OTPInput",
2243
3051
  "name": "OTPInput",
2244
3052
  "description": "A multi-cell One-Time-Password input.",
2245
3053
  "tags": [
@@ -2247,9 +3055,25 @@ var OTPInputMeta = {
2247
3055
  "input",
2248
3056
  "otp"
2249
3057
  ],
2250
- "props": []
3058
+ "props": [],
3059
+ "example": `import React from 'react';
3060
+ import { FoundationProvider, OTPInput, Card, Stack, Text } from '@flipova/foundation';
3061
+
3062
+ export default function OTPInputExample() {
3063
+ return (
3064
+ <FoundationProvider defaultTheme="dark">
3065
+ <Card p={5} borderRadius="lg" variant="elevated">
3066
+ <Stack spacing={3}>
3067
+ <Text variant="heading" size="md">OTPInput Example</Text>
3068
+ <OTPInput />
3069
+ </Stack>
3070
+ </Card>
3071
+ </FoundationProvider>
3072
+ );
3073
+ }`
2251
3074
  };
2252
3075
  var PasswordInputMeta = {
3076
+ "id": "PasswordInput",
2253
3077
  "name": "PasswordInput",
2254
3078
  "description": "A secure text input with visibility toggle.",
2255
3079
  "tags": [
@@ -2258,7 +3082,22 @@ var PasswordInputMeta = {
2258
3082
  "password",
2259
3083
  "secure"
2260
3084
  ],
2261
- "props": []
3085
+ "props": [],
3086
+ "example": `import React from 'react';
3087
+ import { FoundationProvider, PasswordInput, Card, Stack, Text } from '@flipova/foundation';
3088
+
3089
+ export default function PasswordInputExample() {
3090
+ return (
3091
+ <FoundationProvider defaultTheme="dark">
3092
+ <Card p={5} borderRadius="lg" variant="elevated">
3093
+ <Stack spacing={3}>
3094
+ <Text variant="heading" size="md">PasswordInput Example</Text>
3095
+ <PasswordInput />
3096
+ </Stack>
3097
+ </Card>
3098
+ </FoundationProvider>
3099
+ );
3100
+ }`
2262
3101
  };
2263
3102
  var PressableMeta = {
2264
3103
  "id": "Pressable",
@@ -2291,7 +3130,25 @@ var PressableMeta = {
2291
3130
  "group": "style",
2292
3131
  "default": 0.7
2293
3132
  }
2294
- ]
3133
+ ],
3134
+ "example": `import React from 'react';
3135
+ import { FoundationProvider, Pressable, Inline, Stack, Text } from '@flipova/foundation';
3136
+
3137
+ export default function PressableExample() {
3138
+ return (
3139
+ <FoundationProvider defaultTheme="dark">
3140
+ <Stack spacing={4} style={{ padding: 20 }}>
3141
+ <Text variant="heading" size="md">Pressable Actions</Text>
3142
+ <Inline spacing={3} alignItems="center">
3143
+ <Pressable
3144
+ disabled={false}
3145
+ opacity={0.7}
3146
+ onPress={() => console.log('Pressable pressed')} />
3147
+ </Inline>
3148
+ </Stack>
3149
+ </FoundationProvider>
3150
+ );
3151
+ }`
2295
3152
  };
2296
3153
  var ProgressBarMeta = {
2297
3154
  "id": "ProgressBar",
@@ -2362,7 +3219,27 @@ var ProgressBarMeta = {
2362
3219
  "group": "behavior",
2363
3220
  "default": false
2364
3221
  }
2365
- ]
3222
+ ],
3223
+ "example": `import React from 'react';
3224
+ import { FoundationProvider, ProgressBar, Card, Stack, Text } from '@flipova/foundation';
3225
+
3226
+ export default function ProgressBarExample() {
3227
+ return (
3228
+ <FoundationProvider defaultTheme="dark">
3229
+ <Card p={5} borderRadius="lg" variant="elevated">
3230
+ <Stack spacing={3}>
3231
+ <Text variant="heading" size="md">Progress Bar Example</Text>
3232
+ <ProgressBar
3233
+ progress={0.5}
3234
+ size="md"
3235
+ borderRadius="full"
3236
+ showLabel={false}
3237
+ />
3238
+ </Stack>
3239
+ </Card>
3240
+ </FoundationProvider>
3241
+ );
3242
+ }`
2366
3243
  };
2367
3244
  var RadioGroupMeta = {
2368
3245
  "id": "RadioGroup",
@@ -2437,9 +3314,34 @@ var RadioGroupMeta = {
2437
3314
  "group": "style",
2438
3315
  "themeDefault": "primary"
2439
3316
  }
2440
- ]
3317
+ ],
3318
+ "example": `import React, { useState } from 'react';
3319
+ import { FoundationProvider, RadioGroup, Card, Stack, Text, Button } from '@flipova/foundation';
3320
+
3321
+ export default function RadioGroupExample() {
3322
+ const [value, setValue] = useState('');
3323
+
3324
+ return (
3325
+ <FoundationProvider defaultTheme="dark">
3326
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
3327
+ <Stack spacing={4}>
3328
+ <Text variant="heading" size="md">Radio Group Input</Text>
3329
+ <RadioGroup
3330
+ size="md"
3331
+ label="Label"
3332
+ direction="column"
3333
+ spacing={2}
3334
+ disabled={false}
3335
+ value={value} onChangeText={setValue} />
3336
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
3337
+ </Stack>
3338
+ </Card>
3339
+ </FoundationProvider>
3340
+ );
3341
+ }`
2441
3342
  };
2442
3343
  var SearchInputMeta = {
3344
+ "id": "SearchInput",
2443
3345
  "name": "SearchInput",
2444
3346
  "description": "A specialized input for searching with a clear button.",
2445
3347
  "tags": [
@@ -2447,7 +3349,22 @@ var SearchInputMeta = {
2447
3349
  "input",
2448
3350
  "search"
2449
3351
  ],
2450
- "props": []
3352
+ "props": [],
3353
+ "example": `import React from 'react';
3354
+ import { FoundationProvider, SearchInput, Card, Stack, Text } from '@flipova/foundation';
3355
+
3356
+ export default function SearchInputExample() {
3357
+ return (
3358
+ <FoundationProvider defaultTheme="dark">
3359
+ <Card p={5} borderRadius="lg" variant="elevated">
3360
+ <Stack spacing={3}>
3361
+ <Text variant="heading" size="md">SearchInput Example</Text>
3362
+ <SearchInput />
3363
+ </Stack>
3364
+ </Card>
3365
+ </FoundationProvider>
3366
+ );
3367
+ }`
2451
3368
  };
2452
3369
  var SelectMeta = {
2453
3370
  "id": "Select",
@@ -2571,7 +3488,32 @@ var SelectMeta = {
2571
3488
  "group": "style",
2572
3489
  "themeDefault": "input"
2573
3490
  }
2574
- ]
3491
+ ],
3492
+ "example": `import React, { useState } from 'react';
3493
+ import { FoundationProvider, Select, Card, Stack, Text, Button } from '@flipova/foundation';
3494
+
3495
+ export default function SelectExample() {
3496
+ const [value, setValue] = useState('');
3497
+
3498
+ return (
3499
+ <FoundationProvider defaultTheme="dark">
3500
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
3501
+ <Stack spacing={4}>
3502
+ <Text variant="heading" size="md">Select Input</Text>
3503
+ <Select
3504
+ variant="outlined"
3505
+ size="md"
3506
+ label="Label"
3507
+ placeholder="Select..."
3508
+ error="Error message"
3509
+ disabled={false}
3510
+ value={value} onChangeText={setValue} />
3511
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
3512
+ </Stack>
3513
+ </Card>
3514
+ </FoundationProvider>
3515
+ );
3516
+ }`
2575
3517
  };
2576
3518
  var SeparatorMeta = {
2577
3519
  "id": "Separator",
@@ -2631,7 +3573,27 @@ var SeparatorMeta = {
2631
3573
  "vertical"
2632
3574
  ]
2633
3575
  }
2634
- ]
3576
+ ],
3577
+ "example": `import React from 'react';
3578
+ import { FoundationProvider, Separator, Card, Stack, Text } from '@flipova/foundation';
3579
+
3580
+ export default function SeparatorExample() {
3581
+ return (
3582
+ <FoundationProvider defaultTheme="dark">
3583
+ <Card p={5} borderRadius="lg" variant="elevated">
3584
+ <Stack spacing={3}>
3585
+ <Text variant="heading" size="md">Separator Example</Text>
3586
+ <Separator
3587
+ label="Label"
3588
+ thickness={1}
3589
+ spacing={4}
3590
+ orientation="horizontal"
3591
+ />
3592
+ </Stack>
3593
+ </Card>
3594
+ </FoundationProvider>
3595
+ );
3596
+ }`
2635
3597
  };
2636
3598
  var SliderMeta = {
2637
3599
  "id": "Slider",
@@ -2728,7 +3690,32 @@ var SliderMeta = {
2728
3690
  "group": "style",
2729
3691
  "themeDefault": "primary"
2730
3692
  }
2731
- ]
3693
+ ],
3694
+ "example": `import React, { useState } from 'react';
3695
+ import { FoundationProvider, Slider, Card, Stack, Text, Button } from '@flipova/foundation';
3696
+
3697
+ export default function SliderExample() {
3698
+ const [value, setValue] = useState('');
3699
+
3700
+ return (
3701
+ <FoundationProvider defaultTheme="dark">
3702
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
3703
+ <Stack spacing={4}>
3704
+ <Text variant="heading" size="md">Slider Input</Text>
3705
+ <Slider
3706
+ size="md"
3707
+ min={0}
3708
+ max={100}
3709
+ step={1}
3710
+ label="Label"
3711
+ showValue={true}
3712
+ value={value} onChangeText={setValue} />
3713
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
3714
+ </Stack>
3715
+ </Card>
3716
+ </FoundationProvider>
3717
+ );
3718
+ }`
2732
3719
  };
2733
3720
  var SpinnerMeta = {
2734
3721
  "id": "Spinner",
@@ -2771,7 +3758,24 @@ var SpinnerMeta = {
2771
3758
  "group": "style",
2772
3759
  "themeDefault": "primary"
2773
3760
  }
2774
- ]
3761
+ ],
3762
+ "example": `import React from 'react';
3763
+ import { FoundationProvider, Spinner, Card, Stack, Text } from '@flipova/foundation';
3764
+
3765
+ export default function SpinnerExample() {
3766
+ return (
3767
+ <FoundationProvider defaultTheme="dark">
3768
+ <Card p={5} borderRadius="lg" variant="elevated">
3769
+ <Stack spacing={3}>
3770
+ <Text variant="heading" size="md">Spinner Example</Text>
3771
+ <Spinner
3772
+ size="md"
3773
+ />
3774
+ </Stack>
3775
+ </Card>
3776
+ </FoundationProvider>
3777
+ );
3778
+ }`
2775
3779
  };
2776
3780
  var SwitchMeta = {
2777
3781
  "id": "Switch",
@@ -2846,7 +3850,29 @@ var SwitchMeta = {
2846
3850
  "group": "style",
2847
3851
  "themeDefault": "muted"
2848
3852
  }
2849
- ]
3853
+ ],
3854
+ "example": `import React, { useState } from 'react';
3855
+ import { FoundationProvider, Switch, Card, Stack, Text, Button } from '@flipova/foundation';
3856
+
3857
+ export default function SwitchExample() {
3858
+ const [value, setValue] = useState('');
3859
+
3860
+ return (
3861
+ <FoundationProvider defaultTheme="dark">
3862
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
3863
+ <Stack spacing={4}>
3864
+ <Text variant="heading" size="md">Switch Input</Text>
3865
+ <Switch
3866
+ size="md"
3867
+ disabled={false}
3868
+ label="Label"
3869
+ value={value} onChangeText={setValue} />
3870
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
3871
+ </Stack>
3872
+ </Card>
3873
+ </FoundationProvider>
3874
+ );
3875
+ }`
2850
3876
  };
2851
3877
  var TabsMeta = {
2852
3878
  "id": "Tabs",
@@ -2901,7 +3927,25 @@ var TabsMeta = {
2901
3927
  "bottom"
2902
3928
  ]
2903
3929
  }
2904
- ]
3930
+ ],
3931
+ "example": `import React from 'react';
3932
+ import { FoundationProvider, Tabs, Card, Stack, Text } from '@flipova/foundation';
3933
+
3934
+ export default function TabsExample() {
3935
+ return (
3936
+ <FoundationProvider defaultTheme="dark">
3937
+ <Card p={5} borderRadius="lg" variant="elevated">
3938
+ <Stack spacing={3}>
3939
+ <Text variant="heading" size="md">Tabs Example</Text>
3940
+ <Tabs
3941
+ borderRadius="none"
3942
+ position="top"
3943
+ />
3944
+ </Stack>
3945
+ </Card>
3946
+ </FoundationProvider>
3947
+ );
3948
+ }`
2905
3949
  };
2906
3950
  var TextMeta = {
2907
3951
  "id": "Text",
@@ -2977,7 +4021,27 @@ var TextMeta = {
2977
4021
  "type": "number",
2978
4022
  "group": "behavior"
2979
4023
  }
2980
- ]
4024
+ ],
4025
+ "example": `import React from 'react';
4026
+ import { FoundationProvider, Text, Card, Stack, Text } from '@flipova/foundation';
4027
+
4028
+ export default function TextExample() {
4029
+ return (
4030
+ <FoundationProvider defaultTheme="dark">
4031
+ <Card p={5} borderRadius="lg" variant="elevated">
4032
+ <Stack spacing={3}>
4033
+ <Text variant="heading" size="md">Text Example</Text>
4034
+ <Text
4035
+ text="Text"
4036
+ fontSize={14}
4037
+ fontWeight="400"
4038
+ textAlign="left"
4039
+ />
4040
+ </Stack>
4041
+ </Card>
4042
+ </FoundationProvider>
4043
+ );
4044
+ }`
2981
4045
  };
2982
4046
  var TextAreaMeta = {
2983
4047
  "id": "TextArea",
@@ -3111,7 +4175,32 @@ var TextAreaMeta = {
3111
4175
  "group": "style",
3112
4176
  "themeDefault": "input"
3113
4177
  }
3114
- ]
4178
+ ],
4179
+ "example": `import React, { useState } from 'react';
4180
+ import { FoundationProvider, TextArea, Card, Stack, Text, Button } from '@flipova/foundation';
4181
+
4182
+ export default function TextAreaExample() {
4183
+ const [value, setValue] = useState('');
4184
+
4185
+ return (
4186
+ <FoundationProvider defaultTheme="dark">
4187
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
4188
+ <Stack spacing={4}>
4189
+ <Text variant="heading" size="md">Text Area Input</Text>
4190
+ <TextArea
4191
+ variant="outlined"
4192
+ size="md"
4193
+ placeholder="Placeholder"
4194
+ label="Label"
4195
+ error="Error message"
4196
+ disabled={false}
4197
+ value={value} onChangeText={setValue} />
4198
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
4199
+ </Stack>
4200
+ </Card>
4201
+ </FoundationProvider>
4202
+ );
4203
+ }`
3115
4204
  };
3116
4205
  var TextInputMeta = {
3117
4206
  "id": "TextInput",
@@ -3260,11 +4349,36 @@ var TextInputMeta = {
3260
4349
  "group": "style",
3261
4350
  "themeDefault": "border"
3262
4351
  }
3263
- ]
4352
+ ],
4353
+ "example": `import React, { useState } from 'react';
4354
+ import { FoundationProvider, TextInput, Card, Stack, Text, Button } from '@flipova/foundation';
4355
+
4356
+ export default function TextInputExample() {
4357
+ const [value, setValue] = useState('');
4358
+
4359
+ return (
4360
+ <FoundationProvider defaultTheme="dark">
4361
+ <Card p={5} borderRadius="lg" variant="elevated" style={{ maxWidth: 400 }}>
4362
+ <Stack spacing={4}>
4363
+ <Text variant="heading" size="md">Text Input Input</Text>
4364
+ <TextInput
4365
+ variant="outlined"
4366
+ size="md"
4367
+ placeholder="Placeholder"
4368
+ label="Label"
4369
+ error="Error message"
4370
+ disabled={false}
4371
+ value={value} onChangeText={setValue} />
4372
+ <Button variant="primary" label="Submit" onPress={() => console.log(value)} />
4373
+ </Stack>
4374
+ </Card>
4375
+ </FoundationProvider>
4376
+ );
4377
+ }`
3264
4378
  };
3265
4379
  var VideoMeta = {
3266
4380
  "id": "Video",
3267
- "label": "Voido",
4381
+ "label": "Video",
3268
4382
  "description": "Video player with controls, autoplay, and loop.",
3269
4383
  "category": "media",
3270
4384
  "tags": [
@@ -3353,7 +4467,29 @@ var VideoMeta = {
3353
4467
  "group": "style",
3354
4468
  "default": "none"
3355
4469
  }
3356
- ]
4470
+ ],
4471
+ "example": `import React from 'react';
4472
+ import { FoundationProvider, Video, Card, Stack, Text } from '@flipova/foundation';
4473
+
4474
+ export default function VideoExample() {
4475
+ return (
4476
+ <FoundationProvider defaultTheme="dark">
4477
+ <Card p={5} borderRadius="lg" variant="elevated">
4478
+ <Stack spacing={3}>
4479
+ <Text variant="heading" size="md">Video Example</Text>
4480
+ <Video
4481
+ source="Source URL"
4482
+ poster="Poster URL"
4483
+ autoplay={false}
4484
+ loop={false}
4485
+ muted={true}
4486
+ controls={true}
4487
+ />
4488
+ </Stack>
4489
+ </Card>
4490
+ </FoundationProvider>
4491
+ );
4492
+ }`
3357
4493
  };
3358
4494
  var WebViewMeta = {
3359
4495
  "id": "WebView",
@@ -3408,9 +4544,30 @@ var WebViewMeta = {
3408
4544
  "group": "style",
3409
4545
  "default": "none"
3410
4546
  }
3411
- ]
4547
+ ],
4548
+ "example": `import React from 'react';
4549
+ import { FoundationProvider, WebView, Card, Stack, Text } from '@flipova/foundation';
4550
+
4551
+ export default function WebViewExample() {
4552
+ return (
4553
+ <FoundationProvider defaultTheme="dark">
4554
+ <Card p={5} borderRadius="lg" variant="elevated">
4555
+ <Stack spacing={3}>
4556
+ <Text variant="heading" size="md">WebView Example</Text>
4557
+ <WebView
4558
+ url="https://expo.dev"
4559
+ height={400}
4560
+ scrollEnabled={true}
4561
+ borderRadius="none"
4562
+ />
4563
+ </Stack>
4564
+ </Card>
4565
+ </FoundationProvider>
4566
+ );
4567
+ }`
3412
4568
  };
3413
4569
  var WheelPickerMeta = {
4570
+ "id": "WheelPicker",
3414
4571
  "name": "WheelPicker",
3415
4572
  "description": 'A scrollable barrel wheel picker. If items exceed maxItemsInWheel, a "More..." option opens a submenu modal.',
3416
4573
  "props": [
@@ -3443,7 +4600,27 @@ var WheelPickerMeta = {
3443
4600
  "description": 'Label for the "More..." option',
3444
4601
  "default": "Plus..."
3445
4602
  }
3446
- ]
4603
+ ],
4604
+ "example": `import React from 'react';
4605
+ import { FoundationProvider, WheelPicker, Card, Stack, Text } from '@flipova/foundation';
4606
+
4607
+ export default function WheelPickerExample() {
4608
+ return (
4609
+ <FoundationProvider defaultTheme="dark">
4610
+ <Card p={5} borderRadius="lg" variant="elevated">
4611
+ <Stack spacing={3}>
4612
+ <Text variant="heading" size="md">WheelPicker Example</Text>
4613
+ <WheelPicker
4614
+ value="Sample"
4615
+ itemHeight={40}
4616
+ maxItemsInWheel={5}
4617
+ moreLabel="Plus..."
4618
+ />
4619
+ </Stack>
4620
+ </Card>
4621
+ </FoundationProvider>
4622
+ );
4623
+ }`
3447
4624
  };
3448
4625
  var AuthLayoutMeta = {
3449
4626
  "id": "AuthLayout",
@@ -3548,7 +4725,32 @@ var AuthLayoutMeta = {
3548
4725
  "group": "layout",
3549
4726
  "default": 4
3550
4727
  }
3551
- ]
4728
+ ],
4729
+ "example": `import React from 'react';
4730
+ import { FoundationProvider, AuthLayout, Card, Text, Stack } from '@flipova/foundation';
4731
+
4732
+ export default function AuthLayoutExample() {
4733
+ return (
4734
+ <FoundationProvider defaultTheme="dark">
4735
+ <AuthLayout
4736
+ borderRadius="none"
4737
+ spacing={0}
4738
+ brandingRatio={0.5}
4739
+ padding={5}
4740
+ >
4741
+ <Card p={4} variant="elevated">
4742
+ <Stack spacing={2}>
4743
+ <Text variant="heading" size="md">Authentication Section 1</Text>
4744
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
4745
+ </Stack>
4746
+ </Card>
4747
+ <Card p={4} variant="outlined">
4748
+ <Text variant="heading" size="md">Authentication Section 2</Text>
4749
+ </Card>
4750
+ </AuthLayout>
4751
+ </FoundationProvider>
4752
+ );
4753
+ }`
3552
4754
  };
3553
4755
  var BentoLayoutMeta = {
3554
4756
  "id": "BentoLayout",
@@ -3639,7 +4841,33 @@ var BentoLayoutMeta = {
3639
4841
  "group": "content",
3640
4842
  "default": []
3641
4843
  }
3642
- ]
4844
+ ],
4845
+ "example": `import React from 'react';
4846
+ import { FoundationProvider, BentoLayout, Card, Text, Stack } from '@flipova/foundation';
4847
+
4848
+ export default function BentoLayoutExample() {
4849
+ return (
4850
+ <FoundationProvider defaultTheme="dark">
4851
+ <BentoLayout
4852
+ spacing={2}
4853
+ itemBorderRadius="none"
4854
+ scrollable={true}
4855
+ maxWidth={1200}
4856
+ baseHeight={200}
4857
+ >
4858
+ <Card p={4} variant="elevated">
4859
+ <Stack spacing={2}>
4860
+ <Text variant="heading" size="md">Bento Section 1</Text>
4861
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
4862
+ </Stack>
4863
+ </Card>
4864
+ <Card p={4} variant="outlined">
4865
+ <Text variant="heading" size="md">Bento Section 2</Text>
4866
+ </Card>
4867
+ </BentoLayout>
4868
+ </FoundationProvider>
4869
+ );
4870
+ }`
3643
4871
  };
3644
4872
  var BottomDrawerLayoutMeta = {
3645
4873
  "id": "BottomDrawerLayout",
@@ -3784,7 +5012,31 @@ var BottomDrawerLayoutMeta = {
3784
5012
  "group": "layout",
3785
5013
  "default": 56
3786
5014
  }
3787
- ]
5015
+ ],
5016
+ "example": `import React from 'react';
5017
+ import { FoundationProvider, BottomDrawerLayout, Card, Text, Stack } from '@flipova/foundation';
5018
+
5019
+ export default function BottomDrawerLayoutExample() {
5020
+ return (
5021
+ <FoundationProvider defaultTheme="dark">
5022
+ <BottomDrawerLayout
5023
+ drawerHeight={400}
5024
+ scrollable={true}
5025
+ drawerBorderRadius="3xl"
5026
+ >
5027
+ <Card p={4} variant="elevated">
5028
+ <Stack spacing={2}>
5029
+ <Text variant="heading" size="md">Bottom Drawer Section 1</Text>
5030
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
5031
+ </Stack>
5032
+ </Card>
5033
+ <Card p={4} variant="outlined">
5034
+ <Text variant="heading" size="md">Bottom Drawer Section 2</Text>
5035
+ </Card>
5036
+ </BottomDrawerLayout>
5037
+ </FoundationProvider>
5038
+ );
5039
+ }`
3788
5040
  };
3789
5041
  var CenteredLayoutMeta = {
3790
5042
  "id": "CenteredLayout",
@@ -3868,7 +5120,32 @@ var CenteredLayoutMeta = {
3868
5120
  "group": "layout",
3869
5121
  "default": 6
3870
5122
  }
3871
- ]
5123
+ ],
5124
+ "example": `import React from 'react';
5125
+ import { FoundationProvider, CenteredLayout, Card, Text, Stack } from '@flipova/foundation';
5126
+
5127
+ export default function CenteredLayoutExample() {
5128
+ return (
5129
+ <FoundationProvider defaultTheme="dark">
5130
+ <CenteredLayout
5131
+ maxWidth={500}
5132
+ padding={4}
5133
+ borderRadius="3xl"
5134
+ shadowed={false}
5135
+ >
5136
+ <Card p={4} variant="elevated">
5137
+ <Stack spacing={2}>
5138
+ <Text variant="heading" size="md">Centered Section 1</Text>
5139
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
5140
+ </Stack>
5141
+ </Card>
5142
+ <Card p={4} variant="outlined">
5143
+ <Text variant="heading" size="md">Centered Section 2</Text>
5144
+ </Card>
5145
+ </CenteredLayout>
5146
+ </FoundationProvider>
5147
+ );
5148
+ }`
3872
5149
  };
3873
5150
  var DashboardLayoutMeta = {
3874
5151
  "id": "DashboardLayout",
@@ -4024,7 +5301,34 @@ var DashboardLayoutMeta = {
4024
5301
  "group": "behavior",
4025
5302
  "default": false
4026
5303
  }
4027
- ]
5304
+ ],
5305
+ "example": `import React from 'react';
5306
+ import { FoundationProvider, DashboardLayout, Card, Text, Stack } from '@flipova/foundation';
5307
+
5308
+ export default function DashboardLayoutExample() {
5309
+ return (
5310
+ <FoundationProvider defaultTheme="dark">
5311
+ <DashboardLayout
5312
+ sidebarWidth={260}
5313
+ sidebarCollapsedWidth={70}
5314
+ headerHeight={70}
5315
+ footerHeight={60}
5316
+ spacing={0}
5317
+ borderRadius="none"
5318
+ >
5319
+ <Card p={4} variant="elevated">
5320
+ <Stack spacing={2}>
5321
+ <Text variant="heading" size="md">Dashboard Section 1</Text>
5322
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
5323
+ </Stack>
5324
+ </Card>
5325
+ <Card p={4} variant="outlined">
5326
+ <Text variant="heading" size="md">Dashboard Section 2</Text>
5327
+ </Card>
5328
+ </DashboardLayout>
5329
+ </FoundationProvider>
5330
+ );
5331
+ }`
4028
5332
  };
4029
5333
  var DeckLayoutMeta = {
4030
5334
  "id": "DeckLayout",
@@ -4156,7 +5460,33 @@ var DeckLayoutMeta = {
4156
5460
  "group": "style",
4157
5461
  "themeDefault": "background"
4158
5462
  }
4159
- ]
5463
+ ],
5464
+ "example": `import React from 'react';
5465
+ import { FoundationProvider, DeckLayout, Card, Text, Stack } from '@flipova/foundation';
5466
+
5467
+ export default function DeckLayoutExample() {
5468
+ return (
5469
+ <FoundationProvider defaultTheme="dark">
5470
+ <DeckLayout
5471
+ peekOffset={12}
5472
+ peekScale={0.05}
5473
+ cycle={false}
5474
+ cardShadow={true}
5475
+ cardBorderRadius={24}
5476
+ >
5477
+ <Card p={4} variant="elevated">
5478
+ <Stack spacing={2}>
5479
+ <Text variant="heading" size="md">Deck Section 1</Text>
5480
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
5481
+ </Stack>
5482
+ </Card>
5483
+ <Card p={4} variant="outlined">
5484
+ <Text variant="heading" size="md">Deck Section 2</Text>
5485
+ </Card>
5486
+ </DeckLayout>
5487
+ </FoundationProvider>
5488
+ );
5489
+ }`
4160
5490
  };
4161
5491
  var FlexLayoutMeta = {
4162
5492
  "id": "FlexLayout",
@@ -4271,7 +5601,33 @@ var FlexLayoutMeta = {
4271
5601
  "group": "style",
4272
5602
  "default": "none"
4273
5603
  }
4274
- ]
5604
+ ],
5605
+ "example": `import React from 'react';
5606
+ import { FoundationProvider, FlexLayout, Card, Text, Stack } from '@flipova/foundation';
5607
+
5608
+ export default function FlexLayoutExample() {
5609
+ return (
5610
+ <FoundationProvider defaultTheme="dark">
5611
+ <FlexLayout
5612
+ direction="row"
5613
+ wrap={false}
5614
+ spacing={4}
5615
+ align="stretch"
5616
+ justify="flex-start"
5617
+ >
5618
+ <Card p={4} variant="elevated">
5619
+ <Stack spacing={2}>
5620
+ <Text variant="heading" size="md">Flex Section 1</Text>
5621
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
5622
+ </Stack>
5623
+ </Card>
5624
+ <Card p={4} variant="outlined">
5625
+ <Text variant="heading" size="md">Flex Section 2</Text>
5626
+ </Card>
5627
+ </FlexLayout>
5628
+ </FoundationProvider>
5629
+ );
5630
+ }`
4275
5631
  };
4276
5632
  var FlipLayoutMeta = {
4277
5633
  "id": "FlipLayout",
@@ -4419,7 +5775,31 @@ var FlipLayoutMeta = {
4419
5775
  "group": "behavior",
4420
5776
  "default": 140
4421
5777
  }
4422
- ]
5778
+ ],
5779
+ "example": `import React from 'react';
5780
+ import { FoundationProvider, FlipLayout, Card, Text, Stack } from '@flipova/foundation';
5781
+
5782
+ export default function FlipLayoutExample() {
5783
+ return (
5784
+ <FoundationProvider defaultTheme="dark">
5785
+ <FlipLayout
5786
+ borderRadius="none"
5787
+ flipPerspective={1200}
5788
+ swipeThreshold={40}
5789
+ >
5790
+ <Card p={4} variant="elevated">
5791
+ <Stack spacing={2}>
5792
+ <Text variant="heading" size="md">Flip Section 1</Text>
5793
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
5794
+ </Stack>
5795
+ </Card>
5796
+ <Card p={4} variant="outlined">
5797
+ <Text variant="heading" size="md">Flip Section 2</Text>
5798
+ </Card>
5799
+ </FlipLayout>
5800
+ </FoundationProvider>
5801
+ );
5802
+ }`
4423
5803
  };
4424
5804
  var FooterLayoutMeta = {
4425
5805
  "id": "FooterLayout",
@@ -4541,7 +5921,32 @@ var FooterLayoutMeta = {
4541
5921
  "group": "behavior",
4542
5922
  "default": false
4543
5923
  }
4544
- ]
5924
+ ],
5925
+ "example": `import React from 'react';
5926
+ import { FoundationProvider, FooterLayout, Card, Text, Stack } from '@flipova/foundation';
5927
+
5928
+ export default function FooterLayoutExample() {
5929
+ return (
5930
+ <FoundationProvider defaultTheme="dark">
5931
+ <FooterLayout
5932
+ footerHeight={60}
5933
+ spacing={0}
5934
+ sticky={false}
5935
+ scrollable={true}
5936
+ >
5937
+ <Card p={4} variant="elevated">
5938
+ <Stack spacing={2}>
5939
+ <Text variant="heading" size="md">Footer Section 1</Text>
5940
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
5941
+ </Stack>
5942
+ </Card>
5943
+ <Card p={4} variant="outlined">
5944
+ <Text variant="heading" size="md">Footer Section 2</Text>
5945
+ </Card>
5946
+ </FooterLayout>
5947
+ </FoundationProvider>
5948
+ );
5949
+ }`
4545
5950
  };
4546
5951
  var GridLayoutMeta = {
4547
5952
  "id": "GridLayout",
@@ -4645,7 +6050,31 @@ var GridLayoutMeta = {
4645
6050
  "group": "behavior",
4646
6051
  "default": false
4647
6052
  }
4648
- ]
6053
+ ],
6054
+ "example": `import React from 'react';
6055
+ import { FoundationProvider, GridLayout, Card, Text, Stack } from '@flipova/foundation';
6056
+
6057
+ export default function GridLayoutExample() {
6058
+ return (
6059
+ <FoundationProvider defaultTheme="dark">
6060
+ <GridLayout
6061
+ spacing={0}
6062
+ scrollable={false}
6063
+ padding={0}
6064
+ >
6065
+ <Card p={4} variant="elevated">
6066
+ <Stack spacing={2}>
6067
+ <Text variant="heading" size="md">Grid Section 1</Text>
6068
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
6069
+ </Stack>
6070
+ </Card>
6071
+ <Card p={4} variant="outlined">
6072
+ <Text variant="heading" size="md">Grid Section 2</Text>
6073
+ </Card>
6074
+ </GridLayout>
6075
+ </FoundationProvider>
6076
+ );
6077
+ }`
4649
6078
  };
4650
6079
  var HeaderContentLayoutMeta = {
4651
6080
  "id": "HeaderContentLayout",
@@ -4775,7 +6204,32 @@ var HeaderContentLayoutMeta = {
4775
6204
  "group": "behavior",
4776
6205
  "default": 16
4777
6206
  }
4778
- ]
6207
+ ],
6208
+ "example": `import React from 'react';
6209
+ import { FoundationProvider, HeaderContentLayout, Card, Text, Stack } from '@flipova/foundation';
6210
+
6211
+ export default function HeaderContentLayoutExample() {
6212
+ return (
6213
+ <FoundationProvider defaultTheme="dark">
6214
+ <HeaderContentLayout
6215
+ headerHeight={150}
6216
+ headerCollapsedHeight={60}
6217
+ spacing={0}
6218
+ headerBorderRadius="none"
6219
+ >
6220
+ <Card p={4} variant="elevated">
6221
+ <Stack spacing={2}>
6222
+ <Text variant="heading" size="md">Collapsible Header Section 1</Text>
6223
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
6224
+ </Stack>
6225
+ </Card>
6226
+ <Card p={4} variant="outlined">
6227
+ <Text variant="heading" size="md">Collapsible Header Section 2</Text>
6228
+ </Card>
6229
+ </HeaderContentLayout>
6230
+ </FoundationProvider>
6231
+ );
6232
+ }`
4779
6233
  };
4780
6234
  var LeftDrawerLayoutMeta = {
4781
6235
  "id": "LeftDrawerLayout",
@@ -4920,7 +6374,31 @@ var LeftDrawerLayoutMeta = {
4920
6374
  "group": "layout",
4921
6375
  "default": 40
4922
6376
  }
4923
- ]
6377
+ ],
6378
+ "example": `import React from 'react';
6379
+ import { FoundationProvider, LeftDrawerLayout, Card, Text, Stack } from '@flipova/foundation';
6380
+
6381
+ export default function LeftDrawerLayoutExample() {
6382
+ return (
6383
+ <FoundationProvider defaultTheme="dark">
6384
+ <LeftDrawerLayout
6385
+ drawerWidth={280}
6386
+ scrollable={true}
6387
+ drawerBorderRadius="none"
6388
+ >
6389
+ <Card p={4} variant="elevated">
6390
+ <Stack spacing={2}>
6391
+ <Text variant="heading" size="md">Left Drawer Section 1</Text>
6392
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
6393
+ </Stack>
6394
+ </Card>
6395
+ <Card p={4} variant="outlined">
6396
+ <Text variant="heading" size="md">Left Drawer Section 2</Text>
6397
+ </Card>
6398
+ </LeftDrawerLayout>
6399
+ </FoundationProvider>
6400
+ );
6401
+ }`
4924
6402
  };
4925
6403
  var MasonryLayoutMeta = {
4926
6404
  "id": "MasonryLayout",
@@ -5009,7 +6487,33 @@ var MasonryLayoutMeta = {
5009
6487
  "type": "padding",
5010
6488
  "group": "layout"
5011
6489
  }
5012
- ]
6490
+ ],
6491
+ "example": `import React from 'react';
6492
+ import { FoundationProvider, MasonryLayout, Card, Text, Stack } from '@flipova/foundation';
6493
+
6494
+ export default function MasonryLayoutExample() {
6495
+ return (
6496
+ <FoundationProvider defaultTheme="dark">
6497
+ <MasonryLayout
6498
+ columns={2}
6499
+ spacing={1}
6500
+ scrollable={true}
6501
+ background="transparent"
6502
+ borderRadius="none"
6503
+ >
6504
+ <Card p={4} variant="elevated">
6505
+ <Stack spacing={2}>
6506
+ <Text variant="heading" size="md">Masonry Section 1</Text>
6507
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
6508
+ </Stack>
6509
+ </Card>
6510
+ <Card p={4} variant="outlined">
6511
+ <Text variant="heading" size="md">Masonry Section 2</Text>
6512
+ </Card>
6513
+ </MasonryLayout>
6514
+ </FoundationProvider>
6515
+ );
6516
+ }`
5013
6517
  };
5014
6518
  var ParallaxLayoutMeta = {
5015
6519
  "id": "ParallaxLayout",
@@ -5129,7 +6633,32 @@ var ParallaxLayoutMeta = {
5129
6633
  "group": "behavior",
5130
6634
  "default": 16
5131
6635
  }
5132
- ]
6636
+ ],
6637
+ "example": `import React from 'react';
6638
+ import { FoundationProvider, ParallaxLayout, Card, Text, Stack } from '@flipova/foundation';
6639
+
6640
+ export default function ParallaxLayoutExample() {
6641
+ return (
6642
+ <FoundationProvider defaultTheme="dark">
6643
+ <ParallaxLayout
6644
+ rowCount={3}
6645
+ itemWidth={200}
6646
+ spacing={4}
6647
+ itemSpacing={12}
6648
+ >
6649
+ <Card p={4} variant="elevated">
6650
+ <Stack spacing={2}>
6651
+ <Text variant="heading" size="md">Parallax Section 1</Text>
6652
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
6653
+ </Stack>
6654
+ </Card>
6655
+ <Card p={4} variant="outlined">
6656
+ <Text variant="heading" size="md">Parallax Section 2</Text>
6657
+ </Card>
6658
+ </ParallaxLayout>
6659
+ </FoundationProvider>
6660
+ );
6661
+ }`
5133
6662
  };
5134
6663
  var ResponsiveLayoutMeta = {
5135
6664
  "id": "ResponsiveLayout",
@@ -5310,7 +6839,34 @@ var ResponsiveLayoutMeta = {
5310
6839
  "group": "layout",
5311
6840
  "default": 320
5312
6841
  }
5313
- ]
6842
+ ],
6843
+ "example": `import React from 'react';
6844
+ import { FoundationProvider, ResponsiveLayout, Card, Text, Stack } from '@flipova/foundation';
6845
+
6846
+ export default function ResponsiveLayoutExample() {
6847
+ return (
6848
+ <FoundationProvider defaultTheme="dark">
6849
+ <ResponsiveLayout
6850
+ spacing={0}
6851
+ headerHeight={60}
6852
+ sidebarWidth={260}
6853
+ footerHeight={60}
6854
+ adaptiveMode="basic"
6855
+ hideHeader={false}
6856
+ >
6857
+ <Card p={4} variant="elevated">
6858
+ <Stack spacing={2}>
6859
+ <Text variant="heading" size="md">Responsive Section 1</Text>
6860
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
6861
+ </Stack>
6862
+ </Card>
6863
+ <Card p={4} variant="outlined">
6864
+ <Text variant="heading" size="md">Responsive Section 2</Text>
6865
+ </Card>
6866
+ </ResponsiveLayout>
6867
+ </FoundationProvider>
6868
+ );
6869
+ }`
5314
6870
  };
5315
6871
  var RootLayoutMeta = {
5316
6872
  "id": "RootLayout",
@@ -5405,7 +6961,33 @@ var RootLayoutMeta = {
5405
6961
  "group": "layout",
5406
6962
  "default": 0
5407
6963
  }
5408
- ]
6964
+ ],
6965
+ "example": `import React from 'react';
6966
+ import { FoundationProvider, RootLayout, Card, Text, Stack } from '@flipova/foundation';
6967
+
6968
+ export default function RootLayoutExample() {
6969
+ return (
6970
+ <FoundationProvider defaultTheme="dark">
6971
+ <RootLayout
6972
+ scrollable={true}
6973
+ padding={0}
6974
+ justifyContent="flex-start"
6975
+ alignItems="stretch"
6976
+ flexDirection="column"
6977
+ >
6978
+ <Card p={4} variant="elevated">
6979
+ <Stack spacing={2}>
6980
+ <Text variant="heading" size="md">Root Section 1</Text>
6981
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
6982
+ </Stack>
6983
+ </Card>
6984
+ <Card p={4} variant="outlined">
6985
+ <Text variant="heading" size="md">Root Section 2</Text>
6986
+ </Card>
6987
+ </RootLayout>
6988
+ </FoundationProvider>
6989
+ );
6990
+ }`
5409
6991
  };
5410
6992
  var ScrollLayoutMeta = {
5411
6993
  "id": "ScrollLayout",
@@ -5576,7 +7158,34 @@ var ScrollLayoutMeta = {
5576
7158
  "group": "layout",
5577
7159
  "default": 50
5578
7160
  }
5579
- ]
7161
+ ],
7162
+ "example": `import React from 'react';
7163
+ import { FoundationProvider, ScrollLayout, Card, Text, Stack } from '@flipova/foundation';
7164
+
7165
+ export default function ScrollLayoutExample() {
7166
+ return (
7167
+ <FoundationProvider defaultTheme="dark">
7168
+ <ScrollLayout
7169
+ spacing={4}
7170
+ useSafeAreaInsets={true}
7171
+ headerHeight={80}
7172
+ footerHeight={60}
7173
+ scrollDirection="vertical"
7174
+ showScrollIndicator={false}
7175
+ >
7176
+ <Card p={4} variant="elevated">
7177
+ <Stack spacing={2}>
7178
+ <Text variant="heading" size="md">Scroll Section 1</Text>
7179
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7180
+ </Stack>
7181
+ </Card>
7182
+ <Card p={4} variant="outlined">
7183
+ <Text variant="heading" size="md">Scroll Section 2</Text>
7184
+ </Card>
7185
+ </ScrollLayout>
7186
+ </FoundationProvider>
7187
+ );
7188
+ }`
5580
7189
  };
5581
7190
  var SidebarLayoutMeta = {
5582
7191
  "id": "SidebarLayout",
@@ -5709,7 +7318,33 @@ var SidebarLayoutMeta = {
5709
7318
  "group": "layout",
5710
7319
  "default": 600
5711
7320
  }
5712
- ]
7321
+ ],
7322
+ "example": `import React from 'react';
7323
+ import { FoundationProvider, SidebarLayout, Card, Text, Stack } from '@flipova/foundation';
7324
+
7325
+ export default function SidebarLayoutExample() {
7326
+ return (
7327
+ <FoundationProvider defaultTheme="dark">
7328
+ <SidebarLayout
7329
+ sidebarWidth={280}
7330
+ position="left"
7331
+ collapsible={true}
7332
+ spacing={4}
7333
+ scrollable={true}
7334
+ >
7335
+ <Card p={4} variant="elevated">
7336
+ <Stack spacing={2}>
7337
+ <Text variant="heading" size="md">Sidebar Section 1</Text>
7338
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7339
+ </Stack>
7340
+ </Card>
7341
+ <Card p={4} variant="outlined">
7342
+ <Text variant="heading" size="md">Sidebar Section 2</Text>
7343
+ </Card>
7344
+ </SidebarLayout>
7345
+ </FoundationProvider>
7346
+ );
7347
+ }`
5713
7348
  };
5714
7349
  var SketchLayoutMeta = {
5715
7350
  "id": "SketchLayout",
@@ -5733,9 +7368,30 @@ var SketchLayoutMeta = {
5733
7368
  "group": "style",
5734
7369
  "themeDefault": "background"
5735
7370
  }
5736
- ]
7371
+ ],
7372
+ "example": `import React from 'react';
7373
+ import { FoundationProvider, SketchLayout, Card, Text, Stack } from '@flipova/foundation';
7374
+
7375
+ export default function SketchLayoutExample() {
7376
+ return (
7377
+ <FoundationProvider defaultTheme="dark">
7378
+ <SketchLayout >
7379
+ <Card p={4} variant="elevated">
7380
+ <Stack spacing={2}>
7381
+ <Text variant="heading" size="md">Sketch (placeholder) Section 1</Text>
7382
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7383
+ </Stack>
7384
+ </Card>
7385
+ <Card p={4} variant="outlined">
7386
+ <Text variant="heading" size="md">Sketch (placeholder) Section 2</Text>
7387
+ </Card>
7388
+ </SketchLayout>
7389
+ </FoundationProvider>
7390
+ );
7391
+ }`
5737
7392
  };
5738
7393
  var SortableGridLayoutMeta = {
7394
+ "id": "SortableGridLayout",
5739
7395
  "name": "SortableGridLayout",
5740
7396
  "description": "A drag-and-drop reorderable grid layout for rendering interactive lists or grids.",
5741
7397
  "tags": [
@@ -5761,7 +7417,30 @@ var SortableGridLayoutMeta = {
5761
7417
  "description": "Spacing between items.",
5762
7418
  "default": 8
5763
7419
  }
5764
- }
7420
+ },
7421
+ "example": `import React from 'react';
7422
+ import { FoundationProvider, SortableGridLayout, Card, Text, Stack } from '@flipova/foundation';
7423
+
7424
+ export default function SortableGridLayoutExample() {
7425
+ return (
7426
+ <FoundationProvider defaultTheme="dark">
7427
+ <SortableGridLayout
7428
+ columns={3}
7429
+ spacing={8}
7430
+ >
7431
+ <Card p={4} variant="elevated">
7432
+ <Stack spacing={2}>
7433
+ <Text variant="heading" size="md">SortableGridLayout Section 1</Text>
7434
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7435
+ </Stack>
7436
+ </Card>
7437
+ <Card p={4} variant="outlined">
7438
+ <Text variant="heading" size="md">SortableGridLayout Section 2</Text>
7439
+ </Card>
7440
+ </SortableGridLayout>
7441
+ </FoundationProvider>
7442
+ );
7443
+ }`
5765
7444
  };
5766
7445
  var SplitLayoutMeta = {
5767
7446
  "id": "SplitLayout",
@@ -5877,7 +7556,32 @@ var SplitLayoutMeta = {
5877
7556
  "group": "style",
5878
7557
  "default": "none"
5879
7558
  }
5880
- ]
7559
+ ],
7560
+ "example": `import React from 'react';
7561
+ import { FoundationProvider, SplitLayout, Card, Text, Stack } from '@flipova/foundation';
7562
+
7563
+ export default function SplitLayoutExample() {
7564
+ return (
7565
+ <FoundationProvider defaultTheme="dark">
7566
+ <SplitLayout
7567
+ spacing={0}
7568
+ ratio={0.5}
7569
+ orientation="horizontal"
7570
+ hideLeftOnMobile={false}
7571
+ >
7572
+ <Card p={4} variant="elevated">
7573
+ <Stack spacing={2}>
7574
+ <Text variant="heading" size="md">Split Section 1</Text>
7575
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7576
+ </Stack>
7577
+ </Card>
7578
+ <Card p={4} variant="outlined">
7579
+ <Text variant="heading" size="md">Split Section 2</Text>
7580
+ </Card>
7581
+ </SplitLayout>
7582
+ </FoundationProvider>
7583
+ );
7584
+ }`
5881
7585
  };
5882
7586
  var Swipe2ScreenLayoutMeta = {
5883
7587
  "id": "Swipe2ScreenLayout",
@@ -5953,7 +7657,33 @@ var Swipe2ScreenLayoutMeta = {
5953
7657
  "group": "content",
5954
7658
  "default": []
5955
7659
  }
5956
- ]
7660
+ ],
7661
+ "example": `import React from 'react';
7662
+ import { FoundationProvider, Swipe2ScreenLayout, Card, Text, Stack } from '@flipova/foundation';
7663
+
7664
+ export default function Swipe2ScreenLayoutExample() {
7665
+ return (
7666
+ <FoundationProvider defaultTheme="dark">
7667
+ <Swipe2ScreenLayout
7668
+ containerBackground="#000"
7669
+ screenBackground="#fff"
7670
+ swipeThreshold={100}
7671
+ projectedScale={0.8}
7672
+ animationDuration={300}
7673
+ >
7674
+ <Card p={4} variant="elevated">
7675
+ <Stack spacing={2}>
7676
+ <Text variant="heading" size="md">Swipe to Screen Section 1</Text>
7677
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7678
+ </Stack>
7679
+ </Card>
7680
+ <Card p={4} variant="outlined">
7681
+ <Text variant="heading" size="md">Swipe to Screen Section 2</Text>
7682
+ </Card>
7683
+ </Swipe2ScreenLayout>
7684
+ </FoundationProvider>
7685
+ );
7686
+ }`
5957
7687
  };
5958
7688
  var SwiperLayoutMeta = {
5959
7689
  "id": "SwiperLayout",
@@ -6094,7 +7824,31 @@ var SwiperLayoutMeta = {
6094
7824
  "group": "style",
6095
7825
  "default": "#fff"
6096
7826
  }
6097
- ]
7827
+ ],
7828
+ "example": `import React from 'react';
7829
+ import { FoundationProvider, SwiperLayout, Card, Text, Stack } from '@flipova/foundation';
7830
+
7831
+ export default function SwiperLayoutExample() {
7832
+ return (
7833
+ <FoundationProvider defaultTheme="dark">
7834
+ <SwiperLayout
7835
+ enableSwipeUp={false}
7836
+ enableSwipeDown={false}
7837
+ borderRadius="none"
7838
+ >
7839
+ <Card p={4} variant="elevated">
7840
+ <Stack spacing={2}>
7841
+ <Text variant="heading" size="md">Swiper Section 1</Text>
7842
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7843
+ </Stack>
7844
+ </Card>
7845
+ <Card p={4} variant="outlined">
7846
+ <Text variant="heading" size="md">Swiper Section 2</Text>
7847
+ </Card>
7848
+ </SwiperLayout>
7849
+ </FoundationProvider>
7850
+ );
7851
+ }`
6098
7852
  };
6099
7853
  var SystemLayoutMeta = {
6100
7854
  "id": "SystemLayout",
@@ -6172,7 +7926,31 @@ var SystemLayoutMeta = {
6172
7926
  "group": "style",
6173
7927
  "themeDefault": "card"
6174
7928
  }
6175
- ]
7929
+ ],
7930
+ "example": `import React from 'react';
7931
+ import { FoundationProvider, SystemLayout, Card, Text, Stack } from '@flipova/foundation';
7932
+
7933
+ export default function SystemLayoutExample() {
7934
+ return (
7935
+ <FoundationProvider defaultTheme="dark">
7936
+ <SystemLayout
7937
+ rootBackgroundColor="#0c3ddbff"
7938
+ statusBarContentStyle="auto"
7939
+ navigationBarContentStyle="light"
7940
+ >
7941
+ <Card p={4} variant="elevated">
7942
+ <Stack spacing={2}>
7943
+ <Text variant="heading" size="md">System UI Section 1</Text>
7944
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
7945
+ </Stack>
7946
+ </Card>
7947
+ <Card p={4} variant="outlined">
7948
+ <Text variant="heading" size="md">System UI Section 2</Text>
7949
+ </Card>
7950
+ </SystemLayout>
7951
+ </FoundationProvider>
7952
+ );
7953
+ }`
6176
7954
  };
6177
7955
  var TopDrawerLayoutMeta = {
6178
7956
  "id": "TopDrawerLayout",
@@ -6331,7 +8109,31 @@ var TopDrawerLayoutMeta = {
6331
8109
  "group": "style",
6332
8110
  "themeDefault": "mutedForeground"
6333
8111
  }
6334
- ]
8112
+ ],
8113
+ "example": `import React from 'react';
8114
+ import { FoundationProvider, TopDrawerLayout, Card, Text, Stack } from '@flipova/foundation';
8115
+
8116
+ export default function TopDrawerLayoutExample() {
8117
+ return (
8118
+ <FoundationProvider defaultTheme="dark">
8119
+ <TopDrawerLayout
8120
+ drawerHeight={600}
8121
+ scrollable={true}
8122
+ drawerBorderRadius="3xl"
8123
+ >
8124
+ <Card p={4} variant="elevated">
8125
+ <Stack spacing={2}>
8126
+ <Text variant="heading" size="md">Top Drawer Section 1</Text>
8127
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
8128
+ </Stack>
8129
+ </Card>
8130
+ <Card p={4} variant="outlined">
8131
+ <Text variant="heading" size="md">Top Drawer Section 2</Text>
8132
+ </Card>
8133
+ </TopDrawerLayout>
8134
+ </FoundationProvider>
8135
+ );
8136
+ }`
6335
8137
  };
6336
8138
  var TutoLayoutMeta = {
6337
8139
  "id": "TutoLayout",
@@ -6439,7 +8241,32 @@ var TutoLayoutMeta = {
6439
8241
  "group": "content",
6440
8242
  "default": []
6441
8243
  }
6442
- ]
8244
+ ],
8245
+ "example": `import React from 'react';
8246
+ import { FoundationProvider, TutoLayout, Card, Text, Stack } from '@flipova/foundation';
8247
+
8248
+ export default function TutoLayoutExample() {
8249
+ return (
8250
+ <FoundationProvider defaultTheme="dark">
8251
+ <TutoLayout
8252
+ overlayOpacity={0.78}
8253
+ showSkip={true}
8254
+ nextLabel="Next"
8255
+ finishLabel="Finish"
8256
+ >
8257
+ <Card p={4} variant="elevated">
8258
+ <Stack spacing={2}>
8259
+ <Text variant="heading" size="md">TutoLayout Section 1</Text>
8260
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
8261
+ </Stack>
8262
+ </Card>
8263
+ <Card p={4} variant="outlined">
8264
+ <Text variant="heading" size="md">TutoLayout Section 2</Text>
8265
+ </Card>
8266
+ </TutoLayout>
8267
+ </FoundationProvider>
8268
+ );
8269
+ }`
6443
8270
  };
6444
8271
  var VoidLayoutMeta = {
6445
8272
  "id": "VoidLayout",
@@ -6518,11 +8345,48 @@ var VoidLayoutMeta = {
6518
8345
  "group": "style",
6519
8346
  "default": false
6520
8347
  }
6521
- ]
8348
+ ],
8349
+ "example": `import React from 'react';
8350
+ import { FoundationProvider, VoidLayout, Card, Text, Stack } from '@flipova/foundation';
8351
+
8352
+ export default function VoidLayoutExample() {
8353
+ return (
8354
+ <FoundationProvider defaultTheme="dark">
8355
+ <VoidLayout
8356
+ scrollable={true}
8357
+ borderRadius="none"
8358
+ spacing={0}
8359
+ >
8360
+ <Card p={4} variant="elevated">
8361
+ <Stack spacing={2}>
8362
+ <Text variant="heading" size="md">Void Section 1</Text>
8363
+ <Text color="mutedForeground">Content layout block powered by Flipova Foundation.</Text>
8364
+ </Stack>
8365
+ </Card>
8366
+ <Card p={4} variant="outlined">
8367
+ <Text variant="heading" size="md">Void Section 2</Text>
8368
+ </Card>
8369
+ </VoidLayout>
8370
+ </FoundationProvider>
8371
+ );
8372
+ }`
6522
8373
  };
6523
8374
  var componentRegistry = [
8375
+ BadgeWrapperMeta,
8376
+ BlurWrapperMeta,
8377
+ CollapsibleWrapperMeta,
8378
+ FadeInWrapperMeta,
8379
+ KeyboardAvoidWrapperMeta,
8380
+ SafeAreaWrapperMeta,
8381
+ ScalePressWrapperMeta,
8382
+ ShimmerWrapperMeta,
8383
+ SkeletonWrapperMeta,
8384
+ SlideUpWrapperMeta,
8385
+ TooltipWrapperMeta,
6524
8386
  AccordionMeta,
8387
+ AudioMeta,
6525
8388
  AvatarMeta,
8389
+ AvatarPickerMeta,
6526
8390
  BadgeMeta,
6527
8391
  BlurViewMeta,
6528
8392
  ButtonMeta,
@@ -6530,18 +8394,26 @@ var componentRegistry = [
6530
8394
  CardMeta,
6531
8395
  CheckboxMeta,
6532
8396
  ChipMeta,
8397
+ ColorPickerMeta,
6533
8398
  DatePickerMeta,
8399
+ EmojiPickerMeta,
6534
8400
  FilePickerMeta,
6535
8401
  FlatListMeta,
8402
+ GifPickerMeta,
6536
8403
  GradientMeta,
6537
8404
  IconMeta,
6538
8405
  IconButtonMeta,
8406
+ IconPickerMeta,
6539
8407
  ImageMeta,
6540
8408
  LottieAnimationMeta,
6541
8409
  MapViewMeta,
8410
+ NumberInputMeta,
8411
+ OTPInputMeta,
8412
+ PasswordInputMeta,
6542
8413
  PressableMeta,
6543
8414
  ProgressBarMeta,
6544
8415
  RadioGroupMeta,
8416
+ SearchInputMeta,
6545
8417
  SelectMeta,
6546
8418
  SeparatorMeta,
6547
8419
  SliderMeta,
@@ -6552,7 +8424,8 @@ var componentRegistry = [
6552
8424
  TextAreaMeta,
6553
8425
  TextInputMeta,
6554
8426
  VideoMeta,
6555
- WebViewMeta
8427
+ WebViewMeta,
8428
+ WheelPickerMeta
6556
8429
  ];
6557
8430
  var blockRegistry = [];
6558
8431
  var layoutRegistry = [
@@ -6575,6 +8448,7 @@ var layoutRegistry = [
6575
8448
  ScrollLayoutMeta,
6576
8449
  SidebarLayoutMeta,
6577
8450
  SketchLayoutMeta,
8451
+ SortableGridLayoutMeta,
6578
8452
  SplitLayoutMeta,
6579
8453
  Swipe2ScreenLayoutMeta,
6580
8454
  SwiperLayoutMeta,
@@ -6592,18 +8466,21 @@ var primitiveRegistry = [
6592
8466
  DividerMeta
6593
8467
  ];
6594
8468
  function getComponentMeta(id) {
6595
- return componentRegistry.find((m) => m.id === id);
8469
+ return componentRegistry.find((m) => m.id === id) || layoutRegistry.find((m) => m.id === id) || primitiveRegistry.find((m) => m.id === id) || blockRegistry.find((m) => m.id === id);
6596
8470
  }
6597
8471
  function getBlockMeta(id) {
6598
- return blockRegistry.find((m) => m.id === id);
8472
+ return blockRegistry.find((m) => m.id === id) || getComponentMeta(id);
6599
8473
  }
6600
8474
  function getLayoutMeta(id) {
6601
- return layoutRegistry.find((m) => m.id === id);
8475
+ return layoutRegistry.find((m) => m.id === id) || getComponentMeta(id);
6602
8476
  }
6603
8477
  function getPrimitiveMeta(id) {
6604
- return primitiveRegistry.find((m) => m.id === id);
8478
+ return primitiveRegistry.find((m) => m.id === id) || getComponentMeta(id);
8479
+ }
8480
+ function getMeta(id) {
8481
+ return getComponentMeta(id);
6605
8482
  }
6606
8483
 
6607
- export { AccordionMeta, AudioMeta, AuthLayoutMeta, AvatarMeta, AvatarPickerMeta, BadgeMeta, BadgeWrapperMeta, BentoLayoutMeta, BlurViewMeta, BlurWrapperMeta, BottomDrawerLayoutMeta, BoxMeta, ButtonMeta, CameraMeta, CardMeta, CenterMeta, CenteredLayoutMeta, CheckboxMeta, ChipMeta, CollapsibleWrapperMeta, ColorPickerMeta, DashboardLayoutMeta, DatePickerMeta, DeckLayoutMeta, DividerMeta, EmojiPickerMeta, FadeInWrapperMeta, FilePickerMeta, FlatListMeta, FlexLayoutMeta, FlipLayoutMeta, FooterLayoutMeta, GifPickerMeta, GradientMeta, GridLayoutMeta, HeaderContentLayoutMeta, IconButtonMeta, IconMeta, IconPickerMeta, ImageMeta, InlineMeta, KeyboardAvoidWrapperMeta, LeftDrawerLayoutMeta, LottieAnimationMeta, MapViewMeta, MasonryLayoutMeta, NumberInputMeta, OTPInputMeta, ParallaxLayoutMeta, PasswordInputMeta, PressableMeta, ProgressBarMeta, RadioGroupMeta, ResponsiveLayoutMeta, RootLayoutMeta, SafeAreaWrapperMeta, ScalePressWrapperMeta, ScrollLayoutMeta, ScrollMeta, SearchInputMeta, SelectMeta, SeparatorMeta, ShimmerWrapperMeta, SidebarLayoutMeta, SkeletonWrapperMeta, SketchLayoutMeta, SlideUpWrapperMeta, SliderMeta, SortableGridLayoutMeta, SpinnerMeta, SplitLayoutMeta, StackMeta, Swipe2ScreenLayoutMeta, SwiperLayoutMeta, SwitchMeta, SystemLayoutMeta, TabsMeta, TextAreaMeta, TextInputMeta, TextMeta, TooltipWrapperMeta, TopDrawerLayoutMeta, TutoLayoutMeta, VideoMeta, VoidLayoutMeta, WebViewMeta, WheelPickerMeta, blockRegistry, componentRegistry, getBlockMeta, getComponentMeta, getLayoutMeta, getPrimitiveMeta, layoutRegistry, primitiveRegistry };
6608
- //# sourceMappingURL=chunk-4NPMHFKO.mjs.map
6609
- //# sourceMappingURL=chunk-4NPMHFKO.mjs.map
8484
+ export { AccordionMeta, AudioMeta, AuthLayoutMeta, AvatarMeta, AvatarPickerMeta, BadgeMeta, BadgeWrapperMeta, BentoLayoutMeta, BlurViewMeta, BlurWrapperMeta, BottomDrawerLayoutMeta, BoxMeta, ButtonMeta, CameraMeta, CardMeta, CenterMeta, CenteredLayoutMeta, CheckboxMeta, ChipMeta, CollapsibleWrapperMeta, ColorPickerMeta, DashboardLayoutMeta, DatePickerMeta, DeckLayoutMeta, DividerMeta, EmojiPickerMeta, FadeInWrapperMeta, FilePickerMeta, FlatListMeta, FlexLayoutMeta, FlipLayoutMeta, FooterLayoutMeta, GifPickerMeta, GradientMeta, GridLayoutMeta, HeaderContentLayoutMeta, IconButtonMeta, IconMeta, IconPickerMeta, ImageMeta, InlineMeta, KeyboardAvoidWrapperMeta, LeftDrawerLayoutMeta, LottieAnimationMeta, MapViewMeta, MasonryLayoutMeta, NumberInputMeta, OTPInputMeta, ParallaxLayoutMeta, PasswordInputMeta, PressableMeta, ProgressBarMeta, RadioGroupMeta, ResponsiveLayoutMeta, RootLayoutMeta, SafeAreaWrapperMeta, ScalePressWrapperMeta, ScrollLayoutMeta, ScrollMeta, SearchInputMeta, SelectMeta, SeparatorMeta, ShimmerWrapperMeta, SidebarLayoutMeta, SkeletonWrapperMeta, SketchLayoutMeta, SlideUpWrapperMeta, SliderMeta, SortableGridLayoutMeta, SpinnerMeta, SplitLayoutMeta, StackMeta, Swipe2ScreenLayoutMeta, SwiperLayoutMeta, SwitchMeta, SystemLayoutMeta, TabsMeta, TextAreaMeta, TextInputMeta, TextMeta, TooltipWrapperMeta, TopDrawerLayoutMeta, TutoLayoutMeta, VideoMeta, VoidLayoutMeta, WebViewMeta, WheelPickerMeta, blockRegistry, componentRegistry, getBlockMeta, getComponentMeta, getLayoutMeta, getMeta, getPrimitiveMeta, layoutRegistry, primitiveRegistry };
8485
+ //# sourceMappingURL=chunk-RQXQK3ZO.mjs.map
8486
+ //# sourceMappingURL=chunk-RQXQK3ZO.mjs.map