@ankhorage/zora 19.0.0 → 20.0.0
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.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.map +1 -0
- package/dist/features/authoring/allowedChildren.js.map +1 -0
- package/dist/{metadata → features/authoring}/bindableComponentMeta.d.ts +3 -3
- package/dist/{metadata → features/authoring}/bindableComponentMeta.d.ts.map +1 -1
- package/dist/{metadata → features/authoring}/bindableComponentMeta.js +2 -2
- 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/{constants.d.ts → features/authoring/constants.d.ts} +1 -0
- package/dist/features/authoring/constants.d.ts.map +1 -0
- package/dist/{constants.js → features/authoring/constants.js} +7 -0
- package/dist/features/authoring/constants.js.map +1 -0
- package/dist/{metadata → features/authoring}/index.d.ts +7 -6
- 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/{utils → features/authoring/utils}/createManifestBindings.d.ts +1 -1
- package/dist/features/authoring/utils/createManifestBindings.d.ts.map +1 -0
- package/dist/features/authoring/utils/createManifestBindings.js.map +1 -0
- package/dist/{utils → features/authoring/utils}/finalizeFeatureMetadata.d.ts +1 -1
- 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.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.js +2 -2
- package/dist/features/card/cardMeta.js.map +1 -1
- package/dist/features/card/mediaCardMeta.js +1 -1
- package/dist/features/card/mediaCardMeta.js.map +1 -1
- package/dist/features/card/metricCardMeta.js.map +1 -1
- package/dist/features/card/postCardMeta.js +1 -1
- package/dist/features/card/postCardMeta.js.map +1 -1
- package/dist/features/card/productCardMeta.js.map +1 -1
- package/dist/features/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.map +1 -1
- package/dist/features/chat/adapters/inbound/ChatListItem.js +2 -2
- package/dist/features/chat/adapters/inbound/ChatListItem.js.map +1 -1
- package/dist/features/chat/adapters/inbound/MessageBubble.d.ts.map +1 -1
- package/dist/features/chat/adapters/inbound/MessageBubble.js +2 -2
- package/dist/features/chat/adapters/inbound/MessageBubble.js.map +1 -1
- package/dist/features/chat/chatListItemMeta.js.map +1 -1
- package/dist/features/chat/messageBubbleMeta.js +1 -1
- package/dist/features/chat/messageBubbleMeta.js.map +1 -1
- package/dist/features/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.map +1 -1
- package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js +1 -1
- package/dist/features/collection-editor/adapters/inbound/CollectionEditor.js.map +1 -1
- package/dist/features/collection-editor/meta.js.map +1 -1
- 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.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.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.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/{constants/keyboard.d.ts → features/form/radio/constants.d.ts} +1 -1
- package/dist/features/form/radio/constants.d.ts.map +1 -0
- package/dist/{constants/keyboard.js → features/form/radio/constants.js} +1 -1
- 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.map +1 -1
- package/dist/features/form/switch/adapters/inbound/Switch.js +1 -1
- package/dist/features/form/switch/adapters/inbound/Switch.js.map +1 -1
- package/dist/features/form/switch/switchMeta.js.map +1 -1
- 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.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.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.js +1 -1
- package/dist/features/layout/gridMeta.js.map +1 -1
- package/dist/features/layout/screenMeta.js +1 -1
- package/dist/features/layout/screenMeta.js.map +1 -1
- package/dist/features/layout/scrollViewMeta.js +1 -1
- package/dist/features/layout/scrollViewMeta.js.map +1 -1
- package/dist/features/layout/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.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 +1 -1
- 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.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.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/{corePlugin.d.ts → features/plugin/ZORA_CORE_PLUGIN.d.ts} +2 -2
- package/dist/features/plugin/ZORA_CORE_PLUGIN.d.ts.map +1 -0
- package/dist/{corePlugin.js → features/plugin/ZORA_CORE_PLUGIN.js} +3 -3
- 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/{corePluginMetadata.js → features/plugin/ZORA_CORE_PLUGIN_METADATA.js} +3 -3
- 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/{pluginComposition.js → features/plugin/application/use-cases/composeZoraPluginMetadata.js} +4 -51
- 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.map +1 -1
- package/dist/features/reader/adapters/inbound/ReaderSurface.js +2 -2
- package/dist/features/reader/adapters/inbound/ReaderSurface.js.map +1 -1
- package/dist/features/reader/meta.d.ts +3 -3
- package/dist/features/reader/meta.js +2 -2
- package/dist/features/reader/meta.js.map +1 -1
- 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.map +1 -1
- package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js +2 -2
- package/dist/features/scanner/adapters/inbound/BarcodeScannerView.js.map +1 -1
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.d.ts.map +1 -1
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.js +1 -1
- package/dist/features/scanner/adapters/inbound/CameraPermissionView.js.map +1 -1
- package/dist/features/scanner/adapters/inbound/ScanOverlay.d.ts.map +1 -1
- package/dist/features/scanner/adapters/inbound/ScanOverlay.js +2 -2
- package/dist/features/scanner/adapters/inbound/ScanOverlay.js.map +1 -1
- package/dist/features/scanner/meta.d.ts +9 -9
- package/dist/features/scanner/meta.js +4 -4
- package/dist/features/scanner/meta.js.map +1 -1
- package/dist/features/section/adapters/inbound/ScreenSection.d.ts.map +1 -1
- package/dist/features/section/adapters/inbound/ScreenSection.js +1 -1
- package/dist/features/section/adapters/inbound/ScreenSection.js.map +1 -1
- package/dist/features/section/adapters/inbound/SectionHeader.d.ts.map +1 -1
- package/dist/features/section/adapters/inbound/SectionHeader.js +1 -1
- package/dist/features/section/adapters/inbound/SectionHeader.js.map +1 -1
- package/dist/features/section/screenSectionMeta.js +1 -1
- package/dist/features/section/screenSectionMeta.js.map +1 -1
- package/dist/features/section/sectionHeaderMeta.js.map +1 -1
- package/dist/features/selection/meta.js.map +1 -1
- package/dist/features/skeleton/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.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.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/{theme → features/theme/adapters/inbound}/ThemeModeToggle.d.ts +1 -1
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.d.ts.map +1 -0
- package/dist/{theme → features/theme/adapters/inbound}/ThemeModeToggle.js +3 -3
- package/dist/features/theme/adapters/inbound/ThemeModeToggle.js.map +1 -0
- package/dist/{theme → features/theme/adapters/inbound}/ZoraProvider.d.ts +2 -2
- package/dist/features/theme/adapters/inbound/ZoraProvider.d.ts.map +1 -0
- package/dist/{theme → features/theme/adapters/inbound}/ZoraProvider.js +4 -4
- package/dist/features/theme/adapters/inbound/ZoraProvider.js.map +1 -0
- package/dist/{theme → features/theme/adapters/inbound}/ZoraThemeScope.d.ts +2 -2
- 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/{theme → features/theme/adapters/inbound}/withZoraThemeScope.d.ts +1 -1
- 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/{theme → features/theme/application/use-cases}/compileZoraTheme.d.ts +1 -1
- package/dist/features/theme/application/use-cases/compileZoraTheme.d.ts.map +1 -0
- package/dist/{theme → features/theme/application/use-cases}/compileZoraTheme.js +2 -1
- package/dist/features/theme/application/use-cases/compileZoraTheme.js.map +1 -0
- package/dist/{theme → features/theme/application/use-cases}/createZoraThemeConfig.d.ts +1 -1
- package/dist/features/theme/application/use-cases/createZoraThemeConfig.d.ts.map +1 -0
- package/dist/{theme → features/theme/application/use-cases}/createZoraThemeConfig.js +1 -1
- package/dist/features/theme/application/use-cases/createZoraThemeConfig.js.map +1 -0
- package/dist/{internal → features/theme}/colorModel.d.ts +1 -5
- 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/{theme → features/theme/composition}/ZoraRuntimeCapabilities.native.d.ts +1 -1
- 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/{theme → features/theme/composition}/ZoraRuntimeCapabilities.web.d.ts +1 -1
- 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/{theme → features/theme/composition}/ZoraThemeRuntimeContext.d.ts +1 -1
- package/dist/features/theme/composition/ZoraThemeRuntimeContext.d.ts.map +1 -0
- package/dist/{theme → features/theme/composition}/ZoraThemeRuntimeContext.js +1 -1
- 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/{theme → features/theme/composition}/useZoraThemeRecipe.js +1 -1
- package/dist/features/theme/composition/useZoraThemeRecipe.js.map +1 -0
- package/dist/{theme → features/theme}/public.d.ts +3 -3
- 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/{theme → features/theme/utils}/resolveThemeModeToggleState.d.ts +1 -1
- package/dist/features/theme/utils/resolveThemeModeToggleState.d.ts.map +1 -0
- package/dist/features/theme/utils/resolveThemeModeToggleState.js.map +1 -0
- package/dist/{theme → features/theme/utils}/resolveZoraScopedThemeId.d.ts +1 -1
- 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/{theme → features/theme/utils}/resolveZoraThemeRecipe.js +1 -1
- 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.map +1 -1
- package/dist/features/timeline/adapters/inbound/Timeline.js +3 -3
- package/dist/features/timeline/adapters/inbound/Timeline.js.map +1 -1
- package/dist/features/timeline/meta.js.map +1 -1
- 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 +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeItem.d.ts.map +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeItem.js +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeItem.js.map +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeView.d.ts.map +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeView.js +1 -1
- package/dist/features/tree-view/adapters/inbound/TreeView.js.map +1 -1
- package/dist/features/tree-view/meta.js.map +1 -1
- package/dist/features/typography/adapters/inbound/Heading.d.ts.map +1 -1
- package/dist/features/typography/adapters/inbound/Heading.js +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 +11 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -7
- 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/{metadata/types.d.ts → types/authoring.d.ts} +1 -1
- 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/{theme/ZoraBaseProps.d.ts → types/base.d.ts} +2 -2
- 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 +2 -2
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js.map +1 -1
- 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 +1 -1
- package/dist/types/collection-editor.d.ts.map +1 -1
- package/dist/types/collection-editor.js.map +1 -1
- 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 -2
- 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/{pluginComposition.d.ts → types/plugin.d.ts} +2 -18
- 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 +1 -1
- package/dist/types/reader.d.ts.map +1 -1
- package/dist/types/reader.js.map +1 -1
- package/dist/{registry.d.ts → types/registry.d.ts} +0 -1
- 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 +1 -1
- package/dist/types/scanner.d.ts.map +1 -1
- package/dist/types/scanner.js.map +1 -1
- 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 +1 -1
- package/dist/types/section.d.ts.map +1 -1
- package/dist/types/section.js.map +1 -1
- 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/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 +1 -1
- package/dist/types/switch.d.ts.map +1 -1
- package/dist/types/switch.js.map +1 -1
- 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/{theme/ThemeModeToggleProps.d.ts → types/theme-mode-toggle.d.ts} +1 -1
- 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/{metadata/themeRecipeTypes.d.ts → types/theme-recipe.d.ts} +2 -3
- 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/{theme/types.d.ts → types/theme.d.ts} +6 -1
- 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 +2 -2
- package/dist/types/timeline.d.ts.map +1 -1
- package/dist/types/timeline.js.map +1 -1
- 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 +1 -1
- package/dist/types/tree-view.d.ts.map +1 -1
- package/dist/types/tree-view.js.map +1 -1
- 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 +20 -19
- package/src/audit.test.ts +1 -1
- 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/{metadata → features/authoring}/bindableComponentMeta.ts +2 -2
- package/src/{metadata → features/authoring}/componentMeta.test.ts +4 -4
- package/src/features/authoring/componentMeta.ts +190 -0
- package/src/{constants.ts → features/authoring/constants.ts} +10 -0
- package/src/{featureManifest.test.ts → features/authoring/featureManifest.test.ts} +2 -2
- package/src/{metadata → features/authoring}/index.ts +24 -23
- package/src/features/authoring/themeRecipeMeta.ts +14 -0
- package/src/{utils → features/authoring/utils}/createManifestBindings.ts +1 -1
- package/src/{utils → features/authoring/utils}/finalizeFeatureMetadata.ts +1 -1
- 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 +1 -1
- package/src/features/chat/adapters/inbound/ChatListItem.tsx +2 -2
- package/src/features/chat/adapters/inbound/MessageBubble.tsx +2 -2
- package/src/features/chat/chatListItemMeta.ts +1 -1
- package/src/features/chat/messageBubbleMeta.ts +2 -2
- 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 +1 -1
- package/src/features/collection-editor/meta.ts +1 -1
- 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 +1 -1
- package/src/features/form/formActionsMeta.ts +1 -1
- package/src/features/form/formErrorMeta.ts +1 -1
- package/src/features/form/formMeta.ts +1 -1
- package/src/features/form/radio/adapters/inbound/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 +1 -1
- package/src/features/form/switch/switchMeta.ts +1 -1
- 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/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 +1 -1
- 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 +1 -1
- 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/{corePlugin.ts → features/plugin/ZORA_CORE_PLUGIN.ts} +3 -3
- package/src/{corePluginMetadata.ts → features/plugin/ZORA_CORE_PLUGIN_METADATA.ts} +4 -4
- package/src/{pluginComposition.ts → features/plugin/application/use-cases/composeZoraPluginMetadata.ts} +10 -122
- package/src/features/plugin/application/use-cases/composeZoraPlugins.ts +76 -0
- package/src/features/plugin/domain/ZoraPluginCompositionError.ts +21 -0
- package/src/{pluginComposition.test.ts → features/plugin/pluginComposition.test.ts} +4 -6
- 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.tsx +2 -2
- package/src/features/reader/meta.ts +3 -3
- package/src/features/registry/ZORA_COMPONENT_REGISTRY.ts +186 -0
- package/src/features/registry/public.ts +1 -0
- package/src/{registry.test.ts → features/registry/registry.test.ts} +6 -3
- package/src/features/scanner/adapters/inbound/BarcodeScannerView.tsx +2 -2
- package/src/features/scanner/adapters/inbound/CameraPermissionView.tsx +1 -1
- package/src/features/scanner/adapters/inbound/ScanOverlay.tsx +2 -2
- package/src/features/scanner/meta.ts +5 -5
- package/src/features/section/adapters/inbound/ScreenSection.tsx +1 -1
- package/src/features/section/adapters/inbound/SectionHeader.tsx +1 -1
- package/src/features/section/screenSectionMeta.ts +2 -2
- package/src/features/section/sectionHeaderMeta.ts +1 -1
- package/src/features/selection/meta.ts +1 -1
- package/src/features/skeleton/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/{theme → features/theme}/ThemeModeToggle.meta.ts +1 -1
- package/src/{theme → features/theme/adapters/inbound}/ThemeModeToggle.tsx +4 -4
- package/src/{theme → features/theme/adapters/inbound}/ZoraProvider.tsx +6 -6
- package/src/features/theme/adapters/inbound/ZoraThemeScope.tsx +41 -0
- package/src/{theme → features/theme/adapters/inbound}/withZoraThemeScope.tsx +1 -1
- package/src/{theme → features/theme/application/use-cases}/compileZoraTheme.test.ts +5 -1
- package/src/{theme → features/theme/application/use-cases}/compileZoraTheme.ts +3 -2
- package/src/{theme → features/theme/application/use-cases}/createZoraThemeConfig.test.ts +1 -1
- package/src/{theme → features/theme/application/use-cases}/createZoraThemeConfig.ts +2 -2
- package/src/features/theme/colorModel.ts +13 -0
- package/src/{theme → features/theme/composition}/ZoraRuntimeCapabilities.native.tsx +1 -1
- package/src/{theme → features/theme/composition}/ZoraRuntimeCapabilities.web.tsx +1 -1
- package/src/{theme → features/theme/composition}/ZoraThemeRuntimeContext.tsx +2 -2
- package/src/{theme → features/theme/composition}/useZoraThemeRecipe.ts +1 -1
- package/src/{theme → features/theme}/public.ts +3 -3
- package/src/features/theme/runtime.ts +9 -0
- package/src/{theme → features/theme}/themeConfigScope.test.ts +16 -7
- package/src/{theme → features/theme}/themeScopeStructure.test.ts +16 -9
- package/src/{theme → features/theme/utils}/resolveThemeModeToggleState.ts +1 -1
- package/src/{theme → features/theme/utils}/resolveZoraScopedThemeId.ts +1 -1
- package/src/{theme → features/theme/utils}/resolveZoraThemeRecipe.ts +2 -2
- package/src/{theme → features/theme}/zoraDefaultTheme.ts +1 -1
- 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 +4 -4
- package/src/features/timeline/meta.ts +1 -1
- 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 +2 -2
- package/src/features/tree-view/adapters/inbound/TreeView.tsx +1 -1
- package/src/features/tree-view/meta.ts +1 -1
- 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 +56 -56
- package/src/interactionPolicy.test.ts +3 -3
- 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/{theme/ZoraBaseProps.ts → types/base.ts} +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 -2
- 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 +1 -1
- package/src/types/registry.ts +3 -0
- package/src/types/scanner.ts +1 -1
- package/src/types/search-input.ts +2 -2
- package/src/types/section.ts +1 -1
- 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 +1 -1
- package/src/types/tabs.ts +1 -1
- package/src/types/text-input.ts +2 -2
- package/src/types/text.ts +2 -2
- package/src/{metadata/themeRecipeTypes.ts → types/theme-recipe.ts} +1 -9
- package/src/{theme/types.ts → types/theme.ts} +11 -0
- package/src/types/time-picker.ts +1 -1
- package/src/types/timeline.ts +2 -2
- package/src/types/toast.ts +1 -1
- package/src/types/toolbar.ts +1 -1
- package/src/types/tree-view.ts +1 -1
- package/src/types/upload.ts +1 -1
- package/dist/constants/keyboard.d.ts.map +0 -1
- package/dist/constants/keyboard.js.map +0 -1
- package/dist/constants.d.ts.map +0 -1
- package/dist/constants.js.map +0 -1
- package/dist/corePlugin.d.ts.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- package/dist/metadata/allowedChildren.js.map +0 -1
- 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 -184
- package/dist/metadata/componentMeta.js.map +0 -1
- 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 -13
- package/dist/metadata/themeRecipeMeta.js.map +0 -1
- 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.map +0 -1
- package/dist/metadata/types.js +0 -2
- package/dist/metadata/types.js.map +0 -1
- package/dist/pluginComposition.d.ts.map +0 -1
- package/dist/pluginComposition.js.map +0 -1
- package/dist/registry.d.ts.map +0 -1
- package/dist/registry.js +0 -161
- package/dist/registry.js.map +0 -1
- package/dist/theme/ThemeModeToggle.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/theme/ThemeModeToggleProps.js +0 -2
- package/dist/theme/ThemeModeToggleProps.js.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- package/dist/theme/ZoraRuntimeCapabilities.native.js.map +0 -1
- 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.map +0 -1
- package/dist/theme/ZoraThemeRuntimeContext.js.map +0 -1
- 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.map +0 -1
- package/dist/theme/compileZoraTheme.js.map +0 -1
- package/dist/theme/createZoraThemeConfig.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/theme/public.js +0 -4
- package/dist/theme/public.js.map +0 -1
- package/dist/theme/resolveThemeModeToggleState.d.ts.map +0 -1
- package/dist/theme/resolveThemeModeToggleState.js.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- package/dist/utils/createManifestBindings.js.map +0 -1
- package/dist/utils/finalizeFeatureMetadata.d.ts.map +0 -1
- package/dist/utils/finalizeFeatureMetadata.js.map +0 -1
- 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/componentMeta.ts +0 -194
- package/src/metadata/themeRecipeMeta.ts +0 -14
- package/src/registry.ts +0 -197
- package/src/theme/ZoraThemeScope.tsx +0 -56
- package/src/theme/index.ts +0 -10
- /package/dist/{metadata → features/authoring}/allowedChildren.d.ts +0 -0
- /package/dist/{metadata → features/authoring}/allowedChildren.js +0 -0
- /package/dist/{utils → features/authoring/utils}/createManifestBindings.js +0 -0
- /package/dist/{utils → features/authoring/utils}/finalizeFeatureMetadata.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/src/{metadata → features/authoring}/allowedChildren.ts +0 -0
- /package/src/{metadata → features/authoring}/authoringMeta.test.ts +0 -0
- /package/src/{metadata → features/authoring}/bindableComponentMeta.test.ts +0 -0
- /package/src/{metadata → features/authoring}/radioGroupReachability.test.ts +0 -0
- /package/src/{metadata → features/authoring}/themeRecipeMeta.test.ts +0 -0
- /package/src/{constants/keyboard.ts → features/form/radio/constants.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/{theme/ThemeModeToggleProps.ts → types/theme-mode-toggle.ts} +0 -0
package/src/types/button.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { ButtonIconSpec, ButtonProps as SurfaceButtonProps } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
|
+
import type { ZoraControlSize } from './control';
|
|
6
|
+
import type { ZoraColor } from './theme';
|
|
7
|
+
|
|
8
|
+
export type ZoraButtonVariant = NonNullable<SurfaceButtonProps['variant']>;
|
|
6
9
|
|
|
7
10
|
export interface ButtonProps
|
|
8
11
|
extends ZoraBaseProps, Omit<SurfaceButtonProps, 'children' | 'size' | 'color' | 'variant'> {
|
package/src/types/card.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { CardProps as SurfaceCardProps } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
|
+
|
|
6
|
+
export type ZoraCardTone = 'default' | 'subtle' | 'outline';
|
|
6
7
|
|
|
7
8
|
export interface CardProps
|
|
8
9
|
extends ZoraBaseProps, Omit<SurfaceCardProps, 'children' | 'p' | 'radius' | 'variant'> {
|
package/src/types/chat.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type React from 'react';
|
|
|
2
2
|
import type { ImageSourcePropType } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import type { AvatarShape, AvatarSize } from '../features/avatar/public';
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
5
|
+
import type { ZoraBaseProps } from './base';
|
|
6
|
+
import type { ZoraColor } from './theme';
|
|
7
7
|
|
|
8
8
|
export interface ChatListAvatar {
|
|
9
9
|
source?: ImageSourcePropType;
|
package/src/types/checkbox.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CheckboxProps as SurfaceCheckboxProps } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type { ZoraBaseProps } from '
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
5
|
|
|
6
6
|
export interface CheckboxProps
|
|
7
7
|
extends ZoraBaseProps, Omit<SurfaceCheckboxProps, 'mode' | 'themeId'> {}
|
package/src/types/chip-group.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
|
+
import type { ZoraControlSize } from './control';
|
|
6
|
+
import type { ZoraColor } from './theme';
|
|
6
7
|
|
|
7
8
|
export interface ChipGroupItem<TValue extends string = string> {
|
|
8
9
|
value: TValue;
|
package/src/types/chip.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
|
+
import type { ZoraControlSize } from './control';
|
|
6
|
+
import type { ZoraColor } from './theme';
|
|
6
7
|
|
|
7
8
|
export interface ChipProps extends ZoraBaseProps {
|
|
8
9
|
children: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
|
|
3
|
-
import type { ZoraBaseProps } from '
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
4
|
|
|
5
5
|
export type ContentRailDirection = 'auto' | 'ltr' | 'rtl';
|
|
6
6
|
export type ContentRailItemSize = 'compact' | 'regular' | 'wide' | 'responsive' | 'content';
|
package/src/types/data-table.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type { ZoraBaseProps } from '
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
5
|
import type { PopoverMenuActionIntent } from './popover-menu';
|
|
6
6
|
|
|
7
7
|
export type DataTableColumnAlign = 'start' | 'center' | 'end';
|
package/src/types/date-picker.ts
CHANGED
package/src/types/dialog.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
|
+
import type { ZoraContentWidth } from './layout';
|
|
5
5
|
|
|
6
6
|
export interface DialogProps extends ZoraBaseProps {
|
|
7
7
|
visible: boolean;
|
package/src/types/empty-state.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
|
+
import type { ZoraButtonVariant } from './button';
|
|
5
|
+
import type { ZoraColor } from './theme';
|
|
5
6
|
|
|
6
7
|
export interface EmptyStateAction {
|
|
7
8
|
label: React.ReactNode;
|
package/src/types/form.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FieldProps as SurfaceFieldProps } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type { ZoraBaseProps } from '
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
5
|
import type { TextInputProps } from './text-input';
|
|
6
6
|
|
|
7
7
|
export type ValidationRule =
|
package/src/types/gradient.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type React from 'react';
|
|
|
2
2
|
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
|
|
4
4
|
import type { ViewProps } from '../features/layout/public';
|
|
5
|
-
import type { ZoraBaseProps } from '
|
|
5
|
+
import type { ZoraBaseProps } from './base';
|
|
6
6
|
|
|
7
7
|
export type GradientColor = string;
|
|
8
8
|
export type GradientColors = readonly [GradientColor, GradientColor, ...GradientColor[]];
|
package/src/types/heading.ts
CHANGED
|
@@ -2,8 +2,8 @@ import type { Responsive } from '@ankhorage/surface';
|
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
import type { AccessibilityRole, StyleProp, TextStyle } from 'react-native';
|
|
4
4
|
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
5
|
+
import type { ZoraBaseProps } from './base';
|
|
6
|
+
import type { ZoraColor, ZoraEmphasis } from './theme';
|
|
7
7
|
|
|
8
8
|
export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
9
9
|
|
package/src/types/hero.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
|
+
import type { ZoraButtonVariant } from './button';
|
|
5
|
+
import type { ZoraColor } from './theme';
|
|
5
6
|
|
|
6
7
|
export type HeroAlign = 'start' | 'center';
|
|
7
8
|
export type HeroLayout = 'stack' | 'split' | 'mediaFirst';
|
package/src/types/icon-button.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
|
+
import type { ZoraButtonVariant } from './button';
|
|
5
|
+
import type { ZoraControlSize } from './control';
|
|
6
|
+
import type { ZoraColor } from './theme';
|
|
5
7
|
|
|
6
8
|
export interface IconButtonProps extends ZoraBaseProps {
|
|
7
9
|
icon?: ButtonIconSpec;
|
package/src/types/icon.ts
CHANGED
package/src/types/image.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ImageProps as SurfaceImageProps, SurfaceImageSource } from '@ankhorage/surface';
|
|
2
2
|
|
|
3
|
-
import type { ZoraBaseProps } from '
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
4
|
import type { UploadAsset } from './upload';
|
|
5
5
|
|
|
6
6
|
export type { ImageFit, SurfaceImageSource } from '@ankhorage/surface';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { KeyboardAvoidingViewProps as SurfaceKeyboardAvoidingViewProps } from '@ankhorage/surface';
|
|
2
2
|
|
|
3
|
-
import type { ZoraBaseProps } from '
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
4
|
|
|
5
5
|
export type KeyboardAvoidingViewBehavior = NonNullable<
|
|
6
6
|
SurfaceKeyboardAvoidingViewProps['behavior']
|
package/src/types/layout.ts
CHANGED
|
@@ -6,8 +6,9 @@ import type {
|
|
|
6
6
|
} from '@ankhorage/surface';
|
|
7
7
|
import type React from 'react';
|
|
8
8
|
|
|
9
|
-
import type {
|
|
10
|
-
|
|
9
|
+
import type { ZoraBaseProps } from './base';
|
|
10
|
+
|
|
11
|
+
export type ZoraContentWidth = 'narrow' | 'default' | 'wide';
|
|
11
12
|
|
|
12
13
|
export interface ViewProps extends ZoraBaseProps, Omit<SurfaceViewProps, 'mode' | 'themeId'> {}
|
|
13
14
|
export interface ScrollViewProps
|
package/src/types/list.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ListItemProps as SurfaceListItemProps } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type { ZoraBaseProps } from '
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
5
|
|
|
6
6
|
export type ListItemVariant = 'divider' | 'card';
|
|
7
7
|
|
package/src/types/media-card.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import type { ImageSourcePropType } from 'react-native';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
|
+
import type { ZoraCardTone } from './card';
|
|
6
6
|
|
|
7
7
|
interface MediaCardWithImageSource {
|
|
8
8
|
imageSource: ImageSourcePropType;
|
package/src/types/metric-card.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
|
+
import type { ZoraCardTone } from './card';
|
|
6
|
+
import type { ZoraColor } from './theme';
|
|
6
7
|
|
|
7
8
|
export interface MetricCardProps extends ZoraBaseProps {
|
|
8
9
|
label: React.ReactNode;
|
package/src/types/pagination.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type { ZoraBaseProps } from '
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
5
|
|
|
6
6
|
export interface PaletteItemProps extends ZoraBaseProps {
|
|
7
7
|
title: React.ReactNode;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { UiComponentMetaRegistry, UiComponentPackageManifest } from '@ankhorage/contracts';
|
|
2
|
+
|
|
3
|
+
import type { ZoraComponentMetaRegistry } from './authoring';
|
|
4
|
+
import type { ZoraComponentRegistry } from './registry';
|
|
5
|
+
|
|
6
|
+
export type ZoraPluginCompositionErrorCode =
|
|
7
|
+
| 'duplicate-component'
|
|
8
|
+
| 'duplicate-package'
|
|
9
|
+
| 'invalid-component-meta'
|
|
10
|
+
| 'invalid-interaction-policy-component'
|
|
11
|
+
| 'invalid-placement-child'
|
|
12
|
+
| 'invalid-placement-parent'
|
|
13
|
+
| 'missing-component-meta'
|
|
14
|
+
| 'missing-runtime-component';
|
|
15
|
+
|
|
16
|
+
export interface ZoraPluginPlacement {
|
|
17
|
+
readonly child: string;
|
|
18
|
+
readonly parents: readonly string[];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface ZoraPluginMetadata {
|
|
22
|
+
readonly packageName: string;
|
|
23
|
+
readonly displayName?: string;
|
|
24
|
+
readonly componentMeta: ZoraComponentMetaRegistry;
|
|
25
|
+
readonly extensionHosts?: readonly string[];
|
|
26
|
+
readonly placements?: readonly ZoraPluginPlacement[];
|
|
27
|
+
readonly interactionPolicySupportedComponents?: readonly string[];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface ZoraPluginDescriptor extends ZoraPluginMetadata {
|
|
31
|
+
readonly componentRegistry: ZoraComponentRegistry;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface ComposedZoraPluginMetadataCatalog {
|
|
35
|
+
readonly componentMeta: ZoraComponentMetaRegistry;
|
|
36
|
+
readonly bindableComponentMeta: UiComponentMetaRegistry;
|
|
37
|
+
readonly packageManifests: readonly UiComponentPackageManifest[];
|
|
38
|
+
readonly interactionPolicySupportedComponents: Readonly<Record<string, true>>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface ComposedZoraPluginCatalog extends ComposedZoraPluginMetadataCatalog {
|
|
42
|
+
readonly componentRegistry: ZoraComponentRegistry;
|
|
43
|
+
}
|
|
@@ -5,7 +5,7 @@ import type {
|
|
|
5
5
|
} from '@ankhorage/surface';
|
|
6
6
|
import type React from 'react';
|
|
7
7
|
|
|
8
|
-
import type { ZoraBaseProps } from '
|
|
8
|
+
import type { ZoraBaseProps } from './base';
|
|
9
9
|
|
|
10
10
|
export type PopoverMenuActionIntent = SurfacePopoverMenuActionIntent;
|
|
11
11
|
|
package/src/types/post-card.ts
CHANGED
|
@@ -3,8 +3,9 @@ import type React from 'react';
|
|
|
3
3
|
import type { ImageSourcePropType } from 'react-native';
|
|
4
4
|
|
|
5
5
|
import type { AvatarShape, AvatarSize } from '../features/avatar/public';
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
6
|
+
import type { ZoraBaseProps } from './base';
|
|
7
|
+
import type { ZoraCardTone } from './card';
|
|
8
|
+
import type { ZoraColor } from './theme';
|
|
8
9
|
|
|
9
10
|
export interface PostAuthorAvatar {
|
|
10
11
|
source?: ImageSourcePropType;
|
package/src/types/progress.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { RoleSemantics, SurfaceTheme } from '@ankhorage/surface';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
|
+
import type { ZoraControlSize } from './control';
|
|
5
|
+
import type { ZoraColor } from './theme';
|
|
5
6
|
|
|
6
7
|
export interface ProgressProps extends ZoraBaseProps {
|
|
7
8
|
value: number;
|
package/src/types/provider.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ThemeConfig } from '@ankhorage/contracts';
|
|
|
2
2
|
import type { ToastProviderProps as SurfaceToastProviderProps } from '@ankhorage/surface';
|
|
3
3
|
import type React from 'react';
|
|
4
4
|
|
|
5
|
-
import type { ZoraTheme, ZoraThemeMode } from '
|
|
5
|
+
import type { ZoraTheme, ZoraThemeMode } from './theme';
|
|
6
6
|
|
|
7
7
|
export type ZoraToastCapability = boolean | Omit<SurfaceToastProviderProps, 'children'>;
|
|
8
8
|
|
package/src/types/radio.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { RadioProps as SurfaceRadioProps } from '@ankhorage/surface';
|
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
4
|
import type { IconProps } from '../features/icon/public';
|
|
5
|
-
import type { ZoraBaseProps } from '
|
|
5
|
+
import type { ZoraBaseProps } from './base';
|
|
6
6
|
|
|
7
7
|
export interface RadioProps extends ZoraBaseProps, Omit<SurfaceRadioProps, 'mode' | 'themeId'> {}
|
|
8
8
|
|
package/src/types/rating.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ZoraBaseProps } from './base';
|
|
2
|
+
import type { ZoraControlSize } from './control';
|
|
3
|
+
import type { ZoraColor } from './theme';
|
|
3
4
|
|
|
4
5
|
export interface RatingProps extends ZoraBaseProps {
|
|
5
6
|
value: number;
|
package/src/types/reader.ts
CHANGED
package/src/types/scanner.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
|
|
3
3
|
import type { ButtonProps } from '../features/button/public';
|
|
4
|
-
import type { ZoraBaseProps } from '
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
5
|
|
|
6
6
|
export type CameraPermissionStatus = 'unknown' | 'requesting' | 'granted' | 'denied';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { ZoraBaseProps } from './base';
|
|
2
|
+
import type { ZoraControlSize } from './control';
|
|
3
3
|
|
|
4
4
|
export interface SearchInputProps extends ZoraBaseProps {
|
|
5
5
|
value?: string;
|
package/src/types/section.ts
CHANGED
package/src/types/select.ts
CHANGED
package/src/types/skeleton.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ViewProps } from '../features/layout/public';
|
|
2
|
-
import type { ZoraBaseProps } from '
|
|
2
|
+
import type { ZoraBaseProps } from './base';
|
|
3
3
|
|
|
4
4
|
export type SkeletonRadius = ViewProps['radius'];
|
|
5
5
|
export type SkeletonDimension = ViewProps['width'];
|
package/src/types/surface.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SurfaceProps as SurfaceSurfaceProps } from '@ankhorage/surface';
|
|
2
2
|
|
|
3
|
-
import type { ZoraBaseProps } from '
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
4
|
|
|
5
5
|
export type { SurfaceVariant } from '@ankhorage/surface';
|
|
6
6
|
export interface SurfaceProps
|
package/src/types/switch.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SwitchProps as SurfaceSwitchProps } from '@ankhorage/surface';
|
|
2
2
|
|
|
3
|
-
import type { ZoraBaseProps } from '
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
4
|
|
|
5
5
|
export interface SwitchProps extends ZoraBaseProps, Omit<SurfaceSwitchProps, 'mode' | 'themeId'> {}
|
package/src/types/tabs.ts
CHANGED
package/src/types/text-input.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Surface from '@ankhorage/surface';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { ZoraBaseProps } from './base';
|
|
4
|
+
import type { ZoraControlSize } from './control';
|
|
5
5
|
|
|
6
6
|
export interface TextInputTrailingAction {
|
|
7
7
|
icon: Surface.ButtonIconSpec;
|
package/src/types/text.ts
CHANGED
|
@@ -7,8 +7,8 @@ import type {
|
|
|
7
7
|
TextStyle,
|
|
8
8
|
} from 'react-native';
|
|
9
9
|
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
10
|
+
import type { ZoraBaseProps } from './base';
|
|
11
|
+
import type { ZoraColor, ZoraEmphasis } from './theme';
|
|
12
12
|
|
|
13
13
|
export type TextVariant = 'body' | 'lead' | 'bodySmall' | 'caption' | 'label' | 'eyebrow' | 'code';
|
|
14
14
|
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
'colors',
|
|
3
|
-
'spacing',
|
|
4
|
-
'radii',
|
|
5
|
-
'typography',
|
|
6
|
-
'shadows',
|
|
7
|
-
] as const;
|
|
8
|
-
|
|
9
|
-
export type ZoraThemeTokenFamily = (typeof ZORA_THEME_TOKEN_FAMILIES)[number];
|
|
1
|
+
export type ZoraThemeTokenFamily = 'colors' | 'spacing' | 'radii' | 'typography' | 'shadows';
|
|
10
2
|
|
|
11
3
|
export type ZoraThemeRecipeKind = 'component' | 'pattern';
|
|
12
4
|
|
|
@@ -8,6 +8,12 @@ import type {
|
|
|
8
8
|
GeneratedThemeSwatches,
|
|
9
9
|
} from '@ankhorage/color-theory';
|
|
10
10
|
import type { AppCategory, ThemeConfig } from '@ankhorage/contracts';
|
|
11
|
+
import type {
|
|
12
|
+
SurfaceColor,
|
|
13
|
+
SurfaceEmphasis,
|
|
14
|
+
SurfacePaletteColor,
|
|
15
|
+
SurfaceStatusColor,
|
|
16
|
+
} from '@ankhorage/surface';
|
|
11
17
|
import type { SurfaceTheme } from '@ankhorage/surface/theme';
|
|
12
18
|
|
|
13
19
|
export type ZoraThemeId = string;
|
|
@@ -78,3 +84,8 @@ export interface ZoraComputedTheme {
|
|
|
78
84
|
readonly diagnostics: readonly ZoraThemeCompilationDiagnostic[];
|
|
79
85
|
readonly provenance: readonly ZoraThemeProvenanceEntry[];
|
|
80
86
|
}
|
|
87
|
+
|
|
88
|
+
export type ZoraPaletteColor = SurfacePaletteColor;
|
|
89
|
+
export type ZoraStatusColor = SurfaceStatusColor;
|
|
90
|
+
export type ZoraColor = SurfaceColor;
|
|
91
|
+
export type ZoraEmphasis = SurfaceEmphasis;
|
package/src/types/time-picker.ts
CHANGED
package/src/types/timeline.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ButtonIconSpec } from '@ankhorage/surface';
|
|
2
2
|
import type React from 'react';
|
|
3
3
|
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { ZoraBaseProps } from './base';
|
|
5
|
+
import type { ZoraColor } from './theme';
|
|
6
6
|
|
|
7
7
|
export interface TimelineItem {
|
|
8
8
|
id: string;
|
package/src/types/toast.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type {
|
|
|
6
6
|
ToastStatus as SurfaceToastStatus,
|
|
7
7
|
} from '@ankhorage/surface';
|
|
8
8
|
|
|
9
|
-
import type { ZoraBaseProps } from '
|
|
9
|
+
import type { ZoraBaseProps } from './base';
|
|
10
10
|
|
|
11
11
|
export type ToastStatus = SurfaceToastStatus;
|
|
12
12
|
export type ToastOptions = SurfaceToastOptions;
|
package/src/types/toolbar.ts
CHANGED