@ankhorage/zora 28.7.4 → 28.8.1

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 (36) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.d.ts +8 -0
  4. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.d.ts.map +1 -0
  5. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.js +46 -0
  6. package/dist/features/selection/adapters/inbound/RuntimeAuthoringOverlay.js.map +1 -0
  7. package/dist/features/selection/public.d.ts +2 -1
  8. package/dist/features/selection/public.d.ts.map +1 -1
  9. package/dist/features/selection/public.js +1 -0
  10. package/dist/features/selection/public.js.map +1 -1
  11. package/dist/readerFree.d.ts +2 -2
  12. package/dist/readerFree.d.ts.map +1 -1
  13. package/dist/readerFree.js +1 -1
  14. package/dist/readerFree.js.map +1 -1
  15. package/dist/types/selection.d.ts +12 -0
  16. package/dist/types/selection.d.ts.map +1 -1
  17. package/dist/types/selection.js.map +1 -1
  18. package/package.json +3 -3
  19. package/src/features/registry/registry.test.ts +1 -0
  20. package/src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.test.tsx +154 -0
  21. package/src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.tsx +94 -0
  22. package/src/features/selection/public.ts +6 -0
  23. package/src/readerFree.ts +9 -1
  24. package/src/types/selection.ts +14 -0
  25. package/web-dist/chunks/{Accordion-se0pee16.js → Accordion-3e60xwvy.js} +24 -7
  26. package/web-dist/components/matrix-grid/MatrixGrid.js +2 -1
  27. package/web-dist/components/reader/Reader.js +1 -1
  28. package/web-dist/components/runtime-authoring-overlay/RuntimeAuthoringOverlay.d.ts +7 -0
  29. package/web-dist/components/runtime-authoring-overlay/RuntimeAuthoringOverlay.js +11 -0
  30. package/web-dist/components/runtime-authoring-overlay/RuntimeAuthoringOverlay.types-0.d.ts +16 -0
  31. package/web-dist/components/runtime-authoring-overlay/index.d.ts +2 -0
  32. package/web-dist/components/runtime-authoring-overlay/index.js +2 -0
  33. package/web-dist/components/selectable-item/SelectableItem.js +3 -1
  34. package/web-dist/components/selection-provider/SelectionProvider.js +3 -1
  35. package/web-dist/components/tree-item/TreeItem.js +1 -1
  36. package/web-dist/manifest.json +29 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 28.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 59667d7: Prevent runtime authoring selection wrappers from nesting interactive web controls.
