@ankhorage/zora 28.3.0 → 28.5.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 (307) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/capabilities/index.js +52 -1
  4. package/dist/capabilities/index.js.map +6 -5
  5. package/dist/constants/authoring.d.ts +4 -3
  6. package/dist/constants/authoring.d.ts.map +1 -1
  7. package/dist/constants/authoring.js +2 -0
  8. package/dist/constants/authoring.js.map +1 -1
  9. package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
  10. package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
  11. package/dist/features/card/cardMeta.d.ts +1 -1
  12. package/dist/features/card/mediaCardMeta.d.ts +1 -1
  13. package/dist/features/card/postCardMeta.d.ts +1 -1
  14. package/dist/features/chat/messageBubbleMeta.d.ts +1 -1
  15. package/dist/features/dialog/dialogMeta.d.ts +2 -2
  16. package/dist/features/gradient/gradientMeta.d.ts +1 -1
  17. package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
  18. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts +4 -0
  19. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts.map +1 -0
  20. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js +18 -0
  21. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js.map +1 -0
  22. package/dist/features/layout/gridMeta.d.ts +1 -1
  23. package/dist/features/layout/public.d.ts +1 -0
  24. package/dist/features/layout/public.d.ts.map +1 -1
  25. package/dist/features/layout/public.js +1 -0
  26. package/dist/features/layout/public.js.map +1 -1
  27. package/dist/features/layout/screenMeta.d.ts +1 -1
  28. package/dist/features/layout/scrollViewMeta.d.ts +1 -1
  29. package/dist/features/layout/viewMeta.d.ts +1 -1
  30. package/dist/features/list/flatListMeta.d.ts +1 -1
  31. package/dist/features/list/sectionListMeta.d.ts +1 -1
  32. package/dist/features/master-detail/masterDetailMeta.d.ts +1 -1
  33. package/dist/features/popover/adapters/inbound/Popover.d.ts +4 -0
  34. package/dist/features/popover/adapters/inbound/Popover.d.ts.map +1 -0
  35. package/dist/features/popover/adapters/inbound/Popover.js +9 -0
  36. package/dist/features/popover/adapters/inbound/Popover.js.map +1 -0
  37. package/dist/features/popover/public.d.ts +3 -0
  38. package/dist/features/popover/public.d.ts.map +1 -0
  39. package/dist/features/popover/public.js +2 -0
  40. package/dist/features/popover/public.js.map +1 -0
  41. package/dist/features/reader/meta.d.ts +2 -2
  42. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -1
  43. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +2 -0
  44. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -1
  45. package/dist/features/registry/bindableComponentMeta.d.ts +2 -2
  46. package/dist/features/registry/componentMeta.d.ts.map +1 -1
  47. package/dist/features/registry/componentMeta.js +2 -0
  48. package/dist/features/registry/componentMeta.js.map +1 -1
  49. package/dist/features/rich-text/adapters/inbound/RichText.d.ts +11 -0
  50. package/dist/features/rich-text/adapters/inbound/RichText.d.ts.map +1 -0
  51. package/dist/features/rich-text/adapters/inbound/RichText.js +11 -0
  52. package/dist/features/rich-text/adapters/inbound/RichText.js.map +1 -0
  53. package/dist/features/rich-text/adapters/inbound/RichText.web.d.ts +5 -0
  54. package/dist/features/rich-text/adapters/inbound/RichText.web.d.ts.map +1 -0
  55. package/dist/features/rich-text/adapters/inbound/RichText.web.js +17 -0
  56. package/dist/features/rich-text/adapters/inbound/RichText.web.js.map +1 -0
  57. package/dist/features/rich-text/adapters/inbound/RichTextClient.d.ts +5 -0
  58. package/dist/features/rich-text/adapters/inbound/RichTextClient.d.ts.map +1 -0
  59. package/dist/features/rich-text/adapters/inbound/RichTextClient.js +94 -0
  60. package/dist/features/rich-text/adapters/inbound/RichTextClient.js.map +1 -0
  61. package/dist/features/rich-text/public.d.ts +3 -0
  62. package/dist/features/rich-text/public.d.ts.map +1 -0
  63. package/dist/features/rich-text/public.js +2 -0
  64. package/dist/features/rich-text/public.js.map +1 -0
  65. package/dist/features/rich-text/richTextMeta.d.ts +65 -0
  66. package/dist/features/rich-text/richTextMeta.d.ts.map +1 -0
  67. package/dist/features/rich-text/richTextMeta.js +48 -0
  68. package/dist/features/rich-text/richTextMeta.js.map +1 -0
  69. package/dist/features/rich-text/utils/resolveRichTextHtmlStyle.d.ts +5 -0
  70. package/dist/features/rich-text/utils/resolveRichTextHtmlStyle.d.ts.map +1 -0
  71. package/dist/features/rich-text/utils/resolveRichTextHtmlStyle.js +29 -0
  72. package/dist/features/rich-text/utils/resolveRichTextHtmlStyle.js.map +1 -0
  73. package/dist/features/rich-text/utils/sanitizeRichTextHtml.d.ts +3 -0
  74. package/dist/features/rich-text/utils/sanitizeRichTextHtml.d.ts.map +1 -0
  75. package/dist/features/rich-text/utils/sanitizeRichTextHtml.js +38 -0
  76. package/dist/features/rich-text/utils/sanitizeRichTextHtml.js.map +1 -0
  77. package/dist/features/scanner/meta.d.ts +2 -2
  78. package/dist/features/section/screenSectionMeta.d.ts +1 -1
  79. package/dist/features/surface/surfaceMeta.d.ts +1 -1
  80. package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
  81. package/dist/features/theme/adapters/inbound/ZoraProvider.d.ts.map +1 -1
  82. package/dist/features/theme/adapters/inbound/ZoraProvider.js +10 -8
  83. package/dist/features/theme/adapters/inbound/ZoraProvider.js.map +1 -1
  84. package/dist/index.d.ts +3 -0
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +2 -0
  87. package/dist/index.js.map +1 -1
  88. package/dist/readerFree.d.ts +1 -0
  89. package/dist/readerFree.d.ts.map +1 -1
  90. package/dist/readerFree.js +1 -0
  91. package/dist/readerFree.js.map +1 -1
  92. package/dist/types/popover.d.ts +7 -0
  93. package/dist/types/popover.d.ts.map +1 -0
  94. package/dist/types/popover.js +2 -0
  95. package/dist/types/popover.js.map +1 -0
  96. package/dist/types/rich-text.d.ts +24 -0
  97. package/dist/types/rich-text.d.ts.map +1 -0
  98. package/dist/types/rich-text.js +2 -0
  99. package/dist/types/rich-text.js.map +1 -0
  100. package/package.json +56 -2
  101. package/src/constants/authoring.ts +2 -0
  102. package/src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx +26 -0
  103. package/src/features/layout/public.test.ts +9 -1
  104. package/src/features/layout/public.ts +1 -0
  105. package/src/features/master-detail/adapters/inbound/MasterDetail.runtime.test.tsx +1 -0
  106. package/src/features/popover/adapters/inbound/Popover.tsx +17 -0
  107. package/src/features/popover/public.test.ts +9 -0
  108. package/src/features/popover/public.ts +2 -0
  109. package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +2 -0
  110. package/src/features/registry/componentMeta.test.ts +1 -0
  111. package/src/features/registry/componentMeta.ts +2 -0
  112. package/src/features/rich-text/adapters/inbound/RichText.tsx +15 -0
  113. package/src/features/rich-text/adapters/inbound/RichText.web.tsx +28 -0
  114. package/src/features/rich-text/adapters/inbound/RichTextClient.tsx +246 -0
  115. package/src/features/rich-text/public.ts +2 -0
  116. package/src/features/rich-text/richTextMeta.test.ts +52 -0
  117. package/src/features/rich-text/richTextMeta.ts +50 -0
  118. package/src/features/rich-text/utils/resolveRichTextHtmlStyle.test.ts +17 -0
  119. package/src/features/rich-text/utils/resolveRichTextHtmlStyle.ts +31 -0
  120. package/src/features/rich-text/utils/sanitizeRichTextHtml.test.ts +29 -0
  121. package/src/features/rich-text/utils/sanitizeRichTextHtml.ts +40 -0
  122. package/src/features/theme/adapters/inbound/ZoraProvider.tsx +10 -8
  123. package/src/features/theme/themeScopeStructure.test.ts +3 -2
  124. package/src/index.ts +7 -0
  125. package/src/readerFree.ts +1 -0
  126. package/src/types/popover.ts +12 -0
  127. package/src/types/rich-text.ts +24 -0
  128. package/src/webPackageExports.test.ts +9 -0
  129. package/web-dist/chunks/{Accordion-nmpzv3b0.js → Accordion-0egwarcs.js} +3 -3
  130. package/web-dist/chunks/{Accordion-htm3j8r8.js → Accordion-0spfxhpg.js} +4 -4
  131. package/web-dist/chunks/{Accordion-r75ep5pg.js → Accordion-19aegsx2.js} +4 -4
  132. package/web-dist/chunks/{Accordion-gnbt6w4q.js → Accordion-1g91we37.js} +4 -4
  133. package/web-dist/chunks/{Accordion-sh79sr5g.js → Accordion-224snqz3.js} +2 -2
  134. package/web-dist/chunks/{Accordion-za0jcjgn.js → Accordion-2ad57stc.js} +2 -2
  135. package/web-dist/chunks/{Accordion-d405whfb.js → Accordion-2bygfpwg.js} +1 -1
  136. package/web-dist/chunks/Accordion-3cpkxpdg.js +37 -0
  137. package/web-dist/chunks/{Accordion-5rwztz14.js → Accordion-49d0frg7.js} +2 -2
  138. package/web-dist/chunks/{Accordion-f8a49gy8.js → Accordion-4mg3epm9.js} +19 -1
  139. package/web-dist/chunks/Accordion-4qrva6ye.js +15 -0
  140. package/web-dist/chunks/{Accordion-01bsg7zt.js → Accordion-4yrszsvs.js} +1 -1
  141. package/web-dist/chunks/{Accordion-38xvj0cq.js → Accordion-516n2cx4.js} +4 -4
  142. package/web-dist/chunks/{Accordion-tqagt6cz.js → Accordion-77514sk9.js} +1 -1
  143. package/web-dist/chunks/{Accordion-2xkxthf1.js → Accordion-78astqx3.js} +6 -6
  144. package/web-dist/chunks/{Accordion-fdzyyqe9.js → Accordion-7knb9jk2.js} +3 -3
  145. package/web-dist/chunks/{Accordion-bp9y7738.js → Accordion-8jw8g2aq.js} +7 -7
  146. package/web-dist/chunks/{Accordion-kcm6jcpp.js → Accordion-9b4bsxwe.js} +1 -1
  147. package/web-dist/chunks/{Accordion-bd9vzpbz.js → Accordion-9gk4scdz.js} +8 -8
  148. package/web-dist/chunks/{Accordion-a1mgdfg7.js → Accordion-9m5asd8r.js} +1 -1
  149. package/web-dist/chunks/{Accordion-f1vargnk.js → Accordion-9tgvr155.js} +4 -4
  150. package/web-dist/chunks/{Accordion-q683s6kd.js → Accordion-a4dmyntn.js} +3 -3
  151. package/web-dist/chunks/{Accordion-bzgy9sg3.js → Accordion-agt9vt85.js} +2 -2
  152. package/web-dist/chunks/{Accordion-xzaa9s7f.js → Accordion-akwd4brm.js} +1 -13
  153. package/web-dist/chunks/{Accordion-379mgrse.js → Accordion-arr9ayv0.js} +1 -1
  154. package/web-dist/chunks/{Accordion-vb52sts9.js → Accordion-d9sd2vs7.js} +3 -3
  155. package/web-dist/chunks/{Accordion-5qz4j8tt.js → Accordion-ge7cjtwy.js} +5 -5
  156. package/web-dist/chunks/{Accordion-e0vm82xr.js → Accordion-gs838h0n.js} +2 -2
  157. package/web-dist/chunks/{Accordion-4zb6dcys.js → Accordion-j1zerr6z.js} +1 -1
  158. package/web-dist/chunks/{Accordion-2ys50fc8.js → Accordion-jtgh2tep.js} +1 -1
  159. package/web-dist/chunks/{Accordion-9qg7cjt8.js → Accordion-kcspvk6q.js} +2 -2
  160. package/web-dist/chunks/{Accordion-vkqqktc5.js → Accordion-khfjh10v.js} +2 -2
  161. package/web-dist/chunks/{Accordion-axe7nsht.js → Accordion-kzjq1snp.js} +1 -1
  162. package/web-dist/chunks/{Accordion-hdyzyw8q.js → Accordion-mnxf855g.js} +1 -1
  163. package/web-dist/chunks/{Accordion-17s33h1a.js → Accordion-q8a423pk.js} +1 -1
  164. package/web-dist/chunks/{Accordion-rtamzg9j.js → Accordion-qjxbf8nt.js} +1 -1
  165. package/web-dist/chunks/{Accordion-v6vhyv31.js → Accordion-qjxx43r1.js} +1 -1
  166. package/web-dist/chunks/{Accordion-h63c9k9k.js → Accordion-sbdgq8d5.js} +1 -1
  167. package/web-dist/chunks/{Accordion-2xb252py.js → Accordion-skdtw2er.js} +5 -5
  168. package/web-dist/chunks/{Accordion-rq311z1k.js → Accordion-tdrk9cyn.js} +4 -4
  169. package/web-dist/chunks/{Accordion-kdb9g5b1.js → Accordion-vx8bjm5k.js} +4 -4
  170. package/web-dist/chunks/{Accordion-f8zpd80k.js → Accordion-x4yhr2wm.js} +3 -3
  171. package/web-dist/chunks/{Accordion-2wggrer7.js → Accordion-ytf9ba8v.js} +2 -2
  172. package/web-dist/chunks/{Accordion-t9n4ey2r.js → Accordion-zd15byha.js} +1 -1
  173. package/web-dist/chunks/RichTextClient-70qt7037.js +1676 -0
  174. package/web-dist/chunks/{Video.native-97x0098j.js → Video.native-6142s9f7.js} +5 -5
  175. package/web-dist/chunks/{index-cnnsfz6n.js → index-n6p0wdvg.js} +1 -1
  176. package/web-dist/components/accordion/Accordion.js +2 -2
  177. package/web-dist/components/accordion-item/AccordionItem.js +2 -2
  178. package/web-dist/components/app-bar/AppBar.js +8 -8
  179. package/web-dist/components/app-header/AppHeader.js +8 -8
  180. package/web-dist/components/app-shell/AppShell.js +1 -1
  181. package/web-dist/components/audio/Audio.js +6 -6
  182. package/web-dist/components/auth-screen/AuthScreen.js +10 -10
  183. package/web-dist/components/avatar/Avatar.js +2 -2
  184. package/web-dist/components/avatar-group/AvatarGroup.js +2 -2
  185. package/web-dist/components/badge/Badge.js +2 -2
  186. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +9 -9
  187. package/web-dist/components/bottom-sheet/BottomSheet.js +2 -2
  188. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +2 -2
  189. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +2 -2
  190. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +2 -2
  191. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +2 -2
  192. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +2 -2
  193. package/web-dist/components/breadcrumbs/Breadcrumbs.js +4 -4
  194. package/web-dist/components/button/Button.js +4 -4
  195. package/web-dist/components/button-group/ButtonGroup.js +4 -4
  196. package/web-dist/components/calendar/Calendar.js +5 -5
  197. package/web-dist/components/camera-permission-view/CameraPermissionView.js +9 -9
  198. package/web-dist/components/card/Card.js +8 -8
  199. package/web-dist/components/chat-list-item/ChatListItem.js +6 -6
  200. package/web-dist/components/checkbox/Checkbox.js +4 -4
  201. package/web-dist/components/checkbox-group/CheckboxGroup.js +4 -4
  202. package/web-dist/components/chip/Chip.js +3 -3
  203. package/web-dist/components/chip-group/ChipGroup.js +3 -3
  204. package/web-dist/components/collection-editor/CollectionEditor.js +8 -8
  205. package/web-dist/components/color-hue-scale/ColorHueScale.js +15 -15
  206. package/web-dist/components/color-picker/ColorPicker.js +15 -15
  207. package/web-dist/components/color-tone/ColorTone.js +15 -15
  208. package/web-dist/components/color-wheel/ColorWheel.js +15 -15
  209. package/web-dist/components/content-rail/ContentRail.js +4 -4
  210. package/web-dist/components/data-table/DataTable.js +16 -16
  211. package/web-dist/components/date-picker/DatePicker.js +11 -11
  212. package/web-dist/components/dialog/Dialog.js +3 -3
  213. package/web-dist/components/divider/Divider.js +1 -1
  214. package/web-dist/components/empty-state/EmptyState.js +9 -9
  215. package/web-dist/components/explorer/Explorer.js +3 -3
  216. package/web-dist/components/field/Field.js +4 -4
  217. package/web-dist/components/file-explorer/FileExplorer.js +3 -3
  218. package/web-dist/components/flat-list/FlatList.js +5 -5
  219. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +10 -10
  220. package/web-dist/components/form/Form.js +7 -7
  221. package/web-dist/components/form-actions/FormActions.js +7 -7
  222. package/web-dist/components/form-error/FormError.js +7 -7
  223. package/web-dist/components/game/Game.js +2 -2
  224. package/web-dist/components/game-entity/GameEntity.js +2 -2
  225. package/web-dist/components/game-field/GameField.js +2 -2
  226. package/web-dist/components/game-input-zone/GameInputZone.js +2 -2
  227. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +2 -2
  228. package/web-dist/components/game-overlay/GameOverlay.js +2 -2
  229. package/web-dist/components/gradient/Gradient.js +2 -2
  230. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +2 -2
  231. package/web-dist/components/grid/Grid.js +1 -1
  232. package/web-dist/components/hero/Hero.js +8 -8
  233. package/web-dist/components/icon-button/IconButton.js +4 -4
  234. package/web-dist/components/image/Image.js +2 -2
  235. package/web-dist/components/list/List.js +5 -5
  236. package/web-dist/components/list-item/ListItem.js +5 -5
  237. package/web-dist/components/list-section/ListSection.js +5 -5
  238. package/web-dist/components/master-detail/MasterDetail.js +1 -1
  239. package/web-dist/components/media-card/MediaCard.js +8 -8
  240. package/web-dist/components/media-explorer/MediaExplorer.js +3 -3
  241. package/web-dist/components/message-bubble/MessageBubble.js +6 -6
  242. package/web-dist/components/metric-card/MetricCard.js +8 -8
  243. package/web-dist/components/missing-element/MissingElement.js +3 -3
  244. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +10 -10
  245. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +10 -10
  246. package/web-dist/components/otp-form/OtpForm.js +10 -10
  247. package/web-dist/components/pagination/Pagination.js +4 -4
  248. package/web-dist/components/palette-item/PaletteItem.js +8 -8
  249. package/web-dist/components/popover/Popover.d.ts +5 -0
  250. package/web-dist/components/popover/Popover.dependency-0.d.ts +27 -0
  251. package/web-dist/components/popover/Popover.dependency-1.d.ts +3 -0
  252. package/web-dist/components/popover/Popover.js +29 -0
  253. package/web-dist/components/popover/Popover.types-0.d.ts +10 -0
  254. package/web-dist/components/popover/index.d.ts +2 -0
  255. package/web-dist/components/popover/index.js +2 -0
  256. package/web-dist/components/popover-menu/PopoverMenu.js +5 -5
  257. package/web-dist/components/post-card/PostCard.js +8 -8
  258. package/web-dist/components/product-card/ProductCard.js +8 -8
  259. package/web-dist/components/progress/Progress.js +2 -2
  260. package/web-dist/components/progress-ring/ProgressRing.js +2 -2
  261. package/web-dist/components/radio/Radio.js +4 -4
  262. package/web-dist/components/radio-group/RadioGroup.js +4 -4
  263. package/web-dist/components/rating/Rating.js +1 -1
  264. package/web-dist/components/reader/Reader.js +10 -10
  265. package/web-dist/components/rich-text/RichText.d.ts +13 -0
  266. package/web-dist/components/rich-text/RichText.dependency-0.d.ts +27 -0
  267. package/web-dist/components/rich-text/RichText.dependency-1.d.ts +3 -0
  268. package/web-dist/components/rich-text/RichText.js +35 -0
  269. package/web-dist/components/rich-text/RichText.types-0.d.ts +24 -0
  270. package/web-dist/components/rich-text/index.d.ts +2 -0
  271. package/web-dist/components/rich-text/index.js +2 -0
  272. package/web-dist/components/scan-overlay/ScanOverlay.js +9 -9
  273. package/web-dist/components/screen/Screen.js +1 -1
  274. package/web-dist/components/screen-section/ScreenSection.js +2 -2
  275. package/web-dist/components/scroll-view/ScrollView.js +1 -1
  276. package/web-dist/components/search-input/SearchInput.js +6 -6
  277. package/web-dist/components/section-header/SectionHeader.js +2 -2
  278. package/web-dist/components/section-list/SectionList.js +5 -5
  279. package/web-dist/components/select/Select.js +9 -9
  280. package/web-dist/components/sign-in-form/SignInForm.js +10 -10
  281. package/web-dist/components/sign-up-form/SignUpForm.js +10 -10
  282. package/web-dist/components/skeleton/Skeleton.js +11 -11
  283. package/web-dist/components/skeleton-card/SkeletonCard.js +11 -11
  284. package/web-dist/components/skeleton-list/SkeletonList.js +11 -11
  285. package/web-dist/components/skeleton-text/SkeletonText.js +11 -11
  286. package/web-dist/components/switch/Switch.js +3 -3
  287. package/web-dist/components/tab/Tab.js +2 -2
  288. package/web-dist/components/tab-list/TabList.js +2 -2
  289. package/web-dist/components/tab-panel/TabPanel.js +2 -2
  290. package/web-dist/components/tabs/Tabs.js +2 -2
  291. package/web-dist/components/text-input/TextInput.js +6 -6
  292. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +4 -4
  293. package/web-dist/components/time-picker/TimePicker.js +10 -10
  294. package/web-dist/components/timeline/Timeline.js +2 -2
  295. package/web-dist/components/toast/Toast.js +4 -4
  296. package/web-dist/components/toast-provider/ToastProvider.js +4 -4
  297. package/web-dist/components/toolbar/Toolbar.js +13 -42
  298. package/web-dist/components/tree-item/TreeItem.js +6 -6
  299. package/web-dist/components/uploader/Uploader.js +12 -12
  300. package/web-dist/components/video/Video.js +4 -4
  301. package/web-dist/components/view/View.js +1 -1
  302. package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.d.ts +5 -0
  303. package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.js +14 -0
  304. package/web-dist/components/zora-web-style-sheet/index.d.ts +1 -0
  305. package/web-dist/components/zora-web-style-sheet/index.js +2 -0
  306. package/web-dist/manifest.json +826 -713
  307. package/web-dist/runtime/ZoraProvider.js +14 -12
