@flipova/foundation 1.9.0 → 1.10.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 (135) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +64 -1
  3. package/dist/{chunk-3PYMFFVP.mjs → chunk-32VWREEH.mjs} +2289 -7
  4. package/dist/chunk-32VWREEH.mjs.map +1 -0
  5. package/dist/{chunk-5ZDSYOFL.js → chunk-3RJREGCN.js} +2604 -309
  6. package/dist/chunk-3RJREGCN.js.map +1 -0
  7. package/dist/{chunk-MWRMHYW2.js → chunk-D4QJYQOK.js} +17 -17
  8. package/dist/{chunk-MWRMHYW2.js.map → chunk-D4QJYQOK.js.map} +1 -1
  9. package/dist/{chunk-GZPFYWMA.mjs → chunk-IKVONTJC.mjs} +10 -3
  10. package/dist/chunk-IKVONTJC.mjs.map +1 -0
  11. package/dist/{chunk-RRZSROIT.mjs → chunk-RRV2Q4SS.mjs} +3 -3
  12. package/dist/{chunk-RRZSROIT.mjs.map → chunk-RRV2Q4SS.mjs.map} +1 -1
  13. package/dist/chunk-RUZBEFDO.js +669 -0
  14. package/dist/{chunk-T7V6TILB.js.map → chunk-RUZBEFDO.js.map} +1 -1
  15. package/dist/{chunk-45NSZH5Z.js → chunk-UBZMVSIN.js} +10 -2
  16. package/dist/chunk-UBZMVSIN.js.map +1 -0
  17. package/dist/{chunk-SYHGZT2M.mjs → chunk-YTD4AWV2.mjs} +4 -4
  18. package/dist/{chunk-SYHGZT2M.mjs.map → chunk-YTD4AWV2.mjs.map} +1 -1
  19. package/dist/config/index.js +6 -6
  20. package/dist/config/index.mjs +1 -1
  21. package/dist/index.d.mts +1 -2
  22. package/dist/index.d.ts +1 -2
  23. package/dist/index.js +200 -201
  24. package/dist/index.mjs +4 -5
  25. package/dist/layout/index.d.mts +192 -3
  26. package/dist/layout/index.d.ts +192 -3
  27. package/dist/layout/index.js +159 -160
  28. package/dist/layout/index.mjs +1 -2
  29. package/dist/studio-v2/cli/index.js +96 -0
  30. package/dist/theme/index.js +14 -14
  31. package/dist/theme/index.mjs +1 -1
  32. package/dist/tokens/index.js +14 -14
  33. package/dist/tokens/index.mjs +1 -1
  34. package/dist/web/index.js +3639 -363
  35. package/dist/web/index.js.map +1 -1
  36. package/dist/web/index.mjs +3463 -61
  37. package/dist/web/index.mjs.map +1 -1
  38. package/package.json +15 -8
  39. package/studio-v2/apps/web/CHANGELOG.md +7 -0
  40. package/studio-v2/apps/web/LICENSE +21 -0
  41. package/studio-v2/apps/web/README.md +56 -0
  42. package/studio-v2/apps/web/dist/+not-found.html +793 -0
  43. package/studio-v2/apps/web/dist/_expo/.routes.json +3 -0
  44. package/studio-v2/apps/web/dist/_expo/static/css/global-a4717de456877faacb88ee482aa99653.css +1 -0
  45. package/{studio/app/dist/_expo/static/js/web/entry-77f601f6b9353e7b6e3b18cdbe63ac99.js → studio-v2/apps/web/dist/_expo/static/js/web/entry-5d96588cc8f2ee5c00754cef9ac6481d.js} +3707 -17257
  46. package/studio-v2/apps/web/dist/_expo/static/js/web/index-470f33f64d8c4f7b8d8da2632b2959c2.js +4 -0
  47. package/{studio/app/dist/_expo/static/js/web/index-ac88f7a39991e452f0b4323da9aa4367.js → studio-v2/apps/web/dist/_expo/static/js/web/index-f7fcd21ae9d8dacf4c88ea5796614af0.js} +3 -3
  48. package/studio-v2/apps/web/dist/_sitemap.html +793 -0
  49. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/drawer/lib/module/views/assets/toggle-drawer-icon.ae74bb20586a731af545e6b00fe14a09.png +0 -0
  50. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
  51. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
  52. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
  53. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
  54. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
  55. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
  56. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
  57. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
  58. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
  59. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
  60. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
  61. package/studio-v2/apps/web/dist/index.html +793 -0
  62. package/dist/chunk-3PYMFFVP.mjs.map +0 -1
  63. package/dist/chunk-45NSZH5Z.js.map +0 -1
  64. package/dist/chunk-4QTEZKXE.mjs +0 -2287
  65. package/dist/chunk-4QTEZKXE.mjs.map +0 -1
  66. package/dist/chunk-5ZDSYOFL.js.map +0 -1
  67. package/dist/chunk-BJTO5JO5.mjs +0 -10
  68. package/dist/chunk-BJTO5JO5.mjs.map +0 -1
  69. package/dist/chunk-DGUM43GV.js +0 -12
  70. package/dist/chunk-DGUM43GV.js.map +0 -1
  71. package/dist/chunk-ECBM426M.mjs +0 -2647
  72. package/dist/chunk-ECBM426M.mjs.map +0 -1
  73. package/dist/chunk-EIWDEXBO.js +0 -2690
  74. package/dist/chunk-EIWDEXBO.js.map +0 -1
  75. package/dist/chunk-FLEEJX7L.js +0 -2301
  76. package/dist/chunk-FLEEJX7L.js.map +0 -1
  77. package/dist/chunk-GZPFYWMA.mjs.map +0 -1
  78. package/dist/chunk-T7V6TILB.js +0 -669
  79. package/dist/primitives-DVX2q5St.d.mts +0 -195
  80. package/dist/primitives-nj-4at-g.d.ts +0 -195
  81. package/dist/studio/cli/index.d.mts +0 -1
  82. package/dist/studio/cli/index.d.ts +0 -1
  83. package/dist/studio/cli/index.js +0 -42
  84. package/dist/studio/cli/index.js.map +0 -1
  85. package/dist/studio/cli/index.mjs +0 -35
  86. package/dist/studio/cli/index.mjs.map +0 -1
  87. package/dist/studio/index.d.mts +0 -441
  88. package/dist/studio/index.d.ts +0 -441
  89. package/dist/studio/index.js +0 -84
  90. package/dist/studio/index.js.map +0 -1
  91. package/dist/studio/index.mjs +0 -3
  92. package/dist/studio/index.mjs.map +0 -1
  93. package/dist/web/index.d.mts +0 -778
  94. package/dist/web/index.d.ts +0 -778
  95. package/studio/README.md +0 -154
  96. package/studio/app/dist/_expo/static/js/web/index-9587ee2e3c02826ac2da47e86fefe882.js +0 -4
  97. package/studio/app/dist/index.html +0 -37
  98. package/studio/app/dist/metadata.json +0 -1
  99. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/AntDesign.3f78af31cca60105799838a1a7a59fbd.ttf +0 -0
  100. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Entypo.31b5ffea3daddc69dd01a1f3d6cf63c5.ttf +0 -0
  101. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/EvilIcons.140c53a7643ea949007aa9a282153849.ttf +0 -0
  102. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.ca4b48e04dc1ce10bfbddb262c8b835f.ttf +0 -0
  103. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome.b06871f281fee6b241d60582ae9369b9.ttf +0 -0
  104. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.3b89dd103490708d19a95adcae52210e.ttf +0 -0
  105. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.1f77739ca9ff2188b539c36f30ffa2be.ttf +0 -0
  106. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.605ed7926cf39a2ad5ec2d1f9d391d3d.ttf +0 -0
  107. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Brands.56c8d80832e37783f12c05db7c8849e2.ttf +0 -0
  108. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Regular.370dd5af19f8364907b6e2c41f45dbbf.ttf +0 -0
  109. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Solid.adec7d6f310bc577f05e8fe06a5daccf.ttf +0 -0
  110. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Fontisto.b49ae8ab2dbccb02c4d11caaacf09eab.ttf +0 -0
  111. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Foundation.e20945d7c929279ef7a6f1db184a4470.ttf +0 -0
  112. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.b4eb097d35f44ed943676fd56f6bdc51.ttf +0 -0
  113. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.6e435534bd35da5fef04168860a9b8fa.ttf +0 -0
  114. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialIcons.4e85bc9ebe07e0340c9c4fc2f6c38908.ttf +0 -0
  115. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Octicons.871378c6eab492a3e689a9385dc45a12.ttf +0 -0
  116. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.d2285965fe34b05465047401b8595dd0.ttf +0 -0
  117. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Zocial.1681f34aaca71b8dfb70756bca331eb2.ttf +0 -0
  118. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
  119. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
  120. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
  121. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
  122. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
  123. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
  124. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
  125. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
  126. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
  127. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
  128. /package/{studio/app/dist/assets/__node_modules/expo-router/assets/react-navigation/elements → studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets}/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
  129. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png +0 -0
  130. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png +0 -0
  131. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png +0 -0
  132. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png +0 -0
  133. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png +0 -0
  134. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
  135. /package/{studio/app/dist/assets/__node_modules → studio-v2/apps/web/dist/assets/___node_modules}/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
