@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
@@ -0,0 +1,31 @@
1
+ import type { SurfaceTheme } from '@ankhorage/surface';
2
+ import type { EnrichedTextHtmlStyle, HtmlStyle } from 'react-native-enriched-html';
3
+
4
+ /** Resolves the upstream HTML renderer tokens from the active ZORA theme. */
5
+ export function resolveRichTextHtmlStyle(theme: SurfaceTheme): HtmlStyle & EnrichedTextHtmlStyle {
6
+ return {
7
+ h1: { fontSize: theme.typography.headings[1].size, bold: true },
8
+ h2: { fontSize: theme.typography.headings[2].size, bold: true },
9
+ h3: { fontSize: theme.typography.headings[3].size, bold: true },
10
+ h4: { fontSize: theme.typography.headings[4].size, bold: true },
11
+ h5: { fontSize: theme.typography.headings[5].size, bold: true },
12
+ h6: { fontSize: theme.typography.headings[6].size, bold: true },
13
+ a: {
14
+ color: theme.semantics.action.primary.base,
15
+ pressColor: theme.semantics.action.primary.hover,
16
+ textDecorationLine: 'underline',
17
+ },
18
+ ol: {
19
+ gapWidth: theme.spacing.s,
20
+ marginLeft: theme.spacing.l,
21
+ markerColor: theme.semantics.content.default,
22
+ markerFontWeight: theme.typography.weights.regular,
23
+ },
24
+ ul: {
25
+ bulletColor: theme.semantics.content.default,
26
+ bulletSize: theme.spacing.xs,
27
+ gapWidth: theme.spacing.s,
28
+ marginLeft: theme.spacing.l,
29
+ },
30
+ };
31
+ }
@@ -0,0 +1,29 @@
1
+ import { describe, expect, test } from 'bun:test';
2
+
3
+ import { sanitizeRichTextHtml } from './sanitizeRichTextHtml';
4
+
5
+ describe('sanitizeRichTextHtml', () => {
6
+ test('preserves the supported RichText formatting vocabulary', () => {
7
+ expect(
8
+ sanitizeRichTextHtml(
9
+ '<h1 style="text-align: center">Heading</h1><p><b>Bold</b><i>Italic</i><u>Underline</u><s>Strike</s><a href="https://example.com">Link</a></p><ol style="text-align: right"><li>One</li></ol><ul><li>Two</li></ul>',
10
+ ),
11
+ ).toBe(
12
+ '<h1 style="text-align:center;">Heading</h1><p><b>Bold</b><i>Italic</i><u>Underline</u><s>Strike</s><a href="https://example.com">Link</a></p><ol style="text-align:right;"><li>One</li></ol><ul><li>Two</li></ul>',
13
+ );
14
+
15
+ expect(sanitizeRichTextHtml('<html><h1>Title</h1><br><p>Some body text.</p></html>')).toBe(
16
+ '<html><h1>Title</h1><br><p>Some body text.</p></html>',
17
+ );
18
+ });
19
+
20
+ test('removes executable content and unsupported formatting', () => {
21
+ expect(
22
+ sanitizeRichTextHtml(
23
+ '<script>alert(1)</script><p style="color: red; text-align: justify" onclick="alert(1)"><a href="javascript:alert(1)">Unsafe</a></p><img src="https://example.com/image.png">',
24
+ ),
25
+ ).toBe(
26
+ '<p style="text-align:justify;"><a href>Unsafe</a></p>&lt;img src="https://example.com/image.png"&gt;',
27
+ );
28
+ });
29
+ });
@@ -0,0 +1,40 @@
1
+ import { FilterXSS } from 'xss';
2
+
3
+ /** Sanitizes RichText HTML to the formatting vocabulary supported by every platform. */
4
+ export function sanitizeRichTextHtml(html: string): string {
5
+ return richTextHtmlSanitizer.process(html);
6
+ }
7
+
8
+ const alignmentAttributes = ['style'];
9
+
10
+ const richTextHtmlSanitizer = new FilterXSS({
11
+ whiteList: {
12
+ a: ['href'],
13
+ b: [],
14
+ br: [],
15
+ del: [],
16
+ em: [],
17
+ h1: alignmentAttributes,
18
+ h2: alignmentAttributes,
19
+ h3: alignmentAttributes,
20
+ h4: alignmentAttributes,
21
+ h5: alignmentAttributes,
22
+ h6: alignmentAttributes,
23
+ html: [],
24
+ i: [],
25
+ li: [],
26
+ ol: alignmentAttributes,
27
+ p: alignmentAttributes,
28
+ s: [],
29
+ strike: [],
30
+ strong: [],
31
+ u: [],
32
+ ul: alignmentAttributes,
33
+ },
34
+ css: {
35
+ whiteList: {
36
+ 'text-align': /^(left|center|right|justify)$/,
37
+ },
38
+ },
39
+ stripIgnoreTagBody: ['script', 'style'],
40
+ });
@@ -1,4 +1,4 @@
1
- import { ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';
1
+ import { ResponsiveProvider, ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';
2
2
  import React from 'react';
3
3
 
4
4
  import type { ZoraProviderProps } from '../../../../types/provider';
@@ -27,13 +27,15 @@ export function ZoraProvider({
27
27
 
28
28
  return (
29
29
  <ZoraThemeRuntimeContext value={runtimeValue}>
30
- <ThemeProvider initialConfig={resolvedConfig} initialMode={mode ?? initialMode}>
31
- <ZoraProviderMode mode={mode}>
32
- <ZoraRuntimeCapabilities bottomSheet={bottomSheet} toast={toast}>
33
- {children}
34
- </ZoraRuntimeCapabilities>
35
- </ZoraProviderMode>
36
- </ThemeProvider>
30
+ <ResponsiveProvider>
31
+ <ThemeProvider initialConfig={resolvedConfig} initialMode={mode ?? initialMode}>
32
+ <ZoraProviderMode mode={mode}>
33
+ <ZoraRuntimeCapabilities bottomSheet={bottomSheet} toast={toast}>
34
+ {children}
35
+ </ZoraRuntimeCapabilities>
36
+ </ZoraProviderMode>
37
+ </ThemeProvider>
38
+ </ResponsiveProvider>
37
39
  </ZoraThemeRuntimeContext>
38
40
  );
39
41
  }
@@ -169,10 +169,11 @@ const scopedPropTypeFiles = [
169
169
  ] as const;
170
170
 
171
171
  describe('theme scope structure', () => {
172
- it('keeps ZoraProvider lightweight (no extra ResponsiveProvider nesting)', () => {
172
+ it('owns the ResponsiveProvider composition required by every ZORA application context', () => {
173
173
  expect(zoraProviderSource).toMatch(/ThemeProvider/);
174
174
  expect(zoraProviderSource).toMatch(/<ZoraThemeRuntimeContext\s+value=/u);
175
- expect(zoraProviderSource).not.toMatch(/ResponsiveProvider/);
175
+ expect(zoraProviderSource).toMatch(/ResponsiveProvider/);
176
+ expect(zoraProviderSource).toMatch(/<ResponsiveProvider>[\s\S]*?<ThemeProvider/u);
176
177
  });
177
178
 
178
179
  it('delegates nested Surface runtime ownership to the public ThemeScope boundary', () => {
package/src/index.ts CHANGED
@@ -36,6 +36,7 @@ export type {
36
36
  GradientRendererProviderProps,
37
37
  } from './features/gradient/public';
38
38
  export { GradientRendererProvider } from './features/gradient/public';
39
+ export { ZoraWebStyleSheet } from './features/layout/public';
39
40
  export type {
40
41
  MasterDetailActivePane,
41
42
  MasterDetailDesktopMode,
@@ -43,6 +44,12 @@ export type {
43
44
  MasterDetailProps,
44
45
  } from './features/master-detail/public';
45
46
  export { MasterDetail } from './features/master-detail/public';
47
+ export type {
48
+ PopoverAnchorRenderProps,
49
+ PopoverPlacement,
50
+ PopoverProps,
51
+ } from './features/popover/public';
52
+ export { Popover } from './features/popover/public';
46
53
  export type {
47
54
  ReaderColorScheme,
48
55
  ReaderDocumentFormat,
package/src/readerFree.ts CHANGED
@@ -417,6 +417,7 @@ export {
417
417
  createZoraComponentRegistry,
418
418
  ZORA_BASE_COMPONENT_REGISTRY,
419
419
  } from './features/registry/readerFreeRegistry';
420
+ export { RichText, type RichTextProps } from './features/rich-text/public';
420
421
  export type {
421
422
  BarcodeScannerViewProps,
422
423
  BarcodeScanResult,
@@ -0,0 +1,12 @@
1
+ import type {
2
+ PopoverAnchorRenderProps as SurfacePopoverAnchorRenderProps,
3
+ PopoverPlacement as SurfacePopoverPlacement,
4
+ PopoverProps as SurfacePopoverProps,
5
+ } from '@ankhorage/surface';
6
+
7
+ import type { ZoraBaseProps } from './base';
8
+
9
+ export type PopoverAnchorRenderProps = SurfacePopoverAnchorRenderProps;
10
+ export type PopoverPlacement = SurfacePopoverPlacement;
11
+
12
+ export interface PopoverProps extends SurfacePopoverProps, ZoraBaseProps {}
@@ -0,0 +1,24 @@
1
+ import type { ZoraBaseProps } from './base';
2
+
3
+ /** Props for ZORA's canonical portable rich-text display and editor component. */
4
+ export interface RichTextProps extends ZoraBaseProps {
5
+ /** Canonical normalized HTML produced by RichText's supported editor. */
6
+ html: string;
7
+ /**
8
+ * Enables the WYSIWYG editor and its ZORA toolbar. Undo and redo use the
9
+ * upstream platform history: TipTap keyboard shortcuts on web and the
10
+ * native platform text-control history on iOS and Android. No programmatic
11
+ * history API is available.
12
+ */
13
+ editable?: boolean;
14
+ /** Placeholder shown by the editor when its content is empty. */
15
+ placeholder?: string;
16
+ /** Receives the normalized HTML emitted by the supported editor. */
17
+ onChangeHtml?: (html: string) => void;
18
+ /**
19
+ * Requests host-owned navigation for a rendered rich-text link. In editable
20
+ * mode, the upstream callback is available on web only; read-only links are
21
+ * supported on web, iOS, and Android.
22
+ */
23
+ onLinkPress?: (url: string) => void;
24
+ }
@@ -317,6 +317,15 @@ test('SSR-renders ordinary UI from its public web subpaths', async () => {
317
317
  expect(markup).toContain('Continue');
318
318
  });
319
319
 
320
+ /** Verifies that RichText keeps the upstream browser-only implementation outside SSR. */
321
+ test('defers RichText until browser hydration', async () => {
322
+ const { RichText } = await import('@ankhorage/zora/web/rich-text');
323
+
324
+ expect(
325
+ renderToStaticMarkup(React.createElement(RichText, { html: '<p>Server content</p>' })),
326
+ ).toBe('');
327
+ });
328
+
320
329
  /** Verifies that the color controls are available through their generated public web entrypoints. */
321
330
  test('publishes the independent color controls through canonical web subpaths', async () => {
322
331
  const [{ ColorPicker }, { ColorWheel }, { ColorTone }, { ColorHueScale }] = await Promise.all([
@@ -1,16 +1,16 @@
1
1
  'use client';
2
2
  import {
3
3
  Button3
4
- } from "./Accordion-f1vargnk.js";
4
+ } from "./Accordion-9tgvr155.js";
5
5
  import {
6
6
  withZoraThemeScope
7
7
  } from "./Accordion-tk8zf9ff.js";
8
8
  import {
9
9
  View2
10
- } from "./Accordion-f8a49gy8.js";
10
+ } from "./Accordion-4mg3epm9.js";
11
11
  import {
12
12
  Card2
13
- } from "./Accordion-2xkxthf1.js";
13
+ } from "./Accordion-78astqx3.js";
14
14
 
15
15
  // src/features/empty-state/adapters/inbound/EmptyState.tsx
16
16
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,22 +1,22 @@
1
1
  'use client';
2
2
  import {
3
3
  Card2
4
- } from "./Accordion-2xkxthf1.js";
4
+ } from "./Accordion-78astqx3.js";
5
5
  import {
6
6
  withZoraThemeScope
7
7
  } from "./Accordion-tk8zf9ff.js";
8
8
  import {
9
9
  View2
10
- } from "./Accordion-f8a49gy8.js";
10
+ } from "./Accordion-4mg3epm9.js";
11
11
  import {
12
12
  Text3
13
13
  } from "./Accordion-8skz71ct.js";
14
14
  import {
15
15
  Badge2
16
- } from "./Accordion-sh79sr5g.js";
16
+ } from "./Accordion-224snqz3.js";
17
17
  import {
18
18
  Button3
19
- } from "./Accordion-f1vargnk.js";
19
+ } from "./Accordion-9tgvr155.js";
20
20
  import {
21
21
  useZoraTheme2
22
22
  } from "./Accordion-b1y5mjac.js";
@@ -1,22 +1,22 @@
1
1
  'use client';
2
2
  import {
3
3
  Pressable
4
- } from "./Accordion-hdyzyw8q.js";
4
+ } from "./Accordion-mnxf855g.js";
5
5
  import {
6
6
  withZoraThemeScope
7
7
  } from "./Accordion-tk8zf9ff.js";
8
8
  import {
9
9
  View2
10
- } from "./Accordion-f8a49gy8.js";
10
+ } from "./Accordion-4mg3epm9.js";
11
11
  import {
12
12
  Text3
13
13
  } from "./Accordion-8skz71ct.js";
14
14
  import {
15
15
  Avatar2
16
- } from "./Accordion-a1mgdfg7.js";
16
+ } from "./Accordion-9m5asd8r.js";
17
17
  import {
18
18
  Badge2
19
- } from "./Accordion-sh79sr5g.js";
19
+ } from "./Accordion-224snqz3.js";
20
20
  import {
21
21
  useZoraTheme2
22
22
  } from "./Accordion-b1y5mjac.js";
@@ -10,16 +10,16 @@ import {
10
10
  } from "./Accordion-9d38cgqj.js";
11
11
  import {
12
12
  Pressable
13
- } from "./Accordion-hdyzyw8q.js";
13
+ } from "./Accordion-mnxf855g.js";
14
14
  import {
15
15
  Text2
16
- } from "./Accordion-kcm6jcpp.js";
16
+ } from "./Accordion-9b4bsxwe.js";
17
17
  import {
18
18
  withZoraThemeScope
19
19
  } from "./Accordion-tk8zf9ff.js";
20
20
  import {
21
21
  View2
22
- } from "./Accordion-f8a49gy8.js";
22
+ } from "./Accordion-4mg3epm9.js";
23
23
  import {
24
24
  Text3
25
25
  } from "./Accordion-8skz71ct.js";
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  resolveSelectionControlNextChecked,
31
31
  resolveSelectionControlInteractionState
32
- } from "./Accordion-xzaa9s7f.js";
32
+ } from "./Accordion-akwd4brm.js";
33
33
  import {
34
34
  useZoraThemeRecipe,
35
35
  ZORA_COLORS
@@ -7,14 +7,14 @@ import {
7
7
  } from "./Accordion-9d38cgqj.js";
8
8
  import {
9
9
  Text2
10
- } from "./Accordion-kcm6jcpp.js";
10
+ } from "./Accordion-9b4bsxwe.js";
11
11
  import {
12
12
  withZoraThemeScope
13
13
  } from "./Accordion-tk8zf9ff.js";
