@ankhorage/zora 25.8.14 → 25.8.15

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 (46) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts +1 -1
  4. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts +4 -0
  5. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -0
  6. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +187 -0
  7. package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -0
  8. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts +1 -0
  9. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -1
  10. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +4 -185
  11. package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -1
  12. package/dist/features/registry/createZoraComponentRegistry.d.ts +4 -0
  13. package/dist/features/registry/createZoraComponentRegistry.d.ts.map +1 -0
  14. package/dist/features/registry/createZoraComponentRegistry.js +6 -0
  15. package/dist/features/registry/createZoraComponentRegistry.js.map +1 -0
  16. package/dist/features/registry/public.d.ts +2 -0
  17. package/dist/features/registry/public.d.ts.map +1 -1
  18. package/dist/features/registry/public.js +2 -0
  19. package/dist/features/registry/public.js.map +1 -1
  20. package/dist/features/registry/readerFreeRegistry.d.ts +3 -0
  21. package/dist/features/registry/readerFreeRegistry.d.ts.map +1 -0
  22. package/dist/features/registry/readerFreeRegistry.js +3 -0
  23. package/dist/features/registry/readerFreeRegistry.js.map +1 -0
  24. package/dist/index.d.ts +1 -126
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +1 -77
  27. package/dist/index.js.map +1 -1
  28. package/dist/readerFree.d.ts +129 -0
  29. package/dist/readerFree.d.ts.map +1 -0
  30. package/dist/readerFree.js +79 -0
  31. package/dist/readerFree.js.map +1 -0
  32. package/package.json +16 -1
  33. package/src/features/layout/public.test.ts +2 -1
  34. package/src/features/progress/adapters/inbound/ProgressRing.test.ts +6 -4
  35. package/src/features/reader/adapters/inbound/Reader.test.ts +1 -1
  36. package/src/features/reader/utils/resolveReaderProgress.test.ts +1 -1
  37. package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +236 -0
  38. package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +4 -233
  39. package/src/features/registry/createZoraComponentRegistry.ts +9 -0
  40. package/src/features/registry/public.ts +2 -0
  41. package/src/features/registry/readerFreeRegistry.ts +2 -0
  42. package/src/features/registry/registry.test.ts +36 -5
  43. package/src/features/uploader/public.test.ts +3 -2
  44. package/src/index.ts +1 -533
  45. package/src/interactionPolicy.test.ts +1 -1
  46. package/src/readerFree.ts +538 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 25.8.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 2e249fc: Add a Reader-free registry entrypoint so generated consumers can select Reader only when their manifest requires it.
8
+
3
9
  ## 25.8.14
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/zora
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v25.8.14](././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: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v25.8.15](././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: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
9
9
 
@@ -7,5 +7,5 @@ export declare function resolveButtonThemeRecipe(input: {
7
7
  readonly variant?: ZoraButtonVariant;
8
8
  readonly size?: ZoraControlSize;
9
9
  readonly themeFields: Readonly<Record<string, ThemeRecipeOverrideValue>>;
10
- }): Pick<import("@ankhorage/surface").ButtonProps, "variant" | "size" | "color">;
10
+ }): Pick<import("@ankhorage/surface").ButtonProps, "size" | "variant" | "color">;
11
11
  //# sourceMappingURL=resolveButtonThemeRecipe.d.ts.map
