@ankhorage/zora 16.0.0 → 18.0.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 (748) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +15 -15
  3. package/dist/constants.d.ts +3 -2
  4. package/dist/constants.d.ts.map +1 -1
  5. package/dist/constants.js +3 -2
  6. package/dist/constants.js.map +1 -1
  7. package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
  8. package/dist/features/accordion/adapters/inbound/AccordionItem.js +19 -19
  9. package/dist/features/accordion/adapters/inbound/AccordionItem.js.map +1 -1
  10. package/dist/features/app-bar/adapters/inbound/AppBar.d.ts.map +1 -1
  11. package/dist/features/app-bar/adapters/inbound/AppBar.js +6 -7
  12. package/dist/features/app-bar/adapters/inbound/AppBar.js.map +1 -1
  13. package/dist/features/auth/adapters/inbound/AuthForm.js +3 -3
  14. package/dist/features/auth/adapters/inbound/AuthForm.js.map +1 -1
  15. package/dist/features/auth/adapters/inbound/AuthFormField.js +3 -3
  16. package/dist/features/auth/adapters/inbound/AuthFormField.js.map +1 -1
  17. package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js +3 -3
  18. package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js.map +1 -1
  19. package/dist/features/auth/adapters/inbound/OAuthProviderList.js +3 -3
  20. package/dist/features/auth/adapters/inbound/OAuthProviderList.js.map +1 -1
  21. package/dist/features/auth/adapters/inbound/OtpForm.js +3 -3
  22. package/dist/features/auth/adapters/inbound/OtpForm.js.map +1 -1
  23. package/dist/features/auth/adapters/inbound/SignInForm.js +3 -3
  24. package/dist/features/auth/adapters/inbound/SignInForm.js.map +1 -1
  25. package/dist/features/auth/adapters/inbound/SignUpForm.js +3 -3
  26. package/dist/features/auth/adapters/inbound/SignUpForm.js.map +1 -1
  27. package/dist/features/avatar/adapters/inbound/Avatar.js +3 -3
  28. package/dist/features/avatar/adapters/inbound/Avatar.js.map +1 -1
  29. package/dist/features/avatar/adapters/inbound/AvatarGroup.js +7 -7
  30. package/dist/features/avatar/adapters/inbound/AvatarGroup.js.map +1 -1
  31. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js +3 -3
  32. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -1
  33. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  34. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.d.ts.map +1 -1
  35. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js +5 -5
  36. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js.map +1 -1
  37. package/dist/features/button/adapters/inbound/ButtonGroup.js +3 -3
  38. package/dist/features/button/adapters/inbound/ButtonGroup.js.map +1 -1
  39. package/dist/features/card/adapters/inbound/Card.js +12 -12
  40. package/dist/features/card/adapters/inbound/Card.js.map +1 -1
  41. package/dist/features/card/adapters/inbound/MediaCard.js +21 -21
  42. package/dist/features/card/adapters/inbound/MediaCard.js.map +1 -1
  43. package/dist/features/card/adapters/inbound/MetricCard.d.ts.map +1 -1
  44. package/dist/features/card/adapters/inbound/MetricCard.js +10 -11
  45. package/dist/features/card/adapters/inbound/MetricCard.js.map +1 -1
  46. package/dist/features/card/adapters/inbound/PostCard.d.ts.map +1 -1
  47. package/dist/features/card/adapters/inbound/PostCard.js +37 -38
  48. package/dist/features/card/adapters/inbound/PostCard.js.map +1 -1
  49. package/dist/features/card/adapters/inbound/ProductCard.d.ts.map +1 -1
  50. package/dist/features/card/adapters/inbound/ProductCard.js +17 -18
  51. package/dist/features/card/adapters/inbound/ProductCard.js.map +1 -1
  52. package/dist/features/card/cardMeta.d.ts +1 -1
  53. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  54. package/dist/features/card/postCardMeta.d.ts +1 -1
  55. package/dist/features/chip/adapters/inbound/Chip.d.ts.map +1 -1
  56. package/dist/features/chip/adapters/inbound/Chip.js +5 -6
  57. package/dist/features/chip/adapters/inbound/Chip.js.map +1 -1
  58. package/dist/features/chip/adapters/inbound/ChipGroup.d.ts.map +1 -1
  59. package/dist/features/chip/adapters/inbound/ChipGroup.js +3 -3
  60. package/dist/features/chip/adapters/inbound/ChipGroup.js.map +1 -1
  61. package/dist/features/content-rail/adapters/inbound/ContentRail.d.ts.map +1 -0
  62. package/dist/features/{layout → content-rail}/adapters/inbound/ContentRail.js +9 -10
  63. package/dist/features/content-rail/adapters/inbound/ContentRail.js.map +1 -0
  64. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.d.ts.map +1 -0
  65. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js.map +1 -0
  66. package/dist/features/content-rail/constants.d.ts +2 -0
  67. package/dist/features/content-rail/constants.d.ts.map +1 -0
  68. package/dist/features/content-rail/constants.js +2 -0
  69. package/dist/features/content-rail/constants.js.map +1 -0
  70. package/dist/features/{layout → content-rail}/contentRailMeta.d.ts +2 -2
  71. package/dist/features/content-rail/contentRailMeta.d.ts.map +1 -0
  72. package/dist/features/content-rail/contentRailMeta.js.map +1 -0
  73. package/dist/features/content-rail/public.d.ts +3 -0
  74. package/dist/features/content-rail/public.d.ts.map +1 -0
  75. package/dist/features/content-rail/public.js +2 -0
  76. package/dist/features/content-rail/public.js.map +1 -0
  77. package/dist/features/content-rail/utils/resolveContentRailItemWidth.d.ts.map +1 -0
  78. package/dist/features/content-rail/utils/resolveContentRailItemWidth.js.map +1 -0
  79. package/dist/features/content-rail/utils/resolveContentRailPhysicalOffset.d.ts.map +1 -0
  80. package/dist/features/content-rail/utils/resolveContentRailPhysicalOffset.js.map +1 -0
  81. package/dist/features/content-rail/utils/resolveContentRailState.d.ts.map +1 -0
  82. package/dist/features/content-rail/utils/resolveContentRailState.js.map +1 -0
  83. package/dist/features/content-rail/utils/useContentRailReducedMotion.d.ts.map +1 -0
  84. package/dist/features/content-rail/utils/useContentRailReducedMotion.js.map +1 -0
  85. package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
  86. package/dist/features/data-table/adapters/inbound/DataTable.js +32 -32
  87. package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
  88. package/dist/features/date-picker/composition/DatePickerContent.js +16 -16
  89. package/dist/features/date-picker/composition/DatePickerContent.js.map +1 -1
  90. package/dist/features/date-picker/composition/DatePickerField.js +3 -3
  91. package/dist/features/date-picker/composition/DatePickerField.js.map +1 -1
  92. package/dist/features/dialog/adapters/inbound/Dialog.js +9 -9
  93. package/dist/features/dialog/adapters/inbound/Dialog.js.map +1 -1
  94. package/dist/features/dialog/dialogMeta.d.ts +2 -2
  95. package/dist/features/empty-state/adapters/inbound/EmptyState.js +5 -5
  96. package/dist/features/empty-state/adapters/inbound/EmptyState.js.map +1 -1
  97. package/dist/features/form/adapters/inbound/Form.js +3 -3
  98. package/dist/features/form/adapters/inbound/Form.js.map +1 -1
  99. package/dist/features/form/adapters/inbound/FormActions.js +4 -4
  100. package/dist/features/form/adapters/inbound/FormActions.js.map +1 -1
  101. package/dist/features/form/adapters/inbound/FormError.js +3 -3
  102. package/dist/features/form/adapters/inbound/FormError.js.map +1 -1
  103. package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.d.ts.map +1 -1
  104. package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js +5 -6
  105. package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js.map +1 -1
  106. package/dist/features/form/field/adapters/inbound/Field.d.ts +5 -0
  107. package/dist/features/form/field/adapters/inbound/Field.d.ts.map +1 -0
  108. package/dist/features/form/field/adapters/inbound/Field.js +20 -0
  109. package/dist/features/form/field/adapters/inbound/Field.js.map +1 -0
  110. package/dist/features/form/{formFieldMeta.d.ts → field/meta.d.ts} +4 -4
  111. package/dist/features/form/field/meta.d.ts.map +1 -0
  112. package/dist/features/form/{formFieldMeta.js → field/meta.js} +4 -4
  113. package/dist/features/form/field/meta.js.map +1 -0
  114. package/dist/features/form/field/public.d.ts +2 -0
  115. package/dist/features/form/field/public.d.ts.map +1 -0
  116. package/dist/features/form/field/public.js +2 -0
  117. package/dist/features/form/field/public.js.map +1 -0
  118. package/dist/features/form/formMeta.d.ts +1 -1
  119. package/dist/features/form/formMeta.js +1 -1
  120. package/dist/features/form/formMeta.js.map +1 -1
  121. package/dist/features/form/public.d.ts +2 -2
  122. package/dist/features/form/public.d.ts.map +1 -1
  123. package/dist/features/form/public.js +1 -1
  124. package/dist/features/form/public.js.map +1 -1
  125. package/dist/features/form/radio/adapters/inbound/RadioGroup.js +10 -10
  126. package/dist/features/form/radio/adapters/inbound/RadioGroup.js.map +1 -1
  127. package/dist/features/form/select/adapters/inbound/Select.web.js +3 -3
  128. package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
  129. package/dist/features/gradient/adapters/inbound/Gradient.js +5 -5
  130. package/dist/features/gradient/adapters/inbound/Gradient.js.map +1 -1
  131. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  132. package/dist/features/hero/adapters/inbound/Hero.js +12 -12
  133. package/dist/features/hero/adapters/inbound/Hero.js.map +1 -1
  134. package/dist/features/image/adapters/inbound/Image.js +3 -3
  135. package/dist/features/image/adapters/inbound/Image.js.map +1 -1
  136. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  137. package/dist/features/layout/adapters/inbound/AppShell.d.ts +5 -0
  138. package/dist/features/layout/adapters/inbound/AppShell.d.ts.map +1 -0
  139. package/dist/features/layout/adapters/inbound/AppShell.js +20 -0
  140. package/dist/features/layout/adapters/inbound/AppShell.js.map +1 -0
  141. package/dist/features/layout/adapters/inbound/Screen.d.ts +5 -0
  142. package/dist/features/layout/adapters/inbound/Screen.d.ts.map +1 -0
  143. package/dist/features/layout/adapters/inbound/Screen.js +22 -0
  144. package/dist/features/layout/adapters/inbound/Screen.js.map +1 -0
  145. package/dist/features/layout/adapters/inbound/ScreenSection.d.ts +5 -0
  146. package/dist/features/layout/adapters/inbound/ScreenSection.d.ts.map +1 -0
  147. package/dist/features/layout/adapters/inbound/ScreenSection.js +13 -0
  148. package/dist/features/layout/adapters/inbound/ScreenSection.js.map +1 -0
  149. package/dist/features/layout/adapters/inbound/ScrollView.d.ts +5 -0
  150. package/dist/features/layout/adapters/inbound/ScrollView.d.ts.map +1 -0
  151. package/dist/features/layout/adapters/inbound/ScrollView.js +10 -0
  152. package/dist/features/layout/adapters/inbound/ScrollView.js.map +1 -0
  153. package/dist/features/layout/adapters/inbound/View.d.ts +5 -0
  154. package/dist/features/layout/adapters/inbound/View.d.ts.map +1 -0
  155. package/dist/features/layout/adapters/inbound/View.js +10 -0
  156. package/dist/features/layout/adapters/inbound/View.js.map +1 -0
  157. package/dist/{layout/app-shell/meta.d.ts → features/layout/appShellMeta.d.ts} +1 -1
  158. package/dist/features/layout/appShellMeta.d.ts.map +1 -0
  159. package/dist/{layout/app-shell/meta.js → features/layout/appShellMeta.js} +1 -1
  160. package/dist/features/layout/appShellMeta.js.map +1 -0
  161. package/dist/features/layout/constants.d.ts +0 -1
  162. package/dist/features/layout/constants.d.ts.map +1 -1
  163. package/dist/features/layout/constants.js +0 -1
  164. package/dist/features/layout/constants.js.map +1 -1
  165. package/dist/features/layout/gridMeta.d.ts +1 -1
  166. package/dist/features/layout/public.d.ts +6 -6
  167. package/dist/features/layout/public.d.ts.map +1 -1
  168. package/dist/features/layout/public.js +5 -4
  169. package/dist/features/layout/public.js.map +1 -1
  170. package/dist/{layout/screen/meta.d.ts → features/layout/screenMeta.d.ts} +2 -2
  171. package/dist/features/layout/screenMeta.d.ts.map +1 -0
  172. package/dist/{layout/screen/meta.js → features/layout/screenMeta.js} +1 -1
  173. package/dist/features/layout/screenMeta.js.map +1 -0
  174. package/dist/{layout/screen-section/meta.d.ts → features/layout/screenSectionMeta.d.ts} +2 -2
  175. package/dist/features/layout/screenSectionMeta.d.ts.map +1 -0
  176. package/dist/{layout/screen-section/meta.js → features/layout/screenSectionMeta.js} +1 -1
  177. package/dist/features/layout/screenSectionMeta.js.map +1 -0
  178. package/dist/features/layout/{boxMeta.d.ts → scrollViewMeta.d.ts} +8 -15
  179. package/dist/features/layout/scrollViewMeta.d.ts.map +1 -0
  180. package/dist/features/layout/{boxMeta.js → scrollViewMeta.js} +4 -6
  181. package/dist/features/layout/scrollViewMeta.js.map +1 -0
  182. package/dist/features/layout/{stackMeta.d.ts → viewMeta.d.ts} +24 -4
  183. package/dist/features/layout/viewMeta.d.ts.map +1 -0
  184. package/dist/features/layout/{stackMeta.js → viewMeta.js} +8 -3
  185. package/dist/features/layout/viewMeta.js.map +1 -0
  186. package/dist/features/list/adapters/inbound/List.d.ts +5 -0
  187. package/dist/features/list/adapters/inbound/List.d.ts.map +1 -0
  188. package/dist/features/list/adapters/inbound/List.js +34 -0
  189. package/dist/features/list/adapters/inbound/List.js.map +1 -0
  190. package/dist/features/list/adapters/inbound/ListItem.d.ts +5 -0
  191. package/dist/features/list/adapters/inbound/ListItem.d.ts.map +1 -0
  192. package/dist/features/list/adapters/inbound/ListItem.js +43 -0
  193. package/dist/features/list/adapters/inbound/ListItem.js.map +1 -0
  194. package/dist/features/list/adapters/inbound/ListSection.d.ts +5 -0
  195. package/dist/features/list/adapters/inbound/ListSection.d.ts.map +1 -0
  196. package/dist/{patterns/list → features/list/adapters/inbound}/ListSection.js +6 -10
  197. package/dist/features/list/adapters/inbound/ListSection.js.map +1 -0
  198. package/dist/features/list/flatListMeta.d.ts +1 -1
  199. package/dist/{patterns → features}/list/meta.d.ts +6 -6
  200. package/dist/features/list/meta.d.ts.map +1 -0
  201. package/dist/{patterns → features}/list/meta.js +6 -14
  202. package/dist/features/list/meta.js.map +1 -0
  203. package/dist/features/list/public.d.ts +4 -0
  204. package/dist/features/list/public.d.ts.map +1 -1
  205. package/dist/features/list/public.js +3 -0
  206. package/dist/features/list/public.js.map +1 -1
  207. package/dist/features/list/sectionListMeta.d.ts +1 -1
  208. package/dist/features/list/utils/resolveListSeparator.d.ts +5 -0
  209. package/dist/features/list/utils/resolveListSeparator.d.ts.map +1 -0
  210. package/dist/{patterns/list → features/list/utils}/resolveListSeparator.js +1 -0
  211. package/dist/features/list/utils/resolveListSeparator.js.map +1 -0
  212. package/dist/features/missing-element/adapters/inbound/MissingElement.js +5 -5
  213. package/dist/features/missing-element/adapters/inbound/MissingElement.js.map +1 -1
  214. package/dist/features/pagination/adapters/inbound/Pagination.js +3 -3
  215. package/dist/features/pagination/adapters/inbound/Pagination.js.map +1 -1
  216. package/dist/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.d.ts +1 -1
  217. package/dist/features/palette-item/adapters/inbound/PaletteItem.d.ts.map +1 -0
  218. package/dist/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.js +10 -10
  219. package/dist/features/palette-item/adapters/inbound/PaletteItem.js.map +1 -0
  220. package/dist/features/palette-item/paletteItemMeta.d.ts +9 -0
  221. package/dist/features/palette-item/paletteItemMeta.d.ts.map +1 -0
  222. package/dist/features/palette-item/paletteItemMeta.js +9 -0
  223. package/dist/features/palette-item/paletteItemMeta.js.map +1 -0
  224. package/dist/features/palette-item/public.d.ts +3 -0
  225. package/dist/features/palette-item/public.d.ts.map +1 -0
  226. package/dist/features/palette-item/public.js +2 -0
  227. package/dist/features/palette-item/public.js.map +1 -0
  228. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js +2 -2
  229. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js.map +1 -1
  230. package/dist/features/progress/adapters/inbound/Progress.js +4 -4
  231. package/dist/features/progress/adapters/inbound/Progress.js.map +1 -1
  232. package/dist/features/progress/adapters/inbound/ProgressRing.js +10 -10
  233. package/dist/features/progress/adapters/inbound/ProgressRing.js.map +1 -1
  234. package/dist/features/rating/adapters/inbound/Rating.d.ts.map +1 -1
  235. package/dist/features/rating/adapters/inbound/Rating.js +3 -3
  236. package/dist/features/rating/adapters/inbound/Rating.js.map +1 -1
  237. package/dist/features/skeleton/adapters/inbound/Skeleton.js +2 -2
  238. package/dist/features/skeleton/adapters/inbound/Skeleton.js.map +1 -1
  239. package/dist/features/skeleton/adapters/inbound/SkeletonCard.js +5 -5
  240. package/dist/features/skeleton/adapters/inbound/SkeletonCard.js.map +1 -1
  241. package/dist/features/skeleton/adapters/inbound/SkeletonList.d.ts.map +1 -1
  242. package/dist/features/skeleton/adapters/inbound/SkeletonList.js +2 -2
  243. package/dist/features/skeleton/adapters/inbound/SkeletonList.js.map +1 -1
  244. package/dist/features/skeleton/adapters/inbound/SkeletonText.js +3 -3
  245. package/dist/features/skeleton/adapters/inbound/SkeletonText.js.map +1 -1
  246. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  247. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  248. package/dist/features/time-picker/composition/TimePickerContent.js +7 -7
  249. package/dist/features/time-picker/composition/TimePickerContent.js.map +1 -1
  250. package/dist/features/time-picker/composition/TimePickerField.js +3 -3
  251. package/dist/features/time-picker/composition/TimePickerField.js.map +1 -1
  252. package/dist/features/toolbar/adapters/inbound/Toolbar.js +3 -3
  253. package/dist/features/toolbar/adapters/inbound/Toolbar.js.map +1 -1
  254. package/dist/features/uploader/adapters/inbound/Uploader.js +22 -22
  255. package/dist/features/uploader/adapters/inbound/Uploader.js.map +1 -1
  256. package/dist/index.d.ts +10 -26
  257. package/dist/index.d.ts.map +1 -1
  258. package/dist/index.js +5 -13
  259. package/dist/index.js.map +1 -1
  260. package/dist/metadata/allowedChildren.d.ts +4 -4
  261. package/dist/metadata/allowedChildren.d.ts.map +1 -1
  262. package/dist/metadata/allowedChildren.js +4 -6
  263. package/dist/metadata/allowedChildren.js.map +1 -1
  264. package/dist/metadata/bindableComponentMeta.d.ts +3 -3
  265. package/dist/metadata/bindableComponentMeta.js +1 -1
  266. package/dist/metadata/bindableComponentMeta.js.map +1 -1
  267. package/dist/metadata/componentMeta.d.ts.map +1 -1
  268. package/dist/metadata/componentMeta.js +13 -26
  269. package/dist/metadata/componentMeta.js.map +1 -1
  270. package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +1 -1
  271. package/dist/patterns/chat-list-item/ChatListItem.js +22 -23
  272. package/dist/patterns/chat-list-item/ChatListItem.js.map +1 -1
  273. package/dist/patterns/collection-editor/CollectionEditor.js +12 -12
  274. package/dist/patterns/collection-editor/CollectionEditor.js.map +1 -1
  275. package/dist/patterns/confirm-dialog/ConfirmDialog.js +3 -3
  276. package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +1 -1
  277. package/dist/patterns/filter-bar/FilterBar.d.ts.map +1 -1
  278. package/dist/patterns/filter-bar/FilterBar.js +6 -7
  279. package/dist/patterns/filter-bar/FilterBar.js.map +1 -1
  280. package/dist/patterns/inspector-field/InspectorField.js +8 -8
  281. package/dist/patterns/inspector-field/InspectorField.js.map +1 -1
  282. package/dist/patterns/message-bubble/MessageBubble.d.ts.map +1 -1
  283. package/dist/patterns/message-bubble/MessageBubble.js +21 -20
  284. package/dist/patterns/message-bubble/MessageBubble.js.map +1 -1
  285. package/dist/patterns/message-bubble/meta.d.ts +1 -1
  286. package/dist/patterns/notice/Notice.js +5 -5
  287. package/dist/patterns/notice/Notice.js.map +1 -1
  288. package/dist/patterns/notice/meta.d.ts +1 -1
  289. package/dist/patterns/panel/meta.d.ts +1 -1
  290. package/dist/patterns/reader/ReaderSurface.d.ts.map +1 -1
  291. package/dist/patterns/reader/ReaderSurface.js +18 -19
  292. package/dist/patterns/reader/ReaderSurface.js.map +1 -1
  293. package/dist/patterns/reader/meta.d.ts +2 -2
  294. package/dist/patterns/scanner/BarcodeScannerView.js +7 -7
  295. package/dist/patterns/scanner/BarcodeScannerView.js.map +1 -1
  296. package/dist/patterns/scanner/CameraPermissionView.js +5 -5
  297. package/dist/patterns/scanner/CameraPermissionView.js.map +1 -1
  298. package/dist/patterns/scanner/ScanOverlay.js +8 -8
  299. package/dist/patterns/scanner/ScanOverlay.js.map +1 -1
  300. package/dist/patterns/scanner/meta.d.ts +2 -2
  301. package/dist/patterns/section-header/SectionHeader.js +8 -8
  302. package/dist/patterns/section-header/SectionHeader.js.map +1 -1
  303. package/dist/patterns/switch-field/SwitchField.d.ts +1 -2
  304. package/dist/patterns/switch-field/SwitchField.d.ts.map +1 -1
  305. package/dist/patterns/switch-field/SwitchField.js +3 -4
  306. package/dist/patterns/switch-field/SwitchField.js.map +1 -1
  307. package/dist/patterns/theme-composer/ThemeComposer.js +30 -30
  308. package/dist/patterns/theme-composer/ThemeComposer.js.map +1 -1
  309. package/dist/patterns/timeline/Timeline.d.ts.map +1 -1
  310. package/dist/patterns/timeline/Timeline.js +14 -15
  311. package/dist/patterns/timeline/Timeline.js.map +1 -1
  312. package/dist/patterns/tree-view/TreeItem.d.ts.map +1 -1
  313. package/dist/patterns/tree-view/TreeItem.js +9 -9
  314. package/dist/patterns/tree-view/TreeItem.js.map +1 -1
  315. package/dist/patterns/tree-view/TreeView.js +3 -3
  316. package/dist/patterns/tree-view/TreeView.js.map +1 -1
  317. package/dist/registry.d.ts.map +1 -1
  318. package/dist/registry.js +9 -27
  319. package/dist/registry.js.map +1 -1
  320. package/dist/types/button-group.d.ts +2 -2
  321. package/dist/types/button-group.d.ts.map +1 -1
  322. package/dist/types/button-group.js.map +1 -1
  323. package/dist/types/form.d.ts +1 -1
  324. package/dist/types/form.d.ts.map +1 -1
  325. package/dist/types/form.js.map +1 -1
  326. package/dist/types/gradient.d.ts +6 -6
  327. package/dist/types/gradient.d.ts.map +1 -1
  328. package/dist/types/gradient.js.map +1 -1
  329. package/dist/types/layout.d.ts +22 -4
  330. package/dist/types/layout.d.ts.map +1 -1
  331. package/dist/types/layout.js.map +1 -1
  332. package/dist/{patterns/list/types.d.ts → types/list.d.ts} +14 -18
  333. package/dist/types/list.d.ts.map +1 -0
  334. package/dist/types/list.js +2 -0
  335. package/dist/types/list.js.map +1 -0
  336. package/dist/types/palette-item.d.ts +13 -0
  337. package/dist/types/palette-item.d.ts.map +1 -0
  338. package/dist/types/palette-item.js +2 -0
  339. package/dist/types/palette-item.js.map +1 -0
  340. package/dist/types/skeleton.d.ts +5 -5
  341. package/dist/types/skeleton.d.ts.map +1 -1
  342. package/dist/types/skeleton.js.map +1 -1
  343. package/package.json +2 -2
  344. package/src/audit.test.ts +7 -11
  345. package/src/constants.ts +3 -2
  346. package/src/expo57Migration.test.ts +4 -3
  347. package/src/features/accordion/adapters/inbound/AccordionItem.tsx +19 -19
  348. package/src/features/app-bar/adapters/inbound/AppBar.tsx +6 -7
  349. package/src/features/auth/adapters/inbound/AuthForm.tsx +3 -3
  350. package/src/features/auth/adapters/inbound/AuthFormField.tsx +3 -3
  351. package/src/features/auth/adapters/inbound/ForgotPasswordForm.tsx +3 -3
  352. package/src/features/auth/adapters/inbound/OAuthProviderList.tsx +3 -3
  353. package/src/features/auth/adapters/inbound/OtpForm.tsx +3 -3
  354. package/src/features/auth/adapters/inbound/SignInForm.tsx +3 -3
  355. package/src/features/auth/adapters/inbound/SignUpForm.tsx +3 -3
  356. package/src/features/avatar/adapters/inbound/Avatar.tsx +3 -3
  357. package/src/features/avatar/adapters/inbound/AvatarGroup.tsx +7 -7
  358. package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +3 -3
  359. package/src/features/bottom-sheet/public.test.ts +1 -1
  360. package/src/features/breadcrumbs/adapters/inbound/Breadcrumbs.tsx +5 -5
  361. package/src/features/button/adapters/inbound/ButtonGroup.tsx +3 -3
  362. package/src/features/card/adapters/inbound/Card.tsx +12 -12
  363. package/src/features/card/adapters/inbound/MediaCard.tsx +21 -21
  364. package/src/features/card/adapters/inbound/MetricCard.tsx +10 -11
  365. package/src/features/card/adapters/inbound/PostCard.tsx +37 -38
  366. package/src/features/card/adapters/inbound/ProductCard.tsx +17 -18
  367. package/src/features/chip/adapters/inbound/Chip.tsx +5 -6
  368. package/src/features/chip/adapters/inbound/ChipGroup.tsx +3 -3
  369. package/src/features/{layout → content-rail}/adapters/inbound/ContentRail.test.ts +3 -1
  370. package/src/features/{layout → content-rail}/adapters/inbound/ContentRail.tsx +9 -10
  371. package/src/features/content-rail/constants.ts +1 -0
  372. package/src/features/content-rail/public.ts +10 -0
  373. package/src/features/data-table/adapters/inbound/DataTable.tsx +32 -32
  374. package/src/features/date-picker/composition/DatePickerContent.tsx +16 -16
  375. package/src/features/date-picker/composition/DatePickerField.tsx +3 -3
  376. package/src/features/dialog/adapters/inbound/Dialog.tsx +9 -9
  377. package/src/features/empty-state/adapters/inbound/EmptyState.tsx +5 -5
  378. package/src/features/form/adapters/inbound/Form.tsx +3 -3
  379. package/src/features/form/adapters/inbound/FormActions.tsx +4 -4
  380. package/src/features/form/adapters/inbound/FormError.tsx +3 -3
  381. package/src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx +5 -6
  382. package/src/features/form/{adapters/inbound/FormField.tsx → field/adapters/inbound/Field.tsx} +12 -12
  383. package/src/features/form/{formFieldMeta.ts → field/meta.ts} +5 -4
  384. package/src/features/form/field/public.ts +1 -0
  385. package/src/features/form/formMeta.ts +1 -1
  386. package/src/features/form/public.ts +2 -2
  387. package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +10 -10
  388. package/src/features/form/select/adapters/inbound/Select.web.tsx +3 -3
  389. package/src/features/gradient/adapters/inbound/Gradient.tsx +5 -5
  390. package/src/features/hero/adapters/inbound/Hero.tsx +12 -12
  391. package/src/features/icon/utils/meta.test.ts +2 -3
  392. package/src/features/image/adapters/inbound/Image.tsx +3 -3
  393. package/src/features/layout/adapters/inbound/AppShell.test.ts +24 -0
  394. package/src/features/layout/adapters/inbound/AppShell.tsx +44 -0
  395. package/src/features/layout/adapters/inbound/Screen.tsx +50 -0
  396. package/src/{layout/screen-section → features/layout/adapters/inbound}/ScreenSection.tsx +7 -11
  397. package/src/features/layout/adapters/inbound/ScrollView.tsx +18 -0
  398. package/src/features/layout/adapters/inbound/View.tsx +18 -0
  399. package/src/features/layout/constants.ts +0 -2
  400. package/src/features/layout/public.test.ts +55 -0
  401. package/src/features/layout/public.ts +10 -16
  402. package/src/features/layout/{containerMeta.ts → scrollViewMeta.ts} +6 -3
  403. package/src/features/layout/{stackMeta.ts → viewMeta.ts} +7 -2
  404. package/src/features/list/adapters/inbound/List.tsx +77 -0
  405. package/src/features/list/adapters/inbound/ListItem.tsx +89 -0
  406. package/src/{patterns/list → features/list/adapters/inbound}/ListSection.tsx +7 -12
  407. package/src/{patterns → features}/list/meta.ts +7 -14
  408. package/src/features/list/public.ts +11 -0
  409. package/src/features/list/utils/resolveListSeparator.ts +9 -0
  410. package/src/features/missing-element/adapters/inbound/MissingElement.tsx +5 -5
  411. package/src/features/pagination/adapters/inbound/Pagination.tsx +3 -3
  412. package/src/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.tsx +11 -11
  413. package/src/{layout/sidebar-layout/meta.ts → features/palette-item/paletteItemMeta.ts} +4 -4
  414. package/src/features/palette-item/public.ts +2 -0
  415. package/src/features/popover-menu/adapters/inbound/PopoverMenu.tsx +2 -2
  416. package/src/features/progress/adapters/inbound/Progress.tsx +4 -4
  417. package/src/features/progress/adapters/inbound/ProgressRing.tsx +10 -10
  418. package/src/features/rating/adapters/inbound/Rating.tsx +3 -3
  419. package/src/features/skeleton/adapters/inbound/Skeleton.tsx +2 -2
  420. package/src/features/skeleton/adapters/inbound/SkeletonCard.tsx +5 -5
  421. package/src/features/skeleton/adapters/inbound/SkeletonList.tsx +3 -3
  422. package/src/features/skeleton/adapters/inbound/SkeletonText.tsx +3 -3
  423. package/src/features/time-picker/composition/TimePickerContent.tsx +7 -7
  424. package/src/features/time-picker/composition/TimePickerField.tsx +3 -3
  425. package/src/features/toolbar/adapters/inbound/Toolbar.tsx +3 -3
  426. package/src/features/uploader/adapters/inbound/Uploader.tsx +22 -22
  427. package/src/index.ts +36 -41
  428. package/src/interactionPolicy.test.ts +1 -1
  429. package/src/metadata/allowedChildren.ts +4 -6
  430. package/src/metadata/bindableComponentMeta.ts +1 -1
  431. package/src/metadata/componentMeta.test.ts +9 -11
  432. package/src/metadata/componentMeta.ts +13 -26
  433. package/src/metadata/radioGroupReachability.test.ts +2 -2
  434. package/src/patterns/chat-list-item/ChatListItem.tsx +22 -23
  435. package/src/patterns/collection-editor/CollectionEditor.tsx +13 -13
  436. package/src/patterns/confirm-dialog/ConfirmDialog.tsx +3 -3
  437. package/src/patterns/filter-bar/FilterBar.tsx +6 -7
  438. package/src/patterns/inspector-field/InspectorField.tsx +8 -8
  439. package/src/patterns/message-bubble/MessageBubble.tsx +23 -20
  440. package/src/patterns/notice/Notice.tsx +5 -5
  441. package/src/patterns/reader/ReaderSurface.tsx +18 -19
  442. package/src/patterns/scanner/BarcodeScannerView.tsx +7 -7
  443. package/src/patterns/scanner/CameraPermissionView.tsx +5 -5
  444. package/src/patterns/scanner/ScanOverlay.tsx +8 -8
  445. package/src/patterns/section-header/SectionHeader.tsx +8 -8
  446. package/src/patterns/switch-field/SwitchField.tsx +9 -9
  447. package/src/patterns/theme-composer/ThemeComposer.tsx +30 -30
  448. package/src/patterns/timeline/Timeline.tsx +21 -15
  449. package/src/patterns/tree-view/TreeItem.tsx +12 -11
  450. package/src/patterns/tree-view/TreeView.tsx +3 -3
  451. package/src/platformAcceptance.test.ts +1 -1
  452. package/src/registry.test.ts +1 -1
  453. package/src/registry.ts +17 -27
  454. package/src/showcaseCoverage.test.ts +4 -24
  455. package/src/theme/themeScopeStructure.test.ts +15 -36
  456. package/src/types/button-group.ts +2 -2
  457. package/src/types/form.ts +1 -1
  458. package/src/types/gradient.ts +6 -6
  459. package/src/types/layout.ts +28 -7
  460. package/src/{patterns/list/types.ts → types/list.ts} +17 -18
  461. package/src/types/palette-item.ts +14 -0
  462. package/src/types/skeleton.ts +5 -5
  463. package/dist/features/form/adapters/inbound/FormField.d.ts +0 -5
  464. package/dist/features/form/adapters/inbound/FormField.d.ts.map +0 -1
  465. package/dist/features/form/adapters/inbound/FormField.js +0 -20
  466. package/dist/features/form/adapters/inbound/FormField.js.map +0 -1
  467. package/dist/features/form/formFieldMeta.d.ts.map +0 -1
  468. package/dist/features/form/formFieldMeta.js.map +0 -1
  469. package/dist/features/layout/adapters/inbound/Box.d.ts +0 -5
  470. package/dist/features/layout/adapters/inbound/Box.d.ts.map +0 -1
  471. package/dist/features/layout/adapters/inbound/Box.js +0 -10
  472. package/dist/features/layout/adapters/inbound/Box.js.map +0 -1
  473. package/dist/features/layout/adapters/inbound/Container.d.ts +0 -5
  474. package/dist/features/layout/adapters/inbound/Container.d.ts.map +0 -1
  475. package/dist/features/layout/adapters/inbound/Container.js +0 -10
  476. package/dist/features/layout/adapters/inbound/Container.js.map +0 -1
  477. package/dist/features/layout/adapters/inbound/ContentRail.d.ts.map +0 -1
  478. package/dist/features/layout/adapters/inbound/ContentRail.js.map +0 -1
  479. package/dist/features/layout/adapters/inbound/ContentRailFlow.d.ts.map +0 -1
  480. package/dist/features/layout/adapters/inbound/ContentRailFlow.js.map +0 -1
  481. package/dist/features/layout/adapters/inbound/Stack.d.ts +0 -5
  482. package/dist/features/layout/adapters/inbound/Stack.d.ts.map +0 -1
  483. package/dist/features/layout/adapters/inbound/Stack.js +0 -10
  484. package/dist/features/layout/adapters/inbound/Stack.js.map +0 -1
  485. package/dist/features/layout/boxMeta.d.ts.map +0 -1
  486. package/dist/features/layout/boxMeta.js.map +0 -1
  487. package/dist/features/layout/containerMeta.d.ts +0 -55
  488. package/dist/features/layout/containerMeta.d.ts.map +0 -1
  489. package/dist/features/layout/containerMeta.js +0 -10
  490. package/dist/features/layout/containerMeta.js.map +0 -1
  491. package/dist/features/layout/contentRailMeta.d.ts.map +0 -1
  492. package/dist/features/layout/contentRailMeta.js.map +0 -1
  493. package/dist/features/layout/stackMeta.d.ts.map +0 -1
  494. package/dist/features/layout/stackMeta.js.map +0 -1
  495. package/dist/features/layout/utils/resolveContentRailItemWidth.d.ts.map +0 -1
  496. package/dist/features/layout/utils/resolveContentRailItemWidth.js.map +0 -1
  497. package/dist/features/layout/utils/resolveContentRailPhysicalOffset.d.ts.map +0 -1
  498. package/dist/features/layout/utils/resolveContentRailPhysicalOffset.js.map +0 -1
  499. package/dist/features/layout/utils/resolveContentRailState.d.ts.map +0 -1
  500. package/dist/features/layout/utils/resolveContentRailState.js.map +0 -1
  501. package/dist/features/layout/utils/useContentRailReducedMotion.d.ts.map +0 -1
  502. package/dist/features/layout/utils/useContentRailReducedMotion.js.map +0 -1
  503. package/dist/foundation/Center.d.ts +0 -12
  504. package/dist/foundation/Center.d.ts.map +0 -1
  505. package/dist/foundation/Center.js +0 -13
  506. package/dist/foundation/Center.js.map +0 -1
  507. package/dist/foundation/Inline.d.ts +0 -12
  508. package/dist/foundation/Inline.d.ts.map +0 -1
  509. package/dist/foundation/Inline.js +0 -13
  510. package/dist/foundation/Inline.js.map +0 -1
  511. package/dist/foundation/Show.d.ts +0 -12
  512. package/dist/foundation/Show.d.ts.map +0 -1
  513. package/dist/foundation/Show.js +0 -13
  514. package/dist/foundation/Show.js.map +0 -1
  515. package/dist/foundation/Spacer.d.ts +0 -12
  516. package/dist/foundation/Spacer.d.ts.map +0 -1
  517. package/dist/foundation/Spacer.js +0 -13
  518. package/dist/foundation/Spacer.js.map +0 -1
  519. package/dist/foundation/index.d.ts +0 -9
  520. package/dist/foundation/index.d.ts.map +0 -1
  521. package/dist/foundation/index.js +0 -5
  522. package/dist/foundation/index.js.map +0 -1
  523. package/dist/foundation/meta.d.ts +0 -35
  524. package/dist/foundation/meta.d.ts.map +0 -1
  525. package/dist/foundation/meta.js +0 -35
  526. package/dist/foundation/meta.js.map +0 -1
  527. package/dist/layout/app-shell/AppShell.d.ts +0 -16
  528. package/dist/layout/app-shell/AppShell.d.ts.map +0 -1
  529. package/dist/layout/app-shell/AppShell.js +0 -50
  530. package/dist/layout/app-shell/AppShell.js.map +0 -1
  531. package/dist/layout/app-shell/index.d.ts +0 -3
  532. package/dist/layout/app-shell/index.d.ts.map +0 -1
  533. package/dist/layout/app-shell/index.js +0 -2
  534. package/dist/layout/app-shell/index.js.map +0 -1
  535. package/dist/layout/app-shell/meta.d.ts.map +0 -1
  536. package/dist/layout/app-shell/meta.js.map +0 -1
  537. package/dist/layout/app-shell/types.d.ts +0 -9
  538. package/dist/layout/app-shell/types.d.ts.map +0 -1
  539. package/dist/layout/app-shell/types.js +0 -2
  540. package/dist/layout/app-shell/types.js.map +0 -1
  541. package/dist/layout/screen/Screen.d.ts +0 -11
  542. package/dist/layout/screen/Screen.d.ts.map +0 -1
  543. package/dist/layout/screen/Screen.js +0 -30
  544. package/dist/layout/screen/Screen.js.map +0 -1
  545. package/dist/layout/screen/index.d.ts +0 -3
  546. package/dist/layout/screen/index.d.ts.map +0 -1
  547. package/dist/layout/screen/index.js +0 -2
  548. package/dist/layout/screen/index.js.map +0 -1
  549. package/dist/layout/screen/meta.d.ts.map +0 -1
  550. package/dist/layout/screen/meta.js.map +0 -1
  551. package/dist/layout/screen/types.d.ts +0 -10
  552. package/dist/layout/screen/types.d.ts.map +0 -1
  553. package/dist/layout/screen/types.js +0 -2
  554. package/dist/layout/screen/types.js.map +0 -1
  555. package/dist/layout/screen-section/ScreenSection.d.ts +0 -9
  556. package/dist/layout/screen-section/ScreenSection.d.ts.map +0 -1
  557. package/dist/layout/screen-section/ScreenSection.js +0 -17
  558. package/dist/layout/screen-section/ScreenSection.js.map +0 -1
  559. package/dist/layout/screen-section/index.d.ts +0 -3
  560. package/dist/layout/screen-section/index.d.ts.map +0 -1
  561. package/dist/layout/screen-section/index.js +0 -2
  562. package/dist/layout/screen-section/index.js.map +0 -1
  563. package/dist/layout/screen-section/meta.d.ts.map +0 -1
  564. package/dist/layout/screen-section/meta.js.map +0 -1
  565. package/dist/layout/screen-section/types.d.ts +0 -9
  566. package/dist/layout/screen-section/types.d.ts.map +0 -1
  567. package/dist/layout/screen-section/types.js +0 -2
  568. package/dist/layout/screen-section/types.js.map +0 -1
  569. package/dist/layout/settings-layout/SettingsLayout.d.ts +0 -7
  570. package/dist/layout/settings-layout/SettingsLayout.d.ts.map +0 -1
  571. package/dist/layout/settings-layout/SettingsLayout.js +0 -18
  572. package/dist/layout/settings-layout/SettingsLayout.js.map +0 -1
  573. package/dist/layout/settings-layout/index.d.ts +0 -3
  574. package/dist/layout/settings-layout/index.d.ts.map +0 -1
  575. package/dist/layout/settings-layout/index.js +0 -2
  576. package/dist/layout/settings-layout/index.js.map +0 -1
  577. package/dist/layout/settings-layout/meta.d.ts +0 -9
  578. package/dist/layout/settings-layout/meta.d.ts.map +0 -1
  579. package/dist/layout/settings-layout/meta.js +0 -9
  580. package/dist/layout/settings-layout/meta.js.map +0 -1
  581. package/dist/layout/settings-layout/types.d.ts +0 -10
  582. package/dist/layout/settings-layout/types.d.ts.map +0 -1
  583. package/dist/layout/settings-layout/types.js +0 -2
  584. package/dist/layout/settings-layout/types.js.map +0 -1
  585. package/dist/layout/sidebar-layout/SidebarLayout.d.ts +0 -11
  586. package/dist/layout/sidebar-layout/SidebarLayout.d.ts.map +0 -1
  587. package/dist/layout/sidebar-layout/SidebarLayout.js +0 -27
  588. package/dist/layout/sidebar-layout/SidebarLayout.js.map +0 -1
  589. package/dist/layout/sidebar-layout/index.d.ts +0 -3
  590. package/dist/layout/sidebar-layout/index.d.ts.map +0 -1
  591. package/dist/layout/sidebar-layout/index.js +0 -2
  592. package/dist/layout/sidebar-layout/index.js.map +0 -1
  593. package/dist/layout/sidebar-layout/meta.d.ts +0 -9
  594. package/dist/layout/sidebar-layout/meta.d.ts.map +0 -1
  595. package/dist/layout/sidebar-layout/meta.js +0 -9
  596. package/dist/layout/sidebar-layout/meta.js.map +0 -1
  597. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.d.ts +0 -14
  598. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.d.ts.map +0 -1
  599. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.js +0 -16
  600. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.js.map +0 -1
  601. package/dist/layout/sidebar-layout/types.d.ts +0 -12
  602. package/dist/layout/sidebar-layout/types.d.ts.map +0 -1
  603. package/dist/layout/sidebar-layout/types.js +0 -2
  604. package/dist/layout/sidebar-layout/types.js.map +0 -1
  605. package/dist/layout/topbar-layout/TopbarLayout.d.ts +0 -9
  606. package/dist/layout/topbar-layout/TopbarLayout.d.ts.map +0 -1
  607. package/dist/layout/topbar-layout/TopbarLayout.js +0 -17
  608. package/dist/layout/topbar-layout/TopbarLayout.js.map +0 -1
  609. package/dist/layout/topbar-layout/index.d.ts +0 -3
  610. package/dist/layout/topbar-layout/index.d.ts.map +0 -1
  611. package/dist/layout/topbar-layout/index.js +0 -2
  612. package/dist/layout/topbar-layout/index.js.map +0 -1
  613. package/dist/layout/topbar-layout/meta.d.ts +0 -9
  614. package/dist/layout/topbar-layout/meta.d.ts.map +0 -1
  615. package/dist/layout/topbar-layout/meta.js +0 -9
  616. package/dist/layout/topbar-layout/meta.js.map +0 -1
  617. package/dist/layout/topbar-layout/types.d.ts +0 -8
  618. package/dist/layout/topbar-layout/types.d.ts.map +0 -1
  619. package/dist/layout/topbar-layout/types.js +0 -2
  620. package/dist/layout/topbar-layout/types.js.map +0 -1
  621. package/dist/patterns/list/List.d.ts +0 -9
  622. package/dist/patterns/list/List.d.ts.map +0 -1
  623. package/dist/patterns/list/List.js +0 -41
  624. package/dist/patterns/list/List.js.map +0 -1
  625. package/dist/patterns/list/ListRow.d.ts +0 -9
  626. package/dist/patterns/list/ListRow.d.ts.map +0 -1
  627. package/dist/patterns/list/ListRow.js +0 -114
  628. package/dist/patterns/list/ListRow.js.map +0 -1
  629. package/dist/patterns/list/ListSection.d.ts +0 -9
  630. package/dist/patterns/list/ListSection.d.ts.map +0 -1
  631. package/dist/patterns/list/ListSection.js.map +0 -1
  632. package/dist/patterns/list/index.d.ts +0 -5
  633. package/dist/patterns/list/index.d.ts.map +0 -1
  634. package/dist/patterns/list/index.js +0 -4
  635. package/dist/patterns/list/index.js.map +0 -1
  636. package/dist/patterns/list/meta.d.ts.map +0 -1
  637. package/dist/patterns/list/meta.js.map +0 -1
  638. package/dist/patterns/list/resolveListSeparator.d.ts +0 -5
  639. package/dist/patterns/list/resolveListSeparator.d.ts.map +0 -1
  640. package/dist/patterns/list/resolveListSeparator.js.map +0 -1
  641. package/dist/patterns/list/types.d.ts.map +0 -1
  642. package/dist/patterns/list/types.js +0 -2
  643. package/dist/patterns/list/types.js.map +0 -1
  644. package/dist/patterns/settings-row/SettingsRow.d.ts +0 -9
  645. package/dist/patterns/settings-row/SettingsRow.d.ts.map +0 -1
  646. package/dist/patterns/settings-row/SettingsRow.js +0 -24
  647. package/dist/patterns/settings-row/SettingsRow.js.map +0 -1
  648. package/dist/patterns/settings-row/index.d.ts +0 -3
  649. package/dist/patterns/settings-row/index.d.ts.map +0 -1
  650. package/dist/patterns/settings-row/index.js +0 -2
  651. package/dist/patterns/settings-row/index.js.map +0 -1
  652. package/dist/patterns/settings-row/meta.d.ts +0 -39
  653. package/dist/patterns/settings-row/meta.d.ts.map +0 -1
  654. package/dist/patterns/settings-row/meta.js +0 -39
  655. package/dist/patterns/settings-row/meta.js.map +0 -1
  656. package/dist/patterns/settings-row/types.d.ts +0 -23
  657. package/dist/patterns/settings-row/types.d.ts.map +0 -1
  658. package/dist/patterns/settings-row/types.js +0 -2
  659. package/dist/patterns/settings-row/types.js.map +0 -1
  660. package/dist/patterns/tile-grid/PaletteItem.d.ts.map +0 -1
  661. package/dist/patterns/tile-grid/PaletteItem.js.map +0 -1
  662. package/dist/patterns/tile-grid/TileGrid.d.ts +0 -9
  663. package/dist/patterns/tile-grid/TileGrid.d.ts.map +0 -1
  664. package/dist/patterns/tile-grid/TileGrid.js +0 -33
  665. package/dist/patterns/tile-grid/TileGrid.js.map +0 -1
  666. package/dist/patterns/tile-grid/index.d.ts +0 -4
  667. package/dist/patterns/tile-grid/index.d.ts.map +0 -1
  668. package/dist/patterns/tile-grid/index.js +0 -4
  669. package/dist/patterns/tile-grid/index.js.map +0 -1
  670. package/dist/patterns/tile-grid/meta.d.ts +0 -17
  671. package/dist/patterns/tile-grid/meta.d.ts.map +0 -1
  672. package/dist/patterns/tile-grid/meta.js +0 -18
  673. package/dist/patterns/tile-grid/meta.js.map +0 -1
  674. package/dist/patterns/tile-grid/types.d.ts +0 -18
  675. package/dist/patterns/tile-grid/types.d.ts.map +0 -1
  676. package/dist/patterns/tile-grid/types.js +0 -2
  677. package/dist/patterns/tile-grid/types.js.map +0 -1
  678. package/src/features/layout/adapters/inbound/Box.tsx +0 -18
  679. package/src/features/layout/adapters/inbound/Container.tsx +0 -18
  680. package/src/features/layout/adapters/inbound/Stack.tsx +0 -18
  681. package/src/features/layout/boxMeta.ts +0 -16
  682. package/src/foundation/Center.tsx +0 -26
  683. package/src/foundation/Inline.tsx +0 -26
  684. package/src/foundation/Show.tsx +0 -23
  685. package/src/foundation/Spacer.tsx +0 -26
  686. package/src/foundation/index.test.ts +0 -30
  687. package/src/foundation/index.ts +0 -8
  688. package/src/foundation/meta.ts +0 -36
  689. package/src/layout/app-shell/AppShell.test.ts +0 -24
  690. package/src/layout/app-shell/AppShell.tsx +0 -65
  691. package/src/layout/app-shell/index.ts +0 -2
  692. package/src/layout/app-shell/types.ts +0 -10
  693. package/src/layout/screen/Screen.test.ts +0 -22
  694. package/src/layout/screen/Screen.tsx +0 -47
  695. package/src/layout/screen/index.ts +0 -2
  696. package/src/layout/screen/types.ts +0 -11
  697. package/src/layout/screen-section/index.ts +0 -2
  698. package/src/layout/screen-section/types.ts +0 -10
  699. package/src/layout/settings-layout/SettingsLayout.tsx +0 -33
  700. package/src/layout/settings-layout/index.ts +0 -2
  701. package/src/layout/settings-layout/meta.ts +0 -10
  702. package/src/layout/settings-layout/types.ts +0 -11
  703. package/src/layout/sidebar-layout/SidebarLayout.test.ts +0 -35
  704. package/src/layout/sidebar-layout/SidebarLayout.tsx +0 -46
  705. package/src/layout/sidebar-layout/index.ts +0 -2
  706. package/src/layout/sidebar-layout/resolveSidebarLayoutSizing.ts +0 -18
  707. package/src/layout/sidebar-layout/types.ts +0 -14
  708. package/src/layout/topbar-layout/TopbarLayout.tsx +0 -30
  709. package/src/layout/topbar-layout/index.ts +0 -2
  710. package/src/layout/topbar-layout/meta.ts +0 -10
  711. package/src/layout/topbar-layout/types.ts +0 -9
  712. package/src/patterns/list/List.tsx +0 -78
  713. package/src/patterns/list/ListRow.tsx +0 -199
  714. package/src/patterns/list/index.ts +0 -10
  715. package/src/patterns/list/resolveListSeparator.test.ts +0 -18
  716. package/src/patterns/list/resolveListSeparator.ts +0 -8
  717. package/src/patterns/settings-row/SettingsRow.tsx +0 -53
  718. package/src/patterns/settings-row/index.ts +0 -2
  719. package/src/patterns/settings-row/meta.ts +0 -40
  720. package/src/patterns/settings-row/types.ts +0 -28
  721. package/src/patterns/tile-grid/TileGrid.tsx +0 -55
  722. package/src/patterns/tile-grid/index.ts +0 -3
  723. package/src/patterns/tile-grid/meta.ts +0 -21
  724. package/src/patterns/tile-grid/types.ts +0 -20
  725. /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRail.d.ts +0 -0
  726. /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.d.ts +0 -0
  727. /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.js +0 -0
  728. /package/dist/features/{layout → content-rail}/contentRailMeta.js +0 -0
  729. /package/dist/features/{layout → content-rail}/utils/resolveContentRailItemWidth.d.ts +0 -0
  730. /package/dist/features/{layout → content-rail}/utils/resolveContentRailItemWidth.js +0 -0
  731. /package/dist/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.d.ts +0 -0
  732. /package/dist/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.js +0 -0
  733. /package/dist/features/{layout → content-rail}/utils/resolveContentRailState.d.ts +0 -0
  734. /package/dist/features/{layout → content-rail}/utils/resolveContentRailState.js +0 -0
  735. /package/dist/features/{layout → content-rail}/utils/useContentRailReducedMotion.d.ts +0 -0
  736. /package/dist/features/{layout → content-rail}/utils/useContentRailReducedMotion.js +0 -0
  737. /package/src/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.tsx +0 -0
  738. /package/src/features/{layout → content-rail}/contentRailMeta.ts +0 -0
  739. /package/src/features/{layout → content-rail}/utils/resolveContentRailItemWidth.test.ts +0 -0
  740. /package/src/features/{layout → content-rail}/utils/resolveContentRailItemWidth.ts +0 -0
  741. /package/src/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.test.ts +0 -0
  742. /package/src/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.ts +0 -0
  743. /package/src/features/{layout → content-rail}/utils/resolveContentRailState.test.ts +0 -0
  744. /package/src/features/{layout → content-rail}/utils/resolveContentRailState.ts +0 -0
  745. /package/src/features/{layout → content-rail}/utils/useContentRailReducedMotion.ts +0 -0
  746. /package/src/{layout/app-shell/meta.ts → features/layout/appShellMeta.ts} +0 -0
  747. /package/src/{layout/screen/meta.ts → features/layout/screenMeta.ts} +0 -0
  748. /package/src/{layout/screen-section/meta.ts → features/layout/screenSectionMeta.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Gradient.js","sourceRoot":"","sources":["../../../../../src/features/gradient/adapters/inbound/Gradient.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,SAAS,aAAa,CAAC,EACrB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,KAAK,GAAG,MAAM,EACd,MAAM,EACN,SAAS,EACT,MAAM,EACN,CAAC,EACD,MAAM,GACQ;IACd,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,OAAO,CACL,CAAC,GAAG,CACF,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,KAAK,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAE9B;MAAA,CAAC,KAAK,CAAC,aAAa,CAClB,gBAAgB,EAChB;YACE,MAAM;YACN,GAAG;YACH,SAAS;YACT,KAAK;YACL,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;SACnB,EACD,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAC5B;UAAA,CAAC,QAAQ,CACX;QAAA,EAAE,GAAG,CAAC,CACP,CACH;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { GradientProps } from '../../../../types/gradient';\nimport { Box } from '../../../layout/public';\nimport { useGradientRenderer } from './GradientRendererContext';\n\nfunction GradientInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n children,\n colors,\n locations,\n start,\n end,\n width = '100%',\n height,\n minHeight,\n radius,\n p,\n testID,\n}: GradientProps) {\n const gradientRenderer = useGradientRenderer();\n\n return (\n <Box\n height={height}\n minHeight={minHeight}\n radius={radius}\n testID={testID}\n width={width}\n style={{ overflow: 'hidden' }}\n >\n {React.createElement(\n gradientRenderer,\n {\n colors,\n end,\n locations,\n start,\n style: { flex: 1 },\n },\n <Box p={p} style={{ flex: 1 }}>\n {children}\n </Box>,\n )}\n </Box>\n );\n}\n\n/***\n * Gradient background container for branded loading surfaces, hero blocks, and previews.\n *\n * The host supplies a platform-compatible renderer through\n * `GradientRendererProvider`; ZORA does not require an Expo runtime.\n */\nexport const Gradient = withZoraThemeScope(GradientInner);\n"]}