package/dist/index.mjs CHANGED
@@ -1,7 +1,6 @@
1
- export { Accordion_default as Accordion, AuthFormBlock_default as AuthFormBlock, AuthLayout_default as AuthLayout, Avatar_default as Avatar, AvatarBlock_default as AvatarBlock, Badge_default as Badge, BannerBlock_default as BannerBlock, BentoLayout_default as BentoLayout, BottomDrawerLayout_default as BottomDrawerLayout, Box_default as Box, Button_default as Button, CalendarEventBlock_default as CalendarEventBlock, CameraComp_default as CameraComp, CardBlock_default as CardBlock, Center_default as Center, CenteredLayout_default as CenteredLayout, ChatBubbleBlock_default as ChatBubbleBlock, Checkbox_default as Checkbox, Chip_default as Chip, CommentBlock_default as CommentBlock, ContactCardBlock_default as ContactCardBlock, CounterBlock_default as CounterBlock, CrossTabLayout_default as CrossTabLayout, DashboardLayout_default as DashboardLayout, DatePicker_default as DatePicker, DeckLayout_default as DeckLayout, Divider_default as Divider, EmptyStateBlock_default as EmptyStateBlock, FileItemBlock_default as FileItemBlock, FilePicker_default as FilePicker, FlexLayout_default as FlexLayout, FlipLayout_default as FlipLayout, FooterLayout_default as FooterLayout, FormBlock_default as FormBlock, GradientComp_default as GradientComp, GridLayout_default as GridLayout, HeaderBlock_default as HeaderBlock, HeaderContentLayout_default as HeaderContentLayout, IconButton_default as IconButton, IconComp_default as IconComp, ImageComp_default as ImageComp, Inline_default as Inline, LeftDrawerLayout_default as LeftDrawerLayout, ListItemBlock_default as ListItemBlock, MapPinBlock_default as MapPinBlock, MapViewComp_default as MapViewComp, MasonryLayout_default as MasonryLayout, MediaPickerBlock_default as MediaPickerBlock, ModalBlock_default as ModalBlock, NotificationItemBlock_default as NotificationItemBlock, OTPInputBlock_default as OTPInputBlock, OnboardingSlideBlock_default as OnboardingSlideBlock, ParallaxLayout_default as ParallaxLayout, PasswordStrengthBlock_default as PasswordStrengthBlock, PlatformOverrideProvider, PricingCardBlock_default as PricingCardBlock, ProductCardBlock_default as ProductCardBlock, ProgressBar_default as ProgressBar, QuoteBlock_default as QuoteBlock, RadioGroup_default as RadioGroup, RatingBlock_default as RatingBlock, ResponsiveLayout_default as ResponsiveLayout, RootLayout_default as RootLayout, Scroll_default as Scroll, ScrollLayout_default as ScrollLayout, SearchBarBlock_default as SearchBarBlock, SegmentedControlBlock_default as SegmentedControlBlock, Select_default as Select, SeparatorComp_default as SeparatorComp, SidebarLayout_default as SidebarLayout, SketchLayout_default as SketchLayout, Slider_default as Slider, SocialLinksBlock_default as SocialLinksBlock, Spinner_default as Spinner, SplitLayout_default as SplitLayout, Stack_default as Stack, StatCardBlock_default as StatCardBlock, StepperBlock_default as StepperBlock, Swipe2ScreenLayout_default as Swipe2ScreenLayout, SwiperLayout_default as SwiperLayout, Switch_default as Switch, SystemUIWrapper, TagInputBlock_default as TagInputBlock, TextArea_default as TextArea, TextComp_default as TextComp, TextInput_default as TextInput, TimelineBlock_default as TimelineBlock, ToastBlock_default as ToastBlock, TopDrawerLayout_default as TopDrawerLayout, TransactionItemBlock_default as TransactionItemBlock, TutoLayout, VideoComp_default as VideoComp, VoidLayout_default as VoidLayout, WebViewComp_default as WebViewComp, getBreakpoint, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, platformSelect, resolveBackground, resolveLayoutPadding, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef } from './chunk-3PYMFFVP.mjs';
2
- export { FoundationProvider, defineConfig, resolveConfig, useFoundationConfig, useTokens } from './chunk-SYHGZT2M.mjs';
3
- export { ThemeProvider, autumnTheme, christmasTheme, createTheme, darkTheme, halloweenTheme, lightTheme, neonTheme, springTheme, summerTheme, useColorScheme, useTheme, winterTheme } from './chunk-RRZSROIT.mjs';
4
- export { breakpoints, colors, durations, easings, fontSizes, fontWeights, letterSpacings, lineHeights, opacity, radii, shadows, spacing, zIndices } from './chunk-GZPFYWMA.mjs';
5
- export { applyDefaults, applyVariant, blockRegistry, componentRegistry, extractDefaults, getBlockMeta, getComponentMeta, getConstants, getLayoutMeta, getPrimitiveMeta, layoutRegistry, primitiveRegistry, resolveThemeDefaults } from './chunk-4QTEZKXE.mjs';
1
+ export { Accordion_default as Accordion, AuthFormBlock_default as AuthFormBlock, AuthLayout_default as AuthLayout, Avatar_default as Avatar, AvatarBlock_default as AvatarBlock, Badge_default as Badge, BannerBlock_default as BannerBlock, BentoLayout_default as BentoLayout, BottomDrawerLayout_default as BottomDrawerLayout, Box_default as Box, Button_default as Button, CalendarEventBlock_default as CalendarEventBlock, CameraComp_default as CameraComp, CardBlock_default as CardBlock, Center_default as Center, CenteredLayout_default as CenteredLayout, ChatBubbleBlock_default as ChatBubbleBlock, Checkbox_default as Checkbox, Chip_default as Chip, CommentBlock_default as CommentBlock, ContactCardBlock_default as ContactCardBlock, CounterBlock_default as CounterBlock, CrossTabLayout_default as CrossTabLayout, DashboardLayout_default as DashboardLayout, DatePicker_default as DatePicker, DeckLayout_default as DeckLayout, Divider_default as Divider, EmptyStateBlock_default as EmptyStateBlock, FileItemBlock_default as FileItemBlock, FilePicker_default as FilePicker, FlexLayout_default as FlexLayout, FlipLayout_default as FlipLayout, FooterLayout_default as FooterLayout, FormBlock_default as FormBlock, GradientComp_default as GradientComp, GridLayout_default as GridLayout, HeaderBlock_default as HeaderBlock, HeaderContentLayout_default as HeaderContentLayout, IconButton_default as IconButton, IconComp_default as IconComp, ImageComp_default as ImageComp, Inline_default as Inline, LeftDrawerLayout_default as LeftDrawerLayout, ListItemBlock_default as ListItemBlock, MapPinBlock_default as MapPinBlock, MapViewComp_default as MapViewComp, MasonryLayout_default as MasonryLayout, MediaPickerBlock_default as MediaPickerBlock, ModalBlock_default as ModalBlock, NotificationItemBlock_default as NotificationItemBlock, OTPInputBlock_default as OTPInputBlock, OnboardingSlideBlock_default as OnboardingSlideBlock, ParallaxLayout_default as ParallaxLayout, PasswordStrengthBlock_default as PasswordStrengthBlock, PlatformOverrideProvider, PricingCardBlock_default as PricingCardBlock, ProductCardBlock_default as ProductCardBlock, ProgressBar_default as ProgressBar, QuoteBlock_default as QuoteBlock, RadioGroup_default as RadioGroup, RatingBlock_default as RatingBlock, ResponsiveLayout_default as ResponsiveLayout, RootLayout_default as RootLayout, Scroll_default as Scroll, ScrollLayout_default as ScrollLayout, SearchBarBlock_default as SearchBarBlock, SegmentedControlBlock_default as SegmentedControlBlock, Select_default as Select, SeparatorComp_default as SeparatorComp, SidebarLayout_default as SidebarLayout, SketchLayout_default as SketchLayout, Slider_default as Slider, SocialLinksBlock_default as SocialLinksBlock, Spinner_default as Spinner, SplitLayout_default as SplitLayout, Stack_default as Stack, StatCardBlock_default as StatCardBlock, StepperBlock_default as StepperBlock, Swipe2ScreenLayout_default as Swipe2ScreenLayout, SwiperLayout_default as SwiperLayout, Switch_default as Switch, SystemUIWrapper, TagInputBlock_default as TagInputBlock, TextArea_default as TextArea, TextComp_default as TextComp, TextInput_default as TextInput, TimelineBlock_default as TimelineBlock, ToastBlock_default as ToastBlock, TopDrawerLayout_default as TopDrawerLayout, TransactionItemBlock_default as TransactionItemBlock, TutoLayout, VideoComp_default as VideoComp, VoidLayout_default as VoidLayout, WebViewComp_default as WebViewComp, applyDefaults, applyVariant, blockRegistry, componentRegistry, extractDefaults, getBlockMeta, getBreakpoint, getComponentMeta, getConstants, getLayoutMeta, getPrimitiveMeta, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, layoutRegistry, platformSelect, primitiveRegistry, resolveBackground, resolveLayoutPadding, resolveThemeDefaults, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef } from './chunk-32VWREEH.mjs';
2
+ export { FoundationProvider, defineConfig, resolveConfig, useFoundationConfig, useTokens } from './chunk-YTD4AWV2.mjs';
3
+ export { ThemeProvider, autumnTheme, christmasTheme, createTheme, darkTheme, halloweenTheme, lightTheme, neonTheme, springTheme, summerTheme, useColorScheme, useTheme, winterTheme } from './chunk-RRV2Q4SS.mjs';
4
+ export { breakpoints, colors, durations, easings, fontSizes, fontWeights, letterSpacings, lineHeights, opacity, radii, shadows, spacing, zIndices } from './chunk-IKVONTJC.mjs';
6
5
  //# sourceMappingURL=index.mjs.map
