@ankhorage/zora 16.0.0 → 17.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 (654) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +15 -15
  3. package/dist/constants.d.ts +2 -1
  4. package/dist/constants.d.ts.map +1 -1
  5. package/dist/constants.js +2 -1
  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/ForgotPasswordForm.js +3 -3
  16. package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js.map +1 -1
  17. package/dist/features/auth/adapters/inbound/OAuthProviderList.js +3 -3
  18. package/dist/features/auth/adapters/inbound/OAuthProviderList.js.map +1 -1
  19. package/dist/features/auth/adapters/inbound/OtpForm.js +3 -3
  20. package/dist/features/auth/adapters/inbound/OtpForm.js.map +1 -1
  21. package/dist/features/auth/adapters/inbound/SignInForm.js +3 -3
  22. package/dist/features/auth/adapters/inbound/SignInForm.js.map +1 -1
  23. package/dist/features/auth/adapters/inbound/SignUpForm.js +3 -3
  24. package/dist/features/auth/adapters/inbound/SignUpForm.js.map +1 -1
  25. package/dist/features/avatar/adapters/inbound/Avatar.js +3 -3
  26. package/dist/features/avatar/adapters/inbound/Avatar.js.map +1 -1
  27. package/dist/features/avatar/adapters/inbound/AvatarGroup.js +7 -7
  28. package/dist/features/avatar/adapters/inbound/AvatarGroup.js.map +1 -1
  29. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js +3 -3
  30. package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -1
  31. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  32. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.d.ts.map +1 -1
  33. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js +5 -5
  34. package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js.map +1 -1
  35. package/dist/features/button/adapters/inbound/ButtonGroup.js +3 -3
  36. package/dist/features/button/adapters/inbound/ButtonGroup.js.map +1 -1
  37. package/dist/features/card/adapters/inbound/Card.js +12 -12
  38. package/dist/features/card/adapters/inbound/Card.js.map +1 -1
  39. package/dist/features/card/adapters/inbound/MediaCard.js +21 -21
  40. package/dist/features/card/adapters/inbound/MediaCard.js.map +1 -1
  41. package/dist/features/card/adapters/inbound/MetricCard.d.ts.map +1 -1
  42. package/dist/features/card/adapters/inbound/MetricCard.js +10 -11
  43. package/dist/features/card/adapters/inbound/MetricCard.js.map +1 -1
  44. package/dist/features/card/adapters/inbound/PostCard.d.ts.map +1 -1
  45. package/dist/features/card/adapters/inbound/PostCard.js +37 -38
  46. package/dist/features/card/adapters/inbound/PostCard.js.map +1 -1
  47. package/dist/features/card/adapters/inbound/ProductCard.d.ts.map +1 -1
  48. package/dist/features/card/adapters/inbound/ProductCard.js +17 -18
  49. package/dist/features/card/adapters/inbound/ProductCard.js.map +1 -1
  50. package/dist/features/card/cardMeta.d.ts +1 -1
  51. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  52. package/dist/features/card/postCardMeta.d.ts +1 -1
  53. package/dist/features/chip/adapters/inbound/Chip.d.ts.map +1 -1
  54. package/dist/features/chip/adapters/inbound/Chip.js +5 -6
  55. package/dist/features/chip/adapters/inbound/Chip.js.map +1 -1
  56. package/dist/features/chip/adapters/inbound/ChipGroup.d.ts.map +1 -1
  57. package/dist/features/chip/adapters/inbound/ChipGroup.js +3 -3
  58. package/dist/features/chip/adapters/inbound/ChipGroup.js.map +1 -1
  59. package/dist/features/content-rail/adapters/inbound/ContentRail.d.ts.map +1 -0
  60. package/dist/features/{layout → content-rail}/adapters/inbound/ContentRail.js +9 -10
  61. package/dist/features/content-rail/adapters/inbound/ContentRail.js.map +1 -0
  62. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.d.ts.map +1 -0
  63. package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js.map +1 -0
  64. package/dist/features/content-rail/constants.d.ts +2 -0
  65. package/dist/features/content-rail/constants.d.ts.map +1 -0
  66. package/dist/features/content-rail/constants.js +2 -0
  67. package/dist/features/content-rail/constants.js.map +1 -0
  68. package/dist/features/{layout → content-rail}/contentRailMeta.d.ts +2 -2
  69. package/dist/features/content-rail/contentRailMeta.d.ts.map +1 -0
  70. package/dist/features/content-rail/contentRailMeta.js.map +1 -0
  71. package/dist/features/content-rail/public.d.ts +3 -0
  72. package/dist/features/content-rail/public.d.ts.map +1 -0
  73. package/dist/features/content-rail/public.js +2 -0
  74. package/dist/features/content-rail/public.js.map +1 -0
  75. package/dist/features/content-rail/utils/resolveContentRailItemWidth.d.ts.map +1 -0
  76. package/dist/features/content-rail/utils/resolveContentRailItemWidth.js.map +1 -0
  77. package/dist/features/content-rail/utils/resolveContentRailPhysicalOffset.d.ts.map +1 -0
  78. package/dist/features/content-rail/utils/resolveContentRailPhysicalOffset.js.map +1 -0
  79. package/dist/features/content-rail/utils/resolveContentRailState.d.ts.map +1 -0
  80. package/dist/features/content-rail/utils/resolveContentRailState.js.map +1 -0
  81. package/dist/features/content-rail/utils/useContentRailReducedMotion.d.ts.map +1 -0
  82. package/dist/features/content-rail/utils/useContentRailReducedMotion.js.map +1 -0
  83. package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
  84. package/dist/features/data-table/adapters/inbound/DataTable.js +32 -32
  85. package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
  86. package/dist/features/date-picker/composition/DatePickerContent.js +16 -16
  87. package/dist/features/date-picker/composition/DatePickerContent.js.map +1 -1
  88. package/dist/features/date-picker/composition/DatePickerField.js +3 -3
  89. package/dist/features/date-picker/composition/DatePickerField.js.map +1 -1
  90. package/dist/features/dialog/adapters/inbound/Dialog.js +9 -9
  91. package/dist/features/dialog/adapters/inbound/Dialog.js.map +1 -1
  92. package/dist/features/dialog/dialogMeta.d.ts +2 -2
  93. package/dist/features/empty-state/adapters/inbound/EmptyState.js +5 -5
  94. package/dist/features/empty-state/adapters/inbound/EmptyState.js.map +1 -1
  95. package/dist/features/form/adapters/inbound/Form.js +3 -3
  96. package/dist/features/form/adapters/inbound/Form.js.map +1 -1
  97. package/dist/features/form/adapters/inbound/FormActions.js +4 -4
  98. package/dist/features/form/adapters/inbound/FormActions.js.map +1 -1
  99. package/dist/features/form/adapters/inbound/FormError.js +3 -3
  100. package/dist/features/form/adapters/inbound/FormError.js.map +1 -1
  101. package/dist/features/form/adapters/inbound/FormField.js +3 -3
  102. package/dist/features/form/adapters/inbound/FormField.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/radio/adapters/inbound/RadioGroup.js +10 -10
  107. package/dist/features/form/radio/adapters/inbound/RadioGroup.js.map +1 -1
  108. package/dist/features/form/select/adapters/inbound/Select.web.js +3 -3
  109. package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
  110. package/dist/features/gradient/adapters/inbound/Gradient.js +5 -5
  111. package/dist/features/gradient/adapters/inbound/Gradient.js.map +1 -1
  112. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  113. package/dist/features/hero/adapters/inbound/Hero.js +12 -12
  114. package/dist/features/hero/adapters/inbound/Hero.js.map +1 -1
  115. package/dist/features/image/adapters/inbound/Image.js +3 -3
  116. package/dist/features/image/adapters/inbound/Image.js.map +1 -1
  117. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  118. package/dist/features/layout/adapters/inbound/AppShell.d.ts +5 -0
  119. package/dist/features/layout/adapters/inbound/AppShell.d.ts.map +1 -0
  120. package/dist/features/layout/adapters/inbound/AppShell.js +20 -0
  121. package/dist/features/layout/adapters/inbound/AppShell.js.map +1 -0
  122. package/dist/features/layout/adapters/inbound/Screen.d.ts +5 -0
  123. package/dist/features/layout/adapters/inbound/Screen.d.ts.map +1 -0
  124. package/dist/features/layout/adapters/inbound/Screen.js +22 -0
  125. package/dist/features/layout/adapters/inbound/Screen.js.map +1 -0
  126. package/dist/features/layout/adapters/inbound/ScreenSection.d.ts +5 -0
  127. package/dist/features/layout/adapters/inbound/ScreenSection.d.ts.map +1 -0
  128. package/dist/features/layout/adapters/inbound/ScreenSection.js +13 -0
  129. package/dist/features/layout/adapters/inbound/ScreenSection.js.map +1 -0
  130. package/dist/features/layout/adapters/inbound/ScrollView.d.ts +5 -0
  131. package/dist/features/layout/adapters/inbound/ScrollView.d.ts.map +1 -0
  132. package/dist/features/layout/adapters/inbound/ScrollView.js +10 -0
  133. package/dist/features/layout/adapters/inbound/ScrollView.js.map +1 -0
  134. package/dist/features/layout/adapters/inbound/View.d.ts +5 -0
  135. package/dist/features/layout/adapters/inbound/View.d.ts.map +1 -0
  136. package/dist/features/layout/adapters/inbound/View.js +10 -0
  137. package/dist/features/layout/adapters/inbound/View.js.map +1 -0
  138. package/dist/{layout/app-shell/meta.d.ts → features/layout/appShellMeta.d.ts} +1 -1
  139. package/dist/features/layout/appShellMeta.d.ts.map +1 -0
  140. package/dist/{layout/app-shell/meta.js → features/layout/appShellMeta.js} +1 -1
  141. package/dist/features/layout/appShellMeta.js.map +1 -0
  142. package/dist/features/layout/constants.d.ts +0 -1
  143. package/dist/features/layout/constants.d.ts.map +1 -1
  144. package/dist/features/layout/constants.js +0 -1
  145. package/dist/features/layout/constants.js.map +1 -1
  146. package/dist/features/layout/gridMeta.d.ts +1 -1
  147. package/dist/features/layout/public.d.ts +6 -6
  148. package/dist/features/layout/public.d.ts.map +1 -1
  149. package/dist/features/layout/public.js +5 -4
  150. package/dist/features/layout/public.js.map +1 -1
  151. package/dist/{layout/screen/meta.d.ts → features/layout/screenMeta.d.ts} +2 -2
  152. package/dist/features/layout/screenMeta.d.ts.map +1 -0
  153. package/dist/{layout/screen/meta.js → features/layout/screenMeta.js} +1 -1
  154. package/dist/features/layout/screenMeta.js.map +1 -0
  155. package/dist/{layout/screen-section/meta.d.ts → features/layout/screenSectionMeta.d.ts} +2 -2
  156. package/dist/features/layout/screenSectionMeta.d.ts.map +1 -0
  157. package/dist/{layout/screen-section/meta.js → features/layout/screenSectionMeta.js} +1 -1
  158. package/dist/features/layout/screenSectionMeta.js.map +1 -0
  159. package/dist/features/layout/{boxMeta.d.ts → scrollViewMeta.d.ts} +8 -15
  160. package/dist/features/layout/scrollViewMeta.d.ts.map +1 -0
  161. package/dist/features/layout/{boxMeta.js → scrollViewMeta.js} +4 -6
  162. package/dist/features/layout/scrollViewMeta.js.map +1 -0
  163. package/dist/features/layout/{stackMeta.d.ts → viewMeta.d.ts} +24 -4
  164. package/dist/features/layout/viewMeta.d.ts.map +1 -0
  165. package/dist/features/layout/{stackMeta.js → viewMeta.js} +8 -3
  166. package/dist/features/layout/viewMeta.js.map +1 -0
  167. package/dist/features/list/flatListMeta.d.ts +1 -1
  168. package/dist/features/list/sectionListMeta.d.ts +1 -1
  169. package/dist/features/missing-element/adapters/inbound/MissingElement.js +5 -5
  170. package/dist/features/missing-element/adapters/inbound/MissingElement.js.map +1 -1
  171. package/dist/features/pagination/adapters/inbound/Pagination.js +3 -3
  172. package/dist/features/pagination/adapters/inbound/Pagination.js.map +1 -1
  173. package/dist/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.d.ts +1 -1
  174. package/dist/features/palette-item/adapters/inbound/PaletteItem.d.ts.map +1 -0
  175. package/dist/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.js +10 -10
  176. package/dist/features/palette-item/adapters/inbound/PaletteItem.js.map +1 -0
  177. package/dist/features/palette-item/paletteItemMeta.d.ts +9 -0
  178. package/dist/features/palette-item/paletteItemMeta.d.ts.map +1 -0
  179. package/dist/features/palette-item/paletteItemMeta.js +9 -0
  180. package/dist/features/palette-item/paletteItemMeta.js.map +1 -0
  181. package/dist/features/palette-item/public.d.ts +3 -0
  182. package/dist/features/palette-item/public.d.ts.map +1 -0
  183. package/dist/features/palette-item/public.js +2 -0
  184. package/dist/features/palette-item/public.js.map +1 -0
  185. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js +2 -2
  186. package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js.map +1 -1
  187. package/dist/features/progress/adapters/inbound/Progress.js +4 -4
  188. package/dist/features/progress/adapters/inbound/Progress.js.map +1 -1
  189. package/dist/features/progress/adapters/inbound/ProgressRing.js +10 -10
  190. package/dist/features/progress/adapters/inbound/ProgressRing.js.map +1 -1
  191. package/dist/features/rating/adapters/inbound/Rating.d.ts.map +1 -1
  192. package/dist/features/rating/adapters/inbound/Rating.js +3 -3
  193. package/dist/features/rating/adapters/inbound/Rating.js.map +1 -1
  194. package/dist/features/skeleton/adapters/inbound/Skeleton.js +2 -2
  195. package/dist/features/skeleton/adapters/inbound/Skeleton.js.map +1 -1
  196. package/dist/features/skeleton/adapters/inbound/SkeletonCard.js +5 -5
  197. package/dist/features/skeleton/adapters/inbound/SkeletonCard.js.map +1 -1
  198. package/dist/features/skeleton/adapters/inbound/SkeletonText.js +3 -3
  199. package/dist/features/skeleton/adapters/inbound/SkeletonText.js.map +1 -1
  200. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  201. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  202. package/dist/features/time-picker/composition/TimePickerContent.js +7 -7
  203. package/dist/features/time-picker/composition/TimePickerContent.js.map +1 -1
  204. package/dist/features/time-picker/composition/TimePickerField.js +3 -3
  205. package/dist/features/time-picker/composition/TimePickerField.js.map +1 -1
  206. package/dist/features/toolbar/adapters/inbound/Toolbar.js +3 -3
  207. package/dist/features/toolbar/adapters/inbound/Toolbar.js.map +1 -1
  208. package/dist/features/uploader/adapters/inbound/Uploader.js +19 -19
  209. package/dist/features/uploader/adapters/inbound/Uploader.js.map +1 -1
  210. package/dist/index.d.ts +6 -22
  211. package/dist/index.d.ts.map +1 -1
  212. package/dist/index.js +3 -11
  213. package/dist/index.js.map +1 -1
  214. package/dist/metadata/allowedChildren.d.ts +4 -4
  215. package/dist/metadata/allowedChildren.d.ts.map +1 -1
  216. package/dist/metadata/allowedChildren.js +4 -6
  217. package/dist/metadata/allowedChildren.js.map +1 -1
  218. package/dist/metadata/bindableComponentMeta.d.ts +2 -2
  219. package/dist/metadata/componentMeta.d.ts.map +1 -1
  220. package/dist/metadata/componentMeta.js +9 -22
  221. package/dist/metadata/componentMeta.js.map +1 -1
  222. package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +1 -1
  223. package/dist/patterns/chat-list-item/ChatListItem.js +22 -23
  224. package/dist/patterns/chat-list-item/ChatListItem.js.map +1 -1
  225. package/dist/patterns/collection-editor/CollectionEditor.js +12 -12
  226. package/dist/patterns/collection-editor/CollectionEditor.js.map +1 -1
  227. package/dist/patterns/confirm-dialog/ConfirmDialog.js +3 -3
  228. package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +1 -1
  229. package/dist/patterns/filter-bar/FilterBar.d.ts.map +1 -1
  230. package/dist/patterns/filter-bar/FilterBar.js +6 -7
  231. package/dist/patterns/filter-bar/FilterBar.js.map +1 -1
  232. package/dist/patterns/inspector-field/InspectorField.js +5 -5
  233. package/dist/patterns/inspector-field/InspectorField.js.map +1 -1
  234. package/dist/patterns/list/List.d.ts.map +1 -1
  235. package/dist/patterns/list/List.js +6 -7
  236. package/dist/patterns/list/List.js.map +1 -1
  237. package/dist/patterns/list/ListRow.d.ts.map +1 -1
  238. package/dist/patterns/list/ListRow.js +16 -17
  239. package/dist/patterns/list/ListRow.js.map +1 -1
  240. package/dist/patterns/list/ListSection.js +3 -3
  241. package/dist/patterns/list/ListSection.js.map +1 -1
  242. package/dist/patterns/message-bubble/MessageBubble.d.ts.map +1 -1
  243. package/dist/patterns/message-bubble/MessageBubble.js +21 -20
  244. package/dist/patterns/message-bubble/MessageBubble.js.map +1 -1
  245. package/dist/patterns/message-bubble/meta.d.ts +1 -1
  246. package/dist/patterns/notice/Notice.js +5 -5
  247. package/dist/patterns/notice/Notice.js.map +1 -1
  248. package/dist/patterns/notice/meta.d.ts +1 -1
  249. package/dist/patterns/panel/meta.d.ts +1 -1
  250. package/dist/patterns/reader/ReaderSurface.d.ts.map +1 -1
  251. package/dist/patterns/reader/ReaderSurface.js +18 -19
  252. package/dist/patterns/reader/ReaderSurface.js.map +1 -1
  253. package/dist/patterns/reader/meta.d.ts +2 -2
  254. package/dist/patterns/scanner/BarcodeScannerView.js +7 -7
  255. package/dist/patterns/scanner/BarcodeScannerView.js.map +1 -1
  256. package/dist/patterns/scanner/CameraPermissionView.js +5 -5
  257. package/dist/patterns/scanner/CameraPermissionView.js.map +1 -1
  258. package/dist/patterns/scanner/ScanOverlay.js +8 -8
  259. package/dist/patterns/scanner/ScanOverlay.js.map +1 -1
  260. package/dist/patterns/scanner/meta.d.ts +2 -2
  261. package/dist/patterns/section-header/SectionHeader.js +8 -8
  262. package/dist/patterns/section-header/SectionHeader.js.map +1 -1
  263. package/dist/patterns/switch-field/SwitchField.d.ts +1 -1
  264. package/dist/patterns/switch-field/SwitchField.js +3 -3
  265. package/dist/patterns/switch-field/SwitchField.js.map +1 -1
  266. package/dist/patterns/theme-composer/ThemeComposer.js +30 -30
  267. package/dist/patterns/theme-composer/ThemeComposer.js.map +1 -1
  268. package/dist/patterns/timeline/Timeline.d.ts.map +1 -1
  269. package/dist/patterns/timeline/Timeline.js +14 -15
  270. package/dist/patterns/timeline/Timeline.js.map +1 -1
  271. package/dist/patterns/tree-view/TreeItem.d.ts.map +1 -1
  272. package/dist/patterns/tree-view/TreeItem.js +9 -9
  273. package/dist/patterns/tree-view/TreeItem.js.map +1 -1
  274. package/dist/patterns/tree-view/TreeView.js +3 -3
  275. package/dist/patterns/tree-view/TreeView.js.map +1 -1
  276. package/dist/registry.d.ts.map +1 -1
  277. package/dist/registry.js +5 -23
  278. package/dist/registry.js.map +1 -1
  279. package/dist/types/button-group.d.ts +2 -2
  280. package/dist/types/button-group.d.ts.map +1 -1
  281. package/dist/types/button-group.js.map +1 -1
  282. package/dist/types/gradient.d.ts +6 -6
  283. package/dist/types/gradient.d.ts.map +1 -1
  284. package/dist/types/gradient.js.map +1 -1
  285. package/dist/types/layout.d.ts +22 -4
  286. package/dist/types/layout.d.ts.map +1 -1
  287. package/dist/types/layout.js.map +1 -1
  288. package/dist/types/palette-item.d.ts +13 -0
  289. package/dist/types/palette-item.d.ts.map +1 -0
  290. package/dist/types/palette-item.js +2 -0
  291. package/dist/types/palette-item.js.map +1 -0
  292. package/dist/types/skeleton.d.ts +5 -5
  293. package/dist/types/skeleton.d.ts.map +1 -1
  294. package/dist/types/skeleton.js.map +1 -1
  295. package/package.json +2 -2
  296. package/src/audit.test.ts +7 -11
  297. package/src/constants.ts +2 -1
  298. package/src/expo57Migration.test.ts +4 -3
  299. package/src/features/accordion/adapters/inbound/AccordionItem.tsx +19 -19
  300. package/src/features/app-bar/adapters/inbound/AppBar.tsx +6 -7
  301. package/src/features/auth/adapters/inbound/AuthForm.tsx +3 -3
  302. package/src/features/auth/adapters/inbound/ForgotPasswordForm.tsx +3 -3
  303. package/src/features/auth/adapters/inbound/OAuthProviderList.tsx +3 -3
  304. package/src/features/auth/adapters/inbound/OtpForm.tsx +3 -3
  305. package/src/features/auth/adapters/inbound/SignInForm.tsx +3 -3
  306. package/src/features/auth/adapters/inbound/SignUpForm.tsx +3 -3
  307. package/src/features/avatar/adapters/inbound/Avatar.tsx +3 -3
  308. package/src/features/avatar/adapters/inbound/AvatarGroup.tsx +7 -7
  309. package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +3 -3
  310. package/src/features/bottom-sheet/public.test.ts +1 -1
  311. package/src/features/breadcrumbs/adapters/inbound/Breadcrumbs.tsx +5 -5
  312. package/src/features/button/adapters/inbound/ButtonGroup.tsx +3 -3
  313. package/src/features/card/adapters/inbound/Card.tsx +12 -12
  314. package/src/features/card/adapters/inbound/MediaCard.tsx +21 -21
  315. package/src/features/card/adapters/inbound/MetricCard.tsx +10 -11
  316. package/src/features/card/adapters/inbound/PostCard.tsx +37 -38
  317. package/src/features/card/adapters/inbound/ProductCard.tsx +17 -18
  318. package/src/features/chip/adapters/inbound/Chip.tsx +5 -6
  319. package/src/features/chip/adapters/inbound/ChipGroup.tsx +3 -3
  320. package/src/features/{layout → content-rail}/adapters/inbound/ContentRail.test.ts +3 -1
  321. package/src/features/{layout → content-rail}/adapters/inbound/ContentRail.tsx +9 -10
  322. package/src/features/content-rail/constants.ts +1 -0
  323. package/src/features/content-rail/public.ts +10 -0
  324. package/src/features/data-table/adapters/inbound/DataTable.tsx +32 -32
  325. package/src/features/date-picker/composition/DatePickerContent.tsx +16 -16
  326. package/src/features/date-picker/composition/DatePickerField.tsx +3 -3
  327. package/src/features/dialog/adapters/inbound/Dialog.tsx +9 -9
  328. package/src/features/empty-state/adapters/inbound/EmptyState.tsx +5 -5
  329. package/src/features/form/adapters/inbound/Form.tsx +3 -3
  330. package/src/features/form/adapters/inbound/FormActions.tsx +4 -4
  331. package/src/features/form/adapters/inbound/FormError.tsx +3 -3
  332. package/src/features/form/adapters/inbound/FormField.tsx +3 -3
  333. package/src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx +5 -6
  334. package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +10 -10
  335. package/src/features/form/select/adapters/inbound/Select.web.tsx +3 -3
  336. package/src/features/gradient/adapters/inbound/Gradient.tsx +5 -5
  337. package/src/features/hero/adapters/inbound/Hero.tsx +12 -12
  338. package/src/features/icon/utils/meta.test.ts +2 -3
  339. package/src/features/image/adapters/inbound/Image.tsx +3 -3
  340. package/src/features/layout/adapters/inbound/AppShell.test.ts +24 -0
  341. package/src/features/layout/adapters/inbound/AppShell.tsx +44 -0
  342. package/src/features/layout/adapters/inbound/Screen.tsx +50 -0
  343. package/src/{layout/screen-section → features/layout/adapters/inbound}/ScreenSection.tsx +7 -11
  344. package/src/features/layout/adapters/inbound/ScrollView.tsx +18 -0
  345. package/src/features/layout/adapters/inbound/View.tsx +18 -0
  346. package/src/features/layout/constants.ts +0 -2
  347. package/src/features/layout/public.test.ts +55 -0
  348. package/src/features/layout/public.ts +10 -16
  349. package/src/features/layout/{containerMeta.ts → scrollViewMeta.ts} +6 -3
  350. package/src/features/layout/{stackMeta.ts → viewMeta.ts} +7 -2
  351. package/src/features/missing-element/adapters/inbound/MissingElement.tsx +5 -5
  352. package/src/features/pagination/adapters/inbound/Pagination.tsx +3 -3
  353. package/src/{patterns/tile-grid → features/palette-item/adapters/inbound}/PaletteItem.tsx +11 -11
  354. package/src/{layout/sidebar-layout/meta.ts → features/palette-item/paletteItemMeta.ts} +4 -4
  355. package/src/features/palette-item/public.ts +2 -0
  356. package/src/features/popover-menu/adapters/inbound/PopoverMenu.tsx +2 -2
  357. package/src/features/progress/adapters/inbound/Progress.tsx +4 -4
  358. package/src/features/progress/adapters/inbound/ProgressRing.tsx +10 -10
  359. package/src/features/rating/adapters/inbound/Rating.tsx +3 -3
  360. package/src/features/skeleton/adapters/inbound/Skeleton.tsx +2 -2
  361. package/src/features/skeleton/adapters/inbound/SkeletonCard.tsx +5 -5
  362. package/src/features/skeleton/adapters/inbound/SkeletonText.tsx +3 -3
  363. package/src/features/time-picker/composition/TimePickerContent.tsx +7 -7
  364. package/src/features/time-picker/composition/TimePickerField.tsx +3 -3
  365. package/src/features/toolbar/adapters/inbound/Toolbar.tsx +3 -3
  366. package/src/features/uploader/adapters/inbound/Uploader.tsx +19 -19
  367. package/src/index.ts +25 -31
  368. package/src/interactionPolicy.test.ts +1 -1
  369. package/src/metadata/allowedChildren.ts +4 -6
  370. package/src/metadata/componentMeta.test.ts +4 -6
  371. package/src/metadata/componentMeta.ts +9 -22
  372. package/src/metadata/radioGroupReachability.test.ts +2 -2
  373. package/src/patterns/chat-list-item/ChatListItem.tsx +22 -23
  374. package/src/patterns/collection-editor/CollectionEditor.tsx +13 -13
  375. package/src/patterns/confirm-dialog/ConfirmDialog.tsx +3 -3
  376. package/src/patterns/filter-bar/FilterBar.tsx +6 -7
  377. package/src/patterns/inspector-field/InspectorField.tsx +5 -5
  378. package/src/patterns/list/List.tsx +6 -7
  379. package/src/patterns/list/ListRow.tsx +16 -17
  380. package/src/patterns/list/ListSection.tsx +3 -3
  381. package/src/patterns/message-bubble/MessageBubble.tsx +23 -20
  382. package/src/patterns/notice/Notice.tsx +5 -5
  383. package/src/patterns/reader/ReaderSurface.tsx +18 -19
  384. package/src/patterns/scanner/BarcodeScannerView.tsx +7 -7
  385. package/src/patterns/scanner/CameraPermissionView.tsx +5 -5
  386. package/src/patterns/scanner/ScanOverlay.tsx +8 -8
  387. package/src/patterns/section-header/SectionHeader.tsx +8 -8
  388. package/src/patterns/switch-field/SwitchField.tsx +4 -4
  389. package/src/patterns/theme-composer/ThemeComposer.tsx +30 -30
  390. package/src/patterns/timeline/Timeline.tsx +21 -15
  391. package/src/patterns/tree-view/TreeItem.tsx +12 -11
  392. package/src/patterns/tree-view/TreeView.tsx +3 -3
  393. package/src/platformAcceptance.test.ts +1 -1
  394. package/src/registry.test.ts +1 -1
  395. package/src/registry.ts +13 -23
  396. package/src/showcaseCoverage.test.ts +2 -22
  397. package/src/theme/themeScopeStructure.test.ts +10 -31
  398. package/src/types/button-group.ts +2 -2
  399. package/src/types/gradient.ts +6 -6
  400. package/src/types/layout.ts +28 -7
  401. package/src/types/palette-item.ts +14 -0
  402. package/src/types/skeleton.ts +5 -5
  403. package/dist/features/layout/adapters/inbound/Box.d.ts +0 -5
  404. package/dist/features/layout/adapters/inbound/Box.d.ts.map +0 -1
  405. package/dist/features/layout/adapters/inbound/Box.js +0 -10
  406. package/dist/features/layout/adapters/inbound/Box.js.map +0 -1
  407. package/dist/features/layout/adapters/inbound/Container.d.ts +0 -5
  408. package/dist/features/layout/adapters/inbound/Container.d.ts.map +0 -1
  409. package/dist/features/layout/adapters/inbound/Container.js +0 -10
  410. package/dist/features/layout/adapters/inbound/Container.js.map +0 -1
  411. package/dist/features/layout/adapters/inbound/ContentRail.d.ts.map +0 -1
  412. package/dist/features/layout/adapters/inbound/ContentRail.js.map +0 -1
  413. package/dist/features/layout/adapters/inbound/ContentRailFlow.d.ts.map +0 -1
  414. package/dist/features/layout/adapters/inbound/ContentRailFlow.js.map +0 -1
  415. package/dist/features/layout/adapters/inbound/Stack.d.ts +0 -5
  416. package/dist/features/layout/adapters/inbound/Stack.d.ts.map +0 -1
  417. package/dist/features/layout/adapters/inbound/Stack.js +0 -10
  418. package/dist/features/layout/adapters/inbound/Stack.js.map +0 -1
  419. package/dist/features/layout/boxMeta.d.ts.map +0 -1
  420. package/dist/features/layout/boxMeta.js.map +0 -1
  421. package/dist/features/layout/containerMeta.d.ts +0 -55
  422. package/dist/features/layout/containerMeta.d.ts.map +0 -1
  423. package/dist/features/layout/containerMeta.js +0 -10
  424. package/dist/features/layout/containerMeta.js.map +0 -1
  425. package/dist/features/layout/contentRailMeta.d.ts.map +0 -1
  426. package/dist/features/layout/contentRailMeta.js.map +0 -1
  427. package/dist/features/layout/stackMeta.d.ts.map +0 -1
  428. package/dist/features/layout/stackMeta.js.map +0 -1
  429. package/dist/features/layout/utils/resolveContentRailItemWidth.d.ts.map +0 -1
  430. package/dist/features/layout/utils/resolveContentRailItemWidth.js.map +0 -1
  431. package/dist/features/layout/utils/resolveContentRailPhysicalOffset.d.ts.map +0 -1
  432. package/dist/features/layout/utils/resolveContentRailPhysicalOffset.js.map +0 -1
  433. package/dist/features/layout/utils/resolveContentRailState.d.ts.map +0 -1
  434. package/dist/features/layout/utils/resolveContentRailState.js.map +0 -1
  435. package/dist/features/layout/utils/useContentRailReducedMotion.d.ts.map +0 -1
  436. package/dist/features/layout/utils/useContentRailReducedMotion.js.map +0 -1
  437. package/dist/foundation/Center.d.ts +0 -12
  438. package/dist/foundation/Center.d.ts.map +0 -1
  439. package/dist/foundation/Center.js +0 -13
  440. package/dist/foundation/Center.js.map +0 -1
  441. package/dist/foundation/Inline.d.ts +0 -12
  442. package/dist/foundation/Inline.d.ts.map +0 -1
  443. package/dist/foundation/Inline.js +0 -13
  444. package/dist/foundation/Inline.js.map +0 -1
  445. package/dist/foundation/Show.d.ts +0 -12
  446. package/dist/foundation/Show.d.ts.map +0 -1
  447. package/dist/foundation/Show.js +0 -13
  448. package/dist/foundation/Show.js.map +0 -1
  449. package/dist/foundation/Spacer.d.ts +0 -12
  450. package/dist/foundation/Spacer.d.ts.map +0 -1
  451. package/dist/foundation/Spacer.js +0 -13
  452. package/dist/foundation/Spacer.js.map +0 -1
  453. package/dist/foundation/index.d.ts +0 -9
  454. package/dist/foundation/index.d.ts.map +0 -1
  455. package/dist/foundation/index.js +0 -5
  456. package/dist/foundation/index.js.map +0 -1
  457. package/dist/foundation/meta.d.ts +0 -35
  458. package/dist/foundation/meta.d.ts.map +0 -1
  459. package/dist/foundation/meta.js +0 -35
  460. package/dist/foundation/meta.js.map +0 -1
  461. package/dist/layout/app-shell/AppShell.d.ts +0 -16
  462. package/dist/layout/app-shell/AppShell.d.ts.map +0 -1
  463. package/dist/layout/app-shell/AppShell.js +0 -50
  464. package/dist/layout/app-shell/AppShell.js.map +0 -1
  465. package/dist/layout/app-shell/index.d.ts +0 -3
  466. package/dist/layout/app-shell/index.d.ts.map +0 -1
  467. package/dist/layout/app-shell/index.js +0 -2
  468. package/dist/layout/app-shell/index.js.map +0 -1
  469. package/dist/layout/app-shell/meta.d.ts.map +0 -1
  470. package/dist/layout/app-shell/meta.js.map +0 -1
  471. package/dist/layout/app-shell/types.d.ts +0 -9
  472. package/dist/layout/app-shell/types.d.ts.map +0 -1
  473. package/dist/layout/app-shell/types.js +0 -2
  474. package/dist/layout/app-shell/types.js.map +0 -1
  475. package/dist/layout/screen/Screen.d.ts +0 -11
  476. package/dist/layout/screen/Screen.d.ts.map +0 -1
  477. package/dist/layout/screen/Screen.js +0 -30
  478. package/dist/layout/screen/Screen.js.map +0 -1
  479. package/dist/layout/screen/index.d.ts +0 -3
  480. package/dist/layout/screen/index.d.ts.map +0 -1
  481. package/dist/layout/screen/index.js +0 -2
  482. package/dist/layout/screen/index.js.map +0 -1
  483. package/dist/layout/screen/meta.d.ts.map +0 -1
  484. package/dist/layout/screen/meta.js.map +0 -1
  485. package/dist/layout/screen/types.d.ts +0 -10
  486. package/dist/layout/screen/types.d.ts.map +0 -1
  487. package/dist/layout/screen/types.js +0 -2
  488. package/dist/layout/screen/types.js.map +0 -1
  489. package/dist/layout/screen-section/ScreenSection.d.ts +0 -9
  490. package/dist/layout/screen-section/ScreenSection.d.ts.map +0 -1
  491. package/dist/layout/screen-section/ScreenSection.js +0 -17
  492. package/dist/layout/screen-section/ScreenSection.js.map +0 -1
  493. package/dist/layout/screen-section/index.d.ts +0 -3
  494. package/dist/layout/screen-section/index.d.ts.map +0 -1
  495. package/dist/layout/screen-section/index.js +0 -2
  496. package/dist/layout/screen-section/index.js.map +0 -1
  497. package/dist/layout/screen-section/meta.d.ts.map +0 -1
  498. package/dist/layout/screen-section/meta.js.map +0 -1
  499. package/dist/layout/screen-section/types.d.ts +0 -9
  500. package/dist/layout/screen-section/types.d.ts.map +0 -1
  501. package/dist/layout/screen-section/types.js +0 -2
  502. package/dist/layout/screen-section/types.js.map +0 -1
  503. package/dist/layout/settings-layout/SettingsLayout.d.ts +0 -7
  504. package/dist/layout/settings-layout/SettingsLayout.d.ts.map +0 -1
  505. package/dist/layout/settings-layout/SettingsLayout.js +0 -18
  506. package/dist/layout/settings-layout/SettingsLayout.js.map +0 -1
  507. package/dist/layout/settings-layout/index.d.ts +0 -3
  508. package/dist/layout/settings-layout/index.d.ts.map +0 -1
  509. package/dist/layout/settings-layout/index.js +0 -2
  510. package/dist/layout/settings-layout/index.js.map +0 -1
  511. package/dist/layout/settings-layout/meta.d.ts +0 -9
  512. package/dist/layout/settings-layout/meta.d.ts.map +0 -1
  513. package/dist/layout/settings-layout/meta.js +0 -9
  514. package/dist/layout/settings-layout/meta.js.map +0 -1
  515. package/dist/layout/settings-layout/types.d.ts +0 -10
  516. package/dist/layout/settings-layout/types.d.ts.map +0 -1
  517. package/dist/layout/settings-layout/types.js +0 -2
  518. package/dist/layout/settings-layout/types.js.map +0 -1
  519. package/dist/layout/sidebar-layout/SidebarLayout.d.ts +0 -11
  520. package/dist/layout/sidebar-layout/SidebarLayout.d.ts.map +0 -1
  521. package/dist/layout/sidebar-layout/SidebarLayout.js +0 -27
  522. package/dist/layout/sidebar-layout/SidebarLayout.js.map +0 -1
  523. package/dist/layout/sidebar-layout/index.d.ts +0 -3
  524. package/dist/layout/sidebar-layout/index.d.ts.map +0 -1
  525. package/dist/layout/sidebar-layout/index.js +0 -2
  526. package/dist/layout/sidebar-layout/index.js.map +0 -1
  527. package/dist/layout/sidebar-layout/meta.d.ts +0 -9
  528. package/dist/layout/sidebar-layout/meta.d.ts.map +0 -1
  529. package/dist/layout/sidebar-layout/meta.js +0 -9
  530. package/dist/layout/sidebar-layout/meta.js.map +0 -1
  531. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.d.ts +0 -14
  532. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.d.ts.map +0 -1
  533. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.js +0 -16
  534. package/dist/layout/sidebar-layout/resolveSidebarLayoutSizing.js.map +0 -1
  535. package/dist/layout/sidebar-layout/types.d.ts +0 -12
  536. package/dist/layout/sidebar-layout/types.d.ts.map +0 -1
  537. package/dist/layout/sidebar-layout/types.js +0 -2
  538. package/dist/layout/sidebar-layout/types.js.map +0 -1
  539. package/dist/layout/topbar-layout/TopbarLayout.d.ts +0 -9
  540. package/dist/layout/topbar-layout/TopbarLayout.d.ts.map +0 -1
  541. package/dist/layout/topbar-layout/TopbarLayout.js +0 -17
  542. package/dist/layout/topbar-layout/TopbarLayout.js.map +0 -1
  543. package/dist/layout/topbar-layout/index.d.ts +0 -3
  544. package/dist/layout/topbar-layout/index.d.ts.map +0 -1
  545. package/dist/layout/topbar-layout/index.js +0 -2
  546. package/dist/layout/topbar-layout/index.js.map +0 -1
  547. package/dist/layout/topbar-layout/meta.d.ts +0 -9
  548. package/dist/layout/topbar-layout/meta.d.ts.map +0 -1
  549. package/dist/layout/topbar-layout/meta.js +0 -9
  550. package/dist/layout/topbar-layout/meta.js.map +0 -1
  551. package/dist/layout/topbar-layout/types.d.ts +0 -8
  552. package/dist/layout/topbar-layout/types.d.ts.map +0 -1
  553. package/dist/layout/topbar-layout/types.js +0 -2
  554. package/dist/layout/topbar-layout/types.js.map +0 -1
  555. package/dist/patterns/settings-row/SettingsRow.d.ts +0 -9
  556. package/dist/patterns/settings-row/SettingsRow.d.ts.map +0 -1
  557. package/dist/patterns/settings-row/SettingsRow.js +0 -24
  558. package/dist/patterns/settings-row/SettingsRow.js.map +0 -1
  559. package/dist/patterns/settings-row/index.d.ts +0 -3
  560. package/dist/patterns/settings-row/index.d.ts.map +0 -1
  561. package/dist/patterns/settings-row/index.js +0 -2
  562. package/dist/patterns/settings-row/index.js.map +0 -1
  563. package/dist/patterns/settings-row/meta.d.ts +0 -39
  564. package/dist/patterns/settings-row/meta.d.ts.map +0 -1
  565. package/dist/patterns/settings-row/meta.js +0 -39
  566. package/dist/patterns/settings-row/meta.js.map +0 -1
  567. package/dist/patterns/settings-row/types.d.ts +0 -23
  568. package/dist/patterns/settings-row/types.d.ts.map +0 -1
  569. package/dist/patterns/settings-row/types.js +0 -2
  570. package/dist/patterns/settings-row/types.js.map +0 -1
  571. package/dist/patterns/tile-grid/PaletteItem.d.ts.map +0 -1
  572. package/dist/patterns/tile-grid/PaletteItem.js.map +0 -1
  573. package/dist/patterns/tile-grid/TileGrid.d.ts +0 -9
  574. package/dist/patterns/tile-grid/TileGrid.d.ts.map +0 -1
  575. package/dist/patterns/tile-grid/TileGrid.js +0 -33
  576. package/dist/patterns/tile-grid/TileGrid.js.map +0 -1
  577. package/dist/patterns/tile-grid/index.d.ts +0 -4
  578. package/dist/patterns/tile-grid/index.d.ts.map +0 -1
  579. package/dist/patterns/tile-grid/index.js +0 -4
  580. package/dist/patterns/tile-grid/index.js.map +0 -1
  581. package/dist/patterns/tile-grid/meta.d.ts +0 -17
  582. package/dist/patterns/tile-grid/meta.d.ts.map +0 -1
  583. package/dist/patterns/tile-grid/meta.js +0 -18
  584. package/dist/patterns/tile-grid/meta.js.map +0 -1
  585. package/dist/patterns/tile-grid/types.d.ts +0 -18
  586. package/dist/patterns/tile-grid/types.d.ts.map +0 -1
  587. package/dist/patterns/tile-grid/types.js +0 -2
  588. package/dist/patterns/tile-grid/types.js.map +0 -1
  589. package/src/features/layout/adapters/inbound/Box.tsx +0 -18
  590. package/src/features/layout/adapters/inbound/Container.tsx +0 -18
  591. package/src/features/layout/adapters/inbound/Stack.tsx +0 -18
  592. package/src/features/layout/boxMeta.ts +0 -16
  593. package/src/foundation/Center.tsx +0 -26
  594. package/src/foundation/Inline.tsx +0 -26
  595. package/src/foundation/Show.tsx +0 -23
  596. package/src/foundation/Spacer.tsx +0 -26
  597. package/src/foundation/index.test.ts +0 -30
  598. package/src/foundation/index.ts +0 -8
  599. package/src/foundation/meta.ts +0 -36
  600. package/src/layout/app-shell/AppShell.test.ts +0 -24
  601. package/src/layout/app-shell/AppShell.tsx +0 -65
  602. package/src/layout/app-shell/index.ts +0 -2
  603. package/src/layout/app-shell/types.ts +0 -10
  604. package/src/layout/screen/Screen.test.ts +0 -22
  605. package/src/layout/screen/Screen.tsx +0 -47
  606. package/src/layout/screen/index.ts +0 -2
  607. package/src/layout/screen/types.ts +0 -11
  608. package/src/layout/screen-section/index.ts +0 -2
  609. package/src/layout/screen-section/types.ts +0 -10
  610. package/src/layout/settings-layout/SettingsLayout.tsx +0 -33
  611. package/src/layout/settings-layout/index.ts +0 -2
  612. package/src/layout/settings-layout/meta.ts +0 -10
  613. package/src/layout/settings-layout/types.ts +0 -11
  614. package/src/layout/sidebar-layout/SidebarLayout.test.ts +0 -35
  615. package/src/layout/sidebar-layout/SidebarLayout.tsx +0 -46
  616. package/src/layout/sidebar-layout/index.ts +0 -2
  617. package/src/layout/sidebar-layout/resolveSidebarLayoutSizing.ts +0 -18
  618. package/src/layout/sidebar-layout/types.ts +0 -14
  619. package/src/layout/topbar-layout/TopbarLayout.tsx +0 -30
  620. package/src/layout/topbar-layout/index.ts +0 -2
  621. package/src/layout/topbar-layout/meta.ts +0 -10
  622. package/src/layout/topbar-layout/types.ts +0 -9
  623. package/src/patterns/settings-row/SettingsRow.tsx +0 -53
  624. package/src/patterns/settings-row/index.ts +0 -2
  625. package/src/patterns/settings-row/meta.ts +0 -40
  626. package/src/patterns/settings-row/types.ts +0 -28
  627. package/src/patterns/tile-grid/TileGrid.tsx +0 -55
  628. package/src/patterns/tile-grid/index.ts +0 -3
  629. package/src/patterns/tile-grid/meta.ts +0 -21
  630. package/src/patterns/tile-grid/types.ts +0 -20
  631. /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRail.d.ts +0 -0
  632. /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.d.ts +0 -0
  633. /package/dist/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.js +0 -0
  634. /package/dist/features/{layout → content-rail}/contentRailMeta.js +0 -0
  635. /package/dist/features/{layout → content-rail}/utils/resolveContentRailItemWidth.d.ts +0 -0
  636. /package/dist/features/{layout → content-rail}/utils/resolveContentRailItemWidth.js +0 -0
  637. /package/dist/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.d.ts +0 -0
  638. /package/dist/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.js +0 -0
  639. /package/dist/features/{layout → content-rail}/utils/resolveContentRailState.d.ts +0 -0
  640. /package/dist/features/{layout → content-rail}/utils/resolveContentRailState.js +0 -0
  641. /package/dist/features/{layout → content-rail}/utils/useContentRailReducedMotion.d.ts +0 -0
  642. /package/dist/features/{layout → content-rail}/utils/useContentRailReducedMotion.js +0 -0
  643. /package/src/features/{layout → content-rail}/adapters/inbound/ContentRailFlow.tsx +0 -0
  644. /package/src/features/{layout → content-rail}/contentRailMeta.ts +0 -0
  645. /package/src/features/{layout → content-rail}/utils/resolveContentRailItemWidth.test.ts +0 -0
  646. /package/src/features/{layout → content-rail}/utils/resolveContentRailItemWidth.ts +0 -0
  647. /package/src/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.test.ts +0 -0
  648. /package/src/features/{layout → content-rail}/utils/resolveContentRailPhysicalOffset.ts +0 -0
  649. /package/src/features/{layout → content-rail}/utils/resolveContentRailState.test.ts +0 -0
  650. /package/src/features/{layout → content-rail}/utils/resolveContentRailState.ts +0 -0
  651. /package/src/features/{layout → content-rail}/utils/useContentRailReducedMotion.ts +0 -0
  652. /package/src/{layout/app-shell/meta.ts → features/layout/appShellMeta.ts} +0 -0
  653. /package/src/{layout/screen/meta.ts → features/layout/screenMeta.ts} +0 -0
  654. /package/src/{layout/screen-section/meta.ts → features/layout/screenSectionMeta.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/layout/settings-layout/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;CAOO,CAAC"}
@@ -1,9 +0,0 @@
1
- export const settingsLayoutMeta = {
2
- name: 'SettingsLayout',
3
- category: 'layout',
4
- directManifestNode: false,
5
- allowedChildren: [],
6
- note: 'Application layout; not represented as a manifest node in v1.',
7
- props: {},
8
- };
9
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/layout/settings-layout/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,gBAAgB;IACtB,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,+DAA+D;IACrE,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const settingsLayoutMeta = {\n name: 'SettingsLayout',\n category: 'layout',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Application layout; not represented as a manifest node in v1.',\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,10 +0,0 @@
1
- import type React from 'react';
2
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
3
- export interface SettingsLayoutProps extends ZoraBaseProps {
4
- title?: React.ReactNode;
5
- description?: React.ReactNode;
6
- sidebar: React.ReactNode;
7
- children?: React.ReactNode;
8
- actions?: React.ReactNode;
9
- }
10
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layout/settings-layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACxD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/layout/settings-layout/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface SettingsLayoutProps extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n sidebar: React.ReactNode;\n children?: React.ReactNode;\n actions?: React.ReactNode;\n}\n"]}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { SidebarLayoutProps } from './types';
3
- /***
4
- * Responsive layout with a sidebar and main content area (and optional aside).
5
- *
6
- * `sizing="content"` keeps normal content-flow behavior. Use `sizing="fill"` when the layout
7
- * should fill an already bounded parent so sidebar/content children receive the available space
8
- * for their own scrolling or gesture ownership.
9
- */
10
- export declare const SidebarLayout: (props: SidebarLayoutProps) => React.ReactElement | null;
11
- //# sourceMappingURL=SidebarLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SidebarLayout.d.ts","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/SidebarLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAiClD;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,0DAAyC,CAAC"}
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- import { Box, Stack } from '../../features/layout/public';
3
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
4
- import { resolveSidebarLayoutSizing } from './resolveSidebarLayoutSizing';
5
- function SidebarLayoutInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, sidebar, children, aside, sidebarWidth = 280, asideWidth = 280, sizing, testID, }) {
6
- const layoutSizing = resolveSidebarLayoutSizing(sizing);
7
- return (<Stack {...layoutSizing.root} direction={{ base: 'column', lg: 'row' }} gap="l" testID={testID}>
8
- <Box {...layoutSizing.child} width={{ base: '100%', lg: sidebarWidth }}>
9
- {sidebar}
10
- </Box>
11
- <Box {...layoutSizing.child} flex={1} width="100%">
12
- {children}
13
- </Box>
14
- {aside ? (<Box {...layoutSizing.child} width={{ base: '100%', lg: asideWidth }}>
15
- {aside}
16
- </Box>) : null}
17
- </Stack>);
18
- }
19
- /***
20
- * Responsive layout with a sidebar and main content area (and optional aside).
21
- *
22
- * `sizing="content"` keeps normal content-flow behavior. Use `sizing="fill"` when the layout
23
- * should fill an already bounded parent so sidebar/content children receive the available space
24
- * for their own scrolling or gesture ownership.
25
- */
26
- export const SidebarLayout = withZoraThemeScope(SidebarLayoutInner);
27
- //# sourceMappingURL=SidebarLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SidebarLayout.js","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/SidebarLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,SAAS,kBAAkB,CAAC,EAC1B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,OAAO,EACP,QAAQ,EACR,KAAK,EACL,YAAY,GAAG,GAAG,EAClB,UAAU,GAAG,GAAG,EAChB,MAAM,EACN,MAAM,GACa;IACnB,MAAM,YAAY,GAAG,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAExD,OAAO,CACL,CAAC,KAAK,CAAC,IAAI,YAAY,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAC7F;MAAA,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,YAAY,EAAE,CAAC,CACrE;QAAA,CAAC,OAAO,CACV;MAAA,EAAE,GAAG,CACL;MAAA,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAChD;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,GAAG,CACL;MAAA,CAAC,KAAK,CAAC,CAAC,CAAC,CACP,CAAC,GAAG,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,CACnE;UAAA,CAAC,KAAK,CACR;QAAA,EAAE,GAAG,CAAC,CACP,CAAC,CAAC,CAAC,IAAI,CACV;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Box, Stack } from '../../features/layout/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { resolveSidebarLayoutSizing } from './resolveSidebarLayoutSizing';\nimport type { SidebarLayoutProps } from './types';\n\nfunction SidebarLayoutInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n sidebar,\n children,\n aside,\n sidebarWidth = 280,\n asideWidth = 280,\n sizing,\n testID,\n}: SidebarLayoutProps) {\n const layoutSizing = resolveSidebarLayoutSizing(sizing);\n\n return (\n <Stack {...layoutSizing.root} direction={{ base: 'column', lg: 'row' }} gap=\"l\" testID={testID}>\n <Box {...layoutSizing.child} width={{ base: '100%', lg: sidebarWidth }}>\n {sidebar}\n </Box>\n <Box {...layoutSizing.child} flex={1} width=\"100%\">\n {children}\n </Box>\n {aside ? (\n <Box {...layoutSizing.child} width={{ base: '100%', lg: asideWidth }}>\n {aside}\n </Box>\n ) : null}\n </Stack>\n );\n}\n\n/***\n * Responsive layout with a sidebar and main content area (and optional aside).\n *\n * `sizing=\"content\"` keeps normal content-flow behavior. Use `sizing=\"fill\"` when the layout\n * should fill an already bounded parent so sidebar/content children receive the available space\n * for their own scrolling or gesture ownership.\n */\nexport const SidebarLayout = withZoraThemeScope(SidebarLayoutInner);\n"]}
@@ -1,3 +0,0 @@
1
- export { SidebarLayout } from './SidebarLayout';
2
- export type { SidebarLayoutProps } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export { SidebarLayout } from './SidebarLayout';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { SidebarLayout } from './SidebarLayout';\nexport type { SidebarLayoutProps } from './types';\n"]}
@@ -1,9 +0,0 @@
1
- export declare const sidebarLayoutMeta: {
2
- readonly name: "SidebarLayout";
3
- readonly category: "layout";
4
- readonly directManifestNode: false;
5
- readonly allowedChildren: readonly [];
6
- readonly note: "Application layout; not represented as a manifest node in v1.";
7
- readonly props: {};
8
- };
9
- //# sourceMappingURL=meta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;CAOQ,CAAC"}
@@ -1,9 +0,0 @@
1
- export const sidebarLayoutMeta = {
2
- name: 'SidebarLayout',
3
- category: 'layout',
4
- directManifestNode: false,
5
- allowedChildren: [],
6
- note: 'Application layout; not represented as a manifest node in v1.',
7
- props: {},
8
- };
9
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,+DAA+D;IACrE,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const sidebarLayoutMeta = {\n name: 'SidebarLayout',\n category: 'layout',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Application layout; not represented as a manifest node in v1.',\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,14 +0,0 @@
1
- import type { SidebarLayoutSizing } from './types';
2
- export declare function resolveSidebarLayoutSizing(sizing?: SidebarLayoutSizing): {
3
- readonly root: {
4
- readonly align: "flex-start" | "stretch";
5
- readonly flex: 1 | undefined;
6
- readonly minHeight: 0 | undefined;
7
- readonly minWidth: 0 | undefined;
8
- };
9
- readonly child: {
10
- readonly minHeight: 0 | undefined;
11
- readonly minWidth: 0 | undefined;
12
- };
13
- };
14
- //# sourceMappingURL=resolveSidebarLayoutSizing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveSidebarLayoutSizing.d.ts","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/resolveSidebarLayoutSizing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,0BAA0B,CAAC,MAAM,GAAE,mBAA+B;;;;;;;;;;;EAejF"}
@@ -1,16 +0,0 @@
1
- export function resolveSidebarLayoutSizing(sizing = 'content') {
2
- const fillsAvailableSpace = sizing === 'fill';
3
- return {
4
- root: {
5
- align: fillsAvailableSpace ? 'stretch' : 'flex-start',
6
- flex: fillsAvailableSpace ? 1 : undefined,
7
- minHeight: fillsAvailableSpace ? 0 : undefined,
8
- minWidth: fillsAvailableSpace ? 0 : undefined,
9
- },
10
- child: {
11
- minHeight: fillsAvailableSpace ? 0 : undefined,
12
- minWidth: fillsAvailableSpace ? 0 : undefined,
13
- },
14
- };
15
- }
16
- //# sourceMappingURL=resolveSidebarLayoutSizing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolveSidebarLayoutSizing.js","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/resolveSidebarLayoutSizing.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,0BAA0B,CAAC,SAA8B,SAAS;IAChF,MAAM,mBAAmB,GAAG,MAAM,KAAK,MAAM,CAAC;IAE9C,OAAO;QACL,IAAI,EAAE;YACJ,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY;YACrD,IAAI,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;YACzC,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;YAC9C,QAAQ,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;SAC9C;QACD,KAAK,EAAE;YACL,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;YAC9C,QAAQ,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;SAC9C;KACO,CAAC;AACb,CAAC","sourcesContent":["import type { SidebarLayoutSizing } from './types';\n\nexport function resolveSidebarLayoutSizing(sizing: SidebarLayoutSizing = 'content') {\n const fillsAvailableSpace = sizing === 'fill';\n\n return {\n root: {\n align: fillsAvailableSpace ? 'stretch' : 'flex-start',\n flex: fillsAvailableSpace ? 1 : undefined,\n minHeight: fillsAvailableSpace ? 0 : undefined,\n minWidth: fillsAvailableSpace ? 0 : undefined,\n },\n child: {\n minHeight: fillsAvailableSpace ? 0 : undefined,\n minWidth: fillsAvailableSpace ? 0 : undefined,\n },\n } as const;\n}\n"]}
@@ -1,12 +0,0 @@
1
- import type React from 'react';
2
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
3
- export type SidebarLayoutSizing = 'content' | 'fill';
4
- export interface SidebarLayoutProps extends ZoraBaseProps {
5
- sidebar: React.ReactNode;
6
- children?: React.ReactNode;
7
- aside?: React.ReactNode;
8
- sidebarWidth?: number;
9
- asideWidth?: number;
10
- sizing?: SidebarLayoutSizing;
11
- }
12
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,CAAC;AAErD,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/layout/sidebar-layout/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport type SidebarLayoutSizing = 'content' | 'fill';\n\nexport interface SidebarLayoutProps extends ZoraBaseProps {\n sidebar: React.ReactNode;\n children?: React.ReactNode;\n aside?: React.ReactNode;\n sidebarWidth?: number;\n asideWidth?: number;\n sizing?: SidebarLayoutSizing;\n}\n"]}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { TopbarLayoutProps } from './types';
3
- /***
4
- * Layout that composes a top bar with optional sidebar and content.
5
- *
6
-
7
- */
8
- export declare const TopbarLayout: (props: TopbarLayoutProps) => React.ReactElement | null;
9
- //# sourceMappingURL=TopbarLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopbarLayout.d.ts","sourceRoot":"","sources":["../../../src/layout/topbar-layout/TopbarLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAmBjD;;;;GAIG;AACH,eAAO,MAAM,YAAY,yDAAwC,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { Box, Stack } from '../../features/layout/public';
3
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
4
- import { SidebarLayout } from '../sidebar-layout';
5
- function TopbarLayoutInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, topbar, children, sidebar, testID, }) {
6
- return (<Stack gap="l" testID={testID}>
7
- <Box>{topbar}</Box>
8
- {sidebar ? <SidebarLayout sidebar={sidebar}>{children}</SidebarLayout> : children}
9
- </Stack>);
10
- }
11
- /***
12
- * Layout that composes a top bar with optional sidebar and content.
13
- *
14
-
15
- */
16
- export const TopbarLayout = withZoraThemeScope(TopbarLayoutInner);
17
- //# sourceMappingURL=TopbarLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TopbarLayout.js","sourceRoot":"","sources":["../../../src/layout/topbar-layout/TopbarLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD,SAAS,iBAAiB,CAAC,EACzB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,GACY;IAClB,OAAO,CACL,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAC5B;MAAA,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,GAAG,CAClB;MAAA,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,CACnF;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC,iBAAiB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Box, Stack } from '../../features/layout/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { SidebarLayout } from '../sidebar-layout';\nimport type { TopbarLayoutProps } from './types';\n\nfunction TopbarLayoutInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n topbar,\n children,\n sidebar,\n testID,\n}: TopbarLayoutProps) {\n return (\n <Stack gap=\"l\" testID={testID}>\n <Box>{topbar}</Box>\n {sidebar ? <SidebarLayout sidebar={sidebar}>{children}</SidebarLayout> : children}\n </Stack>\n );\n}\n\n/***\n * Layout that composes a top bar with optional sidebar and content.\n *\n \n */\nexport const TopbarLayout = withZoraThemeScope(TopbarLayoutInner);\n"]}
@@ -1,3 +0,0 @@
1
- export { TopbarLayout } from './TopbarLayout';
2
- export type { TopbarLayoutProps } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout/topbar-layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export { TopbarLayout } from './TopbarLayout';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout/topbar-layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC","sourcesContent":["export { TopbarLayout } from './TopbarLayout';\nexport type { TopbarLayoutProps } from './types';\n"]}
@@ -1,9 +0,0 @@
1
- export declare const topbarLayoutMeta: {
2
- readonly name: "TopbarLayout";
3
- readonly category: "layout";
4
- readonly directManifestNode: false;
5
- readonly allowedChildren: readonly [];
6
- readonly note: "Application layout; not represented as a manifest node in v1.";
7
- readonly props: {};
8
- };
9
- //# sourceMappingURL=meta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/layout/topbar-layout/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;CAOS,CAAC"}
@@ -1,9 +0,0 @@
1
- export const topbarLayoutMeta = {
2
- name: 'TopbarLayout',
3
- category: 'layout',
4
- directManifestNode: false,
5
- allowedChildren: [],
6
- note: 'Application layout; not represented as a manifest node in v1.',
7
- props: {},
8
- };
9
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/layout/topbar-layout/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,cAAc;IACpB,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,+DAA+D;IACrE,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const topbarLayoutMeta = {\n name: 'TopbarLayout',\n category: 'layout',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Application layout; not represented as a manifest node in v1.',\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,8 +0,0 @@
1
- import type React from 'react';
2
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
3
- export interface TopbarLayoutProps extends ZoraBaseProps {
4
- topbar: React.ReactNode;
5
- children?: React.ReactNode;
6
- sidebar?: React.ReactNode;
7
- }
8
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layout/topbar-layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/layout/topbar-layout/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface TopbarLayoutProps extends ZoraBaseProps {\n topbar: React.ReactNode;\n children?: React.ReactNode;\n sidebar?: React.ReactNode;\n}\n"]}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { SettingsRowProps } from './types';
3
- /***
4
- * Settings row pattern with title, description/meta, and optional trailing content.
5
- *
6
-
7
- */
8
- export declare const SettingsRow: (props: SettingsRowProps) => React.ReactElement | null;
9
- //# sourceMappingURL=SettingsRow.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SettingsRow.d.ts","sourceRoot":"","sources":["../../../src/patterns/settings-row/SettingsRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAyChD;;;;GAIG;AACH,eAAO,MAAM,WAAW,wDAAuC,CAAC"}
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import { Card } from '../../features/card/public';
3
- import { Box } from '../../features/layout/public';
4
- import { Text } from '../../features/typography/public';
5
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
6
- function SettingsRowInner({ themeId: _themeId, mode: _mode, title, description, meta, control, onPress, disabled = false, testID, interactionPolicy, }) {
7
- const isInteractive = Boolean(onPress) && !control;
8
- // Prevent nested interactive elements:
9
- // If a control is present (likely contains buttons), the row itself must not be clickable
10
- return (<Card compact actions={control} description={description} disabled={disabled} interactionPolicy={interactionPolicy} onPress={isInteractive ? onPress : undefined} testID={testID} title={title} tone="subtle">
11
- {meta ? (<Box pt="xs">
12
- <Text emphasis="muted" variant="caption">
13
- {meta}
14
- </Text>
15
- </Box>) : null}
16
- </Card>);
17
- }
18
- /***
19
- * Settings row pattern with title, description/meta, and optional trailing content.
20
- *
21
-
22
- */
23
- export const SettingsRow = withZoraThemeScope(SettingsRowInner);
24
- //# sourceMappingURL=SettingsRow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SettingsRow.js","sourceRoot":"","sources":["../../../src/patterns/settings-row/SettingsRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,8BAA8B,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,gBAAgB,CAAC,EACxB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,KAAK,EACL,WAAW,EACX,IAAI,EACJ,OAAO,EACP,OAAO,EACP,QAAQ,GAAG,KAAK,EAChB,MAAM,EACN,iBAAiB,GACA;IACjB,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;IAEnD,uCAAuC;IACvC,0FAA0F;IAC1F,OAAO,CACL,CAAC,IAAI,CACH,OAAO,CACP,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CACrC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAC7C,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,IAAI,CAAC,QAAQ,CAEb;MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,CACN,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CACV;UAAA,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CACtC;YAAA,CAAC,IAAI,CACP;UAAA,EAAE,IAAI,CACR;QAAA,EAAE,GAAG,CAAC,CACP,CAAC,CAAC,CAAC,IAAI,CACV;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,gBAAgB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Card } from '../../features/card/public';\nimport { Box } from '../../features/layout/public';\nimport { Text } from '../../features/typography/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { SettingsRowProps } from './types';\n\nfunction SettingsRowInner({\n themeId: _themeId,\n mode: _mode,\n title,\n description,\n meta,\n control,\n onPress,\n disabled = false,\n testID,\n interactionPolicy,\n}: SettingsRowProps) {\n const isInteractive = Boolean(onPress) && !control;\n\n // Prevent nested interactive elements:\n // If a control is present (likely contains buttons), the row itself must not be clickable\n return (\n <Card\n compact\n actions={control}\n description={description}\n disabled={disabled}\n interactionPolicy={interactionPolicy}\n onPress={isInteractive ? onPress : undefined}\n testID={testID}\n title={title}\n tone=\"subtle\"\n >\n {meta ? (\n <Box pt=\"xs\">\n <Text emphasis=\"muted\" variant=\"caption\">\n {meta}\n </Text>\n </Box>\n ) : null}\n </Card>\n );\n}\n\n/***\n * Settings row pattern with title, description/meta, and optional trailing content.\n *\n \n */\nexport const SettingsRow = withZoraThemeScope(SettingsRowInner);\n"]}
@@ -1,3 +0,0 @@
1
- export { SettingsRow } from './SettingsRow';
2
- export type { SettingsRowProps } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/settings-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export { SettingsRow } from './SettingsRow';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/settings-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { SettingsRow } from './SettingsRow';\nexport type { SettingsRowProps } from './types';\n"]}
@@ -1,39 +0,0 @@
1
- export declare const settingsRowMeta: {
2
- readonly name: "SettingsRow";
3
- readonly category: "pattern";
4
- readonly directManifestNode: true;
5
- readonly allowedChildren: readonly [];
6
- readonly blueprint: {
7
- readonly label: "Settings row";
8
- readonly defaultProps: {
9
- readonly title: "Setting";
10
- readonly description: "Setting description.";
11
- };
12
- };
13
- readonly props: {
14
- readonly title: {
15
- readonly type: "string";
16
- readonly category: "Content";
17
- readonly label: "Title";
18
- readonly default: "Setting";
19
- };
20
- readonly description: {
21
- readonly type: "string";
22
- readonly category: "Content";
23
- readonly label: "Description";
24
- readonly default: "Setting description.";
25
- };
26
- readonly meta: {
27
- readonly type: "string";
28
- readonly category: "Content";
29
- readonly label: "Meta";
30
- };
31
- readonly disabled: {
32
- readonly type: "boolean";
33
- readonly category: "State";
34
- readonly label: "Disabled";
35
- readonly default: false;
36
- };
37
- };
38
- };
39
- //# sourceMappingURL=meta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/patterns/settings-row/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCU,CAAC"}
@@ -1,39 +0,0 @@
1
- export const settingsRowMeta = {
2
- name: 'SettingsRow',
3
- category: 'pattern',
4
- directManifestNode: true,
5
- allowedChildren: [],
6
- blueprint: {
7
- label: 'Settings row',
8
- defaultProps: {
9
- title: 'Setting',
10
- description: 'Setting description.',
11
- },
12
- },
13
- props: {
14
- title: {
15
- type: 'string',
16
- category: 'Content',
17
- label: 'Title',
18
- default: 'Setting',
19
- },
20
- description: {
21
- type: 'string',
22
- category: 'Content',
23
- label: 'Description',
24
- default: 'Setting description.',
25
- },
26
- meta: {
27
- type: 'string',
28
- category: 'Content',
29
- label: 'Meta',
30
- },
31
- disabled: {
32
- type: 'boolean',
33
- category: 'State',
34
- label: 'Disabled',
35
- default: false,
36
- },
37
- },
38
- };
39
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/patterns/settings-row/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,SAAS;IACnB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,cAAc;QACrB,YAAY,EAAE;YACZ,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,sBAAsB;SACpC;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;SACnB;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,aAAa;YACpB,OAAO,EAAE,sBAAsB;SAChC;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,MAAM;SACd;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;SACf;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const settingsRowMeta = {\n name: 'SettingsRow',\n category: 'pattern',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Settings row',\n defaultProps: {\n title: 'Setting',\n description: 'Setting description.',\n },\n },\n props: {\n title: {\n type: 'string',\n category: 'Content',\n label: 'Title',\n default: 'Setting',\n },\n description: {\n type: 'string',\n category: 'Content',\n label: 'Description',\n default: 'Setting description.',\n },\n meta: {\n type: 'string',\n category: 'Content',\n label: 'Meta',\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,23 +0,0 @@
1
- import type React from 'react';
2
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
3
- interface SettingsRowBaseProps extends ZoraBaseProps {
4
- title: React.ReactNode;
5
- description?: React.ReactNode;
6
- meta?: React.ReactNode;
7
- disabled?: boolean;
8
- }
9
- interface SettingsRowPressableProps {
10
- onPress: () => void;
11
- control?: never;
12
- }
13
- interface SettingsRowControlledProps {
14
- control: React.ReactNode;
15
- onPress?: never;
16
- }
17
- interface SettingsRowStaticProps {
18
- control?: never;
19
- onPress?: never;
20
- }
21
- export type SettingsRowProps = SettingsRowBaseProps & (SettingsRowPressableProps | SettingsRowControlledProps | SettingsRowStaticProps);
22
- export {};
23
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/patterns/settings-row/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,UAAU,oBAAqB,SAAQ,aAAa;IAClD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,yBAAyB;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,UAAU,0BAA0B;IAClC,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,UAAU,sBAAsB;IAC9B,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GACjD,CAAC,yBAAyB,GAAG,0BAA0B,GAAG,sBAAsB,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/patterns/settings-row/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\ninterface SettingsRowBaseProps extends ZoraBaseProps {\n title: React.ReactNode;\n description?: React.ReactNode;\n meta?: React.ReactNode;\n disabled?: boolean;\n}\n\ninterface SettingsRowPressableProps {\n onPress: () => void;\n control?: never;\n}\n\ninterface SettingsRowControlledProps {\n control: React.ReactNode;\n onPress?: never;\n}\n\ninterface SettingsRowStaticProps {\n control?: never;\n onPress?: never;\n}\n\nexport type SettingsRowProps = SettingsRowBaseProps &\n (SettingsRowPressableProps | SettingsRowControlledProps | SettingsRowStaticProps);\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaletteItem.d.ts","sourceRoot":"","sources":["../../../src/patterns/tile-grid/PaletteItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgDhD;;;;GAIG;AACH,eAAO,MAAM,WAAW,wDAAuC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaletteItem.js","sourceRoot":"","sources":["../../../src/patterns/tile-grid/PaletteItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,8BAA8B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,gBAAgB,CAAC,EACxB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,KAAK,EACL,WAAW,EACX,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,MAAM,GACW;IACjB,MAAM,EAAE,KAAK,EAAE,GAAG,YAAY,EAAE,CAAC;IAEjC,OAAO,CACL,CAAC,IAAI,CACH,OAAO,CACP,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CACtC,KAAK,CAAC,CACJ,QAAQ;YACN,CAAC,CAAC;gBACE,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,OAAO;gBACjC,WAAW,EAAE,CAAC;aACf;YACH,CAAC,CAAC,SACN,CAAC,CAED;MAAA,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAC1C;QAAA,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,oBAAoB,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CACvD;QAAA,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAC/B;UAAA,CAAC,KAAK,CACR;QAAA,EAAE,OAAO,CACT;QAAA,CAAC,WAAW,CAAC,CAAC,CAAC,CACb,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CACrD;YAAA,CAAC,WAAW,CACd;UAAA,EAAE,IAAI,CAAC,CACR,CAAC,CAAC,CAAC,IAAI,CACR;QAAA,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAC5C;MAAA,EAAE,GAAG,CACP;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,kBAAkB,CAAC,gBAAgB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Card } from '../../features/card/public';\nimport { Box } from '../../features/layout/public';\nimport { Heading } from '../../features/typography/public';\nimport { Text } from '../../features/typography/public';\nimport { useZoraTheme } from '../../theme/useZoraTheme';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { PaletteItemProps } from './types';\n\nfunction PaletteItemInner({\n themeId: _themeId,\n mode: _mode,\n title,\n description,\n icon,\n badge,\n selected,\n disabled,\n onPress,\n testID,\n}: PaletteItemProps) {\n const { theme } = useZoraTheme();\n\n return (\n <Card\n compact\n disabled={disabled}\n onPress={onPress}\n testID={testID}\n tone={selected ? 'default' : 'subtle'}\n style={\n selected\n ? {\n borderColor: theme.colors.primary,\n borderWidth: 2,\n }\n : undefined\n }\n >\n <Box p=\"xs\" style={{ alignItems: 'center' }}>\n {icon ? <Box pb=\"s\">{/* Icon spec here */}</Box> : null}\n <Heading level={5} align=\"center\">\n {title}\n </Heading>\n {description ? (\n <Text align=\"center\" emphasis=\"muted\" variant=\"caption\">\n {description}\n </Text>\n ) : null}\n {badge ? <Box pt=\"xs\">{badge}</Box> : null}\n </Box>\n </Card>\n );\n}\n\n/***\n * Tile item pattern for palettes and option grids.\n *\n \n */\nexport const PaletteItem = withZoraThemeScope(PaletteItemInner);\n"]}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { TileGridProps } from './types';
3
- /***
4
- * Responsive grid layout for arranging tile content.
5
- *
6
-
7
- */
8
- export declare const TileGrid: (props: TileGridProps) => React.ReactElement | null;
9
- //# sourceMappingURL=TileGrid.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TileGrid.d.ts","sourceRoot":"","sources":["../../../src/patterns/tile-grid/TileGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AA6C7C;;;;GAIG;AACH,eAAO,MAAM,QAAQ,qDAAoC,CAAC"}
@@ -1,33 +0,0 @@
1
- import React from 'react';
2
- import { Box } from '../../features/layout/public';
3
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
4
- function TileGridInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, children, columns = 'responsive', compact = false, testID, }) {
5
- return (<Box testID={testID} style={{
6
- flexDirection: 'row',
7
- flexWrap: 'wrap',
8
- gap: compact ? 8 : 16,
9
- }}>
10
- {React.Children.map(children, (child) => {
11
- if (!child)
12
- return null;
13
- return (<Box style={columns === 'responsive'
14
- ? {
15
- flexBasis: '30%',
16
- flexGrow: 1,
17
- minWidth: 120,
18
- }
19
- : {
20
- width: `${100 / columns}%`,
21
- }}>
22
- {child}
23
- </Box>);
24
- })}
25
- </Box>);
26
- }
27
- /***
28
- * Responsive grid layout for arranging tile content.
29
- *
30
-
31
- */
32
- export const TileGrid = withZoraThemeScope(TileGridInner);
33
- //# sourceMappingURL=TileGrid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TileGrid.js","sourceRoot":"","sources":["../../../src/patterns/tile-grid/TileGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,MAAM,8BAA8B,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,aAAa,CAAC,EACrB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,QAAQ,EACR,OAAO,GAAG,YAAY,EACtB,OAAO,GAAG,KAAK,EACf,MAAM,GACQ;IACd,OAAO,CACL,CAAC,GAAG,CACF,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CAAC;YACL,aAAa,EAAE,KAAK;YACpB,QAAQ,EAAE,MAAM;YAChB,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;SACtB,CAAC,CAEF;MAAA,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;YACtC,IAAI,CAAC,KAAK;gBAAE,OAAO,IAAI,CAAC;YAExB,OAAO,CACL,CAAC,GAAG,CACF,KAAK,CAAC,CACJ,OAAO,KAAK,YAAY;oBACtB,CAAC,CAAC;wBACE,SAAS,EAAE,KAAK;wBAChB,QAAQ,EAAE,CAAC;wBACX,QAAQ,EAAE,GAAG;qBACd;oBACH,CAAC,CAAC;wBACE,KAAK,EAAE,GAAG,GAAG,GAAG,OAAO,GAAG;qBAElC,CAAC,CAED;YAAA,CAAC,KAAK,CACR;UAAA,EAAE,GAAG,CAAC,CACP,CAAC;QACJ,CAAC,CAAC,CACJ;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,aAAa,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Box } from '../../features/layout/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { TileGridProps } from './types';\n\nfunction TileGridInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n children,\n columns = 'responsive',\n compact = false,\n testID,\n}: TileGridProps) {\n return (\n <Box\n testID={testID}\n style={{\n flexDirection: 'row',\n flexWrap: 'wrap',\n gap: compact ? 8 : 16,\n }}\n >\n {React.Children.map(children, (child) => {\n if (!child) return null;\n\n return (\n <Box\n style={\n columns === 'responsive'\n ? {\n flexBasis: '30%',\n flexGrow: 1,\n minWidth: 120,\n }\n : {\n width: `${100 / columns}%`,\n }\n }\n >\n {child}\n </Box>\n );\n })}\n </Box>\n );\n}\n\n/***\n * Responsive grid layout for arranging tile content.\n *\n \n */\nexport const TileGrid = withZoraThemeScope(TileGridInner);\n"]}
@@ -1,4 +0,0 @@
1
- export * from './PaletteItem';
2
- export * from './TileGrid';
3
- export * from './types';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/tile-grid/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}