@@ -1 +1 @@
1
- {"version":3,"file":"ZORA_BASE_COMPONENT_REGISTRY.js","sourceRoot":"","sources":["../../../src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,YAAY,E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pB,WAAW;IACX,OAAO;IACP,IAAI;IACJ,UAAU;IACV,KAAK;IACL,oBAAoB;IACpB,IAAI;IACJ,SAAS;IACT,SAAS;IACT,UAAU;IACV,UAAU;IACV,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,KAAK;IACL,UAAU;IACV,MAAM;IACN,WAAW;IACX,MAAM;IACN,MAAM;IACN,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,GAAG;IACH,OAAO;IACP,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,KAAK;IACL,OAAO;IACP,QAAQ;IACR,KAAK;IACL,WAAW;IACX,QAAQ;IACR,WAAW;IACX,UAAU;IACV,IAAI;IACJ,eAAe;IACf,OAAO;IACP,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,MAAM;IACN,aAAa;IACb,UAAU;IACV,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,UAAU;IACV,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,QAAQ;IACR,YAAY;IACZ,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,YAAY;IACZ,aAAa;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,cAAc;IACd,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,QAAQ;IACR,QAAQ;IACR,QAAQ;CACgC,CAAC;AAE3C,+GAA+G;AAC/G,MAAM,CAAC,MAAM,4BAA4B,GAA0B,6BAA6B,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraComponentRegistry } from '../../types/registry';\nimport { Accordion, AccordionItem } from '../accordion/public';\nimport { ActivityIndicator } from '../activity-indicator/public';\nimport { AppBar } from '../app-bar/public';\nimport { AppHeader } from '../app-header/public';\nimport { Audio } from '../audio/public';\nimport {\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from '../auth/public';\nimport { Avatar, AvatarGroup } from '../avatar/public';\nimport { Badge } from '../badge/public';\nimport { BottomSheet } from '../bottom-sheet/public';\nimport { Breadcrumbs } from '../breadcrumbs/public';\nimport { Button, ButtonGroup, IconButton } from '../button/public';\nimport { Calendar } from '../calendar/public';\nimport { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';\nimport { ChatListItem, MessageBubble } from '../chat/public';\nimport { ChessBoard, OpeningBook } from '../chess/public';\nimport { Chip, ChipGroup } from '../chip/public';\nimport { CollectionEditor } from '../collection-editor/public';\nimport { ContentRail } from '../content-rail/public';\nimport { DataTable } from '../data-table/public';\nimport { DatePicker } from '../date-picker/public';\nimport { Dialog } from '../dialog/public';\nimport { EmptyState } from '../empty-state/public';\nimport { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';\nimport { Checkbox, CheckboxGroup } from '../form/checkbox/public';\nimport { Field, Form, FormActions, FormError } from '../form/public';\nimport { Radio, RadioGroup } from '../form/radio/public';\nimport { SearchInput } from '../form/search-input/public';\nimport { Select } from '../form/select/public';\nimport { Switch } from '../form/switch/public';\nimport { TextInput } from '../form/text-input/public';\nimport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from '../game/public';\nimport { Gradient } from '../gradient/public';\nimport { GridInteractions } from '../grid-interactions/public';\nimport { GridLineOverlay, GridRuler } from '../grid-rulers/public';\nimport { GridView, TileGrid } from '../grid-view/public';\nimport { Hero } from '../hero/public';\nimport { Icon } from '../icon/public';\nimport { Image } from '../image/public';\nimport { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';\nimport { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';\nimport { Link } from '../link/public';\nimport { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';\nimport { MasterDetail } from '../master-detail/public';\nimport { MatrixGrid } from '../matrix-grid/public';\nimport { MissingElement } from '../missing-element/public';\nimport { Pagination } from '../pagination/public';\nimport { PaletteItem } from '../palette-item/public';\nimport { PopoverMenu } from '../popover-menu/public';\nimport { Progress, ProgressRing } from '../progress/public';\nimport { Rating } from '../rating/public';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';\nimport { ScreenSection, SectionHeader } from '../section/public';\nimport { SelectableItem } from '../selection/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';\nimport { SpatialGrid } from '../spatial-grid/public';\nimport { Surface } from '../surface/public';\nimport {\n CardBack,\n CardHand,\n PlayingCard,\n PokerTrainingTable,\n TabletopTable,\n} from '../tabletop/public';\nimport { Tab, TabList, TabPanel, Tabs } from '../tabs/public';\nimport { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';\nimport { TimeGrid } from '../time-grid/public';\nimport { TimePicker } from '../time-picker/public';\nimport { Timeline } from '../timeline/public';\nimport { Toast } from '../toast/public';\nimport { Toolbar } from '../toolbar/public';\nimport { TreeItem, TreeView } from '../tree-view/public';\nimport { Heading, Text } from '../typography/public';\nimport { Uploader } from '../uploader/public';\nimport { Video } from '../video/public';\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_BASE_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_BASE_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_BASE_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_BASE_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_BASE_COMPONENT_REGISTRY = {\n Accordion,\n AccordionItem,\n ActivityIndicator,\n Audio,\n AppBar,\n AppHeader,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Calendar,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n Dialog,\n Form,\n FormActions,\n FormError,\n Field,\n Gradient,\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n Link,\n TextInput,\n MediaCard,\n MetricCard,\n Pagination,\n PopoverMenu,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchInput,\n Select,\n Switch,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tab,\n TabList,\n TabPanel,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n Uploader,\n Video,\n BottomSheet,\n FlatList,\n SectionList,\n ScrollView,\n View,\n ThemeModeToggle,\n Divider,\n Grid,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n ChessBoard,\n CollectionEditor,\n ContentRail,\n EmptyState,\n Explorer,\n FileExplorer,\n GridLineOverlay,\n GridRuler,\n GridInteractions,\n GridView,\n TileGrid,\n TimeGrid,\n MatrixGrid,\n MasterDetail,\n MediaExplorer,\n Hero,\n List,\n ListItem,\n ListSection,\n MessageBubble,\n OpeningBook,\n MissingElement,\n PostCard,\n ProductCard,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SpatialGrid,\n PaletteItem,\n CardBack,\n CardHand,\n PlayingCard,\n TabletopTable,\n PokerTrainingTable,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\n/*** The core ZORA runtime component registry, excluding separately selected feature entries such as Reader. */\nexport const ZORA_BASE_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_BASE_COMPONENT_REGISTRY;\n"]}
1
+ {"version":3,"file":"ZORA_BASE_COMPONENT_REGISTRY.js","sourceRoot":"","sources":["../../../src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,SAA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;CACgC,CAAC;AAE3C,+GAA+G;AAC/G,MAAM,CAAC,MAAM,4BAA4B,GAA0B,6BAA6B,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraComponentRegistry } from '../../types/registry';\nimport { Accordion, AccordionItem } from '../accordion/public';\nimport { ActivityIndicator } from '../activity-indicator/public';\nimport { AppBar } from '../app-bar/public';\nimport { AppHeader } from '../app-header/public';\nimport { Audio } from '../audio/public';\nimport {\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from '../auth/public';\nimport { Avatar, AvatarGroup } from '../avatar/public';\nimport { Badge } from '../badge/public';\nimport { BottomSheet } from '../bottom-sheet/public';\nimport { Breadcrumbs } from '../breadcrumbs/public';\nimport { Button, ButtonGroup, IconButton } from '../button/public';\nimport { Calendar } from '../calendar/public';\nimport { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';\nimport { ChatListItem, MessageBubble } from '../chat/public';\nimport { ChessBoard, OpeningBook } from '../chess/public';\nimport { Chip, ChipGroup } from '../chip/public';\nimport { CollectionEditor } from '../collection-editor/public';\nimport { ContentRail } from '../content-rail/public';\nimport { DataTable } from '../data-table/public';\nimport { DatePicker } from '../date-picker/public';\nimport { Dialog } from '../dialog/public';\nimport { EmptyState } from '../empty-state/public';\nimport { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';\nimport { Checkbox, CheckboxGroup } from '../form/checkbox/public';\nimport { Field, Form, FormActions, FormError } from '../form/public';\nimport { Radio, RadioGroup } from '../form/radio/public';\nimport { SearchInput } from '../form/search-input/public';\nimport { Select } from '../form/select/public';\nimport { Switch } from '../form/switch/public';\nimport { TextInput } from '../form/text-input/public';\nimport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from '../game/public';\nimport { Gradient } from '../gradient/public';\nimport { GridInteractions } from '../grid-interactions/public';\nimport { GridLineOverlay, GridRuler } from '../grid-rulers/public';\nimport { GridView, TileGrid } from '../grid-view/public';\nimport { Hero } from '../hero/public';\nimport { Icon } from '../icon/public';\nimport { Image } from '../image/public';\nimport { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';\nimport { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';\nimport { Link } from '../link/public';\nimport { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';\nimport { MasterDetail } from '../master-detail/public';\nimport { MatrixGrid } from '../matrix-grid/public';\nimport { MissingElement } from '../missing-element/public';\nimport { Pagination } from '../pagination/public';\nimport { PaletteItem } from '../palette-item/public';\nimport { PopoverMenu } from '../popover-menu/public';\nimport { Progress, ProgressRing } from '../progress/public';\nimport { Rating } from '../rating/public';\nimport { RichText } from '../rich-text/public';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';\nimport { ScreenSection, SectionHeader } from '../section/public';\nimport { SelectableItem } from '../selection/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';\nimport { SpatialGrid } from '../spatial-grid/public';\nimport { Surface } from '../surface/public';\nimport {\n CardBack,\n CardHand,\n PlayingCard,\n PokerTrainingTable,\n TabletopTable,\n} from '../tabletop/public';\nimport { Tab, TabList, TabPanel, Tabs } from '../tabs/public';\nimport { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';\nimport { TimeGrid } from '../time-grid/public';\nimport { TimePicker } from '../time-picker/public';\nimport { Timeline } from '../timeline/public';\nimport { Toast } from '../toast/public';\nimport { Toolbar } from '../toolbar/public';\nimport { TreeItem, TreeView } from '../tree-view/public';\nimport { Heading, Text } from '../typography/public';\nimport { Uploader } from '../uploader/public';\nimport { Video } from '../video/public';\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_BASE_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_BASE_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_BASE_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_BASE_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_BASE_COMPONENT_REGISTRY = {\n Accordion,\n AccordionItem,\n ActivityIndicator,\n Audio,\n AppBar,\n AppHeader,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Calendar,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n Dialog,\n Form,\n FormActions,\n FormError,\n Field,\n Gradient,\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n Link,\n TextInput,\n MediaCard,\n MetricCard,\n Pagination,\n PopoverMenu,\n Progress,\n ProgressRing,\n RichText,\n Radio,\n RadioGroup,\n Rating,\n SearchInput,\n Select,\n Switch,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tab,\n TabList,\n TabPanel,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n Uploader,\n Video,\n BottomSheet,\n FlatList,\n SectionList,\n ScrollView,\n View,\n ThemeModeToggle,\n Divider,\n Grid,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n ChessBoard,\n CollectionEditor,\n ContentRail,\n EmptyState,\n Explorer,\n FileExplorer,\n GridLineOverlay,\n GridRuler,\n GridInteractions,\n GridView,\n TileGrid,\n TimeGrid,\n MatrixGrid,\n MasterDetail,\n MediaExplorer,\n Hero,\n List,\n ListItem,\n ListSection,\n MessageBubble,\n OpeningBook,\n MissingElement,\n PostCard,\n ProductCard,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SpatialGrid,\n PaletteItem,\n CardBack,\n CardHand,\n PlayingCard,\n TabletopTable,\n PokerTrainingTable,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\n/*** The core ZORA runtime component registry, excluding separately selected feature entries such as Reader. */\nexport const ZORA_BASE_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_BASE_COMPONENT_REGISTRY;\n"]}
@@ -1043,11 +1043,11 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
1043
1043
  readonly slots: {
1044
1044
  readonly headerActions: {
1045
1045
  readonly label: "Header actions";
1046
- readonly allowedChildren: readonly ["ActivityIndicator", "Audio", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Link", "MasterDetail", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "Video"];
1046
+ readonly allowedChildren: readonly ["ActivityIndicator", "Audio", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Link", "MasterDetail", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "RichText", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "Video"];
1047
1047
  };
1048
1048
  readonly footerActions: {
1049
1049
  readonly label: "Footer actions";
1050
- readonly allowedChildren: readonly ["ActivityIndicator", "Audio", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Link", "MasterDetail", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "Video"];
1050
+ readonly allowedChildren: readonly ["ActivityIndicator", "Audio", "AuthScreen", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Accordion", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Dialog", "Pagination", "Rating", "SearchInput", "Tabs", "Toolbar", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "MediaExplorer", "FileExplorer", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Link", "MasterDetail", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "RichText", "TimePicker", "Timeline", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "Reader", "ContentRail", "MissingElement", "Video"];
1051
1051
  };
1052
1052
  };
1053
1053
  };
@@ -1 +1 @@
1
- {"version":3,"file":"componentMeta.d.ts","sourceRoot":"","sources":["../../../src/features/registry/componentMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAwHvE,eAAO,MAAM,mBAAmB,EAAE,yBAgIhC,CAAC"}
1
+ {"version":3,"file":"componentMeta.d.ts","sourceRoot":"","sources":["../../../src/features/registry/componentMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAyHvE,eAAO,MAAM,mBAAmB,EAAE,yBAiIhC,CAAC"}
@@ -80,6 +80,7 @@ import { popoverMenuMeta } from '../popover-menu/popoverMenuMeta';
80
80
  import { progressMeta, progressRingMeta } from '../progress/progressMeta';
81
81
  import { ratingMeta } from '../rating/ratingMeta';
82
82
  import { readerMeta } from '../reader/meta';
83
+ import { richTextMeta } from '../rich-text/richTextMeta';
83
84
  import { barcodeScannerViewMeta, cameraPermissionViewMeta, scanOverlayMeta } from '../scanner/meta';
84
85
  import { screenSectionMeta } from '../section/screenSectionMeta';
85
86
  import { sectionHeaderMeta } from '../section/sectionHeaderMeta';
@@ -157,6 +158,7 @@ export const ZORA_COMPONENT_META = finalizeFeatureMetadata({
157
158
  PopoverMenu: popoverMenuMeta,
158
159
  Progress: progressMeta,
159
160
  ProgressRing: progressRingMeta,
161
+ RichText: richTextMeta,
160
162
  Radio: radioMeta,
161
163
  RadioGroup: radioGroupMeta,
162
164
  Rating: ratingMeta,
@@ -1 +1 @@
1
- {"version":3,"file":"componentMeta.js","sourceRoot":"","sources":["../../../src/features/registry/componentMeta.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,UAAU,E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,EAAE,cAAc;IAC1B,QAAQ,EAAE,YAAY;IACtB,YAAY,EAAE,gBAAgB;IAC9B,aAAa,EAAE,iBAAiB;IAChC,eAAe,EAAE,mBAAmB;IACpC,SAAS,EAAE,aAAa;IACxB,gBAAgB,EAAE,oBAAoB;IACtC,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,UAAU,EAAE,cAAc;IAC1B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,cAAc,EAAE,kBAAkB;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,UAAU;IAClB,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,WAAW,EAAE,eAAe;IAC5B,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,kBAAkB,EAAE,sBAAsB;IAC1C,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC","sourcesContent":["import type { ZoraComponentMetaRegistry } from '../../types/authoring';\nimport { accordionItemMeta } from '../accordion/accordionItemMeta';\nimport { accordionMeta } from '../accordion/accordionMeta';\nimport { activityIndicatorMeta } from '../activity-indicator/activityIndicatorMeta';\nimport { appBarMeta } from '../app-bar/appBarMeta';\nimport { appHeaderMeta } from '../app-header/appHeaderMeta';\nimport { audioMeta } from '../audio/audioMeta';\nimport { authScreenMeta } from '../auth/authScreenMeta';\nimport { forgotPasswordFormMeta } from '../auth/forgotPasswordFormMeta';\nimport { oauthProviderButtonMeta } from '../auth/oauthProviderButtonMeta';\nimport { oauthProviderListMeta } from '../auth/oauthProviderListMeta';\nimport { otpFormMeta } from '../auth/otpFormMeta';\nimport { signInFormMeta } from '../auth/signInFormMeta';\nimport { signUpFormMeta } from '../auth/signUpFormMeta';\nimport { avatarGroupMeta } from '../avatar/avatarGroupMeta';\nimport { avatarMeta } from '../avatar/avatarMeta';\nimport { badgeMeta } from '../badge/badgeMeta';\nimport { bottomSheetMeta } from '../bottom-sheet/bottomSheetMeta';\nimport { breadcrumbsMeta } from '../breadcrumbs/breadcrumbsMeta';\nimport { buttonGroupMeta } from '../button/buttonGroupMeta';\nimport { buttonMeta } from '../button/buttonMeta';\nimport { iconButtonMeta } from '../button/iconButtonMeta';\nimport { calendarMeta } from '../calendar/calendarMeta';\nimport { cardMeta } from '../card/cardMeta';\nimport { mediaCardMeta } from '../card/mediaCardMeta';\nimport { metricCardMeta } from '../card/metricCardMeta';\nimport { postCardMeta } from '../card/postCardMeta';\nimport { productCardMeta } from '../card/productCardMeta';\nimport { chatListItemMeta } from '../chat/chatListItemMeta';\nimport { messageBubbleMeta } from '../chat/messageBubbleMeta';\nimport { chessBoardMeta, openingBookMeta } from '../chess/meta';\nimport { chipGroupMeta } from '../chip/chipGroupMeta';\nimport { chipMeta } from '../chip/chipMeta';\nimport { collectionEditorMeta } from '../collection-editor/meta';\nimport { contentRailMeta } from '../content-rail/contentRailMeta';\nimport { dataTableMeta } from '../data-table/dataTableMeta';\nimport { datePickerMeta } from '../date-picker/datePickerMeta';\nimport { dialogMeta } from '../dialog/dialogMeta';\nimport { emptyStateMeta } from '../empty-state/emptyStateMeta';\nimport { explorerMeta, fileExplorerMeta, mediaExplorerMeta } from '../explorer/meta';\nimport { checkboxGroupMeta, checkboxMeta } from '../form/checkbox/checkboxMeta';\nimport { fieldMeta } from '../form/field/meta';\nimport { formActionsMeta } from '../form/formActionsMeta';\nimport { formErrorMeta } from '../form/formErrorMeta';\nimport { formMeta } from '../form/formMeta';\nimport { radioGroupMeta, radioMeta } from '../form/radio/radioMeta';\nimport { searchInputMeta } from '../form/search-input/searchInputMeta';\nimport { selectMeta } from '../form/select/selectMeta';\nimport { switchMeta } from '../form/switch/switchMeta';\nimport { textInputMeta } from '../form/text-input/textInputMeta';\nimport { gameEntityMeta } from '../game/meta/gameEntityMeta';\nimport { gameFieldMeta } from '../game/meta/gameFieldMeta';\nimport { gameInputZoneMeta } from '../game/meta/gameInputZoneMeta';\nimport { gameMeasurementProbeMeta } from '../game/meta/gameMeasurementProbeMeta';\nimport { gameMeta } from '../game/meta/gameMeta';\nimport { gameOverlayMeta } from '../game/meta/gameOverlayMeta';\nimport { gradientMeta } from '../gradient/gradientMeta';\nimport { gridInteractionsMeta } from '../grid-interactions/meta';\nimport { gridLineOverlayMeta, gridRulerMeta } from '../grid-rulers/meta';\nimport { gridViewMeta, tileGridMeta } from '../grid-view/meta';\nimport { heroMeta } from '../hero/heroMeta';\nimport { iconMeta } from '../icon/iconMeta';\nimport { imageMeta } from '../image/imageMeta';\nimport { keyboardAvoidingViewMeta } from '../keyboard-avoiding-view/keyboardAvoidingViewMeta';\nimport { appShellMeta } from '../layout/appShellMeta';\nimport { dividerMeta } from '../layout/dividerMeta';\nimport { gridMeta } from '../layout/gridMeta';\nimport { screenMeta } from '../layout/screenMeta';\nimport { scrollViewMeta } from '../layout/scrollViewMeta';\nimport { viewMeta } from '../layout/viewMeta';\nimport { linkMeta } from '../link/linkMeta';\nimport { flatListMeta } from '../list/flatListMeta';\nimport { listItemMeta, listMeta, listSectionMeta } from '../list/meta';\nimport { sectionListMeta } from '../list/sectionListMeta';\nimport { masterDetailMeta } from '../master-detail/masterDetailMeta';\nimport { matrixGridMeta } from '../matrix-grid/meta';\nimport { missingElementMeta } from '../missing-element/missingElementMeta';\nimport { paginationMeta } from '../pagination/paginationMeta';\nimport { paletteItemMeta } from '../palette-item/paletteItemMeta';\nimport { popoverMenuMeta } from '../popover-menu/popoverMenuMeta';\nimport { progressMeta, progressRingMeta } from '../progress/progressMeta';\nimport { ratingMeta } from '../rating/ratingMeta';\nimport { readerMeta } from '../reader/meta';\nimport { barcodeScannerViewMeta, cameraPermissionViewMeta, scanOverlayMeta } from '../scanner/meta';\nimport { screenSectionMeta } from '../section/screenSectionMeta';\nimport { sectionHeaderMeta } from '../section/sectionHeaderMeta';\nimport { selectableItemMeta, selectionProviderMeta } from '../selection/meta';\nimport {\n skeletonCardMeta,\n skeletonListMeta,\n skeletonMeta,\n skeletonTextMeta,\n} from '../skeleton/skeletonMeta';\nimport { spatialGridMeta } from '../spatial-grid/meta';\nimport { surfaceMeta } from '../surface/surfaceMeta';\nimport {\n cardBackMeta,\n cardHandMeta,\n playingCardMeta,\n pokerTrainingTableMeta,\n tabletopTableMeta,\n} from '../tabletop/meta';\nimport { tabListMeta } from '../tabs/tabListMeta';\nimport { tabMeta } from '../tabs/tabMeta';\nimport { tabPanelMeta } from '../tabs/tabPanelMeta';\nimport { tabsMeta } from '../tabs/tabsMeta';\nimport { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';\nimport { timeGridMeta } from '../time-grid/meta';\nimport { timePickerMeta } from '../time-picker/timePickerMeta';\nimport { timelineMeta } from '../timeline/meta';\nimport { toastMeta } from '../toast/toastMeta';\nimport { toastProviderMeta } from '../toast/toastProviderMeta';\nimport { toolbarMeta } from '../toolbar/toolbarMeta';\nimport { treeItemMeta, treeViewMeta } from '../tree-view/meta';\nimport { headingMeta } from '../typography/headingMeta';\nimport { textMeta } from '../typography/textMeta';\nimport { uploaderMeta } from '../uploader/uploaderMeta';\nimport { videoMeta } from '../video/videoMeta';\nimport { finalizeFeatureMetadata } from './finalizeFeatureMetadata';\n\nexport const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMetadata({\n Accordion: accordionMeta,\n AccordionItem: accordionItemMeta,\n ActivityIndicator: activityIndicatorMeta,\n Audio: audioMeta,\n View: viewMeta,\n ScrollView: scrollViewMeta,\n Grid: gridMeta,\n Divider: dividerMeta,\n Surface: surfaceMeta,\n AppBar: appBarMeta,\n AppHeader: appHeaderMeta,\n Avatar: avatarMeta,\n AvatarGroup: avatarGroupMeta,\n Badge: badgeMeta,\n Breadcrumbs: breadcrumbsMeta,\n Button: buttonMeta,\n ButtonGroup: buttonGroupMeta,\n Card: cardMeta,\n Calendar: calendarMeta,\n Checkbox: checkboxMeta,\n CheckboxGroup: checkboxGroupMeta,\n Chip: chipMeta,\n ChipGroup: chipGroupMeta,\n DataTable: dataTableMeta,\n DatePicker: datePickerMeta,\n Dialog: dialogMeta,\n Form: formMeta,\n FormActions: formActionsMeta,\n FormError: formErrorMeta,\n Field: fieldMeta,\n Gradient: gradientMeta,\n Game: gameMeta,\n GameField: gameFieldMeta,\n GameEntity: gameEntityMeta,\n GameInputZone: gameInputZoneMeta,\n GameMeasurementProbe: gameMeasurementProbeMeta,\n GameOverlay: gameOverlayMeta,\n Heading: headingMeta,\n Icon: iconMeta,\n IconButton: iconButtonMeta,\n Image: imageMeta,\n KeyboardAvoidingView: keyboardAvoidingViewMeta,\n Link: linkMeta,\n MasterDetail: masterDetailMeta,\n TextInput: textInputMeta,\n MediaCard: mediaCardMeta,\n MetricCard: metricCardMeta,\n Pagination: paginationMeta,\n PopoverMenu: popoverMenuMeta,\n Progress: progressMeta,\n ProgressRing: progressRingMeta,\n Radio: radioMeta,\n RadioGroup: radioGroupMeta,\n Rating: ratingMeta,\n SearchInput: searchInputMeta,\n Select: selectMeta,\n Switch: switchMeta,\n Skeleton: skeletonMeta,\n SkeletonCard: skeletonCardMeta,\n SkeletonList: skeletonListMeta,\n SkeletonText: skeletonTextMeta,\n Tab: tabMeta,\n TabList: tabListMeta,\n TabPanel: tabPanelMeta,\n Tabs: tabsMeta,\n Text: textMeta,\n TimePicker: timePickerMeta,\n Toast: toastMeta,\n ToastProvider: toastProviderMeta,\n Toolbar: toolbarMeta,\n Uploader: uploaderMeta,\n Video: videoMeta,\n BottomSheet: bottomSheetMeta,\n FlatList: flatListMeta,\n SectionList: sectionListMeta,\n ThemeModeToggle: themeModeToggleMeta,\n AppShell: appShellMeta,\n Screen: screenMeta,\n ScreenSection: screenSectionMeta,\n AuthScreen: authScreenMeta,\n ForgotPasswordForm: forgotPasswordFormMeta,\n OAuthProviderButton: oauthProviderButtonMeta,\n OAuthProviderList: oauthProviderListMeta,\n OtpForm: otpFormMeta,\n SignInForm: signInFormMeta,\n SignUpForm: signUpFormMeta,\n ChatListItem: chatListItemMeta,\n ChessBoard: chessBoardMeta,\n CollectionEditor: collectionEditorMeta,\n ContentRail: contentRailMeta,\n EmptyState: emptyStateMeta,\n Explorer: explorerMeta,\n FileExplorer: fileExplorerMeta,\n MediaExplorer: mediaExplorerMeta,\n GridLineOverlay: gridLineOverlayMeta,\n GridRuler: gridRulerMeta,\n GridInteractions: gridInteractionsMeta,\n GridView: gridViewMeta,\n TileGrid: tileGridMeta,\n TimeGrid: timeGridMeta,\n MatrixGrid: matrixGridMeta,\n Hero: heroMeta,\n List: listMeta,\n ListItem: listItemMeta,\n ListSection: listSectionMeta,\n MessageBubble: messageBubbleMeta,\n OpeningBook: openingBookMeta,\n MissingElement: missingElementMeta,\n PostCard: postCardMeta,\n ProductCard: productCardMeta,\n Reader: readerMeta,\n BarcodeScannerView: barcodeScannerViewMeta,\n CameraPermissionView: cameraPermissionViewMeta,\n ScanOverlay: scanOverlayMeta,\n SectionHeader: sectionHeaderMeta,\n SelectableItem: selectableItemMeta,\n SpatialGrid: spatialGridMeta,\n SelectionProvider: selectionProviderMeta,\n PaletteItem: paletteItemMeta,\n Timeline: timelineMeta,\n CardBack: cardBackMeta,\n CardHand: cardHandMeta,\n PlayingCard: playingCardMeta,\n TabletopTable: tabletopTableMeta,\n PokerTrainingTable: pokerTrainingTableMeta,\n TreeItem: treeItemMeta,\n TreeView: treeViewMeta,\n});\n"]}
1
+ {"version":3,"file":"compon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Y;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,WAAW,EAAE,eAAe;IAC5B,cAAc,EAAE,kBAAkB;IAClC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,UAAU;IAClB,kBAAkB,EAAE,sBAAsB;IAC1C,oBAAoB,EAAE,wBAAwB;IAC9C,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,cAAc,EAAE,kBAAkB;IAClC,WAAW,EAAE,eAAe;IAC5B,iBAAiB,EAAE,qBAAqB;IACxC,WAAW,EAAE,eAAe;IAC5B,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,iBAAiB;IAChC,kBAAkB,EAAE,sBAAsB;IAC1C,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY;CACvB,CAAC,CAAC","sourcesContent":["import type { ZoraComponentMetaRegistry } from '../../types/authoring';\nimport { accordionItemMeta } from '../accordion/accordionItemMeta';\nimport { accordionMeta } from '../accordion/accordionMeta';\nimport { activityIndicatorMeta } from '../activity-indicator/activityIndicatorMeta';\nimport { appBarMeta } from '../app-bar/appBarMeta';\nimport { appHeaderMeta } from '../app-header/appHeaderMeta';\nimport { audioMeta } from '../audio/audioMeta';\nimport { authScreenMeta } from '../auth/authScreenMeta';\nimport { forgotPasswordFormMeta } from '../auth/forgotPasswordFormMeta';\nimport { oauthProviderButtonMeta } from '../auth/oauthProviderButtonMeta';\nimport { oauthProviderListMeta } from '../auth/oauthProviderListMeta';\nimport { otpFormMeta } from '../auth/otpFormMeta';\nimport { signInFormMeta } from '../auth/signInFormMeta';\nimport { signUpFormMeta } from '../auth/signUpFormMeta';\nimport { avatarGroupMeta } from '../avatar/avatarGroupMeta';\nimport { avatarMeta } from '../avatar/avatarMeta';\nimport { badgeMeta } from '../badge/badgeMeta';\nimport { bottomSheetMeta } from '../bottom-sheet/bottomSheetMeta';\nimport { breadcrumbsMeta } from '../breadcrumbs/breadcrumbsMeta';\nimport { buttonGroupMeta } from '../button/buttonGroupMeta';\nimport { buttonMeta } from '../button/buttonMeta';\nimport { iconButtonMeta } from '../button/iconButtonMeta';\nimport { calendarMeta } from '../calendar/calendarMeta';\nimport { cardMeta } from '../card/cardMeta';\nimport { mediaCardMeta } from '../card/mediaCardMeta';\nimport { metricCardMeta } from '../card/metricCardMeta';\nimport { postCardMeta } from '../card/postCardMeta';\nimport { productCardMeta } from '../card/productCardMeta';\nimport { chatListItemMeta } from '../chat/chatListItemMeta';\nimport { messageBubbleMeta } from '../chat/messageBubbleMeta';\nimport { chessBoardMeta, openingBookMeta } from '../chess/meta';\nimport { chipGroupMeta } from '../chip/chipGroupMeta';\nimport { chipMeta } from '../chip/chipMeta';\nimport { collectionEditorMeta } from '../collection-editor/meta';\nimport { contentRailMeta } from '../content-rail/contentRailMeta';\nimport { dataTableMeta } from '../data-table/dataTableMeta';\nimport { datePickerMeta } from '../date-picker/datePickerMeta';\nimport { dialogMeta } from '../dialog/dialogMeta';\nimport { emptyStateMeta } from '../empty-state/emptyStateMeta';\nimport { explorerMeta, fileExplorerMeta, mediaExplorerMeta } from '../explorer/meta';\nimport { checkboxGroupMeta, checkboxMeta } from '../form/checkbox/checkboxMeta';\nimport { fieldMeta } from '../form/field/meta';\nimport { formActionsMeta } from '../form/formActionsMeta';\nimport { formErrorMeta } from '../form/formErrorMeta';\nimport { formMeta } from '../form/formMeta';\nimport { radioGroupMeta, radioMeta } from '../form/radio/radioMeta';\nimport { searchInputMeta } from '../form/search-input/searchInputMeta';\nimport { selectMeta } from '../form/select/selectMeta';\nimport { switchMeta } from '../form/switch/switchMeta';\nimport { textInputMeta } from '../form/text-input/textInputMeta';\nimport { gameEntityMeta } from '../game/meta/gameEntityMeta';\nimport { gameFieldMeta } from '../game/meta/gameFieldMeta';\nimport { gameInputZoneMeta } from '../game/meta/gameInputZoneMeta';\nimport { gameMeasurementProbeMeta } from '../game/meta/gameMeasurementProbeMeta';\nimport { gameMeta } from '../game/meta/gameMeta';\nimport { gameOverlayMeta } from '../game/meta/gameOverlayMeta';\nimport { gradientMeta } from '../gradient/gradientMeta';\nimport { gridInteractionsMeta } from '../grid-interactions/meta';\nimport { gridLineOverlayMeta, gridRulerMeta } from '../grid-rulers/meta';\nimport { gridViewMeta, tileGridMeta } from '../grid-view/meta';\nimport { heroMeta } from '../hero/heroMeta';\nimport { iconMeta } from '../icon/iconMeta';\nimport { imageMeta } from '../image/imageMeta';\nimport { keyboardAvoidingViewMeta } from '../keyboard-avoiding-view/keyboardAvoidingViewMeta';\nimport { appShellMeta } from '../layout/appShellMeta';\nimport { dividerMeta } from '../layout/dividerMeta';\nimport { gridMeta } from '../layout/gridMeta';\nimport { screenMeta } from '../layout/screenMeta';\nimport { scrollViewMeta } from '../layout/scrollViewMeta';\nimport { viewMeta } from '../layout/viewMeta';\nimport { linkMeta } from '../link/linkMeta';\nimport { flatListMeta } from '../list/flatListMeta';\nimport { listItemMeta, listMeta, listSectionMeta } from '../list/meta';\nimport { sectionListMeta } from '../list/sectionListMeta';\nimport { masterDetailMeta } from '../master-detail/masterDetailMeta';\nimport { matrixGridMeta } from '../matrix-grid/meta';\nimport { missingElementMeta } from '../missing-element/missingElementMeta';\nimport { paginationMeta } from '../pagination/paginationMeta';\nimport { paletteItemMeta } from '../palette-item/paletteItemMeta';\nimport { popoverMenuMeta } from '../popover-menu/popoverMenuMeta';\nimport { progressMeta, progressRingMeta } from '../progress/progressMeta';\nimport { ratingMeta } from '../rating/ratingMeta';\nimport { readerMeta } from '../reader/meta';\nimport { richTextMeta } from '../rich-text/richTextMeta';\nimport { barcodeScannerViewMeta, cameraPermissionViewMeta, scanOverlayMeta } from '../scanner/meta';\nimport { screenSectionMeta } from '../section/screenSectionMeta';\nimport { sectionHeaderMeta } from '../section/sectionHeaderMeta';\nimport { selectableItemMeta, selectionProviderMeta } from '../selection/meta';\nimport {\n skeletonCardMeta,\n skeletonListMeta,\n skeletonMeta,\n skeletonTextMeta,\n} from '../skeleton/skeletonMeta';\nimport { spatialGridMeta } from '../spatial-grid/meta';\nimport { surfaceMeta } from '../surface/surfaceMeta';\nimport {\n cardBackMeta,\n cardHandMeta,\n playingCardMeta,\n pokerTrainingTableMeta,\n tabletopTableMeta,\n} from '../tabletop/meta';\nimport { tabListMeta } from '../tabs/tabListMeta';\nimport { tabMeta } from '../tabs/tabMeta';\nimport { tabPanelMeta } from '../tabs/tabPanelMeta';\nimport { tabsMeta } from '../tabs/tabsMeta';\nimport { themeModeToggleMeta } from '../theme/ThemeModeToggle.meta';\nimport { timeGridMeta } from '../time-grid/meta';\nimport { timePickerMeta } from '../time-picker/timePickerMeta';\nimport { timelineMeta } from '../timeline/meta';\nimport { toastMeta } from '../toast/toastMeta';\nimport { toastProviderMeta } from '../toast/toastProviderMeta';\nimport { toolbarMeta } from '../toolbar/toolbarMeta';\nimport { treeItemMeta, treeViewMeta } from '../tree-view/meta';\nimport { headingMeta } from '../typography/headingMeta';\nimport { textMeta } from '../typography/textMeta';\nimport { uploaderMeta } from '../uploader/uploaderMeta';\nimport { videoMeta } from '../video/videoMeta';\nimport { finalizeFeatureMetadata } from './finalizeFeatureMetadata';\n\nexport const ZORA_COMPONENT_META: ZoraComponentMetaRegistry = finalizeFeatureMetadata({\n Accordion: accordionMeta,\n AccordionItem: accordionItemMeta,\n ActivityIndicator: activityIndicatorMeta,\n Audio: audioMeta,\n View: viewMeta,\n ScrollView: scrollViewMeta,\n Grid: gridMeta,\n Divider: dividerMeta,\n Surface: surfaceMeta,\n AppBar: appBarMeta,\n AppHeader: appHeaderMeta,\n Avatar: avatarMeta,\n AvatarGroup: avatarGroupMeta,\n Badge: badgeMeta,\n Breadcrumbs: breadcrumbsMeta,\n Button: buttonMeta,\n ButtonGroup: buttonGroupMeta,\n Card: cardMeta,\n Calendar: calendarMeta,\n Checkbox: checkboxMeta,\n CheckboxGroup: checkboxGroupMeta,\n Chip: chipMeta,\n ChipGroup: chipGroupMeta,\n DataTable: dataTableMeta,\n DatePicker: datePickerMeta,\n Dialog: dialogMeta,\n Form: formMeta,\n FormActions: formActionsMeta,\n FormError: formErrorMeta,\n Field: fieldMeta,\n Gradient: gradientMeta,\n Game: gameMeta,\n GameField: gameFieldMeta,\n GameEntity: gameEntityMeta,\n GameInputZone: gameInputZoneMeta,\n GameMeasurementProbe: gameMeasurementProbeMeta,\n GameOverlay: gameOverlayMeta,\n Heading: headingMeta,\n Icon: iconMeta,\n IconButton: iconButtonMeta,\n Image: imageMeta,\n KeyboardAvoidingView: keyboardAvoidingViewMeta,\n Link: linkMeta,\n MasterDetail: masterDetailMeta,\n TextInput: textInputMeta,\n MediaCard: mediaCardMeta,\n MetricCard: metricCardMeta,\n Pagination: paginationMeta,\n PopoverMenu: popoverMenuMeta,\n Progress: progressMeta,\n ProgressRing: progressRingMeta,\n RichText: richTextMeta,\n Radio: radioMeta,\n RadioGroup: radioGroupMeta,\n Rating: ratingMeta,\n SearchInput: searchInputMeta,\n Select: selectMeta,\n Switch: switchMeta,\n Skeleton: skeletonMeta,\n SkeletonCard: skeletonCardMeta,\n SkeletonList: skeletonListMeta,\n SkeletonText: skeletonTextMeta,\n Tab: tabMeta,\n TabList: tabListMeta,\n TabPanel: tabPanelMeta,\n Tabs: tabsMeta,\n Text: textMeta,\n TimePicker: timePickerMeta,\n Toast: toastMeta,\n ToastProvider: toastProviderMeta,\n Toolbar: toolbarMeta,\n Uploader: uploaderMeta,\n Video: videoMeta,\n BottomSheet: bottomSheetMeta,\n FlatList: flatListMeta,\n SectionList: sectionListMeta,\n ThemeModeToggle: themeModeToggleMeta,\n AppShell: appShellMeta,\n Screen: screenMeta,\n ScreenSection: screenSectionMeta,\n AuthScreen: authScreenMeta,\n ForgotPasswordForm: forgotPasswordFormMeta,\n OAuthProviderButton: oauthProviderButtonMeta,\n OAuthProviderList: oauthProviderListMeta,\n OtpForm: otpFormMeta,\n SignInForm: signInFormMeta,\n SignUpForm: signUpFormMeta,\n ChatListItem: chatListItemMeta,\n ChessBoard: chessBoardMeta,\n CollectionEditor: collectionEditorMeta,\n ContentRail: contentRailMeta,\n EmptyState: emptyStateMeta,\n Explorer: explorerMeta,\n FileExplorer: fileExplorerMeta,\n MediaExplorer: mediaExplorerMeta,\n GridLineOverlay: gridLineOverlayMeta,\n GridRuler: gridRulerMeta,\n GridInteractions: gridInteractionsMeta,\n GridView: gridViewMeta,\n TileGrid: tileGridMeta,\n TimeGrid: timeGridMeta,\n MatrixGrid: matrixGridMeta,\n Hero: heroMeta,\n List: listMeta,\n ListItem: listItemMeta,\n ListSection: listSectionMeta,\n MessageBubble: messageBubbleMeta,\n OpeningBook: openingBookMeta,\n MissingElement: missingElementMeta,\n PostCard: postCardMeta,\n ProductCard: productCardMeta,\n Reader: readerMeta,\n BarcodeScannerView: barcodeScannerViewMeta,\n CameraPermissionView: cameraPermissionViewMeta,\n ScanOverlay: scanOverlayMeta,\n SectionHeader: sectionHeaderMeta,\n SelectableItem: selectableItemMeta,\n SpatialGrid: spatialGridMeta,\n SelectionProvider: selectionProviderMeta,\n PaletteItem: paletteItemMeta,\n Timeline: timelineMeta,\n CardBack: cardBackMeta,\n CardHand: cardHandMeta,\n PlayingCard: playingCardMeta,\n TabletopTable: tabletopTableMeta,\n PokerTrainingTable: pokerTrainingTableMeta,\n TreeItem: treeItemMeta,\n TreeView: treeViewMeta,\n});\n"]}
@@ -0,0 +1,11 @@
1
+ import type React from 'react';
2
+ import type { RichTextProps } from '../../../../types/rich-text';
3
+ /**
4
+ * Renders canonical HTML read-only or through the supported WYSIWYG editor.
5
+ *
6
+ * Web uses the upstream TipTap history keyboard shortcuts. Native uses the
7
+ * platform text-control history. The upstream public editor handle exposes no
8
+ * programmatic undo or redo controls.
9
+ */
10
+ export declare const RichText: (props: RichTextProps) => React.ReactElement | null;
11
+ //# sourceMappingURL=RichText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../../../../src/features/rich-text/adapters/inbound/RichText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAIjE;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,KAAK,CAAC,YAAY,GAAG,IAClC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
2
+ import { RichTextClient } from './RichTextClient';
3
+ /**
4
+ * Renders canonical HTML read-only or through the supported WYSIWYG editor.
5
+ *
6
+ * Web uses the upstream TipTap history keyboard shortcuts. Native uses the
7
+ * platform text-control history. The upstream public editor handle exposes no
8
+ * programmatic undo or redo controls.
9
+ */
10
+ export const RichText = withZoraThemeScope(RichTextClient);
11
+ //# sourceMappingURL=RichText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichText.js","sourceRoot":"","sources":["../../../../../src/features/rich-text/adapters/inbound/RichText.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GACnB,kBAAkB,CAAC,cAAc,CAAC,CAAC","sourcesContent":["import type React from 'react';\n\nimport type { RichTextProps } from '../../../../types/rich-text';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\nimport { RichTextClient } from './RichTextClient';\n\n/**\n * Renders canonical HTML read-only or through the supported WYSIWYG editor.\n *\n * Web uses the upstream TipTap history keyboard shortcuts. Native uses the\n * platform text-control history. The upstream public editor handle exposes no\n * programmatic undo or redo controls.\n */\nexport const RichText: (props: RichTextProps) => React.ReactElement | null =\n withZoraThemeScope(RichTextClient);\n"]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { RichTextProps } from '../../../../types/rich-text';
3
+ /*** Renders RichText only after browser hydration because its upstream web implementation is client-only. */
4
+ export declare const RichText: (props: RichTextProps) => React.ReactElement | null;
5
+ //# sourceMappingURL=RichText.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichText.web.d.ts","sourceRoot":"","sources":["../../../../../src/features/rich-text/adapters/inbound/RichText.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAOjE,6GAA6G;AAC7G,eAAO,MAAM,QAAQ,qDAAuC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
3
+ const RichTextClient = React.lazy(async () => ({
4
+ default: (await import('./RichTextClient')).RichTextClient,
5
+ }));
6
+ /*** Renders RichText only after browser hydration because its upstream web implementation is client-only. */
7
+ export const RichText = withZoraThemeScope(RichTextBoundary);
8
+ /*** Defers the upstream DOM-dependent editor until this component has mounted in a browser. */
9
+ function RichTextBoundary(props) {
10
+ const hydrated = React.useSyncExternalStore(() => () => undefined, () => true, () => false);
11
+ if (!hydrated)
12
+ return null;
13
+ return (<React.Suspense fallback={null}>
14
+ <RichTextClient {...props}/>
15
+ </React.Suspense>);
16
+ }
17
+ //# sourceMappingURL=RichText.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichText.web.js","sourceRoot":"","sources":["../../../../../src/features/rich-text/adapters/inbound/RichText.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AAExF,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IAC7C,OAAO,EAAE,CAAC,MAAM,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,cAAc;CAC3D,CAAC,CAAC,CAAC;AAEJ,6GAA6G;AAC7G,MAAM,CAAC,MAAM,QAAQ,GAAG,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;AAE7D,+FAA+F;AAC/F,SAAS,gBAAgB,CAAC,KAAoB;IAC5C,MAAM,QAAQ,GAAG,KAAK,CAAC,oBAAoB,CACzC,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,SAAS,EACrB,GAAG,EAAE,CAAC,IAAI,EACV,GAAG,EAAE,CAAC,KAAK,CACZ,CAAC;IAEF,IAAI,CAAC,QAAQ;QAAE,OAAO,IAAI,CAAC;IAE3B,OAAO,CACL,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAC7B;MAAA,CAAC,cAAc,CAAC,IAAI,KAAK,CAAC,EAC5B;IAAA,EAAE,KAAK,CAAC,QAAQ,CAAC,CAClB,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\n\nimport type { RichTextProps } from '../../../../types/rich-text';\nimport { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';\n\nconst RichTextClient = React.lazy(async () => ({\n default: (await import('./RichTextClient')).RichTextClient,\n}));\n\n/*** Renders RichText only after browser hydration because its upstream web implementation is client-only. */\nexport const RichText = withZoraThemeScope(RichTextBoundary);\n\n/*** Defers the upstream DOM-dependent editor until this component has mounted in a browser. */\nfunction RichTextBoundary(props: RichTextProps) {\n const hydrated = React.useSyncExternalStore(\n () => () => undefined,\n () => true,\n () => false,\n );\n\n if (!hydrated) return null;\n\n return (\n <React.Suspense fallback={null}>\n <RichTextClient {...props} />\n </React.Suspense>\n );\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { RichTextProps } from '../../../../types/rich-text';
3
+ /*** Applies ZORA theme tokens and controlled HTML updates to the upstream editor. */
4
+ export declare function RichTextClient({ html, editable, placeholder, onChangeHtml, onLinkPress, interactionPolicy, testID, }: RichTextProps): React.JSX.Element;
5
+ //# sourceMappingURL=RichTextClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextClient.d.ts","sourceRoot":"","sources":["../../../../../src/features/rich-text/adapters/inbound/RichTextClient.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAejE,qFAAqF;AACrF,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,QAAgB,EAChB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,MAAM,GACP,EAAE,aAAa,qBA4Gf"}
@@ -0,0 +1,94 @@
1
+ import React from 'react';
2
+ import { EnrichedText, EnrichedTextInput, } from 'react-native-enriched-html';
3
+ import { IconButton } from '../../../button/public';
4
+ import { TextInput } from '../../../form/text-input/public';
5
+ import { View } from '../../../layout/public';
6
+ import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
7
+ import { Toolbar } from '../../../toolbar/public';
8
+ import { resolveRichTextHtmlStyle } from '../../utils/resolveRichTextHtmlStyle';
9
+ import { sanitizeRichTextHtml } from '../../utils/sanitizeRichTextHtml';
10
+ /*** Applies ZORA theme tokens and controlled HTML updates to the upstream editor. */
11
+ export function RichTextClient({ html, editable = false, placeholder, onChangeHtml, onLinkPress, interactionPolicy, testID, }) {
12
+ const { theme } = useZoraTheme();
13
+ const editorRef = React.useRef(null);
14
+ const sanitizedHtml = React.useMemo(() => sanitizeRichTextHtml(html), [html]);
15
+ const currentHtml = React.useRef(sanitizedHtml);
16
+ const [selection, setSelection] = React.useState({
17
+ start: 0,
18
+ end: 0,
19
+ text: '',
20
+ });
21
+ const [linkEditorVisible, setLinkEditorVisible] = React.useState(false);
22
+ const [linkUrl, setLinkUrl] = React.useState('');
23
+ const htmlStyle = React.useMemo(() => resolveRichTextHtmlStyle(theme), [theme]);
24
+ const contentStyle = React.useMemo(() => ({
25
+ backgroundColor: theme.semantics.surface.default,
26
+ borderColor: theme.semantics.border.default,
27
+ borderRadius: theme.radii.l,
28
+ borderWidth: 1,
29
+ color: theme.semantics.content.default,
30
+ fontFamily: theme.typography.fonts.normal[theme.typography.weights.regular],
31
+ fontSize: theme.typography.sizes.m,
32
+ lineHeight: 24,
33
+ padding: theme.spacing.m,
34
+ }), [theme]);
35
+ const passive = interactionPolicy === 'passive';
36
+ const canEdit = editable && !passive;
37
+ const handleLinkPress = React.useCallback(({ url }) => {
38
+ if (!passive)
39
+ onLinkPress?.(url);
40
+ }, [onLinkPress, passive]);
41
+ React.useEffect(() => {
42
+ if (sanitizedHtml === currentHtml.current)
43
+ return;
44
+ editorRef.current?.setValue(sanitizedHtml);
45
+ currentHtml.current = sanitizedHtml;
46
+ }, [sanitizedHtml]);
47
+ if (!editable) {
48
+ return (<EnrichedText htmlStyle={htmlStyle} onLinkPress={onLinkPress === undefined || passive ? undefined : handleLinkPress} selectable={!passive} style={contentStyle} testID={testID}>
49
+ {sanitizedHtml}
50
+ </EnrichedText>);
51
+ }
52
+ return (<View gap="s">
53
+ <RichTextToolbar disabled={!canEdit} editorRef={editorRef} linkEditorVisible={linkEditorVisible} onLinkEditorVisibilityChange={setLinkEditorVisible}/>
54
+ {linkEditorVisible ? (<View align="center" direction="row" gap="s">
55
+ <TextInput disabled={!canEdit} onChangeText={setLinkUrl} placeholder="https://example.com" size="m" value={linkUrl}/>
56
+ <IconButton color="primary" disabled={!canEdit || linkUrl.length === 0} icon={{ name: 'check', provider: 'FontAwesome6', variant: 'solid' }} label="Apply link" onPress={() => {
57
+ if (selection.text.length === 0)
58
+ return;
59
+ editorRef.current?.setLink(selection.start, selection.end, selection.text, linkUrl);
60
+ setLinkEditorVisible(false);
61
+ setLinkUrl('');
62
+ }}/>
63
+ </View>) : null}
64
+ <EnrichedTextInput cursorColor={theme.semantics.border.focus} defaultValue={sanitizedHtml} editable={canEdit} htmlStyle={htmlStyle} onChangeHtml={(event) => {
65
+ const nextHtml = sanitizeRichTextHtml(event.nativeEvent.value);
66
+ currentHtml.current = nextHtml;
67
+ onChangeHtml?.(nextHtml);
68
+ }} onChangeSelection={(event) => setSelection(event.nativeEvent)} onLinkPress={onLinkPress === undefined || passive ? undefined : handleLinkPress} placeholder={placeholder} placeholderTextColor={theme.semantics.content.muted} ref={editorRef} selectionColor={theme.semantics.action.primary.softBg} style={contentStyle} testID={testID}/>
69
+ </View>);
70
+ }
71
+ /*** Renders the supported rich-text formatting actions with ZORA toolbar controls. */
72
+ function RichTextToolbar({ disabled, editorRef, linkEditorVisible, onLinkEditorVisibilityChange, }) {
73
+ return (<View gap="s">
74
+ <Toolbar compact>
75
+ <IconButton disabled={disabled} icon={{ name: 'heading', provider: 'FontAwesome6', variant: 'solid' }} label="Heading level 1" onPress={() => editorRef.current?.toggleH1()}/>
76
+ <IconButton disabled={disabled} icon={{ name: 'heading', provider: 'FontAwesome6', variant: 'solid' }} label="Heading level 2" onPress={() => editorRef.current?.toggleH2()}/>
77
+ <IconButton disabled={disabled} icon={{ name: 'heading', provider: 'FontAwesome6', variant: 'solid' }} label="Heading level 3" onPress={() => editorRef.current?.toggleH3()}/>
78
+ <IconButton disabled={disabled} icon={{ name: 'bold', provider: 'FontAwesome6', variant: 'solid' }} label="Bold" onPress={() => editorRef.current?.toggleBold()}/>
79
+ <IconButton disabled={disabled} icon={{ name: 'italic', provider: 'FontAwesome6', variant: 'solid' }} label="Italic" onPress={() => editorRef.current?.toggleItalic()}/>
80
+ <IconButton disabled={disabled} icon={{ name: 'underline', provider: 'FontAwesome6', variant: 'solid' }} label="Underline" onPress={() => editorRef.current?.toggleUnderline()}/>
81
+ <IconButton disabled={disabled} icon={{ name: 'strikethrough', provider: 'FontAwesome6', variant: 'solid' }} label="Strikethrough" onPress={() => editorRef.current?.toggleStrikeThrough()}/>
82
+ <IconButton disabled={disabled} icon={{ name: 'link', provider: 'FontAwesome6', variant: 'solid' }} label="Link" onPress={() => onLinkEditorVisibilityChange(!linkEditorVisible)}/>
83
+ </Toolbar>
84
+ <Toolbar compact>
85
+ <IconButton disabled={disabled} icon={{ name: 'list-ol', provider: 'FontAwesome6', variant: 'solid' }} label="Ordered list" onPress={() => editorRef.current?.toggleOrderedList()}/>
86
+ <IconButton disabled={disabled} icon={{ name: 'list-ul', provider: 'FontAwesome6', variant: 'solid' }} label="Unordered list" onPress={() => editorRef.current?.toggleUnorderedList()}/>
87
+ <IconButton disabled={disabled} icon={{ name: 'align-left', provider: 'FontAwesome6', variant: 'solid' }} label="Align left" onPress={() => editorRef.current?.setTextAlignment('left')}/>
88
+ <IconButton disabled={disabled} icon={{ name: 'align-center', provider: 'FontAwesome6', variant: 'solid' }} label="Align center" onPress={() => editorRef.current?.setTextAlignment('center')}/>
89
+ <IconButton disabled={disabled} icon={{ name: 'align-right', provider: 'FontAwesome6', variant: 'solid' }} label="Align right" onPress={() => editorRef.current?.setTextAlignment('right')}/>
90
+ <IconButton disabled={disabled} icon={{ name: 'align-justify', provider: 'FontAwesome6', variant: 'solid' }} label="Justify" onPress={() => editorRef.current?.setTextAlignment('justify')}/>
91
+ </Toolbar>
92
+ </View>);
93
+ }
94
+ //# sourceMappingURL=RichTextClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTextClient.js","sourceRoot":"","sources":["../../../../../src/features/rich-text/adapters/inbound/RichTextClient.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,YAAY,EACZ,iBAAiB,GAElB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,OAAO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C,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAC1E,KAAK,CAAC,aAAa,CACnB,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC,EAE9D;QAAA,CAAC,UAAU,CACT,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAC5E,KAAK,CAAC,SAAS,CACf,OAAO,CAAC,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC,EAElE;MAAA,EAAE,OAAO,CACX;IAAA,EAAE,IAAI,CAAC,CACR,CAAC;AACJ,CAAC","sourcesContent":["import React from 'react';\nimport {\n EnrichedText,\n EnrichedTextInput,\n type EnrichedTextInputInstance,\n} from 'react-native-enriched-html';\n\nimport type { RichTextProps } from '../../../../types/rich-text';\nimport { IconButton } from '../../../button/public';\nimport { TextInput } from '../../../form/text-input/public';\nimport { View } from '../../../layout/public';\nimport { useZoraTheme } from '../../../theme/composition/useZoraTheme';\nimport { Toolbar } from '../../../toolbar/public';\nimport { resolveRichTextHtmlStyle } from '../../utils/resolveRichTextHtmlStyle';\nimport { sanitizeRichTextHtml } from '../../utils/sanitizeRichTextHtml';\n\ninterface RichTextSelection {\n readonly start: number;\n readonly end: number;\n readonly text: string;\n}\n\n/*** Applies ZORA theme tokens and controlled HTML updates to the upstream editor. */\nexport function RichTextClient({\n html,\n editable = false,\n placeholder,\n onChangeHtml,\n onLinkPress,\n interactionPolicy,\n testID,\n}: RichTextProps) {\n const { theme } = useZoraTheme();\n const editorRef = React.useRef<EnrichedTextInputInstance>(null);\n const sanitizedHtml = React.useMemo(() => sanitizeRichTextHtml(html), [html]);\n const currentHtml = React.useRef(sanitizedHtml);\n const [selection, setSelection] = React.useState<RichTextSelection>({\n start: 0,\n end: 0,\n text: '',\n });\n const [linkEditorVisible, setLinkEditorVisible] = React.useState(false);\n const [linkUrl, setLinkUrl] = React.useState('');\n const htmlStyle = React.useMemo(() => resolveRichTextHtmlStyle(theme), [theme]);\n const contentStyle = React.useMemo(\n () => ({\n backgroundColor: theme.semantics.surface.default,\n borderColor: theme.semantics.border.default,\n borderRadius: theme.radii.l,\n borderWidth: 1,\n color: theme.semantics.content.default,\n fontFamily: theme.typography.fonts.normal[theme.typography.weights.regular],\n fontSize: theme.typography.sizes.m,\n lineHeight: 24,\n padding: theme.spacing.m,\n }),\n [theme],\n );\n const passive = interactionPolicy === 'passive';\n const canEdit = editable && !passive;\n const handleLinkPress = React.useCallback(\n ({ url }: { readonly url: string }) => {\n if (!passive) onLinkPress?.(url);\n },\n [onLinkPress, passive],\n );\n\n React.useEffect(() => {\n if (sanitizedHtml === currentHtml.current) return;\n editorRef.current?.setValue(sanitizedHtml);\n currentHtml.current = sanitizedHtml;\n }, [sanitizedHtml]);\n\n if (!editable) {\n return (\n <EnrichedText\n htmlStyle={htmlStyle}\n onLinkPress={onLinkPress === undefined || passive ? undefined : handleLinkPress}\n selectable={!passive}\n style={contentStyle}\n testID={testID}\n >\n {sanitizedHtml}\n </EnrichedText>\n );\n }\n\n return (\n <View gap=\"s\">\n <RichTextToolbar\n disabled={!canEdit}\n editorRef={editorRef}\n linkEditorVisible={linkEditorVisible}\n onLinkEditorVisibilityChange={setLinkEditorVisible}\n />\n {linkEditorVisible ? (\n <View align=\"center\" direction=\"row\" gap=\"s\">\n <TextInput\n disabled={!canEdit}\n onChangeText={setLinkUrl}\n placeholder=\"https://example.com\"\n size=\"m\"\n value={linkUrl}\n />\n <IconButton\n color=\"primary\"\n disabled={!canEdit || linkUrl.length === 0}\n icon={{ name: 'check', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Apply link\"\n onPress={() => {\n if (selection.text.length === 0) return;\n editorRef.current?.setLink(selection.start, selection.end, selection.text, linkUrl);\n setLinkEditorVisible(false);\n setLinkUrl('');\n }}\n />\n </View>\n ) : null}\n <EnrichedTextInput\n cursorColor={theme.semantics.border.focus}\n defaultValue={sanitizedHtml}\n editable={canEdit}\n htmlStyle={htmlStyle}\n onChangeHtml={(event) => {\n const nextHtml = sanitizeRichTextHtml(event.nativeEvent.value);\n currentHtml.current = nextHtml;\n onChangeHtml?.(nextHtml);\n }}\n onChangeSelection={(event) => setSelection(event.nativeEvent)}\n onLinkPress={onLinkPress === undefined || passive ? undefined : handleLinkPress}\n placeholder={placeholder}\n placeholderTextColor={theme.semantics.content.muted}\n ref={editorRef}\n selectionColor={theme.semantics.action.primary.softBg}\n style={contentStyle}\n testID={testID}\n />\n </View>\n );\n}\n\n/*** Renders the supported rich-text formatting actions with ZORA toolbar controls. */\nfunction RichTextToolbar({\n disabled,\n editorRef,\n linkEditorVisible,\n onLinkEditorVisibilityChange,\n}: {\n readonly disabled: boolean;\n readonly editorRef: React.RefObject<EnrichedTextInputInstance | null>;\n readonly linkEditorVisible: boolean;\n readonly onLinkEditorVisibilityChange: (visible: boolean) => void;\n}) {\n return (\n <View gap=\"s\">\n <Toolbar compact>\n <IconButton\n disabled={disabled}\n icon={{ name: 'heading', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Heading level 1\"\n onPress={() => editorRef.current?.toggleH1()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'heading', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Heading level 2\"\n onPress={() => editorRef.current?.toggleH2()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'heading', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Heading level 3\"\n onPress={() => editorRef.current?.toggleH3()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'bold', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Bold\"\n onPress={() => editorRef.current?.toggleBold()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'italic', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Italic\"\n onPress={() => editorRef.current?.toggleItalic()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'underline', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Underline\"\n onPress={() => editorRef.current?.toggleUnderline()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'strikethrough', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Strikethrough\"\n onPress={() => editorRef.current?.toggleStrikeThrough()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'link', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Link\"\n onPress={() => onLinkEditorVisibilityChange(!linkEditorVisible)}\n />\n </Toolbar>\n <Toolbar compact>\n <IconButton\n disabled={disabled}\n icon={{ name: 'list-ol', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Ordered list\"\n onPress={() => editorRef.current?.toggleOrderedList()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'list-ul', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Unordered list\"\n onPress={() => editorRef.current?.toggleUnorderedList()}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'align-left', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Align left\"\n onPress={() => editorRef.current?.setTextAlignment('left')}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'align-center', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Align center\"\n onPress={() => editorRef.current?.setTextAlignment('center')}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'align-right', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Align right\"\n onPress={() => editorRef.current?.setTextAlignment('right')}\n />\n <IconButton\n disabled={disabled}\n icon={{ name: 'align-justify', provider: 'FontAwesome6', variant: 'solid' }}\n label=\"Justify\"\n onPress={() => editorRef.current?.setTextAlignment('justify')}\n />\n </Toolbar>\n </View>\n );\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export type { RichTextProps } from '../../types/rich-text';
2
+ export { RichText } from './adapters/inbound/RichText';
3
+ //# sourceMappingURL=public.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/rich-text/public.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { RichText } from './adapters/inbound/RichText';
2
+ //# sourceMappingURL=public.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/rich-text/public.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC","sourcesContent":["export type { RichTextProps } from '../../types/rich-text';\nexport { RichText } from './adapters/inbound/RichText';\n"]}
@@ -0,0 +1,65 @@
1
+ export declare const richTextMeta: {
2
+ readonly name: "RichText";
3
+ readonly category: "component";
4
+ readonly directManifestNode: true;
5
+ readonly allowedChildren: readonly [];
6
+ readonly description: "Portable normalized HTML rendered read-only or edited with the supported cross-platform WYSIWYG editor.";
7
+ readonly blueprint: {
8
+ readonly label: "Rich text";
9
+ readonly defaultProps: {
10
+ readonly html: "<p>Rich text</p>";
11
+ readonly editable: false;
12
+ };
13
+ };
14
+ readonly events: {
15
+ readonly changeHtml: {
16
+ readonly label: "HTML change";
17
+ readonly eventType: "richText.changeHtml";
18
+ readonly description: "Emitted when the editor produces normalized HTML.";
19
+ readonly payloadFields: readonly [{
20
+ readonly path: "html";
21
+ readonly type: "string";
22
+ readonly label: "HTML";
23
+ }];
24
+ };
25
+ readonly linkPress: {
26
+ readonly label: "Link press";
27
+ readonly eventType: "richText.linkPress";
28
+ readonly description: "Requests host-owned navigation for a rich-text link.";
29
+ readonly payloadFields: readonly [{
30
+ readonly path: "url";
31
+ readonly type: "string";
32
+ readonly label: "URL";
33
+ }];
34
+ };
35
+ };
36
+ readonly props: {
37
+ readonly html: {
38
+ readonly type: "string";
39
+ readonly category: "Content";
40
+ readonly label: "HTML";
41
+ readonly default: "<p>Rich text</p>";
42
+ readonly authoring: {
43
+ readonly authority: "instance";
44
+ };
45
+ };
46
+ readonly editable: {
47
+ readonly type: "boolean";
48
+ readonly category: "State";
49
+ readonly label: "Editable";
50
+ readonly default: false;
51
+ readonly authoring: {
52
+ readonly authority: "instance";
53
+ };
54
+ };
55
+ readonly placeholder: {
56
+ readonly type: "string";
57
+ readonly category: "Content";
58
+ readonly label: "Placeholder";
59
+ readonly authoring: {
60
+ readonly authority: "instance";
61
+ };
62
+ };
63
+ };
64
+ };
65
+ //# sourceMappingURL=richTextMeta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"richTextMeta.d.ts","sourceRoot":"","sources":["../../../src/features/rich-text/richTextMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Ca,CAAC"}
@@ -0,0 +1,48 @@
1
+ export const richTextMeta = {
2
+ name: 'RichText',
3
+ category: 'component',
4
+ directManifestNode: true,
5
+ allowedChildren: [],
6
+ description: 'Portable normalized HTML rendered read-only or edited with the supported cross-platform WYSIWYG editor.',
7
+ blueprint: {
8
+ label: 'Rich text',
9
+ defaultProps: { html: '<p>Rich text</p>', editable: false },
10
+ },
11
+ events: {
12
+ changeHtml: {
13
+ label: 'HTML change',
14
+ eventType: 'richText.changeHtml',
15
+ description: 'Emitted when the editor produces normalized HTML.',
16
+ payloadFields: [{ path: 'html', type: 'string', label: 'HTML' }],
17
+ },
18
+ linkPress: {
19
+ label: 'Link press',
20
+ eventType: 'richText.linkPress',
21
+ description: 'Requests host-owned navigation for a rich-text link.',
22
+ payloadFields: [{ path: 'url', type: 'string', label: 'URL' }],
23
+ },
24
+ },
25
+ props: {
26
+ html: {
27
+ type: 'string',
28
+ category: 'Content',
29
+ label: 'HTML',
30
+ default: '<p>Rich text</p>',
31
+ authoring: { authority: 'instance' },
32
+ },
33
+ editable: {
34
+ type: 'boolean',
35
+ category: 'State',
36
+ label: 'Editable',
37
+ default: false,
38
+ authoring: { authority: 'instance' },
39
+ },
40
+ placeholder: {
41
+ type: 'string',
42
+ category: 'Content',
43
+ label: 'Placeholder',
44
+ authoring: { authority: 'instance' },
45
+ },
46
+ },
47
+ };
48
+ //# sourceMappingURL=richTextMeta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"richTextMeta.js","sourceRoot":"","sources":["../../../src/features/rich-text/richTextMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,WAAW,EACT,yGAAyG;IAC3G,SAAS,EAAE;QACT,KAAK,EAAE,WAAW;QAClB,YAAY,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,KAAK,EAAE;KAC5D;IACD,MAAM,EAAE;QACN,UAAU,EAAE;YACV,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,qBAAqB;YAChC,WAAW,EAAE,mDAAmD;YAChE,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;SACjE;QACD,SAAS,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,SAAS,EAAE,oBAAoB;YAC/B,WAAW,EAAE,sDAAsD;YACnE,aAAa,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;SAC/D;KACF;IACD,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,kBAAkB;YAC3B,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,aAAa;YACpB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const richTextMeta = {\n name: 'RichText',\n category: 'component',\n directManifestNode: true,\n allowedChildren: [],\n description:\n 'Portable normalized HTML rendered read-only or edited with the supported cross-platform WYSIWYG editor.',\n blueprint: {\n label: 'Rich text',\n defaultProps: { html: '<p>Rich text</p>', editable: false },\n },\n events: {\n changeHtml: {\n label: 'HTML change',\n eventType: 'richText.changeHtml',\n description: 'Emitted when the editor produces normalized HTML.',\n payloadFields: [{ path: 'html', type: 'string', label: 'HTML' }],\n },\n linkPress: {\n label: 'Link press',\n eventType: 'richText.linkPress',\n description: 'Requests host-owned navigation for a rich-text link.',\n payloadFields: [{ path: 'url', type: 'string', label: 'URL' }],\n },\n },\n props: {\n html: {\n type: 'string',\n category: 'Content',\n label: 'HTML',\n default: '<p>Rich text</p>',\n authoring: { authority: 'instance' },\n },\n editable: {\n type: 'boolean',\n category: 'State',\n label: 'Editable',\n default: false,\n authoring: { authority: 'instance' },\n },\n placeholder: {\n type: 'string',\n category: 'Content',\n label: 'Placeholder',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -0,0 +1,5 @@
1
+ import type { SurfaceTheme } from '@ankhorage/surface';
2
+ import type { EnrichedTextHtmlStyle, HtmlStyle } from 'react-native-enriched-html';
3
+ /** Resolves the upstream HTML renderer tokens from the active ZORA theme. */
4
+ export declare function resolveRichTextHtmlStyle(theme: SurfaceTheme): HtmlStyle & EnrichedTextHtmlStyle;
5
+ //# sourceMappingURL=resolveRichTextHtmlStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveRichTextHtmlStyle.d.ts","sourceRoot":"","sources":["../../../../src/features/rich-text/utils/resolveRichTextHtmlStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAEnF,6EAA6E;AAC7E,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,GAAG,qBAAqB,CA0B/F"}