@smicolon/fasla-ui 0.6.0 → 0.8.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 +24 -5
- package/dist/cli/index.js +2983 -648
- 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 +6 -1
- 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 +9702 -139
- 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,312 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import * as React from "react"
|
|
4
|
+
import { LayoutGrid, Maximize, Users } from "lucide-react"
|
|
5
|
+
import { Badge } from "../../ui/badge/badge"
|
|
6
|
+
import { Button } from "../../ui/button/button"
|
|
7
|
+
import { CarouselDots } from "../../ui/carousel/carousel"
|
|
8
|
+
import { cn } from "../../../src/lib/utils"
|
|
9
|
+
import {
|
|
10
|
+
CallStage,
|
|
11
|
+
ControlsDock,
|
|
12
|
+
Figures,
|
|
13
|
+
ParticipantTile,
|
|
14
|
+
STAGE_DOCK_COPY,
|
|
15
|
+
StageBar,
|
|
16
|
+
VideoCallSection,
|
|
17
|
+
fillTemplate,
|
|
18
|
+
prefersReducedMotion,
|
|
19
|
+
stageDockControls,
|
|
20
|
+
useDebouncedValue,
|
|
21
|
+
useFlip,
|
|
22
|
+
type StageDockCopy,
|
|
23
|
+
type VideoCallLocale,
|
|
24
|
+
type VideoCallParticipant,
|
|
25
|
+
type VideoCallPhotos,
|
|
26
|
+
} from "../video-call/video-call"
|
|
27
|
+
|
|
28
|
+
/*
|
|
29
|
+
* Figma: `Video Call` (42869:1033), Type=Grid Gallery Call.
|
|
30
|
+
*
|
|
31
|
+
* A call stage in a card: the stage bar (REC, the meeting name and its time at
|
|
32
|
+
* the start; the view button, the people count and fullscreen at the end), the
|
|
33
|
+
* grid of participant tiles, and the controls dock.
|
|
34
|
+
*
|
|
35
|
+
* Desktop lays the six tiles three across, Tablet two across, and a phone
|
|
36
|
+
* shows three of them one at a time in a row that snaps, with Carousel dots
|
|
37
|
+
* under it (in Arabic the first tile is on the right and the row scrolls the
|
|
38
|
+
* other way). A phone's stage bar drops REC and wraps its buttons to a second
|
|
39
|
+
* line, and the dock keeps five controls with an icon-only Leave.
|
|
40
|
+
*
|
|
41
|
+
* The tiles live in one list, so when someone joins or leaves the ones that
|
|
42
|
+
* stay slide to their new place (a hand-written FLIP over 260ms, ease-out)
|
|
43
|
+
* instead of jumping. The speaking ring cross-fades in 90ms and follows
|
|
44
|
+
* `speakingId` only after it has held still for 400ms, so it never strobes
|
|
45
|
+
* between two people talking over each other. REC pulses on a 1.6s loop and is
|
|
46
|
+
* the only thing that loops. A tile can be pinned. Reduced motion stops the
|
|
47
|
+
* pulse and the slide.
|
|
48
|
+
*
|
|
49
|
+
* Stills only: each tile is a photo, never a video. Every real action (the view
|
|
50
|
+
* button, fullscreen, the dock, pinning) is a callback.
|
|
51
|
+
*
|
|
52
|
+
* Content limits: a name chip up to 28 characters and the meeting name up to
|
|
53
|
+
* 42. The other limits are in the block's documentation page, which the
|
|
54
|
+
* default copy stays inside.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
export interface VideoCallGridGalleryCallCopy {
|
|
58
|
+
/** The meeting's name. */
|
|
59
|
+
title: string
|
|
60
|
+
/** The elapsed time. */
|
|
61
|
+
time: string
|
|
62
|
+
/** The REC badge's text. */
|
|
63
|
+
recordingLabel: string
|
|
64
|
+
/** The view button's label. */
|
|
65
|
+
view: string
|
|
66
|
+
/** Names the fullscreen button. */
|
|
67
|
+
fullscreen: string
|
|
68
|
+
/** Names the people badge; `{count}` is filled in. */
|
|
69
|
+
people: string
|
|
70
|
+
/** Names a tile's pin button; `{name}` is filled in. */
|
|
71
|
+
pinLabel: string
|
|
72
|
+
/** Names a dot of the phone's pager; `{n}` and `{total}` are filled in. */
|
|
73
|
+
tileLabel: string
|
|
74
|
+
/** The people on the call, in order. Tiles beyond the third do not show on a phone. */
|
|
75
|
+
participants: VideoCallParticipant[]
|
|
76
|
+
/** The dock's controls, and Leave's three lines. */
|
|
77
|
+
dock: StageDockCopy
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** Figma's copy, English and Arabic. */
|
|
81
|
+
const COPY: Record<VideoCallLocale, VideoCallGridGalleryCallCopy> = {
|
|
82
|
+
en: {
|
|
83
|
+
title: "Design sync — weekly",
|
|
84
|
+
time: "24:18",
|
|
85
|
+
recordingLabel: "REC",
|
|
86
|
+
view: "Grid",
|
|
87
|
+
fullscreen: "Full screen",
|
|
88
|
+
people: "{count} people on the call",
|
|
89
|
+
pinLabel: "Pin {name}",
|
|
90
|
+
tileLabel: "Show tile {n} of {total}",
|
|
91
|
+
participants: [
|
|
92
|
+
{ id: "karim", name: "Karim Nasser" },
|
|
93
|
+
{ id: "mazen", name: "Mazen Darwish" },
|
|
94
|
+
{ id: "omar", name: "Omar Youssef" },
|
|
95
|
+
{ id: "salim", name: "Salim Rahal", initials: "SR" },
|
|
96
|
+
{ id: "tariq", name: "Tariq Aziz" },
|
|
97
|
+
{ id: "yassin", name: "Yassin Haddad (you)" },
|
|
98
|
+
],
|
|
99
|
+
dock: STAGE_DOCK_COPY.en,
|
|
100
|
+
},
|
|
101
|
+
ar: {
|
|
102
|
+
title: "مزامنة التصميم الأسبوعية",
|
|
103
|
+
time: "24:18",
|
|
104
|
+
recordingLabel: "تسجيل",
|
|
105
|
+
view: "شبكة",
|
|
106
|
+
fullscreen: "ملء الشاشة",
|
|
107
|
+
people: "{count} أشخاص في المكالمة",
|
|
108
|
+
pinLabel: "تثبيت {name}",
|
|
109
|
+
tileLabel: "عرض البلاطة {n} من {total}",
|
|
110
|
+
participants: [
|
|
111
|
+
{ id: "karim", name: "كريم ناصر" },
|
|
112
|
+
{ id: "mazen", name: "مازن درويش" },
|
|
113
|
+
{ id: "omar", name: "عمر يوسف" },
|
|
114
|
+
{ id: "salim", name: "سليم رحال", initials: "س ر" },
|
|
115
|
+
{ id: "tariq", name: "طارق عزيز" },
|
|
116
|
+
{ id: "yassin", name: "ياسين حداد (أنت)" },
|
|
117
|
+
],
|
|
118
|
+
dock: STAGE_DOCK_COPY.ar,
|
|
119
|
+
},
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface VideoCallGridGalleryCallProps extends Omit<React.HTMLAttributes<HTMLElement>, "title">, Partial<VideoCallGridGalleryCallCopy> {
|
|
123
|
+
/** Which language the default copy is in. The page's `dir` sets the direction. */
|
|
124
|
+
locale?: VideoCallLocale
|
|
125
|
+
/** The people's photos, by participant `id`. A person without one shows their initials. */
|
|
126
|
+
photos?: VideoCallPhotos
|
|
127
|
+
/** Who is speaking. The ring follows after 400ms of holding still. */
|
|
128
|
+
speakingId?: string
|
|
129
|
+
/** Shows REC. */
|
|
130
|
+
recording?: boolean
|
|
131
|
+
/** The `id`s of the tiles that can be pinned. Defaults to your own tile, `yassin`. */
|
|
132
|
+
pinnableIds?: string[]
|
|
133
|
+
/** Called with the tile's `id` when it is pinned, or `null` when it is unpinned. */
|
|
134
|
+
onPinnedChange?: (id: string | null) => void
|
|
135
|
+
/** Called when the view button is pressed. */
|
|
136
|
+
onViewChange?: () => void
|
|
137
|
+
/** Called when fullscreen is pressed. */
|
|
138
|
+
onFullscreen?: () => void
|
|
139
|
+
/** Called when a dock control is pressed. Toggles also say whether they are now pressed. */
|
|
140
|
+
onControl?: (id: string, pressed: boolean) => void
|
|
141
|
+
/** Called with the id of the chosen More-menu item. */
|
|
142
|
+
onMenuAction?: (id: string) => void
|
|
143
|
+
/** Called once Leave is held for 400ms, or confirmed with a second press from the keyboard. */
|
|
144
|
+
onLeave?: () => void
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/** The pulse REC's dot makes on a 1.6s loop, the only looping thing in the block. */
|
|
148
|
+
function RecordingDot() {
|
|
149
|
+
const ref = React.useRef<HTMLSpanElement>(null)
|
|
150
|
+
React.useEffect(() => {
|
|
151
|
+
const node = ref.current
|
|
152
|
+
if (!node || typeof node.animate !== "function" || prefersReducedMotion()) return
|
|
153
|
+
const animation = node.animate([{ opacity: 1 }, { opacity: 0.35 }, { opacity: 1 }], { duration: 1600, iterations: Infinity, easing: "ease-in-out" })
|
|
154
|
+
return () => animation.cancel()
|
|
155
|
+
}, [])
|
|
156
|
+
return <span ref={ref} aria-hidden className="size-2 rounded-full bg-current" />
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
const GAP = 12
|
|
160
|
+
|
|
161
|
+
export function VideoCallGridGalleryCall({
|
|
162
|
+
locale = "en",
|
|
163
|
+
title,
|
|
164
|
+
time,
|
|
165
|
+
recordingLabel,
|
|
166
|
+
view,
|
|
167
|
+
fullscreen,
|
|
168
|
+
people,
|
|
169
|
+
pinLabel,
|
|
170
|
+
tileLabel,
|
|
171
|
+
participants,
|
|
172
|
+
dock,
|
|
173
|
+
photos,
|
|
174
|
+
speakingId = "karim",
|
|
175
|
+
recording = true,
|
|
176
|
+
pinnableIds = ["yassin"],
|
|
177
|
+
onPinnedChange,
|
|
178
|
+
onViewChange,
|
|
179
|
+
onFullscreen,
|
|
180
|
+
onControl,
|
|
181
|
+
onMenuAction,
|
|
182
|
+
onLeave,
|
|
183
|
+
className,
|
|
184
|
+
...props
|
|
185
|
+
}: VideoCallGridGalleryCallProps) {
|
|
186
|
+
const copy = COPY[locale]
|
|
187
|
+
const list = participants ?? copy.participants
|
|
188
|
+
const d = dock ?? copy.dock
|
|
189
|
+
const name = title ?? copy.title
|
|
190
|
+
const ring = useDebouncedValue(speakingId, 400)
|
|
191
|
+
const [pinned, setPinned] = React.useState<string | null>(null)
|
|
192
|
+
const [page, setPage] = React.useState(0)
|
|
193
|
+
const scroller = React.useRef<HTMLDivElement>(null)
|
|
194
|
+
const grid = useFlip<HTMLDivElement>(list.map((person) => person.id).join(","))
|
|
195
|
+
const phoneCount = Math.min(3, list.length)
|
|
196
|
+
|
|
197
|
+
const onScroll = (event: React.UIEvent<HTMLDivElement>) => {
|
|
198
|
+
const node = event.currentTarget
|
|
199
|
+
setPage(Math.max(0, Math.min(phoneCount - 1, Math.round(Math.abs(node.scrollLeft) / (node.clientWidth + GAP)))))
|
|
200
|
+
}
|
|
201
|
+
const goTo = (index: number) => {
|
|
202
|
+
const node = scroller.current
|
|
203
|
+
if (!node) return
|
|
204
|
+
const sign = getComputedStyle(node).direction === "rtl" ? -1 : 1
|
|
205
|
+
node.scrollTo({ left: sign * index * (node.clientWidth + GAP), behavior: prefersReducedMotion() ? "auto" : "smooth" })
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
return (
|
|
209
|
+
<VideoCallSection aria-label={name} gap="sm" className={className} {...props}>
|
|
210
|
+
<CallStage>
|
|
211
|
+
<StageBar
|
|
212
|
+
className="px-2 py-1"
|
|
213
|
+
leading={
|
|
214
|
+
recording ? (
|
|
215
|
+
<Badge
|
|
216
|
+
variant="solid"
|
|
217
|
+
tone="destructive"
|
|
218
|
+
size="md"
|
|
219
|
+
radius="rounded"
|
|
220
|
+
icon={<RecordingDot />}
|
|
221
|
+
className="hidden [@container(min-width:40rem)]:inline-flex [@container(min-width:64rem)]:min-h-[1.625rem] [@container(min-width:64rem)]:gap-1.5 [@container(min-width:64rem)]:px-3"
|
|
222
|
+
>
|
|
223
|
+
{recordingLabel ?? copy.recordingLabel}
|
|
224
|
+
</Badge>
|
|
225
|
+
) : null
|
|
226
|
+
}
|
|
227
|
+
title={<Figures>{name}</Figures>}
|
|
228
|
+
time={time ?? copy.time}
|
|
229
|
+
actions={
|
|
230
|
+
<>
|
|
231
|
+
<Button type="button" size="xs" radius="rounded" onClick={onViewChange}>
|
|
232
|
+
<LayoutGrid aria-hidden />
|
|
233
|
+
{view ?? copy.view}
|
|
234
|
+
</Button>
|
|
235
|
+
<Badge variant="solid" tone="primary" size="lg" radius="rounded" icon={<Users />} aria-label={fillTemplate(people ?? copy.people, { count: list.length })}>
|
|
236
|
+
{list.length}
|
|
237
|
+
</Badge>
|
|
238
|
+
<Button type="button" size="icon-xs" radius="rounded" aria-label={fullscreen ?? copy.fullscreen} onClick={onFullscreen}>
|
|
239
|
+
<Maximize aria-hidden />
|
|
240
|
+
</Button>
|
|
241
|
+
</>
|
|
242
|
+
}
|
|
243
|
+
/>
|
|
244
|
+
|
|
245
|
+
<div ref={grid}>
|
|
246
|
+
<div
|
|
247
|
+
ref={scroller}
|
|
248
|
+
onScroll={onScroll}
|
|
249
|
+
className={cn(
|
|
250
|
+
"flex snap-x snap-mandatory gap-3 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
251
|
+
"[@container(min-width:40rem)]:grid [@container(min-width:40rem)]:snap-none [@container(min-width:40rem)]:grid-cols-2 [@container(min-width:40rem)]:overflow-visible [@container(min-width:64rem)]:grid-cols-3"
|
|
252
|
+
)}
|
|
253
|
+
>
|
|
254
|
+
{list.map((person, index) => (
|
|
255
|
+
<ParticipantTile
|
|
256
|
+
key={person.id}
|
|
257
|
+
data-flip={person.id}
|
|
258
|
+
name={person.name}
|
|
259
|
+
photo={photos?.[person.id]}
|
|
260
|
+
initials={photos?.[person.id] ? undefined : person.initials}
|
|
261
|
+
muted={person.muted}
|
|
262
|
+
speaking={ring === person.id}
|
|
263
|
+
pinned={pinned === person.id}
|
|
264
|
+
pinLabel={fillTemplate(pinLabel ?? copy.pinLabel, { name: person.name })}
|
|
265
|
+
onPinnedChange={
|
|
266
|
+
pinnableIds.includes(person.id)
|
|
267
|
+
? (next) => {
|
|
268
|
+
setPinned(next ? person.id : null)
|
|
269
|
+
onPinnedChange?.(next ? person.id : null)
|
|
270
|
+
}
|
|
271
|
+
: undefined
|
|
272
|
+
}
|
|
273
|
+
className={cn(
|
|
274
|
+
"aspect-[4/3] w-full shrink-0 snap-center rounded-[0.625rem] [@container(min-width:40rem)]:aspect-[298/176] [@container(min-width:64rem)]:aspect-[397/224]",
|
|
275
|
+
index >= 3 && "hidden [@container(min-width:40rem)]:block"
|
|
276
|
+
)}
|
|
277
|
+
/>
|
|
278
|
+
))}
|
|
279
|
+
</div>
|
|
280
|
+
{phoneCount > 1 ? (
|
|
281
|
+
<CarouselDots
|
|
282
|
+
count={phoneCount}
|
|
283
|
+
activeIndex={page}
|
|
284
|
+
onActiveIndexChange={goTo}
|
|
285
|
+
label={(index, total) => fillTemplate(tileLabel ?? copy.tileLabel, { n: index + 1, total })}
|
|
286
|
+
className="mt-3 [@container(min-width:40rem)]:hidden"
|
|
287
|
+
/>
|
|
288
|
+
) : null}
|
|
289
|
+
</div>
|
|
290
|
+
|
|
291
|
+
<ControlsDock
|
|
292
|
+
className="pt-2 pb-1"
|
|
293
|
+
label={d.label}
|
|
294
|
+
size="lg" phoneSize="md"
|
|
295
|
+
controls={stageDockControls(d)}
|
|
296
|
+
leaveLabel={d.leave}
|
|
297
|
+
leaveConfirmLabel={d.leaveConfirm}
|
|
298
|
+
leaveHint={d.leaveHint}
|
|
299
|
+
onControl={onControl}
|
|
300
|
+
onMenuAction={onMenuAction}
|
|
301
|
+
onLeave={onLeave}
|
|
302
|
+
/>
|
|
303
|
+
</CallStage>
|
|
304
|
+
</VideoCallSection>
|
|
305
|
+
)
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* The default copy, English and Arabic, as `locale` picks it. Spread it to
|
|
310
|
+
* change a few strings and keep the rest.
|
|
311
|
+
*/
|
|
312
|
+
export const videoCallGridGalleryCallCopy = COPY
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import * as React from "react"
|
|
4
|
+
import { CircleDot, Hand, MessageSquare, Mic, MonitorUp, PhoneOff, Star, Users, Video, Zap } from "lucide-react"
|
|
5
|
+
import { Avatar } from "../../ui/avatar/avatar"
|
|
6
|
+
import { Badge } from "../../ui/badge/badge"
|
|
7
|
+
import { Button } from "../../ui/button/button"
|
|
8
|
+
import { cn } from "../../../src/lib/utils"
|
|
9
|
+
import {
|
|
10
|
+
BASE_MS,
|
|
11
|
+
FAST_MS,
|
|
12
|
+
Figures,
|
|
13
|
+
STAGGER_MS,
|
|
14
|
+
STANDARD,
|
|
15
|
+
VideoCallSection,
|
|
16
|
+
containerTier,
|
|
17
|
+
passedCopy,
|
|
18
|
+
prefersReducedMotion,
|
|
19
|
+
restOf,
|
|
20
|
+
type VideoCallLocale,
|
|
21
|
+
type VideoCallPhotos,
|
|
22
|
+
} from "../video-call/video-call"
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* Figma: `Video Call` (42869:1033), Type=Hero — Call Mockup.
|
|
26
|
+
*
|
|
27
|
+
* The marketing hero for a page that sells a call product: a tag, the
|
|
28
|
+
* headline, a line under it, two buttons, and a line of proof (five faces,
|
|
29
|
+
* five stars and what they say), beside a picture of the product, a call with
|
|
30
|
+
* a bar, three tiles and a dock. The picture is a still: it does nothing, and
|
|
31
|
+
* is hidden from assistive technology and from the keyboard.
|
|
32
|
+
*
|
|
33
|
+
* Desktop sets the copy 580px wide at the start and the mockup filling the
|
|
34
|
+
* rest, centred on the copy. Tablet stacks them, the copy over the mockup,
|
|
35
|
+
* with the headline still 48px. A phone sets the headline at 30px, the buttons
|
|
36
|
+
* full width and the proof in a column, and the mockup keeps two tiles and a
|
|
37
|
+
* dock of three controls and Leave.
|
|
38
|
+
*
|
|
39
|
+
* On load the tag, headline, line, buttons and proof each rise 16px and fade
|
|
40
|
+
* in, 70ms apart. The mockup follows 120ms after the last, scaling from 0.96
|
|
41
|
+
* with its shadow growing in the same move, and then its tiles settle one after
|
|
42
|
+
* another, 60ms apart. The REC dot pulses only once the mockup has landed, and
|
|
43
|
+
* it is the one thing in the block that loops. A phone has no scale (a 0.96
|
|
44
|
+
* scale does not read at that size), so the mockup fades in. Reduced motion
|
|
45
|
+
* shows everything in one 120ms fade and nothing loops. The motion has no
|
|
46
|
+
* reading direction; the columns mirror, and the tiles fill from the start.
|
|
47
|
+
*
|
|
48
|
+
* Stills only. The buttons call `onStart` and `onTour`.
|
|
49
|
+
*
|
|
50
|
+
* Content limits: a headline up to 32 characters and a line under it up to
|
|
51
|
+
* 140. The other limits are in the block's documentation page, which the
|
|
52
|
+
* default copy stays inside.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export interface VideoCallHeroTile {
|
|
56
|
+
/** Keys the tile, and picks its photo from `photos`. */
|
|
57
|
+
id: string
|
|
58
|
+
/** The name on the chip: `Mazen`. */
|
|
59
|
+
name: string
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface VideoCallHeroCallMockupCopy {
|
|
63
|
+
/** The small badge above the headline. */
|
|
64
|
+
tag: string
|
|
65
|
+
/** The headline, an `h2`. */
|
|
66
|
+
heading: string
|
|
67
|
+
/** The line under it. */
|
|
68
|
+
description: string
|
|
69
|
+
/** The primary button, and the outline one beside it. */
|
|
70
|
+
start: string
|
|
71
|
+
tour: string
|
|
72
|
+
/** What the proof says, beside the faces and the stars. */
|
|
73
|
+
proof: string
|
|
74
|
+
/** Names the five stars: `Rated 4.9 out of 5`. */
|
|
75
|
+
ratingLabel: string
|
|
76
|
+
/** The faces in the proof, by `id` in `photos`. */
|
|
77
|
+
people: string[]
|
|
78
|
+
/** What the mockup's bar says: the call's name, the recording badge and the head count. */
|
|
79
|
+
mockupTitle: string
|
|
80
|
+
rec: string
|
|
81
|
+
count: string
|
|
82
|
+
/** The mockup's tiles, in order. A phone shows the first two. */
|
|
83
|
+
tiles: VideoCallHeroTile[]
|
|
84
|
+
/** The mockup's five dock controls, in order (mic, camera, share, chat, hand), named for the warning every icon button raises. */
|
|
85
|
+
controls: string[]
|
|
86
|
+
/** The mockup's Leave button. */
|
|
87
|
+
leave: string
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/** Figma's copy, English and Arabic. */
|
|
91
|
+
const COPY: Record<VideoCallLocale, VideoCallHeroCallMockupCopy> = {
|
|
92
|
+
en: {
|
|
93
|
+
tag: "No downloads · joins in one tap",
|
|
94
|
+
heading: "Meetings that start on time",
|
|
95
|
+
description: "Fasla runs in the browser, remembers every device choice, and hands you the recap before anyone has left the room.",
|
|
96
|
+
start: "Start a free room",
|
|
97
|
+
tour: "Watch a 2-min tour",
|
|
98
|
+
proof: "4.9 from 2,100 teams that switched this year",
|
|
99
|
+
ratingLabel: "Rated 4.9 out of 5",
|
|
100
|
+
people: ["mazen", "karim", "nabil", "tariq", "laith"],
|
|
101
|
+
mockupTitle: "Design sync",
|
|
102
|
+
rec: "REC",
|
|
103
|
+
count: "3",
|
|
104
|
+
tiles: [
|
|
105
|
+
{ id: "mazen", name: "Mazen" },
|
|
106
|
+
{ id: "adam", name: "Adam" },
|
|
107
|
+
{ id: "nabil", name: "Nabil" },
|
|
108
|
+
],
|
|
109
|
+
controls: ["Mute", "Camera", "Share screen", "Chat", "Raise hand"],
|
|
110
|
+
leave: "Leave",
|
|
111
|
+
},
|
|
112
|
+
ar: {
|
|
113
|
+
tag: "بدون تنزيل وانضمام بلمسة واحدة",
|
|
114
|
+
heading: "اجتماعات تبدأ في وقتها",
|
|
115
|
+
description: "تعمل فاصلة في المتصفح، وتتذكر كل اختيار للأجهزة، وتمنحك الملخّص قبل أن يخرج أحد من الغرفة.",
|
|
116
|
+
start: "ابدأ غرفة مجانية",
|
|
117
|
+
tour: "شاهد جولة بدقيقتين",
|
|
118
|
+
proof: "4.9 من 2,100 فريق انتقلوا هذا العام",
|
|
119
|
+
ratingLabel: "تقييم 4.9 من 5",
|
|
120
|
+
people: ["mazen", "karim", "nabil", "tariq", "laith"],
|
|
121
|
+
mockupTitle: "مزامنة التصميم",
|
|
122
|
+
rec: "تسجيل",
|
|
123
|
+
count: "3",
|
|
124
|
+
tiles: [
|
|
125
|
+
{ id: "mazen", name: "مازن" },
|
|
126
|
+
{ id: "adam", name: "آدم" },
|
|
127
|
+
{ id: "nabil", name: "نبيل" },
|
|
128
|
+
],
|
|
129
|
+
controls: ["كتم", "الكاميرا", "مشاركة الشاشة", "الدردشة", "رفع اليد"],
|
|
130
|
+
leave: "خروج",
|
|
131
|
+
},
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const COPY_KEYS = Object.keys(COPY.en)
|
|
135
|
+
|
|
136
|
+
/** Names for the faces in the proof, for the avatars' accessible names. */
|
|
137
|
+
const PERSON_NAMES: Record<VideoCallLocale, Record<string, string>> = {
|
|
138
|
+
en: { mazen: "Mazen Darwish", karim: "Karim Nasser", nabil: "Nabil Khalil", tariq: "Tariq Aziz", laith: "Laith Hassan" },
|
|
139
|
+
ar: { mazen: "مازن درويش", karim: "كريم ناصر", nabil: "نبيل خليل", tariq: "طارق عزيز", laith: "ليث حسن" },
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface VideoCallHeroCallMockupProps
|
|
143
|
+
extends Omit<React.HTMLAttributes<HTMLElement>, "title">,
|
|
144
|
+
Partial<VideoCallHeroCallMockupCopy> {
|
|
145
|
+
/** Which language the default copy is in. The page's `dir` sets the direction. */
|
|
146
|
+
locale?: VideoCallLocale
|
|
147
|
+
/** The photos of the faces and tiles, by `id`. A person without one shows their initials. */
|
|
148
|
+
photos?: VideoCallPhotos
|
|
149
|
+
/** Called when the primary button (Start a free room) is pressed. */
|
|
150
|
+
onStart?: () => void
|
|
151
|
+
/** Called when the outline button (Watch a 2-min tour) is pressed. */
|
|
152
|
+
onTour?: () => void
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The mockup's still: a tile is a photo with a name chip at the bottom start.
|
|
157
|
+
* The shared `ParticipantTile` carries a mic mark on its chip, which this
|
|
158
|
+
* picture does not draw, so the tile is its own few lines.
|
|
159
|
+
*/
|
|
160
|
+
function MockTile({ name, photo, className }: { name: string; photo?: { src: string; alt: string; position?: string }; className?: string }) {
|
|
161
|
+
return (
|
|
162
|
+
<div data-hero-tile="" className={cn("relative isolate overflow-hidden rounded-lg bg-muted", className)}>
|
|
163
|
+
{photo ? <img src={photo.src} alt="" loading="lazy" decoding="async" style={photo.position ? { objectPosition: photo.position } : undefined} className="absolute inset-0 -z-10 size-full object-cover object-[50%_42%]" /> : null}
|
|
164
|
+
<Badge variant="solid" tone="primary" size="lg" radius="standard" className="absolute bottom-2 start-2">
|
|
165
|
+
<Figures>{name}</Figures>
|
|
166
|
+
</Badge>
|
|
167
|
+
</div>
|
|
168
|
+
)
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function VideoCallHeroCallMockup({ locale = "en", photos, onStart, onTour, className, ...props }: VideoCallHeroCallMockupProps) {
|
|
172
|
+
const copy = { ...COPY[locale], ...passedCopy(COPY_KEYS, props) } as VideoCallHeroCallMockupCopy
|
|
173
|
+
const rest = restOf(COPY_KEYS, props) as React.HTMLAttributes<HTMLElement>
|
|
174
|
+
const headingId = React.useId()
|
|
175
|
+
const anchor = React.useRef<HTMLDivElement>(null)
|
|
176
|
+
const names = PERSON_NAMES[locale]
|
|
177
|
+
|
|
178
|
+
// The copy rises 70ms apart, the mockup follows and its tiles settle, and the REC dot pulses once it has landed.
|
|
179
|
+
React.useLayoutEffect(() => {
|
|
180
|
+
const node = anchor.current?.closest<HTMLElement>("[data-video-call]")
|
|
181
|
+
if (!node) return
|
|
182
|
+
const copyNodes = Array.from(node.querySelectorAll<HTMLElement>("[data-hero-copy]")).filter((item) => typeof item.animate === "function")
|
|
183
|
+
const mock = node.querySelector<HTMLElement>("[data-hero-mock]")
|
|
184
|
+
const tiles = Array.from(node.querySelectorAll<HTMLElement>("[data-hero-tile]")).filter((item) => typeof item.animate === "function")
|
|
185
|
+
const dot = node.querySelector<HTMLElement>("[data-hero-dot]")
|
|
186
|
+
const animations: Animation[] = []
|
|
187
|
+
let cancelled = false
|
|
188
|
+
const fade = [{ opacity: 0 }, { opacity: 1 }]
|
|
189
|
+
|
|
190
|
+
if (prefersReducedMotion()) {
|
|
191
|
+
for (const item of [...copyNodes, ...(mock && typeof mock.animate === "function" ? [mock] : [])]) animations.push(item.animate(fade, { duration: FAST_MS, easing: STANDARD, fill: "backwards" }))
|
|
192
|
+
return () => animations.forEach((animation) => animation.cancel())
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
copyNodes.forEach((item, index) => {
|
|
196
|
+
animations.push(
|
|
197
|
+
item.animate([{ opacity: 0, transform: "translateY(16px)" }, { opacity: 1, transform: "none" }], {
|
|
198
|
+
duration: BASE_MS,
|
|
199
|
+
delay: index * 70,
|
|
200
|
+
easing: STANDARD,
|
|
201
|
+
fill: "backwards",
|
|
202
|
+
})
|
|
203
|
+
)
|
|
204
|
+
})
|
|
205
|
+
|
|
206
|
+
const mockDelay = Math.max(copyNodes.length - 1, 0) * 70 + 120
|
|
207
|
+
if (mock && typeof mock.animate === "function") {
|
|
208
|
+
const phone = containerTier(node) === "mobile"
|
|
209
|
+
// The shadow it grows into is the one `shadow-2xl` gives it, read off the element so the token stays the only source.
|
|
210
|
+
const restShadow = getComputedStyle(mock).boxShadow || "none"
|
|
211
|
+
const landed = mock.animate(
|
|
212
|
+
phone
|
|
213
|
+
? fade
|
|
214
|
+
: [
|
|
215
|
+
{ opacity: 0, transform: "scale(0.96)", boxShadow: "none" },
|
|
216
|
+
{ opacity: 1, transform: "none", boxShadow: restShadow },
|
|
217
|
+
],
|
|
218
|
+
{ duration: 240, delay: mockDelay, easing: STANDARD, fill: "backwards" }
|
|
219
|
+
)
|
|
220
|
+
animations.push(landed)
|
|
221
|
+
tiles.forEach((item, index) => {
|
|
222
|
+
animations.push(
|
|
223
|
+
item.animate([{ opacity: 0, transform: "scale(0.98)" }, { opacity: 1, transform: "none" }], {
|
|
224
|
+
duration: BASE_MS,
|
|
225
|
+
delay: mockDelay + 240 + index * STAGGER_MS,
|
|
226
|
+
easing: STANDARD,
|
|
227
|
+
fill: "backwards",
|
|
228
|
+
})
|
|
229
|
+
)
|
|
230
|
+
})
|
|
231
|
+
// The one loop in the block starts when the mockup has landed.
|
|
232
|
+
const pulse = () => {
|
|
233
|
+
if (cancelled || !dot || typeof dot.animate !== "function") return
|
|
234
|
+
animations.push(dot.animate([{ opacity: 1 }, { opacity: 0.4 }, { opacity: 1 }], { duration: 1600, iterations: Infinity, easing: "ease-in-out" }))
|
|
235
|
+
}
|
|
236
|
+
if (landed.finished) landed.finished.then(pulse, () => undefined)
|
|
237
|
+
else pulse()
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
return () => {
|
|
241
|
+
cancelled = true
|
|
242
|
+
animations.forEach((animation) => animation.cancel())
|
|
243
|
+
}
|
|
244
|
+
}, [])
|
|
245
|
+
|
|
246
|
+
return (
|
|
247
|
+
<VideoCallSection
|
|
248
|
+
labelledBy={headingId}
|
|
249
|
+
className={className}
|
|
250
|
+
gap="sm"
|
|
251
|
+
contentClassName="gap-6 [@container(min-width:40rem)]:gap-8 [@container(min-width:64rem)]:flex-row [@container(min-width:64rem)]:items-center [@container(min-width:64rem)]:gap-12"
|
|
252
|
+
{...rest}
|
|
253
|
+
>
|
|
254
|
+
<div ref={anchor} className="flex min-w-0 flex-col gap-6 [@container(min-width:64rem)]:w-[580px] [@container(min-width:64rem)]:shrink-0">
|
|
255
|
+
<div data-hero-copy="" className="flex">
|
|
256
|
+
<Badge variant="solid" tone="primary" size="lg" radius="rounded" icon={<Zap />}>
|
|
257
|
+
<Figures>{copy.tag}</Figures>
|
|
258
|
+
</Badge>
|
|
259
|
+
</div>
|
|
260
|
+
<h2 id={headingId} data-hero-copy="" className="text-balance text-3xl font-semibold text-foreground [@container(min-width:40rem)]:text-5xl">
|
|
261
|
+
{copy.heading}
|
|
262
|
+
</h2>
|
|
263
|
+
<p data-hero-copy="" className="max-w-[580px] text-base text-muted-foreground">
|
|
264
|
+
{copy.description}
|
|
265
|
+
</p>
|
|
266
|
+
<div data-hero-copy="" className="flex flex-col gap-2 [@container(min-width:40rem)]:flex-row [@container(min-width:40rem)]:gap-3">
|
|
267
|
+
<Button type="button" size="lg" onClick={onStart} className="w-full [@container(min-width:40rem)]:w-auto">
|
|
268
|
+
{copy.start}
|
|
269
|
+
</Button>
|
|
270
|
+
<Button type="button" size="lg" variant="outline" tone="secondary" onClick={onTour} className="w-full [@container(min-width:40rem)]:w-auto">
|
|
271
|
+
{copy.tour}
|
|
272
|
+
</Button>
|
|
273
|
+
</div>
|
|
274
|
+
<div data-hero-copy="" className="flex flex-col items-start gap-2 [@container(min-width:40rem)]:flex-row [@container(min-width:40rem)]:items-center [@container(min-width:40rem)]:gap-3">
|
|
275
|
+
<div aria-hidden className="flex shrink-0 items-center gap-1.5">
|
|
276
|
+
{copy.people.map((id) => (
|
|
277
|
+
<Avatar key={id} size="32" radius="standard" variant={photos?.[id] ? "image" : "initials"} src={photos?.[id]?.src} name={names[id] ?? id} />
|
|
278
|
+
))}
|
|
279
|
+
</div>
|
|
280
|
+
<div className="flex min-w-0 flex-col gap-1">
|
|
281
|
+
<div role="img" aria-label={copy.ratingLabel} className="flex items-center gap-1.5 text-warning">
|
|
282
|
+
{Array.from({ length: 5 }, (_, index) => (
|
|
283
|
+
<Star key={index} aria-hidden className="size-3.5" />
|
|
284
|
+
))}
|
|
285
|
+
</div>
|
|
286
|
+
<p className="text-xs text-muted-foreground">
|
|
287
|
+
<Figures>{copy.proof}</Figures>
|
|
288
|
+
</p>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
</div>
|
|
292
|
+
|
|
293
|
+
<div className="min-w-0 [@container(min-width:64rem)]:flex-1">
|
|
294
|
+
<div
|
|
295
|
+
data-hero-mock=""
|
|
296
|
+
aria-hidden
|
|
297
|
+
// The picture is a still: nothing in it takes focus or a click.
|
|
298
|
+
{...({ inert: "" } as Record<string, unknown>)}
|
|
299
|
+
className="pointer-events-none flex select-none flex-col gap-2 rounded-[0.875rem] border border-border bg-card p-2 shadow-2xl"
|
|
300
|
+
>
|
|
301
|
+
<div className="flex h-8 items-center justify-between px-2">
|
|
302
|
+
<div className="flex items-center gap-2">
|
|
303
|
+
<Badge variant="solid" tone="destructive" size="lg" radius="rounded" icon={<span data-hero-dot="" className="inline-flex size-3 items-center justify-center [&>svg]:size-3"><CircleDot /></span>}>
|
|
304
|
+
{copy.rec}
|
|
305
|
+
</Badge>
|
|
306
|
+
<span className="text-xs text-foreground">
|
|
307
|
+
<Figures>{copy.mockupTitle}</Figures>
|
|
308
|
+
</span>
|
|
309
|
+
</div>
|
|
310
|
+
<span className="flex items-center gap-1.5 text-xs text-muted-foreground">
|
|
311
|
+
<Users aria-hidden className="size-3" />
|
|
312
|
+
<Figures>{copy.count}</Figures>
|
|
313
|
+
</span>
|
|
314
|
+
</div>
|
|
315
|
+
<div className="grid grid-cols-2 gap-2 [@container(min-width:40rem)]:grid-cols-3">
|
|
316
|
+
{copy.tiles.map((tile, index) => (
|
|
317
|
+
<MockTile
|
|
318
|
+
key={tile.id}
|
|
319
|
+
name={tile.name}
|
|
320
|
+
photo={photos?.[tile.id]}
|
|
321
|
+
className={cn("h-[7.5rem] [@container(min-width:40rem)]:h-[11.75rem]", index > 1 && "hidden [@container(min-width:40rem)]:block")}
|
|
322
|
+
/>
|
|
323
|
+
))}
|
|
324
|
+
</div>
|
|
325
|
+
<div className="flex items-center justify-center gap-1.5 py-1.5">
|
|
326
|
+
{[0, 1, 2, 3, 4].map((index) => (
|
|
327
|
+
<Button key={index} type="button" tabIndex={-1} size="icon-sm" radius="rounded" aria-label={copy.controls[index]} aria-hidden className={cn(index > 2 && "hidden [@container(min-width:40rem)]:inline-flex")}>
|
|
328
|
+
{React.createElement(DOCK_GLYPHS[index]!, { "aria-hidden": true })}
|
|
329
|
+
</Button>
|
|
330
|
+
))}
|
|
331
|
+
<Button type="button" tabIndex={-1} size="sm" radius="rounded" variant="default" tone="destructive" aria-hidden>
|
|
332
|
+
<PhoneOff aria-hidden />
|
|
333
|
+
{copy.leave}
|
|
334
|
+
</Button>
|
|
335
|
+
</div>
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
</VideoCallSection>
|
|
339
|
+
)
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** The dock's five controls, in Figma's order: mic, camera, share, chat, hand. */
|
|
343
|
+
const DOCK_GLYPHS: React.ElementType[] = [Mic, Video, MonitorUp, MessageSquare, Hand]
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* The default copy, English and Arabic, as `locale` picks it. Spread it to
|
|
347
|
+
* change a few strings and keep the rest.
|
|
348
|
+
*/
|
|
349
|
+
export const videoCallHeroCallMockupCopy = COPY
|