7
6
  //# sourceMappingURL=index.mjs.map
@@ -2,8 +2,6 @@ import React from 'react';
2
2
  import { ViewProps, ViewStyle, ScrollViewProps, View } from 'react-native';
3
3
  import { C as ColorScheme, b as ThemeMode, a as CustomThemeMode } from '../index-D4qJw_Et.mjs';
4
4
  import { B as Breakpoint, a as SpacingToken, R as RadiusToken, S as ShadowToken, c as spacing } from '../spacing-CXUulLF9.mjs';
5
- import { f as LayoutPadding, L as LayoutBackground } from '../primitives-DVX2q5St.mjs';
6
- export { A as AnyMeta, B as BlockCategory, a as BlockMeta, C as ComponentCategory, b as ComponentMeta, D as DefaultsOf, c as LayoutCategory, d as LayoutConstants, e as LayoutMeta, P as PropDescriptor, g as PropType, S as SlotDescriptor, h as SpringConfig, T as ThemeColorRole, V as VariantDescriptor, i as applyDefaults, j as applyVariant, k as blockRegistry, l as componentRegistry, m as extractDefaults, n as getBlockMeta, o as getComponentMeta, p as getConstants, q as getLayoutMeta, r as getPrimitiveMeta, s as layoutRegistry, t as primitiveRegistry, u as resolveThemeDefaults } from '../primitives-DVX2q5St.mjs';
7
5
 
