@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,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 { SectionHeader } from './SectionHeader';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { SectionHeader } from './SectionHeader.js';
|
|
5
5
|
function ScreenSectionInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, title, description, actions, children, testID, }) {
|
|
6
6
|
return (<View gap="m" testID={testID}>
|
|
7
7
|
{title ? <SectionHeader actions={actions} description={description} title={title}/> : null}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View } from '../../../layout/public';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { Heading } from '../../../typography/public';
|
|
5
|
-
import { Text } from '../../../typography/public';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { Heading } from '../../../typography/public.js';
|
|
5
|
+
import { Text } from '../../../typography/public.js';
|
|
6
6
|
function SectionHeaderInner({ themeId: _themeId, mode: _mode, interactionPolicy: _interactionPolicy, title, description, eyebrow, actions, testID, }) {
|
|
7
7
|
return (<View align={{ base: 'flex-start', md: 'center' }} direction={{ base: 'column', md: 'row' }} gap="m" justify="space-between" testID={testID}>
|
|
8
8
|
<View flex={{ md: 1 }} width={{ base: '100%', md: 'auto' }}>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ScreenSection } from './adapters/inbound/ScreenSection';
|
|
2
|
-
export { SectionHeader } from './adapters/inbound/SectionHeader';
|
|
1
|
+
export { ScreenSection } from './adapters/inbound/ScreenSection.js';
|
|
2
|
+
export { SectionHeader } from './adapters/inbound/SectionHeader.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Pressable } from '@ankhorage/surface/authoring-controls';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Platform } from 'react-native';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { resolveSelectionEventIntent } from '../../application/resolveSelectionEventIntent';
|
|
6
|
-
import { useSelection } from './SelectionProvider';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { resolveSelectionEventIntent } from '../../application/resolveSelectionEventIntent.js';
|
|
6
|
+
import { useSelection } from './SelectionProvider.js';
|
|
7
7
|
/*** Resolve the configured selection trigger. */
|
|
8
8
|
function resolveTrigger(trigger) {
|
|
9
9
|
return trigger ?? 'manual';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { applySelectionIntent } from '@ankhorage/utility/selection';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { areIdsEqual, clearIds, normalizeIds, selectId } from '../../utils/resolveSelectionNextIds';
|
|
3
|
+
import { areIdsEqual, clearIds, normalizeIds, selectId } from '../../utils/resolveSelectionNextIds.js';
|
|
4
4
|
const MISSING_CONTEXT_MESSAGE = 'ZORA selection context is missing. Wrap this tree in <SelectionProvider>.';
|
|
5
5
|
const SelectionContext = React.createContext(null);
|
|
6
6
|
/*** Resolve the effective selection mode. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SelectableItem } from './adapters/inbound/SelectableItem';
|
|
2
|
-
export { SelectionProvider, useSelection } from './adapters/inbound/SelectionProvider';
|
|
3
|
-
export { resolveSelectionEventIntent } from './application/resolveSelectionEventIntent';
|
|
1
|
+
export { SelectableItem } from './adapters/inbound/SelectableItem.js';
|
|
2
|
+
export { SelectionProvider, useSelection } from './adapters/inbound/SelectionProvider.js';
|
|
3
|
+
export { resolveSelectionEventIntent } from './application/resolveSelectionEventIntent.js';
|
|
4
4
|
//# sourceMappingURL=public.js.map
|
|
@@ -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 { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
5
5
|
function SkeletonInner({ themeId: _themeId, mode: _mode, testID, width = '100%', height = 16, radius = 'm', }) {
|
|
6
6
|
const { theme } = useZoraTheme();
|
|
7
7
|
return (<View accessibilityLabel="Loading" accessibilityRole="text" bg={theme.semantics.neutral.surfaceHover} height={height} radius={radius} testID={testID} width={width} style={{ opacity: 0.72 }}/>);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ButtonGroup } from '../../../button/public';
|
|
3
|
-
import { Card } from '../../../card/public';
|
|
4
|
-
import { View } from '../../../layout/public';
|
|
5
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
-
import { Skeleton } from './Skeleton';
|
|
7
|
-
import { SkeletonText } from './SkeletonText';
|
|
2
|
+
import { ButtonGroup } from '../../../button/public.js';
|
|
3
|
+
import { Card } from '../../../card/public.js';
|
|
4
|
+
import { View } from '../../../layout/public.js';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
6
|
+
import { Skeleton } from './Skeleton.js';
|
|
7
|
+
import { SkeletonText } from './SkeletonText.js';
|
|
8
8
|
function SkeletonCardInner({ themeId: _themeId, mode: _mode, testID, media = false, actions = false, lines = 3, compact = false, }) {
|
|
9
9
|
return (<Card compact={compact} testID={testID} tone="default">
|
|
10
10
|
<View gap={compact ? 's' : 'm'}>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { List } from '../../../list/public';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { Skeleton } from './Skeleton';
|
|
5
|
-
import { SkeletonText } from './SkeletonText';
|
|
2
|
+
import { List } from '../../../list/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { Skeleton } from './Skeleton.js';
|
|
5
|
+
import { SkeletonText } from './SkeletonText.js';
|
|
6
6
|
function clampRows(rows) {
|
|
7
7
|
if (!Number.isFinite(rows)) {
|
|
8
8
|
return 1;
|
|
@@ -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 { Skeleton } from './Skeleton';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { Skeleton } from './Skeleton.js';
|
|
5
5
|
function clampLines(lines) {
|
|
6
6
|
if (!Number.isFinite(lines)) {
|
|
7
7
|
return 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Skeleton } from './adapters/inbound/Skeleton';
|
|
2
|
-
export { SkeletonCard } from './adapters/inbound/SkeletonCard';
|
|
3
|
-
export { SkeletonList } from './adapters/inbound/SkeletonList';
|
|
4
|
-
export { SkeletonText } from './adapters/inbound/SkeletonText';
|
|
1
|
+
export { Skeleton } from './adapters/inbound/Skeleton.js';
|
|
2
|
+
export { SkeletonCard } from './adapters/inbound/SkeletonCard.js';
|
|
3
|
+
export { SkeletonList } from './adapters/inbound/SkeletonList.js';
|
|
4
|
+
export { SkeletonText } from './adapters/inbound/SkeletonText.js';
|
|
5
5
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Pressable as NativePressable, View as NativeView } from 'react-native';
|
|
3
|
-
import { GridView } from '../../../grid-view/public';
|
|
4
|
-
import { sortSpatialGridItems } from '../../application/sortSpatialGridItems';
|
|
3
|
+
import { GridView } from '../../../grid-view/public.js';
|
|
4
|
+
import { sortSpatialGridItems } from '../../application/sortSpatialGridItems.js';
|
|
5
5
|
/** Renders virtualized free-placement items without owning geometry, pan, zoom, or drag orchestration. */
|
|
6
6
|
export function SpatialGrid({ items, contentWidth, contentHeight, width, height, zoom, overscanPixels, selectedItemId, focusedItemId, revealPaddingPixels, disabled = false, readOnly = false, interactionPolicy, onSelectionChange, onActivation, onFocusChange, onViewportChange, onVisibleItemIdsChange, renderItem, testID, }) {
|
|
7
7
|
const orderedItems = React.useMemo(() => sortSpatialGridItems(items), [items]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { SpatialGrid } from './adapters/inbound/SpatialGrid';
|
|
1
|
+
export { SpatialGrid } from './adapters/inbound/SpatialGrid.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Surface as SurfaceSurface } 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 Surface primitive to ZORA scope and interaction props. */
|
|
5
5
|
export const Surface = withZoraThemeScope(SurfaceInner);
|
|
6
6
|
/*** Forwards presentation props to the published Surface boundary. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Surface } from './adapters/inbound/Surface';
|
|
1
|
+
export { Surface } from './adapters/inbound/Surface.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring';
|
|
2
|
-
import { LAYOUT_PROPS } from '../layout/constants';
|
|
1
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring.js';
|
|
2
|
+
import { LAYOUT_PROPS } from '../layout/constants.js';
|
|
3
3
|
export const surfaceMeta = {
|
|
4
4
|
name: 'Surface',
|
|
5
5
|
category: 'foundation',
|
|
@@ -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 { createTabletopColorScheme } from '../../utils/createTabletopColorScheme';
|
|
6
|
-
import { getTabletopCardDimensions } from '../../utils/getTabletopCardDimensions';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
5
|
+
import { createTabletopColorScheme } from '../../utils/createTabletopColorScheme.js';
|
|
6
|
+
import { getTabletopCardDimensions } from '../../utils/getTabletopCardDimensions.js';
|
|
7
7
|
/*** Renders a face-down card with a non-revealing accessible label. */
|
|
8
8
|
export const CardBack = withZoraThemeScope(CardBackInner);
|
|
9
9
|
/*** Renders the card back using the active ZORA theme. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { StyleSheet, View } from 'react-native';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { CardBack } from './CardBack';
|
|
5
|
-
import { PlayingCard } from './PlayingCard';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { CardBack } from './CardBack.js';
|
|
5
|
+
import { PlayingCard } from './PlayingCard.js';
|
|
6
6
|
/*** Renders a compact row of face-up and face-down cards. */
|
|
7
7
|
export const CardHand = withZoraThemeScope(CardHandInner);
|
|
8
8
|
/*** Creates stable indices for non-revealing card backs. */
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { createTabletopColorScheme } from '../../utils/createTabletopColorScheme';
|
|
6
|
-
import { getPlayingCardLabel } from '../../utils/getPlayingCardLabel';
|
|
7
|
-
import { getTabletopCardDimensions } from '../../utils/getTabletopCardDimensions';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
5
|
+
import { createTabletopColorScheme } from '../../utils/createTabletopColorScheme.js';
|
|
6
|
+
import { getPlayingCardLabel } from '../../utils/getPlayingCardLabel.js';
|
|
7
|
+
import { getTabletopCardDimensions } from '../../utils/getTabletopCardDimensions.js';
|
|
8
8
|
const suitMarks = { clubs: '♣', diamonds: '♦', hearts: '♥', spades: '♠' };
|
|
9
9
|
/*** Renders a face-up playing card with an accessible rank and suit. */
|
|
10
10
|
export const PlayingCard = withZoraThemeScope(PlayingCardInner);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
-
import { createPokerTrainingTableState } from '../../utils/createPokerTrainingTableState';
|
|
4
|
-
import { TabletopTable } from './TabletopTable';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
|
+
import { createPokerTrainingTableState } from '../../utils/createPokerTrainingTableState.js';
|
|
4
|
+
import { TabletopTable } from './TabletopTable.js';
|
|
5
5
|
/*** Maps a serializable training task to presentation without running poker or training policy. */
|
|
6
6
|
export const PokerTrainingTable = withZoraThemeScope(PokerTrainingTableInner);
|
|
7
7
|
/*** Renders the reconstructed seat ring and shared table content. */
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { createTabletopColorScheme } from '../../utils/createTabletopColorScheme';
|
|
6
|
-
import { getTabletopSeatPosition } from '../../utils/getTabletopSeatPosition';
|
|
7
|
-
import { CardHand } from './CardHand';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
5
|
+
import { createTabletopColorScheme } from '../../utils/createTabletopColorScheme.js';
|
|
6
|
+
import { getTabletopSeatPosition } from '../../utils/getTabletopSeatPosition.js';
|
|
7
|
+
import { CardHand } from './CardHand.js';
|
|
8
8
|
/*** Renders a responsive table surface and caller-owned seats. */
|
|
9
9
|
export const TabletopTable = withZoraThemeScope(TabletopTableInner);
|
|
10
10
|
/*** Summarizes the visible seat state for assistive technology. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { CardBack } from './adapters/inbound/CardBack';
|
|
2
|
-
export { CardHand } from './adapters/inbound/CardHand';
|
|
3
|
-
export { PlayingCard } from './adapters/inbound/PlayingCard';
|
|
4
|
-
export { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';
|
|
5
|
-
export { TabletopTable } from './adapters/inbound/TabletopTable';
|
|
6
|
-
export { pokerTrainingTableMeta, tabletopTableMeta } from './meta';
|
|
7
|
-
export { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';
|
|
8
|
-
export { createTabletopColorScheme } from './utils/createTabletopColorScheme';
|
|
9
|
-
export { createTabletopGameSeats } from './utils/createTabletopGameSeats';
|
|
1
|
+
export { CardBack } from './adapters/inbound/CardBack.js';
|
|
2
|
+
export { CardHand } from './adapters/inbound/CardHand.js';
|
|
3
|
+
export { PlayingCard } from './adapters/inbound/PlayingCard.js';
|
|
4
|
+
export { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable.js';
|
|
5
|
+
export { TabletopTable } from './adapters/inbound/TabletopTable.js';
|
|
6
|
+
export { pokerTrainingTableMeta, tabletopTableMeta } from './meta.js';
|
|
7
|
+
export { createPokerTrainingTableState } from './utils/createPokerTrainingTableState.js';
|
|
8
|
+
export { createTabletopColorScheme } from './utils/createTabletopColorScheme.js';
|
|
9
|
+
export { createTabletopGameSeats } from './utils/createTabletopGameSeats.js';
|
|
10
10
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tab as SurfaceTab } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { TabsInteractionPolicyContext } from '../../composition/TabsInteractionPolicyContext';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { TabsInteractionPolicyContext } from '../../composition/TabsInteractionPolicyContext.js';
|
|
5
5
|
/*** Renders one labeled selectable tab backed by Surface accessibility semantics. */
|
|
6
6
|
export const Tab = withZoraThemeScope(TabInner);
|
|
7
7
|
/*** Resolves inherited interaction policy before delegating tab behavior to Surface. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TabList as SurfaceTabList } from '@ankhorage/surface';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
3
|
/*** Renders the accessible list of tabs for a Tabs composition. */
|
|
4
4
|
export const TabList = withZoraThemeScope(TabListInner);
|
|
5
5
|
/*** Delegates tablist semantics, keyboard navigation, and fill distribution to Surface. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TabPanel as SurfaceTabPanel } from '@ankhorage/surface';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
3
|
/*** Renders content associated with one selected Tab. */
|
|
4
4
|
export const TabPanel = withZoraThemeScope(TabPanelInner);
|
|
5
5
|
/*** Delegates tabpanel visibility and accessibility linkage to Surface. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tabs as SurfaceTabs } from '@ankhorage/surface';
|
|
2
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
|
-
import { TabsInteractionPolicyContext } from '../../composition/TabsInteractionPolicyContext';
|
|
2
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
3
|
+
import { TabsInteractionPolicyContext } from '../../composition/TabsInteractionPolicyContext.js';
|
|
4
4
|
/*** Provides accessible tab state and interaction policy through the Surface Tabs primitive. */
|
|
5
5
|
export const Tabs = withZoraThemeScope(TabsInner);
|
|
6
6
|
/*** Connects ZORA tab composition to the Surface tab state owner. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Tab } from './adapters/inbound/Tab';
|
|
2
|
-
export { TabList } from './adapters/inbound/TabList';
|
|
3
|
-
export { TabPanel } from './adapters/inbound/TabPanel';
|
|
4
|
-
export { Tabs } from './adapters/inbound/Tabs';
|
|
1
|
+
export { Tab } from './adapters/inbound/Tab.js';
|
|
2
|
+
export { TabList } from './adapters/inbound/TabList.js';
|
|
3
|
+
export { TabPanel } from './adapters/inbound/TabPanel.js';
|
|
4
|
+
export { Tabs } from './adapters/inbound/Tabs.js';
|
|
5
5
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring';
|
|
2
|
-
import { LAYOUT_PROPS } from '../layout/constants';
|
|
1
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../../constants/authoring.js';
|
|
2
|
+
import { LAYOUT_PROPS } from '../layout/constants.js';
|
|
3
3
|
export const tabPanelMeta = {
|
|
4
4
|
name: 'TabPanel',
|
|
5
5
|
category: 'component',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IconButton } from '../../../button/public';
|
|
2
|
-
import { useZoraTheme } from '../../composition/useZoraTheme';
|
|
3
|
-
import { resolveThemeModeToggleState } from '../../utils/resolveThemeModeToggleState';
|
|
4
|
-
import { withZoraThemeScope } from './withZoraThemeScope';
|
|
1
|
+
import { IconButton } from '../../../button/public.js';
|
|
2
|
+
import { useZoraTheme } from '../../composition/useZoraTheme.js';
|
|
3
|
+
import { resolveThemeModeToggleState } from '../../utils/resolveThemeModeToggleState.js';
|
|
4
|
+
import { withZoraThemeScope } from './withZoraThemeScope.js';
|
|
5
5
|
/*** Provide a theme mode control with inherited surface polarity. */
|
|
6
6
|
export const ThemeModeToggle = withZoraThemeScope(ThemeModeToggleInner);
|
|
7
7
|
/*** Render the control from the active theme mode. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ResponsiveProvider, ThemeProvider, useTheme as useSurfaceTheme } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { createZoraThemeConfig } from '../../application/use-cases/createZoraThemeConfig';
|
|
4
|
-
import { ZoraRuntimeCapabilities } from '../../composition/ZoraRuntimeCapabilities';
|
|
5
|
-
import { ZoraThemeRuntimeContext } from '../../composition/ZoraThemeRuntimeContext';
|
|
6
|
-
import { zoraDefaultTheme } from '../../zoraDefaultTheme';
|
|
3
|
+
import { createZoraThemeConfig } from '../../application/use-cases/createZoraThemeConfig.js';
|
|
4
|
+
import { ZoraRuntimeCapabilities } from '../../composition/ZoraRuntimeCapabilities.js';
|
|
5
|
+
import { ZoraThemeRuntimeContext } from '../../composition/ZoraThemeRuntimeContext.js';
|
|
6
|
+
import { zoraDefaultTheme } from '../../zoraDefaultTheme.js';
|
|
7
7
|
/*** Installs the core ZORA theme runtime and explicitly enabled optional capabilities. */
|
|
8
8
|
export function ZoraProvider({ bottomSheet = false, children, theme = zoraDefaultTheme, themeConfig, initialMode = 'light', mode, toast = false, }) {
|
|
9
9
|
const resolvedConfig = React.useMemo(() => themeConfig ?? createZoraThemeConfig(theme), [theme, themeConfig]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ThemeScope } from '@ankhorage/surface';
|
|
2
2
|
import React, { useMemo } from 'react';
|
|
3
|
-
import { useZoraThemeRuntime, ZoraThemeRuntimeContext, } from '../../composition/ZoraThemeRuntimeContext';
|
|
4
|
-
import { resolveZoraScopedThemeId } from '../../utils/resolveZoraScopedThemeId';
|
|
3
|
+
import { useZoraThemeRuntime, ZoraThemeRuntimeContext, } from '../../composition/ZoraThemeRuntimeContext.js';
|
|
4
|
+
import { resolveZoraScopedThemeId } from '../../utils/resolveZoraScopedThemeId.js';
|
|
5
5
|
/*** Applies nested ZORA theme overrides through the public Surface theme scope. */
|
|
6
6
|
export function ZoraThemeScope({ children, themeId, mode, inverted }) {
|
|
7
7
|
if (mode === undefined && themeId === undefined && inverted === undefined)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ZoraThemeScope } from './ZoraThemeScope';
|
|
2
|
+
import { ZoraThemeScope } from './ZoraThemeScope.js';
|
|
3
3
|
/*** Applies optional theme and polarity overrides to any ZORA component. */
|
|
4
4
|
export function withZoraThemeScope(Component) {
|
|
5
5
|
const Wrapped = (props) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ZoraRuntimeCapabilities } from './ZoraRuntimeCapabilities.web';
|
|
1
|
+
export { ZoraRuntimeCapabilities } from './ZoraRuntimeCapabilities.web.js';
|
|
2
2
|
//# sourceMappingURL=ZoraRuntimeCapabilities.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveZoraThemeRecipe } from '../utils/resolveZoraThemeRecipe';
|
|
2
|
-
import { useZoraTheme } from './useZoraTheme';
|
|
1
|
+
import { resolveZoraThemeRecipe } from '../utils/resolveZoraThemeRecipe.js';
|
|
2
|
+
import { useZoraTheme } from './useZoraTheme.js';
|
|
3
3
|
/*** Resolve one feature-owned theme recipe against the active ZORA theme. */
|
|
4
4
|
export function useZoraThemeRecipe(meta) {
|
|
5
5
|
const { theme } = useZoraTheme();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ThemeModeToggle } from '../adapters/inbound/ThemeModeToggle';
|
|
1
|
+
export { ThemeModeToggle } from '../adapters/inbound/ThemeModeToggle.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { withZoraThemeScope } from './adapters/inbound/withZoraThemeScope';
|
|
2
|
-
export { ZoraProvider } from './adapters/inbound/ZoraProvider';
|
|
3
|
-
export { ZoraThemeScope } from './adapters/inbound/ZoraThemeScope';
|
|
4
|
-
export { useZoraTheme } from './composition/useZoraTheme';
|
|
5
|
-
export { ThemeModeToggle } from './mode-toggle/public';
|
|
1
|
+
export { withZoraThemeScope } from './adapters/inbound/withZoraThemeScope.js';
|
|
2
|
+
export { ZoraProvider } from './adapters/inbound/ZoraProvider.js';
|
|
3
|
+
export { ZoraThemeScope } from './adapters/inbound/ZoraThemeScope.js';
|
|
4
|
+
export { useZoraTheme } from './composition/useZoraTheme.js';
|
|
5
|
+
export { ThemeModeToggle } from './mode-toggle/public.js';
|
|
6
6
|
//# sourceMappingURL=runtime.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getLaneIntervalPlacement } from '@ankhorage/grid-view';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Pressable, View } from 'react-native';
|
|
4
|
-
import { GridView } from '../../../grid-view/public';
|
|
5
|
-
import { resolveTimeGridNextFocusId } from '../../application/resolveTimeGridNextFocusId';
|
|
6
|
-
import { resolveTimeGridVisibleIntervals } from '../../application/resolveTimeGridVisibleIntervals';
|
|
7
|
-
import { TimeGridKeyboardProxy } from './TimeGridKeyboardProxy';
|
|
4
|
+
import { GridView } from '../../../grid-view/public.js';
|
|
5
|
+
import { resolveTimeGridNextFocusId } from '../../application/resolveTimeGridNextFocusId.js';
|
|
6
|
+
import { resolveTimeGridVisibleIntervals } from '../../application/resolveTimeGridVisibleIntervals.js';
|
|
7
|
+
import { TimeGridKeyboardProxy } from './TimeGridKeyboardProxy.js';
|
|
8
8
|
/*** Presents virtualized variable-height interval lanes through ZORA's shared GridView renderer. */
|
|
9
9
|
export function TimeGrid({ contentWidth, focusedIntervalId, height, interactionPolicy, intervals, lanes, onFocusedIntervalIdChange, onIntervalPress, onViewportChange, onVisibleIntervalIdsChange, overscanPixels, renderInterval, renderLaneLabel, revealPaddingPixels, selectedIntervalIds = [], testID, width, zoom, }) {
|
|
10
10
|
const scale = Math.max(0.01, zoom ?? 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TimeGrid } from './adapters/inbound/TimeGrid';
|
|
2
|
-
export { resolveTimeGridNextFocusId } from './application/resolveTimeGridNextFocusId';
|
|
3
|
-
export { resolveTimeGridVisibleIntervals } from './application/resolveTimeGridVisibleIntervals';
|
|
1
|
+
export { TimeGrid } from './adapters/inbound/TimeGrid.js';
|
|
2
|
+
export { resolveTimeGridNextFocusId } from './application/resolveTimeGridNextFocusId.js';
|
|
3
|
+
export { resolveTimeGridVisibleIntervals } from './application/resolveTimeGridVisibleIntervals.js';
|
|
4
4
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TimePicker } from './TimePicker.web';
|
|
1
|
+
export { TimePicker } from './TimePicker.web.js';
|
|
2
2
|
//# sourceMappingURL=TimePicker.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useBottomSheet } from '../../../bottom-sheet/public';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { TimePickerContent } from '../../composition/TimePickerContent';
|
|
5
|
-
import { TimePickerField } from '../../composition/TimePickerField';
|
|
6
|
-
import { TimePickerTrigger } from '../../composition/TimePickerTrigger';
|
|
2
|
+
import { useBottomSheet } from '../../../bottom-sheet/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { TimePickerContent } from '../../composition/TimePickerContent.js';
|
|
5
|
+
import { TimePickerField } from '../../composition/TimePickerField.js';
|
|
6
|
+
import { TimePickerTrigger } from '../../composition/TimePickerTrigger.js';
|
|
7
7
|
/*** Renders TimePicker with native BottomSheet presentation. */
|
|
8
8
|
export const TimePicker = withZoraThemeScope(TimePickerInner);
|
|
9
9
|
/*** Connects the shared TimePicker field and content to the native BottomSheet host. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Popover } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Surface } from '../../../surface/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { TimePickerContent } from '../../composition/TimePickerContent';
|
|
6
|
-
import { TimePickerField } from '../../composition/TimePickerField';
|
|
7
|
-
import { TimePickerTrigger } from '../../composition/TimePickerTrigger';
|
|
3
|
+
import { Surface } from '../../../surface/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { TimePickerContent } from '../../composition/TimePickerContent.js';
|
|
6
|
+
import { TimePickerField } from '../../composition/TimePickerField.js';
|
|
7
|
+
import { TimePickerTrigger } from '../../composition/TimePickerTrigger.js';
|
|
8
8
|
/*** Renders TimePicker with anchored web Popover presentation. */
|
|
9
9
|
export const TimePicker = withZoraThemeScope(TimePickerInner);
|
|
10
10
|
/*** Connects the shared TimePicker field and content to the web Popover host. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ScrollView, StyleSheet } from 'react-native';
|
|
3
|
-
import { Button } from '../../button/public';
|
|
4
|
-
import { View } from '../../layout/public';
|
|
5
|
-
import { PickerHeader } from '../../picker/composition/PickerHeader';
|
|
3
|
+
import { Button } from '../../button/public.js';
|
|
4
|
+
import { View } from '../../layout/public.js';
|
|
5
|
+
import { PickerHeader } from '../../picker/composition/PickerHeader.js';
|
|
6
6
|
const MINUTES_PER_DAY = 24 * 60;
|
|
7
7
|
const DEFAULT_STEP_MINUTES = 30;
|
|
8
8
|
/*** Renders shared time options for native BottomSheet and web Popover hosts. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PickerField } from '../../picker/composition/PickerField';
|
|
1
|
+
import { PickerField } from '../../picker/composition/PickerField.js';
|
|
2
2
|
/*** Renders the shared TimePicker field frame around a platform-specific trigger. */
|
|
3
3
|
export function TimePickerField({ children, description, disabled, error, label, required, testID, }) {
|
|
4
4
|
return <PickerField {...{ children, description, disabled, error, label, required, testID }}/>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from '../../button/public';
|
|
1
|
+
import { Button } from '../../button/public.js';
|
|
2
2
|
/*** Renders the shared TimePicker trigger button for native and web hosts. */
|
|
3
3
|
export function TimePickerTrigger({ disabled, formatTime, interactionPolicy, onPress, placeholder = 'Choose time', testID, value, }) {
|
|
4
4
|
const displayValue = value ? (formatTime ? formatTime(value) : value) : placeholder;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TimePicker } from './adapters/inbound/TimePicker';
|
|
1
|
+
export { TimePicker } from './adapters/inbound/TimePicker.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Icon } from '../../../icon/public';
|
|
3
|
-
import { resolveIconSize } from '../../../icon/utils/resolveIconSize';
|
|
4
|
-
import { Image } from '../../../image/public';
|
|
5
|
-
import { View } from '../../../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
8
|
-
import { Heading } from '../../../typography/public';
|
|
9
|
-
import { Text } from '../../../typography/public';
|
|
2
|
+
import { Icon } from '../../../icon/public.js';
|
|
3
|
+
import { resolveIconSize } from '../../../icon/utils/resolveIconSize.js';
|
|
4
|
+
import { Image } from '../../../image/public.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
|
+
import { Heading } from '../../../typography/public.js';
|
|
9
|
+
import { Text } from '../../../typography/public.js';
|
|
10
10
|
function resolveRoleSemantics(theme, color) {
|
|
11
11
|
switch (color) {
|
|
12
12
|
case 'secondary':
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Timeline } from './adapters/inbound/Timeline';
|
|
1
|
+
export { Timeline } from './adapters/inbound/Timeline.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toast as SurfaceToast } 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
|
/*** Renders a toast notification message with ZORA theme scoping. */
|
|
5
5
|
export const Toast = withZoraThemeScope(ToastInner);
|
|
6
6
|
/*** Applies the ZORA theme scope before delegating toast presentation to Surface. */
|