@ankhorage/zora 28.6.9 → 28.6.10
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 +7 -0
- package/README.md +1 -1
- package/dist/authoring.browser.js +4 -4
- package/dist/authoring.js +4 -4
- package/dist/features/accordion/accordionItemMeta.js +1 -1
- package/dist/features/accordion/adapters/inbound/Accordion.js +2 -2
- package/dist/features/accordion/adapters/inbound/AccordionItem.js +5 -5
- package/dist/features/accordion/public.js +2 -2
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.js +2 -2
- package/dist/features/activity-indicator/adapters/inbound/web-artifact/ActivityIndicator.js +2 -2
- package/dist/features/activity-indicator/public.js +1 -1
- package/dist/features/app-bar/adapters/inbound/AppBar.js +6 -6
- package/dist/features/app-bar/appBarMeta.js +1 -1
- package/dist/features/app-bar/public.js +1 -1
- package/dist/features/app-header/adapters/inbound/AppHeader.js +1 -1
- package/dist/features/app-header/appHeaderMeta.js +1 -1
- package/dist/features/app-header/public.js +1 -1
- package/dist/features/audio/adapters/inbound/Audio.js +6 -6
- package/dist/features/audio/public.js +1 -1
- package/dist/features/auth/adapters/inbound/AuthForm.js +3 -3
- package/dist/features/auth/adapters/inbound/AuthFormField.js +2 -2
- package/dist/features/auth/adapters/inbound/AuthScreen.js +8 -8
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js +5 -5
- package/dist/features/auth/adapters/inbound/OAuthProviderButton.js +3 -3
- package/dist/features/auth/adapters/inbound/OAuthProviderList.js +3 -3
- package/dist/features/auth/adapters/inbound/OtpForm.js +4 -4
- package/dist/features/auth/adapters/inbound/SignInForm.js +5 -5
- package/dist/features/auth/adapters/inbound/SignUpForm.js +4 -4
- package/dist/features/auth/oauthProviderButtonMeta.js +1 -1
- package/dist/features/auth/oauthProviderListMeta.js +1 -1
- package/dist/features/auth/public.js +8 -8
- package/dist/features/avatar/adapters/inbound/Avatar.js +6 -6
- package/dist/features/avatar/adapters/inbound/AvatarGroup.js +4 -4
- package/dist/features/avatar/avatarGroupMeta.js +1 -1
- package/dist/features/avatar/public.js +3 -3
- package/dist/features/badge/adapters/inbound/Badge.js +2 -2
- package/dist/features/badge/public.js +1 -1
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js +4 -4
- package/dist/features/bottom-sheet/bottomSheetMeta.js +1 -1
- package/dist/features/bottom-sheet/public.js +1 -1
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js +7 -7
- package/dist/features/breadcrumbs/public.js +1 -1
- package/dist/features/button/adapters/inbound/Button.js +4 -4
- package/dist/features/button/adapters/inbound/ButtonGroup.js +2 -2
- package/dist/features/button/adapters/inbound/IconButton.js +2 -2
- package/dist/features/button/buttonMeta.js +2 -2
- package/dist/features/button/public.js +3 -3
- package/dist/features/button/utils/resolveButtonThemeRecipe.js +1 -1
- package/dist/features/button/utils/themeRecipeMeta.js +1 -1
- package/dist/features/calendar/adapters/inbound/Calendar.js +7 -7
- package/dist/features/calendar/public.js +1 -1
- package/dist/features/card/adapters/inbound/Card.js +8 -8
- package/dist/features/card/adapters/inbound/MediaCard.js +6 -6
- package/dist/features/card/adapters/inbound/MetricCard.js +10 -10
- package/dist/features/card/adapters/inbound/PostCard.js +7 -7
- package/dist/features/card/adapters/inbound/ProductCard.js +8 -8
- package/dist/features/card/cardMeta.js +2 -2
- package/dist/features/card/mediaCardMeta.js +1 -1
- package/dist/features/card/postCardMeta.js +1 -1
- package/dist/features/card/public.js +5 -5
- package/dist/features/carousel/Carousel.js +2 -2
- package/dist/features/carousel/public.js +1 -1
- package/dist/features/chat/adapters/inbound/ChatListItem.js +6 -6
- package/dist/features/chat/adapters/inbound/MessageBubble.js +5 -5
- package/dist/features/chat/messageBubbleMeta.js +1 -1
- package/dist/features/chat/public.js +2 -2
- package/dist/features/chess/adapters/inbound/ChessBoard.js +6 -6
- package/dist/features/chess/adapters/inbound/OpeningBook.js +3 -3
- package/dist/features/chess/public.js +5 -5
- package/dist/features/chip/adapters/inbound/Chip.js +7 -7
- package/dist/features/chip/adapters/inbound/ChipGroup.js +3 -3
- package/dist/features/chip/public.js +2 -2
- package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js +6 -6
- package/dist/features/collection-editor/public.js +1 -1
- package/dist/features/color/ColorHexField.js +4 -4
- package/dist/features/color/ColorHorizontalPointerProxy.js +1 -1
- package/dist/features/color/ColorHueScale.js +8 -8
- package/dist/features/color/ColorPicker.js +13 -13
- package/dist/features/color/ColorSpectrumSlider.js +5 -5
- package/dist/features/color/ColorTone.js +10 -10
- package/dist/features/color/ColorWheel.js +7 -7
- package/dist/features/color/ColorWheelKeyboardProxy.js +1 -1
- package/dist/features/color/ColorWheelPointerProxy.js +1 -1
- package/dist/features/color/public.js +4 -4
- package/dist/features/color/utils/resolveWheelColor.js +2 -2
- package/dist/features/content-rail/adapters/inbound/ContentRail.js +10 -10
- package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js +1 -1
- package/dist/features/content-rail/contentRailMeta.js +2 -2
- package/dist/features/content-rail/public.js +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.js +11 -11
- package/dist/features/data-table/public.js +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.js +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.native.js +6 -6
- package/dist/features/date-picker/adapters/inbound/DatePicker.web.js +6 -6
- package/dist/features/date-picker/composition/DatePickerContent.js +5 -5
- package/dist/features/date-picker/composition/DatePickerField.js +1 -1
- package/dist/features/date-picker/composition/DatePickerTrigger.js +2 -2
- package/dist/features/date-picker/public.js +1 -1
- package/dist/features/dialog/adapters/inbound/Dialog.js +4 -4
- package/dist/features/dialog/dialogMeta.js +1 -1
- package/dist/features/dialog/public.js +1 -1
- package/dist/features/empty-state/adapters/inbound/EmptyState.js +4 -4
- package/dist/features/empty-state/public.js +1 -1
- package/dist/features/explorer/adapters/inbound/Explorer.js +11 -11
- package/dist/features/explorer/adapters/inbound/FileExplorer.js +1 -1
- package/dist/features/explorer/adapters/inbound/MediaExplorer.js +1 -1
- package/dist/features/explorer/adapters/inbound/useExplorerKeyboardFocus.js +1 -1
- package/dist/features/explorer/public.js +5 -5
- package/dist/features/form/adapters/inbound/Form.js +3 -3
- package/dist/features/form/adapters/inbound/FormActions.js +3 -3
- package/dist/features/form/adapters/inbound/FormError.js +4 -4
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.js +1 -1
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js +3 -3
- package/dist/features/form/checkbox/public.js +2 -2
- package/dist/features/form/field/adapters/inbound/Field.js +3 -3
- package/dist/features/form/field/public.js +1 -1
- package/dist/features/form/public.js +6 -6
- package/dist/features/form/radio/adapters/inbound/Radio.js +1 -1
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js +7 -7
- package/dist/features/form/radio/adapters/inbound/RadioOptionControl.js +4 -4
- package/dist/features/form/radio/public.js +2 -2
- package/dist/features/form/radio/radioMeta.js +1 -1
- package/dist/features/form/radio/themeRecipeMeta.js +1 -1
- package/dist/features/form/radio/utils/handleRadioOptionKeyDown.js +1 -1
- package/dist/features/form/search-input/adapters/inbound/SearchInput.js +2 -2
- package/dist/features/form/search-input/public.js +1 -1
- package/dist/features/form/select/adapters/inbound/Select.js +1 -1
- package/dist/features/form/select/adapters/inbound/Select.native.js +7 -7
- package/dist/features/form/select/adapters/inbound/Select.web.js +8 -8
- package/dist/features/form/select/composition/SelectOptionRow.js +6 -6
- package/dist/features/form/select/composition/SelectSearchInput.js +2 -2
- package/dist/features/form/select/composition/SelectTrigger.js +6 -6
- package/dist/features/form/select/composition/useSelectController.js +1 -1
- package/dist/features/form/select/public.js +1 -1
- package/dist/features/form/switch/adapters/inbound/Switch.js +1 -1
- package/dist/features/form/switch/public.js +1 -1
- package/dist/features/form/text-input/adapters/inbound/TextInput.js +4 -4
- package/dist/features/form/text-input/public.js +1 -1
- package/dist/features/form/useFormController.js +1 -1
- package/dist/features/game/adapters/inbound/Game.js +6 -6
- package/dist/features/game/adapters/inbound/GameEntity.js +3 -3
- package/dist/features/game/adapters/inbound/GameField.js +2 -2
- package/dist/features/game/adapters/inbound/GameInputZone.js +3 -3
- package/dist/features/game/adapters/inbound/GameMeasurementProbe.js +3 -3
- package/dist/features/game/adapters/inbound/GameOverlay.js +2 -2
- package/dist/features/game/adapters/inbound/createGamePointerEvent.js +1 -1
- package/dist/features/game/adapters/inbound/useGameInputZoneResponder.js +3 -3
- package/dist/features/game/composition/useGameRuntime.js +1 -1
- package/dist/features/game/public.js +6 -6
- package/dist/features/game/utils/toGamePercentage.js +1 -1
- package/dist/features/game/utils/useGameEntityAnimatedStyle.js +4 -4
- package/dist/features/game/utils/useGameEntityMeasurement.js +2 -2
- package/dist/features/gradient/adapters/inbound/Gradient.js +3 -3
- package/dist/features/gradient/gradientMeta.js +1 -1
- package/dist/features/gradient/public.js +2 -2
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.js +6 -6
- package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/compactGraphSpacing.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphController.js +2 -2
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphResizeObserver.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.js +16 -16
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphViewDomCallbacks.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/fitGraphViewport.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/hasGraphLayoutChanged.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/runGraphLayout.js +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/syncGraphElements.js +1 -1
- package/dist/features/graph-view/public.js +2 -2
- package/dist/features/grid-interactions/adapters/inbound/GridInteractions.js +5 -5
- package/dist/features/grid-interactions/adapters/inbound/GridInteractionsKeyboardProxy.js +1 -1
- package/dist/features/grid-interactions/adapters/inbound/useGridInteractionScrollLock.js +1 -1
- package/dist/features/grid-interactions/adapters/inbound/useGridInteractionScrollLock.native.js +2 -2
- package/dist/features/grid-interactions/public.js +2 -2
- package/dist/features/grid-rulers/adapters/inbound/GridLineOverlay.js +4 -4
- package/dist/features/grid-rulers/adapters/inbound/GridRuler.js +3 -3
- package/dist/features/grid-rulers/application/resolveGridRulerMarks.js +1 -1
- package/dist/features/grid-rulers/public.js +3 -3
- package/dist/features/grid-view/adapters/inbound/GridView.js +1 -1
- package/dist/features/grid-view/adapters/inbound/TileGrid.js +2 -2
- package/dist/features/grid-view/application/createGridScrollSync.js +2 -2
- package/dist/features/grid-view/application/resolveScrollEventSource.js +1 -1
- package/dist/features/grid-view/public.js +3 -3
- package/dist/features/hero/adapters/inbound/Hero.js +5 -5
- package/dist/features/hero/public.js +1 -1
- package/dist/features/icon/adapters/inbound/Icon.js +1 -1
- package/dist/features/icon/public.js +1 -1
- package/dist/features/image/adapters/inbound/Image.js +4 -4
- package/dist/features/image/public.js +1 -1
- package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.js +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.js +1 -1
- package/dist/features/keyboard-avoiding-view/public.js +2 -2
- package/dist/features/layout/adapters/inbound/AppShell.js +2 -2
- package/dist/features/layout/adapters/inbound/Divider.js +1 -1
- package/dist/features/layout/adapters/inbound/Grid.js +1 -1
- package/dist/features/layout/adapters/inbound/Screen.js +4 -4
- package/dist/features/layout/adapters/inbound/ScrollView.js +4 -4
- package/dist/features/layout/adapters/inbound/View.js +1 -1
- package/dist/features/layout/adapters/inbound/useScrollGestureLock.js +1 -1
- package/dist/features/layout/dividerMeta.js +1 -1
- package/dist/features/layout/gridMeta.js +2 -2
- package/dist/features/layout/public.js +8 -8
- package/dist/features/layout/screenMeta.js +1 -1
- package/dist/features/layout/scrollViewMeta.js +2 -2
- package/dist/features/layout/viewMeta.js +2 -2
- package/dist/features/link/adapters/inbound/Link.js +1 -1
- package/dist/features/link/adapters/inbound/Link.native.js +5 -5
- package/dist/features/link/adapters/inbound/Link.web.js +5 -5
- package/dist/features/link/linkMeta.js +2 -2
- package/dist/features/link/public.js +1 -1
- package/dist/features/link/utils/linkThemeRecipeMeta.js +1 -1
- package/dist/features/list/adapters/inbound/FlatList.js +6 -6
- package/dist/features/list/adapters/inbound/HorizontalListSeparator.js +1 -1
- package/dist/features/list/adapters/inbound/List.js +4 -4
- package/dist/features/list/adapters/inbound/ListItem.js +5 -5
- package/dist/features/list/adapters/inbound/ListSection.js +4 -4
- package/dist/features/list/adapters/inbound/SectionList.js +7 -7
- package/dist/features/list/adapters/inbound/VerticalListSeparator.js +1 -1
- package/dist/features/list/flatListMeta.js +2 -2
- package/dist/features/list/public.js +5 -5
- package/dist/features/list/sectionListMeta.js +1 -1
- package/dist/features/master-detail/adapters/inbound/MasterDetail.js +3 -3
- package/dist/features/master-detail/masterDetailMeta.js +1 -1
- package/dist/features/master-detail/public.js +1 -1
- package/dist/features/matrix-grid/adapters/inbound/MatrixGrid.js +9 -9
- package/dist/features/matrix-grid/adapters/inbound/useMatrixGridKeyboardFocus.js +1 -1
- package/dist/features/matrix-grid/public.js +2 -2
- package/dist/features/missing-element/adapters/inbound/MissingElement.js +5 -5
- package/dist/features/missing-element/public.js +1 -1
- package/dist/features/pagination/adapters/inbound/Pagination.js +6 -6
- package/dist/features/pagination/public.js +1 -1
- package/dist/features/pagination/utils/resolvePaginationState.js +1 -1
- package/dist/features/palette-item/adapters/inbound/PaletteItem.js +6 -6
- package/dist/features/palette-item/public.js +1 -1
- package/dist/features/picker/composition/PickerField.js +2 -2
- package/dist/features/picker/composition/PickerHeader.js +2 -2
- package/dist/features/popover/adapters/inbound/Popover.js +1 -1
- package/dist/features/popover/public.js +1 -1
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js +5 -5
- package/dist/features/popover-menu/public.js +1 -1
- package/dist/features/progress/adapters/inbound/Progress.js +5 -5
- package/dist/features/progress/adapters/inbound/ProgressRing.js +7 -7
- package/dist/features/progress/progressMeta.js +1 -1
- package/dist/features/progress/public.js +2 -2
- package/dist/features/rating/adapters/inbound/Rating.js +6 -6
- package/dist/features/rating/public.js +1 -1
- package/dist/features/reader/adapters/inbound/Reader.js +10 -10
- package/dist/features/reader/meta.js +1 -1
- package/dist/features/reader/public.js +2 -2
- package/dist/features/registry/ZORA_BASE_COMPONENT_REGISTRY.js +69 -69
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +2 -2
- package/dist/features/registry/adapters/inbound/AuthoringSelectionAdapter.js +1 -1
- package/dist/features/registry/adapters/inbound/ThemeEditorAdapter.js +1 -1
- package/dist/features/registry/bindableComponentMeta.js +3 -3
- package/dist/features/registry/componentMeta.js +108 -108
- package/dist/features/registry/createEventCapabilities.js +1 -1
- package/dist/features/registry/createZoraComponentRegistry.js +1 -1
- package/dist/features/registry/finalizeFeatureMetadata.js +2 -2
- package/dist/features/registry/index.js +4 -4
- package/dist/features/registry/public.js +3 -3
- package/dist/features/registry/readerFreeRegistry.js +2 -2
- package/dist/features/registry/themeRecipeMeta.js +6 -6
- package/dist/features/rich-text/adapters/inbound/RichText.js +2 -2
- package/dist/features/rich-text/adapters/inbound/RichText.web.js +2 -2
- package/dist/features/rich-text/adapters/inbound/RichTextClient.js +7 -7
- package/dist/features/rich-text/public.js +1 -1
- package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js +7 -7
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.js +5 -5
- package/dist/features/scanner/adapters/inbound/ScanOverlay.js +5 -5
- package/dist/features/scanner/meta.js +1 -1
- package/dist/features/scanner/public.js +3 -3
- package/dist/features/section/adapters/inbound/ScreenSection.js +3 -3
- package/dist/features/section/adapters/inbound/SectionHeader.js +4 -4
- package/dist/features/section/public.js +2 -2
- package/dist/features/section/screenSectionMeta.js +1 -1
- package/dist/features/selection/adapters/inbound/SelectableItem.js +3 -3
- package/dist/features/selection/adapters/inbound/SelectionProvider.js +1 -1
- package/dist/features/selection/public.js +3 -3
- package/dist/features/skeleton/adapters/inbound/Skeleton.js +3 -3
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.js +6 -6
- package/dist/features/skeleton/adapters/inbound/SkeletonList.js +4 -4
- package/dist/features/skeleton/adapters/inbound/SkeletonText.js +3 -3
- package/dist/features/skeleton/public.js +4 -4
- package/dist/features/spatial-grid/adapters/inbound/SpatialGrid.js +2 -2
- package/dist/features/spatial-grid/public.js +1 -1
- package/dist/features/surface/adapters/inbound/Surface.js +1 -1
- package/dist/features/surface/public.js +1 -1
- package/dist/features/surface/surfaceMeta.js +2 -2
- package/dist/features/tabletop/adapters/inbound/CardBack.js +4 -4
- package/dist/features/tabletop/adapters/inbound/CardHand.js +3 -3
- package/dist/features/tabletop/adapters/inbound/PlayingCard.js +5 -5
- package/dist/features/tabletop/adapters/inbound/PokerTrainingTable.js +3 -3
- package/dist/features/tabletop/adapters/inbound/TabletopTable.js +5 -5
- package/dist/features/tabletop/public.js +9 -9
- package/dist/features/tabletop/utils/createPokerTrainingTableState.js +1 -1
- package/dist/features/tabs/adapters/inbound/Tab.js +2 -2
- package/dist/features/tabs/adapters/inbound/TabList.js +1 -1
- package/dist/features/tabs/adapters/inbound/TabPanel.js +1 -1
- package/dist/features/tabs/adapters/inbound/Tabs.js +2 -2
- package/dist/features/tabs/public.js +4 -4
- package/dist/features/tabs/tabPanelMeta.js +2 -2
- package/dist/features/tabs/tabsMeta.js +1 -1
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.js +4 -4
- package/dist/features/theme/adapters/inbound/ZoraProvider.js +4 -4
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.js +2 -2
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.js +1 -1
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.js +1 -1
- package/dist/features/theme/composition/ZoraThemeRuntimeContext.js +1 -1
- package/dist/features/theme/composition/useZoraThemeRecipe.js +2 -2
- package/dist/features/theme/mode-toggle/public.js +1 -1
- package/dist/features/theme/runtime.js +5 -5
- package/dist/features/time-grid/adapters/inbound/TimeGrid.js +4 -4
- package/dist/features/time-grid/public.js +3 -3
- package/dist/features/time-picker/adapters/inbound/TimePicker.js +1 -1
- package/dist/features/time-picker/adapters/inbound/TimePicker.native.js +5 -5
- package/dist/features/time-picker/adapters/inbound/TimePicker.web.js +5 -5
- package/dist/features/time-picker/composition/TimePickerContent.js +3 -3
- package/dist/features/time-picker/composition/TimePickerField.js +1 -1
- package/dist/features/time-picker/composition/TimePickerTrigger.js +1 -1
- package/dist/features/time-picker/public.js +1 -1
- package/dist/features/timeline/adapters/inbound/Timeline.js +8 -8
- package/dist/features/timeline/meta.js +1 -1
- package/dist/features/timeline/public.js +1 -1
- package/dist/features/toast/adapters/inbound/Toast.js +1 -1
- package/dist/features/toast/public.js +2 -2
- package/dist/features/toolbar/adapters/inbound/Toolbar.js +3 -3
- package/dist/features/toolbar/public.js +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeItem.js +6 -6
- package/dist/features/tree-view/adapters/inbound/TreeView.js +4 -4
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeItemRow.js +2 -2
- package/dist/features/tree-view/adapters/inbound/web-artifact/TreeView.js +2 -2
- package/dist/features/tree-view/public.js +2 -2
- package/dist/features/typography/adapters/inbound/Heading.js +7 -7
- package/dist/features/typography/adapters/inbound/Text.js +6 -6
- package/dist/features/typography/headingMeta.js +2 -2
- package/dist/features/typography/public.js +2 -2
- package/dist/features/typography/textMeta.js +2 -2
- package/dist/features/typography/utils/headingThemeRecipeMeta.js +1 -1
- package/dist/features/typography/utils/resolveHeadingRecipe.js +2 -2
- package/dist/features/typography/utils/resolveHeadingThemeRecipe.js +1 -1
- package/dist/features/typography/utils/resolveTextStyle.js +1 -1
- package/dist/features/typography/utils/resolveTextThemeRecipe.js +1 -1
- package/dist/features/typography/utils/resolveTypographyThemeRecipeFields.js +1 -1
- package/dist/features/typography/utils/textThemeRecipeMeta.js +1 -1
- package/dist/features/typography/utils/typographyThemeRecipeFields.js +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.js +12 -12
- package/dist/features/uploader/composition/createUploadPicker.js +3 -3
- package/dist/features/uploader/public.js +2 -2
- package/dist/features/video/adapters/inbound/Video.js +1 -1
- package/dist/features/video/adapters/inbound/Video.native.js +6 -6
- package/dist/features/video/adapters/inbound/Video.web.js +5 -5
- package/dist/features/video/public.js +1 -1
- package/dist/index.js +11 -11
- package/dist/readerFree.js +84 -84
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ScrollGestureLockContext } from './ScrollGestureLockContext';
|
|
2
|
+
import { ScrollGestureLockContext } from './ScrollGestureLockContext.js';
|
|
3
3
|
const unlockedScrollGesture = { acquire: () => () => undefined };
|
|
4
4
|
/*** Resolves the nearest ZORA ScrollView lock, or an inert lock when no scroll container exists. */
|
|
5
5
|
export function useScrollGestureLock() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CHESS_ALLOWED_CHILDREN, CONTAINER_ALLOWED_CHILDREN, GAME_ALLOWED_CHILDREN, TABLETOP_ALLOWED_CHILDREN, } from '../../constants/authoring';
|
|
2
|
-
import { LAYOUT_PROPS } from './constants';
|
|
1
|
+
import { CHESS_ALLOWED_CHILDREN, CONTAINER_ALLOWED_CHILDREN, GAME_ALLOWED_CHILDREN, TABLETOP_ALLOWED_CHILDREN, } from '../../constants/authoring.js';
|
|
2
|
+
import { LAYOUT_PROPS } from './constants.js';
|
|
3
3
|
export const gridMeta = {
|
|
4
4
|
name: 'Grid',
|
|
5
5
|
category: 'foundation',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { AppShell } from './adapters/inbound/AppShell';
|
|
2
|
-
export { Divider } from './adapters/inbound/Divider';
|
|
3
|
-
export { Grid } from './adapters/inbound/Grid';
|
|
4
|
-
export { Screen } from './adapters/inbound/Screen';
|
|
5
|
-
export { ScrollView } from './adapters/inbound/ScrollView';
|
|
6
|
-
export { useScrollGestureLock } from './adapters/inbound/useScrollGestureLock';
|
|
7
|
-
export { View } from './adapters/inbound/View';
|
|
8
|
-
export { ZoraWebStyleSheet } from './adapters/inbound/ZoraWebStyleSheet';
|
|
1
|
+
export { AppShell } from './adapters/inbound/AppShell.js';
|
|
2
|
+
export { Divider } from './adapters/inbound/Divider.js';
|
|
3
|
+
export { Grid } from './adapters/inbound/Grid.js';
|
|
4
|
+
export { Screen } from './adapters/inbound/Screen.js';
|
|
5
|
+
export { ScrollView } from './adapters/inbound/ScrollView.js';
|
|
6
|
+
export { useScrollGestureLock } from './adapters/inbound/useScrollGestureLock.js';
|
|
7
|
+
export { View } from './adapters/inbound/View.js';
|
|
8
|
+
export { ZoraWebStyleSheet } from './adapters/inbound/ZoraWebStyleSheet.js';
|
|
9
9
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring';
|
|
2
|
-
import { LAYOUT_PROPS } from './constants';
|
|
1
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring.js';
|
|
2
|
+
import { LAYOUT_PROPS } from './constants.js';
|
|
3
3
|
export const scrollViewMeta = {
|
|
4
4
|
name: 'ScrollView',
|
|
5
5
|
category: 'foundation',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CHESS_ALLOWED_CHILDREN, CONTAINER_ALLOWED_CHILDREN, GAME_ALLOWED_CHILDREN, } from '../../constants/authoring';
|
|
2
|
-
import { LAYOUT_PROPS } from './constants';
|
|
1
|
+
import { CHESS_ALLOWED_CHILDREN, CONTAINER_ALLOWED_CHILDREN, GAME_ALLOWED_CHILDREN, } from '../../constants/authoring.js';
|
|
2
|
+
import { LAYOUT_PROPS } from './constants.js';
|
|
3
3
|
export const viewMeta = {
|
|
4
4
|
name: 'View',
|
|
5
5
|
category: 'foundation',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Link } from './Link.web';
|
|
1
|
+
export { Link } from './Link.web.js';
|
|
2
2
|
//# sourceMappingURL=Link.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Pressable } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Linking } from 'react-native';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraThemeRecipe } from '../../../theme/composition/useZoraThemeRecipe';
|
|
6
|
-
import { Text } from '../../../typography/public';
|
|
7
|
-
import { resolveTextThemeRecipe } from '../../../typography/utils/resolveTextThemeRecipe';
|
|
8
|
-
import { linkThemeRecipeMeta } from '../../utils/linkThemeRecipeMeta';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraThemeRecipe } from '../../../theme/composition/useZoraThemeRecipe.js';
|
|
6
|
+
import { Text } from '../../../typography/public.js';
|
|
7
|
+
import { resolveTextThemeRecipe } from '../../../typography/utils/resolveTextThemeRecipe.js';
|
|
8
|
+
import { linkThemeRecipeMeta } from '../../utils/linkThemeRecipeMeta.js';
|
|
9
9
|
const linkTextStyle = { textDecorationLine: 'underline' };
|
|
10
10
|
/*** Renders a platform link and delegates internal navigation to the host press handler. */
|
|
11
11
|
export const Link = withZoraThemeScope(LinkInner);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
-
import { useZoraThemeRecipe } from '../../../theme/composition/useZoraThemeRecipe';
|
|
4
|
-
import { Text } from '../../../typography/public';
|
|
5
|
-
import { resolveTextThemeRecipe } from '../../../typography/utils/resolveTextThemeRecipe';
|
|
6
|
-
import { linkThemeRecipeMeta } from '../../utils/linkThemeRecipeMeta';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
|
+
import { useZoraThemeRecipe } from '../../../theme/composition/useZoraThemeRecipe.js';
|
|
4
|
+
import { Text } from '../../../typography/public.js';
|
|
5
|
+
import { resolveTextThemeRecipe } from '../../../typography/utils/resolveTextThemeRecipe.js';
|
|
6
|
+
import { linkThemeRecipeMeta } from '../../utils/linkThemeRecipeMeta.js';
|
|
7
7
|
const linkTextStyle = { textDecorationLine: 'underline' };
|
|
8
8
|
/*** Renders a semantic browser anchor for internal navigation, external URLs, and downloads. */
|
|
9
9
|
export const Link = withZoraThemeScope(LinkInner);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { COMPONENT_THEME_AUTHORING } from '../../constants/authoring';
|
|
2
|
-
import { ZORA_COLORS } from '../theme/colorModel';
|
|
1
|
+
import { COMPONENT_THEME_AUTHORING } from '../../constants/authoring.js';
|
|
2
|
+
import { ZORA_COLORS } from '../theme/colorModel.js';
|
|
3
3
|
export const linkMeta = {
|
|
4
4
|
name: 'Link',
|
|
5
5
|
category: 'component',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Link } from './adapters/inbound/Link';
|
|
1
|
+
export { Link } from './adapters/inbound/Link.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlatList as NativeFlatList } from 'react-native';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { Text } from '../../../typography/public';
|
|
5
|
-
import { LIST_VIRTUALIZATION_DEFAULTS } from '../../constants/virtualization';
|
|
6
|
-
import { HorizontalListSeparator } from './HorizontalListSeparator';
|
|
7
|
-
import { useListVisibility } from './useListVisibility';
|
|
8
|
-
import { VerticalListSeparator } from './VerticalListSeparator';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { Text } from '../../../typography/public.js';
|
|
5
|
+
import { LIST_VIRTUALIZATION_DEFAULTS } from '../../constants/virtualization.js';
|
|
6
|
+
import { HorizontalListSeparator } from './HorizontalListSeparator.js';
|
|
7
|
+
import { useListVisibility } from './useListVisibility.js';
|
|
8
|
+
import { VerticalListSeparator } from './VerticalListSeparator.js';
|
|
9
9
|
/*** Virtualizes keyed manifest children using React Native FlatList and the Runtime repeat contract. */
|
|
10
10
|
export const FlatList = withZoraThemeScope(FlatListInner);
|
|
11
11
|
/*** Maps serializable list options to the native virtualized list. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Divider } from '../../../layout/public';
|
|
2
|
+
import { Divider } from '../../../layout/public.js';
|
|
3
3
|
/*** Separates adjacent items in a horizontal native list. */
|
|
4
4
|
export function HorizontalListSeparator() {
|
|
5
5
|
return <Divider orientation="vertical"/>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { List as SurfaceList } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Divider, View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { resolveListSeparator } from '../../utils/resolveListSeparator';
|
|
6
|
-
import { ListItem } from './ListItem';
|
|
3
|
+
import { Divider, View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { resolveListSeparator } from '../../utils/resolveListSeparator.js';
|
|
6
|
+
import { ListItem } from './ListItem.js';
|
|
7
7
|
function resolveItemVariant({ item, defaultVariant, }) {
|
|
8
8
|
return item.variant ?? defaultVariant;
|
|
9
9
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ListItem as SurfaceListItem } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
6
|
-
import { Text } from '../../../typography/public';
|
|
7
|
-
import { resolveListItemTitleLineCount } from '../../utils/resolveListItemTitleLineCount';
|
|
3
|
+
import { View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
6
|
+
import { Text } from '../../../typography/public.js';
|
|
7
|
+
import { resolveListItemTitleLineCount } from '../../utils/resolveListItemTitleLineCount.js';
|
|
8
8
|
function ListItemInner({ themeId: _themeId, mode: _mode, testID, interactionPolicy, title, description, meta, leading, trailing, action, onPress, selected = false, disabled = false, compact = false, variant = 'divider', }) {
|
|
9
9
|
const { theme } = useZoraTheme();
|
|
10
10
|
const trailingContent = renderTrailing(trailing, action);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View } from '../../../layout/public';
|
|
3
|
-
import { SectionHeader } from '../../../section/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { List } from './List';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { SectionHeader } from '../../../section/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { List } from './List.js';
|
|
6
6
|
function ListSectionInner({ themeId: _themeId, mode: _mode, testID, title, description, eyebrow, actions, ...props }) {
|
|
7
7
|
const hasHeader = title !== undefined;
|
|
8
8
|
return (<View gap="s" testID={testID}>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SectionList as NativeSectionList } from 'react-native';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { Text } from '../../../typography/public';
|
|
5
|
-
import { partitionListSections } from '../../application/use-cases/partitionListSections';
|
|
6
|
-
import { LIST_VIRTUALIZATION_DEFAULTS } from '../../constants/virtualization';
|
|
7
|
-
import { HorizontalListSeparator } from './HorizontalListSeparator';
|
|
8
|
-
import { useListVisibility } from './useListVisibility';
|
|
9
|
-
import { VerticalListSeparator } from './VerticalListSeparator';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { Text } from '../../../typography/public.js';
|
|
5
|
+
import { partitionListSections } from '../../application/use-cases/partitionListSections.js';
|
|
6
|
+
import { LIST_VIRTUALIZATION_DEFAULTS } from '../../constants/virtualization.js';
|
|
7
|
+
import { HorizontalListSeparator } from './HorizontalListSeparator.js';
|
|
8
|
+
import { useListVisibility } from './useListVisibility.js';
|
|
9
|
+
import { VerticalListSeparator } from './VerticalListSeparator.js';
|
|
10
10
|
/*** Virtualizes manifest children grouped by explicit section identities and child counts. */
|
|
11
11
|
export const SectionList = withZoraThemeScope(SectionListInner);
|
|
12
12
|
/*** Maps section identities and native scroll options to a virtualized section list. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Divider } from '../../../layout/public';
|
|
2
|
+
import { Divider } from '../../../layout/public.js';
|
|
3
3
|
/*** Separates adjacent items in a vertical native list. */
|
|
4
4
|
export function VerticalListSeparator() {
|
|
5
5
|
return <Divider orientation="horizontal"/>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring';
|
|
2
|
-
import { LIST_VIRTUALIZATION_DEFAULTS } from './constants/virtualization';
|
|
1
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring.js';
|
|
2
|
+
import { LIST_VIRTUALIZATION_DEFAULTS } from './constants/virtualization.js';
|
|
3
3
|
export const flatListMeta = {
|
|
4
4
|
name: 'FlatList',
|
|
5
5
|
category: 'layout',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { FlatList } from './adapters/inbound/FlatList';
|
|
2
|
-
export { List } from './adapters/inbound/List';
|
|
3
|
-
export { ListItem } from './adapters/inbound/ListItem';
|
|
4
|
-
export { ListSection } from './adapters/inbound/ListSection';
|
|
5
|
-
export { SectionList } from './adapters/inbound/SectionList';
|
|
1
|
+
export { FlatList } from './adapters/inbound/FlatList.js';
|
|
2
|
+
export { List } from './adapters/inbound/List.js';
|
|
3
|
+
export { ListItem } from './adapters/inbound/ListItem.js';
|
|
4
|
+
export { ListSection } from './adapters/inbound/ListSection.js';
|
|
5
|
+
export { SectionList } from './adapters/inbound/SectionList.js';
|
|
6
6
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useBreakpoint } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { ScrollView, View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { resolveMasterDetailPresentation } from '../../application/resolveMasterDetailPresentation';
|
|
3
|
+
import { ScrollView, View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { resolveMasterDetailPresentation } from '../../application/resolveMasterDetailPresentation.js';
|
|
6
6
|
/** Renders responsive master and detail panes while leaving route transitions to the host. */
|
|
7
7
|
export const MasterDetail = withZoraThemeScope(MasterDetailInner);
|
|
8
8
|
/*** Projects the first two children into a desktop split or one compact route pane. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { MasterDetail } from './adapters/inbound/MasterDetail';
|
|
1
|
+
export { MasterDetail } from './adapters/inbound/MasterDetail.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -2,15 +2,15 @@ import { getMatrixCellPlacement, getVisibleMatrixCells, } from '@ankhorage/grid-
|
|
|
2
2
|
import { isRecord } from '@ankhorage/utility/object';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Platform, Pressable as NativePressable, StyleSheet, View } from 'react-native';
|
|
5
|
-
import { GridView } from '../../../grid-view/public';
|
|
6
|
-
import { resolveSelectionEventIntent } from '../../../selection/public';
|
|
7
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
9
|
-
import { createMatrixGridSparseIndex } from '../../application/createMatrixGridSparseIndex';
|
|
10
|
-
import { resolveMatrixGridContentSize } from '../../application/resolveMatrixGridContentSize';
|
|
11
|
-
import { resolveMatrixGridSelection } from '../../application/resolveMatrixGridSelection';
|
|
12
|
-
import { MatrixGridKeyboardProxy } from './MatrixGridKeyboardProxy';
|
|
13
|
-
import { useMatrixGridKeyboardFocus } from './useMatrixGridKeyboardFocus';
|
|
5
|
+
import { GridView } from '../../../grid-view/public.js';
|
|
6
|
+
import { resolveSelectionEventIntent } from '../../../selection/public.js';
|
|
7
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
8
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
9
|
+
import { createMatrixGridSparseIndex } from '../../application/createMatrixGridSparseIndex.js';
|
|
10
|
+
import { resolveMatrixGridContentSize } from '../../application/resolveMatrixGridContentSize.js';
|
|
11
|
+
import { resolveMatrixGridSelection } from '../../application/resolveMatrixGridSelection.js';
|
|
12
|
+
import { MatrixGridKeyboardProxy } from './MatrixGridKeyboardProxy.js';
|
|
13
|
+
import { useMatrixGridKeyboardFocus } from './useMatrixGridKeyboardFocus.js';
|
|
14
14
|
/*** Compose the canonical GridView around released sparse matrix placement and culling geometry. */
|
|
15
15
|
function MatrixGridInner({ accessibilityLabel = 'Matrix grid', cells, height, interactionPolicy, layout, onSelectionChange, onViewportChange, overscanPixels = 160, protectedCellIds = [], readOnly = false, renderCell, selectedCellIds = [], selectionMode = 'single', testID, viewport: controlledViewport, width, zoomX = 1, zoomY = 1, }) {
|
|
16
16
|
const { theme } = useZoraTheme();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { getMatrixGridNextFocusId } from '../../application/getMatrixGridNextFocusId';
|
|
2
|
+
import { getMatrixGridNextFocusId } from '../../application/getMatrixGridNextFocusId.js';
|
|
3
3
|
/*** Keep one roving focus target and restore it after GridView virtualizes a sparse cell. */
|
|
4
4
|
export function useMatrixGridKeyboardFocus(index, disabled, visibleIds, isNavigable, onNavigate) {
|
|
5
5
|
const [focusedId, setFocusedId] = React.useState(null);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MatrixGrid } from './adapters/inbound/MatrixGrid';
|
|
2
|
-
export { resolveMatrixGridContentSize } from './application/resolveMatrixGridContentSize';
|
|
1
|
+
export { MatrixGrid } from './adapters/inbound/MatrixGrid.js';
|
|
2
|
+
export { resolveMatrixGridContentSize } from './application/resolveMatrixGridContentSize.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
|
-
import { Badge } from '../../../badge/public';
|
|
4
|
-
import { View } from '../../../layout/public';
|
|
5
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
3
|
+
import { Badge } from '../../../badge/public.js';
|
|
4
|
+
import { View } from '../../../layout/public.js';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
6
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
8
|
/***
|
|
9
9
|
* Renders the visible, non-interactive body of a draft missing-element marker.
|
|
10
10
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { MissingElement } from './adapters/inbound/MissingElement';
|
|
1
|
+
export { MissingElement } from './adapters/inbound/MissingElement.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button } from '../../../button/public';
|
|
3
|
-
import { View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { Text } from '../../../typography/public';
|
|
6
|
-
import { resolvePaginationPage } from '../../utils/resolvePaginationPage';
|
|
7
|
-
import { resolvePaginationState } from '../../utils/resolvePaginationState';
|
|
2
|
+
import { Button } from '../../../button/public.js';
|
|
3
|
+
import { View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { Text } from '../../../typography/public.js';
|
|
6
|
+
import { resolvePaginationPage } from '../../utils/resolvePaginationPage.js';
|
|
7
|
+
import { resolvePaginationState } from '../../utils/resolvePaginationState.js';
|
|
8
8
|
/*** Renders controls for navigating between pages of a finite result set. */
|
|
9
9
|
export const Pagination = withZoraThemeScope(PaginationInner);
|
|
10
10
|
/*** Connects normalized pagination state to visible page navigation controls. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Pagination } from './adapters/inbound/Pagination';
|
|
1
|
+
export { Pagination } from './adapters/inbound/Pagination.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolvePaginationPage } from './resolvePaginationPage';
|
|
1
|
+
import { resolvePaginationPage } from './resolvePaginationPage.js';
|
|
2
2
|
/*** Normalizes pagination input and resolves visible page and ellipsis items. */
|
|
3
3
|
export function resolvePaginationState({ page, pageCount, siblingCount, boundaryCount, compact, }) {
|
|
4
4
|
const normalizedPageCount = Math.max(0, Math.trunc(Number.isFinite(pageCount) ? pageCount : 0));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Card } from '../../../card/public';
|
|
3
|
-
import { View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
6
|
-
import { Heading } from '../../../typography/public';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
2
|
+
import { Card } from '../../../card/public.js';
|
|
3
|
+
import { View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
6
|
+
import { Heading } from '../../../typography/public.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
8
|
function PaletteItemInner({ themeId: _themeId, mode: _mode, title, description, icon, badge, selected, disabled, onPress, testID, }) {
|
|
9
9
|
const { theme } = useZoraTheme();
|
|
10
10
|
return (<Card compact disabled={disabled} onPress={onPress} testID={testID} tone={selected ? 'default' : 'subtle'} style={selected
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PaletteItem } from './adapters/inbound/PaletteItem';
|
|
1
|
+
export { PaletteItem } from './adapters/inbound/PaletteItem.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Field } from '@ankhorage/surface';
|
|
2
|
-
import { View } from '../../layout/public';
|
|
3
|
-
import { Text } from '../../typography/public';
|
|
2
|
+
import { View } from '../../layout/public.js';
|
|
3
|
+
import { Text } from '../../typography/public.js';
|
|
4
4
|
/*** Renders the common field frame and label treatment for picker controls. */
|
|
5
5
|
export function PickerField({ children, description, disabled, error, label, required, testID, }) {
|
|
6
6
|
return (<Field disabled={disabled} errorText={error} invalid={Boolean(error)} label={label ? <PickerFieldLabel description={description} label={label}/> : undefined} required={required} testID={testID}>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { View } from '../../layout/public';
|
|
2
|
-
import { Text } from '../../typography/public';
|
|
1
|
+
import { View } from '../../layout/public.js';
|
|
2
|
+
import { Text } from '../../typography/public.js';
|
|
3
3
|
/*** Renders the title block shared by picker overlay content. */
|
|
4
4
|
export function PickerHeader({ description, title }) {
|
|
5
5
|
return (<View gap="xxs">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Popover as SurfacePopover } from '@ankhorage/surface';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
3
|
/*** Presents arbitrary anchored content through the ZORA-owned popover boundary. */
|
|
4
4
|
export const Popover = withZoraThemeScope(PopoverInner);
|
|
5
5
|
/*** Delegates overlay placement and controllable state to the Surface foundation. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Popover } from './adapters/inbound/Popover';
|
|
1
|
+
export { Popover } from './adapters/inbound/Popover.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PopoverMenu as SurfacePopoverMenu, } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Icon } from '../../../icon/public';
|
|
4
|
-
import { resolveIconSize } from '../../../icon/utils/resolveIconSize';
|
|
5
|
-
import { View } from '../../../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
3
|
+
import { Icon } from '../../../icon/public.js';
|
|
4
|
+
import { resolveIconSize } from '../../../icon/utils/resolveIconSize.js';
|
|
5
|
+
import { View } from '../../../layout/public.js';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
7
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
8
8
|
/*** Presents a ZORA-styled action list through the Surface PopoverMenu capability. */
|
|
9
9
|
export const PopoverMenu = withZoraThemeScope(PopoverMenuInner);
|
|
10
10
|
/*** Maps ZORA action presentation into the Surface action-menu boundary. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PopoverMenu } from './adapters/inbound/PopoverMenu';
|
|
1
|
+
export { PopoverMenu } from './adapters/inbound/PopoverMenu.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { resolveProgressRole } from '../../../../types/progress';
|
|
3
|
-
import { View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
6
|
-
import { resolveProgressFraction } from '../../utils/resolveProgressFraction';
|
|
2
|
+
import { resolveProgressRole } from '../../../../types/progress.js';
|
|
3
|
+
import { View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
6
|
+
import { resolveProgressFraction } from '../../utils/resolveProgressFraction.js';
|
|
7
7
|
function resolveProgressHeight(size) {
|
|
8
8
|
switch (size) {
|
|
9
9
|
case 's':
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet, View as ReactNativeView } from 'react-native';
|
|
3
|
-
import { resolveProgressRole } from '../../../../types/progress';
|
|
4
|
-
import { View } from '../../../layout/public';
|
|
5
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
8
|
-
import { resolveProgressFraction } from '../../utils/resolveProgressFraction';
|
|
9
|
-
import { resolveProgressRingGeometry } from '../../utils/resolveProgressRingGeometry';
|
|
3
|
+
import { resolveProgressRole } from '../../../../types/progress.js';
|
|
4
|
+
import { View } from '../../../layout/public.js';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
6
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
|
+
import { resolveProgressFraction } from '../../utils/resolveProgressFraction.js';
|
|
9
|
+
import { resolveProgressRingGeometry } from '../../utils/resolveProgressRingGeometry.js';
|
|
10
10
|
function ProgressRingInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, accessibilityLabel = 'Progress', accessibilityValueText, centerLabel, centerValue, color = 'primary', max = 100, size = 120, testID, thickness = 10, trackColor = 'neutral', value, }) {
|
|
11
11
|
const { theme } = useZoraTheme();
|
|
12
12
|
const fraction = resolveProgressFraction({ max, value });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Progress } from './adapters/inbound/Progress';
|
|
2
|
-
export { ProgressRing } from './adapters/inbound/ProgressRing';
|
|
1
|
+
export { Progress } from './adapters/inbound/Progress.js';
|
|
2
|
+
export { ProgressRing } from './adapters/inbound/ProgressRing.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Icon } from '../../../icon/public';
|
|
2
|
-
import { resolveIconSize } from '../../../icon/utils/resolveIconSize';
|
|
3
|
-
import { View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
6
|
-
import { resolveRatingSegments } from '../../utils/resolveRatingSegments';
|
|
1
|
+
import { Icon } from '../../../icon/public.js';
|
|
2
|
+
import { resolveIconSize } from '../../../icon/utils/resolveIconSize.js';
|
|
3
|
+
import { View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
6
|
+
import { resolveRatingSegments } from '../../utils/resolveRatingSegments.js';
|
|
7
7
|
/*** Displays a read-only star rating with optional half steps. */
|
|
8
8
|
export const Rating = withZoraThemeScope(RatingInner);
|
|
9
9
|
/*** Resolves rating visuals from the active ZORA theme. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Rating } from './adapters/inbound/Rating';
|
|
1
|
+
export { Rating } from './adapters/inbound/Rating.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ReaderView } from '@ankhorage/reader';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { AppBar } from '../../../app-bar/public';
|
|
4
|
-
import { IconButton } from '../../../button/public';
|
|
5
|
-
import { View } from '../../../layout/public';
|
|
6
|
-
import { Progress } from '../../../progress/public';
|
|
7
|
-
import { Surface } from '../../../surface/public';
|
|
8
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
9
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
10
|
-
import { Text } from '../../../typography/public';
|
|
11
|
-
import { useReaderController } from '../../composition/useReaderController';
|
|
12
|
-
import { resolveReaderProgress } from '../../utils/resolveReaderProgress';
|
|
3
|
+
import { AppBar } from '../../../app-bar/public.js';
|
|
4
|
+
import { IconButton } from '../../../button/public.js';
|
|
5
|
+
import { View } from '../../../layout/public.js';
|
|
6
|
+
import { Progress } from '../../../progress/public.js';
|
|
7
|
+
import { Surface } from '../../../surface/public.js';
|
|
8
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
9
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
10
|
+
import { Text } from '../../../typography/public.js';
|
|
11
|
+
import { useReaderController } from '../../composition/useReaderController.js';
|
|
12
|
+
import { resolveReaderProgress } from '../../utils/resolveReaderProgress.js';
|
|
13
13
|
function resolvePageLabel(page, pageCount) {
|
|
14
14
|
if (page === undefined || !Number.isFinite(page))
|
|
15
15
|
return null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Reader } from './adapters/inbound/Reader';
|
|
2
|
-
export { resolveReaderProgress } from './utils/resolveReaderProgress';
|
|
1
|
+
export { Reader } from './adapters/inbound/Reader.js';
|
|
2
|
+
export { resolveReaderProgress } from './utils/resolveReaderProgress.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|