@ankhorage/zora 28.6.9 → 28.6.11
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 +13 -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 +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { View } from '../../../layout/public';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
4
|
/*** Render a bounded relative-positioning surface for game presentation content. */
|
|
5
5
|
export const GameField = withZoraThemeScope(GameFieldInner);
|
|
6
6
|
/*** Render the field inside the inherited ZORA theme scope. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Platform, StyleSheet, View } from 'react-native';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
-
import { toGamePercentage } from '../../utils/toGamePercentage';
|
|
4
|
-
import { useGameInputZoneResponder } from './useGameInputZoneResponder';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
|
+
import { toGamePercentage } from '../../utils/toGamePercentage.js';
|
|
4
|
+
import { useGameInputZoneResponder } from './useGameInputZoneResponder.js';
|
|
5
5
|
/*** Capture pointer/touch geometry and optional keyboard input as normalized generic Game events. */
|
|
6
6
|
export const GameInputZone = withZoraThemeScope(GameInputZoneInner);
|
|
7
7
|
/*** Capture game input inside the inherited ZORA theme scope. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
-
import { GameRuntimeContext } from '../../composition/GameRuntimeContext';
|
|
4
|
-
import { createGameMeasurementEvent } from './createGameMeasurementEvent';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
|
+
import { GameRuntimeContext } from '../../composition/GameRuntimeContext.js';
|
|
4
|
+
import { createGameMeasurementEvent } from './createGameMeasurementEvent.js';
|
|
5
5
|
/*** Measure two registered game entities and dispatch only their raw rendered geometry. */
|
|
6
6
|
export const GameMeasurementProbe = withZoraThemeScope(GameMeasurementProbeInner);
|
|
7
7
|
/*** Measure geometry inside the inherited ZORA theme scope. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { View } from '../../../layout/public';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
4
|
/*** Render an absolute game presentation layer for HUD, feedback, and phase content. */
|
|
5
5
|
export const GameOverlay = withZoraThemeScope(GameOverlayInner);
|
|
6
6
|
/*** Render the overlay inside the inherited ZORA theme scope. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { clampGamePercentage } from '../../utils/clampGamePercentage';
|
|
1
|
+
import { clampGamePercentage } from '../../utils/clampGamePercentage.js';
|
|
2
2
|
/*** Normalize one measured pointer/touch position into a field-relative generic Game event. */
|
|
3
3
|
export function createGamePointerEvent(input) {
|
|
4
4
|
if (!Number.isFinite(input.measuredWidth) ||
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { GameRuntimeContext } from '../../composition/GameRuntimeContext';
|
|
3
|
-
import { createGameKeyboardEvent } from './createGameKeyboardEvent';
|
|
4
|
-
import { createGamePointerEvent } from './createGamePointerEvent';
|
|
2
|
+
import { GameRuntimeContext } from '../../composition/GameRuntimeContext.js';
|
|
3
|
+
import { createGameKeyboardEvent } from './createGameKeyboardEvent.js';
|
|
4
|
+
import { createGamePointerEvent } from './createGamePointerEvent.js';
|
|
5
5
|
/*** Own React Native responder measurement and event dispatch for one Game input zone. */
|
|
6
6
|
export function useGameInputZoneResponder(props) {
|
|
7
7
|
const runtime = React.useContext(GameRuntimeContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { advanceGameTime, applyGameEvent, createGameSession, } from '@ankhorage/game';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { useGameScheduledEffects } from './useGameScheduledEffects';
|
|
3
|
+
import { useGameScheduledEffects } from './useGameScheduledEffects.js';
|
|
4
4
|
const EMPTY_GAME_INPUT = {};
|
|
5
5
|
/*** Own one local transient Game session while delegating all domain transitions to @ankhorage/game. */
|
|
6
6
|
export function useGameRuntime(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Game } from './adapters/inbound/Game';
|
|
2
|
-
export { GameEntity } from './adapters/inbound/GameEntity';
|
|
3
|
-
export { GameField } from './adapters/inbound/GameField';
|
|
4
|
-
export { GameInputZone } from './adapters/inbound/GameInputZone';
|
|
5
|
-
export { GameMeasurementProbe } from './adapters/inbound/GameMeasurementProbe';
|
|
6
|
-
export { GameOverlay } from './adapters/inbound/GameOverlay';
|
|
1
|
+
export { Game } from './adapters/inbound/Game.js';
|
|
2
|
+
export { GameEntity } from './adapters/inbound/GameEntity.js';
|
|
3
|
+
export { GameField } from './adapters/inbound/GameField.js';
|
|
4
|
+
export { GameInputZone } from './adapters/inbound/GameInputZone.js';
|
|
5
|
+
export { GameMeasurementProbe } from './adapters/inbound/GameMeasurementProbe.js';
|
|
6
|
+
export { GameOverlay } from './adapters/inbound/GameOverlay.js';
|
|
7
7
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { clampGamePercentage } from './clampGamePercentage';
|
|
1
|
+
import { clampGamePercentage } from './clampGamePercentage.js';
|
|
2
2
|
/*** Convert one game percentage coordinate to React Native percentage style syntax. */
|
|
3
3
|
export function toGamePercentage(value) {
|
|
4
4
|
return `${clampGamePercentage(value)}%`;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Animated } from 'react-native';
|
|
2
|
-
import { resolveGameEntityMotionPlan } from './resolveGameEntityMotionPlan';
|
|
3
|
-
import { useAnimatedGameEntityValue } from './useAnimatedGameEntityValue';
|
|
4
|
-
import { useGameEntityMotionProgress } from './useGameEntityMotionProgress';
|
|
5
|
-
import { useGameReducedMotion } from './useGameReducedMotion';
|
|
2
|
+
import { resolveGameEntityMotionPlan } from './resolveGameEntityMotionPlan.js';
|
|
3
|
+
import { useAnimatedGameEntityValue } from './useAnimatedGameEntityValue.js';
|
|
4
|
+
import { useGameEntityMotionProgress } from './useGameEntityMotionProgress.js';
|
|
5
|
+
import { useGameReducedMotion } from './useGameReducedMotion.js';
|
|
6
6
|
/*** Compose bound GameEntity values with optional relative presentation motion. */
|
|
7
7
|
export function useGameEntityAnimatedStyle(input) {
|
|
8
8
|
const reduceMotion = useGameReducedMotion();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { GameRuntimeContext } from '../composition/GameRuntimeContext';
|
|
3
|
-
import { measureGameEntity } from './measureGameEntity';
|
|
2
|
+
import { GameRuntimeContext } from '../composition/GameRuntimeContext.js';
|
|
3
|
+
import { measureGameEntity } from './measureGameEntity.js';
|
|
4
4
|
/*** Register one optional measurable GameEntity view inside its local Game scope. */
|
|
5
5
|
export function useGameEntityMeasurement(elementRef, measurementId) {
|
|
6
6
|
const runtime = React.useContext(GameRuntimeContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View } from '../../../layout/public';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { useGradientRenderer } from './GradientRendererContext';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useGradientRenderer } from './GradientRendererContext.js';
|
|
5
5
|
function GradientInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, children, colors, locations, start, end, width = '100%', height, minHeight, radius, p, testID, }) {
|
|
6
6
|
const gradientRenderer = useGradientRenderer();
|
|
7
7
|
return (<View height={height} minHeight={minHeight} radius={radius} testID={testID} width={width} style={{ overflow: 'hidden' }}>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Gradient } from './adapters/inbound/Gradient';
|
|
2
|
-
export { GradientRendererProvider } from './adapters/inbound/GradientRendererContext';
|
|
1
|
+
export { Gradient } from './adapters/inbound/Gradient.js';
|
|
2
|
+
export { GradientRendererProvider } from './adapters/inbound/GradientRendererContext.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { resolveSelectionEventIntent } from '../../../../selection/application/resolveSelectionEventIntent';
|
|
2
|
+
import { resolveSelectionEventIntent } from '../../../../selection/application/resolveSelectionEventIntent.js';
|
|
3
3
|
/*** Render optional React node content above Cytoscape at its authoritative rendered positions. */
|
|
4
4
|
export function GraphNodeOverlay(props) {
|
|
5
5
|
const nodesById = React.useMemo(() => new Map(props.nodes.map((node) => [node.id, node])), [props.nodes]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { GRAPH_VIEW_EVENTS } from '../../../constants/events';
|
|
3
|
-
import { createGraphPointerDownReader } from './createGraphPointerDownReader';
|
|
4
|
-
import { createGraphRuntime } from './createGraphRuntime';
|
|
5
|
-
import { createGraphViewDomCallbacks } from './createGraphViewDomCallbacks';
|
|
6
|
-
import { GraphNodeOverlay } from './GraphNodeOverlay';
|
|
7
|
-
import { resolveGraphViewProps } from './resolveGraphViewProps';
|
|
2
|
+
import { GRAPH_VIEW_EVENTS } from '../../../constants/events.js';
|
|
3
|
+
import { createGraphPointerDownReader } from './createGraphPointerDownReader.js';
|
|
4
|
+
import { createGraphRuntime } from './createGraphRuntime.js';
|
|
5
|
+
import { createGraphViewDomCallbacks } from './createGraphViewDomCallbacks.js';
|
|
6
|
+
import { GraphNodeOverlay } from './GraphNodeOverlay.js';
|
|
7
|
+
import { resolveGraphViewProps } from './resolveGraphViewProps.js';
|
|
8
8
|
/***
|
|
9
9
|
* Render a browser graph while one runtime owns Cytoscape layout, viewport, and disposal.
|
|
10
10
|
* zoomMode Use `fit-relative` to make controller zoom, events and min/max limits relative
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveSelectionEventIntent } from '../../../../selection/application/resolveSelectionEventIntent';
|
|
1
|
+
import { resolveSelectionEventIntent } from '../../../../selection/application/resolveSelectionEventIntent.js';
|
|
2
2
|
/*** Bind stable Cytoscape events that always read the latest React callbacks. */
|
|
3
3
|
export function bindGraphEvents(cy, callbacksRef, controller, onRuntimeChange, readLatestPointerDown = () => null) {
|
|
4
4
|
const nodeHandlers = bindElementEvents(cy, 'node', callbacksRef, onRuntimeChange, readLatestPointerDown);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fitGraphViewport } from './fitGraphViewport';
|
|
2
|
-
import { getGraphFitPadding } from './getGraphFitPadding';
|
|
1
|
+
import { fitGraphViewport } from './fitGraphViewport.js';
|
|
2
|
+
import { getGraphFitPadding } from './getGraphFitPadding.js';
|
|
3
3
|
/*** Own viewport units and limits alongside the public controller, without exposing Cytoscape. */
|
|
4
4
|
export function createGraphController(cy, fitPaddingRef, optimizeFit) {
|
|
5
5
|
const state = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { scheduleGraphFrame } from './scheduleGraphFrame';
|
|
1
|
+
import { scheduleGraphFrame } from './scheduleGraphFrame.js';
|
|
2
2
|
/*** Observe settled container resizing without racing an active layout generation. */
|
|
3
3
|
export function createGraphResizeObserver(input) {
|
|
4
4
|
const Observer = readResizeObserverConstructor();
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import cytoscape, {} from 'cytoscape';
|
|
2
|
-
import { bindGraphEvents } from './bindGraphEvents';
|
|
3
|
-
import { compactGraphSpacing } from './compactGraphSpacing';
|
|
4
|
-
import { createGraphController } from './createGraphController';
|
|
5
|
-
import { createGraphLoopSizer } from './createGraphLoopSizer';
|
|
6
|
-
import { createGraphResizeObserver } from './createGraphResizeObserver';
|
|
7
|
-
import { getGraphGeometryKey } from './getGraphGeometryKey';
|
|
8
|
-
import { getGraphTopologyKey } from './getGraphTopologyKey';
|
|
9
|
-
import { hasGraphLayoutChanged } from './hasGraphLayoutChanged';
|
|
10
|
-
import { placeAddedGraphNodes } from './placeAddedGraphNodes';
|
|
11
|
-
import { readGraphRenderedNodes } from './readGraphRenderedNodes';
|
|
12
|
-
import { registerGraphLayouts } from './registerGraphLayouts';
|
|
13
|
-
import { runGraphLayout } from './runGraphLayout';
|
|
14
|
-
import { scheduleGraphFrame } from './scheduleGraphFrame';
|
|
15
|
-
import { shouldFitGraphAfterLayout } from './shouldFitGraphAfterLayout';
|
|
16
|
-
import { sizeGraphNodesToLabels } from './sizeGraphNodesToLabels';
|
|
17
|
-
import { syncGraphElements } from './syncGraphElements';
|
|
2
|
+
import { bindGraphEvents } from './bindGraphEvents.js';
|
|
3
|
+
import { compactGraphSpacing } from './compactGraphSpacing.js';
|
|
4
|
+
import { createGraphController } from './createGraphController.js';
|
|
5
|
+
import { createGraphLoopSizer } from './createGraphLoopSizer.js';
|
|
6
|
+
import { createGraphResizeObserver } from './createGraphResizeObserver.js';
|
|
7
|
+
import { getGraphGeometryKey } from './getGraphGeometryKey.js';
|
|
8
|
+
import { getGraphTopologyKey } from './getGraphTopologyKey.js';
|
|
9
|
+
import { hasGraphLayoutChanged } from './hasGraphLayoutChanged.js';
|
|
10
|
+
import { placeAddedGraphNodes } from './placeAddedGraphNodes.js';
|
|
11
|
+
import { readGraphRenderedNodes } from './readGraphRenderedNodes.js';
|
|
12
|
+
import { registerGraphLayouts } from './registerGraphLayouts.js';
|
|
13
|
+
import { runGraphLayout } from './runGraphLayout.js';
|
|
14
|
+
import { scheduleGraphFrame } from './scheduleGraphFrame.js';
|
|
15
|
+
import { shouldFitGraphAfterLayout } from './shouldFitGraphAfterLayout.js';
|
|
16
|
+
import { sizeGraphNodesToLabels } from './sizeGraphNodesToLabels.js';
|
|
17
|
+
import { syncGraphElements } from './syncGraphElements.js';
|
|
18
18
|
/*** Create one Cytoscape runtime that exclusively owns layout, fit, resize, and disposal. */
|
|
19
19
|
export function createGraphRuntime(container, callbacksRef, readLatestPointerDown = () => null) {
|
|
20
20
|
const cy = cytoscape({
|
package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphViewDomCallbacks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GRAPH_VIEW_EVENTS } from '../../../constants/events';
|
|
1
|
+
import { GRAPH_VIEW_EVENTS } from '../../../constants/events.js';
|
|
2
2
|
/***
|
|
3
3
|
* Mirror public GraphView controller callbacks as bubbling browser lifecycle events.
|
|
4
4
|
* Browser hosts can measure actual rendered nodes without reaching into the graph engine.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getGraphFitPadding } from './getGraphFitPadding';
|
|
1
|
+
import { getGraphFitPadding } from './getGraphFitPadding.js';
|
|
2
2
|
/*** Fit the requested visible nodes and never include edge geometry in viewport bounds. */
|
|
3
3
|
export function fitGraphViewport(cy, options = {}, maxZoom = Infinity) {
|
|
4
4
|
if (cy.destroyed())
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getGraphTopologyKey } from './getGraphTopologyKey';
|
|
1
|
+
import { getGraphTopologyKey } from './getGraphTopologyKey.js';
|
|
2
2
|
/***
|
|
3
3
|
* Detects topology and explicit layout-policy changes independently of highlight metadata.
|
|
4
4
|
* New node/edge array identities alone are not a layout request: consumers may update classes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { runDetachedGraphLayout } from './runDetachedGraphLayout';
|
|
1
|
+
import { runDetachedGraphLayout } from './runDetachedGraphLayout.js';
|
|
2
2
|
/*** Run one Cytoscape layout with automatic fitting disabled and explicit stop ownership. */
|
|
3
3
|
export function runGraphLayout(cy, input, onComplete) {
|
|
4
4
|
if (input.layout === 'elk') {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isRecord } from '@ankhorage/utility/object';
|
|
2
|
-
import { createRenderableGraphElements } from './createRenderableGraphElements';
|
|
2
|
+
import { createRenderableGraphElements } from './createRenderableGraphElements.js';
|
|
3
3
|
/***
|
|
4
4
|
* Reconciles graph data in one batch while retaining positions, selection and element identity.
|
|
5
5
|
* Do not replace this with remove-all/add-all: presentation updates must not discard interaction
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { GraphView } from './adapters/inbound/web-artifact/GraphView';
|
|
2
|
-
export { GRAPH_VIEW_EVENTS } from './constants/events';
|
|
1
|
+
export { GraphView } from './adapters/inbound/web-artifact/GraphView.js';
|
|
2
|
+
export { GRAPH_VIEW_EVENTS } from './constants/events.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import { createGridInteractionsController } from '../../application/createGridInteractionsController';
|
|
4
|
-
import { createGridInteractionsPointerQueue } from './createGridInteractionsPointerQueue';
|
|
5
|
-
import { GridInteractionsKeyboardProxy } from './GridInteractionsKeyboardProxy';
|
|
6
|
-
import { resolveGridInteractionPointer } from './resolveGridInteractionPointer';
|
|
7
|
-
import { useGridInteractionScrollLock } from './useGridInteractionScrollLock';
|
|
3
|
+
import { createGridInteractionsController } from '../../application/createGridInteractionsController.js';
|
|
4
|
+
import { createGridInteractionsPointerQueue } from './createGridInteractionsPointerQueue.js';
|
|
5
|
+
import { GridInteractionsKeyboardProxy } from './GridInteractionsKeyboardProxy.js';
|
|
6
|
+
import { resolveGridInteractionPointer } from './resolveGridInteractionPointer.js';
|
|
7
|
+
import { useGridInteractionScrollLock } from './useGridInteractionScrollLock.js';
|
|
8
8
|
/*** Adapts native responder and keyboard events to the controlled grid interaction boundary. */
|
|
9
9
|
export function GridInteractions({ children, interactionPolicy, resizeHandle, testID, ...props }) {
|
|
10
10
|
const controllerProps = React.useMemo(() => ({ ...props, interactionPolicy }), [interactionPolicy, props]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { GridInteractionsKeyboardProxy } from './GridInteractionsKeyboardProxy.native';
|
|
1
|
+
export { GridInteractionsKeyboardProxy } from './GridInteractionsKeyboardProxy.native.js';
|
|
2
2
|
//# sourceMappingURL=GridInteractionsKeyboardProxy.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useGridInteractionScrollLock } from './useGridInteractionScrollLock.native';
|
|
1
|
+
export { useGridInteractionScrollLock } from './useGridInteractionScrollLock.native.js';
|
|
2
2
|
//# sourceMappingURL=useGridInteractionScrollLock.js.map
|
package/dist/features/grid-interactions/adapters/inbound/useGridInteractionScrollLock.native.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useScrollGestureLock } from '../../../layout/public';
|
|
3
|
-
import { createGridInteractionScrollLock } from '../../application/createGridInteractionScrollLock';
|
|
2
|
+
import { useScrollGestureLock } from '../../../layout/public.js';
|
|
3
|
+
import { createGridInteractionScrollLock } from '../../application/createGridInteractionScrollLock.js';
|
|
4
4
|
/*** Keeps ancestor ZORA scrolling suspended while one native responder gesture owns the surface. */
|
|
5
5
|
export function useGridInteractionScrollLock() {
|
|
6
6
|
const scrollLock = useScrollGestureLock();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { GridInteractions } from './adapters/inbound/GridInteractions';
|
|
2
|
-
export { createGridInteractionsController } from './application/createGridInteractionsController';
|
|
1
|
+
export { GridInteractions } from './adapters/inbound/GridInteractions.js';
|
|
2
|
+
export { createGridInteractionsController } from './application/createGridInteractionsController.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet, View } from 'react-native';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
5
|
-
import { projectGridRulerPosition } from '../../application/projectGridRulerPosition';
|
|
6
|
-
import { resolveGridRulerMarks } from '../../application/resolveGridRulerMarks';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
5
|
+
import { projectGridRulerPosition } from '../../application/projectGridRulerPosition.js';
|
|
6
|
+
import { resolveGridRulerMarks } from '../../application/resolveGridRulerMarks.js';
|
|
7
7
|
/*** Renders visible world-grid lines and explicit guides without owning viewport interaction. */
|
|
8
8
|
function GridLineOverlayInner({ accessibilityLabel = 'Grid guides', direction = 'ltr', guides = [], testID, viewport, xTickSource, yTickSource, }) {
|
|
9
9
|
const { theme } = useZoraTheme();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet, Text, View } from 'react-native';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
5
|
-
import { resolveGridRulerMarks } from '../../application/resolveGridRulerMarks';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
5
|
+
import { resolveGridRulerMarks } from '../../application/resolveGridRulerMarks.js';
|
|
6
6
|
/*** Renders a passive axis ruler from published grid-view tick geometry. */
|
|
7
7
|
function GridRulerInner({ accessibilityLabel, axis, direction = 'ltr', formatLabel, offset = 0, position = 'start', testID, thickness = 24, tickSource, viewport, }) {
|
|
8
8
|
const { theme } = useZoraTheme();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getAxisCategoryTicks, getAxisTicks, } from '@ankhorage/grid-view';
|
|
2
|
-
import { projectGridRulerPosition } from './projectGridRulerPosition';
|
|
2
|
+
import { projectGridRulerPosition } from './projectGridRulerPosition.js';
|
|
3
3
|
/*** Resolves bounded engine ticks into viewport-pixel ruler marks without changing interaction state. */
|
|
4
4
|
export function resolveGridRulerMarks(viewport, axis, tickSource, formatLabel, direction = 'ltr') {
|
|
5
5
|
const ticks = tickSource.kind === 'categories'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { GridLineOverlay } from './adapters/inbound/GridLineOverlay';
|
|
2
|
-
export { GridRuler } from './adapters/inbound/GridRuler';
|
|
3
|
-
export { resolveGridRulerMarks } from './application/resolveGridRulerMarks';
|
|
1
|
+
export { GridLineOverlay } from './adapters/inbound/GridLineOverlay.js';
|
|
2
|
+
export { GridRuler } from './adapters/inbound/GridRuler.js';
|
|
3
|
+
export { resolveGridRulerMarks } from './application/resolveGridRulerMarks.js';
|
|
4
4
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { constrainViewport, getVisibleGridItems, panViewport, revealWorldRect, worldToViewport, zoomViewportAt, } from '@ankhorage/grid-view';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Pressable as NativePressable, ScrollView as NativeScrollView, Text as NativeText, View as NativeView, } from 'react-native';
|
|
4
|
-
import { createGridScrollSync } from '../../application/createGridScrollSync';
|
|
4
|
+
import { createGridScrollSync } from '../../application/createGridScrollSync.js';
|
|
5
5
|
/*** Renders a controlled or uncontrolled, virtualized 2D world through the canonical grid viewport engine. */
|
|
6
6
|
export function GridView({ items, contentWidth, contentHeight, width, height, viewport: controlledViewport, defaultViewport, viewportConstraints, zoomLimits, zoom = 1, overscanPixels = 160, focusedItemId, revealPaddingPixels = 8, interactionPolicy, onViewportChange, onVisibleItemIdsChange, renderItem, testID, viewportInteraction = 'enabled', }) {
|
|
7
7
|
const [uncontrolledViewport, setUncontrolledViewport] = React.useState(() => createInitialViewport(width, height, zoom, defaultViewport));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View as NativeView } from 'react-native';
|
|
3
|
-
import { layoutTileGrid } from '../../application/layoutTileGrid';
|
|
4
|
-
import { GridView } from './GridView';
|
|
3
|
+
import { layoutTileGrid } from '../../application/layoutTileGrid.js';
|
|
4
|
+
import { GridView } from './GridView.js';
|
|
5
5
|
/*** Composes a responsive, virtualized tile presentation over the generic GridView renderer. */
|
|
6
6
|
export function TileGrid({ items, width, height = 440, tileSize = 120, gap = 12, zoom = 1, viewport, defaultViewport, viewportConstraints, zoomLimits, overscanPixels, focusedItemId, revealPaddingPixels, onColumnsChange, onViewportChange, onVisibleItemIdsChange, renderItem, interactionPolicy, testID, }) {
|
|
7
7
|
const [measuredWidth, setMeasuredWidth] = React.useState(0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ANIMATED_SCROLL_WINDOW_MS, IMMEDIATE_SCROLL_WINDOW_MS, SCROLL_POSITION_TOLERANCE, } from '../constants/scroll';
|
|
2
|
-
import { resolveScrollEventSource } from './resolveScrollEventSource';
|
|
1
|
+
import { ANIMATED_SCROLL_WINDOW_MS, IMMEDIATE_SCROLL_WINDOW_MS, SCROLL_POSITION_TOLERANCE, } from '../constants/scroll.js';
|
|
2
|
+
import { resolveScrollEventSource } from './resolveScrollEventSource.js';
|
|
3
3
|
const AXES = ['x', 'y'];
|
|
4
4
|
/***
|
|
5
5
|
* Arbitrates each native scroll axis between programmatic requests and the user,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SCROLL_POSITION_TOLERANCE } from '../constants/scroll';
|
|
1
|
+
import { SCROLL_POSITION_TOLERANCE } from '../constants/scroll.js';
|
|
2
2
|
/*** Classifies a native scroll offset as a user gesture, the settled echo of a programmatic scroll, or an in-flight frame of one. */
|
|
3
3
|
export function resolveScrollEventSource(pending, offset, now) {
|
|
4
4
|
if (pending === undefined || now > pending.expiresAt)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { GridView } from './adapters/inbound/GridView';
|
|
2
|
-
export { TileGrid } from './adapters/inbound/TileGrid';
|
|
3
|
-
export { layoutTileGrid } from './application/layoutTileGrid';
|
|
1
|
+
export { GridView } from './adapters/inbound/GridView.js';
|
|
2
|
+
export { TileGrid } from './adapters/inbound/TileGrid.js';
|
|
3
|
+
export { layoutTileGrid } from './application/layoutTileGrid.js';
|
|
4
4
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button } from '../../../button/public';
|
|
3
|
-
import { Card } from '../../../card/public';
|
|
4
|
-
import { Grid, View } from '../../../layout/public';
|
|
5
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
-
import { Heading, Text } from '../../../typography/public';
|
|
2
|
+
import { Button } from '../../../button/public.js';
|
|
3
|
+
import { Card } from '../../../card/public.js';
|
|
4
|
+
import { Grid, View } from '../../../layout/public.js';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
6
|
+
import { Heading, Text } from '../../../typography/public.js';
|
|
7
7
|
function HeroInner({ themeId: _themeId, mode: _mode, interactionPolicy, title, description, eyebrow, primaryAction, secondaryAction, media, footer, align = 'start', layout = 'split', tone = 'subtle', compact = false, testID, }) {
|
|
8
8
|
const hasActions = primaryAction !== undefined || secondaryAction !== undefined;
|
|
9
9
|
const hasMedia = media !== undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Hero } from './adapters/inbound/Hero';
|
|
1
|
+
export { Hero } from './adapters/inbound/Hero.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon as SurfaceIcon } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
4
|
/*** Adapts the themed Surface Icon primitive to ZORA scope and interaction props. */
|
|
5
5
|
export const Icon = withZoraThemeScope(IconInner);
|
|
6
6
|
/*** Forwards presentation props to the published Surface boundary. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Icon } from './adapters/inbound/Icon';
|
|
1
|
+
export { Icon } from './adapters/inbound/Icon.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Image as SurfaceImage } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Icon } from '../../../icon/public';
|
|
4
|
-
import { View } from '../../../layout/public';
|
|
5
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
3
|
+
import { Icon } from '../../../icon/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
7
|
/*** Displays an image asset and owns its missing, unrenderable, and failed presentation states. */
|
|
8
8
|
export const Image = withZoraThemeScope(ImageInner);
|
|
9
9
|
/*** Renders the resolved image source or the canonical ZORA image placeholder. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Image } from './adapters/inbound/Image';
|
|
1
|
+
export { Image } from './adapters/inbound/Image.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KeyboardAvoidingView as SurfaceKeyboardAvoidingView } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
4
|
/*** Native keyboard-aware container exposed through the canonical ZORA feature boundary. */
|
|
5
5
|
export const KeyboardAvoidingView = withZoraThemeScope(KeyboardAvoidingViewInner);
|
|
6
6
|
/*** Forwards React Native keyboard avoidance and view props without adding platform behavior. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {} from '../../types/keyboard-avoiding-view';
|
|
2
|
-
export { KeyboardAvoidingView } from './adapters/inbound/KeyboardAvoidingView';
|
|
1
|
+
export {} from '../../types/keyboard-avoiding-view.js';
|
|
2
|
+
export { KeyboardAvoidingView } from './adapters/inbound/KeyboardAvoidingView.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
-
import { View } from './View';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
|
+
import { View } from './View.js';
|
|
4
4
|
function AppShellInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, children, header, footer, overlay, testID, }) {
|
|
5
5
|
return (<View bg="background" flex={1} testID={testID}>
|
|
6
6
|
<View flex={1} minHeight={0} position="relative">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Divider as SurfaceDivider } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
4
|
/*** Adapts the themed Surface Divider primitive to ZORA scope and interaction props. */
|
|
5
5
|
export const Divider = withZoraThemeScope(DividerInner);
|
|
6
6
|
/*** Forwards presentation props to the published Surface boundary. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Grid as SurfaceGrid } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
4
|
/*** Adapts the themed Surface Grid primitive to ZORA scope and interaction props. */
|
|
5
5
|
export const Grid = withZoraThemeScope(GridInner);
|
|
6
6
|
/*** Forwards presentation props to the published Surface boundary. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
-
import { resolvePageMaxWidth } from '../../utils/resolvePageMaxWidth';
|
|
4
|
-
import { ScrollView } from './ScrollView';
|
|
5
|
-
import { View } from './View';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
|
+
import { resolvePageMaxWidth } from '../../utils/resolvePageMaxWidth.js';
|
|
4
|
+
import { ScrollView } from './ScrollView.js';
|
|
5
|
+
import { View } from './View.js';
|
|
6
6
|
function ScreenInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, children, footer, scroll = true, width = 'default', testID, }) {
|
|
7
7
|
const content = (<View alignSelf="center" flex={scroll ? undefined : 1} gap="l" maxWidth={resolvePageMaxWidth(width)} minHeight={scroll ? undefined : 0} minWidth={scroll ? undefined : 0} px={{ base: 16, md: 24, lg: 32 }} py="xl" testID={testID} width="100%">
|
|
8
8
|
{children}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ScrollView as SurfaceScrollView } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { createScrollGestureLock } from '../../utils/createScrollGestureLock';
|
|
5
|
-
import { ScrollGestureLockContext } from './ScrollGestureLockContext';
|
|
6
|
-
import { useScrollGestureLock } from './useScrollGestureLock';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { createScrollGestureLock } from '../../utils/createScrollGestureLock.js';
|
|
5
|
+
import { ScrollGestureLockContext } from './ScrollGestureLockContext.js';
|
|
6
|
+
import { useScrollGestureLock } from './useScrollGestureLock.js';
|
|
7
7
|
/*** Adapts the token-aware Surface ScrollView primitive to ZORA theme scope. */
|
|
8
8
|
export const ScrollView = withZoraThemeScope(ScrollViewInner);
|
|
9
9
|
/*** Forwards ZORA scrolling props to the published Surface ScrollView boundary and yields scrolling to active descendant gestures. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { View as SurfaceView } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
4
|
/*** Adapts the token-aware Surface View primitive to ZORA theme scope. */
|
|
5
5
|
export const View = withZoraThemeScope(ViewInner);
|
|
6
6
|
/*** Forwards ZORA layout props to the published Surface View boundary. */
|