8
+
9
+ ## 28.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 3daadc0: Add a controlled Runtime authoring overlay for generic rendered-node selection and highlighting.
14
+
3
15
  ## 28.7.4
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.4](././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.1](././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
 
@@ -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="none" 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;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,CAAC;QACR,GAAG,EAAE,CAAC;KACP;IACD,OAAO,EAAE,EAAE,QAAQ,EAAE,UAAmB,EAAE;CAC3C,CAAC","sourcesContent":["import type {\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=\"none\"\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,E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AAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,YAAY,EACV,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,WAAW,GACZ,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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BAA4B,CAAC;AACpC,OAAO,EACL,GAAG,EACH,OAAO,EAEP,QAAQ,EAGR,IAAI,GAEL,MAAM,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 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,M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,EACb,iBAAiB,GAClB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,GAAG,EACH,OAAO,EAEP,QAAQ,EAGR,IAAI,GAEL,MAAM,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,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KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,KAAK,EAAE,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC,CAAC;CAC/E;AAED,4FAA4F;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.4",
4
+ "version": "28.8.1",
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,8 +193,8 @@
193
193
  "version-packages": "ankhorage-changeset version"
194
194
  },
195
195
  "devDependencies": {
196
- "@ankhorage/devtools": "^2.12.20",
197
- "@ankhorage/paradox": "^0.6.2",
196
+ "@ankhorage/devtools": "^2.12.22",
197
+ "@ankhorage/paradox": "^0.7.0",
198
198
  "@react-native-vector-icons/fontawesome": "^14.0.0",
199
199
  "@react-native-vector-icons/fontawesome5": "^14.0.0",
200
200
  "@react-native-vector-icons/fontawesome6": "^14.0.0",
@@ -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,154 @@
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 and a nonsemantic selection 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
+ expect(readWrappedNode(editNode).props.accessibilityRole).toBe('none');
66
+ expect(readWrappedNode(previewNode).props.accessibilityRole).toBe('none');
67
+ });
68
+
69
+ test('selects the hit target only in edit mode', async () => {
70
+ const { createRuntimeAuthoringOverlayAdapter } = await loadOverlay();
71
+ const selected = globalThis as typeof globalThis & {
72
+ runtimeAuthoringOverlaySelections?: string[];
73
+ };
74
+ selected.runtimeAuthoringOverlaySelections = [];
75
+ const args = { isRoot: false, node, rendered: <target /> };
76
+ const editNode = createRuntimeAuthoringOverlayAdapter({ mode: 'edit' }).wrapNode(args);
77
+ const previewNode = createRuntimeAuthoringOverlayAdapter({ mode: 'preview' }).wrapNode(args);
78
+
79
+ readWrappedNode(editNode).props.onPress({});
80
+ readWrappedNode(previewNode).props.onPress({});
81
+
82
+ expect(selected.runtimeAuthoringOverlaySelections).toEqual(['target-button']);
83
+ delete selected.runtimeAuthoringOverlaySelections;
84
+ });
85
+ });
86
+
87
+ /*** Reads the ZORA selection provider from a direct overlay result without mounting native controls. */
88
+ function readProvider(element: ReactElement): ReactElement<{
89
+ readonly disabled: boolean;
90
+ readonly onSelectionChange: (ids: readonly string[]) => void;
91
+ readonly selectedIds: readonly string[];
92
+ }> {
93
+ if (!isValidElement(element))
94
+ throw new Error('Runtime authoring overlay must return a provider.');
95
+ return element as ReactElement<{
96
+ readonly disabled: boolean;
97
+ readonly onSelectionChange: (ids: readonly string[]) => void;
98
+ readonly selectedIds: readonly string[];
99
+ }>;
100
+ }
101
+
102
+ /*** Renders the stable wrapper with inert controls so its semantic role can be asserted without mounting. */
103
+ function readWrappedNode(element: ReactElement): ReactElement<{
104
+ readonly accessibilityRole: string;
105
+ readonly onPress: (event: unknown) => void;
106
+ }> {
107
+ if (typeof element.type !== 'function') {
108
+ throw new Error('Runtime authoring adapter must wrap each identified node.');
109
+ }
110
+ return element.type({
111
+ ...element.props,
112
+ component: { componentId: node.id, node },
113
+ select: () => true,
114
+ }) as ReactElement<{
115
+ readonly accessibilityRole: string;
116
+ readonly onPress: (event: unknown) => void;
117
+ }>;
118
+ }
119
+
120
+ /*** Loads the overlay with inert platform controls so this unit test stays at ZORA's public boundary. */
121
+ async function loadOverlay(): Promise<LoadedOverlay> {
122
+ const build = await Bun.build({
123
+ entrypoints: [new URL('./RuntimeAuthoringOverlay.tsx', import.meta.url).pathname],
124
+ target: 'bun',
125
+ plugins: [
126
+ {
127
+ name: 'inert-runtime-authoring-overlay-controls',
128
+ setup(builder) {
129
+ builder.onResolve(
130
+ {
131
+ filter: /@ankhorage\/surface|SelectionProvider|layout\/public|useZoraTheme/u,
132
+ },
133
+ ({ path }) => ({ path, namespace: 'inert-runtime-authoring-overlay-controls' }),
134
+ );
135
+ builder.onLoad(
136
+ { filter: /.*/u, namespace: 'inert-runtime-authoring-overlay-controls' },
137
+ () => ({
138
+ loader: 'js',
139
+ contents: `export const Pressable='Pressable', View='View', SelectionProvider='SelectionProvider',
140
+ useSelection=()=>({isSelected:()=>false,select:(id)=>globalThis.runtimeAuthoringOverlaySelections?.push(id)}),
141
+ useZoraTheme=()=>({theme:{semantics:{highlight:'highlight'}}});`,
142
+ }),
143
+ );
144
+ },
145
+ },
146
+ ],
147
+ });
148
+ if (!build.success || !build.outputs[0]) {
149
+ throw new Error(build.logs.map((log) => log.message).join('\n'));
150
+ }
151
+ return (await import(
152
+ `data:text/javascript;base64,${Buffer.from(await build.outputs[0].text()).toString('base64')}`
153
+ )) as LoadedOverlay;
154
+ }
@@ -0,0 +1,94 @@
1
+ import type {
2
+ RuntimeAuthoringOverlayAdapter,
3
+ RuntimeAuthoringOverlayNodeArgs,
4
+ } from '@ankhorage/runtime';
5
+ import { Pressable } from '@ankhorage/surface';
6
+ import React from 'react';
7
+
8
+ import type {
9
+ CreateRuntimeAuthoringOverlayAdapterOptions,
10
+ RuntimeAuthoringOverlayProps,
11
+ } from '../../../../types/selection';
12
+ import { View } from '../../../layout/public';
13
+ import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
14
+ import { SelectionProvider, useSelection } from './SelectionProvider';
15
+
16
+ /*** Provides controlled, single-node selection to Runtime-rendered content without creating a second renderer tree. */
17
+ export function RuntimeAuthoringOverlay({
18
+ children,
19
+ mode,
20
+ onSelectionChange,
21
+ selectedComponentId,
22
+ }: RuntimeAuthoringOverlayProps) {
23
+ return (
24
+ <SelectionProvider
25
+ disabled={mode === 'preview'}
26
+ mode="single"
27
+ onSelectionChange={(ids) => onSelectionChange?.(ids[0])}
28
+ selectedIds={selectedComponentId === undefined ? [] : [selectedComponentId]}
29
+ >
30
+ {children}
31
+ </SelectionProvider>
32
+ );
33
+ }
34
+
35
+ /*** Creates ZORA's visual and input adapter for Runtime's generic authoring-overlay hook. */
36
+ export function createRuntimeAuthoringOverlayAdapter({
37
+ mode,
38
+ }: CreateRuntimeAuthoringOverlayAdapterOptions): RuntimeAuthoringOverlayAdapter {
39
+ return {
40
+ mode,
41
+ getComponentId: (node) => node.id,
42
+ hitTest: () => mode === 'edit',
43
+ wrapNode: (args) => <RuntimeAuthoringOverlayNode {...args} mode={mode} />,
44
+ };
45
+ }
46
+
47
+ /*** Wraps one rendered target node with edit-mode selection input while retaining its subtree across modes. */
48
+ function RuntimeAuthoringOverlayNode({
49
+ component,
50
+ mode,
51
+ rendered,
52
+ select,
53
+ }: RuntimeAuthoringOverlayNodeArgs & { readonly mode: 'edit' | 'preview' }) {
54
+ const { theme } = useZoraTheme();
55
+ const selection = useSelection();
56
+ const selected = selection.isSelected(component.componentId);
57
+ const handlePress = (event: unknown) => {
58
+ if (mode !== 'edit' || !select(event)) return;
59
+ selection.select(component.componentId);
60
+ };
61
+
62
+ return (
63
+ <Pressable
64
+ accessibilityLabel={`Select ${component.node.type}`}
65
+ accessibilityRole="none"
66
+ accessibilityState={{ selected }}
67
+ interactionPolicy={mode === 'edit' ? 'enabled' : 'passive'}
68
+ onPress={handlePress}
69
+ style={styles.wrapper}
70
+ testID={`runtime-authoring-node-${component.componentId}`}
71
+ >
72
+ {rendered}
73
+ {selected ? (
74
+ <View
75
+ borderColor={theme.semantics.highlight}
76
+ borderWidth={2}
77
+ pointerEvents="none"
78
+ style={styles.highlight}
79
+ />
80
+ ) : null}
81
+ </Pressable>
82
+ );
83
+ }
84
+
85
+ const styles = {
86
+ highlight: {
87
+ bottom: 0,
88
+ left: 0,
89
+ position: 'absolute' as const,
90
+ right: 0,
91
+ top: 0,
92
+ },
93
+ wrapper: { position: 'relative' as const },
94
+ };
@@ -1,4 +1,6 @@
1
1
  export type {
2
+ CreateRuntimeAuthoringOverlayAdapterOptions,
3
+ RuntimeAuthoringOverlayProps,
2
4
  SelectableItemProps,
3
5
  SelectableItemState,
4
6
  SelectionMode,
@@ -6,6 +8,10 @@ export type {
6
8
  SelectionTrigger,
7
9
  UseSelectionResult,
8
10
  } from '../../types/selection';
11
+ export {
12
+ createRuntimeAuthoringOverlayAdapter,
13
+ RuntimeAuthoringOverlay,
14
+ } from './adapters/inbound/RuntimeAuthoringOverlay';
9
15
  export { SelectableItem } from './adapters/inbound/SelectableItem';
10
16
  export { SelectionProvider, useSelection } from './adapters/inbound/SelectionProvider';
11
17
  export { resolveSelectionEventIntent } from './application/resolveSelectionEventIntent';
package/src/readerFree.ts CHANGED
@@ -433,6 +433,8 @@ export {
433
433
  type SectionHeaderProps,
434
434
  } from './features/section/public';
435
435
  export type {
436
+ CreateRuntimeAuthoringOverlayAdapterOptions,
437
+ RuntimeAuthoringOverlayProps,
436
438
  SelectableItemProps,
437
439
  SelectableItemState,
438
440
  SelectionIntent,
@@ -441,7 +443,13 @@ export type {
441
443
  SelectionTrigger,
442
444
  UseSelectionResult,
443
445
  } from './features/selection/public';
444
- export { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';
446
+ export {
447
+ createRuntimeAuthoringOverlayAdapter,
448
+ RuntimeAuthoringOverlay,
449
+ SelectableItem,
450
+ SelectionProvider,
451
+ useSelection,
452
+ } from './features/selection/public';
445
453
  export {
446
454
  Skeleton,
447
455
  SkeletonCard,
@@ -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';
@@ -49,3 +50,16 @@ export interface SelectableItemProps extends ZoraBaseProps {
49
50
  interactionPolicy?: InteractionPolicy;
50
51
  children: React.ReactNode | ((state: SelectableItemState) => React.ReactNode);
51
52
  }
53
+
54
+ /** Controls generic Runtime node selection without assigning application policy to ZORA. */
55
+ export interface RuntimeAuthoringOverlayProps {
56
+ children: React.ReactNode;
57
+ mode: RuntimeAuthoringMode;
58
+ selectedComponentId?: string;
59
+ onSelectionChange?: (componentId: string | undefined) => void;
60
+ }
61
+
62
+ /** Creates Runtime's toolkit-neutral authoring adapter from ZORA's controlled visual overlay. */
63
+ export interface CreateRuntimeAuthoringOverlayAdapterOptions {
64
+ mode: RuntimeAuthoringMode;
65
+ }
@@ -9,10 +9,8 @@ import {
9
9
  applySelectionIntent
10
10
  } from "./Accordion-n4et7etk.js";
11
11
 
12
- // src/features/selection/adapters/inbound/SelectableItem.tsx
12
+ // src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.tsx
13
13
  import { Pressable } from "@ankhorage/surface/web";
14
- import React2 from "react";
15
- import { Platform } from "react-native-web";
16
14
 
17
15
  // src/features/selection/adapters/inbound/SelectionProvider.tsx
18
16
  import React from "react";
@@ -139,8 +137,27 @@ function SelectionProvider2({
139
137
  });
140
138
  }
141
139
 
140
+ // src/features/selection/adapters/inbound/RuntimeAuthoringOverlay.tsx
141
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
142
+ function RuntimeAuthoringOverlay2({
143
+ children,
144
+ mode,
145
+ onSelectionChange,
146
+ selectedComponentId
147
+ }) {
148
+ return /* @__PURE__ */ jsx2(SelectionProvider2, {
149
+ disabled: mode === "preview",
150
+ mode: "single",
151
+ onSelectionChange: (ids) => onSelectionChange?.(ids[0]),
152
+ selectedIds: selectedComponentId === undefined ? [] : [selectedComponentId],
153
+ children
154
+ });
155
+ }
142
156
  // src/features/selection/adapters/inbound/SelectableItem.tsx
143
- import { jsx as jsx2, Fragment } from "react/jsx-runtime";
157
+ import { Pressable as Pressable2 } from "@ankhorage/surface/web";
158
+ import React2 from "react";
159
+ import { Platform } from "react-native-web";
160
+ import { jsx as jsx3, Fragment } from "react/jsx-runtime";
144
161
  function resolveTrigger(trigger) {
145
162
  return trigger ?? "manual";
146
163
  }
@@ -191,7 +208,7 @@ function SelectableItemInner({
191
208
  }), [activate, clear, id, resolvedDisabled, select, selected, selection.mode, toggle]);
192
209
  const content = isRenderProp(children) ? children(itemState) : children;
193
210
  if (resolvedTrigger === "manual")
194
- return /* @__PURE__ */ jsx2(Fragment, {
211
+ return /* @__PURE__ */ jsx3(Fragment, {
195
212
  children: content
196
213
  });
197
214
  const handleActivation = (event) => {
@@ -200,7 +217,7 @@ function SelectableItemInner({
200
217
  return;
201
218
  selection.activate(id, resolveSelectionEventIntent(event, Platform.OS === "web" ? "pointer" : "touch"));
202
219
  };
203
- return /* @__PURE__ */ jsx2(Pressable, {
220
+ return /* @__PURE__ */ jsx3(Pressable2, {
204
221
  interactionPolicy,
205
222
  accessibilityRole: "button",
206
223
  accessibilityState: { disabled: resolvedDisabled, selected },
@@ -210,4 +227,4 @@ function SelectableItemInner({
210
227
  children: content
211
228
  });
212
229
  }
213
- export { SelectionProvider2, SelectableItem2 };
230
+ export { SelectionProvider2, RuntimeAuthoringOverlay2, SelectableItem2 };
@@ -6,10 +6,11 @@ import"../../chunks/Accordion-e8tapf5a.js";
6
6
  import {
7
7
  withZoraThemeScope
8
8
  } from "../../chunks/Accordion-zhgty1ae.js";
9
- import"../../chunks/Accordion-se0pee16.js";
9
+ import"../../chunks/Accordion-k9n1yse4.js";
10
10
  import {
11
11
  useZoraTheme2
12
12
  } from "../../chunks/Accordion-x1ze1wvk.js";
13
+ import"../../chunks/Accordion-3e60xwvy.js";
13
14
  import {
14
15
  isRecord,
15
16
  resolveSelectionEventIntent
@@ -58,7 +58,7 @@ import {
58
58
  __preload,
59
59
  __chunks
60
60
  } from "../../chunks/Accordion-0g45tq8n.js";
61
- __chunks(import.meta.url,["2dh1ry5j","2389epxb","pnpxcrwx","rg94gstv","z23c32jh","50yy1az9","hszzyv5p","y8p5hk56","x15y26r7","1t98py7y","m8ts96nj","8se5z2w3","mjvegqjq","8gxjy9na","ykk40jz9","e8tapf5a","zhgty1ae","x1ze1wvk","fkftnxgw","e6ettgh0","k9n1yse4","t9w365ke","vwqf8kn1","6gc0jw1n","casb2ndy","25v2vczc","pr1tv6jx","0g45tq8n","961ncx4e"],[["./Reader.js",14,15,16,17,18,19,20,21,22,23,24,25,26,27],["../../chunks/ReadiumCSS-after.css-2389epxb.js"],["../../chunks/ReadiumCSS-before.css-pnpxcrwx.js"],["../../chunks/ReadiumCSS-default.css-rg94gstv.js"],["../../chunks/ReadiumCSS-after.css-z23c32jh.js"],["../../chunks/ReadiumCSS-ebpaj_fonts_patch.css-50yy1az9.js"],["../../chunks/ReadiumCSS-before.css-hszzyv5p.js"],["../../chunks/ReadiumCSS-default.css-y8p5hk56.js"],["../../chunks/ReadiumCSS-after.css-x15y26r7.js"],["../../chunks/ReadiumCSS-before.css-1t98py7y.js"],["../../chunks/ReadiumCSS-default.css-m8ts96nj.js"],["../../chunks/ReadiumCSS-after.css-8se5z2w3.js"],["../../chunks/ReadiumCSS-before.css-mjvegqjq.js"],["../../chunks/ReadiumCSS-default.css-8gxjy9na.js"],["../../chunks/Accordion-ykk40jz9.js"],["../../chunks/Accordion-e8tapf5a.js"],["../../chunks/Accordion-zhgty1ae.js",15],["../../chunks/Accordion-x1ze1wvk.js"],["../../chunks/Accordion-fkftnxgw.js",17],["../../chunks/Accordion-e6ettgh0.js",16,18,20],["../../chunks/Accordion-k9n1yse4.js",16],["../../chunks/Accordion-t9w365ke.js",16],["../../chunks/Accordion-vwqf8kn1.js",16,21,20,17,28],["../../chunks/Accordion-6gc0jw1n.js",16,17,18],["../../chunks/Accordion-casb2ndy.js",16,17,19,20,22,23],["../../chunks/Accordion-25v2vczc.js",16,20,17,23],["../../chunks/Accordion-pr1tv6jx.js",16],["../../chunks/Accordion-0g45tq8n.js"],["../../chunks/Accordion-961ncx4e.js"]],0);
61
+ __chunks(import.meta.url,["xn485nxf","8gxjy9na","2389epxb","pnpxcrwx","rg94gstv","z23c32jh","50yy1az9","hszzyv5p","y8p5hk56","x15y26r7","1t98py7y","m8ts96nj","8se5z2w3","mjvegqjq","ykk40jz9","e8tapf5a","zhgty1ae","x1ze1wvk","fkftnxgw","e6ettgh0","k9n1yse4","t9w365ke","vwqf8kn1","6gc0jw1n","casb2ndy","25v2vczc","pr1tv6jx","0g45tq8n","961ncx4e"],[["./Reader.js",14,15,16,17,18,19,20,21,22,23,24,25,26,27],["../../chunks/ReadiumCSS-default.css-8gxjy9na.js"],["../../chunks/ReadiumCSS-after.css-2389epxb.js"],["../../chunks/ReadiumCSS-before.css-pnpxcrwx.js"],["../../chunks/ReadiumCSS-default.css-rg94gstv.js"],["../../chunks/ReadiumCSS-after.css-z23c32jh.js"],["../../chunks/ReadiumCSS-ebpaj_fonts_patch.css-50yy1az9.js"],["../../chunks/ReadiumCSS-before.css-hszzyv5p.js"],["../../chunks/ReadiumCSS-default.css-y8p5hk56.js"],["../../chunks/ReadiumCSS-after.css-x15y26r7.js"],["../../chunks/ReadiumCSS-before.css-1t98py7y.js"],["../../chunks/ReadiumCSS-default.css-m8ts96nj.js"],["../../chunks/ReadiumCSS-after.css-8se5z2w3.js"],["../../chunks/ReadiumCSS-before.css-mjvegqjq.js"],["../../chunks/Accordion-ykk40jz9.js"],["../../chunks/Accordion-e8tapf5a.js"],["../../chunks/Accordion-zhgty1ae.js",15],["../../chunks/Accordion-x1ze1wvk.js"],["../../chunks/Accordion-fkftnxgw.js",17],["../../chunks/Accordion-e6ettgh0.js",16,18,20],["../../chunks/Accordion-k9n1yse4.js",16],["../../chunks/Accordion-t9w365ke.js",16],["../../chunks/Accordion-vwqf8kn1.js",16,21,20,17,28],["../../chunks/Accordion-6gc0jw1n.js",16,17,18],["../../chunks/Accordion-casb2ndy.js",16,17,19,20,22,23],["../../chunks/Accordion-25v2vczc.js",16,20,17,23],["../../chunks/Accordion-pr1tv6jx.js",16],["../../chunks/Accordion-0g45tq8n.js"],["../../chunks/Accordion-961ncx4e.js"]],0);
62
62
 
63
63
  // node_modules/@ankhorage/reader/dist/features/reader/adapters/ReaderView.web.js
64
64
  import { jsx as _jsx2 } from "react/jsx-runtime";
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+
3
+ import type { CreateRuntimeAuthoringOverlayAdapterOptions, RuntimeAuthoringOverlayProps } from './RuntimeAuthoringOverlay.types-0.js';
4
+
5
+ /*** Provides controlled, single-node selection to Runtime-rendered content without creating a second renderer tree. */
6
+ export declare function RuntimeAuthoringOverlay({ children, mode, onSelectionChange, selectedComponentId, }: RuntimeAuthoringOverlayProps): React.JSX.Element;
7
+ export type { CreateRuntimeAuthoringOverlayAdapterOptions, RuntimeAuthoringOverlayProps } from './RuntimeAuthoringOverlay.types-0.js';
@@ -0,0 +1,11 @@
1
+ 'use client';
2
+ import"../../chunks/Accordion-e8tapf5a.js";
3
+ import"../../chunks/Accordion-zhgty1ae.js";
4
+ import"../../chunks/Accordion-k9n1yse4.js";
5
+ import"../../chunks/Accordion-x1ze1wvk.js";
6
+ import {
7
+ RuntimeAuthoringOverlay2
8
+ } from "../../chunks/Accordion-3e60xwvy.js";
9
+ export {
10
+ RuntimeAuthoringOverlay2 as RuntimeAuthoringOverlay
11
+ };
@@ -0,0 +1,16 @@
1
+ import type { RuntimeAuthoringMode } from '@ankhorage/runtime';
2
+
3
+ import type React from 'react';
4
+
5
+ /** Controls generic Runtime node selection without assigning application policy to ZORA. */
6
+ export interface RuntimeAuthoringOverlayProps {
7
+ children: React.ReactNode;
8
+ mode: RuntimeAuthoringMode;
9
+ selectedComponentId?: string;
10
+ onSelectionChange?: (componentId: string | undefined) => void;
11
+ }
12
+
13
+ /** Creates Runtime's toolkit-neutral authoring adapter from ZORA's controlled visual overlay. */
14
+ export interface CreateRuntimeAuthoringOverlayAdapterOptions {
15
+ mode: RuntimeAuthoringMode;
16
+ }
@@ -0,0 +1,2 @@
1
+ export { RuntimeAuthoringOverlay } from './RuntimeAuthoringOverlay.js';
2
+ export type { CreateRuntimeAuthoringOverlayAdapterOptions, RuntimeAuthoringOverlayProps } from './RuntimeAuthoringOverlay.js';
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ export { RuntimeAuthoringOverlay } from './RuntimeAuthoringOverlay.js';
@@ -1,9 +1,11 @@
1
1
  'use client';
2
2
  import"../../chunks/Accordion-e8tapf5a.js";
3
3
  import"../../chunks/Accordion-zhgty1ae.js";
4
+ import"../../chunks/Accordion-k9n1yse4.js";
5
+ import"../../chunks/Accordion-x1ze1wvk.js";
4
6
  import {
5
7
  SelectableItem2
6
- } from "../../chunks/Accordion-se0pee16.js";
8
+ } from "../../chunks/Accordion-3e60xwvy.js";
7
9
  export {
8
10
  SelectableItem2 as SelectableItem
9
11
  };
@@ -1,9 +1,11 @@
1
1
  'use client';
2
2
  import"../../chunks/Accordion-e8tapf5a.js";
3
3
  import"../../chunks/Accordion-zhgty1ae.js";
4
+ import"../../chunks/Accordion-k9n1yse4.js";
5
+ import"../../chunks/Accordion-x1ze1wvk.js";
4
6
  import {
5
7
  SelectionProvider2
6
- } from "../../chunks/Accordion-se0pee16.js";
8
+ } from "../../chunks/Accordion-3e60xwvy.js";
7
9
  export {
8
10
  SelectionProvider2 as SelectionProvider
9
11
  };
@@ -19,7 +19,7 @@ import {
19
19
  ListItem2
20
20
  } from "../../chunks/Accordion-vbz1mjm6.js";
21
21
  import"../../chunks/Accordion-yca8r7kx.js";
22
- import"../../chunks/Accordion-se0pee16.js";
22
+ import"../../chunks/Accordion-3e60xwvy.js";
23
23
  import {
24
24
  resolveSelectionEventIntent
25
25
  } from "../../chunks/Accordion-d15mjc4n.js";
@@ -1813,10 +1813,11 @@
1813
1813
  "components/matrix-grid/index.js",
1814
1814
  "components/matrix-grid/index.d.ts",
1815
1815
  "chunks/Accordion-0zk0xp73.js",
1816
+ "chunks/Accordion-3e60xwvy.js",
1816
1817
  "chunks/Accordion-d15mjc4n.js",
1817
1818
  "chunks/Accordion-e8tapf5a.js",
1819
+ "chunks/Accordion-k9n1yse4.js",
1818
1820
  "chunks/Accordion-n4et7etk.js",
1819
- "chunks/Accordion-se0pee16.js",
1820
1821
  "chunks/Accordion-tnyqv1xv.js",
1821
1822
  "chunks/Accordion-x1ze1wvk.js",
1822
1823
  "chunks/Accordion-zhgty1ae.js"
@@ -2457,6 +2458,26 @@
2457
2458
  ],
2458
2459
  "sourceKind": "public"
2459
2460
  },
2461
+ {
2462
+ "component": "runtime-authoring-overlay",
2463
+ "exportName": "RuntimeAuthoringOverlay",
2464
+ "featurePath": "selection",
2465
+ "files": [
2466
+ "components/runtime-authoring-overlay/RuntimeAuthoringOverlay.js",
2467
+ "components/runtime-authoring-overlay/RuntimeAuthoringOverlay.d.ts",
2468
+ "components/runtime-authoring-overlay/RuntimeAuthoringOverlay.types-0.d.ts",
2469
+ "components/runtime-authoring-overlay/index.js",
2470
+ "components/runtime-authoring-overlay/index.d.ts",
2471
+ "chunks/Accordion-3e60xwvy.js",
2472
+ "chunks/Accordion-d15mjc4n.js",
2473
+ "chunks/Accordion-e8tapf5a.js",
2474
+ "chunks/Accordion-k9n1yse4.js",
2475
+ "chunks/Accordion-n4et7etk.js",
2476
+ "chunks/Accordion-x1ze1wvk.js",
2477
+ "chunks/Accordion-zhgty1ae.js"
2478
+ ],
2479
+ "sourceKind": "public"
2480
+ },
2460
2481
  {
2461
2482
  "component": "scan-overlay",
2462
2483
  "exportName": "ScanOverlay",
@@ -2657,10 +2678,12 @@
2657
2678
  "components/selectable-item/SelectableItem.types-0.d.ts",
2658
2679
  "components/selectable-item/index.js",
2659
2680
  "components/selectable-item/index.d.ts",
2681
+ "chunks/Accordion-3e60xwvy.js",
2660
2682
  "chunks/Accordion-d15mjc4n.js",
2661
2683
  "chunks/Accordion-e8tapf5a.js",
2684
+ "chunks/Accordion-k9n1yse4.js",
2662
2685
  "chunks/Accordion-n4et7etk.js",
2663
- "chunks/Accordion-se0pee16.js",
2686
+ "chunks/Accordion-x1ze1wvk.js",
2664
2687
  "chunks/Accordion-zhgty1ae.js"
2665
2688
  ],
2666
2689
  "sourceKind": "public"
@@ -2675,10 +2698,12 @@
2675
2698
  "components/selection-provider/SelectionProvider.types-0.d.ts",
2676
2699
  "components/selection-provider/index.js",
2677
2700
  "components/selection-provider/index.d.ts",
2701
+ "chunks/Accordion-3e60xwvy.js",
2678
2702
  "chunks/Accordion-d15mjc4n.js",
2679
2703
  "chunks/Accordion-e8tapf5a.js",
2704
+ "chunks/Accordion-k9n1yse4.js",
2680
2705
  "chunks/Accordion-n4et7etk.js",
2681
- "chunks/Accordion-se0pee16.js",
2706
+ "chunks/Accordion-x1ze1wvk.js",
2682
2707
  "chunks/Accordion-zhgty1ae.js"
2683
2708
  ],
2684
2709
  "sourceKind": "public"
@@ -3248,6 +3273,7 @@
3248
3273
  "components/tree-item/TreeItem.types-0.d.ts",
3249
3274
  "components/tree-item/index.js",
3250
3275
  "components/tree-item/index.d.ts",
3276
+ "chunks/Accordion-3e60xwvy.js",
3251
3277
  "chunks/Accordion-6gc0jw1n.js",
3252
3278
  "chunks/Accordion-d15mjc4n.js",
3253
3279
  "chunks/Accordion-e6ettgh0.js",
@@ -3255,7 +3281,6 @@
3255
3281
  "chunks/Accordion-fkftnxgw.js",
3256
3282
  "chunks/Accordion-k9n1yse4.js",
3257
3283
  "chunks/Accordion-n4et7etk.js",
3258
- "chunks/Accordion-se0pee16.js",
3259
3284
  "chunks/Accordion-t9w365ke.js",
3260
3285
  "chunks/Accordion-vbz1mjm6.js",
3261
3286
  "chunks/Accordion-x1ze1wvk.js",