8
6
  declare const getBreakpoint: (innerWidth?: number) => Breakpoint;
9
7
  type ResponsiveValue<T> = T | Partial<Record<Breakpoint, T>>;
@@ -480,6 +478,124 @@ interface DeckLayoutProps {
480
478
  }
481
479
  declare const _default: React.NamedExoticComponent<DeckLayoutProps>;
482
480
 
481
+ interface LayoutPadding {
482
+ top?: SpacingToken;
483
+ bottom?: SpacingToken;
484
+ left?: SpacingToken;
485
+ right?: SpacingToken;
486
+ horizontal?: SpacingToken;
487
+ vertical?: SpacingToken;
488
+ }
489
+ type LayoutBackground = string | [string, string, ...string[]];
490
+ type ThemeColorRole = Exclude<{
491
+ [K in keyof ColorScheme]: ColorScheme[K] extends string ? K : never;
492
+ }[keyof ColorScheme], undefined>;
493
+ interface SlotDescriptor {
494
+ name: string;
495
+ label: string;
496
+ required: boolean;
497
+ /**
498
+ * kind — explicit slot mode, no heuristic needed.
499
+ *
500
+ * - "children" : standard React children (layout receives `children` prop)
501
+ * - "items" : primary array slot (layout receives `items={[...]}` or named prop)
502
+ * - "named" : single ReactNode passed as a named prop (e.g. `header={<Header />}`)
503
+ * - "named-array" : array of ReactNodes passed as a named prop (e.g. `backContent={[...]}`)
504
+ *
505
+ * Defaults to "children" when omitted for backward compatibility.
506
+ */
507
+ kind?: "children" | "items" | "named" | "named-array";
508
+ /** @deprecated use `kind: "items"` instead */
509
+ array?: boolean;
510
+ }
511
+ type PropType = "string" | "number" | "boolean" | "spacing" | "radius" | "shadow" | "color" | "background" | "padding" | "enum" | "ratio" | "json";
512
+ interface PropDescriptor<T = unknown> {
513
+ name: string;
514
+ label: string;
515
+ type: PropType;
516
+ default?: T;
517
+ themeDefault?: ThemeColorRole;
518
+ description?: string;
519
+ required?: boolean;
520
+ options?: readonly string[];
521
+ min?: number;
522
+ max?: number;
523
+ group?: "style" | "layout" | "behavior" | "content";
524
+ }
525
+ type LayoutCategory = "page" | "content" | "navigation" | "card" | "scroll" | "special";
526
+ type ComponentCategory = "input" | "action" | "display" | "feedback" | "overlay" | "media" | "navigation";
527
+ type BlockCategory = "auth" | "profile" | "navigation" | "content" | "data" | "feedback" | "form" | "overlay" | "social" | "ecommerce" | "finance" | "onboarding" | "messaging" | "calendar" | "files" | "location" | "media";
528
+ interface SpringConfig {
529
+ damping: number;
530
+ stiffness: number;
531
+ mass?: number;
532
+ overshootClamping?: boolean;
533
+ }
534
+ interface LayoutConstants {
535
+ springConfig?: SpringConfig;
536
+ springSnap?: SpringConfig;
537
+ springNoBounce?: SpringConfig;
538
+ swipeThreshold?: number;
539
+ flipThreshold?: number;
540
+ exitDistance?: number;
541
+ scaleFactor?: number;
542
+ flipScaleFactor?: number;
543
+ dezoomDuration?: number;
544
+ flipDuration?: number;
545
+ slideOutDuration?: number;
546
+ exitLeft?: number;
547
+ exitRight?: number;
548
+ }
549
+ interface VariantDescriptor {
550
+ name: string;
551
+ label: string;
552
+ description?: string;
553
+ overrides: Record<string, unknown>;
554
+ }
555
+ interface BaseMeta {
556
+ id: string;
557
+ label: string;
558
+ description: string;
559
+ props: PropDescriptor[];
560
+ themeMapping?: Record<string, ThemeColorRole>;
561
+ tags: string[];
562
+ }
563
+ interface LayoutMeta extends BaseMeta {
564
+ category: LayoutCategory;
565
+ slots: SlotDescriptor[];
566
+ constants?: LayoutConstants;
567
+ responsive: boolean;
568
+ animated: boolean;
569
+ dependencies?: string[];
570
+ /** Number of placeholder items to show in Studio when the slot is empty (default: 3) */
571
+ previewItemCount?: number;
572
+ /**
573
+ * Platforms this layout is available on.
574
+ * Omit to indicate support for all platforms.
575
+ * @example ["native", "web"]
576
+ */
577
+ platforms?: ("native" | "web")[];
578
+ }
579
+ interface ComponentMeta extends BaseMeta {
580
+ category: ComponentCategory;
581
+ variants: VariantDescriptor[];
582
+ sizes?: string[];
583
+ /**
584
+ * Platforms this component is available on.
585
+ * Omit to indicate support for all platforms.
586
+ */
587
+ platforms?: ("native" | "web")[];
588
+ }
589
+ interface BlockMeta extends BaseMeta {
590
+ category: BlockCategory;
591
+ slots: SlotDescriptor[];
592
+ components: string[];
593
+ }
594
+ type AnyMeta = LayoutMeta | ComponentMeta | BlockMeta;
595
+ type DefaultsOf<T extends Record<string, unknown>> = {
596
+ [K in keyof T]?: T[K];
597
+ };
598
+
483
599
  /**
484
600
  * FlexLayout
485
601
  *
@@ -2337,4 +2453,77 @@ interface ResolvedBackground {
2337
2453
  }
2338
2454
  declare function resolveBackground(background?: LayoutBackground): ResolvedBackground;
2339
2455
 
2340
- export { Accordion, type AdaptiveConfig, AuthFormBlock, AuthLayout, type AuthLayoutProps, Avatar, AvatarBlock, type AvatarProps, Badge, type BadgeProps, BannerBlock, type BentoCellConfig, BentoLayout, type BentoLayoutProps, BottomDrawerLayout, type BottomDrawerLayoutProps, Box, type BoxProps, type BreakpointInfo, Button, type ButtonProps, CalendarEventBlock, CameraComp, CardBlock, Center, type CenterProps, CenteredLayout, type CenteredLayoutProps, ChatBubbleBlock, Checkbox, type CheckboxProps, Chip, type ChipProps, CommentBlock, ContactCardBlock, CounterBlock, CrossTabLayout, type CrossTabLayoutProps, DashboardLayout, type DashboardLayoutProps, DatePicker, type DatePickerProps, _default as DeckLayout, Divider, type DividerProps, EmptyStateBlock, FileItemBlock, FilePicker, type FilePickerProps, FlexLayout, type FlexLayoutProps, FlipLayout, type FlipLayoutProps, FooterLayout, type FooterLayoutProps, FormBlock, GradientComp, type GradientCompProps, GridLayout, type GridLayoutProps, HeaderBlock, HeaderContentLayout, type HeaderContentLayoutProps, IconButton, type IconButtonProps, IconComp, type IconCompProps, ImageComp, type ImageCompProps, Inline, type InlineProps, LayoutBackground, LayoutPadding, LeftDrawerLayout, type LeftDrawerLayoutProps, ListItemBlock, MapPinBlock, MapViewComp, MasonryLayout, type MasonryLayoutProps, MediaPickerBlock, ModalBlock, NotificationItemBlock, OTPInputBlock, OnboardingSlideBlock, ParallaxLayout, type ParallaxLayoutProps, PasswordStrengthBlock, type PlatformInfo, PlatformOverrideProvider, type PlatformOverrideValue, PricingCardBlock, ProductCardBlock, ProgressBar, QuoteBlock, RadioGroup, type RadioGroupProps, RatingBlock, type ResolvedBackground, type ResolvedPadding, ResponsiveLayout, type ResponsiveLayoutProps, type ResponsiveValue, RootLayout, Scroll, ScrollLayout, type ScrollLayoutProps, type ScrollProps, SearchBarBlock, SegmentedControlBlock, Select, type SelectProps, SeparatorComp, type SeparatorCompProps, SidebarLayout, type SidebarLayoutProps, SketchLayout, Slider, type SliderProps, SocialLinksBlock, Spinner, type SpinnerProps, SplitLayout, type SplitLayoutProps, Stack, type StackProps, StatCardBlock, StepperBlock, Swipe2ScreenLayout, SwiperLayout, type SwiperLayoutProps, SwitchComponent as Switch, type SwitchProps, SystemUIWrapper, TagInputBlock, TextArea, type TextAreaProps, TextComp, type TextCompProps, TextInputComponent as TextInput, type TextInputProps, TimelineBlock, ToastBlock, type TopDrawerHandle, TopDrawerLayout, type TopDrawerLayoutProps, TransactionItemBlock, type TutoGesture, type TutoLabelPosition, TutoLayout, type TutoLayoutProps, type TutoStep, type TutoZone, type TutoZoneManual, type TutoZoneRef, type TutoZoneShape, VideoComp, VoidLayout, type VoidLayoutProps, WebViewComp, getBreakpoint, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, platformSelect, resolveBackground, resolveLayoutPadding, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef };
2456
+ /**
2457
+ * Helpers to extract and apply defaults and constants from any registry meta.
2458
+ * Works with LayoutMeta, ComponentMeta, and BlockMeta.
2459
+ */
2460
+
2461
+ declare function extractDefaults(meta: AnyMeta): Record<string, unknown>;
2462
+ declare function resolveThemeDefaults(meta: AnyMeta, theme: ColorScheme): Record<string, string>;
2463
+ declare function applyDefaults<T extends object>(props: T, meta: AnyMeta, theme?: ColorScheme): T;
2464
+ declare function applyVariant<T extends object>(props: T, variant: VariantDescriptor): T;
2465
+ declare function getConstants(meta: LayoutMeta): LayoutConstants;
2466
+
2467
+ /**
2468
+ * Layout Registry — Définitions complètes
2469
+ *
2470
+ * Chaque layout est décrit avec ses slots, props configurables,
2471
+ * valeurs par défaut, types, groupes et contraintes.
2472
+ */
2473
+
2474
+ declare function getLayoutMeta(id: string): LayoutMeta | undefined;
2475
+ declare const layoutRegistry: LayoutMeta[];
2476
+
2477
+ /**
2478
+ * Component Registry
2479
+ *
2480
+ * Base UI components: buttons, inputs, badges, avatars, etc.
2481
+ * Each component supports variants (e.g. primary/secondary/ghost for buttons)
2482
+ * and sizes. Theme-aware via themeDefault on color props.
2483
+ */
2484
+
2485
+ declare function getComponentMeta(id: string): ComponentMeta | undefined;
2486
+ declare const componentRegistry: ComponentMeta[];
2487
+
2488
+ /**
2489
+ * Block Registry
2490
+ *
2491
+ * Functional blocks that combine primitives and base components.
2492
+ * Each block is a higher-level UI pattern (auth form, header bar, avatar group, etc.)
2493
+ * with named slots and theme-aware styling.
2494
+ */
2495
+
2496
+ declare const blockRegistry: BlockMeta[];
2497
+ declare function getBlockMeta(id: string): BlockMeta | undefined;
2498
+
2499
+ /**
2500
+ * Primitives Registry
2501
+ *
2502
+ * Low-level layout primitives available in the studio.
2503
+ * These are the building blocks for all layouts and components.
2504
+ */
2505
+ interface PrimitiveMeta {
2506
+ id: string;
2507
+ label: string;
2508
+ description: string;
2509
+ category: "primitive";
2510
+ tags: string[];
2511
+ props: {
2512
+ name: string;
2513
+ label: string;
2514
+ type: string;
2515
+ group: string;
2516
+ default?: any;
2517
+ options?: string[];
2518
+ description?: string;
2519
+ }[];
2520
+ slots?: {
2521
+ name: string;
2522
+ label: string;
2523
+ required: boolean;
2524
+ }[];
2525
+ }
2526
+ declare function getPrimitiveMeta(id: string): PrimitiveMeta | undefined;
2527
+ declare const primitiveRegistry: PrimitiveMeta[];
2528
+
2529
+ export { Accordion, type AdaptiveConfig, type AnyMeta, AuthFormBlock, AuthLayout, type AuthLayoutProps, Avatar, AvatarBlock, type AvatarProps, Badge, type BadgeProps, BannerBlock, type BentoCellConfig, BentoLayout, type BentoLayoutProps, type BlockCategory, type BlockMeta, BottomDrawerLayout, type BottomDrawerLayoutProps, Box, type BoxProps, type BreakpointInfo, Button, type ButtonProps, CalendarEventBlock, CameraComp, CardBlock, Center, type CenterProps, CenteredLayout, type CenteredLayoutProps, ChatBubbleBlock, Checkbox, type CheckboxProps, Chip, type ChipProps, CommentBlock, type ComponentCategory, type ComponentMeta, ContactCardBlock, CounterBlock, CrossTabLayout, type CrossTabLayoutProps, DashboardLayout, type DashboardLayoutProps, DatePicker, type DatePickerProps, _default as DeckLayout, type DefaultsOf, Divider, type DividerProps, EmptyStateBlock, FileItemBlock, FilePicker, type FilePickerProps, FlexLayout, type FlexLayoutProps, FlipLayout, type FlipLayoutProps, FooterLayout, type FooterLayoutProps, FormBlock, GradientComp, type GradientCompProps, GridLayout, type GridLayoutProps, HeaderBlock, HeaderContentLayout, type HeaderContentLayoutProps, IconButton, type IconButtonProps, IconComp, type IconCompProps, ImageComp, type ImageCompProps, Inline, type InlineProps, type LayoutBackground, type LayoutCategory, type LayoutConstants, type LayoutMeta, type LayoutPadding, LeftDrawerLayout, type LeftDrawerLayoutProps, ListItemBlock, MapPinBlock, MapViewComp, MasonryLayout, type MasonryLayoutProps, MediaPickerBlock, ModalBlock, NotificationItemBlock, OTPInputBlock, OnboardingSlideBlock, ParallaxLayout, type ParallaxLayoutProps, PasswordStrengthBlock, type PlatformInfo, PlatformOverrideProvider, type PlatformOverrideValue, PricingCardBlock, ProductCardBlock, ProgressBar, type PropDescriptor, type PropType, QuoteBlock, RadioGroup, type RadioGroupProps, RatingBlock, type ResolvedBackground, type ResolvedPadding, ResponsiveLayout, type ResponsiveLayoutProps, type ResponsiveValue, RootLayout, Scroll, ScrollLayout, type ScrollLayoutProps, type ScrollProps, SearchBarBlock, SegmentedControlBlock, Select, type SelectProps, SeparatorComp, type SeparatorCompProps, SidebarLayout, type SidebarLayoutProps, SketchLayout, Slider, type SliderProps, type SlotDescriptor, SocialLinksBlock, Spinner, type SpinnerProps, SplitLayout, type SplitLayoutProps, type SpringConfig, Stack, type StackProps, StatCardBlock, StepperBlock, Swipe2ScreenLayout, SwiperLayout, type SwiperLayoutProps, SwitchComponent as Switch, type SwitchProps, SystemUIWrapper, TagInputBlock, TextArea, type TextAreaProps, TextComp, type TextCompProps, TextInputComponent as TextInput, type TextInputProps, type ThemeColorRole, TimelineBlock, ToastBlock, type TopDrawerHandle, TopDrawerLayout, type TopDrawerLayoutProps, TransactionItemBlock, type TutoGesture, type TutoLabelPosition, TutoLayout, type TutoLayoutProps, type TutoStep, type TutoZone, type TutoZoneManual, type TutoZoneRef, type TutoZoneShape, type VariantDescriptor, VideoComp, VoidLayout, type VoidLayoutProps, WebViewComp, applyDefaults, applyVariant, blockRegistry, componentRegistry, extractDefaults, getBlockMeta, getBreakpoint, getComponentMeta, getConstants, getLayoutMeta, getPrimitiveMeta, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, layoutRegistry, platformSelect, primitiveRegistry, resolveBackground, resolveLayoutPadding, resolveThemeDefaults, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef };
@@ -2,8 +2,6 @@ import React from 'react';
2
2
  import { ViewProps, ViewStyle, ScrollViewProps, View } from 'react-native';
