@smicolon/fasla-ui 0.5.1 → 0.7.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/README.md +42 -14
- package/dist/cli/index.js +2286 -195
- package/dist/index.cjs +50 -12
- package/dist/index.js +50 -12
- package/dist/motion/index.cjs +12 -0
- package/dist/motion/index.d.cts +7 -0
- package/dist/motion/index.d.ts +7 -0
- package/dist/motion/index.js +12 -0
- package/dist/registry/index.cjs +4 -4
- package/dist/registry/index.js +4 -4
- package/dist/tokens/index.cjs +34 -8
- package/dist/tokens/index.d.cts +23 -1
- package/dist/tokens/index.d.ts +23 -1
- package/dist/tokens/index.js +34 -8
- package/package.json +12 -3
- package/registry/blocks/about-approach-stack-cards/AboutApproachStackCards.tsx +305 -0
- package/registry/blocks/about-approach-stack-cards/index.ts +9 -0
- package/registry/blocks/about-bento/AboutBento.tsx +442 -0
- package/registry/blocks/about-bento/index.ts +9 -0
- package/registry/blocks/about-collage-hero/AboutCollageHero.tsx +285 -0
- package/registry/blocks/about-collage-hero/index.ts +8 -0
- package/registry/blocks/about-color-bento/AboutColorBento.tsx +235 -0
- package/registry/blocks/about-color-bento/index.ts +6 -0
- package/registry/blocks/about-culture-masonry/AboutCultureMasonry.tsx +305 -0
- package/registry/blocks/about-culture-masonry/index.ts +9 -0
- package/registry/blocks/about-headline-photos/AboutHeadlinePhotos.tsx +270 -0
- package/registry/blocks/about-headline-photos/index.ts +8 -0
- package/registry/blocks/about-impact-stats-band/AboutImpactStatsBand.test.tsx +45 -0
- package/registry/blocks/about-impact-stats-band/AboutImpactStatsBand.tsx +348 -0
- package/registry/blocks/about-impact-stats-band/index.ts +9 -0
- package/registry/blocks/about-letter-card/AboutLetterCard.tsx +403 -0
- package/registry/blocks/about-letter-card/index.ts +9 -0
- package/registry/blocks/about-mission-statement-hero/AboutMissionStatementHero.tsx +282 -0
- package/registry/blocks/about-mission-statement-hero/index.ts +8 -0
- package/registry/blocks/about-numbered-rows/AboutNumberedRows.tsx +289 -0
- package/registry/blocks/about-numbered-rows/index.ts +7 -0
- package/registry/blocks/about-split-panel/AboutSplitPanel.tsx +247 -0
- package/registry/blocks/about-split-panel/index.ts +8 -0
- package/registry/blocks/about-spotlight/AboutSpotlight.tsx +260 -0
- package/registry/blocks/about-spotlight/index.ts +7 -0
- package/registry/blocks/about-statement-band/AboutStatementBand.tsx +236 -0
- package/registry/blocks/about-statement-band/index.ts +7 -0
- package/registry/blocks/about-story-photos/AboutStoryPhotos.test.tsx +12 -0
- package/registry/blocks/about-story-photos/AboutStoryPhotos.tsx +252 -0
- package/registry/blocks/about-story-photos/index.ts +8 -0
- package/registry/blocks/about-story-snapshots/AboutStorySnapshots.tsx +239 -0
- package/registry/blocks/about-story-snapshots/index.ts +8 -0
- package/registry/blocks/about-type-stack/AboutTypeStack.tsx +205 -0
- package/registry/blocks/about-type-stack/index.ts +6 -0
- package/registry/blocks/about-values-connector-list/AboutValuesConnectorList.tsx +316 -0
- package/registry/blocks/about-values-connector-list/index.ts +7 -0
- package/registry/blocks/about-values-focus/AboutValuesFocus.tsx +303 -0
- package/registry/blocks/about-values-focus/index.ts +8 -0
- package/registry/blocks/about-values-spotlight/AboutValuesSpotlight.tsx +265 -0
- package/registry/blocks/about-values-spotlight/index.ts +8 -0
- package/registry/blocks/auth-centered-card-sign-in/AuthCenteredCardSignIn.tsx +373 -0
- package/registry/blocks/auth-centered-card-sign-in/index.ts +9 -0
- package/registry/blocks/auth-check-your-email/AuthCheckYourEmail.tsx +366 -0
- package/registry/blocks/auth-check-your-email/index.ts +7 -0
- package/registry/blocks/auth-forgot-password/AuthForgotPassword.tsx +265 -0
- package/registry/blocks/auth-forgot-password/index.ts +8 -0
- package/registry/blocks/auth-locked-session-re-authenticate/AuthLockedSessionReAuthenticate.tsx +305 -0
- package/registry/blocks/auth-locked-session-re-authenticate/index.ts +8 -0
- package/registry/blocks/auth-magic-link-request/AuthMagicLinkRequest.tsx +336 -0
- package/registry/blocks/auth-magic-link-request/index.ts +8 -0
- package/registry/blocks/auth-minimal-centered-sign-in/AuthMinimalCenteredSignIn.tsx +261 -0
- package/registry/blocks/auth-minimal-centered-sign-in/index.ts +8 -0
- package/registry/blocks/auth-multi-step-sign-up-wizard/AuthMultiStepSignUpWizard.tsx +460 -0
- package/registry/blocks/auth-multi-step-sign-up-wizard/index.ts +8 -0
- package/registry/blocks/auth-otp-verification/AuthOtpVerification.tsx +348 -0
- package/registry/blocks/auth-otp-verification/index.ts +7 -0
- package/registry/blocks/auth-passkey-sign-in/AuthPasskeySignIn.tsx +294 -0
- package/registry/blocks/auth-passkey-sign-in/index.ts +8 -0
- package/registry/blocks/auth-password-changed/AuthPasswordChanged.tsx +239 -0
- package/registry/blocks/auth-password-changed/index.ts +8 -0
- package/registry/blocks/auth-phone-number-sign-in/AuthPhoneNumberSignIn.tsx +402 -0
- package/registry/blocks/auth-phone-number-sign-in/index.ts +10 -0
- package/registry/blocks/auth-photo-background-sign-in/AuthPhotoBackgroundSignIn.tsx +398 -0
- package/registry/blocks/auth-photo-background-sign-in/index.ts +10 -0
- package/registry/blocks/auth-profile-setup-onboarding/AuthProfileSetupOnboarding.tsx +420 -0
- package/registry/blocks/auth-profile-setup-onboarding/index.ts +7 -0
- package/registry/blocks/auth-qr-device-login/AuthQrDeviceLogin.tsx +303 -0
- package/registry/blocks/auth-qr-device-login/index.ts +7 -0
- package/registry/blocks/auth-reset-password/AuthResetPassword.tsx +313 -0
- package/registry/blocks/auth-reset-password/index.ts +7 -0
- package/registry/blocks/auth-sign-in-error-state/AuthSignInErrorState.tsx +419 -0
- package/registry/blocks/auth-sign-in-error-state/index.ts +9 -0
- package/registry/blocks/auth-sign-up-benefits-column/AuthSignUpBenefitsColumn.tsx +481 -0
- package/registry/blocks/auth-sign-up-benefits-column/index.ts +10 -0
- package/registry/blocks/auth-sign-up-password-strength/AuthSignUpPasswordStrength.tsx +511 -0
- package/registry/blocks/auth-sign-up-password-strength/index.ts +8 -0
- package/registry/blocks/auth-social-first-sign-in/AuthSocialFirstSignIn.tsx +337 -0
- package/registry/blocks/auth-social-first-sign-in/index.ts +9 -0
- package/registry/blocks/auth-split-photo-sign-in/AuthSplitPhotoSignIn.tsx +472 -0
- package/registry/blocks/auth-split-photo-sign-in/index.ts +11 -0
- package/registry/blocks/auth-split-testimonial-sign-up/AuthSplitTestimonialSignUp.tsx +548 -0
- package/registry/blocks/auth-split-testimonial-sign-up/index.ts +11 -0
- package/registry/blocks/auth-tabbed-sign-in-sign-up/AuthTabbedSignInSignUp.tsx +566 -0
- package/registry/blocks/auth-tabbed-sign-in-sign-up/index.ts +11 -0
- package/registry/blocks/auth-team-invite-accept/AuthTeamInviteAccept.tsx +372 -0
- package/registry/blocks/auth-team-invite-accept/index.ts +9 -0
- package/registry/blocks/auth-two-factor-authenticator/AuthTwoFactorAuthenticator.tsx +333 -0
- package/registry/blocks/auth-two-factor-authenticator/index.ts +7 -0
- package/registry/blocks/auth-two-factor-method-chooser/AuthTwoFactorMethodChooser.tsx +290 -0
- package/registry/blocks/auth-two-factor-method-chooser/index.ts +8 -0
- package/registry/blocks/auth-waitlist-early-access/AuthWaitlistEarlyAccess.tsx +430 -0
- package/registry/blocks/auth-waitlist-early-access/index.ts +11 -0
- package/registry/blocks/blog-cards-alongside.test.tsx +176 -0
- package/registry/blocks/blog-cards-author-spotlight/BlogCardsAuthorSpotlight.tsx +342 -0
- package/registry/blocks/blog-cards-author-spotlight/index.ts +6 -0
- package/registry/blocks/blog-cards-bento-editorial-grid/BlogCardsBentoEditorialGrid.tsx +345 -0
- package/registry/blocks/blog-cards-bento-editorial-grid/index.ts +7 -0
- package/registry/blocks/blog-cards-browse.test.tsx +367 -0
- package/registry/blocks/blog-cards-classic-3-up-grid/BlogCardsClassic3UpGrid.tsx +287 -0
- package/registry/blocks/blog-cards-classic-3-up-grid/index.ts +7 -0
- package/registry/blocks/blog-cards-compact-4-up-thumb-grid/BlogCardsCompact4UpThumbGrid.tsx +265 -0
- package/registry/blocks/blog-cards-compact-4-up-thumb-grid/index.ts +7 -0
- package/registry/blocks/blog-cards-dark-editorial-feature/BlogCardsDarkEditorialFeature.tsx +287 -0
- package/registry/blocks/blog-cards-dark-editorial-feature/index.ts +6 -0
- package/registry/blocks/blog-cards-featured-two-up/BlogCardsFeaturedTwoUp.tsx +295 -0
- package/registry/blocks/blog-cards-featured-two-up/index.ts +7 -0
- package/registry/blocks/blog-cards-features.test.tsx +183 -0
- package/registry/blocks/blog-cards-filter-sidebar-results/BlogCardsFilterSidebarResults.tsx +582 -0
- package/registry/blocks/blog-cards-filter-sidebar-results/index.ts +6 -0
- package/registry/blocks/blog-cards-grids.test.tsx +110 -0
- package/registry/blocks/blog-cards-hairline-text-index/BlogCardsHairlineTextIndex.tsx +193 -0
- package/registry/blocks/blog-cards-hairline-text-index/index.ts +7 -0
- package/registry/blocks/blog-cards-journal-bento/BlogCardsJournalBento.tsx +409 -0
- package/registry/blocks/blog-cards-journal-bento/index.ts +8 -0
- package/registry/blocks/blog-cards-latest-popular-split/BlogCardsLatestPopularSplit.tsx +258 -0
- package/registry/blocks/blog-cards-latest-popular-split/index.ts +7 -0
- package/registry/blocks/blog-cards-lead-ranked-picks/BlogCardsLeadRankedPicks.tsx +276 -0
- package/registry/blocks/blog-cards-lead-ranked-picks/index.ts +6 -0
- package/registry/blocks/blog-cards-left-thumb-row-cards/BlogCardsLeftThumbRowCards.tsx +288 -0
- package/registry/blocks/blog-cards-left-thumb-row-cards/index.ts +7 -0
- package/registry/blocks/blog-cards-lists.test.tsx +93 -0
- package/registry/blocks/blog-cards-magazine-cover-story/BlogCardsMagazineCoverStory.tsx +326 -0
- package/registry/blocks/blog-cards-magazine-cover-story/index.ts +6 -0
- package/registry/blocks/blog-cards-newsletter-latest/BlogCardsNewsletterLatest.tsx +291 -0
- package/registry/blocks/blog-cards-newsletter-latest/index.ts +6 -0
- package/registry/blocks/blog-cards-numbered-reading-list/BlogCardsNumberedReadingList.tsx +275 -0
- package/registry/blocks/blog-cards-numbered-reading-list/index.ts +7 -0
- package/registry/blocks/blog-cards-overlay-photo-trio/BlogCardsOverlayPhotoTrio.tsx +279 -0
- package/registry/blocks/blog-cards-overlay-photo-trio/index.ts +7 -0
- package/registry/blocks/blog-cards-post-carousel-with-controls/BlogCardsPostCarouselWithControls.tsx +257 -0
- package/registry/blocks/blog-cards-post-carousel-with-controls/index.ts +6 -0
- package/registry/blocks/blog-cards-pull-quote-feature/BlogCardsPullQuoteFeature.tsx +245 -0
- package/registry/blocks/blog-cards-pull-quote-feature/index.ts +6 -0
- package/registry/blocks/blog-cards-related-posts-strip/BlogCardsRelatedPostsStrip.tsx +247 -0
- package/registry/blocks/blog-cards-related-posts-strip/index.ts +6 -0
- package/registry/blocks/blog-cards-search-chips-results/BlogCardsSearchChipsResults.tsx +473 -0
- package/registry/blocks/blog-cards-search-chips-results/index.ts +6 -0
- package/registry/blocks/blog-cards-split-feature/BlogCardsSplitFeature.tsx +214 -0
- package/registry/blocks/blog-cards-split-feature/index.ts +6 -0
- package/registry/blocks/careers/careers.test.tsx +414 -0
- package/registry/blocks/careers/careers.tsx +391 -0
- package/registry/blocks/careers/index.ts +27 -0
- package/registry/blocks/careers-about-card-role-list/CareersAboutCardRoleList.tsx +235 -0
- package/registry/blocks/careers-about-card-role-list/index.ts +8 -0
- package/registry/blocks/careers-featured-role-spotlight/CareersFeaturedRoleSpotlight.tsx +271 -0
- package/registry/blocks/careers-featured-role-spotlight/index.ts +8 -0
- package/registry/blocks/careers-no-open-roles-empty-state/CareersNoOpenRolesEmptyState.tsx +330 -0
- package/registry/blocks/careers-no-open-roles-empty-state/index.ts +8 -0
- package/registry/blocks/careers-open-roles-hairline-list/CareersOpenRolesHairlineList.tsx +320 -0
- package/registry/blocks/careers-open-roles-hairline-list/index.ts +6 -0
- package/registry/blocks/careers-open-vacancies-table/CareersOpenVacanciesTable.tsx +493 -0
- package/registry/blocks/careers-open-vacancies-table/index.ts +6 -0
- package/registry/blocks/careers-perks-benefits/CareersPerksBenefits.tsx +181 -0
- package/registry/blocks/careers-perks-benefits/index.ts +8 -0
- package/registry/blocks/careers-role-cards-grid/CareersRoleCardsGrid.tsx +405 -0
- package/registry/blocks/careers-role-cards-grid/index.ts +6 -0
- package/registry/blocks/careers-role-detail-page/CareersRoleDetailPage.tsx +541 -0
- package/registry/blocks/careers-role-detail-page/index.ts +10 -0
- package/registry/blocks/careers-role-detail-panel/CareersRoleDetailPanel.tsx +255 -0
- package/registry/blocks/careers-role-detail-panel/index.ts +6 -0
- package/registry/blocks/careers-roles-by-department/CareersRolesByDepartment.tsx +242 -0
- package/registry/blocks/careers-roles-by-department/index.ts +7 -0
- package/registry/blocks/careers-roles-list-accordion-expanded/CareersRolesListAccordionExpanded.tsx +558 -0
- package/registry/blocks/careers-roles-list-accordion-expanded/index.ts +9 -0
- package/registry/blocks/contact-us/contact-us.test.tsx +239 -0
- package/registry/blocks/contact-us/contact-us.tsx +989 -0
- package/registry/blocks/contact-us/index.ts +34 -0
- package/registry/blocks/contact-us-bento-grid/ContactUsBentoGrid.tsx +304 -0
- package/registry/blocks/contact-us-bento-grid/index.ts +5 -0
- package/registry/blocks/contact-us-bento-grid.test.tsx +102 -0
- package/registry/blocks/contact-us-book-a-call/ContactUsBookACall.tsx +403 -0
- package/registry/blocks/contact-us-book-a-call/index.ts +7 -0
- package/registry/blocks/contact-us-book-a-call.test.tsx +134 -0
- package/registry/blocks/contact-us-classic-centered/ContactUsClassicCentered.tsx +199 -0
- package/registry/blocks/contact-us-classic-centered/index.ts +6 -0
- package/registry/blocks/contact-us-dark-statement/ContactUsDarkStatement.tsx +218 -0
- package/registry/blocks/contact-us-dark-statement/index.ts +6 -0
- package/registry/blocks/contact-us-editorial-and-address-card/ContactUsEditorialAndAddressCard.tsx +212 -0
- package/registry/blocks/contact-us-editorial-and-address-card/index.ts +6 -0
- package/registry/blocks/contact-us-editorial-statement/ContactUsEditorialStatement.tsx +205 -0
- package/registry/blocks/contact-us-editorial-statement/index.ts +6 -0
- package/registry/blocks/contact-us-form-contact-methods/ContactUsFormContactMethods.tsx +272 -0
- package/registry/blocks/contact-us-form-contact-methods/index.ts +6 -0
- package/registry/blocks/contact-us-form-with-faq/ContactUsFormWithFaq.tsx +383 -0
- package/registry/blocks/contact-us-form-with-faq/index.ts +7 -0
- package/registry/blocks/contact-us-form-with-faq.test.tsx +161 -0
- package/registry/blocks/contact-us-forms.test.tsx +333 -0
- package/registry/blocks/contact-us-global-offices-table/ContactUsGlobalOfficesTable.tsx +301 -0
- package/registry/blocks/contact-us-global-offices-table/index.ts +5 -0
- package/registry/blocks/contact-us-global-offices-table.test.tsx +100 -0
- package/registry/blocks/contact-us-grand-headline-form/ContactUsGrandHeadlineForm.tsx +180 -0
- package/registry/blocks/contact-us-grand-headline-form/index.ts +6 -0
- package/registry/blocks/contact-us-hours-and-availability/ContactUsHoursAndAvailability.tsx +412 -0
- package/registry/blocks/contact-us-hours-and-availability/index.ts +5 -0
- package/registry/blocks/contact-us-hours-and-availability.test.tsx +123 -0
- package/registry/blocks/contact-us-hq-feature/ContactUsHqFeature.tsx +281 -0
- package/registry/blocks/contact-us-hq-feature/index.ts +5 -0
- package/registry/blocks/contact-us-hq-feature.test.tsx +102 -0
- package/registry/blocks/contact-us-map-split/ContactUsMapSplit.tsx +211 -0
- package/registry/blocks/contact-us-map-split/index.ts +5 -0
- package/registry/blocks/contact-us-map-split.test.tsx +70 -0
- package/registry/blocks/contact-us-named-owners/ContactUsNamedOwners.tsx +324 -0
- package/registry/blocks/contact-us-named-owners/index.ts +6 -0
- package/registry/blocks/contact-us-named-owners.test.tsx +116 -0
- package/registry/blocks/contact-us-newsletter-combo/ContactUsNewsletterCombo.tsx +363 -0
- package/registry/blocks/contact-us-newsletter-combo/index.ts +6 -0
- package/registry/blocks/contact-us-newsletter-combo.test.tsx +165 -0
- package/registry/blocks/contact-us-office-cards/ContactUsOfficeCards.tsx +235 -0
- package/registry/blocks/contact-us-office-cards/index.ts +5 -0
- package/registry/blocks/contact-us-office-cards.test.tsx +71 -0
- package/registry/blocks/contact-us-oversized-wordmark/ContactUsOversizedWordmark.tsx +222 -0
- package/registry/blocks/contact-us-oversized-wordmark/index.ts +6 -0
- package/registry/blocks/contact-us-photo-and-dark-panel/ContactUsPhotoAndDarkPanel.tsx +185 -0
- package/registry/blocks/contact-us-photo-and-dark-panel/index.ts +6 -0
- package/registry/blocks/contact-us-photo-forms.test.tsx +311 -0
- package/registry/blocks/contact-us-pitch-and-inquiry/ContactUsPitchAndInquiry.tsx +202 -0
- package/registry/blocks/contact-us-pitch-and-inquiry/index.ts +6 -0
- package/registry/blocks/contact-us-rtl.test.tsx +105 -0
- package/registry/blocks/contact-us-ruled-split-form/ContactUsRuledSplitForm.tsx +214 -0
- package/registry/blocks/contact-us-ruled-split-form/index.ts +6 -0
- package/registry/blocks/contact-us-social-rail/ContactUsSocialRail.tsx +270 -0
- package/registry/blocks/contact-us-social-rail/index.ts +7 -0
- package/registry/blocks/contact-us-social-rail.test.tsx +121 -0
- package/registry/blocks/contact-us-split-photo-dark/ContactUsSplitPhotoDark.tsx +185 -0
- package/registry/blocks/contact-us-split-photo-dark/index.ts +6 -0
- package/registry/blocks/contact-us-support-channels/ContactUsSupportChannels.tsx +267 -0
- package/registry/blocks/contact-us-support-channels/index.ts +5 -0
- package/registry/blocks/contact-us-support-channels.test.tsx +81 -0
- package/registry/blocks/data-table/DataTable.test.tsx +1 -34
- package/registry/blocks/data-table/DataTable.tsx +0 -139
- package/registry/blocks/data-table/index.ts +1 -8
- package/registry/blocks/error-state-access-denied-403/ErrorStateAccessDenied403.tsx +324 -0
- package/registry/blocks/error-state-access-denied-403/index.ts +10 -0
- package/registry/blocks/error-state-broken-trail-breadcrumb/ErrorStateBrokenTrailBreadcrumb.tsx +179 -0
- package/registry/blocks/error-state-broken-trail-breadcrumb/index.ts +8 -0
- package/registry/blocks/error-state-centered-minimal/ErrorStateCenteredMinimal.tsx +119 -0
- package/registry/blocks/error-state-centered-minimal/index.ts +7 -0
- package/registry/blocks/error-state-colour-field-scatter/ErrorStateColourFieldScatter.tsx +144 -0
- package/registry/blocks/error-state-colour-field-scatter/index.ts +7 -0
- package/registry/blocks/error-state-countdown-redirect/ErrorStateCountdownRedirect.tsx +272 -0
- package/registry/blocks/error-state-countdown-redirect/index.ts +7 -0
- package/registry/blocks/error-state-dark-spotlight/ErrorStateDarkSpotlight.tsx +156 -0
- package/registry/blocks/error-state-dark-spotlight/index.ts +7 -0
- package/registry/blocks/error-state-display-numeral-split/ErrorStateDisplayNumeralSplit.tsx +156 -0
- package/registry/blocks/error-state-display-numeral-split/index.ts +8 -0
- package/registry/blocks/error-state-editorial-photo-split/ErrorStateEditorialPhotoSplit.tsx +156 -0
- package/registry/blocks/error-state-editorial-photo-split/index.ts +8 -0
- package/registry/blocks/error-state-empty-search-results/ErrorStateEmptySearchResults.tsx +243 -0
- package/registry/blocks/error-state-empty-search-results/index.ts +6 -0
- package/registry/blocks/error-state-error-card-panel/ErrorStateErrorCardPanel.tsx +213 -0
- package/registry/blocks/error-state-error-card-panel/index.ts +7 -0
- package/registry/blocks/error-state-full-bleed-photo/ErrorStateFullBleedPhoto.tsx +130 -0
- package/registry/blocks/error-state-full-bleed-photo/index.ts +8 -0
- package/registry/blocks/error-state-ghost-watermark/ErrorStateGhostWatermark.tsx +115 -0
- package/registry/blocks/error-state-ghost-watermark/index.ts +7 -0
- package/registry/blocks/error-state-helpful-links-list/ErrorStateHelpfulLinksList.tsx +185 -0
- package/registry/blocks/error-state-helpful-links-list/index.ts +8 -0
- package/registry/blocks/error-state-illustrated-empty-state/ErrorStateIllustratedEmptyState.tsx +201 -0
- package/registry/blocks/error-state-illustrated-empty-state/index.ts +7 -0
- package/registry/blocks/error-state-layered-badge-centered/ErrorStateLayeredBadgeCentered.tsx +138 -0
- package/registry/blocks/error-state-layered-badge-centered/index.ts +7 -0
- package/registry/blocks/error-state-light-editorial/ErrorStateLightEditorial.tsx +126 -0
- package/registry/blocks/error-state-light-editorial/index.ts +7 -0
- package/registry/blocks/error-state-maintenance-mode/ErrorStateMaintenanceMode.tsx +255 -0
- package/registry/blocks/error-state-maintenance-mode/index.ts +6 -0
- package/registry/blocks/error-state-marquee-404-band/ErrorStateMarquee404Band.tsx +316 -0
- package/registry/blocks/error-state-marquee-404-band/index.ts +7 -0
- package/registry/blocks/error-state-offline-state/ErrorStateOfflineState.tsx +188 -0
- package/registry/blocks/error-state-offline-state/index.ts +7 -0
- package/registry/blocks/error-state-photo-collage-scatter/ErrorStatePhotoCollageScatter.tsx +224 -0
- package/registry/blocks/error-state-photo-collage-scatter/index.ts +8 -0
- package/registry/blocks/error-state-popular-pages-grid/ErrorStatePopularPagesGrid.tsx +195 -0
- package/registry/blocks/error-state-popular-pages-grid/index.ts +9 -0
- package/registry/blocks/error-state-recovery-bento/ErrorStateRecoveryBento.tsx +274 -0
- package/registry/blocks/error-state-recovery-bento/index.ts +7 -0
- package/registry/blocks/error-state-search-recovery/ErrorStateSearchRecovery.tsx +173 -0
- package/registry/blocks/error-state-search-recovery/index.ts +7 -0
- package/registry/blocks/error-state-server-error-500/ErrorStateServerError500.tsx +277 -0
- package/registry/blocks/error-state-server-error-500/index.ts +9 -0
- package/registry/blocks/error-state-sitemap-columns/ErrorStateSitemapColumns.tsx +192 -0
- package/registry/blocks/error-state-sitemap-columns/index.ts +9 -0
- package/registry/blocks/error-state-split-colour-panel/ErrorStateSplitColourPanel.tsx +156 -0
- package/registry/blocks/error-state-split-colour-panel/index.ts +7 -0
- package/registry/blocks/error-state-support-escalation-band/ErrorStateSupportEscalationBand.tsx +186 -0
- package/registry/blocks/error-state-support-escalation-band/index.ts +8 -0
- package/registry/blocks/error-state-terminal-console/ErrorStateTerminalConsole.tsx +208 -0
- package/registry/blocks/error-state-terminal-console/index.ts +8 -0
- package/registry/blocks/faq-accent-active-card/FaqAccentActiveCard.tsx +186 -0
- package/registry/blocks/faq-accent-active-card/index.ts +1 -0
- package/registry/blocks/faq-category-chip-grid/FaqCategoryChipGrid.tsx +425 -0
- package/registry/blocks/faq-category-chip-grid/index.ts +8 -0
- package/registry/blocks/faq-category-columns/FaqCategoryColumns.tsx +248 -0
- package/registry/blocks/faq-category-columns/index.ts +8 -0
- package/registry/blocks/faq-chat-thread/FaqChatThread.tsx +273 -0
- package/registry/blocks/faq-chat-thread/index.ts +7 -0
- package/registry/blocks/faq-classic-centered/FaqClassicCentered.tsx +190 -0
- package/registry/blocks/faq-classic-centered/index.ts +7 -0
- package/registry/blocks/faq-contact-cta-card/FaqContactCtaCard.tsx +229 -0
- package/registry/blocks/faq-contact-cta-card/index.ts +9 -0
- package/registry/blocks/faq-dark-panel/FaqDarkPanel.tsx +186 -0
- package/registry/blocks/faq-dark-panel/index.ts +1 -0
- package/registry/blocks/faq-featured-question/FaqFeaturedQuestion.tsx +221 -0
- package/registry/blocks/faq-featured-question/index.ts +1 -0
- package/registry/blocks/faq-grouped-sections/FaqGroupedSections.tsx +266 -0
- package/registry/blocks/faq-grouped-sections/index.ts +8 -0
- package/registry/blocks/faq-help-hero-popular/FaqHelpHeroPopular.tsx +212 -0
- package/registry/blocks/faq-help-hero-popular/index.ts +7 -0
- package/registry/blocks/faq-masonry-cards/FaqMasonryCards.tsx +268 -0
- package/registry/blocks/faq-masonry-cards/index.ts +7 -0
- package/registry/blocks/faq-media-split/FaqMediaSplit.tsx +197 -0
- package/registry/blocks/faq-media-split/index.ts +8 -0
- package/registry/blocks/faq-mono-index/FaqMonoIndex.tsx +247 -0
- package/registry/blocks/faq-mono-index/index.ts +1 -0
- package/registry/blocks/faq-newsletter-close/FaqNewsletterClose.tsx +314 -0
- package/registry/blocks/faq-newsletter-close/index.ts +8 -0
- package/registry/blocks/faq-numbered-editorial/FaqNumberedEditorial.tsx +190 -0
- package/registry/blocks/faq-numbered-editorial/index.ts +1 -0
- package/registry/blocks/faq-search-categories/FaqSearchCategories.tsx +312 -0
- package/registry/blocks/faq-search-categories/index.ts +8 -0
- package/registry/blocks/faq-sidebar-nav/FaqSidebarNav.tsx +390 -0
- package/registry/blocks/faq-sidebar-nav/index.ts +8 -0
- package/registry/blocks/faq-soft-filled-rows/FaqSoftFilledRows.tsx +209 -0
- package/registry/blocks/faq-soft-filled-rows/index.ts +1 -0
- package/registry/blocks/faq-split-sticky/FaqSplitSticky.tsx +205 -0
- package/registry/blocks/faq-split-sticky/index.ts +7 -0
- package/registry/blocks/faq-support-channels/FaqSupportChannels.tsx +266 -0
- package/registry/blocks/faq-support-channels/index.ts +8 -0
- package/registry/blocks/faq-support-stats/FaqSupportStats.tsx +242 -0
- package/registry/blocks/faq-support-stats/index.ts +8 -0
- package/registry/blocks/faq-table-compact/FaqTableCompact.tsx +220 -0
- package/registry/blocks/faq-table-compact/index.ts +1 -0
- package/registry/blocks/faq-tabs-by-topic/FaqTabsByTopic.tsx +347 -0
- package/registry/blocks/faq-tabs-by-topic/index.ts +8 -0
- package/registry/blocks/faq-topic-tiles/FaqTopicTiles.tsx +254 -0
- package/registry/blocks/faq-topic-tiles/index.ts +7 -0
- package/registry/blocks/faq-two-column-grid/FaqTwoColumnGrid.tsx +256 -0
- package/registry/blocks/faq-two-column-grid/index.ts +7 -0
- package/registry/blocks/faq-uppercase-dense/FaqUppercaseDense.tsx +213 -0
- package/registry/blocks/faq-uppercase-dense/index.ts +1 -0
- package/registry/blocks/features/features.tsx +164 -0
- package/registry/blocks/features/index.ts +12 -0
- package/registry/blocks/features-accordion-photo/FeaturesAccordionPhoto.tsx +149 -0
- package/registry/blocks/features-accordion-photo/index.ts +7 -0
- package/registry/blocks/features-colour-block-cards/FeaturesColourBlockCards.tsx +118 -0
- package/registry/blocks/features-colour-block-cards/index.ts +8 -0
- package/registry/blocks/features-compact-icon-index/FeaturesCompactIconIndex.tsx +136 -0
- package/registry/blocks/features-compact-icon-index/index.ts +7 -0
- package/registry/blocks/features-compare-panels-chat-answer/FeaturesComparePanelsChatAnswer.tsx +346 -0
- package/registry/blocks/features-compare-panels-chat-answer/index.ts +8 -0
- package/registry/blocks/features-editorial-photo-split/FeaturesEditorialPhotoSplit.tsx +118 -0
- package/registry/blocks/features-editorial-photo-split/index.ts +7 -0
- package/registry/blocks/features-expanding-step-cards/FeaturesExpandingStepCards.tsx +300 -0
- package/registry/blocks/features-expanding-step-cards/index.ts +7 -0
- package/registry/blocks/features-feature-checklist-columns/FeaturesFeatureChecklistColumns.tsx +158 -0
- package/registry/blocks/features-feature-checklist-columns/index.ts +7 -0
- package/registry/blocks/features-feature-list-thumbnails/FeaturesFeatureListThumbnails.tsx +137 -0
- package/registry/blocks/features-feature-list-thumbnails/index.ts +7 -0
- package/registry/blocks/features-full-bleed-photo-banner/FeaturesFullBleedPhotoBanner.tsx +116 -0
- package/registry/blocks/features-full-bleed-photo-banner/index.ts +7 -0
- package/registry/blocks/features-icon-card-grid/FeaturesIconCardGrid.tsx +120 -0
- package/registry/blocks/features-icon-card-grid/index.ts +7 -0
- package/registry/blocks/features-icon-titled-preview-rail/FeaturesIconTitledPreviewRail.tsx +321 -0
- package/registry/blocks/features-icon-titled-preview-rail/index.ts +7 -0
- package/registry/blocks/features-icons-numbers.test.tsx +107 -0
- package/registry/blocks/features-interactive.test.tsx +175 -0
- package/registry/blocks/features-media-rail/FeaturesMediaRail.tsx +119 -0
- package/registry/blocks/features-media-rail/index.ts +7 -0
- package/registry/blocks/features-notched-photo-columns/FeaturesNotchedPhotoColumns.tsx +209 -0
- package/registry/blocks/features-notched-photo-columns/index.ts +7 -0
- package/registry/blocks/features-numbered-feature-rows/FeaturesNumberedFeatureRows.tsx +107 -0
- package/registry/blocks/features-numbered-feature-rows/index.ts +7 -0
- package/registry/blocks/features-numbered-steps-floating-cards/FeaturesNumberedStepsFloatingCards.tsx +324 -0
- package/registry/blocks/features-numbered-steps-floating-cards/index.ts +8 -0
- package/registry/blocks/features-perforated-photo-strip/FeaturesPerforatedPhotoStrip.tsx +218 -0
- package/registry/blocks/features-perforated-photo-strip/index.ts +7 -0
- package/registry/blocks/features-photo-bento/FeaturesPhotoBento.tsx +160 -0
- package/registry/blocks/features-photo-bento/index.ts +8 -0
- package/registry/blocks/features-photo-carousel/FeaturesPhotoCarousel.tsx +249 -0
- package/registry/blocks/features-photo-carousel/index.ts +7 -0
- package/registry/blocks/features-photo-collage/FeaturesPhotoCollage.tsx +143 -0
- package/registry/blocks/features-photo-collage/index.ts +7 -0
- package/registry/blocks/features-photo-feature-chips/FeaturesPhotoFeatureChips.tsx +125 -0
- package/registry/blocks/features-photo-feature-chips/index.ts +7 -0
- package/registry/blocks/features-photo-led.test.tsx +177 -0
- package/registry/blocks/features-photo-tabs-panel/FeaturesPhotoTabsPanel.tsx +197 -0
- package/registry/blocks/features-photo-tabs-panel/index.ts +7 -0
- package/registry/blocks/features-portrait-photo-cards-link-row/FeaturesPortraitPhotoCardsLinkRow.tsx +202 -0
- package/registry/blocks/features-portrait-photo-cards-link-row/index.ts +7 -0
- package/registry/blocks/features-product-in-use.test.tsx +188 -0
- package/registry/blocks/features-showcase-card-pair/FeaturesShowcaseCardPair.tsx +161 -0
- package/registry/blocks/features-showcase-card-pair/index.ts +7 -0
- package/registry/blocks/features-solid-colour-cards/FeaturesSolidColourCards.tsx +264 -0
- package/registry/blocks/features-solid-colour-cards/index.ts +7 -0
- package/registry/blocks/features-split-photo-icon-list/FeaturesSplitPhotoIconList.tsx +117 -0
- package/registry/blocks/features-split-photo-icon-list/index.ts +7 -0
- package/registry/blocks/features-stat-feature-band/FeaturesStatFeatureBand.tsx +114 -0
- package/registry/blocks/features-stat-feature-band/index.ts +7 -0
- package/registry/blocks/features-tinted-product-bento/FeaturesTintedProductBento.tsx +252 -0
- package/registry/blocks/features-tinted-product-bento/index.ts +7 -0
- package/registry/blocks/footer/footer.test.tsx +253 -0
- package/registry/blocks/footer/footer.tsx +554 -0
- package/registry/blocks/footer/index.ts +31 -0
- package/registry/blocks/footer-accordion-sitemap/FooterAccordionSitemap.tsx +260 -0
- package/registry/blocks/footer-accordion-sitemap/index.ts +7 -0
- package/registry/blocks/footer-bars.test.tsx +121 -0
- package/registry/blocks/footer-bento-tile/FooterBentoTile.tsx +331 -0
- package/registry/blocks/footer-bento-tile/index.ts +6 -0
- package/registry/blocks/footer-big-question-cta/FooterBigQuestionCta.tsx +250 -0
- package/registry/blocks/footer-big-question-cta/index.ts +6 -0
- package/registry/blocks/footer-big-type-link-stack/FooterBigTypeLinkStack.tsx +275 -0
- package/registry/blocks/footer-big-type-link-stack/index.ts +6 -0
- package/registry/blocks/footer-brand-panel-split/FooterBrandPanelSplit.tsx +163 -0
- package/registry/blocks/footer-brand-panel-split/index.ts +6 -0
- package/registry/blocks/footer-brand.test.tsx +608 -0
- package/registry/blocks/footer-careers-culture/FooterCareersCulture.tsx +297 -0
- package/registry/blocks/footer-careers-culture/index.ts +7 -0
- package/registry/blocks/footer-centered-brand-minimal/FooterCenteredBrandMinimal.tsx +121 -0
- package/registry/blocks/footer-centered-brand-minimal/index.ts +6 -0
- package/registry/blocks/footer-commerce.test.tsx +208 -0
- package/registry/blocks/footer-community-events/FooterCommunityEvents.tsx +263 -0
- package/registry/blocks/footer-community-events/index.ts +8 -0
- package/registry/blocks/footer-community.test.tsx +309 -0
- package/registry/blocks/footer-contact-first/FooterContactFirst.tsx +242 -0
- package/registry/blocks/footer-contact-first/index.ts +7 -0
- package/registry/blocks/footer-contact.test.tsx +285 -0
- package/registry/blocks/footer-controls.test.tsx +78 -0
- package/registry/blocks/footer-cta-band-columns/FooterCtaBandColumns.tsx +225 -0
- package/registry/blocks/footer-cta-band-columns/index.ts +6 -0
- package/registry/blocks/footer-cta.test.tsx +445 -0
- package/registry/blocks/footer-dashboard-slim-bar/FooterDashboardSlimBar.tsx +148 -0
- package/registry/blocks/footer-dashboard-slim-bar/index.ts +6 -0
- package/registry/blocks/footer-docs-page/FooterDocsPage.tsx +261 -0
- package/registry/blocks/footer-docs-page/index.ts +9 -0
- package/registry/blocks/footer-ecommerce-mega/FooterEcommerceMega.tsx +289 -0
- package/registry/blocks/footer-ecommerce-mega/index.ts +6 -0
- package/registry/blocks/footer-floating-demo-card/FooterFloatingDemoCard.tsx +261 -0
- package/registry/blocks/footer-floating-demo-card/index.ts +6 -0
- package/registry/blocks/footer-four-column-directory/FooterFourColumnDirectory.tsx +104 -0
- package/registry/blocks/footer-four-column-directory/index.ts +6 -0
- package/registry/blocks/footer-giant-wordmark/FooterGiantWordmark.tsx +252 -0
- package/registry/blocks/footer-giant-wordmark/index.ts +6 -0
- package/registry/blocks/footer-image-backed-brand/FooterImageBackedBrand.tsx +251 -0
- package/registry/blocks/footer-image-backed-brand/index.ts +6 -0
- package/registry/blocks/footer-index-numbered-columns/FooterIndexNumberedColumns.tsx +236 -0
- package/registry/blocks/footer-index-numbered-columns/index.ts +7 -0
- package/registry/blocks/footer-inline-preferences/FooterInlinePreferences.tsx +164 -0
- package/registry/blocks/footer-inline-preferences/index.ts +7 -0
- package/registry/blocks/footer-legal-first-slim/FooterLegalFirstSlim.tsx +174 -0
- package/registry/blocks/footer-legal-first-slim/index.ts +6 -0
- package/registry/blocks/footer-legal.test.tsx +180 -0
- package/registry/blocks/footer-local-business/FooterLocalBusiness.tsx +258 -0
- package/registry/blocks/footer-local-business/index.ts +7 -0
- package/registry/blocks/footer-marquee-strip/FooterMarqueeStrip.tsx +244 -0
- package/registry/blocks/footer-marquee-strip/index.ts +6 -0
- package/registry/blocks/footer-multi-region/FooterMultiRegion.tsx +310 -0
- package/registry/blocks/footer-multi-region/index.ts +7 -0
- package/registry/blocks/footer-newsletter-split/FooterNewsletterSplit.tsx +255 -0
- package/registry/blocks/footer-newsletter-split/index.ts +6 -0
- package/registry/blocks/footer-product-family-switcher/FooterProductFamilySwitcher.tsx +241 -0
- package/registry/blocks/footer-product-family-switcher/index.ts +7 -0
- package/registry/blocks/footer-service-promise-band/FooterServicePromiseBand.tsx +237 -0
- package/registry/blocks/footer-service-promise-band/index.ts +7 -0
- package/registry/blocks/footer-single-line-bar/FooterSingleLineBar.tsx +107 -0
- package/registry/blocks/footer-single-line-bar/index.ts +6 -0
- package/registry/blocks/footer-sitemap.test.tsx +390 -0
- package/registry/blocks/footer-split-hairline-micro/FooterSplitHairlineMicro.tsx +100 -0
- package/registry/blocks/footer-split-hairline-micro/index.ts +6 -0
- package/registry/blocks/footer-support-contact/FooterSupportContact.tsx +204 -0
- package/registry/blocks/footer-support-contact/index.ts +7 -0
- package/registry/blocks/footer-trust-compliance/FooterTrustCompliance.tsx +234 -0
- package/registry/blocks/footer-trust-compliance/index.ts +7 -0
- package/registry/blocks/footer-two-row-compact/FooterTwoRowCompact.tsx +124 -0
- package/registry/blocks/footer-two-row-compact/index.ts +6 -0
- package/registry/blocks/footer-two-tier-doormat/FooterTwoTierDoormat.tsx +232 -0
- package/registry/blocks/footer-two-tier-doormat/index.ts +8 -0
- package/registry/blocks/footer-utility.test.tsx +406 -0
- package/registry/blocks/footer-wide-sitemap-mega/FooterWideSitemapMega.tsx +227 -0
- package/registry/blocks/footer-wide-sitemap-mega/index.ts +6 -0
- package/registry/blocks/gallery-album-cards/GalleryAlbumCards.tsx +243 -0
- package/registry/blocks/gallery-album-cards/index.ts +8 -0
- package/registry/blocks/gallery-before-after-compare/GalleryBeforeAfterCompare.tsx +269 -0
- package/registry/blocks/gallery-before-after-compare/index.ts +7 -0
- package/registry/blocks/gallery-contact-sheet-wall/GalleryContactSheetWall.tsx +299 -0
- package/registry/blocks/gallery-contact-sheet-wall/index.ts +9 -0
- package/registry/blocks/gallery-culture-photo-grid/GalleryCulturePhotoGrid.tsx +203 -0
- package/registry/blocks/gallery-culture-photo-grid/index.ts +8 -0
- package/registry/blocks/gallery-dark-cinema-wall/GalleryDarkCinemaWall.tsx +180 -0
- package/registry/blocks/gallery-dark-cinema-wall/index.ts +7 -0
- package/registry/blocks/gallery-editorial-split/GalleryEditorialSplit.tsx +188 -0
- package/registry/blocks/gallery-editorial-split/index.ts +8 -0
- package/registry/blocks/gallery-featured-thumb-rail/GalleryFeaturedThumbRail.tsx +397 -0
- package/registry/blocks/gallery-featured-thumb-rail/index.ts +8 -0
- package/registry/blocks/gallery-filmstrip-carousel/GalleryFilmstripCarousel.tsx +384 -0
- package/registry/blocks/gallery-filmstrip-carousel/index.ts +8 -0
- package/registry/blocks/gallery-filter-tabs-grid/GalleryFilterTabsGrid.tsx +403 -0
- package/registry/blocks/gallery-filter-tabs-grid/index.ts +9 -0
- package/registry/blocks/gallery-full-bleed-slider/GalleryFullBleedSlider.tsx +309 -0
- package/registry/blocks/gallery-full-bleed-slider/index.ts +8 -0
- package/registry/blocks/gallery-horizontal-scroll-rail/GalleryHorizontalScrollRail.tsx +300 -0
- package/registry/blocks/gallery-horizontal-scroll-rail/index.ts +8 -0
- package/registry/blocks/gallery-hover-caption-cards/GalleryHoverCaptionCards.tsx +244 -0
- package/registry/blocks/gallery-hover-caption-cards/index.ts +8 -0
- package/registry/blocks/gallery-hover-index-list/GalleryHoverIndexList.tsx +253 -0
- package/registry/blocks/gallery-hover-index-list/index.ts +9 -0
- package/registry/blocks/gallery-lightbox-viewer/GalleryLightboxViewer.tsx +329 -0
- package/registry/blocks/gallery-lightbox-viewer/index.ts +7 -0
- package/registry/blocks/gallery-masonry-gallery/GalleryMasonryGallery.tsx +251 -0
- package/registry/blocks/gallery-masonry-gallery/index.ts +7 -0
- package/registry/blocks/gallery-mosaic-statement-tile/GalleryMosaicStatementTile.tsx +159 -0
- package/registry/blocks/gallery-mosaic-statement-tile/index.ts +8 -0
- package/registry/blocks/gallery-photo-bento/GalleryPhotoBento.tsx +166 -0
- package/registry/blocks/gallery-photo-bento/index.ts +8 -0
- package/registry/blocks/gallery-photo-spotlight/GalleryPhotoSpotlight.tsx +305 -0
- package/registry/blocks/gallery-photo-spotlight/index.ts +9 -0
- package/registry/blocks/gallery-scattered-collage/GalleryScatteredCollage.tsx +286 -0
- package/registry/blocks/gallery-scattered-collage/index.ts +9 -0
- package/registry/blocks/gallery-social-feed-strip/GallerySocialFeedStrip.tsx +288 -0
- package/registry/blocks/gallery-social-feed-strip/index.ts +8 -0
- package/registry/blocks/gallery-timeline-gallery/GalleryTimelineGallery.tsx +243 -0
- package/registry/blocks/gallery-timeline-gallery/index.ts +8 -0
- package/registry/blocks/gallery-video-gallery/GalleryVideoGallery.tsx +362 -0
- package/registry/blocks/gallery-video-gallery/index.ts +8 -0
- package/registry/blocks/hero-annotated-object/HeroAnnotatedObject.tsx +310 -0
- package/registry/blocks/hero-annotated-object/index.ts +10 -0
- package/registry/blocks/hero-arc-gallery/HeroArcGallery.tsx +244 -0
- package/registry/blocks/hero-arc-gallery/index.ts +9 -0
- package/registry/blocks/hero-bento-split/HeroBentoSplit.tsx +266 -0
- package/registry/blocks/hero-bento-split/index.ts +9 -0
- package/registry/blocks/hero-brand-color-block/HeroBrandColorBlock.tsx +259 -0
- package/registry/blocks/hero-brand-color-block/index.ts +8 -0
- package/registry/blocks/hero-colour-stage/HeroColourStage.tsx +292 -0
- package/registry/blocks/hero-colour-stage/index.ts +8 -0
- package/registry/blocks/hero-component-pattern/HeroComponentPattern.tsx +248 -0
- package/registry/blocks/hero-component-pattern/index.ts +9 -0
- package/registry/blocks/hero-curved-media-rail/HeroCurvedMediaRail.tsx +272 -0
- package/registry/blocks/hero-curved-media-rail/index.ts +8 -0
- package/registry/blocks/hero-duo-card/HeroDuoCard.tsx +210 -0
- package/registry/blocks/hero-duo-card/index.ts +8 -0
- package/registry/blocks/hero-editorial-arch/HeroEditorialArch.tsx +226 -0
- package/registry/blocks/hero-editorial-arch/index.ts +10 -0
- package/registry/blocks/hero-editorial-triptych/HeroEditorialTriptych.tsx +252 -0
- package/registry/blocks/hero-editorial-triptych/index.ts +9 -0
- package/registry/blocks/hero-floating-integrations/HeroFloatingIntegrations.tsx +454 -0
- package/registry/blocks/hero-floating-integrations/index.ts +11 -0
- package/registry/blocks/hero-framed-full-bleed/HeroFramedFullBleed.tsx +226 -0
- package/registry/blocks/hero-framed-full-bleed/index.ts +9 -0
- package/registry/blocks/hero-framed-studio-card/HeroFramedStudioCard.tsx +264 -0
- package/registry/blocks/hero-framed-studio-card/index.ts +8 -0
- package/registry/blocks/hero-illustration-split/HeroIllustrationSplit.tsx +200 -0
- package/registry/blocks/hero-illustration-split/index.ts +8 -0
- package/registry/blocks/hero-inline-image-headline/HeroInlineImageHeadline.tsx +305 -0
- package/registry/blocks/hero-inline-image-headline/index.ts +8 -0
- package/registry/blocks/hero-masked-type-reveal/HeroMaskedTypeReveal.tsx +323 -0
- package/registry/blocks/hero-masked-type-reveal/index.ts +9 -0
- package/registry/blocks/hero-motion.test.tsx +185 -0
- package/registry/blocks/hero-orbit-track/HeroOrbitTrack.tsx +238 -0
- package/registry/blocks/hero-orbit-track/index.ts +8 -0
- package/registry/blocks/hero-photo-constellation/HeroPhotoConstellation.tsx +228 -0
- package/registry/blocks/hero-photo-constellation/index.ts +8 -0
- package/registry/blocks/hero-scramble-decode/HeroScrambleDecode.tsx +381 -0
- package/registry/blocks/hero-scramble-decode/index.ts +7 -0
- package/registry/blocks/hero-shape-grid/HeroShapeGrid.tsx +279 -0
- package/registry/blocks/hero-shape-grid/index.ts +8 -0
- package/registry/blocks/hero-split-band-headline/HeroSplitBandHeadline.tsx +242 -0
- package/registry/blocks/hero-split-band-headline/index.ts +8 -0
- package/registry/blocks/hero-split-flap-counters/HeroSplitFlapCounters.tsx +323 -0
- package/registry/blocks/hero-split-flap-counters/index.ts +8 -0
- package/registry/blocks/hero-studio-mosaic/HeroStudioMosaic.tsx +332 -0
- package/registry/blocks/hero-studio-mosaic/index.ts +9 -0
- package/registry/blocks/hero-textured-dark/HeroTexturedDark.tsx +378 -0
- package/registry/blocks/hero-textured-dark/index.ts +10 -0
- package/registry/blocks/hero-twin-panels/HeroTwinPanels.tsx +231 -0
- package/registry/blocks/hero-twin-panels/index.ts +9 -0
- package/registry/blocks/hero-velocity-marquee/HeroVelocityMarquee.tsx +392 -0
- package/registry/blocks/hero-velocity-marquee/index.ts +8 -0
- package/registry/blocks/hero-video-in-type/HeroVideoInType.tsx +374 -0
- package/registry/blocks/hero-video-in-type/index.ts +9 -0
- package/registry/blocks/hero-video-spotlight/HeroVideoSpotlight.tsx +292 -0
- package/registry/blocks/hero-video-spotlight/index.ts +9 -0
- package/registry/blocks/hero-wave-band/HeroWaveBand.tsx +309 -0
- package/registry/blocks/hero-wave-band/index.ts +8 -0
- package/registry/blocks/how-it-works/how-it-works.tsx +330 -0
- package/registry/blocks/how-it-works/index.ts +28 -0
- package/registry/blocks/how-it-works-accordion-steps/HowItWorksAccordionSteps.tsx +213 -0
- package/registry/blocks/how-it-works-accordion-steps/index.ts +7 -0
- package/registry/blocks/how-it-works-center-spine-timeline/HowItWorksCenterSpineTimeline.tsx +200 -0
- package/registry/blocks/how-it-works-center-spine-timeline/index.ts +7 -0
- package/registry/blocks/how-it-works-column-panels/HowItWorksColumnPanels.tsx +299 -0
- package/registry/blocks/how-it-works-column-panels/index.ts +6 -0
- package/registry/blocks/how-it-works-contained-timeline/HowItWorksContainedTimeline.tsx +223 -0
- package/registry/blocks/how-it-works-contained-timeline/index.ts +8 -0
- package/registry/blocks/how-it-works-diagonal-photo-collage/HowItWorksDiagonalPhotoCollage.tsx +170 -0
- package/registry/blocks/how-it-works-diagonal-photo-collage/index.ts +7 -0
- package/registry/blocks/how-it-works-fanned-dissolve-cards/HowItWorksFannedDissolveCards.tsx +258 -0
- package/registry/blocks/how-it-works-fanned-dissolve-cards/index.ts +8 -0
- package/registry/blocks/how-it-works-full-bleed-step-panel/HowItWorksFullBleedStepPanel.tsx +319 -0
- package/registry/blocks/how-it-works-full-bleed-step-panel/index.ts +7 -0
- package/registry/blocks/how-it-works-grids.test.tsx +292 -0
- package/registry/blocks/how-it-works-interactive.test.tsx +262 -0
- package/registry/blocks/how-it-works-numbered-editorial-rows/HowItWorksNumberedEditorialRows.tsx +177 -0
- package/registry/blocks/how-it-works-numbered-editorial-rows/index.ts +7 -0
- package/registry/blocks/how-it-works-numbered-instruction-panels/HowItWorksNumberedInstructionPanels.tsx +226 -0
- package/registry/blocks/how-it-works-numbered-instruction-panels/index.ts +6 -0
- package/registry/blocks/how-it-works-numbered-photo-steps/HowItWorksNumberedPhotoSteps.tsx +150 -0
- package/registry/blocks/how-it-works-numbered-photo-steps/index.ts +7 -0
- package/registry/blocks/how-it-works-orbital-process/HowItWorksOrbitalProcess.tsx +317 -0
- package/registry/blocks/how-it-works-orbital-process/index.ts +7 -0
- package/registry/blocks/how-it-works-overlay-numeral-cards/HowItWorksOverlayNumeralCards.tsx +145 -0
- package/registry/blocks/how-it-works-overlay-numeral-cards/index.ts +7 -0
- package/registry/blocks/how-it-works-phase-line/HowItWorksPhaseLine.tsx +147 -0
- package/registry/blocks/how-it-works-phase-line/index.ts +8 -0
- package/registry/blocks/how-it-works-photo-bento-steps/HowItWorksPhotoBentoSteps.tsx +178 -0
- package/registry/blocks/how-it-works-photo-bento-steps/index.ts +7 -0
- package/registry/blocks/how-it-works-photo-rail-progress/HowItWorksPhotoRailProgress.tsx +231 -0
- package/registry/blocks/how-it-works-photo-rail-progress/index.ts +7 -0
- package/registry/blocks/how-it-works-pill-timeline/HowItWorksPillTimeline.tsx +181 -0
- package/registry/blocks/how-it-works-pill-timeline/index.ts +8 -0
- package/registry/blocks/how-it-works-rounded-cards-device-crop/HowItWorksRoundedCardsDeviceCrop.tsx +286 -0
- package/registry/blocks/how-it-works-rounded-cards-device-crop/index.ts +6 -0
- package/registry/blocks/how-it-works-six-card-grid/HowItWorksSixCardGrid.tsx +385 -0
- package/registry/blocks/how-it-works-six-card-grid/index.ts +6 -0
- package/registry/blocks/how-it-works-split-feature-band/HowItWorksSplitFeatureBand.tsx +316 -0
- package/registry/blocks/how-it-works-split-feature-band/index.ts +6 -0
- package/registry/blocks/how-it-works-split-photo-step-list/HowItWorksSplitPhotoStepList.tsx +179 -0
- package/registry/blocks/how-it-works-split-photo-step-list/index.ts +7 -0
- package/registry/blocks/how-it-works-stacked-media-text/HowItWorksStackedMediaText.tsx +310 -0
- package/registry/blocks/how-it-works-stacked-media-text/index.ts +8 -0
- package/registry/blocks/how-it-works-step-tabs-photo-panel/HowItWorksStepTabsPhotoPanel.tsx +245 -0
- package/registry/blocks/how-it-works-step-tabs-photo-panel/index.ts +7 -0
- package/registry/blocks/how-it-works-tall-visual-rail/HowItWorksTallVisualRail.tsx +349 -0
- package/registry/blocks/how-it-works-tall-visual-rail/index.ts +7 -0
- package/registry/blocks/how-it-works-timelines.test.tsx +265 -0
- package/registry/blocks/how-it-works-vertical-timeline-card/HowItWorksVerticalTimelineCard.tsx +169 -0
- package/registry/blocks/how-it-works-vertical-timeline-card/index.ts +8 -0
- package/registry/blocks/how-it-works-visual-steps.test.tsx +368 -0
- package/registry/blocks/logo-cloud-bento-logo-wall/LogoCloudBentoLogoWall.tsx +159 -0
- package/registry/blocks/logo-cloud-bento-logo-wall/index.ts +7 -0
- package/registry/blocks/logo-cloud-bordered-cell-grid/LogoCloudBorderedCellGrid.tsx +132 -0
- package/registry/blocks/logo-cloud-bordered-cell-grid/index.ts +7 -0
- package/registry/blocks/logo-cloud-centered-caption-row/LogoCloudCenteredCaptionRow.tsx +141 -0
- package/registry/blocks/logo-cloud-centered-caption-row/index.ts +7 -0
- package/registry/blocks/logo-cloud-contained-card/LogoCloudContainedCard.tsx +106 -0
- package/registry/blocks/logo-cloud-contained-card/index.ts +7 -0
- package/registry/blocks/logo-cloud-dark-logo-wall/LogoCloudDarkLogoWall.tsx +123 -0
- package/registry/blocks/logo-cloud-dark-logo-wall/index.ts +7 -0
- package/registry/blocks/logo-cloud-divider-rule-row/LogoCloudDividerRuleRow.tsx +156 -0
- package/registry/blocks/logo-cloud-divider-rule-row/index.ts +7 -0
- package/registry/blocks/logo-cloud-editorial-eyebrow-split/LogoCloudEditorialEyebrowSplit.tsx +121 -0
- package/registry/blocks/logo-cloud-editorial-eyebrow-split/index.ts +7 -0
- package/registry/blocks/logo-cloud-enterprise-wall/LogoCloudEnterpriseWall.tsx +114 -0
- package/registry/blocks/logo-cloud-enterprise-wall/index.ts +7 -0
- package/registry/blocks/logo-cloud-flanked-heading/LogoCloudFlankedHeading.tsx +162 -0
- package/registry/blocks/logo-cloud-flanked-heading/index.ts +8 -0
- package/registry/blocks/logo-cloud-grid-closing-cta/LogoCloudGridClosingCta.tsx +173 -0
- package/registry/blocks/logo-cloud-grid-closing-cta/index.ts +8 -0
- package/registry/blocks/logo-cloud-heading-grid/LogoCloudHeadingGrid.tsx +124 -0
- package/registry/blocks/logo-cloud-heading-grid/index.ts +7 -0
- package/registry/blocks/logo-cloud-heading-left-grid-right/LogoCloudHeadingLeftGridRight.tsx +172 -0
- package/registry/blocks/logo-cloud-heading-left-grid-right/index.ts +8 -0
- package/registry/blocks/logo-cloud-logo-metric-tiles/LogoCloudLogoMetricTiles.tsx +159 -0
- package/registry/blocks/logo-cloud-logo-metric-tiles/index.ts +8 -0
- package/registry/blocks/logo-cloud-logo-quote-cards/LogoCloudLogoQuoteCards.tsx +162 -0
- package/registry/blocks/logo-cloud-logo-quote-cards/index.ts +8 -0
- package/registry/blocks/logo-cloud-logo-testimonial-strip/LogoCloudLogoTestimonialStrip.tsx +159 -0
- package/registry/blocks/logo-cloud-logo-testimonial-strip/index.ts +8 -0
- package/registry/blocks/logo-cloud-named-integration-cards/LogoCloudNamedIntegrationCards.tsx +186 -0
- package/registry/blocks/logo-cloud-named-integration-cards/index.ts +9 -0
- package/registry/blocks/logo-cloud-pyramid-row-stack/LogoCloudPyramidRowStack.tsx +156 -0
- package/registry/blocks/logo-cloud-pyramid-row-stack/index.ts +7 -0
- package/registry/blocks/logo-cloud-quote-panel-grid/LogoCloudQuotePanelGrid.tsx +177 -0
- package/registry/blocks/logo-cloud-quote-panel-grid/index.ts +8 -0
- package/registry/blocks/logo-cloud-scatter-field/LogoCloudScatterField.tsx +190 -0
- package/registry/blocks/logo-cloud-scatter-field/index.ts +8 -0
- package/registry/blocks/logo-cloud-side-label-rail/LogoCloudSideLabelRail.tsx +139 -0
- package/registry/blocks/logo-cloud-side-label-rail/index.ts +7 -0
- package/registry/blocks/logo-cloud-stat-rail-above-grid/LogoCloudStatRailAboveGrid.tsx +173 -0
- package/registry/blocks/logo-cloud-stat-rail-above-grid/index.ts +8 -0
- package/registry/blocks/logo-cloud-tabbed-industry-filter/LogoCloudTabbedIndustryFilter.tsx +200 -0
- package/registry/blocks/logo-cloud-tabbed-industry-filter/index.ts +8 -0
- package/registry/blocks/navbar/index.ts +22 -11
- package/registry/blocks/navbar/navbar.test.tsx +42 -0
- package/registry/blocks/navbar/navbar.tsx +455 -0
- package/registry/blocks/navbar-active-action-with-border/NavbarActiveActionWithBorder.tsx +120 -0
- package/registry/blocks/navbar-active-action-with-border/index.ts +6 -0
- package/registry/blocks/navbar-active-action-with-round/NavbarActiveActionWithRound.tsx +120 -0
- package/registry/blocks/navbar-active-action-with-round/index.ts +6 -0
- package/registry/blocks/navbar-centered-floating/NavbarCenteredFloating.tsx +121 -0
- package/registry/blocks/navbar-centered-floating/index.ts +6 -0
- package/registry/blocks/navbar-default/NavbarDefault.tsx +102 -0
- package/registry/blocks/navbar-default/index.ts +6 -0
- package/registry/blocks/navbar-e-commerce/NavbarECommerce.tsx +212 -0
- package/registry/blocks/navbar-e-commerce/index.ts +6 -0
- package/registry/blocks/navbar-extended-at-top/NavbarExtendedAtTop.tsx +155 -0
- package/registry/blocks/navbar-extended-at-top/index.ts +7 -0
- package/registry/blocks/navbar-multiple-action/NavbarMultipleAction.tsx +133 -0
- package/registry/blocks/navbar-multiple-action/index.ts +6 -0
- package/registry/blocks/navbar-multiple-icon/NavbarMultipleIcon.tsx +132 -0
- package/registry/blocks/navbar-multiple-icon/index.ts +6 -0
- package/registry/blocks/navbar-rounded/NavbarRounded.tsx +140 -0
- package/registry/blocks/navbar-rounded/index.ts +6 -0
- package/registry/blocks/navbar-rounded-small/NavbarRoundedSmall.tsx +143 -0
- package/registry/blocks/navbar-rounded-small/index.ts +6 -0
- package/registry/blocks/navbar-small/NavbarSmall.tsx +142 -0
- package/registry/blocks/navbar-small/index.ts +6 -0
- package/registry/blocks/navbar-with-centered-logo/NavbarWithCenteredLogo.tsx +118 -0
- package/registry/blocks/navbar-with-centered-logo/index.ts +6 -0
- package/registry/blocks/navbar-with-cta-button/NavbarWithCtaButton.tsx +131 -0
- package/registry/blocks/navbar-with-cta-button/index.ts +6 -0
- package/registry/blocks/navbar-with-dropdown/NavbarWithDropdown.tsx +118 -0
- package/registry/blocks/navbar-with-dropdown/index.ts +6 -0
- package/registry/blocks/navbar-with-icon-indicator-avatar/NavbarWithIconIndicatorAvatar.tsx +85 -0
- package/registry/blocks/navbar-with-icon-indicator-avatar/index.ts +6 -0
- package/registry/blocks/navbar-with-search-input/NavbarWithSearchInput.tsx +90 -0
- package/registry/blocks/navbar-with-search-input/index.ts +6 -0
- package/registry/blocks/navbar-with-submenu/NavbarWithSubmenu.tsx +156 -0
- package/registry/blocks/navbar-with-submenu/index.ts +6 -0
- package/registry/blocks/page-header/PageHeader.tsx +5 -9
- package/registry/blocks/pricing/index.ts +20 -0
- package/registry/blocks/pricing/pricing.test.tsx +82 -0
- package/registry/blocks/pricing/pricing.tsx +343 -0
- package/registry/blocks/pricing-comparison-matrix/PricingComparisonMatrix.tsx +336 -0
- package/registry/blocks/pricing-comparison-matrix/index.ts +10 -0
- package/registry/blocks/pricing-plan-picker-summary/PricingPlanPickerSummary.tsx +399 -0
- package/registry/blocks/pricing-plan-picker-summary/index.ts +8 -0
- package/registry/blocks/pricing-plan-spotlight/PricingPlanSpotlight.tsx +281 -0
- package/registry/blocks/pricing-plan-spotlight/index.ts +7 -0
- package/registry/blocks/pricing-tiers/PricingTiers.tsx +264 -0
- package/registry/blocks/pricing-tiers/index.ts +8 -0
- package/registry/blocks/pricing-two-plan-compare/PricingTwoPlanCompare.tsx +187 -0
- package/registry/blocks/pricing-two-plan-compare/index.ts +7 -0
- package/registry/blocks/social-proof/index.ts +36 -0
- package/registry/blocks/social-proof/social-proof.test.tsx +504 -0
- package/registry/blocks/social-proof/social-proof.tsx +759 -0
- package/registry/blocks/social-proof-app-review-row/SocialProofAppReviewRow.tsx +168 -0
- package/registry/blocks/social-proof-app-review-row/index.ts +7 -0
- package/registry/blocks/social-proof-arch-portrait-quote/SocialProofArchPortraitQuote.tsx +114 -0
- package/registry/blocks/social-proof-arch-portrait-quote/index.ts +6 -0
- package/registry/blocks/social-proof-avatar-selector-row/SocialProofAvatarSelectorRow.tsx +276 -0
- package/registry/blocks/social-proof-avatar-selector-row/index.ts +7 -0
- package/registry/blocks/social-proof-benefit-title-cards/SocialProofBenefitTitleCards.tsx +182 -0
- package/registry/blocks/social-proof-benefit-title-cards/index.ts +8 -0
- package/registry/blocks/social-proof-bracket-framed-quote/SocialProofBracketFramedQuote.tsx +120 -0
- package/registry/blocks/social-proof-bracket-framed-quote/index.ts +6 -0
- package/registry/blocks/social-proof-case-study-row/SocialProofCaseStudyRow.tsx +210 -0
- package/registry/blocks/social-proof-case-study-row/index.ts +7 -0
- package/registry/blocks/social-proof-centered-logo-spotlight/SocialProofCenteredLogoSpotlight.tsx +103 -0
- package/registry/blocks/social-proof-centered-logo-spotlight/index.ts +6 -0
- package/registry/blocks/social-proof-classic-trio-grid/SocialProofClassicTrioGrid.tsx +138 -0
- package/registry/blocks/social-proof-classic-trio-grid/index.ts +7 -0
- package/registry/blocks/social-proof-dark-editorial-split/SocialProofDarkEditorialSplit.tsx +111 -0
- package/registry/blocks/social-proof-dark-editorial-split/index.ts +6 -0
- package/registry/blocks/social-proof-giant-quote-duo/SocialProofGiantQuoteDuo.tsx +156 -0
- package/registry/blocks/social-proof-giant-quote-duo/index.ts +8 -0
- package/registry/blocks/social-proof-highlighted-phrase-spotlight/SocialProofHighlightedPhraseSpotlight.tsx +130 -0
- package/registry/blocks/social-proof-highlighted-phrase-spotlight/index.ts +7 -0
- package/registry/blocks/social-proof-overlay-photo-quote/SocialProofOverlayPhotoQuote.tsx +111 -0
- package/registry/blocks/social-proof-overlay-photo-quote/index.ts +7 -0
- package/registry/blocks/social-proof-persona-pillars/SocialProofPersonaPillars.tsx +253 -0
- package/registry/blocks/social-proof-persona-pillars/index.ts +7 -0
- package/registry/blocks/social-proof-progress-carousel/SocialProofProgressCarousel.tsx +249 -0
- package/registry/blocks/social-proof-progress-carousel/index.ts +8 -0
- package/registry/blocks/social-proof-proof-bento/SocialProofProofBento.tsx +218 -0
- package/registry/blocks/social-proof-proof-bento/index.ts +6 -0
- package/registry/blocks/social-proof-spotlight-carousel/SocialProofSpotlightCarousel.tsx +212 -0
- package/registry/blocks/social-proof-spotlight-carousel/index.ts +7 -0
- package/registry/blocks/social-proof-staggered-columns/SocialProofStaggeredColumns.tsx +227 -0
- package/registry/blocks/social-proof-staggered-columns/index.ts +7 -0
- package/registry/blocks/social-proof-stat-story-cards/SocialProofStatStoryCards.tsx +218 -0
- package/registry/blocks/social-proof-stat-story-cards/index.ts +7 -0
- package/registry/blocks/social-proof-tinted-panel-portrait/SocialProofTintedPanelPortrait.tsx +130 -0
- package/registry/blocks/social-proof-tinted-panel-portrait/index.ts +7 -0
- package/registry/blocks/social-proof-tweet-wall/SocialProofTweetWall.tsx +179 -0
- package/registry/blocks/social-proof-tweet-wall/index.ts +7 -0
- package/registry/blocks/social-proof-vertical-column-wall/SocialProofVerticalColumnWall.tsx +220 -0
- package/registry/blocks/social-proof-vertical-column-wall/index.ts +7 -0
- package/registry/blocks/social-proof-video-story-cards/SocialProofVideoStoryCards.tsx +177 -0
- package/registry/blocks/social-proof-video-story-cards/index.ts +7 -0
- package/registry/blocks/social-proof-workplace-portrait-stories/SocialProofWorkplacePortraitStories.tsx +320 -0
- package/registry/blocks/social-proof-workplace-portrait-stories/index.ts +7 -0
- package/registry/blocks/team/index.ts +21 -0
- package/registry/blocks/team/team-classes.test.ts +35 -0
- package/registry/blocks/team/team.tsx +315 -0
- package/registry/blocks/team-annotated-portrait-lineup/TeamAnnotatedPortraitLineup.tsx +310 -0
- package/registry/blocks/team-annotated-portrait-lineup/index.ts +8 -0
- package/registry/blocks/team-annotated-portrait-lineup/team-annotated-portrait-lineup.test.tsx +71 -0
- package/registry/blocks/team-compact-directory-rows/TeamCompactDirectoryRows.tsx +190 -0
- package/registry/blocks/team-compact-directory-rows/compact-directory-rows.test.tsx +40 -0
- package/registry/blocks/team-compact-directory-rows/index.ts +7 -0
- package/registry/blocks/team-department-tabs-directory/TeamDepartmentTabsDirectory.tsx +414 -0
- package/registry/blocks/team-department-tabs-directory/department-tabs-directory.test.tsx +87 -0
- package/registry/blocks/team-department-tabs-directory/index.ts +10 -0
- package/registry/blocks/team-founder-spotlight/TeamFounderSpotlight.tsx +176 -0
- package/registry/blocks/team-founder-spotlight/index.ts +8 -0
- package/registry/blocks/team-founder-spotlight/team-founder-spotlight.test.tsx +70 -0
- package/registry/blocks/team-grid-backdrop-roster/TeamGridBackdropRoster.tsx +234 -0
- package/registry/blocks/team-grid-backdrop-roster/grid-backdrop-roster.test.tsx +72 -0
- package/registry/blocks/team-grid-backdrop-roster/index.ts +8 -0
- package/registry/blocks/team-hairline-grid/TeamHairlineGrid.tsx +190 -0
- package/registry/blocks/team-hairline-grid/hairline-grid.test.tsx +49 -0
- package/registry/blocks/team-hairline-grid/index.ts +1 -0
- package/registry/blocks/team-leadership-grid/TeamLeadershipGrid.tsx +183 -0
- package/registry/blocks/team-leadership-grid/index.ts +7 -0
- package/registry/blocks/team-leadership-grid/team-leadership-grid.test.tsx +38 -0
- package/registry/blocks/team-member-carousel/TeamMemberCarousel.tsx +178 -0
- package/registry/blocks/team-member-carousel/index.ts +7 -0
- package/registry/blocks/team-member-carousel/team-member-carousel.test.tsx +58 -0
- package/registry/blocks/team-member-table/TeamMemberTable.tsx +184 -0
- package/registry/blocks/team-member-table/index.ts +7 -0
- package/registry/blocks/team-member-table/member-table.test.tsx +43 -0
- package/registry/blocks/team-meta-profile-cards/TeamMetaProfileCards.tsx +155 -0
- package/registry/blocks/team-meta-profile-cards/index.ts +7 -0
- package/registry/blocks/team-meta-profile-cards/team-meta-profile-cards.test.tsx +29 -0
- package/registry/blocks/team-overlay-portrait-cards/TeamOverlayPortraitCards.tsx +145 -0
- package/registry/blocks/team-overlay-portrait-cards/index.ts +7 -0
- package/registry/blocks/team-overlay-portrait-cards/team-overlay-portrait-cards.test.tsx +49 -0
- package/registry/blocks/team-portrait-wall/TeamPortraitWall.tsx +131 -0
- package/registry/blocks/team-portrait-wall/index.ts +1 -0
- package/registry/blocks/team-portrait-wall/portrait-wall.test.tsx +45 -0
- package/registry/blocks/team-split-intro-member-rail/TeamSplitIntroMemberRail.tsx +203 -0
- package/registry/blocks/team-split-intro-member-rail/index.ts +7 -0
- package/registry/blocks/team-split-intro-member-rail/split-intro-member-rail.test.tsx +52 -0
- package/registry/blocks/team-we-re-hiring-cta/TeamWeReHiringCta.tsx +192 -0
- package/registry/blocks/team-we-re-hiring-cta/index.ts +7 -0
- package/registry/blocks/team-we-re-hiring-cta/we-re-hiring-cta.test.tsx +44 -0
- package/registry/blocks/video-call/index.ts +53 -0
- package/registry/blocks/video-call/video-call-around.test.tsx +427 -0
- package/registry/blocks/video-call/video-call-before.test.tsx +438 -0
- package/registry/blocks/video-call/video-call-hero.test.tsx +236 -0
- package/registry/blocks/video-call/video-call-stages.test.tsx +477 -0
- package/registry/blocks/video-call/video-call.test.tsx +794 -0
- package/registry/blocks/video-call/video-call.tsx +1282 -0
- package/registry/blocks/video-call-ai-meeting-recap/VideoCallAiMeetingRecap.tsx +466 -0
- package/registry/blocks/video-call-ai-meeting-recap/index.ts +9 -0
- package/registry/blocks/video-call-call-controls-dock/VideoCallCallControlsDock.tsx +211 -0
- package/registry/blocks/video-call-call-controls-dock/index.ts +6 -0
- package/registry/blocks/video-call-call-ended-summary/VideoCallCallEndedSummary.tsx +464 -0
- package/registry/blocks/video-call-call-ended-summary/index.ts +10 -0
- package/registry/blocks/video-call-call-with-side-panel/VideoCallCallWithSidePanel.tsx +357 -0
- package/registry/blocks/video-call-call-with-side-panel/index.ts +6 -0
- package/registry/blocks/video-call-captions-reactions/VideoCallCaptionsReactions.tsx +467 -0
- package/registry/blocks/video-call-captions-reactions/index.ts +10 -0
- package/registry/blocks/video-call-grid-gallery-call/VideoCallGridGalleryCall.tsx +312 -0
- package/registry/blocks/video-call-grid-gallery-call/index.ts +6 -0
- package/registry/blocks/video-call-hero-call-mockup/VideoCallHeroCallMockup.tsx +349 -0
- package/registry/blocks/video-call-hero-call-mockup/index.ts +7 -0
- package/registry/blocks/video-call-incoming-call/VideoCallIncomingCall.tsx +336 -0
- package/registry/blocks/video-call-incoming-call/index.ts +7 -0
- package/registry/blocks/video-call-join-link-dial-in/VideoCallJoinLinkDialIn.tsx +409 -0
- package/registry/blocks/video-call-join-link-dial-in/index.ts +9 -0
- package/registry/blocks/video-call-pre-join-lobby/VideoCallPreJoinLobby.tsx +345 -0
- package/registry/blocks/video-call-pre-join-lobby/index.ts +7 -0
- package/registry/blocks/video-call-screen-share-stage/VideoCallScreenShareStage.tsx +379 -0
- package/registry/blocks/video-call-screen-share-stage/index.ts +7 -0
- package/registry/blocks/video-call-speaker-filmstrip/VideoCallSpeakerFilmstrip.tsx +303 -0
- package/registry/blocks/video-call-speaker-filmstrip/index.ts +6 -0
- package/registry/blocks/video-call-upcoming-meetings/VideoCallUpcomingMeetings.tsx +349 -0
- package/registry/blocks/video-call-upcoming-meetings/index.ts +7 -0
- package/registry/blocks/video-call-waiting-room-knock/VideoCallWaitingRoomKnock.tsx +412 -0
- package/registry/blocks/video-call-waiting-room-knock/index.ts +7 -0
- package/registry/text-props-undefined.test.tsx +3 -26
- package/registry/ui/accordion/accordion.test.tsx +320 -0
- package/registry/ui/accordion/accordion.tsx +353 -0
- package/registry/ui/accordion/index.ts +15 -0
- package/registry/ui/alert/alert.test.tsx +325 -0
- package/registry/ui/alert/alert.tsx +384 -0
- package/registry/ui/alert/index.ts +10 -0
- package/registry/ui/alert-dialog/alert-dialog.test.tsx +396 -0
- package/registry/ui/alert-dialog/alert-dialog.tsx +423 -0
- package/registry/ui/alert-dialog/index.ts +21 -0
- package/registry/ui/avatar/avatar.test.tsx +2 -2
- package/registry/ui/avatar/avatar.tsx +3 -7
- package/registry/ui/breadcrumb/breadcrumb.test.tsx +305 -0
- package/registry/ui/breadcrumb/breadcrumb.tsx +205 -0
- package/registry/ui/breadcrumb/index.ts +11 -0
- package/registry/ui/button/button.test.tsx +353 -40
- package/registry/ui/button/button.tsx +304 -30
- package/registry/ui/calendar/calendar.test.tsx +192 -0
- package/registry/ui/calendar/calendar.tsx +405 -0
- package/registry/ui/calendar/index.ts +1 -0
- package/registry/ui/carousel/carousel.test.tsx +720 -0
- package/registry/ui/carousel/carousel.tsx +554 -0
- package/registry/ui/carousel/index.ts +11 -0
- package/registry/ui/checkbox/checkbox.test.tsx +318 -2
- package/registry/ui/checkbox/checkbox.tsx +253 -67
- package/registry/ui/checkbox/index.ts +1 -1
- package/registry/ui/content-carousel/content-carousel.test.tsx +303 -0
- package/registry/ui/content-carousel/content-carousel.tsx +180 -0
- package/registry/ui/content-carousel/index.ts +8 -0
- package/registry/ui/date-picker/date-picker.test.tsx +216 -0
- package/registry/ui/date-picker/date-picker.tsx +461 -0
- package/registry/ui/date-picker/index.ts +8 -0
- package/registry/ui/dialog/dialog.test.tsx +438 -0
- package/registry/ui/dialog/dialog.tsx +533 -0
- package/registry/ui/dialog/index.ts +20 -0
- package/registry/ui/dropdown-menu/dropdown-menu.test.tsx +502 -0
- package/registry/ui/dropdown-menu/dropdown-menu.tsx +627 -0
- package/registry/ui/dropdown-menu/index.ts +32 -0
- package/registry/ui/fasla-logo/fasla-logo.tsx +101 -0
- package/registry/ui/fasla-logo/index.ts +1 -0
- package/registry/ui/input/index.ts +10 -1
- package/registry/ui/input/input.test.tsx +251 -44
- package/registry/ui/input/input.tsx +311 -40
- package/registry/ui/input-number/index.ts +1 -0
- package/registry/ui/input-number/input-number.test.tsx +302 -0
- package/registry/ui/input-number/input-number.tsx +398 -0
- package/registry/ui/input-otp/index.ts +7 -0
- package/registry/ui/input-otp/input-otp.test.tsx +299 -0
- package/registry/ui/input-otp/input-otp.tsx +279 -0
- package/registry/ui/pagination/index.ts +12 -0
- package/registry/ui/pagination/pagination.test.tsx +330 -0
- package/registry/ui/pagination/pagination.tsx +336 -0
- package/registry/ui/progress/index.ts +8 -0
- package/registry/ui/progress/progress.test.tsx +168 -0
- package/registry/ui/progress/progress.tsx +165 -0
- package/registry/ui/select/index.ts +12 -1
- package/registry/ui/select/select.test.tsx +505 -0
- package/registry/ui/select/select.tsx +658 -56
- package/registry/ui/sheet/index.ts +19 -0
- package/registry/ui/sheet/sheet.test.tsx +411 -0
- package/registry/ui/sheet/sheet.tsx +496 -0
- package/registry/{blocks → ui}/sidebar/index.ts +10 -5
- package/registry/ui/sidebar/sidebar.test.tsx +224 -0
- package/registry/ui/sidebar/sidebar.tsx +754 -0
- package/registry/ui/slider/index.ts +8 -0
- package/registry/ui/slider/slider.test.tsx +231 -0
- package/registry/ui/slider/slider.tsx +319 -0
- package/registry/ui/social-icons/index.ts +1 -0
- package/registry/ui/social-icons/social-icons.tsx +284 -0
- package/registry/ui/steps/index.ts +16 -0
- package/registry/ui/steps/steps.test.tsx +435 -0
- package/registry/ui/steps/steps.tsx +571 -0
- package/registry/ui/switch/switch.tsx +3 -2
- package/registry/ui/tabs/index.ts +4 -0
- package/registry/ui/tabs/tabs.test.tsx +576 -0
- package/registry/ui/tabs/tabs.tsx +324 -112
- package/registry/ui/textarea/index.ts +1 -1
- package/registry/ui/textarea/textarea.test.tsx +294 -0
- package/registry/ui/textarea/textarea.tsx +329 -56
- package/registry/ui/tooltip/index.ts +14 -0
- package/registry/ui/tooltip/tooltip.test.tsx +301 -0
- package/registry/ui/tooltip/tooltip.tsx +409 -0
- package/registry.json +9703 -140
- package/tailwind-preset.ts +2 -2
- package/registry/blocks/navbar/Navbar.test.tsx +0 -12
- package/registry/blocks/navbar/Navbar.tsx +0 -175
- package/registry/blocks/sidebar/Sidebar.test.tsx +0 -39
- package/registry/blocks/sidebar/Sidebar.tsx +0 -212
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import * as React from "react"
|
|
4
|
+
import { ArrowRight, ShieldAlert } from "lucide-react"
|
|
5
|
+
import { cn } from "../../../src/lib/utils"
|
|
6
|
+
import { buttonVariants } from "../../ui/button/button"
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
* Figma: `Authentications` (42586:4669), Type=Password Changed.
|
|
10
|
+
*
|
|
11
|
+
* The screen after a reset: Figma's Security On illustration, the heading, a
|
|
12
|
+
* summary of the change (account, when and where, other sessions), Continue
|
|
13
|
+
* to sign in, and a quiet link for someone who did not ask for the change.
|
|
14
|
+
*
|
|
15
|
+
* Mobile first: the base classes are Figma's Mobile (360), `md:` its Tablet
|
|
16
|
+
* (768) and `lg:` its Desktop (1440). The column keeps 416px from Tablet up
|
|
17
|
+
* and fills the width on a phone, where the illustration and the heading step
|
|
18
|
+
* down. Direction is the page's `dir`; the summary's labels and values swap
|
|
19
|
+
* sides on their own and the arrow mirrors. The illustration never mirrors.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
export interface AuthPasswordChangedLink {
|
|
23
|
+
label: React.ReactNode
|
|
24
|
+
href: string
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface AuthPasswordChangedRow {
|
|
28
|
+
label: React.ReactNode
|
|
29
|
+
value: React.ReactNode
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface AuthPasswordChangedCopy {
|
|
33
|
+
/** The page's heading, an `h1`. */
|
|
34
|
+
heading: React.ReactNode
|
|
35
|
+
/** The line under the heading. Hidden when empty. */
|
|
36
|
+
description: React.ReactNode
|
|
37
|
+
/** The summary card's rows: a label at the start, its value at the end. The card is hidden when empty. */
|
|
38
|
+
summary: AuthPasswordChangedRow[]
|
|
39
|
+
/** The solid button, on to sign in. */
|
|
40
|
+
continueAction: AuthPasswordChangedLink
|
|
41
|
+
/** The quiet link under the button, for a change nobody asked for. Hidden when null. */
|
|
42
|
+
secureLink: AuthPasswordChangedLink | null
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** Figma's copy, English and Arabic. */
|
|
46
|
+
const COPY: Record<"en" | "ar", AuthPasswordChangedCopy> = {
|
|
47
|
+
en: {
|
|
48
|
+
heading: "Your password is updated",
|
|
49
|
+
description: "You can now sign in to Fasla with your new password.",
|
|
50
|
+
summary: [
|
|
51
|
+
{ label: "Account", value: "alex@northwind.co" },
|
|
52
|
+
{ label: "Changed", value: "Just now, from Amman, JO" },
|
|
53
|
+
{ label: "Other sessions", value: "3 devices signed out" },
|
|
54
|
+
],
|
|
55
|
+
continueAction: { label: "Continue to sign in", href: "#sign-in" },
|
|
56
|
+
secureLink: { label: "Did not request this? Secure your account now.", href: "#secure-account" },
|
|
57
|
+
},
|
|
58
|
+
ar: {
|
|
59
|
+
heading: "تم تحديث كلمة مرورك",
|
|
60
|
+
description: "يمكنك الآن تسجيل الدخول إلى فاصلة بكلمة مرورك الجديدة.",
|
|
61
|
+
summary: [
|
|
62
|
+
{ label: "الحساب", value: <bdi dir="ltr">alex@northwind.co</bdi> },
|
|
63
|
+
{ label: "وقت التغيير", value: "الآن، من عمّان، الأردن" },
|
|
64
|
+
{
|
|
65
|
+
label: "الجلسات الأخرى",
|
|
66
|
+
value: (
|
|
67
|
+
<>
|
|
68
|
+
تم تسجيل الخروج من <bdi dir="ltr">3</bdi> أجهزة
|
|
69
|
+
</>
|
|
70
|
+
),
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
continueAction: { label: "المتابعة إلى تسجيل الدخول", href: "#sign-in" },
|
|
74
|
+
secureLink: { label: "لم تطلب ذلك؟ أمّن حسابك الآن.", href: "#secure-account" },
|
|
75
|
+
},
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export interface AuthPasswordChangedProps extends Omit<React.HTMLAttributes<HTMLElement>, "title">, Partial<AuthPasswordChangedCopy> {
|
|
79
|
+
/** Which language the default copy is in. The page's `dir` sets the direction. */
|
|
80
|
+
locale?: "en" | "ar"
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const LINK =
|
|
84
|
+
"rounded-sm underline-offset-4 hover:underline focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring"
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Figma's celebration, once: the shield springs up from 0.7 and the check
|
|
88
|
+
* comes in over 400ms; 150ms later the heading and text fade in and rise 8px;
|
|
89
|
+
* then the summary rows fade in 60ms apart. Skipped under
|
|
90
|
+
* prefers-reduced-motion.
|
|
91
|
+
*/
|
|
92
|
+
function useCelebration(ref: React.RefObject<HTMLElement | null>) {
|
|
93
|
+
React.useLayoutEffect(() => {
|
|
94
|
+
const root = ref.current
|
|
95
|
+
if (!root || typeof root.animate !== "function") return
|
|
96
|
+
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return
|
|
97
|
+
const ease = "cubic-bezier(0, 0, 0.2, 1)"
|
|
98
|
+
// Stiffness 220, damping 18: a short overshoot, then rest.
|
|
99
|
+
const spring = "cubic-bezier(0.34, 1.56, 0.64, 1)"
|
|
100
|
+
const animations: Animation[] = []
|
|
101
|
+
const shield = root.querySelector<SVGElement>("[data-shield]")
|
|
102
|
+
const check = root.querySelector<SVGElement>("[data-check]")
|
|
103
|
+
if (shield) {
|
|
104
|
+
animations.push(
|
|
105
|
+
shield.animate([{ opacity: 0, transform: "scale(0.7)" }, { opacity: 1, transform: "none" }], {
|
|
106
|
+
duration: 500,
|
|
107
|
+
easing: spring,
|
|
108
|
+
fill: "backwards",
|
|
109
|
+
})
|
|
110
|
+
)
|
|
111
|
+
}
|
|
112
|
+
if (check) {
|
|
113
|
+
animations.push(
|
|
114
|
+
check.animate([{ opacity: 0, transform: "scale(0.6)" }, { opacity: 1, transform: "none" }], {
|
|
115
|
+
duration: 400,
|
|
116
|
+
delay: 100,
|
|
117
|
+
easing: ease,
|
|
118
|
+
fill: "backwards",
|
|
119
|
+
})
|
|
120
|
+
)
|
|
121
|
+
}
|
|
122
|
+
root.querySelectorAll<HTMLElement>("[data-entrance]").forEach((part) => {
|
|
123
|
+
animations.push(
|
|
124
|
+
part.animate([{ opacity: 0, transform: "translateY(8px)" }, { opacity: 1, transform: "none" }], {
|
|
125
|
+
duration: 320,
|
|
126
|
+
delay: 150,
|
|
127
|
+
easing: ease,
|
|
128
|
+
fill: "backwards",
|
|
129
|
+
})
|
|
130
|
+
)
|
|
131
|
+
})
|
|
132
|
+
root.querySelectorAll<HTMLElement>("[data-row]").forEach((row, index) => {
|
|
133
|
+
animations.push(row.animate([{ opacity: 0 }, { opacity: 1 }], { duration: 240, delay: 300 + index * 60, easing: ease, fill: "backwards" }))
|
|
134
|
+
})
|
|
135
|
+
return () => animations.forEach((animation) => animation.cancel())
|
|
136
|
+
}, [ref])
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** Figma's Security On: a screen with a checked shield and a switch turned on, in theme tokens. */
|
|
140
|
+
function SecurityOn({ className }: { className?: string }) {
|
|
141
|
+
// The shield's paths scale from their own centre.
|
|
142
|
+
const part = "[transform-box:fill-box] [transform-origin:center]"
|
|
143
|
+
return (
|
|
144
|
+
<svg viewBox="0 0 280 194" fill="none" aria-hidden="true" className={className}>
|
|
145
|
+
<path
|
|
146
|
+
className="fill-foreground"
|
|
147
|
+
d="M275.232 -0.000976562H4.76738C3.49245 0.0114166 2.2745 0.528997 1.38069 1.43823C0.486892 2.34746 -0.0097841 3.5741 -0.000356481 4.84905V188.602C-0.00773234 189.876 0.48993 191.1 1.38358 192.007C2.27723 192.914 3.49402 193.43 4.76738 193.442H275.232C276.505 193.43 277.722 192.914 278.615 192.007C279.509 191.1 280.007 189.876 279.999 188.602V4.84905C280.009 3.57422 279.512 2.34769 278.618 1.43848C277.725 0.529263 276.507 0.0116009 275.232 -0.000976562H275.232Z"
|
|
148
|
+
/>
|
|
149
|
+
<path
|
|
150
|
+
className="fill-background"
|
|
151
|
+
d="M267.414 1.10645H5.22946C4.00266 1.10876 2.8269 1.59769 1.96018 2.46592C1.09346 3.33416 0.606568 4.51077 0.606384 5.73757V181.207C0.608145 182.432 1.09579 183.607 1.9624 184.474C2.82902 185.34 4.00389 185.828 5.22946 185.83H267.414C268.639 185.828 269.814 185.34 270.681 184.474C271.547 183.607 272.035 182.432 272.037 181.207V5.73793C272.037 4.51152 271.55 3.33522 270.684 2.46703C269.818 1.59885 268.643 1.10967 267.416 1.10679L267.414 1.10645Z"
|
|
152
|
+
/>
|
|
153
|
+
<g data-shield="" className={part}>
|
|
154
|
+
<path
|
|
155
|
+
className="fill-foreground"
|
|
156
|
+
d="M140.257 125.921C138.793 125.917 137.335 125.728 135.918 125.361L135.638 125.283L135.378 125.154C126.011 120.457 118.109 114.254 111.89 106.715C106.743 100.439 102.729 93.3125 100.031 85.6567C96.8038 76.4908 95.2512 66.8193 95.4474 57.1039C95.4512 56.9001 95.4547 56.7425 95.4547 56.6339C95.4547 51.9114 98.0762 47.7674 102.133 46.0769C105.238 44.7831 133.43 33.2034 135.467 32.3666C139.304 30.4446 143.396 32.049 144.051 32.3295C145.52 32.9302 171.582 43.5899 177.214 46.2716C183.018 49.0356 184.567 54.0009 184.567 56.4984C184.567 67.8081 182.608 78.3781 178.745 87.9143C175.625 95.6334 171.203 102.76 165.672 108.983C155 120.992 144.326 125.249 144.223 125.287C142.947 125.726 141.605 125.94 140.255 125.921L140.257 125.921ZM137.746 119.703C138.671 119.911 140.802 120.222 142.191 119.715C143.955 119.072 152.889 114.439 161.239 105.043C172.774 92.0607 178.626 75.743 178.636 56.5404C178.615 56.1513 178.339 53.3768 174.664 51.627C169.142 48.9971 142.053 37.9203 141.78 37.8089L141.705 37.777C141.137 37.5392 139.33 37.0381 138.085 37.6905L137.836 37.8068C137.534 37.9308 107.607 50.2222 104.416 51.5521C102.183 52.4823 101.388 54.7868 101.388 56.6336C101.388 56.7684 101.384 56.9649 101.379 57.2185C101.124 70.3578 104.164 102.689 137.746 119.703V119.703Z"
|
|
157
|
+
/>
|
|
158
|
+
<path
|
|
159
|
+
className="fill-success"
|
|
160
|
+
d="M136.636 34.9815C136.636 34.9815 106.438 47.3847 103.203 48.7331C99.9667 50.0815 98.3494 53.3166 98.3494 56.5524C98.3494 59.7882 95.9226 102.007 136.636 122.42C136.636 122.42 140.332 123.443 143.135 122.42C145.938 121.398 181.529 104.14 181.529 56.4172C181.529 56.4172 181.529 51.564 175.867 48.8676C170.205 46.1711 142.829 34.9819 142.829 34.9819C142.829 34.9819 139.468 33.498 136.636 34.9815Z"
|
|
161
|
+
/>
|
|
162
|
+
<path className="fill-foreground" opacity="0.1" d="M139.944 44.7686V110.932C139.944 110.932 109.477 96.2664 109.746 57.7097L139.944 44.7686Z" />
|
|
163
|
+
<path
|
|
164
|
+
data-check=""
|
|
165
|
+
className={cn("fill-background", part)}
|
|
166
|
+
d="M136.017 94.5735C135.074 94.5753 134.156 94.2703 133.401 93.7046L133.354 93.6696L123.502 86.127C123.031 85.7829 122.633 85.3482 122.333 84.8483C122.032 84.3484 121.834 83.7934 121.751 83.2159C121.667 82.6385 121.7 82.0502 121.848 81.4857C121.995 80.9211 122.254 80.3917 122.609 79.9286C122.963 79.4654 123.407 79.0779 123.914 78.7887C124.421 78.4996 124.98 78.3146 125.559 78.2447C126.139 78.1748 126.726 78.2214 127.287 78.3817C127.848 78.5421 128.371 78.8129 128.826 79.1783L135.207 84.0714L150.287 64.4055C150.993 63.4846 152.037 62.882 153.187 62.7301C154.338 62.5781 155.502 62.8894 156.423 63.5954L156.329 63.7229L156.426 63.5975C157.346 64.3047 157.948 65.3478 158.1 66.4982C158.251 67.6486 157.941 68.8123 157.236 69.734L139.499 92.8658C139.088 93.3989 138.561 93.8302 137.957 94.1265C137.353 94.4227 136.689 94.5758 136.017 94.5739L136.017 94.5735Z"
|
|
167
|
+
/>
|
|
168
|
+
</g>
|
|
169
|
+
<path className="fill-border" d="M145.954 146.047H131.944C129.623 146.047 127.742 147.929 127.742 150.25C127.742 152.571 129.623 154.452 131.944 154.452H145.954C148.275 154.452 150.157 152.571 150.157 150.25C150.157 147.929 148.275 146.047 145.954 146.047Z" />
|
|
170
|
+
<path className="fill-success" d="M147.53 155.503C150.335 155.503 152.608 153.23 152.608 150.425C152.608 147.62 150.335 145.347 147.53 145.347C144.725 145.347 142.451 147.62 142.451 150.425C142.451 153.23 144.725 155.503 147.53 155.503Z" />
|
|
171
|
+
</svg>
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function AuthPasswordChanged({
|
|
176
|
+
locale = "en",
|
|
177
|
+
heading,
|
|
178
|
+
description,
|
|
179
|
+
summary,
|
|
180
|
+
continueAction,
|
|
181
|
+
secureLink,
|
|
182
|
+
className,
|
|
183
|
+
...props
|
|
184
|
+
}: AuthPasswordChangedProps) {
|
|
185
|
+
const copy = COPY[locale]
|
|
186
|
+
const headingId = React.useId()
|
|
187
|
+
const columnRef = React.useRef<HTMLDivElement>(null)
|
|
188
|
+
const subline = description ?? copy.description
|
|
189
|
+
const rows = summary ?? copy.summary
|
|
190
|
+
const action = continueAction ?? copy.continueAction
|
|
191
|
+
const secure = secureLink === undefined ? copy.secureLink : secureLink
|
|
192
|
+
useCelebration(columnRef)
|
|
193
|
+
|
|
194
|
+
return (
|
|
195
|
+
<section aria-labelledby={headingId} className={cn("flex justify-center bg-background p-8 md:p-16 lg:p-24", className)} {...props}>
|
|
196
|
+
<div ref={columnRef} className="flex w-full flex-col items-center gap-8 md:max-w-[416px]">
|
|
197
|
+
<div className="flex h-40 w-56 items-center justify-center md:h-[200px] md:w-[280px]">
|
|
198
|
+
<SecurityOn className="h-auto w-full" />
|
|
199
|
+
</div>
|
|
200
|
+
|
|
201
|
+
<div data-entrance="" className="flex w-full flex-col items-center gap-2 text-center">
|
|
202
|
+
<h1 id={headingId} className="text-2xl font-semibold text-foreground md:text-3xl">
|
|
203
|
+
{heading ?? copy.heading}
|
|
204
|
+
</h1>
|
|
205
|
+
{subline ? <p className="text-sm text-muted-foreground">{subline}</p> : null}
|
|
206
|
+
</div>
|
|
207
|
+
|
|
208
|
+
{rows.length > 0 ? (
|
|
209
|
+
<dl className="flex w-full flex-col gap-3 rounded-lg border border-border bg-card p-5 text-card-foreground">
|
|
210
|
+
{rows.map((row, index) => (
|
|
211
|
+
<div key={index} data-row="" className="flex items-center justify-between gap-3 text-xs">
|
|
212
|
+
<dt className="text-muted-foreground">{row.label}</dt>
|
|
213
|
+
<dd className="min-w-0 text-end font-medium text-foreground">{row.value}</dd>
|
|
214
|
+
</div>
|
|
215
|
+
))}
|
|
216
|
+
</dl>
|
|
217
|
+
) : null}
|
|
218
|
+
|
|
219
|
+
<a href={action.href} className={buttonVariants({ className: "w-full" })}>
|
|
220
|
+
{action.label}
|
|
221
|
+
<ArrowRight size={16} strokeWidth={1.5} absoluteStrokeWidth aria-hidden="true" className="rtl:-scale-x-100" />
|
|
222
|
+
</a>
|
|
223
|
+
|
|
224
|
+
{secure ? (
|
|
225
|
+
<a href={secure.href} className={cn("flex items-start gap-2 text-xs text-muted-foreground hover:text-foreground", LINK)}>
|
|
226
|
+
<ShieldAlert size={14} strokeWidth={1.5} absoluteStrokeWidth aria-hidden="true" className="size-3.5 shrink-0" />
|
|
227
|
+
<span>{secure.label}</span>
|
|
228
|
+
</a>
|
|
229
|
+
) : null}
|
|
230
|
+
</div>
|
|
231
|
+
</section>
|
|
232
|
+
)
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* The default copy, English and Arabic, as `locale` picks it. Spread it to
|
|
237
|
+
* change a few strings and keep the rest.
|
|
238
|
+
*/
|
|
239
|
+
export const authPasswordChangedCopy = COPY
|
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import * as React from "react"
|
|
4
|
+
import { ArrowRight, Mail, Phone, Shield, Smartphone } from "lucide-react"
|
|
5
|
+
import { cn } from "../../../src/lib/utils"
|
|
6
|
+
import { Button } from "../../ui/button/button"
|
|
7
|
+
import { Checkbox } from "../../ui/checkbox/checkbox"
|
|
8
|
+
import { Input } from "../../ui/input/input"
|
|
9
|
+
import { Select } from "../../ui/select/select"
|
|
10
|
+
import { SocialIcon } from "../../ui/social-icons/social-icons"
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
* Figma: `Authentications` (42586:4669), Type=Phone Number Sign In.
|
|
14
|
+
*
|
|
15
|
+
* Sign in with a text message: a phone tile and heading, the country and the
|
|
16
|
+
* number side by side, Send verification code, a remember-this-device box,
|
|
17
|
+
* then email and WhatsApp as the other ways to get a code, over a privacy
|
|
18
|
+
* note.
|
|
19
|
+
*
|
|
20
|
+
* The number groups itself as it is typed, in the selected country's pattern
|
|
21
|
+
* (7 9012 3456 for Jordan), without moving the caret, and Send stays off
|
|
22
|
+
* until the number is complete. The number and the dial code stay
|
|
23
|
+
* left-to-right in Arabic, as dial strings must.
|
|
24
|
+
*
|
|
25
|
+
* Mobile first: the base classes are Figma's Mobile (360), `md:` its Tablet
|
|
26
|
+
* (768) and `lg:` its Desktop (1440). The card keeps 448px from Tablet up and
|
|
27
|
+
* fills the width on a phone, where the country sits over the number.
|
|
28
|
+
* Direction is the page's `dir`; every side is a logical one.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
export interface AuthPhoneNumberSignInCountry {
|
|
32
|
+
/** The ISO code, shown with the dial code: "JO". */
|
|
33
|
+
code: string
|
|
34
|
+
/** The dial code, with its plus: "+962". */
|
|
35
|
+
dialCode: string
|
|
36
|
+
/** How the national number groups, in digits: Jordan's 7 9012 3456 is [1, 4, 4]. */
|
|
37
|
+
groups: number[]
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface AuthPhoneNumberSignInValues {
|
|
41
|
+
country: string
|
|
42
|
+
dialCode: string
|
|
43
|
+
/** The national number, digits only. */
|
|
44
|
+
phone: string
|
|
45
|
+
remember: boolean
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type AuthPhoneNumberSignInAlternative = "email" | "whatsapp"
|
|
49
|
+
|
|
50
|
+
export interface AuthPhoneNumberSignInCopy {
|
|
51
|
+
/** The card's heading, an `h1`. */
|
|
52
|
+
heading: React.ReactNode
|
|
53
|
+
/** The line under the heading. Hidden when empty. */
|
|
54
|
+
description: React.ReactNode
|
|
55
|
+
countryLabel: React.ReactNode
|
|
56
|
+
phoneLabel: React.ReactNode
|
|
57
|
+
submitLabel: React.ReactNode
|
|
58
|
+
/** Read out while `onSubmit` runs. */
|
|
59
|
+
pendingLabel: string
|
|
60
|
+
/** Shown under the button when `onSubmit` rejects. */
|
|
61
|
+
error: React.ReactNode
|
|
62
|
+
rememberLabel: string
|
|
63
|
+
/** The word between the two rules over the other ways in. */
|
|
64
|
+
dividerLabel: React.ReactNode
|
|
65
|
+
emailLabel: React.ReactNode
|
|
66
|
+
whatsappLabel: React.ReactNode
|
|
67
|
+
/** The note at the foot of the card, after a shield. Hidden when empty. */
|
|
68
|
+
note: React.ReactNode
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** The countries the select offers, Jordan first as in Figma. */
|
|
72
|
+
const COUNTRIES: AuthPhoneNumberSignInCountry[] = [
|
|
73
|
+
{ code: "JO", dialCode: "+962", groups: [1, 4, 4] },
|
|
74
|
+
{ code: "SA", dialCode: "+966", groups: [2, 3, 4] },
|
|
75
|
+
{ code: "AE", dialCode: "+971", groups: [2, 3, 4] },
|
|
76
|
+
{ code: "KW", dialCode: "+965", groups: [4, 4] },
|
|
77
|
+
{ code: "QA", dialCode: "+974", groups: [4, 4] },
|
|
78
|
+
{ code: "BH", dialCode: "+973", groups: [4, 4] },
|
|
79
|
+
{ code: "OM", dialCode: "+968", groups: [4, 4] },
|
|
80
|
+
{ code: "EG", dialCode: "+20", groups: [3, 3, 4] },
|
|
81
|
+
{ code: "GB", dialCode: "+44", groups: [4, 6] },
|
|
82
|
+
{ code: "US", dialCode: "+1", groups: [3, 3, 4] },
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
/** Figma's copy, English and Arabic. */
|
|
86
|
+
const COPY: Record<"en" | "ar", AuthPhoneNumberSignInCopy> = {
|
|
87
|
+
en: {
|
|
88
|
+
heading: "Sign in with your phone",
|
|
89
|
+
description: "We will text you a 6-digit code. Standard message rates may apply.",
|
|
90
|
+
countryLabel: "Country",
|
|
91
|
+
phoneLabel: "Phone number",
|
|
92
|
+
submitLabel: "Send verification code",
|
|
93
|
+
pendingLabel: "Sending the code",
|
|
94
|
+
error: "We couldn’t send the code. Check the number and try again.",
|
|
95
|
+
rememberLabel: "Remember my device so I don’t need a code next time",
|
|
96
|
+
dividerLabel: "or",
|
|
97
|
+
emailLabel: "Continue with email",
|
|
98
|
+
whatsappLabel: "Get the code on WhatsApp",
|
|
99
|
+
note: "Your number is only used to verify your identity and is never shown to other members.",
|
|
100
|
+
},
|
|
101
|
+
ar: {
|
|
102
|
+
heading: "سجّل الدخول برقم هاتفك",
|
|
103
|
+
description: (
|
|
104
|
+
<>
|
|
105
|
+
سنرسل إليك رمزًا من <bdi dir="ltr">6</bdi> أرقام في رسالة نصية، وقد تُطبَّق رسوم الرسائل المعتادة.
|
|
106
|
+
</>
|
|
107
|
+
),
|
|
108
|
+
countryLabel: "الدولة",
|
|
109
|
+
phoneLabel: "رقم الهاتف",
|
|
110
|
+
submitLabel: "إرسال رمز التحقق",
|
|
111
|
+
pendingLabel: "جارٍ إرسال الرمز",
|
|
112
|
+
error: "تعذّر إرسال الرمز. تحقّق من الرقم ثم حاول مجددًا.",
|
|
113
|
+
rememberLabel: "تذكّر هذا الجهاز كي لا أحتاج إلى رمز في المرة القادمة",
|
|
114
|
+
dividerLabel: "أو",
|
|
115
|
+
emailLabel: "المتابعة بالبريد الإلكتروني",
|
|
116
|
+
whatsappLabel: (
|
|
117
|
+
<>
|
|
118
|
+
استلام الرمز عبر <bdi dir="ltr">WhatsApp</bdi>
|
|
119
|
+
</>
|
|
120
|
+
),
|
|
121
|
+
note: "لا نستخدم رقمك إلا للتحقق من هويتك، ولا يظهر لأي عضو آخر.",
|
|
122
|
+
},
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export interface AuthPhoneNumberSignInProps
|
|
126
|
+
extends Omit<React.HTMLAttributes<HTMLElement>, "title" | "onSubmit">,
|
|
127
|
+
Partial<AuthPhoneNumberSignInCopy> {
|
|
128
|
+
/** Which language the default copy is in. The page's `dir` sets the direction. */
|
|
129
|
+
locale?: "en" | "ar"
|
|
130
|
+
/** The countries the select offers. */
|
|
131
|
+
countries?: AuthPhoneNumberSignInCountry[]
|
|
132
|
+
/**
|
|
133
|
+
* The country chosen on first render, by its code.
|
|
134
|
+
* @default the first country
|
|
135
|
+
*/
|
|
136
|
+
defaultCountry?: string
|
|
137
|
+
/**
|
|
138
|
+
* Runs when Send verification code is pressed with a complete number.
|
|
139
|
+
* While its promise is pending the button shows its spinner and the form
|
|
140
|
+
* is disabled; a rejection shows `error`.
|
|
141
|
+
*/
|
|
142
|
+
onSubmit?: (values: AuthPhoneNumberSignInValues) => Promise<void> | void
|
|
143
|
+
/** Runs when one of the other ways in is pressed. That button shows its spinner while the promise is pending. */
|
|
144
|
+
onAlternativeSelect?: (method: AuthPhoneNumberSignInAlternative) => Promise<void> | void
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Figma's entrance: the card's parts fade in and rise, one after another.
|
|
149
|
+
* Runs once; skipped under prefers-reduced-motion.
|
|
150
|
+
*/
|
|
151
|
+
function useEntrance(ref: React.RefObject<HTMLElement | null>, { rise = 12, duration = 320, stagger = 50 } = {}) {
|
|
152
|
+
React.useLayoutEffect(() => {
|
|
153
|
+
const root = ref.current
|
|
154
|
+
if (!root || typeof root.animate !== "function") return
|
|
155
|
+
if (window.matchMedia("(prefers-reduced-motion: reduce)").matches) return
|
|
156
|
+
const parts = Array.from(root.querySelectorAll<HTMLElement>("[data-entrance]"))
|
|
157
|
+
const animations = parts.map((part, index) =>
|
|
158
|
+
part.animate(
|
|
159
|
+
[{ opacity: 0, transform: `translateY(${rise}px)` }, { opacity: 1, transform: "none" }],
|
|
160
|
+
{ duration, delay: index * stagger, easing: "cubic-bezier(0, 0, 0.2, 1)", fill: "backwards" }
|
|
161
|
+
)
|
|
162
|
+
)
|
|
163
|
+
return () => animations.forEach((animation) => animation.cancel())
|
|
164
|
+
}, [ref, rise, duration, stagger])
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** The digits, grouped by `groups` with spaces; digits past the pattern are dropped. */
|
|
168
|
+
function formatNumber(digits: string, groups: number[]) {
|
|
169
|
+
const parts: string[] = []
|
|
170
|
+
let rest = digits.slice(0, groups.reduce((sum, size) => sum + size, 0))
|
|
171
|
+
for (const size of groups) {
|
|
172
|
+
if (!rest) break
|
|
173
|
+
parts.push(rest.slice(0, size))
|
|
174
|
+
rest = rest.slice(size)
|
|
175
|
+
}
|
|
176
|
+
return parts.join(" ")
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Western digits from any input, Arabic-Indic ones included. */
|
|
180
|
+
const toDigits = (text: string) =>
|
|
181
|
+
text
|
|
182
|
+
.replace(/[٠-٩]/g, (digit) => String(digit.charCodeAt(0) - 0x0660))
|
|
183
|
+
.replace(/[۰-۹]/g, (digit) => String(digit.charCodeAt(0) - 0x06f0))
|
|
184
|
+
.replace(/\D/g, "")
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* The dial string as one left-to-right run, so an Arabic page never shows
|
|
188
|
+
* "962+ JO". Left-to-right marks rather than an isolate, which WebKit ignores
|
|
189
|
+
* in the select's value.
|
|
190
|
+
*/
|
|
191
|
+
const ltrRun = (text: string) => `\u200E${text}\u200E`
|
|
192
|
+
|
|
193
|
+
export function AuthPhoneNumberSignIn({
|
|
194
|
+
locale = "en",
|
|
195
|
+
heading,
|
|
196
|
+
description,
|
|
197
|
+
countryLabel,
|
|
198
|
+
phoneLabel,
|
|
199
|
+
submitLabel,
|
|
200
|
+
pendingLabel,
|
|
201
|
+
error,
|
|
202
|
+
rememberLabel,
|
|
203
|
+
dividerLabel,
|
|
204
|
+
emailLabel,
|
|
205
|
+
whatsappLabel,
|
|
206
|
+
note,
|
|
207
|
+
countries = COUNTRIES,
|
|
208
|
+
defaultCountry,
|
|
209
|
+
onSubmit,
|
|
210
|
+
onAlternativeSelect,
|
|
211
|
+
className,
|
|
212
|
+
...props
|
|
213
|
+
}: AuthPhoneNumberSignInProps) {
|
|
214
|
+
const copy = COPY[locale]
|
|
215
|
+
const headingId = React.useId()
|
|
216
|
+
const cardRef = React.useRef<HTMLDivElement>(null)
|
|
217
|
+
const phoneRef = React.useRef<HTMLInputElement>(null)
|
|
218
|
+
const caret = React.useRef<number | null>(null)
|
|
219
|
+
const [countryCode, setCountryCode] = React.useState(defaultCountry ?? countries[0]?.code ?? "")
|
|
220
|
+
const [digits, setDigits] = React.useState("")
|
|
221
|
+
const [status, setStatus] = React.useState<"idle" | "pending" | "error">("idle")
|
|
222
|
+
const [pendingAlternative, setPendingAlternative] = React.useState<AuthPhoneNumberSignInAlternative | null>(null)
|
|
223
|
+
const country = countries.find((entry) => entry.code === countryCode) ?? countries[0]
|
|
224
|
+
const groups = country?.groups ?? [10]
|
|
225
|
+
const length = groups.reduce((sum, size) => sum + size, 0)
|
|
226
|
+
const formatted = formatNumber(digits, groups)
|
|
227
|
+
const complete = digits.length === length
|
|
228
|
+
const busy = status === "pending" || pendingAlternative !== null
|
|
229
|
+
const subline = description ?? copy.description
|
|
230
|
+
const footnote = note ?? copy.note
|
|
231
|
+
useEntrance(cardRef)
|
|
232
|
+
|
|
233
|
+
// Put the caret back after the same number of digits once the grouping
|
|
234
|
+
// has changed, so typing or deleting mid-number never jumps to the end.
|
|
235
|
+
React.useLayoutEffect(() => {
|
|
236
|
+
const input = phoneRef.current
|
|
237
|
+
if (!input || caret.current === null || document.activeElement !== input) return
|
|
238
|
+
let seen = 0
|
|
239
|
+
let position = formatted.length
|
|
240
|
+
for (let index = 0; index < formatted.length; index++) {
|
|
241
|
+
if (seen === caret.current) {
|
|
242
|
+
position = index
|
|
243
|
+
break
|
|
244
|
+
}
|
|
245
|
+
if (/\d/.test(formatted[index] ?? "")) seen++
|
|
246
|
+
}
|
|
247
|
+
if (caret.current === 0) position = 0
|
|
248
|
+
input.setSelectionRange(position, position)
|
|
249
|
+
caret.current = null
|
|
250
|
+
}, [formatted])
|
|
251
|
+
|
|
252
|
+
const changeNumber = (event: React.ChangeEvent<HTMLInputElement>) => {
|
|
253
|
+
const { value, selectionStart } = event.target
|
|
254
|
+
caret.current = toDigits(value.slice(0, selectionStart ?? value.length)).length
|
|
255
|
+
setDigits(toDigits(value).slice(0, length))
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
const submit = async (event: React.FormEvent<HTMLFormElement>) => {
|
|
259
|
+
event.preventDefault()
|
|
260
|
+
if (!complete || !country || !onSubmit) return
|
|
261
|
+
const data = new FormData(event.currentTarget)
|
|
262
|
+
setStatus("pending")
|
|
263
|
+
try {
|
|
264
|
+
await onSubmit({ country: country.code, dialCode: country.dialCode, phone: digits, remember: data.get("remember") === "on" })
|
|
265
|
+
setStatus("idle")
|
|
266
|
+
} catch {
|
|
267
|
+
setStatus("error")
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
const chooseAlternative = async (method: AuthPhoneNumberSignInAlternative) => {
|
|
272
|
+
if (!onAlternativeSelect) return
|
|
273
|
+
setPendingAlternative(method)
|
|
274
|
+
try {
|
|
275
|
+
await onAlternativeSelect(method)
|
|
276
|
+
} finally {
|
|
277
|
+
setPendingAlternative(null)
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
return (
|
|
282
|
+
<section
|
|
283
|
+
aria-labelledby={headingId}
|
|
284
|
+
className={cn("flex justify-center bg-muted p-8 md:p-16 lg:p-24", className)}
|
|
285
|
+
{...props}
|
|
286
|
+
>
|
|
287
|
+
<div
|
|
288
|
+
ref={cardRef}
|
|
289
|
+
className="flex w-full flex-col items-start gap-7 rounded-xl border border-border bg-card p-8 text-card-foreground shadow-md md:max-w-[448px]"
|
|
290
|
+
>
|
|
291
|
+
<div data-entrance="" className="flex w-full flex-col items-start gap-2">
|
|
292
|
+
<div aria-hidden="true" className="flex size-12 items-center justify-center rounded-md bg-muted text-foreground">
|
|
293
|
+
<Smartphone size={22} strokeWidth={1.5} absoluteStrokeWidth className="size-[22px]" />
|
|
294
|
+
</div>
|
|
295
|
+
<h1 id={headingId} className="text-xl font-semibold text-foreground md:text-2xl">
|
|
296
|
+
{heading ?? copy.heading}
|
|
297
|
+
</h1>
|
|
298
|
+
{subline ? <p className="text-sm text-muted-foreground">{subline}</p> : null}
|
|
299
|
+
</div>
|
|
300
|
+
|
|
301
|
+
<form data-entrance="" onSubmit={submit} className="w-full">
|
|
302
|
+
<fieldset disabled={busy} className="flex w-full min-w-0 flex-col gap-4">
|
|
303
|
+
<div className="flex flex-col gap-2.5 md:flex-row md:items-end">
|
|
304
|
+
<Select
|
|
305
|
+
name="country"
|
|
306
|
+
label={countryLabel ?? copy.countryLabel}
|
|
307
|
+
value={countryCode}
|
|
308
|
+
onValueChange={(value) => {
|
|
309
|
+
if (!value) return
|
|
310
|
+
setCountryCode(value)
|
|
311
|
+
const next = countries.find((entry) => entry.code === value)
|
|
312
|
+
const nextLength = next ? next.groups.reduce((sum, size) => sum + size, 0) : length
|
|
313
|
+
setDigits((current) => current.slice(0, nextLength))
|
|
314
|
+
}}
|
|
315
|
+
items={countries.map((entry) => ({ value: entry.code, label: ltrRun(`${entry.code} ${entry.dialCode}`) }))}
|
|
316
|
+
className="w-full md:w-[132px] md:shrink-0"
|
|
317
|
+
/>
|
|
318
|
+
<Input
|
|
319
|
+
ref={phoneRef}
|
|
320
|
+
type="tel"
|
|
321
|
+
name="phone"
|
|
322
|
+
inputMode="tel"
|
|
323
|
+
autoComplete="tel-national"
|
|
324
|
+
dir="ltr"
|
|
325
|
+
required
|
|
326
|
+
label={phoneLabel ?? copy.phoneLabel}
|
|
327
|
+
placeholder={formatNumber("7901234567890123".slice(0, length), groups)}
|
|
328
|
+
value={formatted}
|
|
329
|
+
onChange={changeNumber}
|
|
330
|
+
startIcon={<Phone size={16} strokeWidth={1.5} absoluteStrokeWidth aria-hidden="true" />}
|
|
331
|
+
className="min-w-0 flex-1 rtl:[&_input]:text-right"
|
|
332
|
+
/>
|
|
333
|
+
</div>
|
|
334
|
+
<Button
|
|
335
|
+
type="submit"
|
|
336
|
+
disabled={!complete}
|
|
337
|
+
loading={status === "pending"}
|
|
338
|
+
loadingLabel={pendingLabel ?? copy.pendingLabel}
|
|
339
|
+
className="w-full transition-opacity duration-150 motion-reduce:transition-none"
|
|
340
|
+
>
|
|
341
|
+
{submitLabel ?? copy.submitLabel}
|
|
342
|
+
<ArrowRight size={16} strokeWidth={1.5} absoluteStrokeWidth aria-hidden="true" className="rtl:-scale-x-100" />
|
|
343
|
+
</Button>
|
|
344
|
+
<Checkbox name="remember" size="sm" label={rememberLabel ?? copy.rememberLabel} />
|
|
345
|
+
<p role="alert" className="text-sm text-destructive empty:hidden">
|
|
346
|
+
{status === "error" ? (error ?? copy.error) : null}
|
|
347
|
+
</p>
|
|
348
|
+
</fieldset>
|
|
349
|
+
</form>
|
|
350
|
+
|
|
351
|
+
<div data-entrance="" className="flex w-full items-center gap-3">
|
|
352
|
+
<div aria-hidden="true" className="h-px flex-1 bg-border" />
|
|
353
|
+
<span className="text-xs font-medium text-muted-foreground">{dividerLabel ?? copy.dividerLabel}</span>
|
|
354
|
+
<div aria-hidden="true" className="h-px flex-1 bg-border" />
|
|
355
|
+
</div>
|
|
356
|
+
|
|
357
|
+
<div data-entrance="" className="flex w-full flex-col gap-2.5">
|
|
358
|
+
<Button
|
|
359
|
+
type="button"
|
|
360
|
+
variant="outline"
|
|
361
|
+
disabled={busy && pendingAlternative !== "email"}
|
|
362
|
+
loading={pendingAlternative === "email"}
|
|
363
|
+
onClick={() => chooseAlternative("email")}
|
|
364
|
+
className="w-full"
|
|
365
|
+
>
|
|
366
|
+
<Mail size={16} strokeWidth={1.5} absoluteStrokeWidth aria-hidden="true" />
|
|
367
|
+
{emailLabel ?? copy.emailLabel}
|
|
368
|
+
</Button>
|
|
369
|
+
<Button
|
|
370
|
+
type="button"
|
|
371
|
+
variant="outline"
|
|
372
|
+
disabled={busy && pendingAlternative !== "whatsapp"}
|
|
373
|
+
loading={pendingAlternative === "whatsapp"}
|
|
374
|
+
onClick={() => chooseAlternative("whatsapp")}
|
|
375
|
+
className="w-full"
|
|
376
|
+
>
|
|
377
|
+
<SocialIcon platform="whatsapp" className="size-4" />
|
|
378
|
+
{whatsappLabel ?? copy.whatsappLabel}
|
|
379
|
+
</Button>
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
{footnote ? (
|
|
383
|
+
<p data-entrance="" className="flex w-full items-start gap-2 text-xs text-muted-foreground">
|
|
384
|
+
<span aria-hidden="true" className="flex h-[1lh] shrink-0 items-center">
|
|
385
|
+
<Shield size={14} strokeWidth={1.5} absoluteStrokeWidth className="size-3.5" />
|
|
386
|
+
</span>
|
|
387
|
+
<span>{footnote}</span>
|
|
388
|
+
</p>
|
|
389
|
+
) : null}
|
|
390
|
+
</div>
|
|
391
|
+
</section>
|
|
392
|
+
)
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* The default copy, English and Arabic, as `locale` picks it. Spread it to
|
|
397
|
+
* change a few strings and keep the rest.
|
|
398
|
+
*/
|
|
399
|
+
export const authPhoneNumberSignInCopy = COPY
|
|
400
|
+
|
|
401
|
+
/** The default countries, with their dial codes and number patterns. */
|
|
402
|
+
export const authPhoneNumberSignInCountries = COUNTRIES
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export {
|
|
2
|
+
AuthPhoneNumberSignIn,
|
|
3
|
+
authPhoneNumberSignInCopy,
|
|
4
|
+
authPhoneNumberSignInCountries,
|
|
5
|
+
type AuthPhoneNumberSignInCountry,
|
|
6
|
+
type AuthPhoneNumberSignInValues,
|
|
7
|
+
type AuthPhoneNumberSignInAlternative,
|
|
8
|
+
type AuthPhoneNumberSignInCopy,
|
|
9
|
+
type AuthPhoneNumberSignInProps,
|
|
10
|
+
} from "./AuthPhoneNumberSignIn"
|