@ankhorage/zora 23.2.4 → 23.3.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 (302) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -6
  3. package/dist/constants/authoring.d.ts +8 -0
  4. package/dist/constants/authoring.d.ts.map +1 -1
  5. package/dist/constants/authoring.js +6 -0
  6. package/dist/constants/authoring.js.map +1 -1
  7. package/dist/features/app-bar/appBarMeta.d.ts +10 -1
  8. package/dist/features/app-bar/appBarMeta.d.ts.map +1 -1
  9. package/dist/features/app-bar/appBarMeta.js +2 -1
  10. package/dist/features/app-bar/appBarMeta.js.map +1 -1
  11. package/dist/features/app-header/adapters/inbound/AppHeader.d.ts +5 -0
  12. package/dist/features/app-header/adapters/inbound/AppHeader.d.ts.map +1 -0
  13. package/dist/features/app-header/adapters/inbound/AppHeader.js +7 -0
  14. package/dist/features/app-header/adapters/inbound/AppHeader.js.map +1 -0
  15. package/dist/features/app-header/appHeaderMeta.d.ts +18 -0
  16. package/dist/features/app-header/appHeaderMeta.d.ts.map +1 -0
  17. package/dist/features/app-header/appHeaderMeta.js +12 -0
  18. package/dist/features/app-header/appHeaderMeta.js.map +1 -0
  19. package/dist/features/app-header/public.d.ts +3 -0
  20. package/dist/features/app-header/public.d.ts.map +1 -0
  21. package/dist/features/app-header/public.js +2 -0
  22. package/dist/features/app-header/public.js.map +1 -0
  23. package/dist/features/game/adapters/inbound/Game.d.ts +1 -1
  24. package/dist/features/game/adapters/inbound/Game.d.ts.map +1 -1
  25. package/dist/features/game/adapters/inbound/Game.js +4 -1
  26. package/dist/features/game/adapters/inbound/Game.js.map +1 -1
  27. package/dist/features/game/adapters/inbound/GameEntity.d.ts +1 -1
  28. package/dist/features/game/adapters/inbound/GameEntity.d.ts.map +1 -1
  29. package/dist/features/game/adapters/inbound/GameEntity.js +4 -1
  30. package/dist/features/game/adapters/inbound/GameEntity.js.map +1 -1
  31. package/dist/features/game/adapters/inbound/GameField.d.ts +1 -1
  32. package/dist/features/game/adapters/inbound/GameField.d.ts.map +1 -1
  33. package/dist/features/game/adapters/inbound/GameField.js +4 -1
  34. package/dist/features/game/adapters/inbound/GameField.js.map +1 -1
  35. package/dist/features/game/adapters/inbound/GameInputZone.d.ts +1 -1
  36. package/dist/features/game/adapters/inbound/GameInputZone.d.ts.map +1 -1
  37. package/dist/features/game/adapters/inbound/GameInputZone.js +4 -1
  38. package/dist/features/game/adapters/inbound/GameInputZone.js.map +1 -1
  39. package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts +2 -1
  40. package/dist/features/game/adapters/inbound/GameMeasurementProbe.d.ts.map +1 -1
  41. package/dist/features/game/adapters/inbound/GameMeasurementProbe.js +4 -1
  42. package/dist/features/game/adapters/inbound/GameMeasurementProbe.js.map +1 -1
  43. package/dist/features/game/adapters/inbound/GameOverlay.d.ts +1 -1
  44. package/dist/features/game/adapters/inbound/GameOverlay.d.ts.map +1 -1
  45. package/dist/features/game/adapters/inbound/GameOverlay.js +4 -1
  46. package/dist/features/game/adapters/inbound/GameOverlay.js.map +1 -1
  47. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
  48. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +2 -0
  49. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
  50. package/dist/features/registry/bindableComponentMeta.d.ts +415 -327
  51. package/dist/features/registry/bindableComponentMeta.d.ts.map +1 -1
  52. package/dist/features/registry/bindableComponentMeta.js +12 -0
  53. package/dist/features/registry/bindableComponentMeta.js.map +1 -1
  54. package/dist/features/registry/componentMeta.d.ts.map +1 -1
  55. package/dist/features/registry/componentMeta.js +2 -0
  56. package/dist/features/registry/componentMeta.js.map +1 -1
  57. package/dist/features/registry/finalizeFeatureMetadata.d.ts.map +1 -1
  58. package/dist/features/registry/finalizeFeatureMetadata.js +5 -4
  59. package/dist/features/registry/finalizeFeatureMetadata.js.map +1 -1
  60. package/dist/features/selection/adapters/inbound/SelectableItem.d.ts +1 -1
  61. package/dist/features/selection/adapters/inbound/SelectableItem.d.ts.map +1 -1
  62. package/dist/features/selection/adapters/inbound/SelectableItem.js +4 -1
  63. package/dist/features/selection/adapters/inbound/SelectableItem.js.map +1 -1
  64. package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts +2 -1
  65. package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts.map +1 -1
  66. package/dist/features/theme/adapters/inbound/ThemeModeToggle.js +5 -1
  67. package/dist/features/theme/adapters/inbound/ThemeModeToggle.js.map +1 -1
  68. package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts +2 -1
  69. package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts.map +1 -1
  70. package/dist/features/theme/adapters/inbound/ZoraThemeScope.js +7 -5
  71. package/dist/features/theme/adapters/inbound/ZoraThemeScope.js.map +1 -1
  72. package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts +1 -0
  73. package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts.map +1 -1
  74. package/dist/features/theme/adapters/inbound/withZoraThemeScope.js +9 -4
  75. package/dist/features/theme/adapters/inbound/withZoraThemeScope.js.map +1 -1
  76. package/dist/index.d.ts +1 -0
  77. package/dist/index.d.ts.map +1 -1
  78. package/dist/index.js +1 -0
  79. package/dist/index.js.map +1 -1
  80. package/dist/types/app-header.d.ts +3 -0
  81. package/dist/types/app-header.d.ts.map +1 -0
  82. package/dist/types/app-header.js +2 -0
  83. package/dist/types/app-header.js.map +1 -0
  84. package/dist/types/base.d.ts +2 -0
  85. package/dist/types/base.d.ts.map +1 -1
  86. package/dist/types/base.js.map +1 -1
  87. package/dist/types/gamePresentation.d.ts +6 -6
  88. package/dist/types/gamePresentation.d.ts.map +1 -1
  89. package/dist/types/gamePresentation.js.map +1 -1
  90. package/dist/types/selection.d.ts +2 -1
  91. package/dist/types/selection.d.ts.map +1 -1
  92. package/dist/types/selection.js.map +1 -1
  93. package/dist/types/theme-mode-toggle.d.ts +2 -1
  94. package/dist/types/theme-mode-toggle.d.ts.map +1 -1
  95. package/dist/types/theme-mode-toggle.js.map +1 -1
  96. package/package.json +5 -5
  97. package/src/constants/authoring.ts +7 -0
  98. package/src/features/app-bar/appBarMeta.ts +2 -1
  99. package/src/features/app-header/adapters/inbound/AppHeader.tsx +9 -0
  100. package/src/features/app-header/appHeaderMeta.ts +13 -0
  101. package/src/features/app-header/public.ts +2 -0
  102. package/src/features/game/adapters/inbound/Game.tsx +5 -1
  103. package/src/features/game/adapters/inbound/GameEntity.tsx +5 -1
  104. package/src/features/game/adapters/inbound/GameField.tsx +5 -1
  105. package/src/features/game/adapters/inbound/GameInputZone.tsx +5 -1
  106. package/src/features/game/adapters/inbound/GameMeasurementProbe.tsx +5 -1
  107. package/src/features/game/adapters/inbound/GameOverlay.tsx +5 -1
  108. package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +2 -0
  109. package/src/features/registry/authoringMeta.test.ts +11 -0
  110. package/src/features/registry/bindableComponentMeta.ts +12 -0
  111. package/src/features/registry/componentMeta.ts +2 -0
  112. package/src/features/registry/finalizeFeatureMetadata.ts +7 -6
  113. package/src/features/registry/registry.test.ts +1 -0
  114. package/src/features/selection/adapters/inbound/SelectableItem.tsx +5 -1
  115. package/src/features/theme/adapters/inbound/ThemeModeToggle.tsx +6 -1
  116. package/src/features/theme/adapters/inbound/ZoraThemeScope.tsx +12 -5
  117. package/src/features/theme/adapters/inbound/withZoraThemeScope.tsx +9 -4
  118. package/src/features/theme/themeConfigScope.test.ts +1 -1
  119. package/src/features/theme/themeScopeStructure.test.ts +6 -1
  120. package/src/index.ts +1 -0
  121. package/src/invertedThemeAcceptance.test.tsx +177 -0
  122. package/src/types/app-header.ts +3 -0
  123. package/src/types/base.ts +3 -0
  124. package/src/types/gamePresentation.ts +7 -6
  125. package/src/types/selection.ts +3 -1
  126. package/src/types/theme-mode-toggle.ts +3 -4
  127. package/web-dist/chunks/{Accordion-5pskbqss.js → Accordion-0047zyx7.js} +4 -4
  128. package/web-dist/chunks/{Accordion-99cj85ez.js → Accordion-0gfsj9qh.js} +1 -1
  129. package/web-dist/chunks/{Accordion-8xdet564.js → Accordion-0yhkg017.js} +10 -10
  130. package/web-dist/chunks/{Accordion-01e56hb5.js → Accordion-0yvepteg.js} +5 -5
  131. package/web-dist/chunks/{Accordion-nggjwm07.js → Accordion-1e1nfhtc.js} +5 -5
  132. package/web-dist/chunks/{Accordion-4r9a9qny.js → Accordion-1xpq9bxk.js} +9 -9
  133. package/web-dist/chunks/{Accordion-mm4kx13n.js → Accordion-2dqpjya2.js} +8 -8
  134. package/web-dist/chunks/{Accordion-x4rjd7yn.js → Accordion-37n4bt3g.js} +2 -2
  135. package/web-dist/chunks/{Accordion-w6n8e1ff.js → Accordion-3m6de80j.js} +1 -1
  136. package/web-dist/chunks/{Accordion-rjgdrn7y.js → Accordion-693gvpde.js} +3 -3
  137. package/web-dist/chunks/Accordion-6a2hscrx.js +50 -0
  138. package/web-dist/chunks/{Accordion-7zfskq1s.js → Accordion-6xrse5my.js} +1 -1
  139. package/web-dist/chunks/{Accordion-17pht8jd.js → Accordion-6ytrt7xj.js} +5 -5
  140. package/web-dist/chunks/{Accordion-2ak69ntj.js → Accordion-70g7n6tk.js} +8 -8
  141. package/web-dist/chunks/{Accordion-jksn8783.js → Accordion-73x0gt11.js} +6 -6
  142. package/web-dist/chunks/{Accordion-8xk2zmr5.js → Accordion-7y9wt946.js} +2 -2
  143. package/web-dist/chunks/{Accordion-cdppbyad.js → Accordion-8bxy3g7a.js} +4 -4
  144. package/web-dist/chunks/{Accordion-z8h1hn96.js → Accordion-8fne0gf9.js} +6 -6
  145. package/web-dist/chunks/{Accordion-13y3zx87.js → Accordion-8z7naxj2.js} +22 -16
  146. package/web-dist/chunks/{Accordion-z1trs7s1.js → Accordion-a1ervhyg.js} +13 -13
  147. package/web-dist/chunks/{Accordion-v166qr59.js → Accordion-a61amgk4.js} +4 -4
  148. package/web-dist/chunks/{Accordion-m9hjta5k.js → Accordion-ancjf7q8.js} +7 -3
  149. package/web-dist/chunks/{Accordion-f2mfgcx6.js → Accordion-axxgq453.js} +7 -7
  150. package/web-dist/chunks/{Accordion-cydzrpk2.js → Accordion-basd2gyf.js} +2 -2
  151. package/web-dist/chunks/Accordion-bfzeab9x.js +18 -0
  152. package/web-dist/chunks/{Accordion-rnjt5z4y.js → Accordion-bz2dzbad.js} +9 -9
  153. package/web-dist/chunks/{Accordion-r23sx4gf.js → Accordion-ct805sm7.js} +2 -2
  154. package/web-dist/chunks/{Accordion-cqgbx1pw.js → Accordion-d24n7srd.js} +6 -7
  155. package/web-dist/chunks/{Accordion-14p7zanv.js → Accordion-dbxpv5eq.js} +3 -3
  156. package/web-dist/chunks/{Accordion-46vwm9xv.js → Accordion-e2kr1z3g.js} +5 -5
  157. package/web-dist/chunks/{Accordion-78mj69zp.js → Accordion-ebw6xj6x.js} +5 -7
  158. package/web-dist/chunks/{Accordion-kpnwdpb5.js → Accordion-ekjwm5dw.js} +17 -8
  159. package/web-dist/chunks/{Accordion-13b6y37e.js → Accordion-g2d4fskg.js} +2 -2
  160. package/web-dist/chunks/{Accordion-x5ny2aax.js → Accordion-gkx1kszz.js} +1 -1
  161. package/web-dist/chunks/{Accordion-tyqds4zr.js → Accordion-k6dg8zd2.js} +3 -3
  162. package/web-dist/chunks/{Accordion-e1nn8m46.js → Accordion-kxa15n19.js} +5 -17
  163. package/web-dist/chunks/{Accordion-rev0zb75.js → Accordion-m4brcz8v.js} +5 -5
  164. package/web-dist/chunks/{Accordion-vq462y0x.js → Accordion-mbqtk7y0.js} +11 -2
  165. package/web-dist/chunks/{Accordion-2d8xn32m.js → Accordion-n7y08rz5.js} +14 -49
  166. package/web-dist/chunks/{Accordion-ejy7gr0a.js → Accordion-nkd7nhyx.js} +5 -5
  167. package/web-dist/chunks/{Accordion-xw1gkpfk.js → Accordion-p0fh69qq.js} +6 -6
  168. package/web-dist/chunks/{Accordion-kmv2fp6m.js → Accordion-ph15h010.js} +10 -10
  169. package/web-dist/chunks/{Accordion-7hn324r1.js → Accordion-pvz3r99n.js} +236 -4
  170. package/web-dist/chunks/{Accordion-qb8ppq9t.js → Accordion-q9zge7kd.js} +3 -3
  171. package/web-dist/chunks/{Accordion-kemavggr.js → Accordion-qyssgtwe.js} +2 -2
  172. package/web-dist/chunks/{Accordion-ff583p4q.js → Accordion-rmp9sfra.js} +9 -5
  173. package/web-dist/chunks/{Accordion-yms7x22j.js → Accordion-snyacfyh.js} +10 -12
  174. package/web-dist/chunks/{Accordion-ejns5mga.js → Accordion-tdjh81ax.js} +6 -6
  175. package/web-dist/chunks/{Accordion-rgyg9bw8.js → Accordion-v4n4ygwn.js} +1 -1
  176. package/web-dist/chunks/{Accordion-ew71mmkm.js → Accordion-vjgk1sz7.js} +2 -2
  177. package/web-dist/chunks/{Accordion-bmp1ab7m.js → Accordion-wgesygtk.js} +10 -10
  178. package/web-dist/chunks/{Accordion-9n7h9hag.js → Accordion-wxbh98kp.js} +8 -8
  179. package/web-dist/chunks/{Accordion-r1epjp5y.js → Accordion-wytj5wwc.js} +3 -3
  180. package/web-dist/chunks/{Accordion-jnwa02s7.js → Accordion-yae3m7g7.js} +4 -4
  181. package/web-dist/chunks/{Accordion-b9myvfep.js → Accordion-zgzrah0a.js} +6 -6
  182. package/web-dist/components/accordion/Accordion.js +13 -13
  183. package/web-dist/components/accordion-item/AccordionItem.js +13 -13
  184. package/web-dist/components/activity-indicator/ActivityIndicator.js +3 -4
  185. package/web-dist/components/app-bar/AppBar.js +21 -21
  186. package/web-dist/components/app-header/AppHeader.d.ts +3 -0
  187. package/web-dist/components/app-header/AppHeader.js +41 -0
  188. package/web-dist/components/app-header/index.d.ts +1 -0
  189. package/web-dist/components/app-header/index.js +2 -0
  190. package/web-dist/components/app-shell/AppShell.js +6 -7
  191. package/web-dist/components/auth-screen/AuthScreen.js +22 -22
  192. package/web-dist/components/avatar/Avatar.js +13 -13
  193. package/web-dist/components/avatar-group/AvatarGroup.js +13 -13
  194. package/web-dist/components/badge/Badge.js +7 -8
  195. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +21 -21
  196. package/web-dist/components/bottom-sheet/BottomSheet.js +8 -9
  197. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +8 -9
  198. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +8 -9
  199. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +8 -9
  200. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +8 -9
  201. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +8 -9
  202. package/web-dist/components/breadcrumbs/Breadcrumbs.js +15 -15
  203. package/web-dist/components/button/Button.js +13 -13
  204. package/web-dist/components/button-group/ButtonGroup.js +13 -13
  205. package/web-dist/components/camera-permission-view/CameraPermissionView.js +21 -21
  206. package/web-dist/components/card/Card.js +20 -20
  207. package/web-dist/components/card-back/CardBack.js +4 -5
  208. package/web-dist/components/card-hand/CardHand.js +4 -5
  209. package/web-dist/components/chat-list-item/ChatListItem.js +17 -17
  210. package/web-dist/components/checkbox/Checkbox.js +13 -13
  211. package/web-dist/components/checkbox-group/CheckboxGroup.js +13 -13
  212. package/web-dist/components/chess-board/ChessBoard.js +4 -5
  213. package/web-dist/components/chip/Chip.js +14 -14
  214. package/web-dist/components/chip-group/ChipGroup.js +14 -14
  215. package/web-dist/components/collection-editor/CollectionEditor.js +20 -20
  216. package/web-dist/components/content-rail/ContentRail.js +14 -14
  217. package/web-dist/components/data-table/DataTable.js +28 -28
  218. package/web-dist/components/date-picker/DatePicker.js +19 -19
  219. package/web-dist/components/dialog/Dialog.js +14 -14
  220. package/web-dist/components/divider/Divider.js +6 -7
  221. package/web-dist/components/empty-state/EmptyState.js +21 -21
  222. package/web-dist/components/field/Field.js +13 -13
  223. package/web-dist/components/flat-list/FlatList.js +14 -14
  224. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +22 -22
  225. package/web-dist/components/form/Form.js +17 -17
  226. package/web-dist/components/form-actions/FormActions.js +17 -17
  227. package/web-dist/components/form-error/FormError.js +17 -17
  228. package/web-dist/components/game/Game.js +7 -8
  229. package/web-dist/components/game-entity/GameEntity.js +7 -8
  230. package/web-dist/components/game-field/GameField.js +7 -8
  231. package/web-dist/components/game-input-zone/GameInputZone.js +7 -8
  232. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +7 -8
  233. package/web-dist/components/game-overlay/GameOverlay.js +7 -8
  234. package/web-dist/components/gradient/Gradient.js +7 -8
  235. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +7 -8
  236. package/web-dist/components/grid/Grid.js +6 -7
  237. package/web-dist/components/heading/Heading.js +7 -7
  238. package/web-dist/components/hero/Hero.js +20 -20
  239. package/web-dist/components/icon/Icon.js +5 -5
  240. package/web-dist/components/icon-button/IconButton.js +13 -13
  241. package/web-dist/components/image/Image.js +11 -11
  242. package/web-dist/components/keyboard-avoiding-view/KeyboardAvoidingView.js +3 -4
  243. package/web-dist/components/list/List.js +14 -14
  244. package/web-dist/components/list-item/ListItem.js +14 -14
  245. package/web-dist/components/list-section/ListSection.js +14 -14
  246. package/web-dist/components/media-card/MediaCard.js +20 -20
  247. package/web-dist/components/message-bubble/MessageBubble.js +17 -17
  248. package/web-dist/components/metric-card/MetricCard.js +20 -20
  249. package/web-dist/components/missing-element/MissingElement.js +12 -12
  250. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +22 -22
  251. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +22 -22
  252. package/web-dist/components/opening-book/OpeningBook.js +4 -5
  253. package/web-dist/components/otp-form/OtpForm.js +22 -22
  254. package/web-dist/components/pagination/Pagination.js +14 -14
  255. package/web-dist/components/palette-item/PaletteItem.js +20 -20
  256. package/web-dist/components/playing-card/PlayingCard.js +4 -5
  257. package/web-dist/components/poker-training-table/PokerTrainingTable.js +4 -5
  258. package/web-dist/components/popover-menu/PopoverMenu.js +16 -16
  259. package/web-dist/components/post-card/PostCard.js +20 -20
  260. package/web-dist/components/product-card/ProductCard.js +20 -20
  261. package/web-dist/components/progress/Progress.js +11 -11
  262. package/web-dist/components/progress-ring/ProgressRing.js +11 -11
  263. package/web-dist/components/radio/Radio.js +15 -15
  264. package/web-dist/components/radio-group/RadioGroup.js +15 -15
  265. package/web-dist/components/rating/Rating.js +10 -10
  266. package/web-dist/components/reader-surface/ReaderSurface.js +23 -23
  267. package/web-dist/components/scan-overlay/ScanOverlay.js +21 -21
  268. package/web-dist/components/screen/Screen.js +6 -7
  269. package/web-dist/components/screen-section/ScreenSection.js +11 -11
  270. package/web-dist/components/scroll-view/ScrollView.js +6 -7
  271. package/web-dist/components/search-input/SearchInput.js +14 -14
  272. package/web-dist/components/section-header/SectionHeader.js +11 -11
  273. package/web-dist/components/section-list/SectionList.js +14 -14
  274. package/web-dist/components/select/Select.js +18 -18
  275. package/web-dist/components/selectable-item/SelectableItem.js +6 -5
  276. package/web-dist/components/selection-provider/SelectionProvider.js +6 -5
  277. package/web-dist/components/sign-in-form/SignInForm.js +22 -22
  278. package/web-dist/components/sign-up-form/SignUpForm.js +22 -22
  279. package/web-dist/components/skeleton/Skeleton.js +23 -23
  280. package/web-dist/components/skeleton-card/SkeletonCard.js +23 -23
  281. package/web-dist/components/skeleton-list/SkeletonList.js +23 -23
  282. package/web-dist/components/skeleton-text/SkeletonText.js +23 -23
  283. package/web-dist/components/surface/Surface.js +7 -8
  284. package/web-dist/components/switch/Switch.js +8 -9
  285. package/web-dist/components/tab/Tab.js +7 -8
  286. package/web-dist/components/tab-list/TabList.js +7 -8
  287. package/web-dist/components/tab-panel/TabPanel.js +7 -8
  288. package/web-dist/components/tabletop-table/TabletopTable.js +4 -5
  289. package/web-dist/components/tabs/Tabs.js +7 -8
  290. package/web-dist/components/text/Text.js +7 -7
  291. package/web-dist/components/text-input/TextInput.js +14 -14
  292. package/web-dist/components/time-picker/TimePicker.js +19 -19
  293. package/web-dist/components/timeline/Timeline.js +12 -12
  294. package/web-dist/components/toast/Toast.js +10 -11
  295. package/web-dist/components/toast-provider/ToastProvider.js +10 -11
  296. package/web-dist/components/toolbar/Toolbar.js +20 -20
  297. package/web-dist/components/tree-item/TreeItem.js +18 -18
  298. package/web-dist/components/uploader/Uploader.js +24 -24
  299. package/web-dist/components/view/View.js +6 -7
  300. package/web-dist/manifest.json +1779 -1693
  301. package/web-dist/runtime/ZoraProvider.js +14 -15
  302. package/web-dist/chunks/Accordion-kcx57mk5.js +0 -39