14
14
  import {
15
15
  resolveControlSize,
16
16
  resolveButtonColors
17
- } from "./Accordion-xzaa9s7f.js";
17
+ } from "./Accordion-akwd4brm.js";
18
18
 
19
19
  // node_modules/@ankhorage/surface/src/features/badge/adapters/inbound/Badge.tsx
20
20
  import { jsx } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  Pressable
4
- } from "./Accordion-hdyzyw8q.js";
4
+ } from "./Accordion-mnxf855g.js";
5
5
  import {
6
6
  withZoraThemeScope
7
7
  } from "./Accordion-tk8zf9ff.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./Accordion-3zzzw7a8.js";
11
11
  import {
12
12
  View2
13
- } from "./Accordion-f8a49gy8.js";
13
+ } from "./Accordion-4mg3epm9.js";
14
14
  import {
15
15
  Text3
16
16
  } from "./Accordion-8skz71ct.js";
@@ -8,7 +8,7 @@ import {
8
8
  resolveFocusRingStyles,
9
9
  resolveInputColors,
10
10
  resolveTextStyles
11
- } from "./Accordion-xzaa9s7f.js";
11
+ } from "./Accordion-akwd4brm.js";
12
12
  import {
13
13
  require_cjs
14
14
  } from "./Accordion-xgpzh4wq.js";
