@ankhorage/zora 22.0.73 → 22.0.75
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 +12 -0
- package/README.md +1 -1
- package/dist/{features/authoring/allowedChildren.d.ts → constants/authoring.d.ts} +40 -1
- package/dist/constants/authoring.d.ts.map +1 -0
- package/dist/{features/authoring/allowedChildren.js → constants/authoring.js} +53 -1
- package/dist/constants/authoring.js.map +1 -0
- package/dist/features/accordion/accordionItemMeta.js +1 -1
- package/dist/features/accordion/accordionItemMeta.js.map +1 -1
- package/dist/features/accordion/accordionMeta.js.map +1 -1
- package/dist/features/activity-indicator/activityIndicatorMeta.js.map +1 -1
- package/dist/features/app-bar/appBarMeta.js.map +1 -1
- package/dist/features/auth/forgotPasswordFormMeta.js.map +1 -1
- package/dist/features/auth/oauthProviderButtonMeta.js.map +1 -1
- package/dist/features/auth/oauthProviderListMeta.js.map +1 -1
- package/dist/features/auth/otpFormMeta.js.map +1 -1
- package/dist/features/auth/signInFormMeta.js.map +1 -1
- package/dist/features/auth/signUpFormMeta.js.map +1 -1
- package/dist/features/bottom-sheet/bottomSheetMeta.js +1 -1
- package/dist/features/bottom-sheet/bottomSheetMeta.js.map +1 -1
- package/dist/features/breadcrumbs/breadcrumbsMeta.js.map +1 -1
- package/dist/features/button/adapters/inbound/Button.d.ts.map +1 -1
- package/dist/features/button/adapters/inbound/Button.js +2 -1
- package/dist/features/button/adapters/inbound/Button.js.map +1 -1
- package/dist/features/button/buttonGroupMeta.js.map +1 -1
- package/dist/features/button/buttonMeta.js +1 -1
- package/dist/features/button/buttonMeta.js.map +1 -1
- package/dist/features/card/adapters/inbound/Card.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/Card.js +2 -1
- package/dist/features/card/adapters/inbound/Card.js.map +1 -1
- package/dist/features/card/cardMeta.js +2 -2
- package/dist/features/card/cardMeta.js.map +1 -1
- package/dist/features/card/mediaCardMeta.js +1 -1
- package/dist/features/card/mediaCardMeta.js.map +1 -1
- package/dist/features/card/postCardMeta.js +1 -1
- package/dist/features/card/postCardMeta.js.map +1 -1
- package/dist/features/card/productCardMeta.js.map +1 -1
- package/dist/features/chat/chatListItemMeta.js.map +1 -1
- package/dist/features/chat/messageBubbleMeta.js +1 -1
- package/dist/features/chat/messageBubbleMeta.js.map +1 -1
- package/dist/features/collection-editor/meta.js.map +1 -1
- package/dist/features/content-rail/contentRailMeta.js +1 -1
- package/dist/features/content-rail/contentRailMeta.js.map +1 -1
- package/dist/features/date-picker/datePickerMeta.js.map +1 -1
- package/dist/features/dialog/dialogMeta.js +1 -1
- package/dist/features/dialog/dialogMeta.js.map +1 -1
- package/dist/features/empty-state/emptyStateMeta.js.map +1 -1
- package/dist/features/form/checkbox/checkboxMeta.js.map +1 -1
- package/dist/features/form/field/meta.js.map +1 -1
- package/dist/features/form/formActionsMeta.js.map +1 -1
- package/dist/features/form/formErrorMeta.js.map +1 -1
- package/dist/features/form/formMeta.js.map +1 -1
- package/dist/features/form/radio/adapters/inbound/RadioGroup.d.ts.map +1 -1
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js +2 -1
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js.map +1 -1
- package/dist/features/form/radio/radioMeta.js.map +1 -1
- package/dist/features/form/select/selectMeta.js.map +1 -1
- package/dist/features/form/switch/switchMeta.js.map +1 -1
- package/dist/features/form/text-input/textInputMeta.js.map +1 -1
- package/dist/features/game/{adapters/inbound → utils}/measureGameEntity.d.ts +1 -1
- package/dist/features/game/utils/measureGameEntity.d.ts.map +1 -0
- package/dist/features/game/utils/measureGameEntity.js.map +1 -0
- package/dist/features/game/utils/useGameEntityMeasurement.js +1 -1
- package/dist/features/game/utils/useGameEntityMeasurement.js.map +1 -1
- package/dist/features/gradient/gradientMeta.js +1 -1
- package/dist/features/gradient/gradientMeta.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.d.ts +1 -96
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/GraphView.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphController.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphController.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphController.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createRenderableGraphElements.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createRenderableGraphElements.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/createRenderableGraphElements.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/fitGraphViewport.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/fitGraphViewport.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/fitGraphViewport.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/getGraphTopologyKey.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/getGraphTopologyKey.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/getGraphTopologyKey.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/readGraphRenderedNodes.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/readGraphRenderedNodes.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/readGraphRenderedNodes.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/runGraphLayout.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/runGraphLayout.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/runGraphLayout.js.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/syncGraphElements.d.ts +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/syncGraphElements.d.ts.map +1 -1
- package/dist/features/graph-view/adapters/inbound/web-artifact/syncGraphElements.js.map +1 -1
- package/dist/features/graph-view/public.d.ts +2 -1
- package/dist/features/graph-view/public.d.ts.map +1 -1
- package/dist/features/graph-view/public.js +1 -1
- package/dist/features/graph-view/public.js.map +1 -1
- package/dist/features/hero/heroMeta.js.map +1 -1
- package/dist/features/icon/iconMeta.js.map +1 -1
- package/dist/features/image/imageMeta.js.map +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.js +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.js.map +1 -1
- package/dist/features/layout/appShellMeta.js.map +1 -1
- package/dist/features/layout/gridMeta.js +1 -1
- package/dist/features/layout/gridMeta.js.map +1 -1
- package/dist/features/layout/screenMeta.js +1 -1
- package/dist/features/layout/screenMeta.js.map +1 -1
- package/dist/features/layout/scrollViewMeta.js +1 -1
- package/dist/features/layout/scrollViewMeta.js.map +1 -1
- package/dist/features/layout/viewMeta.js +1 -1
- package/dist/features/layout/viewMeta.js.map +1 -1
- package/dist/features/list/flatListMeta.js +1 -1
- package/dist/features/list/flatListMeta.js.map +1 -1
- package/dist/features/list/meta.js.map +1 -1
- package/dist/features/missing-element/missingElementMeta.js.map +1 -1
- package/dist/features/palette-item/paletteItemMeta.js.map +1 -1
- package/dist/features/popover-menu/popoverMenuMeta.js.map +1 -1
- package/dist/features/progress/progressMeta.js.map +1 -1
- package/dist/features/reader/meta.js +1 -1
- package/dist/features/reader/meta.js.map +1 -1
- package/dist/features/{authoring → registry}/bindableComponentMeta.d.ts.map +1 -1
- package/dist/features/registry/bindableComponentMeta.js.map +1 -0
- package/dist/features/registry/componentMeta.d.ts.map +1 -0
- package/dist/features/{authoring → registry}/componentMeta.js +1 -1
- package/dist/features/registry/componentMeta.js.map +1 -0
- package/dist/features/{authoring/utils → registry}/createManifestBindings.d.ts +1 -1
- package/dist/features/registry/createManifestBindings.d.ts.map +1 -0
- package/dist/features/registry/createManifestBindings.js.map +1 -0
- package/dist/features/{authoring/utils → registry}/finalizeFeatureMetadata.d.ts +1 -1
- package/dist/features/registry/finalizeFeatureMetadata.d.ts.map +1 -0
- package/dist/features/{authoring/utils → registry}/finalizeFeatureMetadata.js +1 -1
- package/dist/features/registry/finalizeFeatureMetadata.js.map +1 -0
- package/dist/features/{authoring → registry}/index.d.ts +1 -1
- package/dist/features/registry/index.d.ts.map +1 -0
- package/dist/features/{authoring → registry}/index.js +1 -1
- package/dist/features/registry/index.js.map +1 -0
- package/dist/features/registry/themeRecipeMeta.d.ts.map +1 -0
- package/dist/features/registry/themeRecipeMeta.js.map +1 -0
- package/dist/features/scanner/meta.js +1 -1
- package/dist/features/scanner/meta.js.map +1 -1
- package/dist/features/section/screenSectionMeta.js +1 -1
- package/dist/features/section/screenSectionMeta.js.map +1 -1
- package/dist/features/section/sectionHeaderMeta.js.map +1 -1
- package/dist/features/selection/meta.js.map +1 -1
- package/dist/features/skeleton/skeletonMeta.js.map +1 -1
- package/dist/features/surface/surfaceMeta.js +1 -1
- package/dist/features/surface/surfaceMeta.js.map +1 -1
- package/dist/features/tabs/tabPanelMeta.js +1 -1
- package/dist/features/tabs/tabPanelMeta.js.map +1 -1
- package/dist/features/theme/ThemeModeToggle.meta.js.map +1 -1
- package/dist/features/theme/composition/useZoraThemeRecipe.d.ts +3 -1
- package/dist/features/theme/composition/useZoraThemeRecipe.d.ts.map +1 -1
- package/dist/features/theme/composition/useZoraThemeRecipe.js +3 -2
- package/dist/features/theme/composition/useZoraThemeRecipe.js.map +1 -1
- package/dist/features/theme/utils/resolveZoraThemeRecipe.d.ts +3 -1
- package/dist/features/theme/utils/resolveZoraThemeRecipe.d.ts.map +1 -1
- package/dist/features/theme/utils/resolveZoraThemeRecipe.js +6 -6
- package/dist/features/theme/utils/resolveZoraThemeRecipe.js.map +1 -1
- package/dist/features/time-picker/timePickerMeta.js.map +1 -1
- package/dist/features/timeline/meta.js.map +1 -1
- package/dist/features/toast/toastMeta.js.map +1 -1
- package/dist/features/toast/toastProviderMeta.js.map +1 -1
- package/dist/features/tree-view/meta.js.map +1 -1
- package/dist/features/typography/adapters/inbound/Heading.d.ts.map +1 -1
- package/dist/features/typography/adapters/inbound/Heading.js +2 -1
- package/dist/features/typography/adapters/inbound/Heading.js.map +1 -1
- package/dist/features/typography/adapters/inbound/Text.d.ts.map +1 -1
- package/dist/features/typography/adapters/inbound/Text.js +2 -1
- package/dist/features/typography/adapters/inbound/Text.js.map +1 -1
- package/dist/features/typography/headingMeta.js +1 -1
- package/dist/features/typography/headingMeta.js.map +1 -1
- package/dist/features/typography/textMeta.js +1 -1
- package/dist/features/typography/textMeta.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/auth.d.ts +1 -1
- package/dist/types/auth.d.ts.map +1 -1
- package/dist/types/auth.js.map +1 -1
- package/dist/types/avatar-group.d.ts +1 -1
- package/dist/types/avatar-group.d.ts.map +1 -1
- package/dist/types/avatar-group.js.map +1 -1
- package/dist/types/button-group.d.ts +1 -1
- package/dist/types/button-group.d.ts.map +1 -1
- package/dist/types/button-group.js.map +1 -1
- package/dist/types/chat.d.ts +1 -1
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js.map +1 -1
- package/dist/types/gradient.d.ts +1 -1
- package/dist/types/gradient.d.ts.map +1 -1
- package/dist/types/gradient.js.map +1 -1
- package/dist/types/graph-view.d.ts +98 -0
- package/dist/types/graph-view.d.ts.map +1 -0
- package/dist/types/graph-view.js +2 -0
- package/dist/types/graph-view.js.map +1 -0
- package/dist/types/graphViewRuntime.d.ts +1 -1
- package/dist/types/graphViewRuntime.d.ts.map +1 -1
- package/dist/types/graphViewRuntime.js.map +1 -1
- package/dist/types/post-card.d.ts +1 -1
- package/dist/types/post-card.d.ts.map +1 -1
- package/dist/types/post-card.js.map +1 -1
- package/dist/types/radio.d.ts +1 -1
- package/dist/types/radio.d.ts.map +1 -1
- package/dist/types/radio.js.map +1 -1
- package/dist/types/scanner.d.ts +1 -1
- package/dist/types/scanner.d.ts.map +1 -1
- package/dist/types/scanner.js.map +1 -1
- package/dist/types/skeleton.d.ts +1 -1
- package/dist/types/skeleton.d.ts.map +1 -1
- package/dist/types/skeleton.js.map +1 -1
- package/dist/types/theme-mode-toggle.d.ts +1 -1
- package/dist/types/theme-mode-toggle.d.ts.map +1 -1
- package/dist/types/theme-mode-toggle.js.map +1 -1
- package/package.json +12 -12
- package/src/{features/authoring/allowedChildren.ts → constants/authoring.ts} +55 -0
- package/src/features/accordion/accordionItemMeta.ts +2 -2
- package/src/features/accordion/accordionMeta.ts +1 -1
- package/src/features/activity-indicator/activityIndicatorMeta.ts +1 -1
- package/src/features/app-bar/appBarMeta.ts +1 -1
- package/src/features/auth/forgotPasswordFormMeta.ts +1 -1
- package/src/features/auth/oauthProviderButtonMeta.ts +1 -1
- package/src/features/auth/oauthProviderListMeta.ts +1 -1
- package/src/features/auth/otpFormMeta.ts +1 -1
- package/src/features/auth/public.test.ts +21 -18
- package/src/features/auth/signInFormMeta.ts +1 -1
- package/src/features/auth/signUpFormMeta.ts +1 -1
- package/src/features/bottom-sheet/bottomSheetMeta.ts +1 -1
- package/src/features/breadcrumbs/breadcrumbsMeta.ts +1 -1
- package/src/features/button/adapters/inbound/Button.tsx +2 -1
- package/src/features/button/buttonGroupMeta.ts +1 -1
- package/src/features/button/buttonMeta.ts +2 -2
- package/src/features/card/adapters/inbound/Card.tsx +2 -1
- package/src/features/card/adapters/inbound/PostCard.test.tsx +4 -4
- package/src/features/card/adapters/inbound/ProductCard.test.tsx +9 -9
- package/src/features/card/cardMeta.ts +3 -3
- package/src/features/card/mediaCardMeta.ts +1 -1
- package/src/features/card/postCardMeta.ts +2 -2
- package/src/features/card/productCardMeta.ts +1 -1
- package/src/features/chat/adapters/inbound/ChatListItem.test.tsx +4 -4
- package/src/features/chat/chatListItemMeta.ts +1 -1
- package/src/features/chat/messageBubbleMeta.ts +2 -2
- package/src/features/collection-editor/meta.ts +1 -1
- package/src/features/content-rail/contentRailMeta.ts +2 -2
- package/src/features/date-picker/datePickerMeta.ts +1 -1
- package/src/features/date-picker/public.test.ts +4 -6
- package/src/features/dialog/dialogMeta.ts +1 -1
- package/src/features/empty-state/emptyStateMeta.ts +1 -1
- package/src/features/form/checkbox/checkboxMeta.ts +1 -1
- package/src/features/form/field/meta.ts +1 -1
- package/src/features/form/formActionsMeta.ts +1 -1
- package/src/features/form/formErrorMeta.ts +1 -1
- package/src/features/form/formMeta.ts +1 -1
- package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +2 -1
- package/src/features/form/radio/radioMeta.ts +1 -1
- package/src/features/form/select/selectMeta.ts +1 -1
- package/src/features/form/switch/switchMeta.ts +1 -1
- package/src/features/form/text-input/textInputMeta.ts +1 -1
- package/src/features/game/{adapters/inbound → utils}/measureGameEntity.ts +1 -1
- package/src/features/game/utils/useGameEntityMeasurement.ts +1 -1
- package/src/features/gradient/gradientMeta.ts +2 -2
- package/src/features/gradient/public.test.ts +4 -6
- package/src/features/graph-view/adapters/inbound/web-artifact/GraphNodeOverlay.tsx +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/GraphView.tsx +6 -116
- package/src/features/graph-view/adapters/inbound/web-artifact/bindGraphEvents.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphController.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.test.ts +2 -2
- package/src/features/graph-view/adapters/inbound/web-artifact/createGraphRuntime.ts +8 -8
- package/src/features/graph-view/adapters/inbound/web-artifact/createRenderableGraphElements.test.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/createRenderableGraphElements.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/fitGraphViewport.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/getGraphTopologyKey.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/readGraphRenderedNodes.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/runGraphLayout.ts +1 -1
- package/src/features/graph-view/adapters/inbound/web-artifact/syncGraphElements.ts +1 -1
- package/src/features/graph-view/public.ts +18 -18
- package/src/features/hero/heroMeta.ts +1 -1
- package/src/features/icon/iconMeta.ts +1 -1
- package/src/features/icon/utils/meta.test.ts +8 -17
- package/src/features/image/imageMeta.ts +1 -1
- package/src/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.ts +1 -1
- package/src/features/layout/appShellMeta.ts +1 -1
- package/src/features/layout/gridMeta.ts +2 -2
- package/src/features/layout/screenMeta.ts +2 -2
- package/src/features/layout/scrollViewMeta.ts +1 -1
- package/src/features/layout/viewMeta.ts +2 -2
- package/src/features/list/flatListMeta.ts +1 -1
- package/src/features/list/meta.ts +1 -1
- package/src/features/missing-element/MissingElement.test.ts +7 -6
- package/src/features/missing-element/missingElementMeta.ts +1 -1
- package/src/features/palette-item/paletteItemMeta.ts +1 -1
- package/src/features/popover-menu/popoverMenuMeta.ts +1 -1
- package/src/features/progress/progressMeta.ts +1 -1
- package/src/features/reader/meta.ts +2 -2
- package/src/features/{authoring → registry}/componentMeta.ts +1 -1
- package/src/features/{authoring/utils → registry}/createManifestBindings.ts +1 -1
- package/src/features/{authoring → registry}/featureManifest.test.ts +1 -1
- package/src/features/{authoring/utils → registry}/finalizeFeatureMetadata.ts +2 -2
- package/src/features/{authoring → registry}/index.ts +1 -1
- package/src/features/scanner/meta.ts +2 -2
- package/src/features/section/screenSectionMeta.ts +2 -2
- package/src/features/section/sectionHeaderMeta.ts +1 -1
- package/src/features/selection/meta.ts +1 -1
- package/src/features/skeleton/public.test.ts +6 -6
- package/src/features/skeleton/skeletonMeta.ts +1 -1
- package/src/features/surface/surfaceMeta.ts +1 -1
- package/src/features/tabs/tabPanelMeta.ts +1 -1
- package/src/features/theme/ThemeModeToggle.meta.ts +1 -1
- package/src/features/theme/composition/useZoraThemeRecipe.ts +4 -2
- package/src/features/theme/utils/resolveZoraThemeRecipe.test.ts +45 -8
- package/src/features/theme/utils/resolveZoraThemeRecipe.ts +11 -8
- package/src/features/time-picker/public.test.ts +4 -6
- package/src/features/time-picker/timePickerMeta.ts +1 -1
- package/src/features/timeline/meta.ts +1 -1
- package/src/features/toast/public.test.ts +4 -3
- package/src/features/toast/toastMeta.ts +1 -1
- package/src/features/toast/toastProviderMeta.ts +1 -1
- package/src/features/tree-view/meta.ts +1 -1
- package/src/features/typography/adapters/inbound/Heading.tsx +2 -1
- package/src/features/typography/adapters/inbound/Text.tsx +2 -1
- package/src/features/typography/headingMeta.ts +2 -2
- package/src/features/typography/textMeta.ts +2 -2
- package/src/features/uploader/public.test.ts +1 -1
- package/src/index.ts +33 -33
- package/src/structureOwnership.test.ts +3 -3
- package/src/types/auth.ts +1 -1
- package/src/types/avatar-group.ts +1 -1
- package/src/types/button-group.ts +1 -1
- package/src/types/chat.ts +1 -1
- package/src/types/gradient.ts +1 -1
- package/src/types/graph-view.ts +117 -0
- package/src/types/graphViewRuntime.ts +1 -1
- package/src/types/post-card.ts +1 -1
- package/src/types/radio.ts +1 -1
- package/src/types/scanner.ts +1 -1
- package/src/types/skeleton.ts +1 -1
- package/src/types/theme-mode-toggle.ts +1 -1
- package/web-dist/chunks/{Accordion-jd33dw92.js → Accordion-07rdw2vh.js} +1 -1
- package/web-dist/chunks/{Accordion-sn80af3k.js → Accordion-45ej9brb.js} +1 -1
- package/web-dist/chunks/{Accordion-qyckg9d2.js → Accordion-555gnfmw.js} +3 -3
- package/web-dist/chunks/{Accordion-ypdtx57y.js → Accordion-73m7z73v.js} +3 -3
- package/web-dist/chunks/{Accordion-s334j5tf.js → Accordion-8af800ts.js} +2 -2
- package/web-dist/chunks/{Accordion-7ycn5332.js → Accordion-9rnepkvk.js} +1 -1
- package/web-dist/chunks/{Accordion-1vbm971q.js → Accordion-avmgvcef.js} +1 -1
- package/web-dist/chunks/{Accordion-a03xpbc0.js → Accordion-b3qy1trj.js} +39 -7
- package/web-dist/chunks/Accordion-e1nn8m46.js +82 -0
- package/web-dist/chunks/{Accordion-eps4ej1m.js → Accordion-emczc5rg.js} +33 -5
- package/web-dist/chunks/{Accordion-wzybs1e3.js → Accordion-jhwsvx3g.js} +1 -1
- package/web-dist/chunks/{Accordion-qy22k9t8.js → Accordion-jj3bg8c1.js} +1 -1
- package/web-dist/chunks/{Accordion-nn80tt99.js → Accordion-mpnb4qqw.js} +2 -2
- package/web-dist/chunks/{Accordion-z5rdysmt.js → Accordion-nc5gnvnb.js} +33 -4
- package/web-dist/chunks/{Accordion-qkrwkab6.js → Accordion-nn38n7q4.js} +1 -1
- package/web-dist/chunks/{Accordion-zh8esf04.js → Accordion-pnvt10cv.js} +2 -2
- package/web-dist/chunks/{Accordion-4prv90j4.js → Accordion-qvt6qdqm.js} +1 -1
- package/web-dist/chunks/{Accordion-hk6zs4dc.js → Accordion-tj61sa5s.js} +2 -2
- package/web-dist/chunks/{Accordion-5r2dxq03.js → Accordion-v1dtv6v0.js} +1 -1
- package/web-dist/chunks/{Accordion-5t5sw5cp.js → Accordion-vmz8y01b.js} +4 -4
- package/web-dist/chunks/{Accordion-pssgp0pq.js → Accordion-ycmg06sq.js} +71 -4
- package/web-dist/chunks/{Accordion-h62mzp3n.js → Accordion-yz7b7njb.js} +2 -2
- package/web-dist/chunks/{Accordion-2ga47602.js → Accordion-zf3kzvef.js} +1 -1
- package/web-dist/components/accordion/Accordion.js +3 -3
- package/web-dist/components/accordion-item/AccordionItem.js +3 -3
- package/web-dist/components/app-bar/AppBar.js +4 -4
- package/web-dist/components/avatar/Avatar.js +3 -3
- package/web-dist/components/avatar-group/AvatarGroup.js +3 -3
- package/web-dist/components/barcode-scanner-view/BarcodeScannerView.js +6 -6
- package/web-dist/components/breadcrumbs/Breadcrumbs.js +3 -3
- package/web-dist/components/button/Button.js +2 -2
- package/web-dist/components/button-group/ButtonGroup.js +2 -2
- package/web-dist/components/camera-permission-view/CameraPermissionView.js +6 -6
- package/web-dist/components/card/Card.js +5 -5
- package/web-dist/components/chat-list-item/ChatListItem.js +4 -4
- package/web-dist/components/checkbox/Checkbox.js +3 -3
- package/web-dist/components/checkbox-group/CheckboxGroup.js +3 -3
- package/web-dist/components/chip/Chip.js +3 -3
- package/web-dist/components/chip-group/ChipGroup.js +3 -3
- package/web-dist/components/collection-editor/CollectionEditor.js +5 -5
- package/web-dist/components/content-rail/ContentRail.js +3 -3
- package/web-dist/components/data-table/DataTable.js +9 -9
- package/web-dist/components/date-picker/DatePicker.js +3 -3
- package/web-dist/components/dialog/Dialog.js +3 -3
- package/web-dist/components/empty-state/EmptyState.js +6 -6
- package/web-dist/components/field/Field.js +3 -3
- package/web-dist/components/flat-list/FlatList.js +4 -4
- package/web-dist/components/forgot-password-form/ForgotPasswordForm.js +7 -7
- package/web-dist/components/form/Form.js +5 -5
- package/web-dist/components/form-actions/FormActions.js +5 -5
- package/web-dist/components/form-error/FormError.js +5 -5
- package/web-dist/components/game/Game.js +1 -1
- package/web-dist/components/game-entity/GameEntity.js +1 -1
- package/web-dist/components/game-field/GameField.js +1 -1
- package/web-dist/components/game-input-zone/GameInputZone.js +1 -1
- package/web-dist/components/game-measurement-probe/GameMeasurementProbe.js +1 -1
- package/web-dist/components/game-overlay/GameOverlay.js +1 -1
- package/web-dist/components/graph-view/GraphView.d.ts +1 -96
- package/web-dist/components/heading/Heading.js +2 -2
- package/web-dist/components/hero/Hero.js +5 -5
- package/web-dist/components/icon-button/IconButton.js +2 -2
- package/web-dist/components/list/List.js +4 -4
- package/web-dist/components/list-item/ListItem.js +4 -4
- package/web-dist/components/list-section/ListSection.js +4 -4
- package/web-dist/components/media-card/MediaCard.js +5 -5
- package/web-dist/components/message-bubble/MessageBubble.js +4 -4
- package/web-dist/components/metric-card/MetricCard.js +5 -5
- package/web-dist/components/missing-element/MissingElement.js +2 -2
- package/web-dist/components/o-auth-provider-button/OAuthProviderButton.js +7 -7
- package/web-dist/components/o-auth-provider-list/OAuthProviderList.js +7 -7
- package/web-dist/components/otp-form/OtpForm.js +7 -7
- package/web-dist/components/pagination/Pagination.js +3 -3
- package/web-dist/components/palette-item/PaletteItem.js +5 -5
- package/web-dist/components/post-card/PostCard.js +5 -5
- package/web-dist/components/product-card/ProductCard.js +5 -5
- package/web-dist/components/progress/Progress.js +3 -3
- package/web-dist/components/progress-ring/ProgressRing.js +3 -3
- package/web-dist/components/radio/Radio.js +3 -3
- package/web-dist/components/radio-group/RadioGroup.js +3 -3
- package/web-dist/components/reader-surface/ReaderSurface.js +5 -5
- package/web-dist/components/scan-overlay/ScanOverlay.js +6 -6
- package/web-dist/components/screen-section/ScreenSection.js +3 -3
- package/web-dist/components/search-input/SearchInput.js +3 -3
- package/web-dist/components/section-header/SectionHeader.js +3 -3
- package/web-dist/components/section-list/SectionList.js +4 -4
- package/web-dist/components/select/Select.js +2 -2
- package/web-dist/components/sign-in-form/SignInForm.js +7 -7
- package/web-dist/components/sign-up-form/SignUpForm.js +7 -7
- package/web-dist/components/skeleton/Skeleton.js +8 -8
- package/web-dist/components/skeleton-card/SkeletonCard.js +8 -8
- package/web-dist/components/skeleton-list/SkeletonList.js +8 -8
- package/web-dist/components/skeleton-text/SkeletonText.js +8 -8
- package/web-dist/components/text/Text.js +2 -2
- package/web-dist/components/text-input/TextInput.js +3 -3
- package/web-dist/components/time-picker/TimePicker.js +3 -3
- package/web-dist/components/timeline/Timeline.js +2 -2
- package/web-dist/components/toolbar/Toolbar.js +5 -5
- package/web-dist/components/tree-item/TreeItem.js +5 -5
- package/web-dist/components/uploader/Uploader.js +7 -7
- package/web-dist/manifest.json +354 -354
- package/dist/features/authoring/allowedChildren.d.ts.map +0 -1
- package/dist/features/authoring/allowedChildren.js.map +0 -1
- package/dist/features/authoring/bindableComponentMeta.js.map +0 -1
- package/dist/features/authoring/componentMeta.d.ts.map +0 -1
- package/dist/features/authoring/componentMeta.js.map +0 -1
- package/dist/features/authoring/constants.d.ts +0 -40
- package/dist/features/authoring/constants.d.ts.map +0 -1
- package/dist/features/authoring/constants.js +0 -53
- package/dist/features/authoring/constants.js.map +0 -1
- package/dist/features/authoring/index.d.ts.map +0 -1
- package/dist/features/authoring/index.js.map +0 -1
- package/dist/features/authoring/themeRecipeMeta.d.ts.map +0 -1
- package/dist/features/authoring/themeRecipeMeta.js.map +0 -1
- package/dist/features/authoring/utils/createManifestBindings.d.ts.map +0 -1
- package/dist/features/authoring/utils/createManifestBindings.js.map +0 -1
- package/dist/features/authoring/utils/finalizeFeatureMetadata.d.ts.map +0 -1
- package/dist/features/authoring/utils/finalizeFeatureMetadata.js.map +0 -1
- package/dist/features/game/adapters/inbound/measureGameEntity.d.ts.map +0 -1
- package/dist/features/game/adapters/inbound/measureGameEntity.js.map +0 -1
- package/src/features/authoring/constants.ts +0 -56
- package/web-dist/chunks/Accordion-wvphg9x4.js +0 -246
- /package/dist/features/game/{adapters/inbound → utils}/measureGameEntity.js +0 -0
- /package/dist/features/{authoring → registry}/bindableComponentMeta.d.ts +0 -0
- /package/dist/features/{authoring → registry}/bindableComponentMeta.js +0 -0
- /package/dist/features/{authoring → registry}/componentMeta.d.ts +0 -0
- /package/dist/features/{authoring/utils → registry}/createManifestBindings.js +0 -0
- /package/dist/features/{authoring → registry}/themeRecipeMeta.d.ts +0 -0
- /package/dist/features/{authoring → registry}/themeRecipeMeta.js +0 -0
- /package/src/features/{authoring → registry}/authoringMeta.test.ts +0 -0
- /package/src/features/{authoring → registry}/bindableComponentMeta.test.ts +0 -0
- /package/src/features/{authoring → registry}/bindableComponentMeta.ts +0 -0
- /package/src/features/{authoring → registry}/componentMeta.test.ts +0 -0
- /package/src/features/{authoring → registry}/radioGroupReachability.test.ts +0 -0
- /package/src/features/{authoring → registry}/themeRecipeMeta.test.ts +0 -0
- /package/src/features/{authoring → registry}/themeRecipeMeta.ts +0 -0
|
@@ -21,15 +21,16 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
View2
|
|
23
23
|
} from "./Accordion-j2aw3d5b.js";
|
|
24
|
-
import {
|
|
25
|
-
useZoraThemeRecipe
|
|
26
|
-
} from "./Accordion-wvphg9x4.js";
|
|
27
24
|
import {
|
|
28
25
|
Text2
|
|
29
|
-
} from "./Accordion-
|
|
26
|
+
} from "./Accordion-ycmg06sq.js";
|
|
30
27
|
import {
|
|
31
28
|
Icon2
|
|
32
29
|
} from "./Accordion-1cgz6f8t.js";
|
|
30
|
+
import {
|
|
31
|
+
useZoraThemeRecipe,
|
|
32
|
+
ZORA_COLORS
|
|
33
|
+
} from "./Accordion-e1nn8m46.js";
|
|
33
34
|
import {
|
|
34
35
|
resolveFieldState,
|
|
35
36
|
resolveIndicatorSize,
|
|
@@ -195,6 +196,33 @@ var Radio2 = withZoraThemeScope(RadioInner);
|
|
|
195
196
|
var import_react_native2 = __toESM(require_cjs(), 1);
|
|
196
197
|
import React2 from "react";
|
|
197
198
|
|
|
199
|
+
// src/features/form/radio/themeRecipeMeta.ts
|
|
200
|
+
var radioGroupThemeRecipeMeta = {
|
|
201
|
+
name: "RadioGroup",
|
|
202
|
+
kind: "component",
|
|
203
|
+
description: "Maps shared selection-control presentation choices into RadioGroup defaults.",
|
|
204
|
+
fields: {
|
|
205
|
+
gap: {
|
|
206
|
+
type: "choice",
|
|
207
|
+
label: "Gap",
|
|
208
|
+
options: ["xs", "s", "m", "l"],
|
|
209
|
+
default: "s"
|
|
210
|
+
},
|
|
211
|
+
color: {
|
|
212
|
+
type: "choice",
|
|
213
|
+
label: "Color",
|
|
214
|
+
options: ZORA_COLORS,
|
|
215
|
+
default: "primary"
|
|
216
|
+
},
|
|
217
|
+
size: {
|
|
218
|
+
type: "choice",
|
|
219
|
+
label: "Size",
|
|
220
|
+
options: ["s", "m", "l"],
|
|
221
|
+
default: "m"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
|
|
198
226
|
// src/features/form/radio/utils/resolveRadioGroupThemeRecipe.ts
|
|
199
227
|
function resolveRadioGroupThemeRecipe(input) {
|
|
200
228
|
return {
|
|
@@ -451,7 +479,7 @@ function RadioGroupInner({
|
|
|
451
479
|
props.onValueChange?.(next);
|
|
452
480
|
};
|
|
453
481
|
const selectedProps = { ...props, value: props.value ?? localValue, onValueChange };
|
|
454
|
-
const themeFields = useZoraThemeRecipe(
|
|
482
|
+
const themeFields = useZoraThemeRecipe(radioGroupThemeRecipeMeta);
|
|
455
483
|
const recipe = resolveRadioGroupThemeRecipe({ ...props, themeFields });
|
|
456
484
|
if (props.presentation !== "card")
|
|
457
485
|
return /* @__PURE__ */ jsx4(RadioGroupInline, {
|
|
@@ -1179,7 +1179,7 @@ function createGameEntityAnimatedStyle(values, input) {
|
|
|
1179
1179
|
// src/features/game/utils/useGameEntityMeasurement.ts
|
|
1180
1180
|
import React9 from "react";
|
|
1181
1181
|
|
|
1182
|
-
// src/features/game/
|
|
1182
|
+
// src/features/game/utils/measureGameEntity.ts
|
|
1183
1183
|
function measureGameEntity(element) {
|
|
1184
1184
|
if (element === null)
|
|
1185
1185
|
return Promise.resolve(undefined);
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./Accordion-j2aw3d5b.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-ycmg06sq.js";
|
|
14
14
|
import {
|
|
15
15
|
Avatar2
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-jj3bg8c1.js";
|
|
17
17
|
import {
|
|
18
18
|
Badge2
|
|
19
19
|
} from "./Accordion-s1jhv8gk.js";
|
|
@@ -18,12 +18,13 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
withZoraThemeScope
|
|
20
20
|
} from "./Accordion-k3bc4kad.js";
|
|
21
|
-
import {
|
|
22
|
-
useZoraThemeRecipe
|
|
23
|
-
} from "./Accordion-wvphg9x4.js";
|
|
24
21
|
import {
|
|
25
22
|
View2
|
|
26
23
|
} from "./Accordion-j2aw3d5b.js";
|
|
24
|
+
import {
|
|
25
|
+
useZoraThemeRecipe,
|
|
26
|
+
ZORA_COLORS
|
|
27
|
+
} from "./Accordion-e1nn8m46.js";
|
|
27
28
|
import {
|
|
28
29
|
resolveControlSize,
|
|
29
30
|
resolveIconSize2,
|
|
@@ -185,6 +186,34 @@ function readSize(value) {
|
|
|
185
186
|
return;
|
|
186
187
|
}
|
|
187
188
|
|
|
189
|
+
// src/features/button/utils/themeRecipeMeta.ts
|
|
190
|
+
var buttonThemeRecipeMeta = {
|
|
191
|
+
name: "Button",
|
|
192
|
+
kind: "component",
|
|
193
|
+
description: "Maps shared semantic choices into Button presentation defaults.",
|
|
194
|
+
fields: {
|
|
195
|
+
color: {
|
|
196
|
+
type: "choice",
|
|
197
|
+
label: "Color",
|
|
198
|
+
options: ZORA_COLORS,
|
|
199
|
+
default: "primary"
|
|
200
|
+
},
|
|
201
|
+
variant: {
|
|
202
|
+
type: "choice",
|
|
203
|
+
label: "Variant",
|
|
204
|
+
options: ["solid", "outline", "ghost", "soft"],
|
|
205
|
+
default: "solid"
|
|
206
|
+
},
|
|
207
|
+
size: {
|
|
208
|
+
type: "choice",
|
|
209
|
+
label: "Size",
|
|
210
|
+
description: "A Button-specific semantic scale, not a universal pixel size.",
|
|
211
|
+
options: ["s", "m", "l"],
|
|
212
|
+
default: "l"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
|
|
188
217
|
// src/features/button/adapters/inbound/Button.tsx
|
|
189
218
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
190
219
|
var Button2 = withZoraThemeScope(ButtonInner);
|
|
@@ -197,7 +226,7 @@ function ButtonInner({
|
|
|
197
226
|
interactionPolicy,
|
|
198
227
|
...props
|
|
199
228
|
}) {
|
|
200
|
-
const themeFields = useZoraThemeRecipe(
|
|
229
|
+
const themeFields = useZoraThemeRecipe(buttonThemeRecipeMeta);
|
|
201
230
|
const recipe = resolveButtonThemeRecipe({ color, variant, size, themeFields });
|
|
202
231
|
return /* @__PURE__ */ jsx2(Button, {
|
|
203
232
|
...props,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./Accordion-k3bc4kad.js";
|
|
9
9
|
import {
|
|
10
10
|
Text2
|
|
11
|
-
} from "./Accordion-
|
|
11
|
+
} from "./Accordion-ycmg06sq.js";
|
|
12
12
|
import {
|
|
13
13
|
View3
|
|
14
14
|
} from "./Accordion-r1epjp5y.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./Accordion-bsy1jrak.js";
|
|
25
25
|
import {
|
|
26
26
|
SectionHeader2
|
|
27
|
-
} from "./Accordion-
|
|
27
|
+
} from "./Accordion-45ej9brb.js";
|
|
28
28
|
import {
|
|
29
29
|
useZoraTheme2
|
|
30
30
|
} from "./Accordion-7zfskq1s.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Button2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-nc5gnvnb.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-k3bc4kad.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./Accordion-j2aw3d5b.js";
|
|
11
11
|
import {
|
|
12
12
|
Card2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-b3qy1trj.js";
|
|
14
14
|
|
|
15
15
|
// src/features/empty-state/adapters/inbound/EmptyState.tsx
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Button2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-nc5gnvnb.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-k3bc4kad.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
FormError2,
|
|
14
14
|
hasRequiredRule,
|
|
15
15
|
useFormController
|
|
16
|
-
} from "./Accordion-
|
|
16
|
+
} from "./Accordion-yz7b7njb.js";
|
|
17
17
|
import {
|
|
18
18
|
Field2
|
|
19
|
-
} from "./Accordion-
|
|
19
|
+
} from "./Accordion-v1dtv6v0.js";
|
|
20
20
|
import {
|
|
21
21
|
TextInput2
|
|
22
|
-
} from "./Accordion-
|
|
22
|
+
} from "./Accordion-07rdw2vh.js";
|
|
23
23
|
|
|
24
24
|
// src/features/auth/adapters/inbound/ForgotPasswordForm.tsx
|
|
25
25
|
import React from "react";
|
|
@@ -10,8 +10,10 @@ import {
|
|
|
10
10
|
withZoraThemeScope
|
|
11
11
|
} from "./Accordion-k3bc4kad.js";
|
|
12
12
|
import {
|
|
13
|
-
useZoraThemeRecipe
|
|
14
|
-
|
|
13
|
+
useZoraThemeRecipe,
|
|
14
|
+
ZORA_COLORS,
|
|
15
|
+
ZORA_EMPHASES
|
|
16
|
+
} from "./Accordion-e1nn8m46.js";
|
|
15
17
|
import {
|
|
16
18
|
useZoraTheme2
|
|
17
19
|
} from "./Accordion-7zfskq1s.js";
|
|
@@ -22,6 +24,38 @@ import {
|
|
|
22
24
|
// src/features/typography/adapters/inbound/Heading.tsx
|
|
23
25
|
var import_react_native = __toESM(require_cjs(), 1);
|
|
24
26
|
|
|
27
|
+
// src/features/typography/utils/headingThemeRecipeMeta.ts
|
|
28
|
+
var headingThemeRecipeMeta = {
|
|
29
|
+
name: "Heading",
|
|
30
|
+
kind: "component",
|
|
31
|
+
description: "Maps Heading presentation defaults without replacing semantic heading levels.",
|
|
32
|
+
fields: {
|
|
33
|
+
size: {
|
|
34
|
+
type: "choice",
|
|
35
|
+
label: "Size",
|
|
36
|
+
options: ["display", "h1", "h2", "h3", "h4", "h5", "h6"]
|
|
37
|
+
},
|
|
38
|
+
color: { type: "choice", label: "Color", options: ZORA_COLORS },
|
|
39
|
+
emphasis: {
|
|
40
|
+
type: "choice",
|
|
41
|
+
label: "Emphasis",
|
|
42
|
+
options: ZORA_EMPHASES,
|
|
43
|
+
default: "default"
|
|
44
|
+
},
|
|
45
|
+
align: {
|
|
46
|
+
type: "choice",
|
|
47
|
+
label: "Align",
|
|
48
|
+
options: ["auto", "left", "right", "center", "justify"]
|
|
49
|
+
},
|
|
50
|
+
weight: {
|
|
51
|
+
type: "choice",
|
|
52
|
+
label: "Weight",
|
|
53
|
+
options: ["regular", "medium", "semiBold", "bold"]
|
|
54
|
+
},
|
|
55
|
+
italic: { type: "boolean", label: "Italic", default: false }
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
|
|
25
59
|
// src/features/typography/utils/resolveHeadingSizeFromLevel.ts
|
|
26
60
|
function resolveHeadingSizeFromLevel(level) {
|
|
27
61
|
switch (level) {
|
|
@@ -263,7 +297,7 @@ function HeadingInner({
|
|
|
263
297
|
}) {
|
|
264
298
|
const { theme } = useZoraTheme2();
|
|
265
299
|
const { breakpoint } = useResponsiveRuntime();
|
|
266
|
-
const themeRecipe = resolveHeadingThemeRecipe(useZoraThemeRecipe(
|
|
300
|
+
const themeRecipe = resolveHeadingThemeRecipe(useZoraThemeRecipe(headingThemeRecipeMeta));
|
|
267
301
|
const content = resolveHeadingContent({ children, text, i18nKey });
|
|
268
302
|
const resolvedSize = resolveResponsive(size ?? themeRecipe.size, breakpoint) ?? resolveHeadingSizeFromLevel(level);
|
|
269
303
|
const resolvedColor = resolveResponsive(color ?? themeRecipe.color, breakpoint);
|
|
@@ -508,6 +542,39 @@ function readWeight2(value) {
|
|
|
508
542
|
return;
|
|
509
543
|
}
|
|
510
544
|
|
|
545
|
+
// src/features/typography/utils/textThemeRecipeMeta.ts
|
|
546
|
+
var textThemeRecipeMeta = {
|
|
547
|
+
name: "Text",
|
|
548
|
+
kind: "component",
|
|
549
|
+
description: "Maps semantic Text presentation defaults into runtime props.",
|
|
550
|
+
fields: {
|
|
551
|
+
variant: {
|
|
552
|
+
type: "choice",
|
|
553
|
+
label: "Typography variant",
|
|
554
|
+
options: ["body", "lead", "bodySmall", "caption", "label", "eyebrow", "code"],
|
|
555
|
+
default: "body"
|
|
556
|
+
},
|
|
557
|
+
color: { type: "choice", label: "Color", options: ZORA_COLORS },
|
|
558
|
+
emphasis: {
|
|
559
|
+
type: "choice",
|
|
560
|
+
label: "Emphasis",
|
|
561
|
+
options: ZORA_EMPHASES,
|
|
562
|
+
default: "default"
|
|
563
|
+
},
|
|
564
|
+
align: {
|
|
565
|
+
type: "choice",
|
|
566
|
+
label: "Align",
|
|
567
|
+
options: ["auto", "left", "right", "center", "justify"]
|
|
568
|
+
},
|
|
569
|
+
weight: {
|
|
570
|
+
type: "choice",
|
|
571
|
+
label: "Weight",
|
|
572
|
+
options: ["regular", "medium", "semiBold", "bold"]
|
|
573
|
+
},
|
|
574
|
+
italic: { type: "boolean", label: "Italic", default: false }
|
|
575
|
+
}
|
|
576
|
+
};
|
|
577
|
+
|
|
511
578
|
// src/features/typography/adapters/inbound/Text.tsx
|
|
512
579
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
513
580
|
var Text2 = withZoraThemeScope(TextInner);
|
|
@@ -560,7 +627,7 @@ function TextInner({
|
|
|
560
627
|
}) {
|
|
561
628
|
const { theme } = useZoraTheme2();
|
|
562
629
|
const { breakpoint } = useResponsiveRuntime();
|
|
563
|
-
const themeRecipe = resolveTextThemeRecipe(useZoraThemeRecipe(
|
|
630
|
+
const themeRecipe = resolveTextThemeRecipe(useZoraThemeRecipe(textThemeRecipeMeta));
|
|
564
631
|
const content = resolveTextContent({ children, text, i18nKey });
|
|
565
632
|
const resolvedVariant = resolveResponsive(variant ?? themeRecipe.variant, breakpoint) ?? "body";
|
|
566
633
|
const resolvedStyle = resolveTextStyle({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Button2
|
|
4
|
-
} from "./Accordion-
|
|
4
|
+
} from "./Accordion-nc5gnvnb.js";
|
|
5
5
|
import {
|
|
6
6
|
withZoraThemeScope
|
|
7
7
|
} from "./Accordion-k3bc4kad.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./Accordion-j2aw3d5b.js";
|
|
11
11
|
import {
|
|
12
12
|
Text2
|
|
13
|
-
} from "./Accordion-
|
|
13
|
+
} from "./Accordion-ycmg06sq.js";
|
|
14
14
|
import {
|
|
15
15
|
useZoraTheme2
|
|
16
16
|
} from "./Accordion-7zfskq1s.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Accordion2,
|
|
4
4
|
AccordionItem2
|
|
5
|
-
} from "../../chunks/Accordion-
|
|
5
|
+
} from "../../chunks/Accordion-qvt6qdqm.js";
|
|
6
6
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
7
7
|
import"../../chunks/Accordion-7hn324r1.js";
|
|
8
8
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
@@ -11,8 +11,8 @@ import"../../chunks/Accordion-1cgz6f8t.js";
|
|
|
11
11
|
import"../../chunks/Accordion-x5ny2aax.js";
|
|
12
12
|
import"../../chunks/Accordion-r1epjp5y.js";
|
|
13
13
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
14
|
-
import"../../chunks/Accordion-
|
|
15
|
-
import"../../chunks/Accordion-
|
|
14
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
15
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
16
16
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
17
17
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
18
18
|
import"../../chunks/Accordion-fre84yaq.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Accordion2,
|
|
4
4
|
AccordionItem2
|
|
5
|
-
} from "../../chunks/Accordion-
|
|
5
|
+
} from "../../chunks/Accordion-qvt6qdqm.js";
|
|
6
6
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
7
7
|
import"../../chunks/Accordion-7hn324r1.js";
|
|
8
8
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
@@ -11,8 +11,8 @@ import"../../chunks/Accordion-1cgz6f8t.js";
|
|
|
11
11
|
import"../../chunks/Accordion-x5ny2aax.js";
|
|
12
12
|
import"../../chunks/Accordion-r1epjp5y.js";
|
|
13
13
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
14
|
-
import"../../chunks/Accordion-
|
|
15
|
-
import"../../chunks/Accordion-
|
|
14
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
15
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
16
16
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
17
17
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
18
18
|
import"../../chunks/Accordion-fre84yaq.js";
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
AppBar2
|
|
4
|
-
} from "../../chunks/Accordion-
|
|
4
|
+
} from "../../chunks/Accordion-8af800ts.js";
|
|
5
5
|
import"../../chunks/Accordion-x5ny2aax.js";
|
|
6
6
|
import"../../chunks/Accordion-r1epjp5y.js";
|
|
7
7
|
import"../../chunks/Accordion-7hn324r1.js";
|
|
8
8
|
import"../../chunks/Accordion-vq462y0x.js";
|
|
9
9
|
import"../../chunks/Accordion-cdppbyad.js";
|
|
10
10
|
import"../../chunks/Accordion-bsy1jrak.js";
|
|
11
|
-
import"../../chunks/Accordion-
|
|
11
|
+
import"../../chunks/Accordion-nc5gnvnb.js";
|
|
12
12
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
13
13
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
14
|
-
import"../../chunks/Accordion-wvphg9x4.js";
|
|
15
14
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
16
15
|
import"../../chunks/Accordion-6zb9d92y.js";
|
|
17
16
|
import"../../chunks/Accordion-w6n8e1ff.js";
|
|
@@ -21,9 +20,10 @@ import"../../chunks/Accordion-ew71mmkm.js";
|
|
|
21
20
|
import"../../chunks/Accordion-13b6y37e.js";
|
|
22
21
|
import"../../chunks/Accordion-mvfz28m8.js";
|
|
23
22
|
import"../../chunks/Accordion-1cgz6f8t.js";
|
|
24
|
-
import"../../chunks/Accordion-
|
|
23
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
25
24
|
import"../../chunks/Accordion-eqvdv7tt.js";
|
|
26
25
|
import"../../chunks/Accordion-61e19g3e.js";
|
|
26
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
27
27
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
28
28
|
import"../../chunks/Accordion-ys214jt5.js";
|
|
29
29
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
@@ -7,12 +7,12 @@ import"../../chunks/Accordion-1cgz6f8t.js";
|
|
|
7
7
|
import"../../chunks/Accordion-x5ny2aax.js";
|
|
8
8
|
import"../../chunks/Accordion-r1epjp5y.js";
|
|
9
9
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
10
|
-
import"../../chunks/Accordion-
|
|
11
|
-
import"../../chunks/Accordion-pssgp0pq.js";
|
|
10
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
12
11
|
import {
|
|
13
12
|
Avatar2,
|
|
14
13
|
AvatarGroup2
|
|
15
|
-
} from "../../chunks/Accordion-
|
|
14
|
+
} from "../../chunks/Accordion-jj3bg8c1.js";
|
|
15
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
16
16
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
17
17
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
18
18
|
import"../../chunks/Accordion-fre84yaq.js";
|
|
@@ -7,12 +7,12 @@ import"../../chunks/Accordion-1cgz6f8t.js";
|
|
|
7
7
|
import"../../chunks/Accordion-x5ny2aax.js";
|
|
8
8
|
import"../../chunks/Accordion-r1epjp5y.js";
|
|
9
9
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
10
|
-
import"../../chunks/Accordion-
|
|
11
|
-
import"../../chunks/Accordion-pssgp0pq.js";
|
|
10
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
12
11
|
import {
|
|
13
12
|
Avatar2,
|
|
14
13
|
AvatarGroup2
|
|
15
|
-
} from "../../chunks/Accordion-
|
|
14
|
+
} from "../../chunks/Accordion-jj3bg8c1.js";
|
|
15
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
16
16
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
17
17
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
18
18
|
import"../../chunks/Accordion-fre84yaq.js";
|
|
@@ -4,26 +4,26 @@ import"../../chunks/Accordion-7hn324r1.js";
|
|
|
4
4
|
import"../../chunks/Accordion-cdppbyad.js";
|
|
5
5
|
import"../../chunks/Accordion-r1epjp5y.js";
|
|
6
6
|
import"../../chunks/Accordion-13b6y37e.js";
|
|
7
|
-
import"../../chunks/Accordion-
|
|
7
|
+
import"../../chunks/Accordion-b3qy1trj.js";
|
|
8
8
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
9
9
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
10
10
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
11
|
-
import"../../chunks/Accordion-
|
|
12
|
-
import"../../chunks/Accordion-pssgp0pq.js";
|
|
11
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
13
12
|
import"../../chunks/Accordion-bsy1jrak.js";
|
|
14
13
|
import"../../chunks/Accordion-s1jhv8gk.js";
|
|
15
14
|
import"../../chunks/Accordion-vq462y0x.js";
|
|
16
15
|
import"../../chunks/Accordion-1cgz6f8t.js";
|
|
17
|
-
import"../../chunks/Accordion-
|
|
18
|
-
import"../../chunks/Accordion-
|
|
16
|
+
import"../../chunks/Accordion-jj3bg8c1.js";
|
|
17
|
+
import"../../chunks/Accordion-nc5gnvnb.js";
|
|
19
18
|
import"../../chunks/Accordion-cecn51ry.js";
|
|
20
19
|
import {
|
|
21
20
|
CameraPermissionView2,
|
|
22
21
|
ScanOverlay2,
|
|
23
22
|
BarcodeScannerView2
|
|
24
|
-
} from "../../chunks/Accordion-
|
|
23
|
+
} from "../../chunks/Accordion-555gnfmw.js";
|
|
25
24
|
import"../../chunks/Accordion-eqvdv7tt.js";
|
|
26
25
|
import"../../chunks/Accordion-61e19g3e.js";
|
|
26
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
27
27
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
28
28
|
import"../../chunks/Accordion-ys214jt5.js";
|
|
29
29
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
@@ -7,12 +7,11 @@ import"../../chunks/Accordion-cdppbyad.js";
|
|
|
7
7
|
import"../../chunks/Accordion-bsy1jrak.js";
|
|
8
8
|
import {
|
|
9
9
|
Button2
|
|
10
|
-
} from "../../chunks/Accordion-
|
|
10
|
+
} from "../../chunks/Accordion-nc5gnvnb.js";
|
|
11
11
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
12
12
|
import {
|
|
13
13
|
withZoraThemeScope
|
|
14
14
|
} from "../../chunks/Accordion-k3bc4kad.js";
|
|
15
|
-
import"../../chunks/Accordion-wvphg9x4.js";
|
|
16
15
|
import {
|
|
17
16
|
View2
|
|
18
17
|
} from "../../chunks/Accordion-j2aw3d5b.js";
|
|
@@ -21,11 +20,12 @@ import {
|
|
|
21
20
|
} from "../../chunks/Accordion-1cgz6f8t.js";
|
|
22
21
|
import {
|
|
23
22
|
Text2
|
|
24
|
-
} from "../../chunks/Accordion-
|
|
23
|
+
} from "../../chunks/Accordion-ycmg06sq.js";
|
|
25
24
|
import {
|
|
26
25
|
resolveIconSize
|
|
27
26
|
} from "../../chunks/Accordion-961ncx4e.js";
|
|
28
27
|
import"../../chunks/Accordion-61e19g3e.js";
|
|
28
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
29
29
|
import {
|
|
30
30
|
useZoraTheme2
|
|
31
31
|
} from "../../chunks/Accordion-7zfskq1s.js";
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
Button2,
|
|
10
10
|
ButtonGroup2,
|
|
11
11
|
IconButton2
|
|
12
|
-
} from "../../chunks/Accordion-
|
|
12
|
+
} from "../../chunks/Accordion-nc5gnvnb.js";
|
|
13
13
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
14
14
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
15
|
-
import"../../chunks/Accordion-wvphg9x4.js";
|
|
16
15
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
17
16
|
import"../../chunks/Accordion-61e19g3e.js";
|
|
17
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
18
18
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
19
19
|
import"../../chunks/Accordion-ys214jt5.js";
|
|
20
20
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
Button2,
|
|
10
10
|
ButtonGroup2,
|
|
11
11
|
IconButton2
|
|
12
|
-
} from "../../chunks/Accordion-
|
|
12
|
+
} from "../../chunks/Accordion-nc5gnvnb.js";
|
|
13
13
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
14
14
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
15
|
-
import"../../chunks/Accordion-wvphg9x4.js";
|
|
16
15
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
17
16
|
import"../../chunks/Accordion-61e19g3e.js";
|
|
17
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
18
18
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
19
19
|
import"../../chunks/Accordion-ys214jt5.js";
|
|
20
20
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
@@ -4,26 +4,26 @@ import"../../chunks/Accordion-7hn324r1.js";
|
|
|
4
4
|
import"../../chunks/Accordion-cdppbyad.js";
|
|
5
5
|
import"../../chunks/Accordion-r1epjp5y.js";
|
|
6
6
|
import"../../chunks/Accordion-13b6y37e.js";
|
|
7
|
-
import"../../chunks/Accordion-
|
|
7
|
+
import"../../chunks/Accordion-b3qy1trj.js";
|
|
8
8
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
9
9
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
10
10
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
11
|
-
import"../../chunks/Accordion-
|
|
12
|
-
import"../../chunks/Accordion-pssgp0pq.js";
|
|
11
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
13
12
|
import"../../chunks/Accordion-bsy1jrak.js";
|
|
14
13
|
import"../../chunks/Accordion-s1jhv8gk.js";
|
|
15
14
|
import"../../chunks/Accordion-vq462y0x.js";
|
|
16
15
|
import"../../chunks/Accordion-1cgz6f8t.js";
|
|
17
|
-
import"../../chunks/Accordion-
|
|
18
|
-
import"../../chunks/Accordion-
|
|
16
|
+
import"../../chunks/Accordion-jj3bg8c1.js";
|
|
17
|
+
import"../../chunks/Accordion-nc5gnvnb.js";
|
|
19
18
|
import"../../chunks/Accordion-cecn51ry.js";
|
|
20
19
|
import {
|
|
21
20
|
CameraPermissionView2,
|
|
22
21
|
ScanOverlay2,
|
|
23
22
|
BarcodeScannerView2
|
|
24
|
-
} from "../../chunks/Accordion-
|
|
23
|
+
} from "../../chunks/Accordion-555gnfmw.js";
|
|
25
24
|
import"../../chunks/Accordion-eqvdv7tt.js";
|
|
26
25
|
import"../../chunks/Accordion-61e19g3e.js";
|
|
26
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
27
27
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
28
28
|
import"../../chunks/Accordion-ys214jt5.js";
|
|
29
29
|
import"../../chunks/Accordion-rgyg9bw8.js";
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
MetricCard2,
|
|
11
11
|
PostCard2,
|
|
12
12
|
ProductCard2
|
|
13
|
-
} from "../../chunks/Accordion-
|
|
13
|
+
} from "../../chunks/Accordion-b3qy1trj.js";
|
|
14
14
|
import"../../chunks/Accordion-kcx57mk5.js";
|
|
15
15
|
import"../../chunks/Accordion-k3bc4kad.js";
|
|
16
16
|
import"../../chunks/Accordion-j2aw3d5b.js";
|
|
17
|
-
import"../../chunks/Accordion-
|
|
18
|
-
import"../../chunks/Accordion-pssgp0pq.js";
|
|
17
|
+
import"../../chunks/Accordion-ycmg06sq.js";
|
|
19
18
|
import"../../chunks/Accordion-bsy1jrak.js";
|
|
20
19
|
import"../../chunks/Accordion-s1jhv8gk.js";
|
|
21
20
|
import"../../chunks/Accordion-vq462y0x.js";
|
|
22
21
|
import"../../chunks/Accordion-1cgz6f8t.js";
|
|
23
|
-
import"../../chunks/Accordion-
|
|
24
|
-
import"../../chunks/Accordion-
|
|
22
|
+
import"../../chunks/Accordion-jj3bg8c1.js";
|
|
23
|
+
import"../../chunks/Accordion-nc5gnvnb.js";
|
|
25
24
|
import"../../chunks/Accordion-cecn51ry.js";
|
|
26
25
|
import"../../chunks/Accordion-eqvdv7tt.js";
|
|
27
26
|
import"../../chunks/Accordion-61e19g3e.js";
|
|
27
|
+
import"../../chunks/Accordion-e1nn8m46.js";
|
|
28
28
|
import"../../chunks/Accordion-7zfskq1s.js";
|
|
29
29
|
import"../../chunks/Accordion-ys214jt5.js";
|
|
30
30
|
import"../../chunks/Accordion-rgyg9bw8.js";
|