@ankhorage/zora 28.1.5 → 28.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/dist/capabilities/index.js +159 -2
- package/dist/capabilities/index.js.map +8 -5
- package/dist/constants/authoring.d.ts +6 -3
- package/dist/constants/authoring.d.ts.map +1 -1
- package/dist/constants/authoring.js +6 -0
- package/dist/constants/authoring.js.map +1 -1
- package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
- package/dist/features/audio/adapters/inbound/Audio.d.ts +5 -0
- package/dist/features/audio/adapters/inbound/Audio.d.ts.map +1 -0
- package/dist/features/audio/adapters/inbound/Audio.js +80 -0
- package/dist/features/audio/adapters/inbound/Audio.js.map +1 -0
- package/dist/features/audio/audioMeta.d.ts +22 -0
- package/dist/features/audio/audioMeta.d.ts.map +1 -0
- package/dist/features/audio/audioMeta.js +18 -0
- package/dist/features/audio/audioMeta.js.map +1 -0
- package/dist/features/audio/composition/AudioController.d.ts +13 -0
- package/dist/features/audio/composition/AudioController.d.ts.map +1 -0
- package/dist/features/audio/composition/AudioController.js +2 -0
- package/dist/features/audio/composition/AudioController.js.map +1 -0
- package/dist/features/audio/composition/useAudioController.d.ts +5 -0
- package/dist/features/audio/composition/useAudioController.d.ts.map +1 -0
- package/dist/features/audio/composition/useAudioController.js +22 -0
- package/dist/features/audio/composition/useAudioController.js.map +1 -0
- package/dist/features/audio/composition/useAudioController.web.d.ts +5 -0
- package/dist/features/audio/composition/useAudioController.web.d.ts.map +1 -0
- package/dist/features/audio/composition/useAudioController.web.js +80 -0
- package/dist/features/audio/composition/useAudioController.web.js.map +1 -0
- package/dist/features/audio/public.d.ts +3 -0
- package/dist/features/audio/public.d.ts.map +1 -0
- package/dist/features/audio/public.js +2 -0
- package/dist/features/audio/public.js.map +1 -0
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
- package/dist/features/card/cardMeta.d.ts +1 -1
- package/dist/features/card/mediaCardMeta.d.ts +1 -1
- package/dist/features/card/postCardMeta.d.ts +1 -1
- package/dist/features/chat/messageBubbleMeta.d.ts +1 -1
- package/dist/features/dialog/dialogMeta.d.ts +2 -2
- package/dist/features/gradient/gradientMeta.d.ts +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
- package/dist/features/layout/gridMeta.d.ts +1 -1
- package/dist/features/layout/screenMeta.d.ts +1 -1
- package/dist/features/layout/scrollViewMeta.d.ts +1 -1
- package/dist/features/layout/viewMeta.d.ts +1 -1
- package/dist/features/link/adapters/inbound/Link.d.ts +2 -0
- package/dist/features/link/adapters/inbound/Link.d.ts.map +1 -0
- package/dist/features/link/adapters/inbound/Link.js +2 -0
- package/dist/features/link/adapters/inbound/Link.js.map +1 -0
- package/dist/features/link/adapters/inbound/Link.native.d.ts +5 -0
- package/dist/features/link/adapters/inbound/Link.native.d.ts.map +1 -0
- package/dist/features/link/adapters/inbound/Link.native.js +29 -0
- package/dist/features/link/adapters/inbound/Link.native.js.map +1 -0
- package/dist/features/link/adapters/inbound/Link.web.d.ts +5 -0
- package/dist/features/link/adapters/inbound/Link.web.d.ts.map +1 -0
- package/dist/features/link/adapters/inbound/Link.web.js +34 -0
- package/dist/features/link/adapters/inbound/Link.web.js.map +1 -0
- package/dist/features/link/linkMeta.d.ts +116 -0
- package/dist/features/link/linkMeta.d.ts.map +1 -0
- package/dist/features/link/linkMeta.js +82 -0
- package/dist/features/link/linkMeta.js.map +1 -0
- package/dist/features/link/public.d.ts +3 -0
- package/dist/features/link/public.d.ts.map +1 -0
- package/dist/features/link/public.js +2 -0
- package/dist/features/link/public.js.map +1 -0
- package/dist/features/link/utils/linkThemeRecipeMeta.d.ts +25 -0
- package/dist/features/link/utils/linkThemeRecipeMeta.d.ts.map +1 -0
- package/dist/features/link/utils/linkThemeRecipeMeta.js +26 -0
- package/dist/features/link/utils/linkThemeRecipeMeta.js.map +1 -0
- package/dist/features/list/flatListMeta.d.ts +1 -1
- package/dist/features/list/sectionListMeta.d.ts +1 -1
- package/dist/features/master-detail/masterDetailMeta.d.ts +1 -1
- package/dist/features/reader/meta.d.ts +2 -2
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.d.ts.map +1 -1
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +6 -0
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js.map +1 -1
- package/dist/features/registry/bindableComponentMeta.d.ts +2 -2
- package/dist/features/registry/componentMeta.d.ts.map +1 -1
- package/dist/features/registry/componentMeta.js +6 -0
- package/dist/features/registry/componentMeta.js.map +1 -1
- package/dist/features/registry/themeRecipeMeta.d.ts.map +1 -1
- package/dist/features/registry/themeRecipeMeta.js +2 -0
- package/dist/features/registry/themeRecipeMeta.js.map +1 -1
- package/dist/features/scanner/meta.d.ts +2 -2
- package/dist/features/section/screenSectionMeta.d.ts +1 -1
- package/dist/features/surface/surfaceMeta.d.ts +1 -1
- package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
- package/dist/features/video/adapters/inbound/Video.d.ts +2 -0
- package/dist/features/video/adapters/inbound/Video.d.ts.map +1 -0
- package/dist/features/video/adapters/inbound/Video.js +2 -0
- package/dist/features/video/adapters/inbound/Video.js.map +1 -0
- package/dist/features/video/adapters/inbound/Video.native.d.ts +5 -0
- package/dist/features/video/adapters/inbound/Video.native.d.ts.map +1 -0
- package/dist/features/video/adapters/inbound/Video.native.js +160 -0
- package/dist/features/video/adapters/inbound/Video.native.js.map +1 -0
- package/dist/features/video/adapters/inbound/Video.web.d.ts +5 -0
- package/dist/features/video/adapters/inbound/Video.web.d.ts.map +1 -0
- package/dist/features/video/adapters/inbound/Video.web.js +30 -0
- package/dist/features/video/adapters/inbound/Video.web.js.map +1 -0
- package/dist/features/video/public.d.ts +3 -0
- package/dist/features/video/public.d.ts.map +1 -0
- package/dist/features/video/public.js +2 -0
- package/dist/features/video/public.js.map +1 -0
- package/dist/features/video/videoMeta.d.ts +64 -0
- package/dist/features/video/videoMeta.d.ts.map +1 -0
- package/dist/features/video/videoMeta.js +50 -0
- package/dist/features/video/videoMeta.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/readerFree.d.ts +5 -0
- package/dist/readerFree.d.ts.map +1 -1
- package/dist/readerFree.js +3 -0
- package/dist/readerFree.js.map +1 -1
- package/dist/types/audio.d.ts +15 -0
- package/dist/types/audio.d.ts.map +1 -0
- package/dist/types/audio.js +2 -0
- package/dist/types/audio.js.map +1 -0
- package/dist/types/link.d.ts +23 -0
- package/dist/types/link.d.ts.map +1 -0
- package/dist/types/link.js +2 -0
- package/dist/types/link.js.map +1 -0
- package/dist/types/video.d.ts +24 -0
- package/dist/types/video.d.ts.map +1 -0
- package/dist/types/video.js +2 -0
- package/dist/types/video.js.map +1 -0
- package/package.json +41 -3
- package/src/constants/authoring.ts +6 -0
- package/src/features/audio/adapters/inbound/Audio.tsx +158 -0
- package/src/features/audio/audioMeta.ts +20 -0
- package/src/features/audio/composition/AudioController.ts +12 -0
- package/src/features/audio/composition/useAudioController.ts +27 -0
- package/src/features/audio/composition/useAudioController.web.ts +106 -0
- package/src/features/audio/public.test.ts +37 -0
- package/src/features/audio/public.ts +2 -0
- package/src/features/link/Link.test.tsx +48 -0
- package/src/features/link/adapters/inbound/Link.native.tsx +62 -0
- package/src/features/link/adapters/inbound/Link.tsx +1 -0
- package/src/features/link/adapters/inbound/Link.web.tsx +67 -0
- package/src/features/link/linkMeta.ts +83 -0
- package/src/features/link/public.ts +2 -0
- package/src/features/link/utils/linkThemeRecipeMeta.ts +27 -0
- package/src/features/registry/ZORA_BASE_COMPONENT_REGISTRY.ts +6 -0
- package/src/features/registry/componentMeta.test.ts +31 -0
- package/src/features/registry/componentMeta.ts +6 -0
- package/src/features/registry/themeRecipeMeta.test.ts +1 -0
- package/src/features/registry/themeRecipeMeta.ts +2 -0
- package/src/features/video/adapters/inbound/Video.native.tsx +296 -0
- package/src/features/video/adapters/inbound/Video.test.tsx +188 -0
- package/src/features/video/adapters/inbound/Video.tsx +1 -0
- package/src/features/video/adapters/inbound/Video.web.tsx +70 -0
- package/src/features/video/public.ts +7 -0
- package/src/features/video/videoMeta.ts +51 -0
- package/src/index.ts +2 -0
- package/src/readerFree.ts +15 -0
- package/src/types/audio.ts +16 -0
- package/src/types/link.ts +26 -0
- package/src/types/video.ts +28 -0
- package/web-dist/authoring/index.js +27 -0
- package/web-dist/chunks/{Accordion-15sxxjym.js → Accordion-17s33h1a.js} +1 -1
- package/web-dist/chunks/{Accordion-qrt9xz0h.js → Accordion-2wggrer7.js} +2 -2
- package/web-dist/chunks/{Accordion-9k7ktksc.js → Accordion-2xkxthf1.js} +3 -3
- package/web-dist/chunks/{Accordion-qkkeyr18.js → Accordion-2ys50fc8.js} +1 -1
- package/web-dist/chunks/{Accordion-xfkg7dcw.js → Accordion-379mgrse.js} +1 -1
- package/web-dist/chunks/{Accordion-xb9zhdhp.js → Accordion-38xvj0cq.js} +2 -2
- package/web-dist/chunks/{Accordion-q11svb96.js → Accordion-5qz4j8tt.js} +5 -5
- package/web-dist/chunks/{Accordion-8c4w7366.js → Accordion-5rwztz14.js} +1 -1
- package/web-dist/chunks/{Accordion-afpjg1d6.js → Accordion-8skz71ct.js} +1 -1
- package/web-dist/chunks/{Accordion-27yg9ktv.js → Accordion-9qg7cjt8.js} +1 -1
- package/web-dist/chunks/{Accordion-wb9pmykz.js → Accordion-a1mgdfg7.js} +1 -1
- package/web-dist/chunks/{Accordion-vzq344av.js → Accordion-axe7nsht.js} +1 -1
- package/web-dist/chunks/{Accordion-46n609yq.js → Accordion-bd9vzpbz.js} +2 -2
- package/web-dist/chunks/{Accordion-gnxmybxx.js → Accordion-bp9y7738.js} +4 -4
- package/web-dist/chunks/{Accordion-5cjhz94e.js → Accordion-bzgy9sg3.js} +2 -2
- package/web-dist/chunks/{Accordion-f4919ghm.js → Accordion-e0vm82xr.js} +1 -1
- package/web-dist/chunks/{Accordion-jmxe6kw0.js → Accordion-f1vargnk.js} +1 -1
- package/web-dist/chunks/{Accordion-de8srt4x.js → Accordion-f8zpd80k.js} +3 -3
- package/web-dist/chunks/{Accordion-qsppnx7g.js → Accordion-gnbt6w4q.js} +1 -1
- package/web-dist/chunks/{Accordion-h1q243zq.js → Accordion-htm3j8r8.js} +3 -3
- package/web-dist/chunks/{Accordion-01zvarrn.js → Accordion-kdb9g5b1.js} +1 -1
- package/web-dist/chunks/{Accordion-78tknqmc.js → Accordion-nmpzv3b0.js} +2 -2
- package/web-dist/chunks/{Accordion-22cda3h5.js → Accordion-r75ep5pg.js} +2 -2
- package/web-dist/chunks/{Accordion-34b3rwbc.js → Accordion-rq311z1k.js} +3 -3
- package/web-dist/chunks/{Accordion-epv5yhch.js → Accordion-tqagt6cz.js} +1 -1
- package/web-dist/chunks/{Accordion-0xaq2k2h.js → Accordion-vb52sts9.js} +1 -1
- package/web-dist/chunks/{Accordion-b8w0f8s0.js → Accordion-za0jcjgn.js} +1 -1
- package/web-dist/chunks/Video.native-97x0098j.js +905 -0
- package/web-dist/chunks/index-cnnsfz6n.js +1807 -0
- package/web-dist/components/accordion/Accordion.js +2 -2
- package/web-dist/components/accordion-item/AccordionItem.js +2 -2
- package/web-dist/components/app-bar/AppBar.js +4 -4
- package/web-dist/components/app-header/AppHeader.js +4 -4
- package/web-dist/components/audio/Audio.d.ts +7 -0
- package/web-dist/components/audio/Audio.dependency-0.d.ts +27 -0
- package/web-dist/components/audio/Audio.dependency-1.d.ts +3 -0
- package/web-dist/components/audio/Audio.js +264 -0
- package/web-dist/components/audio/Audio.types-0.d.ts +18 -0
- package/web-dist/components/audio/index.d.ts +2 -0
- package/web-dist/components/audio/index.js +2 -0
- package/web-dist/components/auth-screen/AuthScreen.js +6 -6
- package/web-dist/components/avatar/Avatar.js +2 -2
- package/web-dist/components/avatar-group/AvatarGroup.js +2 -2
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +5 -5
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +2 -2
- package/web-dist/components/button/Button.js +1 -1
- package/web-dist/components/button-group/ButtonGroup.js +1 -1
- package/web-dist/components/calendar/Calendar.js +3 -3
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +5 -5
- package/web-dist/components/card/Card.js +4 -4
- package/web-dist/components/chat-list-item/ChatListItem.js +3 -3
- package/web-dist/components/checkbox/Checkbox.js +2 -2
- package/web-dist/components/checkbox-group/CheckboxGroup.js +2 -2
- package/web-dist/components/chip/Chip.js +2 -2
- package/web-dist/components/chip-group/ChipGroup.js +2 -2
- package/web-dist/components/collection-editor/CollectionEditor.js +4 -4
- package/web-dist/components/color-hue-scale/ColorHueScale.js +6 -6
- package/web-dist/components/color-picker/ColorPicker.js +6 -6
- package/web-dist/components/color-tone/ColorTone.js +6 -6
- package/web-dist/components/color-wheel/ColorWheel.js +6 -6
- package/web-dist/components/content-rail/ContentRail.js +2 -2
- package/web-dist/components/data-table/DataTable.js +10 -10
- package/web-dist/components/date-picker/DatePicker.js +4 -4
- package/web-dist/components/dialog/Dialog.js +2 -2
- package/web-dist/components/empty-state/EmptyState.js +5 -5
- package/web-dist/components/explorer/Explorer.js +2 -2
- package/web-dist/components/field/Field.js +2 -2
- package/web-dist/components/file-explorer/FileExplorer.js +2 -2
- package/web-dist/components/flat-list/FlatList.js +3 -3
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +6 -6
- package/web-dist/components/form/Form.js +4 -4
- package/web-dist/components/form-actions/FormActions.js +4 -4
- package/web-dist/components/form-error/FormError.js +4 -4
- package/web-dist/components/heading/Heading.js +1 -1
- package/web-dist/components/hero/Hero.js +4 -4
- package/web-dist/components/icon-button/IconButton.js +1 -1
- package/web-dist/components/link/Link.d.ts +7 -0
- package/web-dist/components/link/Link.dependency-0.d.ts +27 -0
- package/web-dist/components/link/Link.dependency-1.d.ts +3 -0
- package/web-dist/components/link/Link.dependency-2.d.ts +7 -0
- package/web-dist/components/link/Link.dependency-3.d.ts +5 -0
- package/web-dist/components/link/Link.js +95 -0
- package/web-dist/components/link/Link.types-0.d.ts +28 -0
- package/web-dist/components/link/index.d.ts +2 -0
- package/web-dist/components/link/index.js +2 -0
- package/web-dist/components/list/List.js +3 -3
- package/web-dist/components/list-item/ListItem.js +3 -3
- package/web-dist/components/list-section/ListSection.js +3 -3
- package/web-dist/components/media-card/MediaCard.js +4 -4
- package/web-dist/components/media-explorer/MediaExplorer.js +2 -2
- package/web-dist/components/message-bubble/MessageBubble.js +3 -3
- package/web-dist/components/metric-card/MetricCard.js +4 -4
- package/web-dist/components/missing-element/MissingElement.js +1 -1
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +6 -6
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +6 -6
- package/web-dist/components/otp-form/OtpForm.js +6 -6
- package/web-dist/components/pagination/Pagination.js +2 -2
- package/web-dist/components/palette-item/PaletteItem.js +4 -4
- package/web-dist/components/popover-menu/PopoverMenu.js +1 -1
- package/web-dist/components/post-card/PostCard.js +4 -4
- package/web-dist/components/product-card/ProductCard.js +4 -4
- package/web-dist/components/progress/Progress.js +2 -2
- package/web-dist/components/progress-ring/ProgressRing.js +2 -2
- package/web-dist/components/radio/Radio.js +2 -2
- package/web-dist/components/radio-group/RadioGroup.js +2 -2
- package/web-dist/components/reader/Reader.js +6 -6
- package/web-dist/components/scan-overlay/ScanOverlay.js +5 -5
- package/web-dist/components/screen-section/ScreenSection.js +2 -2
- package/web-dist/components/search-input/SearchInput.js +2 -2
- package/web-dist/components/section-header/SectionHeader.js +2 -2
- package/web-dist/components/section-list/SectionList.js +3 -3
- package/web-dist/components/select/Select.js +3 -3
- package/web-dist/components/sign-in-form/SignInForm.js +6 -6
- package/web-dist/components/sign-up-form/SignUpForm.js +6 -6
- package/web-dist/components/skeleton/Skeleton.js +7 -7
- package/web-dist/components/skeleton-card/SkeletonCard.js +7 -7
- package/web-dist/components/skeleton-list/SkeletonList.js +7 -7
- package/web-dist/components/skeleton-text/SkeletonText.js +7 -7
- package/web-dist/components/text/Text.js +1 -1
- package/web-dist/components/text-input/TextInput.js +2 -2
- package/web-dist/components/theme-mode-toggle/ThemeModeToggle.js +1 -1
- package/web-dist/components/time-picker/TimePicker.js +3 -3
- package/web-dist/components/timeline/Timeline.js +1 -1
- package/web-dist/components/toast/Toast.js +2 -2
- package/web-dist/components/toast-provider/ToastProvider.js +2 -2
- package/web-dist/components/toolbar/Toolbar.js +4 -4
- package/web-dist/components/tree-item/TreeItem.js +4 -4
- package/web-dist/components/uploader/Uploader.js +7 -7
- package/web-dist/components/video/Video.d.ts +7 -0
- package/web-dist/components/video/Video.dependency-0.d.ts +27 -0
- package/web-dist/components/video/Video.dependency-1.d.ts +3 -0
- package/web-dist/components/video/Video.dependency-2.d.ts +9 -0
- package/web-dist/components/video/Video.dependency-3.d.ts +23 -0
- package/web-dist/components/video/Video.js +80 -0
- package/web-dist/components/video/Video.types-0.d.ts +29 -0
- package/web-dist/components/video/index.d.ts +2 -0
- package/web-dist/components/video/index.js +2 -0
- package/web-dist/manifest.json +399 -294
- package/web-dist/runtime/ZoraProvider.js +1 -1
- /package/web-dist/chunks/{Accordion-7bd6zq4s.js → Accordion-2xb252py.js} +0 -0
- /package/web-dist/chunks/{Accordion-q046ws5p.js → Accordion-q683s6kd.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 28.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- eb755fb: Add the canonical themed Audio component with Expo SDK 57 playback, seek, progress, and volume controls.
|
|
8
|
+
- 4ebbef2: Add the public Expo-backed `Video` component with portable authored media references and ZORA-themed playback controls.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 9d9746a: Update dependencies: `@ankhorage/surface`.
|
|
13
|
+
|
|
14
|
+
## 28.2.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 7b11742: Add the canonical Link component for internal navigation, external URLs, and downloads.
|
|
19
|
+
|
|
3
20
|
## 28.1.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
# ZORA
|
|
5
5
|
|
|
6
|
-
         
|
|
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
|
|
|
@@ -15,6 +15,7 @@ var INVERTED_POLARITY_PROP = {
|
|
|
15
15
|
};
|
|
16
16
|
var CONTAINER_ALLOWED_CHILDREN = [
|
|
17
17
|
"ActivityIndicator",
|
|
18
|
+
"Audio",
|
|
18
19
|
"AuthScreen",
|
|
19
20
|
"ForgotPasswordForm",
|
|
20
21
|
"OAuthProviderButton",
|
|
@@ -62,6 +63,7 @@ var CONTAINER_ALLOWED_CHILDREN = [
|
|
|
62
63
|
"Image",
|
|
63
64
|
"Hero",
|
|
64
65
|
"KeyboardAvoidingView",
|
|
66
|
+
"Link",
|
|
65
67
|
"MasterDetail",
|
|
66
68
|
"Button",
|
|
67
69
|
"ButtonGroup",
|
|
@@ -80,7 +82,8 @@ var CONTAINER_ALLOWED_CHILDREN = [
|
|
|
80
82
|
"ProgressRing",
|
|
81
83
|
"Reader",
|
|
82
84
|
"ContentRail",
|
|
83
|
-
"MissingElement"
|
|
85
|
+
"MissingElement",
|
|
86
|
+
"Video"
|
|
84
87
|
];
|
|
85
88
|
var GAME_ALLOWED_CHILDREN = ["Game", "GameField"];
|
|
86
89
|
var CHESS_ALLOWED_CHILDREN = ["ChessBoard", "OpeningBook"];
|
|
@@ -231,6 +234,25 @@ var appHeaderMeta = {
|
|
|
231
234
|
}
|
|
232
235
|
};
|
|
233
236
|
|
|
237
|
+
// src/features/audio/audioMeta.ts
|
|
238
|
+
var audioMeta = {
|
|
239
|
+
name: "Audio",
|
|
240
|
+
category: "component",
|
|
241
|
+
description: "Plays one authored audio asset with themed playback, seek, progress, and volume controls.",
|
|
242
|
+
directManifestNode: true,
|
|
243
|
+
allowedChildren: [],
|
|
244
|
+
blueprint: { label: "Audio" },
|
|
245
|
+
props: {
|
|
246
|
+
source: {
|
|
247
|
+
type: "media",
|
|
248
|
+
category: "Content",
|
|
249
|
+
label: "Source",
|
|
250
|
+
mediaKinds: ["audio"],
|
|
251
|
+
authoring: { authority: "instance" }
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
|
|
234
256
|
// src/features/auth/authScreenMeta.ts
|
|
235
257
|
var authScreenMeta = {
|
|
236
258
|
name: "AuthScreen",
|
|
@@ -4151,6 +4173,87 @@ var viewMeta = {
|
|
|
4151
4173
|
}
|
|
4152
4174
|
};
|
|
4153
4175
|
|
|
4176
|
+
// src/features/link/linkMeta.ts
|
|
4177
|
+
var linkMeta = {
|
|
4178
|
+
name: "Link",
|
|
4179
|
+
category: "component",
|
|
4180
|
+
description: "A semantic link for app-owned routes, external URLs, and downloads.",
|
|
4181
|
+
directManifestNode: true,
|
|
4182
|
+
allowedChildren: [],
|
|
4183
|
+
blueprint: { label: "Link", defaultProps: { children: "Link", href: "/" } },
|
|
4184
|
+
events: {
|
|
4185
|
+
press: {
|
|
4186
|
+
label: "Press",
|
|
4187
|
+
eventType: "link.press",
|
|
4188
|
+
description: "Requests the host to handle link navigation.",
|
|
4189
|
+
payloadFields: [
|
|
4190
|
+
{ path: "href", type: "string", label: "URL" },
|
|
4191
|
+
{ path: "target", type: "string", label: "Target" },
|
|
4192
|
+
{ path: "download", type: "boolean", label: "Download" }
|
|
4193
|
+
]
|
|
4194
|
+
}
|
|
4195
|
+
},
|
|
4196
|
+
props: {
|
|
4197
|
+
children: {
|
|
4198
|
+
type: "string",
|
|
4199
|
+
category: "Content",
|
|
4200
|
+
label: "Label",
|
|
4201
|
+
default: "Link",
|
|
4202
|
+
authoring: { authority: "instance" }
|
|
4203
|
+
},
|
|
4204
|
+
href: {
|
|
4205
|
+
type: "string",
|
|
4206
|
+
category: "Navigation",
|
|
4207
|
+
label: "URL",
|
|
4208
|
+
default: "/",
|
|
4209
|
+
authoring: { authority: "instance" }
|
|
4210
|
+
},
|
|
4211
|
+
target: {
|
|
4212
|
+
type: "enum",
|
|
4213
|
+
category: "Navigation",
|
|
4214
|
+
label: "Target",
|
|
4215
|
+
enum: ["_self", "_blank", "_parent"],
|
|
4216
|
+
default: "_self",
|
|
4217
|
+
authoring: { authority: "instance" }
|
|
4218
|
+
},
|
|
4219
|
+
download: {
|
|
4220
|
+
type: "boolean",
|
|
4221
|
+
category: "Navigation",
|
|
4222
|
+
label: "Download",
|
|
4223
|
+
default: false,
|
|
4224
|
+
authoring: { authority: "instance" }
|
|
4225
|
+
},
|
|
4226
|
+
disabled: {
|
|
4227
|
+
type: "boolean",
|
|
4228
|
+
category: "State",
|
|
4229
|
+
label: "Disabled",
|
|
4230
|
+
default: false,
|
|
4231
|
+
authoring: { authority: "instance" }
|
|
4232
|
+
},
|
|
4233
|
+
variant: {
|
|
4234
|
+
type: "enum",
|
|
4235
|
+
category: "Typography",
|
|
4236
|
+
label: "Variant",
|
|
4237
|
+
enum: ["body", "lead", "bodySmall", "caption", "label", "eyebrow", "code"],
|
|
4238
|
+
authoring: COMPONENT_THEME_AUTHORING
|
|
4239
|
+
},
|
|
4240
|
+
color: {
|
|
4241
|
+
type: "enum",
|
|
4242
|
+
category: "Style",
|
|
4243
|
+
label: "Color",
|
|
4244
|
+
enum: ZORA_COLORS,
|
|
4245
|
+
authoring: COMPONENT_THEME_AUTHORING
|
|
4246
|
+
},
|
|
4247
|
+
weight: {
|
|
4248
|
+
type: "enum",
|
|
4249
|
+
category: "Typography",
|
|
4250
|
+
label: "Weight",
|
|
4251
|
+
enum: ["regular", "medium", "semiBold", "bold"],
|
|
4252
|
+
authoring: COMPONENT_THEME_AUTHORING
|
|
4253
|
+
}
|
|
4254
|
+
}
|
|
4255
|
+
};
|
|
4256
|
+
|
|
4154
4257
|
// src/features/list/constants/virtualization.ts
|
|
4155
4258
|
var LIST_VIRTUALIZATION_DEFAULTS = {
|
|
4156
4259
|
maxToRenderPerBatch: 10,
|
|
@@ -6081,6 +6184,57 @@ var uploaderMeta = {
|
|
|
6081
6184
|
}
|
|
6082
6185
|
};
|
|
6083
6186
|
|
|
6187
|
+
// src/features/video/videoMeta.ts
|
|
6188
|
+
var videoMeta = {
|
|
6189
|
+
name: "Video",
|
|
6190
|
+
category: "component",
|
|
6191
|
+
description: "Plays an authored video with themed transport controls.",
|
|
6192
|
+
directManifestNode: true,
|
|
6193
|
+
allowedChildren: [],
|
|
6194
|
+
blueprint: {
|
|
6195
|
+
label: "Video",
|
|
6196
|
+
defaultProps: { aspectRatio: 16 / 9, contentFit: "contain", volume: 1 }
|
|
6197
|
+
},
|
|
6198
|
+
props: {
|
|
6199
|
+
source: {
|
|
6200
|
+
type: "media",
|
|
6201
|
+
category: "Content",
|
|
6202
|
+
label: "Video source",
|
|
6203
|
+
mediaKinds: ["video"],
|
|
6204
|
+
authoring: { authority: "instance" }
|
|
6205
|
+
},
|
|
6206
|
+
poster: {
|
|
6207
|
+
type: "media",
|
|
6208
|
+
category: "Content",
|
|
6209
|
+
label: "Poster image",
|
|
6210
|
+
mediaKinds: ["image"],
|
|
6211
|
+
authoring: { authority: "instance" }
|
|
6212
|
+
},
|
|
6213
|
+
aspectRatio: {
|
|
6214
|
+
type: "number",
|
|
6215
|
+
category: "Layout",
|
|
6216
|
+
label: "Aspect ratio",
|
|
6217
|
+
default: 16 / 9,
|
|
6218
|
+
authoring: { authority: "instance" }
|
|
6219
|
+
},
|
|
6220
|
+
contentFit: {
|
|
6221
|
+
type: "enum",
|
|
6222
|
+
category: "Layout",
|
|
6223
|
+
label: "Content fit",
|
|
6224
|
+
enum: ["contain", "cover", "fill"],
|
|
6225
|
+
default: "contain",
|
|
6226
|
+
authoring: { authority: "instance" }
|
|
6227
|
+
},
|
|
6228
|
+
volume: {
|
|
6229
|
+
type: "number",
|
|
6230
|
+
category: "Playback",
|
|
6231
|
+
label: "Volume",
|
|
6232
|
+
default: 1,
|
|
6233
|
+
authoring: { authority: "instance" }
|
|
6234
|
+
}
|
|
6235
|
+
}
|
|
6236
|
+
};
|
|
6237
|
+
|
|
6084
6238
|
// src/features/registry/createManifestBindings.ts
|
|
6085
6239
|
function createManifestBindings(props, events = {}) {
|
|
6086
6240
|
return {
|
|
@@ -6131,6 +6285,7 @@ var ZORA_COMPONENT_META = finalizeFeatureMetadata({
|
|
|
6131
6285
|
Accordion: accordionMeta,
|
|
6132
6286
|
AccordionItem: accordionItemMeta,
|
|
6133
6287
|
ActivityIndicator: activityIndicatorMeta,
|
|
6288
|
+
Audio: audioMeta,
|
|
6134
6289
|
View: viewMeta,
|
|
6135
6290
|
ScrollView: scrollViewMeta,
|
|
6136
6291
|
Grid: gridMeta,
|
|
@@ -6169,6 +6324,7 @@ var ZORA_COMPONENT_META = finalizeFeatureMetadata({
|
|
|
6169
6324
|
IconButton: iconButtonMeta,
|
|
6170
6325
|
Image: imageMeta,
|
|
6171
6326
|
KeyboardAvoidingView: keyboardAvoidingViewMeta,
|
|
6327
|
+
Link: linkMeta,
|
|
6172
6328
|
MasterDetail: masterDetailMeta,
|
|
6173
6329
|
TextInput: textInputMeta,
|
|
6174
6330
|
MediaCard: mediaCardMeta,
|
|
@@ -6197,6 +6353,7 @@ var ZORA_COMPONENT_META = finalizeFeatureMetadata({
|
|
|
6197
6353
|
ToastProvider: toastProviderMeta,
|
|
6198
6354
|
Toolbar: toolbarMeta,
|
|
6199
6355
|
Uploader: uploaderMeta,
|
|
6356
|
+
Video: videoMeta,
|
|
6200
6357
|
BottomSheet: bottomSheetMeta,
|
|
6201
6358
|
FlatList: flatListMeta,
|
|
6202
6359
|
SectionList: sectionListMeta,
|
|
@@ -6319,4 +6476,4 @@ export {
|
|
|
6319
6476
|
CAPABILITIES
|
|
6320
6477
|
};
|
|
6321
6478
|
|
|
6322
|
-
//# debugId=
|
|
6479
|
+
//# debugId=4ADC24703F50A19064756E2164756E21
|