@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/dist/readerFree.js.map
CHANGED
|
@@ -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;AAqB9E,OAAO,EACL,UAAU,EACV,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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 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 {\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 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 { 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,+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BAAsB,EACtB,aAAa,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 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"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { MediaAssetReference } from '@ankhorage/contracts';
|
|
2
|
+
import type { ZoraBaseProps } from './base';
|
|
3
|
+
/** A runtime-resolved single audio source supported by the Expo audio adapter. */
|
|
4
|
+
export type AudioResolvedSource = string | number | {
|
|
5
|
+
readonly uri: string;
|
|
6
|
+
};
|
|
7
|
+
/** Portable Audio props accepted by an AppManifest node. */
|
|
8
|
+
export interface AudioManifestProps {
|
|
9
|
+
readonly source: MediaAssetReference;
|
|
10
|
+
}
|
|
11
|
+
/** Props for ZORA's themed single-source Audio playback control. */
|
|
12
|
+
export interface AudioProps extends ZoraBaseProps {
|
|
13
|
+
readonly source: AudioResolvedSource | null;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=audio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/types/audio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,kFAAkF;AAClF,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG;IAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7E,4DAA4D;AAC5D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;CACtC;AAED,oEAAoE;AACpE,MAAM,WAAW,UAAW,SAAQ,aAAa;IAC/C,QAAQ,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAAC;CAC7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audio.js","sourceRoot":"","sources":["../../src/types/audio.ts"],"names":[],"mappings":"","sourcesContent":["import type { MediaAssetReference } from '@ankhorage/contracts';\n\nimport type { ZoraBaseProps } from './base';\n\n/** A runtime-resolved single audio source supported by the Expo audio adapter. */\nexport type AudioResolvedSource = string | number | { readonly uri: string };\n\n/** Portable Audio props accepted by an AppManifest node. */\nexport interface AudioManifestProps {\n readonly source: MediaAssetReference;\n}\n\n/** Props for ZORA's themed single-source Audio playback control. */\nexport interface AudioProps extends ZoraBaseProps {\n readonly source: AudioResolvedSource | null;\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Responsive } from '@ankhorage/surface';
|
|
2
|
+
import type React from 'react';
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
|
+
import type { TextColor, TextVariant, TextWeight } from './text';
|
|
5
|
+
export type LinkTarget = '_blank' | '_parent' | '_self';
|
|
6
|
+
export interface LinkPressEvent {
|
|
7
|
+
href: string;
|
|
8
|
+
target?: LinkTarget;
|
|
9
|
+
download: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface LinkProps extends ZoraBaseProps {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
href: string;
|
|
14
|
+
target?: LinkTarget;
|
|
15
|
+
download?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
variant?: Responsive<TextVariant>;
|
|
18
|
+
color?: Responsive<TextColor>;
|
|
19
|
+
weight?: Responsive<TextWeight>;
|
|
20
|
+
accessibilityLabel?: string;
|
|
21
|
+
onPress?: (event: LinkPressEvent) => void;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/types/link.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEjE,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAExD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/types/link.ts"],"names":[],"mappings":"","sourcesContent":["import type { Responsive } from '@ankhorage/surface';\nimport type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\nimport type { TextColor, TextVariant, TextWeight } from './text';\n\nexport type LinkTarget = '_blank' | '_parent' | '_self';\n\nexport interface LinkPressEvent {\n href: string;\n target?: LinkTarget;\n download: boolean;\n}\n\nexport interface LinkProps extends ZoraBaseProps {\n children?: React.ReactNode;\n href: string;\n target?: LinkTarget;\n download?: boolean;\n disabled?: boolean;\n variant?: Responsive<TextVariant>;\n color?: Responsive<TextColor>;\n weight?: Responsive<TextWeight>;\n accessibilityLabel?: string;\n onPress?: (event: LinkPressEvent) => void;\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { MediaAssetReference } from '@ankhorage/contracts';
|
|
2
|
+
import type { ZoraBaseProps } from './base';
|
|
3
|
+
import type { ImageProps } from './image';
|
|
4
|
+
export type VideoContentFit = 'contain' | 'cover' | 'fill';
|
|
5
|
+
/** Portable Video props accepted by an AppManifest component node. */
|
|
6
|
+
export interface VideoManifestProps {
|
|
7
|
+
readonly source: MediaAssetReference;
|
|
8
|
+
readonly poster?: MediaAssetReference;
|
|
9
|
+
readonly aspectRatio?: number;
|
|
10
|
+
readonly contentFit?: VideoContentFit;
|
|
11
|
+
readonly volume?: number;
|
|
12
|
+
}
|
|
13
|
+
/** Resolved runtime source supplied after the manifest media reference has been resolved. */
|
|
14
|
+
export type VideoResolvedSource = string | number;
|
|
15
|
+
/** Public Video render props. Expo player and view objects intentionally remain adapter-private. */
|
|
16
|
+
export interface VideoProps extends ZoraBaseProps {
|
|
17
|
+
source?: VideoResolvedSource | null;
|
|
18
|
+
poster?: ImageProps['source'];
|
|
19
|
+
aspectRatio?: number;
|
|
20
|
+
contentFit?: VideoContentFit;
|
|
21
|
+
volume?: number;
|
|
22
|
+
accessibilityLabel?: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=video.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../src/types/video.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3D,sEAAsE;AACtE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAC;IACrC,QAAQ,CAAC,MAAM,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,UAAU,CAAC,EAAE,eAAe,CAAC;IACtC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,6FAA6F;AAC7F,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,CAAC;AAElD,oGAAoG;AACpG,MAAM,WAAW,UAAW,SAAQ,aAAa;IAC/C,MAAM,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video.js","sourceRoot":"","sources":["../../src/types/video.ts"],"names":[],"mappings":"","sourcesContent":["import type { MediaAssetReference } from '@ankhorage/contracts';\n\nimport type { ZoraBaseProps } from './base';\nimport type { ImageProps } from './image';\n\nexport type VideoContentFit = 'contain' | 'cover' | 'fill';\n\n/** Portable Video props accepted by an AppManifest component node. */\nexport interface VideoManifestProps {\n readonly source: MediaAssetReference;\n readonly poster?: MediaAssetReference;\n readonly aspectRatio?: number;\n readonly contentFit?: VideoContentFit;\n readonly volume?: number;\n}\n\n/** Resolved runtime source supplied after the manifest media reference has been resolved. */\nexport type VideoResolvedSource = string | number;\n\n/** Public Video render props. Expo player and view objects intentionally remain adapter-private. */\nexport interface VideoProps extends ZoraBaseProps {\n source?: VideoResolvedSource | null;\n poster?: ImageProps['source'];\n aspectRatio?: number;\n contentFit?: VideoContentFit;\n volume?: number;\n accessibilityLabel?: string;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/zora",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "28.
|
|
4
|
+
"version": "28.3.0",
|
|
5
5
|
"description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
|
|
6
6
|
"homepage": "https://github.com/ankhorage/zora#readme",
|
|
7
7
|
"bugs": {
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@react-native-vector-icons/fontawesome6": "^13.1.4 || ^14.0.0",
|
|
32
32
|
"@react-native-vector-icons/ionicons": "^13.1.3 || ^14.0.0",
|
|
33
33
|
"@react-native-vector-icons/material-design-icons": "^13.1.3 || ^14.0.0",
|
|
34
|
+
"expo": "~57.0.0",
|
|
34
35
|
"react": "19.2.3",
|
|
35
36
|
"react-native": "0.86.x",
|
|
36
37
|
"react-native-gesture-handler": "~2.32.0",
|
|
@@ -49,10 +50,13 @@
|
|
|
49
50
|
"@ankhorage/grid-view": "^0.5.0",
|
|
50
51
|
"@ankhorage/reader": "^0.1.3",
|
|
51
52
|
"@ankhorage/runtime": "^5.7.5",
|
|
52
|
-
"@ankhorage/surface": "^9.8.
|
|
53
|
+
"@ankhorage/surface": "^9.8.5",
|
|
53
54
|
"@ankhorage/utility": "^1.11.0",
|
|
55
|
+
"expo-asset": "~57.0.21",
|
|
56
|
+
"expo-audio": "~57.0.5",
|
|
54
57
|
"expo-document-picker": "~57.0.3",
|
|
55
|
-
"expo-image-picker": "~57.0.20"
|
|
58
|
+
"expo-image-picker": "~57.0.20",
|
|
59
|
+
"expo-video": "~57.0.5"
|
|
56
60
|
},
|
|
57
61
|
"files": [
|
|
58
62
|
"dist",
|
|
@@ -1076,6 +1080,40 @@
|
|
|
1076
1080
|
}
|
|
1077
1081
|
}
|
|
1078
1082
|
},
|
|
1083
|
+
{
|
|
1084
|
+
"id": "link.press",
|
|
1085
|
+
"owner": "@ankhorage/zora",
|
|
1086
|
+
"access": [
|
|
1087
|
+
"emit"
|
|
1088
|
+
],
|
|
1089
|
+
"binding": {
|
|
1090
|
+
"kind": "event",
|
|
1091
|
+
"bindableAs": [
|
|
1092
|
+
"source"
|
|
1093
|
+
]
|
|
1094
|
+
},
|
|
1095
|
+
"label": "Press",
|
|
1096
|
+
"description": "Requests the host to handle link navigation.",
|
|
1097
|
+
"output": {
|
|
1098
|
+
"schema": {
|
|
1099
|
+
"type": "object",
|
|
1100
|
+
"properties": {
|
|
1101
|
+
"href": {
|
|
1102
|
+
"type": "string",
|
|
1103
|
+
"title": "URL"
|
|
1104
|
+
},
|
|
1105
|
+
"target": {
|
|
1106
|
+
"type": "string",
|
|
1107
|
+
"title": "Target"
|
|
1108
|
+
},
|
|
1109
|
+
"download": {
|
|
1110
|
+
"type": "boolean",
|
|
1111
|
+
"title": "Download"
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1079
1117
|
{
|
|
1080
1118
|
"id": "mediaCard.press",
|
|
1081
1119
|
"owner": "@ankhorage/zora",
|
|
@@ -21,6 +21,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
|
|
|
21
21
|
'SignInForm',
|
|
22
22
|
'SignUpForm',
|
|
23
23
|
],
|
|
24
|
+
audio: ['Audio'],
|
|
24
25
|
surface: ['Surface'],
|
|
25
26
|
avatar: ['Avatar', 'AvatarGroup'],
|
|
26
27
|
badge: ['Badge'],
|
|
@@ -36,6 +37,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
|
|
|
36
37
|
icon: ['Icon'],
|
|
37
38
|
image: ['Image'],
|
|
38
39
|
'keyboard-avoiding-view': ['KeyboardAvoidingView'],
|
|
40
|
+
link: ['Link'],
|
|
39
41
|
'master-detail': ['MasterDetail'],
|
|
40
42
|
'content-rail': ['ContentRail'],
|
|
41
43
|
layout: ['Divider', 'Grid', 'Screen', 'ScrollView', 'View'],
|
|
@@ -50,6 +52,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
|
|
|
50
52
|
'time-picker': ['TimePicker'],
|
|
51
53
|
timeline: ['Timeline'],
|
|
52
54
|
uploader: ['Uploader'],
|
|
55
|
+
video: ['Video'],
|
|
53
56
|
'bottom-sheet': ['BottomSheet'],
|
|
54
57
|
chess: ['ChessBoard', 'OpeningBook'],
|
|
55
58
|
game: ['Game', 'GameField', 'GameEntity', 'GameInputZone', 'GameMeasurementProbe', 'GameOverlay'],
|
|
@@ -58,6 +61,7 @@ export const FEATURE_MANIFEST_ELEMENTS = {
|
|
|
58
61
|
|
|
59
62
|
export const CONTAINER_ALLOWED_CHILDREN = [
|
|
60
63
|
'ActivityIndicator',
|
|
64
|
+
'Audio',
|
|
61
65
|
'AuthScreen',
|
|
62
66
|
'ForgotPasswordForm',
|
|
63
67
|
'OAuthProviderButton',
|
|
@@ -105,6 +109,7 @@ export const CONTAINER_ALLOWED_CHILDREN = [
|
|
|
105
109
|
'Image',
|
|
106
110
|
'Hero',
|
|
107
111
|
'KeyboardAvoidingView',
|
|
112
|
+
'Link',
|
|
108
113
|
'MasterDetail',
|
|
109
114
|
'Button',
|
|
110
115
|
'ButtonGroup',
|
|
@@ -124,6 +129,7 @@ export const CONTAINER_ALLOWED_CHILDREN = [
|
|
|
124
129
|
'Reader',
|
|
125
130
|
'ContentRail',
|
|
126
131
|
'MissingElement',
|
|
132
|
+
'Video',
|
|
127
133
|
] as const;
|
|
128
134
|
|
|
129
135
|
export const GAME_ALLOWED_CHILDREN = ['Game', 'GameField'] as const;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { Pressable } from '@ankhorage/surface';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import type { AudioProps } from '../../../../types/audio';
|
|
5
|
+
import { IconButton } from '../../../button/public';
|
|
6
|
+
import { View } from '../../../layout/public';
|
|
7
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
9
|
+
import { Text } from '../../../typography/public';
|
|
10
|
+
import { useAudioController } from '../../composition/useAudioController';
|
|
11
|
+
|
|
12
|
+
const AUDIO_CONTROL_TRACK_WIDTH = 160;
|
|
13
|
+
|
|
14
|
+
/** Renders the canonical themed Audio player backed by Expo Audio. */
|
|
15
|
+
export const Audio = withZoraThemeScope(AudioInner);
|
|
16
|
+
|
|
17
|
+
/** Keeps a value inside an inclusive fractional range. */
|
|
18
|
+
function clampFraction(value: number): number {
|
|
19
|
+
return Math.max(0, Math.min(1, value));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Normalizes a finite non-negative playback value. */
|
|
23
|
+
function normalizePlaybackTime(value: number): number {
|
|
24
|
+
return Number.isFinite(value) && value > 0 ? value : 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Formats a playback duration as minutes and seconds. */
|
|
28
|
+
function formatAudioTime(value: number): string {
|
|
29
|
+
const seconds = Math.floor(normalizePlaybackTime(value));
|
|
30
|
+
return `${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, '0')}`;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** Renders an accessible themed press target for an audio playback range. */
|
|
34
|
+
function AudioRange({
|
|
35
|
+
accessibilityLabel,
|
|
36
|
+
color,
|
|
37
|
+
disabled,
|
|
38
|
+
onChange,
|
|
39
|
+
value,
|
|
40
|
+
}: {
|
|
41
|
+
readonly accessibilityLabel: string;
|
|
42
|
+
readonly color: string;
|
|
43
|
+
readonly disabled: boolean;
|
|
44
|
+
readonly onChange: (value: number) => void;
|
|
45
|
+
readonly value: number;
|
|
46
|
+
}) {
|
|
47
|
+
const { theme } = useZoraTheme();
|
|
48
|
+
const fraction = clampFraction(value);
|
|
49
|
+
|
|
50
|
+
return (
|
|
51
|
+
<Pressable
|
|
52
|
+
accessibilityLabel={accessibilityLabel}
|
|
53
|
+
accessibilityRole="adjustable"
|
|
54
|
+
accessibilityState={{ disabled }}
|
|
55
|
+
bg={theme.semantics.neutral.surface}
|
|
56
|
+
disabled={disabled}
|
|
57
|
+
height={16}
|
|
58
|
+
onPress={(event) =>
|
|
59
|
+
onChange(clampFraction(event.nativeEvent.locationX / AUDIO_CONTROL_TRACK_WIDTH))
|
|
60
|
+
}
|
|
61
|
+
radius="full"
|
|
62
|
+
style={{ justifyContent: 'center', width: AUDIO_CONTROL_TRACK_WIDTH }}
|
|
63
|
+
>
|
|
64
|
+
<View bg={color} height={4} radius="full" style={{ width: `${fraction * 100}%` }} />
|
|
65
|
+
</Pressable>
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/** Owns Expo Audio playback state and composes the portable themed player controls. */
|
|
70
|
+
function AudioInner({
|
|
71
|
+
themeId: _themeId,
|
|
72
|
+
mode: _mode,
|
|
73
|
+
interactionPolicy,
|
|
74
|
+
source,
|
|
75
|
+
testID,
|
|
76
|
+
}: AudioProps) {
|
|
77
|
+
const { theme } = useZoraTheme();
|
|
78
|
+
const controller = useAudioController(source);
|
|
79
|
+
const duration = normalizePlaybackTime(controller.duration);
|
|
80
|
+
const currentTime = Math.min(normalizePlaybackTime(controller.currentTime), duration || Infinity);
|
|
81
|
+
const progress = duration > 0 ? currentTime / duration : 0;
|
|
82
|
+
const disabled = interactionPolicy === 'passive' || !source || !controller.isLoaded;
|
|
83
|
+
|
|
84
|
+
/** Seeks the Expo player to a fraction of its current duration. */
|
|
85
|
+
const seek = React.useCallback(
|
|
86
|
+
(fraction: number) => {
|
|
87
|
+
if (duration <= 0 || disabled) return;
|
|
88
|
+
void controller.seekTo(clampFraction(fraction) * duration).catch(() => undefined);
|
|
89
|
+
},
|
|
90
|
+
[controller, disabled, duration],
|
|
91
|
+
);
|
|
92
|
+
|
|
93
|
+
/** Updates the player volume immediately from the themed volume range. */
|
|
94
|
+
const changeVolume = React.useCallback(
|
|
95
|
+
(nextVolume: number) => {
|
|
96
|
+
if (disabled) return;
|
|
97
|
+
const resolvedVolume = clampFraction(nextVolume);
|
|
98
|
+
controller.setVolume(resolvedVolume);
|
|
99
|
+
},
|
|
100
|
+
[controller, disabled],
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
/** Toggles the current Expo Audio player state. */
|
|
104
|
+
const togglePlayback = React.useCallback(() => {
|
|
105
|
+
if (disabled) return;
|
|
106
|
+
if (controller.playing) {
|
|
107
|
+
controller.pause();
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
controller.play();
|
|
111
|
+
}, [controller, disabled]);
|
|
112
|
+
|
|
113
|
+
return (
|
|
114
|
+
<View
|
|
115
|
+
accessibilityLabel="Audio player"
|
|
116
|
+
accessibilityRole="summary"
|
|
117
|
+
bg={theme.semantics.surface.raised}
|
|
118
|
+
borderColor={theme.semantics.neutral.divider}
|
|
119
|
+
borderWidth={1}
|
|
120
|
+
gap="s"
|
|
121
|
+
p="m"
|
|
122
|
+
radius="m"
|
|
123
|
+
testID={testID}
|
|
124
|
+
>
|
|
125
|
+
<View align="center" direction="row" gap="s" wrap="nowrap">
|
|
126
|
+
<IconButton
|
|
127
|
+
disabled={disabled}
|
|
128
|
+
icon={{ name: controller.playing ? 'pause' : 'play' }}
|
|
129
|
+
interactionPolicy={interactionPolicy}
|
|
130
|
+
label={controller.playing ? 'Pause audio' : 'Play audio'}
|
|
131
|
+
onPress={togglePlayback}
|
|
132
|
+
/>
|
|
133
|
+
<AudioRange
|
|
134
|
+
accessibilityLabel="Audio progress"
|
|
135
|
+
color={theme.semantics.action.primary.base}
|
|
136
|
+
disabled={disabled || duration <= 0}
|
|
137
|
+
onChange={seek}
|
|
138
|
+
value={progress}
|
|
139
|
+
/>
|
|
140
|
+
<Text accessibilityLiveRegion="polite" emphasis="muted" variant="caption">
|
|
141
|
+
{`${formatAudioTime(currentTime)} / ${formatAudioTime(duration)}`}
|
|
142
|
+
</Text>
|
|
143
|
+
</View>
|
|
144
|
+
<View align="center" direction="row" gap="s" wrap="nowrap">
|
|
145
|
+
<Text accessibilityLabel="Volume" emphasis="muted" variant="caption">
|
|
146
|
+
Volume
|
|
147
|
+
</Text>
|
|
148
|
+
<AudioRange
|
|
149
|
+
accessibilityLabel="Audio volume"
|
|
150
|
+
color={theme.semantics.action.primary.base}
|
|
151
|
+
disabled={disabled}
|
|
152
|
+
onChange={changeVolume}
|
|
153
|
+
value={controller.volume}
|
|
154
|
+
/>
|
|
155
|
+
</View>
|
|
156
|
+
</View>
|
|
157
|
+
);
|
|
158
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ZoraComponentMeta } from '../../types/authoring';
|
|
2
|
+
|
|
3
|
+
export const audioMeta = {
|
|
4
|
+
name: 'Audio',
|
|
5
|
+
category: 'component',
|
|
6
|
+
description:
|
|
7
|
+
'Plays one authored audio asset with themed playback, seek, progress, and volume controls.',
|
|
8
|
+
directManifestNode: true,
|
|
9
|
+
allowedChildren: [],
|
|
10
|
+
blueprint: { label: 'Audio' },
|
|
11
|
+
props: {
|
|
12
|
+
source: {
|
|
13
|
+
type: 'media',
|
|
14
|
+
category: 'Content',
|
|
15
|
+
label: 'Source',
|
|
16
|
+
mediaKinds: ['audio'],
|
|
17
|
+
authoring: { authority: 'instance' },
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
} as const satisfies ZoraComponentMeta;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Internal playback state and operations consumed by the themed Audio controls. */
|
|
2
|
+
export interface AudioController {
|
|
3
|
+
readonly currentTime: number;
|
|
4
|
+
readonly duration: number;
|
|
5
|
+
readonly isLoaded: boolean;
|
|
6
|
+
readonly playing: boolean;
|
|
7
|
+
readonly volume: number;
|
|
8
|
+
pause(): void;
|
|
9
|
+
play(): void;
|
|
10
|
+
seekTo(seconds: number): Promise<void>;
|
|
11
|
+
setVolume(volume: number): void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useAudioPlayer, useAudioPlayerStatus } from 'expo-audio';
|
|
2
|
+
|
|
3
|
+
import type { AudioProps } from '../../../types/audio';
|
|
4
|
+
import type { AudioController } from './AudioController';
|
|
5
|
+
|
|
6
|
+
/** Applies the requested volume through Expo Audio's mutable player boundary. */
|
|
7
|
+
function setAudioPlayerVolume(player: { volume: number }, volume: number): void {
|
|
8
|
+
player.volume = volume;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** Connects native Audio controls to the lifecycle-managed Expo Audio player. */
|
|
12
|
+
export function useAudioController(source: AudioProps['source']): AudioController {
|
|
13
|
+
const player = useAudioPlayer(source, { updateInterval: 250 });
|
|
14
|
+
const status = useAudioPlayerStatus(player);
|
|
15
|
+
|
|
16
|
+
return {
|
|
17
|
+
currentTime: status.currentTime,
|
|
18
|
+
duration: status.duration || player.duration,
|
|
19
|
+
isLoaded: status.isLoaded,
|
|
20
|
+
pause: () => player.pause(),
|
|
21
|
+
play: () => player.play(),
|
|
22
|
+
playing: status.playing,
|
|
23
|
+
seekTo: (seconds) => player.seekTo(seconds),
|
|
24
|
+
setVolume: (volume) => setAudioPlayerVolume(player, volume),
|
|
25
|
+
volume: player.volume,
|
|
26
|
+
};
|
|
27
|
+
}
|