@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.
Files changed (962) hide show
  1. package/README.md +24 -5
  2. package/dist/cli/index.js +2983 -648
  3. package/dist/index.cjs +50 -12
  4. package/dist/index.js +50 -12
  5. package/dist/motion/index.cjs +12 -0
  6. package/dist/motion/index.d.cts +7 -0
  7. package/dist/motion/index.d.ts +7 -0
  8. package/dist/motion/index.js +12 -0
  9. package/dist/registry/index.cjs +4 -4
  10. package/dist/registry/index.js +4 -4
  11. package/dist/tokens/index.cjs +34 -8
  12. package/dist/tokens/index.d.cts +23 -1
  13. package/dist/tokens/index.d.ts +23 -1
  14. package/dist/tokens/index.js +34 -8
  15. package/package.json +6 -1
  16. package/registry/blocks/about-approach-stack-cards/AboutApproachStackCards.tsx +305 -0
  17. package/registry/blocks/about-approach-stack-cards/index.ts +9 -0
  18. package/registry/blocks/about-bento/AboutBento.tsx +442 -0
  19. package/registry/blocks/about-bento/index.ts +9 -0
  20. package/registry/blocks/about-collage-hero/AboutCollageHero.tsx +285 -0
  21. package/registry/blocks/about-collage-hero/index.ts +8 -0
  22. package/registry/blocks/about-color-bento/AboutColorBento.tsx +235 -0
  23. package/registry/blocks/about-color-bento/index.ts +6 -0
  24. package/registry/blocks/about-culture-masonry/AboutCultureMasonry.tsx +305 -0
  25. package/registry/blocks/about-culture-masonry/index.ts +9 -0
  26. package/registry/blocks/about-headline-photos/AboutHeadlinePhotos.tsx +270 -0
  27. package/registry/blocks/about-headline-photos/index.ts +8 -0
  28. package/registry/blocks/about-impact-stats-band/AboutImpactStatsBand.test.tsx +45 -0
  29. package/registry/blocks/about-impact-stats-band/AboutImpactStatsBand.tsx +348 -0
  30. package/registry/blocks/about-impact-stats-band/index.ts +9 -0
  31. package/registry/blocks/about-letter-card/AboutLetterCard.tsx +403 -0
  32. package/registry/blocks/about-letter-card/index.ts +9 -0
  33. package/registry/blocks/about-mission-statement-hero/AboutMissionStatementHero.tsx +282 -0
  34. package/registry/blocks/about-mission-statement-hero/index.ts +8 -0
  35. package/registry/blocks/about-numbered-rows/AboutNumberedRows.tsx +289 -0
  36. package/registry/blocks/about-numbered-rows/index.ts +7 -0
  37. package/registry/blocks/about-split-panel/AboutSplitPanel.tsx +247 -0
  38. package/registry/blocks/about-split-panel/index.ts +8 -0
  39. package/registry/blocks/about-spotlight/AboutSpotlight.tsx +260 -0
  40. package/registry/blocks/about-spotlight/index.ts +7 -0
  41. package/registry/blocks/about-statement-band/AboutStatementBand.tsx +236 -0
  42. package/registry/blocks/about-statement-band/index.ts +7 -0
  43. package/registry/blocks/about-story-photos/AboutStoryPhotos.test.tsx +12 -0
  44. package/registry/blocks/about-story-photos/AboutStoryPhotos.tsx +252 -0
  45. package/registry/blocks/about-story-photos/index.ts +8 -0
  46. package/registry/blocks/about-story-snapshots/AboutStorySnapshots.tsx +239 -0
  47. package/registry/blocks/about-story-snapshots/index.ts +8 -0
  48. package/registry/blocks/about-type-stack/AboutTypeStack.tsx +205 -0
  49. package/registry/blocks/about-type-stack/index.ts +6 -0
  50. package/registry/blocks/about-values-connector-list/AboutValuesConnectorList.tsx +316 -0
  51. package/registry/blocks/about-values-connector-list/index.ts +7 -0
  52. package/registry/blocks/about-values-focus/AboutValuesFocus.tsx +303 -0
  53. package/registry/blocks/about-values-focus/index.ts +8 -0
  54. package/registry/blocks/about-values-spotlight/AboutValuesSpotlight.tsx +265 -0
  55. package/registry/blocks/about-values-spotlight/index.ts +8 -0
  56. package/registry/blocks/auth-centered-card-sign-in/AuthCenteredCardSignIn.tsx +373 -0
  57. package/registry/blocks/auth-centered-card-sign-in/index.ts +9 -0
  58. package/registry/blocks/auth-check-your-email/AuthCheckYourEmail.tsx +366 -0
  59. package/registry/blocks/auth-check-your-email/index.ts +7 -0
  60. package/registry/blocks/auth-forgot-password/AuthForgotPassword.tsx +265 -0
  61. package/registry/blocks/auth-forgot-password/index.ts +8 -0
  62. package/registry/blocks/auth-locked-session-re-authenticate/AuthLockedSessionReAuthenticate.tsx +305 -0
  63. package/registry/blocks/auth-locked-session-re-authenticate/index.ts +8 -0
  64. package/registry/blocks/auth-magic-link-request/AuthMagicLinkRequest.tsx +336 -0
  65. package/registry/blocks/auth-magic-link-request/index.ts +8 -0
  66. package/registry/blocks/auth-minimal-centered-sign-in/AuthMinimalCenteredSignIn.tsx +261 -0
  67. package/registry/blocks/auth-minimal-centered-sign-in/index.ts +8 -0
  68. package/registry/blocks/auth-multi-step-sign-up-wizard/AuthMultiStepSignUpWizard.tsx +460 -0
  69. package/registry/blocks/auth-multi-step-sign-up-wizard/index.ts +8 -0
  70. package/registry/blocks/auth-otp-verification/AuthOtpVerification.tsx +348 -0
  71. package/registry/blocks/auth-otp-verification/index.ts +7 -0
  72. package/registry/blocks/auth-passkey-sign-in/AuthPasskeySignIn.tsx +294 -0
  73. package/registry/blocks/auth-passkey-sign-in/index.ts +8 -0
  74. package/registry/blocks/auth-password-changed/AuthPasswordChanged.tsx +239 -0
  75. package/registry/blocks/auth-password-changed/index.ts +8 -0
  76. package/registry/blocks/auth-phone-number-sign-in/AuthPhoneNumberSignIn.tsx +402 -0
  77. package/registry/blocks/auth-phone-number-sign-in/index.ts +10 -0
  78. package/registry/blocks/auth-photo-background-sign-in/AuthPhotoBackgroundSignIn.tsx +398 -0
  79. package/registry/blocks/auth-photo-background-sign-in/index.ts +10 -0
  80. package/registry/blocks/auth-profile-setup-onboarding/AuthProfileSetupOnboarding.tsx +420 -0
  81. package/registry/blocks/auth-profile-setup-onboarding/index.ts +7 -0
  82. package/registry/blocks/auth-qr-device-login/AuthQrDeviceLogin.tsx +303 -0
  83. package/registry/blocks/auth-qr-device-login/index.ts +7 -0
  84. package/registry/blocks/auth-reset-password/AuthResetPassword.tsx +313 -0
  85. package/registry/blocks/auth-reset-password/index.ts +7 -0
  86. package/registry/blocks/auth-sign-in-error-state/AuthSignInErrorState.tsx +419 -0
  87. package/registry/blocks/auth-sign-in-error-state/index.ts +9 -0
  88. package/registry/blocks/auth-sign-up-benefits-column/AuthSignUpBenefitsColumn.tsx +481 -0
  89. package/registry/blocks/auth-sign-up-benefits-column/index.ts +10 -0
  90. package/registry/blocks/auth-sign-up-password-strength/AuthSignUpPasswordStrength.tsx +511 -0
  91. package/registry/blocks/auth-sign-up-password-strength/index.ts +8 -0
  92. package/registry/blocks/auth-social-first-sign-in/AuthSocialFirstSignIn.tsx +337 -0
  93. package/registry/blocks/auth-social-first-sign-in/index.ts +9 -0
  94. package/registry/blocks/auth-split-photo-sign-in/AuthSplitPhotoSignIn.tsx +472 -0
  95. package/registry/blocks/auth-split-photo-sign-in/index.ts +11 -0
  96. package/registry/blocks/auth-split-testimonial-sign-up/AuthSplitTestimonialSignUp.tsx +548 -0
  97. package/registry/blocks/auth-split-testimonial-sign-up/index.ts +11 -0
  98. package/registry/blocks/auth-tabbed-sign-in-sign-up/AuthTabbedSignInSignUp.tsx +566 -0
  99. package/registry/blocks/auth-tabbed-sign-in-sign-up/index.ts +11 -0
  100. package/registry/blocks/auth-team-invite-accept/AuthTeamInviteAccept.tsx +372 -0
  101. package/registry/blocks/auth-team-invite-accept/index.ts +9 -0
  102. package/registry/blocks/auth-two-factor-authenticator/AuthTwoFactorAuthenticator.tsx +333 -0
  103. package/registry/blocks/auth-two-factor-authenticator/index.ts +7 -0
  104. package/registry/blocks/auth-two-factor-method-chooser/AuthTwoFactorMethodChooser.tsx +290 -0
  105. package/registry/blocks/auth-two-factor-method-chooser/index.ts +8 -0
  106. package/registry/blocks/auth-waitlist-early-access/AuthWaitlistEarlyAccess.tsx +430 -0
  107. package/registry/blocks/auth-waitlist-early-access/index.ts +11 -0
  108. package/registry/blocks/blog-cards-alongside.test.tsx +176 -0
  109. package/registry/blocks/blog-cards-author-spotlight/BlogCardsAuthorSpotlight.tsx +342 -0
  110. package/registry/blocks/blog-cards-author-spotlight/index.ts +6 -0
  111. package/registry/blocks/blog-cards-bento-editorial-grid/BlogCardsBentoEditorialGrid.tsx +345 -0
  112. package/registry/blocks/blog-cards-bento-editorial-grid/index.ts +7 -0
  113. package/registry/blocks/blog-cards-browse.test.tsx +367 -0
  114. package/registry/blocks/blog-cards-classic-3-up-grid/BlogCardsClassic3UpGrid.tsx +287 -0
  115. package/registry/blocks/blog-cards-classic-3-up-grid/index.ts +7 -0
  116. package/registry/blocks/blog-cards-compact-4-up-thumb-grid/BlogCardsCompact4UpThumbGrid.tsx +265 -0
  117. package/registry/blocks/blog-cards-compact-4-up-thumb-grid/index.ts +7 -0
  118. package/registry/blocks/blog-cards-dark-editorial-feature/BlogCardsDarkEditorialFeature.tsx +287 -0
  119. package/registry/blocks/blog-cards-dark-editorial-feature/index.ts +6 -0
  120. package/registry/blocks/blog-cards-featured-two-up/BlogCardsFeaturedTwoUp.tsx +295 -0
  121. package/registry/blocks/blog-cards-featured-two-up/index.ts +7 -0
  122. package/registry/blocks/blog-cards-features.test.tsx +183 -0
  123. package/registry/blocks/blog-cards-filter-sidebar-results/BlogCardsFilterSidebarResults.tsx +582 -0
  124. package/registry/blocks/blog-cards-filter-sidebar-results/index.ts +6 -0
  125. package/registry/blocks/blog-cards-grids.test.tsx +110 -0
  126. package/registry/blocks/blog-cards-hairline-text-index/BlogCardsHairlineTextIndex.tsx +193 -0
  127. package/registry/blocks/blog-cards-hairline-text-index/index.ts +7 -0
  128. package/registry/blocks/blog-cards-journal-bento/BlogCardsJournalBento.tsx +409 -0
  129. package/registry/blocks/blog-cards-journal-bento/index.ts +8 -0
  130. package/registry/blocks/blog-cards-latest-popular-split/BlogCardsLatestPopularSplit.tsx +258 -0
  131. package/registry/blocks/blog-cards-latest-popular-split/index.ts +7 -0
  132. package/registry/blocks/blog-cards-lead-ranked-picks/BlogCardsLeadRankedPicks.tsx +276 -0
  133. package/registry/blocks/blog-cards-lead-ranked-picks/index.ts +6 -0
  134. package/registry/blocks/blog-cards-left-thumb-row-cards/BlogCardsLeftThumbRowCards.tsx +288 -0
  135. package/registry/blocks/blog-cards-left-thumb-row-cards/index.ts +7 -0
  136. package/registry/blocks/blog-cards-lists.test.tsx +93 -0
  137. package/registry/blocks/blog-cards-magazine-cover-story/BlogCardsMagazineCoverStory.tsx +326 -0
  138. package/registry/blocks/blog-cards-magazine-cover-story/index.ts +6 -0
  139. package/registry/blocks/blog-cards-newsletter-latest/BlogCardsNewsletterLatest.tsx +291 -0
  140. package/registry/blocks/blog-cards-newsletter-latest/index.ts +6 -0
  141. package/registry/blocks/blog-cards-numbered-reading-list/BlogCardsNumberedReadingList.tsx +275 -0
  142. package/registry/blocks/blog-cards-numbered-reading-list/index.ts +7 -0
  143. package/registry/blocks/blog-cards-overlay-photo-trio/BlogCardsOverlayPhotoTrio.tsx +279 -0
  144. package/registry/blocks/blog-cards-overlay-photo-trio/index.ts +7 -0
  145. package/registry/blocks/blog-cards-post-carousel-with-controls/BlogCardsPostCarouselWithControls.tsx +257 -0
  146. package/registry/blocks/blog-cards-post-carousel-with-controls/index.ts +6 -0
  147. package/registry/blocks/blog-cards-pull-quote-feature/BlogCardsPullQuoteFeature.tsx +245 -0
  148. package/registry/blocks/blog-cards-pull-quote-feature/index.ts +6 -0
  149. package/registry/blocks/blog-cards-related-posts-strip/BlogCardsRelatedPostsStrip.tsx +247 -0
  150. package/registry/blocks/blog-cards-related-posts-strip/index.ts +6 -0
  151. package/registry/blocks/blog-cards-search-chips-results/BlogCardsSearchChipsResults.tsx +473 -0
  152. package/registry/blocks/blog-cards-search-chips-results/index.ts +6 -0
  153. package/registry/blocks/blog-cards-split-feature/BlogCardsSplitFeature.tsx +214 -0
  154. package/registry/blocks/blog-cards-split-feature/index.ts +6 -0
  155. package/registry/blocks/careers/careers.test.tsx +414 -0
  156. package/registry/blocks/careers/careers.tsx +391 -0
  157. package/registry/blocks/careers/index.ts +27 -0
  158. package/registry/blocks/careers-about-card-role-list/CareersAboutCardRoleList.tsx +235 -0
  159. package/registry/blocks/careers-about-card-role-list/index.ts +8 -0
  160. package/registry/blocks/careers-featured-role-spotlight/CareersFeaturedRoleSpotlight.tsx +271 -0
  161. package/registry/blocks/careers-featured-role-spotlight/index.ts +8 -0
  162. package/registry/blocks/careers-no-open-roles-empty-state/CareersNoOpenRolesEmptyState.tsx +330 -0
  163. package/registry/blocks/careers-no-open-roles-empty-state/index.ts +8 -0
  164. package/registry/blocks/careers-open-roles-hairline-list/CareersOpenRolesHairlineList.tsx +320 -0
  165. package/registry/blocks/careers-open-roles-hairline-list/index.ts +6 -0
  166. package/registry/blocks/careers-open-vacancies-table/CareersOpenVacanciesTable.tsx +493 -0
  167. package/registry/blocks/careers-open-vacancies-table/index.ts +6 -0
  168. package/registry/blocks/careers-perks-benefits/CareersPerksBenefits.tsx +181 -0
  169. package/registry/blocks/careers-perks-benefits/index.ts +8 -0
  170. package/registry/blocks/careers-role-cards-grid/CareersRoleCardsGrid.tsx +405 -0
  171. package/registry/blocks/careers-role-cards-grid/index.ts +6 -0
  172. package/registry/blocks/careers-role-detail-page/CareersRoleDetailPage.tsx +541 -0
  173. package/registry/blocks/careers-role-detail-page/index.ts +10 -0
  174. package/registry/blocks/careers-role-detail-panel/CareersRoleDetailPanel.tsx +255 -0
  175. package/registry/blocks/careers-role-detail-panel/index.ts +6 -0
  176. package/registry/blocks/careers-roles-by-department/CareersRolesByDepartment.tsx +242 -0
  177. package/registry/blocks/careers-roles-by-department/index.ts +7 -0
  178. package/registry/blocks/careers-roles-list-accordion-expanded/CareersRolesListAccordionExpanded.tsx +558 -0
  179. package/registry/blocks/careers-roles-list-accordion-expanded/index.ts +9 -0
  180. package/registry/blocks/contact-us/contact-us.test.tsx +239 -0
  181. package/registry/blocks/contact-us/contact-us.tsx +989 -0
  182. package/registry/blocks/contact-us/index.ts +34 -0
  183. package/registry/blocks/contact-us-bento-grid/ContactUsBentoGrid.tsx +304 -0
  184. package/registry/blocks/contact-us-bento-grid/index.ts +5 -0
  185. package/registry/blocks/contact-us-bento-grid.test.tsx +102 -0
  186. package/registry/blocks/contact-us-book-a-call/ContactUsBookACall.tsx +403 -0
  187. package/registry/blocks/contact-us-book-a-call/index.ts +7 -0
  188. package/registry/blocks/contact-us-book-a-call.test.tsx +134 -0
  189. package/registry/blocks/contact-us-classic-centered/ContactUsClassicCentered.tsx +199 -0
  190. package/registry/blocks/contact-us-classic-centered/index.ts +6 -0
  191. package/registry/blocks/contact-us-dark-statement/ContactUsDarkStatement.tsx +218 -0
  192. package/registry/blocks/contact-us-dark-statement/index.ts +6 -0
  193. package/registry/blocks/contact-us-editorial-and-address-card/ContactUsEditorialAndAddressCard.tsx +212 -0
  194. package/registry/blocks/contact-us-editorial-and-address-card/index.ts +6 -0
  195. package/registry/blocks/contact-us-editorial-statement/ContactUsEditorialStatement.tsx +205 -0
  196. package/registry/blocks/contact-us-editorial-statement/index.ts +6 -0
  197. package/registry/blocks/contact-us-form-contact-methods/ContactUsFormContactMethods.tsx +272 -0
  198. package/registry/blocks/contact-us-form-contact-methods/index.ts +6 -0
  199. package/registry/blocks/contact-us-form-with-faq/ContactUsFormWithFaq.tsx +383 -0
  200. package/registry/blocks/contact-us-form-with-faq/index.ts +7 -0
  201. package/registry/blocks/contact-us-form-with-faq.test.tsx +161 -0
  202. package/registry/blocks/contact-us-forms.test.tsx +333 -0
  203. package/registry/blocks/contact-us-global-offices-table/ContactUsGlobalOfficesTable.tsx +301 -0
  204. package/registry/blocks/contact-us-global-offices-table/index.ts +5 -0
  205. package/registry/blocks/contact-us-global-offices-table.test.tsx +100 -0
  206. package/registry/blocks/contact-us-grand-headline-form/ContactUsGrandHeadlineForm.tsx +180 -0
  207. package/registry/blocks/contact-us-grand-headline-form/index.ts +6 -0
  208. package/registry/blocks/contact-us-hours-and-availability/ContactUsHoursAndAvailability.tsx +412 -0
  209. package/registry/blocks/contact-us-hours-and-availability/index.ts +5 -0
  210. package/registry/blocks/contact-us-hours-and-availability.test.tsx +123 -0
  211. package/registry/blocks/contact-us-hq-feature/ContactUsHqFeature.tsx +281 -0
  212. package/registry/blocks/contact-us-hq-feature/index.ts +5 -0
  213. package/registry/blocks/contact-us-hq-feature.test.tsx +102 -0
  214. package/registry/blocks/contact-us-map-split/ContactUsMapSplit.tsx +211 -0
  215. package/registry/blocks/contact-us-map-split/index.ts +5 -0
  216. package/registry/blocks/contact-us-map-split.test.tsx +70 -0
  217. package/registry/blocks/contact-us-named-owners/ContactUsNamedOwners.tsx +324 -0
  218. package/registry/blocks/contact-us-named-owners/index.ts +6 -0
  219. package/registry/blocks/contact-us-named-owners.test.tsx +116 -0
  220. package/registry/blocks/contact-us-newsletter-combo/ContactUsNewsletterCombo.tsx +363 -0
  221. package/registry/blocks/contact-us-newsletter-combo/index.ts +6 -0
  222. package/registry/blocks/contact-us-newsletter-combo.test.tsx +165 -0
  223. package/registry/blocks/contact-us-office-cards/ContactUsOfficeCards.tsx +235 -0
  224. package/registry/blocks/contact-us-office-cards/index.ts +5 -0
  225. package/registry/blocks/contact-us-office-cards.test.tsx +71 -0
  226. package/registry/blocks/contact-us-oversized-wordmark/ContactUsOversizedWordmark.tsx +222 -0
  227. package/registry/blocks/contact-us-oversized-wordmark/index.ts +6 -0
  228. package/registry/blocks/contact-us-photo-and-dark-panel/ContactUsPhotoAndDarkPanel.tsx +185 -0
  229. package/registry/blocks/contact-us-photo-and-dark-panel/index.ts +6 -0
  230. package/registry/blocks/contact-us-photo-forms.test.tsx +311 -0
  231. package/registry/blocks/contact-us-pitch-and-inquiry/ContactUsPitchAndInquiry.tsx +202 -0
  232. package/registry/blocks/contact-us-pitch-and-inquiry/index.ts +6 -0
  233. package/registry/blocks/contact-us-rtl.test.tsx +105 -0
  234. package/registry/blocks/contact-us-ruled-split-form/ContactUsRuledSplitForm.tsx +214 -0
  235. package/registry/blocks/contact-us-ruled-split-form/index.ts +6 -0
  236. package/registry/blocks/contact-us-social-rail/ContactUsSocialRail.tsx +270 -0
  237. package/registry/blocks/contact-us-social-rail/index.ts +7 -0
  238. package/registry/blocks/contact-us-social-rail.test.tsx +121 -0
  239. package/registry/blocks/contact-us-split-photo-dark/ContactUsSplitPhotoDark.tsx +185 -0
  240. package/registry/blocks/contact-us-split-photo-dark/index.ts +6 -0
  241. package/registry/blocks/contact-us-support-channels/ContactUsSupportChannels.tsx +267 -0
  242. package/registry/blocks/contact-us-support-channels/index.ts +5 -0
  243. package/registry/blocks/contact-us-support-channels.test.tsx +81 -0
  244. package/registry/blocks/data-table/DataTable.test.tsx +1 -34
  245. package/registry/blocks/data-table/DataTable.tsx +0 -139
  246. package/registry/blocks/data-table/index.ts +1 -8
  247. package/registry/blocks/error-state-access-denied-403/ErrorStateAccessDenied403.tsx +324 -0
  248. package/registry/blocks/error-state-access-denied-403/index.ts +10 -0
  249. package/registry/blocks/error-state-broken-trail-breadcrumb/ErrorStateBrokenTrailBreadcrumb.tsx +179 -0
  250. package/registry/blocks/error-state-broken-trail-breadcrumb/index.ts +8 -0
  251. package/registry/blocks/error-state-centered-minimal/ErrorStateCenteredMinimal.tsx +119 -0
  252. package/registry/blocks/error-state-centered-minimal/index.ts +7 -0
  253. package/registry/blocks/error-state-colour-field-scatter/ErrorStateColourFieldScatter.tsx +144 -0
  254. package/registry/blocks/error-state-colour-field-scatter/index.ts +7 -0
  255. package/registry/blocks/error-state-countdown-redirect/ErrorStateCountdownRedirect.tsx +272 -0
  256. package/registry/blocks/error-state-countdown-redirect/index.ts +7 -0
  257. package/registry/blocks/error-state-dark-spotlight/ErrorStateDarkSpotlight.tsx +156 -0
  258. package/registry/blocks/error-state-dark-spotlight/index.ts +7 -0
  259. package/registry/blocks/error-state-display-numeral-split/ErrorStateDisplayNumeralSplit.tsx +156 -0
  260. package/registry/blocks/error-state-display-numeral-split/index.ts +8 -0
  261. package/registry/blocks/error-state-editorial-photo-split/ErrorStateEditorialPhotoSplit.tsx +156 -0
  262. package/registry/blocks/error-state-editorial-photo-split/index.ts +8 -0
  263. package/registry/blocks/error-state-empty-search-results/ErrorStateEmptySearchResults.tsx +243 -0
  264. package/registry/blocks/error-state-empty-search-results/index.ts +6 -0
  265. package/registry/blocks/error-state-error-card-panel/ErrorStateErrorCardPanel.tsx +213 -0
  266. package/registry/blocks/error-state-error-card-panel/index.ts +7 -0
  267. package/registry/blocks/error-state-full-bleed-photo/ErrorStateFullBleedPhoto.tsx +130 -0
  268. package/registry/blocks/error-state-full-bleed-photo/index.ts +8 -0
  269. package/registry/blocks/error-state-ghost-watermark/ErrorStateGhostWatermark.tsx +115 -0
  270. package/registry/blocks/error-state-ghost-watermark/index.ts +7 -0
  271. package/registry/blocks/error-state-helpful-links-list/ErrorStateHelpfulLinksList.tsx +185 -0
  272. package/registry/blocks/error-state-helpful-links-list/index.ts +8 -0
  273. package/registry/blocks/error-state-illustrated-empty-state/ErrorStateIllustratedEmptyState.tsx +201 -0
  274. package/registry/blocks/error-state-illustrated-empty-state/index.ts +7 -0
  275. package/registry/blocks/error-state-layered-badge-centered/ErrorStateLayeredBadgeCentered.tsx +138 -0
  276. package/registry/blocks/error-state-layered-badge-centered/index.ts +7 -0
  277. package/registry/blocks/error-state-light-editorial/ErrorStateLightEditorial.tsx +126 -0
  278. package/registry/blocks/error-state-light-editorial/index.ts +7 -0
  279. package/registry/blocks/error-state-maintenance-mode/ErrorStateMaintenanceMode.tsx +255 -0
  280. package/registry/blocks/error-state-maintenance-mode/index.ts +6 -0
  281. package/registry/blocks/error-state-marquee-404-band/ErrorStateMarquee404Band.tsx +316 -0
  282. package/registry/blocks/error-state-marquee-404-band/index.ts +7 -0
  283. package/registry/blocks/error-state-offline-state/ErrorStateOfflineState.tsx +188 -0
  284. package/registry/blocks/error-state-offline-state/index.ts +7 -0
  285. package/registry/blocks/error-state-photo-collage-scatter/ErrorStatePhotoCollageScatter.tsx +224 -0
  286. package/registry/blocks/error-state-photo-collage-scatter/index.ts +8 -0
  287. package/registry/blocks/error-state-popular-pages-grid/ErrorStatePopularPagesGrid.tsx +195 -0
  288. package/registry/blocks/error-state-popular-pages-grid/index.ts +9 -0
  289. package/registry/blocks/error-state-recovery-bento/ErrorStateRecoveryBento.tsx +274 -0
  290. package/registry/blocks/error-state-recovery-bento/index.ts +7 -0
  291. package/registry/blocks/error-state-search-recovery/ErrorStateSearchRecovery.tsx +173 -0
  292. package/registry/blocks/error-state-search-recovery/index.ts +7 -0
  293. package/registry/blocks/error-state-server-error-500/ErrorStateServerError500.tsx +277 -0
  294. package/registry/blocks/error-state-server-error-500/index.ts +9 -0
  295. package/registry/blocks/error-state-sitemap-columns/ErrorStateSitemapColumns.tsx +192 -0
  296. package/registry/blocks/error-state-sitemap-columns/index.ts +9 -0
  297. package/registry/blocks/error-state-split-colour-panel/ErrorStateSplitColourPanel.tsx +156 -0
  298. package/registry/blocks/error-state-split-colour-panel/index.ts +7 -0
  299. package/registry/blocks/error-state-support-escalation-band/ErrorStateSupportEscalationBand.tsx +186 -0
  300. package/registry/blocks/error-state-support-escalation-band/index.ts +8 -0
  301. package/registry/blocks/error-state-terminal-console/ErrorStateTerminalConsole.tsx +208 -0
  302. package/registry/blocks/error-state-terminal-console/index.ts +8 -0
  303. package/registry/blocks/faq-accent-active-card/FaqAccentActiveCard.tsx +186 -0
  304. package/registry/blocks/faq-accent-active-card/index.ts +1 -0
  305. package/registry/blocks/faq-category-chip-grid/FaqCategoryChipGrid.tsx +425 -0
  306. package/registry/blocks/faq-category-chip-grid/index.ts +8 -0
  307. package/registry/blocks/faq-category-columns/FaqCategoryColumns.tsx +248 -0
  308. package/registry/blocks/faq-category-columns/index.ts +8 -0
  309. package/registry/blocks/faq-chat-thread/FaqChatThread.tsx +273 -0
  310. package/registry/blocks/faq-chat-thread/index.ts +7 -0
  311. package/registry/blocks/faq-classic-centered/FaqClassicCentered.tsx +190 -0
  312. package/registry/blocks/faq-classic-centered/index.ts +7 -0
  313. package/registry/blocks/faq-contact-cta-card/FaqContactCtaCard.tsx +229 -0
  314. package/registry/blocks/faq-contact-cta-card/index.ts +9 -0
  315. package/registry/blocks/faq-dark-panel/FaqDarkPanel.tsx +186 -0
  316. package/registry/blocks/faq-dark-panel/index.ts +1 -0
  317. package/registry/blocks/faq-featured-question/FaqFeaturedQuestion.tsx +221 -0
  318. package/registry/blocks/faq-featured-question/index.ts +1 -0
  319. package/registry/blocks/faq-grouped-sections/FaqGroupedSections.tsx +266 -0
  320. package/registry/blocks/faq-grouped-sections/index.ts +8 -0
  321. package/registry/blocks/faq-help-hero-popular/FaqHelpHeroPopular.tsx +212 -0
  322. package/registry/blocks/faq-help-hero-popular/index.ts +7 -0
  323. package/registry/blocks/faq-masonry-cards/FaqMasonryCards.tsx +268 -0
  324. package/registry/blocks/faq-masonry-cards/index.ts +7 -0
  325. package/registry/blocks/faq-media-split/FaqMediaSplit.tsx +197 -0
  326. package/registry/blocks/faq-media-split/index.ts +8 -0
  327. package/registry/blocks/faq-mono-index/FaqMonoIndex.tsx +247 -0
  328. package/registry/blocks/faq-mono-index/index.ts +1 -0
  329. package/registry/blocks/faq-newsletter-close/FaqNewsletterClose.tsx +314 -0
  330. package/registry/blocks/faq-newsletter-close/index.ts +8 -0
  331. package/registry/blocks/faq-numbered-editorial/FaqNumberedEditorial.tsx +190 -0
  332. package/registry/blocks/faq-numbered-editorial/index.ts +1 -0
  333. package/registry/blocks/faq-search-categories/FaqSearchCategories.tsx +312 -0
  334. package/registry/blocks/faq-search-categories/index.ts +8 -0
  335. package/registry/blocks/faq-sidebar-nav/FaqSidebarNav.tsx +390 -0
  336. package/registry/blocks/faq-sidebar-nav/index.ts +8 -0
  337. package/registry/blocks/faq-soft-filled-rows/FaqSoftFilledRows.tsx +209 -0
  338. package/registry/blocks/faq-soft-filled-rows/index.ts +1 -0
  339. package/registry/blocks/faq-split-sticky/FaqSplitSticky.tsx +205 -0
  340. package/registry/blocks/faq-split-sticky/index.ts +7 -0
  341. package/registry/blocks/faq-support-channels/FaqSupportChannels.tsx +266 -0
  342. package/registry/blocks/faq-support-channels/index.ts +8 -0
  343. package/registry/blocks/faq-support-stats/FaqSupportStats.tsx +242 -0
  344. package/registry/blocks/faq-support-stats/index.ts +8 -0
  345. package/registry/blocks/faq-table-compact/FaqTableCompact.tsx +220 -0
  346. package/registry/blocks/faq-table-compact/index.ts +1 -0
  347. package/registry/blocks/faq-tabs-by-topic/FaqTabsByTopic.tsx +347 -0
  348. package/registry/blocks/faq-tabs-by-topic/index.ts +8 -0
  349. package/registry/blocks/faq-topic-tiles/FaqTopicTiles.tsx +254 -0
  350. package/registry/blocks/faq-topic-tiles/index.ts +7 -0
  351. package/registry/blocks/faq-two-column-grid/FaqTwoColumnGrid.tsx +256 -0
  352. package/registry/blocks/faq-two-column-grid/index.ts +7 -0
  353. package/registry/blocks/faq-uppercase-dense/FaqUppercaseDense.tsx +213 -0
  354. package/registry/blocks/faq-uppercase-dense/index.ts +1 -0
  355. package/registry/blocks/features/features.tsx +164 -0
  356. package/registry/blocks/features/index.ts +12 -0
  357. package/registry/blocks/features-accordion-photo/FeaturesAccordionPhoto.tsx +149 -0
  358. package/registry/blocks/features-accordion-photo/index.ts +7 -0
  359. package/registry/blocks/features-colour-block-cards/FeaturesColourBlockCards.tsx +118 -0
  360. package/registry/blocks/features-colour-block-cards/index.ts +8 -0
  361. package/registry/blocks/features-compact-icon-index/FeaturesCompactIconIndex.tsx +136 -0
  362. package/registry/blocks/features-compact-icon-index/index.ts +7 -0
  363. package/registry/blocks/features-compare-panels-chat-answer/FeaturesComparePanelsChatAnswer.tsx +346 -0
  364. package/registry/blocks/features-compare-panels-chat-answer/index.ts +8 -0
  365. package/registry/blocks/features-editorial-photo-split/FeaturesEditorialPhotoSplit.tsx +118 -0
  366. package/registry/blocks/features-editorial-photo-split/index.ts +7 -0
  367. package/registry/blocks/features-expanding-step-cards/FeaturesExpandingStepCards.tsx +300 -0
  368. package/registry/blocks/features-expanding-step-cards/index.ts +7 -0
  369. package/registry/blocks/features-feature-checklist-columns/FeaturesFeatureChecklistColumns.tsx +158 -0
  370. package/registry/blocks/features-feature-checklist-columns/index.ts +7 -0
  371. package/registry/blocks/features-feature-list-thumbnails/FeaturesFeatureListThumbnails.tsx +137 -0
  372. package/registry/blocks/features-feature-list-thumbnails/index.ts +7 -0
  373. package/registry/blocks/features-full-bleed-photo-banner/FeaturesFullBleedPhotoBanner.tsx +116 -0
  374. package/registry/blocks/features-full-bleed-photo-banner/index.ts +7 -0
  375. package/registry/blocks/features-icon-card-grid/FeaturesIconCardGrid.tsx +120 -0
  376. package/registry/blocks/features-icon-card-grid/index.ts +7 -0
  377. package/registry/blocks/features-icon-titled-preview-rail/FeaturesIconTitledPreviewRail.tsx +321 -0
  378. package/registry/blocks/features-icon-titled-preview-rail/index.ts +7 -0
  379. package/registry/blocks/features-icons-numbers.test.tsx +107 -0
  380. package/registry/blocks/features-interactive.test.tsx +175 -0
  381. package/registry/blocks/features-media-rail/FeaturesMediaRail.tsx +119 -0
  382. package/registry/blocks/features-media-rail/index.ts +7 -0
  383. package/registry/blocks/features-notched-photo-columns/FeaturesNotchedPhotoColumns.tsx +209 -0
  384. package/registry/blocks/features-notched-photo-columns/index.ts +7 -0
  385. package/registry/blocks/features-numbered-feature-rows/FeaturesNumberedFeatureRows.tsx +107 -0
  386. package/registry/blocks/features-numbered-feature-rows/index.ts +7 -0
  387. package/registry/blocks/features-numbered-steps-floating-cards/FeaturesNumberedStepsFloatingCards.tsx +324 -0
  388. package/registry/blocks/features-numbered-steps-floating-cards/index.ts +8 -0
  389. package/registry/blocks/features-perforated-photo-strip/FeaturesPerforatedPhotoStrip.tsx +218 -0
  390. package/registry/blocks/features-perforated-photo-strip/index.ts +7 -0
  391. package/registry/blocks/features-photo-bento/FeaturesPhotoBento.tsx +160 -0
  392. package/registry/blocks/features-photo-bento/index.ts +8 -0
  393. package/registry/blocks/features-photo-carousel/FeaturesPhotoCarousel.tsx +249 -0
  394. package/registry/blocks/features-photo-carousel/index.ts +7 -0
  395. package/registry/blocks/features-photo-collage/FeaturesPhotoCollage.tsx +143 -0
  396. package/registry/blocks/features-photo-collage/index.ts +7 -0
  397. package/registry/blocks/features-photo-feature-chips/FeaturesPhotoFeatureChips.tsx +125 -0
  398. package/registry/blocks/features-photo-feature-chips/index.ts +7 -0
  399. package/registry/blocks/features-photo-led.test.tsx +177 -0
  400. package/registry/blocks/features-photo-tabs-panel/FeaturesPhotoTabsPanel.tsx +197 -0
  401. package/registry/blocks/features-photo-tabs-panel/index.ts +7 -0
  402. package/registry/blocks/features-portrait-photo-cards-link-row/FeaturesPortraitPhotoCardsLinkRow.tsx +202 -0
  403. package/registry/blocks/features-portrait-photo-cards-link-row/index.ts +7 -0
  404. package/registry/blocks/features-product-in-use.test.tsx +188 -0
  405. package/registry/blocks/features-showcase-card-pair/FeaturesShowcaseCardPair.tsx +161 -0
  406. package/registry/blocks/features-showcase-card-pair/index.ts +7 -0
  407. package/registry/blocks/features-solid-colour-cards/FeaturesSolidColourCards.tsx +264 -0
  408. package/registry/blocks/features-solid-colour-cards/index.ts +7 -0
  409. package/registry/blocks/features-split-photo-icon-list/FeaturesSplitPhotoIconList.tsx +117 -0
  410. package/registry/blocks/features-split-photo-icon-list/index.ts +7 -0
  411. package/registry/blocks/features-stat-feature-band/FeaturesStatFeatureBand.tsx +114 -0
  412. package/registry/blocks/features-stat-feature-band/index.ts +7 -0
  413. package/registry/blocks/features-tinted-product-bento/FeaturesTintedProductBento.tsx +252 -0
  414. package/registry/blocks/features-tinted-product-bento/index.ts +7 -0
  415. package/registry/blocks/footer/footer.test.tsx +253 -0
  416. package/registry/blocks/footer/footer.tsx +554 -0
  417. package/registry/blocks/footer/index.ts +31 -0
  418. package/registry/blocks/footer-accordion-sitemap/FooterAccordionSitemap.tsx +260 -0
  419. package/registry/blocks/footer-accordion-sitemap/index.ts +7 -0
  420. package/registry/blocks/footer-bars.test.tsx +121 -0
  421. package/registry/blocks/footer-bento-tile/FooterBentoTile.tsx +331 -0
  422. package/registry/blocks/footer-bento-tile/index.ts +6 -0
  423. package/registry/blocks/footer-big-question-cta/FooterBigQuestionCta.tsx +250 -0
  424. package/registry/blocks/footer-big-question-cta/index.ts +6 -0
  425. package/registry/blocks/footer-big-type-link-stack/FooterBigTypeLinkStack.tsx +275 -0
  426. package/registry/blocks/footer-big-type-link-stack/index.ts +6 -0
  427. package/registry/blocks/footer-brand-panel-split/FooterBrandPanelSplit.tsx +163 -0
  428. package/registry/blocks/footer-brand-panel-split/index.ts +6 -0
  429. package/registry/blocks/footer-brand.test.tsx +608 -0
  430. package/registry/blocks/footer-careers-culture/FooterCareersCulture.tsx +297 -0
  431. package/registry/blocks/footer-careers-culture/index.ts +7 -0
  432. package/registry/blocks/footer-centered-brand-minimal/FooterCenteredBrandMinimal.tsx +121 -0
  433. package/registry/blocks/footer-centered-brand-minimal/index.ts +6 -0
  434. package/registry/blocks/footer-commerce.test.tsx +208 -0
  435. package/registry/blocks/footer-community-events/FooterCommunityEvents.tsx +263 -0
  436. package/registry/blocks/footer-community-events/index.ts +8 -0
  437. package/registry/blocks/footer-community.test.tsx +309 -0
  438. package/registry/blocks/footer-contact-first/FooterContactFirst.tsx +242 -0
  439. package/registry/blocks/footer-contact-first/index.ts +7 -0
  440. package/registry/blocks/footer-contact.test.tsx +285 -0
  441. package/registry/blocks/footer-controls.test.tsx +78 -0
  442. package/registry/blocks/footer-cta-band-columns/FooterCtaBandColumns.tsx +225 -0
  443. package/registry/blocks/footer-cta-band-columns/index.ts +6 -0
  444. package/registry/blocks/footer-cta.test.tsx +445 -0
  445. package/registry/blocks/footer-dashboard-slim-bar/FooterDashboardSlimBar.tsx +148 -0
  446. package/registry/blocks/footer-dashboard-slim-bar/index.ts +6 -0
  447. package/registry/blocks/footer-docs-page/FooterDocsPage.tsx +261 -0
  448. package/registry/blocks/footer-docs-page/index.ts +9 -0
  449. package/registry/blocks/footer-ecommerce-mega/FooterEcommerceMega.tsx +289 -0
  450. package/registry/blocks/footer-ecommerce-mega/index.ts +6 -0
  451. package/registry/blocks/footer-floating-demo-card/FooterFloatingDemoCard.tsx +261 -0
  452. package/registry/blocks/footer-floating-demo-card/index.ts +6 -0
  453. package/registry/blocks/footer-four-column-directory/FooterFourColumnDirectory.tsx +104 -0
  454. package/registry/blocks/footer-four-column-directory/index.ts +6 -0
  455. package/registry/blocks/footer-giant-wordmark/FooterGiantWordmark.tsx +252 -0
  456. package/registry/blocks/footer-giant-wordmark/index.ts +6 -0
  457. package/registry/blocks/footer-image-backed-brand/FooterImageBackedBrand.tsx +251 -0
  458. package/registry/blocks/footer-image-backed-brand/index.ts +6 -0
  459. package/registry/blocks/footer-index-numbered-columns/FooterIndexNumberedColumns.tsx +236 -0
  460. package/registry/blocks/footer-index-numbered-columns/index.ts +7 -0
  461. package/registry/blocks/footer-inline-preferences/FooterInlinePreferences.tsx +164 -0
  462. package/registry/blocks/footer-inline-preferences/index.ts +7 -0
  463. package/registry/blocks/footer-legal-first-slim/FooterLegalFirstSlim.tsx +174 -0
  464. package/registry/blocks/footer-legal-first-slim/index.ts +6 -0
  465. package/registry/blocks/footer-legal.test.tsx +180 -0
  466. package/registry/blocks/footer-local-business/FooterLocalBusiness.tsx +258 -0
  467. package/registry/blocks/footer-local-business/index.ts +7 -0
  468. package/registry/blocks/footer-marquee-strip/FooterMarqueeStrip.tsx +244 -0
  469. package/registry/blocks/footer-marquee-strip/index.ts +6 -0
  470. package/registry/blocks/footer-multi-region/FooterMultiRegion.tsx +310 -0
  471. package/registry/blocks/footer-multi-region/index.ts +7 -0
  472. package/registry/blocks/footer-newsletter-split/FooterNewsletterSplit.tsx +255 -0
  473. package/registry/blocks/footer-newsletter-split/index.ts +6 -0
  474. package/registry/blocks/footer-product-family-switcher/FooterProductFamilySwitcher.tsx +241 -0
  475. package/registry/blocks/footer-product-family-switcher/index.ts +7 -0
  476. package/registry/blocks/footer-service-promise-band/FooterServicePromiseBand.tsx +237 -0
  477. package/registry/blocks/footer-service-promise-band/index.ts +7 -0
  478. package/registry/blocks/footer-single-line-bar/FooterSingleLineBar.tsx +107 -0
  479. package/registry/blocks/footer-single-line-bar/index.ts +6 -0
  480. package/registry/blocks/footer-sitemap.test.tsx +390 -0
  481. package/registry/blocks/footer-split-hairline-micro/FooterSplitHairlineMicro.tsx +100 -0
  482. package/registry/blocks/footer-split-hairline-micro/index.ts +6 -0
  483. package/registry/blocks/footer-support-contact/FooterSupportContact.tsx +204 -0
  484. package/registry/blocks/footer-support-contact/index.ts +7 -0
  485. package/registry/blocks/footer-trust-compliance/FooterTrustCompliance.tsx +234 -0
  486. package/registry/blocks/footer-trust-compliance/index.ts +7 -0
  487. package/registry/blocks/footer-two-row-compact/FooterTwoRowCompact.tsx +124 -0
  488. package/registry/blocks/footer-two-row-compact/index.ts +6 -0
  489. package/registry/blocks/footer-two-tier-doormat/FooterTwoTierDoormat.tsx +232 -0
  490. package/registry/blocks/footer-two-tier-doormat/index.ts +8 -0
  491. package/registry/blocks/footer-utility.test.tsx +406 -0
  492. package/registry/blocks/footer-wide-sitemap-mega/FooterWideSitemapMega.tsx +227 -0
  493. package/registry/blocks/footer-wide-sitemap-mega/index.ts +6 -0
  494. package/registry/blocks/gallery-album-cards/GalleryAlbumCards.tsx +243 -0
  495. package/registry/blocks/gallery-album-cards/index.ts +8 -0
  496. package/registry/blocks/gallery-before-after-compare/GalleryBeforeAfterCompare.tsx +269 -0
  497. package/registry/blocks/gallery-before-after-compare/index.ts +7 -0
  498. package/registry/blocks/gallery-contact-sheet-wall/GalleryContactSheetWall.tsx +299 -0
  499. package/registry/blocks/gallery-contact-sheet-wall/index.ts +9 -0
  500. package/registry/blocks/gallery-culture-photo-grid/GalleryCulturePhotoGrid.tsx +203 -0
  501. package/registry/blocks/gallery-culture-photo-grid/index.ts +8 -0
  502. package/registry/blocks/gallery-dark-cinema-wall/GalleryDarkCinemaWall.tsx +180 -0
  503. package/registry/blocks/gallery-dark-cinema-wall/index.ts +7 -0
  504. package/registry/blocks/gallery-editorial-split/GalleryEditorialSplit.tsx +188 -0
  505. package/registry/blocks/gallery-editorial-split/index.ts +8 -0
  506. package/registry/blocks/gallery-featured-thumb-rail/GalleryFeaturedThumbRail.tsx +397 -0
  507. package/registry/blocks/gallery-featured-thumb-rail/index.ts +8 -0
  508. package/registry/blocks/gallery-filmstrip-carousel/GalleryFilmstripCarousel.tsx +384 -0
  509. package/registry/blocks/gallery-filmstrip-carousel/index.ts +8 -0
  510. package/registry/blocks/gallery-filter-tabs-grid/GalleryFilterTabsGrid.tsx +403 -0
  511. package/registry/blocks/gallery-filter-tabs-grid/index.ts +9 -0
  512. package/registry/blocks/gallery-full-bleed-slider/GalleryFullBleedSlider.tsx +309 -0
  513. package/registry/blocks/gallery-full-bleed-slider/index.ts +8 -0
  514. package/registry/blocks/gallery-horizontal-scroll-rail/GalleryHorizontalScrollRail.tsx +300 -0
  515. package/registry/blocks/gallery-horizontal-scroll-rail/index.ts +8 -0
  516. package/registry/blocks/gallery-hover-caption-cards/GalleryHoverCaptionCards.tsx +244 -0
  517. package/registry/blocks/gallery-hover-caption-cards/index.ts +8 -0
  518. package/registry/blocks/gallery-hover-index-list/GalleryHoverIndexList.tsx +253 -0
  519. package/registry/blocks/gallery-hover-index-list/index.ts +9 -0
  520. package/registry/blocks/gallery-lightbox-viewer/GalleryLightboxViewer.tsx +329 -0
  521. package/registry/blocks/gallery-lightbox-viewer/index.ts +7 -0
  522. package/registry/blocks/gallery-masonry-gallery/GalleryMasonryGallery.tsx +251 -0
  523. package/registry/blocks/gallery-masonry-gallery/index.ts +7 -0
  524. package/registry/blocks/gallery-mosaic-statement-tile/GalleryMosaicStatementTile.tsx +159 -0
  525. package/registry/blocks/gallery-mosaic-statement-tile/index.ts +8 -0
  526. package/registry/blocks/gallery-photo-bento/GalleryPhotoBento.tsx +166 -0
  527. package/registry/blocks/gallery-photo-bento/index.ts +8 -0
  528. package/registry/blocks/gallery-photo-spotlight/GalleryPhotoSpotlight.tsx +305 -0
  529. package/registry/blocks/gallery-photo-spotlight/index.ts +9 -0
  530. package/registry/blocks/gallery-scattered-collage/GalleryScatteredCollage.tsx +286 -0
  531. package/registry/blocks/gallery-scattered-collage/index.ts +9 -0
  532. package/registry/blocks/gallery-social-feed-strip/GallerySocialFeedStrip.tsx +288 -0
  533. package/registry/blocks/gallery-social-feed-strip/index.ts +8 -0
  534. package/registry/blocks/gallery-timeline-gallery/GalleryTimelineGallery.tsx +243 -0
  535. package/registry/blocks/gallery-timeline-gallery/index.ts +8 -0
  536. package/registry/blocks/gallery-video-gallery/GalleryVideoGallery.tsx +362 -0
  537. package/registry/blocks/gallery-video-gallery/index.ts +8 -0
  538. package/registry/blocks/hero-annotated-object/HeroAnnotatedObject.tsx +310 -0
  539. package/registry/blocks/hero-annotated-object/index.ts +10 -0
  540. package/registry/blocks/hero-arc-gallery/HeroArcGallery.tsx +244 -0
  541. package/registry/blocks/hero-arc-gallery/index.ts +9 -0
  542. package/registry/blocks/hero-bento-split/HeroBentoSplit.tsx +266 -0
  543. package/registry/blocks/hero-bento-split/index.ts +9 -0
  544. package/registry/blocks/hero-brand-color-block/HeroBrandColorBlock.tsx +259 -0
  545. package/registry/blocks/hero-brand-color-block/index.ts +8 -0
  546. package/registry/blocks/hero-colour-stage/HeroColourStage.tsx +292 -0
  547. package/registry/blocks/hero-colour-stage/index.ts +8 -0
  548. package/registry/blocks/hero-component-pattern/HeroComponentPattern.tsx +248 -0
  549. package/registry/blocks/hero-component-pattern/index.ts +9 -0
  550. package/registry/blocks/hero-curved-media-rail/HeroCurvedMediaRail.tsx +272 -0
  551. package/registry/blocks/hero-curved-media-rail/index.ts +8 -0
  552. package/registry/blocks/hero-duo-card/HeroDuoCard.tsx +210 -0
  553. package/registry/blocks/hero-duo-card/index.ts +8 -0
  554. package/registry/blocks/hero-editorial-arch/HeroEditorialArch.tsx +226 -0
  555. package/registry/blocks/hero-editorial-arch/index.ts +10 -0
  556. package/registry/blocks/hero-editorial-triptych/HeroEditorialTriptych.tsx +252 -0
  557. package/registry/blocks/hero-editorial-triptych/index.ts +9 -0
  558. package/registry/blocks/hero-floating-integrations/HeroFloatingIntegrations.tsx +454 -0
  559. package/registry/blocks/hero-floating-integrations/index.ts +11 -0
  560. package/registry/blocks/hero-framed-full-bleed/HeroFramedFullBleed.tsx +226 -0
  561. package/registry/blocks/hero-framed-full-bleed/index.ts +9 -0
  562. package/registry/blocks/hero-framed-studio-card/HeroFramedStudioCard.tsx +264 -0
  563. package/registry/blocks/hero-framed-studio-card/index.ts +8 -0
  564. package/registry/blocks/hero-illustration-split/HeroIllustrationSplit.tsx +200 -0
  565. package/registry/blocks/hero-illustration-split/index.ts +8 -0
  566. package/registry/blocks/hero-inline-image-headline/HeroInlineImageHeadline.tsx +305 -0
  567. package/registry/blocks/hero-inline-image-headline/index.ts +8 -0
  568. package/registry/blocks/hero-masked-type-reveal/HeroMaskedTypeReveal.tsx +323 -0
  569. package/registry/blocks/hero-masked-type-reveal/index.ts +9 -0
  570. package/registry/blocks/hero-motion.test.tsx +185 -0
  571. package/registry/blocks/hero-orbit-track/HeroOrbitTrack.tsx +238 -0
  572. package/registry/blocks/hero-orbit-track/index.ts +8 -0
  573. package/registry/blocks/hero-photo-constellation/HeroPhotoConstellation.tsx +228 -0
  574. package/registry/blocks/hero-photo-constellation/index.ts +8 -0
  575. package/registry/blocks/hero-scramble-decode/HeroScrambleDecode.tsx +381 -0
  576. package/registry/blocks/hero-scramble-decode/index.ts +7 -0
  577. package/registry/blocks/hero-shape-grid/HeroShapeGrid.tsx +279 -0
  578. package/registry/blocks/hero-shape-grid/index.ts +8 -0
  579. package/registry/blocks/hero-split-band-headline/HeroSplitBandHeadline.tsx +242 -0
  580. package/registry/blocks/hero-split-band-headline/index.ts +8 -0
  581. package/registry/blocks/hero-split-flap-counters/HeroSplitFlapCounters.tsx +323 -0
  582. package/registry/blocks/hero-split-flap-counters/index.ts +8 -0
  583. package/registry/blocks/hero-studio-mosaic/HeroStudioMosaic.tsx +332 -0
  584. package/registry/blocks/hero-studio-mosaic/index.ts +9 -0
  585. package/registry/blocks/hero-textured-dark/HeroTexturedDark.tsx +378 -0
  586. package/registry/blocks/hero-textured-dark/index.ts +10 -0
  587. package/registry/blocks/hero-twin-panels/HeroTwinPanels.tsx +231 -0
  588. package/registry/blocks/hero-twin-panels/index.ts +9 -0
  589. package/registry/blocks/hero-velocity-marquee/HeroVelocityMarquee.tsx +392 -0
  590. package/registry/blocks/hero-velocity-marquee/index.ts +8 -0
  591. package/registry/blocks/hero-video-in-type/HeroVideoInType.tsx +374 -0
  592. package/registry/blocks/hero-video-in-type/index.ts +9 -0
  593. package/registry/blocks/hero-video-spotlight/HeroVideoSpotlight.tsx +292 -0
  594. package/registry/blocks/hero-video-spotlight/index.ts +9 -0
  595. package/registry/blocks/hero-wave-band/HeroWaveBand.tsx +309 -0
  596. package/registry/blocks/hero-wave-band/index.ts +8 -0
  597. package/registry/blocks/how-it-works/how-it-works.tsx +330 -0
  598. package/registry/blocks/how-it-works/index.ts +28 -0
  599. package/registry/blocks/how-it-works-accordion-steps/HowItWorksAccordionSteps.tsx +213 -0
  600. package/registry/blocks/how-it-works-accordion-steps/index.ts +7 -0
  601. package/registry/blocks/how-it-works-center-spine-timeline/HowItWorksCenterSpineTimeline.tsx +200 -0
  602. package/registry/blocks/how-it-works-center-spine-timeline/index.ts +7 -0
  603. package/registry/blocks/how-it-works-column-panels/HowItWorksColumnPanels.tsx +299 -0
  604. package/registry/blocks/how-it-works-column-panels/index.ts +6 -0
  605. package/registry/blocks/how-it-works-contained-timeline/HowItWorksContainedTimeline.tsx +223 -0
  606. package/registry/blocks/how-it-works-contained-timeline/index.ts +8 -0
  607. package/registry/blocks/how-it-works-diagonal-photo-collage/HowItWorksDiagonalPhotoCollage.tsx +170 -0
  608. package/registry/blocks/how-it-works-diagonal-photo-collage/index.ts +7 -0
  609. package/registry/blocks/how-it-works-fanned-dissolve-cards/HowItWorksFannedDissolveCards.tsx +258 -0
  610. package/registry/blocks/how-it-works-fanned-dissolve-cards/index.ts +8 -0
  611. package/registry/blocks/how-it-works-full-bleed-step-panel/HowItWorksFullBleedStepPanel.tsx +319 -0
  612. package/registry/blocks/how-it-works-full-bleed-step-panel/index.ts +7 -0
  613. package/registry/blocks/how-it-works-grids.test.tsx +292 -0
  614. package/registry/blocks/how-it-works-interactive.test.tsx +262 -0
  615. package/registry/blocks/how-it-works-numbered-editorial-rows/HowItWorksNumberedEditorialRows.tsx +177 -0
  616. package/registry/blocks/how-it-works-numbered-editorial-rows/index.ts +7 -0
  617. package/registry/blocks/how-it-works-numbered-instruction-panels/HowItWorksNumberedInstructionPanels.tsx +226 -0
  618. package/registry/blocks/how-it-works-numbered-instruction-panels/index.ts +6 -0
  619. package/registry/blocks/how-it-works-numbered-photo-steps/HowItWorksNumberedPhotoSteps.tsx +150 -0
  620. package/registry/blocks/how-it-works-numbered-photo-steps/index.ts +7 -0
  621. package/registry/blocks/how-it-works-orbital-process/HowItWorksOrbitalProcess.tsx +317 -0
  622. package/registry/blocks/how-it-works-orbital-process/index.ts +7 -0
  623. package/registry/blocks/how-it-works-overlay-numeral-cards/HowItWorksOverlayNumeralCards.tsx +145 -0
  624. package/registry/blocks/how-it-works-overlay-numeral-cards/index.ts +7 -0
  625. package/registry/blocks/how-it-works-phase-line/HowItWorksPhaseLine.tsx +147 -0
  626. package/registry/blocks/how-it-works-phase-line/index.ts +8 -0
  627. package/registry/blocks/how-it-works-photo-bento-steps/HowItWorksPhotoBentoSteps.tsx +178 -0
  628. package/registry/blocks/how-it-works-photo-bento-steps/index.ts +7 -0
  629. package/registry/blocks/how-it-works-photo-rail-progress/HowItWorksPhotoRailProgress.tsx +231 -0
  630. package/registry/blocks/how-it-works-photo-rail-progress/index.ts +7 -0
  631. package/registry/blocks/how-it-works-pill-timeline/HowItWorksPillTimeline.tsx +181 -0
  632. package/registry/blocks/how-it-works-pill-timeline/index.ts +8 -0
  633. package/registry/blocks/how-it-works-rounded-cards-device-crop/HowItWorksRoundedCardsDeviceCrop.tsx +286 -0
  634. package/registry/blocks/how-it-works-rounded-cards-device-crop/index.ts +6 -0
  635. package/registry/blocks/how-it-works-six-card-grid/HowItWorksSixCardGrid.tsx +385 -0
  636. package/registry/blocks/how-it-works-six-card-grid/index.ts +6 -0
  637. package/registry/blocks/how-it-works-split-feature-band/HowItWorksSplitFeatureBand.tsx +316 -0
  638. package/registry/blocks/how-it-works-split-feature-band/index.ts +6 -0
  639. package/registry/blocks/how-it-works-split-photo-step-list/HowItWorksSplitPhotoStepList.tsx +179 -0
  640. package/registry/blocks/how-it-works-split-photo-step-list/index.ts +7 -0
  641. package/registry/blocks/how-it-works-stacked-media-text/HowItWorksStackedMediaText.tsx +310 -0
  642. package/registry/blocks/how-it-works-stacked-media-text/index.ts +8 -0
  643. package/registry/blocks/how-it-works-step-tabs-photo-panel/HowItWorksStepTabsPhotoPanel.tsx +245 -0
  644. package/registry/blocks/how-it-works-step-tabs-photo-panel/index.ts +7 -0
  645. package/registry/blocks/how-it-works-tall-visual-rail/HowItWorksTallVisualRail.tsx +349 -0
  646. package/registry/blocks/how-it-works-tall-visual-rail/index.ts +7 -0
  647. package/registry/blocks/how-it-works-timelines.test.tsx +265 -0
  648. package/registry/blocks/how-it-works-vertical-timeline-card/HowItWorksVerticalTimelineCard.tsx +169 -0
  649. package/registry/blocks/how-it-works-vertical-timeline-card/index.ts +8 -0
  650. package/registry/blocks/how-it-works-visual-steps.test.tsx +368 -0
  651. package/registry/blocks/logo-cloud-bento-logo-wall/LogoCloudBentoLogoWall.tsx +159 -0
  652. package/registry/blocks/logo-cloud-bento-logo-wall/index.ts +7 -0
  653. package/registry/blocks/logo-cloud-bordered-cell-grid/LogoCloudBorderedCellGrid.tsx +132 -0
  654. package/registry/blocks/logo-cloud-bordered-cell-grid/index.ts +7 -0
  655. package/registry/blocks/logo-cloud-centered-caption-row/LogoCloudCenteredCaptionRow.tsx +141 -0
  656. package/registry/blocks/logo-cloud-centered-caption-row/index.ts +7 -0
  657. package/registry/blocks/logo-cloud-contained-card/LogoCloudContainedCard.tsx +106 -0
  658. package/registry/blocks/logo-cloud-contained-card/index.ts +7 -0
  659. package/registry/blocks/logo-cloud-dark-logo-wall/LogoCloudDarkLogoWall.tsx +123 -0
  660. package/registry/blocks/logo-cloud-dark-logo-wall/index.ts +7 -0
  661. package/registry/blocks/logo-cloud-divider-rule-row/LogoCloudDividerRuleRow.tsx +156 -0
  662. package/registry/blocks/logo-cloud-divider-rule-row/index.ts +7 -0
  663. package/registry/blocks/logo-cloud-editorial-eyebrow-split/LogoCloudEditorialEyebrowSplit.tsx +121 -0
  664. package/registry/blocks/logo-cloud-editorial-eyebrow-split/index.ts +7 -0
  665. package/registry/blocks/logo-cloud-enterprise-wall/LogoCloudEnterpriseWall.tsx +114 -0
  666. package/registry/blocks/logo-cloud-enterprise-wall/index.ts +7 -0
  667. package/registry/blocks/logo-cloud-flanked-heading/LogoCloudFlankedHeading.tsx +162 -0
  668. package/registry/blocks/logo-cloud-flanked-heading/index.ts +8 -0
  669. package/registry/blocks/logo-cloud-grid-closing-cta/LogoCloudGridClosingCta.tsx +173 -0
  670. package/registry/blocks/logo-cloud-grid-closing-cta/index.ts +8 -0
  671. package/registry/blocks/logo-cloud-heading-grid/LogoCloudHeadingGrid.tsx +124 -0
  672. package/registry/blocks/logo-cloud-heading-grid/index.ts +7 -0
  673. package/registry/blocks/logo-cloud-heading-left-grid-right/LogoCloudHeadingLeftGridRight.tsx +172 -0
  674. package/registry/blocks/logo-cloud-heading-left-grid-right/index.ts +8 -0
  675. package/registry/blocks/logo-cloud-logo-metric-tiles/LogoCloudLogoMetricTiles.tsx +159 -0
  676. package/registry/blocks/logo-cloud-logo-metric-tiles/index.ts +8 -0
  677. package/registry/blocks/logo-cloud-logo-quote-cards/LogoCloudLogoQuoteCards.tsx +162 -0
  678. package/registry/blocks/logo-cloud-logo-quote-cards/index.ts +8 -0
  679. package/registry/blocks/logo-cloud-logo-testimonial-strip/LogoCloudLogoTestimonialStrip.tsx +159 -0
  680. package/registry/blocks/logo-cloud-logo-testimonial-strip/index.ts +8 -0
  681. package/registry/blocks/logo-cloud-named-integration-cards/LogoCloudNamedIntegrationCards.tsx +186 -0
  682. package/registry/blocks/logo-cloud-named-integration-cards/index.ts +9 -0
  683. package/registry/blocks/logo-cloud-pyramid-row-stack/LogoCloudPyramidRowStack.tsx +156 -0
  684. package/registry/blocks/logo-cloud-pyramid-row-stack/index.ts +7 -0
  685. package/registry/blocks/logo-cloud-quote-panel-grid/LogoCloudQuotePanelGrid.tsx +177 -0
  686. package/registry/blocks/logo-cloud-quote-panel-grid/index.ts +8 -0
  687. package/registry/blocks/logo-cloud-scatter-field/LogoCloudScatterField.tsx +190 -0
  688. package/registry/blocks/logo-cloud-scatter-field/index.ts +8 -0
  689. package/registry/blocks/logo-cloud-side-label-rail/LogoCloudSideLabelRail.tsx +139 -0
  690. package/registry/blocks/logo-cloud-side-label-rail/index.ts +7 -0
  691. package/registry/blocks/logo-cloud-stat-rail-above-grid/LogoCloudStatRailAboveGrid.tsx +173 -0
  692. package/registry/blocks/logo-cloud-stat-rail-above-grid/index.ts +8 -0
  693. package/registry/blocks/logo-cloud-tabbed-industry-filter/LogoCloudTabbedIndustryFilter.tsx +200 -0
  694. package/registry/blocks/logo-cloud-tabbed-industry-filter/index.ts +8 -0
  695. package/registry/blocks/navbar/index.ts +22 -11
  696. package/registry/blocks/navbar/navbar.test.tsx +42 -0
  697. package/registry/blocks/navbar/navbar.tsx +455 -0
  698. package/registry/blocks/navbar-active-action-with-border/NavbarActiveActionWithBorder.tsx +120 -0
  699. package/registry/blocks/navbar-active-action-with-border/index.ts +6 -0
  700. package/registry/blocks/navbar-active-action-with-round/NavbarActiveActionWithRound.tsx +120 -0
  701. package/registry/blocks/navbar-active-action-with-round/index.ts +6 -0
  702. package/registry/blocks/navbar-centered-floating/NavbarCenteredFloating.tsx +121 -0
  703. package/registry/blocks/navbar-centered-floating/index.ts +6 -0
  704. package/registry/blocks/navbar-default/NavbarDefault.tsx +102 -0
  705. package/registry/blocks/navbar-default/index.ts +6 -0
  706. package/registry/blocks/navbar-e-commerce/NavbarECommerce.tsx +212 -0
  707. package/registry/blocks/navbar-e-commerce/index.ts +6 -0
  708. package/registry/blocks/navbar-extended-at-top/NavbarExtendedAtTop.tsx +155 -0
  709. package/registry/blocks/navbar-extended-at-top/index.ts +7 -0
  710. package/registry/blocks/navbar-multiple-action/NavbarMultipleAction.tsx +133 -0
  711. package/registry/blocks/navbar-multiple-action/index.ts +6 -0
  712. package/registry/blocks/navbar-multiple-icon/NavbarMultipleIcon.tsx +132 -0
  713. package/registry/blocks/navbar-multiple-icon/index.ts +6 -0
  714. package/registry/blocks/navbar-rounded/NavbarRounded.tsx +140 -0
  715. package/registry/blocks/navbar-rounded/index.ts +6 -0
  716. package/registry/blocks/navbar-rounded-small/NavbarRoundedSmall.tsx +143 -0
  717. package/registry/blocks/navbar-rounded-small/index.ts +6 -0
  718. package/registry/blocks/navbar-small/NavbarSmall.tsx +142 -0
  719. package/registry/blocks/navbar-small/index.ts +6 -0
  720. package/registry/blocks/navbar-with-centered-logo/NavbarWithCenteredLogo.tsx +118 -0
  721. package/registry/blocks/navbar-with-centered-logo/index.ts +6 -0
  722. package/registry/blocks/navbar-with-cta-button/NavbarWithCtaButton.tsx +131 -0
  723. package/registry/blocks/navbar-with-cta-button/index.ts +6 -0
  724. package/registry/blocks/navbar-with-dropdown/NavbarWithDropdown.tsx +118 -0
  725. package/registry/blocks/navbar-with-dropdown/index.ts +6 -0
  726. package/registry/blocks/navbar-with-icon-indicator-avatar/NavbarWithIconIndicatorAvatar.tsx +85 -0
  727. package/registry/blocks/navbar-with-icon-indicator-avatar/index.ts +6 -0
  728. package/registry/blocks/navbar-with-search-input/NavbarWithSearchInput.tsx +90 -0
  729. package/registry/blocks/navbar-with-search-input/index.ts +6 -0
  730. package/registry/blocks/navbar-with-submenu/NavbarWithSubmenu.tsx +156 -0
  731. package/registry/blocks/navbar-with-submenu/index.ts +6 -0
  732. package/registry/blocks/page-header/PageHeader.tsx +5 -9
  733. package/registry/blocks/pricing/index.ts +20 -0
  734. package/registry/blocks/pricing/pricing.test.tsx +82 -0
  735. package/registry/blocks/pricing/pricing.tsx +343 -0
  736. package/registry/blocks/pricing-comparison-matrix/PricingComparisonMatrix.tsx +336 -0
  737. package/registry/blocks/pricing-comparison-matrix/index.ts +10 -0
  738. package/registry/blocks/pricing-plan-picker-summary/PricingPlanPickerSummary.tsx +399 -0
  739. package/registry/blocks/pricing-plan-picker-summary/index.ts +8 -0
  740. package/registry/blocks/pricing-plan-spotlight/PricingPlanSpotlight.tsx +281 -0
  741. package/registry/blocks/pricing-plan-spotlight/index.ts +7 -0
  742. package/registry/blocks/pricing-tiers/PricingTiers.tsx +264 -0
  743. package/registry/blocks/pricing-tiers/index.ts +8 -0
  744. package/registry/blocks/pricing-two-plan-compare/PricingTwoPlanCompare.tsx +187 -0
  745. package/registry/blocks/pricing-two-plan-compare/index.ts +7 -0
  746. package/registry/blocks/social-proof/index.ts +36 -0
  747. package/registry/blocks/social-proof/social-proof.test.tsx +504 -0
  748. package/registry/blocks/social-proof/social-proof.tsx +759 -0
  749. package/registry/blocks/social-proof-app-review-row/SocialProofAppReviewRow.tsx +168 -0
  750. package/registry/blocks/social-proof-app-review-row/index.ts +7 -0
  751. package/registry/blocks/social-proof-arch-portrait-quote/SocialProofArchPortraitQuote.tsx +114 -0
  752. package/registry/blocks/social-proof-arch-portrait-quote/index.ts +6 -0
  753. package/registry/blocks/social-proof-avatar-selector-row/SocialProofAvatarSelectorRow.tsx +276 -0
  754. package/registry/blocks/social-proof-avatar-selector-row/index.ts +7 -0
  755. package/registry/blocks/social-proof-benefit-title-cards/SocialProofBenefitTitleCards.tsx +182 -0
  756. package/registry/blocks/social-proof-benefit-title-cards/index.ts +8 -0
  757. package/registry/blocks/social-proof-bracket-framed-quote/SocialProofBracketFramedQuote.tsx +120 -0
  758. package/registry/blocks/social-proof-bracket-framed-quote/index.ts +6 -0
  759. package/registry/blocks/social-proof-case-study-row/SocialProofCaseStudyRow.tsx +210 -0
  760. package/registry/blocks/social-proof-case-study-row/index.ts +7 -0
  761. package/registry/blocks/social-proof-centered-logo-spotlight/SocialProofCenteredLogoSpotlight.tsx +103 -0
  762. package/registry/blocks/social-proof-centered-logo-spotlight/index.ts +6 -0
  763. package/registry/blocks/social-proof-classic-trio-grid/SocialProofClassicTrioGrid.tsx +138 -0
  764. package/registry/blocks/social-proof-classic-trio-grid/index.ts +7 -0
  765. package/registry/blocks/social-proof-dark-editorial-split/SocialProofDarkEditorialSplit.tsx +111 -0
  766. package/registry/blocks/social-proof-dark-editorial-split/index.ts +6 -0
  767. package/registry/blocks/social-proof-giant-quote-duo/SocialProofGiantQuoteDuo.tsx +156 -0
  768. package/registry/blocks/social-proof-giant-quote-duo/index.ts +8 -0
  769. package/registry/blocks/social-proof-highlighted-phrase-spotlight/SocialProofHighlightedPhraseSpotlight.tsx +130 -0
  770. package/registry/blocks/social-proof-highlighted-phrase-spotlight/index.ts +7 -0
  771. package/registry/blocks/social-proof-overlay-photo-quote/SocialProofOverlayPhotoQuote.tsx +111 -0
  772. package/registry/blocks/social-proof-overlay-photo-quote/index.ts +7 -0
  773. package/registry/blocks/social-proof-persona-pillars/SocialProofPersonaPillars.tsx +253 -0
  774. package/registry/blocks/social-proof-persona-pillars/index.ts +7 -0
  775. package/registry/blocks/social-proof-progress-carousel/SocialProofProgressCarousel.tsx +249 -0
  776. package/registry/blocks/social-proof-progress-carousel/index.ts +8 -0
  777. package/registry/blocks/social-proof-proof-bento/SocialProofProofBento.tsx +218 -0
  778. package/registry/blocks/social-proof-proof-bento/index.ts +6 -0
  779. package/registry/blocks/social-proof-spotlight-carousel/SocialProofSpotlightCarousel.tsx +212 -0
  780. package/registry/blocks/social-proof-spotlight-carousel/index.ts +7 -0
  781. package/registry/blocks/social-proof-staggered-columns/SocialProofStaggeredColumns.tsx +227 -0
  782. package/registry/blocks/social-proof-staggered-columns/index.ts +7 -0
  783. package/registry/blocks/social-proof-stat-story-cards/SocialProofStatStoryCards.tsx +218 -0
  784. package/registry/blocks/social-proof-stat-story-cards/index.ts +7 -0
  785. package/registry/blocks/social-proof-tinted-panel-portrait/SocialProofTintedPanelPortrait.tsx +130 -0
  786. package/registry/blocks/social-proof-tinted-panel-portrait/index.ts +7 -0
  787. package/registry/blocks/social-proof-tweet-wall/SocialProofTweetWall.tsx +179 -0
  788. package/registry/blocks/social-proof-tweet-wall/index.ts +7 -0
  789. package/registry/blocks/social-proof-vertical-column-wall/SocialProofVerticalColumnWall.tsx +220 -0
  790. package/registry/blocks/social-proof-vertical-column-wall/index.ts +7 -0
  791. package/registry/blocks/social-proof-video-story-cards/SocialProofVideoStoryCards.tsx +177 -0
  792. package/registry/blocks/social-proof-video-story-cards/index.ts +7 -0
  793. package/registry/blocks/social-proof-workplace-portrait-stories/SocialProofWorkplacePortraitStories.tsx +320 -0
  794. package/registry/blocks/social-proof-workplace-portrait-stories/index.ts +7 -0
  795. package/registry/blocks/team/index.ts +21 -0
  796. package/registry/blocks/team/team-classes.test.ts +35 -0
  797. package/registry/blocks/team/team.tsx +315 -0
  798. package/registry/blocks/team-annotated-portrait-lineup/TeamAnnotatedPortraitLineup.tsx +310 -0
  799. package/registry/blocks/team-annotated-portrait-lineup/index.ts +8 -0
  800. package/registry/blocks/team-annotated-portrait-lineup/team-annotated-portrait-lineup.test.tsx +71 -0
  801. package/registry/blocks/team-compact-directory-rows/TeamCompactDirectoryRows.tsx +190 -0
  802. package/registry/blocks/team-compact-directory-rows/compact-directory-rows.test.tsx +40 -0
  803. package/registry/blocks/team-compact-directory-rows/index.ts +7 -0
  804. package/registry/blocks/team-department-tabs-directory/TeamDepartmentTabsDirectory.tsx +414 -0
  805. package/registry/blocks/team-department-tabs-directory/department-tabs-directory.test.tsx +87 -0
  806. package/registry/blocks/team-department-tabs-directory/index.ts +10 -0
  807. package/registry/blocks/team-founder-spotlight/TeamFounderSpotlight.tsx +176 -0
  808. package/registry/blocks/team-founder-spotlight/index.ts +8 -0
  809. package/registry/blocks/team-founder-spotlight/team-founder-spotlight.test.tsx +70 -0
  810. package/registry/blocks/team-grid-backdrop-roster/TeamGridBackdropRoster.tsx +234 -0
  811. package/registry/blocks/team-grid-backdrop-roster/grid-backdrop-roster.test.tsx +72 -0
  812. package/registry/blocks/team-grid-backdrop-roster/index.ts +8 -0
  813. package/registry/blocks/team-hairline-grid/TeamHairlineGrid.tsx +190 -0
  814. package/registry/blocks/team-hairline-grid/hairline-grid.test.tsx +49 -0
  815. package/registry/blocks/team-hairline-grid/index.ts +1 -0
  816. package/registry/blocks/team-leadership-grid/TeamLeadershipGrid.tsx +183 -0
  817. package/registry/blocks/team-leadership-grid/index.ts +7 -0
  818. package/registry/blocks/team-leadership-grid/team-leadership-grid.test.tsx +38 -0
  819. package/registry/blocks/team-member-carousel/TeamMemberCarousel.tsx +178 -0
  820. package/registry/blocks/team-member-carousel/index.ts +7 -0
  821. package/registry/blocks/team-member-carousel/team-member-carousel.test.tsx +58 -0
  822. package/registry/blocks/team-member-table/TeamMemberTable.tsx +184 -0
  823. package/registry/blocks/team-member-table/index.ts +7 -0
  824. package/registry/blocks/team-member-table/member-table.test.tsx +43 -0
  825. package/registry/blocks/team-meta-profile-cards/TeamMetaProfileCards.tsx +155 -0
  826. package/registry/blocks/team-meta-profile-cards/index.ts +7 -0
  827. package/registry/blocks/team-meta-profile-cards/team-meta-profile-cards.test.tsx +29 -0
  828. package/registry/blocks/team-overlay-portrait-cards/TeamOverlayPortraitCards.tsx +145 -0
  829. package/registry/blocks/team-overlay-portrait-cards/index.ts +7 -0
  830. package/registry/blocks/team-overlay-portrait-cards/team-overlay-portrait-cards.test.tsx +49 -0
  831. package/registry/blocks/team-portrait-wall/TeamPortraitWall.tsx +131 -0
  832. package/registry/blocks/team-portrait-wall/index.ts +1 -0
  833. package/registry/blocks/team-portrait-wall/portrait-wall.test.tsx +45 -0
  834. package/registry/blocks/team-split-intro-member-rail/TeamSplitIntroMemberRail.tsx +203 -0
  835. package/registry/blocks/team-split-intro-member-rail/index.ts +7 -0
  836. package/registry/blocks/team-split-intro-member-rail/split-intro-member-rail.test.tsx +52 -0
  837. package/registry/blocks/team-we-re-hiring-cta/TeamWeReHiringCta.tsx +192 -0
  838. package/registry/blocks/team-we-re-hiring-cta/index.ts +7 -0
  839. package/registry/blocks/team-we-re-hiring-cta/we-re-hiring-cta.test.tsx +44 -0
  840. package/registry/blocks/video-call/index.ts +53 -0
  841. package/registry/blocks/video-call/video-call-around.test.tsx +427 -0
  842. package/registry/blocks/video-call/video-call-before.test.tsx +438 -0
  843. package/registry/blocks/video-call/video-call-hero.test.tsx +236 -0
  844. package/registry/blocks/video-call/video-call-stages.test.tsx +477 -0
  845. package/registry/blocks/video-call/video-call.test.tsx +794 -0
  846. package/registry/blocks/video-call/video-call.tsx +1282 -0
  847. package/registry/blocks/video-call-ai-meeting-recap/VideoCallAiMeetingRecap.tsx +466 -0
  848. package/registry/blocks/video-call-ai-meeting-recap/index.ts +9 -0
  849. package/registry/blocks/video-call-call-controls-dock/VideoCallCallControlsDock.tsx +211 -0
  850. package/registry/blocks/video-call-call-controls-dock/index.ts +6 -0
  851. package/registry/blocks/video-call-call-ended-summary/VideoCallCallEndedSummary.tsx +464 -0
  852. package/registry/blocks/video-call-call-ended-summary/index.ts +10 -0
  853. package/registry/blocks/video-call-call-with-side-panel/VideoCallCallWithSidePanel.tsx +357 -0
  854. package/registry/blocks/video-call-call-with-side-panel/index.ts +6 -0
  855. package/registry/blocks/video-call-captions-reactions/VideoCallCaptionsReactions.tsx +467 -0
  856. package/registry/blocks/video-call-captions-reactions/index.ts +10 -0
  857. package/registry/blocks/video-call-grid-gallery-call/VideoCallGridGalleryCall.tsx +312 -0
  858. package/registry/blocks/video-call-grid-gallery-call/index.ts +6 -0
  859. package/registry/blocks/video-call-hero-call-mockup/VideoCallHeroCallMockup.tsx +349 -0
  860. package/registry/blocks/video-call-hero-call-mockup/index.ts +7 -0
  861. package/registry/blocks/video-call-incoming-call/VideoCallIncomingCall.tsx +336 -0
  862. package/registry/blocks/video-call-incoming-call/index.ts +7 -0
  863. package/registry/blocks/video-call-join-link-dial-in/VideoCallJoinLinkDialIn.tsx +409 -0
  864. package/registry/blocks/video-call-join-link-dial-in/index.ts +9 -0
  865. package/registry/blocks/video-call-pre-join-lobby/VideoCallPreJoinLobby.tsx +345 -0
  866. package/registry/blocks/video-call-pre-join-lobby/index.ts +7 -0
  867. package/registry/blocks/video-call-screen-share-stage/VideoCallScreenShareStage.tsx +379 -0
  868. package/registry/blocks/video-call-screen-share-stage/index.ts +7 -0
  869. package/registry/blocks/video-call-speaker-filmstrip/VideoCallSpeakerFilmstrip.tsx +303 -0
  870. package/registry/blocks/video-call-speaker-filmstrip/index.ts +6 -0
  871. package/registry/blocks/video-call-upcoming-meetings/VideoCallUpcomingMeetings.tsx +349 -0
  872. package/registry/blocks/video-call-upcoming-meetings/index.ts +7 -0
  873. package/registry/blocks/video-call-waiting-room-knock/VideoCallWaitingRoomKnock.tsx +412 -0
  874. package/registry/blocks/video-call-waiting-room-knock/index.ts +7 -0
  875. package/registry/text-props-undefined.test.tsx +3 -26
  876. package/registry/ui/accordion/accordion.test.tsx +320 -0
  877. package/registry/ui/accordion/accordion.tsx +353 -0
  878. package/registry/ui/accordion/index.ts +15 -0
  879. package/registry/ui/alert/alert.test.tsx +325 -0
  880. package/registry/ui/alert/alert.tsx +384 -0
  881. package/registry/ui/alert/index.ts +10 -0
  882. package/registry/ui/alert-dialog/alert-dialog.test.tsx +396 -0
  883. package/registry/ui/alert-dialog/alert-dialog.tsx +423 -0
  884. package/registry/ui/alert-dialog/index.ts +21 -0
  885. package/registry/ui/avatar/avatar.test.tsx +2 -2
  886. package/registry/ui/avatar/avatar.tsx +3 -7
  887. package/registry/ui/breadcrumb/breadcrumb.test.tsx +305 -0
  888. package/registry/ui/breadcrumb/breadcrumb.tsx +205 -0
  889. package/registry/ui/breadcrumb/index.ts +11 -0
  890. package/registry/ui/button/button.test.tsx +353 -40
  891. package/registry/ui/button/button.tsx +304 -30
  892. package/registry/ui/calendar/calendar.test.tsx +192 -0
  893. package/registry/ui/calendar/calendar.tsx +405 -0
  894. package/registry/ui/calendar/index.ts +1 -0
  895. package/registry/ui/carousel/carousel.test.tsx +720 -0
  896. package/registry/ui/carousel/carousel.tsx +554 -0
  897. package/registry/ui/carousel/index.ts +11 -0
  898. package/registry/ui/checkbox/checkbox.test.tsx +318 -2
  899. package/registry/ui/checkbox/checkbox.tsx +253 -67
  900. package/registry/ui/checkbox/index.ts +1 -1
  901. package/registry/ui/content-carousel/content-carousel.test.tsx +303 -0
  902. package/registry/ui/content-carousel/content-carousel.tsx +180 -0
  903. package/registry/ui/content-carousel/index.ts +8 -0
  904. package/registry/ui/date-picker/date-picker.test.tsx +216 -0
  905. package/registry/ui/date-picker/date-picker.tsx +461 -0
  906. package/registry/ui/date-picker/index.ts +8 -0
  907. package/registry/ui/dialog/dialog.test.tsx +438 -0
  908. package/registry/ui/dialog/dialog.tsx +533 -0
  909. package/registry/ui/dialog/index.ts +20 -0
  910. package/registry/ui/dropdown-menu/dropdown-menu.test.tsx +502 -0
  911. package/registry/ui/dropdown-menu/dropdown-menu.tsx +627 -0
  912. package/registry/ui/dropdown-menu/index.ts +32 -0
  913. package/registry/ui/fasla-logo/fasla-logo.tsx +101 -0
  914. package/registry/ui/fasla-logo/index.ts +1 -0
  915. package/registry/ui/input/index.ts +10 -1
  916. package/registry/ui/input/input.test.tsx +251 -44
  917. package/registry/ui/input/input.tsx +311 -40
  918. package/registry/ui/input-number/index.ts +1 -0
  919. package/registry/ui/input-number/input-number.test.tsx +302 -0
  920. package/registry/ui/input-number/input-number.tsx +398 -0
  921. package/registry/ui/input-otp/index.ts +7 -0
  922. package/registry/ui/input-otp/input-otp.test.tsx +299 -0
  923. package/registry/ui/input-otp/input-otp.tsx +279 -0
  924. package/registry/ui/pagination/index.ts +12 -0
  925. package/registry/ui/pagination/pagination.test.tsx +330 -0
  926. package/registry/ui/pagination/pagination.tsx +336 -0
  927. package/registry/ui/progress/index.ts +8 -0
  928. package/registry/ui/progress/progress.test.tsx +168 -0
  929. package/registry/ui/progress/progress.tsx +165 -0
  930. package/registry/ui/select/index.ts +12 -1
  931. package/registry/ui/select/select.test.tsx +505 -0
  932. package/registry/ui/select/select.tsx +658 -56
  933. package/registry/ui/sheet/index.ts +19 -0
  934. package/registry/ui/sheet/sheet.test.tsx +411 -0
  935. package/registry/ui/sheet/sheet.tsx +496 -0
  936. package/registry/{blocks → ui}/sidebar/index.ts +10 -5
  937. package/registry/ui/sidebar/sidebar.test.tsx +224 -0
  938. package/registry/ui/sidebar/sidebar.tsx +754 -0
  939. package/registry/ui/slider/index.ts +8 -0
  940. package/registry/ui/slider/slider.test.tsx +231 -0
  941. package/registry/ui/slider/slider.tsx +319 -0
  942. package/registry/ui/social-icons/index.ts +1 -0
  943. package/registry/ui/social-icons/social-icons.tsx +284 -0
  944. package/registry/ui/steps/index.ts +16 -0
  945. package/registry/ui/steps/steps.test.tsx +435 -0
  946. package/registry/ui/steps/steps.tsx +571 -0
  947. package/registry/ui/switch/switch.tsx +3 -2
  948. package/registry/ui/tabs/index.ts +4 -0
  949. package/registry/ui/tabs/tabs.test.tsx +576 -0
  950. package/registry/ui/tabs/tabs.tsx +324 -112
  951. package/registry/ui/textarea/index.ts +1 -1
  952. package/registry/ui/textarea/textarea.test.tsx +294 -0
  953. package/registry/ui/textarea/textarea.tsx +329 -56
  954. package/registry/ui/tooltip/index.ts +14 -0
  955. package/registry/ui/tooltip/tooltip.test.tsx +301 -0
  956. package/registry/ui/tooltip/tooltip.tsx +409 -0
  957. package/registry.json +9702 -139
  958. package/tailwind-preset.ts +2 -2
  959. package/registry/blocks/navbar/Navbar.test.tsx +0 -12
  960. package/registry/blocks/navbar/Navbar.tsx +0 -175
  961. package/registry/blocks/sidebar/Sidebar.test.tsx +0 -39
  962. package/registry/blocks/sidebar/Sidebar.tsx +0 -212
