@ankhorage/zora 18.0.0 → 19.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 (587) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  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/corePluginMetadata.d.ts.map +1 -1
  8. package/dist/corePluginMetadata.js +1 -5
  9. package/dist/corePluginMetadata.js.map +1 -1
  10. package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
  11. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  12. package/dist/features/card/cardMeta.d.ts +1 -1
  13. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  14. package/dist/features/card/postCardMeta.d.ts +1 -1
  15. package/dist/{patterns/chat-list-item → features/chat/adapters/inbound}/ChatListItem.d.ts +1 -1
  16. package/dist/features/chat/adapters/inbound/ChatListItem.d.ts.map +1 -0
  17. package/dist/{patterns/chat-list-item → features/chat/adapters/inbound}/ChatListItem.js +9 -9
  18. package/dist/features/chat/adapters/inbound/ChatListItem.js.map +1 -0
  19. package/dist/{patterns/message-bubble → features/chat/adapters/inbound}/MessageBubble.d.ts +1 -1
  20. package/dist/features/chat/adapters/inbound/MessageBubble.d.ts.map +1 -0
  21. package/dist/{patterns/message-bubble → features/chat/adapters/inbound}/MessageBubble.js +8 -8
  22. package/dist/features/chat/adapters/inbound/MessageBubble.js.map +1 -0
  23. package/dist/{patterns/chat-list-item/meta.d.ts → features/chat/chatListItemMeta.d.ts} +1 -1
  24. package/dist/features/chat/chatListItemMeta.d.ts.map +1 -0
  25. package/dist/{patterns/chat-list-item/meta.js → features/chat/chatListItemMeta.js} +1 -1
  26. package/dist/features/chat/chatListItemMeta.js.map +1 -0
  27. package/dist/{patterns/message-bubble/meta.d.ts → features/chat/messageBubbleMeta.d.ts} +2 -2
  28. package/dist/features/chat/messageBubbleMeta.d.ts.map +1 -0
  29. package/dist/{patterns/message-bubble/meta.js → features/chat/messageBubbleMeta.js} +1 -1
  30. package/dist/features/chat/messageBubbleMeta.js.map +1 -0
  31. package/dist/features/chat/public.d.ts +4 -0
  32. package/dist/features/chat/public.d.ts.map +1 -0
  33. package/dist/features/chat/public.js +3 -0
  34. package/dist/features/chat/public.js.map +1 -0
  35. package/dist/features/chip/adapters/inbound/Chip.js +3 -3
  36. package/dist/features/chip/adapters/inbound/Chip.js.map +1 -1
  37. package/dist/{patterns/collection-editor → features/collection-editor/adapters/inbound}/CollectionEditor.d.ts +1 -1
  38. package/dist/features/collection-editor/adapters/inbound/CollectionEditor.d.ts.map +1 -0
  39. package/dist/{patterns/collection-editor → features/collection-editor/adapters/inbound}/CollectionEditor.js +8 -8
  40. package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js.map +1 -0
  41. package/dist/features/collection-editor/meta.d.ts.map +1 -0
  42. package/dist/{patterns → features}/collection-editor/meta.js.map +1 -1
  43. package/dist/features/collection-editor/public.d.ts +3 -0
  44. package/dist/features/collection-editor/public.d.ts.map +1 -0
  45. package/dist/features/collection-editor/public.js +2 -0
  46. package/dist/features/collection-editor/public.js.map +1 -0
  47. package/dist/features/content-rail/contentRailMeta.d.ts +2 -2
  48. package/dist/features/dialog/dialogMeta.d.ts +2 -2
  49. package/dist/features/form/field/meta.d.ts +1 -1
  50. package/dist/features/form/field/meta.d.ts.map +1 -1
  51. package/dist/features/form/field/meta.js +1 -0
  52. package/dist/features/form/field/meta.js.map +1 -1
  53. package/dist/features/form/switch/adapters/inbound/Switch.d.ts +5 -0
  54. package/dist/features/form/switch/adapters/inbound/Switch.d.ts.map +1 -0
  55. package/dist/features/form/switch/adapters/inbound/Switch.js +9 -0
  56. package/dist/features/form/switch/adapters/inbound/Switch.js.map +1 -0
  57. package/dist/features/form/switch/public.d.ts +3 -0
  58. package/dist/features/form/switch/public.d.ts.map +1 -0
  59. package/dist/features/form/switch/public.js +2 -0
  60. package/dist/features/form/switch/public.js.map +1 -0
  61. package/dist/features/form/switch/switchMeta.d.ts +33 -0
  62. package/dist/features/form/switch/switchMeta.d.ts.map +1 -0
  63. package/dist/features/form/switch/switchMeta.js +13 -0
  64. package/dist/features/form/switch/switchMeta.js.map +1 -0
  65. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  66. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  67. package/dist/features/layout/gridMeta.d.ts +1 -1
  68. package/dist/features/layout/public.d.ts +1 -2
  69. package/dist/features/layout/public.d.ts.map +1 -1
  70. package/dist/features/layout/public.js +0 -1
  71. package/dist/features/layout/public.js.map +1 -1
  72. package/dist/features/layout/screenMeta.d.ts +1 -1
  73. package/dist/features/layout/scrollViewMeta.d.ts +1 -1
  74. package/dist/features/layout/viewMeta.d.ts +1 -1
  75. package/dist/features/list/adapters/inbound/ListSection.d.ts.map +1 -1
  76. package/dist/features/list/adapters/inbound/ListSection.js +1 -1
  77. package/dist/features/list/adapters/inbound/ListSection.js.map +1 -1
  78. package/dist/features/list/flatListMeta.d.ts +1 -1
  79. package/dist/features/list/sectionListMeta.d.ts +1 -1
  80. package/dist/{patterns/reader → features/reader/adapters/inbound}/ReaderSurface.d.ts +1 -1
  81. package/dist/features/reader/adapters/inbound/ReaderSurface.d.ts.map +1 -0
  82. package/dist/{patterns/reader → features/reader/adapters/inbound}/ReaderSurface.js +9 -9
  83. package/dist/features/reader/adapters/inbound/ReaderSurface.js.map +1 -0
  84. package/dist/{patterns → features}/reader/meta.d.ts +2 -2
  85. package/dist/{patterns → features}/reader/meta.d.ts.map +1 -1
  86. package/dist/{patterns → features}/reader/meta.js.map +1 -1
  87. package/dist/features/reader/public.d.ts +4 -0
  88. package/dist/features/reader/public.d.ts.map +1 -0
  89. package/dist/features/reader/public.js +3 -0
  90. package/dist/features/reader/public.js.map +1 -0
  91. package/dist/features/reader/utils/resolveReaderProgress.d.ts.map +1 -0
  92. package/dist/features/reader/utils/resolveReaderProgress.js.map +1 -0
  93. package/dist/{patterns/scanner → features/scanner/adapters/inbound}/BarcodeScannerView.d.ts +1 -1
  94. package/dist/features/scanner/adapters/inbound/BarcodeScannerView.d.ts.map +1 -0
  95. package/dist/{patterns/scanner → features/scanner/adapters/inbound}/BarcodeScannerView.js +5 -5
  96. package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js.map +1 -0
  97. package/dist/{patterns/scanner → features/scanner/adapters/inbound}/CameraPermissionView.d.ts +1 -1
  98. package/dist/features/scanner/adapters/inbound/CameraPermissionView.d.ts.map +1 -0
  99. package/dist/{patterns/scanner → features/scanner/adapters/inbound}/CameraPermissionView.js +5 -5
  100. package/dist/features/scanner/adapters/inbound/CameraPermissionView.js.map +1 -0
  101. package/dist/{patterns/scanner → features/scanner/adapters/inbound}/ScanOverlay.d.ts +1 -1
  102. package/dist/features/scanner/adapters/inbound/ScanOverlay.d.ts.map +1 -0
  103. package/dist/{patterns/scanner → features/scanner/adapters/inbound}/ScanOverlay.js +5 -5
  104. package/dist/features/scanner/adapters/inbound/ScanOverlay.js.map +1 -0
  105. package/dist/{patterns → features}/scanner/meta.d.ts +2 -2
  106. package/dist/{patterns → features}/scanner/meta.d.ts.map +1 -1
  107. package/dist/{patterns → features}/scanner/meta.js.map +1 -1
  108. package/dist/features/scanner/public.d.ts +5 -0
  109. package/dist/features/scanner/public.d.ts.map +1 -0
  110. package/dist/features/scanner/public.js +4 -0
  111. package/dist/features/scanner/public.js.map +1 -0
  112. package/dist/features/{layout → section}/adapters/inbound/ScreenSection.d.ts +1 -1
  113. package/dist/features/section/adapters/inbound/ScreenSection.d.ts.map +1 -0
  114. package/dist/features/{layout → section}/adapters/inbound/ScreenSection.js +2 -2
  115. package/dist/features/section/adapters/inbound/ScreenSection.js.map +1 -0
  116. package/dist/{patterns/section-header → features/section/adapters/inbound}/SectionHeader.d.ts +1 -1
  117. package/dist/features/section/adapters/inbound/SectionHeader.d.ts.map +1 -0
  118. package/dist/{patterns/section-header → features/section/adapters/inbound}/SectionHeader.js +4 -4
  119. package/dist/features/section/adapters/inbound/SectionHeader.js.map +1 -0
  120. package/dist/features/section/public.d.ts +4 -0
  121. package/dist/features/section/public.d.ts.map +1 -0
  122. package/dist/features/section/public.js +3 -0
  123. package/dist/features/section/public.js.map +1 -0
  124. package/dist/features/{layout → section}/screenSectionMeta.d.ts +1 -1
  125. package/dist/features/section/screenSectionMeta.d.ts.map +1 -0
  126. package/dist/features/section/screenSectionMeta.js.map +1 -0
  127. package/dist/{patterns/section-header/meta.d.ts → features/section/sectionHeaderMeta.d.ts} +1 -1
  128. package/dist/features/section/sectionHeaderMeta.d.ts.map +1 -0
  129. package/dist/{patterns/section-header/meta.js → features/section/sectionHeaderMeta.js} +1 -1
  130. package/dist/features/section/sectionHeaderMeta.js.map +1 -0
  131. package/dist/{patterns/selection → features/selection/adapters/inbound}/SelectableItem.d.ts +1 -1
  132. package/dist/features/selection/adapters/inbound/SelectableItem.d.ts.map +1 -0
  133. package/dist/{patterns/selection → features/selection/adapters/inbound}/SelectableItem.js +4 -4
  134. package/dist/features/selection/adapters/inbound/SelectableItem.js.map +1 -0
  135. package/dist/{patterns/selection → features/selection/adapters/inbound}/SelectionProvider.d.ts +1 -1
  136. package/dist/features/selection/adapters/inbound/SelectionProvider.d.ts.map +1 -0
  137. package/dist/{patterns/selection → features/selection/adapters/inbound}/SelectionProvider.js +1 -1
  138. package/dist/features/selection/adapters/inbound/SelectionProvider.js.map +1 -0
  139. package/dist/{patterns → features}/selection/meta.d.ts.map +1 -1
  140. package/dist/{patterns → features}/selection/meta.js.map +1 -1
  141. package/dist/features/selection/public.d.ts +4 -0
  142. package/dist/features/selection/public.d.ts.map +1 -0
  143. package/dist/features/selection/public.js +3 -0
  144. package/dist/features/selection/public.js.map +1 -0
  145. package/dist/{patterns/selection → features/selection/utils}/resolveSelectionNextIds.d.ts +1 -1
  146. package/dist/features/selection/utils/resolveSelectionNextIds.d.ts.map +1 -0
  147. package/dist/features/selection/utils/resolveSelectionNextIds.js.map +1 -0
  148. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  149. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  150. package/dist/{patterns/timeline → features/timeline/adapters/inbound}/Timeline.d.ts +1 -1
  151. package/dist/features/timeline/adapters/inbound/Timeline.d.ts.map +1 -0
  152. package/dist/{patterns/timeline → features/timeline/adapters/inbound}/Timeline.js +7 -7
  153. package/dist/features/timeline/adapters/inbound/Timeline.js.map +1 -0
  154. package/dist/features/timeline/meta.d.ts.map +1 -0
  155. package/dist/{patterns → features}/timeline/meta.js.map +1 -1
  156. package/dist/features/timeline/public.d.ts +3 -0
  157. package/dist/features/timeline/public.d.ts.map +1 -0
  158. package/dist/features/timeline/public.js +2 -0
  159. package/dist/features/timeline/public.js.map +1 -0
  160. package/dist/{patterns/tree-view → features/tree-view/adapters/inbound}/TreeItem.d.ts +2 -2
  161. package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts.map +1 -0
  162. package/dist/{patterns/tree-view → features/tree-view/adapters/inbound}/TreeItem.js +4 -4
  163. package/dist/features/tree-view/adapters/inbound/TreeItem.js.map +1 -0
  164. package/dist/{patterns/tree-view → features/tree-view/adapters/inbound}/TreeView.d.ts +1 -1
  165. package/dist/features/tree-view/adapters/inbound/TreeView.d.ts.map +1 -0
  166. package/dist/{patterns/tree-view → features/tree-view/adapters/inbound}/TreeView.js +2 -2
  167. package/dist/features/tree-view/adapters/inbound/TreeView.js.map +1 -0
  168. package/dist/{patterns → features}/tree-view/meta.d.ts.map +1 -1
  169. package/dist/{patterns → features}/tree-view/meta.js.map +1 -1
  170. package/dist/features/tree-view/public.d.ts +4 -0
  171. package/dist/features/tree-view/public.d.ts.map +1 -0
  172. package/dist/features/tree-view/public.js +3 -0
  173. package/dist/features/tree-view/public.js.map +1 -0
  174. package/dist/index.d.ts +18 -34
  175. package/dist/index.d.ts.map +1 -1
  176. package/dist/index.js +10 -17
  177. package/dist/index.js.map +1 -1
  178. package/dist/metadata/allowedChildren.d.ts +4 -4
  179. package/dist/metadata/allowedChildren.d.ts.map +1 -1
  180. package/dist/metadata/allowedChildren.js +0 -3
  181. package/dist/metadata/allowedChildren.js.map +1 -1
  182. package/dist/metadata/bindableComponentMeta.d.ts +23 -23
  183. package/dist/metadata/bindableComponentMeta.d.ts.map +1 -1
  184. package/dist/metadata/bindableComponentMeta.js +20 -28
  185. package/dist/metadata/bindableComponentMeta.js.map +1 -1
  186. package/dist/metadata/componentMeta.d.ts.map +1 -1
  187. package/dist/metadata/componentMeta.js +12 -24
  188. package/dist/metadata/componentMeta.js.map +1 -1
  189. package/dist/metadata/themeRecipeMeta.d.ts.map +1 -1
  190. package/dist/metadata/themeRecipeMeta.js +0 -2
  191. package/dist/metadata/themeRecipeMeta.js.map +1 -1
  192. package/dist/registry.d.ts.map +1 -1
  193. package/dist/registry.js +11 -24
  194. package/dist/registry.js.map +1 -1
  195. package/dist/{patterns/message-bubble/types.d.ts → types/chat.d.ts} +29 -4
  196. package/dist/types/chat.d.ts.map +1 -0
  197. package/dist/types/chat.js +2 -0
  198. package/dist/types/chat.js.map +1 -0
  199. package/dist/{patterns/collection-editor/types.d.ts → types/collection-editor.d.ts} +2 -2
  200. package/dist/types/collection-editor.d.ts.map +1 -0
  201. package/dist/types/collection-editor.js +2 -0
  202. package/dist/types/collection-editor.js.map +1 -0
  203. package/dist/types/layout.d.ts +0 -6
  204. package/dist/types/layout.d.ts.map +1 -1
  205. package/dist/types/layout.js.map +1 -1
  206. package/dist/{patterns/reader/types.d.ts → types/reader.d.ts} +2 -2
  207. package/dist/types/reader.d.ts.map +1 -0
  208. package/dist/types/reader.js +2 -0
  209. package/dist/types/reader.js.map +1 -0
  210. package/dist/{patterns/scanner/types.d.ts → types/scanner.d.ts} +3 -3
  211. package/dist/types/scanner.d.ts.map +1 -0
  212. package/dist/types/scanner.js +2 -0
  213. package/dist/types/scanner.js.map +1 -0
  214. package/dist/types/section.d.ts +15 -0
  215. package/dist/types/section.d.ts.map +1 -0
  216. package/dist/types/section.js +2 -0
  217. package/dist/types/section.js.map +1 -0
  218. package/dist/{patterns/selection/types.d.ts → types/selection.d.ts} +1 -1
  219. package/dist/types/selection.d.ts.map +1 -0
  220. package/dist/types/selection.js +2 -0
  221. package/dist/types/selection.js.map +1 -0
  222. package/dist/types/switch.d.ts +5 -0
  223. package/dist/types/switch.d.ts.map +1 -0
  224. package/dist/types/switch.js +2 -0
  225. package/dist/types/switch.js.map +1 -0
  226. package/dist/{patterns/timeline/types.d.ts → types/timeline.d.ts} +3 -3
  227. package/dist/types/timeline.d.ts.map +1 -0
  228. package/dist/types/timeline.js +2 -0
  229. package/dist/types/timeline.js.map +1 -0
  230. package/dist/{patterns/tree-view/types.d.ts → types/tree-view.d.ts} +2 -2
  231. package/dist/types/tree-view.d.ts.map +1 -0
  232. package/dist/types/tree-view.js +2 -0
  233. package/dist/types/tree-view.js.map +1 -0
  234. package/package.json +2 -2
  235. package/src/audit.test.ts +3 -3
  236. package/src/constants.ts +2 -1
  237. package/src/corePluginMetadata.ts +1 -5
  238. package/src/featureManifest.test.ts +2 -1
  239. package/src/features/bottom-sheet/public.test.ts +1 -1
  240. package/src/{patterns/chat-list-item → features/chat/adapters/inbound}/ChatListItem.test.tsx +1 -1
  241. package/src/{patterns/chat-list-item → features/chat/adapters/inbound}/ChatListItem.tsx +10 -10
  242. package/src/{patterns/message-bubble → features/chat/adapters/inbound}/MessageBubble.tsx +9 -9
  243. package/src/features/chat/public.ts +11 -0
  244. package/src/features/chip/adapters/inbound/Chip.tsx +3 -3
  245. package/src/{patterns/collection-editor → features/collection-editor/adapters/inbound}/CollectionEditor.tsx +9 -9
  246. package/src/features/collection-editor/public.ts +5 -0
  247. package/src/features/form/field/meta.ts +1 -0
  248. package/src/features/form/switch/adapters/inbound/Switch.tsx +12 -0
  249. package/src/features/form/switch/public.ts +2 -0
  250. package/src/features/form/switch/switchMeta.ts +14 -0
  251. package/src/features/layout/public.test.ts +3 -11
  252. package/src/features/layout/public.ts +0 -2
  253. package/src/features/list/adapters/inbound/ListSection.tsx +1 -1
  254. package/src/features/missing-element/MissingElement.test.ts +2 -2
  255. package/src/{patterns/reader → features/reader/adapters/inbound}/ReaderSurface.test.ts +3 -3
  256. package/src/{patterns/reader → features/reader/adapters/inbound}/ReaderSurface.tsx +10 -10
  257. package/src/{patterns/reader/index.ts → features/reader/public.ts} +3 -3
  258. package/src/{patterns/scanner → features/scanner/adapters/inbound}/BarcodeScannerView.tsx +6 -6
  259. package/src/{patterns/scanner → features/scanner/adapters/inbound}/CameraPermissionView.tsx +6 -6
  260. package/src/{patterns/scanner → features/scanner/adapters/inbound}/ScanOverlay.tsx +6 -6
  261. package/src/features/scanner/public.ts +10 -0
  262. package/src/features/{layout → section}/adapters/inbound/ScreenSection.tsx +3 -3
  263. package/src/{patterns/section-header → features/section/adapters/inbound}/SectionHeader.tsx +5 -5
  264. package/src/features/section/public.ts +3 -0
  265. package/src/{patterns/selection → features/selection/adapters/inbound}/SelectableItem.tsx +9 -5
  266. package/src/{patterns/selection → features/selection/adapters/inbound}/SelectionProvider.tsx +12 -2
  267. package/src/features/selection/public.ts +10 -0
  268. package/src/{patterns/selection → features/selection/utils}/resolveSelectionNextIds.test.ts +1 -1
  269. package/src/{patterns/selection → features/selection/utils}/resolveSelectionNextIds.ts +1 -1
  270. package/src/{patterns/timeline → features/timeline/adapters/inbound}/Timeline.tsx +9 -9
  271. package/src/features/timeline/public.ts +2 -0
  272. package/src/{patterns/tree-view → features/tree-view/adapters/inbound}/TreeItem.tsx +6 -6
  273. package/src/{patterns/tree-view → features/tree-view/adapters/inbound}/TreeView.tsx +3 -3
  274. package/src/features/tree-view/public.ts +3 -0
  275. package/src/index.ts +58 -76
  276. package/src/interactionPolicy.test.ts +8 -12
  277. package/src/metadata/allowedChildren.ts +0 -3
  278. package/src/metadata/authoringMeta.test.ts +1 -1
  279. package/src/metadata/bindableComponentMeta.ts +20 -28
  280. package/src/metadata/componentMeta.test.ts +2 -3
  281. package/src/metadata/componentMeta.ts +16 -28
  282. package/src/metadata/radioGroupReachability.test.ts +0 -1
  283. package/src/metadata/themeRecipeMeta.test.ts +0 -1
  284. package/src/metadata/themeRecipeMeta.ts +0 -2
  285. package/src/platformAcceptance.test.ts +1 -1
  286. package/src/registry.ts +11 -32
  287. package/src/showcaseCoverage.test.ts +1 -7
  288. package/src/theme/themeScopeStructure.test.ts +13 -21
  289. package/src/{patterns/message-bubble/types.ts → types/chat.ts} +30 -3
  290. package/src/{patterns/collection-editor/types.ts → types/collection-editor.ts} +2 -2
  291. package/src/types/layout.ts +0 -7
  292. package/src/{patterns/reader/types.ts → types/reader.ts} +1 -1
  293. package/src/{patterns/scanner/types.ts → types/scanner.ts} +2 -2
  294. package/src/types/section.ts +17 -0
  295. package/src/types/switch.ts +5 -0
  296. package/src/{patterns/timeline/types.ts → types/timeline.ts} +2 -2
  297. package/src/{patterns/tree-view/types.ts → types/tree-view.ts} +1 -1
  298. package/dist/features/layout/adapters/inbound/ScreenSection.d.ts.map +0 -1
  299. package/dist/features/layout/adapters/inbound/ScreenSection.js.map +0 -1
  300. package/dist/features/layout/screenSectionMeta.d.ts.map +0 -1
  301. package/dist/features/layout/screenSectionMeta.js.map +0 -1
  302. package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +0 -1
  303. package/dist/patterns/chat-list-item/ChatListItem.js.map +0 -1
  304. package/dist/patterns/chat-list-item/index.d.ts +0 -3
  305. package/dist/patterns/chat-list-item/index.d.ts.map +0 -1
  306. package/dist/patterns/chat-list-item/index.js +0 -2
  307. package/dist/patterns/chat-list-item/index.js.map +0 -1
  308. package/dist/patterns/chat-list-item/meta.d.ts.map +0 -1
  309. package/dist/patterns/chat-list-item/meta.js.map +0 -1
  310. package/dist/patterns/chat-list-item/types.d.ts +0 -31
  311. package/dist/patterns/chat-list-item/types.d.ts.map +0 -1
  312. package/dist/patterns/chat-list-item/types.js +0 -2
  313. package/dist/patterns/chat-list-item/types.js.map +0 -1
  314. package/dist/patterns/collection-editor/CollectionEditor.d.ts.map +0 -1
  315. package/dist/patterns/collection-editor/CollectionEditor.js.map +0 -1
  316. package/dist/patterns/collection-editor/index.d.ts +0 -3
  317. package/dist/patterns/collection-editor/index.d.ts.map +0 -1
  318. package/dist/patterns/collection-editor/index.js +0 -3
  319. package/dist/patterns/collection-editor/index.js.map +0 -1
  320. package/dist/patterns/collection-editor/meta.d.ts.map +0 -1
  321. package/dist/patterns/collection-editor/types.d.ts.map +0 -1
  322. package/dist/patterns/collection-editor/types.js +0 -2
  323. package/dist/patterns/collection-editor/types.js.map +0 -1
  324. package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts +0 -9
  325. package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts.map +0 -1
  326. package/dist/patterns/confirm-dialog/ConfirmDialog.js +0 -24
  327. package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +0 -1
  328. package/dist/patterns/confirm-dialog/index.d.ts +0 -3
  329. package/dist/patterns/confirm-dialog/index.d.ts.map +0 -1
  330. package/dist/patterns/confirm-dialog/index.js +0 -2
  331. package/dist/patterns/confirm-dialog/index.js.map +0 -1
  332. package/dist/patterns/confirm-dialog/meta.d.ts +0 -9
  333. package/dist/patterns/confirm-dialog/meta.d.ts.map +0 -1
  334. package/dist/patterns/confirm-dialog/meta.js +0 -9
  335. package/dist/patterns/confirm-dialog/meta.js.map +0 -1
  336. package/dist/patterns/confirm-dialog/types.d.ts +0 -18
  337. package/dist/patterns/confirm-dialog/types.d.ts.map +0 -1
  338. package/dist/patterns/confirm-dialog/types.js +0 -2
  339. package/dist/patterns/confirm-dialog/types.js.map +0 -1
  340. package/dist/patterns/filter-bar/FilterBar.d.ts +0 -9
  341. package/dist/patterns/filter-bar/FilterBar.d.ts.map +0 -1
  342. package/dist/patterns/filter-bar/FilterBar.js +0 -17
  343. package/dist/patterns/filter-bar/FilterBar.js.map +0 -1
  344. package/dist/patterns/filter-bar/index.d.ts +0 -3
  345. package/dist/patterns/filter-bar/index.d.ts.map +0 -1
  346. package/dist/patterns/filter-bar/index.js +0 -2
  347. package/dist/patterns/filter-bar/index.js.map +0 -1
  348. package/dist/patterns/filter-bar/meta.d.ts +0 -9
  349. package/dist/patterns/filter-bar/meta.d.ts.map +0 -1
  350. package/dist/patterns/filter-bar/meta.js +0 -9
  351. package/dist/patterns/filter-bar/meta.js.map +0 -1
  352. package/dist/patterns/filter-bar/types.d.ts +0 -9
  353. package/dist/patterns/filter-bar/types.d.ts.map +0 -1
  354. package/dist/patterns/filter-bar/types.js +0 -2
  355. package/dist/patterns/filter-bar/types.js.map +0 -1
  356. package/dist/patterns/inspector-field/InspectorField.d.ts +0 -9
  357. package/dist/patterns/inspector-field/InspectorField.d.ts.map +0 -1
  358. package/dist/patterns/inspector-field/InspectorField.js +0 -19
  359. package/dist/patterns/inspector-field/InspectorField.js.map +0 -1
  360. package/dist/patterns/inspector-field/index.d.ts +0 -3
  361. package/dist/patterns/inspector-field/index.d.ts.map +0 -1
  362. package/dist/patterns/inspector-field/index.js +0 -3
  363. package/dist/patterns/inspector-field/index.js.map +0 -1
  364. package/dist/patterns/inspector-field/meta.d.ts +0 -9
  365. package/dist/patterns/inspector-field/meta.d.ts.map +0 -1
  366. package/dist/patterns/inspector-field/meta.js +0 -9
  367. package/dist/patterns/inspector-field/meta.js.map +0 -1
  368. package/dist/patterns/inspector-field/types.d.ts +0 -15
  369. package/dist/patterns/inspector-field/types.d.ts.map +0 -1
  370. package/dist/patterns/inspector-field/types.js +0 -2
  371. package/dist/patterns/inspector-field/types.js.map +0 -1
  372. package/dist/patterns/message-bubble/MessageBubble.d.ts.map +0 -1
  373. package/dist/patterns/message-bubble/MessageBubble.js.map +0 -1
  374. package/dist/patterns/message-bubble/index.d.ts +0 -3
  375. package/dist/patterns/message-bubble/index.d.ts.map +0 -1
  376. package/dist/patterns/message-bubble/index.js +0 -2
  377. package/dist/patterns/message-bubble/index.js.map +0 -1
  378. package/dist/patterns/message-bubble/meta.d.ts.map +0 -1
  379. package/dist/patterns/message-bubble/meta.js.map +0 -1
  380. package/dist/patterns/message-bubble/types.d.ts.map +0 -1
  381. package/dist/patterns/message-bubble/types.js +0 -2
  382. package/dist/patterns/message-bubble/types.js.map +0 -1
  383. package/dist/patterns/notice/Notice.d.ts +0 -9
  384. package/dist/patterns/notice/Notice.d.ts.map +0 -1
  385. package/dist/patterns/notice/Notice.js +0 -20
  386. package/dist/patterns/notice/Notice.js.map +0 -1
  387. package/dist/patterns/notice/index.d.ts +0 -3
  388. package/dist/patterns/notice/index.d.ts.map +0 -1
  389. package/dist/patterns/notice/index.js +0 -2
  390. package/dist/patterns/notice/index.js.map +0 -1
  391. package/dist/patterns/notice/meta.d.ts +0 -34
  392. package/dist/patterns/notice/meta.d.ts.map +0 -1
  393. package/dist/patterns/notice/meta.js +0 -35
  394. package/dist/patterns/notice/meta.js.map +0 -1
  395. package/dist/patterns/notice/types.d.ts +0 -11
  396. package/dist/patterns/notice/types.d.ts.map +0 -1
  397. package/dist/patterns/notice/types.js +0 -2
  398. package/dist/patterns/notice/types.js.map +0 -1
  399. package/dist/patterns/panel/Panel.d.ts +0 -7
  400. package/dist/patterns/panel/Panel.d.ts.map +0 -1
  401. package/dist/patterns/panel/Panel.js +0 -15
  402. package/dist/patterns/panel/Panel.js.map +0 -1
  403. package/dist/patterns/panel/index.d.ts +0 -3
  404. package/dist/patterns/panel/index.d.ts.map +0 -1
  405. package/dist/patterns/panel/index.js +0 -2
  406. package/dist/patterns/panel/index.js.map +0 -1
  407. package/dist/patterns/panel/meta.d.ts +0 -80
  408. package/dist/patterns/panel/meta.d.ts.map +0 -1
  409. package/dist/patterns/panel/meta.js +0 -49
  410. package/dist/patterns/panel/meta.js.map +0 -1
  411. package/dist/patterns/panel/themeRecipeMeta.d.ts +0 -31
  412. package/dist/patterns/panel/themeRecipeMeta.d.ts.map +0 -1
  413. package/dist/patterns/panel/themeRecipeMeta.js +0 -31
  414. package/dist/patterns/panel/themeRecipeMeta.js.map +0 -1
  415. package/dist/patterns/panel/types.d.ts +0 -16
  416. package/dist/patterns/panel/types.d.ts.map +0 -1
  417. package/dist/patterns/panel/types.js +0 -2
  418. package/dist/patterns/panel/types.js.map +0 -1
  419. package/dist/patterns/reader/ReaderSurface.d.ts.map +0 -1
  420. package/dist/patterns/reader/ReaderSurface.js.map +0 -1
  421. package/dist/patterns/reader/index.d.ts +0 -4
  422. package/dist/patterns/reader/index.d.ts.map +0 -1
  423. package/dist/patterns/reader/index.js +0 -3
  424. package/dist/patterns/reader/index.js.map +0 -1
  425. package/dist/patterns/reader/resolveReaderProgress.d.ts.map +0 -1
  426. package/dist/patterns/reader/resolveReaderProgress.js.map +0 -1
  427. package/dist/patterns/reader/types.d.ts.map +0 -1
  428. package/dist/patterns/reader/types.js +0 -2
  429. package/dist/patterns/reader/types.js.map +0 -1
  430. package/dist/patterns/scanner/BarcodeScannerView.d.ts.map +0 -1
  431. package/dist/patterns/scanner/BarcodeScannerView.js.map +0 -1
  432. package/dist/patterns/scanner/CameraPermissionView.d.ts.map +0 -1
  433. package/dist/patterns/scanner/CameraPermissionView.js.map +0 -1
  434. package/dist/patterns/scanner/ScanOverlay.d.ts.map +0 -1
  435. package/dist/patterns/scanner/ScanOverlay.js.map +0 -1
  436. package/dist/patterns/scanner/index.d.ts +0 -5
  437. package/dist/patterns/scanner/index.d.ts.map +0 -1
  438. package/dist/patterns/scanner/index.js +0 -4
  439. package/dist/patterns/scanner/index.js.map +0 -1
  440. package/dist/patterns/scanner/types.d.ts.map +0 -1
  441. package/dist/patterns/scanner/types.js +0 -2
  442. package/dist/patterns/scanner/types.js.map +0 -1
  443. package/dist/patterns/section-header/SectionHeader.d.ts.map +0 -1
  444. package/dist/patterns/section-header/SectionHeader.js.map +0 -1
  445. package/dist/patterns/section-header/index.d.ts +0 -3
  446. package/dist/patterns/section-header/index.d.ts.map +0 -1
  447. package/dist/patterns/section-header/index.js +0 -2
  448. package/dist/patterns/section-header/index.js.map +0 -1
  449. package/dist/patterns/section-header/meta.d.ts.map +0 -1
  450. package/dist/patterns/section-header/meta.js.map +0 -1
  451. package/dist/patterns/section-header/types.d.ts +0 -9
  452. package/dist/patterns/section-header/types.d.ts.map +0 -1
  453. package/dist/patterns/section-header/types.js +0 -2
  454. package/dist/patterns/section-header/types.js.map +0 -1
  455. package/dist/patterns/selection/SelectableItem.d.ts.map +0 -1
  456. package/dist/patterns/selection/SelectableItem.js.map +0 -1
  457. package/dist/patterns/selection/SelectionProvider.d.ts.map +0 -1
  458. package/dist/patterns/selection/SelectionProvider.js.map +0 -1
  459. package/dist/patterns/selection/index.d.ts +0 -4
  460. package/dist/patterns/selection/index.d.ts.map +0 -1
  461. package/dist/patterns/selection/index.js +0 -3
  462. package/dist/patterns/selection/index.js.map +0 -1
  463. package/dist/patterns/selection/resolveSelectionNextIds.d.ts.map +0 -1
  464. package/dist/patterns/selection/resolveSelectionNextIds.js.map +0 -1
  465. package/dist/patterns/selection/types.d.ts.map +0 -1
  466. package/dist/patterns/selection/types.js +0 -2
  467. package/dist/patterns/selection/types.js.map +0 -1
  468. package/dist/patterns/switch-field/SwitchField.d.ts +0 -8
  469. package/dist/patterns/switch-field/SwitchField.d.ts.map +0 -1
  470. package/dist/patterns/switch-field/SwitchField.js +0 -13
  471. package/dist/patterns/switch-field/SwitchField.js.map +0 -1
  472. package/dist/patterns/switch-field/index.d.ts +0 -3
  473. package/dist/patterns/switch-field/index.d.ts.map +0 -1
  474. package/dist/patterns/switch-field/index.js +0 -3
  475. package/dist/patterns/switch-field/index.js.map +0 -1
  476. package/dist/patterns/switch-field/meta.d.ts +0 -9
  477. package/dist/patterns/switch-field/meta.d.ts.map +0 -1
  478. package/dist/patterns/switch-field/meta.js +0 -9
  479. package/dist/patterns/switch-field/meta.js.map +0 -1
  480. package/dist/patterns/switch-field/types.d.ts +0 -10
  481. package/dist/patterns/switch-field/types.d.ts.map +0 -1
  482. package/dist/patterns/switch-field/types.js +0 -2
  483. package/dist/patterns/switch-field/types.js.map +0 -1
  484. package/dist/patterns/theme-composer/ThemeComposer.d.ts +0 -9
  485. package/dist/patterns/theme-composer/ThemeComposer.d.ts.map +0 -1
  486. package/dist/patterns/theme-composer/ThemeComposer.js +0 -217
  487. package/dist/patterns/theme-composer/ThemeComposer.js.map +0 -1
  488. package/dist/patterns/theme-composer/index.d.ts +0 -3
  489. package/dist/patterns/theme-composer/index.d.ts.map +0 -1
  490. package/dist/patterns/theme-composer/index.js +0 -2
  491. package/dist/patterns/theme-composer/index.js.map +0 -1
  492. package/dist/patterns/theme-composer/meta.d.ts +0 -9
  493. package/dist/patterns/theme-composer/meta.d.ts.map +0 -1
  494. package/dist/patterns/theme-composer/meta.js +0 -9
  495. package/dist/patterns/theme-composer/meta.js.map +0 -1
  496. package/dist/patterns/theme-composer/types.d.ts +0 -12
  497. package/dist/patterns/theme-composer/types.d.ts.map +0 -1
  498. package/dist/patterns/theme-composer/types.js +0 -2
  499. package/dist/patterns/theme-composer/types.js.map +0 -1
  500. package/dist/patterns/timeline/Timeline.d.ts.map +0 -1
  501. package/dist/patterns/timeline/Timeline.js.map +0 -1
  502. package/dist/patterns/timeline/index.d.ts +0 -3
  503. package/dist/patterns/timeline/index.d.ts.map +0 -1
  504. package/dist/patterns/timeline/index.js +0 -2
  505. package/dist/patterns/timeline/index.js.map +0 -1
  506. package/dist/patterns/timeline/meta.d.ts.map +0 -1
  507. package/dist/patterns/timeline/types.d.ts.map +0 -1
  508. package/dist/patterns/timeline/types.js +0 -2
  509. package/dist/patterns/timeline/types.js.map +0 -1
  510. package/dist/patterns/tree-view/TreeItem.d.ts.map +0 -1
  511. package/dist/patterns/tree-view/TreeItem.js.map +0 -1
  512. package/dist/patterns/tree-view/TreeView.d.ts.map +0 -1
  513. package/dist/patterns/tree-view/TreeView.js.map +0 -1
  514. package/dist/patterns/tree-view/index.d.ts +0 -4
  515. package/dist/patterns/tree-view/index.d.ts.map +0 -1
  516. package/dist/patterns/tree-view/index.js +0 -4
  517. package/dist/patterns/tree-view/index.js.map +0 -1
  518. package/dist/patterns/tree-view/types.d.ts.map +0 -1
  519. package/dist/patterns/tree-view/types.js +0 -2
  520. package/dist/patterns/tree-view/types.js.map +0 -1
  521. package/src/patterns/chat-list-item/index.ts +0 -2
  522. package/src/patterns/chat-list-item/types.ts +0 -33
  523. package/src/patterns/collection-editor/index.ts +0 -2
  524. package/src/patterns/confirm-dialog/ConfirmDialog.tsx +0 -69
  525. package/src/patterns/confirm-dialog/index.ts +0 -2
  526. package/src/patterns/confirm-dialog/meta.ts +0 -10
  527. package/src/patterns/confirm-dialog/types.ts +0 -19
  528. package/src/patterns/filter-bar/FilterBar.tsx +0 -31
  529. package/src/patterns/filter-bar/index.ts +0 -2
  530. package/src/patterns/filter-bar/meta.ts +0 -10
  531. package/src/patterns/filter-bar/types.ts +0 -10
  532. package/src/patterns/inspector-field/InspectorField.tsx +0 -32
  533. package/src/patterns/inspector-field/index.ts +0 -2
  534. package/src/patterns/inspector-field/meta.ts +0 -10
  535. package/src/patterns/inspector-field/types.ts +0 -16
  536. package/src/patterns/message-bubble/index.ts +0 -8
  537. package/src/patterns/notice/Notice.tsx +0 -41
  538. package/src/patterns/notice/index.ts +0 -2
  539. package/src/patterns/notice/meta.ts +0 -36
  540. package/src/patterns/notice/types.ts +0 -12
  541. package/src/patterns/panel/Panel.tsx +0 -26
  542. package/src/patterns/panel/index.ts +0 -2
  543. package/src/patterns/panel/meta.ts +0 -51
  544. package/src/patterns/panel/themeRecipeMeta.ts +0 -32
  545. package/src/patterns/panel/types.ts +0 -17
  546. package/src/patterns/scanner/index.ts +0 -10
  547. package/src/patterns/section-header/index.ts +0 -2
  548. package/src/patterns/section-header/types.ts +0 -10
  549. package/src/patterns/selection/index.ts +0 -10
  550. package/src/patterns/switch-field/SwitchField.tsx +0 -42
  551. package/src/patterns/switch-field/index.ts +0 -2
  552. package/src/patterns/switch-field/meta.ts +0 -10
  553. package/src/patterns/switch-field/types.ts +0 -11
  554. package/src/patterns/theme-composer/ThemeComposer.test.ts +0 -212
  555. package/src/patterns/theme-composer/ThemeComposer.tsx +0 -321
  556. package/src/patterns/theme-composer/index.ts +0 -2
  557. package/src/patterns/theme-composer/meta.ts +0 -10
  558. package/src/patterns/theme-composer/types.ts +0 -13
  559. package/src/patterns/timeline/index.ts +0 -2
  560. package/src/patterns/tree-view/index.ts +0 -3
  561. /package/dist/{patterns → features}/collection-editor/meta.d.ts +0 -0
  562. /package/dist/{patterns → features}/collection-editor/meta.js +0 -0
  563. /package/dist/{patterns → features}/reader/meta.js +0 -0
  564. /package/dist/{patterns/reader → features/reader/utils}/resolveReaderProgress.d.ts +0 -0
  565. /package/dist/{patterns/reader → features/reader/utils}/resolveReaderProgress.js +0 -0
  566. /package/dist/{patterns → features}/scanner/meta.js +0 -0
  567. /package/dist/features/{layout → section}/screenSectionMeta.js +0 -0
  568. /package/dist/{patterns → features}/selection/meta.d.ts +0 -0
  569. /package/dist/{patterns → features}/selection/meta.js +0 -0
  570. /package/dist/{patterns/selection → features/selection/utils}/resolveSelectionNextIds.js +0 -0
  571. /package/dist/{patterns → features}/timeline/meta.d.ts +0 -0
  572. /package/dist/{patterns → features}/timeline/meta.js +0 -0
  573. /package/dist/{patterns → features}/tree-view/meta.d.ts +0 -0
  574. /package/dist/{patterns → features}/tree-view/meta.js +0 -0
  575. /package/src/{patterns/chat-list-item/meta.ts → features/chat/chatListItemMeta.ts} +0 -0
  576. /package/src/{patterns/message-bubble/meta.ts → features/chat/messageBubbleMeta.ts} +0 -0
  577. /package/src/{patterns → features}/collection-editor/meta.ts +0 -0
  578. /package/src/{patterns → features}/reader/meta.ts +0 -0
  579. /package/src/{patterns/reader → features/reader/utils}/resolveReaderProgress.test.ts +0 -0
  580. /package/src/{patterns/reader → features/reader/utils}/resolveReaderProgress.ts +0 -0
  581. /package/src/{patterns → features}/scanner/meta.ts +0 -0
  582. /package/src/features/{layout → section}/screenSectionMeta.ts +0 -0
  583. /package/src/{patterns/section-header/meta.ts → features/section/sectionHeaderMeta.ts} +0 -0
  584. /package/src/{patterns → features}/selection/meta.ts +0 -0
  585. /package/src/{patterns → features}/timeline/meta.ts +0 -0
  586. /package/src/{patterns → features}/tree-view/meta.ts +0 -0
  587. /package/src/{patterns/selection/types.ts → types/selection.ts} +0 -0
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/patterns/chat-list-item/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\nimport type { ImageSourcePropType } from 'react-native';\n\nimport type { AvatarShape, AvatarSize } from '../../features/avatar/public';\nimport type { ZoraColor } from '../../internal/recipes';\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface ChatListAvatar {\n source?: ImageSourcePropType;\n name?: string;\n initials?: string;\n label?: string;\n size?: AvatarSize;\n shape?: AvatarShape;\n color?: ZoraColor;\n}\n\nexport interface ChatListItemProps extends ZoraBaseProps {\n title: React.ReactNode;\n preview?: React.ReactNode;\n meta?: React.ReactNode;\n timestamp?: React.ReactNode;\n avatar?: ChatListAvatar;\n leading?: React.ReactNode;\n trailing?: React.ReactNode;\n unread?: boolean;\n unreadCount?: React.ReactNode;\n selected?: boolean;\n disabled?: boolean;\n compact?: boolean;\n accessibilityLabel?: string;\n onPress?: () => void;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollectionEditor.d.ts","sourceRoot":"","sources":["../../../src/patterns/collection-editor/CollectionEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA4GrD;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GA/GE,KAAK,mEA+GqC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollectionEditor.js","sourceRoot":"","sources":["../../../src/patterns/collection-editor/CollectionEditor.tsx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AAA,EAAE,IAAI,CAAC,CACR,CAAC,CACH,CACH;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,qBAAqB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Button } from '../../features/button/public';\nimport { IconButton } from '../../features/button/public';\nimport { View } from '../../features/layout/public';\nimport { Text } from '../../features/typography/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport { Panel } from '../panel';\nimport type { CollectionEditorProps } from './types';\n\nfunction CollectionEditorInner<TItem>({\n themeId: _themeId,\n mode: _mode,\n title,\n description,\n items,\n renderItem,\n onAdd,\n onRemove,\n onMove,\n addLabel = 'Add Item',\n emptyLabel = 'No items yet.',\n disabled,\n testID,\n interactionPolicy,\n}: CollectionEditorProps<TItem>) {\n const isEmpty = items.length === 0;\n\n return (\n <Panel\n compact\n description={description}\n interactionPolicy={interactionPolicy}\n testID={testID}\n title={title}\n actions={\n onAdd ? (\n <Button\n variant=\"soft\"\n size=\"s\"\n disabled={disabled}\n interactionPolicy={interactionPolicy}\n onPress={onAdd}\n >\n {addLabel}\n </Button>\n ) : null\n }\n >\n <View gap=\"s\">\n {isEmpty ? (\n <View py=\"m\">\n <Text align=\"center\" emphasis=\"muted\">\n {emptyLabel}\n </Text>\n </View>\n ) : (\n items.map((item, index) => (\n <View key={index} bg=\"subtle\" p=\"s\" radius=\"m\" borderColor=\"border\" borderWidth={1}>\n <View direction=\"row\" gap=\"m\" align=\"center\">\n <View flex={1}>\n {renderItem({\n item,\n index,\n remove: () => onRemove?.(index),\n moveUp: () => onMove?.(index, index - 1),\n moveDown: () => onMove?.(index, index + 1),\n canMoveUp: index > 0,\n canMoveDown: index < items.length - 1,\n })}\n </View>\n <View direction=\"row\" gap=\"xs\">\n {onMove ? (\n <>\n <IconButton\n icon={{ name: 'arrow-up-outline' }}\n label=\"Move Up\"\n disabled={disabled ?? index === 0}\n interactionPolicy={interactionPolicy}\n onPress={() => onMove(index, index - 1)}\n size=\"s\"\n variant=\"ghost\"\n />\n <IconButton\n icon={{ name: 'arrow-down-outline' }}\n label=\"Move Down\"\n disabled={disabled ?? index === items.length - 1}\n interactionPolicy={interactionPolicy}\n onPress={() => onMove(index, index + 1)}\n size=\"s\"\n variant=\"ghost\"\n />\n </>\n ) : null}\n {onRemove ? (\n <IconButton\n icon={{ name: 'trash-outline' }}\n label=\"Remove\"\n color=\"danger\"\n disabled={disabled}\n interactionPolicy={interactionPolicy}\n onPress={() => onRemove(index)}\n size=\"s\"\n variant=\"ghost\"\n />\n ) : null}\n </View>\n </View>\n </View>\n ))\n )}\n </View>\n </Panel>\n );\n}\n\n/***\n * Editor pattern for adding, removing, and reordering a collection of items.\n *\n \n */\nexport const CollectionEditor = withZoraThemeScope(CollectionEditorInner);\n"]}
@@ -1,3 +0,0 @@
1
- export * from './CollectionEditor';
2
- export * from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/collection-editor/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './CollectionEditor';
2
- export * from './types';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/collection-editor/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC","sourcesContent":["export * from './CollectionEditor';\nexport * from './types';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/patterns/collection-editor/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;CAOK,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/patterns/collection-editor/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,+BAA+B,CAAC,KAAK;IACpD,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,WAAW,qBAAqB,CAAC,KAAK,CAAE,SAAQ,aAAa;IACjE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,KAAK,EAAE,SAAS,KAAK,EAAE,CAAC;IACxB,UAAU,EAAE,CAAC,KAAK,EAAE,+BAA+B,CAAC,KAAK,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;IAC/E,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/patterns/collection-editor/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nexport interface CollectionEditorRenderItemProps<TItem> {\n item: TItem;\n index: number;\n remove: () => void;\n moveUp: () => void;\n moveDown: () => void;\n canMoveUp: boolean;\n canMoveDown: boolean;\n}\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface CollectionEditorProps<TItem> extends ZoraBaseProps {\n title?: React.ReactNode;\n description?: React.ReactNode;\n items: readonly TItem[];\n renderItem: (props: CollectionEditorRenderItemProps<TItem>) => React.ReactNode;\n onAdd?: () => void;\n onRemove?: (index: number) => void;\n onMove?: (from: number, to: number) => void;\n addLabel?: React.ReactNode;\n emptyLabel?: React.ReactNode;\n disabled?: boolean;\n}\n"]}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { ConfirmDialogProps } from './types';
3
- /***
4
- * Confirmation dialog pattern with cancel/confirm actions.
5
- *
6
-
7
- */
8
- export declare const ConfirmDialog: (props: ConfirmDialogProps) => React.ReactElement | null;
9
- //# sourceMappingURL=ConfirmDialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/patterns/confirm-dialog/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAyDlD;;;;GAIG;AACH,eAAO,MAAM,aAAa,0DAAyC,CAAC"}
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import { Button } from '../../features/button/public';
3
- import { Dialog } from '../../features/dialog/public';
4
- import { View } from '../../features/layout/public';
5
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
6
- function ConfirmDialogInner({ themeId: _themeId, mode: _mode, visible, title, description, children, confirmLabel = 'Confirm', cancelLabel = 'Cancel', confirmColor = 'danger', confirmVariant = 'solid', busy = false, closeOnBackdrop = true, onConfirm, onCancel, testID, interactionPolicy, }) {
7
- return (<Dialog closeOnBackdrop={closeOnBackdrop} description={description} interactionPolicy={interactionPolicy} footer={<View direction={{ base: 'column', md: 'row' }} gap="s" justify="flex-end">
8
- <Button variant="soft" interactionPolicy={interactionPolicy} onPress={onCancel} color="neutral">
9
- {cancelLabel}
10
- </Button>
11
- <Button variant={confirmVariant} loading={busy} interactionPolicy={interactionPolicy} onPress={onConfirm} color={confirmColor}>
12
- {confirmLabel}
13
- </Button>
14
- </View>} onDismiss={onCancel} testID={testID} title={title} visible={visible} width="narrow">
15
- {children}
16
- </Dialog>);
17
- }
18
- /***
19
- * Confirmation dialog pattern with cancel/confirm actions.
20
- *
21
-
22
- */
23
- export const ConfirmDialog = withZoraThemeScope(ConfirmDialogInner);
24
- //# sourceMappingURL=ConfirmDialog.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfirmDialog.js","sourceRoot":"","sources":["../../../src/patterns/confirm-dialog/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,kBAAkB,CAAC,EAC1B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,OAAO,EACP,KAAK,EACL,WAAW,EACX,QAAQ,EACR,YAAY,GAAG,SAAS,EACxB,WAAW,GAAG,QAAQ,EACtB,YAAY,GAAG,QAAQ,EACvB,cAAc,GAAG,OAAO,EACxB,IAAI,GAAG,KAAK,EACZ,eAAe,GAAG,IAAI,EACtB,SAAS,EACT,QAAQ,EACR,MAAM,EACN,iBAAiB,GACE;IACnB,OAAO,CACL,CAAC,MAAM,CACL,eAAe,CAAC,CAAC,eAAe,CAAC,CACjC,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CACrC,MAAM,CAAC,CACL,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CACxE;UAAA,CAAC,MAAM,CACL,OAAO,CAAC,MAAM,CACd,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CACrC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAClB,KAAK,CAAC,SAAS,CAEf;YAAA,CAAC,WAAW,CACd;UAAA,EAAE,MAAM,CACR;UAAA,CAAC,MAAM,CACL,OAAO,CAAC,CAAC,cAAc,CAAC,CACxB,OAAO,CAAC,CAAC,IAAI,CAAC,CACd,iBAAiB,CAAC,CAAC,iBAAiB,CAAC,CACrC,OAAO,CAAC,CAAC,SAAS,CAAC,CACnB,KAAK,CAAC,CAAC,YAAY,CAAC,CAEpB;YAAA,CAAC,YAAY,CACf;UAAA,EAAE,MAAM,CACV;QAAA,EAAE,IAAI,CACR,CAAC,CACD,SAAS,CAAC,CAAC,QAAQ,CAAC,CACpB,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,OAAO,CAAC,CAAC,OAAO,CAAC,CACjB,KAAK,CAAC,QAAQ,CAEd;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,MAAM,CAAC,CACV,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Button } from '../../features/button/public';\nimport { Dialog } from '../../features/dialog/public';\nimport { View } from '../../features/layout/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { ConfirmDialogProps } from './types';\n\nfunction ConfirmDialogInner({\n themeId: _themeId,\n mode: _mode,\n visible,\n title,\n description,\n children,\n confirmLabel = 'Confirm',\n cancelLabel = 'Cancel',\n confirmColor = 'danger',\n confirmVariant = 'solid',\n busy = false,\n closeOnBackdrop = true,\n onConfirm,\n onCancel,\n testID,\n interactionPolicy,\n}: ConfirmDialogProps) {\n return (\n <Dialog\n closeOnBackdrop={closeOnBackdrop}\n description={description}\n interactionPolicy={interactionPolicy}\n footer={\n <View direction={{ base: 'column', md: 'row' }} gap=\"s\" justify=\"flex-end\">\n <Button\n variant=\"soft\"\n interactionPolicy={interactionPolicy}\n onPress={onCancel}\n color=\"neutral\"\n >\n {cancelLabel}\n </Button>\n <Button\n variant={confirmVariant}\n loading={busy}\n interactionPolicy={interactionPolicy}\n onPress={onConfirm}\n color={confirmColor}\n >\n {confirmLabel}\n </Button>\n </View>\n }\n onDismiss={onCancel}\n testID={testID}\n title={title}\n visible={visible}\n width=\"narrow\"\n >\n {children}\n </Dialog>\n );\n}\n\n/***\n * Confirmation dialog pattern with cancel/confirm actions.\n *\n \n */\nexport const ConfirmDialog = withZoraThemeScope(ConfirmDialogInner);\n"]}
@@ -1,3 +0,0 @@
1
- export { ConfirmDialog } from './ConfirmDialog';
2
- export type { ConfirmDialogProps } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/confirm-dialog/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 { ConfirmDialog } from './ConfirmDialog';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/confirm-dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { ConfirmDialog } from './ConfirmDialog';\nexport type { ConfirmDialogProps } from './types';\n"]}
@@ -1,9 +0,0 @@
1
- export declare const confirmDialogMeta: {
2
- readonly name: "ConfirmDialog";
3
- readonly category: "pattern";
4
- readonly directManifestNode: false;
5
- readonly allowedChildren: readonly [];
6
- readonly note: "Dialog pattern; 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/patterns/confirm-dialog/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;CAOQ,CAAC"}
@@ -1,9 +0,0 @@
1
- export const confirmDialogMeta = {
2
- name: 'ConfirmDialog',
3
- category: 'pattern',
4
- directManifestNode: false,
5
- allowedChildren: [],
6
- note: 'Dialog pattern; 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/patterns/confirm-dialog/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,SAAS;IACnB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,2DAA2D;IACjE,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const confirmDialogMeta = {\n name: 'ConfirmDialog',\n category: 'pattern',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Dialog pattern; not represented as a manifest node in v1.',\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,18 +0,0 @@
1
- import type React from 'react';
2
- import type { ZoraButtonVariant, ZoraColor } from '../../internal/recipes';
3
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
4
- export interface ConfirmDialogProps extends ZoraBaseProps {
5
- visible: boolean;
6
- title: React.ReactNode;
7
- description?: React.ReactNode;
8
- children?: React.ReactNode;
9
- confirmLabel?: React.ReactNode;
10
- cancelLabel?: React.ReactNode;
11
- confirmColor?: ZoraColor;
12
- confirmVariant?: ZoraButtonVariant;
13
- busy?: boolean;
14
- closeOnBackdrop?: boolean;
15
- onConfirm?: () => void;
16
- onCancel?: () => void;
17
- }
18
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/patterns/confirm-dialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,iBAAiB,CAAC;IACnC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/patterns/confirm-dialog/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraButtonVariant, ZoraColor } from '../../internal/recipes';\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface ConfirmDialogProps extends ZoraBaseProps {\n visible: boolean;\n title: React.ReactNode;\n description?: React.ReactNode;\n children?: React.ReactNode;\n confirmLabel?: React.ReactNode;\n cancelLabel?: React.ReactNode;\n confirmColor?: ZoraColor;\n confirmVariant?: ZoraButtonVariant;\n busy?: boolean;\n closeOnBackdrop?: boolean;\n onConfirm?: () => void;\n onCancel?: () => void;\n}\n"]}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { FilterBarProps } from './types';
3
- /***
4
- * Horizontal filter/action bar layout with leading/trailing slots.
5
- *
6
-
7
- */
8
- export declare const FilterBar: (props: FilterBarProps) => React.ReactElement | null;
9
- //# sourceMappingURL=FilterBar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../src/patterns/filter-bar/FilterBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAqB9C;;;;GAIG;AACH,eAAO,MAAM,SAAS,sDAAqC,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { View } from '../../features/layout/public';
3
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
4
- function FilterBarInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, testID, leading, trailing, children, wrap = true, }) {
5
- return (<View direction="row" align="center" gap="s" testID={testID} wrap={wrap ? 'wrap' : 'nowrap'}>
6
- {leading ? <View>{leading}</View> : null}
7
- <View flex={1}>{children}</View>
8
- {trailing ? <View>{trailing}</View> : null}
9
- </View>);
10
- }
11
- /***
12
- * Horizontal filter/action bar layout with leading/trailing slots.
13
- *
14
-
15
- */
16
- export const FilterBar = withZoraThemeScope(FilterBarInner);
17
- //# sourceMappingURL=FilterBar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterBar.js","sourceRoot":"","sources":["../../../src/patterns/filter-bar/FilterBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,cAAc,CAAC,EACtB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,IAAI,GAAG,IAAI,GACI;IACf,OAAO,CACL,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAC1F;MAAA,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CACxC;MAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAI,CAC/B;MAAA,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAC5C;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,kBAAkB,CAAC,cAAc,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { View } from '../../features/layout/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { FilterBarProps } from './types';\n\nfunction FilterBarInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n testID,\n leading,\n trailing,\n children,\n wrap = true,\n}: FilterBarProps) {\n return (\n <View direction=\"row\" align=\"center\" gap=\"s\" testID={testID} wrap={wrap ? 'wrap' : 'nowrap'}>\n {leading ? <View>{leading}</View> : null}\n <View flex={1}>{children}</View>\n {trailing ? <View>{trailing}</View> : null}\n </View>\n );\n}\n\n/***\n * Horizontal filter/action bar layout with leading/trailing slots.\n *\n \n */\nexport const FilterBar = withZoraThemeScope(FilterBarInner);\n"]}
@@ -1,3 +0,0 @@
1
- export { FilterBar } from './FilterBar';
2
- export type { FilterBarProps } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/filter-bar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export { FilterBar } from './FilterBar';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/filter-bar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC","sourcesContent":["export { FilterBar } from './FilterBar';\nexport type { FilterBarProps } from './types';\n"]}
@@ -1,9 +0,0 @@
1
- export declare const filterBarMeta: {
2
- readonly name: "FilterBar";
3
- readonly category: "pattern";
4
- readonly directManifestNode: false;
5
- readonly allowedChildren: readonly [];
6
- readonly note: "Filtering pattern; 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/patterns/filter-bar/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;CAOY,CAAC"}
@@ -1,9 +0,0 @@
1
- export const filterBarMeta = {
2
- name: 'FilterBar',
3
- category: 'pattern',
4
- directManifestNode: false,
5
- allowedChildren: [],
6
- note: 'Filtering pattern; 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/patterns/filter-bar/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,SAAS;IACnB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,8DAA8D;IACpE,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const filterBarMeta = {\n name: 'FilterBar',\n category: 'pattern',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Filtering pattern; not represented as a manifest node in v1.',\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,9 +0,0 @@
1
- import type React from 'react';
2
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
3
- export interface FilterBarProps extends ZoraBaseProps {
4
- leading?: React.ReactNode;
5
- trailing?: React.ReactNode;
6
- children: React.ReactNode;
7
- wrap?: boolean;
8
- }
9
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/patterns/filter-bar/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,cAAe,SAAQ,aAAa;IACnD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/patterns/filter-bar/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface FilterBarProps extends ZoraBaseProps {\n leading?: React.ReactNode;\n trailing?: React.ReactNode;\n children: React.ReactNode;\n wrap?: boolean;\n}\n"]}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { InspectorFieldProps } from './types';
3
- /***
4
- * Inspector row pattern with label, description, and control slot.
5
- *
6
-
7
- */
8
- export declare const InspectorField: (props: InspectorFieldProps) => React.ReactElement | null;
9
- //# sourceMappingURL=InspectorField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InspectorField.d.ts","sourceRoot":"","sources":["../../../src/patterns/inspector-field/InspectorField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAqBnD;;;;GAIG;AACH,eAAO,MAAM,cAAc,2DAA0C,CAAC"}
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { Field } from '../../features/form/public';
3
- import { View } from '../../features/layout/public';
4
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
5
- function InspectorFieldInner({ themeId: _themeId, mode: _mode, label, control, children, interactionPolicy: _interactionPolicy, ...props }) {
6
- return (<Field {...props} label={label}>
7
- <View direction="row" gap="s" align="center">
8
- <View flex={1}>{children}</View>
9
- {control ? <View>{control}</View> : null}
10
- </View>
11
- </Field>);
12
- }
13
- /***
14
- * Inspector row pattern with label, description, and control slot.
15
- *
16
-
17
- */
18
- export const InspectorField = withZoraThemeScope(InspectorFieldInner);
19
- //# sourceMappingURL=InspectorField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InspectorField.js","sourceRoot":"","sources":["../../../src/patterns/inspector-field/InspectorField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,mBAAmB,CAAC,EAC3B,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,KAAK,EACL,OAAO,EACP,QAAQ,EACR,iBAAiB,EAAE,kBAAkB,EACrC,GAAG,KAAK,EACY;IACpB,OAAO,CACL,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAC7B;MAAA,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,CAC1C;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAI,CAC/B;QAAA,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAC1C;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,kBAAkB,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Field } from '../../features/form/public';\nimport { View } from '../../features/layout/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { InspectorFieldProps } from './types';\n\nfunction InspectorFieldInner({\n themeId: _themeId,\n mode: _mode,\n label,\n control,\n children,\n interactionPolicy: _interactionPolicy,\n ...props\n}: InspectorFieldProps) {\n return (\n <Field {...props} label={label}>\n <View direction=\"row\" gap=\"s\" align=\"center\">\n <View flex={1}>{children}</View>\n {control ? <View>{control}</View> : null}\n </View>\n </Field>\n );\n}\n\n/***\n * Inspector row pattern with label, description, and control slot.\n *\n \n */\nexport const InspectorField = withZoraThemeScope(InspectorFieldInner);\n"]}
@@ -1,3 +0,0 @@
1
- export * from './InspectorField';
2
- export * from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/inspector-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './InspectorField';
2
- export * from './types';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/inspector-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC","sourcesContent":["export * from './InspectorField';\nexport * from './types';\n"]}
@@ -1,9 +0,0 @@
1
- export declare const inspectorFieldMeta: {
2
- readonly name: "InspectorField";
3
- readonly category: "pattern";
4
- readonly directManifestNode: false;
5
- readonly allowedChildren: readonly [];
6
- readonly note: "Inspector pattern; 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/patterns/inspector-field/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;CAOO,CAAC"}
@@ -1,9 +0,0 @@
1
- export const inspectorFieldMeta = {
2
- name: 'InspectorField',
3
- category: 'pattern',
4
- directManifestNode: false,
5
- allowedChildren: [],
6
- note: 'Inspector pattern; 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/patterns/inspector-field/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,gBAAgB;IACtB,QAAQ,EAAE,SAAS;IACnB,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,8DAA8D;IACpE,KAAK,EAAE,EAAE;CAC2B,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const inspectorFieldMeta = {\n name: 'InspectorField',\n category: 'pattern',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Inspector pattern; not represented as a manifest node in v1.',\n props: {},\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1,15 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { ZoraBaseProps } from '../../theme/ZoraBaseProps';
3
- export interface InspectorFieldProps extends ZoraBaseProps {
4
- label: ReactNode;
5
- description?: ReactNode;
6
- helperText?: ReactNode;
7
- errorText?: ReactNode;
8
- required?: boolean;
9
- invalid?: boolean;
10
- disabled?: boolean;
11
- readOnly?: boolean;
12
- control?: ReactNode;
13
- children?: ReactNode;
14
- }
15
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/patterns/inspector-field/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACxD,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/patterns/inspector-field/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ReactNode } from 'react';\n\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport interface InspectorFieldProps extends ZoraBaseProps {\n label: ReactNode;\n description?: ReactNode;\n helperText?: ReactNode;\n errorText?: ReactNode;\n required?: boolean;\n invalid?: boolean;\n disabled?: boolean;\n readOnly?: boolean;\n control?: ReactNode;\n children?: ReactNode;\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageBubble.d.ts","sourceRoot":"","sources":["../../../src/patterns/message-bubble/MessageBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAGV,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AAiQjB;;;;GAIG;AACH,eAAO,MAAM,aAAa,0DAAyC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageBubble.js","sourceRoot":"","sources":["../../../src/patterns/message-bubble/MessageBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AACxD,OAAO,EAAE,Y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CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CACtD;QAAA,CAAC,CAAC,UAAU,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CACxE;MAAA,EAAE,IAAI,CACN;MAAA,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,CAChB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAC5E;UAAA,CAAC,MAAM,CACT;QAAA,EAAE,IAAI,CAAC,CACR,CAAC,CAAC,CAAC,IAAI,CACV;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,kBAAkB,CAAC,CAAC","sourcesContent":["import { ButtonBase } from '@ankhorage/surface';\nimport React from 'react';\n\nimport { Avatar } from '../../features/avatar/public';\nimport { View } from '../../features/layout/public';\nimport { Text } from '../../features/typography/public';\nimport { useZoraTheme } from '../../theme/useZoraTheme';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type {\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './types';\n\nfunction resolveAvatarName({\n avatar,\n authorName,\n}: {\n avatar: MessageBubbleAvatar | undefined;\n authorName: React.ReactNode | undefined;\n}): string | undefined {\n if (avatar?.name) return avatar.name;\n return typeof authorName === 'string' ? authorName : undefined;\n}\n\nfunction resolvePadding(compact: boolean) {\n return compact ? { px: 'm' as const, py: 's' as const } : { px: 'm' as const, py: 'm' as const };\n}\n\nfunction resolveStatusLabel(status: MessageBubbleStatus): string {\n switch (status) {\n case 'sending':\n return 'Sending';\n case 'sent':\n return 'Sent';\n case 'delivered':\n return 'Delivered';\n case 'read':\n return 'Read';\n case 'failed':\n return 'Failed';\n default:\n return status;\n }\n}\n\nfunction isMessageBubbleStatus(\n status: MessageBubbleProps['status'],\n): status is MessageBubbleStatus {\n return (\n status === 'sending' ||\n status === 'sent' ||\n status === 'delivered' ||\n status === 'read' ||\n status === 'failed'\n );\n}\n\nfunction resolveStatus(status: MessageBubbleProps['status']) {\n if (status == null) return null;\n return isMessageBubbleStatus(status) ? resolveStatusLabel(status) : status;\n}\n\nfunction resolveBubbleStyles({\n direction,\n disabled,\n hovered,\n pressed,\n selected,\n theme,\n}: {\n direction: MessageBubbleDirection;\n disabled: boolean;\n hovered: boolean;\n pressed: boolean;\n selected: boolean;\n theme: ReturnType<typeof useZoraTheme>['theme'];\n}) {\n const borderColor = selected ? theme.semantics.border.focus : theme.semantics.border.default;\n\n if (direction === 'system') {\n return {\n bg: selected ? theme.semantics.neutral.surface : 'transparent',\n borderColor,\n borderWidth: selected ? 1 : 0,\n opacity: disabled ? 0.72 : 1,\n };\n }\n\n const interactiveBg = pressed\n ? theme.semantics.neutral.surfaceActive\n : hovered\n ? theme.semantics.neutral.surfaceHover\n : undefined;\n\n return {\n bg:\n interactiveBg ??\n (direction === 'outgoing' ? theme.semantics.neutral.surface : theme.semantics.surface.raised),\n borderColor,\n borderWidth: selected ? 1 : 0,\n opacity: disabled ? 0.72 : 1,\n };\n}\n\nfunction MessageAvatar({\n avatar,\n authorName,\n compact,\n}: {\n avatar: MessageBubbleAvatar;\n authorName: React.ReactNode | undefined;\n compact: boolean;\n}) {\n const avatarName = resolveAvatarName({ avatar, authorName });\n\n return (\n <Avatar\n initials={avatar.initials}\n label={avatar.label ?? avatarName}\n name={avatarName}\n shape={avatar.shape}\n size={avatar.size ?? (compact ? 'xs' : 's')}\n source={avatar.source}\n color={avatar.color}\n />\n );\n}\n\nfunction MessageBubbleInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy,\n testID,\n direction = 'incoming',\n text,\n children,\n author,\n timestamp,\n meta,\n status,\n leading,\n trailing,\n footer,\n selected = false,\n disabled = false,\n compact = false,\n accessibilityLabel,\n onPress,\n}: MessageBubbleProps) {\n const { theme } = useZoraTheme();\n const padding = resolvePadding(compact);\n const isInteractive = Boolean(onPress);\n const isOutgoing = direction === 'outgoing';\n const isSystem = direction === 'system';\n const renderedStatus = resolveStatus(status);\n const authorName = author?.name;\n const authorAvatar = author?.avatar;\n const hasAuthorName = authorName != null && !isOutgoing && !isSystem;\n const hasAvatar = authorAvatar != null && !isOutgoing && !isSystem;\n const hasMetaRow = timestamp != null || meta != null || renderedStatus != null;\n\n const renderBubble = ({ pressed, hovered }: { pressed: boolean; hovered: boolean }) => {\n const styles = resolveBubbleStyles({ direction, disabled, hovered, pressed, selected, theme });\n\n return (\n <View\n bg={styles.bg}\n borderColor={styles.borderColor}\n borderWidth={styles.borderWidth}\n px={padding.px}\n py={padding.py}\n radius={isSystem ? 'm' : 'l'}\n style={{ maxWidth: compact ? 420 : 560, opacity: styles.opacity }}\n >\n <View align={isSystem ? 'center' : 'flex-start'} gap={compact ? 'xxs' : 'xs'}>\n {hasAuthorName ? (\n <Text emphasis=\"muted\" variant=\"caption\" weight=\"semiBold\">\n {authorName}\n </Text>\n ) : null}\n {text != null ? (\n <Text align={isSystem ? 'center' : undefined} emphasis={disabled ? 'muted' : 'default'}>\n {text}\n </Text>\n ) : null}\n {children != null ? <View width=\"100%\">{children}</View> : null}\n {hasMetaRow ? (\n <View\n direction=\"row\"\n align=\"center\"\n gap=\"xs\"\n justify={isOutgoing ? 'flex-end' : isSystem ? 'center' : 'flex-start'}\n wrap=\"wrap\"\n >\n {timestamp != null ? (\n <Text emphasis=\"subtle\" variant=\"caption\">\n {timestamp}\n </Text>\n ) : null}\n {meta != null ? (\n <Text emphasis=\"subtle\" variant=\"caption\">\n {meta}\n </Text>\n ) : null}\n {renderedStatus != null ? (\n <Text\n color={status === 'failed' ? 'danger' : undefined}\n emphasis={status === 'failed' ? 'default' : 'subtle'}\n variant=\"caption\"\n >\n {renderedStatus}\n </Text>\n ) : null}\n </View>\n ) : null}\n </View>\n </View>\n );\n };\n\n const bubbleContent = isInteractive ? (\n <ButtonBase\n accessibilityLabel={accessibilityLabel}\n accessibilityRole=\"button\"\n accessibilityState={{ disabled, selected }}\n disabled={disabled}\n interactionPolicy={interactionPolicy}\n onPress={onPress}\n radius={isSystem ? 'm' : 'l'}\n testID={testID}\n >\n {(state) => renderBubble({ pressed: state.pressed, hovered: state.hovered })}\n </ButtonBase>\n ) : (\n <View testID={testID}>{renderBubble({ pressed: false, hovered: false })}</View>\n );\n\n return (\n <View gap=\"xs\" style={{ width: '100%' }}>\n <View\n direction=\"row\"\n align=\"flex-end\"\n gap=\"s\"\n justify={isSystem ? 'center' : isOutgoing ? 'flex-end' : 'flex-start'}\n wrap=\"nowrap\"\n >\n {!isOutgoing && !isSystem ? (\n <View>\n {leading ??\n (hasAvatar ? (\n <MessageAvatar avatar={authorAvatar} authorName={authorName} compact={compact} />\n ) : null)}\n </View>\n ) : null}\n {isOutgoing && trailing ? <View>{trailing}</View> : null}\n {bubbleContent}\n {isOutgoing && leading ? <View>{leading}</View> : null}\n {!isOutgoing && !isSystem && trailing ? <View>{trailing}</View> : null}\n </View>\n {footer != null ? (\n <View alignSelf={isOutgoing ? 'flex-end' : isSystem ? 'center' : 'flex-start'}>\n {footer}\n </View>\n ) : null}\n </View>\n );\n}\n\n/***\n * Message bubble pattern for chat UIs with direction and status styling.\n *\n \n */\nexport const MessageBubble = withZoraThemeScope(MessageBubbleInner);\n"]}
@@ -1,3 +0,0 @@
1
- export { MessageBubble } from './MessageBubble';
2
- export type { MessageBubbleAuthor, MessageBubbleAvatar, MessageBubbleDirection, MessageBubbleProps, MessageBubbleStatus, } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/message-bubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,SAAS,CAAC"}
@@ -1,2 +0,0 @@
1
- export { MessageBubble } from './MessageBubble';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/message-bubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["export { MessageBubble } from './MessageBubble';\nexport type {\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './types';\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/patterns/message-bubble/meta.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/patterns/message-bubble/meta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE5E,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,eAAe;IACrB,QAAQ,EAAE,SAAS;IACnB,WAAW,EACT,2FAA2F;IAC7F,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,CAAC,GAAG,0BAA0B,CAAC;IAChD,SAAS,EAAE;QACT,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE;QACpC,YAAY,EAAE;YACZ,SAAS,EAAE,UAAU;YACrB,IAAI,EAAE,4CAA4C;YAClD,SAAS,EAAE,OAAO;SACnB;KACF;IACD,KAAK,EAAE;QACL,SAAS,EAAE;YACT,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC;YACxC,OAAO,EAAE,UAAU;SACpB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,MAAM;SACd;QACD,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,WAAW;SACnB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,MAAM;SACd;QACD,MAAM,EAAE;YACN,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC;SACzD;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;SACf;QACD,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,QAAQ;YAClB,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE,KAAK;SACf;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\nimport { CONTAINER_ALLOWED_CHILDREN } from '../../metadata/allowedChildren';\n\nexport const messageBubbleMeta = {\n name: 'MessageBubble',\n category: 'pattern',\n description:\n 'Chat/message bubble with direction, author, text, meta, and delivery status presentation.',\n directManifestNode: true,\n allowedChildren: [...CONTAINER_ALLOWED_CHILDREN],\n blueprint: {\n label: 'Message bubble',\n icon: { name: 'chatbubble-outline' },\n defaultProps: {\n direction: 'incoming',\n text: 'Can you review the latest message pattern?',\n timestamp: '10:41',\n },\n },\n props: {\n direction: {\n type: 'enum',\n category: 'Content',\n label: 'Direction',\n enum: ['incoming', 'outgoing', 'system'],\n default: 'incoming',\n },\n text: {\n type: 'string',\n category: 'Content',\n label: 'Text',\n },\n timestamp: {\n type: 'string',\n category: 'Content',\n label: 'Timestamp',\n },\n meta: {\n type: 'string',\n category: 'Content',\n label: 'Meta',\n },\n status: {\n type: 'enum',\n category: 'Content',\n label: 'Status',\n enum: ['sending', 'sent', 'delivered', 'read', 'failed'],\n },\n selected: {\n type: 'boolean',\n category: 'State',\n label: 'Selected',\n default: false,\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n },\n compact: {\n type: 'boolean',\n category: 'Layout',\n label: 'Compact',\n default: false,\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/patterns/message-bubble/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,MAAM,MAAM,sBAAsB,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,MAAM,GAAG,WAAW,GAAG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 -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/patterns/message-bubble/types.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\nimport type { ImageSourcePropType } from 'react-native';\n\nimport type { AvatarShape, AvatarSize } from '../../features/avatar/public';\nimport type { ZoraColor } from '../../internal/recipes';\nimport type { ZoraBaseProps } from '../../theme/ZoraBaseProps';\n\nexport type MessageBubbleDirection = 'incoming' | 'outgoing' | 'system';\nexport type MessageBubbleStatus = 'sending' | 'sent' | 'delivered' | 'read' | 'failed';\ntype MessageBubbleStatusContent = MessageBubbleStatus | Exclude<React.ReactNode, string>;\n\nexport interface MessageBubbleAvatar {\n source?: ImageSourcePropType;\n name?: string;\n initials?: string;\n label?: string;\n size?: AvatarSize;\n shape?: AvatarShape;\n color?: ZoraColor;\n}\n\nexport interface MessageBubbleAuthor {\n name?: React.ReactNode;\n avatar?: MessageBubbleAvatar;\n}\n\nexport interface MessageBubbleProps extends ZoraBaseProps {\n direction?: MessageBubbleDirection;\n text?: React.ReactNode;\n children?: React.ReactNode;\n author?: MessageBubbleAuthor;\n timestamp?: React.ReactNode;\n meta?: React.ReactNode;\n status?: MessageBubbleStatusContent;\n leading?: React.ReactNode;\n trailing?: React.ReactNode;\n footer?: React.ReactNode;\n selected?: boolean;\n disabled?: boolean;\n compact?: boolean;\n accessibilityLabel?: string;\n onPress?: () => void;\n}\n"]}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { NoticeProps } from './types';
3
- /***
4
- * Notice pattern for inline feedback with tone, title, and actions.
5
- *
6
-
7
- */
8
- export declare const Notice: (props: NoticeProps) => React.ReactElement | null;
9
- //# sourceMappingURL=Notice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Notice.d.ts","sourceRoot":"","sources":["../../../src/patterns/notice/Notice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA6B3C;;;;GAIG;AACH,eAAO,MAAM,MAAM,mDAAkC,CAAC"}
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { Badge } from '../../features/badge/public';
3
- import { Card } from '../../features/card/public';
4
- import { View } from '../../features/layout/public';
5
- import { withZoraThemeScope } from '../../theme/withZoraThemeScope';
6
- function NoticeInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, title, description, children, actions, color = 'primary', testID, }) {
7
- return (<Card description={description} eyebrow={<Badge color={color}>{String(color).toUpperCase()}</Badge>} testID={testID} title={title} tone="subtle">
8
- <View gap="m">
9
- {children ? <View>{children}</View> : null}
10
- {actions ? <View>{actions}</View> : null}
11
- </View>
12
- </Card>);
13
- }
14
- /***
15
- * Notice pattern for inline feedback with tone, title, and actions.
16
- *
17
-
18
- */
19
- export const Notice = withZoraThemeScope(NoticeInner);
20
- //# sourceMappingURL=Notice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Notice.js","sourceRoot":"","sources":["../../../src/patterns/notice/Notice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAGpE,SAAS,WAAW,CAAC,EACnB,OAAO,EAAE,QAAQ,EACjB,IAAI,EAAE,KAAK,EACX,iBAAiB,EAAE,kBAAkB,EACrC,KAAK,EACL,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,GAAG,SAAS,EACjB,MAAM,GACM;IACZ,OAAO,CACL,CAAC,IAAI,CACH,WAAW,CAAC,CAAC,WAAW,CAAC,CACzB,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,CACpE,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,KAAK,CAAC,CAAC,KAAK,CAAC,CACb,IAAI,CAAC,QAAQ,CAEb;MAAA,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CACX;QAAA,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAC1C;QAAA,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAC1C;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,kBAAkB,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import React from 'react';\n\nimport { Badge } from '../../features/badge/public';\nimport { Card } from '../../features/card/public';\nimport { View } from '../../features/layout/public';\nimport { withZoraThemeScope } from '../../theme/withZoraThemeScope';\nimport type { NoticeProps } from './types';\n\nfunction NoticeInner({\n themeId: _themeId,\n mode: _mode,\n interactionPolicy: _interactionPolicy,\n title,\n description,\n children,\n actions,\n color = 'primary',\n testID,\n}: NoticeProps) {\n return (\n <Card\n description={description}\n eyebrow={<Badge color={color}>{String(color).toUpperCase()}</Badge>}\n testID={testID}\n title={title}\n tone=\"subtle\"\n >\n <View gap=\"m\">\n {children ? <View>{children}</View> : null}\n {actions ? <View>{actions}</View> : null}\n </View>\n </Card>\n );\n}\n\n/***\n * Notice pattern for inline feedback with tone, title, and actions.\n *\n \n */\nexport const Notice = withZoraThemeScope(NoticeInner);\n"]}
@@ -1,3 +0,0 @@
1
- export { Notice } from './Notice';
2
- export type { NoticeProps } from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/patterns/notice/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}