@ankhorage/zora 28.7.3 → 28.8.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 (181) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts +6 -1
  4. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.d.ts.map +1 -1
  5. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js +4 -3
  6. package/dist/features/layout/adapters/inbound/ZoraWebStyleSheet.js.map +1 -1
  7. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.d.ts +8 -0
  8. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.d.ts.map +1 -0
  9. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.js +46 -0
  10. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.js.map +1 -0
  11. package/dist/features/selection/public.d.ts +2 -1
  12. package/dist/features/selection/public.d.ts.map +1 -1
  13. package/dist/features/selection/public.js +1 -0
  14. package/dist/features/selection/public.js.map +1 -1
  15. package/dist/readerFree.d.ts +2 -2
  16. package/dist/readerFree.d.ts.map +1 -1
  17. package/dist/readerFree.js +1 -1
  18. package/dist/readerFree.js.map +1 -1
  19. package/dist/types/selection.d.ts +12 -0
  20. package/dist/types/selection.d.ts.map +1 -1
  21. package/dist/types/selection.js.map +1 -1
  22. package/package.json +2 -2
  23. package/src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx +4 -5
  24. package/src/features/registry/registry.test.ts +1 -0
  25. package/src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.test.tsx +117 -0
  26. package/src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.tsx +94 -0
  27. package/src/features/selection/public.ts +6 -0
  28. package/src/readerFree.ts +9 -1
  29. package/src/types/selection.ts +14 -0
  30. package/web-dist/chunks/{Accordion-92py9m3m.js → Accordion-25v2vczc.js} +1 -1
  31. package/web-dist/chunks/{Accordion-4gfrfgh5.js → Accordion-2berhsg5.js} +5 -5
  32. package/web-dist/chunks/{Accordion-t9v6kw4n.js → Accordion-2jcas7qq.js} +4 -4
  33. package/web-dist/chunks/{Accordion-se0pee16.js → Accordion-3e60xwvy.js} +24 -7
  34. package/web-dist/chunks/{Accordion-vhr7js3e.js → Accordion-3xfqmr1r.js} +1 -1
  35. package/web-dist/chunks/{Accordion-ddzm7pnp.js → Accordion-457amtv7.js} +5 -5
  36. package/web-dist/chunks/{Accordion-w35n9p3n.js → Accordion-73p2mg3h.js} +2 -2
  37. package/web-dist/chunks/{Accordion-kgfw6vj3.js → Accordion-778fjjsh.js} +1 -1
  38. package/web-dist/chunks/{Accordion-ysy3ezf0.js → Accordion-7pgh8q4h.js} +1 -1
  39. package/web-dist/chunks/{Accordion-6sa9z92t.js → Accordion-9dq115tn.js} +1 -1
  40. package/web-dist/chunks/{Accordion-c781654t.js → Accordion-casb2ndy.js} +3 -3
  41. package/web-dist/chunks/{Accordion-6n2r35qh.js → Accordion-dcjzxzv3.js} +1 -1
  42. package/web-dist/chunks/{Accordion-jf0vrgw4.js → Accordion-e6ettgh0.js} +1 -1
  43. package/web-dist/chunks/{Accordion-gtsxpnxf.js → Accordion-g5pvs1aa.js} +1 -1
  44. package/web-dist/chunks/{Accordion-f7czh00h.js → Accordion-hg4db1sk.js} +1 -1
  45. package/web-dist/chunks/{Accordion-xfwdh07r.js → Accordion-k9n1yse4.js} +4 -5
  46. package/web-dist/chunks/{Accordion-2gvv7h5p.js → Accordion-m3tq2vcc.js} +3 -3
  47. package/web-dist/chunks/{Accordion-f8dj4gbw.js → Accordion-mw8zh0vs.js} +1 -1
  48. package/web-dist/chunks/{Accordion-a6a0za8s.js → Accordion-pvcdvh3w.js} +1 -1
  49. package/web-dist/chunks/{Accordion-wcref68q.js → Accordion-q8ymmar7.js} +3 -3
  50. package/web-dist/chunks/{Accordion-knd9nb8v.js → Accordion-qwftammh.js} +2 -2
  51. package/web-dist/chunks/{Accordion-zdwbxeq1.js → Accordion-rsw5jt7m.js} +1 -1
  52. package/web-dist/chunks/{Accordion-nkv2pzj8.js → Accordion-tb0vc91c.js} +1 -1
  53. package/web-dist/chunks/{Accordion-53c30cqa.js → Accordion-tj4fe6wk.js} +2 -2
  54. package/web-dist/chunks/{Accordion-jn70wf9s.js → Accordion-v3bmbnfh.js} +2 -2
  55. package/web-dist/chunks/{Accordion-ce2r66e1.js → Accordion-vbz1mjm6.js} +2 -2
  56. package/web-dist/chunks/{Accordion-sam71gw6.js → Accordion-vdzyhtyd.js} +4 -4
  57. package/web-dist/chunks/{Accordion-jqk96gt9.js → Accordion-vtbs98r4.js} +1 -1
  58. package/web-dist/chunks/{Accordion-h7ae9ybw.js → Accordion-vwqf8kn1.js} +1 -1
  59. package/web-dist/chunks/{Accordion-772gn1m6.js → Accordion-w2kx944a.js} +1 -1
  60. package/web-dist/chunks/{Accordion-kjv0pfyp.js → Accordion-wbf7gqrm.js} +1 -1
  61. package/web-dist/chunks/{Accordion-wf6pk2j9.js → Accordion-xqkkfwkm.js} +1 -1
  62. package/web-dist/chunks/{Accordion-ycatfb1v.js → Accordion-yca8r7kx.js} +1 -1
  63. package/web-dist/chunks/{Accordion-enfevvwv.js → Accordion-zmrbktd8.js} +4 -4
  64. package/web-dist/chunks/{RichTextClient-tsah5t7v.js → RichTextClient-w75r2x97.js} +7 -7
  65. package/web-dist/chunks/{Video.native-y947mrfb.js → Video.native-bb9g33nd.js} +3 -3
  66. package/web-dist/components/accordion/Accordion.js +2 -2
  67. package/web-dist/components/accordion-item/AccordionItem.js +2 -2
  68. package/web-dist/components/app-bar/AppBar.js +4 -4
  69. package/web-dist/components/app-header/AppHeader.js +4 -4
  70. package/web-dist/components/app-shell/AppShell.js +1 -1
  71. package/web-dist/components/audio/Audio.js +3 -3
  72. package/web-dist/components/auth-screen/AuthScreen.js +6 -6
  73. package/web-dist/components/avatar/Avatar.js +2 -2
  74. package/web-dist/components/avatar-group/AvatarGroup.js +2 -2
  75. package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +6 -6
  76. package/web-dist/components/bottom-sheet/BottomSheet.js +2 -2
  77. package/web-dist/components/bottom-sheet-flat-list/BottomSheetFlatList.js +2 -2
  78. package/web-dist/components/bottom-sheet-scroll-view/BottomSheetScrollView.js +2 -2
  79. package/web-dist/components/bottom-sheet-section-list/BottomSheetSectionList.js +2 -2
  80. package/web-dist/components/bottom-sheet-view/BottomSheetView.js +2 -2
  81. package/web-dist/components/bottom-sheet-virtualized-list/BottomSheetVirtualizedList.js +2 -2
  82. package/web-dist/components/breadcrumbs/Breadcrumbs.js +2 -2
  83. package/web-dist/components/button/Button.js +2 -2
  84. package/web-dist/components/button-group/ButtonGroup.js +2 -2
  85. package/web-dist/components/calendar/Calendar.js +3 -3
  86. package/web-dist/components/camera-permission-view/CameraPermissionView.js +6 -6
  87. package/web-dist/components/card/Card.js +5 -5
  88. package/web-dist/components/chat-list-item/ChatListItem.js +3 -3
  89. package/web-dist/components/checkbox/Checkbox.js +2 -2
  90. package/web-dist/components/checkbox-group/CheckboxGroup.js +2 -2
  91. package/web-dist/components/chip/Chip.js +2 -2
  92. package/web-dist/components/chip-group/ChipGroup.js +2 -2
  93. package/web-dist/components/collection-editor/CollectionEditor.js +5 -5
  94. package/web-dist/components/color-hue-scale/ColorHueScale.js +10 -10
  95. package/web-dist/components/color-picker/ColorPicker.js +10 -10
  96. package/web-dist/components/color-tone/ColorTone.js +10 -10
  97. package/web-dist/components/color-wheel/ColorWheel.js +10 -10
  98. package/web-dist/components/content-rail/ContentRail.js +2 -2
  99. package/web-dist/components/data-table/DataTable.js +11 -11
  100. package/web-dist/components/date-picker/DatePicker.js +4 -4
  101. package/web-dist/components/dialog/Dialog.js +2 -2
  102. package/web-dist/components/divider/Divider.js +1 -1
  103. package/web-dist/components/empty-state/EmptyState.js +6 -6
  104. package/web-dist/components/explorer/Explorer.js +3 -3
  105. package/web-dist/components/field/Field.js +2 -2
  106. package/web-dist/components/file-explorer/FileExplorer.js +3 -3
  107. package/web-dist/components/flat-list/FlatList.js +3 -3
  108. package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +6 -6
  109. package/web-dist/components/form/Form.js +4 -4
  110. package/web-dist/components/form-actions/FormActions.js +4 -4
  111. package/web-dist/components/form-error/FormError.js +4 -4
  112. package/web-dist/components/game/Game.js +2 -2
  113. package/web-dist/components/game-entity/GameEntity.js +2 -2
  114. package/web-dist/components/game-field/GameField.js +2 -2
  115. package/web-dist/components/game-input-zone/GameInputZone.js +2 -2
  116. package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +2 -2
  117. package/web-dist/components/game-overlay/GameOverlay.js +2 -2
  118. package/web-dist/components/gradient/Gradient.js +2 -2
  119. package/web-dist/components/gradient-renderer-provider/GradientRendererProvider.js +2 -2
  120. package/web-dist/components/grid/Grid.js +1 -1
  121. package/web-dist/components/hero/Hero.js +5 -5
  122. package/web-dist/components/icon-button/IconButton.js +2 -2
  123. package/web-dist/components/image/Image.js +2 -2
  124. package/web-dist/components/list/List.js +3 -3
  125. package/web-dist/components/list-item/ListItem.js +3 -3
  126. package/web-dist/components/list-section/ListSection.js +3 -3
  127. package/web-dist/components/master-detail/MasterDetail.js +1 -1
  128. package/web-dist/components/matrix-grid/MatrixGrid.js +2 -1
  129. package/web-dist/components/media-card/MediaCard.js +5 -5
  130. package/web-dist/components/media-explorer/MediaExplorer.js +3 -3
  131. package/web-dist/components/message-bubble/MessageBubble.js +3 -3
  132. package/web-dist/components/metric-card/MetricCard.js +5 -5
  133. package/web-dist/components/missing-element/MissingElement.js +1 -1
  134. package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +6 -6
  135. package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +6 -6
  136. package/web-dist/components/otp-form/OtpForm.js +6 -6
  137. package/web-dist/components/pagination/Pagination.js +2 -2
  138. package/web-dist/components/palette-item/PaletteItem.js +5 -5
  139. package/web-dist/components/popover-menu/PopoverMenu.js +2 -2
  140. package/web-dist/components/post-card/PostCard.js +5 -5
  141. package/web-dist/components/product-card/ProductCard.js +5 -5
  142. package/web-dist/components/progress/Progress.js +2 -2
  143. package/web-dist/components/progress-ring/ProgressRing.js +2 -2
  144. package/web-dist/components/radio/Radio.js +2 -2
  145. package/web-dist/components/radio-group/RadioGroup.js +2 -2
  146. package/web-dist/components/rating/Rating.js +1 -1
  147. package/web-dist/components/reader/Reader.js +6 -6
  148. package/web-dist/components/rich-text/RichText.js +2 -2
  149. package/web-dist/components/runtime-authoring-overlay/RuntimeAuthoringOverlay.d.ts +7 -0
  150. package/web-dist/components/runtime-authoring-overlay/RuntimeAuthoringOverlay.js +11 -0
  151. package/web-dist/components/runtime-authoring-overlay/RuntimeAuthoringOverlay.types-0.d.ts +16 -0
  152. package/web-dist/components/runtime-authoring-overlay/index.d.ts +2 -0
  153. package/web-dist/components/runtime-authoring-overlay/index.js +2 -0
  154. package/web-dist/components/scan-overlay/ScanOverlay.js +6 -6
  155. package/web-dist/components/screen/Screen.js +1 -1
  156. package/web-dist/components/screen-section/ScreenSection.js +2 -2
  157. package/web-dist/components/scroll-view/ScrollView.js +1 -1
  158. package/web-dist/components/search-input/SearchInput.js +4 -4
  159. package/web-dist/components/section-header/SectionHeader.js +2 -2
  160. package/web-dist/components/section-list/SectionList.js +3 -3
  161. package/web-dist/components/select/Select.js +6 -6
  162. package/web-dist/components/selectable-item/SelectableItem.js +3 -1
  163. package/web-dist/components/selection-provider/SelectionProvider.js +3 -1
  164. package/web-dist/components/sign-in-form/SignInForm.js +6 -6
  165. package/web-dist/components/sign-up-form/SignUpForm.js +6 -6
  166. package/web-dist/components/skeleton/Skeleton.js +8 -8
  167. package/web-dist/components/skeleton-card/SkeletonCard.js +8 -8
  168. package/web-dist/components/skeleton-list/SkeletonList.js +8 -8
  169. package/web-dist/components/skeleton-text/SkeletonText.js +8 -8
  170. package/web-dist/components/text-input/TextInput.js +3 -3
  171. package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +2 -2
  172. package/web-dist/components/time-picker/TimePicker.js +3 -3
  173. package/web-dist/components/timeline/Timeline.js +2 -2
  174. package/web-dist/components/toolbar/Toolbar.js +6 -6
  175. package/web-dist/components/tree-item/TreeItem.js +5 -5
  176. package/web-dist/components/uploader/Uploader.js +8 -8
  177. package/web-dist/components/video/Video.js +4 -4
  178. package/web-dist/components/view/View.js +1 -1
  179. package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.d.ts +6 -1
  180. package/web-dist/components/zora-web-style-sheet/ZoraWebStyleSheet.js +1 -1
  181. package/web-dist/manifest.json +440 -415
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 28.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 3daadc0: Add a controlled Runtime authoring overlay for generic rendered-node selection and highlighting.
8
+
9
+ ## 28.7.4
10
+
11
+ ### Patch Changes
12
+
13
+ - 99bf9ce: Render the React Native Web stylesheet with hydration-stable markup while preserving live rule insertion.
14
+
3
15
  ## 28.7.3
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # ZORA
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v28.7.3](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: configured](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v28.8.0](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: configured](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Provides opinionated React Native and React Native Web UI components, theme primitives, registries, and reader surfaces built on @ankhorage/surface.
9
9
 
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  /*** Hoists the React Native Web styles required by a server-rendered ZORA application. */
3
- export declare function ZoraWebStyleSheet(): React.JSX.Element | null;
3
+ export declare function ZoraWebStyleSheet(): React.DetailedReactHTMLElement<{
4
+ dangerouslySetInnerHTML: {
5
+ __html: string;
6
+ };
7
+ id: string;
8
+ }, HTMLElement> | null;
4
9
  //# sourceMappingURL=ZoraWebStyleSheet.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraWebStyleSheet.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,0FAA0F;AAC1F,wBAAgB,iBAAiB,6BAShC"}
1
+ {"version":3,"file":"ZoraWebStyleSheet.d.ts","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,0FAA0F;AAC1F,wBAAgB,iBAAiB;;;;;uBAQhC"}
@@ -5,9 +5,10 @@ export function ZoraWebStyleSheet() {
5
5
  const sheet = getReactNativeWebStyleSheet();
6
6
  if (sheet === null)
7
7
  return null;
8
- return (<style id={sheet.id} precedence="react-native-web">
9
- {sheet.textContent}
10
- </style>);
8
+ return React.createElement('style', {
9
+ dangerouslySetInnerHTML: { __html: sheet.textContent },
10
+ id: sheet.id,
11
+ });
11
12
  }
12
13
  /*** Reads React Native Web's public stylesheet without changing native rendering. */
13
14
  function getReactNativeWebStyleSheet() {
@@ -1 +1 @@
1
- {"version":3,"file":"ZoraWebStyleSheet.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAOpD,0FAA0F;AAC1F,MAAM,UAAU,iBAAiB;IAC/B,MAAM,KAAK,GAAG,2BAA2B,EAAE,CAAC;IAC5C,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,CACL,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAChD;MAAA,CAAC,KAAK,CAAC,WAAW,CACpB;IAAA,EAAE,KAAK,CAAC,CACT,CAAC;AACJ,CAAC;AAED,qFAAqF;AACrF,SAAS,2BAA2B;IAClC,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,UAAU,IAAI,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IAEtE,OAAQ,UAAU,CAAC,QAA2C,EAAE,CAAC;AACnE,CAAC","sourcesContent":["import React from 'react';\nimport { Platform, StyleSheet } from 'react-native';\n\ntype ReactNativeWebStyleSheet = Readonly<{\n id: string;\n textContent: string;\n}>;\n\n/*** Hoists the React Native Web styles required by a server-rendered ZORA application. */\nexport function ZoraWebStyleSheet() {\n const sheet = getReactNativeWebStyleSheet();\n if (sheet === null) return null;\n\n return (\n <style id={sheet.id} precedence=\"react-native-web\">\n {sheet.textContent}\n </style>\n );\n}\n\n/*** Reads React Native Web's public stylesheet without changing native rendering. */\nfunction getReactNativeWebStyleSheet(): ReactNativeWebStyleSheet | null {\n if (Platform.OS !== 'web' || !('getSheet' in StyleSheet)) return null;\n\n return (StyleSheet.getSheet as () => ReactNativeWebStyleSheet)();\n}\n"]}
1
+ {"version":3,"file":"ZoraWebStyleSheet.js","sourceRoot":"","sources":["../../../../../src/features/layout/adapters/inbound/ZoraWebStyleSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAOpD,0FAA0F;AAC1F,MAAM,UAAU,iBAAiB;IAC/B,MAAM,KAAK,GAAG,2BAA2B,EAAE,CAAC;IAC5C,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAEhC,OAAO,KAAK,CAAC,aAAa,CAAC,OAAO,EAAE;QAClC,uBAAuB,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,WAAW,EAAE;QACtD,EAAE,EAAE,KAAK,CAAC,EAAE;KACb,CAAC,CAAC;AACL,CAAC;AAED,qFAAqF;AACrF,SAAS,2BAA2B;IAClC,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,UAAU,IAAI,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IAEtE,OAAQ,UAAU,CAAC,QAA2C,EAAE,CAAC;AACnE,CAAC","sourcesContent":["import React from 'react';\nimport { Platform, StyleSheet } from 'react-native';\n\ntype ReactNativeWebStyleSheet = Readonly<{\n id: string;\n textContent: string;\n}>;\n\n/*** Hoists the React Native Web styles required by a server-rendered ZORA application. */\nexport function ZoraWebStyleSheet() {\n const sheet = getReactNativeWebStyleSheet();\n if (sheet === null) return null;\n\n return React.createElement('style', {\n dangerouslySetInnerHTML: { __html: sheet.textContent },\n id: sheet.id,\n });\n}\n\n/*** Reads React Native Web's public stylesheet without changing native rendering. */\nfunction getReactNativeWebStyleSheet(): ReactNativeWebStyleSheet | null {\n if (Platform.OS !== 'web' || !('getSheet' in StyleSheet)) return null;\n\n return (StyleSheet.getSheet as () => ReactNativeWebStyleSheet)();\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import type { RuntimeAuthoringOverlayAdapter } from '@ankhorage/runtime';
2
+ import React from 'react';
3
+ import type { CreateRuntimeAuthoringOverlayAdapterOptions, RuntimeAuthoringOverlayProps } from '../../../../types/selection';
4
+ /*** Provides controlled, single-node selection to Runtime-rendered content without creating a second renderer tree. */
5
+ export declare function RuntimeAuthoringOverlay({ children, mode, onSelectionChange, selectedComponentId, }: RuntimeAuthoringOverlayProps): React.JSX.Element;
6
+ /*** Creates ZORA's visual and input adapter for Runtime's generic authoring-overlay hook. */
7
+ export declare function createRuntimeAuthoringOverlayAdapter({ mode, }: CreateRuntimeAuthoringOverlayAdapterOptions): RuntimeAuthoringOverlayAdapter;
8
+ //# sourceMappingURL=RuntimeAuthoringOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuntimeAuthoringOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,8BAA8B,EAE/B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,2CAA2C,EAC3C,4BAA4B,EAC7B,MAAM,6BAA6B,CAAC;AAKrC,uHAAuH;AACvH,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,mBAAmB,GACpB,EAAE,4BAA4B,qBAW9B;AAED,6FAA6F;AAC7F,wBAAgB,oCAAoC,CAAC,EACnD,IAAI,GACL,EAAE,2CAA2C,GAAG,8BAA8B,CAO9E"}
@@ -0,0 +1,46 @@
1
+ import { Pressable } from '@ankhorage/surface';
2
+ import React from 'react';
3
+ import { View } from '../../../layout/public.js';
4
+ import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
5
+ import { SelectionProvider, useSelection } from './SelectionProvider.js';
6
+ /*** Provides controlled, single-node selection to Runtime-rendered content without creating a second renderer tree. */
7
+ export function RuntimeAuthoringOverlay({ children, mode, onSelectionChange, selectedComponentId, }) {
8
+ return (<SelectionProvider disabled={mode === 'preview'} mode="single" onSelectionChange={(ids) => onSelectionChange?.(ids[0])} selectedIds={selectedComponentId === undefined ? [] : [selectedComponentId]}>
9
+ {children}
10
+ </SelectionProvider>);
11
+ }
12
+ /*** Creates ZORA's visual and input adapter for Runtime's generic authoring-overlay hook. */
13
+ export function createRuntimeAuthoringOverlayAdapter({ mode, }) {
14
+ return {
15
+ mode,
16
+ getComponentId: (node) => node.id,
17
+ hitTest: () => mode === 'edit',
18
+ wrapNode: (args) => <RuntimeAuthoringOverlayNode {...args} mode={mode}/>,
19
+ };
20
+ }
21
+ /*** Wraps one rendered target node with edit-mode selection input while retaining its subtree across modes. */
22
+ function RuntimeAuthoringOverlayNode({ component, mode, rendered, select, }) {
23
+ const { theme } = useZoraTheme();
24
+ const selection = useSelection();
25
+ const selected = selection.isSelected(component.componentId);
26
+ const handlePress = (event) => {
27
+ if (mode !== 'edit' || !select(event))
28
+ return;
29
+ selection.select(component.componentId);
30
+ };
31
+ return (<Pressable accessibilityLabel={`Select ${component.node.type}`} accessibilityRole="button" accessibilityState={{ selected }} interactionPolicy={mode === 'edit' ? 'enabled' : 'passive'} onPress={handlePress} style={styles.wrapper} testID={`runtime-authoring-node-${component.componentId}`}>
32
+ {rendered}
33
+ {selected ? (<View borderColor={theme.semantics.highlight} borderWidth={2} pointerEvents="none" style={styles.highlight}/>) : null}
34
+ </Pressable>);
35
+ }
36
+ const styles = {
37
+ highlight: {
38
+ bottom: 0,
39
+ left: 0,
40
+ position: 'absolute',
41
+ right: 0,
42
+ top: 0,
43
+ },
44
+ wrapper: { position: 'relative' },
45
+ };
46
+ //# sourceMappingURL=RuntimeAuthoringOverlay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuntimeAuthoringOverlay.js","sourceRoot":"","sources":["../../../../../src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,YAAY,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n RuntimeAuthoringOverlayAdapter,\n RuntimeAuthoringOverlayNodeArgs,\n} from '@ankhorage/runtime';\nimport { Pressable } from '@ankhorage/surface';\nimport React from 'react';\n\nimport type {\n CreateRuntimeAuthoringOverlayAdapterOptions,\n RuntimeAuthoringOverlayProps,\n} from '../../../../types/selection';\nimport { View } from '../../../layout/public';\nimport { useZoraTheme } from '../../../theme/composition/useZoraTheme';\nimport { SelectionProvider, useSelection } from './SelectionProvider';\n\n/*** Provides controlled, single-node selection to Runtime-rendered content without creating a second renderer tree. */\nexport function RuntimeAuthoringOverlay({\n children,\n mode,\n onSelectionChange,\n selectedComponentId,\n}: RuntimeAuthoringOverlayProps) {\n return (\n <SelectionProvider\n disabled={mode === 'preview'}\n mode=\"single\"\n onSelectionChange={(ids) => onSelectionChange?.(ids[0])}\n selectedIds={selectedComponentId === undefined ? [] : [selectedComponentId]}\n >\n {children}\n </SelectionProvider>\n );\n}\n\n/*** Creates ZORA's visual and input adapter for Runtime's generic authoring-overlay hook. */\nexport function createRuntimeAuthoringOverlayAdapter({\n mode,\n}: CreateRuntimeAuthoringOverlayAdapterOptions): RuntimeAuthoringOverlayAdapter {\n return {\n mode,\n getComponentId: (node) => node.id,\n hitTest: () => mode === 'edit',\n wrapNode: (args) => <RuntimeAuthoringOverlayNode {...args} mode={mode} />,\n };\n}\n\n/*** Wraps one rendered target node with edit-mode selection input while retaining its subtree across modes. */\nfunction RuntimeAuthoringOverlayNode({\n component,\n mode,\n rendered,\n select,\n}: RuntimeAuthoringOverlayNodeArgs & { readonly mode: 'edit' | 'preview' }) {\n const { theme } = useZoraTheme();\n const selection = useSelection();\n const selected = selection.isSelected(component.componentId);\n const handlePress = (event: unknown) => {\n if (mode !== 'edit' || !select(event)) return;\n selection.select(component.componentId);\n };\n\n return (\n <Pressable\n accessibilityLabel={`Select ${component.node.type}`}\n accessibilityRole=\"button\"\n accessibilityState={{ selected }}\n interactionPolicy={mode === 'edit' ? 'enabled' : 'passive'}\n onPress={handlePress}\n style={styles.wrapper}\n testID={`runtime-authoring-node-${component.componentId}`}\n >\n {rendered}\n {selected ? (\n <View\n borderColor={theme.semantics.highlight}\n borderWidth={2}\n pointerEvents=\"none\"\n style={styles.highlight}\n />\n ) : null}\n </Pressable>\n );\n}\n\nconst styles = {\n highlight: {\n bottom: 0,\n left: 0,\n position: 'absolute' as const,\n right: 0,\n top: 0,\n },\n wrapper: { position: 'relative' as const },\n};\n"]}
@@ -1,4 +1,5 @@
1
- export type { SelectableItemProps, SelectableItemState, SelectionMode, SelectionProviderProps, SelectionTrigger, UseSelectionResult, } from '../../types/selection';
1
+ export type { CreateRuntimeAuthoringOverlayAdapterOptions, RuntimeAuthoringOverlayProps, SelectableItemProps, SelectableItemState, SelectionMode, SelectionProviderProps, SelectionTrigger, UseSelectionResult, } from '../../types/selection';
2
+ export { createRuntimeAuthoringOverlayAdapter, RuntimeAuthoringOverlay, } from './adapters/inbound/RuntimeAuthoringOverlay';
2
3
  export { SelectableItem } from './adapters/inbound/SelectableItem';
3
4
  export { SelectionProvider, useSelection } from './adapters/inbound/SelectionProvider';
4
5
  export { resolveSelectionEventIntent } from './application/resolveSelectionEventIntent';
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/selection/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,YAAY,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/selection/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,2CAA2C,EAC3C,4BAA4B,EAC5B,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oCAAoC,EACpC,uBAAuB,GACxB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,YAAY,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,3 +1,4 @@
1
+ export { createRuntimeAuthoringOverlayAdapter, RuntimeAuthoringOverlay, } from './adapters/inbound/RuntimeAuthoringOverlay.js';
1
2
  export { SelectableItem } from './adapters/inbound/SelectableItem.js';
2
3
  export { SelectionProvider, useSelection } from './adapters/inbound/SelectionProvider.js';
3
4
  export { resolveSelectionEventIntent } from './application/resolveSelectionEventIntent.js';
@@ -1 +1 @@
1
- {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/selection/public.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC","sourcesContent":["export type {\n SelectableItemProps,\n SelectableItemState,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from '../../types/selection';\nexport { SelectableItem } from './adapters/inbound/SelectableItem';\nexport { SelectionProvider, useSelection } from './adapters/inbound/SelectionProvider';\nexport { resolveSelectionEventIntent } from './application/resolveSelectionEventIntent';\nexport type { SelectionIntent } from '@ankhorage/utility/selection';\n"]}
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/selection/public.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,oCAAoC,EACpC,uBAAuB,GACxB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC","sourcesContent":["export type {\n CreateRuntimeAuthoringOverlayAdapterOptions,\n RuntimeAuthoringOverlayProps,\n SelectableItemProps,\n SelectableItemState,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from '../../types/selection';\nexport {\n createRuntimeAuthoringOverlayAdapter,\n RuntimeAuthoringOverlay,\n} from './adapters/inbound/RuntimeAuthoringOverlay';\nexport { SelectableItem } from './adapters/inbound/SelectableItem';\nexport { SelectionProvider, useSelection } from './adapters/inbound/SelectionProvider';\nexport { resolveSelectionEventIntent } from './application/resolveSelectionEventIntent';\nexport type { SelectionIntent } from '@ankhorage/utility/selection';\n"]}
@@ -103,8 +103,8 @@ export { RichText, type RichTextProps } from './features/rich-text/public';
103
103
  export type { BarcodeScannerViewProps, BarcodeScanResult, CameraPermissionStatus, CameraPermissionViewProps, ScanOverlayProps, } from './features/scanner/public';
104
104
  export { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';
105
105
  export { ScreenSection, type ScreenSectionProps, SectionHeader, type SectionHeaderProps, } from './features/section/public';
106
- export type { SelectableItemProps, SelectableItemState, SelectionIntent, SelectionMode, SelectionProviderProps, SelectionTrigger, UseSelectionResult, } from './features/selection/public';
107
- export { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';
106
+ export type { CreateRuntimeAuthoringOverlayAdapterOptions, RuntimeAuthoringOverlayProps, SelectableItemProps, SelectableItemState, SelectionIntent, SelectionMode, SelectionProviderProps, SelectionTrigger, UseSelectionResult, } from './features/selection/public';
107
+ export { createRuntimeAuthoringOverlayAdapter, RuntimeAuthoringOverlay, SelectableItem, SelectionProvider, useSelection, } from './features/selection/public';
108
108
  export { Skeleton, SkeletonCard, type SkeletonCardProps, type SkeletonDimension, SkeletonList, type SkeletonListProps, type SkeletonListVariant, type SkeletonProps, type SkeletonRadius, SkeletonText, type SkeletonTextProps, } from './features/skeleton/public';
109
109
  export type { SpatialGridItem, SpatialGridItemState, SpatialGridProps, } from './features/spatial-grid/public';
110
110
  export { SpatialGrid } from './features/spatial-grid/public';
@@ -1 +1 @@
1
- {"version":3,"file":"readerFree.d.ts","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,mBAAmB,GACzB,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,UAAU,EACV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Z,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACvE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACpG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACjE,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,YAAY,EACV,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,UAAU,EACV,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,UAAU,EACV,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -63,7 +63,7 @@ export { createZoraComponentRegistry, ZORA_BASE_COMPONENT_REGISTRY, } from './fe
63
63
  export { RichText } from './features/rich-text/public.js';
64
64
  export { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public.js';
65
65
  export { ScreenSection, SectionHeader, } from './features/section/public.js';
66
- export { SelectableItem, SelectionProvider, useSelection } from './features/selection/public.js';
66
+ export { createRuntimeAuthoringOverlayAdapter, RuntimeAuthoringOverlay, SelectableItem, SelectionProvider, useSelection, } from './features/selection/public.js';
67
67
  export { Skeleton, SkeletonCard, SkeletonList, SkeletonText, } from './features/skeleton/public.js';
68
68
  export { SpatialGrid } from './features/spatial-grid/public.js';
69
69
  export { Surface } from './features/surface/public.js';
@@ -1 +1 @@
1
- {"version":3,"file":"readerFree.js","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,GAMd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EACL,KAAK,GAIN,MAAM,yBAAyB,CAAC;AAqBjC,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAGL,WAAW,GAEZ,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAuBtD,OAAO,EACL,QAAQ,GAKT,MAAM,4BAA4B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EACL,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,EACL,UAAU,GAGX,MAAM,+BAA+B,CAAC;AAOvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQtD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAqB,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAkBjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAUpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export {\n Accordion,\n AccordionItem,\n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport { AppHeader, type AppHeaderProps } from './features/app-header/public';\nexport {\n Audio,\n type AudioManifestProps,\n type AudioProps,\n type AudioResolvedSource,\n} from './features/audio/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n AuthScreenMode,\n AuthScreenProps,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n AuthScreen,\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type {\n TemporalAllDayEvent,\n TemporalAllDayRange,\n TemporalAvailability,\n TemporalDataValue,\n TemporalDate,\n TemporalDuration,\n TemporalEvent,\n TemporalEventStatus,\n TemporalInstant,\n TemporalInteroperabilityData,\n TemporalParticipant,\n TemporalRange,\n TemporalRecurrence,\n TemporalRecurrenceException,\n TemporalRecurrenceRule,\n TemporalReminder,\n TemporalTimedEvent,\n TemporalTimedRange,\n TemporalTimeZone,\n TemporalTone,\n} from './features/calendar/public';\nexport {\n Calendar,\n type CalendarDensity,\n type CalendarProps,\n type CalendarView,\n type CalendarWeekStart,\n} from './features/calendar/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardCell,\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardDimensions,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';\nexport { createChessBoardColorScheme, createOpeningBookColorScheme } from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableCellSpec,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableRowActivateEvent,\n DataTableRowField,\n DataTableSelectionChangeEvent,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport type {\n ExplorerActivateEvent,\n ExplorerItem,\n ExplorerItemKind,\n ExplorerProps,\n ExplorerSelectionChangeEvent,\n ExplorerSelectionMode,\n} from './features/explorer/public';\nexport {\n Explorer,\n FileExplorer,\n MediaExplorer,\n resolveExplorerSelection,\n} from './features/explorer/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n createGridInteractionsController,\n type GridInteractionIntent,\n type GridInteractionItem,\n type GridInteractionPointer,\n GridInteractions,\n type GridInteractionsController,\n type GridInteractionsControllerProps,\n type GridInteractionSnap,\n type GridInteractionsProps,\n} from './features/grid-interactions/public';\nexport type {\n GridGuide,\n GridLineOverlayProps,\n GridRulerMark,\n GridRulerProps,\n GridRulerTickSource,\n} from './features/grid-rulers/public';\nexport { GridLineOverlay, GridRuler, resolveGridRulerMarks } from './features/grid-rulers/public';\nexport type { GridViewProps, TileGridItem, TileGridProps } from './features/grid-view/public';\nexport { GridView, layoutTileGrid, TileGrid } from './features/grid-view/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type { LinkPressEvent, LinkProps, LinkTarget } from './features/link/public';\nexport { Link } from './features/link/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/public';\nexport type {\n MasterDetailActivePane,\n MasterDetailDesktopMode,\n MasterDetailMasterWidth,\n MasterDetailProps,\n} from './features/master-detail/public';\nexport { MasterDetail } from './features/master-detail/public';\nexport type { MatrixGridProps } from './features/matrix-grid/public';\nexport { MatrixGrid } from './features/matrix-grid/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/registry';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/registry';\nexport {\n createZoraComponentRegistry,\n ZORA_BASE_COMPONENT_REGISTRY,\n} from './features/registry/readerFreeRegistry';\nexport { RichText, type RichTextProps } from './features/rich-text/public';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionIntent,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type {\n SpatialGridItem,\n SpatialGridItemState,\n SpatialGridProps,\n} from './features/spatial-grid/public';\nexport { SpatialGrid } from './features/spatial-grid/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n pokerTrainingTableMeta,\n TabletopTable,\n tabletopTableMeta,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport type { TimeGridInterval, TimeGridLane, TimeGridProps } from './features/time-grid/public';\nexport { resolveTimeGridVisibleIntervals, TimeGrid } from './features/time-grid/public';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type {\n TimelineItem,\n TimelineManifestItem,\n TimelineManifestProps,\n TimelineProps,\n} from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderExplorerItem,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type {\n VideoContentFit,\n VideoManifestProps,\n VideoProps,\n VideoResolvedSource,\n} from './features/video/public';\nexport { Video } from './features/video/public';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
1
+ {"version":3,"file":"readerFree.js","sourceRoot":"","sources":["../src/readerFree.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,GAMd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,SAAS,EAAuB,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EACL,KAAK,GAIN,MAAM,yBAAyB,CAAC;AAqBjC,OAAO,EACL,UAAU,EACV,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAGL,WAAW,GAEZ,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAuBtD,OAAO,EACL,QAAQ,GAKT,MAAM,4BA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wBAAwB,CAAC;AAOhC,OAAO,EACL,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,+BAA+B,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,EACL,UAAU,GAGX,MAAM,+BAA+B,CAAC;AAOvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQtD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAqB,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAkBjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAUpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export {\n Accordion,\n AccordionItem,\n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport { AppHeader, type AppHeaderProps } from './features/app-header/public';\nexport {\n Audio,\n type AudioManifestProps,\n type AudioProps,\n type AudioResolvedSource,\n} from './features/audio/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n AuthScreenMode,\n AuthScreenProps,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n AuthScreen,\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type {\n TemporalAllDayEvent,\n TemporalAllDayRange,\n TemporalAvailability,\n TemporalDataValue,\n TemporalDate,\n TemporalDuration,\n TemporalEvent,\n TemporalEventStatus,\n TemporalInstant,\n TemporalInteroperabilityData,\n TemporalParticipant,\n TemporalRange,\n TemporalRecurrence,\n TemporalRecurrenceException,\n TemporalRecurrenceRule,\n TemporalReminder,\n TemporalTimedEvent,\n TemporalTimedRange,\n TemporalTimeZone,\n TemporalTone,\n} from './features/calendar/public';\nexport {\n Calendar,\n type CalendarDensity,\n type CalendarProps,\n type CalendarView,\n type CalendarWeekStart,\n} from './features/calendar/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardCell,\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardDimensions,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';\nexport { createChessBoardColorScheme, createOpeningBookColorScheme } from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableCellSpec,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableRowActivateEvent,\n DataTableRowField,\n DataTableSelectionChangeEvent,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport type {\n ExplorerActivateEvent,\n ExplorerItem,\n ExplorerItemKind,\n ExplorerProps,\n ExplorerSelectionChangeEvent,\n ExplorerSelectionMode,\n} from './features/explorer/public';\nexport {\n Explorer,\n FileExplorer,\n MediaExplorer,\n resolveExplorerSelection,\n} from './features/explorer/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n createGridInteractionsController,\n type GridInteractionIntent,\n type GridInteractionItem,\n type GridInteractionPointer,\n GridInteractions,\n type GridInteractionsController,\n type GridInteractionsControllerProps,\n type GridInteractionSnap,\n type GridInteractionsProps,\n} from './features/grid-interactions/public';\nexport type {\n GridGuide,\n GridLineOverlayProps,\n GridRulerMark,\n GridRulerProps,\n GridRulerTickSource,\n} from './features/grid-rulers/public';\nexport { GridLineOverlay, GridRuler, resolveGridRulerMarks } from './features/grid-rulers/public';\nexport type { GridViewProps, TileGridItem, TileGridProps } from './features/grid-view/public';\nexport { GridView, layoutTileGrid, TileGrid } from './features/grid-view/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type { LinkPressEvent, LinkProps, LinkTarget } from './features/link/public';\nexport { Link } from './features/link/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/public';\nexport type {\n MasterDetailActivePane,\n MasterDetailDesktopMode,\n MasterDetailMasterWidth,\n MasterDetailProps,\n} from './features/master-detail/public';\nexport { MasterDetail } from './features/master-detail/public';\nexport type { MatrixGridProps } from './features/matrix-grid/public';\nexport { MatrixGrid } from './features/matrix-grid/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/registry';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/registry';\nexport {\n createZoraComponentRegistry,\n ZORA_BASE_COMPONENT_REGISTRY,\n} from './features/registry/readerFreeRegistry';\nexport { RichText, type RichTextProps } from './features/rich-text/public';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n CreateRuntimeAuthoringOverlayAdapterOptions,\n RuntimeAuthoringOverlayProps,\n SelectableItemProps,\n SelectableItemState,\n SelectionIntent,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport {\n createRuntimeAuthoringOverlayAdapter,\n RuntimeAuthoringOverlay,\n SelectableItem,\n SelectionProvider,\n useSelection,\n} from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type {\n SpatialGridItem,\n SpatialGridItemState,\n SpatialGridProps,\n} from './features/spatial-grid/public';\nexport { SpatialGrid } from './features/spatial-grid/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n pokerTrainingTableMeta,\n TabletopTable,\n tabletopTableMeta,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport type { TimeGridInterval, TimeGridLane, TimeGridProps } from './features/time-grid/public';\nexport { resolveTimeGridVisibleIntervals, TimeGrid } from './features/time-grid/public';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type {\n TimelineItem,\n TimelineManifestItem,\n TimelineManifestProps,\n TimelineProps,\n} from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderExplorerItem,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type {\n VideoContentFit,\n VideoManifestProps,\n VideoProps,\n VideoResolvedSource,\n} from './features/video/public';\nexport { Video } from './features/video/public';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
@@ -1,3 +1,4 @@
1
+ import type { RuntimeAuthoringMode } from '@ankhorage/runtime';
1
2
  import type { InteractionPolicy } from '@ankhorage/surface';
2
3
  import type { SelectionIntent } from '@ankhorage/utility/selection';
3
4
  import type React from 'react';
@@ -42,4 +43,15 @@ export interface SelectableItemProps extends ZoraBaseProps {
42
43
  interactionPolicy?: InteractionPolicy;
43
44
  children: React.ReactNode | ((state: SelectableItemState) => React.ReactNode);
44
45
  }
46
+ /** Controls generic Runtime node selection without assigning application policy to ZORA. */
47
+ export interface RuntimeAuthoringOverlayProps {
48
+ children: React.ReactNode;
49
+ mode: RuntimeAuthoringMode;
50
+ selectedComponentId?: string;
51
+ onSelectionChange?: (componentId: string | undefined) => void;
52
+ }
53
+ /** Creates Runtime's toolkit-neutral authoring adapter from ZORA's controlled visual overlay. */
54
+ export interface CreateRuntimeAuthoringOverlayAdapterOptions {
55
+ mode: RuntimeAuthoringMode;
56
+ }
45
57
  //# sourceMappingURL=selection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,K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;AAC5F,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAC/D;AAED,iGAAiG;AACjG,MAAM,WAAW,2CAA2C;IAC1D,IAAI,EAAE,oBAAoB,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"selection.js","sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"","sourcesContent":["import type { InteractionPolicy } from '@ankhorage/surface';\nimport type { SelectionIntent } from '@ankhorage/utility/selection';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type SelectionMode = 'single' | 'multi';\n\nexport type SelectionTrigger = 'press' | 'longPress' | 'manual';\n\nexport interface SelectionProviderProps {\n children: React.ReactNode;\n selectedIds?: readonly string[];\n defaultSelectedIds?: readonly string[];\n mode?: SelectionMode;\n disabled?: boolean;\n onSelectionChange?: (ids: readonly string[]) => void;\n interactionPolicy?: InteractionPolicy;\n}\n\nexport interface UseSelectionResult {\n mode: SelectionMode;\n disabled: boolean;\n selectedIds: readonly string[];\n selectedCount: number;\n hasSelection: boolean;\n isSelected: (id: string) => boolean;\n activate: (id: string, intent: SelectionIntent) => void;\n select: (id: string) => void;\n toggle: (id: string) => void;\n clear: () => void;\n}\n\nexport interface SelectableItemState {\n id: string;\n selected: boolean;\n disabled: boolean;\n mode: SelectionMode;\n activate: (intent: SelectionIntent) => void;\n select: () => void;\n toggle: () => void;\n clear: () => void;\n}\n\nexport interface SelectableItemProps extends ZoraBaseProps {\n id: string;\n trigger?: SelectionTrigger;\n disabled?: boolean;\n interactionPolicy?: InteractionPolicy;\n children: React.ReactNode | ((state: SelectableItemState) => React.ReactNode);\n}\n"]}
1
+ {"version":3,"file":"selection.js","sourceRoot":"","sources":["../../src/types/selection.ts"],"names":[],"mappings":"","sourcesContent":["import type { RuntimeAuthoringMode } from '@ankhorage/runtime';\nimport type { InteractionPolicy } from '@ankhorage/surface';\nimport type { SelectionIntent } from '@ankhorage/utility/selection';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type SelectionMode = 'single' | 'multi';\n\nexport type SelectionTrigger = 'press' | 'longPress' | 'manual';\n\nexport interface SelectionProviderProps {\n children: React.ReactNode;\n selectedIds?: readonly string[];\n defaultSelectedIds?: readonly string[];\n mode?: SelectionMode;\n disabled?: boolean;\n onSelectionChange?: (ids: readonly string[]) => void;\n interactionPolicy?: InteractionPolicy;\n}\n\nexport interface UseSelectionResult {\n mode: SelectionMode;\n disabled: boolean;\n selectedIds: readonly string[];\n selectedCount: number;\n hasSelection: boolean;\n isSelected: (id: string) => boolean;\n activate: (id: string, intent: SelectionIntent) => void;\n select: (id: string) => void;\n toggle: (id: string) => void;\n clear: () => void;\n}\n\nexport interface SelectableItemState {\n id: string;\n selected: boolean;\n disabled: boolean;\n mode: SelectionMode;\n activate: (intent: SelectionIntent) => void;\n select: () => void;\n toggle: () => void;\n clear: () => void;\n}\n\nexport interface SelectableItemProps extends ZoraBaseProps {\n id: string;\n trigger?: SelectionTrigger;\n disabled?: boolean;\n interactionPolicy?: InteractionPolicy;\n children: React.ReactNode | ((state: SelectableItemState) => React.ReactNode);\n}\n\n/** Controls generic Runtime node selection without assigning application policy to ZORA. */\nexport interface RuntimeAuthoringOverlayProps {\n children: React.ReactNode;\n mode: RuntimeAuthoringMode;\n selectedComponentId?: string;\n onSelectionChange?: (componentId: string | undefined) => void;\n}\n\n/** Creates Runtime's toolkit-neutral authoring adapter from ZORA's controlled visual overlay. */\nexport interface CreateRuntimeAuthoringOverlayAdapterOptions {\n mode: RuntimeAuthoringMode;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "28.7.3",
4
+ "version": "28.8.0",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -193,7 +193,7 @@
193
193
  "version-packages": "ankhorage-changeset version"
194
194
  },
195
195
  "devDependencies": {
196
- "@ankhorage/devtools": "^2.12.19",
196
+ "@ankhorage/devtools": "^2.12.20",
197
197
  "@ankhorage/paradox": "^0.6.2",
198
198
  "@react-native-vector-icons/fontawesome": "^14.0.0",
199
199
  "@react-native-vector-icons/fontawesome5": "^14.0.0",
@@ -11,11 +11,10 @@ export function ZoraWebStyleSheet() {
11
11
  const sheet = getReactNativeWebStyleSheet();
12
12
  if (sheet === null) return null;
13
13
 
14
- return (
15
- <style id={sheet.id} precedence="react-native-web">
16
- {sheet.textContent}
17
- </style>
18
- );
14
+ return React.createElement('style', {
15
+ dangerouslySetInnerHTML: { __html: sheet.textContent },
16
+ id: sheet.id,
17
+ });
19
18
  }
20
19
 
21
20
  /*** Reads React Native Web's public stylesheet without changing native rendering. */
@@ -4,6 +4,7 @@ import type { ZoraComponentRegistry } from '../../types/registry';
4
4
 
5
5
  const NON_RUNTIME_COMPONENT_EXPORTS = new Set([
6
6
  'GradientRendererProvider',
7
+ 'RuntimeAuthoringOverlay',
7
8
  'SelectionProvider',
8
9
  'ToastProvider',
9
10
  'ZoraPluginCompositionError',
@@ -0,0 +1,117 @@
1
+ import type { UiNode } from '@ankhorage/contracts';
2
+ import { describe, expect, test } from 'bun:test';
3
+ import { isValidElement, type ReactElement } from 'react';
4
+
5
+ const node: UiNode = { id: 'target-button', props: {}, type: 'Button' };
6
+
7
+ interface LoadedOverlay {
8
+ readonly createRuntimeAuthoringOverlayAdapter: (input: { readonly mode: 'edit' | 'preview' }) => {
9
+ readonly getComponentId: (node: UiNode) => string | undefined;
10
+ readonly hitTest: (input: {
11
+ readonly componentId: string;
12
+ readonly input: unknown;
13
+ readonly node: UiNode;
14
+ }) => boolean;
15
+ readonly wrapNode: (input: {
16
+ readonly isRoot: boolean;
17
+ readonly node: UiNode;
18
+ readonly rendered: ReactElement;
19
+ }) => ReactElement;
20
+ };
21
+ readonly RuntimeAuthoringOverlay: (input: {
22
+ readonly children: ReactElement;
23
+ readonly mode: 'edit' | 'preview';
24
+ readonly onSelectionChange?: (componentId: string | undefined) => void;
25
+ readonly selectedComponentId?: string;
26
+ }) => ReactElement;
27
+ }
28
+
29
+ describe('RuntimeAuthoringOverlay', () => {
30
+ test('keeps selection controlled and prevents selection changes in preview', async () => {
31
+ const { RuntimeAuthoringOverlay } = await loadOverlay();
32
+ const selected: (string | undefined)[] = [];
33
+ const edit = RuntimeAuthoringOverlay({
34
+ children: <target />,
35
+ mode: 'edit',
36
+ onSelectionChange: (componentId) => selected.push(componentId),
37
+ selectedComponentId: 'target-button',
38
+ });
39
+ const preview = RuntimeAuthoringOverlay({ children: <target />, mode: 'preview' });
40
+ const editProvider = readProvider(edit);
41
+ const previewProvider = readProvider(preview);
42
+
43
+ editProvider.props.onSelectionChange(['replacement']);
44
+
45
+ expect(editProvider.props.disabled).toBe(false);
46
+ expect(editProvider.props.selectedIds).toEqual(['target-button']);
47
+ expect(previewProvider.props.disabled).toBe(true);
48
+ expect(selected).toEqual(['replacement']);
49
+ });
50
+
51
+ test('uses Runtime identity, hit testing and one stable wrapper in both modes', async () => {
52
+ const { createRuntimeAuthoringOverlayAdapter } = await loadOverlay();
53
+ const edit = createRuntimeAuthoringOverlayAdapter({ mode: 'edit' });
54
+ const preview = createRuntimeAuthoringOverlayAdapter({ mode: 'preview' });
55
+ const args = { isRoot: false, node, rendered: <target /> };
56
+ const editNode = edit.wrapNode(args);
57
+ const previewNode = preview.wrapNode(args);
58
+
59
+ expect(edit.getComponentId(node)).toBe('target-button');
60
+ expect(edit.hitTest({ componentId: 'target-button', input: {}, node })).toBe(true);
61
+ expect(preview.hitTest({ componentId: 'target-button', input: {}, node })).toBe(false);
62
+ expect(isValidElement(editNode) && isValidElement(previewNode) && editNode.type).toBe(
63
+ previewNode.type,
64
+ );
65
+ });
66
+ });
67
+
68
+ /*** Reads the ZORA selection provider from a direct overlay result without mounting native controls. */
69
+ function readProvider(element: ReactElement): ReactElement<{
70
+ readonly disabled: boolean;
71
+ readonly onSelectionChange: (ids: readonly string[]) => void;
72
+ readonly selectedIds: readonly string[];
73
+ }> {
74
+ if (!isValidElement(element))
75
+ throw new Error('Runtime authoring overlay must return a provider.');
76
+ return element as ReactElement<{
77
+ readonly disabled: boolean;
78
+ readonly onSelectionChange: (ids: readonly string[]) => void;
79
+ readonly selectedIds: readonly string[];
80
+ }>;
81
+ }
82
+
83
+ /*** Loads the overlay with inert platform controls so this unit test stays at ZORA's public boundary. */
84
+ async function loadOverlay(): Promise<LoadedOverlay> {
85
+ const build = await Bun.build({
86
+ entrypoints: [new URL('./RuntimeAuthoringOverlay.tsx', import.meta.url).pathname],
87
+ target: 'bun',
88
+ plugins: [
89
+ {
90
+ name: 'inert-runtime-authoring-overlay-controls',
91
+ setup(builder) {
92
+ builder.onResolve(
93
+ {
94
+ filter: /@ankhorage\/surface|SelectionProvider|layout\/public|useZoraTheme/u,
95
+ },
96
+ ({ path }) => ({ path, namespace: 'inert-runtime-authoring-overlay-controls' }),
97
+ );
98
+ builder.onLoad(
99
+ { filter: /.*/u, namespace: 'inert-runtime-authoring-overlay-controls' },
100
+ () => ({
101
+ loader: 'js',
102
+ contents: `export const Pressable='Pressable', View='View', SelectionProvider='SelectionProvider',
103
+ useSelection=()=>({isSelected:()=>false,select:()=>undefined}),
104
+ useZoraTheme=()=>({theme:{semantics:{highlight:'highlight'}}});`,
105
+ }),
106
+ );
107
+ },
108
+ },
109
+ ],
110
+ });
111
+ if (!build.success || !build.outputs[0]) {
112
+ throw new Error(build.logs.map((log) => log.message).join('\n'));
113
+ }
114
+ return (await import(
115
+ `data:text/javascript;base64,${Buffer.from(await build.outputs[0].text()).toString('base64')}`
116
+ )) as LoadedOverlay;
117
+ }