@@ -0,0 +1,37 @@
1
+ 'use client';
2
+ import {
3
+ Card2
4
+ } from "./Accordion-78astqx3.js";
5
+ import {
6
+ withZoraThemeScope
7
+ } from "./Accordion-tk8zf9ff.js";
8
+ import {
9
+ View2
10
+ } from "./Accordion-4mg3epm9.js";
11
+
12
+ // src/features/toolbar/adapters/inbound/Toolbar.tsx
13
+ import { jsx } from "react/jsx-runtime";
14
+ var Toolbar2 = withZoraThemeScope(ToolbarInner);
15
+ function ToolbarInner({
16
+ themeId: _themeId,
17
+ mode: _mode,
18
+ interactionPolicy,
19
+ children,
20
+ floating = false,
21
+ compact = true,
22
+ testID
23
+ }) {
24
+ return /* @__PURE__ */ jsx(Card2, {
25
+ compact,
26
+ interactionPolicy,
27
+ tone: floating ? "default" : "subtle",
28
+ testID,
29
+ children: /* @__PURE__ */ jsx(View2, {
30
+ align: "center",
31
+ direction: "row",
32
+ gap: "s",
33
+ children
34
+ })
35
+ });
36
+ }
37
+ export { Toolbar2 };
@@ -4,10 +4,10 @@ import {
4
4
  } from "./Accordion-0dj1r7w3.js";