@@ -0,0 +1,4 @@
1
+ import type { ZoraComponentRegistry } from '../../types/registry';
2
+ /*** The core ZORA runtime component registry, excluding separately selected feature entries such as Reader. */
3
+ export declare const ZORA_BASE_COMPONENT_REGISTRY: ZoraComponentRegistry;
4
+ //# sourceMappingURL=ZORA_BASE_COMPONENT_REGISTRY.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZORA_BASE_COMPONENT_REGISTRY.d.ts","sourceRoot":"","sources":["../../../src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAuOlE,+GAA+G;AAC/G,eAAO,MAAM,4BAA4B,EAAE,qBAAqD,CAAC"}
@@ -0,0 +1,187 @@
1
+ import { Accordion, AccordionItem } from '../accordion/public';
2
+ import { ActivityIndicator } from '../activity-indicator/public';
3
+ import { AppBar } from '../app-bar/public';
4
+ import { AppHeader } from '../app-header/public';
5
+ import { AuthScreen, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, SignInForm, SignUpForm, } from '../auth/public';
6
+ import { Avatar, AvatarGroup } from '../avatar/public';
7
+ import { Badge } from '../badge/public';
8
+ import { BottomSheet } from '../bottom-sheet/public';
9
+ import { Breadcrumbs } from '../breadcrumbs/public';
10
+ import { Button, ButtonGroup, IconButton } from '../button/public';
11
+ import { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';
12
+ import { ChatListItem, MessageBubble } from '../chat/public';
13
+ import { ChessBoard, OpeningBook } from '../chess/public';
14
+ import { Chip, ChipGroup } from '../chip/public';
15
+ import { CollectionEditor } from '../collection-editor/public';
16
+ import { ContentRail } from '../content-rail/public';
17
+ import { DataTable } from '../data-table/public';
18
+ import { DatePicker } from '../date-picker/public';
19
+ import { Dialog } from '../dialog/public';
20
+ import { EmptyState } from '../empty-state/public';
21
+ import { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';
22
+ import { Checkbox, CheckboxGroup } from '../form/checkbox/public';
23
+ import { Field, Form, FormActions, FormError } from '../form/public';
24
+ import { Radio, RadioGroup } from '../form/radio/public';
25
+ import { SearchInput } from '../form/search-input/public';
26
+ import { Select } from '../form/select/public';
27
+ import { Switch } from '../form/switch/public';
28
+ import { TextInput } from '../form/text-input/public';
29
+ import { Game, GameEntity, GameField, GameInputZone, GameMeasurementProbe, GameOverlay, } from '../game/public';
30
+ import { Gradient } from '../gradient/public';
31
+ import { GridInteractions } from '../grid-interactions/public';
32
+ import { GridLineOverlay, GridRuler } from '../grid-rulers/public';
33
+ import { GridView, TileGrid } from '../grid-view/public';
34
+ import { Hero } from '../hero/public';
35
+ import { Icon } from '../icon/public';
36
+ import { Image } from '../image/public';
37
+ import { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';
38
+ import { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';
39
+ import { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';
40
+ import { MatrixGrid } from '../matrix-grid/public';
41
+ import { MissingElement } from '../missing-element/public';
42
+ import { Pagination } from '../pagination/public';
43
+ import { PaletteItem } from '../palette-item/public';
44
+ import { PopoverMenu } from '../popover-menu/public';
45
+ import { Progress, ProgressRing } from '../progress/public';
46
+ import { Rating } from '../rating/public';
47
+ import { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';
48
+ import { ScreenSection, SectionHeader } from '../section/public';
49
+ import { SelectableItem } from '../selection/public';
50
+ import { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';
51
+ import { SpatialGrid } from '../spatial-grid/public';
52
+ import { Surface } from '../surface/public';
53
+ import { CardBack, CardHand, PlayingCard, PokerTrainingTable, TabletopTable, } from '../tabletop/public';
54
+ import { Tab, TabList, TabPanel, Tabs } from '../tabs/public';
55
+ import { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';
56
+ import { TimeGrid } from '../time-grid/public';
57
+ import { TimePicker } from '../time-picker/public';
58
+ import { Timeline } from '../timeline/public';
59
+ import { Toast } from '../toast/public';
60
+ import { Toolbar } from '../toolbar/public';
61
+ import { TreeItem, TreeView } from '../tree-view/public';
62
+ import { Heading, Text } from '../typography/public';
63
+ import { Uploader } from '../uploader/public';
64
+ const _ZORA_BASE_COMPONENT_REGISTRY = {
65
+ Accordion,
66
+ AccordionItem,
67
+ ActivityIndicator,
68
+ AppBar,
69
+ AppHeader,
70
+ Avatar,
71
+ AvatarGroup,
72
+ Badge,
73
+ Breadcrumbs,
74
+ Button,
75
+ ButtonGroup,
76
+ Card,
77
+ Checkbox,
78
+ CheckboxGroup,
79
+ Chip,
80
+ ChipGroup,
81
+ DataTable,
82
+ DatePicker,
83
+ Dialog,
84
+ Form,
85
+ FormActions,
86
+ FormError,
87
+ Field,
88
+ Gradient,
89
+ Game,
90
+ GameEntity,
91
+ GameField,
92
+ GameInputZone,
93
+ GameMeasurementProbe,
94
+ GameOverlay,
95
+ Heading,
96
+ Icon,
97
+ IconButton,
98
+ Image,
99
+ KeyboardAvoidingView,
100
+ TextInput,
101
+ MediaCard,
102
+ MetricCard,
103
+ Pagination,
104
+ PopoverMenu,
105
+ Progress,
106
+ ProgressRing,
107
+ Radio,
108
+ RadioGroup,
109
+ Rating,
110
+ SearchInput,
111
+ Select,
112
+ Switch,
113
+ Skeleton,
114
+ SkeletonCard,
115
+ SkeletonList,
116
+ SkeletonText,
117
+ Tab,
118
+ TabList,
119
+ TabPanel,
120
+ Tabs,
121
+ Text,
122
+ TimePicker,
123
+ Toast,
124
+ Toolbar,
125
+ Uploader,
126
+ BottomSheet,
127
+ FlatList,
128
+ SectionList,
129
+ ScrollView,
130
+ View,
131
+ ThemeModeToggle,
132
+ Divider,
133
+ Grid,
134
+ Surface,
135
+ AppShell,
136
+ Screen,
137
+ ScreenSection,
138
+ AuthScreen,
139
+ ForgotPasswordForm,
140
+ OAuthProviderButton,
141
+ OAuthProviderList,
142
+ OtpForm,
143
+ SignInForm,
144
+ SignUpForm,
145
+ ChatListItem,
146
+ ChessBoard,
147
+ CollectionEditor,
148
+ ContentRail,
149
+ EmptyState,
150
+ Explorer,
151
+ FileExplorer,
152
+ GridLineOverlay,
153
+ GridRuler,
154
+ GridInteractions,
155
+ GridView,
156
+ TileGrid,
157
+ TimeGrid,
158
+ MatrixGrid,
159
+ MediaExplorer,
160
+ Hero,
161
+ List,
162
+ ListItem,
163
+ ListSection,
164
+ MessageBubble,
165
+ OpeningBook,
166
+ MissingElement,
167
+ PostCard,
168
+ ProductCard,
169
+ BarcodeScannerView,
170
+ CameraPermissionView,
171
+ ScanOverlay,
172
+ SectionHeader,
173
+ SelectableItem,
174
+ SpatialGrid,
175
+ PaletteItem,
176
+ CardBack,
177
+ CardHand,
178
+ PlayingCard,
179
+ TabletopTable,
180
+ PokerTrainingTable,
181
+ Timeline,
182
+ TreeItem,
183
+ TreeView,
184
+ };
185
+ /*** The core ZORA runtime component registry, excluding separately selected feature entries such as Reader. */
186
+ export const ZORA_BASE_COMPONENT_REGISTRY = _ZORA_BASE_COMPONENT_REGISTRY;
187
+ //# sourceMappingURL=ZORA_BASE_COMPONENT_REGISTRY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZORA_BASE_COMPONENT_REGISTRY.js","sourceR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;IACV,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,QAAQ;IACR,YAAY;IACZ,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,aAAa;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,cAAc;IACd,QAAQ;IACR,WAAW;IACX,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,QAAQ;IACR,QAAQ;IACR,QAAQ;CACgC,CAAC;AAE3C,+GAA+G;AAC/G,MAAM,CAAC,MAAM,4BAA4B,GAA0B,6BAA6B,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraComponentRegistry } from '../../types/registry';\nimport { Accordion, AccordionItem } from '../accordion/public';\nimport { ActivityIndicator } from '../activity-indicator/public';\nimport { AppBar } from '../app-bar/public';\nimport { AppHeader } from '../app-header/public';\nimport {\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from '../auth/public';\nimport { Avatar, AvatarGroup } from '../avatar/public';\nimport { Badge } from '../badge/public';\nimport { BottomSheet } from '../bottom-sheet/public';\nimport { Breadcrumbs } from '../breadcrumbs/public';\nimport { Button, ButtonGroup, IconButton } from '../button/public';\nimport { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';\nimport { ChatListItem, MessageBubble } from '../chat/public';\nimport { ChessBoard, OpeningBook } from '../chess/public';\nimport { Chip, ChipGroup } from '../chip/public';\nimport { CollectionEditor } from '../collection-editor/public';\nimport { ContentRail } from '../content-rail/public';\nimport { DataTable } from '../data-table/public';\nimport { DatePicker } from '../date-picker/public';\nimport { Dialog } from '../dialog/public';\nimport { EmptyState } from '../empty-state/public';\nimport { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';\nimport { Checkbox, CheckboxGroup } from '../form/checkbox/public';\nimport { Field, Form, FormActions, FormError } from '../form/public';\nimport { Radio, RadioGroup } from '../form/radio/public';\nimport { SearchInput } from '../form/search-input/public';\nimport { Select } from '../form/select/public';\nimport { Switch } from '../form/switch/public';\nimport { TextInput } from '../form/text-input/public';\nimport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from '../game/public';\nimport { Gradient } from '../gradient/public';\nimport { GridInteractions } from '../grid-interactions/public';\nimport { GridLineOverlay, GridRuler } from '../grid-rulers/public';\nimport { GridView, TileGrid } from '../grid-view/public';\nimport { Hero } from '../hero/public';\nimport { Icon } from '../icon/public';\nimport { Image } from '../image/public';\nimport { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';\nimport { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';\nimport { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';\nimport { MatrixGrid } from '../matrix-grid/public';\nimport { MissingElement } from '../missing-element/public';\nimport { Pagination } from '../pagination/public';\nimport { PaletteItem } from '../palette-item/public';\nimport { PopoverMenu } from '../popover-menu/public';\nimport { Progress, ProgressRing } from '../progress/public';\nimport { Rating } from '../rating/public';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';\nimport { ScreenSection, SectionHeader } from '../section/public';\nimport { SelectableItem } from '../selection/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';\nimport { SpatialGrid } from '../spatial-grid/public';\nimport { Surface } from '../surface/public';\nimport {\n CardBack,\n CardHand,\n PlayingCard,\n PokerTrainingTable,\n TabletopTable,\n} from '../tabletop/public';\nimport { Tab, TabList, TabPanel, Tabs } from '../tabs/public';\nimport { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';\nimport { TimeGrid } from '../time-grid/public';\nimport { TimePicker } from '../time-picker/public';\nimport { Timeline } from '../timeline/public';\nimport { Toast } from '../toast/public';\nimport { Toolbar } from '../toolbar/public';\nimport { TreeItem, TreeView } from '../tree-view/public';\nimport { Heading, Text } from '../typography/public';\nimport { Uploader } from '../uploader/public';\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_BASE_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_BASE_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_BASE_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_BASE_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_BASE_COMPONENT_REGISTRY = {\n Accordion,\n AccordionItem,\n ActivityIndicator,\n AppBar,\n AppHeader,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n Dialog,\n Form,\n FormActions,\n FormError,\n Field,\n Gradient,\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n MetricCard,\n Pagination,\n PopoverMenu,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchInput,\n Select,\n Switch,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tab,\n TabList,\n TabPanel,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ScrollView,\n View,\n ThemeModeToggle,\n Divider,\n Grid,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n ChessBoard,\n CollectionEditor,\n ContentRail,\n EmptyState,\n Explorer,\n FileExplorer,\n GridLineOverlay,\n GridRuler,\n GridInteractions,\n GridView,\n TileGrid,\n TimeGrid,\n MatrixGrid,\n MediaExplorer,\n Hero,\n List,\n ListItem,\n ListSection,\n MessageBubble,\n OpeningBook,\n MissingElement,\n PostCard,\n ProductCard,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SpatialGrid,\n PaletteItem,\n CardBack,\n CardHand,\n PlayingCard,\n TabletopTable,\n PokerTrainingTable,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\n/*** The core ZORA runtime component registry, excluding separately selected feature entries such as Reader. */\nexport const ZORA_BASE_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_BASE_COMPONENT_REGISTRY;\n"]}
@@ -1,3 +1,4 @@
1
1
  import type { ZoraComponentRegistry } from '../../types/registry';
2
+ /*** The complete ZORA runtime component registry, including the public Reader component. */
2
3
  export declare const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry;
3
4
  //# sourceMappingURL=ZORA_COMPONENT_REGISTRY.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZORA_COMPONENT_REGISTRY.d.ts","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAyOlE,eAAO,MAAM,uBAAuB,EAAE,qBAAgD,CAAC"}
1
+ {"version":3,"file":"ZORA_COMPONENT_REGISTRY.d.ts","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAIlE,4FAA4F;AAC5F,eAAO,MAAM,uBAAuB,EAAE,qBAEpC,CAAC"}
@@ -1,188 +1,7 @@
1
- import { Accordion, AccordionItem } from '../accordion/public';
2
- import { ActivityIndicator } from '../activity-indicator/public';
3
- import { AppBar } from '../app-bar/public';
4
- import { AppHeader } from '../app-header/public';
5
- import { AuthScreen, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, SignInForm, SignUpForm, } from '../auth/public';
6
- import { Avatar, AvatarGroup } from '../avatar/public';
7
- import { Badge } from '../badge/public';
8
- import { BottomSheet } from '../bottom-sheet/public';
9
- import { Breadcrumbs } from '../breadcrumbs/public';
10
- import { Button, ButtonGroup, IconButton } from '../button/public';
11
- import { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';
12
- import { ChatListItem, MessageBubble } from '../chat/public';
13
- import { ChessBoard, OpeningBook } from '../chess/public';
14
- import { Chip, ChipGroup } from '../chip/public';
15
- import { CollectionEditor } from '../collection-editor/public';
16
- import { ContentRail } from '../content-rail/public';
17
- import { DataTable } from '../data-table/public';
18
- import { DatePicker } from '../date-picker/public';
19
- import { Dialog } from '../dialog/public';
20
- import { EmptyState } from '../empty-state/public';
21
- import { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';
22
- import { Checkbox, CheckboxGroup } from '../form/checkbox/public';
23
- import { Field, Form, FormActions, FormError } from '../form/public';
24
- import { Radio, RadioGroup } from '../form/radio/public';
25
- import { SearchInput } from '../form/search-input/public';
26
- import { Select } from '../form/select/public';
27
- import { Switch } from '../form/switch/public';
28
- import { TextInput } from '../form/text-input/public';
29
- import { Game, GameEntity, GameField, GameInputZone, GameMeasurementProbe, GameOverlay, } from '../game/public';
30
- import { Gradient } from '../gradient/public';
31
- import { GridInteractions } from '../grid-interactions/public';
32
- import { GridLineOverlay, GridRuler } from '../grid-rulers/public';
33
- import { GridView, TileGrid } from '../grid-view/public';
34
- import { Hero } from '../hero/public';
35
- import { Icon } from '../icon/public';
36
- import { Image } from '../image/public';
37
- import { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';
38
- import { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';
39
- import { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';
40
- import { MatrixGrid } from '../matrix-grid/public';
41
- import { MissingElement } from '../missing-element/public';
42
- import { Pagination } from '../pagination/public';
43
- import { PaletteItem } from '../palette-item/public';
44
- import { PopoverMenu } from '../popover-menu/public';
45
- import { Progress, ProgressRing } from '../progress/public';
46
- import { Rating } from '../rating/public';
47
1
  import { Reader } from '../reader/public';
48
- import { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';
49
- import { ScreenSection, SectionHeader } from '../section/public';
50
- import { SelectableItem } from '../selection/public';
51
- import { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';
52
- import { SpatialGrid } from '../spatial-grid/public';
53
- import { Surface } from '../surface/public';
54
- import { CardBack, CardHand, PlayingCard, PokerTrainingTable, TabletopTable, } from '../tabletop/public';
55
- import { Tab, TabList, TabPanel, Tabs } from '../tabs/public';
56
- import { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';
57
- import { TimeGrid } from '../time-grid/public';
58
- import { TimePicker } from '../time-picker/public';
59
- import { Timeline } from '../timeline/public';
60
- import { Toast } from '../toast/public';
61
- import { Toolbar } from '../toolbar/public';
62
- import { TreeItem, TreeView } from '../tree-view/public';
63
- import { Heading, Text } from '../typography/public';
64
- import { Uploader } from '../uploader/public';
65
- const _ZORA_COMPONENT_REGISTRY = {
66
- Accordion,
67
- AccordionItem,
68
- ActivityIndicator,
69
- AppBar,
70
- AppHeader,
71
- Avatar,
72
- AvatarGroup,
73
- Badge,
74
- Breadcrumbs,
75
- Button,
76
- ButtonGroup,
77
- Card,
78
- Checkbox,
79
- CheckboxGroup,
80
- Chip,
81
- ChipGroup,
82
- DataTable,
83
- DatePicker,
84
- Dialog,
85
- Form,
86
- FormActions,
87
- FormError,
88
- Field,
89
- Gradient,
90
- Game,
91
- GameEntity,
92
- GameField,
93
- GameInputZone,
94
- GameMeasurementProbe,
95
- GameOverlay,
96
- Heading,
97
- Icon,
98
- IconButton,
99
- Image,
100
- KeyboardAvoidingView,
101
- TextInput,
102
- MediaCard,
103
- MetricCard,
104
- Pagination,
105
- PopoverMenu,
106
- Progress,
107
- ProgressRing,
108
- Radio,
109
- RadioGroup,
110
- Rating,
111
- SearchInput,
112
- Select,
113
- Switch,
114
- Skeleton,
115
- SkeletonCard,
116
- SkeletonList,
117
- SkeletonText,
118
- Tab,
119
- TabList,
120
- TabPanel,
121
- Tabs,
122
- Text,
123
- TimePicker,
124
- Toast,
125
- Toolbar,
126
- Uploader,
127
- BottomSheet,
128
- FlatList,
129
- SectionList,
130
- ScrollView,
131
- View,
132
- ThemeModeToggle,
133
- Divider,
134
- Grid,
135
- Surface,
136
- AppShell,
137
- Screen,
138
- ScreenSection,
139
- AuthScreen,
140
- ForgotPasswordForm,
141
- OAuthProviderButton,
142
- OAuthProviderList,
143
- OtpForm,
144
- SignInForm,
145
- SignUpForm,
146
- ChatListItem,
147
- ChessBoard,
148
- CollectionEditor,
149
- ContentRail,
150
- EmptyState,
151
- Explorer,
152
- FileExplorer,
153
- GridLineOverlay,
154
- GridRuler,
155
- GridInteractions,
156
- GridView,
157
- TileGrid,
158
- TimeGrid,
159
- MatrixGrid,
160
- MediaExplorer,
161
- Hero,
162
- List,
163
- ListItem,
164
- ListSection,
165
- MessageBubble,
166
- OpeningBook,
167
- MissingElement,
168
- PostCard,
169
- ProductCard,
2
+ import { createZoraComponentRegistry } from './createZoraComponentRegistry';
3
+ /*** The complete ZORA runtime component registry, including the public Reader component. */
4
+ export const ZORA_COMPONENT_REGISTRY = createZoraComponentRegistry({
170
5
  Reader,
171
- BarcodeScannerView,
172
- CameraPermissionView,
173
- ScanOverlay,
174
- SectionHeader,
175
- SelectableItem,
176
- SpatialGrid,
177
- PaletteItem,
178
- CardBack,
179
- CardHand,
180
- PlayingCard,
181
- TabletopTable,
182
- PokerTrainingTable,
183
- Timeline,
184
- TreeItem,
185
- TreeView,
186
- };
187
- export const ZORA_COMPONENT_REGISTRY = _ZORA_COMPONENT_REGISTRY;
6
+ });
188
7
  //# sourceMappingURL=ZORA_COMPONENT_REGISTRY.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ZORA_COMPONENT_REGISTRY.js","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAA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ACV,WAAW;IACX,QAAQ;IACR,YAAY;IACZ,KAAK;IACL,UAAU;IACV,MAAM;IACN,WAAW;IACX,MAAM;IACN,MAAM;IACN,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,GAAG;IACH,OAAO;IACP,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,KAAK;IACL,OAAO;IACP,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,WAAW;IACX,UAAU;IACV,IAAI;IACJ,eAAe;IACf,OAAO;IACP,IAAI;IACJ,OAAO;IACP,QAAQ;IACR,MAAM;IACN,aAAa;IACb,UAAU;IACV,kBAAkB;IAClB,mBAAmB;IACnB,iBAAiB;IACjB,OAAO;IACP,UAAU;IACV,UAAU;IACV,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,WAAW;IACX,UAAU;IACV,QAAQ;IACR,YAAY;IACZ,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,UAAU;IACV,aAAa;IACb,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,cAAc;IACd,QAAQ;IACR,WAAW;IACX,MAAM;IACN,kBAAkB;IAClB,oBAAoB;IACpB,WAAW;IACX,aAAa;IACb,cAAc;IACd,WAAW;IACX,WAAW;IACX,QAAQ;IACR,QAAQ;IACR,WAAW;IACX,aAAa;IACb,kBAAkB;IAClB,QAAQ;IACR,QAAQ;IACR,QAAQ;CACgC,CAAC;AAE3C,MAAM,CAAC,MAAM,uBAAuB,GAA0B,wBAAwB,CAAC","sourcesContent":["import type { InteractionPolicyProps } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraComponentRegistry } from '../../types/registry';\nimport { Accordion, AccordionItem } from '../accordion/public';\nimport { ActivityIndicator } from '../activity-indicator/public';\nimport { AppBar } from '../app-bar/public';\nimport { AppHeader } from '../app-header/public';\nimport {\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n} from '../auth/public';\nimport { Avatar, AvatarGroup } from '../avatar/public';\nimport { Badge } from '../badge/public';\nimport { BottomSheet } from '../bottom-sheet/public';\nimport { Breadcrumbs } from '../breadcrumbs/public';\nimport { Button, ButtonGroup, IconButton } from '../button/public';\nimport { Card, MediaCard, MetricCard, PostCard, ProductCard } from '../card/public';\nimport { ChatListItem, MessageBubble } from '../chat/public';\nimport { ChessBoard, OpeningBook } from '../chess/public';\nimport { Chip, ChipGroup } from '../chip/public';\nimport { CollectionEditor } from '../collection-editor/public';\nimport { ContentRail } from '../content-rail/public';\nimport { DataTable } from '../data-table/public';\nimport { DatePicker } from '../date-picker/public';\nimport { Dialog } from '../dialog/public';\nimport { EmptyState } from '../empty-state/public';\nimport { Explorer, FileExplorer, MediaExplorer } from '../explorer/public';\nimport { Checkbox, CheckboxGroup } from '../form/checkbox/public';\nimport { Field, Form, FormActions, FormError } from '../form/public';\nimport { Radio, RadioGroup } from '../form/radio/public';\nimport { SearchInput } from '../form/search-input/public';\nimport { Select } from '../form/select/public';\nimport { Switch } from '../form/switch/public';\nimport { TextInput } from '../form/text-input/public';\nimport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from '../game/public';\nimport { Gradient } from '../gradient/public';\nimport { GridInteractions } from '../grid-interactions/public';\nimport { GridLineOverlay, GridRuler } from '../grid-rulers/public';\nimport { GridView, TileGrid } from '../grid-view/public';\nimport { Hero } from '../hero/public';\nimport { Icon } from '../icon/public';\nimport { Image } from '../image/public';\nimport { KeyboardAvoidingView } from '../keyboard-avoiding-view/public';\nimport { AppShell, Divider, Grid, Screen, ScrollView, View } from '../layout/public';\nimport { FlatList, List, ListItem, ListSection, SectionList } from '../list/public';\nimport { MatrixGrid } from '../matrix-grid/public';\nimport { MissingElement } from '../missing-element/public';\nimport { Pagination } from '../pagination/public';\nimport { PaletteItem } from '../palette-item/public';\nimport { PopoverMenu } from '../popover-menu/public';\nimport { Progress, ProgressRing } from '../progress/public';\nimport { Rating } from '../rating/public';\nimport { Reader } from '../reader/public';\nimport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from '../scanner/public';\nimport { ScreenSection, SectionHeader } from '../section/public';\nimport { SelectableItem } from '../selection/public';\nimport { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from '../skeleton/public';\nimport { SpatialGrid } from '../spatial-grid/public';\nimport { Surface } from '../surface/public';\nimport {\n CardBack,\n CardHand,\n PlayingCard,\n PokerTrainingTable,\n TabletopTable,\n} from '../tabletop/public';\nimport { Tab, TabList, TabPanel, Tabs } from '../tabs/public';\nimport { ThemeModeToggle } from '../theme/adapters/inbound/ThemeModeToggle';\nimport { TimeGrid } from '../time-grid/public';\nimport { TimePicker } from '../time-picker/public';\nimport { Timeline } from '../timeline/public';\nimport { Toast } from '../toast/public';\nimport { Toolbar } from '../toolbar/public';\nimport { TreeItem, TreeView } from '../tree-view/public';\nimport { Heading, Text } from '../typography/public';\nimport { Uploader } from '../uploader/public';\n\ntype ComponentPropsFor<K extends keyof typeof _ZORA_COMPONENT_REGISTRY> = React.ComponentProps<\n (typeof _ZORA_COMPONENT_REGISTRY)[K]\n>;\n\ntype AcceptsSurfaceInteractionPolicyProps<P> = 'interactionPolicy' extends keyof P\n ? InteractionPolicyProps extends Pick<P, 'interactionPolicy'>\n ? Pick<P, 'interactionPolicy'> extends InteractionPolicyProps\n ? true\n : false\n : false\n : false;\n\ntype RegistryInteractionPolicyContract = {\n [K in keyof typeof _ZORA_COMPONENT_REGISTRY]: AcceptsSurfaceInteractionPolicyProps<\n ComponentPropsFor<K>\n >;\n};\n\ntype _AssertTrue<T extends true> = T;\ntype _RegistryInteractionPolicyCheck = _AssertTrue<\n RegistryInteractionPolicyContract[keyof typeof _ZORA_COMPONENT_REGISTRY]\n>;\n\nconst _ZORA_COMPONENT_REGISTRY = {\n Accordion,\n AccordionItem,\n ActivityIndicator,\n AppBar,\n AppHeader,\n Avatar,\n AvatarGroup,\n Badge,\n Breadcrumbs,\n Button,\n ButtonGroup,\n Card,\n Checkbox,\n CheckboxGroup,\n Chip,\n ChipGroup,\n DataTable,\n DatePicker,\n Dialog,\n Form,\n FormActions,\n FormError,\n Field,\n Gradient,\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n Heading,\n Icon,\n IconButton,\n Image,\n KeyboardAvoidingView,\n TextInput,\n MediaCard,\n MetricCard,\n Pagination,\n PopoverMenu,\n Progress,\n ProgressRing,\n Radio,\n RadioGroup,\n Rating,\n SearchInput,\n Select,\n Switch,\n Skeleton,\n SkeletonCard,\n SkeletonList,\n SkeletonText,\n Tab,\n TabList,\n TabPanel,\n Tabs,\n Text,\n TimePicker,\n Toast,\n Toolbar,\n Uploader,\n BottomSheet,\n FlatList,\n SectionList,\n ScrollView,\n View,\n ThemeModeToggle,\n Divider,\n Grid,\n Surface,\n AppShell,\n Screen,\n ScreenSection,\n AuthScreen,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n SignInForm,\n SignUpForm,\n ChatListItem,\n ChessBoard,\n CollectionEditor,\n ContentRail,\n EmptyState,\n Explorer,\n FileExplorer,\n GridLineOverlay,\n GridRuler,\n GridInteractions,\n GridView,\n TileGrid,\n TimeGrid,\n MatrixGrid,\n MediaExplorer,\n Hero,\n List,\n ListItem,\n ListSection,\n MessageBubble,\n OpeningBook,\n MissingElement,\n PostCard,\n ProductCard,\n Reader,\n BarcodeScannerView,\n CameraPermissionView,\n ScanOverlay,\n SectionHeader,\n SelectableItem,\n SpatialGrid,\n PaletteItem,\n CardBack,\n CardHand,\n PlayingCard,\n TabletopTable,\n PokerTrainingTable,\n Timeline,\n TreeItem,\n TreeView,\n} as const satisfies ZoraComponentRegistry;\n\nexport const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry = _ZORA_COMPONENT_REGISTRY;\n"]}
1
+ {"version":3,"file":"ZORA_COMPONENT_REGISTRY.js","sourceRoot":"","sources":["../../../src/features/registry/ZORA_COMPONENT_REGISTRY.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,4FAA4F;AAC5F,MAAM,CAAC,MAAM,uBAAuB,GAA0B,2BAA2B,CAAC;IACxF,MAAM;CACP,CAAC,CAAC","sourcesContent":["import type { ZoraComponentRegistry } from '../../types/registry';\nimport { Reader } from '../reader/public';\nimport { createZoraComponentRegistry } from './createZoraComponentRegistry';\n\n/*** The complete ZORA runtime component registry, including the public Reader component. */\nexport const ZORA_COMPONENT_REGISTRY: ZoraComponentRegistry = createZoraComponentRegistry({\n Reader,\n});\n"]}
@@ -0,0 +1,4 @@
1
+ import type { ZoraComponentRegistry } from '../../types/registry';
2
+ /*** Build a runtime component registry from ZORA's Reader-free base and explicitly selected feature entries. */
3
+ export declare function createZoraComponentRegistry(extensions?: ZoraComponentRegistry): ZoraComponentRegistry;
4
+ //# sourceMappingURL=createZoraComponentRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createZoraComponentRegistry.d.ts","sourceRoot":"","sources":["../../../src/features/registry/createZoraComponentRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAGlE,gHAAgH;AAChH,wBAAgB,2BAA2B,CACzC,UAAU,GAAE,qBAA0B,GACrC,qBAAqB,CAEvB"}
@@ -0,0 +1,6 @@
1
+ import { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';
2
+ /*** Build a runtime component registry from ZORA's Reader-free base and explicitly selected feature entries. */
3
+ export function createZoraComponentRegistry(extensions = {}) {
4
+ return { ...ZORA_BASE_COMPONENT_REGISTRY, ...extensions };
5
+ }
6
+ //# sourceMappingURL=createZoraComponentRegistry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createZoraComponentRegistry.js","sourceRoot":"","sources":["../../../src/features/registry/createZoraComponentRegistry.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,gHAAgH;AAChH,MAAM,UAAU,2BAA2B,CACzC,aAAoC,EAAE;IAEtC,OAAO,EAAE,GAAG,4BAA4B,EAAE,GAAG,UAAU,EAAE,CAAC;AAC5D,CAAC","sourcesContent":["import type { ZoraComponentRegistry } from '../../types/registry';\nimport { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';\n\n/*** Build a runtime component registry from ZORA's Reader-free base and explicitly selected feature entries. */\nexport function createZoraComponentRegistry(\n extensions: ZoraComponentRegistry = {},\n): ZoraComponentRegistry {\n return { ...ZORA_BASE_COMPONENT_REGISTRY, ...extensions };\n}\n"]}
@@ -1,2 +1,4 @@
1
+ export { createZoraComponentRegistry } from './createZoraComponentRegistry';
2
+ export { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';
1
3
  export { ZORA_COMPONENT_REGISTRY } from './ZORA_COMPONENT_REGISTRY';
2
4
  //# sourceMappingURL=public.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/registry/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/registry/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -1,2 +1,4 @@
1
+ export { createZoraComponentRegistry } from './createZoraComponentRegistry';
2
+ export { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';
1
3
  export { ZORA_COMPONENT_REGISTRY } from './ZORA_COMPONENT_REGISTRY';
2
4
  //# sourceMappingURL=public.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/registry/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { ZORA_COMPONENT_REGISTRY } from './ZORA_COMPONENT_REGISTRY';\n"]}
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/registry/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["export { createZoraComponentRegistry } from './createZoraComponentRegistry';\nexport { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';\nexport { ZORA_COMPONENT_REGISTRY } from './ZORA_COMPONENT_REGISTRY';\n"]}
@@ -0,0 +1,3 @@
1
+ export { createZoraComponentRegistry } from './createZoraComponentRegistry';
2
+ export { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';
3
+ //# sourceMappingURL=readerFreeRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readerFreeRegistry.d.ts","sourceRoot":"","sources":["../../../src/features/registry/readerFreeRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { createZoraComponentRegistry } from './createZoraComponentRegistry';
2
+ export { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';
3
+ //# sourceMappingURL=readerFreeRegistry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readerFreeRegistry.js","sourceRoot":"","sources":["../../../src/features/registry/readerFreeRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC","sourcesContent":["export { createZoraComponentRegistry } from './createZoraComponentRegistry';\nexport { ZORA_BASE_COMPONENT_REGISTRY } from './ZORA_BASE_COMPONENT_REGISTRY';\n"]}