1
+ {"version":3,"file":"Gradient.js","sourceRoot":"","sources":["../../../../../src/features/gradient/adapters/inbound/Gradient.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,SAAS,aAAa,CAAC,EACrB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,QAAQ,EACR,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,EACH,KAAK,GAAG,MAAM,EACd,MAAM,EACN,SAAS,EACT,MAAM,EACN,CAAC,EACD,MAAM,GACQ;IACd,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,OAAO,CACL,CAAC,IAAI,CACH,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,SAAS,CAAC,CAAC,SAAS,CAAC,CACrB,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,KAAK,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAE9B;MAAA,CAAC,KAAK,CAAC,aAAa,CAClB,gBAAgB,EAChB;YACE,MAAM;YACN,GAAG;YACH,SAAS;YACT,KAAK;YACL,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;SACnB,EACD,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAC7B;UAAA,CAAC,QAAQ,CACX;QAAA,EAAE,IAAI,CAAC,CACR,CACH;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { GradientProps } from '../../../../types/gradient';\nimport { View } from '../../../layout/public';\nimport { useGradientRenderer } from './GradientRendererContext';\n\nfunction GradientInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n children,\n colors,\n locations,\n start,\n end,\n width = '100%',\n height,\n minHeight,\n radius,\n p,\n testID,\n}: GradientProps) {\n const gradientRenderer = useGradientRenderer();\n\n return (\n <View\n height={height}\n minHeight={minHeight}\n radius={radius}\n testID={testID}\n width={width}\n style={{ overflow: 'hidden' }}\n >\n {React.createElement(\n gradientRenderer,\n {\n colors,\n end,\n locations,\n start,\n style: { flex: 1 },\n },\n <View p={p} style={{ flex: 1 }}>\n {children}\n </View>,\n )}\n </View>\n );\n}\n\n/***\n * Gradient background container for branded loading surfaces, hero blocks, and previews.\n *\n * The host supplies a platform-compatible renderer through\n * `GradientRendererProvider`; ZORA does not require an Expo runtime.\n */\nexport const Gradient = withZoraThemeScope(GradientInner);\n"]}
@@ -3,7 +3,7 @@ export declare const gradientMeta: {
3
3
  readonly category: "component";
4
4
  readonly description: "Renders a host-backed gradient container for nested manifest content.";
5
5
  readonly directManifestNode: true;
6
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
6
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
7
7
  readonly blueprint: {
8
8
  readonly label: "Gradient";
9
9
  };
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
3
3
  import { Button } from '../../../button/public';
4
4
  import { Card } from '../../../card/public';
5
- import { Box, Grid, Stack } from '../../../layout/public';
5
+ import { Grid, View } from '../../../layout/public';
6
6
  import { Heading, Text } from '../../../typography/public';
7
7
  function HeroInner({ themeId: _themeId, mode: _mode, interactionPolicy, title, description, eyebrow, primaryAction, secondaryAction, media, footer, align = 'start', layout = 'split', tone = 'subtle', compact = false, testID, }) {
8
8
  const hasActions = primaryAction !== undefined || secondaryAction !== undefined;
@@ -10,9 +10,9 @@ function HeroInner({ themeId: _themeId, mode: _mode, interactionPolicy, title, d
10
10
  const contentAlign = resolveContentAlign(align);
11
11
  const textAlign = align === 'center' ? 'center' : undefined;
12
12
  const mediaFirst = layout === 'mediaFirst';
13
- const content = (<Box width="100%">
14
- <Stack align={contentAlign} gap={compact ? 's' : 'm'}>
15
- <Stack align={contentAlign} gap="xs">
13
+ const content = (<View width="100%">
14
+ <View align={contentAlign} gap={compact ? 's' : 'm'}>
15
+ <View align={contentAlign} gap="xs">
16
16
  {eyebrow !== undefined ? (<Text align={textAlign} color="primary" variant="eyebrow">
17
17
  {eyebrow}
18
18
  </Text>) : null}
@@ -22,28 +22,28 @@ function HeroInner({ themeId: _themeId, mode: _mode, interactionPolicy, title, d
22
22
  {description !== undefined ? (<Text align={textAlign} emphasis="muted" variant={{ base: 'body', md: compact ? 'body' : 'lead' }}>
23
23
  {description}
24
24
  </Text>) : null}
25
- </Stack>
25
+ </View>
26
26
 
27
- {hasActions ? (<Stack align={contentAlign} direction={{ base: 'column', md: 'row' }} gap="s" justify={align === 'center' ? 'center' : 'flex-start'}>
27
+ {hasActions ? (<View align={contentAlign} direction={{ base: 'column', md: 'row' }} gap="s" justify={align === 'center' ? 'center' : 'flex-start'}>
28
28
  {primaryAction !== undefined
29
29
  ? renderAction(primaryAction, 'primary', interactionPolicy)
30
30
  : null}
31
31
  {secondaryAction !== undefined
32
32
  ? renderAction(secondaryAction, 'secondary', interactionPolicy)
33
33
  : null}
34
- </Stack>) : null}
34
+ </View>) : null}
35
35
 
36
36
  {footer}
37
- </Stack>
38
- </Box>);
39
- const mediaSlot = hasMedia ? <Box width="100%">{media}</Box> : null;
37
+ </View>
38
+ </View>);
39
+ const mediaSlot = hasMedia ? <View width="100%">{media}</View> : null;
40
40
  const body = hasMedia && layout !== 'stack' ? (<Grid cols={{ base: 1, md: 2 }} gap={compact ? 'm' : 'l'}>
41
41
  {mediaFirst ? mediaSlot : content}
42
42
  {mediaFirst ? content : mediaSlot}
43
- </Grid>) : (<Stack align="center" direction="column" gap={compact ? 'm' : 'l'}>
43
+ </Grid>) : (<View align="center" direction="column" gap={compact ? 'm' : 'l'}>
44
44
  {mediaFirst ? mediaSlot : content}
45
45
  {mediaFirst ? content : mediaSlot}
46
- </Stack>);
46
+ </View>);
47
47
  return (<Card compact={compact} interactionPolicy={interactionPolicy} testID={testID} tone={tone}>
48
48
  {body}
49
49
  </Card>);
@@ -1 +1 @@
1
- {"version":3,"file":"Hero.js","sourceRoot":"","sources":["../../../../../src/features/hero/adapters/inbound/Hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAE3D,SAAS,SAAS,CAAC,EACjB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EACjB,KAAK,EACL,WAAW,EACX,OAAO,EACP,aAAa,EACb,eAAe,EACf,KAAK,EACL,MAAM,EACN,KAAK,GAAG,OAAO,EACf,MAAM,GAAG,OAAO,EAChB,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,KAAK,EACf,MAAM,GACI;IACV,MAAM,UAAU,GAAG,aAAa,KAAK,SAAS,IAAI,eAAe,KAAK,SAAS,CAAC;IAChF,MAAM,QAAQ,GAAG,KAAK,KAAK,SAAS,CAAC;IACrC,MAAM,YAAY,GAAG,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAChD,MAAM,SAAS,GAAG,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5D,MAAM,UAAU,GAAG,MA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CAAC;AAED,SAAS,mBAAmB,CAAC,KAAgB;IAC3C,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC;AACtD,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { HeroAction, HeroAlign, HeroProps } from '../../../../types/hero';\nimport { Button } from '../../../button/public';\nimport { Card } from '../../../card/public';\nimport { Box, Grid, Stack } from '../../../layout/public';\nimport { Heading, Text } from '../../../typography/public';\n\nfunction HeroInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy,\n title,\n description,\n eyebrow,\n primaryAction,\n secondaryAction,\n media,\n footer,\n align = 'start',\n layout = 'split',\n tone = 'subtle',\n compact = false,\n testID,\n}: HeroProps) {\n const hasActions = primaryAction !== undefined || secondaryAction !== undefined;\n const hasMedia = media !== undefined;\n const contentAlign = resolveContentAlign(align);\n const textAlign = align === 'center' ? 'center' : undefined;\n const mediaFirst = layout === 'mediaFirst';\n\n const content = (\n <Box width=\"100%\">\n <Stack align={contentAlign} gap={compact ? 's' : 'm'}>\n <Stack align={contentAlign} gap=\"xs\">\n {eyebrow !== undefined ? (\n <Text align={textAlign} color=\"primary\" variant=\"eyebrow\">\n {eyebrow}\n </Text>\n ) : null}\n <Heading\n align={textAlign}\n level={1}\n size={{ base: 'h2', md: compact ? 'h2' : 'display' }}\n >\n {title}\n </Heading>\n {description !== undefined ? (\n <Text\n align={textAlign}\n emphasis=\"muted\"\n variant={{ base: 'body', md: compact ? 'body' : 'lead' }}\n >\n {description}\n </Text>\n ) : null}\n </Stack>\n\n {hasActions ? (\n <Stack\n align={contentAlign}\n direction={{ base: 'column', md: 'row' }}\n gap=\"s\"\n justify={align === 'center' ? 'center' : 'flex-start'}\n >\n {primaryAction !== undefined\n ? renderAction(primaryAction, 'primary', interactionPolicy)\n : null}\n {secondaryAction !== undefined\n ? renderAction(secondaryAction, 'secondary', interactionPolicy)\n : null}\n </Stack>\n ) : null}\n\n {footer}\n </Stack>\n </Box>\n );\n\n const mediaSlot = hasMedia ? <Box width=\"100%\">{media}</Box> : null;\n\n const body =\n hasMedia && layout !== 'stack' ? (\n <Grid cols={{ base: 1, md: 2 }} gap={compact ? 'm' : 'l'}>\n {mediaFirst ? mediaSlot : content}\n {mediaFirst ? content : mediaSlot}\n </Grid>\n ) : (\n <Stack align=\"center\" direction=\"column\" gap={compact ? 'm' : 'l'}>\n {mediaFirst ? mediaSlot : content}\n {mediaFirst ? content : mediaSlot}\n </Stack>\n );\n\n return (\n <Card compact={compact} interactionPolicy={interactionPolicy} testID={testID} tone={tone}>\n {body}\n </Card>\n );\n}\n\nfunction renderAction(\n action: HeroAction,\n role: 'primary' | 'secondary',\n interactionPolicy: HeroProps['interactionPolicy'],\n) {\n return (\n <Button\n disabled={action.disabled}\n interactionPolicy={interactionPolicy}\n variant={action.variant ?? (role === 'primary' ? 'solid' : 'soft')}\n onPress={action.onPress}\n color={action.color ?? (role === 'primary' ? 'primary' : 'neutral')}\n >\n {action.label}\n </Button>\n );\n}\n\nfunction resolveContentAlign(align: HeroAlign) {\n return align === 'center' ? 'center' : 'flex-start';\n}\n\n/***\n * Hero section pattern for prominent page introductions with actions.\n *\n \n */\nexport const Hero = withZoraThemeScope(HeroInner);\n"]}
1
+ {"version":3,"file":"Hero.js","sourceRoot":"","sources":["../../../../../src/features/hero/adapters/inbound/Hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,wB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,CACvF;MAAA,CAAC,IAAI,CACP;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CACnB,MAAkB,EAClB,IAA6B,EAC7B,iBAAiD;IAEjD,OAAO,CACL,CAAC,MAAM,CACL,QAAQ,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAC1B,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CACrC,OAAO,CAAC,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CACnE,OAAO,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CACxB,KAAK,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAEpE;MAAA,CAAC,MAAM,CAAC,KAAK,CACf;IAAA,EAAE,MAAM,CAAC,CACV,CAAC;AACJ,CAAC;AAED,SAAS,mBAAmB,CAAC,KAAgB;IAC3C,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC;AACtD,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { HeroAction, HeroAlign, HeroProps } from '../../../../types/hero';\nimport { Button } from '../../../button/public';\nimport { Card } from '../../../card/public';\nimport { Grid, View } from '../../../layout/public';\nimport { Heading, Text } from '../../../typography/public';\n\nfunction HeroInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy,\n title,\n description,\n eyebrow,\n primaryAction,\n secondaryAction,\n media,\n footer,\n align = 'start',\n layout = 'split',\n tone = 'subtle',\n compact = false,\n testID,\n}: HeroProps) {\n const hasActions = primaryAction !== undefined || secondaryAction !== undefined;\n const hasMedia = media !== undefined;\n const contentAlign = resolveContentAlign(align);\n const textAlign = align === 'center' ? 'center' : undefined;\n const mediaFirst = layout === 'mediaFirst';\n\n const content = (\n <View width=\"100%\">\n <View align={contentAlign} gap={compact ? 's' : 'm'}>\n <View align={contentAlign} gap=\"xs\">\n {eyebrow !== undefined ? (\n <Text align={textAlign} color=\"primary\" variant=\"eyebrow\">\n {eyebrow}\n </Text>\n ) : null}\n <Heading\n align={textAlign}\n level={1}\n size={{ base: 'h2', md: compact ? 'h2' : 'display' }}\n >\n {title}\n </Heading>\n {description !== undefined ? (\n <Text\n align={textAlign}\n emphasis=\"muted\"\n variant={{ base: 'body', md: compact ? 'body' : 'lead' }}\n >\n {description}\n </Text>\n ) : null}\n </View>\n\n {hasActions ? (\n <View\n align={contentAlign}\n direction={{ base: 'column', md: 'row' }}\n gap=\"s\"\n justify={align === 'center' ? 'center' : 'flex-start'}\n >\n {primaryAction !== undefined\n ? renderAction(primaryAction, 'primary', interactionPolicy)\n : null}\n {secondaryAction !== undefined\n ? renderAction(secondaryAction, 'secondary', interactionPolicy)\n : null}\n </View>\n ) : null}\n\n {footer}\n </View>\n </View>\n );\n\n const mediaSlot = hasMedia ? <View width=\"100%\">{media}</View> : null;\n\n const body =\n hasMedia && layout !== 'stack' ? (\n <Grid cols={{ base: 1, md: 2 }} gap={compact ? 'm' : 'l'}>\n {mediaFirst ? mediaSlot : content}\n {mediaFirst ? content : mediaSlot}\n </Grid>\n ) : (\n <View align=\"center\" direction=\"column\" gap={compact ? 'm' : 'l'}>\n {mediaFirst ? mediaSlot : content}\n {mediaFirst ? content : mediaSlot}\n </View>\n );\n\n return (\n <Card compact={compact} interactionPolicy={interactionPolicy} testID={testID} tone={tone}>\n {body}\n </Card>\n );\n}\n\nfunction renderAction(\n action: HeroAction,\n role: 'primary' | 'secondary',\n interactionPolicy: HeroProps['interactionPolicy'],\n) {\n return (\n <Button\n disabled={action.disabled}\n interactionPolicy={interactionPolicy}\n variant={action.variant ?? (role === 'primary' ? 'solid' : 'soft')}\n onPress={action.onPress}\n color={action.color ?? (role === 'primary' ? 'primary' : 'neutral')}\n >\n {action.label}\n </Button>\n );\n}\n\nfunction resolveContentAlign(align: HeroAlign) {\n return align === 'center' ? 'center' : 'flex-start';\n}\n\n/***\n * Hero section pattern for prominent page introductions with actions.\n *\n \n */\nexport const Hero = withZoraThemeScope(HeroInner);\n"]}
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { useZoraTheme } from '../../../../theme/useZoraTheme';
4
4
  import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
5
5
  import { Icon } from '../../../icon/public';
6
- import { Box } from '../../../layout/public';
6
+ import { View } from '../../../layout/public';
7
7
  /*** Displays an image asset and owns its missing, unrenderable, and failed presentation states. */
8
8
  export const Image = withZoraThemeScope(ImageInner);
9
9
  /*** Renders the resolved image source or the canonical ZORA image placeholder. */
@@ -17,7 +17,7 @@ function ImageInner({ themeId: _themeId, mode: _mode, interactionPolicy: _intera
17
17
  const resolvedAlt = alt ?? (isUploadAsset(source) ? source.alt : undefined);
18
18
  const placeholderLabel = accessibilityLabel ?? resolvedAlt;
19
19
  if (showPlaceholder) {
20
- return (<Box accessibilityLabel={placeholderLabel} accessibilityRole={placeholderLabel ? 'image' : undefined} accessible={Boolean(placeholderLabel)} bg={theme.semantics.neutral.surface} borderColor={theme.semantics.neutral.divider} borderWidth={1} height={height} overflow="hidden" radius={radius} testID={testID} width={width} style={[
20
+ return (<View accessibilityLabel={placeholderLabel} accessibilityRole={placeholderLabel ? 'image' : undefined} accessible={Boolean(placeholderLabel)} bg={theme.semantics.neutral.surface} borderColor={theme.semantics.neutral.divider} borderWidth={1} height={height} overflow="hidden" radius={radius} testID={testID} width={width} style={[
21
21
  {
22
22
  alignItems: 'center',
23
23
  aspectRatio: aspectRatio ?? 1,
@@ -26,7 +26,7 @@ function ImageInner({ themeId: _themeId, mode: _mode, interactionPolicy: _intera
26
26
  style,
27
27
  ]}>
28
28
  <Icon color={theme.semantics.content.muted} name="image-outline" size={24}/>
29
- </Box>);
29
+ </View>);
30
30
  }
31
31
  return (<SurfaceImage {...props} accessibilityLabel={accessibilityLabel} alt={resolvedAlt} aspectRatio={aspectRatio} fallbackSource={fallbackSource} height={height} onError={(event) => {
32
32
  onError?.(event);
@@ -1 +1 @@
1
- {"version":3,"file":"Image.js","sourceRoot":"","sources":["../../../../../src/features/image/adapters/inbound/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAA2B,MAAM,oBAAoB,CAAC;AACpF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAE7C,mGAAmG;AACnG,MAAM,CAAC,MAAM,KAAK,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;AAEpD,kFAAkF;AAClF,SAAS,UAAU,CAAC,EAClB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EACN,cAAc,EACd,GAAG,EACH,kBAAkB,EAClB,KAAK,EACL,MAAM,EACN,WAAW,EACX,MAAM,EACN,KAAK,EACL,MAAM,EACN,OAAO,EACP,GAAG,KAAK,EACG;IACX,MAAM,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,CAAC;IACjC,MAAM,cAAc,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClD,MAAM,SAAS,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC;IAChD,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAAgB,IAAI,CAAC,CAAC;IAC7D,MAAM,CAAC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uF;AACvF,SAAS,qBAAqB,CAAC,MAA4B;IACzD,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QAC5C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;YACpB,KAAK,OAAO;gBACV,OAAO,SAAS,MAAM,CAAC,GAAG,EAAE,CAAC;YAC/B,KAAK,KAAK;gBACR,OAAO,OAAO,MAAM,CAAC,GAAG,EAAE,CAAC;YAC7B,KAAK,SAAS;gBACZ,OAAO,WAAW,MAAM,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,SAAS,IAAI,EAAE,EAAE,CAAC;QAC/E,CAAC;IACH,CAAC;IAED,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QAC7D,OAAO,UAAU,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IACpC,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,GAAG,KAAK,QAAQ,EAAE,CAAC;QAChF,OAAO,UAAU,MAAM,CAAC,GAAG,EAAE,CAAC;IAChC,CAAC;IAED,OAAO,eAAe,CAAC;AACzB,CAAC;AAED,6FAA6F;AAC7F,SAAS,aAAa,CAAC,MAA4B;IACjD,OAAO,CACL,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,MAAM,CAC5F,CAAC;AACJ,CAAC","sourcesContent":["import { Image as SurfaceImage, type SurfaceImageSource } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { useZoraTheme } from '../../../../theme/useZoraTheme';\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ImageProps } from '../../../../types/image';\nimport type { UploadAsset } from '../../../../types/upload';\nimport { Icon } from '../../../icon/public';\nimport { Box } from '../../../layout/public';\n\n/*** Displays an image asset and owns its missing, unrenderable, and failed presentation states. */\nexport const Image = withZoraThemeScope(ImageInner);\n\n/*** Renders the resolved image source or the canonical ZORA image placeholder. */\nfunction ImageInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n source,\n fallbackSource,\n alt,\n accessibilityLabel,\n width,\n height,\n aspectRatio,\n radius,\n style,\n testID,\n onError,\n ...props\n}: ImageProps) {\n const { theme } = useZoraTheme();\n const resolvedSource = resolveImageSource(source);\n const sourceKey = resolveImageSourceKey(source);\n const firstFailureKeyRef = React.useRef<string | null>(null);\n const [failedSourceKey, setFailedSourceKey] = React.useState<string | null>(null);\n const showPlaceholder = resolvedSource === null || failedSourceKey === sourceKey;\n const resolvedAlt = alt ?? (isUploadAsset(source) ? source.alt : undefined);\n const placeholderLabel = accessibilityLabel ?? resolvedAlt;\n\n if (showPlaceholder) {\n return (\n <Box\n accessibilityLabel={placeholderLabel}\n accessibilityRole={placeholderLabel ? 'image' : undefined}\n accessible={Boolean(placeholderLabel)}\n bg={theme.semantics.neutral.surface}\n borderColor={theme.semantics.neutral.divider}\n borderWidth={1}\n height={height}\n overflow=\"hidden\"\n radius={radius}\n testID={testID}\n width={width}\n style={[\n {\n alignItems: 'center',\n aspectRatio: aspectRatio ?? 1,\n justifyContent: 'center',\n },\n style,\n ]}\n >\n <Icon color={theme.semantics.content.muted} name=\"image-outline\" size={24} />\n </Box>\n );\n }\n\n return (\n <SurfaceImage\n {...props}\n accessibilityLabel={accessibilityLabel}\n alt={resolvedAlt}\n aspectRatio={aspectRatio}\n fallbackSource={fallbackSource}\n height={height}\n onError={(event) => {\n onError?.(event);\n\n if (!sourceKey) {\n return;\n }\n\n if (fallbackSource && firstFailureKeyRef.current !== sourceKey) {\n firstFailureKeyRef.current = sourceKey;\n return;\n }\n\n setFailedSourceKey(sourceKey);\n }}\n radius={radius}\n source={resolvedSource}\n style={style}\n testID={testID}\n width={width}\n />\n );\n}\n\n/*** Resolves a generic upload asset into a source understood by the Surface Image primitive. */\nfunction resolveImageSource(source: ImageProps['source']): SurfaceImageSource | null | undefined {\n if (!isUploadAsset(source)) {\n return source;\n }\n\n switch (source.kind) {\n case 'local':\n return source.uri;\n case 'url':\n return source.url;\n case 'storage':\n return source.publicUrl ?? null;\n }\n}\n\n/*** Produces a stable-enough key for tracking image failures across source changes. */\nfunction resolveImageSourceKey(source: ImageProps['source']): string | null {\n if (source === null || source === undefined) {\n return null;\n }\n\n if (isUploadAsset(source)) {\n switch (source.kind) {\n case 'local':\n return `local:${source.uri}`;\n case 'url':\n return `url:${source.url}`;\n case 'storage':\n return `storage:${source.bucket}:${source.path}:${source.publicUrl ?? ''}`;\n }\n }\n\n if (typeof source === 'string' || typeof source === 'number') {\n return `source:${String(source)}`;\n }\n\n if (!Array.isArray(source) && 'uri' in source && typeof source.uri === 'string') {\n return `source:${source.uri}`;\n }\n\n return 'source:opaque';\n}\n\n/*** Identifies the generic ZORA upload asset shape without leaking picker-specific types. */\nfunction isUploadAsset(source: ImageProps['source']): source is UploadAsset {\n return (\n typeof source === 'object' && source !== null && !Array.isArray(source) && 'kind' in source\n );\n}\n"]}
1
+ {"version":3,"file":"Image.js","sourceRoot":"","sources":["../../../../../src/features/image/adapters/inbound/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,YAAY,EAA2B,MAAM,oBAAoB,CAAC;AACpF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,mGA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AE,CAAC;IACpC,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,MAAM,IAAI,OAAO,MAAM,CAAC,GAAG,KAAK,QAAQ,EAAE,CAAC;QAChF,OAAO,UAAU,MAAM,CAAC,GAAG,EAAE,CAAC;IAChC,CAAC;IAED,OAAO,eAAe,CAAC;AACzB,CAAC;AAED,6FAA6F;AAC7F,SAAS,aAAa,CAAC,MAA4B;IACjD,OAAO,CACL,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,MAAM,CAC5F,CAAC;AACJ,CAAC","sourcesContent":["import { Image as SurfaceImage, type SurfaceImageSource } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { useZoraTheme } from '../../../../theme/useZoraTheme';\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ImageProps } from '../../../../types/image';\nimport type { UploadAsset } from '../../../../types/upload';\nimport { Icon } from '../../../icon/public';\nimport { View } from '../../../layout/public';\n\n/*** Displays an image asset and owns its missing, unrenderable, and failed presentation states. */\nexport const Image = withZoraThemeScope(ImageInner);\n\n/*** Renders the resolved image source or the canonical ZORA image placeholder. */\nfunction ImageInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n source,\n fallbackSource,\n alt,\n accessibilityLabel,\n width,\n height,\n aspectRatio,\n radius,\n style,\n testID,\n onError,\n ...props\n}: ImageProps) {\n const { theme } = useZoraTheme();\n const resolvedSource = resolveImageSource(source);\n const sourceKey = resolveImageSourceKey(source);\n const firstFailureKeyRef = React.useRef<string | null>(null);\n const [failedSourceKey, setFailedSourceKey] = React.useState<string | null>(null);\n const showPlaceholder = resolvedSource === null || failedSourceKey === sourceKey;\n const resolvedAlt = alt ?? (isUploadAsset(source) ? source.alt : undefined);\n const placeholderLabel = accessibilityLabel ?? resolvedAlt;\n\n if (showPlaceholder) {\n return (\n <View\n accessibilityLabel={placeholderLabel}\n accessibilityRole={placeholderLabel ? 'image' : undefined}\n accessible={Boolean(placeholderLabel)}\n bg={theme.semantics.neutral.surface}\n borderColor={theme.semantics.neutral.divider}\n borderWidth={1}\n height={height}\n overflow=\"hidden\"\n radius={radius}\n testID={testID}\n width={width}\n style={[\n {\n alignItems: 'center',\n aspectRatio: aspectRatio ?? 1,\n justifyContent: 'center',\n },\n style,\n ]}\n >\n <Icon color={theme.semantics.content.muted} name=\"image-outline\" size={24} />\n </View>\n );\n }\n\n return (\n <SurfaceImage\n {...props}\n accessibilityLabel={accessibilityLabel}\n alt={resolvedAlt}\n aspectRatio={aspectRatio}\n fallbackSource={fallbackSource}\n height={height}\n onError={(event) => {\n onError?.(event);\n\n if (!sourceKey) {\n return;\n }\n\n if (fallbackSource && firstFailureKeyRef.current !== sourceKey) {\n firstFailureKeyRef.current = sourceKey;\n return;\n }\n\n setFailedSourceKey(sourceKey);\n }}\n radius={radius}\n source={resolvedSource}\n style={style}\n testID={testID}\n width={width}\n />\n );\n}\n\n/*** Resolves a generic upload asset into a source understood by the Surface Image primitive. */\nfunction resolveImageSource(source: ImageProps['source']): SurfaceImageSource | null | undefined {\n if (!isUploadAsset(source)) {\n return source;\n }\n\n switch (source.kind) {\n case 'local':\n return source.uri;\n case 'url':\n return source.url;\n case 'storage':\n return source.publicUrl ?? null;\n }\n}\n\n/*** Produces a stable-enough key for tracking image failures across source changes. */\nfunction resolveImageSourceKey(source: ImageProps['source']): string | null {\n if (source === null || source === undefined) {\n return null;\n }\n\n if (isUploadAsset(source)) {\n switch (source.kind) {\n case 'local':\n return `local:${source.uri}`;\n case 'url':\n return `url:${source.url}`;\n case 'storage':\n return `storage:${source.bucket}:${source.path}:${source.publicUrl ?? ''}`;\n }\n }\n\n if (typeof source === 'string' || typeof source === 'number') {\n return `source:${String(source)}`;\n }\n\n if (!Array.isArray(source) && 'uri' in source && typeof source.uri === 'string') {\n return `source:${source.uri}`;\n }\n\n return 'source:opaque';\n}\n\n/*** Identifies the generic ZORA upload asset shape without leaking picker-specific types. */\nfunction isUploadAsset(source: ImageProps['source']): source is UploadAsset {\n return (\n typeof source === 'object' && source !== null && !Array.isArray(source) && 'kind' in source\n );\n}\n"]}
@@ -2,7 +2,7 @@ export declare const keyboardAvoidingViewMeta: {
2
2
  readonly name: "KeyboardAvoidingView";
3
3
  readonly category: "layout";
4
4
  readonly directManifestNode: true;
5
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
5
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
6
6
  readonly blueprint: {
7
7
  readonly label: "Keyboard avoiding view";
8
8
  readonly defaultProps: {
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { AppShellProps } from '../../../../types/layout';
3
+ /*** Root application frame with explicit header, content, footer, and overlay slots. */
4
+ export declare const AppShell: (props: AppShellProps) => React.ReactElement | null;
5
+ //# sourceMappingURL=AppShell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppShell.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/AppShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAuC9D,wFAAwF;AACxF,eAAO,MAAM,QAAQ,qDAAoC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
3
+ import { View } from './View';
4
+ function AppShellInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, children, header, footer, overlay, testID, }) {
5
+ return (<View bg="background" flex={1} testID={testID}>
6
+ <View flex={1} minHeight={0} position="relative">
7
+ {header ? <View flexShrink={0}>{header}</View> : null}
8
+ <View flex={1} minHeight={0} minWidth={0}>
9
+ {children}
10
+ </View>
11
+ {footer ? <View flexShrink={0}>{footer}</View> : null}
12
+ {overlay ? (<View bottom={0} left={0} pointerEvents="box-none" position="absolute" right={0} top={0} zIndex={10}>
13
+ {overlay}
14
+ </View>) : null}
15
+ </View>
16
+ </View>);
17
+ }
18
+ /*** Root application frame with explicit header, content, footer, and overlay slots. */
19
+ export const AppShell = withZoraThemeScope(AppShellInner);
20
+ //# sourceMappingURL=AppShell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppShell.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/AppShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,SAAS,aAAa,CAAC,EACrB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,QAAQ,EACR,MAAM,EACN,MAAM,EACN,OAAO,EACP,MAAM,GACQ;IACd,OAAO,CACL,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAC5C;MAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,CAC9C;QAAA,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CACrD;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CACvC;UAAA,CAAC,QAAQ,CACX;QAAA,EAAE,IAAI,CACN;QAAA,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CACrD;QAAA,CAAC,OAAO,CAAC,CAAC,CAAC,CACT,CAAC,IAAI,CACH,MAAM,CAAC,CAAC,CAAC,CAAC,CACV,IAAI,CAAC,CAAC,CAAC,CAAC,CACR,aAAa,CAAC,UAAU,CACxB,QAAQ,CAAC,UAAU,CACnB,KAAK,CAAC,CAAC,CAAC,CAAC,CACT,GAAG,CAAC,CAAC,CAAC,CAAC,CACP,MAAM,CAAC,CAAC,EAAE,CAAC,CAEX;YAAA,CAAC,OAAO,CACV;UAAA,EAAE,IAAI,CAAC,CACR,CAAC,CAAC,CAAC,IAAI,CACV;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED,wFAAwF;AACxF,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { AppShellProps } from '../../../../types/layout';\nimport { View } from './View';\n\nfunction AppShellInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n children,\n header,\n footer,\n overlay,\n testID,\n}: AppShellProps) {\n return (\n <View bg=\"background\" flex={1} testID={testID}>\n <View flex={1} minHeight={0} position=\"relative\">\n {header ? <View flexShrink={0}>{header}</View> : null}\n <View flex={1} minHeight={0} minWidth={0}>\n {children}\n </View>\n {footer ? <View flexShrink={0}>{footer}</View> : null}\n {overlay ? (\n <View\n bottom={0}\n left={0}\n pointerEvents=\"box-none\"\n position=\"absolute\"\n right={0}\n top={0}\n zIndex={10}\n >\n {overlay}\n </View>\n ) : null}\n </View>\n </View>\n );\n}\n\n/*** Root application frame with explicit header, content, footer, and overlay slots. */\nexport const AppShell = withZoraThemeScope(AppShellInner);\n"]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { ScreenProps } from '../../../../types/layout';
3
+ /*** Screen content boundary with independent width policy and scroll ownership. */
4
+ export declare const Screen: (props: ScreenProps) => React.ReactElement | null;
5
+ //# sourceMappingURL=Screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Screen.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AA4C5D,mFAAmF;AACnF,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { resolvePageMaxWidth } from '../../../../internal/recipes';
3
+ import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
4
+ import { ScrollView } from './ScrollView';
5
+ import { View } from './View';
6
+ function ScreenInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, children, footer, scroll = true, width = 'default', testID, }) {
7
+ const content = (<View alignSelf="center" gap="l" maxWidth={resolvePageMaxWidth(width)} px={{ base: 16, md: 24, lg: 32 }} py="xl" testID={testID} width="100%">
8
+ {children}
9
+ {footer}
10
+ </View>);
11
+ if (!scroll) {
12
+ return (<View bg="background" flex={1} minHeight={0} minWidth={0}>
13
+ {content}
14
+ </View>);
15
+ }
16
+ return (<ScrollView bg="background" flex={1} minHeight={0} minWidth={0}>
17
+ {content}
18
+ </ScrollView>);
19
+ }
20
+ /*** Screen content boundary with independent width policy and scroll ownership. */
21
+ export const Screen = withZoraThemeScope(ScreenInner);
22
+ //# sourceMappingURL=Screen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Screen.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/Screen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,Q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from 'react';\n\nimport { resolvePageMaxWidth } from '../../../../internal/recipes';\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ScreenProps } from '../../../../types/layout';\nimport { ScrollView } from './ScrollView';\nimport { View } from './View';\n\nfunction ScreenInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n children,\n footer,\n scroll = true,\n width = 'default',\n testID,\n}: ScreenProps) {\n const content = (\n <View\n alignSelf=\"center\"\n gap=\"l\"\n maxWidth={resolvePageMaxWidth(width)}\n px={{ base: 16, md: 24, lg: 32 }}\n py=\"xl\"\n testID={testID}\n width=\"100%\"\n >\n {children}\n {footer}\n </View>\n );\n\n if (!scroll) {\n return (\n <View bg=\"background\" flex={1} minHeight={0} minWidth={0}>\n {content}\n </View>\n );\n }\n\n return (\n <ScrollView bg=\"background\" flex={1} minHeight={0} minWidth={0}>\n {content}\n </ScrollView>\n );\n}\n\n/*** Screen content boundary with independent width policy and scroll ownership. */\nexport const Screen = withZoraThemeScope(ScreenInner);\n"]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { ScreenSectionProps } from '../../../../types/layout';
3
+ /*** Screen section with optional heading, description, actions, and content. */
4
+ export declare const ScreenSection: (props: ScreenSectionProps) => React.ReactElement | null;
5
+ //# sourceMappingURL=ScreenSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScreenSection.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ScreenSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAqBnE,gFAAgF;AAChF,eAAO,MAAM,aAAa,0DAAyC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { SectionHeader } from '../../../../patterns/section-header';
3
+ import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
4
+ import { View } from './View';
5
+ function ScreenSectionInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, title, description, actions, children, testID, }) {
6
+ return (<View gap="m" testID={testID}>
7
+ {title ? <SectionHeader actions={actions} description={description} title={title}/> : null}
8
+ {children}
9
+ </View>);
10
+ }
11
+ /*** Screen section with optional heading, description, actions, and content. */
12
+ export const ScreenSection = withZoraThemeScope(ScreenSectionInner);
13
+ //# sourceMappingURL=ScreenSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScreenSection.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ScreenSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,SAAS,kBAAkB,CAAC,EAC1B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,MAAM,GACa;IACnB,OAAO,CACL,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAC3B;MAAA,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,EAAG,CAAC,CAAC,CAAC,IAAI,CAC3F;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED,gFAAgF;AAChF,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { SectionHeader } from '../../../../patterns/section-header';\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ScreenSectionProps } from '../../../../types/layout';\nimport { View } from './View';\n\nfunction ScreenSectionInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n title,\n description,\n actions,\n children,\n testID,\n}: ScreenSectionProps) {\n return (\n <View gap=\"m\" testID={testID}>\n {title ? <SectionHeader actions={actions} description={description} title={title} /> : null}\n {children}\n </View>\n );\n}\n\n/*** Screen section with optional heading, description, actions, and content. */\nexport const ScreenSection = withZoraThemeScope(ScreenSectionInner);\n"]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { ScrollViewProps } from '../../../../types/layout';
3
+ /*** Adapts the token-aware Surface ScrollView primitive to ZORA theme scope. */
4
+ export declare const ScrollView: (props: ScrollViewProps) => React.ReactElement | null;
5
+ //# sourceMappingURL=ScrollView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,gFAAgF;AAChF,eAAO,MAAM,UAAU,uDAAsC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { ScrollView as SurfaceScrollView } from '@ankhorage/surface';
2
+ import React from 'react';
3
+ import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
4
+ /*** Adapts the token-aware Surface ScrollView primitive to ZORA theme scope. */
5
+ export const ScrollView = withZoraThemeScope(ScrollViewInner);
6
+ /*** Forwards ZORA scrolling props to the published Surface ScrollView boundary. */
7
+ function ScrollViewInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, ...props }) {
8
+ return <SurfaceScrollView {...props}/>;
9
+ }
10
+ //# sourceMappingURL=ScrollView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollView.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E,gFAAgF;AAChF,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,eAAe,CAAC,CAAC;AAE9D,mFAAmF;AACnF,SAAS,eAAe,CAAC,EACvB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,GAAG,KAAK,EACQ;IAChB,OAAO,CAAC,iBAAiB,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAC1C,CAAC","sourcesContent":["import { ScrollView as SurfaceScrollView } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ScrollViewProps } from '../../../../types/layout';\n\n/*** Adapts the token-aware Surface ScrollView primitive to ZORA theme scope. */\nexport const ScrollView = withZoraThemeScope(ScrollViewInner);\n\n/*** Forwards ZORA scrolling props to the published Surface ScrollView boundary. */\nfunction ScrollViewInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n ...props\n}: ScrollViewProps) {\n return <SurfaceScrollView {...props} />;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { ViewProps } from '../../../../types/layout';
3
+ /*** Adapts the token-aware Surface View primitive to ZORA theme scope. */
4
+ export declare const View: (props: ViewProps) => React.ReactElement | null;
5
+ //# sourceMappingURL=View.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/View.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,0EAA0E;AAC1E,eAAO,MAAM,IAAI,iDAAgC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { View as SurfaceView } from '@ankhorage/surface';
2
+ import React from 'react';
3
+ import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
4
+ /*** Adapts the token-aware Surface View primitive to ZORA theme scope. */
5
+ export const View = withZoraThemeScope(ViewInner);
6
+ /*** Forwards ZORA layout props to the published Surface View boundary. */
7
+ function ViewInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, ...props }) {
8
+ return <SurfaceView {...props}/>;
9
+ }
10
+ //# sourceMappingURL=View.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"View.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/View.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG1E,0EAA0E;AAC1E,MAAM,CAAC,MAAM,IAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;AAElD,0EAA0E;AAC1E,SAAS,SAAS,CAAC,EACjB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,GAAG,KAAK,EACE;IACV,OAAO,CAAC,WAAW,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACpC,CAAC","sourcesContent":["import { View as SurfaceView } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { ViewProps } from '../../../../types/layout';\n\n/*** Adapts the token-aware Surface View primitive to ZORA theme scope. */\nexport const View = withZoraThemeScope(ViewInner);\n\n/*** Forwards ZORA layout props to the published Surface View boundary. */\nfunction ViewInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n ...props\n}: ViewProps) {\n return <SurfaceView {...props} />;\n}\n"]}
@@ -6,4 +6,4 @@ export declare const appShellMeta: {
6
6
  readonly note: "Application shell layout; not represented as a manifest node in v1.";
7
7
  readonly props: {};
8
8
  };
9
- //# sourceMappingURL=meta.d.ts.map
9
+ //# sourceMappingURL=appShellMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appShellMeta.d.ts","sourceRoot":"","sources":["../../../src/features/layout/appShellMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;CAOa,CAAC"}
@@ -6,4 +6,4 @@ export const appShellMeta = {
6
6
  note: 'Application shell layout; not represented as a manifest node in v1.',
7
7
  props: {},
8
8
  };
9
- //# sourceMappingURL=meta.js.map
9
+ //# sourceMappingURL=appShellMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appShellMeta.js","sourceRoot":"","sources":["../../../src/features/layout/appShellMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,qEAAqE;IAC3E,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const appShellMeta = {\n name: 'AppShell',\n category: 'layout',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Application shell layout; not represented as a manifest node in v1.',\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,4 +1,3 @@
1
- export declare const CONTENT_RAIL_SPACING_VALUES: readonly ["none", "xs", "s", "m", "l", "xl"];
2
1
  export declare const LAYOUT_PROPS: {
3
2
  readonly p: {
4
3
  readonly type: "spacing";
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/layout/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,8CAA+C,CAAC;AAExF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBsB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/features/layout/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBsB,CAAC"}
@@ -1,4 +1,3 @@
1
- export const CONTENT_RAIL_SPACING_VALUES = ['none', 'xs', 's', 'm', 'l', 'xl'];
2
1
  export const LAYOUT_PROPS = {
3
2
  p: { type: 'spacing', category: 'Spacing' },
4
3
  px: { type: 'spacing', category: 'Spacing' },
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/features/layout/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAU,CAAC;AAExF,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC3C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC3C,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAC7C,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAC9C,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAChD,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAChD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IACjD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IACjD,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAC5C,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE;IAC7C,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE;CACpB,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata/types';\n\nexport const CONTENT_RAIL_SPACING_VALUES = ['none', 'xs', 's', 'm', 'l', 'xl'] as const;\n\nexport const LAYOUT_PROPS = {\n p: { type: 'spacing', category: 'Spacing' },\n px: { type: 'spacing', category: 'Spacing' },\n py: { type: 'spacing', category: 'Spacing' },\n pt: { type: 'spacing', category: 'Spacing' },\n pb: { type: 'spacing', category: 'Spacing' },\n m: { type: 'spacing', category: 'Spacing' },\n width: { type: 'number', category: 'Layout' },\n height: { type: 'number', category: 'Layout' },\n minWidth: { type: 'number', category: 'Layout' },\n maxWidth: { type: 'number', category: 'Layout' },\n minHeight: { type: 'number', category: 'Layout' },\n maxHeight: { type: 'number', category: 'Layout' },\n flex: { type: 'number', category: 'Layout' },\n radius: { type: 'radius', category: 'Style' },\n accessibilityLabel: { type: 'string', category: 'Accessibility' },\n} as const satisfies ZoraComponentMeta['props'];\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/features/layout/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC3C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC5C,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE;IAC3C,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAC7C,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAC9C,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAChD,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAChD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IACjD,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IACjD,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE;IAC5C,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE;IAC7C,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE;CACpB,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata/types';\n\nexport const LAYOUT_PROPS = {\n p: { type: 'spacing', category: 'Spacing' },\n px: { type: 'spacing', category: 'Spacing' },\n py: { type: 'spacing', category: 'Spacing' },\n pt: { type: 'spacing', category: 'Spacing' },\n pb: { type: 'spacing', category: 'Spacing' },\n m: { type: 'spacing', category: 'Spacing' },\n width: { type: 'number', category: 'Layout' },\n height: { type: 'number', category: 'Layout' },\n minWidth: { type: 'number', category: 'Layout' },\n maxWidth: { type: 'number', category: 'Layout' },\n minHeight: { type: 'number', category: 'Layout' },\n maxHeight: { type: 'number', category: 'Layout' },\n flex: { type: 'number', category: 'Layout' },\n radius: { type: 'radius', category: 'Style' },\n accessibilityLabel: { type: 'string', category: 'Accessibility' },\n} as const satisfies ZoraComponentMeta['props'];\n"]}
@@ -2,7 +2,7 @@ export declare const gridMeta: {
2
2
  readonly name: "Grid";
3
3
  readonly category: "foundation";
4
4
  readonly directManifestNode: true;
5
- readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
5
+ readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
6
6
  readonly props: {
7
7
  readonly cols: {
8
8
  readonly type: "number";
@@ -1,9 +1,9 @@
1
- export type { ContentRailControlPressEvent, ContentRailDirection, ContentRailItemSize, ContentRailMotion, ContentRailProps, ContentRailSpacing, ContentRailVisibleRangeChangeEvent, } from '../../types/content-rail';
2
- export type { BoxProps, ContainerProps, DividerProps, GridProps, StackProps, } from '../../types/layout';
3
- export { Box } from './adapters/inbound/Box';
4
- export { Container } from './adapters/inbound/Container';
5
- export { ContentRail } from './adapters/inbound/ContentRail';
1
+ export type { AppShellProps, DividerProps, GridProps, ScreenProps, ScreenSectionProps, ScrollViewProps, ViewProps, } from '../../types/layout';
2
+ export { AppShell } from './adapters/inbound/AppShell';
6
3
  export { Divider } from './adapters/inbound/Divider';
7
4
  export { Grid } from './adapters/inbound/Grid';
8
- export { Stack } from './adapters/inbound/Stack';
5
+ export { Screen } from './adapters/inbound/Screen';
6
+ export { ScreenSection } from './adapters/inbound/ScreenSection';
7
+ export { ScrollView } from './adapters/inbound/ScrollView';
8
+ export { View } from './adapters/inbound/View';
9
9
  //# sourceMappingURL=public.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,4BAA4B,EAC5B,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,YAAY,EACV,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,SAAS,EACT,UAAU,GACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,YAAY,EACZ,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,SAAS,GACV,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,7 +1,8 @@
1
- export { Box } from './adapters/inbound/Box';
2
- export { Container } from './adapters/inbound/Container';
3
- export { ContentRail } from './adapters/inbound/ContentRail';
1
+ export { AppShell } from './adapters/inbound/AppShell';
4
2
  export { Divider } from './adapters/inbound/Divider';
5
3
  export { Grid } from './adapters/inbound/Grid';
6
- export { Stack } from './adapters/inbound/Stack';
4
+ export { Screen } from './adapters/inbound/Screen';
5
+ export { ScreenSection } from './adapters/inbound/ScreenSection';
6
+ export { ScrollView } from './adapters/inbound/ScrollView';
7
+ export { View } from './adapters/inbound/View';
7
8
  //# sourceMappingURL=public.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from '../../types/content-rail';\nexport type {\n BoxProps,\n ContainerProps,\n DividerProps,\n GridProps,\n StackProps,\n} from '../../types/layout';\nexport { Box } from './adapters/inbound/Box';\nexport { Container } from './adapters/inbound/Container';\nexport { ContentRail } from './adapters/inbound/ContentRail';\nexport { Divider } from './adapters/inbound/Divider';\nexport { Grid } from './adapters/inbound/Grid';\nexport { Stack } from './adapters/inbound/Stack';\n"]}
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/layout/public.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScreenSectionProps,\n ScrollViewProps,\n ViewProps,\n} from '../../types/layout';\nexport { AppShell } from './adapters/inbound/AppShell';\nexport { Divider } from './adapters/inbound/Divider';\nexport { Grid } from './adapters/inbound/Grid';\nexport { Screen } from './adapters/inbound/Screen';\nexport { ScreenSection } from './adapters/inbound/ScreenSection';\nexport { ScrollView } from './adapters/inbound/ScrollView';\nexport { View } from './adapters/inbound/View';\n"]}
@@ -2,7 +2,7 @@ export declare const screenMeta: {
2
2
  readonly name: "Screen";
3
3
  readonly category: "layout";
4
4
  readonly directManifestNode: true;
5
- readonly allowedChildren: readonly ["ScreenSection", "ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
5
+ readonly allowedChildren: readonly ["ScreenSection", "ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
6
6
  readonly blueprint: {
7
7
  readonly label: "Screen";
8
8
  };
@@ -22,4 +22,4 @@ export declare const screenMeta: {
22
22
  };
23
23
  };
24
24
  };
25
- //# sourceMappingURL=meta.d.ts.map
25
+ //# sourceMappingURL=screenMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenMeta.d.ts","sourceRoot":"","sources":["../../../src/features/layout/screenMeta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAuBe,CAAC"}
@@ -23,4 +23,4 @@ export const screenMeta = {
23
23
  },
24
24
  },
25
25
  };
26
- //# sourceMappingURL=meta.js.map
26
+ //# sourceMappingURL=screenMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenMeta.js","sourceRoot":"","sources":["../../../src/features/layout/screenMeta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAEzE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,CAAC,GAAG,uBAAuB,CAAC;IAC7C,SAAS,EAAE;QACT,KAAK,EAAE,QAAQ;KAChB;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC;YACnC,OAAO,EAAE,SAAS;SACnB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,IAAI;SACd;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\nimport { SCREEN_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';\n\nexport const screenMeta = {\n name: 'Screen',\n category: 'layout',\n directManifestNode: true,\n allowedChildren: [...SCREEN_ALLOWED_CHILDREN],\n blueprint: {\n label: 'Screen',\n },\n props: {\n width: {\n type: 'enum',\n category: 'Layout',\n label: 'Width',\n enum: ['narrow', 'default', 'wide'],\n default: 'default',\n },\n scroll: {\n type: 'boolean',\n category: 'Layout',\n label: 'Scroll',\n default: true,\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}