@@ -19,6 +19,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
19
19
  };
20
20
  };
21
21
  readonly props: {
22
+ readonly inverted: {
23
+ readonly type: "boolean";
24
+ readonly category: "Theme";
25
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
26
+ readonly authoring: {
27
+ readonly authority: "instance";
28
+ };
29
+ };
22
30
  readonly text: {
23
31
  readonly type: "string";
24
32
  readonly category: "Content";
@@ -46,6 +54,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
46
54
  };
47
55
  };
48
56
  readonly props: {
57
+ readonly inverted: {
58
+ readonly type: "boolean";
59
+ readonly category: "Theme";
60
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
61
+ readonly authoring: {
62
+ readonly authority: "instance";
63
+ };
64
+ };
49
65
  readonly text: {
50
66
  readonly type: "string";
51
67
  readonly category: "Content";
@@ -100,6 +116,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
100
116
  };
101
117
  };
102
118
  readonly props: {
119
+ readonly inverted: {
120
+ readonly type: "boolean";
121
+ readonly category: "Theme";
122
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
123
+ readonly authoring: {
124
+ readonly authority: "instance";
125
+ };
126
+ };
103
127
  readonly children: {
104
128
  readonly type: "string";
105
129
  readonly category: "Content";
@@ -113,45 +137,15 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
113
137
  };
114
138
  };