5
5
  import {
6
6
  TextInput3
7
- } from "./Accordion-d405whfb.js";
7
+ } from "./Accordion-2bygfpwg.js";
8
8
  import {
9
9
  IconButton2
10
- } from "./Accordion-f1vargnk.js";
10
+ } from "./Accordion-9tgvr155.js";
11
11
  import {
12
12
  withZoraThemeScope
13
13
  } from "./Accordion-tk8zf9ff.js";
@@ -384,4 +384,22 @@ function ScreenInner({
384
384
  });
385
385
  }
386
386
  var Screen2 = withZoraThemeScope(ScreenInner);
387
- export { View2, AppShell2, Divider2, Grid2, ScrollView2, Screen2 };
387
+ // src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx
388
+ var import_react_native3 = __toESM(require_cjs(), 1);
389
+ import { jsx as jsx9 } from "react/jsx-runtime";
390
+ function ZoraWebStyleSheet2() {
391
+ const sheet = getReactNativeWebStyleSheet();
392
+ if (sheet === null)
393
+ return null;
394
+ return /* @__PURE__ */ jsx9("style", {
395
+ id: sheet.id,
396
+ precedence: "react-native-web",
397
+ children: sheet.textContent
398
+ });
399
+ }
400
+ function getReactNativeWebStyleSheet() {
401
+ if (import_react_native3.Platform.OS !== "web" || !("getSheet" in import_react_native3.StyleSheet))
402
+ return null;
403
+ return import_react_native3.StyleSheet.getSheet();
404
+ }
405
+ export { View2, AppShell2, Divider2, Grid2, ScrollView2, Screen2, ZoraWebStyleSheet2 };
@@ -0,0 +1,15 @@
1
+ 'use client';
2
+ // node_modules/@ankhorage/surface/src/internal/resolvers/resolveOverlayZIndex.ts
3
+ var BASE_Z_INDEX = {
4
+ modal: 1000,
5
+ drawer: 1100,
6
+ menu: 1200,
7
+ popover: 1250,
8
+ tooltip: 1300,
9
+ toast: 1400
10
+ };
11
+ function resolveOverlayZIndex(layer, stackIndex = 0) {
12
+ return BASE_Z_INDEX[layer] + stackIndex;
13
+ }
14
+
15
+ export { resolveOverlayZIndex };
@@ -10,7 +10,7 @@ import {
10
10
  } from "./Accordion-3zzzw7a8.js";
