@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,333 @@
|
|
|
1
|
+
import { describe, expect, it, vi } from "vitest"
|
|
2
|
+
import { act, fireEvent, render, screen, waitFor } from "@testing-library/react"
|
|
3
|
+
import { ContactUsClassicCentered, contactUsClassicCenteredCopy } from "./contact-us-classic-centered"
|
|
4
|
+
import { ContactUsDarkStatement, contactUsDarkStatementCopy } from "./contact-us-dark-statement"
|
|
5
|
+
import { ContactUsOversizedWordmark, contactUsOversizedWordmarkCopy } from "./contact-us-oversized-wordmark"
|
|
6
|
+
import { ContactUsEditorialStatement, contactUsEditorialStatementCopy } from "./contact-us-editorial-statement"
|
|
7
|
+
import { ContactUsRuledSplitForm, contactUsRuledSplitFormCopy } from "./contact-us-ruled-split-form"
|
|
8
|
+
import { ContactUsGrandHeadlineForm, contactUsGrandHeadlineFormCopy } from "./contact-us-grand-headline-form"
|
|
9
|
+
import { ContactUsPitchAndInquiry, contactUsPitchAndInquiryCopy } from "./contact-us-pitch-and-inquiry"
|
|
10
|
+
|
|
11
|
+
// What these tests can and cannot prove: jsdom has no layout, so the Figma
|
|
12
|
+
// sizes and the container-query layouts were measured in a browser. These
|
|
13
|
+
// assert the contract around them: the copy in both languages, the checks a
|
|
14
|
+
// form makes, what it sends, and the Arabic rules.
|
|
15
|
+
|
|
16
|
+
type Block = React.ComponentType<{ locale?: "en" | "ar"; onSubmit?: (values: Record<string, unknown>) => void | Promise<void> } & Record<string, unknown>>
|
|
17
|
+
|
|
18
|
+
interface Case {
|
|
19
|
+
name: string
|
|
20
|
+
Block: Block
|
|
21
|
+
copy: { en: object; ar: object }
|
|
22
|
+
/** The labels (or accessible names) of the required fields, as English writes them. */
|
|
23
|
+
required: string[]
|
|
24
|
+
/** What to type: label -> value. */
|
|
25
|
+
typed: Record<string, string>
|
|
26
|
+
/** Checkboxes to tick, by label. */
|
|
27
|
+
ticked: string[]
|
|
28
|
+
/** What `onSubmit` is called with, besides the defaults every field gets. */
|
|
29
|
+
sent: Record<string, unknown>
|
|
30
|
+
/** Every key `onSubmit` receives. */
|
|
31
|
+
keys: string[]
|
|
32
|
+
/** True when no field has a label row, so the word "Required" shows nowhere. */
|
|
33
|
+
labelless?: boolean
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const CASES: Case[] = [
|
|
37
|
+
{
|
|
38
|
+
name: "Classic Centered",
|
|
39
|
+
Block: ContactUsClassicCentered as Block,
|
|
40
|
+
copy: contactUsClassicCenteredCopy,
|
|
41
|
+
required: ["Work email", "Message"],
|
|
42
|
+
typed: { "Work email": "sara@company.com", "Message": " A new site " },
|
|
43
|
+
ticked: ["I agree to the Fasla privacy policy."],
|
|
44
|
+
sent: { email: "sara@company.com", message: "A new site", consent: true },
|
|
45
|
+
keys: ["firstName", "lastName", "email", "topic", "message", "consent"],
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "Dark Statement",
|
|
49
|
+
Block: ContactUsDarkStatement as Block,
|
|
50
|
+
copy: contactUsDarkStatementCopy,
|
|
51
|
+
required: ["Email", "Tell us about the project"],
|
|
52
|
+
typed: { "Email": "sara@company.com", "Tell us about the project": "A product" },
|
|
53
|
+
ticked: ["I have read the privacy statement."],
|
|
54
|
+
sent: { email: "sara@company.com", project: "A product", consent: true },
|
|
55
|
+
keys: ["firstName", "lastName", "email", "company", "project", "consent"],
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "Oversized Wordmark",
|
|
59
|
+
Block: ContactUsOversizedWordmark as Block,
|
|
60
|
+
copy: contactUsOversizedWordmarkCopy,
|
|
61
|
+
required: ["Name", "E-mail", "Company", "Message"],
|
|
62
|
+
typed: { "Name": "Sara", "E-mail": "sara@company.com", "Company": "Northwind", "Message": "Hello" },
|
|
63
|
+
ticked: ["I accept the Fasla terms."],
|
|
64
|
+
sent: { name: "Sara", email: "sara@company.com", company: "Northwind", message: "Hello", terms: true, source: "A search" },
|
|
65
|
+
keys: ["name", "email", "phone", "company", "interest", "source", "message", "terms"],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "Editorial Statement",
|
|
69
|
+
Block: ContactUsEditorialStatement as Block,
|
|
70
|
+
copy: contactUsEditorialStatementCopy,
|
|
71
|
+
required: ["Email address", "Your message"],
|
|
72
|
+
typed: { "Email address": "sara@company.com", "Your message": "Hello" },
|
|
73
|
+
ticked: [],
|
|
74
|
+
labelless: true,
|
|
75
|
+
sent: { email: "sara@company.com", message: "Hello" },
|
|
76
|
+
keys: ["firstName", "lastName", "email", "identity", "message"],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: "Ruled Split Form",
|
|
80
|
+
Block: ContactUsRuledSplitForm as Block,
|
|
81
|
+
copy: contactUsRuledSplitFormCopy,
|
|
82
|
+
required: ["Name", "Email", "Message"],
|
|
83
|
+
typed: { "Name": "Sara", "Email": "sara@company.com", "Message": "Hello" },
|
|
84
|
+
ticked: [],
|
|
85
|
+
sent: { name: "Sara", subject: "General", email: "sara@company.com", message: "Hello" },
|
|
86
|
+
keys: ["name", "subject", "email", "message"],
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: "Grand Headline Form",
|
|
90
|
+
Block: ContactUsGrandHeadlineForm as Block,
|
|
91
|
+
copy: contactUsGrandHeadlineFormCopy,
|
|
92
|
+
required: ["First name", "Email"],
|
|
93
|
+
typed: { "First name": "Sara", "Email": "sara@company.com" },
|
|
94
|
+
ticked: [],
|
|
95
|
+
sent: { firstName: "Sara", email: "sara@company.com", phone: "", updates: false },
|
|
96
|
+
keys: ["firstName", "email", "phone", "updates"],
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
name: "Pitch & Inquiry",
|
|
100
|
+
Block: ContactUsPitchAndInquiry as Block,
|
|
101
|
+
copy: contactUsPitchAndInquiryCopy,
|
|
102
|
+
required: ["Full name", "Email", "Project details"],
|
|
103
|
+
typed: { "Full name": "Sara", "Email": "sara@company.com", "Project details": "A design system" },
|
|
104
|
+
ticked: [],
|
|
105
|
+
sent: { name: "Sara", email: "sara@company.com", details: "A design system", service: "", budget: "" },
|
|
106
|
+
keys: ["service", "budget", "name", "email", "details"],
|
|
107
|
+
},
|
|
108
|
+
]
|
|
109
|
+
|
|
110
|
+
const field = (label: string) => screen.getByLabelText(label)
|
|
111
|
+
const submit = (container: HTMLElement) => fireEvent.submit(container.querySelector("form")!)
|
|
112
|
+
const strings = (value: unknown): string[] =>
|
|
113
|
+
typeof value === "string" ? [value] : value && typeof value === "object" ? Object.values(value).flatMap(strings) : []
|
|
114
|
+
|
|
115
|
+
/** Presses a Select option, as a mouse does. */
|
|
116
|
+
async function choose(trigger: HTMLElement, option: string) {
|
|
117
|
+
await act(async () => {
|
|
118
|
+
fireEvent.click(trigger)
|
|
119
|
+
})
|
|
120
|
+
const item = await screen.findByRole("option", { name: option })
|
|
121
|
+
await act(async () => {
|
|
122
|
+
fireEvent.pointerDown(item, { pointerType: "mouse" })
|
|
123
|
+
fireEvent.mouseDown(item)
|
|
124
|
+
fireEvent.pointerUp(item, { pointerType: "mouse" })
|
|
125
|
+
fireEvent.mouseUp(item)
|
|
126
|
+
fireEvent.click(item)
|
|
127
|
+
})
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
describe.each(CASES)("$name", ({ Block, copy, required, typed, ticked, sent, keys, name, labelless }) => {
|
|
131
|
+
it.each(["en", "ar"] as const)("is a labelled section holding a form, in %s", (locale) => {
|
|
132
|
+
const { container } = render(<Block locale={locale} />)
|
|
133
|
+
const section = container.querySelector("section")!
|
|
134
|
+
// Its heading, an h2, or (Editorial Statement has none) its first small label.
|
|
135
|
+
const label = document.getElementById(section.getAttribute("aria-labelledby")!)
|
|
136
|
+
expect(label?.textContent?.trim()).toBeTruthy()
|
|
137
|
+
expect(container.querySelector("form")).toBeTruthy()
|
|
138
|
+
})
|
|
139
|
+
|
|
140
|
+
it("names each required field that is empty, and sends nothing", () => {
|
|
141
|
+
const onSubmit = vi.fn()
|
|
142
|
+
const { container } = render(<Block onSubmit={onSubmit} />)
|
|
143
|
+
submit(container)
|
|
144
|
+
expect(container.querySelectorAll("[data-invalid]").length).toBeGreaterThanOrEqual(required.length)
|
|
145
|
+
expect(onSubmit).not.toHaveBeenCalled()
|
|
146
|
+
for (const label of required) expect(field(label).getAttribute("aria-invalid")).toBe("true")
|
|
147
|
+
})
|
|
148
|
+
|
|
149
|
+
it("sends every field by name once the required ones are filled, then thanks the reader", async () => {
|
|
150
|
+
const onSubmit = vi.fn().mockResolvedValue(undefined)
|
|
151
|
+
const { container } = render(<Block onSubmit={onSubmit} />)
|
|
152
|
+
for (const [label, value] of Object.entries(typed)) fireEvent.change(field(label), { target: { value } })
|
|
153
|
+
for (const label of ticked) fireEvent.click(field(label))
|
|
154
|
+
if (name === "Oversized Wordmark") await choose(screen.getByRole("combobox", { name: "How did you find out about us?" }), "A search")
|
|
155
|
+
submit(container)
|
|
156
|
+
await waitFor(() => expect(screen.getByRole("status")).toBeTruthy())
|
|
157
|
+
const values = onSubmit.mock.calls[0]![0] as Record<string, unknown>
|
|
158
|
+
expect(Object.keys(values).sort()).toEqual([...keys].sort())
|
|
159
|
+
expect(values).toEqual(expect.objectContaining(sent))
|
|
160
|
+
})
|
|
161
|
+
|
|
162
|
+
it("shows the send error in Arabic too, when onSubmit rejects", async () => {
|
|
163
|
+
const onSubmit = vi.fn().mockRejectedValue(new Error("no"))
|
|
164
|
+
const { container } = render(<Block locale="ar" onSubmit={onSubmit} />)
|
|
165
|
+
const arabic = copy.ar as Record<string, unknown>
|
|
166
|
+
const labels = Object.values(typed)
|
|
167
|
+
expect(labels.length).toBeGreaterThan(0)
|
|
168
|
+
// Fill by position: the Arabic labels are the copy's own strings.
|
|
169
|
+
const inputs = [...container.querySelectorAll<HTMLInputElement | HTMLTextAreaElement>("input:not([type=checkbox]):not([type=hidden]), textarea")]
|
|
170
|
+
const email = inputs.find((input) => input.getAttribute("type") === "email")!
|
|
171
|
+
fireEvent.change(email, { target: { value: "sara@company.com" } })
|
|
172
|
+
for (const input of inputs.filter((item) => item.getAttribute("aria-required") === "true" && item !== email && item.tagName !== "SELECT")) fireEvent.change(input, { target: { value: "x" } })
|
|
173
|
+
container.querySelectorAll<HTMLInputElement>("input[type=checkbox][aria-required=true]").forEach((box) => fireEvent.click(box))
|
|
174
|
+
if (name === "Oversized Wordmark") await choose(container.querySelectorAll<HTMLElement>("[role=combobox]")[1]!, (arabic.sources as string[])[0]!)
|
|
175
|
+
submit(container)
|
|
176
|
+
await waitFor(() => expect(screen.getByRole("alert").textContent).toBe(arabic.error))
|
|
177
|
+
})
|
|
178
|
+
|
|
179
|
+
it.each([["en", "Required"], ["ar", "مطلوب"]] as const)("shows the word %s on each required field that has a label row, and no asterisk anywhere", (locale, word) => {
|
|
180
|
+
const { container } = render(<Block locale={locale} />)
|
|
181
|
+
const words = screen.queryAllByText(word)
|
|
182
|
+
if (labelless) {
|
|
183
|
+
// No label row, so no word; the fields are still required in behaviour.
|
|
184
|
+
expect(words).toHaveLength(0)
|
|
185
|
+
expect(container.querySelectorAll("[aria-required=true]").length).toBeGreaterThanOrEqual(required.length)
|
|
186
|
+
} else {
|
|
187
|
+
expect(words.length).toBeGreaterThanOrEqual(required.filter((label) => !ticked.includes(label)).length)
|
|
188
|
+
expect(words.length).toBeGreaterThan(0)
|
|
189
|
+
}
|
|
190
|
+
// Each one sits in the atom's own Top Right label slot, never in a custom element.
|
|
191
|
+
for (const node of words) expect(node.getAttribute("data-slot")).toMatch(/label-end$/)
|
|
192
|
+
expect(container.textContent).not.toContain("*")
|
|
193
|
+
expect([...container.querySelectorAll("input,textarea")].some((node) => (node.getAttribute("placeholder") ?? "").includes("*"))).toBe(false)
|
|
194
|
+
})
|
|
195
|
+
|
|
196
|
+
it("writes Arabic without a middle dot, a dash, an Arabic-Indic digit or a percent sign", () => {
|
|
197
|
+
const arabic = strings(copy.ar).join("\n")
|
|
198
|
+
expect(arabic).not.toMatch(/[·—]|(?<!\d)–|–(?!\d)/)
|
|
199
|
+
expect(arabic).not.toMatch(/[٠-٩%٪]/)
|
|
200
|
+
})
|
|
201
|
+
|
|
202
|
+
it("has Arabic copy for every English string", () => {
|
|
203
|
+
expect(Object.keys(copy.ar).sort()).toEqual(Object.keys(copy.en).sort())
|
|
204
|
+
})
|
|
205
|
+
})
|
|
206
|
+
|
|
207
|
+
describe("Classic Centered", () => {
|
|
208
|
+
it("offers the address underneath as a mail link, in one left-to-right run", () => {
|
|
209
|
+
render(<ContactUsClassicCentered emailAddress="team@fasla.com" />)
|
|
210
|
+
const link = screen.getByRole("link", { name: "team@fasla.com" })
|
|
211
|
+
expect(link.getAttribute("href")).toBe("mailto:team@fasla.com")
|
|
212
|
+
expect(link.querySelector("bdi")?.getAttribute("dir")).toBe("ltr")
|
|
213
|
+
})
|
|
214
|
+
})
|
|
215
|
+
|
|
216
|
+
describe("Dark Statement", () => {
|
|
217
|
+
it("names its three marks for assistive technology and links the direct address", () => {
|
|
218
|
+
render(<ContactUsDarkStatement />)
|
|
219
|
+
expect(screen.getAllByRole("link").map((link) => link.getAttribute("aria-label") ?? link.textContent)).toEqual(["hello@fasla.com", "LinkedIn", "X", "Dribbble"])
|
|
220
|
+
})
|
|
221
|
+
|
|
222
|
+
it("takes its facts as data", () => {
|
|
223
|
+
render(<ContactUsDarkStatement facts={[{ label: "Studio", value: "Muscat" }]} />)
|
|
224
|
+
expect(screen.getByText("Muscat")).toBeTruthy()
|
|
225
|
+
expect(screen.queryByText("Hours")).toBeNull()
|
|
226
|
+
})
|
|
227
|
+
})
|
|
228
|
+
|
|
229
|
+
describe("Oversized Wordmark", () => {
|
|
230
|
+
it("sets the wordmark as its heading and links the phone number", () => {
|
|
231
|
+
render(<ContactUsOversizedWordmark phoneNumber="+971 4 000 0000" />)
|
|
232
|
+
expect(screen.getByRole("heading", { level: 2 }).textContent).toBe("CONTACT")
|
|
233
|
+
expect(screen.getByRole("link", { name: "+971 4 000 0000" }).getAttribute("href")).toBe("tel:+97140000000")
|
|
234
|
+
})
|
|
235
|
+
})
|
|
236
|
+
|
|
237
|
+
describe("Editorial Statement", () => {
|
|
238
|
+
it("names its unlabelled fields by their placeholder, and keeps the statement one sentence", () => {
|
|
239
|
+
const { container } = render(<ContactUsEditorialStatement />)
|
|
240
|
+
expect(screen.getByRole("textbox", { name: "First name" })).toBeTruthy()
|
|
241
|
+
expect(screen.getByRole("textbox", { name: "Your message" })).toBeTruthy()
|
|
242
|
+
expect(container.querySelector("label")).toBeNull()
|
|
243
|
+
const statement = [...container.querySelectorAll("p")].find((p) => p.querySelector("[data-reveal=word]"))!
|
|
244
|
+
expect(statement.textContent).toBe(contactUsEditorialStatementCopy.en.statement)
|
|
245
|
+
})
|
|
246
|
+
|
|
247
|
+
it("is labelled by its first small label, as it has no heading", () => {
|
|
248
|
+
const { container } = render(<ContactUsEditorialStatement />)
|
|
249
|
+
const section = container.querySelector("section")!
|
|
250
|
+
expect(document.getElementById(section.getAttribute("aria-labelledby")!)?.textContent).toBe("CONTACT")
|
|
251
|
+
})
|
|
252
|
+
})
|
|
253
|
+
|
|
254
|
+
describe("Ruled Split Form", () => {
|
|
255
|
+
it("starts on its first subject, and holds the message group to Figma's 104px", () => {
|
|
256
|
+
render(<ContactUsRuledSplitForm />)
|
|
257
|
+
expect(screen.getByRole("combobox").textContent).toContain("General")
|
|
258
|
+
expect(screen.getByLabelText("Message").closest("[data-slot=textarea-field]")?.className).toContain("min-h-[104px]")
|
|
259
|
+
})
|
|
260
|
+
|
|
261
|
+
it("limits the message to 500 characters and shows the counter from 400", () => {
|
|
262
|
+
render(<ContactUsRuledSplitForm />)
|
|
263
|
+
expect(screen.getByLabelText("Message").getAttribute("maxlength")).toBe("500")
|
|
264
|
+
fireEvent.change(screen.getByLabelText("Message"), { target: { value: "a".repeat(400) } })
|
|
265
|
+
expect(screen.getByText("400/500")).toBeTruthy()
|
|
266
|
+
})
|
|
267
|
+
|
|
268
|
+
it("draws a vertical rule from Tablet up and a horizontal one on phones", () => {
|
|
269
|
+
const { container } = render(<ContactUsRuledSplitForm />)
|
|
270
|
+
expect(container.querySelector("[data-reveal=draw-y]")).toBeTruthy()
|
|
271
|
+
expect(container.querySelector("[data-reveal=draw-x]")).toBeTruthy()
|
|
272
|
+
})
|
|
273
|
+
})
|
|
274
|
+
|
|
275
|
+
describe("Grand Headline Form", () => {
|
|
276
|
+
it("draws the grid in 72px squares behind the section", () => {
|
|
277
|
+
const { container } = render(<ContactUsGrandHeadlineForm />)
|
|
278
|
+
const grid = container.querySelector("section > div[aria-hidden]")!
|
|
279
|
+
expect(grid.className).toContain("[background-size:72px_72px]")
|
|
280
|
+
expect(grid.className).toContain("var(--border)")
|
|
281
|
+
})
|
|
282
|
+
|
|
283
|
+
it("leaves the Submit button its own Solid Primary fills, with no colour of its own", () => {
|
|
284
|
+
const { container } = render(<ContactUsGrandHeadlineForm />)
|
|
285
|
+
const className = container.querySelector("button[type=submit]")!.className
|
|
286
|
+
expect(className).toContain("bg-primary")
|
|
287
|
+
expect(className).toContain("text-primary-foreground")
|
|
288
|
+
expect(className).not.toMatch(/chart-1|foreground-inverse/)
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("does not ask for the optional updates box", async () => {
|
|
292
|
+
const onSubmit = vi.fn().mockResolvedValue(undefined)
|
|
293
|
+
const { container } = render(<ContactUsGrandHeadlineForm onSubmit={onSubmit} />)
|
|
294
|
+
fireEvent.change(field("First name"), { target: { value: "Sara" } })
|
|
295
|
+
fireEvent.change(field("Email"), { target: { value: "sara@company.com" } })
|
|
296
|
+
submit(container)
|
|
297
|
+
await waitFor(() => expect(onSubmit).toHaveBeenCalled())
|
|
298
|
+
})
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
describe("Pitch & Inquiry", () => {
|
|
302
|
+
it("holds the details group to Figma's 88px", () => {
|
|
303
|
+
render(<ContactUsPitchAndInquiry />)
|
|
304
|
+
expect(screen.getByLabelText("Project details").closest("[data-slot=textarea-field]")?.className).toContain("min-h-[88px]")
|
|
305
|
+
})
|
|
306
|
+
|
|
307
|
+
it("sends the chosen chips", async () => {
|
|
308
|
+
const onSubmit = vi.fn().mockResolvedValue(undefined)
|
|
309
|
+
const { container } = render(<ContactUsPitchAndInquiry onSubmit={onSubmit} />)
|
|
310
|
+
fireEvent.click(screen.getByRole("button", { name: "Brand identity" }))
|
|
311
|
+
fireEvent.click(screen.getByRole("button", { name: "$10K – $50K" }))
|
|
312
|
+
fireEvent.change(field("Full name"), { target: { value: "Sara" } })
|
|
313
|
+
fireEvent.change(field("Email"), { target: { value: "sara@company.com" } })
|
|
314
|
+
fireEvent.change(field("Project details"), { target: { value: "A brand" } })
|
|
315
|
+
submit(container)
|
|
316
|
+
await waitFor(() => expect(onSubmit).toHaveBeenCalledWith(expect.objectContaining({ service: "Brand identity", budget: "$10K – $50K" })))
|
|
317
|
+
})
|
|
318
|
+
|
|
319
|
+
it("lists three promises, each after a check", () => {
|
|
320
|
+
const { container } = render(<ContactUsPitchAndInquiry />)
|
|
321
|
+
expect(container.querySelectorAll("li[data-reveal=fade]")).toHaveLength(3)
|
|
322
|
+
})
|
|
323
|
+
|
|
324
|
+
it("sends the call button's press to onBookCall, or links it when it has a place to go", () => {
|
|
325
|
+
const onBookCall = vi.fn()
|
|
326
|
+
const { unmount } = render(<ContactUsPitchAndInquiry onBookCall={onBookCall} />)
|
|
327
|
+
fireEvent.click(screen.getByRole("button", { name: "Book a free call" }))
|
|
328
|
+
expect(onBookCall).toHaveBeenCalled()
|
|
329
|
+
unmount()
|
|
330
|
+
render(<ContactUsPitchAndInquiry bookCallHref="/book" />)
|
|
331
|
+
expect(screen.getByRole("link", { name: "Book a free call" }).getAttribute("href")).toBe("/book")
|
|
332
|
+
})
|
|
333
|
+
})
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import * as React from "react"
|
|
4
|
+
import { ExternalLink } from "lucide-react"
|
|
5
|
+
import { buttonVariants } from "../../ui/button/button"
|
|
6
|
+
import {
|
|
7
|
+
ContactUsHeader,
|
|
8
|
+
ContactUsSection,
|
|
9
|
+
formatClock,
|
|
10
|
+
openState,
|
|
11
|
+
prefersReducedMotion,
|
|
12
|
+
splitCopy,
|
|
13
|
+
useLiveNow,
|
|
14
|
+
useReveal,
|
|
15
|
+
type ContactUsLocale,
|
|
16
|
+
type ContactUsWeek,
|
|
17
|
+
} from "../contact-us/contact-us"
|
|
18
|
+
|
|
19
|
+
/*
|
|
20
|
+
* Figma: `Contact Us` (42334:293941), Type=Global Offices Table.
|
|
21
|
+
*
|
|
22
|
+
* A header (the eyebrow, the heading, a line, and an Outline Secondary
|
|
23
|
+
* "Download press kit" button at its end), then one bordered, 14px-cornered
|
|
24
|
+
* table of the five offices: Office, Region, Phone, Local time, Hours. Rows
|
|
25
|
+
* are 52px, the header row sits on `muted`, a hairline runs under every row,
|
|
26
|
+
* and the cells are 14px: `foreground` in the header, `muted-foreground`
|
|
27
|
+
* below.
|
|
28
|
+
*
|
|
29
|
+
* Desktop (1248px column): all five columns, equal. Tablet: the Region
|
|
30
|
+
* column is dropped, and the rest share the width. Mobile: the table becomes a
|
|
31
|
+
* stack of cards: the name, with the open dot, on top, then Phone, Local time
|
|
32
|
+
* and Hours as label and value. It stays one real `<table>` throughout (the
|
|
33
|
+
* `thead`, `th scope="col"`, `th scope="row"` for the name), and the header
|
|
34
|
+
* row, stays in the reading order for assistive technology while it is hidden
|
|
35
|
+
* (Region is not drawn, nor read, below Desktop). The section pads 96px on Desktop, 64 x 24
|
|
36
|
+
* on Tablet and 32 x 16 on Mobile.
|
|
37
|
+
*
|
|
38
|
+
* STAND-IN. Figma's Table Cell (39961:4559) has no code atom: each cell is a
|
|
39
|
+
* plain `th` or `td` styled like it (16px inline padding, a bottom hairline
|
|
40
|
+
* in `border`, the Header label on `muted`), here, in one place.
|
|
41
|
+
*
|
|
42
|
+
* Real: the Local time cells are live. Each is the time at the office's own
|
|
43
|
+
* `timeZone` ("14:20 GST"), 24-hour, in Western digits in any language,
|
|
44
|
+
* ticking on the minute and paused while the tab is hidden. Give `now` and it
|
|
45
|
+
* is frozen there. Before the first tick the cells read "--:--". An office
|
|
46
|
+
* that is open at that moment (its own `week` and `timeZone`) carries a small
|
|
47
|
+
* success dot beside its name. Static: the offices, the phone numbers, the
|
|
48
|
+
* press kit link (`pressKitHref`).
|
|
49
|
+
*
|
|
50
|
+
* Motion: once, in view, the header rises and the table fades in. Rows wash
|
|
51
|
+
* to `muted` on hover over 120ms. When a minute turns, the local times
|
|
52
|
+
* crossfade over 150ms and the open dots fade between states over 260ms. The
|
|
53
|
+
* motion card's "Copy address" affordance is not built (decided). Reduced
|
|
54
|
+
* motion: the entrance only fades, the digits and dots swap with no fade, and
|
|
55
|
+
* hover changes only the background.
|
|
56
|
+
*
|
|
57
|
+
* Content limits: the heading up to 40 characters, the line up to 90, an
|
|
58
|
+
* office name up to 24, a region up to 22.
|
|
59
|
+
*/
|
|
60
|
+
|
|
61
|
+
/** One office: its row, and the hours that say whether it is open. */
|
|
62
|
+
export interface ContactUsOffice {
|
|
63
|
+
/** The office, as the first column says it. */
|
|
64
|
+
name: string
|
|
65
|
+
/** The region, the second column. */
|
|
66
|
+
region: string
|
|
67
|
+
/** The phone number, in the form it is dialled. */
|
|
68
|
+
phone: string
|
|
69
|
+
/** The IANA time zone its Local time and its hours are in. */
|
|
70
|
+
timeZone: string
|
|
71
|
+
/** The short zone label after the time: GST, AST, BST. */
|
|
72
|
+
zoneLabel: string
|
|
73
|
+
/** The zone's full name, shown on hover. */
|
|
74
|
+
zoneName?: string
|
|
75
|
+
/** Its opening hours, Sunday first. The Hours column shows the first open day's. */
|
|
76
|
+
week: ContactUsWeek
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface ContactUsGlobalOfficesTableCopy {
|
|
80
|
+
/** The small line above the heading. */
|
|
81
|
+
eyebrow: string
|
|
82
|
+
/** The heading, an `h2`. */
|
|
83
|
+
heading: string
|
|
84
|
+
/** The line under the heading. */
|
|
85
|
+
description: React.ReactNode
|
|
86
|
+
/** The press kit button's label. */
|
|
87
|
+
pressKit: string
|
|
88
|
+
/** The four table headers. */
|
|
89
|
+
officeHeader: string
|
|
90
|
+
regionHeader: string
|
|
91
|
+
phoneHeader: string
|
|
92
|
+
timeHeader: string
|
|
93
|
+
hoursHeader: string
|
|
94
|
+
/** Names the table for assistive technology. */
|
|
95
|
+
tableLabel: string
|
|
96
|
+
/** Read after the name of an office that is open. */
|
|
97
|
+
openNow: string
|
|
98
|
+
/** The offices, one row each. */
|
|
99
|
+
offices: ContactUsOffice[]
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
const SUN_THU = [{ open: "09:00", close: "18:00" }, { open: "09:00", close: "18:00" }, { open: "09:00", close: "18:00" }, { open: "09:00", close: "18:00" }, { open: "09:00", close: "18:00" }, null, null] as const
|
|
103
|
+
const SUN_THU_17 = [{ open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, null, null] as const
|
|
104
|
+
const MON_FRI_17 = [null, { open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, { open: "09:00", close: "17:00" }, null] as const
|
|
105
|
+
|
|
106
|
+
const week = (days: readonly (null | { open: string; close: string })[]) => days as unknown as ContactUsWeek
|
|
107
|
+
|
|
108
|
+
const COPY: Record<ContactUsLocale, ContactUsGlobalOfficesTableCopy> = {
|
|
109
|
+
en: {
|
|
110
|
+
eyebrow: "WHERE WE ARE",
|
|
111
|
+
heading: "Five offices, one shared inbox",
|
|
112
|
+
description: (
|
|
113
|
+
<>
|
|
114
|
+
Write to the nearest team, or to <bdi dir="ltr">hello@fasla.com</bdi> and we will route it for you.
|
|
115
|
+
</>
|
|
116
|
+
),
|
|
117
|
+
pressKit: "Download press kit",
|
|
118
|
+
officeHeader: "Office",
|
|
119
|
+
regionHeader: "Region",
|
|
120
|
+
phoneHeader: "Phone",
|
|
121
|
+
timeHeader: "Local time",
|
|
122
|
+
hoursHeader: "Hours",
|
|
123
|
+
tableLabel: "Fasla offices",
|
|
124
|
+
openNow: "Open now",
|
|
125
|
+
offices: [
|
|
126
|
+
{ name: "Dubai — HQ", region: "Middle East", phone: "+971 4 512 8800", timeZone: "Asia/Dubai", zoneLabel: "GST", zoneName: "Gulf Standard Time", week: week(SUN_THU) },
|
|
127
|
+
{ name: "Riyadh", region: "Middle East", phone: "+966 11 288 4100", timeZone: "Asia/Riyadh", zoneLabel: "AST", zoneName: "Arabia Standard Time", week: week(SUN_THU_17) },
|
|
128
|
+
{ name: "Amman", region: "Levant", phone: "+962 6 592 7700", timeZone: "Asia/Amman", zoneLabel: "EEST", zoneName: "Eastern European Summer Time", week: week(SUN_THU) },
|
|
129
|
+
{ name: "London", region: "Europe", phone: "+44 20 7946 0210", timeZone: "Europe/London", zoneLabel: "BST", zoneName: "British Summer Time", week: week(MON_FRI_17) },
|
|
130
|
+
{ name: "Singapore", region: "APAC", phone: "+65 6812 4400", timeZone: "Asia/Singapore", zoneLabel: "SGT", zoneName: "Singapore Standard Time", week: week(MON_FRI_17) },
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
ar: {
|
|
134
|
+
eyebrow: "أين نحن",
|
|
135
|
+
heading: "خمسة مكاتب، وبريد واحد مشترك",
|
|
136
|
+
description: (
|
|
137
|
+
<>
|
|
138
|
+
راسل أقرب فريق، أو <bdi dir="ltr">hello@fasla.com</bdi> وسنوجّه رسالتك.
|
|
139
|
+
</>
|
|
140
|
+
),
|
|
141
|
+
pressKit: "نزّل الحزمة الصحفية",
|
|
142
|
+
officeHeader: "المكتب",
|
|
143
|
+
regionHeader: "المنطقة",
|
|
144
|
+
phoneHeader: "الهاتف",
|
|
145
|
+
timeHeader: "التوقيت المحلي",
|
|
146
|
+
hoursHeader: "ساعات العمل",
|
|
147
|
+
tableLabel: "مكاتب فاصلة",
|
|
148
|
+
openNow: "مفتوح الآن",
|
|
149
|
+
offices: [
|
|
150
|
+
{ name: "دبي، المقر الرئيسي", region: "الشرق الأوسط", phone: "+971 4 512 8800", timeZone: "Asia/Dubai", zoneLabel: "GST", zoneName: "توقيت الخليج", week: week(SUN_THU) },
|
|
151
|
+
{ name: "الرياض", region: "الشرق الأوسط", phone: "+966 11 288 4100", timeZone: "Asia/Riyadh", zoneLabel: "AST", zoneName: "توقيت السعودية", week: week(SUN_THU_17) },
|
|
152
|
+
{ name: "عمّان", region: "بلاد الشام", phone: "+962 6 592 7700", timeZone: "Asia/Amman", zoneLabel: "EEST", zoneName: "توقيت عمّان", week: week(SUN_THU) },
|
|
153
|
+
{ name: "لندن", region: "أوروبا", phone: "+44 20 7946 0210", timeZone: "Europe/London", zoneLabel: "BST", zoneName: "توقيت لندن", week: week(MON_FRI_17) },
|
|
154
|
+
{ name: "سنغافورة", region: "آسيا والمحيط الهادئ", phone: "+65 6812 4400", timeZone: "Asia/Singapore", zoneLabel: "SGT", zoneName: "توقيت سنغافورة", week: week(MON_FRI_17) },
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface ContactUsGlobalOfficesTableProps extends Omit<React.HTMLAttributes<HTMLElement>, "title">, Partial<ContactUsGlobalOfficesTableCopy> {
|
|
160
|
+
/** Which language the default copy is in. The page's `dir` sets the direction. */
|
|
161
|
+
locale?: ContactUsLocale
|
|
162
|
+
/** Freezes the Local time cells at this moment. Without it they show the real time. */
|
|
163
|
+
now?: Date | number | string
|
|
164
|
+
/** Where the press kit button goes. */
|
|
165
|
+
pressKitHref?: string
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/** The first open day's hours, as the Hours column says them: "09:00 – 18:00". */
|
|
169
|
+
function hoursOf(office: ContactUsOffice) {
|
|
170
|
+
const first = office.week.find((day) => day !== null)
|
|
171
|
+
return first ? `${first.open} – ${first.close}` : "--"
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/** A value that crossfades over 150ms when it changes, and swaps with no motion when the reader asks for less. */
|
|
175
|
+
function Crossfade({ children }: { children: string }) {
|
|
176
|
+
const ref = React.useRef<HTMLSpanElement>(null)
|
|
177
|
+
const previous = React.useRef(children)
|
|
178
|
+
React.useEffect(() => {
|
|
179
|
+
if (previous.current === children) return
|
|
180
|
+
previous.current = children
|
|
181
|
+
const node = ref.current
|
|
182
|
+
if (!node || typeof node.animate !== "function" || prefersReducedMotion()) return
|
|
183
|
+
node.animate([{ opacity: 0 }, { opacity: 1 }], { duration: 150, easing: "cubic-bezier(0.2, 0, 0, 1)" })
|
|
184
|
+
}, [children])
|
|
185
|
+
return <span ref={ref}>{children}</span>
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// The Table Cell stand-in, as literal class strings (Tailwind reads them as written).
|
|
189
|
+
// Header cell: 52px, 16px inline padding, `muted`, 14px medium `foreground`.
|
|
190
|
+
const TH =
|
|
191
|
+
"h-[52px] border-b border-border bg-muted px-4 py-0 text-start align-middle text-sm font-medium leading-5 text-foreground rtl:leading-6"
|
|
192
|
+
// Data cell: a label and value row inside a card below Tablet, a table cell from Tablet.
|
|
193
|
+
const TD =
|
|
194
|
+
"flex h-auto items-center justify-between p-0 text-sm font-normal leading-5 text-muted-foreground before:content-[attr(data-label)] rtl:leading-6 [@container(min-width:40rem)]:table-cell [@container(min-width:40rem)]:h-[52px] [@container(min-width:40rem)]:border-b [@container(min-width:40rem)]:border-border [@container(min-width:40rem)]:px-4 [@container(min-width:40rem)]:text-start [@container(min-width:40rem)]:align-middle [@container(min-width:40rem)]:before:content-none"
|
|
195
|
+
const VALUE = "text-foreground [@container(min-width:40rem)]:text-muted-foreground"
|
|
196
|
+
|
|
197
|
+
export function ContactUsGlobalOfficesTable({ locale = "en", now, pressKitHref = "#", ...given }: ContactUsGlobalOfficesTableProps) {
|
|
198
|
+
const { copy, rest } = splitCopy(COPY[locale], given)
|
|
199
|
+
const { className, ...html } = rest
|
|
200
|
+
const headingId = React.useId()
|
|
201
|
+
const reveal = useReveal<HTMLDivElement>()
|
|
202
|
+
const live = useLiveNow(now)
|
|
203
|
+
|
|
204
|
+
return (
|
|
205
|
+
<ContactUsSection labelledBy={headingId} gap="none" className={className} {...html}>
|
|
206
|
+
<div ref={reveal} className="flex flex-col gap-12">
|
|
207
|
+
<div className="flex flex-col gap-8 [@container(min-width:40rem)]:flex-row [@container(min-width:40rem)]:items-end [@container(min-width:40rem)]:justify-between">
|
|
208
|
+
<ContactUsHeader
|
|
209
|
+
headingId={headingId}
|
|
210
|
+
eyebrow={copy.eyebrow}
|
|
211
|
+
heading={copy.heading}
|
|
212
|
+
description={copy.description}
|
|
213
|
+
reveal
|
|
214
|
+
className="min-w-0 flex-1"
|
|
215
|
+
eyebrowClassName="leading-5 rtl:leading-6"
|
|
216
|
+
headingClassName="text-2xl leading-8 rtl:leading-10 [@container(min-width:40rem)]:text-3xl [@container(min-width:40rem)]:leading-[2.75rem] [@container(min-width:40rem)]:rtl:leading-[3.75rem] [@container(min-width:64rem)]:text-4xl"
|
|
217
|
+
descriptionClassName="leading-6 rtl:leading-7"
|
|
218
|
+
/>
|
|
219
|
+
<a href={pressKitHref} data-reveal="fade" className={buttonVariants({ variant: "outline", tone: "secondary", size: "md", className: "w-full shrink-0 [@container(min-width:40rem)]:w-auto" })}>
|
|
220
|
+
{copy.pressKit}
|
|
221
|
+
<ExternalLink aria-hidden strokeWidth={1.5} />
|
|
222
|
+
</a>
|
|
223
|
+
</div>
|
|
224
|
+
|
|
225
|
+
<div data-reveal="fade" className="min-w-0 [@container(min-width:40rem)]:overflow-hidden [@container(min-width:40rem)]:rounded-[14px] [@container(min-width:40rem)]:border [@container(min-width:40rem)]:border-border">
|
|
226
|
+
<table aria-label={copy.tableLabel} className="block w-full border-collapse [@container(min-width:40rem)]:table [@container(min-width:40rem)]:table-fixed">
|
|
227
|
+
<thead className="sr-only [@container(min-width:40rem)]:not-sr-only [@container(min-width:40rem)]:table-header-group">
|
|
228
|
+
<tr>
|
|
229
|
+
<th scope="col" className={TH}>
|
|
230
|
+
{copy.officeHeader}
|
|
231
|
+
</th>
|
|
232
|
+
<th scope="col" className={`${TH} hidden [@container(min-width:64rem)]:table-cell`}>
|
|
233
|
+
{copy.regionHeader}
|
|
234
|
+
</th>
|
|
235
|
+
<th scope="col" className={TH}>
|
|
236
|
+
{copy.phoneHeader}
|
|
237
|
+
</th>
|
|
238
|
+
<th scope="col" className={TH}>
|
|
239
|
+
{copy.timeHeader}
|
|
240
|
+
</th>
|
|
241
|
+
<th scope="col" className={TH}>
|
|
242
|
+
{copy.hoursHeader}
|
|
243
|
+
</th>
|
|
244
|
+
</tr>
|
|
245
|
+
</thead>
|
|
246
|
+
<tbody className="flex flex-col gap-3 [@container(min-width:40rem)]:table-row-group [@container(min-width:40rem)]:[&>tr:last-child>*]:border-b-0">
|
|
247
|
+
{copy.offices.map((office) => {
|
|
248
|
+
const open = live ? openState(office.week, office.timeZone, live).open : false
|
|
249
|
+
const time = live ? `${formatClock(live, office.timeZone)} ${office.zoneLabel}` : "--:--"
|
|
250
|
+
return (
|
|
251
|
+
<tr
|
|
252
|
+
key={office.name}
|
|
253
|
+
className="relative flex flex-col gap-3 rounded-[10px] border border-border bg-card p-4 motion-safe:transition-colors motion-safe:duration-[120ms] hover:bg-muted [@container(min-width:40rem)]:table-row [@container(min-width:40rem)]:rounded-none [@container(min-width:40rem)]:border-0 [@container(min-width:40rem)]:bg-transparent [@container(min-width:40rem)]:p-0 hover:[@container(min-width:40rem)]:bg-muted"
|
|
254
|
+
>
|
|
255
|
+
<th
|
|
256
|
+
scope="row"
|
|
257
|
+
className="p-0 text-start text-sm font-medium leading-5 text-foreground rtl:leading-6 [@container(min-width:40rem)]:h-[52px] [@container(min-width:40rem)]:border-b [@container(min-width:40rem)]:border-border [@container(min-width:40rem)]:px-4 [@container(min-width:40rem)]:align-middle [@container(min-width:40rem)]:font-normal [@container(min-width:40rem)]:text-muted-foreground"
|
|
258
|
+
>
|
|
259
|
+
<span className="inline-flex items-center gap-2 align-middle">
|
|
260
|
+
{office.name}
|
|
261
|
+
<span
|
|
262
|
+
aria-hidden
|
|
263
|
+
className={`size-2 shrink-0 rounded-full bg-success motion-safe:transition-opacity motion-safe:duration-[260ms] ${open ? "opacity-100" : "opacity-0"}`}
|
|
264
|
+
/>
|
|
265
|
+
{open ? <span className="sr-only">{copy.openNow}</span> : null}
|
|
266
|
+
</span>
|
|
267
|
+
</th>
|
|
268
|
+
<td className="hidden [@container(min-width:64rem)]:table-cell [@container(min-width:64rem)]:h-[52px] [@container(min-width:64rem)]:border-b [@container(min-width:64rem)]:border-border [@container(min-width:64rem)]:px-4 [@container(min-width:64rem)]:text-start [@container(min-width:64rem)]:align-middle [@container(min-width:64rem)]:text-sm [@container(min-width:64rem)]:leading-5 [@container(min-width:64rem)]:text-muted-foreground [@container(min-width:64rem)]:rtl:leading-6">
|
|
269
|
+
{office.region}
|
|
270
|
+
</td>
|
|
271
|
+
<td data-label={copy.phoneHeader} className={TD}>
|
|
272
|
+
<bdi dir="ltr" className={VALUE}>
|
|
273
|
+
{office.phone}
|
|
274
|
+
</bdi>
|
|
275
|
+
</td>
|
|
276
|
+
<td data-label={copy.timeHeader} className={TD}>
|
|
277
|
+
<bdi dir="ltr" title={office.zoneName} className={VALUE}>
|
|
278
|
+
<Crossfade>{time}</Crossfade>
|
|
279
|
+
</bdi>
|
|
280
|
+
</td>
|
|
281
|
+
<td data-label={copy.hoursHeader} className={TD}>
|
|
282
|
+
<bdi dir="ltr" className={VALUE}>
|
|
283
|
+
{hoursOf(office)}
|
|
284
|
+
</bdi>
|
|
285
|
+
</td>
|
|
286
|
+
</tr>
|
|
287
|
+
)
|
|
288
|
+
})}
|
|
289
|
+
</tbody>
|
|
290
|
+
</table>
|
|
291
|
+
</div>
|
|
292
|
+
</div>
|
|
293
|
+
</ContactUsSection>
|
|
294
|
+
)
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* The default copy, English and Arabic, as `locale` picks it. Spread it to
|
|
299
|
+
* change a few strings and keep the rest.
|
|
300
|
+
*/
|
|
301
|
+
export const contactUsGlobalOfficesTableCopy = COPY
|