3
3
  import { C as ColorScheme, b as ThemeMode, a as CustomThemeMode } from '../index-D4qJw_Et.js';
4
4
  import { B as Breakpoint, a as SpacingToken, R as RadiusToken, S as ShadowToken, c as spacing } from '../spacing-CXUulLF9.js';
5
- import { f as LayoutPadding, L as LayoutBackground } from '../primitives-nj-4at-g.js';
6
- export { A as AnyMeta, B as BlockCategory, a as BlockMeta, C as ComponentCategory, b as ComponentMeta, D as DefaultsOf, c as LayoutCategory, d as LayoutConstants, e as LayoutMeta, P as PropDescriptor, g as PropType, S as SlotDescriptor, h as SpringConfig, T as ThemeColorRole, V as VariantDescriptor, i as applyDefaults, j as applyVariant, k as blockRegistry, l as componentRegistry, m as extractDefaults, n as getBlockMeta, o as getComponentMeta, p as getConstants, q as getLayoutMeta, r as getPrimitiveMeta, s as layoutRegistry, t as primitiveRegistry, u as resolveThemeDefaults } from '../primitives-nj-4at-g.js';
7
5
 
8
6
  declare const getBreakpoint: (innerWidth?: number) => Breakpoint;
9
7
  type ResponsiveValue<T> = T | Partial<Record<Breakpoint, T>>;
