@ankhorage/zora 18.0.1 → 19.0.1
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 -2
- package/dist/features/accordion/accordionItemMeta.d.ts +1 -1
- 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/accordion/adapters/inbound/Accordion.d.ts.map +1 -1
- package/dist/features/accordion/adapters/inbound/Accordion.js +1 -1
- package/dist/features/accordion/adapters/inbound/Accordion.js.map +1 -1
- package/dist/features/accordion/adapters/inbound/AccordionItem.d.ts.map +1 -1
- package/dist/features/accordion/adapters/inbound/AccordionItem.js +1 -1
- package/dist/features/accordion/adapters/inbound/AccordionItem.js.map +1 -1
- package/dist/features/activity-indicator/activityIndicatorMeta.js.map +1 -1
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.d.ts.map +1 -1
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.js +2 -2
- package/dist/features/activity-indicator/adapters/inbound/ActivityIndicator.js.map +1 -1
- package/dist/features/app-bar/adapters/inbound/AppBar.d.ts.map +1 -1
- package/dist/features/app-bar/adapters/inbound/AppBar.js +2 -2
- package/dist/features/app-bar/adapters/inbound/AppBar.js.map +1 -1
- package/dist/features/app-bar/appBarMeta.js.map +1 -1
- package/dist/features/auth/adapters/inbound/AuthForm.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/AuthForm.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/AuthForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/AuthFormField.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/AuthFormField.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/AuthFormField.js.map +1 -1
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js +1 -1
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderButton.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderButton.js +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderButton.js.map +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderList.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderList.js +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderList.js.map +1 -1
- package/dist/features/auth/adapters/inbound/OtpForm.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/OtpForm.js +1 -1
- package/dist/features/auth/adapters/inbound/OtpForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/SignInForm.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/SignInForm.js +1 -1
- package/dist/features/auth/adapters/inbound/SignInForm.js.map +1 -1
- package/dist/features/auth/adapters/inbound/SignUpForm.d.ts.map +1 -1
- package/dist/features/auth/adapters/inbound/SignUpForm.js +1 -1
- package/dist/features/auth/adapters/inbound/SignUpForm.js.map +1 -1
- package/dist/features/auth/forgotPasswordFormMeta.js.map +1 -1
- package/dist/features/auth/oauthProviderButtonMeta.js +1 -1
- package/dist/features/auth/oauthProviderButtonMeta.js.map +1 -1
- package/dist/features/auth/oauthProviderListMeta.js +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/authoring/allowedChildren.d.ts +5 -0
- package/dist/features/authoring/allowedChildren.d.ts.map +1 -0
- package/dist/features/authoring/allowedChildren.js +87 -0
- package/dist/features/authoring/allowedChildren.js.map +1 -0
- package/dist/features/authoring/bindableComponentMeta.d.ts +1011 -0
- package/dist/features/authoring/bindableComponentMeta.d.ts.map +1 -0
- package/dist/features/authoring/bindableComponentMeta.js +501 -0
- package/dist/features/authoring/bindableComponentMeta.js.map +1 -0
- package/dist/features/authoring/componentMeta.d.ts +3 -0
- package/dist/features/authoring/componentMeta.d.ts.map +1 -0
- package/dist/features/authoring/componentMeta.js +184 -0
- package/dist/features/authoring/componentMeta.js.map +1 -0
- package/dist/features/authoring/constants.d.ts +37 -0
- package/dist/features/authoring/constants.d.ts.map +1 -0
- package/dist/features/authoring/constants.js +50 -0
- package/dist/features/authoring/constants.js.map +1 -0
- package/dist/features/authoring/index.d.ts +12 -0
- package/dist/features/authoring/index.d.ts.map +1 -0
- package/dist/features/authoring/index.js +8 -0
- package/dist/features/authoring/index.js.map +1 -0
- package/dist/features/authoring/themeRecipeMeta.d.ts +3 -0
- package/dist/features/authoring/themeRecipeMeta.d.ts.map +1 -0
- package/dist/features/authoring/themeRecipeMeta.js +13 -0
- package/dist/features/authoring/themeRecipeMeta.js.map +1 -0
- package/dist/features/authoring/utils/createManifestBindings.d.ts +5 -0
- package/dist/features/authoring/utils/createManifestBindings.d.ts.map +1 -0
- package/dist/features/authoring/utils/createManifestBindings.js.map +1 -0
- package/dist/features/authoring/utils/finalizeFeatureMetadata.d.ts +4 -0
- package/dist/features/authoring/utils/finalizeFeatureMetadata.d.ts.map +1 -0
- package/dist/features/authoring/utils/finalizeFeatureMetadata.js.map +1 -0
- package/dist/features/avatar/adapters/inbound/Avatar.d.ts.map +1 -1
- package/dist/features/avatar/adapters/inbound/Avatar.js +2 -2
- package/dist/features/avatar/adapters/inbound/Avatar.js.map +1 -1
- package/dist/features/avatar/adapters/inbound/AvatarGroup.d.ts.map +1 -1
- package/dist/features/avatar/adapters/inbound/AvatarGroup.js +2 -2
- package/dist/features/avatar/adapters/inbound/AvatarGroup.js.map +1 -1
- package/dist/features/avatar/avatarGroupMeta.js.map +1 -1
- package/dist/features/avatar/avatarMeta.js.map +1 -1
- package/dist/features/badge/adapters/inbound/Badge.d.ts.map +1 -1
- package/dist/features/badge/adapters/inbound/Badge.js +2 -2
- package/dist/features/badge/adapters/inbound/Badge.js.map +1 -1
- package/dist/features/badge/badgeMeta.js.map +1 -1
- package/dist/features/badge/utils/resolveBadgeRecipe.d.ts +10 -0
- package/dist/features/badge/utils/resolveBadgeRecipe.d.ts.map +1 -0
- package/dist/features/badge/utils/resolveBadgeRecipe.js +4 -0
- package/dist/features/badge/utils/resolveBadgeRecipe.js.map +1 -0
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.d.ts.map +1 -1
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js +3 -3
- package/dist/features/bottom-sheet/adapters/inbound/BottomSheet.js.map +1 -1
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +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/adapters/inbound/Breadcrumbs.d.ts.map +1 -1
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.js +3 -3
- package/dist/features/breadcrumbs/adapters/inbound/Breadcrumbs.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 -2
- package/dist/features/button/adapters/inbound/Button.js.map +1 -1
- package/dist/features/button/adapters/inbound/ButtonGroup.d.ts.map +1 -1
- package/dist/features/button/adapters/inbound/ButtonGroup.js +1 -1
- package/dist/features/button/adapters/inbound/ButtonGroup.js.map +1 -1
- package/dist/features/button/adapters/inbound/IconButton.d.ts.map +1 -1
- package/dist/features/button/adapters/inbound/IconButton.js +2 -2
- package/dist/features/button/adapters/inbound/IconButton.js.map +1 -1
- package/dist/features/button/buttonGroupMeta.js.map +1 -1
- package/dist/features/button/buttonMeta.js +2 -2
- package/dist/features/button/buttonMeta.js.map +1 -1
- package/dist/features/button/iconButtonMeta.js.map +1 -1
- package/dist/features/button/utils/resolveButtonRecipe.d.ts +10 -0
- package/dist/features/button/utils/resolveButtonRecipe.d.ts.map +1 -0
- package/dist/features/button/utils/resolveButtonRecipe.js +4 -0
- package/dist/features/button/utils/resolveButtonRecipe.js.map +1 -0
- package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts +4 -2
- package/dist/features/button/utils/resolveButtonThemeRecipe.d.ts.map +1 -1
- package/dist/features/button/utils/resolveButtonThemeRecipe.js +1 -1
- package/dist/features/button/utils/resolveButtonThemeRecipe.js.map +1 -1
- package/dist/features/button/utils/themeRecipeMeta.js +1 -1
- package/dist/features/button/utils/themeRecipeMeta.js.map +1 -1
- package/dist/features/card/adapters/inbound/Card.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/Card.js +3 -3
- package/dist/features/card/adapters/inbound/Card.js.map +1 -1
- package/dist/features/card/adapters/inbound/MediaCard.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/MediaCard.js +2 -2
- package/dist/features/card/adapters/inbound/MediaCard.js.map +1 -1
- package/dist/features/card/adapters/inbound/MetricCard.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/MetricCard.js +4 -3
- package/dist/features/card/adapters/inbound/MetricCard.js.map +1 -1
- package/dist/features/card/adapters/inbound/PostCard.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/PostCard.js +2 -2
- package/dist/features/card/adapters/inbound/PostCard.js.map +1 -1
- package/dist/features/card/adapters/inbound/ProductCard.d.ts +1 -1
- package/dist/features/card/adapters/inbound/ProductCard.d.ts.map +1 -1
- package/dist/features/card/adapters/inbound/ProductCard.js +1 -1
- package/dist/features/card/adapters/inbound/ProductCard.js.map +1 -1
- package/dist/features/card/cardMeta.d.ts +1 -1
- package/dist/features/card/cardMeta.js +2 -2
- package/dist/features/card/cardMeta.js.map +1 -1
- package/dist/features/card/mediaCardMeta.d.ts +1 -1
- package/dist/features/card/mediaCardMeta.js +1 -1
- package/dist/features/card/mediaCardMeta.js.map +1 -1
- package/dist/features/card/metricCardMeta.js.map +1 -1
- package/dist/features/card/postCardMeta.d.ts +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/card/utils/resolveCardThemeRecipe.d.ts +1 -1
- package/dist/features/card/utils/resolveCardThemeRecipe.d.ts.map +1 -1
- package/dist/features/card/utils/resolveCardThemeRecipe.js.map +1 -1
- package/dist/features/card/utils/resolveCardVariant.d.ts +4 -0
- package/dist/features/card/utils/resolveCardVariant.d.ts.map +1 -0
- package/dist/features/card/utils/resolveCardVariant.js +12 -0
- package/dist/features/card/utils/resolveCardVariant.js.map +1 -0
- package/dist/features/card/utils/themeRecipeMeta.js.map +1 -1
- package/dist/features/chat/adapters/inbound/ChatListItem.d.ts +9 -0
- package/dist/features/chat/adapters/inbound/ChatListItem.d.ts.map +1 -0
- package/dist/features/chat/adapters/inbound/ChatListItem.js +115 -0
- package/dist/features/chat/adapters/inbound/ChatListItem.js.map +1 -0
- package/dist/features/chat/adapters/inbound/MessageBubble.d.ts +9 -0
- package/dist/features/chat/adapters/inbound/MessageBubble.d.ts.map +1 -0
- package/dist/features/chat/adapters/inbound/MessageBubble.js +133 -0
- package/dist/features/chat/adapters/inbound/MessageBubble.js.map +1 -0
- package/dist/features/chat/chatListItemMeta.d.ts +74 -0
- package/dist/features/chat/chatListItemMeta.d.ts.map +1 -0
- package/dist/features/chat/chatListItemMeta.js +72 -0
- package/dist/features/chat/chatListItemMeta.js.map +1 -0
- package/dist/features/chat/messageBubbleMeta.d.ts +67 -0
- package/dist/features/chat/messageBubbleMeta.d.ts.map +1 -0
- package/dist/features/chat/messageBubbleMeta.js +66 -0
- package/dist/features/chat/messageBubbleMeta.js.map +1 -0
- package/dist/features/chat/public.d.ts +4 -0
- package/dist/features/chat/public.d.ts.map +1 -0
- package/dist/features/chat/public.js +3 -0
- package/dist/features/chat/public.js.map +1 -0
- package/dist/features/chip/adapters/inbound/Chip.d.ts.map +1 -1
- package/dist/features/chip/adapters/inbound/Chip.js +3 -3
- package/dist/features/chip/adapters/inbound/Chip.js.map +1 -1
- package/dist/features/chip/adapters/inbound/ChipGroup.d.ts.map +1 -1
- package/dist/features/chip/adapters/inbound/ChipGroup.js +1 -1
- package/dist/features/chip/adapters/inbound/ChipGroup.js.map +1 -1
- package/dist/features/chip/chipGroupMeta.js.map +1 -1
- package/dist/features/chip/chipMeta.js.map +1 -1
- package/dist/features/chip/utils/resolveChipColors.d.ts +1 -1
- package/dist/features/chip/utils/resolveChipColors.d.ts.map +1 -1
- package/dist/features/chip/utils/resolveChipColors.js.map +1 -1
- package/dist/features/collection-editor/adapters/inbound/CollectionEditor.d.ts +9 -0
- package/dist/features/collection-editor/adapters/inbound/CollectionEditor.d.ts.map +1 -0
- package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js +49 -0
- package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js.map +1 -0
- package/dist/features/collection-editor/meta.d.ts.map +1 -0
- package/dist/features/collection-editor/meta.js.map +1 -0
- package/dist/features/collection-editor/public.d.ts +3 -0
- package/dist/features/collection-editor/public.d.ts.map +1 -0
- package/dist/features/collection-editor/public.js +2 -0
- package/dist/features/collection-editor/public.js.map +1 -0
- package/dist/features/content-rail/adapters/inbound/ContentRail.d.ts.map +1 -1
- package/dist/features/content-rail/adapters/inbound/ContentRail.js +2 -2
- package/dist/features/content-rail/adapters/inbound/ContentRail.js.map +1 -1
- package/dist/features/content-rail/adapters/inbound/ContentRailFlow.d.ts.map +1 -1
- package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js +1 -1
- package/dist/features/content-rail/adapters/inbound/ContentRailFlow.js.map +1 -1
- package/dist/features/content-rail/contentRailMeta.d.ts +2 -2
- package/dist/features/content-rail/contentRailMeta.js +1 -1
- package/dist/features/content-rail/contentRailMeta.js.map +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.d.ts.map +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.js +1 -1
- package/dist/features/data-table/adapters/inbound/DataTable.js.map +1 -1
- package/dist/features/data-table/dataTableMeta.js.map +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.native.d.ts.map +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.native.js +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.native.js.map +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.web.d.ts.map +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.web.js +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.web.js.map +1 -1
- package/dist/features/date-picker/datePickerMeta.js.map +1 -1
- package/dist/features/dialog/adapters/inbound/Dialog.d.ts.map +1 -1
- package/dist/features/dialog/adapters/inbound/Dialog.js +2 -2
- package/dist/features/dialog/adapters/inbound/Dialog.js.map +1 -1
- package/dist/features/dialog/dialogMeta.d.ts +2 -2
- package/dist/features/dialog/dialogMeta.js +1 -1
- package/dist/features/dialog/dialogMeta.js.map +1 -1
- package/dist/features/dialog/utils/resolveDialogWidth.d.ts +3 -0
- package/dist/features/dialog/utils/resolveDialogWidth.d.ts.map +1 -0
- package/dist/features/dialog/utils/resolveDialogWidth.js +12 -0
- package/dist/features/dialog/utils/resolveDialogWidth.js.map +1 -0
- package/dist/features/empty-state/adapters/inbound/EmptyState.d.ts.map +1 -1
- package/dist/features/empty-state/adapters/inbound/EmptyState.js +1 -1
- package/dist/features/empty-state/adapters/inbound/EmptyState.js.map +1 -1
- package/dist/features/empty-state/emptyStateMeta.js.map +1 -1
- package/dist/features/form/adapters/inbound/Form.d.ts.map +1 -1
- package/dist/features/form/adapters/inbound/Form.js +1 -1
- package/dist/features/form/adapters/inbound/Form.js.map +1 -1
- package/dist/features/form/adapters/inbound/FormActions.d.ts.map +1 -1
- package/dist/features/form/adapters/inbound/FormActions.js +1 -1
- package/dist/features/form/adapters/inbound/FormActions.js.map +1 -1
- package/dist/features/form/adapters/inbound/FormError.d.ts.map +1 -1
- package/dist/features/form/adapters/inbound/FormError.js +2 -2
- package/dist/features/form/adapters/inbound/FormError.js.map +1 -1
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.d.ts.map +1 -1
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.js +1 -1
- package/dist/features/form/checkbox/adapters/inbound/Checkbox.js.map +1 -1
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.d.ts.map +1 -1
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js +1 -1
- package/dist/features/form/checkbox/adapters/inbound/CheckboxGroup.js.map +1 -1
- package/dist/features/form/checkbox/checkboxMeta.js.map +1 -1
- package/dist/features/form/field/adapters/inbound/Field.d.ts.map +1 -1
- package/dist/features/form/field/adapters/inbound/Field.js +1 -1
- package/dist/features/form/field/adapters/inbound/Field.js.map +1 -1
- package/dist/features/form/field/meta.d.ts +1 -1
- package/dist/features/form/field/meta.d.ts.map +1 -1
- package/dist/features/form/field/meta.js +1 -0
- 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/Radio.d.ts.map +1 -1
- package/dist/features/form/radio/adapters/inbound/Radio.js +1 -1
- package/dist/features/form/radio/adapters/inbound/Radio.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 -2
- package/dist/features/form/radio/adapters/inbound/RadioGroup.js.map +1 -1
- package/dist/features/form/radio/constants.d.ts +3 -0
- package/dist/features/form/radio/constants.d.ts.map +1 -0
- package/dist/features/form/radio/constants.js +8 -0
- package/dist/features/form/radio/constants.js.map +1 -0
- package/dist/features/form/radio/radioMeta.js +1 -1
- package/dist/features/form/radio/radioMeta.js.map +1 -1
- package/dist/features/form/radio/themeRecipeMeta.js +1 -1
- package/dist/features/form/radio/themeRecipeMeta.js.map +1 -1
- package/dist/features/form/radio/utils/handleRadioOptionKeyDown.js +1 -1
- package/dist/features/form/radio/utils/handleRadioOptionKeyDown.js.map +1 -1
- package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts +2 -2
- package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.d.ts.map +1 -1
- package/dist/features/form/radio/utils/resolveRadioGroupThemeRecipe.js.map +1 -1
- package/dist/features/form/search-input/adapters/inbound/SearchInput.d.ts.map +1 -1
- package/dist/features/form/search-input/adapters/inbound/SearchInput.js +1 -1
- package/dist/features/form/search-input/adapters/inbound/SearchInput.js.map +1 -1
- package/dist/features/form/search-input/searchInputMeta.js.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.native.d.ts.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.native.js +1 -1
- package/dist/features/form/select/adapters/inbound/Select.native.js.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.d.ts.map +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.js +1 -1
- package/dist/features/form/select/adapters/inbound/Select.web.js.map +1 -1
- package/dist/features/form/select/selectMeta.js.map +1 -1
- package/dist/features/form/switch/adapters/inbound/Switch.d.ts +5 -0
- package/dist/features/form/switch/adapters/inbound/Switch.d.ts.map +1 -0
- package/dist/features/form/switch/adapters/inbound/Switch.js +9 -0
- package/dist/features/form/switch/adapters/inbound/Switch.js.map +1 -0
- package/dist/features/form/switch/public.d.ts +3 -0
- package/dist/features/form/switch/public.d.ts.map +1 -0
- package/dist/features/form/switch/public.js +2 -0
- package/dist/features/form/switch/public.js.map +1 -0
- package/dist/features/form/switch/switchMeta.d.ts +33 -0
- package/dist/features/form/switch/switchMeta.d.ts.map +1 -0
- package/dist/features/form/switch/switchMeta.js +13 -0
- package/dist/features/form/switch/switchMeta.js.map +1 -0
- package/dist/features/form/text-input/adapters/inbound/TextInput.d.ts.map +1 -1
- package/dist/features/form/text-input/adapters/inbound/TextInput.js +3 -3
- package/dist/features/form/text-input/adapters/inbound/TextInput.js.map +1 -1
- package/dist/features/form/text-input/textInputMeta.js.map +1 -1
- package/dist/features/gradient/adapters/inbound/Gradient.d.ts.map +1 -1
- package/dist/features/gradient/adapters/inbound/Gradient.js +1 -1
- package/dist/features/gradient/adapters/inbound/Gradient.js.map +1 -1
- package/dist/features/gradient/gradientMeta.d.ts +1 -1
- package/dist/features/gradient/gradientMeta.js +1 -1
- package/dist/features/gradient/gradientMeta.js.map +1 -1
- package/dist/features/hero/adapters/inbound/Hero.d.ts.map +1 -1
- package/dist/features/hero/adapters/inbound/Hero.js +1 -1
- package/dist/features/hero/adapters/inbound/Hero.js.map +1 -1
- package/dist/features/hero/heroMeta.js.map +1 -1
- package/dist/features/icon/adapters/inbound/Icon.d.ts.map +1 -1
- package/dist/features/icon/adapters/inbound/Icon.js +1 -1
- package/dist/features/icon/adapters/inbound/Icon.js.map +1 -1
- package/dist/features/icon/iconMeta.js.map +1 -1
- package/dist/features/icon/utils/resolveIconSize.d.ts +3 -0
- package/dist/features/icon/utils/resolveIconSize.d.ts.map +1 -0
- package/dist/features/icon/utils/resolveIconSize.js +12 -0
- package/dist/features/icon/utils/resolveIconSize.js.map +1 -0
- package/dist/features/image/adapters/inbound/Image.d.ts.map +1 -1
- package/dist/features/image/adapters/inbound/Image.js +2 -2
- package/dist/features/image/adapters/inbound/Image.js.map +1 -1
- package/dist/features/image/imageMeta.js.map +1 -1
- package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.d.ts.map +1 -1
- package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.js +1 -1
- package/dist/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.js.map +1 -1
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +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/adapters/inbound/AppShell.d.ts.map +1 -1
- package/dist/features/layout/adapters/inbound/AppShell.js +1 -1
- package/dist/features/layout/adapters/inbound/AppShell.js.map +1 -1
- package/dist/features/layout/adapters/inbound/Divider.d.ts.map +1 -1
- package/dist/features/layout/adapters/inbound/Divider.js +1 -1
- package/dist/features/layout/adapters/inbound/Divider.js.map +1 -1
- package/dist/features/layout/adapters/inbound/Grid.d.ts.map +1 -1
- package/dist/features/layout/adapters/inbound/Grid.js +1 -1
- package/dist/features/layout/adapters/inbound/Grid.js.map +1 -1
- package/dist/features/layout/adapters/inbound/Screen.d.ts.map +1 -1
- package/dist/features/layout/adapters/inbound/Screen.js +2 -2
- package/dist/features/layout/adapters/inbound/Screen.js.map +1 -1
- package/dist/features/layout/adapters/inbound/ScrollView.d.ts.map +1 -1
- package/dist/features/layout/adapters/inbound/ScrollView.js +1 -1
- package/dist/features/layout/adapters/inbound/ScrollView.js.map +1 -1
- package/dist/features/layout/adapters/inbound/View.d.ts.map +1 -1
- package/dist/features/layout/adapters/inbound/View.js +1 -1
- package/dist/features/layout/adapters/inbound/View.js.map +1 -1
- package/dist/features/layout/appShellMeta.js.map +1 -1
- package/dist/features/layout/constants.js.map +1 -1
- package/dist/features/layout/dividerMeta.js.map +1 -1
- package/dist/features/layout/gridMeta.d.ts +1 -1
- package/dist/features/layout/gridMeta.js +1 -1
- package/dist/features/layout/gridMeta.js.map +1 -1
- package/dist/features/layout/public.d.ts +1 -2
- package/dist/features/layout/public.d.ts.map +1 -1
- package/dist/features/layout/public.js +0 -1
- package/dist/features/layout/public.js.map +1 -1
- package/dist/features/layout/screenMeta.d.ts +1 -1
- package/dist/features/layout/screenMeta.js +1 -1
- package/dist/features/layout/screenMeta.js.map +1 -1
- package/dist/features/layout/scrollViewMeta.d.ts +1 -1
- package/dist/features/layout/scrollViewMeta.js +1 -1
- package/dist/features/layout/scrollViewMeta.js.map +1 -1
- package/dist/features/layout/utils/resolvePageMaxWidth.d.ts +3 -0
- package/dist/features/layout/utils/resolvePageMaxWidth.d.ts.map +1 -0
- package/dist/features/layout/utils/resolvePageMaxWidth.js +12 -0
- package/dist/features/layout/utils/resolvePageMaxWidth.js.map +1 -0
- package/dist/features/layout/viewMeta.d.ts +1 -1
- package/dist/features/layout/viewMeta.js +1 -1
- package/dist/features/layout/viewMeta.js.map +1 -1
- package/dist/features/list/adapters/inbound/FlatList.d.ts.map +1 -1
- package/dist/features/list/adapters/inbound/FlatList.js +1 -1
- package/dist/features/list/adapters/inbound/FlatList.js.map +1 -1
- package/dist/features/list/adapters/inbound/List.d.ts.map +1 -1
- package/dist/features/list/adapters/inbound/List.js +1 -1
- package/dist/features/list/adapters/inbound/List.js.map +1 -1
- package/dist/features/list/adapters/inbound/ListItem.d.ts.map +1 -1
- package/dist/features/list/adapters/inbound/ListItem.js +2 -2
- package/dist/features/list/adapters/inbound/ListItem.js.map +1 -1
- package/dist/features/list/adapters/inbound/ListSection.d.ts.map +1 -1
- package/dist/features/list/adapters/inbound/ListSection.js +2 -2
- package/dist/features/list/adapters/inbound/ListSection.js.map +1 -1
- package/dist/features/list/adapters/inbound/SectionList.d.ts.map +1 -1
- package/dist/features/list/adapters/inbound/SectionList.js +1 -1
- package/dist/features/list/adapters/inbound/SectionList.js.map +1 -1
- package/dist/features/list/flatListMeta.d.ts +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/list/sectionListMeta.d.ts +1 -1
- package/dist/features/list/sectionListMeta.js.map +1 -1
- package/dist/features/missing-element/adapters/inbound/MissingElement.d.ts.map +1 -1
- package/dist/features/missing-element/adapters/inbound/MissingElement.js +2 -2
- package/dist/features/missing-element/adapters/inbound/MissingElement.js.map +1 -1
- package/dist/features/missing-element/missingElementMeta.js.map +1 -1
- package/dist/features/pagination/adapters/inbound/Pagination.d.ts.map +1 -1
- package/dist/features/pagination/adapters/inbound/Pagination.js +1 -1
- package/dist/features/pagination/adapters/inbound/Pagination.js.map +1 -1
- package/dist/features/pagination/paginationMeta.js.map +1 -1
- package/dist/features/palette-item/adapters/inbound/PaletteItem.d.ts.map +1 -1
- package/dist/features/palette-item/adapters/inbound/PaletteItem.js +2 -2
- package/dist/features/palette-item/adapters/inbound/PaletteItem.js.map +1 -1
- package/dist/features/palette-item/paletteItemMeta.js.map +1 -1
- package/dist/features/plugin/ZORA_CORE_PLUGIN.d.ts +4 -0
- package/dist/features/plugin/ZORA_CORE_PLUGIN.d.ts.map +1 -0
- package/dist/features/plugin/ZORA_CORE_PLUGIN.js +8 -0
- package/dist/features/plugin/ZORA_CORE_PLUGIN.js.map +1 -0
- package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.d.ts +3 -0
- package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.d.ts.map +1 -0
- package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.js +36 -0
- package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.js.map +1 -0
- package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.d.ts +4 -0
- package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.d.ts.map +1 -0
- package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.js +106 -0
- package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.js.map +1 -0
- package/dist/features/plugin/application/use-cases/composeZoraPlugins.d.ts +4 -0
- package/dist/features/plugin/application/use-cases/composeZoraPlugins.d.ts.map +1 -0
- package/dist/features/plugin/application/use-cases/composeZoraPlugins.js +41 -0
- package/dist/features/plugin/application/use-cases/composeZoraPlugins.js.map +1 -0
- package/dist/features/plugin/domain/ZoraPluginCompositionError.d.ts +14 -0
- package/dist/features/plugin/domain/ZoraPluginCompositionError.d.ts.map +1 -0
- package/dist/features/plugin/domain/ZoraPluginCompositionError.js +14 -0
- package/dist/features/plugin/domain/ZoraPluginCompositionError.js.map +1 -0
- package/dist/features/plugin/public.d.ts +4 -0
- package/dist/features/plugin/public.d.ts.map +1 -0
- package/dist/features/plugin/public.js +4 -0
- package/dist/features/plugin/public.js.map +1 -0
- package/dist/features/plugin/runtime.d.ts +3 -0
- package/dist/features/plugin/runtime.d.ts.map +1 -0
- package/dist/features/plugin/runtime.js +3 -0
- package/dist/features/plugin/runtime.js.map +1 -0
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.d.ts.map +1 -1
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js +3 -3
- package/dist/features/popover-menu/adapters/inbound/PopoverMenu.js.map +1 -1
- package/dist/features/popover-menu/popoverMenuMeta.js.map +1 -1
- package/dist/features/progress/adapters/inbound/Progress.d.ts.map +1 -1
- package/dist/features/progress/adapters/inbound/Progress.js +2 -2
- package/dist/features/progress/adapters/inbound/Progress.js.map +1 -1
- package/dist/features/progress/adapters/inbound/ProgressRing.d.ts.map +1 -1
- package/dist/features/progress/adapters/inbound/ProgressRing.js +2 -2
- package/dist/features/progress/adapters/inbound/ProgressRing.js.map +1 -1
- package/dist/features/progress/progressMeta.js +1 -1
- package/dist/features/progress/progressMeta.js.map +1 -1
- package/dist/features/rating/adapters/inbound/Rating.d.ts.map +1 -1
- package/dist/features/rating/adapters/inbound/Rating.js +3 -3
- package/dist/features/rating/adapters/inbound/Rating.js.map +1 -1
- package/dist/features/rating/ratingMeta.js.map +1 -1
- package/dist/features/reader/adapters/inbound/ReaderSurface.d.ts +11 -0
- package/dist/features/reader/adapters/inbound/ReaderSurface.d.ts.map +1 -0
- package/dist/features/reader/adapters/inbound/ReaderSurface.js +96 -0
- package/dist/features/reader/adapters/inbound/ReaderSurface.js.map +1 -0
- package/dist/features/reader/meta.d.ts +328 -0
- package/dist/features/reader/meta.d.ts.map +1 -0
- package/dist/features/reader/meta.js +293 -0
- package/dist/features/reader/meta.js.map +1 -0
- package/dist/features/reader/public.d.ts +4 -0
- package/dist/features/reader/public.d.ts.map +1 -0
- package/dist/features/reader/public.js +3 -0
- package/dist/features/reader/public.js.map +1 -0
- package/dist/features/reader/utils/resolveReaderProgress.d.ts.map +1 -0
- package/dist/features/reader/utils/resolveReaderProgress.js.map +1 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts +3 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.d.ts.map +1 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js +151 -0
- package/dist/features/registry/ZORA_COMPONENT_REGISTRY.js.map +1 -0
- package/dist/features/registry/public.d.ts +2 -0
- package/dist/features/registry/public.d.ts.map +1 -0
- package/dist/features/registry/public.js +2 -0
- package/dist/features/registry/public.js.map +1 -0
- package/dist/features/scanner/adapters/inbound/BarcodeScannerView.d.ts +11 -0
- package/dist/features/scanner/adapters/inbound/BarcodeScannerView.d.ts.map +1 -0
- package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js +77 -0
- package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js.map +1 -0
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.d.ts +11 -0
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.d.ts.map +1 -0
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.js +62 -0
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.js.map +1 -0
- package/dist/features/scanner/adapters/inbound/ScanOverlay.d.ts +11 -0
- package/dist/features/scanner/adapters/inbound/ScanOverlay.d.ts.map +1 -0
- package/dist/features/scanner/adapters/inbound/ScanOverlay.js +85 -0
- package/dist/features/scanner/adapters/inbound/ScanOverlay.js.map +1 -0
- package/dist/features/scanner/meta.d.ts +203 -0
- package/dist/features/scanner/meta.d.ts.map +1 -0
- package/dist/features/scanner/meta.js +193 -0
- package/dist/features/scanner/meta.js.map +1 -0
- package/dist/features/scanner/public.d.ts +5 -0
- package/dist/features/scanner/public.d.ts.map +1 -0
- package/dist/features/scanner/public.js +4 -0
- package/dist/features/scanner/public.js.map +1 -0
- package/dist/features/section/adapters/inbound/ScreenSection.d.ts +5 -0
- package/dist/features/section/adapters/inbound/ScreenSection.d.ts.map +1 -0
- package/dist/features/section/adapters/inbound/ScreenSection.js +13 -0
- package/dist/features/section/adapters/inbound/ScreenSection.js.map +1 -0
- package/dist/features/section/adapters/inbound/SectionHeader.d.ts +9 -0
- package/dist/features/section/adapters/inbound/SectionHeader.d.ts.map +1 -0
- package/dist/features/section/adapters/inbound/SectionHeader.js +28 -0
- package/dist/features/section/adapters/inbound/SectionHeader.js.map +1 -0
- package/dist/features/section/public.d.ts +4 -0
- package/dist/features/section/public.d.ts.map +1 -0
- package/dist/features/section/public.js +3 -0
- package/dist/features/section/public.js.map +1 -0
- package/dist/features/section/screenSectionMeta.d.ts +28 -0
- package/dist/features/section/screenSectionMeta.d.ts.map +1 -0
- package/dist/features/section/screenSectionMeta.js +29 -0
- package/dist/features/section/screenSectionMeta.js.map +1 -0
- package/dist/features/section/sectionHeaderMeta.d.ts +33 -0
- package/dist/features/section/sectionHeaderMeta.d.ts.map +1 -0
- package/dist/features/section/sectionHeaderMeta.js +33 -0
- package/dist/features/section/sectionHeaderMeta.js.map +1 -0
- package/dist/features/selection/adapters/inbound/SelectableItem.d.ts +9 -0
- package/dist/features/selection/adapters/inbound/SelectableItem.d.ts.map +1 -0
- package/dist/features/selection/adapters/inbound/SelectableItem.js.map +1 -0
- package/dist/features/selection/adapters/inbound/SelectionProvider.d.ts +11 -0
- package/dist/features/selection/adapters/inbound/SelectionProvider.d.ts.map +1 -0
- package/dist/features/selection/adapters/inbound/SelectionProvider.js +74 -0
- package/dist/features/selection/adapters/inbound/SelectionProvider.js.map +1 -0
- package/dist/features/selection/meta.d.ts.map +1 -0
- package/dist/features/selection/meta.js.map +1 -0
- package/dist/features/selection/public.d.ts +4 -0
- package/dist/features/selection/public.d.ts.map +1 -0
- package/dist/features/selection/public.js +3 -0
- package/dist/features/selection/public.js.map +1 -0
- package/dist/features/selection/utils/resolveSelectionNextIds.d.ts +15 -0
- package/dist/features/selection/utils/resolveSelectionNextIds.d.ts.map +1 -0
- package/dist/features/selection/utils/resolveSelectionNextIds.js.map +1 -0
- package/dist/features/skeleton/adapters/inbound/Skeleton.d.ts.map +1 -1
- package/dist/features/skeleton/adapters/inbound/Skeleton.js +2 -2
- package/dist/features/skeleton/adapters/inbound/Skeleton.js.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.d.ts.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.js +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.js.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonList.d.ts.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonList.js +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonList.js.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonText.d.ts.map +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonText.js +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonText.js.map +1 -1
- package/dist/features/skeleton/skeletonMeta.js.map +1 -1
- package/dist/features/surface/adapters/inbound/Surface.d.ts.map +1 -1
- package/dist/features/surface/adapters/inbound/Surface.js +1 -1
- package/dist/features/surface/adapters/inbound/Surface.js.map +1 -1
- package/dist/features/surface/surfaceMeta.d.ts +1 -1
- package/dist/features/surface/surfaceMeta.js +1 -1
- package/dist/features/surface/surfaceMeta.js.map +1 -1
- package/dist/features/tabs/adapters/inbound/Tab.d.ts.map +1 -1
- package/dist/features/tabs/adapters/inbound/Tab.js +1 -1
- package/dist/features/tabs/adapters/inbound/Tab.js.map +1 -1
- package/dist/features/tabs/adapters/inbound/TabList.d.ts.map +1 -1
- package/dist/features/tabs/adapters/inbound/TabList.js +1 -1
- package/dist/features/tabs/adapters/inbound/TabList.js.map +1 -1
- package/dist/features/tabs/adapters/inbound/TabPanel.d.ts.map +1 -1
- package/dist/features/tabs/adapters/inbound/TabPanel.js +1 -1
- package/dist/features/tabs/adapters/inbound/TabPanel.js.map +1 -1
- package/dist/features/tabs/adapters/inbound/Tabs.d.ts.map +1 -1
- package/dist/features/tabs/adapters/inbound/Tabs.js +1 -1
- package/dist/features/tabs/adapters/inbound/Tabs.js.map +1 -1
- package/dist/features/tabs/tabListMeta.js.map +1 -1
- package/dist/features/tabs/tabMeta.js.map +1 -1
- package/dist/features/tabs/tabPanelMeta.d.ts +1 -1
- package/dist/features/tabs/tabPanelMeta.js +1 -1
- package/dist/features/tabs/tabPanelMeta.js.map +1 -1
- package/dist/features/tabs/tabsMeta.js.map +1 -1
- package/dist/features/theme/ThemeModeToggle.meta.d.ts.map +1 -0
- package/dist/features/theme/ThemeModeToggle.meta.js.map +1 -0
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts +3 -0
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts.map +1 -0
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.js +9 -0
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.js.map +1 -0
- package/dist/features/theme/adapters/inbound/ZoraProvider.d.ts +6 -0
- package/dist/features/theme/adapters/inbound/ZoraProvider.d.ts.map +1 -0
- package/dist/features/theme/adapters/inbound/ZoraProvider.js +19 -0
- package/dist/features/theme/adapters/inbound/ZoraProvider.js.map +1 -0
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts +10 -0
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.d.ts.map +1 -0
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.js +24 -0
- package/dist/features/theme/adapters/inbound/ZoraThemeScope.js.map +1 -0
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts +4 -0
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.d.ts.map +1 -0
- package/dist/features/theme/adapters/inbound/withZoraThemeScope.js.map +1 -0
- package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts +8 -0
- package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts.map +1 -0
- package/dist/features/theme/application/use-cases/compileZoraTheme.js +129 -0
- package/dist/features/theme/application/use-cases/compileZoraTheme.js.map +1 -0
- package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts +5 -0
- package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts.map +1 -0
- package/dist/features/theme/application/use-cases/createZoraThemeConfig.js +19 -0
- package/dist/features/theme/application/use-cases/createZoraThemeConfig.js.map +1 -0
- package/dist/features/theme/colorModel.d.ts +6 -0
- package/dist/features/theme/colorModel.d.ts.map +1 -0
- package/dist/features/theme/colorModel.js +6 -0
- package/dist/features/theme/colorModel.js.map +1 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.d.ts.map +1 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.js.map +1 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.native.d.ts +4 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.native.d.ts.map +1 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.native.js.map +1 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.web.d.ts +4 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.web.d.ts.map +1 -0
- package/dist/features/theme/composition/ZoraRuntimeCapabilities.web.js.map +1 -0
- package/dist/features/theme/composition/ZoraThemeRuntimeContext.d.ts +9 -0
- package/dist/features/theme/composition/ZoraThemeRuntimeContext.d.ts.map +1 -0
- package/dist/features/theme/composition/ZoraThemeRuntimeContext.js +10 -0
- package/dist/features/theme/composition/ZoraThemeRuntimeContext.js.map +1 -0
- package/dist/features/theme/composition/useZoraTheme.d.ts +2 -0
- package/dist/features/theme/composition/useZoraTheme.d.ts.map +1 -0
- package/dist/features/theme/composition/useZoraTheme.js.map +1 -0
- package/dist/features/theme/composition/useZoraThemeRecipe.d.ts.map +1 -0
- package/dist/features/theme/composition/useZoraThemeRecipe.js +7 -0
- package/dist/features/theme/composition/useZoraThemeRecipe.js.map +1 -0
- package/dist/features/theme/public.d.ts +5 -0
- package/dist/features/theme/public.d.ts.map +1 -0
- package/dist/features/theme/public.js +4 -0
- package/dist/features/theme/public.js.map +1 -0
- package/dist/features/theme/runtime.d.ts +10 -0
- package/dist/features/theme/runtime.d.ts.map +1 -0
- package/dist/features/theme/runtime.js +6 -0
- package/dist/features/theme/runtime.js.map +1 -0
- package/dist/features/theme/utils/resolveThemeModeToggleState.d.ts +9 -0
- package/dist/features/theme/utils/resolveThemeModeToggleState.d.ts.map +1 -0
- package/dist/features/theme/utils/resolveThemeModeToggleState.js.map +1 -0
- package/dist/features/theme/utils/resolveZoraScopedThemeId.d.ts +6 -0
- package/dist/features/theme/utils/resolveZoraScopedThemeId.d.ts.map +1 -0
- package/dist/features/theme/utils/resolveZoraScopedThemeId.js.map +1 -0
- package/dist/features/theme/utils/resolveZoraThemeRecipe.d.ts.map +1 -0
- package/dist/features/theme/utils/resolveZoraThemeRecipe.js +56 -0
- package/dist/features/theme/utils/resolveZoraThemeRecipe.js.map +1 -0
- package/dist/features/theme/zoraDefaultTheme.d.ts +3 -0
- package/dist/features/theme/zoraDefaultTheme.d.ts.map +1 -0
- package/dist/features/theme/zoraDefaultTheme.js.map +1 -0
- package/dist/features/time-picker/adapters/inbound/TimePicker.native.d.ts.map +1 -1
- package/dist/features/time-picker/adapters/inbound/TimePicker.native.js +1 -1
- package/dist/features/time-picker/adapters/inbound/TimePicker.native.js.map +1 -1
- package/dist/features/time-picker/adapters/inbound/TimePicker.web.d.ts.map +1 -1
- package/dist/features/time-picker/adapters/inbound/TimePicker.web.js +1 -1
- package/dist/features/time-picker/adapters/inbound/TimePicker.web.js.map +1 -1
- package/dist/features/time-picker/timePickerMeta.js.map +1 -1
- package/dist/features/timeline/adapters/inbound/Timeline.d.ts +9 -0
- package/dist/features/timeline/adapters/inbound/Timeline.d.ts.map +1 -0
- package/dist/features/timeline/adapters/inbound/Timeline.js +75 -0
- package/dist/features/timeline/adapters/inbound/Timeline.js.map +1 -0
- package/dist/features/timeline/meta.d.ts.map +1 -0
- package/dist/features/timeline/meta.js.map +1 -0
- package/dist/features/timeline/public.d.ts +3 -0
- package/dist/features/timeline/public.d.ts.map +1 -0
- package/dist/features/timeline/public.js +2 -0
- package/dist/features/timeline/public.js.map +1 -0
- package/dist/features/toast/adapters/inbound/Toast.d.ts.map +1 -1
- package/dist/features/toast/adapters/inbound/Toast.js +1 -1
- package/dist/features/toast/adapters/inbound/Toast.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/toolbar/adapters/inbound/Toolbar.d.ts.map +1 -1
- package/dist/features/toolbar/adapters/inbound/Toolbar.js +1 -1
- package/dist/features/toolbar/adapters/inbound/Toolbar.js.map +1 -1
- package/dist/features/toolbar/toolbarMeta.js.map +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts +20 -0
- package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts.map +1 -0
- package/dist/features/tree-view/adapters/inbound/TreeItem.js +38 -0
- package/dist/features/tree-view/adapters/inbound/TreeItem.js.map +1 -0
- package/dist/features/tree-view/adapters/inbound/TreeView.d.ts +9 -0
- package/dist/features/tree-view/adapters/inbound/TreeView.d.ts.map +1 -0
- package/dist/features/tree-view/adapters/inbound/TreeView.js +29 -0
- package/dist/features/tree-view/adapters/inbound/TreeView.js.map +1 -0
- package/dist/features/tree-view/meta.d.ts.map +1 -0
- package/dist/features/tree-view/meta.js.map +1 -0
- package/dist/features/tree-view/public.d.ts +4 -0
- package/dist/features/tree-view/public.d.ts.map +1 -0
- package/dist/features/tree-view/public.js +3 -0
- package/dist/features/tree-view/public.js.map +1 -0
- package/dist/features/typography/adapters/inbound/Heading.d.ts.map +1 -1
- package/dist/features/typography/adapters/inbound/Heading.js +3 -3
- 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 +3 -3
- package/dist/features/typography/adapters/inbound/Text.js.map +1 -1
- package/dist/features/typography/headingMeta.js +2 -2
- package/dist/features/typography/headingMeta.js.map +1 -1
- package/dist/features/typography/textMeta.js +2 -2
- package/dist/features/typography/textMeta.js.map +1 -1
- package/dist/features/typography/utils/headingThemeRecipeMeta.js +1 -1
- package/dist/features/typography/utils/headingThemeRecipeMeta.js.map +1 -1
- package/dist/features/typography/utils/resolveHeadingThemeRecipe.d.ts +1 -1
- package/dist/features/typography/utils/resolveTextThemeRecipe.d.ts +1 -1
- package/dist/features/typography/utils/textThemeRecipeMeta.js +1 -1
- package/dist/features/typography/utils/textThemeRecipeMeta.js.map +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.d.ts.map +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.js +1 -1
- package/dist/features/uploader/adapters/inbound/Uploader.js.map +1 -1
- package/dist/features/uploader/uploaderMeta.js.map +1 -1
- package/dist/index.d.ts +29 -45
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -24
- package/dist/index.js.map +1 -1
- package/dist/types/accordion.d.ts +1 -1
- package/dist/types/accordion.d.ts.map +1 -1
- package/dist/types/accordion.js.map +1 -1
- package/dist/types/activity-indicator.d.ts +1 -1
- package/dist/types/activity-indicator.d.ts.map +1 -1
- package/dist/types/activity-indicator.js.map +1 -1
- package/dist/types/app-bar.d.ts +1 -1
- package/dist/types/app-bar.d.ts.map +1 -1
- package/dist/types/app-bar.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/authoring.d.ts +82 -0
- package/dist/types/authoring.d.ts.map +1 -0
- package/dist/types/authoring.js +2 -0
- package/dist/types/authoring.js.map +1 -0
- package/dist/types/avatar-group.d.ts +2 -2
- package/dist/types/avatar-group.d.ts.map +1 -1
- package/dist/types/avatar-group.js.map +1 -1
- package/dist/types/avatar.d.ts +2 -2
- package/dist/types/avatar.d.ts.map +1 -1
- package/dist/types/avatar.js.map +1 -1
- package/dist/types/badge.d.ts +4 -2
- package/dist/types/badge.d.ts.map +1 -1
- package/dist/types/badge.js.map +1 -1
- package/dist/types/base.d.ts +24 -0
- package/dist/types/base.d.ts.map +1 -0
- package/dist/types/base.js +2 -0
- package/dist/types/base.js.map +1 -0
- package/dist/types/breadcrumbs.d.ts +1 -1
- package/dist/types/breadcrumbs.d.ts.map +1 -1
- package/dist/types/breadcrumbs.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/button.d.ts +4 -2
- package/dist/types/button.d.ts.map +1 -1
- package/dist/types/button.js.map +1 -1
- package/dist/types/card.d.ts +2 -2
- package/dist/types/card.d.ts.map +1 -1
- package/dist/types/card.js.map +1 -1
- package/dist/types/chat.d.ts +65 -0
- package/dist/types/chat.d.ts.map +1 -0
- package/dist/types/chat.js +2 -0
- package/dist/types/chat.js.map +1 -0
- package/dist/types/checkbox.d.ts +1 -1
- package/dist/types/checkbox.d.ts.map +1 -1
- package/dist/types/checkbox.js.map +1 -1
- package/dist/types/chip-group.d.ts +3 -2
- package/dist/types/chip-group.d.ts.map +1 -1
- package/dist/types/chip-group.js.map +1 -1
- package/dist/types/chip.d.ts +3 -2
- package/dist/types/chip.d.ts.map +1 -1
- package/dist/types/chip.js.map +1 -1
- package/dist/types/collection-editor.d.ts +24 -0
- package/dist/types/collection-editor.d.ts.map +1 -0
- package/dist/types/collection-editor.js +2 -0
- package/dist/types/collection-editor.js.map +1 -0
- package/dist/types/content-rail.d.ts +1 -1
- package/dist/types/content-rail.d.ts.map +1 -1
- package/dist/types/content-rail.js.map +1 -1
- package/dist/types/control.d.ts +3 -0
- package/dist/types/control.d.ts.map +1 -0
- package/dist/types/control.js +2 -0
- package/dist/types/control.js.map +1 -0
- package/dist/types/data-table.d.ts +1 -1
- package/dist/types/data-table.d.ts.map +1 -1
- package/dist/types/data-table.js.map +1 -1
- package/dist/types/date-picker.d.ts +1 -1
- package/dist/types/date-picker.d.ts.map +1 -1
- package/dist/types/date-picker.js.map +1 -1
- package/dist/types/dialog.d.ts +2 -2
- package/dist/types/dialog.d.ts.map +1 -1
- package/dist/types/dialog.js.map +1 -1
- package/dist/types/empty-state.d.ts +3 -2
- package/dist/types/empty-state.d.ts.map +1 -1
- package/dist/types/empty-state.js.map +1 -1
- package/dist/types/form.d.ts +1 -1
- package/dist/types/form.d.ts.map +1 -1
- package/dist/types/form.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/heading.d.ts +2 -2
- package/dist/types/heading.d.ts.map +1 -1
- package/dist/types/heading.js.map +1 -1
- package/dist/types/hero.d.ts +3 -2
- package/dist/types/hero.d.ts.map +1 -1
- package/dist/types/hero.js.map +1 -1
- package/dist/types/icon-button.d.ts +4 -2
- package/dist/types/icon-button.d.ts.map +1 -1
- package/dist/types/icon-button.js.map +1 -1
- package/dist/types/icon.d.ts +1 -1
- package/dist/types/icon.d.ts.map +1 -1
- package/dist/types/icon.js.map +1 -1
- package/dist/types/image.d.ts +1 -1
- package/dist/types/image.d.ts.map +1 -1
- package/dist/types/image.js.map +1 -1
- package/dist/types/keyboard-avoiding-view.d.ts +1 -1
- package/dist/types/keyboard-avoiding-view.d.ts.map +1 -1
- package/dist/types/keyboard-avoiding-view.js.map +1 -1
- package/dist/types/layout.d.ts +2 -8
- package/dist/types/layout.d.ts.map +1 -1
- package/dist/types/layout.js.map +1 -1
- package/dist/types/list.d.ts +1 -1
- package/dist/types/list.d.ts.map +1 -1
- package/dist/types/list.js.map +1 -1
- package/dist/types/manifest-bottom-sheet.d.ts +1 -1
- package/dist/types/manifest-bottom-sheet.d.ts.map +1 -1
- package/dist/types/manifest-bottom-sheet.js.map +1 -1
- package/dist/types/manifest-list.d.ts +1 -1
- package/dist/types/manifest-list.d.ts.map +1 -1
- package/dist/types/manifest-list.js.map +1 -1
- package/dist/types/media-card.d.ts +2 -2
- package/dist/types/media-card.d.ts.map +1 -1
- package/dist/types/media-card.js.map +1 -1
- package/dist/types/metric-card.d.ts +3 -2
- package/dist/types/metric-card.d.ts.map +1 -1
- package/dist/types/metric-card.js.map +1 -1
- package/dist/types/missing-element.d.ts +1 -1
- package/dist/types/missing-element.d.ts.map +1 -1
- package/dist/types/missing-element.js.map +1 -1
- package/dist/types/pagination.d.ts +1 -1
- package/dist/types/pagination.d.ts.map +1 -1
- package/dist/types/pagination.js.map +1 -1
- package/dist/types/palette-item.d.ts +1 -1
- package/dist/types/palette-item.d.ts.map +1 -1
- package/dist/types/palette-item.js.map +1 -1
- package/dist/types/plugin.d.ts +29 -0
- package/dist/types/plugin.d.ts.map +1 -0
- package/dist/types/plugin.js +2 -0
- package/dist/types/plugin.js.map +1 -0
- package/dist/types/popover-menu.d.ts +1 -1
- package/dist/types/popover-menu.d.ts.map +1 -1
- package/dist/types/popover-menu.js.map +1 -1
- package/dist/types/post-card.d.ts +3 -2
- package/dist/types/post-card.d.ts.map +1 -1
- package/dist/types/post-card.js.map +1 -1
- package/dist/types/product-card.d.ts +1 -1
- package/dist/types/product-card.d.ts.map +1 -1
- package/dist/types/product-card.js.map +1 -1
- package/dist/types/progress.d.ts +3 -2
- package/dist/types/progress.d.ts.map +1 -1
- package/dist/types/progress.js.map +1 -1
- package/dist/types/provider.d.ts +1 -1
- package/dist/types/provider.d.ts.map +1 -1
- package/dist/types/provider.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/rating.d.ts +3 -2
- package/dist/types/rating.d.ts.map +1 -1
- package/dist/types/rating.js.map +1 -1
- package/dist/types/reader.d.ts +69 -0
- package/dist/types/reader.d.ts.map +1 -0
- package/dist/types/reader.js +2 -0
- package/dist/types/reader.js.map +1 -0
- package/dist/types/registry.d.ts +3 -0
- package/dist/types/registry.d.ts.map +1 -0
- package/dist/types/registry.js +2 -0
- package/dist/types/registry.js.map +1 -0
- package/dist/types/scanner.d.ts +42 -0
- package/dist/types/scanner.d.ts.map +1 -0
- package/dist/types/scanner.js +2 -0
- package/dist/types/scanner.js.map +1 -0
- package/dist/types/search-input.d.ts +2 -2
- package/dist/types/search-input.d.ts.map +1 -1
- package/dist/types/search-input.js.map +1 -1
- package/dist/types/section.d.ts +15 -0
- package/dist/types/section.d.ts.map +1 -0
- package/dist/types/section.js +2 -0
- package/dist/types/section.js.map +1 -0
- package/dist/types/select.d.ts +1 -1
- package/dist/types/select.d.ts.map +1 -1
- package/dist/types/select.js.map +1 -1
- package/dist/types/selection.d.ts +41 -0
- package/dist/types/selection.d.ts.map +1 -0
- package/dist/types/selection.js +2 -0
- package/dist/types/selection.js.map +1 -0
- 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/surface.d.ts +1 -1
- package/dist/types/surface.d.ts.map +1 -1
- package/dist/types/surface.js.map +1 -1
- package/dist/types/switch.d.ts +5 -0
- package/dist/types/switch.d.ts.map +1 -0
- package/dist/types/switch.js +2 -0
- package/dist/types/switch.js.map +1 -0
- package/dist/types/tabs.d.ts +1 -1
- package/dist/types/tabs.d.ts.map +1 -1
- package/dist/types/tabs.js.map +1 -1
- package/dist/types/text-input.d.ts +2 -2
- package/dist/types/text-input.d.ts.map +1 -1
- package/dist/types/text-input.js.map +1 -1
- package/dist/types/text.d.ts +2 -2
- package/dist/types/text.d.ts.map +1 -1
- package/dist/types/text.js.map +1 -1
- package/dist/types/theme-mode-toggle.d.ts +3 -0
- package/dist/types/theme-mode-toggle.d.ts.map +1 -0
- package/dist/types/theme-mode-toggle.js +2 -0
- package/dist/types/theme-mode-toggle.js.map +1 -0
- package/dist/types/theme-recipe.d.ts +30 -0
- package/dist/types/theme-recipe.d.ts.map +1 -0
- package/dist/types/theme-recipe.js +2 -0
- package/dist/types/theme-recipe.js.map +1 -0
- package/dist/types/theme.d.ts +64 -0
- package/dist/types/theme.d.ts.map +1 -0
- package/dist/types/theme.js +2 -0
- package/dist/types/theme.js.map +1 -0
- package/dist/types/time-picker.d.ts +1 -1
- package/dist/types/time-picker.d.ts.map +1 -1
- package/dist/types/time-picker.js.map +1 -1
- package/dist/types/timeline.d.ts +18 -0
- package/dist/types/timeline.d.ts.map +1 -0
- package/dist/types/timeline.js +2 -0
- package/dist/types/timeline.js.map +1 -0
- package/dist/types/toast.d.ts +1 -1
- package/dist/types/toast.d.ts.map +1 -1
- package/dist/types/toast.js.map +1 -1
- package/dist/types/toolbar.d.ts +1 -1
- package/dist/types/toolbar.d.ts.map +1 -1
- package/dist/types/toolbar.js.map +1 -1
- package/dist/types/tree-view.d.ts +29 -0
- package/dist/types/tree-view.d.ts.map +1 -0
- package/dist/types/tree-view.js +2 -0
- package/dist/types/tree-view.js.map +1 -0
- package/dist/types/upload.d.ts +1 -1
- package/dist/types/upload.d.ts.map +1 -1
- package/dist/types/upload.js.map +1 -1
- package/package.json +14 -14
- package/src/audit.test.ts +4 -4
- package/src/features/accordion/accordionItemMeta.ts +2 -2
- package/src/features/accordion/accordionMeta.ts +1 -1
- package/src/features/accordion/adapters/inbound/Accordion.tsx +1 -1
- package/src/features/accordion/adapters/inbound/AccordionItem.tsx +1 -1
- package/src/features/activity-indicator/activityIndicatorMeta.ts +1 -1
- package/src/features/activity-indicator/adapters/inbound/ActivityIndicator.tsx +2 -2
- package/src/features/app-bar/adapters/inbound/AppBar.tsx +2 -2
- package/src/features/app-bar/appBarMeta.ts +1 -1
- package/src/features/auth/adapters/inbound/AuthForm.tsx +1 -1
- package/src/features/auth/adapters/inbound/AuthFormField.tsx +1 -1
- package/src/features/auth/adapters/inbound/ForgotPasswordForm.tsx +1 -1
- package/src/features/auth/adapters/inbound/OAuthProviderButton.tsx +1 -1
- package/src/features/auth/adapters/inbound/OAuthProviderList.tsx +1 -1
- package/src/features/auth/adapters/inbound/OtpForm.tsx +1 -1
- package/src/features/auth/adapters/inbound/SignInForm.tsx +1 -1
- package/src/features/auth/adapters/inbound/SignUpForm.tsx +1 -1
- package/src/features/auth/forgotPasswordFormMeta.ts +1 -1
- package/src/features/auth/oauthProviderButtonMeta.ts +2 -2
- package/src/features/auth/oauthProviderListMeta.ts +2 -2
- package/src/features/auth/otpFormMeta.ts +1 -1
- package/src/features/auth/public.test.ts +1 -1
- package/src/features/auth/signInFormMeta.ts +1 -1
- package/src/features/auth/signUpFormMeta.ts +1 -1
- package/src/features/authoring/allowedChildren.ts +89 -0
- package/src/features/authoring/authoringMeta.test.ts +46 -0
- package/src/features/authoring/bindableComponentMeta.ts +505 -0
- package/src/features/authoring/componentMeta.test.ts +448 -0
- package/src/features/authoring/componentMeta.ts +190 -0
- package/src/features/authoring/constants.ts +53 -0
- package/src/features/authoring/featureManifest.test.ts +99 -0
- package/src/features/authoring/index.ts +41 -0
- package/src/features/authoring/radioGroupReachability.test.ts +19 -0
- package/src/features/authoring/themeRecipeMeta.test.ts +75 -0
- package/src/features/authoring/themeRecipeMeta.ts +14 -0
- package/src/features/authoring/utils/createManifestBindings.ts +47 -0
- package/src/features/authoring/utils/finalizeFeatureMetadata.ts +26 -0
- package/src/features/avatar/adapters/inbound/Avatar.tsx +3 -3
- package/src/features/avatar/adapters/inbound/AvatarGroup.tsx +2 -2
- package/src/features/avatar/avatarGroupMeta.ts +1 -1
- package/src/features/avatar/avatarMeta.ts +1 -1
- package/src/features/badge/adapters/inbound/Badge.tsx +2 -2
- package/src/features/badge/badgeMeta.ts +1 -1
- package/src/features/badge/utils/resolveBadgeRecipe.test.ts +9 -0
- package/src/features/badge/utils/resolveBadgeRecipe.ts +17 -0
- package/src/features/bottom-sheet/adapters/inbound/BottomSheet.tsx +3 -3
- package/src/features/bottom-sheet/bottomSheetMeta.ts +2 -2
- package/src/features/bottom-sheet/public.test.ts +3 -3
- package/src/features/breadcrumbs/adapters/inbound/Breadcrumbs.tsx +3 -3
- package/src/features/breadcrumbs/breadcrumbsMeta.ts +1 -1
- package/src/features/button/adapters/inbound/Button.tsx +2 -2
- package/src/features/button/adapters/inbound/ButtonGroup.tsx +1 -1
- package/src/features/button/adapters/inbound/IconButton.tsx +2 -2
- package/src/features/button/buttonGroupMeta.ts +1 -1
- package/src/features/button/buttonMeta.ts +3 -3
- package/src/features/button/iconButtonMeta.ts +1 -1
- package/src/features/button/utils/resolveButtonRecipe.test.ts +9 -0
- package/src/features/button/utils/resolveButtonRecipe.ts +17 -0
- package/src/features/button/utils/resolveButtonThemeRecipe.ts +4 -6
- package/src/features/button/utils/themeRecipeMeta.ts +2 -2
- package/src/features/card/adapters/inbound/Card.tsx +3 -3
- package/src/features/card/adapters/inbound/MediaCard.tsx +2 -2
- package/src/features/card/adapters/inbound/MetricCard.tsx +4 -3
- package/src/features/card/adapters/inbound/PostCard.test.tsx +1 -1
- package/src/features/card/adapters/inbound/PostCard.tsx +2 -2
- package/src/features/card/adapters/inbound/ProductCard.test.tsx +1 -1
- package/src/features/card/adapters/inbound/ProductCard.tsx +2 -2
- package/src/features/card/cardMeta.ts +3 -3
- package/src/features/card/mediaCardMeta.ts +2 -2
- package/src/features/card/metricCardMeta.ts +1 -1
- package/src/features/card/postCardMeta.ts +2 -2
- package/src/features/card/productCardMeta.ts +1 -1
- package/src/features/card/utils/resolveCardThemeRecipe.ts +1 -1
- package/src/features/card/utils/resolveCardVariant.test.ts +11 -0
- package/src/features/card/utils/resolveCardVariant.ts +15 -0
- package/src/features/card/utils/themeRecipeMeta.ts +1 -1
- package/src/features/chat/adapters/inbound/ChatListItem.test.tsx +11 -0
- package/src/features/chat/adapters/inbound/ChatListItem.tsx +227 -0
- package/src/features/chat/adapters/inbound/MessageBubble.tsx +276 -0
- package/src/features/chat/chatListItemMeta.ts +74 -0
- package/src/features/chat/messageBubbleMeta.ts +68 -0
- package/src/features/chat/public.ts +11 -0
- package/src/features/chip/adapters/inbound/Chip.tsx +3 -3
- package/src/features/chip/adapters/inbound/ChipGroup.tsx +1 -1
- package/src/features/chip/chipGroupMeta.ts +1 -1
- package/src/features/chip/chipMeta.ts +1 -1
- package/src/features/chip/utils/resolveChipColors.ts +1 -1
- package/src/features/collection-editor/adapters/inbound/CollectionEditor.tsx +122 -0
- package/src/features/collection-editor/meta.ts +10 -0
- package/src/features/collection-editor/public.ts +5 -0
- package/src/features/content-rail/adapters/inbound/ContentRail.tsx +2 -2
- package/src/features/content-rail/adapters/inbound/ContentRailFlow.tsx +1 -1
- package/src/features/content-rail/contentRailMeta.ts +2 -2
- package/src/features/data-table/adapters/inbound/DataTable.tsx +1 -1
- package/src/features/data-table/dataTableMeta.ts +1 -1
- package/src/features/date-picker/adapters/inbound/DatePicker.native.tsx +1 -1
- package/src/features/date-picker/adapters/inbound/DatePicker.web.tsx +1 -1
- package/src/features/date-picker/datePickerMeta.ts +1 -1
- package/src/features/date-picker/public.test.ts +1 -1
- package/src/features/dialog/adapters/inbound/Dialog.tsx +2 -2
- package/src/features/dialog/dialogMeta.ts +2 -2
- package/src/features/dialog/utils/resolveDialogWidth.test.ts +10 -0
- package/src/features/dialog/utils/resolveDialogWidth.ts +13 -0
- package/src/features/empty-state/adapters/inbound/EmptyState.tsx +1 -1
- package/src/features/empty-state/emptyStateMeta.ts +1 -1
- package/src/features/form/adapters/inbound/Form.tsx +1 -1
- package/src/features/form/adapters/inbound/FormActions.tsx +1 -1
- package/src/features/form/adapters/inbound/FormError.tsx +2 -2
- package/src/features/form/checkbox/adapters/inbound/Checkbox.tsx +1 -1
- package/src/features/form/checkbox/adapters/inbound/CheckboxGroup.tsx +1 -1
- package/src/features/form/checkbox/checkboxMeta.ts +1 -1
- package/src/features/form/field/adapters/inbound/Field.tsx +1 -1
- package/src/features/form/field/meta.ts +2 -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/Radio.tsx +1 -1
- package/src/features/form/radio/adapters/inbound/RadioGroup.tsx +2 -2
- package/src/features/form/radio/radioMeta.ts +2 -2
- package/src/features/form/radio/themeRecipeMeta.ts +2 -2
- package/src/features/form/radio/utils/handleRadioOptionKeyDown.test.ts +1 -1
- package/src/features/form/radio/utils/handleRadioOptionKeyDown.ts +1 -1
- package/src/features/form/radio/utils/resolveRadioGroupThemeRecipe.ts +1 -1
- package/src/features/form/search-input/adapters/inbound/SearchInput.tsx +1 -1
- package/src/features/form/search-input/searchInputMeta.ts +1 -1
- package/src/features/form/select/adapters/inbound/Select.native.tsx +1 -1
- package/src/features/form/select/adapters/inbound/Select.web.tsx +1 -1
- package/src/features/form/select/selectMeta.ts +1 -1
- package/src/features/form/switch/adapters/inbound/Switch.tsx +12 -0
- package/src/features/form/switch/public.ts +2 -0
- package/src/features/form/switch/switchMeta.ts +14 -0
- package/src/features/form/text-input/adapters/inbound/TextInput.tsx +3 -3
- package/src/features/form/text-input/textInputMeta.ts +1 -1
- package/src/features/gradient/adapters/inbound/Gradient.tsx +1 -1
- package/src/features/gradient/gradientMeta.ts +2 -2
- package/src/features/gradient/public.test.ts +1 -1
- package/src/features/hero/adapters/inbound/Hero.tsx +1 -1
- package/src/features/hero/heroMeta.ts +1 -1
- package/src/features/icon/adapters/inbound/Icon.tsx +1 -1
- package/src/features/icon/iconMeta.ts +1 -1
- package/src/features/icon/utils/meta.test.ts +1 -1
- package/src/features/icon/utils/resolveIconSize.test.ts +11 -0
- package/src/features/icon/utils/resolveIconSize.ts +13 -0
- package/src/features/image/adapters/inbound/Image.tsx +2 -2
- package/src/features/image/imageMeta.ts +1 -1
- package/src/features/keyboard-avoiding-view/adapters/inbound/KeyboardAvoidingView.tsx +1 -1
- package/src/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.ts +2 -2
- package/src/features/layout/adapters/inbound/AppShell.tsx +1 -1
- package/src/features/layout/adapters/inbound/Divider.tsx +1 -1
- package/src/features/layout/adapters/inbound/Grid.tsx +1 -1
- package/src/features/layout/adapters/inbound/Screen.tsx +2 -2
- package/src/features/layout/adapters/inbound/ScrollView.tsx +1 -1
- package/src/features/layout/adapters/inbound/View.tsx +1 -1
- package/src/features/layout/appShellMeta.ts +1 -1
- package/src/features/layout/constants.ts +1 -1
- package/src/features/layout/dividerMeta.ts +1 -1
- package/src/features/layout/gridMeta.ts +2 -2
- package/src/features/layout/public.test.ts +3 -11
- package/src/features/layout/public.ts +0 -2
- package/src/features/layout/screenMeta.ts +2 -2
- package/src/features/layout/scrollViewMeta.ts +2 -2
- package/src/features/layout/utils/resolvePageMaxWidth.test.ts +10 -0
- package/src/features/layout/utils/resolvePageMaxWidth.ts +13 -0
- package/src/features/layout/viewMeta.ts +2 -2
- package/src/features/list/adapters/inbound/FlatList.tsx +1 -1
- package/src/features/list/adapters/inbound/List.tsx +1 -1
- package/src/features/list/adapters/inbound/ListItem.tsx +2 -2
- package/src/features/list/adapters/inbound/ListSection.tsx +2 -2
- package/src/features/list/adapters/inbound/SectionList.tsx +1 -1
- package/src/features/list/flatListMeta.ts +2 -2
- package/src/features/list/meta.ts +1 -1
- package/src/features/list/sectionListMeta.ts +1 -1
- package/src/features/missing-element/MissingElement.test.ts +3 -3
- package/src/features/missing-element/adapters/inbound/MissingElement.tsx +2 -2
- package/src/features/missing-element/missingElementMeta.ts +1 -1
- package/src/features/pagination/adapters/inbound/Pagination.tsx +1 -1
- package/src/features/pagination/paginationMeta.ts +1 -1
- package/src/features/palette-item/adapters/inbound/PaletteItem.tsx +2 -2
- package/src/features/palette-item/paletteItemMeta.ts +1 -1
- package/src/features/plugin/ZORA_CORE_PLUGIN.ts +9 -0
- package/src/features/plugin/ZORA_CORE_PLUGIN_METADATA.ts +49 -0
- package/src/features/plugin/application/use-cases/composeZoraPluginMetadata.ts +166 -0
- package/src/features/plugin/application/use-cases/composeZoraPlugins.ts +76 -0
- package/src/features/plugin/domain/ZoraPluginCompositionError.ts +21 -0
- package/src/features/plugin/pluginComposition.test.ts +139 -0
- package/src/features/plugin/public.ts +3 -0
- package/src/features/plugin/runtime.ts +2 -0
- package/src/features/popover-menu/adapters/inbound/PopoverMenu.tsx +3 -3
- package/src/features/popover-menu/popoverMenuMeta.ts +1 -1
- package/src/features/progress/adapters/inbound/Progress.tsx +2 -2
- package/src/features/progress/adapters/inbound/ProgressRing.tsx +2 -2
- package/src/features/progress/progressMeta.ts +2 -2
- package/src/features/rating/adapters/inbound/Rating.tsx +4 -4
- package/src/features/rating/ratingMeta.ts +1 -1
- package/src/features/reader/adapters/inbound/ReaderSurface.test.ts +46 -0
- package/src/features/reader/adapters/inbound/ReaderSurface.tsx +349 -0
- package/src/features/reader/meta.ts +296 -0
- package/src/features/reader/public.ts +15 -0
- package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +186 -0
- package/src/features/registry/public.ts +1 -0
- package/src/features/registry/registry.test.ts +97 -0
- package/src/features/scanner/adapters/inbound/BarcodeScannerView.tsx +130 -0
- package/src/features/scanner/adapters/inbound/CameraPermissionView.tsx +112 -0
- package/src/features/scanner/adapters/inbound/ScanOverlay.tsx +100 -0
- package/src/features/scanner/meta.ts +197 -0
- package/src/features/scanner/public.ts +10 -0
- package/src/features/section/adapters/inbound/ScreenSection.tsx +27 -0
- package/src/features/section/adapters/inbound/SectionHeader.tsx +52 -0
- package/src/features/section/public.ts +3 -0
- package/src/features/section/screenSectionMeta.ts +30 -0
- package/src/features/section/sectionHeaderMeta.ts +34 -0
- package/src/features/selection/adapters/inbound/SelectableItem.tsx +114 -0
- package/src/features/selection/adapters/inbound/SelectionProvider.tsx +122 -0
- package/src/features/selection/meta.ts +21 -0
- package/src/features/selection/public.ts +10 -0
- package/src/features/selection/utils/resolveSelectionNextIds.test.ts +61 -0
- package/src/features/selection/utils/resolveSelectionNextIds.ts +71 -0
- package/src/features/skeleton/adapters/inbound/Skeleton.tsx +2 -2
- package/src/features/skeleton/adapters/inbound/SkeletonCard.tsx +1 -1
- package/src/features/skeleton/adapters/inbound/SkeletonList.tsx +1 -1
- package/src/features/skeleton/adapters/inbound/SkeletonText.tsx +1 -1
- package/src/features/skeleton/public.test.ts +1 -1
- package/src/features/skeleton/skeletonMeta.ts +1 -1
- package/src/features/surface/adapters/inbound/Surface.tsx +1 -1
- package/src/features/surface/surfaceMeta.ts +2 -2
- package/src/features/tabs/adapters/inbound/Tab.tsx +1 -1
- package/src/features/tabs/adapters/inbound/TabList.tsx +1 -1
- package/src/features/tabs/adapters/inbound/TabPanel.tsx +1 -1
- package/src/features/tabs/adapters/inbound/Tabs.tsx +1 -1
- package/src/features/tabs/tabListMeta.ts +1 -1
- package/src/features/tabs/tabMeta.ts +1 -1
- package/src/features/tabs/tabPanelMeta.ts +2 -2
- package/src/features/tabs/tabsMeta.ts +1 -1
- package/src/features/theme/ThemeModeToggle.meta.ts +29 -0
- package/src/features/theme/adapters/inbound/ThemeModeToggle.tsx +28 -0
- package/src/features/theme/adapters/inbound/ZoraProvider.tsx +36 -0
- package/src/features/theme/adapters/inbound/ZoraThemeScope.tsx +41 -0
- package/src/features/theme/adapters/inbound/withZoraThemeScope.tsx +26 -0
- package/src/features/theme/application/use-cases/compileZoraTheme.test.ts +166 -0
- package/src/features/theme/application/use-cases/compileZoraTheme.ts +178 -0
- package/src/features/theme/application/use-cases/createZoraThemeConfig.test.ts +75 -0
- package/src/features/theme/application/use-cases/createZoraThemeConfig.ts +23 -0
- package/src/features/theme/colorModel.ts +13 -0
- package/src/features/theme/composition/ZoraRuntimeCapabilities.native.tsx +19 -0
- package/src/features/theme/composition/ZoraRuntimeCapabilities.web.tsx +10 -0
- package/src/features/theme/composition/ZoraThemeRuntimeContext.tsx +17 -0
- package/src/features/theme/composition/useZoraThemeRecipe.ts +7 -0
- package/src/features/theme/public.ts +18 -0
- package/src/features/theme/runtime.ts +9 -0
- package/src/features/theme/themeConfigScope.test.ts +37 -0
- package/src/features/theme/themeScopeStructure.test.ts +228 -0
- package/src/features/theme/utils/resolveThemeModeToggleState.ts +21 -0
- package/src/features/theme/utils/resolveZoraScopedThemeId.ts +25 -0
- package/src/features/theme/utils/resolveZoraThemeRecipe.ts +91 -0
- package/src/features/theme/zoraDefaultTheme.ts +9 -0
- package/src/features/time-picker/adapters/inbound/TimePicker.native.tsx +1 -1
- package/src/features/time-picker/adapters/inbound/TimePicker.web.tsx +1 -1
- package/src/features/time-picker/public.test.ts +1 -1
- package/src/features/time-picker/timePickerMeta.ts +1 -1
- package/src/features/timeline/adapters/inbound/Timeline.tsx +127 -0
- package/src/features/timeline/meta.ts +10 -0
- package/src/features/timeline/public.ts +2 -0
- package/src/features/toast/adapters/inbound/Toast.tsx +1 -1
- package/src/features/toast/public.test.ts +4 -4
- package/src/features/toast/toastMeta.ts +1 -1
- package/src/features/toast/toastProviderMeta.ts +1 -1
- package/src/features/toolbar/adapters/inbound/Toolbar.tsx +1 -1
- package/src/features/toolbar/toolbarMeta.ts +1 -1
- package/src/features/tree-view/adapters/inbound/TreeItem.tsx +102 -0
- package/src/features/tree-view/adapters/inbound/TreeView.tsx +63 -0
- package/src/features/tree-view/meta.ts +21 -0
- package/src/features/tree-view/public.ts +3 -0
- package/src/features/typography/adapters/inbound/Heading.tsx +3 -3
- package/src/features/typography/adapters/inbound/Text.tsx +3 -3
- package/src/features/typography/headingMeta.ts +3 -3
- package/src/features/typography/textMeta.ts +3 -3
- package/src/features/typography/utils/headingThemeRecipeMeta.ts +2 -2
- package/src/features/typography/utils/textThemeRecipeMeta.ts +2 -2
- package/src/features/uploader/adapters/inbound/Uploader.tsx +1 -1
- package/src/features/uploader/public.test.ts +2 -2
- package/src/features/uploader/uploaderMeta.ts +1 -1
- package/src/index.ts +114 -132
- package/src/interactionPolicy.test.ts +11 -15
- package/src/showcaseCoverage.test.ts +1 -7
- package/src/structureOwnership.test.ts +71 -0
- package/src/types/accordion.ts +1 -1
- package/src/types/activity-indicator.ts +1 -1
- package/src/types/app-bar.ts +1 -1
- package/src/types/auth.ts +1 -1
- package/src/types/avatar-group.ts +2 -2
- package/src/types/avatar.ts +2 -2
- package/src/types/badge.ts +5 -2
- package/src/types/base.ts +28 -0
- package/src/types/breadcrumbs.ts +1 -1
- package/src/types/button-group.ts +1 -1
- package/src/types/button.ts +5 -2
- package/src/types/card.ts +3 -2
- package/src/types/chat.ts +70 -0
- package/src/types/checkbox.ts +1 -1
- package/src/types/chip-group.ts +3 -2
- package/src/types/chip.ts +3 -2
- package/src/types/collection-editor.ts +26 -0
- package/src/types/content-rail.ts +1 -1
- package/src/types/control.ts +3 -0
- package/src/types/data-table.ts +1 -1
- package/src/types/date-picker.ts +1 -1
- package/src/types/dialog.ts +2 -2
- package/src/types/empty-state.ts +3 -2
- package/src/types/form.ts +1 -1
- package/src/types/gradient.ts +1 -1
- package/src/types/heading.ts +2 -2
- package/src/types/hero.ts +3 -2
- package/src/types/icon-button.ts +4 -2
- package/src/types/icon.ts +1 -1
- package/src/types/image.ts +1 -1
- package/src/types/keyboard-avoiding-view.ts +1 -1
- package/src/types/layout.ts +3 -9
- package/src/types/list.ts +1 -1
- package/src/types/manifest-bottom-sheet.ts +1 -1
- package/src/types/manifest-list.ts +1 -1
- package/src/types/media-card.ts +2 -2
- package/src/types/metric-card.ts +3 -2
- package/src/types/missing-element.ts +1 -1
- package/src/types/pagination.ts +1 -1
- package/src/types/palette-item.ts +1 -1
- package/src/types/plugin.ts +43 -0
- package/src/types/popover-menu.ts +1 -1
- package/src/types/post-card.ts +3 -2
- package/src/types/product-card.ts +1 -1
- package/src/types/progress.ts +3 -2
- package/src/types/provider.ts +1 -1
- package/src/types/radio.ts +1 -1
- package/src/types/rating.ts +3 -2
- package/src/types/reader.ts +80 -0
- package/src/types/registry.ts +3 -0
- package/src/types/scanner.ts +47 -0
- package/src/types/search-input.ts +2 -2
- package/src/types/section.ts +17 -0
- package/src/types/select.ts +1 -1
- package/src/types/skeleton.ts +1 -1
- package/src/types/surface.ts +1 -1
- package/src/types/switch.ts +5 -0
- package/src/types/tabs.ts +1 -1
- package/src/types/text-input.ts +2 -2
- package/src/types/text.ts +2 -2
- package/src/types/theme-recipe.ts +37 -0
- package/src/types/theme.ts +91 -0
- package/src/types/time-picker.ts +1 -1
- package/src/types/timeline.ts +20 -0
- package/src/types/toast.ts +1 -1
- package/src/types/toolbar.ts +1 -1
- package/src/types/tree-view.ts +32 -0
- package/src/types/upload.ts +1 -1
- package/dist/constants/keyboard.d.ts +0 -3
- package/dist/constants/keyboard.d.ts.map +0 -1
- package/dist/constants/keyboard.js +0 -8
- package/dist/constants/keyboard.js.map +0 -1
- package/dist/constants.d.ts +0 -35
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js +0 -42
- package/dist/constants.js.map +0 -1
- package/dist/corePlugin.d.ts +0 -4
- package/dist/corePlugin.d.ts.map +0 -1
- package/dist/corePlugin.js +0 -8
- package/dist/corePlugin.js.map +0 -1
- package/dist/corePluginMetadata.d.ts +0 -3
- package/dist/corePluginMetadata.d.ts.map +0 -1
- package/dist/corePluginMetadata.js +0 -40
- package/dist/corePluginMetadata.js.map +0 -1
- package/dist/features/layout/adapters/inbound/ScreenSection.d.ts +0 -5
- package/dist/features/layout/adapters/inbound/ScreenSection.d.ts.map +0 -1
- package/dist/features/layout/adapters/inbound/ScreenSection.js +0 -13
- package/dist/features/layout/adapters/inbound/ScreenSection.js.map +0 -1
- package/dist/features/layout/screenSectionMeta.d.ts +0 -28
- package/dist/features/layout/screenSectionMeta.d.ts.map +0 -1
- package/dist/features/layout/screenSectionMeta.js +0 -29
- package/dist/features/layout/screenSectionMeta.js.map +0 -1
- package/dist/internal/colorModel.d.ts +0 -10
- package/dist/internal/colorModel.d.ts.map +0 -1
- package/dist/internal/colorModel.js +0 -25
- package/dist/internal/colorModel.js.map +0 -1
- package/dist/internal/recipes.d.ts +0 -23
- package/dist/internal/recipes.d.ts.map +0 -1
- package/dist/internal/recipes.js +0 -59
- package/dist/internal/recipes.js.map +0 -1
- package/dist/metadata/allowedChildren.d.ts +0 -5
- package/dist/metadata/allowedChildren.d.ts.map +0 -1
- package/dist/metadata/allowedChildren.js +0 -90
- package/dist/metadata/allowedChildren.js.map +0 -1
- package/dist/metadata/bindableComponentMeta.d.ts +0 -1011
- package/dist/metadata/bindableComponentMeta.d.ts.map +0 -1
- package/dist/metadata/bindableComponentMeta.js +0 -509
- package/dist/metadata/bindableComponentMeta.js.map +0 -1
- package/dist/metadata/componentMeta.d.ts +0 -3
- package/dist/metadata/componentMeta.d.ts.map +0 -1
- package/dist/metadata/componentMeta.js +0 -196
- package/dist/metadata/componentMeta.js.map +0 -1
- package/dist/metadata/index.d.ts +0 -11
- package/dist/metadata/index.d.ts.map +0 -1
- package/dist/metadata/index.js +0 -7
- package/dist/metadata/index.js.map +0 -1
- package/dist/metadata/themeRecipeMeta.d.ts +0 -3
- package/dist/metadata/themeRecipeMeta.d.ts.map +0 -1
- package/dist/metadata/themeRecipeMeta.js +0 -15
- package/dist/metadata/themeRecipeMeta.js.map +0 -1
- package/dist/metadata/themeRecipeTypes.d.ts +0 -31
- package/dist/metadata/themeRecipeTypes.d.ts.map +0 -1
- package/dist/metadata/themeRecipeTypes.js +0 -8
- package/dist/metadata/themeRecipeTypes.js.map +0 -1
- package/dist/metadata/types.d.ts +0 -82
- package/dist/metadata/types.d.ts.map +0 -1
- package/dist/metadata/types.js +0 -2
- package/dist/metadata/types.js.map +0 -1
- package/dist/patterns/chat-list-item/ChatListItem.d.ts +0 -9
- package/dist/patterns/chat-list-item/ChatListItem.d.ts.map +0 -1
- package/dist/patterns/chat-list-item/ChatListItem.js +0 -115
- package/dist/patterns/chat-list-item/ChatListItem.js.map +0 -1
- package/dist/patterns/chat-list-item/index.d.ts +0 -3
- package/dist/patterns/chat-list-item/index.d.ts.map +0 -1
- package/dist/patterns/chat-list-item/index.js +0 -2
- package/dist/patterns/chat-list-item/index.js.map +0 -1
- package/dist/patterns/chat-list-item/meta.d.ts +0 -74
- package/dist/patterns/chat-list-item/meta.d.ts.map +0 -1
- package/dist/patterns/chat-list-item/meta.js +0 -72
- package/dist/patterns/chat-list-item/meta.js.map +0 -1
- package/dist/patterns/chat-list-item/types.d.ts +0 -31
- package/dist/patterns/chat-list-item/types.d.ts.map +0 -1
- package/dist/patterns/chat-list-item/types.js +0 -2
- package/dist/patterns/chat-list-item/types.js.map +0 -1
- package/dist/patterns/collection-editor/CollectionEditor.d.ts +0 -9
- package/dist/patterns/collection-editor/CollectionEditor.d.ts.map +0 -1
- package/dist/patterns/collection-editor/CollectionEditor.js +0 -49
- package/dist/patterns/collection-editor/CollectionEditor.js.map +0 -1
- package/dist/patterns/collection-editor/index.d.ts +0 -3
- package/dist/patterns/collection-editor/index.d.ts.map +0 -1
- package/dist/patterns/collection-editor/index.js +0 -3
- package/dist/patterns/collection-editor/index.js.map +0 -1
- package/dist/patterns/collection-editor/meta.d.ts.map +0 -1
- package/dist/patterns/collection-editor/meta.js.map +0 -1
- package/dist/patterns/collection-editor/types.d.ts +0 -24
- package/dist/patterns/collection-editor/types.d.ts.map +0 -1
- package/dist/patterns/collection-editor/types.js +0 -2
- package/dist/patterns/collection-editor/types.js.map +0 -1
- package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts +0 -9
- package/dist/patterns/confirm-dialog/ConfirmDialog.d.ts.map +0 -1
- package/dist/patterns/confirm-dialog/ConfirmDialog.js +0 -24
- package/dist/patterns/confirm-dialog/ConfirmDialog.js.map +0 -1
- package/dist/patterns/confirm-dialog/index.d.ts +0 -3
- package/dist/patterns/confirm-dialog/index.d.ts.map +0 -1
- package/dist/patterns/confirm-dialog/index.js +0 -2
- package/dist/patterns/confirm-dialog/index.js.map +0 -1
- package/dist/patterns/confirm-dialog/meta.d.ts +0 -9
- package/dist/patterns/confirm-dialog/meta.d.ts.map +0 -1
- package/dist/patterns/confirm-dialog/meta.js +0 -9
- package/dist/patterns/confirm-dialog/meta.js.map +0 -1
- package/dist/patterns/confirm-dialog/types.d.ts +0 -18
- package/dist/patterns/confirm-dialog/types.d.ts.map +0 -1
- package/dist/patterns/confirm-dialog/types.js +0 -2
- package/dist/patterns/confirm-dialog/types.js.map +0 -1
- package/dist/patterns/filter-bar/FilterBar.d.ts +0 -9
- package/dist/patterns/filter-bar/FilterBar.d.ts.map +0 -1
- package/dist/patterns/filter-bar/FilterBar.js +0 -17
- package/dist/patterns/filter-bar/FilterBar.js.map +0 -1
- package/dist/patterns/filter-bar/index.d.ts +0 -3
- package/dist/patterns/filter-bar/index.d.ts.map +0 -1
- package/dist/patterns/filter-bar/index.js +0 -2
- package/dist/patterns/filter-bar/index.js.map +0 -1
- package/dist/patterns/filter-bar/meta.d.ts +0 -9
- package/dist/patterns/filter-bar/meta.d.ts.map +0 -1
- package/dist/patterns/filter-bar/meta.js +0 -9
- package/dist/patterns/filter-bar/meta.js.map +0 -1
- package/dist/patterns/filter-bar/types.d.ts +0 -9
- package/dist/patterns/filter-bar/types.d.ts.map +0 -1
- package/dist/patterns/filter-bar/types.js +0 -2
- package/dist/patterns/filter-bar/types.js.map +0 -1
- package/dist/patterns/inspector-field/InspectorField.d.ts +0 -9
- package/dist/patterns/inspector-field/InspectorField.d.ts.map +0 -1
- package/dist/patterns/inspector-field/InspectorField.js +0 -19
- package/dist/patterns/inspector-field/InspectorField.js.map +0 -1
- package/dist/patterns/inspector-field/index.d.ts +0 -3
- package/dist/patterns/inspector-field/index.d.ts.map +0 -1
- package/dist/patterns/inspector-field/index.js +0 -3
- package/dist/patterns/inspector-field/index.js.map +0 -1
- package/dist/patterns/inspector-field/meta.d.ts +0 -9
- package/dist/patterns/inspector-field/meta.d.ts.map +0 -1
- package/dist/patterns/inspector-field/meta.js +0 -9
- package/dist/patterns/inspector-field/meta.js.map +0 -1
- package/dist/patterns/inspector-field/types.d.ts +0 -15
- package/dist/patterns/inspector-field/types.d.ts.map +0 -1
- package/dist/patterns/inspector-field/types.js +0 -2
- package/dist/patterns/inspector-field/types.js.map +0 -1
- package/dist/patterns/message-bubble/MessageBubble.d.ts +0 -9
- package/dist/patterns/message-bubble/MessageBubble.d.ts.map +0 -1
- package/dist/patterns/message-bubble/MessageBubble.js +0 -133
- package/dist/patterns/message-bubble/MessageBubble.js.map +0 -1
- package/dist/patterns/message-bubble/index.d.ts +0 -3
- package/dist/patterns/message-bubble/index.d.ts.map +0 -1
- package/dist/patterns/message-bubble/index.js +0 -2
- package/dist/patterns/message-bubble/index.js.map +0 -1
- package/dist/patterns/message-bubble/meta.d.ts +0 -67
- package/dist/patterns/message-bubble/meta.d.ts.map +0 -1
- package/dist/patterns/message-bubble/meta.js +0 -66
- package/dist/patterns/message-bubble/meta.js.map +0 -1
- package/dist/patterns/message-bubble/types.d.ts +0 -40
- package/dist/patterns/message-bubble/types.d.ts.map +0 -1
- package/dist/patterns/message-bubble/types.js +0 -2
- package/dist/patterns/message-bubble/types.js.map +0 -1
- package/dist/patterns/notice/Notice.d.ts +0 -9
- package/dist/patterns/notice/Notice.d.ts.map +0 -1
- package/dist/patterns/notice/Notice.js +0 -20
- package/dist/patterns/notice/Notice.js.map +0 -1
- package/dist/patterns/notice/index.d.ts +0 -3
- package/dist/patterns/notice/index.d.ts.map +0 -1
- package/dist/patterns/notice/index.js +0 -2
- package/dist/patterns/notice/index.js.map +0 -1
- package/dist/patterns/notice/meta.d.ts +0 -34
- package/dist/patterns/notice/meta.d.ts.map +0 -1
- package/dist/patterns/notice/meta.js +0 -35
- package/dist/patterns/notice/meta.js.map +0 -1
- package/dist/patterns/notice/types.d.ts +0 -11
- package/dist/patterns/notice/types.d.ts.map +0 -1
- package/dist/patterns/notice/types.js +0 -2
- package/dist/patterns/notice/types.js.map +0 -1
- package/dist/patterns/panel/Panel.d.ts +0 -7
- package/dist/patterns/panel/Panel.d.ts.map +0 -1
- package/dist/patterns/panel/Panel.js +0 -15
- package/dist/patterns/panel/Panel.js.map +0 -1
- package/dist/patterns/panel/index.d.ts +0 -3
- package/dist/patterns/panel/index.d.ts.map +0 -1
- package/dist/patterns/panel/index.js +0 -2
- package/dist/patterns/panel/index.js.map +0 -1
- package/dist/patterns/panel/meta.d.ts +0 -80
- package/dist/patterns/panel/meta.d.ts.map +0 -1
- package/dist/patterns/panel/meta.js +0 -49
- package/dist/patterns/panel/meta.js.map +0 -1
- package/dist/patterns/panel/themeRecipeMeta.d.ts +0 -31
- package/dist/patterns/panel/themeRecipeMeta.d.ts.map +0 -1
- package/dist/patterns/panel/themeRecipeMeta.js +0 -31
- package/dist/patterns/panel/themeRecipeMeta.js.map +0 -1
- package/dist/patterns/panel/types.d.ts +0 -16
- package/dist/patterns/panel/types.d.ts.map +0 -1
- package/dist/patterns/panel/types.js +0 -2
- package/dist/patterns/panel/types.js.map +0 -1
- package/dist/patterns/reader/ReaderSurface.d.ts +0 -11
- package/dist/patterns/reader/ReaderSurface.d.ts.map +0 -1
- package/dist/patterns/reader/ReaderSurface.js +0 -96
- package/dist/patterns/reader/ReaderSurface.js.map +0 -1
- package/dist/patterns/reader/index.d.ts +0 -4
- package/dist/patterns/reader/index.d.ts.map +0 -1
- package/dist/patterns/reader/index.js +0 -3
- package/dist/patterns/reader/index.js.map +0 -1
- package/dist/patterns/reader/meta.d.ts +0 -328
- package/dist/patterns/reader/meta.d.ts.map +0 -1
- package/dist/patterns/reader/meta.js +0 -293
- package/dist/patterns/reader/meta.js.map +0 -1
- package/dist/patterns/reader/resolveReaderProgress.d.ts.map +0 -1
- package/dist/patterns/reader/resolveReaderProgress.js.map +0 -1
- package/dist/patterns/reader/types.d.ts +0 -69
- package/dist/patterns/reader/types.d.ts.map +0 -1
- package/dist/patterns/reader/types.js +0 -2
- package/dist/patterns/reader/types.js.map +0 -1
- package/dist/patterns/scanner/BarcodeScannerView.d.ts +0 -11
- package/dist/patterns/scanner/BarcodeScannerView.d.ts.map +0 -1
- package/dist/patterns/scanner/BarcodeScannerView.js +0 -77
- package/dist/patterns/scanner/BarcodeScannerView.js.map +0 -1
- package/dist/patterns/scanner/CameraPermissionView.d.ts +0 -11
- package/dist/patterns/scanner/CameraPermissionView.d.ts.map +0 -1
- package/dist/patterns/scanner/CameraPermissionView.js +0 -62
- package/dist/patterns/scanner/CameraPermissionView.js.map +0 -1
- package/dist/patterns/scanner/ScanOverlay.d.ts +0 -11
- package/dist/patterns/scanner/ScanOverlay.d.ts.map +0 -1
- package/dist/patterns/scanner/ScanOverlay.js +0 -85
- package/dist/patterns/scanner/ScanOverlay.js.map +0 -1
- package/dist/patterns/scanner/index.d.ts +0 -5
- package/dist/patterns/scanner/index.d.ts.map +0 -1
- package/dist/patterns/scanner/index.js +0 -4
- package/dist/patterns/scanner/index.js.map +0 -1
- package/dist/patterns/scanner/meta.d.ts +0 -203
- package/dist/patterns/scanner/meta.d.ts.map +0 -1
- package/dist/patterns/scanner/meta.js +0 -193
- package/dist/patterns/scanner/meta.js.map +0 -1
- package/dist/patterns/scanner/types.d.ts +0 -42
- package/dist/patterns/scanner/types.d.ts.map +0 -1
- package/dist/patterns/scanner/types.js +0 -2
- package/dist/patterns/scanner/types.js.map +0 -1
- package/dist/patterns/section-header/SectionHeader.d.ts +0 -9
- package/dist/patterns/section-header/SectionHeader.d.ts.map +0 -1
- package/dist/patterns/section-header/SectionHeader.js +0 -28
- package/dist/patterns/section-header/SectionHeader.js.map +0 -1
- package/dist/patterns/section-header/index.d.ts +0 -3
- package/dist/patterns/section-header/index.d.ts.map +0 -1
- package/dist/patterns/section-header/index.js +0 -2
- package/dist/patterns/section-header/index.js.map +0 -1
- package/dist/patterns/section-header/meta.d.ts +0 -33
- package/dist/patterns/section-header/meta.d.ts.map +0 -1
- package/dist/patterns/section-header/meta.js +0 -33
- package/dist/patterns/section-header/meta.js.map +0 -1
- package/dist/patterns/section-header/types.d.ts +0 -9
- package/dist/patterns/section-header/types.d.ts.map +0 -1
- package/dist/patterns/section-header/types.js +0 -2
- package/dist/patterns/section-header/types.js.map +0 -1
- package/dist/patterns/selection/SelectableItem.d.ts +0 -9
- package/dist/patterns/selection/SelectableItem.d.ts.map +0 -1
- package/dist/patterns/selection/SelectableItem.js.map +0 -1
- package/dist/patterns/selection/SelectionProvider.d.ts +0 -11
- package/dist/patterns/selection/SelectionProvider.d.ts.map +0 -1
- package/dist/patterns/selection/SelectionProvider.js +0 -74
- package/dist/patterns/selection/SelectionProvider.js.map +0 -1
- package/dist/patterns/selection/index.d.ts +0 -4
- package/dist/patterns/selection/index.d.ts.map +0 -1
- package/dist/patterns/selection/index.js +0 -3
- package/dist/patterns/selection/index.js.map +0 -1
- package/dist/patterns/selection/meta.d.ts.map +0 -1
- package/dist/patterns/selection/meta.js.map +0 -1
- package/dist/patterns/selection/resolveSelectionNextIds.d.ts +0 -15
- package/dist/patterns/selection/resolveSelectionNextIds.d.ts.map +0 -1
- package/dist/patterns/selection/resolveSelectionNextIds.js.map +0 -1
- package/dist/patterns/selection/types.d.ts +0 -41
- package/dist/patterns/selection/types.d.ts.map +0 -1
- package/dist/patterns/selection/types.js +0 -2
- package/dist/patterns/selection/types.js.map +0 -1
- package/dist/patterns/switch-field/SwitchField.d.ts +0 -8
- package/dist/patterns/switch-field/SwitchField.d.ts.map +0 -1
- package/dist/patterns/switch-field/SwitchField.js +0 -13
- package/dist/patterns/switch-field/SwitchField.js.map +0 -1
- package/dist/patterns/switch-field/index.d.ts +0 -3
- package/dist/patterns/switch-field/index.d.ts.map +0 -1
- package/dist/patterns/switch-field/index.js +0 -3
- package/dist/patterns/switch-field/index.js.map +0 -1
- package/dist/patterns/switch-field/meta.d.ts +0 -9
- package/dist/patterns/switch-field/meta.d.ts.map +0 -1
- package/dist/patterns/switch-field/meta.js +0 -9
- package/dist/patterns/switch-field/meta.js.map +0 -1
- package/dist/patterns/switch-field/types.d.ts +0 -10
- package/dist/patterns/switch-field/types.d.ts.map +0 -1
- package/dist/patterns/switch-field/types.js +0 -2
- package/dist/patterns/switch-field/types.js.map +0 -1
- package/dist/patterns/theme-composer/ThemeComposer.d.ts +0 -9
- package/dist/patterns/theme-composer/ThemeComposer.d.ts.map +0 -1
- package/dist/patterns/theme-composer/ThemeComposer.js +0 -217
- package/dist/patterns/theme-composer/ThemeComposer.js.map +0 -1
- package/dist/patterns/theme-composer/index.d.ts +0 -3
- package/dist/patterns/theme-composer/index.d.ts.map +0 -1
- package/dist/patterns/theme-composer/index.js +0 -2
- package/dist/patterns/theme-composer/index.js.map +0 -1
- package/dist/patterns/theme-composer/meta.d.ts +0 -9
- package/dist/patterns/theme-composer/meta.d.ts.map +0 -1
- package/dist/patterns/theme-composer/meta.js +0 -9
- package/dist/patterns/theme-composer/meta.js.map +0 -1
- package/dist/patterns/theme-composer/types.d.ts +0 -12
- package/dist/patterns/theme-composer/types.d.ts.map +0 -1
- package/dist/patterns/theme-composer/types.js +0 -2
- package/dist/patterns/theme-composer/types.js.map +0 -1
- package/dist/patterns/timeline/Timeline.d.ts +0 -9
- package/dist/patterns/timeline/Timeline.d.ts.map +0 -1
- package/dist/patterns/timeline/Timeline.js +0 -75
- package/dist/patterns/timeline/Timeline.js.map +0 -1
- package/dist/patterns/timeline/index.d.ts +0 -3
- package/dist/patterns/timeline/index.d.ts.map +0 -1
- package/dist/patterns/timeline/index.js +0 -2
- package/dist/patterns/timeline/index.js.map +0 -1
- package/dist/patterns/timeline/meta.d.ts.map +0 -1
- package/dist/patterns/timeline/meta.js.map +0 -1
- package/dist/patterns/timeline/types.d.ts +0 -18
- package/dist/patterns/timeline/types.d.ts.map +0 -1
- package/dist/patterns/timeline/types.js +0 -2
- package/dist/patterns/timeline/types.js.map +0 -1
- package/dist/patterns/tree-view/TreeItem.d.ts +0 -20
- package/dist/patterns/tree-view/TreeItem.d.ts.map +0 -1
- package/dist/patterns/tree-view/TreeItem.js +0 -38
- package/dist/patterns/tree-view/TreeItem.js.map +0 -1
- package/dist/patterns/tree-view/TreeView.d.ts +0 -9
- package/dist/patterns/tree-view/TreeView.d.ts.map +0 -1
- package/dist/patterns/tree-view/TreeView.js +0 -29
- package/dist/patterns/tree-view/TreeView.js.map +0 -1
- package/dist/patterns/tree-view/index.d.ts +0 -4
- package/dist/patterns/tree-view/index.d.ts.map +0 -1
- package/dist/patterns/tree-view/index.js +0 -4
- package/dist/patterns/tree-view/index.js.map +0 -1
- package/dist/patterns/tree-view/meta.d.ts.map +0 -1
- package/dist/patterns/tree-view/meta.js.map +0 -1
- package/dist/patterns/tree-view/types.d.ts +0 -29
- package/dist/patterns/tree-view/types.d.ts.map +0 -1
- package/dist/patterns/tree-view/types.js +0 -2
- package/dist/patterns/tree-view/types.js.map +0 -1
- package/dist/pluginComposition.d.ts +0 -45
- package/dist/pluginComposition.d.ts.map +0 -1
- package/dist/pluginComposition.js +0 -153
- package/dist/pluginComposition.js.map +0 -1
- package/dist/registry.d.ts +0 -4
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -174
- package/dist/registry.js.map +0 -1
- package/dist/theme/ThemeModeToggle.d.ts +0 -3
- package/dist/theme/ThemeModeToggle.d.ts.map +0 -1
- package/dist/theme/ThemeModeToggle.js +0 -9
- package/dist/theme/ThemeModeToggle.js.map +0 -1
- package/dist/theme/ThemeModeToggle.meta.d.ts.map +0 -1
- package/dist/theme/ThemeModeToggle.meta.js.map +0 -1
- package/dist/theme/ThemeModeToggleProps.d.ts +0 -3
- package/dist/theme/ThemeModeToggleProps.d.ts.map +0 -1
- package/dist/theme/ThemeModeToggleProps.js +0 -2
- package/dist/theme/ThemeModeToggleProps.js.map +0 -1
- package/dist/theme/ZoraBaseProps.d.ts +0 -24
- package/dist/theme/ZoraBaseProps.d.ts.map +0 -1
- package/dist/theme/ZoraBaseProps.js +0 -2
- package/dist/theme/ZoraBaseProps.js.map +0 -1
- package/dist/theme/ZoraProvider.d.ts +0 -6
- package/dist/theme/ZoraProvider.d.ts.map +0 -1
- package/dist/theme/ZoraProvider.js +0 -19
- package/dist/theme/ZoraProvider.js.map +0 -1
- package/dist/theme/ZoraRuntimeCapabilities.d.ts.map +0 -1
- package/dist/theme/ZoraRuntimeCapabilities.js.map +0 -1
- package/dist/theme/ZoraRuntimeCapabilities.native.d.ts +0 -4
- package/dist/theme/ZoraRuntimeCapabilities.native.d.ts.map +0 -1
- package/dist/theme/ZoraRuntimeCapabilities.native.js.map +0 -1
- package/dist/theme/ZoraRuntimeCapabilities.web.d.ts +0 -4
- package/dist/theme/ZoraRuntimeCapabilities.web.d.ts.map +0 -1
- package/dist/theme/ZoraRuntimeCapabilities.web.js.map +0 -1
- package/dist/theme/ZoraThemeRuntimeContext.d.ts +0 -9
- package/dist/theme/ZoraThemeRuntimeContext.d.ts.map +0 -1
- package/dist/theme/ZoraThemeRuntimeContext.js +0 -10
- package/dist/theme/ZoraThemeRuntimeContext.js.map +0 -1
- package/dist/theme/ZoraThemeScope.d.ts +0 -10
- package/dist/theme/ZoraThemeScope.d.ts.map +0 -1
- package/dist/theme/ZoraThemeScope.js +0 -37
- package/dist/theme/ZoraThemeScope.js.map +0 -1
- package/dist/theme/compileZoraTheme.d.ts +0 -8
- package/dist/theme/compileZoraTheme.d.ts.map +0 -1
- package/dist/theme/compileZoraTheme.js +0 -128
- package/dist/theme/compileZoraTheme.js.map +0 -1
- package/dist/theme/createZoraThemeConfig.d.ts +0 -5
- package/dist/theme/createZoraThemeConfig.d.ts.map +0 -1
- package/dist/theme/createZoraThemeConfig.js +0 -19
- package/dist/theme/createZoraThemeConfig.js.map +0 -1
- package/dist/theme/index.d.ts +0 -11
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/index.js +0 -7
- package/dist/theme/index.js.map +0 -1
- package/dist/theme/public.d.ts +0 -5
- package/dist/theme/public.d.ts.map +0 -1
- package/dist/theme/public.js +0 -4
- package/dist/theme/public.js.map +0 -1
- package/dist/theme/resolveThemeModeToggleState.d.ts +0 -9
- package/dist/theme/resolveThemeModeToggleState.d.ts.map +0 -1
- package/dist/theme/resolveThemeModeToggleState.js.map +0 -1
- package/dist/theme/resolveZoraScopedThemeId.d.ts +0 -6
- package/dist/theme/resolveZoraScopedThemeId.d.ts.map +0 -1
- package/dist/theme/resolveZoraScopedThemeId.js.map +0 -1
- package/dist/theme/resolveZoraThemeRecipe.d.ts.map +0 -1
- package/dist/theme/resolveZoraThemeRecipe.js +0 -56
- package/dist/theme/resolveZoraThemeRecipe.js.map +0 -1
- package/dist/theme/types.d.ts +0 -59
- package/dist/theme/types.d.ts.map +0 -1
- package/dist/theme/types.js +0 -2
- package/dist/theme/types.js.map +0 -1
- package/dist/theme/useZoraTheme.d.ts +0 -8
- package/dist/theme/useZoraTheme.d.ts.map +0 -1
- package/dist/theme/useZoraTheme.js.map +0 -1
- package/dist/theme/useZoraThemeRecipe.d.ts.map +0 -1
- package/dist/theme/useZoraThemeRecipe.js +0 -7
- package/dist/theme/useZoraThemeRecipe.js.map +0 -1
- package/dist/theme/withZoraThemeScope.d.ts +0 -4
- package/dist/theme/withZoraThemeScope.d.ts.map +0 -1
- package/dist/theme/withZoraThemeScope.js.map +0 -1
- package/dist/theme/zoraDefaultTheme.d.ts +0 -3
- package/dist/theme/zoraDefaultTheme.d.ts.map +0 -1
- package/dist/theme/zoraDefaultTheme.js.map +0 -1
- package/dist/utils/createManifestBindings.d.ts +0 -5
- package/dist/utils/createManifestBindings.d.ts.map +0 -1
- package/dist/utils/createManifestBindings.js.map +0 -1
- package/dist/utils/finalizeFeatureMetadata.d.ts +0 -4
- package/dist/utils/finalizeFeatureMetadata.d.ts.map +0 -1
- package/dist/utils/finalizeFeatureMetadata.js.map +0 -1
- package/src/constants.ts +0 -42
- package/src/corePlugin.ts +0 -9
- package/src/corePluginMetadata.ts +0 -53
- package/src/featureManifest.test.ts +0 -98
- package/src/features/layout/adapters/inbound/ScreenSection.tsx +0 -27
- package/src/features/layout/screenSectionMeta.ts +0 -30
- package/src/internal/colorModel.ts +0 -39
- package/src/internal/recipes.test.ts +0 -46
- package/src/internal/recipes.ts +0 -92
- package/src/metadata/allowedChildren.ts +0 -92
- package/src/metadata/authoringMeta.test.ts +0 -46
- package/src/metadata/bindableComponentMeta.ts +0 -513
- package/src/metadata/componentMeta.test.ts +0 -449
- package/src/metadata/componentMeta.ts +0 -206
- package/src/metadata/index.ts +0 -40
- package/src/metadata/radioGroupReachability.test.ts +0 -20
- package/src/metadata/themeRecipeMeta.test.ts +0 -76
- package/src/metadata/themeRecipeMeta.ts +0 -16
- package/src/metadata/themeRecipeTypes.ts +0 -45
- package/src/patterns/chat-list-item/ChatListItem.test.tsx +0 -11
- package/src/patterns/chat-list-item/ChatListItem.tsx +0 -227
- package/src/patterns/chat-list-item/index.ts +0 -2
- package/src/patterns/chat-list-item/meta.ts +0 -74
- package/src/patterns/chat-list-item/types.ts +0 -33
- package/src/patterns/collection-editor/CollectionEditor.tsx +0 -122
- package/src/patterns/collection-editor/index.ts +0 -2
- package/src/patterns/collection-editor/meta.ts +0 -10
- package/src/patterns/collection-editor/types.ts +0 -26
- package/src/patterns/confirm-dialog/ConfirmDialog.tsx +0 -69
- package/src/patterns/confirm-dialog/index.ts +0 -2
- package/src/patterns/confirm-dialog/meta.ts +0 -10
- package/src/patterns/confirm-dialog/types.ts +0 -19
- package/src/patterns/filter-bar/FilterBar.tsx +0 -31
- package/src/patterns/filter-bar/index.ts +0 -2
- package/src/patterns/filter-bar/meta.ts +0 -10
- package/src/patterns/filter-bar/types.ts +0 -10
- package/src/patterns/inspector-field/InspectorField.tsx +0 -32
- package/src/patterns/inspector-field/index.ts +0 -2
- package/src/patterns/inspector-field/meta.ts +0 -10
- package/src/patterns/inspector-field/types.ts +0 -16
- package/src/patterns/message-bubble/MessageBubble.tsx +0 -276
- package/src/patterns/message-bubble/index.ts +0 -8
- package/src/patterns/message-bubble/meta.ts +0 -68
- package/src/patterns/message-bubble/types.ts +0 -43
- package/src/patterns/notice/Notice.tsx +0 -41
- package/src/patterns/notice/index.ts +0 -2
- package/src/patterns/notice/meta.ts +0 -36
- package/src/patterns/notice/types.ts +0 -12
- package/src/patterns/panel/Panel.tsx +0 -26
- package/src/patterns/panel/index.ts +0 -2
- package/src/patterns/panel/meta.ts +0 -51
- package/src/patterns/panel/themeRecipeMeta.ts +0 -32
- package/src/patterns/panel/types.ts +0 -17
- package/src/patterns/reader/ReaderSurface.test.ts +0 -46
- package/src/patterns/reader/ReaderSurface.tsx +0 -349
- package/src/patterns/reader/index.ts +0 -15
- package/src/patterns/reader/meta.ts +0 -296
- package/src/patterns/reader/types.ts +0 -80
- package/src/patterns/scanner/BarcodeScannerView.tsx +0 -130
- package/src/patterns/scanner/CameraPermissionView.tsx +0 -112
- package/src/patterns/scanner/ScanOverlay.tsx +0 -100
- package/src/patterns/scanner/index.ts +0 -10
- package/src/patterns/scanner/meta.ts +0 -197
- package/src/patterns/scanner/types.ts +0 -47
- package/src/patterns/section-header/SectionHeader.tsx +0 -52
- package/src/patterns/section-header/index.ts +0 -2
- package/src/patterns/section-header/meta.ts +0 -34
- package/src/patterns/section-header/types.ts +0 -10
- package/src/patterns/selection/SelectableItem.tsx +0 -110
- package/src/patterns/selection/SelectionProvider.tsx +0 -112
- package/src/patterns/selection/index.ts +0 -10
- package/src/patterns/selection/meta.ts +0 -21
- package/src/patterns/selection/resolveSelectionNextIds.test.ts +0 -61
- package/src/patterns/selection/resolveSelectionNextIds.ts +0 -71
- package/src/patterns/switch-field/SwitchField.tsx +0 -42
- package/src/patterns/switch-field/index.ts +0 -2
- package/src/patterns/switch-field/meta.ts +0 -10
- package/src/patterns/switch-field/types.ts +0 -11
- package/src/patterns/theme-composer/ThemeComposer.test.ts +0 -212
- package/src/patterns/theme-composer/ThemeComposer.tsx +0 -321
- package/src/patterns/theme-composer/index.ts +0 -2
- package/src/patterns/theme-composer/meta.ts +0 -10
- package/src/patterns/theme-composer/types.ts +0 -13
- package/src/patterns/timeline/Timeline.tsx +0 -127
- package/src/patterns/timeline/index.ts +0 -2
- package/src/patterns/timeline/meta.ts +0 -10
- package/src/patterns/timeline/types.ts +0 -20
- package/src/patterns/tree-view/TreeItem.tsx +0 -102
- package/src/patterns/tree-view/TreeView.tsx +0 -63
- package/src/patterns/tree-view/index.ts +0 -3
- package/src/patterns/tree-view/meta.ts +0 -21
- package/src/patterns/tree-view/types.ts +0 -32
- package/src/pluginComposition.test.ts +0 -141
- package/src/pluginComposition.ts +0 -278
- package/src/registry.test.ts +0 -94
- package/src/registry.ts +0 -218
- package/src/theme/ThemeModeToggle.meta.ts +0 -29
- package/src/theme/ThemeModeToggle.tsx +0 -28
- package/src/theme/ZoraBaseProps.ts +0 -28
- package/src/theme/ZoraProvider.tsx +0 -36
- package/src/theme/ZoraRuntimeCapabilities.native.tsx +0 -19
- package/src/theme/ZoraRuntimeCapabilities.web.tsx +0 -10
- package/src/theme/ZoraThemeRuntimeContext.tsx +0 -17
- package/src/theme/ZoraThemeScope.tsx +0 -56
- package/src/theme/compileZoraTheme.test.ts +0 -162
- package/src/theme/compileZoraTheme.ts +0 -177
- package/src/theme/createZoraThemeConfig.test.ts +0 -75
- package/src/theme/createZoraThemeConfig.ts +0 -23
- package/src/theme/index.ts +0 -10
- package/src/theme/public.ts +0 -18
- package/src/theme/resolveThemeModeToggleState.ts +0 -21
- package/src/theme/resolveZoraScopedThemeId.ts +0 -25
- package/src/theme/resolveZoraThemeRecipe.ts +0 -91
- package/src/theme/themeConfigScope.test.ts +0 -28
- package/src/theme/themeScopeStructure.test.ts +0 -229
- package/src/theme/types.ts +0 -80
- package/src/theme/useZoraThemeRecipe.ts +0 -7
- package/src/theme/withZoraThemeScope.tsx +0 -26
- package/src/theme/zoraDefaultTheme.ts +0 -9
- package/src/utils/createManifestBindings.ts +0 -47
- package/src/utils/finalizeFeatureMetadata.ts +0 -26
- /package/dist/{utils → features/authoring/utils}/createManifestBindings.js +0 -0
- /package/dist/{utils → features/authoring/utils}/finalizeFeatureMetadata.js +0 -0
- /package/dist/{patterns → features}/collection-editor/meta.d.ts +0 -0
- /package/dist/{patterns → features}/collection-editor/meta.js +0 -0
- /package/dist/{patterns/reader → features/reader/utils}/resolveReaderProgress.d.ts +0 -0
- /package/dist/{patterns/reader → features/reader/utils}/resolveReaderProgress.js +0 -0
- /package/dist/{patterns/selection → features/selection/adapters/inbound}/SelectableItem.js +0 -0
- /package/dist/{patterns → features}/selection/meta.d.ts +0 -0
- /package/dist/{patterns → features}/selection/meta.js +0 -0
- /package/dist/{patterns/selection → features/selection/utils}/resolveSelectionNextIds.js +0 -0
- /package/dist/{theme → features/theme}/ThemeModeToggle.meta.d.ts +0 -0
- /package/dist/{theme → features/theme}/ThemeModeToggle.meta.js +0 -0
- /package/dist/{theme → features/theme/adapters/inbound}/withZoraThemeScope.js +0 -0
- /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.d.ts +0 -0
- /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.js +0 -0
- /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.native.js +0 -0
- /package/dist/{theme → features/theme/composition}/ZoraRuntimeCapabilities.web.js +0 -0
- /package/dist/{theme → features/theme/composition}/useZoraTheme.js +0 -0
- /package/dist/{theme → features/theme/composition}/useZoraThemeRecipe.d.ts +0 -0
- /package/dist/{theme → features/theme/utils}/resolveThemeModeToggleState.js +0 -0
- /package/dist/{theme → features/theme/utils}/resolveZoraScopedThemeId.js +0 -0
- /package/dist/{theme → features/theme/utils}/resolveZoraThemeRecipe.d.ts +0 -0
- /package/dist/{theme → features/theme}/zoraDefaultTheme.js +0 -0
- /package/dist/{patterns → features}/timeline/meta.d.ts +0 -0
- /package/dist/{patterns → features}/timeline/meta.js +0 -0
- /package/dist/{patterns → features}/tree-view/meta.d.ts +0 -0
- /package/dist/{patterns → features}/tree-view/meta.js +0 -0
- /package/src/{metadata → features/authoring}/bindableComponentMeta.test.ts +0 -0
- /package/src/{constants/keyboard.ts → features/form/radio/constants.ts} +0 -0
- /package/src/{patterns/reader → features/reader/utils}/resolveReaderProgress.test.ts +0 -0
- /package/src/{patterns/reader → features/reader/utils}/resolveReaderProgress.ts +0 -0
- /package/src/{theme → features/theme/composition}/ZoraRuntimeCapabilities.tsx +0 -0
- /package/src/{theme → features/theme/composition}/useZoraTheme.ts +0 -0
- /package/src/{theme → features/theme/utils}/resolveThemeModeToggleState.test.ts +0 -0
- /package/src/{theme → features/theme/utils}/resolveZoraScopedThemeId.test.ts +0 -0
- /package/src/{theme → features/theme/utils}/resolveZoraThemeRecipe.test.ts +0 -0
- /package/src/{metadata/types.ts → types/authoring.ts} +0 -0
- /package/src/{patterns/selection/types.ts → types/selection.ts} +0 -0
- /package/src/{theme/ThemeModeToggleProps.ts → types/theme-mode-toggle.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
3
|
import type { DatePickerProps } from '../../../../types/date-picker';
|
|
5
4
|
import { useBottomSheet } from '../../../bottom-sheet/public';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
import { DatePickerContent } from '../../composition/DatePickerContent';
|
|
7
7
|
import { DatePickerField } from '../../composition/DatePickerField';
|
|
8
8
|
import { DatePickerTrigger } from '../../composition/DatePickerTrigger';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Popover } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { DatePickerProps } from '../../../../types/date-picker';
|
|
6
5
|
import { Surface } from '../../../surface/public';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
7
|
import { DatePickerContent } from '../../composition/DatePickerContent';
|
|
8
8
|
import { DatePickerField } from '../../composition/DatePickerField';
|
|
9
9
|
import { DatePickerTrigger } from '../../composition/DatePickerTrigger';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { expect, test } from 'bun:test';
|
|
2
2
|
|
|
3
|
-
import { ZORA_COMPONENT_META } from '
|
|
3
|
+
import { ZORA_COMPONENT_META } from '../authoring/componentMeta';
|
|
4
4
|
|
|
5
5
|
test('DatePicker keeps one manifest contract across native and web presentation hosts', async () => {
|
|
6
6
|
const nativeSource = await Bun.file(
|
|
@@ -2,11 +2,11 @@ import { Modal as SurfaceModal } from '@ankhorage/surface';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { StyleSheet } from 'react-native';
|
|
4
4
|
|
|
5
|
-
import { resolveDialogWidth } from '../../../../internal/recipes';
|
|
6
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
7
5
|
import type { DialogProps } from '../../../../types/dialog';
|
|
8
6
|
import { View } from '../../../layout/public';
|
|
7
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
9
8
|
import { Heading, Text } from '../../../typography/public';
|
|
9
|
+
import { resolveDialogWidth } from '../../utils/resolveDialogWidth';
|
|
10
10
|
|
|
11
11
|
/*** Renders the product-level dialog composition on top of the Surface modal primitive. */
|
|
12
12
|
export const Dialog = withZoraThemeScope(DialogInner);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { ZoraComponentMeta } from '../../types/authoring';
|
|
2
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../authoring/allowedChildren';
|
|
3
3
|
|
|
4
4
|
export const dialogMeta = {
|
|
5
5
|
name: 'Dialog',
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { describe, expect, test } from 'bun:test';
|
|
2
|
+
|
|
3
|
+
import { resolveDialogWidth } from './resolveDialogWidth';
|
|
4
|
+
|
|
5
|
+
describe('resolveDialogWidth', () => {
|
|
6
|
+
test('keeps dialog width presets ordered', () => {
|
|
7
|
+
expect(resolveDialogWidth('narrow')).toBeLessThan(resolveDialogWidth('default'));
|
|
8
|
+
expect(resolveDialogWidth('wide')).toBeGreaterThanOrEqual(resolveDialogWidth('default'));
|
|
9
|
+
});
|
|
10
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ZoraContentWidth } from '../../../types/layout';
|
|
2
|
+
|
|
3
|
+
export function resolveDialogWidth(width: ZoraContentWidth = 'default'): number {
|
|
4
|
+
switch (width) {
|
|
5
|
+
case 'narrow':
|
|
6
|
+
return 420;
|
|
7
|
+
case 'wide':
|
|
8
|
+
return 560;
|
|
9
|
+
case 'default':
|
|
10
|
+
default:
|
|
11
|
+
return 520;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
3
|
import type { EmptyStateProps } from '../../../../types/empty-state';
|
|
5
4
|
import { Button } from '../../../button/public';
|
|
6
5
|
import { Card } from '../../../card/public';
|
|
7
6
|
import { View } from '../../../layout/public';
|
|
7
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
8
|
|
|
9
9
|
function EmptyStateInner({
|
|
10
10
|
themeId: _themeId,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
3
|
import type { FormProps } from '../../../../types/form';
|
|
5
4
|
import { View } from '../../../layout/public';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
import { FormActions } from './FormActions';
|
|
7
7
|
|
|
8
8
|
function FormInner({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
3
|
import type { FormActionsProps } from '../../../../types/form';
|
|
5
4
|
import { Button } from '../../../button/public';
|
|
6
5
|
import { View } from '../../../layout/public';
|
|
6
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
7
|
|
|
8
8
|
function FormActionsInner({
|
|
9
9
|
themeId: _themeId,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { useZoraTheme } from '../../../../theme/useZoraTheme';
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
3
|
import type { FormErrorProps } from '../../../../types/form';
|
|
6
4
|
import { View } from '../../../layout/public';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
7
7
|
import { Text } from '../../../typography/public';
|
|
8
8
|
|
|
9
9
|
function FormErrorInner({ themeId: _themeId, mode: _mode, error, testID }: FormErrorProps) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Checkbox as SurfaceCheckbox } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { CheckboxProps } from '../../../../../types/checkbox';
|
|
5
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
|
|
7
7
|
function CheckboxInner({
|
|
8
8
|
themeId: _themeId,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Checkbox } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { CheckboxGroupOption, CheckboxGroupProps } from '../../../../../types/checkbox';
|
|
6
5
|
import { View } from '../../../../layout/public';
|
|
6
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
7
|
import { Text } from '../../../../typography/public';
|
|
8
8
|
|
|
9
9
|
function CheckboxGroupInner<TValue extends string>({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Field as SurfaceField } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { FieldProps } from '../../../../../types/form';
|
|
6
5
|
import { View } from '../../../../layout/public';
|
|
6
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
7
|
import { Text } from '../../../../typography/public';
|
|
8
8
|
|
|
9
9
|
function FieldInner({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ZoraComponentMeta } from '
|
|
1
|
+
import type { ZoraComponentMeta } from '../../authoring';
|
|
2
2
|
|
|
3
3
|
export const fieldMeta = {
|
|
4
4
|
name: 'Field',
|
|
@@ -10,6 +10,7 @@ export const fieldMeta = {
|
|
|
10
10
|
'RadioGroup',
|
|
11
11
|
'SearchInput',
|
|
12
12
|
'Select',
|
|
13
|
+
'Switch',
|
|
13
14
|
'TextInput',
|
|
14
15
|
],
|
|
15
16
|
blueprint: { label: 'Field', defaultProps: { label: 'Label' } },
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Radio as SurfaceRadio } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { RadioProps } from '../../../../../types/radio';
|
|
5
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
|
|
7
7
|
function RadioInner({ themeId: _themeId, mode: _mode, interactionPolicy, ...props }: RadioProps) {
|
|
8
8
|
return <SurfaceRadio {...props} interactionPolicy={interactionPolicy} />;
|
|
@@ -2,10 +2,10 @@ import { Radio } from '@ankhorage/surface';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { StyleSheet } from 'react-native';
|
|
4
4
|
|
|
5
|
-
import { useZoraThemeRecipe } from '../../../../../theme/useZoraThemeRecipe';
|
|
6
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
7
5
|
import type { RadioGroupProps } from '../../../../../types/radio';
|
|
8
6
|
import { View } from '../../../../layout/public';
|
|
7
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
|
+
import { useZoraThemeRecipe } from '../../../../theme/composition/useZoraThemeRecipe';
|
|
9
9
|
import { Text } from '../../../../typography/public';
|
|
10
10
|
import { resolveRadioGroupThemeRecipe } from '../../utils/resolveRadioGroupThemeRecipe';
|
|
11
11
|
import { RadioOptionControl } from './RadioOptionControl';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { ZoraComponentMeta } from '../../authoring';
|
|
2
|
+
import { ZORA_COLORS } from '../../theme/colorModel';
|
|
3
3
|
|
|
4
4
|
const themeAuthoring = {
|
|
5
5
|
authority: 'theme',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { ZoraThemeRecipeMeta } from '../../../types/theme-recipe';
|
|
2
|
+
import { ZORA_COLORS } from '../../theme/colorModel';
|
|
3
3
|
|
|
4
4
|
export const radioGroupThemeRecipeMeta = {
|
|
5
5
|
name: 'RadioGroup',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { expect, test } from 'bun:test';
|
|
2
2
|
import type { KeyboardEvent } from 'react';
|
|
3
3
|
|
|
4
|
-
import { DIRECTION_MODIFIERS } from '
|
|
4
|
+
import { DIRECTION_MODIFIERS } from '../constants';
|
|
5
5
|
import {
|
|
6
6
|
handleRadioOptionKeyDown,
|
|
7
7
|
type RadioOptionKeyboardTarget,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { KeyboardEvent } from 'react';
|
|
2
2
|
|
|
3
|
-
import { DIRECTION_MODIFIERS } from '
|
|
3
|
+
import { DIRECTION_MODIFIERS } from '../constants';
|
|
4
4
|
|
|
5
5
|
/*** Support Space and directional navigation for web radio options without affecting native presses. */
|
|
6
6
|
export function handleRadioOptionKeyDown(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ThemeRecipeOverrideValue } from '@ankhorage/contracts';
|
|
2
2
|
|
|
3
|
-
import type { ZoraColor } from '../../../../internal/colorModel';
|
|
4
3
|
import type { RadioGroupProps } from '../../../../types/radio';
|
|
4
|
+
import type { ZoraColor } from '../../../theme/colorModel';
|
|
5
5
|
|
|
6
6
|
type RadioGroupGap = NonNullable<RadioGroupProps<string>['gap']>;
|
|
7
7
|
type RadioGroupSize = NonNullable<RadioGroupProps<string>['size']>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
2
1
|
import type { SearchInputProps } from '../../../../../types/search-input';
|
|
2
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
3
3
|
import { TextInput, type TextInputTrailingAction } from '../../../text-input/public';
|
|
4
4
|
|
|
5
5
|
/*** Renders a search-focused text input with clear and submit behavior. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ListRenderItemInfo, StyleSheet } from 'react-native';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { SelectOption, SelectProps } from '../../../../../types/select';
|
|
6
5
|
import { BottomSheetFlatList, useBottomSheet } from '../../../../bottom-sheet/public';
|
|
6
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
7
7
|
import { SelectField } from '../../composition/SelectField';
|
|
8
8
|
import { SelectOptionRow } from '../../composition/SelectOptionRow';
|
|
9
9
|
import { SelectTrigger } from '../../composition/SelectTrigger';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Popover } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { SelectProps } from '../../../../../types/select';
|
|
6
5
|
import { View } from '../../../../layout/public';
|
|
7
6
|
import { Surface } from '../../../../surface/public';
|
|
7
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
8
|
import { SelectField } from '../../composition/SelectField';
|
|
9
9
|
import { SelectOptionRow } from '../../composition/SelectOptionRow';
|
|
10
10
|
import { SelectTrigger } from '../../composition/SelectTrigger';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Switch as SurfaceSwitch } from '@ankhorage/surface';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import type { SwitchProps } from '../../../../../types/switch';
|
|
5
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
|
+
|
|
7
|
+
/*** Renders the ZORA switch while preserving the canonical Surface switch contract. */
|
|
8
|
+
export const Switch = withZoraThemeScope(SwitchInner);
|
|
9
|
+
|
|
10
|
+
function SwitchInner({ themeId: _themeId, mode: _mode, interactionPolicy, ...props }: SwitchProps) {
|
|
11
|
+
return <SurfaceSwitch {...props} interactionPolicy={interactionPolicy} />;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ZoraComponentMeta } from '../../authoring';
|
|
2
|
+
|
|
3
|
+
export const switchMeta = {
|
|
4
|
+
name: 'Switch',
|
|
5
|
+
category: 'component',
|
|
6
|
+
directManifestNode: true,
|
|
7
|
+
allowedChildren: [],
|
|
8
|
+
blueprint: { label: 'Switch', defaultProps: { children: 'Option', checked: false } },
|
|
9
|
+
props: {
|
|
10
|
+
children: { type: 'string', category: 'Content', label: 'Label' },
|
|
11
|
+
checked: { type: 'boolean', category: 'State', label: 'Checked', default: false },
|
|
12
|
+
disabled: { type: 'boolean', category: 'State', label: 'Disabled', default: false },
|
|
13
|
+
},
|
|
14
|
+
} as const satisfies ZoraComponentMeta;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Surface from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { resolveIconSize } from '../../../../../internal/recipes';
|
|
5
|
-
import { useZoraTheme } from '../../../../../theme/useZoraTheme';
|
|
6
|
-
import { withZoraThemeScope } from '../../../../../theme/withZoraThemeScope';
|
|
7
4
|
import type { TextInputProps } from '../../../../../types/text-input';
|
|
8
5
|
import { IconButton } from '../../../../button/public';
|
|
6
|
+
import { resolveIconSize } from '../../../../icon/utils/resolveIconSize';
|
|
7
|
+
import { withZoraThemeScope } from '../../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
|
+
import { useZoraTheme } from '../../../../theme/composition/useZoraTheme';
|
|
9
9
|
|
|
10
10
|
function TextInputInner({
|
|
11
11
|
themeId: _themeId,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
3
|
import type { GradientProps } from '../../../../types/gradient';
|
|
5
4
|
import { View } from '../../../layout/public';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
import { useGradientRenderer } from './GradientRendererContext';
|
|
7
7
|
|
|
8
8
|
function GradientInner({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ZoraComponentMeta } from '
|
|
2
|
-
import { CONTAINER_ALLOWED_CHILDREN } from '
|
|
1
|
+
import type { ZoraComponentMeta } from '../authoring';
|
|
2
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../authoring/allowedChildren';
|
|
3
3
|
|
|
4
4
|
export const gradientMeta = {
|
|
5
5
|
name: 'Gradient',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { expect, test } from 'bun:test';
|
|
2
2
|
|
|
3
|
-
import { ZORA_COMPONENT_META } from '
|
|
3
|
+
import { ZORA_COMPONENT_META } from '../authoring/componentMeta';
|
|
4
4
|
|
|
5
5
|
test('Gradient is a direct manifest container with serializable colors', () => {
|
|
6
6
|
const meta = ZORA_COMPONENT_META.Gradient;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
3
|
import type { HeroAction, HeroAlign, HeroProps } from '../../../../types/hero';
|
|
5
4
|
import { Button } from '../../../button/public';
|
|
6
5
|
import { Card } from '../../../card/public';
|
|
7
6
|
import { Grid, View } from '../../../layout/public';
|
|
7
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
8
8
|
import { Heading, Text } from '../../../typography/public';
|
|
9
9
|
|
|
10
10
|
function HeroInner({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Icon as SurfaceIcon } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { IconProps } from '../../../../types/icon';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
|
|
7
7
|
/*** Adapts the themed Surface Icon primitive to ZORA scope and interaction props. */
|
|
8
8
|
export const Icon = withZoraThemeScope(IconInner);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { expect, test } from 'bun:test';
|
|
2
2
|
|
|
3
|
-
import { ZORA_COMPONENT_META } from '
|
|
3
|
+
import { ZORA_COMPONENT_META } from '../../authoring/componentMeta';
|
|
4
4
|
|
|
5
5
|
test('permits media-backed Icon and Image content in ordinary screen containers', () => {
|
|
6
6
|
const icon = ZORA_COMPONENT_META.Icon;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { describe, expect, test } from 'bun:test';
|
|
2
|
+
|
|
3
|
+
import { resolveIconSize } from './resolveIconSize';
|
|
4
|
+
|
|
5
|
+
describe('resolveIconSize', () => {
|
|
6
|
+
test('keeps icon sizes aligned with control sizes', () => {
|
|
7
|
+
expect(resolveIconSize('s')).toBe(16);
|
|
8
|
+
expect(resolveIconSize('m')).toBe(18);
|
|
9
|
+
expect(resolveIconSize('l')).toBe(20);
|
|
10
|
+
});
|
|
11
|
+
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Image as SurfaceImage, type SurfaceImageSource } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { useZoraTheme } from '../../../../theme/useZoraTheme';
|
|
5
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
6
4
|
import type { ImageProps } from '../../../../types/image';
|
|
7
5
|
import type { UploadAsset } from '../../../../types/upload';
|
|
8
6
|
import { Icon } from '../../../icon/public';
|
|
9
7
|
import { View } from '../../../layout/public';
|
|
8
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
9
|
+
import { useZoraTheme } from '../../../theme/composition/useZoraTheme';
|
|
10
10
|
|
|
11
11
|
/*** Displays an image asset and owns its missing, unrenderable, and failed presentation states. */
|
|
12
12
|
export const Image = withZoraThemeScope(ImageInner);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { KeyboardAvoidingView as SurfaceKeyboardAvoidingView } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { KeyboardAvoidingViewProps } from '../../../../types/keyboard-avoiding-view';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
|
|
7
7
|
/*** Native keyboard-aware container exposed through the canonical ZORA feature boundary. */
|
|
8
8
|
export const KeyboardAvoidingView = withZoraThemeScope(KeyboardAvoidingViewInner);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import type { ZoraComponentMeta } from '../../types/authoring';
|
|
2
|
+
import { CONTAINER_ALLOWED_CHILDREN } from '../authoring/allowedChildren';
|
|
3
3
|
|
|
4
4
|
export const keyboardAvoidingViewMeta = {
|
|
5
5
|
name: 'KeyboardAvoidingView',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
4
3
|
import type { AppShellProps } from '../../../../types/layout';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
5
|
import { View } from './View';
|
|
6
6
|
|
|
7
7
|
function AppShellInner({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Divider as SurfaceDivider } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { DividerProps } from '../../../../types/layout';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
|
|
7
7
|
/*** Adapts the themed Surface Divider primitive to ZORA scope and interaction props. */
|
|
8
8
|
export const Divider = withZoraThemeScope(DividerInner);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Grid as SurfaceGrid } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { GridProps } from '../../../../types/layout';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
|
|
7
7
|
/*** Adapts the themed Surface Grid primitive to ZORA scope and interaction props. */
|
|
8
8
|
export const Grid = withZoraThemeScope(GridInner);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { resolvePageMaxWidth } from '../../../../internal/recipes';
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
3
|
import type { ScreenProps } from '../../../../types/layout';
|
|
4
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
5
|
+
import { resolvePageMaxWidth } from '../../utils/resolvePageMaxWidth';
|
|
6
6
|
import { ScrollView } from './ScrollView';
|
|
7
7
|
import { View } from './View';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ScrollView as SurfaceScrollView } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
4
|
import type { ScrollViewProps } from '../../../../types/layout';
|
|
5
|
+
import { withZoraThemeScope } from '../../../theme/adapters/inbound/withZoraThemeScope';
|
|
6
6
|
|
|
7
7
|
/*** Adapts the token-aware Surface ScrollView primitive to ZORA theme scope. */
|
|
8
8
|
export const ScrollView = withZoraThemeScope(ScrollViewInner);
|