11
11
  import {
12
12
  View2
13
- } from "./Accordion-f8a49gy8.js";
13
+ } from "./Accordion-4mg3epm9.js";
14
14
  import {
15
15
  useZoraTheme2
16
16
  } from "./Accordion-b1y5mjac.js";
@@ -14,16 +14,16 @@ import {
14
14
  import {
15
15
  View2,
16
16
  Divider2
17
- } from "./Accordion-f8a49gy8.js";
17
+ } from "./Accordion-4mg3epm9.js";
18
18
  import {
19
19
  Pressable
20
- } from "./Accordion-hdyzyw8q.js";
20
+ } from "./Accordion-mnxf855g.js";
21
21
  import {
22
22
  Text2
23
- } from "./Accordion-kcm6jcpp.js";
23
+ } from "./Accordion-9b4bsxwe.js";
24
24
  import {
25
25
  SectionHeader2
26
- } from "./Accordion-tqagt6cz.js";
26
+ } from "./Accordion-77514sk9.js";
27
27
  import {
28
28
  useZoraTheme2
29
29
  } from "./Accordion-b1y5mjac.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./Accordion-tk8zf9ff.js";
5
5
  import {
6
6
  View2
7
- } from "./Accordion-f8a49gy8.js";
7
+ } from "./Accordion-4mg3epm9.js";
8
8
  import {
9
9
  Heading2,
10
10
  Text3
@@ -4,7 +4,7 @@ import {
4
4
  } from "./Accordion-9d38cgqj.js";
5
5
  import {
6
6
  Pressable
7
- } from "./Accordion-hdyzyw8q.js";
7
+ } from "./Accordion-mnxf855g.js";
8
8
  import {
9
9
  Surface3
10
10
  } from "./Accordion-pdjhezmz.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  View2,