115
139
  readonly Image: {
116
- readonly bindings: {
117
- readonly props: {
118
- readonly source: {
119
- readonly label: "Source";
120
- readonly description: "Dynamic image source or asset descriptor.";
121
- readonly value: {
122
- readonly type: "imageAsset";
123
- readonly fields: readonly [{
124
- readonly path: "uri";
125
- readonly type: "string";
126
- readonly label: "URI";
127
- }, {
128
- readonly path: "width";
129
- readonly type: "number";
130
- readonly label: "Width";
131
- }, {
132
- readonly path: "height";
133
- readonly type: "number";
134
- readonly label: "Height";
135
- }, {
136
- readonly path: "alt";
137
- readonly type: "string";
138
- readonly label: "Alt text";
139
- }];
140
- };
141
- readonly acceptsFallback: true;
142
- readonly acceptsTransforms: true;
140
+ readonly props: {
141
+ readonly inverted: {
142
+ readonly type: "boolean";
143
+ readonly category: "Theme";
144
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
145
+ readonly authoring: {
146
+ readonly authority: "instance";
143
147
  };
144
148
  };
145
- };
146
- readonly name: "Image";
147
- readonly category: "component";
148
- readonly description: "Displays an image from the app media registry or a resolved runtime source.";
149
- readonly directManifestNode: true;
150
- readonly allowedChildren: readonly [];
151
- readonly blueprint: {
152
- readonly label: "Image";
153
- };
154
- readonly props: {
155
149
  readonly fit: {
156
150
  readonly type: "enum";
157
151
  readonly category: "Layout";
@@ -196,6 +190,44 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
196
190
  };
197
191
  };
198
192
  };
193
+ readonly bindings: {
194
+ readonly props: {
195
+ readonly source: {
196
+ readonly label: "Source";
197
+ readonly description: "Dynamic image source or asset descriptor.";
198
+ readonly value: {
199
+ readonly type: "imageAsset";
200
+ readonly fields: readonly [{
201
+ readonly path: "uri";
202
+ readonly type: "string";
203
+ readonly label: "URI";
204
+ }, {
205
+ readonly path: "width";
206
+ readonly type: "number";
207
+ readonly label: "Width";
208
+ }, {
209
+ readonly path: "height";
210
+ readonly type: "number";
211
+ readonly label: "Height";
212
+ }, {
213
+ readonly path: "alt";
214
+ readonly type: "string";
215
+ readonly label: "Alt text";
216
+ }];
217
+ };
218
+ readonly acceptsFallback: true;
219
+ readonly acceptsTransforms: true;
220
+ };
221
+ };
222
+ };
223
+ readonly name: "Image";
224
+ readonly category: "component";
225
+ readonly description: "Displays an image from the app media registry or a resolved runtime source.";
226
+ readonly directManifestNode: true;
227
+ readonly allowedChildren: readonly [];
228
+ readonly blueprint: {
229
+ readonly label: "Image";
230
+ };
199
231
  };
200
232
  readonly TextInput: {
201
233
  readonly name: "TextInput";
@@ -252,6 +284,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
252
284
  };
253
285
  };
254
286
  readonly props: {
287
+ readonly inverted: {
288
+ readonly type: "boolean";
289
+ readonly category: "Theme";
290
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
291
+ readonly authoring: {
292
+ readonly authority: "instance";
293
+ };
294
+ };
255
295
  readonly value: {
256
296
  readonly type: "string";
257
297
  readonly category: "Content";
@@ -319,6 +359,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
319
359
  };
320
360
  };
321
361
  readonly props: {
362
+ readonly inverted: {
363
+ readonly type: "boolean";
364
+ readonly category: "Theme";
365
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
366
+ readonly authoring: {
367
+ readonly authority: "instance";
368
+ };
369
+ };
322
370
  readonly value: {
323
371
  readonly type: "string";
324
372
  readonly category: "Content";
@@ -386,6 +434,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
386
434
  };
387
435
  };
388
436
  readonly props: {
437
+ readonly inverted: {
438
+ readonly type: "boolean";
439
+ readonly category: "Theme";
440
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
441
+ readonly authoring: {
442
+ readonly authority: "instance";
443
+ };
444
+ };
389
445
  readonly checked: {
390
446
  readonly type: "boolean";
391
447
  readonly category: "State";
@@ -453,6 +509,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
453
509
  };
454
510
  };
455
511
  readonly props: {
512
+ readonly inverted: {
513
+ readonly type: "boolean";
514
+ readonly category: "Theme";
515
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
516
+ readonly authoring: {
517
+ readonly authority: "instance";
518
+ };
519
+ };
456
520
  readonly checked: {
457
521
  readonly type: "boolean";
458
522
  readonly category: "State";
@@ -486,6 +550,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
486
550
  };
487
551
  };
488
552
  readonly props: {
553
+ readonly inverted: {
554
+ readonly type: "boolean";
555
+ readonly category: "Theme";
556
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
557
+ readonly authoring: {
558
+ readonly authority: "instance";
559
+ };
560
+ };
489
561
  readonly items: {
490
562
  readonly type: "array";
491
563
  readonly category: "Data";
@@ -514,6 +586,14 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
514
586
  };
515
587
  };
516
588
  readonly props: {
589
+ readonly inverted: {
590
+ readonly type: "boolean";
591
+ readonly category: "Theme";
592
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
593
+ readonly authoring: {
594
+ readonly authority: "instance";
595
+ };
596
+ };
517
597
  readonly rows: {
518
598
  readonly type: "array";
519
599
  readonly category: "Data";
@@ -522,298 +602,15 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
522
602
  };
523
603
  };
524
604
  readonly ReaderSurface: {
525
- readonly bindings: {
526
- readonly props: {
527
- readonly location: {
528
- readonly label: "Location";
529
- readonly description: "Opaque adapter locator to restore.";
530
- readonly value: {
531
- readonly type: "string";
532
- };
533
- readonly acceptsFallback: true;
534
- readonly acceptsTransforms: true;
535
- };
536
- readonly page: {
537
- readonly label: "Page";
538
- readonly description: "One-based visible page.";
539
- readonly value: {
540
- readonly type: "number";
541
- };
542
- readonly acceptsFallback: true;
543
- readonly acceptsTransforms: true;
544
- };
545
- readonly pageCount: {
546
- readonly label: "Page count";
547
- readonly description: "Current number of logical pages.";
548
- readonly value: {
549
- readonly type: "number";
550
- };
551
- readonly acceptsFallback: true;
552
- readonly acceptsTransforms: true;
553
- };
554
- readonly progress: {
555
- readonly label: "Progress";
556
- readonly description: "Reading progression clamped from zero to one.";
557
- readonly value: {
558
- readonly type: "number";
559
- };
560
- readonly acceptsFallback: true;
561
- readonly acceptsTransforms: true;
562
- };
563
- readonly status: {
564
- readonly label: "Status";
565
- readonly description: "Current reader loading status.";
566
- readonly value: {
567
- readonly type: "string";
568
- };
569
- readonly acceptsFallback: true;
570
- readonly acceptsTransforms: true;
605
+ readonly props: {
606
+ readonly inverted: {
607
+ readonly type: "boolean";
608
+ readonly category: "Theme";
609
+ readonly label: "Inverted surface polarity (inherits when omitted; false resets)";
610
+ readonly authoring: {
611
+ readonly authority: "instance";
571
612
  };
572
613
  };
573
- readonly events: {
574
- readonly previousPage: {
575
- readonly label: "Previous page";
576
- readonly description: "Requests navigation to the previous page.";
577
- readonly payload: {
578
- readonly eventType: "reader.previousPage";
579
- readonly fields: readonly [];
580
- };
581
- };
582
- readonly nextPage: {
583
- readonly label: "Next page";
584
- readonly description: "Requests navigation to the next page.";
585
- readonly payload: {
586
- readonly eventType: "reader.nextPage";
587
- readonly fields: readonly [];
588
- };
589
- };
590
- readonly locationChange: {
591
- readonly label: "Location change";
592
- readonly description: "Runs after the adapter displays a destination.";
593
- readonly payload: {
594
- readonly eventType: "reader.locationChange";
595
- readonly fields: readonly [{
596
- readonly path: "format";
597
- readonly type: "string";
598
- readonly label: "Format";
599
- }, {
600
- readonly path: "locator";
601
- readonly type: "string";
602
- readonly label: "Opaque locator";
603
- }, {
604
- readonly path: "page";
605
- readonly type: "number";
606
- readonly label: "Page";
607
- }, {
608
- readonly path: "pageCount";
609
- readonly type: "number";
610
- readonly label: "Page count";
611
- }, {
612
- readonly path: "progression";
613
- readonly type: "number";
614
- readonly label: "Progression";
615
- }, {
616
- readonly path: "chapterId";
617
- readonly type: "string";
618
- readonly label: "Chapter ID";
619
- }, {
620
- readonly path: "chapterTitle";
621
- readonly type: "string";
622
- readonly label: "Chapter title";
623
- }, {
624
- readonly path: "trigger";
625
- readonly type: "string";
626
- readonly label: "Navigation trigger";
627
- }];
628
- };
629
- };
630
- readonly openContents: {
631
- readonly label: "Open contents";
632
- readonly payload: {
633
- readonly eventType: "reader.openContents";
634
- readonly fields: readonly [];
635
- };
636
- };
637
- readonly openAppearance: {
638
- readonly label: "Open appearance";
639
- readonly payload: {
640
- readonly eventType: "reader.openAppearance";
641
- readonly fields: readonly [];
642
- };
643
- };
644
- readonly toggleHighlight: {
645
- readonly label: "Toggle highlight";
646
- readonly payload: {
647
- readonly eventType: "reader.toggleHighlight";
648
- readonly fields: readonly [];
649
- };
650
- };
651
- readonly openExternalLink: {
652
- readonly label: "Open external link";
653
- readonly payload: {
654
- readonly eventType: "reader.openExternalLink";
655
- readonly fields: readonly [{
656
- readonly path: "url";
657
- readonly type: "string";
658
- readonly label: "URL";
659
- }];
660
- };
661
- };
662
- readonly readerError: {
663
- readonly label: "Reader error";
664
- readonly payload: {
665
- readonly eventType: "reader.error";
666
- readonly fields: readonly [{
667
- readonly path: "code";
668
- readonly type: "string";
669
- readonly label: "Error code";
670
- }, {
671
- readonly path: "format";
672
- readonly type: "string";
673
- readonly label: "Format";
674
- }, {
675
- readonly path: "message";
676
- readonly type: "string";
677
- readonly label: "Message";
678
- }];
679
- };
680
- };
681
- };
682
- };
683
- readonly name: "ReaderSurface";
684
- readonly category: "pattern";
685
- readonly description: "Adapter-neutral EPUB and PDF reader shell with controlled chrome, progress, and navigation events.";
686
- readonly directManifestNode: true;
687
- readonly requirements: {
688
- readonly capabilities: {
689
- readonly ebookReader: true;
690
- };
691
- };
692
- readonly allowedChildren: readonly [];
693
- readonly blueprint: {
694
- readonly label: "Reader";
695
- readonly defaultProps: {
696
- readonly format: "epub";
697
- readonly status: "idle";
698
- readonly showChrome: true;
699
- readonly readerColorScheme: "system";
700
- readonly fontScale: 1;
701
- readonly lineHeight: "normal";
702
- };
703
- };
704
- readonly events: {
705
- readonly previousPage: {
706
- readonly label: "Previous page";
707
- readonly eventType: "reader.previousPage";
708
- readonly description: "Requests navigation to the previous page.";
709
- readonly payloadFields: readonly [];
710
- };
711
- readonly nextPage: {
712
- readonly label: "Next page";
713
- readonly eventType: "reader.nextPage";
714
- readonly description: "Requests navigation to the next page.";
715
- readonly payloadFields: readonly [];
716
- };
717
- readonly locationChange: {
718
- readonly label: "Location change";
719
- readonly eventType: "reader.locationChange";
720
- readonly description: "Emitted by the adapter after the destination has been displayed.";
721
- readonly payloadFields: readonly [{
722
- readonly path: "format";
723
- readonly type: "string";
724
- readonly label: "Format";
725
- }, {
726
- readonly path: "locator";
727
- readonly type: "string";
728
- readonly label: "Opaque locator";
729
- }, {
730
- readonly path: "page";
731
- readonly type: "number";
732
- readonly label: "Page";
733
- }, {
734
- readonly path: "pageCount";
735
- readonly type: "number";
736
- readonly label: "Page count";
737
- }, {
738
- readonly path: "progression";
739
- readonly type: "number";
740
- readonly label: "Progression";
741
- }, {
742
- readonly path: "chapterId";
743
- readonly type: "string";
744
- readonly label: "Chapter ID";
745
- }, {
746
- readonly path: "chapterTitle";
747
- readonly type: "string";
748
- readonly label: "Chapter title";
749
- }, {
750
- readonly path: "trigger";
751
- readonly type: "string";
752
- readonly label: "Navigation trigger";
753
- }];
754
- };
755
- readonly openContents: {
756
- readonly label: "Open contents";
757
- readonly eventType: "reader.openContents";
758
- readonly description: "Requests the app-owned table of contents.";
759
- readonly payloadFields: readonly [];
760
- };
761
- readonly openAppearance: {
762
- readonly label: "Open appearance";
763
- readonly eventType: "reader.openAppearance";
764
- readonly description: "Requests the app-owned reader appearance controls.";
765
- readonly payloadFields: readonly [];
766
- };
767
- readonly toggleHighlight: {
768
- readonly label: "Toggle highlight";
769
- readonly eventType: "reader.toggleHighlight";
770
- readonly description: "Requests the app-owned highlight action.";
771
- readonly payloadFields: readonly [];
772
- };
773
- readonly openExternalLink: {
774
- readonly label: "Open external link";
775
- readonly eventType: "reader.openExternalLink";
776
- readonly description: "Emitted when publication content requests an external URL.";
777
- readonly payloadFields: readonly [{
778
- readonly path: "url";
779
- readonly type: "string";
780
- readonly label: "URL";
781
- }];
782
- };
783
- readonly readerError: {
784
- readonly label: "Reader error";
785
- readonly eventType: "reader.error";
786
- readonly description: "Emitted when the adapter rejects or cannot load a document.";
787
- readonly payloadFields: readonly [{
788
- readonly path: "code";
789
- readonly type: "string";
790
- readonly label: "Error code";
791
- }, {
792
- readonly path: "format";
793
- readonly type: "string";
794
- readonly label: "Format";
795
- }, {
796
- readonly path: "message";
797
- readonly type: "string";
798
- readonly label: "Message";
799
- }];
800
- };
801
- };
802
- readonly slots: {
803
- readonly viewport: {
804
- readonly label: "Reader viewport adapter";
805
- readonly allowedChildren: readonly [];
806
- };
807
- readonly headerActions: {
808
- readonly label: "Header actions";
809
- readonly allowedChildren: readonly ["ActivityIndicator", "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", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
810
- };
811
- readonly footerActions: {
812
- readonly label: "Footer actions";
813
- readonly allowedChildren: readonly ["ActivityIndicator", "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", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
814
- };
815
- };
816
- readonly props: {
817
614
  readonly source: {
818
615
  readonly type: "media";
819
616
  readonly category: "Document";
@@ -1005,6 +802,297 @@ export declare const ZORA_BINDABLE_COMPONENT_META: {
1005
802
  readonly label: "Reader error action";
1006
803
  };
1007
804
  };
805
+ readonly bindings: {
806
+ readonly props: {
807
+ readonly location: {
808
+ readonly label: "Location";
809
+ readonly description: "Opaque adapter locator to restore.";
810
+ readonly value: {
811
+ readonly type: "string";
812
+ };
813
+ readonly acceptsFallback: true;
814
+ readonly acceptsTransforms: true;
815
+ };
816
+ readonly page: {
817
+ readonly label: "Page";
818
+ readonly description: "One-based visible page.";
819
+ readonly value: {
820
+ readonly type: "number";
821
+ };
822
+ readonly acceptsFallback: true;
823
+ readonly acceptsTransforms: true;
824
+ };
825
+ readonly pageCount: {
826
+ readonly label: "Page count";
827
+ readonly description: "Current number of logical pages.";
828
+ readonly value: {
829
+ readonly type: "number";
830
+ };
831
+ readonly acceptsFallback: true;
832
+ readonly acceptsTransforms: true;
833
+ };
834
+ readonly progress: {
835
+ readonly label: "Progress";
836
+ readonly description: "Reading progression clamped from zero to one.";
837
+ readonly value: {
838
+ readonly type: "number";
839
+ };
840
+ readonly acceptsFallback: true;
841
+ readonly acceptsTransforms: true;
842
+ };
843
+ readonly status: {
844
+ readonly label: "Status";
845
+ readonly description: "Current reader loading status.";
846
+ readonly value: {
847
+ readonly type: "string";
848
+ };
849
+ readonly acceptsFallback: true;
850
+ readonly acceptsTransforms: true;
851
+ };
852
+ };
853
+ readonly events: {
854
+ readonly previousPage: {
855
+ readonly label: "Previous page";
856
+ readonly description: "Requests navigation to the previous page.";
857
+ readonly payload: {
858
+ readonly eventType: "reader.previousPage";
859
+ readonly fields: readonly [];
860
+ };
861
+ };
862
+ readonly nextPage: {
863
+ readonly label: "Next page";
864
+ readonly description: "Requests navigation to the next page.";
865
+ readonly payload: {
866
+ readonly eventType: "reader.nextPage";
867
+ readonly fields: readonly [];
868
+ };
869
+ };
870
+ readonly locationChange: {
871
+ readonly label: "Location change";
872
+ readonly description: "Runs after the adapter displays a destination.";
873
+ readonly payload: {
874
+ readonly eventType: "reader.locationChange";
875
+ readonly fields: readonly [{
876
+ readonly path: "format";
877
+ readonly type: "string";
878
+ readonly label: "Format";
879
+ }, {
880
+ readonly path: "locator";
881
+ readonly type: "string";
882
+ readonly label: "Opaque locator";
883
+ }, {
884
+ readonly path: "page";
885
+ readonly type: "number";
886
+ readonly label: "Page";
887
+ }, {
888
+ readonly path: "pageCount";
889
+ readonly type: "number";
890
+ readonly label: "Page count";
891
+ }, {
892
+ readonly path: "progression";
893
+ readonly type: "number";
894
+ readonly label: "Progression";
895
+ }, {
896
+ readonly path: "chapterId";
897
+ readonly type: "string";
898
+ readonly label: "Chapter ID";
899
+ }, {
900
+ readonly path: "chapterTitle";
901
+ readonly type: "string";
902
+ readonly label: "Chapter title";
903
+ }, {
904
+ readonly path: "trigger";
905
+ readonly type: "string";
906
+ readonly label: "Navigation trigger";
907
+ }];
908
+ };
909
+ };
910
+ readonly openContents: {
911
+ readonly label: "Open contents";
912
+ readonly payload: {
913
+ readonly eventType: "reader.openContents";
914
+ readonly fields: readonly [];
915
+ };
916
+ };
917
+ readonly openAppearance: {
918
+ readonly label: "Open appearance";
919
+ readonly payload: {
920
+ readonly eventType: "reader.openAppearance";
921
+ readonly fields: readonly [];
922
+ };
923
+ };
924
+ readonly toggleHighlight: {
925
+ readonly label: "Toggle highlight";
926
+ readonly payload: {
927
+ readonly eventType: "reader.toggleHighlight";
928
+ readonly fields: readonly [];
929
+ };
930
+ };
931
+ readonly openExternalLink: {
932
+ readonly label: "Open external link";
933
+ readonly payload: {
934
+ readonly eventType: "reader.openExternalLink";
935
+ readonly fields: readonly [{
936
+ readonly path: "url";
937
+ readonly type: "string";
938
+ readonly label: "URL";
939
+ }];
940
+ };
941
+ };
942
+ readonly readerError: {
943
+ readonly label: "Reader error";
944
+ readonly payload: {
945
+ readonly eventType: "reader.error";
946
+ readonly fields: readonly [{
947
+ readonly path: "code";
948
+ readonly type: "string";
949
+ readonly label: "Error code";
950
+ }, {
951
+ readonly path: "format";
952
+ readonly type: "string";
953
+ readonly label: "Format";
954
+ }, {
955
+ readonly path: "message";
956
+ readonly type: "string";
957
+ readonly label: "Message";
958
+ }];
959
+ };
960
+ };
961
+ };
962
+ };
963
+ readonly name: "ReaderSurface";
964
+ readonly category: "pattern";
965
+ readonly description: "Adapter-neutral EPUB and PDF reader shell with controlled chrome, progress, and navigation events.";
966
+ readonly directManifestNode: true;
967
+ readonly requirements: {
968
+ readonly capabilities: {
969
+ readonly ebookReader: true;
970
+ };
971
+ };
972
+ readonly allowedChildren: readonly [];
973
+ readonly blueprint: {
974
+ readonly label: "Reader";
975
+ readonly defaultProps: {
976
+ readonly format: "epub";
977
+ readonly status: "idle";
978
+ readonly showChrome: true;
979
+ readonly readerColorScheme: "system";
980
+ readonly fontScale: 1;
981
+ readonly lineHeight: "normal";
982
+ };
983
+ };
984
+ readonly events: {
985
+ readonly previousPage: {
986
+ readonly label: "Previous page";
987
+ readonly eventType: "reader.previousPage";
988
+ readonly description: "Requests navigation to the previous page.";
989
+ readonly payloadFields: readonly [];
990
+ };
991
+ readonly nextPage: {
992
+ readonly label: "Next page";
993
+ readonly eventType: "reader.nextPage";
994
+ readonly description: "Requests navigation to the next page.";
995
+ readonly payloadFields: readonly [];
996
+ };
997
+ readonly locationChange: {
998
+ readonly label: "Location change";
999
+ readonly eventType: "reader.locationChange";
1000
+ readonly description: "Emitted by the adapter after the destination has been displayed.";
1001
+ readonly payloadFields: readonly [{
1002
+ readonly path: "format";
1003
+ readonly type: "string";
1004
+ readonly label: "Format";
1005
+ }, {
1006
+ readonly path: "locator";
1007
+ readonly type: "string";
1008
+ readonly label: "Opaque locator";
1009
+ }, {
1010
+ readonly path: "page";
1011
+ readonly type: "number";
1012
+ readonly label: "Page";
1013
+ }, {
1014
+ readonly path: "pageCount";
1015
+ readonly type: "number";
1016
+ readonly label: "Page count";
1017
+ }, {
1018
+ readonly path: "progression";
1019
+ readonly type: "number";
1020
+ readonly label: "Progression";
1021
+ }, {
1022
+ readonly path: "chapterId";
1023
+ readonly type: "string";
1024
+ readonly label: "Chapter ID";
1025
+ }, {
1026
+ readonly path: "chapterTitle";
1027
+ readonly type: "string";
1028
+ readonly label: "Chapter title";
1029
+ }, {
1030
+ readonly path: "trigger";
1031
+ readonly type: "string";
1032
+ readonly label: "Navigation trigger";
1033
+ }];
1034
+ };
1035
+ readonly openContents: {
1036
+ readonly label: "Open contents";
1037
+ readonly eventType: "reader.openContents";
1038
+ readonly description: "Requests the app-owned table of contents.";
1039
+ readonly payloadFields: readonly [];
1040
+ };
1041
+ readonly openAppearance: {
1042
+ readonly label: "Open appearance";
1043
+ readonly eventType: "reader.openAppearance";
1044
+ readonly description: "Requests the app-owned reader appearance controls.";
1045
+ readonly payloadFields: readonly [];
1046
+ };
1047
+ readonly toggleHighlight: {
1048
+ readonly label: "Toggle highlight";
1049
+ readonly eventType: "reader.toggleHighlight";
1050
+ readonly description: "Requests the app-owned highlight action.";
1051
+ readonly payloadFields: readonly [];
1052
+ };
1053
+ readonly openExternalLink: {
1054
+ readonly label: "Open external link";
1055
+ readonly eventType: "reader.openExternalLink";
1056
+ readonly description: "Emitted when publication content requests an external URL.";
1057
+ readonly payloadFields: readonly [{
1058
+ readonly path: "url";
1059
+ readonly type: "string";
1060
+ readonly label: "URL";
1061
+ }];
1062
+ };
1063
+ readonly readerError: {
1064
+ readonly label: "Reader error";
1065
+ readonly eventType: "reader.error";
1066
+ readonly description: "Emitted when the adapter rejects or cannot load a document.";
1067
+ readonly payloadFields: readonly [{
1068
+ readonly path: "code";
1069
+ readonly type: "string";
1070
+ readonly label: "Error code";
1071
+ }, {
1072
+ readonly path: "format";
1073
+ readonly type: "string";
1074
+ readonly label: "Format";
1075
+ }, {
1076
+ readonly path: "message";
1077
+ readonly type: "string";
1078
+ readonly label: "Message";
1079
+ }];
1080
+ };
1081
+ };
1082
+ readonly slots: {
1083
+ readonly viewport: {
1084
+ readonly label: "Reader viewport adapter";
1085
+ readonly allowedChildren: readonly [];
1086
+ };
1087
+ readonly headerActions: {
1088
+ readonly label: "Header actions";
1089
+ readonly allowedChildren: readonly ["ActivityIndicator", "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", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
1090
+ };
1091
+ readonly footerActions: {
1092
+ readonly label: "Footer actions";
1093
+ readonly allowedChildren: readonly ["ActivityIndicator", "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", "FlatList", "SectionList", "BottomSheet", "ProductCard", "View", "ScrollView", "Grid", "Gradient", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "EmptyState", "SectionHeader", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
1094
+ };
1095
+ };
1008
1096
  };
1009
1097
  };
1010
1098
  export type ZoraBindableComponentType = keyof typeof ZORA_BINDABLE_COMPONENT_META;