@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,199 +0,0 @@
1
- import { ButtonBase } from '@ankhorage/surface';
2
- import React from 'react';
3
-
4
- import { Box, Stack } from '../../features/layout/public';
5
- import { Text } from '../../features/typography/public';
6
- import { Inline, Spacer } from '../../foundation';
7
- import { useZoraTheme } from '../../theme/useZoraTheme';
8
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
9
- import type { ListRowProps, ListRowVariant } from './types';
10
-
11
- function resolvePadding(compact: boolean) {
12
- return compact ? { px: 'm' as const, py: 's' as const } : { px: 'm' as const, py: 'm' as const };
13
- }
14
-
15
- function resolveContainerStyles({
16
- variant,
17
- theme,
18
- selected,
19
- pressed,
20
- hovered,
21
- disabled,
22
- }: {
23
- variant: ListRowVariant;
24
- theme: ReturnType<typeof useZoraTheme>['theme'];
25
- selected: boolean;
26
- pressed: boolean;
27
- hovered: boolean;
28
- disabled: boolean;
29
- }) {
30
- const borderColor = selected ? theme.semantics.border.focus : theme.semantics.border.default;
31
- const dividerBorderColor = selected ? theme.semantics.border.focus : 'transparent';
32
-
33
- if (variant === 'card') {
34
- return {
35
- bg: pressed
36
- ? theme.semantics.neutral.surfaceActive
37
- : hovered
38
- ? theme.semantics.neutral.surfaceHover
39
- : theme.semantics.surface.raised,
40
- borderColor,
41
- borderWidth: 1,
42
- radius: 'l' as const,
43
- opacity: disabled ? 0.72 : 1,
44
- };
45
- }
46
-
47
- return {
48
- bg: pressed
49
- ? theme.semantics.neutral.surfaceActive
50
- : hovered
51
- ? theme.semantics.neutral.surfaceHover
52
- : selected
53
- ? theme.semantics.neutral.surface
54
- : 'transparent',
55
- borderColor: dividerBorderColor,
56
- borderWidth: selected ? 1 : 0,
57
- radius: 'm' as const,
58
- opacity: disabled ? 0.72 : 1,
59
- };
60
- }
61
-
62
- function ListRowInner({
63
- themeId: _themeId,
64
- mode: _mode,
65
- testID,
66
- title,
67
- description,
68
- meta,
69
- leading,
70
- trailing,
71
- action,
72
- onPress,
73
- selected = false,
74
- disabled = false,
75
- compact = false,
76
- variant = 'divider',
77
- }: ListRowProps) {
78
- const { theme } = useZoraTheme();
79
- const padding = resolvePadding(compact);
80
- const isInteractive = Boolean(onPress) && !action;
81
-
82
- const content = (
83
- <Stack
84
- align="center"
85
- direction="row"
86
- style={{
87
- flex: 1,
88
- }}
89
- >
90
- {leading ? (
91
- <>
92
- <Box>{leading}</Box>
93
- <Spacer axis="horizontal" size="m" />
94
- </>
95
- ) : null}
96
-
97
- <Box flex={1}>
98
- <Stack gap="xxs">
99
- <Text variant="body" weight={selected ? 'semiBold' : 'medium'}>
100
- {title}
101
- </Text>
102
- {description ? (
103
- <Text emphasis="muted" variant="bodySmall">
104
- {description}
105
- </Text>
106
- ) : null}
107
- {meta ? (
108
- <Text emphasis="subtle" variant="caption">
109
- {meta}
110
- </Text>
111
- ) : null}
112
- </Stack>
113
- </Box>
114
-
115
- {trailing || action ? (
116
- <>
117
- <Spacer axis="horizontal" size="m" />
118
- <Inline align="center" gap="s" wrap="nowrap">
119
- {trailing}
120
- {action}
121
- </Inline>
122
- </>
123
- ) : null}
124
- </Stack>
125
- );
126
-
127
- if (!isInteractive) {
128
- const styles = resolveContainerStyles({
129
- variant,
130
- theme,
131
- selected,
132
- pressed: false,
133
- hovered: false,
134
- disabled,
135
- });
136
-
137
- return (
138
- <Box
139
- bg={styles.bg}
140
- borderColor={styles.borderColor}
141
- borderWidth={styles.borderWidth}
142
- px={padding.px}
143
- py={padding.py}
144
- radius={styles.radius}
145
- testID={testID}
146
- style={{
147
- opacity: styles.opacity,
148
- }}
149
- >
150
- {content}
151
- </Box>
152
- );
153
- }
154
-
155
- return (
156
- <ButtonBase
157
- accessibilityRole="button"
158
- accessibilityState={{ disabled, selected }}
159
- disabled={disabled}
160
- onPress={onPress}
161
- radius={variant === 'card' ? 'l' : 'm'}
162
- testID={testID}
163
- >
164
- {(state) => {
165
- const styles = resolveContainerStyles({
166
- variant,
167
- theme,
168
- selected,
169
- pressed: state.pressed,
170
- hovered: state.hovered,
171
- disabled: state.disabled,
172
- });
173
-
174
- return (
175
- <Box
176
- bg={styles.bg}
177
- borderColor={styles.borderColor}
178
- borderWidth={styles.borderWidth}
179
- px={padding.px}
180
- py={padding.py}
181
- radius={styles.radius}
182
- style={{
183
- opacity: styles.opacity,
184
- }}
185
- >
186
- {content}
187
- </Box>
188
- );
189
- }}
190
- </ButtonBase>
191
- );
192
- }
193
-
194
- /***
195
- * Row pattern for lists with leading/trailing slots and optional press behavior.
196
- *
197
-
198
- */
199
- export const ListRow = withZoraThemeScope(ListRowInner);
@@ -1,10 +0,0 @@
1
- export { List } from './List';
2
- export { ListRow } from './ListRow';
3
- export { ListSection } from './ListSection';
4
- export type {
5
- ListChildrenProps,
6
- ListItemsProps,
7
- ListProps,
8
- ListRowProps,
9
- ListRowVariant,
10
- } from './types';
@@ -1,18 +0,0 @@
1
- import { describe, expect, it } from 'bun:test';
2
-
3
- import { resolveListSeparator } from './resolveListSeparator';
4
-
5
- describe('resolveListSeparator', () => {
6
- it('returns none for the first item', () => {
7
- expect(resolveListSeparator('divider', 0)).toBe('none');
8
- expect(resolveListSeparator('card', 0)).toBe('none');
9
- });
10
-
11
- it('returns divider for divider rows', () => {
12
- expect(resolveListSeparator('divider', 1)).toBe('divider');
13
- });
14
-
15
- it('returns spacer for card rows', () => {
16
- expect(resolveListSeparator('card', 1)).toBe('spacer');
17
- });
18
- });
@@ -1,8 +0,0 @@
1
- import type { ListRowVariant } from './types';
2
-
3
- type ListSeparatorKind = 'none' | 'divider' | 'spacer';
4
-
5
- export function resolveListSeparator(variant: ListRowVariant, index: number): ListSeparatorKind {
6
- if (index === 0) return 'none';
7
- return variant === 'divider' ? 'divider' : 'spacer';
8
- }
@@ -1,53 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Card } from '../../features/card/public';
4
- import { Box } from '../../features/layout/public';
5
- import { Text } from '../../features/typography/public';
6
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
7
- import type { SettingsRowProps } from './types';
8
-
9
- function SettingsRowInner({
10
- themeId: _themeId,
11
- mode: _mode,
12
- title,
13
- description,
14
- meta,
15
- control,
16
- onPress,
17
- disabled = false,
18
- testID,
19
- interactionPolicy,
20
- }: SettingsRowProps) {
21
- const isInteractive = Boolean(onPress) && !control;
22
-
23
- // Prevent nested interactive elements:
24
- // If a control is present (likely contains buttons), the row itself must not be clickable
25
- return (
26
- <Card
27
- compact
28
- actions={control}
29
- description={description}
30
- disabled={disabled}
31
- interactionPolicy={interactionPolicy}
32
- onPress={isInteractive ? onPress : undefined}
33
- testID={testID}
34
- title={title}
35
- tone="subtle"
36
- >
37
- {meta ? (
38
- <Box pt="xs">
39
- <Text emphasis="muted" variant="caption">
40
- {meta}
41
- </Text>
42
- </Box>
43
- ) : null}
44
- </Card>
45
- );
46
- }
47
-
48
- /***
49
- * Settings row pattern with title, description/meta, and optional trailing content.
50
- *
51
-
52
- */
53
- export const SettingsRow = withZoraThemeScope(SettingsRowInner);
@@ -1,2 +0,0 @@
1
- export { SettingsRow } from './SettingsRow';
2
- export type { SettingsRowProps } from './types';
@@ -1,40 +0,0 @@
1
- import type { ZoraComponentMeta } from '../../metadata';
2
-
3
- export const settingsRowMeta = {
4
- name: 'SettingsRow',
5
- category: 'pattern',
6
- directManifestNode: true,
7
- allowedChildren: [],
8
- blueprint: {
9
- label: 'Settings row',
10
- defaultProps: {
11
- title: 'Setting',
12
- description: 'Setting description.',
13
- },
14
- },
15
- props: {
16
- title: {
17
- type: 'string',
18
- category: 'Content',
19
- label: 'Title',
20
- default: 'Setting',
21
- },
22
- description: {
23
- type: 'string',
24
- category: 'Content',
25
- label: 'Description',
26
- default: 'Setting description.',
27
- },
28
- meta: {
29
- type: 'string',
30
- category: 'Content',
31
- label: 'Meta',
32
- },
33
- disabled: {
34
- type: 'boolean',
35
- category: 'State',
36
- label: 'Disabled',
37
- default: false,
38
- },
39
- },
40
- } as const satisfies ZoraComponentMeta;
@@ -1,28 +0,0 @@
1
- import type React from 'react';
2
-
3
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
4
-
5
- interface SettingsRowBaseProps extends ZoraBaseProps {
6
- title: React.ReactNode;
7
- description?: React.ReactNode;
8
- meta?: React.ReactNode;
9
- disabled?: boolean;
10
- }
11
-
12
- interface SettingsRowPressableProps {
13
- onPress: () => void;
14
- control?: never;
15
- }
16
-
17
- interface SettingsRowControlledProps {
18
- control: React.ReactNode;
19
- onPress?: never;
20
- }
21
-
22
- interface SettingsRowStaticProps {
23
- control?: never;
24
- onPress?: never;
25
- }
26
-
27
- export type SettingsRowProps = SettingsRowBaseProps &
28
- (SettingsRowPressableProps | SettingsRowControlledProps | SettingsRowStaticProps);
@@ -1,55 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Box } from '../../features/layout/public';
4
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
5
- import type { TileGridProps } from './types';
6
-
7
- function TileGridInner({
8
- themeId: _themeId,
9
- mode: _mode,
10
- interactionPolicy: _interactionPolicy,
11
- children,
12
- columns = 'responsive',
13
- compact = false,
14
- testID,
15
- }: TileGridProps) {
16
- return (
17
- <Box
18
- testID={testID}
19
- style={{
20
- flexDirection: 'row',
21
- flexWrap: 'wrap',
22
- gap: compact ? 8 : 16,
23
- }}
24
- >
25
- {React.Children.map(children, (child) => {
26
- if (!child) return null;
27
-
28
- return (
29
- <Box
30
- style={
31
- columns === 'responsive'
32
- ? {
33
- flexBasis: '30%',
34
- flexGrow: 1,
35
- minWidth: 120,
36
- }
37
- : {
38
- width: `${100 / columns}%`,
39
- }
40
- }
41
- >
42
- {child}
43
- </Box>
44
- );
45
- })}
46
- </Box>
47
- );
48
- }
49
-
50
- /***
51
- * Responsive grid layout for arranging tile content.
52
- *
53
-
54
- */
55
- export const TileGrid = withZoraThemeScope(TileGridInner);
@@ -1,3 +0,0 @@
1
- export * from './PaletteItem';
2
- export * from './TileGrid';
3
- export * from './types';
@@ -1,21 +0,0 @@
1
- import type { ZoraComponentMeta } from '../../metadata';
2
-
3
- const TILE_GRID_NOTE = 'Tile grid pattern component; not represented as a manifest node in v1.';
4
-
5
- export const paletteItemMeta = {
6
- name: 'PaletteItem',
7
- category: 'pattern',
8
- directManifestNode: false,
9
- allowedChildren: [],
10
- note: TILE_GRID_NOTE,
11
- props: {},
12
- } as const satisfies ZoraComponentMeta;
13
-
14
- export const tileGridMeta = {
15
- name: 'TileGrid',
16
- category: 'pattern',
17
- directManifestNode: false,
18
- allowedChildren: [],
19
- note: TILE_GRID_NOTE,
20
- props: {},
21
- } as const satisfies ZoraComponentMeta;
@@ -1,20 +0,0 @@
1
- import type { ButtonIconSpec } from '@ankhorage/surface';
2
- import type { ReactNode } from 'react';
3
-
4
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
5
-
6
- export interface TileGridProps extends ZoraBaseProps {
7
- children?: ReactNode;
8
- columns?: number | 'responsive';
9
- compact?: boolean;
10
- }
11
-
12
- export interface PaletteItemProps extends ZoraBaseProps {
13
- title: ReactNode;
14
- description?: ReactNode;
15
- icon?: ButtonIconSpec;
16
- badge?: ReactNode;
17
- selected?: boolean;
18
- disabled?: boolean;
19
- onPress?: () => void;
20
- }