16
16
  Divider2
17
- } from "./Accordion-f8a49gy8.js";
17
+ } from "./Accordion-4mg3epm9.js";
18
18
  import {
19
19
  Heading2,
20
20
  Text3
@@ -22,19 +22,19 @@ import {
22
22
  import {
23
23
  resolveBadgeRecipe,
24
24
  Badge2
25
- } from "./Accordion-sh79sr5g.js";
25
+ } from "./Accordion-224snqz3.js";
26
26
  import {
27
27
  Icon2
28
28
  } from "./Accordion-3zzzw7a8.js";
29
29
  import {
30
30
  Avatar2
31
- } from "./Accordion-a1mgdfg7.js";
31
+ } from "./Accordion-9m5asd8r.js";
32
32
  import {
33
33
  Button3
34
- } from "./Accordion-f1vargnk.js";
34
+ } from "./Accordion-9tgvr155.js";
35
35
  import {
36
36
  Image2
37
- } from "./Accordion-01bsg7zt.js";
37
+ } from "./Accordion-4yrszsvs.js";
38
38
  import {
39
39
  resolveIconSize
40
40
  } from "./Accordion-961ncx4e.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./Accordion-mnac2z83.js";
5
5
  import {
6
6
  Portal
7
- } from "./Accordion-h63c9k9k.js";
7
+ } from "./Accordion-sbdgq8d5.js";
8
8
  import {
9
9
  require_cjs
10
10
  } from "./Accordion-xgpzh4wq.js";