@@ -0,0 +1,794 @@
1
+ import * as React from "react"
2
+ import { readFileSync } from "node:fs"
3
+ import { dirname, resolve } from "node:path"
4
+ import { fileURLToPath } from "node:url"
5
+ import { renderToString } from "react-dom/server"
6
+ import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"
7
+ import { act, cleanup, fireEvent, render, screen, within } from "@testing-library/react"
8
+ import { Mic, MicOff, Video, VideoOff, Ellipsis, Hand } from "lucide-react"
9
+ import {
10
+ ControlsDock,
11
+ Figures,
12
+ Latin,
13
+ ParticipantTile,
14
+ StageBar,
15
+ StarRow,
16
+ VideoCallHeading,
17
+ VideoCallSection,
18
+ VideoCallSeparator,
19
+ VideoCallToast,
20
+ isLatin,
21
+ playEntrance,
22
+ prefersReducedMotion,
23
+ useVideoCallToast,
24
+ type DockControl,
25
+ } from "./video-call"
26
+ import { VideoCallCallControlsDock, videoCallCallControlsDockCopy } from "../video-call-call-controls-dock/VideoCallCallControlsDock"
27
+ import { VideoCallCaptionsReactions, videoCallCaptionsReactionsCopy } from "../video-call-captions-reactions/VideoCallCaptionsReactions"
28
+
29
+ const here = dirname(fileURLToPath(import.meta.url))
30
+ const SOURCES = ["video-call/video-call.tsx", "video-call-call-controls-dock/VideoCallCallControlsDock.tsx", "video-call-captions-reactions/VideoCallCaptionsReactions.tsx"].map((file) =>
31
+ readFileSync(resolve(here, "..", file), "utf8")
32
+ )
33
+
34
+ /** A fake `Element.animate` that records its calls, as jsdom has none. */
35
+ function stubAnimate() {
36
+ const calls: { keyframes: unknown; options: KeyframeAnimationOptions }[] = []
37
+ const original = Element.prototype.animate
38
+ Element.prototype.animate = vi.fn(function (this: Element, keyframes: unknown, options: KeyframeAnimationOptions) {
39
+ calls.push({ keyframes, options })
40
+ return { cancel: vi.fn(), onfinish: null } as unknown as Animation
41
+ }) as unknown as typeof Element.prototype.animate
42
+ return { calls, restore: () => (Element.prototype.animate = original) }
43
+ }
44
+
45
+ function stubReducedMotion(reduced: boolean) {
46
+ const original = window.matchMedia
47
+ window.matchMedia = ((query: string) => ({ matches: reduced && query.includes("reduce"), media: query, addEventListener() {}, removeEventListener() {}, addListener() {}, removeListener() {}, onchange: null, dispatchEvent: () => false })) as typeof window.matchMedia
48
+ return () => (window.matchMedia = original)
49
+ }
50
+
51
+ /** Every string a copy object holds as a value, without its ids (`settings`, `c1`) and its Latin shortcut. */
52
+ function strings(value: unknown, key = ""): string[] {
53
+ if (typeof value === "string") return key === "id" ? [] : [value.replace(/⌘ D/g, "").replace(/\{\w+\}/g, "")]
54
+ if (Array.isArray(value)) return value.flatMap((item) => strings(item))
55
+ if (value && typeof value === "object") return Object.entries(value).flatMap(([k, v]) => strings(v, k))
56
+ return []
57
+ }
58
+
59
+ afterEach(() => {
60
+ cleanup()
61
+ vi.useRealTimers()
62
+ })
63
+
64
+ describe("the source", () => {
65
+ it("uses logical properties only: no left, right, margin or padding on a physical side", () => {
66
+ for (const source of SOURCES) {
67
+ expect(source).not.toMatch(/\b(?:ml|mr|pl|pr)-(?:\d|\[|px|auto)/)
68
+ expect(source).not.toMatch(/(?:^|[\s"'`:])(?:left|right)-(?:\d|\[|px|auto|full)/)
69
+ expect(source).not.toMatch(/text-(?:left|right)\b/)
70
+ expect(source).not.toMatch(/\b(?:rounded|border)-(?:l|r)(?:-|\b)/)
71
+ }
72
+ })
73
+
74
+ it("never imports the motion library or the package's motion presets, which do not resolve after an install", () => {
75
+ for (const source of SOURCES) {
76
+ expect(source).not.toMatch(/from ["'](?:framer-motion|motion\/react)["']/)
77
+ expect(source).not.toMatch(/from ["'][^"']*src\/motion/)
78
+ }
79
+ })
80
+
81
+ it("asks for no camera, microphone or video element: stills only", () => {
82
+ for (const source of SOURCES) {
83
+ expect(source).not.toMatch(/getUserMedia|<video\b|mediaDevices/)
84
+ }
85
+ })
86
+ })
87
+
88
+ describe("isLatin, Latin and Figures", () => {
89
+ it("tells a string without Arabic letters from one with them", () => {
90
+ expect(isLatin("Mute")).toBe(true)
91
+ expect(isLatin("كتم")).toBe(false)
92
+ expect(isLatin(3 as unknown as React.ReactNode)).toBe(false)
93
+ })
94
+
95
+ it("keeps a Latin run whole and left to right in its own isolate", () => {
96
+ const { container } = render(<Latin>fasla.to/room</Latin>)
97
+ const bdi = container.querySelector("bdi")!
98
+ expect(bdi).toHaveAttribute("dir", "ltr")
99
+ expect(bdi).toHaveClass("whitespace-nowrap")
100
+ })
101
+
102
+ it("isolates each Latin run and figure inside an Arabic sentence, and leaves English alone", () => {
103
+ const arabic = render(<Figures>{"اضغط ⌘ D للتحدث مع Fasla في 3 دقائق"}</Figures>)
104
+ expect([...arabic.container.querySelectorAll("bdi")].map((bdi) => bdi.textContent)).toEqual(["⌘ D", "Fasla", "3"])
105
+ const english = render(<Figures>{"Press ⌘ D to talk"}</Figures>)
106
+ expect(english.container.querySelector("bdi")).toBeNull()
107
+ expect(english.container).toHaveTextContent("Press ⌘ D to talk")
108
+ })
109
+
110
+ it("keeps a time range whole and left-to-right inside an Arabic sentence", () => {
111
+ // Measured in Chrome (RTL): 10:00 sits left of the dash and 10:45 right of it, 3px each side. One isolate is what makes that so.
112
+ const { container } = render(<Figures>{"اليوم، 10:00 – 10:45"}</Figures>)
113
+ expect([...container.querySelectorAll("bdi")].map((bdi) => bdi.textContent)).toEqual(["10:00 – 10:45"])
114
+ expect(container.querySelector("bdi")).toHaveAttribute("dir", "ltr")
115
+ const split = render(<Figures>{"اليوم من 10:00 إلى 10:47"}</Figures>)
116
+ expect([...split.container.querySelectorAll("bdi")].map((bdi) => bdi.textContent)).toEqual(["10:00", "10:47"])
117
+ })
118
+
119
+ it("passes anything that is not a string through", () => {
120
+ const { container } = render(<Figures>{<b>x</b>}</Figures>)
121
+ expect(container.querySelector("b")).toBeInTheDocument()
122
+ })
123
+ })
124
+
125
+ describe("motion helpers", () => {
126
+ it("reads the reduced-motion setting, and is false where there is no matchMedia", () => {
127
+ expect(prefersReducedMotion()).toBe(false)
128
+ const restore = stubReducedMotion(true)
129
+ expect(prefersReducedMotion()).toBe(true)
130
+ restore()
131
+ })
132
+
133
+ it("rises and fades nodes in over 180ms, 60ms apart, on the standard ease", () => {
134
+ const { calls, restore } = stubAnimate()
135
+ const nodes = [document.createElement("div"), document.createElement("div")]
136
+ playEntrance(nodes)
137
+ expect(calls).toHaveLength(2)
138
+ expect(calls[0]!.options).toMatchObject({ duration: 180, delay: 0, easing: "cubic-bezier(0.2, 0, 0, 1)", fill: "backwards" })
139
+ expect(calls[1]!.options.delay).toBe(60)
140
+ expect(JSON.stringify(calls[0]!.keyframes)).toContain("translateY(8px)")
141
+ restore()
142
+ })
143
+
144
+ it("only fades, in 120ms with no stagger, under reduced motion", () => {
145
+ const restoreMotion = stubReducedMotion(true)
146
+ const { calls, restore } = stubAnimate()
147
+ playEntrance([document.createElement("div"), document.createElement("div")])
148
+ expect(calls.map((call) => call.options.duration)).toEqual([120, 120])
149
+ expect(calls.map((call) => call.options.delay)).toEqual([0, 0])
150
+ expect(JSON.stringify(calls[0]!.keyframes)).not.toContain("translate")
151
+ restore()
152
+ restoreMotion()
153
+ })
154
+ })
155
+
156
+ describe("the section, the heading and the rule", () => {
157
+ it("is a query container with Figma's padding and a 1248px column", () => {
158
+ render(
159
+ <VideoCallSection labelledBy="h" data-testid="section">
160
+ <p>in</p>
161
+ </VideoCallSection>
162
+ )
163
+ const section = screen.getByTestId("section")
164
+ expect(section).toHaveClass("[container-type:inline-size]", "bg-background", "p-8", "md:p-16", "lg:p-24")
165
+ expect(section.firstElementChild).toHaveClass("max-w-[1248px]", "gap-12")
166
+ })
167
+
168
+ it("sets an eyebrow, an h2 and a line, start aligned", () => {
169
+ render(<VideoCallHeading headingId="h" eyebrow="EYEBROW" heading="Heading" description="Line" />)
170
+ expect(screen.getByRole("heading", { level: 2, name: "Heading" })).toHaveAttribute("id", "h")
171
+ expect(screen.getByText("EYEBROW")).toHaveClass("text-primary")
172
+ expect(screen.getByText("Line")).toHaveClass("text-muted-foreground")
173
+ })
174
+
175
+ it("draws a 1px separator in `border`", () => {
176
+ render(<VideoCallSeparator />)
177
+ expect(screen.getByRole("separator")).toHaveClass("h-px", "bg-border")
178
+ })
179
+ })
180
+
181
+ describe("the toast", () => {
182
+ function Toaster() {
183
+ const toast = useVideoCallToast(1600)
184
+ return (
185
+ <>
186
+ <button onClick={() => toast.show("Copied")}>show</button>
187
+ <VideoCallToast message={toast.message} />
188
+ </>
189
+ )
190
+ }
191
+
192
+ it("announces a message politely and clears it after 1.6s", () => {
193
+ vi.useFakeTimers()
194
+ render(<Toaster />)
195
+ expect(screen.getByRole("status")).toBeEmptyDOMElement()
196
+ fireEvent.click(screen.getByText("show"))
197
+ expect(screen.getByRole("status")).toHaveTextContent("Copied")
198
+ act(() => void vi.advanceTimersByTime(1599))
199
+ expect(screen.getByRole("status")).toHaveTextContent("Copied")
200
+ act(() => void vi.advanceTimersByTime(2))
201
+ expect(screen.getByRole("status")).toBeEmptyDOMElement()
202
+ })
203
+ })
204
+
205
+ describe("StarRow", () => {
206
+ it("fills every star up to the one hovered, then keeps the one chosen and reports it", () => {
207
+ const onValueChange = vi.fn()
208
+ render(<StarRow label="Rate the call" onValueChange={onValueChange} starLabel={(n, count) => `${n} of ${count}`} />)
209
+ const stars = screen.getAllByRole("radio")
210
+ expect(stars).toHaveLength(5)
211
+ expect(stars.filter((star) => star.hasAttribute("data-filled"))).toHaveLength(0)
212
+ fireEvent.pointerEnter(stars[2]!)
213
+ expect(stars.filter((star) => star.hasAttribute("data-filled"))).toHaveLength(3)
214
+ fireEvent.click(stars[3]!)
215
+ expect(onValueChange).toHaveBeenCalledWith(4)
216
+ fireEvent.pointerLeave(screen.getByRole("radiogroup"))
217
+ expect(stars.filter((star) => star.hasAttribute("data-filled"))).toHaveLength(4)
218
+ expect(stars[3]).toHaveAttribute("aria-checked", "true")
219
+ expect(screen.getByRole("radiogroup")).toHaveAccessibleName("Rate the call")
220
+ })
221
+
222
+ it("draws a star in the amber warning, and an unfilled one in the Rating atom's 20% amber tint", () => {
223
+ render(<StarRow label="Rate" defaultValue={2} />)
224
+ const stars = screen.getAllByRole("radio")
225
+ expect(stars[0]).toHaveClass("text-warning")
226
+ expect(stars[1]).toHaveClass("text-warning")
227
+ for (const star of stars.slice(2)) {
228
+ expect(star).toHaveClass("text-soft-warning-20")
229
+ expect(star).not.toHaveClass("text-border")
230
+ }
231
+ })
232
+
233
+ it("moves with the arrow keys, following the reading direction", () => {
234
+ const onValueChange = vi.fn()
235
+ render(<StarRow label="Rate" defaultValue={2} onValueChange={onValueChange} />)
236
+ fireEvent.keyDown(screen.getAllByRole("radio")[1]!, { key: "ArrowRight" })
237
+ expect(onValueChange).toHaveBeenLastCalledWith(3)
238
+ fireEvent.keyDown(screen.getAllByRole("radio")[1]!, { key: "ArrowLeft" })
239
+ expect(onValueChange).toHaveBeenLastCalledWith(2)
240
+ })
241
+ })
242
+
243
+ describe("StageBar and ParticipantTile", () => {
244
+ it("sets the name and time at the start and the actions at the end", () => {
245
+ render(<StageBar title="Design sync" time="24:18" state={<span>REC</span>} actions={<button>Grid</button>} data-testid="bar" />)
246
+ expect(screen.getByText("Design sync")).toBeInTheDocument()
247
+ expect(screen.getByText("24:18")).toHaveClass("tabular-nums")
248
+ expect(screen.getByTestId("bar")).toHaveClass("justify-between")
249
+ })
250
+
251
+ it("names a tile on its chip, shows the mic-off mark when muted, and draws the speaking ring", () => {
252
+ const { rerender } = render(<ParticipantTile name="Mazen Darwish" photo={{ src: "/m.webp", alt: "Mazen" }} speaking data-testid="tile" />)
253
+ expect(screen.getByAltText("Mazen")).toHaveAttribute("src", "/m.webp")
254
+ expect(screen.getByText("Mazen Darwish")).toBeInTheDocument()
255
+ expect(screen.getByTestId("tile")).toHaveAttribute("data-speaking")
256
+ expect(screen.getByTestId("tile").className).toContain("ring-border")
257
+ rerender(<ParticipantTile name="Mazen Darwish" initials="MD" muted data-testid="tile" />)
258
+ expect(screen.getByText("MD")).toBeInTheDocument()
259
+ expect(screen.getByTestId("tile")).not.toHaveAttribute("data-speaking")
260
+ })
261
+
262
+ it("lifts a phone tile's initials clear of the name chip, and hands the Tablet size back to the larger tile", () => {
263
+ // Measured in Chrome at 360px: a 72px tile has 34px above its chip, and Arabic initials at text-2xl ran under it.
264
+ render(<ParticipantTile name="Hani Mansour" initials="HM" />)
265
+ const initials = screen.getByText("HM")
266
+ expect(initials).toHaveClass("pb-10", "text-xl", "leading-none")
267
+ expect(initials.className).toContain("[@container(min-width:40rem)]:pb-6")
268
+ expect(initials.className).toContain("[@container(min-width:40rem)]:text-3xl")
269
+ })
270
+
271
+ it("crops a photo around its own focal point, and keeps the tile's default without one", () => {
272
+ const { rerender } = render(<ParticipantTile name="Mazen" photo={{ src: "/m.webp", alt: "Mazen", position: "50% 43%" }} />)
273
+ expect(screen.getByRole("img", { name: "Mazen" })).toHaveStyle({ objectPosition: "50% 43%" })
274
+ rerender(<ParticipantTile name="Mazen" photo={{ src: "/m.webp", alt: "Mazen" }} />)
275
+ expect(screen.getByRole("img", { name: "Mazen" }).style.objectPosition).toBe("")
276
+ })
277
+
278
+ it("puts the name chip on the start or the end, or leaves it out", () => {
279
+ const { rerender } = render(<ParticipantTile name="A" chip="end" />)
280
+ expect(screen.getByText("A").closest("[class*=absolute]")?.className).toContain("end-3")
281
+ rerender(<ParticipantTile name="A" chip="none" />)
282
+ expect(screen.queryByText("A")).not.toBeInTheDocument()
283
+ })
284
+
285
+ it("has a pin only when asked, and reports it", () => {
286
+ const onPinnedChange = vi.fn()
287
+ const { rerender } = render(<ParticipantTile name="Adam" />)
288
+ expect(screen.queryByRole("button")).not.toBeInTheDocument()
289
+ rerender(<ParticipantTile name="Adam" onPinnedChange={onPinnedChange} pinLabel="Pin Adam" />)
290
+ const pin = screen.getByRole("button", { name: "Pin Adam" })
291
+ expect(pin).toHaveAttribute("aria-pressed", "false")
292
+ fireEvent.click(pin)
293
+ expect(onPinnedChange).toHaveBeenCalledWith(true)
294
+ })
295
+ })
296
+
297
+ const CONTROLS: DockControl[] = [
298
+ { id: "mic", icon: Mic, pressedIcon: MicOff, label: "Mute", pressedLabel: "Unmute", toggle: true },
299
+ { id: "video", icon: Video, pressedIcon: VideoOff, label: "Stop video", pressedLabel: "Start video", toggle: true },
300
+ { id: "hand", icon: Hand, label: "Raise hand", pressedLabel: "Lower hand", kind: "on", toggle: true, hideOnPhone: true },
301
+ { id: "more", icon: Ellipsis, label: "More", menu: [{ id: "settings", label: "Settings" }] },
302
+ ]
303
+
304
+ function dock(props: Partial<React.ComponentProps<typeof ControlsDock>> = {}) {
305
+ return render(<ControlsDock label="Call controls" controls={CONTROLS} leaveLabel="Leave" leaveConfirmLabel="Press again to leave" leaveHint="Hold to leave" {...props} />)
306
+ }
307
+
308
+ /** Makes a `[data-video-call]` section read as `width` px wide, as the tier hook measures it. */
309
+ function atWidth(width: number) {
310
+ const proto = HTMLElement.prototype
311
+ const descriptor = Object.getOwnPropertyDescriptor(proto, "clientWidth")
312
+ Object.defineProperty(proto, "clientWidth", { configurable: true, get: () => width })
313
+ return () => {
314
+ if (descriptor) Object.defineProperty(proto, "clientWidth", descriptor)
315
+ else delete (proto as unknown as { clientWidth?: unknown }).clientWidth
316
+ }
317
+ }
318
+
319
+ function dockIn(width: number, props: Partial<React.ComponentProps<typeof ControlsDock>> = {}) {
320
+ const restore = atWidth(width)
321
+ const view = render(
322
+ <section data-video-call="">
323
+ <ControlsDock label="Call controls" controls={CONTROLS} leaveLabel="Leave" leaveConfirmLabel="Press again to leave" leaveHint="Hold to leave" {...props} />
324
+ </section>
325
+ )
326
+ restore()
327
+ return view
328
+ }
329
+
330
+ describe("ControlsDock", () => {
331
+ it("is a labelled group of Icon Buttons with Leave last, so Leave is the end in either direction", () => {
332
+ dock()
333
+ const toolbar = screen.getByRole("group", { name: "Call controls" })
334
+ const buttons = within(toolbar).getAllByRole("button")
335
+ expect(buttons.map((b) => b.getAttribute("data-control"))).toEqual(["mic", "video", "hand", "more", "leave"])
336
+ expect(buttons[0]).toHaveClass("bg-primary", "rounded-full", "size-10")
337
+ expect(buttons[4]).toHaveClass("bg-destructive")
338
+ })
339
+
340
+ it("sizes every control with the Icon Button's own size and no custom size class", () => {
341
+ dockIn(1280)
342
+ for (const button of document.querySelectorAll("[data-control]")) {
343
+ expect(button.className).not.toMatch(/size-(11|12|14)\b/)
344
+ }
345
+ expect(document.querySelector("[data-control=mic]")).toHaveClass("size-10")
346
+ expect(document.querySelector("[data-control=more]")).toHaveClass("size-10")
347
+ })
348
+
349
+ it("takes md (36px) or lg (40px) for the controls, from the atom", () => {
350
+ dockIn(1280, { size: "md" })
351
+ expect(document.querySelector("[data-control=mic]")).toHaveClass("size-9")
352
+ expect(document.querySelector("[data-control=more]")).toHaveClass("size-9")
353
+ })
354
+
355
+ it("uses phoneSize below Tablet and size from Tablet", () => {
356
+ const phone = dockIn(360, { size: "lg", phoneSize: "md" })
357
+ expect(document.querySelector("[data-control=mic]")).toHaveClass("size-9")
358
+ phone.unmount()
359
+ dockIn(800, { size: "lg", phoneSize: "md" })
360
+ expect(document.querySelector("[data-control=mic]")).toHaveClass("size-10")
361
+ })
362
+
363
+ // The opening tag that carries `marker`, whatever order React wrote its attributes in.
364
+ const openingTag = (html: string, marker: string) => html.match(new RegExp(`<[^<>]*${marker}[^<>]*>`))?.[0] ?? ""
365
+
366
+ it("never paints the wrong size first: server HTML waits for the first reading, the client has it before paint", () => {
367
+ const props = { label: "Call controls", controls: CONTROLS, leaveLabel: "Leave", leaveConfirmLabel: "Press again to leave", leaveHint: "Hold to leave" }
368
+ // The dock's tooltips and menu (Base UI) call useLayoutEffect, which React warns about on every server render; that is theirs, not under test here.
369
+ const original = console.error
370
+ const quiet = vi.spyOn(console, "error").mockImplementation((...args) => {
371
+ if (typeof args[0] === "string" && args[0].includes("useLayoutEffect does nothing on the server")) return
372
+ original(...args)
373
+ })
374
+ // Server-rendered markup is painted before React hydrates, so a dock whose size follows the tier and an icon-only Leave hide until measured.
375
+ const serverTiered = renderToString(<ControlsDock {...props} size="lg" phoneSize="md" />)
376
+ expect(openingTag(serverTiered, 'role="group"')).toMatch(/class="[^"]*\binvisible\b/)
377
+ expect(openingTag(serverTiered, 'data-control="leave"')).toMatch(/class="[^"]*\binvisible\b/)
378
+ // A dock with one size at every tier, and an always-labelled Leave, have nothing to wait for.
379
+ const serverFlat = renderToString(<ControlsDock {...props} size="lg" leaveLabelled />)
380
+ expect(openingTag(serverFlat, 'role="group"')).not.toMatch(/\binvisible\b/)
381
+ expect(openingTag(serverFlat, 'data-control="leave"')).not.toMatch(/\binvisible\b/)
382
+ quiet.mockRestore()
383
+ // On the client the layout effect reads the width before the browser paints, so by the time render returns nothing is hidden.
384
+ dockIn(360, { size: "lg", phoneSize: "md" })
385
+ expect(screen.getByRole("group", { name: "Call controls" })).not.toHaveClass("invisible")
386
+ expect(document.querySelector("[data-control=leave]")).not.toHaveClass("invisible")
387
+ })
388
+
389
+ it("makes Leave the icon-only Icon Button on phones and the labelled Button from Tablet", () => {
390
+ const phone = dockIn(360)
391
+ const small = document.querySelector("[data-control=leave]")!
392
+ expect(small).toHaveClass("size-10")
393
+ expect(small.className).not.toMatch(/size-11|px-0/)
394
+ expect(small).toHaveAccessibleName("Leave")
395
+ expect(small.querySelector("span.hidden")).toHaveTextContent("Leave")
396
+ phone.unmount()
397
+ dockIn(800)
398
+ const wide = document.querySelector("[data-control=leave]")!
399
+ expect(wide).toHaveClass("h-10", "px-6")
400
+ expect(wide).not.toHaveClass("size-10")
401
+ })
402
+
403
+ it("trims the controls marked hideOnPhone from the phone layout only", () => {
404
+ dock()
405
+ expect(document.querySelector("[data-control=hand]")!.parentElement).toHaveClass("hidden", "[@container(min-width:40rem)]:block")
406
+ expect(document.querySelector("[data-control=hand]")!.parentElement).not.toHaveClass("flex")
407
+ expect(document.querySelector("[data-control=mic]")!.parentElement).not.toHaveClass("hidden")
408
+ })
409
+
410
+ it("keeps a trimmed control's caption under it from Tablet, in the labelled dock", () => {
411
+ dock({ density: "labelled" })
412
+ expect(document.querySelector("[data-control=hand]")!.parentElement).toHaveClass("hidden", "[@container(min-width:40rem)]:flex", "flex-col")
413
+ })
414
+
415
+ it("toggles mic and camera: pressed state, new name, destructive tone, and the callback", () => {
416
+ const onControl = vi.fn()
417
+ dock({ onControl })
418
+ const mic = screen.getByRole("button", { name: "Mute" })
419
+ expect(mic).toHaveAttribute("aria-pressed", "false")
420
+ fireEvent.click(mic)
421
+ const unmute = screen.getByRole("button", { name: "Unmute" })
422
+ expect(unmute).toHaveAttribute("aria-pressed", "true")
423
+ expect(unmute).toHaveClass("bg-destructive")
424
+ expect(onControl).toHaveBeenLastCalledWith("mic", true)
425
+ fireEvent.click(unmute)
426
+ expect(screen.getByRole("button", { name: "Mute" })).toHaveClass("bg-primary")
427
+ expect(onControl).toHaveBeenLastCalledWith("mic", false)
428
+ })
429
+
430
+ it("turns an `on` control secondary rather than destructive when it is pressed", () => {
431
+ dock()
432
+ fireEvent.click(screen.getByRole("button", { name: "Raise hand" }))
433
+ const lowered = screen.getByRole("button", { name: "Lower hand" })
434
+ expect(lowered).toHaveClass("bg-secondary")
435
+ expect(lowered).not.toHaveClass("bg-destructive")
436
+ })
437
+
438
+ it("starts a control pressed when asked", () => {
439
+ dock({ controls: [{ ...CONTROLS[0]!, defaultPressed: true }] })
440
+ expect(screen.getByRole("button", { name: "Unmute" })).toHaveAttribute("aria-pressed", "true")
441
+ })
442
+
443
+ it("cross-fades the glyph in 100ms and settles under reduced motion", () => {
444
+ dock()
445
+ const mic = screen.getByRole("button", { name: "Mute" })
446
+ const glyphs = mic.querySelectorAll("svg")
447
+ expect(glyphs).toHaveLength(2)
448
+ for (const glyph of glyphs) expect(glyph.getAttribute("class")).toContain("duration-100")
449
+ expect(mic.className).toContain("motion-reduce:transition-none")
450
+ expect(mic.className).toContain("hover:motion-safe:scale-[1.06]")
451
+ expect(mic.className).toContain("active:motion-safe:scale-[0.96]")
452
+ })
453
+
454
+ it("labels each control in the labelled density, and the label follows the pressed state", () => {
455
+ dock({ density: "labelled", controls: [{ ...CONTROLS[0]!, caption: "Mute", pressedCaption: "Unmute" }] })
456
+ expect(screen.getByText("Mute", { selector: "span" })).toHaveClass("text-muted-foreground")
457
+ fireEvent.click(screen.getByRole("button", { name: "Mute" }))
458
+ expect(screen.getByText("Unmute", { selector: "span" })).toBeInTheDocument()
459
+ })
460
+
461
+ it("opens the More menu and reports the chosen item", async () => {
462
+ const onMenuAction = vi.fn()
463
+ dock({ onMenuAction })
464
+ await act(async () => {
465
+ fireEvent.click(screen.getByRole("button", { name: "More" }))
466
+ })
467
+ const item = await screen.findByRole("menuitem", { name: "Settings" })
468
+ await act(async () => {
469
+ fireEvent.pointerDown(item, { pointerType: "mouse" })
470
+ fireEvent.mouseDown(item)
471
+ fireEvent.pointerUp(item, { pointerType: "mouse" })
472
+ fireEvent.mouseUp(item)
473
+ fireEvent.click(item)
474
+ })
475
+ expect(onMenuAction).toHaveBeenCalledWith("settings")
476
+ })
477
+
478
+ describe("Leave", () => {
479
+ it("leaves only once it has been held for 400ms", () => {
480
+ vi.useFakeTimers()
481
+ const onLeave = vi.fn()
482
+ dock({ onLeave })
483
+ const leave = screen.getByRole("button", { name: "Leave" })
484
+ fireEvent.pointerDown(leave, { pointerType: "mouse", button: 0 })
485
+ act(() => void vi.advanceTimersByTime(399))
486
+ expect(onLeave).not.toHaveBeenCalled()
487
+ act(() => void vi.advanceTimersByTime(2))
488
+ expect(onLeave).toHaveBeenCalledTimes(1)
489
+ })
490
+
491
+ it("does not leave when the press ends early, and shows the hint instead", () => {
492
+ vi.useFakeTimers()
493
+ const onLeave = vi.fn()
494
+ dock({ onLeave })
495
+ const leave = screen.getByRole("button", { name: "Leave" })
496
+ fireEvent.pointerDown(leave, { pointerType: "mouse", button: 0 })
497
+ act(() => void vi.advanceTimersByTime(150))
498
+ fireEvent.pointerUp(leave, { pointerType: "mouse" })
499
+ fireEvent.click(leave, { detail: 1 })
500
+ act(() => void vi.advanceTimersByTime(1000))
501
+ expect(onLeave).not.toHaveBeenCalled()
502
+ expect(screen.getByRole("status")).toHaveTextContent("Hold to leave")
503
+ })
504
+
505
+ it("holds with the pointer by growing a fill over the hold time, unless motion is reduced", () => {
506
+ const { calls, restore } = stubAnimate()
507
+ dock({ holdMs: 400 })
508
+ fireEvent.pointerDown(screen.getByRole("button", { name: "Leave" }), { pointerType: "mouse", button: 0 })
509
+ expect(calls.some((call) => call.options.duration === 400 && JSON.stringify(call.keyframes).includes("100%"))).toBe(true)
510
+ restore()
511
+ const restoreMotion = stubReducedMotion(true)
512
+ const second = stubAnimate()
513
+ cleanup()
514
+ dock()
515
+ fireEvent.pointerDown(screen.getByRole("button", { name: "Leave" }), { pointerType: "mouse", button: 0 })
516
+ expect(second.calls.some((call) => call.options.duration === 400)).toBe(false)
517
+ second.restore()
518
+ restoreMotion()
519
+ })
520
+
521
+ it("keeps Leave's label on phones in the labelled dock, and drops it in the compact one", () => {
522
+ const { rerender } = dock()
523
+ expect(document.querySelector("[data-control=leave] span.hidden")).not.toBeNull()
524
+ rerender(<ControlsDock label="c" controls={CONTROLS} leaveLabel="Leave" leaveConfirmLabel="again" leaveHint="Hold" leaveLabelled />)
525
+ const leave = document.querySelector("[data-control=leave]")!
526
+ expect(leave).toHaveClass("h-10", "px-6")
527
+ expect(leave).not.toHaveClass("size-10")
528
+ expect(leave.querySelector("span.hidden")).toBeNull()
529
+ })
530
+
531
+ it("takes a second press from the keyboard, within three seconds, to leave", () => {
532
+ vi.useFakeTimers()
533
+ const onLeave = vi.fn()
534
+ dock({ onLeave })
535
+ const leave = screen.getByRole("button", { name: "Leave" })
536
+ fireEvent.click(leave, { detail: 0 })
537
+ expect(onLeave).not.toHaveBeenCalled()
538
+ expect(leave).toHaveAttribute("data-armed")
539
+ expect(leave).toHaveAccessibleName("Press again to leave")
540
+ fireEvent.click(leave, { detail: 0 })
541
+ expect(onLeave).toHaveBeenCalledTimes(1)
542
+ expect(leave).not.toHaveAttribute("data-armed")
543
+ })
544
+
545
+ it("disarms by itself after three seconds", () => {
546
+ vi.useFakeTimers()
547
+ const onLeave = vi.fn()
548
+ dock({ onLeave })
549
+ const leave = screen.getByRole("button", { name: "Leave" })
550
+ fireEvent.click(leave, { detail: 0 })
551
+ act(() => void vi.advanceTimersByTime(3001))
552
+ expect(leave).not.toHaveAttribute("data-armed")
553
+ fireEvent.click(leave, { detail: 0 })
554
+ expect(onLeave).not.toHaveBeenCalled()
555
+ })
556
+
557
+ it("can be left out of a row of controls", () => {
558
+ dock({ hideLeave: true })
559
+ expect(document.querySelector("[data-control=leave]")).toBeNull()
560
+ })
561
+ })
562
+ })
563
+
564
+ describe("Call Controls Dock", () => {
565
+ it("shows the three densities in one card, in English", () => {
566
+ render(<VideoCallCallControlsDock />)
567
+ expect(screen.getByRole("heading", { level: 2, name: "Everything within thumb reach" })).toBeInTheDocument()
568
+ expect(screen.getByText("IN-CALL CONTROLS")).toBeInTheDocument()
569
+ expect(screen.getAllByRole("group").map((t) => t.getAttribute("aria-label"))).toEqual(["Compact dock", "Labelled dock", "Dock with mic and camera off"])
570
+ expect(screen.getAllByRole("separator")).toHaveLength(2)
571
+ expect(screen.getByRole("tooltip")).toHaveTextContent("You're muted. Press ⌘ D to talk")
572
+ })
573
+
574
+ it("shows the states row with the mic and camera already off", () => {
575
+ render(<VideoCallCallControlsDock />)
576
+ const states = screen.getByRole("group", { name: "Dock with mic and camera off" })
577
+ expect(within(states).getByRole("button", { name: "Unmute" })).toHaveAttribute("aria-pressed", "true")
578
+ expect(within(states).getByRole("button", { name: "Start video" })).toHaveAttribute("aria-pressed", "true")
579
+ })
580
+
581
+ it("has the compact row's eight controls and the labelled row's seven, plus Leave", () => {
582
+ render(<VideoCallCallControlsDock />)
583
+ const [compact, labelled] = screen.getAllByRole("group")
584
+ expect(within(compact!).getAllByRole("button")).toHaveLength(9)
585
+ expect(within(labelled!).getAllByRole("button")).toHaveLength(8)
586
+ expect(within(labelled!).getByText("Record")).toBeInTheDocument()
587
+ })
588
+
589
+ it("speaks Arabic with the shortcut isolated, no dashes or middle dots in the prose", () => {
590
+ render(<div dir="rtl"><VideoCallCallControlsDock locale="ar" /></div>)
591
+ expect(screen.getByRole("heading", { level: 2, name: "كل شيء في متناول إبهامك" })).toBeInTheDocument()
592
+ const tip = screen.getByRole("tooltip")
593
+ expect(tip.querySelector("bdi")).toHaveTextContent("⌘ D")
594
+ expect(tip.querySelector("bdi")).toHaveAttribute("dir", "ltr")
595
+ const arabic = strings(videoCallCallControlsDockCopy.ar).join(" ")
596
+ expect(arabic).not.toMatch(/—|·|\(/)
597
+ expect(arabic).not.toMatch(/[٠-٩]/)
598
+ })
599
+
600
+ it("reports a control and a Leave held to the end", () => {
601
+ vi.useFakeTimers()
602
+ const onControl = vi.fn()
603
+ const onLeave = vi.fn()
604
+ render(<VideoCallCallControlsDock onControl={onControl} onLeave={onLeave} />)
605
+ const [compact] = screen.getAllByRole("group")
606
+ fireEvent.click(within(compact!).getByRole("button", { name: "Mute" }))
607
+ expect(onControl).toHaveBeenCalledWith("mic", true)
608
+ fireEvent.pointerDown(within(compact!).getByRole("button", { name: "Leave" }), { pointerType: "mouse", button: 0 })
609
+ act(() => void vi.advanceTimersByTime(401))
610
+ expect(onLeave).toHaveBeenCalledTimes(1)
611
+ })
612
+
613
+ it("takes its copy from props over the locale's", () => {
614
+ render(<VideoCallCallControlsDock heading="Custom" leave="Hang up" />)
615
+ expect(screen.getByRole("heading", { level: 2, name: "Custom" })).toBeInTheDocument()
616
+ expect(screen.getAllByRole("button", { name: "Hang up" }).length).toBe(3)
617
+ })
618
+ })
619
+
620
+ describe("Captions & Reactions", () => {
621
+ beforeEach(() => {
622
+ vi.useRealTimers()
623
+ })
624
+
625
+ it("shows the speaker, the raise-hand chip, the two caption lines and the picker, in English", () => {
626
+ render(<VideoCallCaptionsReactions photo={{ src: "/k.webp", alt: "Adam" }} />)
627
+ expect(screen.getByAltText("Adam")).toHaveAttribute("src", "/k.webp")
628
+ expect(screen.getAllByText("Nabil Khalil raised a hand · 2 in queue")).toHaveLength(1)
629
+ expect(screen.getByText("Live captions · English")).toBeInTheDocument()
630
+ expect(screen.getByText("Agreed. I'll take the lobby states.")).toBeInTheDocument()
631
+ expect(screen.getByRole("group", { name: "Send a reaction" })).toBeInTheDocument()
632
+ expect(screen.getAllByRole("button", { name: /Thumbs up|Heart|Celebrate|Smile|Raised hand/ })).toHaveLength(5)
633
+ })
634
+
635
+ it("lays the phone stage out as Figma's Mobile frame does: 4px card inset, 8px gaps, a 12px caption bar in 12px type", () => {
636
+ // Figma Mobile: the card pads 4 across, the stage is 288x384, the reaction row (4 x 36, gap 8) sits 8px above a 280x140 caption bar (padding 12, 12px lines).
637
+ const { container } = render(<VideoCallCaptionsReactions />)
638
+ const card = container.querySelector("section > div")!
639
+ expect(card).toHaveClass("px-1", "py-4", "[@container(min-width:40rem)]:p-4")
640
+ const bar = screen.getByText("Live captions · English").closest("[role=group]")!
641
+ expect(bar).toHaveClass("p-3", "gap-2", "[@container(min-width:40rem)]:px-5", "[@container(min-width:40rem)]:py-4")
642
+ expect(bar.parentElement).toHaveClass("gap-2")
643
+ expect(screen.getByRole("list", { name: "Send a reaction" })).toHaveClass("gap-2", "[@container(min-width:40rem)]:gap-3")
644
+ const line = within(bar as HTMLElement).getByText("Adam Farouk").closest("div")!
645
+ expect(line).toHaveClass("gap-0.5", "text-xs", "[@container(min-width:40rem)]:text-sm")
646
+ })
647
+
648
+ it("paints the caption bar with the inverse tokens and sizes it by the block's width", () => {
649
+ render(<VideoCallCaptionsReactions />)
650
+ const bar = screen.getByText("Live captions · English").closest("[role=group]")!
651
+ expect(bar).toHaveClass("bg-background-inverse", "text-foreground-inverse", "w-full", "[@container(min-width:40rem)]:w-[74%]", "[@container(min-width:64rem)]:w-[62%]")
652
+ expect(screen.getByText("Live captions · English").closest("p")).toHaveClass("text-muted-foreground-inverse")
653
+ })
654
+
655
+ it("keeps only the last two lines in the window and rises a new one in", () => {
656
+ const { calls, restore } = stubAnimate()
657
+ const captions = [
658
+ { id: "a", speaker: "A", text: "first" },
659
+ { id: "b", speaker: "B", text: "second" },
660
+ ]
661
+ const { rerender } = render(<VideoCallCaptionsReactions captions={captions} handQueue={null} />)
662
+ calls.length = 0
663
+ rerender(<VideoCallCaptionsReactions captions={[...captions, { id: "c", speaker: "C", text: "third" }]} handQueue={null} />)
664
+ expect(screen.queryByText("first")).not.toBeInTheDocument()
665
+ expect(screen.getByText("second")).toBeInTheDocument()
666
+ expect(screen.getByText("third")).toBeInTheDocument()
667
+ const rise = calls.find((call) => JSON.stringify(call.keyframes).includes("translateY(100%)"))
668
+ expect(rise?.options.duration).toBe(180)
669
+ restore()
670
+ })
671
+
672
+ it("fades a caption in 120ms instead of rising it under reduced motion", () => {
673
+ const restoreMotion = stubReducedMotion(true)
674
+ const { calls, restore } = stubAnimate()
675
+ const captions = [{ id: "a", speaker: "A", text: "first" }]
676
+ const { rerender } = render(<VideoCallCaptionsReactions captions={captions} handQueue={null} />)
677
+ calls.length = 0
678
+ rerender(<VideoCallCaptionsReactions captions={[...captions, { id: "b", speaker: "B", text: "second" }]} handQueue={null} />)
679
+ expect(calls.some((call) => call.options.duration === 120 && !JSON.stringify(call.keyframes).includes("translate"))).toBe(true)
680
+ restore()
681
+ restoreMotion()
682
+ })
683
+
684
+ it("slides the raise-hand chip down once and clears it on request", () => {
685
+ const { calls, restore } = stubAnimate()
686
+ const onHandClear = vi.fn()
687
+ render(<VideoCallCaptionsReactions onHandClear={onHandClear} />)
688
+ expect(calls.some((call) => JSON.stringify(call.keyframes).includes("translateY(-12px)"))).toBe(true)
689
+ fireEvent.click(screen.getByRole("button", { name: "Clear raised hand" }))
690
+ expect(onHandClear).toHaveBeenCalledTimes(1)
691
+ restore()
692
+ })
693
+
694
+ it("has no close button on the chip without onHandClear, and no chip when nobody has a hand up", () => {
695
+ const { rerender } = render(<VideoCallCaptionsReactions />)
696
+ expect(screen.queryByRole("button", { name: "Clear raised hand" })).not.toBeInTheDocument()
697
+ rerender(<VideoCallCaptionsReactions handQueue={null} />)
698
+ expect(screen.queryByText(/raised a hand/)).not.toBeInTheDocument()
699
+ })
700
+
701
+ it("gives the phone a short chip and leaves the speaker chip to Tablet and up", () => {
702
+ render(<VideoCallCaptionsReactions />)
703
+ expect(screen.getByText("Nabil K. · 2 in queue")).toHaveClass("[@container(min-width:40rem)]:hidden")
704
+ const chip = document.querySelector("[class*='bottom-5'][class*='absolute']")!
705
+ expect(chip).toHaveTextContent("Adam Farouk")
706
+ expect(chip).toHaveClass("hidden", "[@container(min-width:40rem)]:inline-flex")
707
+ })
708
+
709
+ it("reports a reaction and floats it up; eight run at once and the rest wait", () => {
710
+ const { restore } = stubAnimate()
711
+ const onReact = vi.fn()
712
+ render(<VideoCallCaptionsReactions onReact={onReact} />)
713
+ const heart = screen.getByRole("group", { name: "Send a reaction" }).querySelector("[data-reaction=heart]")!
714
+ for (let i = 0; i < 10; i++) fireEvent.click(heart)
715
+ expect(onReact).toHaveBeenCalledTimes(10)
716
+ expect(document.querySelectorAll("[data-reaction-drift]")).toHaveLength(8)
717
+ restore()
718
+ })
719
+
720
+ it("sizes the picker and the stage reactions with the Icon Button's md on phones and lg from Tablet", () => {
721
+ const phone = atWidth(360)
722
+ const small = render(<VideoCallCaptionsReactions />)
723
+ phone()
724
+ const picker = screen.getByRole("group", { name: "Send a reaction" })
725
+ expect(picker.querySelectorAll("button.size-9")).toHaveLength(picker.querySelectorAll("button").length)
726
+ expect(document.querySelector("ul [role=img]")).toHaveClass("size-9")
727
+ small.unmount()
728
+ const tablet = atWidth(800)
729
+ render(<VideoCallCaptionsReactions />)
730
+ tablet()
731
+ const wide = screen.getByRole("group", { name: "Send a reaction" })
732
+ expect(wide.querySelectorAll("button.size-10")).toHaveLength(wide.querySelectorAll("button").length)
733
+ expect(document.querySelector("ul [role=img]")).toHaveClass("size-10")
734
+ for (const node of document.querySelectorAll("button, [role=img]")) expect(node.className).not.toMatch(/size-(11|12|14)\b/)
735
+ })
736
+
737
+ it("drifts a reaction 120 to 180px on a wave over 2.4s, and only fades it under reduced motion", () => {
738
+ const { calls, restore } = stubAnimate()
739
+ render(<VideoCallCaptionsReactions />)
740
+ fireEvent.click(screen.getByRole("group", { name: "Send a reaction" }).querySelector("[data-reaction=smile]")!)
741
+ const drift = calls.find((call) => call.options.duration === 2400)!
742
+ expect(JSON.stringify(drift.keyframes)).toMatch(/translate\(0, -1[2-8]\dpx\)/)
743
+ restore()
744
+ const restoreMotion = stubReducedMotion(true)
745
+ const second = stubAnimate()
746
+ cleanup()
747
+ render(<VideoCallCaptionsReactions />)
748
+ fireEvent.click(screen.getByRole("group", { name: "Send a reaction" }).querySelector("[data-reaction=smile]")!)
749
+ expect(second.calls.some((call) => call.options.duration === 2400)).toBe(false)
750
+ expect(second.calls.some((call) => call.options.duration === 1200 && !JSON.stringify(call.keyframes).includes("translate"))).toBe(true)
751
+ second.restore()
752
+ restoreMotion()
753
+ })
754
+
755
+ it("toggles the picker from the dock's reactions control", () => {
756
+ render(<VideoCallCaptionsReactions />)
757
+ expect(screen.getByRole("group", { name: "Send a reaction" })).toBeInTheDocument()
758
+ fireEvent.click(screen.getByRole("button", { name: "Reactions" }))
759
+ expect(screen.queryByRole("group", { name: "Send a reaction" })).not.toBeInTheDocument()
760
+ fireEvent.click(screen.getByRole("button", { name: "Reactions" }))
761
+ expect(screen.getByRole("group", { name: "Send a reaction" })).toBeInTheDocument()
762
+ })
763
+
764
+ it("reports dock controls and a held Leave", () => {
765
+ vi.useFakeTimers()
766
+ const onControl = vi.fn()
767
+ const onLeave = vi.fn()
768
+ render(<VideoCallCaptionsReactions onControl={onControl} onLeave={onLeave} />)
769
+ fireEvent.click(screen.getByRole("button", { name: "Mute" }))
770
+ expect(onControl).toHaveBeenCalledWith("mic", true)
771
+ fireEvent.pointerDown(screen.getByRole("button", { name: "Leave" }), { pointerType: "mouse", button: 0 })
772
+ act(() => void vi.advanceTimersByTime(401))
773
+ expect(onLeave).toHaveBeenCalled()
774
+ })
775
+
776
+ it("speaks Arabic with the names in Arabic, no dashes or middle dots in the prose and Western digits", () => {
777
+ render(<div dir="rtl"><VideoCallCaptionsReactions locale="ar" /></div>)
778
+ expect(screen.getByText("التسميات المباشرة بالإنجليزية")).toBeInTheDocument()
779
+ expect(screen.getByText("مازن درويش")).toBeInTheDocument()
780
+ const arabic = strings(videoCallCaptionsReactionsCopy.ar).join(" ")
781
+ expect(arabic).not.toMatch(/—|·|\(|[A-Za-z]{3,}/)
782
+ expect(arabic).not.toMatch(/[٠-٩]/)
783
+ const figures = [...document.querySelectorAll("bdi")].filter((bdi) => bdi.textContent === "2")
784
+ expect(figures.length).toBeGreaterThan(0)
785
+ for (const figure of figures) expect(figure).toHaveAttribute("dir", "ltr")
786
+ expect(figures.map((figure) => figure.parentElement?.textContent)).toContain("نبيل خليل رفع يده، 2 في الانتظار")
787
+ })
788
+
789
+ it("does not ask for a camera or draw a video element", () => {
790
+ const { container } = render(<VideoCallCaptionsReactions photo={{ src: "/k.webp", alt: "" }} />)
791
+ expect(container.querySelector("video")).toBeNull()
792
+ expect(container.querySelector("img")).toBeInTheDocument()
793
+ })
794
+ })