@@ -480,6 +478,124 @@ interface DeckLayoutProps {
480
478
  }
481
479
  declare const _default: React.NamedExoticComponent<DeckLayoutProps>;
482
480
 
481
+ interface LayoutPadding {
482
+ top?: SpacingToken;
483
+ bottom?: SpacingToken;
484
+ left?: SpacingToken;
485
+ right?: SpacingToken;
486
+ horizontal?: SpacingToken;
487
+ vertical?: SpacingToken;
488
+ }
489
+ type LayoutBackground = string | [string, string, ...string[]];
490
+ type ThemeColorRole = Exclude<{
491
+ [K in keyof ColorScheme]: ColorScheme[K] extends string ? K : never;
492
+ }[keyof ColorScheme], undefined>;
493
+ interface SlotDescriptor {
494
+ name: string;
495
+ label: string;
496
+ required: boolean;
497
+ /**
498
+ * kind — explicit slot mode, no heuristic needed.
499
+ *
500
+ * - "children" : standard React children (layout receives `children` prop)
501
+ * - "items" : primary array slot (layout receives `items={[...]}` or named prop)
502
+ * - "named" : single ReactNode passed as a named prop (e.g. `header={<Header />}`)
503
+ * - "named-array" : array of ReactNodes passed as a named prop (e.g. `backContent={[...]}`)
504
+ *
505
+ * Defaults to "children" when omitted for backward compatibility.
506
+ */
507
+ kind?: "children" | "items" | "named" | "named-array";
508
+ /** @deprecated use `kind: "items"` instead */
509
+ array?: boolean;
510
+ }
511
+ type PropType = "string" | "number" | "boolean" | "spacing" | "radius" | "shadow" | "color" | "background" | "padding" | "enum" | "ratio" | "json";
512
+ interface PropDescriptor<T = unknown> {
513
+ name: string;
514
+ label: string;
515
+ type: PropType;
516
+ default?: T;
517
+ themeDefault?: ThemeColorRole;
518
+ description?: string;
519
+ required?: boolean;
520
+ options?: readonly string[];
521
+ min?: number;
522
+ max?: number;
523
+ group?: "style" | "layout" | "behavior" | "content";
524
+ }
525
+ type LayoutCategory = "page" | "content" | "navigation" | "card" | "scroll" | "special";
526
+ type ComponentCategory = "input" | "action" | "display" | "feedback" | "overlay" | "media" | "navigation";
527
+ type BlockCategory = "auth" | "profile" | "navigation" | "content" | "data" | "feedback" | "form" | "overlay" | "social" | "ecommerce" | "finance" | "onboarding" | "messaging" | "calendar" | "files" | "location" | "media";
528
+ interface SpringConfig {
529
+ damping: number;
530
+ stiffness: number;
531
+ mass?: number;
532
+ overshootClamping?: boolean;
533
+ }
534
+ interface LayoutConstants {
535
+ springConfig?: SpringConfig;
536
+ springSnap?: SpringConfig;
537
+ springNoBounce?: SpringConfig;
538
+ swipeThreshold?: number;
539
+ flipThreshold?: number;
540
+ exitDistance?: number;
541
+ scaleFactor?: number;
542
+ flipScaleFactor?: number;
543
+ dezoomDuration?: number;
544
+ flipDuration?: number;
545
+ slideOutDuration?: number;
546
+ exitLeft?: number;
547
+ exitRight?: number;
548
+ }
549
+ interface VariantDescriptor {
550
+ name: string;
551
+ label: string;
552
+ description?: string;
553
+ overrides: Record<string, unknown>;
554
+ }
555
+ interface BaseMeta {
556
+ id: string;
557
+ label: string;
558
+ description: string;
559
+ props: PropDescriptor[];
560
+ themeMapping?: Record<string, ThemeColorRole>;
561
+ tags: string[];
562
+ }
563
+ interface LayoutMeta extends BaseMeta {
564
+ category: LayoutCategory;
565
+ slots: SlotDescriptor[];
566
+ constants?: LayoutConstants;
567
+ responsive: boolean;
568
+ animated: boolean;
569
+ dependencies?: string[];
570
+ /** Number of placeholder items to show in Studio when the slot is empty (default: 3) */
571
+ previewItemCount?: number;
572
+ /**
573
+ * Platforms this layout is available on.
574
+ * Omit to indicate support for all platforms.
575
+ * @example ["native", "web"]
576
+ */
577
+ platforms?: ("native" | "web")[];
578
+ }
579
+ interface ComponentMeta extends BaseMeta {
580
+ category: ComponentCategory;
581
+ variants: VariantDescriptor[];
582
+ sizes?: string[];
583
+ /**
584
+ * Platforms this component is available on.
585
+ * Omit to indicate support for all platforms.
586
+ */
587
+ platforms?: ("native" | "web")[];
588
+ }
589
+ interface BlockMeta extends BaseMeta {
590
+ category: BlockCategory;
591
+ slots: SlotDescriptor[];
592
+ components: string[];
593
+ }
594
+ type AnyMeta = LayoutMeta | ComponentMeta | BlockMeta;
595
+ type DefaultsOf<T extends Record<string, unknown>> = {
596
+ [K in keyof T]?: T[K];
597
+ };
598
+
483
599
  /**
484
600
  * FlexLayout
485
601
  *
@@ -2337,4 +2453,77 @@ interface ResolvedBackground {
2337
2453
  }
2338
2454
  declare function resolveBackground(background?: LayoutBackground): ResolvedBackground;
2339
2455
 
2340
- export { Accordion, type AdaptiveConfig, AuthFormBlock, AuthLayout, type AuthLayoutProps, Avatar, AvatarBlock, type AvatarProps, Badge, type BadgeProps, BannerBlock, type BentoCellConfig, BentoLayout, type BentoLayoutProps, BottomDrawerLayout, type BottomDrawerLayoutProps, Box, type BoxProps, type BreakpointInfo, Button, type ButtonProps, CalendarEventBlock, CameraComp, CardBlock, Center, type CenterProps, CenteredLayout, type CenteredLayoutProps, ChatBubbleBlock, Checkbox, type CheckboxProps, Chip, type ChipProps, CommentBlock, ContactCardBlock, CounterBlock, CrossTabLayout, type CrossTabLayoutProps, DashboardLayout, type DashboardLayoutProps, DatePicker, type DatePickerProps, _default as DeckLayout, Divider, type DividerProps, EmptyStateBlock, FileItemBlock, FilePicker, type FilePickerProps, FlexLayout, type FlexLayoutProps, FlipLayout, type FlipLayoutProps, FooterLayout, type FooterLayoutProps, FormBlock, GradientComp, type GradientCompProps, GridLayout, type GridLayoutProps, HeaderBlock, HeaderContentLayout, type HeaderContentLayoutProps, IconButton, type IconButtonProps, IconComp, type IconCompProps, ImageComp, type ImageCompProps, Inline, type InlineProps, LayoutBackground, LayoutPadding, LeftDrawerLayout, type LeftDrawerLayoutProps, ListItemBlock, MapPinBlock, MapViewComp, MasonryLayout, type MasonryLayoutProps, MediaPickerBlock, ModalBlock, NotificationItemBlock, OTPInputBlock, OnboardingSlideBlock, ParallaxLayout, type ParallaxLayoutProps, PasswordStrengthBlock, type PlatformInfo, PlatformOverrideProvider, type PlatformOverrideValue, PricingCardBlock, ProductCardBlock, ProgressBar, QuoteBlock, RadioGroup, type RadioGroupProps, RatingBlock, type ResolvedBackground, type ResolvedPadding, ResponsiveLayout, type ResponsiveLayoutProps, type ResponsiveValue, RootLayout, Scroll, ScrollLayout, type ScrollLayoutProps, type ScrollProps, SearchBarBlock, SegmentedControlBlock, Select, type SelectProps, SeparatorComp, type SeparatorCompProps, SidebarLayout, type SidebarLayoutProps, SketchLayout, Slider, type SliderProps, SocialLinksBlock, Spinner, type SpinnerProps, SplitLayout, type SplitLayoutProps, Stack, type StackProps, StatCardBlock, StepperBlock, Swipe2ScreenLayout, SwiperLayout, type SwiperLayoutProps, SwitchComponent as Switch, type SwitchProps, SystemUIWrapper, TagInputBlock, TextArea, type TextAreaProps, TextComp, type TextCompProps, TextInputComponent as TextInput, type TextInputProps, TimelineBlock, ToastBlock, type TopDrawerHandle, TopDrawerLayout, type TopDrawerLayoutProps, TransactionItemBlock, type TutoGesture, type TutoLabelPosition, TutoLayout, type TutoLayoutProps, type TutoStep, type TutoZone, type TutoZoneManual, type TutoZoneRef, type TutoZoneShape, VideoComp, VoidLayout, type VoidLayoutProps, WebViewComp, getBreakpoint, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, platformSelect, resolveBackground, resolveLayoutPadding, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef };
2456
+ /**
2457
+ * Helpers to extract and apply defaults and constants from any registry meta.
2458
+ * Works with LayoutMeta, ComponentMeta, and BlockMeta.
2459
+ */
2460
+
2461
+ declare function extractDefaults(meta: AnyMeta): Record<string, unknown>;
2462
+ declare function resolveThemeDefaults(meta: AnyMeta, theme: ColorScheme): Record<string, string>;
2463
+ declare function applyDefaults<T extends object>(props: T, meta: AnyMeta, theme?: ColorScheme): T;
2464
+ declare function applyVariant<T extends object>(props: T, variant: VariantDescriptor): T;
2465
+ declare function getConstants(meta: LayoutMeta): LayoutConstants;
2466
+
2467
+ /**
2468
+ * Layout Registry — Définitions complètes
2469
+ *
2470
+ * Chaque layout est décrit avec ses slots, props configurables,
2471
+ * valeurs par défaut, types, groupes et contraintes.
2472
+ */
2473
+
2474
+ declare function getLayoutMeta(id: string): LayoutMeta | undefined;
2475
+ declare const layoutRegistry: LayoutMeta[];
2476
+
2477
+ /**
2478
+ * Component Registry
2479
+ *
2480
+ * Base UI components: buttons, inputs, badges, avatars, etc.
2481
+ * Each component supports variants (e.g. primary/secondary/ghost for buttons)
2482
+ * and sizes. Theme-aware via themeDefault on color props.
2483
+ */
2484
+
2485
+ declare function getComponentMeta(id: string): ComponentMeta | undefined;
2486
+ declare const componentRegistry: ComponentMeta[];
2487
+
2488
+ /**
2489
+ * Block Registry
2490
+ *
2491
+ * Functional blocks that combine primitives and base components.
2492
+ * Each block is a higher-level UI pattern (auth form, header bar, avatar group, etc.)
2493
+ * with named slots and theme-aware styling.
2494
+ */
2495
+
2496
+ declare const blockRegistry: BlockMeta[];
2497
+ declare function getBlockMeta(id: string): BlockMeta | undefined;
2498
+
2499
+ /**
2500
+ * Primitives Registry
2501
+ *
2502
+ * Low-level layout primitives available in the studio.
2503
+ * These are the building blocks for all layouts and components.
2504
+ */
2505
+ interface PrimitiveMeta {
2506
+ id: string;
2507
+ label: string;
2508
+ description: string;
2509
+ category: "primitive";
2510
+ tags: string[];
2511
+ props: {
2512
+ name: string;
2513
+ label: string;
2514
+ type: string;
2515
+ group: string;
2516
+ default?: any;
2517
+ options?: string[];
2518
+ description?: string;
2519
+ }[];
2520
+ slots?: {
2521
+ name: string;
2522
+ label: string;
2523
+ required: boolean;
2524
+ }[];
2525
+ }
2526
+ declare function getPrimitiveMeta(id: string): PrimitiveMeta | undefined;
2527
+ declare const primitiveRegistry: PrimitiveMeta[];
2528
+
2529
+ export { Accordion, type AdaptiveConfig, type AnyMeta, AuthFormBlock, AuthLayout, type AuthLayoutProps, Avatar, AvatarBlock, type AvatarProps, Badge, type BadgeProps, BannerBlock, type BentoCellConfig, BentoLayout, type BentoLayoutProps, type BlockCategory, type BlockMeta, BottomDrawerLayout, type BottomDrawerLayoutProps, Box, type BoxProps, type BreakpointInfo, Button, type ButtonProps, CalendarEventBlock, CameraComp, CardBlock, Center, type CenterProps, CenteredLayout, type CenteredLayoutProps, ChatBubbleBlock, Checkbox, type CheckboxProps, Chip, type ChipProps, CommentBlock, type ComponentCategory, type ComponentMeta, ContactCardBlock, CounterBlock, CrossTabLayout, type CrossTabLayoutProps, DashboardLayout, type DashboardLayoutProps, DatePicker, type DatePickerProps, _default as DeckLayout, type DefaultsOf, Divider, type DividerProps, EmptyStateBlock, FileItemBlock, FilePicker, type FilePickerProps, FlexLayout, type FlexLayoutProps, FlipLayout, type FlipLayoutProps, FooterLayout, type FooterLayoutProps, FormBlock, GradientComp, type GradientCompProps, GridLayout, type GridLayoutProps, HeaderBlock, HeaderContentLayout, type HeaderContentLayoutProps, IconButton, type IconButtonProps, IconComp, type IconCompProps, ImageComp, type ImageCompProps, Inline, type InlineProps, type LayoutBackground, type LayoutCategory, type LayoutConstants, type LayoutMeta, type LayoutPadding, LeftDrawerLayout, type LeftDrawerLayoutProps, ListItemBlock, MapPinBlock, MapViewComp, MasonryLayout, type MasonryLayoutProps, MediaPickerBlock, ModalBlock, NotificationItemBlock, OTPInputBlock, OnboardingSlideBlock, ParallaxLayout, type ParallaxLayoutProps, PasswordStrengthBlock, type PlatformInfo, PlatformOverrideProvider, type PlatformOverrideValue, PricingCardBlock, ProductCardBlock, ProgressBar, type PropDescriptor, type PropType, QuoteBlock, RadioGroup, type RadioGroupProps, RatingBlock, type ResolvedBackground, type ResolvedPadding, ResponsiveLayout, type ResponsiveLayoutProps, type ResponsiveValue, RootLayout, Scroll, ScrollLayout, type ScrollLayoutProps, type ScrollProps, SearchBarBlock, SegmentedControlBlock, Select, type SelectProps, SeparatorComp, type SeparatorCompProps, SidebarLayout, type SidebarLayoutProps, SketchLayout, Slider, type SliderProps, type SlotDescriptor, SocialLinksBlock, Spinner, type SpinnerProps, SplitLayout, type SplitLayoutProps, type SpringConfig, Stack, type StackProps, StatCardBlock, StepperBlock, Swipe2ScreenLayout, SwiperLayout, type SwiperLayoutProps, SwitchComponent as Switch, type SwitchProps, SystemUIWrapper, TagInputBlock, TextArea, type TextAreaProps, TextComp, type TextCompProps, TextInputComponent as TextInput, type TextInputProps, type ThemeColorRole, TimelineBlock, ToastBlock, type TopDrawerHandle, TopDrawerLayout, type TopDrawerLayoutProps, TransactionItemBlock, type TutoGesture, type TutoLabelPosition, TutoLayout, type TutoLayoutProps, type TutoStep, type TutoZone, type TutoZoneManual, type TutoZoneRef, type TutoZoneShape, type VariantDescriptor, VideoComp, VoidLayout, type VoidLayoutProps, WebViewComp, applyDefaults, applyVariant, blockRegistry, componentRegistry, extractDefaults, getBlockMeta, getBreakpoint, getComponentMeta, getConstants, getLayoutMeta, getPrimitiveMeta, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, layoutRegistry, platformSelect, primitiveRegistry, resolveBackground, resolveLayoutPadding, resolveThemeDefaults, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef };