@ankhorage/zora 28.6.8 → 28.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +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 +6 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Card as SurfaceCard } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraThemeRecipe } from '../../../theme/composition/useZoraThemeRecipe';
|
|
6
|
-
import { Heading } from '../../../typography/public';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
8
|
-
import { resolveCardThemeRecipe } from '../../utils/resolveCardThemeRecipe';
|
|
9
|
-
import { resolveCardVariant } from '../../utils/resolveCardVariant';
|
|
10
|
-
import { cardThemeRecipeMeta } from '../../utils/themeRecipeMeta';
|
|
3
|
+
import { View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraThemeRecipe } from '../../../theme/composition/useZoraThemeRecipe.js';
|
|
6
|
+
import { Heading } from '../../../typography/public.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
|
+
import { resolveCardThemeRecipe } from '../../utils/resolveCardThemeRecipe.js';
|
|
9
|
+
import { resolveCardVariant } from '../../utils/resolveCardVariant.js';
|
|
10
|
+
import { cardThemeRecipeMeta } from '../../utils/themeRecipeMeta.js';
|
|
11
11
|
/***
|
|
12
12
|
* Structured content container with built-in heading, description, actions, and footer slots.
|
|
13
13
|
*
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Image } from 'react-native';
|
|
3
|
-
import { View } from '../../../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
6
|
-
import { Heading } from '../../../typography/public';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
8
|
-
import { Card } from '../../public';
|
|
3
|
+
import { View } from '../../../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
6
|
+
import { Heading } from '../../../typography/public.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
|
+
import { Card } from '../../public.js';
|
|
9
9
|
/***
|
|
10
10
|
* Card layout with an optional media/header region and structured content slots.
|
|
11
11
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Badge } from '../../../badge/public';
|
|
3
|
-
import { resolveBadgeRecipe } from '../../../badge/utils/resolveBadgeRecipe';
|
|
4
|
-
import { Icon } from '../../../icon/public';
|
|
5
|
-
import { resolveIconSize } from '../../../icon/utils/resolveIconSize';
|
|
6
|
-
import { View } from '../../../layout/public';
|
|
7
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
9
|
-
import { Heading } from '../../../typography/public';
|
|
10
|
-
import { Text } from '../../../typography/public';
|
|
11
|
-
import { Card } from '../../public';
|
|
2
|
+
import { Badge } from '../../../badge/public.js';
|
|
3
|
+
import { resolveBadgeRecipe } from '../../../badge/utils/resolveBadgeRecipe.js';
|
|
4
|
+
import { Icon } from '../../../icon/public.js';
|
|
5
|
+
import { resolveIconSize } from '../../../icon/utils/resolveIconSize.js';
|
|
6
|
+
import { View } from '../../../layout/public.js';
|
|
7
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
8
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
9
|
+
import { Heading } from '../../../typography/public.js';
|
|
10
|
+
import { Text } from '../../../typography/public.js';
|
|
11
|
+
import { Card } from '../../public.js';
|
|
12
12
|
/***
|
|
13
13
|
* Highlights a key metric with label, value, and optional trend/actions.
|
|
14
14
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Image as ReactNativeImage } from 'react-native';
|
|
3
|
-
import { Avatar } from '../../../avatar/public';
|
|
4
|
-
import { Button } from '../../../button/public';
|
|
5
|
-
import { Divider, View } from '../../../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
8
|
-
import { Text } from '../../../typography/public';
|
|
9
|
-
import { Card } from '../../public';
|
|
3
|
+
import { Avatar } from '../../../avatar/public.js';
|
|
4
|
+
import { Button } from '../../../button/public.js';
|
|
5
|
+
import { Divider, View } from '../../../layout/public.js';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
7
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
8
|
+
import { Text } from '../../../typography/public.js';
|
|
9
|
+
import { Card } from '../../public.js';
|
|
10
10
|
/***
|
|
11
11
|
* Social-style post card pattern with author, content, media, and actions.
|
|
12
12
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Badge } from '../../../badge/public';
|
|
3
|
-
import { Button } from '../../../button/public';
|
|
4
|
-
import { Image } from '../../../image/public';
|
|
5
|
-
import { Divider, View } from '../../../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { Heading } from '../../../typography/public';
|
|
8
|
-
import { Text } from '../../../typography/public';
|
|
9
|
-
import { Card } from '../../public';
|
|
2
|
+
import { Badge } from '../../../badge/public.js';
|
|
3
|
+
import { Button } from '../../../button/public.js';
|
|
4
|
+
import { Image } from '../../../image/public.js';
|
|
5
|
+
import { Divider, View } from '../../../layout/public.js';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
7
|
+
import { Heading } from '../../../typography/public.js';
|
|
8
|
+
import { Text } from '../../../typography/public.js';
|
|
9
|
+
import { Card } from '../../public.js';
|
|
10
10
|
export const ProductCard = withZoraThemeScope(ProductCardInner);
|
|
11
11
|
function ProductCardInner({ title, subtitle, description, brand, vendor: _vendor, imageUrl, imageAlt, price, currency, badges, meta, primaryActionLabel, secondaryActionLabel, onPress, onPrimaryAction, onSecondaryAction, interactionPolicy, ...rest }) {
|
|
12
12
|
const hasHeaderInfo = !!title || !!brand || !!subtitle;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CHESS_ALLOWED_CHILDREN, CONTAINER_ALLOWED_CHILDREN, GAME_ALLOWED_CHILDREN, TABLETOP_ALLOWED_CHILDREN, } from '../../constants/authoring';
|
|
2
|
-
import { COMPONENT_THEME_AUTHORING } from '../../constants/authoring';
|
|
1
|
+
import { CHESS_ALLOWED_CHILDREN, CONTAINER_ALLOWED_CHILDREN, GAME_ALLOWED_CHILDREN, TABLETOP_ALLOWED_CHILDREN, } from '../../constants/authoring.js';
|
|
2
|
+
import { COMPONENT_THEME_AUTHORING } from '../../constants/authoring.js';
|
|
3
3
|
export const cardMeta = {
|
|
4
4
|
name: 'Card',
|
|
5
5
|
category: 'component',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Card } from './adapters/inbound/Card';
|
|
2
|
-
export { MediaCard } from './adapters/inbound/MediaCard';
|
|
3
|
-
export { MetricCard } from './adapters/inbound/MetricCard';
|
|
4
|
-
export { PostCard } from './adapters/inbound/PostCard';
|
|
5
|
-
export { ProductCard } from './adapters/inbound/ProductCard';
|
|
1
|
+
export { Card } from './adapters/inbound/Card.js';
|
|
2
|
+
export { MediaCard } from './adapters/inbound/MediaCard.js';
|
|
3
|
+
export { MetricCard } from './adapters/inbound/MetricCard.js';
|
|
4
|
+
export { PostCard } from './adapters/inbound/PostCard.js';
|
|
5
|
+
export { ProductCard } from './adapters/inbound/ProductCard.js';
|
|
6
6
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Animated, Easing, Image, Pressable, StyleSheet, Text, View } from 'react-native';
|
|
3
|
-
import { useZoraTheme } from '../theme/composition/useZoraTheme';
|
|
4
|
-
import { useCarouselPlayback } from './useCarouselPlayback';
|
|
3
|
+
import { useZoraTheme } from '../theme/composition/useZoraTheme.js';
|
|
4
|
+
import { useCarouselPlayback } from './useCarouselPlayback.js';
|
|
5
5
|
/***
|
|
6
6
|
* Present images, arbitrary React content, or both as a cross-platform slideshow.
|
|
7
7
|
* A published web artifact exposes the same API without consumer source imports.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Carousel } from './Carousel';
|
|
1
|
+
export { Carousel } from './Carousel.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Pressable } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Avatar } from '../../../avatar/public';
|
|
4
|
-
import { Badge } from '../../../badge/public';
|
|
5
|
-
import { View } from '../../../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
8
|
-
import { Text } from '../../../typography/public';
|
|
3
|
+
import { Avatar } from '../../../avatar/public.js';
|
|
4
|
+
import { Badge } from '../../../badge/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 { Text } from '../../../typography/public.js';
|
|
9
9
|
function resolveAvatarName({ avatar, title, }) {
|
|
10
10
|
if (avatar?.name) {
|
|
11
11
|
return avatar.name;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Pressable } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Avatar } from '../../../avatar/public';
|
|
4
|
-
import { View } from '../../../layout/public';
|
|
5
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
3
|
+
import { Avatar } from '../../../avatar/public.js';
|
|
4
|
+
import { View } from '../../../layout/public.js';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
6
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
8
|
function resolveAvatarName({ avatar, authorName, }) {
|
|
9
9
|
if (avatar?.name)
|
|
10
10
|
return avatar.name;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ChatListItem } from './adapters/inbound/ChatListItem';
|
|
2
|
-
export { MessageBubble } from './adapters/inbound/MessageBubble';
|
|
1
|
+
export { ChatListItem } from './adapters/inbound/ChatListItem.js';
|
|
2
|
+
export { MessageBubble } from './adapters/inbound/MessageBubble.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Pressable, StyleSheet, Text, View } from 'react-native';
|
|
3
|
-
import { GridView } from '../../../grid-view/public';
|
|
4
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
6
|
-
import { createChessBoardCellPressHandler } from '../../utils/createChessBoardCellPressHandler';
|
|
7
|
-
import { createChessBoardCells } from '../../utils/createChessBoardCells';
|
|
8
|
-
import { createChessBoardColorScheme } from '../../utils/createChessBoardColorScheme';
|
|
3
|
+
import { GridView } from '../../../grid-view/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
6
|
+
import { createChessBoardCellPressHandler } from '../../utils/createChessBoardCellPressHandler.js';
|
|
7
|
+
import { createChessBoardCells } from '../../utils/createChessBoardCells.js';
|
|
8
|
+
import { createChessBoardColorScheme } from '../../utils/createChessBoardColorScheme.js';
|
|
9
9
|
const symbols = new Map([
|
|
10
10
|
['white:p', '♙'],
|
|
11
11
|
['white:n', '♘'],
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Pressable, StyleSheet, Text, View } from 'react-native';
|
|
3
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
4
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
5
|
-
import { createOpeningBookColorScheme } from '../../utils/createOpeningBookColorScheme';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
5
|
+
import { createOpeningBookColorScheme } from '../../utils/createOpeningBookColorScheme.js';
|
|
6
6
|
/*** Renders caller-owned opening suggestions and their visual states. */
|
|
7
7
|
export const OpeningBook = withZoraThemeScope(OpeningBookInner);
|
|
8
8
|
/*** Formats an opening result percentage, accepting fractions or percentages. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ChessBoard } from './adapters/inbound/ChessBoard';
|
|
2
|
-
export { OpeningBook } from './adapters/inbound/OpeningBook';
|
|
3
|
-
export { chessBoardMeta, openingBookMeta } from './meta';
|
|
4
|
-
export { createChessBoardColorScheme } from './utils/createChessBoardColorScheme';
|
|
5
|
-
export { createOpeningBookColorScheme } from './utils/createOpeningBookColorScheme';
|
|
1
|
+
export { ChessBoard } from './adapters/inbound/ChessBoard.js';
|
|
2
|
+
export { OpeningBook } from './adapters/inbound/OpeningBook.js';
|
|
3
|
+
export { chessBoardMeta, openingBookMeta } from './meta.js';
|
|
4
|
+
export { createChessBoardColorScheme } from './utils/createChessBoardColorScheme.js';
|
|
5
|
+
export { createOpeningBookColorScheme } from './utils/createOpeningBookColorScheme.js';
|
|
6
6
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Pressable } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Icon } from '../../../icon/public';
|
|
4
|
-
import { resolveIconSize } from '../../../icon/utils/resolveIconSize';
|
|
5
|
-
import { View } from '../../../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
8
|
-
import { Text } from '../../../typography/public';
|
|
9
|
-
import { resolveChipColors } from '../../utils/resolveChipColors';
|
|
3
|
+
import { Icon } from '../../../icon/public.js';
|
|
4
|
+
import { resolveIconSize } from '../../../icon/utils/resolveIconSize.js';
|
|
5
|
+
import { View } from '../../../layout/public.js';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
7
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
8
|
+
import { Text } from '../../../typography/public.js';
|
|
9
|
+
import { resolveChipColors } from '../../utils/resolveChipColors.js';
|
|
10
10
|
/***
|
|
11
11
|
* Compact pill-like control for filters, tags, and quick selections.
|
|
12
12
|
*/
|
|
@@ -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 { Chip } from '../../public';
|
|
2
|
+
import { View } from '../../../layout/public.js';
|
|
3
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
4
|
+
import { Chip } from '../../public.js';
|
|
5
5
|
/***
|
|
6
6
|
* Renders a row or wrap layout of `Chip` items.
|
|
7
7
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Chip } from './adapters/inbound/Chip';
|
|
2
|
-
export { ChipGroup } from './adapters/inbound/ChipGroup';
|
|
1
|
+
export { Chip } from './adapters/inbound/Chip.js';
|
|
2
|
+
export { ChipGroup } from './adapters/inbound/ChipGroup.js';
|
|
3
3
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Button } from '../../../button/public';
|
|
3
|
-
import { IconButton } from '../../../button/public';
|
|
4
|
-
import { Card } from '../../../card/public';
|
|
5
|
-
import { View } from '../../../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
2
|
+
import { Button } from '../../../button/public.js';
|
|
3
|
+
import { IconButton } from '../../../button/public.js';
|
|
4
|
+
import { Card } from '../../../card/public.js';
|
|
5
|
+
import { View } from '../../../layout/public.js';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
8
|
function CollectionEditorInner({ themeId: _themeId, mode: _mode, title, description, items, renderItem, onAdd, onRemove, onMove, addLabel = 'Add Item', emptyLabel = 'No items yet.', disabled, testID, interactionPolicy, }) {
|
|
9
9
|
const isEmpty = items.length === 0;
|
|
10
10
|
return (<Card compact description={description} interactionPolicy={interactionPolicy} testID={testID} title={title} actions={onAdd ? (<Button variant="soft" size="s" disabled={disabled} interactionPolicy={interactionPolicy} onPress={onAdd}>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CollectionEditor } from './adapters/inbound/CollectionEditor';
|
|
1
|
+
export { CollectionEditor } from './adapters/inbound/CollectionEditor.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -2,10 +2,10 @@ import { isHexColor } from '@ankhorage/color-theory';
|
|
|
2
2
|
import { useClipboardWriter, writeClipboardTextAsync } from '@ankhorage/runtime';
|
|
3
3
|
import { TextInput } from '@ankhorage/surface';
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { IconButton } from '../button/public';
|
|
6
|
-
import { View } from '../layout/public';
|
|
7
|
-
import { useZoraTheme } from '../theme/composition/useZoraTheme';
|
|
8
|
-
import { Text } from '../typography/public';
|
|
5
|
+
import { IconButton } from '../button/public.js';
|
|
6
|
+
import { View } from '../layout/public.js';
|
|
7
|
+
import { useZoraTheme } from '../theme/composition/useZoraTheme.js';
|
|
8
|
+
import { Text } from '../typography/public.js';
|
|
9
9
|
/*** Edits one controlled HEX color and delegates copying to the host-owned clipboard capability. */
|
|
10
10
|
export function ColorHexField({ disabled, onChange, value, }) {
|
|
11
11
|
const [input, setInput] = React.useState(value);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ColorHorizontalPointerProxy } from './ColorHorizontalPointerProxy.native';
|
|
1
|
+
export { ColorHorizontalPointerProxy } from './ColorHorizontalPointerProxy.native.js';
|
|
2
2
|
//# sourceMappingURL=ColorHorizontalPointerProxy.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { generateColorSwatch } from '@ankhorage/color-theory';
|
|
2
2
|
import { Pressable } from '@ankhorage/surface';
|
|
3
|
-
import { View } from '../layout/public';
|
|
4
|
-
import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { useZoraTheme } from '../theme/composition/useZoraTheme';
|
|
6
|
-
import { Text } from '../typography/public';
|
|
7
|
-
import { ColorHexField } from './ColorHexField';
|
|
8
|
-
import { ColorSpectrumSlider } from './ColorSpectrumSlider';
|
|
9
|
-
import { resolveColorAtHue } from './utils/resolveColorAtHue';
|
|
10
|
-
import { resolveColorHue } from './utils/resolveColorHue';
|
|
3
|
+
import { View } from '../layout/public.js';
|
|
4
|
+
import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { useZoraTheme } from '../theme/composition/useZoraTheme.js';
|
|
6
|
+
import { Text } from '../typography/public.js';
|
|
7
|
+
import { ColorHexField } from './ColorHexField.js';
|
|
8
|
+
import { ColorSpectrumSlider } from './ColorSpectrumSlider.js';
|
|
9
|
+
import { resolveColorAtHue } from './utils/resolveColorAtHue.js';
|
|
10
|
+
import { resolveColorHue } from './utils/resolveColorHue.js';
|
|
11
11
|
/*** Edits the 500 base color and previews its canonical 50-to-950 swatch. */
|
|
12
12
|
export const ColorHueScale = withZoraThemeScope(ColorHueScaleInner);
|
|
13
13
|
/*** Maps generated previews to an explicitly editable 500 base without misreporting preview selection. */
|
|
@@ -2,19 +2,19 @@ import { COLOR_HARMONY_CATALOG, generateHarmonyRoleColors, } from '@ankhorage/co
|
|
|
2
2
|
import { Pressable } from '@ankhorage/surface';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { View as NativeView } from 'react-native';
|
|
5
|
-
import { IconButton } from '../button/public';
|
|
6
|
-
import { Card } from '../card/public';
|
|
7
|
-
import { Select } from '../form/select/public';
|
|
8
|
-
import { Gradient } from '../gradient/public';
|
|
9
|
-
import { Icon } from '../icon/public';
|
|
10
|
-
import { Divider, View } from '../layout/public';
|
|
11
|
-
import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope';
|
|
12
|
-
import { useZoraTheme } from '../theme/composition/useZoraTheme';
|
|
13
|
-
import { Heading, Text } from '../typography/public';
|
|
14
|
-
import { ColorHexField } from './ColorHexField';
|
|
15
|
-
import { ColorWheel } from './ColorWheel';
|
|
16
|
-
import { resolveColorPickerGeometry } from './resolveColorPickerGeometry';
|
|
17
|
-
import { resolveOklchColor } from './utils/resolveOklchColor';
|
|
5
|
+
import { IconButton } from '../button/public.js';
|
|
6
|
+
import { Card } from '../card/public.js';
|
|
7
|
+
import { Select } from '../form/select/public.js';
|
|
8
|
+
import { Gradient } from '../gradient/public.js';
|
|
9
|
+
import { Icon } from '../icon/public.js';
|
|
10
|
+
import { Divider, View } from '../layout/public.js';
|
|
11
|
+
import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope.js';
|
|
12
|
+
import { useZoraTheme } from '../theme/composition/useZoraTheme.js';
|
|
13
|
+
import { Heading, Text } from '../typography/public.js';
|
|
14
|
+
import { ColorHexField } from './ColorHexField.js';
|
|
15
|
+
import { ColorWheel } from './ColorWheel.js';
|
|
16
|
+
import { resolveColorPickerGeometry } from './resolveColorPickerGeometry.js';
|
|
17
|
+
import { resolveOklchColor } from './utils/resolveOklchColor.js';
|
|
18
18
|
const DEFAULT_TABS = ['grid', 'wheel'];
|
|
19
19
|
/*** Replaces the former Tone/Hue picker with one controlled Grid/Wheel presentation. */
|
|
20
20
|
export const ColorPicker = withZoraThemeScope(ColorPickerInner);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Circle, Defs, LinearGradient, Rect, Stop, Svg } from 'react-native-svg';
|
|
3
|
-
import { View } from '../layout/public';
|
|
4
|
-
import { useZoraTheme } from '../theme/composition/useZoraTheme';
|
|
5
|
-
import { Text } from '../typography/public';
|
|
6
|
-
import { ColorHorizontalPointerProxy } from './ColorHorizontalPointerProxy';
|
|
7
|
-
import { resolveOklchColor } from './utils/resolveOklchColor';
|
|
3
|
+
import { View } from '../layout/public.js';
|
|
4
|
+
import { useZoraTheme } from '../theme/composition/useZoraTheme.js';
|
|
5
|
+
import { Text } from '../typography/public.js';
|
|
6
|
+
import { ColorHorizontalPointerProxy } from './ColorHorizontalPointerProxy.js';
|
|
7
|
+
import { resolveOklchColor } from './utils/resolveOklchColor.js';
|
|
8
8
|
const SPECTRUM_WIDTH = 280;
|
|
9
9
|
const SPECTRUM_HUES = [0, 60, 120, 180, 240, 300, 360];
|
|
10
10
|
/*** Selects a controlled hue across the same full-spectrum track used by Studio tabs. */
|
|
@@ -2,16 +2,16 @@ import {} from '@ankhorage/color-theory';
|
|
|
2
2
|
import { Button, Pressable } from '@ankhorage/surface';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Circle, Defs, LinearGradient, Rect, Stop, Svg } from 'react-native-svg';
|
|
5
|
-
import { View } from '../layout/public';
|
|
6
|
-
import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope';
|
|
7
|
-
import { useZoraTheme } from '../theme/composition/useZoraTheme';
|
|
8
|
-
import { Text } from '../typography/public';
|
|
9
|
-
import { ColorHexField } from './ColorHexField';
|
|
10
|
-
import { ColorSpectrumSlider } from './ColorSpectrumSlider';
|
|
11
|
-
import { ColorWheelPointerProxy } from './ColorWheelPointerProxy';
|
|
12
|
-
import { resolveColorHue } from './utils/resolveColorHue';
|
|
13
|
-
import { resolveOklchColor } from './utils/resolveOklchColor';
|
|
14
|
-
import { resolveWheelColorComponents } from './utils/resolveWheelColorComponents';
|
|
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 { Text } from '../typography/public.js';
|
|
9
|
+
import { ColorHexField } from './ColorHexField.js';
|
|
10
|
+
import { ColorSpectrumSlider } from './ColorSpectrumSlider.js';
|
|
11
|
+
import { ColorWheelPointerProxy } from './ColorWheelPointerProxy.js';
|
|
12
|
+
import { resolveColorHue } from './utils/resolveColorHue.js';
|
|
13
|
+
import { resolveOklchColor } from './utils/resolveOklchColor.js';
|
|
14
|
+
import { resolveWheelColorComponents } from './utils/resolveWheelColorComponents.js';
|
|
15
15
|
const MAX_TONE_COLORS = 4;
|
|
16
16
|
const TONE_MAP_WIDTH = 280;
|
|
17
17
|
const TONE_MAP_HEIGHT = 220;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { generateHarmonyRoleColors } from '@ankhorage/color-theory';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Circle, Defs, Line, Path, Polygon, RadialGradient, Stop, Svg } from 'react-native-svg';
|
|
4
|
-
import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
-
import { ColorWheelKeyboardProxy } from './ColorWheelKeyboardProxy';
|
|
6
|
-
import { ColorWheelPointerProxy } from './ColorWheelPointerProxy';
|
|
7
|
-
import { resolveColorHue } from './utils/resolveColorHue';
|
|
8
|
-
import { resolveOklchColor } from './utils/resolveOklchColor';
|
|
9
|
-
import { resolveWheelColor } from './utils/resolveWheelColor';
|
|
10
|
-
import { resolveWheelColorComponents } from './utils/resolveWheelColorComponents';
|
|
4
|
+
import { withZoraThemeScope } from '../theme/adapters/inbound/withZoraThemeScope.js';
|
|
5
|
+
import { ColorWheelKeyboardProxy } from './ColorWheelKeyboardProxy.js';
|
|
6
|
+
import { ColorWheelPointerProxy } from './ColorWheelPointerProxy.js';
|
|
7
|
+
import { resolveColorHue } from './utils/resolveColorHue.js';
|
|
8
|
+
import { resolveOklchColor } from './utils/resolveOklchColor.js';
|
|
9
|
+
import { resolveWheelColor } from './utils/resolveWheelColor.js';
|
|
10
|
+
import { resolveWheelColorComponents } from './utils/resolveWheelColorComponents.js';
|
|
11
11
|
const VIEWBOX = 1000;
|
|
12
12
|
const CENTER = VIEWBOX / 2;
|
|
13
13
|
const RADIUS = 480;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ColorWheelKeyboardProxy } from './ColorWheelKeyboardProxy.native';
|
|
1
|
+
export { ColorWheelKeyboardProxy } from './ColorWheelKeyboardProxy.native.js';
|
|
2
2
|
//# sourceMappingURL=ColorWheelKeyboardProxy.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ColorWheelPointerProxy } from './ColorWheelPointerProxy.native';
|
|
1
|
+
export { ColorWheelPointerProxy } from './ColorWheelPointerProxy.native.js';
|
|
2
2
|
//# sourceMappingURL=ColorWheelPointerProxy.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ColorHueScale } from './ColorHueScale';
|
|
2
|
-
export { ColorPicker } from './ColorPicker';
|
|
3
|
-
export { ColorTone } from './ColorTone';
|
|
4
|
-
export { ColorWheel } from './ColorWheel';
|
|
1
|
+
export { ColorHueScale } from './ColorHueScale.js';
|
|
2
|
+
export { ColorPicker } from './ColorPicker.js';
|
|
3
|
+
export { ColorTone } from './ColorTone.js';
|
|
4
|
+
export { ColorWheel } from './ColorWheel.js';
|
|
5
5
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveOklchColor } from './resolveOklchColor';
|
|
2
|
-
import { resolveWheelColorComponents } from './resolveWheelColorComponents';
|
|
1
|
+
import { resolveOklchColor } from './resolveOklchColor.js';
|
|
2
|
+
import { resolveWheelColorComponents } from './resolveWheelColorComponents.js';
|
|
3
3
|
/*** Resolve a wheel coordinate into the same bounded OKLCH projection rendered by the wheel. */
|
|
4
4
|
export function resolveWheelColor(color, x, y, center, radius, maxChroma, lightness = resolveWheelColorComponents(color).lightness) {
|
|
5
5
|
const deltaX = x - center;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { I18nManager, ScrollView, } from 'react-native';
|
|
3
|
-
import { IconButton } from '../../../button/public';
|
|
4
|
-
import { View } from '../../../layout/public';
|
|
5
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
7
|
-
import { Text } from '../../../typography/public';
|
|
8
|
-
import { resolveContentRailItemWidth } from '../../utils/resolveContentRailItemWidth';
|
|
9
|
-
import { resolveContentRailPhysicalOffset } from '../../utils/resolveContentRailPhysicalOffset';
|
|
10
|
-
import { resolveContentRailState } from '../../utils/resolveContentRailState';
|
|
11
|
-
import { useContentRailReducedMotion } from '../../utils/useContentRailReducedMotion';
|
|
12
|
-
import { ContentRailFlow } from './ContentRailFlow';
|
|
3
|
+
import { IconButton } from '../../../button/public.js';
|
|
4
|
+
import { View } from '../../../layout/public.js';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
6
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
7
|
+
import { Text } from '../../../typography/public.js';
|
|
8
|
+
import { resolveContentRailItemWidth } from '../../utils/resolveContentRailItemWidth.js';
|
|
9
|
+
import { resolveContentRailPhysicalOffset } from '../../utils/resolveContentRailPhysicalOffset.js';
|
|
10
|
+
import { resolveContentRailState } from '../../utils/resolveContentRailState.js';
|
|
11
|
+
import { useContentRailReducedMotion } from '../../utils/useContentRailReducedMotion.js';
|
|
12
|
+
import { ContentRailFlow } from './ContentRailFlow.js';
|
|
13
13
|
/**
|
|
14
14
|
* Horizontally browsable, manifest-authorable content with responsive item sizing.
|
|
15
15
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ScrollView } from 'react-native';
|
|
3
|
-
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
3
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme.js';
|
|
4
4
|
/*** Wraps intrinsically sized content in a free horizontal native scroll view. */
|
|
5
5
|
export function ContentRailFlow({ children, gap = 'm', padding = 'm', direction = 'auto', bounces, showsScrollIndicator = false, accessibilityLabel = 'Content rail', interactionPolicy, testID, }) {
|
|
6
6
|
const { theme } = useZoraTheme();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CONTENT_RAIL_ALLOWED_CHILDREN } from '../../constants/authoring';
|
|
2
|
-
import { CONTENT_RAIL_SPACING_VALUES } from './constants';
|
|
1
|
+
import { CONTENT_RAIL_ALLOWED_CHILDREN } from '../../constants/authoring.js';
|
|
2
|
+
import { CONTENT_RAIL_SPACING_VALUES } from './constants.js';
|
|
3
3
|
export const contentRailMeta = {
|
|
4
4
|
name: 'ContentRail',
|
|
5
5
|
category: 'pattern',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ContentRail } from './adapters/inbound/ContentRail';
|
|
1
|
+
export { ContentRail } from './adapters/inbound/ContentRail.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Show } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Linking, Pressable, ScrollView } from 'react-native';
|
|
4
|
-
import { Button, IconButton } from '../../../button/public';
|
|
5
|
-
import { Card } from '../../../card/public';
|
|
6
|
-
import { EmptyState } from '../../../empty-state/public';
|
|
7
|
-
import { Checkbox } from '../../../form/checkbox/public';
|
|
8
|
-
import { Image } from '../../../image/public';
|
|
9
|
-
import { View } from '../../../layout/public';
|
|
10
|
-
import { PopoverMenu } from '../../../popover-menu/public';
|
|
11
|
-
import { SkeletonList } from '../../../skeleton/public';
|
|
12
|
-
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
13
|
-
import { Text } from '../../../typography/public';
|
|
14
|
-
import { resolveDataTableRowKey } from '../../utils/resolveDataTableRowKey';
|
|
4
|
+
import { Button, IconButton } from '../../../button/public.js';
|
|
5
|
+
import { Card } from '../../../card/public.js';
|
|
6
|
+
import { EmptyState } from '../../../empty-state/public.js';
|
|
7
|
+
import { Checkbox } from '../../../form/checkbox/public.js';
|
|
8
|
+
import { Image } from '../../../image/public.js';
|
|
9
|
+
import { View } from '../../../layout/public.js';
|
|
10
|
+
import { PopoverMenu } from '../../../popover-menu/public.js';
|
|
11
|
+
import { SkeletonList } from '../../../skeleton/public.js';
|
|
12
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope.js';
|
|
13
|
+
import { Text } from '../../../typography/public.js';
|
|
14
|
+
import { resolveDataTableRowKey } from '../../utils/resolveDataTableRowKey.js';
|
|
15
15
|
/***
|
|
16
16
|
* Displays structured tabular data with responsive columns and optional controlled row selection.
|
|
17
17
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DataTable } from './adapters/inbound/DataTable';
|
|
1
|
+
export { DataTable } from './adapters/inbound/DataTable.js';
|
|
2
2
|
//# sourceMappingURL=public.js.map
|