@ankhorage/zora 11.0.0 → 12.1.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 +18 -0
- package/README.md +2 -1
- package/dist/constants.d.ts +5 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +12 -0
- package/dist/constants.js.map +1 -1
- package/dist/{patterns/auth → features/auth/adapters/inbound}/AuthForm.d.ts +3 -3
- package/dist/features/auth/adapters/inbound/AuthForm.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/AuthForm.js +2 -2
- package/dist/features/auth/adapters/inbound/AuthForm.js.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/AuthFormField.d.ts +2 -2
- package/dist/features/auth/adapters/inbound/AuthFormField.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/AuthFormField.js +2 -2
- package/dist/features/auth/adapters/inbound/AuthFormField.js.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/ForgotPasswordForm.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/ForgotPasswordForm.js +5 -5
- package/dist/features/auth/adapters/inbound/ForgotPasswordForm.js.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/OAuthProviderButton.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderButton.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/OAuthProviderButton.js +3 -3
- package/dist/features/auth/adapters/inbound/OAuthProviderButton.js.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/OAuthProviderList.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/OAuthProviderList.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/OAuthProviderList.js +2 -2
- package/dist/features/auth/adapters/inbound/OAuthProviderList.js.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/OtpForm.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/OtpForm.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/OtpForm.js +4 -4
- package/dist/features/auth/adapters/inbound/OtpForm.js.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/SignInForm.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/SignInForm.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/SignInForm.js +5 -5
- package/dist/features/auth/adapters/inbound/SignInForm.js.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/SignUpForm.d.ts +1 -1
- package/dist/features/auth/adapters/inbound/SignUpForm.d.ts.map +1 -0
- package/dist/{patterns/auth → features/auth/adapters/inbound}/SignUpForm.js +3 -3
- package/dist/features/auth/adapters/inbound/SignUpForm.js.map +1 -0
- package/dist/features/auth/forgotPasswordFormMeta.d.ts +79 -0
- package/dist/features/auth/forgotPasswordFormMeta.d.ts.map +1 -0
- package/dist/features/auth/forgotPasswordFormMeta.js +48 -0
- package/dist/features/auth/forgotPasswordFormMeta.js.map +1 -0
- package/dist/features/auth/oauthProviderButtonMeta.d.ts +83 -0
- package/dist/features/auth/oauthProviderButtonMeta.d.ts.map +1 -0
- package/dist/features/auth/oauthProviderButtonMeta.js +61 -0
- package/dist/features/auth/oauthProviderButtonMeta.js.map +1 -0
- package/dist/features/auth/oauthProviderListMeta.d.ts +109 -0
- package/dist/features/auth/oauthProviderListMeta.d.ts.map +1 -0
- package/dist/features/auth/oauthProviderListMeta.js +66 -0
- package/dist/features/auth/oauthProviderListMeta.js.map +1 -0
- package/dist/features/auth/otpFormMeta.d.ts +89 -0
- package/dist/features/auth/otpFormMeta.d.ts.map +1 -0
- package/dist/features/auth/otpFormMeta.js +54 -0
- package/dist/features/auth/otpFormMeta.js.map +1 -0
- package/dist/features/auth/public.d.ts +9 -0
- package/dist/features/auth/public.d.ts.map +1 -0
- package/dist/features/auth/public.js +8 -0
- package/dist/features/auth/public.js.map +1 -0
- package/dist/features/auth/signInFormMeta.d.ts +100 -0
- package/dist/features/auth/signInFormMeta.d.ts.map +1 -0
- package/dist/features/auth/signInFormMeta.js +62 -0
- package/dist/features/auth/signInFormMeta.js.map +1 -0
- package/dist/features/auth/signUpFormMeta.d.ts +111 -0
- package/dist/features/auth/signUpFormMeta.d.ts.map +1 -0
- package/dist/features/auth/signUpFormMeta.js +66 -0
- package/dist/features/auth/signUpFormMeta.js.map +1 -0
- package/dist/{patterns/auth/utils.d.ts → features/auth/utils/authForm.d.ts} +3 -3
- package/dist/features/auth/utils/authForm.d.ts.map +1 -0
- package/dist/{patterns/auth/utils.js → features/auth/utils/authForm.js} +1 -1
- package/dist/features/auth/utils/authForm.js.map +1 -0
- package/dist/{patterns/auth → features/auth/utils}/oauthProviders.d.ts +1 -1
- package/dist/features/auth/utils/oauthProviders.d.ts.map +1 -0
- package/dist/features/auth/utils/oauthProviders.js.map +1 -0
- package/dist/features/bottom-sheet/bottomSheetMeta.d.ts +1 -1
- package/dist/features/card/cardMeta.d.ts +1 -1
- package/dist/features/card/mediaCardMeta.d.ts +1 -1
- package/dist/features/card/postCardMeta.d.ts +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/{components/date-picker → features/date-picker/adapters/inbound}/DatePicker.d.ts +1 -1
- package/dist/features/date-picker/adapters/inbound/DatePicker.d.ts.map +1 -0
- package/dist/{components/date-picker → features/date-picker/adapters/inbound}/DatePicker.js +23 -26
- package/dist/features/date-picker/adapters/inbound/DatePicker.js.map +1 -0
- package/dist/features/date-picker/datePickerMeta.d.ts +83 -0
- package/dist/features/date-picker/datePickerMeta.d.ts.map +1 -0
- package/dist/features/date-picker/datePickerMeta.js +57 -0
- package/dist/features/date-picker/datePickerMeta.js.map +1 -0
- package/dist/features/date-picker/public.d.ts +3 -0
- package/dist/features/date-picker/public.d.ts.map +1 -0
- package/dist/features/date-picker/public.js +2 -0
- package/dist/features/date-picker/public.js.map +1 -0
- package/dist/features/date-picker/utils/localDate.d.ts +5 -0
- package/dist/features/date-picker/utils/localDate.d.ts.map +1 -0
- package/dist/features/date-picker/utils/localDate.js +27 -0
- package/dist/features/date-picker/utils/localDate.js.map +1 -0
- package/dist/{components/gradient → features/gradient/adapters/inbound}/Gradient.d.ts +1 -1
- package/dist/features/gradient/adapters/inbound/Gradient.d.ts.map +1 -0
- package/dist/{components/gradient → features/gradient/adapters/inbound}/Gradient.js +2 -2
- package/dist/features/gradient/adapters/inbound/Gradient.js.map +1 -0
- package/dist/{components/gradient → features/gradient/adapters/inbound}/GradientRendererContext.d.ts +3 -2
- package/dist/features/gradient/adapters/inbound/GradientRendererContext.d.ts.map +1 -0
- package/dist/{components/gradient → features/gradient/adapters/inbound}/GradientRendererContext.js +2 -1
- package/dist/features/gradient/adapters/inbound/GradientRendererContext.js.map +1 -0
- package/dist/features/gradient/gradientMeta.d.ts +48 -0
- package/dist/features/gradient/gradientMeta.d.ts.map +1 -0
- package/dist/features/gradient/gradientMeta.js +25 -0
- package/dist/features/gradient/gradientMeta.js.map +1 -0
- package/dist/features/gradient/public.d.ts +4 -0
- package/dist/features/gradient/public.d.ts.map +1 -0
- package/dist/features/gradient/public.js +3 -0
- package/dist/features/gradient/public.js.map +1 -0
- package/dist/{patterns/hero → features/hero/adapters/inbound}/Hero.d.ts +1 -1
- package/dist/features/hero/adapters/inbound/Hero.d.ts.map +1 -0
- package/dist/{patterns/hero → features/hero/adapters/inbound}/Hero.js +5 -6
- package/dist/features/hero/adapters/inbound/Hero.js.map +1 -0
- package/dist/{patterns/hero/meta.d.ts → features/hero/heroMeta.d.ts} +1 -1
- package/dist/features/hero/heroMeta.d.ts.map +1 -0
- package/dist/{patterns/hero/meta.js → features/hero/heroMeta.js} +1 -1
- package/dist/features/hero/heroMeta.js.map +1 -0
- package/dist/features/hero/public.d.ts +3 -0
- package/dist/features/hero/public.d.ts.map +1 -0
- package/dist/features/hero/public.js +2 -0
- package/dist/features/hero/public.js.map +1 -0
- package/dist/features/keyboard-avoiding-view/keyboardAvoidingViewMeta.d.ts +1 -1
- package/dist/features/layout/boxMeta.d.ts +1 -1
- package/dist/features/layout/containerMeta.d.ts +1 -1
- package/dist/features/layout/gridMeta.d.ts +1 -1
- package/dist/features/layout/stackMeta.d.ts +1 -1
- package/dist/features/list/flatListMeta.d.ts +1 -1
- package/dist/features/list/sectionListMeta.d.ts +1 -1
- package/dist/{patterns/missing-element → features/missing-element/adapters/inbound}/MissingElement.d.ts +1 -1
- package/dist/features/missing-element/adapters/inbound/MissingElement.d.ts.map +1 -0
- package/dist/{patterns/missing-element → features/missing-element/adapters/inbound}/MissingElement.js +5 -5
- package/dist/features/missing-element/adapters/inbound/MissingElement.js.map +1 -0
- package/dist/{patterns/missing-element/meta.d.ts → features/missing-element/missingElementMeta.d.ts} +1 -1
- package/dist/features/missing-element/missingElementMeta.d.ts.map +1 -0
- package/dist/{patterns/missing-element/meta.js → features/missing-element/missingElementMeta.js} +1 -1
- package/dist/features/missing-element/missingElementMeta.js.map +1 -0
- package/dist/features/missing-element/public.d.ts +3 -0
- package/dist/features/missing-element/public.d.ts.map +1 -0
- package/dist/features/missing-element/public.js +2 -0
- package/dist/features/missing-element/public.js.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/Skeleton.d.ts +1 -1
- package/dist/features/skeleton/adapters/inbound/Skeleton.d.ts.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/Skeleton.js +3 -3
- package/dist/features/skeleton/adapters/inbound/Skeleton.js.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonCard.d.ts +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.d.ts.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonCard.js +4 -4
- package/dist/features/skeleton/adapters/inbound/SkeletonCard.js.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonList.d.ts +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonList.d.ts.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonList.js +2 -2
- package/dist/features/skeleton/adapters/inbound/SkeletonList.js.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonText.d.ts +1 -1
- package/dist/features/skeleton/adapters/inbound/SkeletonText.d.ts.map +1 -0
- package/dist/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonText.js +2 -2
- package/dist/features/skeleton/adapters/inbound/SkeletonText.js.map +1 -0
- package/dist/features/skeleton/public.d.ts +6 -0
- package/dist/features/skeleton/public.d.ts.map +1 -0
- package/dist/features/skeleton/public.js +5 -0
- package/dist/features/skeleton/public.js.map +1 -0
- package/dist/features/skeleton/skeletonMeta.d.ts +178 -0
- package/dist/features/skeleton/skeletonMeta.d.ts.map +1 -0
- package/dist/features/skeleton/skeletonMeta.js +84 -0
- package/dist/features/skeleton/skeletonMeta.js.map +1 -0
- package/dist/features/surface/surfaceMeta.d.ts +1 -1
- package/dist/{components/time-picker → features/time-picker/adapters/inbound}/TimePicker.d.ts +1 -1
- package/dist/features/time-picker/adapters/inbound/TimePicker.d.ts.map +1 -0
- package/dist/{components/time-picker → features/time-picker/adapters/inbound}/TimePicker.js +8 -11
- package/dist/features/time-picker/adapters/inbound/TimePicker.js.map +1 -0
- package/dist/features/time-picker/public.d.ts +3 -0
- package/dist/features/time-picker/public.d.ts.map +1 -0
- package/dist/features/time-picker/public.js +2 -0
- package/dist/features/time-picker/public.js.map +1 -0
- package/dist/features/time-picker/timePickerMeta.d.ts +90 -0
- package/dist/features/time-picker/timePickerMeta.d.ts.map +1 -0
- package/dist/features/time-picker/timePickerMeta.js +64 -0
- package/dist/features/time-picker/timePickerMeta.js.map +1 -0
- package/dist/index.d.ts +9 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/layout/screen/meta.d.ts +1 -1
- package/dist/layout/screen-section/meta.d.ts +1 -1
- package/dist/metadata/allowedChildren.d.ts +3 -3
- package/dist/metadata/allowedChildren.d.ts.map +1 -1
- package/dist/metadata/allowedChildren.js +14 -0
- package/dist/metadata/allowedChildren.js.map +1 -1
- package/dist/metadata/bindableComponentMeta.d.ts +2 -2
- package/dist/metadata/componentMeta.d.ts.map +1 -1
- package/dist/metadata/componentMeta.js +12 -7
- package/dist/metadata/componentMeta.js.map +1 -1
- package/dist/patterns/message-bubble/meta.d.ts +1 -1
- package/dist/patterns/notice/meta.d.ts +1 -1
- package/dist/patterns/panel/meta.d.ts +1 -1
- package/dist/patterns/reader/meta.d.ts +2 -2
- package/dist/patterns/scanner/meta.d.ts +2 -2
- package/dist/registry.js +7 -7
- package/dist/registry.js.map +1 -1
- package/dist/{patterns/auth/types.d.ts → types/auth.d.ts} +8 -8
- package/dist/types/auth.d.ts.map +1 -0
- package/dist/types/auth.js +2 -0
- package/dist/types/auth.js.map +1 -0
- package/dist/{components/date-picker/types.d.ts → types/date-picker.d.ts} +6 -6
- package/dist/types/date-picker.d.ts.map +1 -0
- package/dist/types/date-picker.js +2 -0
- package/dist/types/date-picker.js.map +1 -0
- package/dist/{components/gradient/types.d.ts → types/gradient.d.ts} +3 -3
- package/dist/types/gradient.d.ts.map +1 -0
- package/dist/types/gradient.js +2 -0
- package/dist/types/gradient.js.map +1 -0
- package/dist/{patterns/hero/types.d.ts → types/hero.d.ts} +3 -3
- package/dist/types/hero.d.ts.map +1 -0
- package/dist/types/hero.js +2 -0
- package/dist/types/hero.js.map +1 -0
- package/dist/{patterns/missing-element/types.d.ts → types/missing-element.d.ts} +2 -2
- package/dist/types/missing-element.d.ts.map +1 -0
- package/dist/types/missing-element.js +2 -0
- package/dist/types/missing-element.js.map +1 -0
- package/dist/{components/skeleton/types.d.ts → types/skeleton.d.ts} +3 -3
- package/dist/types/skeleton.d.ts.map +1 -0
- package/dist/types/skeleton.js +2 -0
- package/dist/types/skeleton.js.map +1 -0
- package/dist/{components/time-picker/types.d.ts → types/time-picker.d.ts} +2 -2
- package/dist/types/time-picker.d.ts.map +1 -0
- package/dist/types/time-picker.js +2 -0
- package/dist/types/time-picker.js.map +1 -0
- package/package.json +1 -1
- package/src/constants.ts +12 -0
- package/src/expo57Migration.test.ts +1 -1
- package/src/featureManifest.test.ts +14 -0
- package/src/{patterns/auth → features/auth/adapters/inbound}/AuthForm.tsx +5 -5
- package/src/{patterns/auth → features/auth/adapters/inbound}/AuthFormField.tsx +4 -4
- package/src/{patterns/auth → features/auth/adapters/inbound}/ForgotPasswordForm.tsx +8 -8
- package/src/{patterns/auth → features/auth/adapters/inbound}/OAuthProviderButton.tsx +4 -4
- package/src/{patterns/auth → features/auth/adapters/inbound}/OAuthProviderList.tsx +3 -3
- package/src/{patterns/auth → features/auth/adapters/inbound}/OtpForm.tsx +6 -6
- package/src/{patterns/auth → features/auth/adapters/inbound}/SignInForm.tsx +8 -8
- package/src/{patterns/auth → features/auth/adapters/inbound}/SignUpForm.tsx +5 -5
- package/src/features/auth/forgotPasswordFormMeta.ts +49 -0
- package/src/features/auth/oauthProviderButtonMeta.ts +62 -0
- package/src/features/auth/oauthProviderListMeta.ts +67 -0
- package/src/features/auth/otpFormMeta.ts +55 -0
- package/src/features/auth/public.test.ts +34 -0
- package/src/{patterns/auth/index.ts → features/auth/public.ts} +12 -12
- package/src/features/auth/signInFormMeta.ts +63 -0
- package/src/features/auth/signUpFormMeta.ts +67 -0
- package/src/{patterns/auth/utils.ts → features/auth/utils/authForm.ts} +2 -2
- package/src/{patterns/auth → features/auth/utils}/oauthProviders.test.ts +1 -1
- package/src/{patterns/auth → features/auth/utils}/oauthProviders.ts +1 -1
- package/src/features/bottom-sheet/public.test.ts +2 -2
- package/src/features/data-table/adapters/inbound/DataTable.tsx +1 -1
- package/src/{components/date-picker → features/date-picker/adapters/inbound}/DatePicker.tsx +41 -32
- package/src/features/date-picker/datePickerMeta.ts +58 -0
- package/src/features/date-picker/public.test.ts +15 -0
- package/src/features/date-picker/public.ts +2 -0
- package/src/features/date-picker/utils/localDate.test.ts +18 -0
- package/src/features/date-picker/utils/localDate.ts +29 -0
- package/src/{components/gradient → features/gradient/adapters/inbound}/Gradient.tsx +3 -3
- package/src/{components/gradient → features/gradient/adapters/inbound}/GradientRendererContext.tsx +3 -2
- package/src/features/gradient/gradientMeta.ts +26 -0
- package/src/features/gradient/public.test.ts +15 -0
- package/src/{components/gradient/index.ts → features/gradient/public.ts} +3 -3
- package/src/{patterns/hero → features/hero/adapters/inbound}/Hero.tsx +6 -7
- package/src/features/hero/public.ts +2 -0
- package/src/{patterns → features}/missing-element/MissingElement.test.ts +6 -4
- package/src/{patterns/missing-element → features/missing-element/adapters/inbound}/MissingElement.tsx +6 -6
- package/src/features/missing-element/public.ts +2 -0
- package/src/{components/skeleton → features/skeleton/adapters/inbound}/Skeleton.tsx +4 -4
- package/src/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonCard.tsx +5 -5
- package/src/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonList.tsx +3 -3
- package/src/{components/skeleton → features/skeleton/adapters/inbound}/SkeletonText.tsx +3 -3
- package/src/features/skeleton/public.test.ts +24 -0
- package/src/features/skeleton/public.ts +13 -0
- package/src/features/skeleton/skeletonMeta.ts +88 -0
- package/src/{components/time-picker → features/time-picker/adapters/inbound}/TimePicker.tsx +9 -12
- package/src/features/time-picker/public.test.ts +14 -0
- package/src/features/time-picker/public.ts +2 -0
- package/src/features/time-picker/timePickerMeta.ts +65 -0
- package/src/index.ts +72 -58
- package/src/interactionPolicy.test.ts +3 -3
- package/src/metadata/allowedChildren.ts +14 -0
- package/src/metadata/componentMeta.test.ts +13 -0
- package/src/metadata/componentMeta.ts +17 -19
- package/src/registry.ts +14 -14
- package/src/theme/themeScopeStructure.test.ts +7 -5
- package/src/{patterns/auth/types.ts → types/auth.ts} +7 -7
- package/src/{components/date-picker/types.ts → types/date-picker.ts} +5 -5
- package/src/{components/gradient/types.ts → types/gradient.ts} +2 -2
- package/src/{patterns/hero/types.ts → types/hero.ts} +2 -2
- package/src/{patterns/missing-element/types.ts → types/missing-element.ts} +1 -1
- package/src/{components/skeleton/types.ts → types/skeleton.ts} +2 -2
- package/src/{components/time-picker/types.ts → types/time-picker.ts} +1 -1
- package/dist/components/date-picker/DatePicker.d.ts.map +0 -1
- package/dist/components/date-picker/DatePicker.js.map +0 -1
- package/dist/components/date-picker/index.d.ts +0 -3
- package/dist/components/date-picker/index.d.ts.map +0 -1
- package/dist/components/date-picker/index.js +0 -2
- package/dist/components/date-picker/index.js.map +0 -1
- package/dist/components/date-picker/meta.d.ts +0 -9
- package/dist/components/date-picker/meta.d.ts.map +0 -1
- package/dist/components/date-picker/meta.js +0 -9
- package/dist/components/date-picker/meta.js.map +0 -1
- package/dist/components/date-picker/types.d.ts.map +0 -1
- package/dist/components/date-picker/types.js +0 -2
- package/dist/components/date-picker/types.js.map +0 -1
- package/dist/components/gradient/Gradient.d.ts.map +0 -1
- package/dist/components/gradient/Gradient.js.map +0 -1
- package/dist/components/gradient/GradientRendererContext.d.ts.map +0 -1
- package/dist/components/gradient/GradientRendererContext.js.map +0 -1
- package/dist/components/gradient/index.d.ts +0 -4
- package/dist/components/gradient/index.d.ts.map +0 -1
- package/dist/components/gradient/index.js +0 -3
- package/dist/components/gradient/index.js.map +0 -1
- package/dist/components/gradient/meta.d.ts +0 -9
- package/dist/components/gradient/meta.d.ts.map +0 -1
- package/dist/components/gradient/meta.js +0 -9
- package/dist/components/gradient/meta.js.map +0 -1
- package/dist/components/gradient/types.d.ts.map +0 -1
- package/dist/components/gradient/types.js +0 -2
- package/dist/components/gradient/types.js.map +0 -1
- package/dist/components/skeleton/Skeleton.d.ts.map +0 -1
- package/dist/components/skeleton/Skeleton.js.map +0 -1
- package/dist/components/skeleton/SkeletonCard.d.ts.map +0 -1
- package/dist/components/skeleton/SkeletonCard.js.map +0 -1
- package/dist/components/skeleton/SkeletonList.d.ts.map +0 -1
- package/dist/components/skeleton/SkeletonList.js.map +0 -1
- package/dist/components/skeleton/SkeletonText.d.ts.map +0 -1
- package/dist/components/skeleton/SkeletonText.js.map +0 -1
- package/dist/components/skeleton/index.d.ts +0 -6
- package/dist/components/skeleton/index.d.ts.map +0 -1
- package/dist/components/skeleton/index.js +0 -5
- package/dist/components/skeleton/index.js.map +0 -1
- package/dist/components/skeleton/meta.d.ts +0 -33
- package/dist/components/skeleton/meta.d.ts.map +0 -1
- package/dist/components/skeleton/meta.js +0 -33
- package/dist/components/skeleton/meta.js.map +0 -1
- package/dist/components/skeleton/types.d.ts.map +0 -1
- package/dist/components/skeleton/types.js +0 -2
- package/dist/components/skeleton/types.js.map +0 -1
- package/dist/components/time-picker/TimePicker.d.ts.map +0 -1
- package/dist/components/time-picker/TimePicker.js.map +0 -1
- package/dist/components/time-picker/index.d.ts +0 -3
- package/dist/components/time-picker/index.d.ts.map +0 -1
- package/dist/components/time-picker/index.js +0 -2
- package/dist/components/time-picker/index.js.map +0 -1
- package/dist/components/time-picker/meta.d.ts +0 -9
- package/dist/components/time-picker/meta.d.ts.map +0 -1
- package/dist/components/time-picker/meta.js +0 -9
- package/dist/components/time-picker/meta.js.map +0 -1
- package/dist/components/time-picker/types.d.ts.map +0 -1
- package/dist/components/time-picker/types.js +0 -2
- package/dist/components/time-picker/types.js.map +0 -1
- package/dist/patterns/auth/AuthForm.d.ts.map +0 -1
- package/dist/patterns/auth/AuthForm.js.map +0 -1
- package/dist/patterns/auth/AuthFormField.d.ts.map +0 -1
- package/dist/patterns/auth/AuthFormField.js.map +0 -1
- package/dist/patterns/auth/ForgotPasswordForm.d.ts.map +0 -1
- package/dist/patterns/auth/ForgotPasswordForm.js.map +0 -1
- package/dist/patterns/auth/OAuthProviderButton.d.ts.map +0 -1
- package/dist/patterns/auth/OAuthProviderButton.js.map +0 -1
- package/dist/patterns/auth/OAuthProviderList.d.ts.map +0 -1
- package/dist/patterns/auth/OAuthProviderList.js.map +0 -1
- package/dist/patterns/auth/OtpForm.d.ts.map +0 -1
- package/dist/patterns/auth/OtpForm.js.map +0 -1
- package/dist/patterns/auth/SignInForm.d.ts.map +0 -1
- package/dist/patterns/auth/SignInForm.js.map +0 -1
- package/dist/patterns/auth/SignUpForm.d.ts.map +0 -1
- package/dist/patterns/auth/SignUpForm.js.map +0 -1
- package/dist/patterns/auth/index.d.ts +0 -9
- package/dist/patterns/auth/index.d.ts.map +0 -1
- package/dist/patterns/auth/index.js +0 -8
- package/dist/patterns/auth/index.js.map +0 -1
- package/dist/patterns/auth/meta.d.ts +0 -49
- package/dist/patterns/auth/meta.d.ts.map +0 -1
- package/dist/patterns/auth/meta.js +0 -50
- package/dist/patterns/auth/meta.js.map +0 -1
- package/dist/patterns/auth/oauthProviders.d.ts.map +0 -1
- package/dist/patterns/auth/oauthProviders.js.map +0 -1
- package/dist/patterns/auth/types.d.ts.map +0 -1
- package/dist/patterns/auth/types.js +0 -2
- package/dist/patterns/auth/types.js.map +0 -1
- package/dist/patterns/auth/utils.d.ts.map +0 -1
- package/dist/patterns/auth/utils.js.map +0 -1
- package/dist/patterns/hero/Hero.d.ts.map +0 -1
- package/dist/patterns/hero/Hero.js.map +0 -1
- package/dist/patterns/hero/index.d.ts +0 -3
- package/dist/patterns/hero/index.d.ts.map +0 -1
- package/dist/patterns/hero/index.js +0 -2
- package/dist/patterns/hero/index.js.map +0 -1
- package/dist/patterns/hero/meta.d.ts.map +0 -1
- package/dist/patterns/hero/meta.js.map +0 -1
- package/dist/patterns/hero/types.d.ts.map +0 -1
- package/dist/patterns/hero/types.js +0 -2
- package/dist/patterns/hero/types.js.map +0 -1
- package/dist/patterns/missing-element/MissingElement.d.ts.map +0 -1
- package/dist/patterns/missing-element/MissingElement.js.map +0 -1
- package/dist/patterns/missing-element/index.d.ts +0 -3
- package/dist/patterns/missing-element/index.d.ts.map +0 -1
- package/dist/patterns/missing-element/index.js +0 -2
- package/dist/patterns/missing-element/index.js.map +0 -1
- package/dist/patterns/missing-element/meta.d.ts.map +0 -1
- package/dist/patterns/missing-element/meta.js.map +0 -1
- package/dist/patterns/missing-element/types.d.ts.map +0 -1
- package/dist/patterns/missing-element/types.js +0 -2
- package/dist/patterns/missing-element/types.js.map +0 -1
- package/src/components/date-picker/index.ts +0 -2
- package/src/components/date-picker/meta.ts +0 -10
- package/src/components/gradient/meta.ts +0 -10
- package/src/components/skeleton/index.ts +0 -13
- package/src/components/skeleton/meta.ts +0 -37
- package/src/components/time-picker/index.ts +0 -2
- package/src/components/time-picker/meta.ts +0 -10
- package/src/patterns/auth/meta.ts +0 -57
- package/src/patterns/hero/index.ts +0 -2
- package/src/patterns/missing-element/index.ts +0 -2
- /package/dist/{patterns/auth → features/auth/utils}/oauthProviders.js +0 -0
- /package/src/{patterns/hero/meta.ts → features/hero/heroMeta.ts} +0 -0
- /package/src/{patterns/missing-element/meta.ts → features/missing-element/missingElementMeta.ts} +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
export const skeletonMeta = {
|
|
2
|
+
name: 'Skeleton',
|
|
3
|
+
category: 'component',
|
|
4
|
+
description: 'Generic visual placeholder for a loading content region.',
|
|
5
|
+
directManifestNode: true,
|
|
6
|
+
allowedChildren: [],
|
|
7
|
+
blueprint: {
|
|
8
|
+
label: 'Skeleton',
|
|
9
|
+
defaultProps: { height: 16, radius: 'm' },
|
|
10
|
+
},
|
|
11
|
+
props: {
|
|
12
|
+
width: { type: 'number', category: 'Layout', label: 'Width' },
|
|
13
|
+
height: { type: 'number', category: 'Layout', label: 'Height', default: 16 },
|
|
14
|
+
radius: { type: 'radius', category: 'Appearance', label: 'Radius', default: 'm' },
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
export const skeletonTextMeta = {
|
|
18
|
+
name: 'SkeletonText',
|
|
19
|
+
category: 'component',
|
|
20
|
+
description: 'Multi-line placeholder for loading text content.',
|
|
21
|
+
directManifestNode: true,
|
|
22
|
+
allowedChildren: [],
|
|
23
|
+
blueprint: {
|
|
24
|
+
label: 'Skeleton text',
|
|
25
|
+
defaultProps: { lines: 3, lineHeight: 12, gap: 'xs' },
|
|
26
|
+
},
|
|
27
|
+
props: {
|
|
28
|
+
lines: { type: 'number', category: 'Content', label: 'Lines', default: 3 },
|
|
29
|
+
lineHeight: { type: 'number', category: 'Layout', label: 'Line height', default: 12 },
|
|
30
|
+
gap: { type: 'spacing', category: 'Spacing', label: 'Gap', default: 'xs' },
|
|
31
|
+
width: { type: 'number', category: 'Layout', label: 'Width' },
|
|
32
|
+
lastLineWidth: { type: 'number', category: 'Layout', label: 'Last line width' },
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
export const skeletonCardMeta = {
|
|
36
|
+
name: 'SkeletonCard',
|
|
37
|
+
category: 'component',
|
|
38
|
+
description: 'Card-shaped placeholder for loading media, copy, and actions.',
|
|
39
|
+
directManifestNode: true,
|
|
40
|
+
allowedChildren: [],
|
|
41
|
+
blueprint: {
|
|
42
|
+
label: 'Skeleton card',
|
|
43
|
+
defaultProps: { media: false, actions: false, lines: 3, compact: false },
|
|
44
|
+
},
|
|
45
|
+
props: {
|
|
46
|
+
media: { type: 'boolean', category: 'Content', label: 'Media', default: false },
|
|
47
|
+
actions: { type: 'boolean', category: 'Content', label: 'Actions', default: false },
|
|
48
|
+
lines: { type: 'number', category: 'Content', label: 'Lines', default: 3 },
|
|
49
|
+
compact: { type: 'boolean', category: 'Layout', label: 'Compact', default: false },
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
export const skeletonListMeta = {
|
|
53
|
+
name: 'SkeletonList',
|
|
54
|
+
category: 'component',
|
|
55
|
+
description: 'List-shaped placeholder for loading rows with optional leading content.',
|
|
56
|
+
directManifestNode: true,
|
|
57
|
+
allowedChildren: [],
|
|
58
|
+
blueprint: {
|
|
59
|
+
label: 'Skeleton list',
|
|
60
|
+
defaultProps: {
|
|
61
|
+
rows: 5,
|
|
62
|
+
avatar: false,
|
|
63
|
+
media: false,
|
|
64
|
+
lines: 2,
|
|
65
|
+
variant: 'divider',
|
|
66
|
+
compact: false,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
props: {
|
|
70
|
+
rows: { type: 'number', category: 'Content', label: 'Rows', default: 5 },
|
|
71
|
+
avatar: { type: 'boolean', category: 'Content', label: 'Avatar', default: false },
|
|
72
|
+
media: { type: 'boolean', category: 'Content', label: 'Media', default: false },
|
|
73
|
+
lines: { type: 'number', category: 'Content', label: 'Lines', default: 2 },
|
|
74
|
+
variant: {
|
|
75
|
+
type: 'enum',
|
|
76
|
+
category: 'Appearance',
|
|
77
|
+
label: 'Variant',
|
|
78
|
+
enum: ['divider', 'card'],
|
|
79
|
+
default: 'divider',
|
|
80
|
+
},
|
|
81
|
+
compact: { type: 'boolean', category: 'Layout', label: 'Compact', default: false },
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=skeletonMeta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skeletonMeta.js","sourceRoot":"","sources":["../../../src/features/skeleton/skeletonMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,0DAA0D;IACvE,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,UAAU;QACjB,YAAY,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE;KAC1C;IACD,KAAK,EAAE;QACL,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;QAC7D,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,QA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AM,EAAE,OAAO,EAAE,CAAC,EAAE;QACxE,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE;QACjF,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QAC/E,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE;QAC1E,OAAO,EAAE;YACP,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,SAAS;YAChB,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;YACzB,OAAO,EAAE,SAAS;SACnB;QACD,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE;KACnF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const skeletonMeta = {\n name: 'Skeleton',\n category: 'component',\n description: 'Generic visual placeholder for a loading content region.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Skeleton',\n defaultProps: { height: 16, radius: 'm' },\n },\n props: {\n width: { type: 'number', category: 'Layout', label: 'Width' },\n height: { type: 'number', category: 'Layout', label: 'Height', default: 16 },\n radius: { type: 'radius', category: 'Appearance', label: 'Radius', default: 'm' },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const skeletonTextMeta = {\n name: 'SkeletonText',\n category: 'component',\n description: 'Multi-line placeholder for loading text content.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Skeleton text',\n defaultProps: { lines: 3, lineHeight: 12, gap: 'xs' },\n },\n props: {\n lines: { type: 'number', category: 'Content', label: 'Lines', default: 3 },\n lineHeight: { type: 'number', category: 'Layout', label: 'Line height', default: 12 },\n gap: { type: 'spacing', category: 'Spacing', label: 'Gap', default: 'xs' },\n width: { type: 'number', category: 'Layout', label: 'Width' },\n lastLineWidth: { type: 'number', category: 'Layout', label: 'Last line width' },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const skeletonCardMeta = {\n name: 'SkeletonCard',\n category: 'component',\n description: 'Card-shaped placeholder for loading media, copy, and actions.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Skeleton card',\n defaultProps: { media: false, actions: false, lines: 3, compact: false },\n },\n props: {\n media: { type: 'boolean', category: 'Content', label: 'Media', default: false },\n actions: { type: 'boolean', category: 'Content', label: 'Actions', default: false },\n lines: { type: 'number', category: 'Content', label: 'Lines', default: 3 },\n compact: { type: 'boolean', category: 'Layout', label: 'Compact', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n\nexport const skeletonListMeta = {\n name: 'SkeletonList',\n category: 'component',\n description: 'List-shaped placeholder for loading rows with optional leading content.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Skeleton list',\n defaultProps: {\n rows: 5,\n avatar: false,\n media: false,\n lines: 2,\n variant: 'divider',\n compact: false,\n },\n },\n props: {\n rows: { type: 'number', category: 'Content', label: 'Rows', default: 5 },\n avatar: { type: 'boolean', category: 'Content', label: 'Avatar', default: false },\n media: { type: 'boolean', category: 'Content', label: 'Media', default: false },\n lines: { type: 'number', category: 'Content', label: 'Lines', default: 2 },\n variant: {\n type: 'enum',\n category: 'Appearance',\n label: 'Variant',\n enum: ['divider', 'card'],\n default: 'divider',\n },\n compact: { type: 'boolean', category: 'Layout', label: 'Compact', default: false },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
|
@@ -2,7 +2,7 @@ export declare const surfaceMeta: {
|
|
|
2
2
|
readonly name: "Surface";
|
|
3
3
|
readonly category: "foundation";
|
|
4
4
|
readonly directManifestNode: true;
|
|
5
|
-
readonly allowedChildren: readonly ["ActivityIndicator", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Container", "Divider", "Text", "Heading", "Icon", "Image", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
5
|
+
readonly allowedChildren: readonly ["ActivityIndicator", "ForgotPasswordForm", "OAuthProviderButton", "OAuthProviderList", "OtpForm", "SignInForm", "SignUpForm", "Surface", "Avatar", "AvatarGroup", "Badge", "MediaCard", "MetricCard", "Chip", "ChipGroup", "DataTable", "DatePicker", "Skeleton", "SkeletonCard", "SkeletonList", "SkeletonText", "IconButton", "Uploader", "FlatList", "SectionList", "BottomSheet", "ProductCard", "Box", "Stack", "Grid", "Gradient", "Container", "Divider", "Text", "Heading", "Icon", "Image", "Hero", "KeyboardAvoidingView", "Button", "ButtonGroup", "RadioGroup", "ThemeModeToggle", "TextInput", "TimePicker", "Form", "Card", "Panel", "Notice", "EmptyState", "SectionHeader", "SettingsRow", "PostCard", "ChatListItem", "MessageBubble", "ProgressRing", "ReaderSurface", "ContentRail", "MissingElement"];
|
|
6
6
|
readonly props: {
|
|
7
7
|
readonly variant: {
|
|
8
8
|
readonly type: "enum";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../../../src/features/time-picker/adapters/inbound/TimePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAyPrE;;GAEG;AACH,eAAO,MAAM,UAAU,uDAAsC,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Field } from '@ankhorage/surface';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ScrollView, StyleSheet } from 'react-native';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';
|
|
5
|
+
import { useBottomSheet } from '../../../bottom-sheet/public';
|
|
6
|
+
import { Button } from '../../../button/public';
|
|
7
|
+
import { Stack } from '../../../layout/public';
|
|
8
|
+
import { Text } from '../../../typography/public';
|
|
9
9
|
const MINUTES_PER_DAY = 24 * 60;
|
|
10
10
|
const DEFAULT_STEP_MINUTES = 30;
|
|
11
11
|
/*** Render the field label and optional supporting description. */
|
|
@@ -50,12 +50,9 @@ function generateTimeOptions({ minTime, maxTime, stepMinutes, }) {
|
|
|
50
50
|
const step = resolveStepMinutes(stepMinutes);
|
|
51
51
|
const min = parseTimeToMinutes(minTime) ?? 0;
|
|
52
52
|
const max = parseTimeToMinutes(maxTime) ?? MINUTES_PER_DAY - 1;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
options.push(formatMinutes(minute));
|
|
57
|
-
}
|
|
58
|
-
return options;
|
|
53
|
+
return Array.from({ length: Math.ceil(MINUTES_PER_DAY / step) }, (_, index) => index * step)
|
|
54
|
+
.filter((minute) => minute >= min && minute <= max)
|
|
55
|
+
.map(formatMinutes);
|
|
59
56
|
}
|
|
60
57
|
function TimePickerInner({ themeId: _themeId, mode: _mode, value, onValueChange, label, description, error, placeholder = 'Choose time', minTime, maxTime, stepMinutes, disabled = false, required = false, formatTime, testID, interactionPolicy, }) {
|
|
61
58
|
const { dismiss, present } = useBottomSheet();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TimePicker.js","sourceRoot":"","sources":["../../../../../src/features/time-picker/adapters/inbound/TimePicker.tsx"],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AAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,OAAO,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE;CAC5B,CAAC,CAAC;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAAC,eAAe,CAAC,CAAC","sourcesContent":["import { Field } from '@ankhorage/surface';\nimport React from 'react';\nimport { ScrollView, StyleSheet } from 'react-native';\n\nimport { withZoraThemeScope } from '../../../../theme/withZoraThemeScope';\nimport type { TimePickerProps } from '../../../../types/time-picker';\nimport { useBottomSheet } from '../../../bottom-sheet/public';\nimport { Button } from '../../../button/public';\nimport { Stack } from '../../../layout/public';\nimport { Text } from '../../../typography/public';\n\nconst MINUTES_PER_DAY = 24 * 60;\nconst DEFAULT_STEP_MINUTES = 30;\n\n/*** Render the field label and optional supporting description. */\nfunction renderLabel(label: React.ReactNode, description: React.ReactNode | undefined) {\n return (\n <Stack gap=\"xs\">\n <Text variant=\"label\" weight=\"semiBold\">\n {label}\n </Text>\n {description ? (\n <Text emphasis=\"muted\" variant=\"bodySmall\">\n {description}\n </Text>\n ) : null}\n </Stack>\n );\n}\n\n/*** Parse one HH:mm value to minutes since midnight. */\nfunction parseTimeToMinutes(value: string | undefined): number | undefined {\n if (!value) return undefined;\n const match = /^(\\d{2}):(\\d{2})$/.exec(value);\n if (!match) return undefined;\n\n const hours = Number(match[1]);\n const minutes = Number(match[2]);\n if (hours < 0 || hours > 23 || minutes < 0 || minutes > 59) return undefined;\n return hours * 60 + minutes;\n}\n\n/*** Format minutes since midnight as HH:mm. */\nfunction formatMinutes(value: number): string {\n const hours = Math.floor(value / 60);\n const minutes = value % 60;\n return `${String(hours).padStart(2, '0')}:${String(minutes).padStart(2, '0')}`;\n}\n\n/*** Normalize the configured time step to a positive whole minute. */\nfunction resolveStepMinutes(stepMinutes: number | undefined): number {\n if (stepMinutes === undefined || !Number.isFinite(stepMinutes) || stepMinutes <= 0) {\n return DEFAULT_STEP_MINUTES;\n }\n return Math.max(1, Math.floor(stepMinutes));\n}\n\n/*** Generate selectable HH:mm values within the configured range. */\nfunction generateTimeOptions({\n minTime,\n maxTime,\n stepMinutes,\n}: Pick<TimePickerProps, 'maxTime' | 'minTime' | 'stepMinutes'>): string[] {\n const step = resolveStepMinutes(stepMinutes);\n const min = parseTimeToMinutes(minTime) ?? 0;\n const max = parseTimeToMinutes(maxTime) ?? MINUTES_PER_DAY - 1;\n return Array.from({ length: Math.ceil(MINUTES_PER_DAY / step) }, (_, index) => index * step)\n .filter((minute) => minute >= min && minute <= max)\n .map(formatMinutes);\n}\n\nfunction TimePickerInner({\n themeId: _themeId,\n mode: _mode,\n value,\n onValueChange,\n label,\n description,\n error,\n placeholder = 'Choose time',\n minTime,\n maxTime,\n stepMinutes,\n disabled = false,\n required = false,\n formatTime,\n testID,\n interactionPolicy,\n}: TimePickerProps) {\n const { dismiss, present } = useBottomSheet();\n const passive = interactionPolicy === 'passive';\n const displayValue = value ? (formatTime ? formatTime(value) : value) : placeholder;\n\n /*** Present the time options through the shared BottomSheet controller. */\n function openPicker() {\n if (passive) return;\n present({\n content: (\n <TimePickerSheet\n description={description}\n formatTime={formatTime}\n interactionPolicy={interactionPolicy}\n label={label}\n maxTime={maxTime}\n minTime={minTime}\n onDismiss={dismiss}\n onSelect={(time) => {\n onValueChange?.(time);\n dismiss();\n }}\n stepMinutes={stepMinutes}\n testID={testID}\n value={value}\n />\n ),\n });\n }\n\n return (\n <Field\n disabled={disabled}\n errorText={error}\n invalid={Boolean(error)}\n label={label ? renderLabel(label, description) : undefined}\n required={required}\n testID={testID}\n >\n <Button\n disabled={disabled}\n interactionPolicy={interactionPolicy}\n onPress={openPicker}\n testID={testID ? `${testID}-trigger` : undefined}\n trailingIcon={{ name: 'chevron-down-outline' }}\n variant=\"outline\"\n >\n {displayValue}\n </Button>\n </Field>\n );\n}\n\ninterface TimePickerSheetProps extends Pick<\n TimePickerProps,\n | 'description'\n | 'formatTime'\n | 'interactionPolicy'\n | 'label'\n | 'maxTime'\n | 'minTime'\n | 'stepMinutes'\n | 'testID'\n | 'value'\n> {\n onDismiss: () => void;\n onSelect: (value: string) => void;\n}\n\n/*** Render time selection content inside the shared BottomSheet host. */\nfunction TimePickerSheet({\n description,\n formatTime,\n interactionPolicy,\n label,\n maxTime,\n minTime,\n onDismiss,\n onSelect,\n stepMinutes,\n testID,\n value,\n}: TimePickerSheetProps) {\n const options = React.useMemo(\n () => generateTimeOptions({ maxTime, minTime, stepMinutes }),\n [maxTime, minTime, stepMinutes],\n );\n\n return (\n <Stack gap=\"m\" p=\"m\" testID={testID ? `${testID}-sheet` : undefined}>\n <PickerSheetHeader description={description} title={label ?? 'Choose time'} />\n <ScrollView style={styles.options}>\n <Stack gap=\"xxs\">\n {options.map((option) => (\n <TimePickerOption\n formatTime={formatTime}\n interactionPolicy={interactionPolicy}\n key={option}\n onSelect={onSelect}\n option={option}\n selected={option === value}\n testID={testID}\n />\n ))}\n </Stack>\n </ScrollView>\n <Button fullWidth interactionPolicy={interactionPolicy} onPress={onDismiss} variant=\"ghost\">\n Cancel\n </Button>\n </Stack>\n );\n}\n\n/*** Render the shared title block used by the time sheet. */\nfunction PickerSheetHeader({\n description,\n title,\n}: {\n description: React.ReactNode | undefined;\n title: React.ReactNode;\n}) {\n return (\n <Stack gap=\"xxs\">\n <Text align=\"center\" variant=\"label\" weight=\"semiBold\">\n {title}\n </Text>\n {description ? (\n <Text align=\"center\" emphasis=\"muted\" variant=\"bodySmall\">\n {description}\n </Text>\n ) : null}\n </Stack>\n );\n}\n\n/*** Render one accessible selectable time option. */\nfunction TimePickerOption({\n formatTime,\n interactionPolicy,\n onSelect,\n option,\n selected,\n testID,\n}: Pick<TimePickerSheetProps, 'formatTime' | 'interactionPolicy' | 'testID'> & {\n onSelect: (value: string) => void;\n option: string;\n selected: boolean;\n}) {\n return (\n <Button\n accessibilityState={{ selected }}\n fullWidth\n interactionPolicy={interactionPolicy}\n onPress={() => onSelect(option)}\n testID={testID ? `${testID}-option-${option}` : undefined}\n variant={selected ? 'soft' : 'ghost'}\n >\n {formatTime ? formatTime(option) : option}\n </Button>\n );\n}\n\nconst styles = StyleSheet.create({\n options: { maxHeight: 360 },\n});\n\n/***\n * Time input control with bottom-sheet selection and formatted display value.\n */\nexport const TimePicker = withZoraThemeScope(TimePickerInner);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/time-picker/public.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/time-picker/public.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export type { TimePickerProps, TimePickerValue } from '../../types/time-picker';\nexport { TimePicker } from './adapters/inbound/TimePicker';\n"]}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const timePickerMeta: {
|
|
2
|
+
readonly name: "TimePicker";
|
|
3
|
+
readonly category: "component";
|
|
4
|
+
readonly description: "Captures a local HH:mm time through the shared BottomSheet picker host.";
|
|
5
|
+
readonly directManifestNode: true;
|
|
6
|
+
readonly allowedChildren: readonly [];
|
|
7
|
+
readonly blueprint: {
|
|
8
|
+
readonly label: "Time picker";
|
|
9
|
+
readonly defaultProps: {
|
|
10
|
+
readonly value: null;
|
|
11
|
+
readonly placeholder: "Choose time";
|
|
12
|
+
readonly stepMinutes: 30;
|
|
13
|
+
readonly disabled: false;
|
|
14
|
+
readonly required: false;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
readonly events: {
|
|
18
|
+
readonly valueChange: {
|
|
19
|
+
readonly label: "Value change";
|
|
20
|
+
readonly eventType: "timePicker.valueChange";
|
|
21
|
+
readonly description: "Emitted when an HH:mm time value is selected.";
|
|
22
|
+
readonly payloadFields: readonly [{
|
|
23
|
+
readonly path: "value";
|
|
24
|
+
readonly type: "string";
|
|
25
|
+
readonly label: "Value";
|
|
26
|
+
}];
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
readonly props: {
|
|
30
|
+
readonly value: {
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly category: "State";
|
|
33
|
+
readonly label: "Value";
|
|
34
|
+
readonly default: null;
|
|
35
|
+
readonly authoring: {
|
|
36
|
+
readonly authority: "instance";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly label: {
|
|
40
|
+
readonly type: "string";
|
|
41
|
+
readonly category: "Content";
|
|
42
|
+
readonly label: "Label";
|
|
43
|
+
};
|
|
44
|
+
readonly description: {
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
readonly category: "Content";
|
|
47
|
+
readonly label: "Description";
|
|
48
|
+
};
|
|
49
|
+
readonly error: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
readonly category: "Validation";
|
|
52
|
+
readonly label: "Error";
|
|
53
|
+
};
|
|
54
|
+
readonly placeholder: {
|
|
55
|
+
readonly type: "string";
|
|
56
|
+
readonly category: "Content";
|
|
57
|
+
readonly label: "Placeholder";
|
|
58
|
+
readonly default: "Choose time";
|
|
59
|
+
};
|
|
60
|
+
readonly minTime: {
|
|
61
|
+
readonly type: "string";
|
|
62
|
+
readonly category: "Validation";
|
|
63
|
+
readonly label: "Minimum time";
|
|
64
|
+
};
|
|
65
|
+
readonly maxTime: {
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
readonly category: "Validation";
|
|
68
|
+
readonly label: "Maximum time";
|
|
69
|
+
};
|
|
70
|
+
readonly stepMinutes: {
|
|
71
|
+
readonly type: "number";
|
|
72
|
+
readonly category: "Behavior";
|
|
73
|
+
readonly label: "Step in minutes";
|
|
74
|
+
readonly default: 30;
|
|
75
|
+
};
|
|
76
|
+
readonly disabled: {
|
|
77
|
+
readonly type: "boolean";
|
|
78
|
+
readonly category: "State";
|
|
79
|
+
readonly label: "Disabled";
|
|
80
|
+
readonly default: false;
|
|
81
|
+
};
|
|
82
|
+
readonly required: {
|
|
83
|
+
readonly type: "boolean";
|
|
84
|
+
readonly category: "Validation";
|
|
85
|
+
readonly label: "Required";
|
|
86
|
+
readonly default: false;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=timePickerMeta.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timePickerMeta.d.ts","sourceRoot":"","sources":["../../../src/features/time-picker/timePickerMeta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DW,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export const timePickerMeta = {
|
|
2
|
+
name: 'TimePicker',
|
|
3
|
+
category: 'component',
|
|
4
|
+
description: 'Captures a local HH:mm time through the shared BottomSheet picker host.',
|
|
5
|
+
directManifestNode: true,
|
|
6
|
+
allowedChildren: [],
|
|
7
|
+
blueprint: {
|
|
8
|
+
label: 'Time picker',
|
|
9
|
+
defaultProps: {
|
|
10
|
+
value: null,
|
|
11
|
+
placeholder: 'Choose time',
|
|
12
|
+
stepMinutes: 30,
|
|
13
|
+
disabled: false,
|
|
14
|
+
required: false,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
events: {
|
|
18
|
+
valueChange: {
|
|
19
|
+
label: 'Value change',
|
|
20
|
+
eventType: 'timePicker.valueChange',
|
|
21
|
+
description: 'Emitted when an HH:mm time value is selected.',
|
|
22
|
+
payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
props: {
|
|
26
|
+
value: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
category: 'State',
|
|
29
|
+
label: 'Value',
|
|
30
|
+
default: null,
|
|
31
|
+
authoring: { authority: 'instance' },
|
|
32
|
+
},
|
|
33
|
+
label: { type: 'string', category: 'Content', label: 'Label' },
|
|
34
|
+
description: { type: 'string', category: 'Content', label: 'Description' },
|
|
35
|
+
error: { type: 'string', category: 'Validation', label: 'Error' },
|
|
36
|
+
placeholder: {
|
|
37
|
+
type: 'string',
|
|
38
|
+
category: 'Content',
|
|
39
|
+
label: 'Placeholder',
|
|
40
|
+
default: 'Choose time',
|
|
41
|
+
},
|
|
42
|
+
minTime: { type: 'string', category: 'Validation', label: 'Minimum time' },
|
|
43
|
+
maxTime: { type: 'string', category: 'Validation', label: 'Maximum time' },
|
|
44
|
+
stepMinutes: {
|
|
45
|
+
type: 'number',
|
|
46
|
+
category: 'Behavior',
|
|
47
|
+
label: 'Step in minutes',
|
|
48
|
+
default: 30,
|
|
49
|
+
},
|
|
50
|
+
disabled: {
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
category: 'State',
|
|
53
|
+
label: 'Disabled',
|
|
54
|
+
default: false,
|
|
55
|
+
},
|
|
56
|
+
required: {
|
|
57
|
+
type: 'boolean',
|
|
58
|
+
category: 'Validation',
|
|
59
|
+
label: 'Required',
|
|
60
|
+
default: false,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=timePickerMeta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timePickerMeta.js","sourceRoot":"","sources":["../../../src/features/time-picker/timePickerMeta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,yEAAyE;IACtF,kBAAkB,EAAE,IAAI;IACxB,eAAe,EAAE,EAAE;IACnB,SAAS,EAAE;QACT,KAAK,EAAE,aAAa;QAC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AE,UAAU;YACpB,KAAK,EAAE,iBAAiB;YACxB,OAAO,EAAE,EAAE;SACZ;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;SACf;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../metadata';\n\nexport const timePickerMeta = {\n name: 'TimePicker',\n category: 'component',\n description: 'Captures a local HH:mm time through the shared BottomSheet picker host.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Time picker',\n defaultProps: {\n value: null,\n placeholder: 'Choose time',\n stepMinutes: 30,\n disabled: false,\n required: false,\n },\n },\n events: {\n valueChange: {\n label: 'Value change',\n eventType: 'timePicker.valueChange',\n description: 'Emitted when an HH:mm time value is selected.',\n payloadFields: [{ path: 'value', type: 'string', label: 'Value' }],\n },\n },\n props: {\n value: {\n type: 'string',\n category: 'State',\n label: 'Value',\n default: null,\n authoring: { authority: 'instance' },\n },\n label: { type: 'string', category: 'Content', label: 'Label' },\n description: { type: 'string', category: 'Content', label: 'Description' },\n error: { type: 'string', category: 'Validation', label: 'Error' },\n placeholder: {\n type: 'string',\n category: 'Content',\n label: 'Placeholder',\n default: 'Choose time',\n },\n minTime: { type: 'string', category: 'Validation', label: 'Minimum time' },\n maxTime: { type: 'string', category: 'Validation', label: 'Maximum time' },\n stepMinutes: {\n type: 'number',\n category: 'Behavior',\n label: 'Step in minutes',\n default: 30,\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n },\n required: {\n type: 'boolean',\n category: 'Validation',\n label: 'Required',\n default: false,\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,6 @@ export type { AppBarMode, AppBarOverflowAction, AppBarProps } from './components
|
|
|
2
2
|
export { AppBar } from './components/app-bar';
|
|
3
3
|
export type { BreadcrumbItem, BreadcrumbsProps } from './components/breadcrumbs';
|
|
4
4
|
export { Breadcrumbs } from './components/breadcrumbs';
|
|
5
|
-
export type { DatePickerProps, DatePickerValue } from './components/date-picker';
|
|
6
|
-
export { DatePicker } from './components/date-picker';
|
|
7
|
-
export type { GradientColor, GradientColors, GradientLocations, GradientPoint, GradientProps, GradientRenderer, GradientRendererProps, GradientRendererProviderProps, } from './components/gradient';
|
|
8
|
-
export { Gradient, GradientRendererProvider } from './components/gradient';
|
|
9
5
|
export type { DropdownMenuProps, MenuAction, MenuActionIntent, MenuProps } from './components/menu';
|
|
10
6
|
export { DropdownMenu, Menu } from './components/menu';
|
|
11
7
|
export type { ModalProps } from './components/modal';
|
|
@@ -18,12 +14,8 @@ export type { SearchBarProps } from './components/search-bar';
|
|
|
18
14
|
export { SearchBar } from './components/search-bar';
|
|
19
15
|
export type { SelectOption, SelectProps } from './components/select';
|
|
20
16
|
export { Select } from './components/select';
|
|
21
|
-
export type { SkeletonCardProps, SkeletonDimension, SkeletonListProps, SkeletonListVariant, SkeletonProps, SkeletonRadius, SkeletonTextProps, } from './components/skeleton';
|
|
22
|
-
export { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './components/skeleton';
|
|
23
17
|
export type { TabItem, TabsProps, TabsVariant } from './components/tabs';
|
|
24
18
|
export { Tabs } from './components/tabs';
|
|
25
|
-
export type { TimePickerProps, TimePickerValue } from './components/time-picker';
|
|
26
|
-
export { TimePicker } from './components/time-picker';
|
|
27
19
|
export type { ToastOptions, ToastProps, ToastProviderProps, ToastStatus } from './components/toast';
|
|
28
20
|
export { Toast, ToastProvider, useToast } from './components/toast';
|
|
29
21
|
export type { ToolbarActionProps, ToolbarPosition, ToolbarProps } from './components/toolbar';
|
|
@@ -31,6 +23,8 @@ export { Toolbar, ToolbarAction } from './components/toolbar';
|
|
|
31
23
|
export { ZORA_CORE_PLUGIN } from './corePlugin';
|
|
32
24
|
export { ZORA_CORE_PLUGIN_METADATA } from './corePluginMetadata';
|
|
33
25
|
export { ActivityIndicator, type ActivityIndicatorProps, } from './features/activity-indicator/public';
|
|
26
|
+
export type { AuthFormBaseProps, AuthIdentifierKind, ForgotPasswordFormProps, ForgotPasswordFormValues, OAuthProviderButtonProps, OAuthProviderIconSpec, OAuthProviderItem, OAuthProviderListLayout, OAuthProviderListProps, OtpFormProps, OtpFormValues, SignInFormProps, SignInFormValues, SignUpFormField, SignUpFormProps, SignUpFormValues, } from './features/auth/public';
|
|
27
|
+
export { DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './features/auth/public';
|
|
34
28
|
export type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';
|
|
35
29
|
export type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';
|
|
36
30
|
export { Avatar, resolveAvatarInitials } from './features/avatar/public';
|
|
@@ -61,12 +55,16 @@ export { Chip } from './features/chip/public';
|
|
|
61
55
|
export { ChipGroup } from './features/chip/public';
|
|
62
56
|
export type { DataTableCellContext, DataTableColumn, DataTableColumnAlign, DataTableDensity, DataTableProps, DataTableRowAction, DataTableSortDirection, DataTableSortState, } from './features/data-table/public';
|
|
63
57
|
export { DataTable } from './features/data-table/public';
|
|
58
|
+
export { DatePicker, type DatePickerProps, type DatePickerValue, } from './features/date-picker/public';
|
|
64
59
|
export { EmptyState, type EmptyStateAction, type EmptyStateProps, } from './features/empty-state/public';
|
|
65
60
|
export { Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, } from './features/form/checkbox/public';
|
|
66
61
|
export type { FormActionsProps, FormErrorProps, FormErrors, FormFieldConfig, FormFieldInputType, FormFieldProps, FormProps, FormValidationErrors, FormValidationResult, FormValues, UseFormControllerOptions, UseFormControllerResult, ValidationRule, } from './features/form/public';
|
|
67
62
|
export { Form, FormActions, FormError, FormField, hasRequiredRule, useFormController, validateField, validateFields, validateValue, } from './features/form/public';
|
|
68
63
|
export { Radio, RadioGroup, type RadioGroupOption, type RadioGroupProps, type RadioProps, } from './features/form/radio/public';
|
|
69
64
|
export { TextInput, type TextInputProps, type TextInputTrailingAction, } from './features/form/text-input/public';
|
|
65
|
+
export type { GradientColor, GradientColors, GradientLocations, GradientPoint, GradientProps, GradientRenderer, GradientRendererProps, GradientRendererProviderProps, } from './features/gradient/public';
|
|
66
|
+
export { Gradient, GradientRendererProvider } from './features/gradient/public';
|
|
67
|
+
export { Hero, type HeroAction, type HeroAlign, type HeroLayout, type HeroProps, type HeroTone, } from './features/hero/public';
|
|
70
68
|
export type { IconProps } from './features/icon/public';
|
|
71
69
|
export { Icon } from './features/icon/public';
|
|
72
70
|
export type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';
|
|
@@ -78,9 +76,12 @@ export { Box, Container, Divider, Grid, Stack } from './features/layout/public';
|
|
|
78
76
|
export { ContentRail } from './features/layout/public';
|
|
79
77
|
export type { ManifestListProps, ManifestListSection, ManifestSectionListProps, } from './features/list/public';
|
|
80
78
|
export { FlatList, SectionList } from './features/list/public';
|
|
79
|
+
export { MissingElement, type MissingElementProps } from './features/missing-element/public';
|
|
81
80
|
export { Progress, type ProgressProps, ProgressRing, type ProgressRingProps, } from './features/progress/public';
|
|
81
|
+
export { Skeleton, SkeletonCard, type SkeletonCardProps, type SkeletonDimension, SkeletonList, type SkeletonListProps, type SkeletonListVariant, type SkeletonProps, type SkeletonRadius, SkeletonText, type SkeletonTextProps, } from './features/skeleton/public';
|
|
82
82
|
export type { SurfaceProps, SurfaceVariant } from './features/surface/public';
|
|
83
83
|
export { Surface } from './features/surface/public';
|
|
84
|
+
export { TimePicker, type TimePickerProps, type TimePickerValue, } from './features/time-picker/public';
|
|
84
85
|
export type { HeadingAlign, HeadingColor, HeadingEmphasis, HeadingLevel, HeadingProps, HeadingSize, HeadingWeight, } from './features/typography/public';
|
|
85
86
|
export type { TextAlign, TextColor, TextEmphasis, TextProps, TextVariant, TextWeight, } from './features/typography/public';
|
|
86
87
|
export { Heading } from './features/typography/public';
|
|
@@ -105,8 +106,6 @@ export type { TopbarLayoutProps } from './layout/topbar-layout';
|
|
|
105
106
|
export { TopbarLayout } from './layout/topbar-layout';
|
|
106
107
|
export type { ZoraBindableComponentType, ZoraComponentBlueprint, ZoraComponentCategory, ZoraComponentEventMeta, ZoraComponentEventPayloadFieldMeta, ZoraComponentEventPayloadFieldType, ZoraComponentEventPayloadKind, ZoraComponentI18nMeta, ZoraComponentManifestPolicy, ZoraComponentMeta, ZoraComponentMetaRegistry, ZoraComponentPropArrayItemSchema, ZoraComponentPropAuthoring, ZoraComponentPropSchema, ZoraComponentPropType, ZoraComponentPropValue, ZoraComponentSlotMeta, ZoraThemeRecipeBooleanFieldMeta, ZoraThemeRecipeChoiceFieldMeta, ZoraThemeRecipeFieldMeta, ZoraThemeRecipeKind, ZoraThemeRecipeMeta, ZoraThemeRecipeMetaRegistry, ZoraThemeRecipeTokenFieldMeta, ZoraThemeTokenFamily, } from './metadata';
|
|
107
108
|
export { ZORA_BINDABLE_COMPONENT_META, ZORA_COMPONENT_META, ZORA_THEME_RECIPE_META, ZORA_THEME_TOKEN_FAMILIES, } from './metadata';
|
|
108
|
-
export type { AuthFormBaseProps, AuthIdentifierKind, ForgotPasswordFormProps, ForgotPasswordFormValues, OAuthProviderButtonProps, OAuthProviderIconSpec, OAuthProviderItem, OAuthProviderListLayout, OAuthProviderListProps, OtpFormProps, OtpFormValues, SignInFormProps, SignInFormValues, SignUpFormField, SignUpFormProps, SignUpFormValues, } from './patterns/auth';
|
|
109
|
-
export { DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './patterns/auth';
|
|
110
109
|
export type { ChatListAvatar, ChatListItemProps } from './patterns/chat-list-item';
|
|
111
110
|
export { ChatListItem } from './patterns/chat-list-item';
|
|
112
111
|
export type { CollectionEditorProps, CollectionEditorRenderItemProps, } from './patterns/collection-editor';
|
|
@@ -117,16 +116,12 @@ export type { DisclosureSectionProps } from './patterns/disclosure-section';
|
|
|
117
116
|
export { DisclosureSection } from './patterns/disclosure-section';
|
|
118
117
|
export type { FilterBarProps } from './patterns/filter-bar';
|
|
119
118
|
export { FilterBar } from './patterns/filter-bar';
|
|
120
|
-
export type { HeroAction, HeroAlign, HeroLayout, HeroProps, HeroTone } from './patterns/hero';
|
|
121
|
-
export { Hero } from './patterns/hero';
|
|
122
119
|
export type { InspectorFieldProps } from './patterns/inspector-field';
|
|
123
120
|
export { InspectorField } from './patterns/inspector-field';
|
|
124
121
|
export type { ListChildrenProps, ListItemsProps, ListProps, ListRowProps, ListRowVariant, } from './patterns/list';
|
|
125
122
|
export { List, ListRow, ListSection } from './patterns/list';
|
|
126
123
|
export type { MessageBubbleAuthor, MessageBubbleAvatar, MessageBubbleDirection, MessageBubbleProps, MessageBubbleStatus, } from './patterns/message-bubble';
|
|
127
124
|
export { MessageBubble } from './patterns/message-bubble';
|
|
128
|
-
export type { MissingElementProps } from './patterns/missing-element';
|
|
129
|
-
export { MissingElement } from './patterns/missing-element';
|
|
130
125
|
export type { NoticeProps } from './patterns/notice';
|
|
131
126
|
export { Notice } from './patterns/notice';
|
|
132
127
|
export type { PanelProps } from './patterns/panel';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,YAAY,EAAE,cAAc,E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AQ,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EACV,yBAAyB,EACzB,iCAAiC,EACjC,8BAA8B,EAC9B,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AACrD,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
export { AppBar } from './components/app-bar';
|
|
2
2
|
export { Breadcrumbs } from './components/breadcrumbs';
|
|
3
|
-
export { DatePicker } from './components/date-picker';
|
|
4
|
-
export { Gradient, GradientRendererProvider } from './components/gradient';
|
|
5
3
|
export { DropdownMenu, Menu } from './components/menu';
|
|
6
4
|
export { Modal } from './components/modal';
|
|
7
5
|
export { Pagination } from './components/pagination';
|
|
8
6
|
export { Rating } from './components/rating';
|
|
9
7
|
export { SearchBar } from './components/search-bar';
|
|
10
8
|
export { Select } from './components/select';
|
|
11
|
-
export { Skeleton, SkeletonCard, SkeletonList, SkeletonText } from './components/skeleton';
|
|
12
9
|
export { Tabs } from './components/tabs';
|
|
13
|
-
export { TimePicker } from './components/time-picker';
|
|
14
10
|
export { Toast, ToastProvider, useToast } from './components/toast';
|
|
15
11
|
export { Toolbar, ToolbarAction } from './components/toolbar';
|
|
16
12
|
export { ZORA_CORE_PLUGIN } from './corePlugin';
|
|
17
13
|
export { ZORA_CORE_PLUGIN_METADATA } from './corePluginMetadata';
|
|
18
14
|
export { ActivityIndicator, } from './features/activity-indicator/public';
|
|
15
|
+
export { DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './features/auth/public';
|
|
19
16
|
export { Avatar, resolveAvatarInitials } from './features/avatar/public';
|
|
20
17
|
export { AvatarGroup } from './features/avatar/public';
|
|
21
18
|
export { Badge } from './features/badge/public';
|
|
@@ -31,19 +28,25 @@ export { ProductCard } from './features/card/public';
|
|
|
31
28
|
export { Chip } from './features/chip/public';
|
|
32
29
|
export { ChipGroup } from './features/chip/public';
|
|
33
30
|
export { DataTable } from './features/data-table/public';
|
|
31
|
+
export { DatePicker, } from './features/date-picker/public';
|
|
34
32
|
export { EmptyState, } from './features/empty-state/public';
|
|
35
33
|
export { Checkbox, CheckboxGroup, } from './features/form/checkbox/public';
|
|
36
34
|
export { Form, FormActions, FormError, FormField, hasRequiredRule, useFormController, validateField, validateFields, validateValue, } from './features/form/public';
|
|
37
35
|
export { Radio, RadioGroup, } from './features/form/radio/public';
|
|
38
36
|
export { TextInput, } from './features/form/text-input/public';
|
|
37
|
+
export { Gradient, GradientRendererProvider } from './features/gradient/public';
|
|
38
|
+
export { Hero, } from './features/hero/public';
|
|
39
39
|
export { Icon } from './features/icon/public';
|
|
40
40
|
export { Image } from './features/image/public';
|
|
41
41
|
export { KeyboardAvoidingView, } from './features/keyboard-avoiding-view/public';
|
|
42
42
|
export { Box, Container, Divider, Grid, Stack } from './features/layout/public';
|
|
43
43
|
export { ContentRail } from './features/layout/public';
|
|
44
44
|
export { FlatList, SectionList } from './features/list/public';
|
|
45
|
+
export { MissingElement } from './features/missing-element/public';
|
|
45
46
|
export { Progress, ProgressRing, } from './features/progress/public';
|
|
47
|
+
export { Skeleton, SkeletonCard, SkeletonList, SkeletonText, } from './features/skeleton/public';
|
|
46
48
|
export { Surface } from './features/surface/public';
|
|
49
|
+
export { TimePicker, } from './features/time-picker/public';
|
|
47
50
|
export { Heading } from './features/typography/public';
|
|
48
51
|
export { Text } from './features/typography/public';
|
|
49
52
|
export { Uploader, validateUploadAsset } from './features/uploader/public';
|
|
@@ -56,17 +59,14 @@ export { SettingsLayout } from './layout/settings-layout';
|
|
|
56
59
|
export { SidebarLayout } from './layout/sidebar-layout';
|
|
57
60
|
export { TopbarLayout } from './layout/topbar-layout';
|
|
58
61
|
export { ZORA_BINDABLE_COMPONENT_META, ZORA_COMPONENT_META, ZORA_THEME_RECIPE_META, ZORA_THEME_TOKEN_FAMILIES, } from './metadata';
|
|
59
|
-
export { DEFAULT_OAUTH_PROVIDER_ICONS, ForgotPasswordForm, OAuthProviderButton, OAuthProviderList, OtpForm, resolveOAuthProviderIcon, resolveOAuthProviderLabel, SignInForm, SignUpForm, } from './patterns/auth';
|
|
60
62
|
export { ChatListItem } from './patterns/chat-list-item';
|
|
61
63
|
export { CollectionEditor } from './patterns/collection-editor';
|
|
62
64
|
export { ConfirmDialog } from './patterns/confirm-dialog';
|
|
63
65
|
export { DisclosureSection } from './patterns/disclosure-section';
|
|
64
66
|
export { FilterBar } from './patterns/filter-bar';
|
|
65
|
-
export { Hero } from './patterns/hero';
|
|
66
67
|
export { InspectorField } from './patterns/inspector-field';
|
|
67
68
|
export { List, ListRow, ListSection } from './patterns/list';
|
|
68
69
|
export { MessageBubble } from './patterns/message-bubble';
|
|
69
|
-
export { MissingElement } from './patterns/missing-element';
|
|
70
70
|
export { Notice } from './patterns/notice';
|
|
71
71
|
export { Panel } from './patterns/panel';
|
|
72
72
|
export { ReaderSurface, resolveReaderProgress } from './patterns/reader';
|