@@ -146,7 +146,7 @@ var styles = import_react_native2.StyleSheet.create({
146
146
 
147
147
  // node_modules/@ankhorage/surface/src/features/popover/adapters/inbound/Popover.tsx
148
148
  import { jsx as jsx2, jsxs as jsxs2, Fragment } from "react/jsx-runtime";
149
- function Popover(props) {
149
+ function Popover2(props) {
150
150
  const anchorRef = React2.useRef(null);
151
151
  const [resolvedOpen, setResolvedOpen] = useControllableState({
152
152
  defaultValue: props.defaultOpen ?? false,
@@ -184,4 +184,4 @@ function Popover(props) {
184
184
  });
185
185
  }
186
186
 
187
- export { Popover };
187
+ export { Popover2 };
@@ -10,14 +10,14 @@ import {
10
10
  } from "./Accordion-9d38cgqj.js";
11
11
  import {
12
12
  Pressable
13
- } from "./Accordion-hdyzyw8q.js";
13
+ } from "./Accordion-mnxf855g.js";
14
14
  import {
15
15
  withZoraThemeScope
16
16
  } from "./Accordion-tk8zf9ff.js";
17
17
  import {
18
18
  View2,
19
19
  Divider2
20
- } from "./Accordion-f8a49gy8.js";
20
+ } from "./Accordion-4mg3epm9.js";
21
21
  import {
22
22
  Heading2,
23
23
  Text3
@@ -28,7 +28,7 @@ import {
28
28
  } from "./Accordion-chdbfcm6.js";
29
29
  import {
30
30
  TextInput3
31
- } from "./Accordion-d405whfb.js";
31
+ } from "./Accordion-2bygfpwg.js";
32
32
  import {
33
33
  Button2,
34
34
  Circle,
@@ -42,19 +42,19 @@ import {
42
42
  Stop,
43
43
  Svg,
44
44
  IconButton2
45
- } from "./Accordion-f1vargnk.js";
45
+ } from "./Accordion-9tgvr155.js";
46
46
  import {
47
47
  Card2
48
- } from "./Accordion-2xkxthf1.js";
48
+ } from "./Accordion-78astqx3.js";
49
49
  import {
50
50
  Icon2
51
51
  } from "./Accordion-3zzzw7a8.js";
52
52
  import {
53
53
  Select2
54
- } from "./Accordion-bd9vzpbz.js";
54
+ } from "./Accordion-9gk4scdz.js";
55
55
  import {
56
56
  Gradient2
57
- } from "./Accordion-t9n4ey2r.js";
57
+ } from "./Accordion-zd15byha.js";
58
58
  import {
59
59
  useZoraTheme2
60
60
  } from "./Accordion-b1y5mjac.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./Accordion-9d38cgqj.js";
5
5
  import {
6
6
  resolveTextStyles
7
- } from "./Accordion-xzaa9s7f.js";
7
+ } from "./Accordion-akwd4brm.js";
8
8
  import {
9
9
  resolveTextColor
10
10
  } from "./Accordion-6a2hscrx.js";