@primer/react-brand 0.80.0-rc.e1dc6447 → 0.80.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 (695) hide show
  1. package/docs/components/CarouselPagination/index.md +96 -0
  2. package/docs/components/IconButton/react.md +33 -15
  3. package/docs/components/Testimonial/react.md +28 -22
  4. package/docs/components/TestimonialGroup/index.md +152 -0
  5. package/docs/components/index.md +3 -1
  6. package/docs/index.md +5 -3
  7. package/docs/introduction/theming.md +13 -0
  8. package/esm/Accordion/Accordion.js +1 -1
  9. package/esm/Accordion/{Accordion.module-B-iFuyHy.css → Accordion.module-B-vGHUg7.css} +1 -1
  10. package/esm/Accordion/Accordion.module.js +1 -1
  11. package/esm/Accordion/Accordion.module.js.map +1 -1
  12. package/esm/ActionMenu/ActionMenu.js +3 -3
  13. package/esm/ActionMenu/ActionMenu.js.map +1 -1
  14. package/esm/AnchorNav/AnchorNav.js +1 -1
  15. package/esm/Breadcrumbs/Breadcrumbs.js +1 -1
  16. package/esm/Button/Button.js +1 -1
  17. package/esm/CTABanner/CTABanner.js +1 -1
  18. package/esm/Card/Card.js +1 -1
  19. package/esm/CarouselPagination/CarouselPagination.d.ts +42 -0
  20. package/esm/CarouselPagination/CarouselPagination.d.ts.map +1 -0
  21. package/esm/CarouselPagination/CarouselPagination.js +97 -0
  22. package/esm/CarouselPagination/CarouselPagination.js.map +1 -0
  23. package/esm/CarouselPagination/CarouselPagination.module-F-qylhO7.css +1 -0
  24. package/esm/CarouselPagination/CarouselPagination.module.js +14 -0
  25. package/esm/CarouselPagination/CarouselPagination.module.js.map +1 -0
  26. package/esm/CarouselPagination/index.d.ts +2 -0
  27. package/esm/CarouselPagination/index.d.ts.map +1 -0
  28. package/esm/ComparisonTable/ComparisonTable.js +1 -1
  29. package/esm/EyebrowBanner/EyebrowBanner.js +1 -1
  30. package/esm/FAQ/FAQ.js +1 -1
  31. package/esm/FAQ/FAQGroup.js +1 -1
  32. package/esm/FeatureComparisonTable/FeatureComparisonTable.js +1 -1
  33. package/esm/FeatureComparisonTable/FeatureComparisonTable.module-BH8n2Ttj.css +1 -0
  34. package/esm/FeatureComparisonTable/FeatureComparisonTable.module.js +1 -2
  35. package/esm/FeatureComparisonTable/FeatureComparisonTable.module.js.map +1 -1
  36. package/esm/FeatureComparisonTable/sub-components/FeatureComparisonTableRow.d.ts.map +1 -1
  37. package/esm/FeatureComparisonTable/sub-components/FeatureComparisonTableRow.js +1 -1
  38. package/esm/FeatureComparisonTable/sub-components/FeatureComparisonTableRow.js.map +1 -1
  39. package/esm/FrostedGlassVFX/FrostedGlassVFX.js +1 -1
  40. package/esm/Grid/Grid.js +1 -1
  41. package/esm/Heading/Heading.module-ChqO_lH5.css +1 -0
  42. package/esm/Heading/Heading.module.js +1 -1
  43. package/esm/Heading/Heading.module.js.map +1 -1
  44. package/esm/Hero/Hero.d.ts.map +1 -1
  45. package/esm/Hero/Hero.js +5 -3
  46. package/esm/Hero/Hero.js.map +1 -1
  47. package/esm/IDE/IDE.js +1 -1
  48. package/esm/Icon/Icon.js +1 -1
  49. package/esm/IconButton/IconButton.d.ts +1 -1
  50. package/esm/IconButton/IconButton.d.ts.map +1 -1
  51. package/esm/IconButton/IconButton.js +2 -2
  52. package/esm/IconButton/IconButton.js.map +1 -1
  53. package/esm/IconButton/{IconButton.module-D2UJBm7x.css → IconButton.module-DDLfSj96.css} +1 -1
  54. package/esm/IconButton/IconButton.module.js +1 -1
  55. package/esm/IconButton/IconButton.module.js.map +1 -1
  56. package/esm/InlineCode/InlineCode.js +1 -1
  57. package/esm/InlineLink/InlineLink.js +1 -1
  58. package/esm/InlineLink/{InlineLink.module-6R63us8B.css → InlineLink.module-BXx17-pO.css} +1 -1
  59. package/esm/InlineLink/InlineLink.module.js +1 -1
  60. package/esm/InlineLink/InlineLink.module.js.map +1 -1
  61. package/esm/Label/Label.js +1 -1
  62. package/esm/Label/Label.module-ChD9OmD6.css +1 -0
  63. package/esm/Label/Label.module.js +1 -1
  64. package/esm/Label/Label.module.js.map +1 -1
  65. package/esm/Link/Link.js +1 -1
  66. package/esm/LogoSuite/LogoSuite.js +1 -1
  67. package/esm/MediaPlaylist/MediaPlaylist.js +1 -1
  68. package/esm/MinimalFooter/MinimalFooter.js +1 -1
  69. package/esm/NavList/NavList.js +1 -1
  70. package/esm/NavList/{NavList.module-zvpwnkzz.css → NavList.module-f9LV2-bb.css} +1 -1
  71. package/esm/NavList/NavList.module.js +1 -1
  72. package/esm/NavList/NavList.module.js.map +1 -1
  73. package/esm/PricingOptions/PricingOptions.js +1 -1
  74. package/esm/PricingOptions/{PricingOptions.module-CgPKaZAm.css → PricingOptions.module-pBExx0-M.css} +1 -1
  75. package/esm/PricingOptions/PricingOptions.module.js +1 -1
  76. package/esm/PricingOptions/PricingOptions.module.js.map +1 -1
  77. package/esm/Prose/Prose.js +1 -1
  78. package/esm/Spinner/Spinner.js +1 -1
  79. package/esm/SubNav/SubNav.js +1 -1
  80. package/esm/SubNav/SubNav.module-kWRa0Laq.css +1 -0
  81. package/esm/SubNav/SubNav.module.js +1 -1
  82. package/esm/SubNav/SubNav.module.js.map +1 -1
  83. package/esm/SubdomainNavBar/SubdomainNavBar.js +1 -1
  84. package/esm/Tabs/Tabs.d.ts +12 -0
  85. package/esm/Tabs/Tabs.d.ts.map +1 -1
  86. package/esm/Tabs/Tabs.js +85 -121
  87. package/esm/Tabs/Tabs.js.map +1 -1
  88. package/esm/Tabs/{Tabs.module-CK_p1qwC.css → Tabs.module-B-E_MTke.css} +1 -1
  89. package/esm/Tabs/Tabs.module.js +4 -8
  90. package/esm/Tabs/Tabs.module.js.map +1 -1
  91. package/esm/Testimonial/Testimonial.d.ts +7 -3
  92. package/esm/Testimonial/Testimonial.d.ts.map +1 -1
  93. package/esm/Testimonial/Testimonial.js +77 -77
  94. package/esm/Testimonial/Testimonial.js.map +1 -1
  95. package/esm/Testimonial/Testimonial.module-BqMYuLeo.css +1 -0
  96. package/esm/Testimonial/Testimonial.module.js +9 -14
  97. package/esm/Testimonial/Testimonial.module.js.map +1 -1
  98. package/esm/TestimonialGroup/TestimonialGroup.d.ts +35 -0
  99. package/esm/TestimonialGroup/TestimonialGroup.d.ts.map +1 -0
  100. package/esm/TestimonialGroup/TestimonialGroup.js +190 -0
  101. package/esm/TestimonialGroup/TestimonialGroup.js.map +1 -0
  102. package/esm/TestimonialGroup/TestimonialGroup.module-kFxPa1k1.css +1 -0
  103. package/esm/TestimonialGroup/TestimonialGroup.module.js +22 -0
  104. package/esm/TestimonialGroup/TestimonialGroup.module.js.map +1 -0
  105. package/esm/TestimonialGroup/index.d.ts +2 -0
  106. package/esm/TestimonialGroup/index.d.ts.map +1 -0
  107. package/esm/Text/Text.module-Bf-3ooDP.css +1 -0
  108. package/esm/Text/Text.module.js +1 -1
  109. package/esm/Text/Text.module.js.map +1 -1
  110. package/esm/TextCursorAnimation/TextCursorAnimation.js +1 -1
  111. package/esm/ThemeProvider/ThemeProvider.d.ts +1 -0
  112. package/esm/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  113. package/esm/ThemeProvider/ThemeProvider.js +11 -9
  114. package/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  115. package/esm/Tiles/Tiles.js +1 -1
  116. package/esm/Timeline/Timeline.js +1 -1
  117. package/esm/Token/Token.js +1 -1
  118. package/esm/Token/Token.module-Di856FbT.css +1 -0
  119. package/esm/Token/Token.module.js +1 -1
  120. package/esm/Token/Token.module.js.map +1 -1
  121. package/esm/Tooltip/Tooltip.js +1 -1
  122. package/esm/VideoPlayer/VideoPlayer.js +1 -1
  123. package/esm/css/stylesheets.js +1 -1
  124. package/esm/forms/Checkbox/Checkbox.js +1 -1
  125. package/esm/forms/FormControl/FormControl.js +1 -1
  126. package/esm/forms/Radio/Radio.js +1 -1
  127. package/esm/forms/Select/Select.js +1 -1
  128. package/esm/forms/TextInput/TextInput.js +1 -1
  129. package/esm/forms/Textarea/Textarea.js +1 -1
  130. package/esm/forms/ToggleSwitch/ToggleSwitch.js +1 -1
  131. package/esm/index.d.ts +2 -0
  132. package/esm/index.d.ts.map +1 -1
  133. package/esm/index.esm.js +35 -33
  134. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes-CBE7L2wV.css +1 -0
  135. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-CjksF091.css +1 -0
  136. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes-DKHKbQRW.css +1 -0
  137. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes-CyS5r4GY.css +1 -0
  138. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes-CD0Na993.css +1 -0
  139. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes-BngjsaKj.css +1 -0
  140. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes-Bog-yunW.css +1 -0
  141. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes-BbjIdlS-.css +1 -0
  142. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/carousel-pagination/colors-with-modes-IFYKunDL.css +1 -0
  143. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes-q-NjRozG.css +1 -0
  144. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-DKA7xAYz.css +1 -0
  145. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes-HElP20qs.css +1 -0
  146. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes-BTVqJ9iR.css +1 -0
  147. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes-BygKJG38.css +1 -0
  148. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/colors-with-modes-k7YIWAQV.css +1 -0
  149. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-PKZWykxm.css +1 -0
  150. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes-fV7rwA0l.css +1 -0
  151. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes-Chf_t26p.css +1 -0
  152. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes-BPFx95T7.css +1 -0
  153. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon-button/colors-with-modes-BsaQYf6M.css +1 -0
  154. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes-CTreurKT.css +1 -0
  155. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes-B72y-n-A.css +1 -0
  156. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes-CT7QXZTs.css +1 -0
  157. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes-S_161ALk.css +1 -0
  158. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes-JvDrymoz.css +1 -0
  159. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes-BsfJ9fNj.css +1 -0
  160. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes-DTTUHiv1.css +1 -0
  161. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes-BCIP0l57.css +1 -0
  162. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes-DNrd36sc.css +1 -0
  163. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes-BVL83uw2.css +1 -0
  164. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes-DOJW-F1w.css +1 -0
  165. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/spinner/colors-with-modes-ufFxqo2V.css +1 -0
  166. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-8aCELL7I.css +1 -0
  167. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes-J9EPudv_.css +1 -0
  168. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-D9l5QVGg.css +1 -0
  169. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/{base-CAG7koNB.css → base-h_olG8bi.css} +1 -1
  170. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-BEiXR7-X.css +1 -0
  171. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial-group/base-Cq-doRpg.css +1 -0
  172. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes-wctZLA5X.css +1 -0
  173. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-BLWCqYua.css +1 -0
  174. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DNNJvx8C.css +1 -0
  175. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors-with-modes-Byi9AmE8.css +1 -0
  176. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes-CzvPUrZu.css +1 -0
  177. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes-CjEAA-Ic.css +1 -0
  178. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes-M9ib_BKQ.css +1 -0
  179. package/esm/river/River/River.js +1 -1
  180. package/esm/river/RiverStoryScroll/RiverStoryScroll.js +1 -1
  181. package/lib/CarouselPagination/CarouselPagination.d.ts +41 -0
  182. package/lib/CarouselPagination/index.d.ts +1 -0
  183. package/lib/IconButton/IconButton.d.ts +1 -1
  184. package/lib/Tabs/Tabs.d.ts +12 -0
  185. package/lib/Testimonial/Testimonial.d.ts +7 -3
  186. package/lib/TestimonialGroup/TestimonialGroup.d.ts +34 -0
  187. package/lib/TestimonialGroup/index.d.ts +1 -0
  188. package/lib/ThemeProvider/ThemeProvider.d.ts +1 -0
  189. package/lib/css/main.css +1422 -276
  190. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +141 -2
  191. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  192. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  193. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  194. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  195. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +45 -2
  196. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  197. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +38 -2
  198. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +12 -2
  199. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +10 -2
  200. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  201. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +9 -2
  202. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +9 -2
  203. package/lib/design-tokens/css/tokens/functional/components/button/base.css +1 -1
  204. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +35 -2
  205. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  206. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +10 -2
  207. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  208. package/lib/design-tokens/css/tokens/functional/components/carousel-pagination/colors-with-modes.css +35 -0
  209. package/lib/design-tokens/css/tokens/functional/components/carousel-pagination/colors.css +13 -0
  210. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +10 -2
  211. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  212. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +45 -2
  213. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +16 -2
  214. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +52 -2
  215. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  216. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  217. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +13 -2
  218. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  219. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  220. package/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/base.css +1 -1
  221. package/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/colors-with-modes.css +17 -2
  222. package/lib/design-tokens/css/tokens/functional/components/footer/base.css +1 -1
  223. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +18 -2
  224. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  225. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  226. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +11 -2
  227. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +9 -2
  228. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  229. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  230. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  231. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +36 -2
  232. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  233. package/lib/design-tokens/css/tokens/functional/components/icon-button/base.css +1 -1
  234. package/lib/design-tokens/css/tokens/functional/components/icon-button/colors-with-modes.css +22 -2
  235. package/lib/design-tokens/css/tokens/functional/components/icon-button/colors.css +1 -1
  236. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  237. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +29 -2
  238. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  239. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes.css +11 -2
  240. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors.css +1 -1
  241. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  242. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +10 -2
  243. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  244. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +33 -2
  245. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  246. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +10 -2
  247. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  248. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  249. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +14 -2
  250. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  251. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +9 -2
  252. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  253. package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +9 -2
  254. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +16 -2
  255. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  256. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  257. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  258. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +10 -2
  259. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  260. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  261. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +10 -2
  262. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  263. package/lib/design-tokens/css/tokens/functional/components/spinner/base.css +1 -1
  264. package/lib/design-tokens/css/tokens/functional/components/spinner/colors-with-modes.css +9 -2
  265. package/lib/design-tokens/css/tokens/functional/components/spinner/colors.css +1 -1
  266. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  267. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  268. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +20 -2
  269. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +19 -2
  270. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  271. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +14 -2
  272. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  273. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +3 -1
  274. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +40 -32
  275. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -16
  276. package/lib/design-tokens/css/tokens/functional/components/testimonial-group/base.css +9 -0
  277. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/base.css +1 -1
  278. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +11 -2
  279. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  280. package/lib/design-tokens/css/tokens/functional/components/tiles/base.css +1 -1
  281. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +11 -2
  282. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  283. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +9 -2
  284. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  285. package/lib/design-tokens/css/tokens/functional/components/toggle-switch/base.css +1 -1
  286. package/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors-with-modes.css +17 -2
  287. package/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors.css +1 -1
  288. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +21 -2
  289. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  290. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +9 -2
  291. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  292. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  293. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +20 -2
  294. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  295. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  296. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  297. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  298. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  299. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  300. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  301. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  302. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  303. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  304. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  305. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  306. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  307. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  308. package/lib/design-tokens/js/module/tokens/functional/components/button/base.js +1 -1
  309. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  310. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  311. package/lib/design-tokens/js/module/tokens/functional/components/carousel-pagination/colors.js +43 -0
  312. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  313. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  314. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  315. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  316. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  317. package/lib/design-tokens/js/module/tokens/functional/components/feature-comparison-table/base.js +1 -1
  318. package/lib/design-tokens/js/module/tokens/functional/components/footer/base.js +1 -1
  319. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  320. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  321. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  322. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  323. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  324. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  325. package/lib/design-tokens/js/module/tokens/functional/components/icon-button/base.js +1 -1
  326. package/lib/design-tokens/js/module/tokens/functional/components/icon-button/colors.js +1 -1
  327. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  328. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  329. package/lib/design-tokens/js/module/tokens/functional/components/inline-code/colors.js +1 -1
  330. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  331. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  332. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  333. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  334. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  335. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  336. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  337. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  338. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  339. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  340. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  341. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  342. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  343. package/lib/design-tokens/js/module/tokens/functional/components/spinner/base.js +1 -1
  344. package/lib/design-tokens/js/module/tokens/functional/components/spinner/colors.js +1 -1
  345. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  346. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  347. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  348. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  349. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +9 -1
  350. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -71
  351. package/lib/design-tokens/js/module/tokens/functional/components/testimonial-group/base.js +13 -0
  352. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/base.js +1 -1
  353. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  354. package/lib/design-tokens/js/module/tokens/functional/components/tiles/base.js +1 -1
  355. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  356. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  357. package/lib/design-tokens/js/module/tokens/functional/components/toggle-switch/base.js +1 -1
  358. package/lib/design-tokens/js/module/tokens/functional/components/toggle-switch/colors.js +1 -1
  359. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  360. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  361. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  362. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  363. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  364. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  365. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  366. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  367. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  368. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  369. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  370. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  371. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  372. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  373. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  374. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  375. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  376. package/lib/design-tokens/js/tokens/functional/components/button/base.js +1 -1
  377. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  378. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  379. package/lib/design-tokens/js/tokens/functional/components/carousel-pagination/colors.js +11 -0
  380. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  381. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  382. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  383. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  384. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  385. package/lib/design-tokens/js/tokens/functional/components/feature-comparison-table/base.js +1 -1
  386. package/lib/design-tokens/js/tokens/functional/components/footer/base.js +1 -1
  387. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  388. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  389. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  390. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  391. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  392. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  393. package/lib/design-tokens/js/tokens/functional/components/icon-button/base.js +1 -1
  394. package/lib/design-tokens/js/tokens/functional/components/icon-button/colors.js +1 -1
  395. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  396. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  397. package/lib/design-tokens/js/tokens/functional/components/inline-code/colors.js +1 -1
  398. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  399. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  400. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  401. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  402. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  403. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  404. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  405. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  406. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  407. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  408. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  409. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  410. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  411. package/lib/design-tokens/js/tokens/functional/components/spinner/base.js +1 -1
  412. package/lib/design-tokens/js/tokens/functional/components/spinner/colors.js +1 -1
  413. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  414. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  415. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  416. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  417. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +3 -1
  418. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -16
  419. package/lib/design-tokens/js/tokens/functional/components/testimonial-group/base.js +7 -0
  420. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/base.js +1 -1
  421. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  422. package/lib/design-tokens/js/tokens/functional/components/tiles/base.js +1 -1
  423. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  424. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  425. package/lib/design-tokens/js/tokens/functional/components/toggle-switch/base.js +1 -1
  426. package/lib/design-tokens/js/tokens/functional/components/toggle-switch/colors.js +1 -1
  427. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  428. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  429. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  430. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  431. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  432. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  433. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  434. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  435. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  436. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  437. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  438. package/lib/design-tokens/json/colors.json +6 -15
  439. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  440. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  441. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  442. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  443. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  444. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  445. package/lib/design-tokens/scss/tokens/functional/components/button/base.scss +1 -1
  446. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  447. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  448. package/lib/design-tokens/scss/tokens/functional/components/carousel-pagination/colors.scss +10 -0
  449. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  450. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  451. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  452. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  453. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  454. package/lib/design-tokens/scss/tokens/functional/components/feature-comparison-table/base.scss +1 -1
  455. package/lib/design-tokens/scss/tokens/functional/components/footer/base.scss +1 -1
  456. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  457. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  458. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  459. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  460. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  461. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  462. package/lib/design-tokens/scss/tokens/functional/components/icon-button/base.scss +1 -1
  463. package/lib/design-tokens/scss/tokens/functional/components/icon-button/colors.scss +1 -1
  464. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  465. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  466. package/lib/design-tokens/scss/tokens/functional/components/inline-code/colors.scss +1 -1
  467. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  468. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  469. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  470. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  471. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  472. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  473. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  474. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  475. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  476. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  477. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  478. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  479. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  480. package/lib/design-tokens/scss/tokens/functional/components/spinner/base.scss +1 -1
  481. package/lib/design-tokens/scss/tokens/functional/components/spinner/colors.scss +1 -1
  482. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  483. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  484. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  485. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  486. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +3 -1
  487. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -16
  488. package/lib/design-tokens/scss/tokens/functional/components/testimonial-group/base.scss +6 -0
  489. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/base.scss +1 -1
  490. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  491. package/lib/design-tokens/scss/tokens/functional/components/tiles/base.scss +1 -1
  492. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  493. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  494. package/lib/design-tokens/scss/tokens/functional/components/toggle-switch/base.scss +1 -1
  495. package/lib/design-tokens/scss/tokens/functional/components/toggle-switch/colors.scss +1 -1
  496. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  497. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  498. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  499. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  500. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  501. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  502. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  503. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  504. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  505. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  506. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  507. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  508. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  509. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  510. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  511. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  512. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  513. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  514. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  515. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  516. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  517. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  518. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  519. package/lib/design-tokens/ts/tokens/functional/components/button/base.d.ts +1 -1
  520. package/lib/design-tokens/ts/tokens/functional/components/button/base.js +1 -1
  521. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  522. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  523. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  524. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  525. package/lib/design-tokens/ts/tokens/functional/components/carousel-pagination/colors.d.ts +28 -0
  526. package/lib/design-tokens/ts/tokens/functional/components/carousel-pagination/colors.js +25 -0
  527. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  528. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  529. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  530. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  531. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  532. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  533. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  534. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  535. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  536. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  537. package/lib/design-tokens/ts/tokens/functional/components/feature-comparison-table/base.d.ts +1 -1
  538. package/lib/design-tokens/ts/tokens/functional/components/feature-comparison-table/base.js +1 -1
  539. package/lib/design-tokens/ts/tokens/functional/components/footer/base.d.ts +1 -1
  540. package/lib/design-tokens/ts/tokens/functional/components/footer/base.js +1 -1
  541. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  542. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  543. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  544. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  545. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  546. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  547. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  548. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  549. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  550. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  551. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  552. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
  553. package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.d.ts +1 -1
  554. package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.js +1 -1
  555. package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.d.ts +1 -1
  556. package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.js +1 -1
  557. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  558. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  559. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  560. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  561. package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.d.ts +1 -1
  562. package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.js +1 -1
  563. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  564. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  565. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  566. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  567. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  568. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  569. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  570. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  571. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  572. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  573. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  574. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  575. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
  576. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
  577. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  578. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  579. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  580. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  581. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  582. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  583. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  584. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  585. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  586. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  587. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  588. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  589. package/lib/design-tokens/ts/tokens/functional/components/spinner/base.d.ts +1 -1
  590. package/lib/design-tokens/ts/tokens/functional/components/spinner/base.js +1 -1
  591. package/lib/design-tokens/ts/tokens/functional/components/spinner/colors.d.ts +1 -1
  592. package/lib/design-tokens/ts/tokens/functional/components/spinner/colors.js +1 -1
  593. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  594. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  595. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  596. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  597. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  598. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  599. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  600. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  601. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +9 -1
  602. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +9 -1
  603. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +2 -27
  604. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -26
  605. package/lib/design-tokens/ts/tokens/functional/components/testimonial-group/base.d.ts +16 -0
  606. package/lib/design-tokens/ts/tokens/functional/components/testimonial-group/base.js +13 -0
  607. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.d.ts +1 -1
  608. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.js +1 -1
  609. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
  610. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  611. package/lib/design-tokens/ts/tokens/functional/components/tiles/base.d.ts +1 -1
  612. package/lib/design-tokens/ts/tokens/functional/components/tiles/base.js +1 -1
  613. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  614. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  615. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  616. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  617. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/base.d.ts +1 -1
  618. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/base.js +1 -1
  619. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/colors.d.ts +1 -1
  620. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/colors.js +1 -1
  621. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  622. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  623. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  624. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  625. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  626. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  627. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  628. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  629. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  630. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  631. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  632. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  633. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  634. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  635. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  636. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  637. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  638. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  639. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  640. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  641. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  642. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  643. package/lib/index.d.ts +2 -0
  644. package/lib/index.js +1 -1
  645. package/llms.txt +5 -3
  646. package/package.json +1 -1
  647. package/esm/FeatureComparisonTable/FeatureComparisonTable.module-CGnj3YJu.css +0 -1
  648. package/esm/Heading/Heading.module-YfiTxQkR.css +0 -1
  649. package/esm/Label/Label.module-DDkalJAE.css +0 -1
  650. package/esm/SubNav/SubNav.module-cyUt0N_h.css +0 -1
  651. package/esm/Testimonial/Testimonial.module-_jTJvM-4.css +0 -1
  652. package/esm/Text/Text.module-D0UHZ0pq.css +0 -1
  653. package/esm/Token/Token.module-DtWE9IPI.css +0 -1
  654. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes-BVk7bh0Y.css +0 -1
  655. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-Bdet_nBw.css +0 -1
  656. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes-PcQKqJQI.css +0 -1
  657. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes-mgXFtgvP.css +0 -1
  658. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes-98imfMkq.css +0 -1
  659. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes-DYugDcQy.css +0 -1
  660. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes-kII0kqk3.css +0 -1
  661. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes-C43pQ5wc.css +0 -1
  662. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes-D2oNfyDt.css +0 -1
  663. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-ChBPnVuN.css +0 -1
  664. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes-B9zRp3WA.css +0 -1
  665. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes-BzV3LYhH.css +0 -1
  666. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes-Dc8Ya1HV.css +0 -1
  667. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/colors-with-modes-Dw8AMSYp.css +0 -1
  668. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-CMFhnjfv.css +0 -1
  669. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes-CMw13Yda.css +0 -1
  670. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes-6QocK2fy.css +0 -1
  671. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes-Bjhpbkke.css +0 -1
  672. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon-button/colors-with-modes-D7iaptsa.css +0 -1
  673. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes-DSf1PV6b.css +0 -1
  674. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes-Bj7XtHMY.css +0 -1
  675. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes-DujakhtG.css +0 -1
  676. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes-BB1L_8rS.css +0 -1
  677. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes-Dh1w7a05.css +0 -1
  678. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes-B8ia26TA.css +0 -1
  679. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes-YId8eSZQ.css +0 -1
  680. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes-CGyt2t8f.css +0 -1
  681. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes-DBi2l0Re.css +0 -1
  682. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes-Y3yB1rAU.css +0 -1
  683. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes-omPmv64b.css +0 -1
  684. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/spinner/colors-with-modes-izIk82NS.css +0 -1
  685. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-Bna3nyXf.css +0 -1
  686. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes-C_lnz8M6.css +0 -1
  687. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-DCEDN6wM.css +0 -1
  688. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-8ryG-BX6.css +0 -1
  689. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes-BucKYl1n.css +0 -1
  690. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-DTTqGOfy.css +0 -1
  691. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DDIdeMJX.css +0 -1
  692. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors-with-modes-Ctf2MPJ3.css +0 -1
  693. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes-5VT1x9eF.css +0 -1
  694. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes-BrRCxJ2E.css +0 -1
  695. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes-CTkp-z-l.css +0 -1
@@ -0,0 +1,190 @@
1
+ import { clsx as e } from "../node_modules/clsx/dist/clsx.js";
2
+ import { useProvidedRefOrCreate as t } from "../hooks/useRef.js";
3
+ import n from "../hooks/useIsomorphicLayoutEffect.js";
4
+ import { useReducedMotion as r } from "../hooks/useReducedMotion.js";
5
+ import { Testimonial as i } from "../Testimonial/Testimonial.js";
6
+ import { CarouselPagination as a } from "../CarouselPagination/CarouselPagination.js";
7
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial-group/base-Cq-doRpg.css';/* empty css */
8
+ import o from "./TestimonialGroup.module.js";
9
+ import { Children as s, cloneElement as c, forwardRef as l, isValidElement as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
10
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
11
+ //#region src/TestimonialGroup/TestimonialGroup.tsx
12
+ var _ = { root: "TestimonialGroup" }, v = l(({ children: l, className: v, defaultActiveIndex: y = 0, onChange: b, labels: { carousel: x = "Testimonials", controlsPrev: S = "Previous testimonial", controlsNext: C = "Next testimonial", controlsNavigation: w = "{carousel} navigation", carouselRoleDescription: T = "carousel", slideRoleDescription: E = "slide", indicator: D = "Go to testimonial {current}", slide: O = "Testimonial {current} of {total}", announcement: k = "Testimonial {current} of {total}: {author}" } = {}, "aria-label": A = x, "data-testid": j, ...M }, N) => {
13
+ let P = f(() => s.toArray(l).filter((e) => u(e) && e.type === i), [l]), F = Math.max(0, Math.min(Number.isInteger(y) ? y : 0, P.length - 1)), [I, L] = m({
14
+ index: F,
15
+ targetIndex: F,
16
+ phase: "idle"
17
+ }), R = p(I), z = t(N), B = p(null), V = p(null), H = p(b), [U, W] = m(null), G = r(), K = p(null), q = (e, t) => e.replace(/\{(current|total|author|carousel)\}/g, (e, n) => String(t[n] ?? e));
18
+ if (n(() => {
19
+ H.current = b;
20
+ }, [b]), n(() => {
21
+ let e = B.current;
22
+ if (!e) return;
23
+ let t = () => {
24
+ let t = e.querySelectorAll(`.${o.TestimonialGroup__slide}`), n = Math.max(0, ...Array.from(t, (e) => e.getBoundingClientRect().height));
25
+ e.style.minHeight = `${Math.ceil(n)}px`;
26
+ let r = V.current;
27
+ if (!r) return;
28
+ let i = P[I.index]?.props.variant === "expressive" ? t[I.index].querySelector(`.${o.TestimonialGroup__quoteMark}`) : null, a = 0;
29
+ if (i) {
30
+ let t = e.getBoundingClientRect(), n = i.getBoundingClientRect();
31
+ a = getComputedStyle(e).direction === "rtl" ? t.right - n.right : n.left - t.left;
32
+ }
33
+ r.style.marginInlineStart = `${Math.max(0, a)}px`;
34
+ };
35
+ t();
36
+ let n = new ResizeObserver(t);
37
+ n.observe(e);
38
+ for (let t of e.children) n.observe(t);
39
+ return () => n.disconnect();
40
+ }, [P, I.index]), d(() => {
41
+ let e = B.current?.children;
42
+ if (e) for (let [t, n] of Array.from(e).entries()) n.toggleAttribute("inert", t !== I.index);
43
+ }, [P, I.index]), d(() => {
44
+ if (!z.current || P.length === 0) return;
45
+ let e = !1, t = R.current, n = P.length, r = (e) => {
46
+ t = e, R.current = e, L(e);
47
+ }, i = () => {
48
+ let n = t.targetIndex, i = n !== t.index;
49
+ r({
50
+ ...t,
51
+ index: n,
52
+ phase: G ? "idle" : "in"
53
+ }), e && W(n), e = !1, i && H.current?.(n);
54
+ };
55
+ return K.current = {
56
+ changeTo: (a) => {
57
+ if (a < 0 || a >= n) return;
58
+ if (a === t.index && t.phase !== "out") {
59
+ W(a);
60
+ return;
61
+ }
62
+ e = !0;
63
+ let o = t.phase === "out";
64
+ if (r({
65
+ ...t,
66
+ targetIndex: a
67
+ }), G) {
68
+ i();
69
+ return;
70
+ }
71
+ if (o) {
72
+ a === t.index && (r({
73
+ ...t,
74
+ phase: "in"
75
+ }), W(t.index), e = !1);
76
+ return;
77
+ }
78
+ r({
79
+ ...t,
80
+ phase: "out"
81
+ });
82
+ },
83
+ finishPhase: () => {
84
+ t.phase === "out" ? i() : t.phase === "in" && r({
85
+ ...t,
86
+ phase: "idle"
87
+ });
88
+ }
89
+ }, t.index >= n || t.targetIndex >= n ? r({
90
+ index: n - 1,
91
+ targetIndex: n - 1,
92
+ phase: "idle"
93
+ }) : t.phase !== "idle" && i(), () => {
94
+ K.current = null;
95
+ };
96
+ }, [
97
+ G,
98
+ P.length,
99
+ z
100
+ ]), d(() => {
101
+ if (I.phase === "idle" || G) return;
102
+ let e = B.current?.children[I.index];
103
+ if (!e) return;
104
+ let t = (e) => {
105
+ let t = Number.parseFloat(e);
106
+ return Number.isFinite(t) ? t * (e.trim().endsWith("ms") ? 1 : 1e3) : 0;
107
+ }, n = 0, r = e.querySelectorAll([
108
+ o.TestimonialGroup__quoteMark,
109
+ o.TestimonialGroup__quote,
110
+ o.TestimonialGroup__media
111
+ ].map((e) => `.${e}`).join(","));
112
+ for (let e of r) {
113
+ let r = getComputedStyle(e), i = r.transitionDuration.split(",").map(t), a = r.transitionDelay.split(",").map(t);
114
+ for (let [e, t] of r.transitionProperty.split(",").entries()) t.trim() !== "opacity" && t.trim() !== "all" || (n = Math.max(n, i[e % i.length] + a[e % a.length]));
115
+ }
116
+ let i = setTimeout(() => K.current?.finishPhase(), n);
117
+ return () => clearTimeout(i);
118
+ }, [
119
+ G,
120
+ I.index,
121
+ I.phase
122
+ ]), P.length === 0) return null;
123
+ let J = U === null ? void 0 : P[U], Y = J && s.toArray(J.props.children).find((e) => u(e) && e.type === i.Name)?.props.children, X = typeof Y == "string" && Y.trim().length > 0;
124
+ return /* @__PURE__ */ g("div", {
125
+ ...M,
126
+ ref: z,
127
+ role: "region",
128
+ "aria-roledescription": T,
129
+ "aria-label": A,
130
+ "data-testid": j || _.root,
131
+ className: e(o.TestimonialGroup, v),
132
+ children: [/* @__PURE__ */ g("div", {
133
+ className: e(o.TestimonialGroup__content, P.some((e) => e.props.variant === "expressive") && o["TestimonialGroup__content--expressive"]),
134
+ children: [P.length > 1 && /* @__PURE__ */ h("div", {
135
+ ref: V,
136
+ className: o.TestimonialGroup__controls,
137
+ children: /* @__PURE__ */ h(a, {
138
+ loop: !0,
139
+ itemCount: P.length,
140
+ activeIndex: I.targetIndex,
141
+ "aria-label": q(w, { carousel: A }),
142
+ labels: {
143
+ previous: S,
144
+ next: C
145
+ },
146
+ itemAttributesBuilder: (e) => ({ "aria-label": q(D, {
147
+ current: e + 1,
148
+ total: P.length
149
+ }) }),
150
+ onChange: (e) => K.current?.changeTo(e)
151
+ })
152
+ }), /* @__PURE__ */ h("div", {
153
+ ref: B,
154
+ className: o.TestimonialGroup__slides,
155
+ children: P.map((t, n) => /* @__PURE__ */ h("div", {
156
+ className: e(o.TestimonialGroup__slide, n === I.index && o["TestimonialGroup__slide--active"]),
157
+ role: "group",
158
+ "aria-roledescription": E,
159
+ "aria-label": q(O, {
160
+ current: n + 1,
161
+ total: P.length
162
+ }),
163
+ "aria-hidden": n !== I.index || void 0,
164
+ children: c(t, {
165
+ variant: t.props.variant ?? "minimal",
166
+ animate: void 0,
167
+ quoteMarkClassName: e(t.props.quoteMarkClassName, o.TestimonialGroup__quoteMark),
168
+ mediaClassName: e(t.props.mediaClassName, o.TestimonialGroup__media),
169
+ children: s.map(t.props.children, (n) => u(n) ? n.type === i.Quote ? c(n, { className: e(n.props.className, o.TestimonialGroup__quote) }) : n.type === i.Avatar ? c(n, { className: e(n.props.className, o.TestimonialGroup__avatar, t.props.size === "large" && o["TestimonialGroup__avatar--size-large"]) }) : n : n),
170
+ className: e(t.props.className, o[`TestimonialGroup__testimonial--${n === I.index ? I.phase : "out"}`])
171
+ })
172
+ }, t.key))
173
+ })]
174
+ }), /* @__PURE__ */ h("span", {
175
+ className: o.TestimonialGroup__announcement,
176
+ role: "status",
177
+ "aria-live": "polite",
178
+ "aria-atomic": "true",
179
+ children: U !== null && J && q(X ? k : O, {
180
+ current: U + 1,
181
+ total: P.length,
182
+ author: X ? Y : void 0
183
+ })
184
+ })]
185
+ });
186
+ }), y = Object.assign(v, { testIds: _ });
187
+ //#endregion
188
+ export { y as TestimonialGroup };
189
+
190
+ //# sourceMappingURL=TestimonialGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TestimonialGroup.js","names":[],"sources":["../../src/TestimonialGroup/TestimonialGroup.tsx"],"sourcesContent":["import React, {Children, cloneElement, forwardRef, isValidElement, useEffect, useMemo, useRef, useState} from 'react'\nimport {clsx} from 'clsx'\nimport {Testimonial, type TestimonialProps} from '../Testimonial'\nimport {CarouselPagination} from '../CarouselPagination'\nimport {useReducedMotion} from '../hooks/useReducedMotion'\nimport {useProvidedRefOrCreate} from '../hooks/useRef'\nimport useIsomorphicLayoutEffect from '../hooks/useIsomorphicLayoutEffect'\nimport type {BaseProps} from '../component-helpers'\n\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial-group/base.css'\nimport styles from './TestimonialGroup.module.css'\n\nconst testIds = {\n root: 'TestimonialGroup',\n}\n\nexport type TestimonialGroupProps = BaseProps<HTMLDivElement> &\n Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> & {\n 'data-testid'?: string\n /** Initial testimonial: 0 for the first, 1 for the second. */\n defaultActiveIndex?: number\n /** Called after a testimonial changes, with its index (first is 0). */\n onChange?: (activeIndex: number) => void\n /** Overrides accessible control labels and slide announcements. */\n labels?: {\n carousel?: string\n controlsPrev?: string\n controlsNext?: string\n controlsNavigation?: string\n carouselRoleDescription?: string\n slideRoleDescription?: string\n /** Complete selector label using {current} and {total}. */\n indicator?: string\n /** Complete slide label using {current} and {total}. */\n slide?: string\n /** Complete announcement using {current}, {total}, and {author}. */\n announcement?: string\n }\n }\n\ntype TestimonialGroupView = {index: number; targetIndex: number; phase: 'idle' | 'out' | 'in'}\n\nconst Root = forwardRef<HTMLDivElement, TestimonialGroupProps>(\n (\n {\n children,\n className,\n defaultActiveIndex = 0,\n onChange,\n labels: {\n carousel = 'Testimonials',\n controlsPrev = 'Previous testimonial',\n controlsNext = 'Next testimonial',\n controlsNavigation = '{carousel} navigation',\n carouselRoleDescription = 'carousel',\n slideRoleDescription = 'slide',\n indicator = 'Go to testimonial {current}',\n slide: slideLabel = 'Testimonial {current} of {total}',\n announcement: announcementLabel = 'Testimonial {current} of {total}: {author}',\n } = {},\n 'aria-label': ariaLabel = carousel,\n 'data-testid': testId,\n ...props\n },\n forwardedRef,\n ) => {\n const testimonials = useMemo(\n () =>\n Children.toArray(children).filter(\n (child): child is React.ReactElement<TestimonialProps> =>\n isValidElement<TestimonialProps>(child) && child.type === Testimonial,\n ),\n [children],\n )\n const initialIndex = Math.max(\n 0,\n Math.min(Number.isInteger(defaultActiveIndex) ? defaultActiveIndex : 0, testimonials.length - 1),\n )\n const [view, setView] = useState<TestimonialGroupView>({\n index: initialIndex,\n targetIndex: initialIndex,\n phase: 'idle',\n })\n const viewRef = useRef(view)\n const rootRef = useProvidedRefOrCreate<HTMLDivElement | null>(forwardedRef)\n const slidesRef = useRef<HTMLDivElement>(null)\n const controlsRef = useRef<HTMLDivElement>(null)\n const onChangeRef = useRef(onChange)\n const [announcementIndex, setAnnouncementIndex] = useState<number | null>(null)\n const prefersReducedMotion = useReducedMotion()\n const controller = useRef<{\n changeTo: (index: number) => void\n finishPhase: () => void\n } | null>(null)\n const formatLabel = (\n template: string,\n values: {current?: number; total?: number; author?: string; carousel?: string},\n ) =>\n template.replace(/\\{(current|total|author|carousel)\\}/g, (placeholder, name: keyof typeof values) =>\n String(values[name] ?? placeholder),\n )\n\n useIsomorphicLayoutEffect(() => {\n onChangeRef.current = onChange\n }, [onChange])\n\n useIsomorphicLayoutEffect(() => {\n const slidesContainer = slidesRef.current\n if (!slidesContainer) return\n\n const measureLayout = () => {\n const slides = slidesContainer.querySelectorAll<HTMLElement>(`.${styles.TestimonialGroup__slide}`)\n const tallest = Math.max(0, ...Array.from(slides, slide => slide.getBoundingClientRect().height))\n slidesContainer.style.minHeight = `${Math.ceil(tallest)}px`\n\n const controls = controlsRef.current\n if (!controls) return\n const quoteMark =\n testimonials[view.index]?.props.variant === 'expressive'\n ? slides[view.index].querySelector<HTMLElement>(`.${styles.TestimonialGroup__quoteMark}`)\n : null\n let inlineInset = 0\n if (quoteMark) {\n const slidesBounds = slidesContainer.getBoundingClientRect()\n const quoteBounds = quoteMark.getBoundingClientRect()\n inlineInset =\n getComputedStyle(slidesContainer).direction === 'rtl'\n ? slidesBounds.right - quoteBounds.right\n : quoteBounds.left - slidesBounds.left\n }\n controls.style.marginInlineStart = `${Math.max(0, inlineInset)}px`\n }\n measureLayout()\n const observer = new ResizeObserver(measureLayout)\n observer.observe(slidesContainer)\n for (const slide of slidesContainer.children) {\n observer.observe(slide)\n }\n return () => observer.disconnect()\n }, [testimonials, view.index])\n\n useEffect(() => {\n const slides = slidesRef.current?.children\n if (!slides) return\n\n for (const [index, slide] of Array.from(slides).entries()) {\n // Workaround to avoid React 18 / 19 type and rendering mismatches with the `inert` attribute.\n // TODO: Move back to JSX when React 19 is fully adopted in Dotcom.\n slide.toggleAttribute('inert', index !== view.index)\n }\n }, [testimonials, view.index])\n\n useEffect(() => {\n const root = rootRef.current\n if (!root || testimonials.length === 0) return\n let announceOnCommit = false\n let current = viewRef.current\n const count = testimonials.length\n const updateView = (nextView: TestimonialGroupView) => {\n current = nextView\n viewRef.current = nextView\n setView(nextView)\n }\n const commit = () => {\n const nextIndex = current.targetIndex\n const changed = nextIndex !== current.index\n updateView({...current, index: nextIndex, phase: prefersReducedMotion ? 'idle' : 'in'})\n if (announceOnCommit) setAnnouncementIndex(nextIndex)\n announceOnCommit = false\n if (changed) onChangeRef.current?.(nextIndex)\n }\n const changeTo = (nextIndex: number) => {\n if (nextIndex < 0 || nextIndex >= count) return\n if (nextIndex === current.index && current.phase !== 'out') {\n setAnnouncementIndex(nextIndex)\n return\n }\n announceOnCommit = true\n const wasOutgoing = current.phase === 'out'\n updateView({...current, targetIndex: nextIndex})\n if (prefersReducedMotion) {\n commit()\n return\n }\n if (wasOutgoing) {\n if (nextIndex === current.index) {\n updateView({...current, phase: 'in'})\n setAnnouncementIndex(current.index)\n announceOnCommit = false\n }\n return\n }\n updateView({...current, phase: 'out'})\n }\n controller.current = {\n changeTo,\n finishPhase: () => {\n if (current.phase === 'out') commit()\n else if (current.phase === 'in') updateView({...current, phase: 'idle'})\n },\n }\n if (current.index >= count || current.targetIndex >= count) {\n updateView({index: count - 1, targetIndex: count - 1, phase: 'idle'})\n } else if (current.phase !== 'idle') {\n commit()\n }\n return () => {\n controller.current = null\n }\n }, [prefersReducedMotion, testimonials.length, rootRef])\n\n useEffect(() => {\n if (view.phase === 'idle' || prefersReducedMotion) return\n const activeSlide = slidesRef.current?.children[view.index]\n if (!activeSlide) return\n const toMilliseconds = (value: string) => {\n const duration = Number.parseFloat(value)\n return Number.isFinite(duration) ? duration * (value.trim().endsWith('ms') ? 1 : 1000) : 0\n }\n let completionTime = 0\n const parts = activeSlide.querySelectorAll<HTMLElement>(\n [styles.TestimonialGroup__quoteMark, styles.TestimonialGroup__quote, styles.TestimonialGroup__media]\n .map(partClassName => `.${partClassName}`)\n .join(','),\n )\n for (const part of parts) {\n const computedStyle = getComputedStyle(part)\n const durations = computedStyle.transitionDuration.split(',').map(toMilliseconds)\n const delays = computedStyle.transitionDelay.split(',').map(toMilliseconds)\n for (const [index, property] of computedStyle.transitionProperty.split(',').entries()) {\n if (property.trim() !== 'opacity' && property.trim() !== 'all') continue\n completionTime = Math.max(completionTime, durations[index % durations.length] + delays[index % delays.length])\n }\n }\n const transitionTimer = setTimeout(() => controller.current?.finishPhase(), completionTime)\n return () => clearTimeout(transitionTimer)\n }, [prefersReducedMotion, view.index, view.phase])\n\n if (testimonials.length === 0) return null\n\n const announcedTestimonial = announcementIndex === null ? undefined : testimonials[announcementIndex]\n const announcedName =\n announcedTestimonial &&\n Children.toArray(announcedTestimonial.props.children).find(\n (child): child is React.ReactElement<{children?: React.ReactNode}> =>\n isValidElement(child) && child.type === Testimonial.Name,\n )?.props.children\n const hasAnnouncedName = typeof announcedName === 'string' && announcedName.trim().length > 0\n\n return (\n <div\n {...props}\n ref={rootRef}\n role=\"region\"\n aria-roledescription={carouselRoleDescription}\n aria-label={ariaLabel}\n data-testid={testId || testIds.root}\n className={clsx(styles.TestimonialGroup, className)}\n >\n <div\n className={clsx(\n styles.TestimonialGroup__content,\n testimonials.some(testimonial => testimonial.props.variant === 'expressive') &&\n styles['TestimonialGroup__content--expressive'],\n )}\n >\n {testimonials.length > 1 && (\n <div ref={controlsRef} className={styles.TestimonialGroup__controls}>\n <CarouselPagination\n loop\n itemCount={testimonials.length}\n activeIndex={view.targetIndex}\n aria-label={formatLabel(controlsNavigation, {carousel: ariaLabel})}\n labels={{\n previous: controlsPrev,\n next: controlsNext,\n }}\n itemAttributesBuilder={index => ({\n 'aria-label': formatLabel(indicator, {current: index + 1, total: testimonials.length}),\n })}\n onChange={index => controller.current?.changeTo(index)}\n />\n </div>\n )}\n <div ref={slidesRef} className={styles.TestimonialGroup__slides}>\n {testimonials.map((testimonial, index) => (\n <div\n key={testimonial.key}\n className={clsx(\n styles.TestimonialGroup__slide,\n index === view.index && styles['TestimonialGroup__slide--active'],\n )}\n role=\"group\"\n aria-roledescription={slideRoleDescription}\n aria-label={formatLabel(slideLabel, {current: index + 1, total: testimonials.length})}\n aria-hidden={index !== view.index || undefined}\n >\n {cloneElement(testimonial, {\n variant: testimonial.props.variant ?? 'minimal',\n animate: undefined,\n quoteMarkClassName: clsx(testimonial.props.quoteMarkClassName, styles.TestimonialGroup__quoteMark),\n mediaClassName: clsx(testimonial.props.mediaClassName, styles.TestimonialGroup__media),\n children: Children.map(testimonial.props.children, child => {\n if (!isValidElement<{className?: string}>(child)) return child\n if (child.type === Testimonial.Quote) {\n return cloneElement(child, {\n className: clsx(child.props.className, styles.TestimonialGroup__quote),\n })\n }\n if (child.type === Testimonial.Avatar) {\n return cloneElement(child, {\n className: clsx(\n child.props.className,\n styles.TestimonialGroup__avatar,\n testimonial.props.size === 'large' && styles['TestimonialGroup__avatar--size-large'],\n ),\n })\n }\n return child\n }),\n className: clsx(\n testimonial.props.className,\n styles[`TestimonialGroup__testimonial--${index === view.index ? view.phase : 'out'}`],\n ),\n })}\n </div>\n ))}\n </div>\n </div>\n <span className={styles.TestimonialGroup__announcement} role=\"status\" aria-live=\"polite\" aria-atomic=\"true\">\n {announcementIndex !== null &&\n announcedTestimonial &&\n formatLabel(hasAnnouncedName ? announcementLabel : slideLabel, {\n current: announcementIndex + 1,\n total: testimonials.length,\n author: hasAnnouncedName ? announcedName : undefined,\n })}\n </span>\n </div>\n )\n },\n)\n\n/**\n * Use TestimonialGroup to display a collection of testimonials in a carousel format.\n * @see https://primer.style/brand/components/TestimonialGroup/\n */\nexport const TestimonialGroup = Object.assign(Root, {testIds})\n"],"mappings":";;;;;;;;;;;AAYA,IAAM,IAAU,EACd,MAAM,mBACR,GA4BM,IAAO,GAET,EACE,aACA,cACA,wBAAqB,GACrB,aACA,QAAQ,EACN,cAAW,gBACX,kBAAe,wBACf,kBAAe,oBACf,wBAAqB,yBACrB,6BAA0B,YAC1B,0BAAuB,SACvB,eAAY,+BACZ,OAAO,IAAa,oCACpB,cAAc,IAAoB,iDAChC,CAAC,GACL,cAAc,IAAY,GAC1B,eAAe,GACf,GAAG,KAEL,MACG;CACH,IAAM,IAAe,QAEjB,EAAS,QAAQ,CAAQ,CAAC,CAAC,QACxB,MACC,EAAiC,CAAK,KAAK,EAAM,SAAS,CAC9D,GACF,CAAC,CAAQ,CACX,GACM,IAAe,KAAK,IACxB,GACA,KAAK,IAAI,OAAO,UAAU,CAAkB,IAAI,IAAqB,GAAG,EAAa,SAAS,CAAC,CACjG,GACM,CAAC,GAAM,KAAW,EAA+B;EACrD,OAAO;EACP,aAAa;EACb,OAAO;CACT,CAAC,GACK,IAAU,EAAO,CAAI,GACrB,IAAU,EAA8C,CAAY,GACpE,IAAY,EAAuB,IAAI,GACvC,IAAc,EAAuB,IAAI,GACzC,IAAc,EAAO,CAAQ,GAC7B,CAAC,GAAmB,KAAwB,EAAwB,IAAI,GACxE,IAAuB,EAAiB,GACxC,IAAa,EAGT,IAAI,GACR,KACJ,GACA,MAEA,EAAS,QAAQ,yCAAyC,GAAa,MACrE,OAAO,EAAO,MAAS,CAAW,CACpC;CA0IF,IAxIA,QAAgC;EAC9B,EAAY,UAAU;CACxB,GAAG,CAAC,CAAQ,CAAC,GAEb,QAAgC;EAC9B,IAAM,IAAkB,EAAU;EAClC,IAAI,CAAC,GAAiB;EAEtB,IAAM,UAAsB;GAC1B,IAAM,IAAS,EAAgB,iBAA8B,IAAI,EAAO,yBAAyB,GAC3F,IAAU,KAAK,IAAI,GAAG,GAAG,MAAM,KAAK,IAAQ,MAAS,EAAM,sBAAsB,CAAC,CAAC,MAAM,CAAC;GAChG,EAAgB,MAAM,YAAY,GAAG,KAAK,KAAK,CAAO,EAAE;GAExD,IAAM,IAAW,EAAY;GAC7B,IAAI,CAAC,GAAU;GACf,IAAM,IACJ,EAAa,EAAK,MAAM,EAAE,MAAM,YAAY,eACxC,EAAO,EAAK,MAAM,CAAC,cAA2B,IAAI,EAAO,6BAA6B,IACtF,MACF,IAAc;GAClB,IAAI,GAAW;IACb,IAAM,IAAe,EAAgB,sBAAsB,GACrD,IAAc,EAAU,sBAAsB;IACpD,IACE,iBAAiB,CAAe,CAAC,CAAC,cAAc,QAC5C,EAAa,QAAQ,EAAY,QACjC,EAAY,OAAO,EAAa;GACxC;GACA,EAAS,MAAM,oBAAoB,GAAG,KAAK,IAAI,GAAG,CAAW,EAAE;EACjE;EACA,EAAc;EACd,IAAM,IAAW,IAAI,eAAe,CAAa;EACjD,EAAS,QAAQ,CAAe;EAChC,KAAK,IAAM,KAAS,EAAgB,UAClC,EAAS,QAAQ,CAAK;EAExB,aAAa,EAAS,WAAW;CACnC,GAAG,CAAC,GAAc,EAAK,KAAK,CAAC,GAE7B,QAAgB;EACd,IAAM,IAAS,EAAU,SAAS;EAC7B,OAEL,KAAK,IAAM,CAAC,GAAO,MAAU,MAAM,KAAK,CAAM,CAAC,CAAC,QAAQ,GAGtD,EAAM,gBAAgB,SAAS,MAAU,EAAK,KAAK;CAEvD,GAAG,CAAC,GAAc,EAAK,KAAK,CAAC,GAE7B,QAAgB;EAEd,IAAI,CADS,EAAQ,WACR,EAAa,WAAW,GAAG;EACxC,IAAI,IAAmB,IACnB,IAAU,EAAQ,SAChB,IAAQ,EAAa,QACrB,KAAc,MAAmC;GAGrD,AAFA,IAAU,GACV,EAAQ,UAAU,GAClB,EAAQ,CAAQ;EAClB,GACM,UAAe;GACnB,IAAM,IAAY,EAAQ,aACpB,IAAU,MAAc,EAAQ;GAItC,AAHA,EAAW;IAAC,GAAG;IAAS,OAAO;IAAW,OAAO,IAAuB,SAAS;GAAI,CAAC,GAClF,KAAkB,EAAqB,CAAS,GACpD,IAAmB,IACf,KAAS,EAAY,UAAU,CAAS;EAC9C;EAoCA,OAZA,EAAW,UAAU;GACnB,WAxBgB,MAAsB;IACtC,IAAI,IAAY,KAAK,KAAa,GAAO;IACzC,IAAI,MAAc,EAAQ,SAAS,EAAQ,UAAU,OAAO;KAC1D,EAAqB,CAAS;KAC9B;IACF;IACA,IAAmB;IACnB,IAAM,IAAc,EAAQ,UAAU;IAEtC,IADA,EAAW;KAAC,GAAG;KAAS,aAAa;IAAS,CAAC,GAC3C,GAAsB;KACxB,EAAO;KACP;IACF;IACA,IAAI,GAAa;KACf,AAAI,MAAc,EAAQ,UACxB,EAAW;MAAC,GAAG;MAAS,OAAO;KAAI,CAAC,GACpC,EAAqB,EAAQ,KAAK,GAClC,IAAmB;KAErB;IACF;IACA,EAAW;KAAC,GAAG;KAAS,OAAO;IAAK,CAAC;GACvC;GAGE,mBAAmB;IACjB,AAAI,EAAQ,UAAU,QAAO,EAAO,IAC3B,EAAQ,UAAU,QAAM,EAAW;KAAC,GAAG;KAAS,OAAO;IAAM,CAAC;GACzE;EACF,GACI,EAAQ,SAAS,KAAS,EAAQ,eAAe,IACnD,EAAW;GAAC,OAAO,IAAQ;GAAG,aAAa,IAAQ;GAAG,OAAO;EAAM,CAAC,IAC3D,EAAQ,UAAU,UAC3B,EAAO,SAEI;GACX,EAAW,UAAU;EACvB;CACF,GAAG;EAAC;EAAsB,EAAa;EAAQ;CAAO,CAAC,GAEvD,QAAgB;EACd,IAAI,EAAK,UAAU,UAAU,GAAsB;EACnD,IAAM,IAAc,EAAU,SAAS,SAAS,EAAK;EACrD,IAAI,CAAC,GAAa;EAClB,IAAM,KAAkB,MAAkB;GACxC,IAAM,IAAW,OAAO,WAAW,CAAK;GACxC,OAAO,OAAO,SAAS,CAAQ,IAAI,KAAY,EAAM,KAAK,CAAC,CAAC,SAAS,IAAI,IAAI,IAAI,OAAQ;EAC3F,GACI,IAAiB,GACf,IAAQ,EAAY,iBACxB;GAAC,EAAO;GAA6B,EAAO;GAAyB,EAAO;EAAuB,CAAC,CACjG,KAAI,MAAiB,IAAI,GAAe,CAAC,CACzC,KAAK,GAAG,CACb;EACA,KAAK,IAAM,KAAQ,GAAO;GACxB,IAAM,IAAgB,iBAAiB,CAAI,GACrC,IAAY,EAAc,mBAAmB,MAAM,GAAG,CAAC,CAAC,IAAI,CAAc,GAC1E,IAAS,EAAc,gBAAgB,MAAM,GAAG,CAAC,CAAC,IAAI,CAAc;GAC1E,KAAK,IAAM,CAAC,GAAO,MAAa,EAAc,mBAAmB,MAAM,GAAG,CAAC,CAAC,QAAQ,GAC9E,EAAS,KAAK,MAAM,aAAa,EAAS,KAAK,MAAM,UACzD,IAAiB,KAAK,IAAI,GAAgB,EAAU,IAAQ,EAAU,UAAU,EAAO,IAAQ,EAAO,OAAO;EAEjH;EACA,IAAM,IAAkB,iBAAiB,EAAW,SAAS,YAAY,GAAG,CAAc;EAC1F,aAAa,aAAa,CAAe;CAC3C,GAAG;EAAC;EAAsB,EAAK;EAAO,EAAK;CAAK,CAAC,GAE7C,EAAa,WAAW,GAAG,OAAO;CAEtC,IAAM,IAAuB,MAAsB,OAAO,KAAA,IAAY,EAAa,IAC7E,IACJ,KACA,EAAS,QAAQ,EAAqB,MAAM,QAAQ,CAAC,CAAC,MACnD,MACC,EAAe,CAAK,KAAK,EAAM,SAAS,EAAY,IACxD,CAAC,EAAE,MAAM,UACL,IAAmB,OAAO,KAAkB,YAAY,EAAc,KAAK,CAAC,CAAC,SAAS;CAE5F,OACE,kBAAC,OAAD;EACE,GAAI;EACJ,KAAK;EACL,MAAK;EACL,wBAAsB;EACtB,cAAY;EACZ,eAAa,KAAU,EAAQ;EAC/B,WAAW,EAAK,EAAO,kBAAkB,CAAS;YAPpD,CASE,kBAAC,OAAD;GACE,WAAW,EACT,EAAO,2BACP,EAAa,MAAK,MAAe,EAAY,MAAM,YAAY,YAAY,KACzE,EAAO,wCACX;aALF,CAOG,EAAa,SAAS,KACrB,kBAAC,OAAD;IAAK,KAAK;IAAa,WAAW,EAAO;cACvC,kBAAC,GAAD;KACE,MAAA;KACA,WAAW,EAAa;KACxB,aAAa,EAAK;KAClB,cAAY,EAAY,GAAoB,EAAC,UAAU,EAAS,CAAC;KACjE,QAAQ;MACN,UAAU;MACV,MAAM;KACR;KACA,wBAAuB,OAAU,EAC/B,cAAc,EAAY,GAAW;MAAC,SAAS,IAAQ;MAAG,OAAO,EAAa;KAAM,CAAC,EACvF;KACA,WAAU,MAAS,EAAW,SAAS,SAAS,CAAK;IACtD,CAAA;GACE,CAAA,GAEP,kBAAC,OAAD;IAAK,KAAK;IAAW,WAAW,EAAO;cACpC,EAAa,KAAK,GAAa,MAC9B,kBAAC,OAAD;KAEE,WAAW,EACT,EAAO,yBACP,MAAU,EAAK,SAAS,EAAO,kCACjC;KACA,MAAK;KACL,wBAAsB;KACtB,cAAY,EAAY,GAAY;MAAC,SAAS,IAAQ;MAAG,OAAO,EAAa;KAAM,CAAC;KACpF,eAAa,MAAU,EAAK,SAAS,KAAA;eAEpC,EAAa,GAAa;MACzB,SAAS,EAAY,MAAM,WAAW;MACtC,SAAS,KAAA;MACT,oBAAoB,EAAK,EAAY,MAAM,oBAAoB,EAAO,2BAA2B;MACjG,gBAAgB,EAAK,EAAY,MAAM,gBAAgB,EAAO,uBAAuB;MACrF,UAAU,EAAS,IAAI,EAAY,MAAM,WAAU,MAC5C,EAAqC,CAAK,IAC3C,EAAM,SAAS,EAAY,QACtB,EAAa,GAAO,EACzB,WAAW,EAAK,EAAM,MAAM,WAAW,EAAO,uBAAuB,EACvE,CAAC,IAEC,EAAM,SAAS,EAAY,SACtB,EAAa,GAAO,EACzB,WAAW,EACT,EAAM,MAAM,WACZ,EAAO,0BACP,EAAY,MAAM,SAAS,WAAW,EAAO,uCAC/C,EACF,CAAC,IAEI,IAfkD,CAgB1D;MACD,WAAW,EACT,EAAY,MAAM,WAClB,EAAO,kCAAkC,MAAU,EAAK,QAAQ,EAAK,QAAQ,QAC/E;KACF,CAAC;IACE,GAtCE,EAAY,GAsCd,CACN;GACE,CAAA,CACF;MACL,kBAAC,QAAD;GAAM,WAAW,EAAO;GAAgC,MAAK;GAAS,aAAU;GAAS,eAAY;aAClG,MAAsB,QACrB,KACA,EAAY,IAAmB,IAAoB,GAAY;IAC7D,SAAS,IAAoB;IAC7B,OAAO,EAAa;IACpB,QAAQ,IAAmB,IAAgB,KAAA;GAC7C,CAAC;EACC,CAAA,CACH;;AAET,CACF,GAMa,IAAmB,OAAO,OAAO,GAAM,EAAC,WAAO,CAAC"}
@@ -0,0 +1 @@
1
+ .Primer_Brand__TestimonialGroup-module__TestimonialGroup___WSHAX{width:100%;min-width:0;padding-block:calc(var(--base-size-48) + var(--base-size-8));padding-inline:var(--base-size-32)}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__content____OwRq{flex-direction:column;width:100%;display:flex}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__slides___bujxD{flex-direction:column;justify-content:center;width:100%;display:flex;position:relative}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide___BQN5P{visibility:hidden;pointer-events:none;width:100%;position:absolute}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide--active___Po_Ui{visibility:visible;pointer-events:auto;position:relative}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar___g6C4c{border:var(--base-size-2) solid var(--brand-Testimonial-quoteMarkColor-green);border-radius:50%;flex:none}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar___g6C4c.Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar--size-large___RDqmT{width:var(--base-size-48);height:var(--base-size-48)}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{transition:opacity var(--brand-TestimonialGroup-fadeInDuration) ease-in-out}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6{opacity:0;transition:opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out .12s}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF{opacity:0;transition:opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 80ms}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{opacity:0;transition:opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 40ms}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--in___oPvYa .Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF{transition-delay:.1s}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--in___oPvYa .Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{transition-delay:var(--brand-animation-duration-faster)}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__controls___S4ca5{flex:none;order:1;align-items:center;margin-block-start:var(--base-size-32);padding-block-start:var(--base-size-16);display:flex}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__content--expressive___Ff_H7 .Primer_Brand__TestimonialGroup-module__TestimonialGroup__controls___S4ca5{margin-block-start:0}.Primer_Brand__TestimonialGroup-module__TestimonialGroup__announcement___mOAht{width:var(--brand-borderWidth-thin);height:var(--brand-borderWidth-thin);clip-path:inset(50%);white-space:nowrap;padding:0;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF,.Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m{transition:none}}@media screen and (width>=63.25rem){.Primer_Brand__TestimonialGroup-module__TestimonialGroup___WSHAX{padding-block:var(--base-size-60);padding-inline:var(--base-size-60)}}
@@ -0,0 +1,22 @@
1
+ import './TestimonialGroup.module-kFxPa1k1.css';//#region src/TestimonialGroup/TestimonialGroup.module.css
2
+ var e = "Primer_Brand__TestimonialGroup-module__TestimonialGroup___WSHAX", t = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__content____OwRq", n = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__slides___bujxD", r = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide___BQN5P", i = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar___g6C4c", a = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__quoteMark___kFAR6", o = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__quote___EojHF", s = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__media____4w1m", c = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__controls___S4ca5", l = "Primer_Brand__TestimonialGroup-module__TestimonialGroup__announcement___mOAht", u = {
3
+ TestimonialGroup: e,
4
+ TestimonialGroup__content: t,
5
+ TestimonialGroup__slides: n,
6
+ TestimonialGroup__slide: r,
7
+ "TestimonialGroup__slide--active": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__slide--active___Po_Ui",
8
+ TestimonialGroup__avatar: i,
9
+ "TestimonialGroup__avatar--size-large": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__avatar--size-large___RDqmT",
10
+ TestimonialGroup__quoteMark: a,
11
+ TestimonialGroup__quote: o,
12
+ TestimonialGroup__media: s,
13
+ "TestimonialGroup__testimonial--out": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--out___3J8b7",
14
+ "TestimonialGroup__testimonial--in": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__testimonial--in___oPvYa",
15
+ TestimonialGroup__controls: c,
16
+ "TestimonialGroup__content--expressive": "Primer_Brand__TestimonialGroup-module__TestimonialGroup__content--expressive___Ff_H7",
17
+ TestimonialGroup__announcement: l
18
+ };
19
+ //#endregion
20
+ export { e as TestimonialGroup, l as TestimonialGroup__announcement, i as TestimonialGroup__avatar, t as TestimonialGroup__content, c as TestimonialGroup__controls, s as TestimonialGroup__media, o as TestimonialGroup__quote, a as TestimonialGroup__quoteMark, r as TestimonialGroup__slide, n as TestimonialGroup__slides, u as default };
21
+
22
+ //# sourceMappingURL=TestimonialGroup.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TestimonialGroup.module.js","names":[],"sources":["../../src/TestimonialGroup/TestimonialGroup.module.css"],"sourcesContent":[".TestimonialGroup {\n width: 100%;\n min-width: 0;\n padding-block: calc(var(--base-size-48) + var(--base-size-8));\n padding-inline: var(--base-size-32);\n}\n\n.TestimonialGroup__content {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n.TestimonialGroup__slides {\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 100%;\n}\n\n.TestimonialGroup__slide {\n position: absolute;\n width: 100%;\n visibility: hidden;\n pointer-events: none;\n}\n\n.TestimonialGroup__slide--active {\n position: relative;\n visibility: visible;\n pointer-events: auto;\n}\n\n.TestimonialGroup__avatar {\n flex: none;\n border: var(--base-size-2) solid var(--brand-Testimonial-quoteMarkColor-green);\n border-radius: 50%;\n}\n\n.TestimonialGroup__avatar.TestimonialGroup__avatar--size-large {\n width: var(--base-size-48);\n height: var(--base-size-48);\n}\n\n.TestimonialGroup__quoteMark,\n.TestimonialGroup__quote,\n.TestimonialGroup__media {\n transition: opacity var(--brand-TestimonialGroup-fadeInDuration) ease-in-out;\n}\n\n.TestimonialGroup__testimonial--out .TestimonialGroup__quoteMark {\n opacity: 0;\n transition: opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 120ms;\n}\n\n.TestimonialGroup__testimonial--out .TestimonialGroup__quote {\n opacity: 0;\n transition: opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 80ms;\n}\n\n.TestimonialGroup__testimonial--out .TestimonialGroup__media {\n opacity: 0;\n transition: opacity var(--brand-TestimonialGroup-fadeOutDuration) ease-in-out 40ms;\n}\n\n.TestimonialGroup__testimonial--in .TestimonialGroup__quote {\n transition-delay: 100ms;\n}\n\n.TestimonialGroup__testimonial--in .TestimonialGroup__media {\n transition-delay: var(--brand-animation-duration-faster);\n}\n\n.TestimonialGroup__controls {\n display: flex;\n flex: none;\n order: 1;\n align-items: center;\n margin-block-start: var(--base-size-32);\n padding-block-start: var(--base-size-16);\n}\n\n.TestimonialGroup__content--expressive .TestimonialGroup__controls {\n margin-block-start: 0;\n}\n\n.TestimonialGroup__announcement {\n position: absolute;\n width: var(--brand-borderWidth-thin);\n height: var(--brand-borderWidth-thin);\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .TestimonialGroup__quoteMark,\n .TestimonialGroup__quote,\n .TestimonialGroup__media {\n transition: none;\n }\n}\n\n@media screen and (min-width: 63.25rem) {\n .TestimonialGroup {\n padding-block: var(--base-size-60);\n padding-inline: var(--base-size-60);\n }\n}\n"],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './TestimonialGroup';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TestimonialGroup/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
@@ -0,0 +1 @@
1
+ .Primer_Brand__Text-module__Text___XeGJJ{font-family:var(--brand-body-fontFamily)}[data-color-mode=dark] .Primer_Brand__Text-module__Text--antialiased___TYoXS{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:auto}@media (prefers-color-scheme:dark){[data-color-mode=auto] .Primer_Brand__Text-module__Text--antialiased___TYoXS{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:auto}}.Primer_Brand__Text-module__Text--default___GhPh_{color:var(--brand-color-text-default)}.Primer_Brand__Text-module__Text--muted___rE6mh{color:var(--brand-color-text-muted)}.Primer_Brand__Text-module__Text-font--mona-sans___a8XJD{font-family:var(--brand-body-fontFamily)}.Primer_Brand__Text-module__Text-font--hubot-sans___ugBUt{font-family:var(--brand-body-fontFamilyAlt)}.Primer_Brand__Text-module__Text-font--monospace___QXHDQ{font-family:var(--brand-fontStack-monospace)}.Primer_Brand__Text-module__Text--1000___tukKR{font-weight:var(--brand-text-weight-1000);font-size:var(--brand-text-size-1000);line-height:var(--brand-text-lineHeight-1000);letter-spacing:var(--brand-text-letterSpacing-1000)}.Primer_Brand__Text-module__Text--900___32GJV{font-weight:var(--brand-text-weight-900);font-size:var(--brand-text-size-900);line-height:var(--brand-text-lineHeight-900);letter-spacing:var(--brand-text-letterSpacing-900)}.Primer_Brand__Text-module__Text--800___fyc1I{font-weight:var(--brand-text-weight-800);font-size:var(--brand-text-size-800);line-height:var(--brand-text-lineHeight-800);letter-spacing:var(--brand-text-letterSpacing-800)}.Primer_Brand__Text-module__Text--700___d10Sw{font-weight:var(--brand-text-weight-700);font-size:var(--brand-text-size-700);line-height:var(--brand-text-lineHeight-700);letter-spacing:var(--brand-text-letterSpacing-700)}.Primer_Brand__Text-module__Text--600___4BFh8{font-weight:var(--brand-text-weight-600);font-size:var(--brand-text-size-600);line-height:var(--brand-text-lineHeight-600)}.Primer_Brand__Text-module__Text--500___PC29z{font-weight:var(--brand-text-weight-500);font-size:var(--brand-text-size-500);line-height:var(--brand-text-lineHeight-500)}.Primer_Brand__Text-module__Text--400___6gPcS{font-weight:var(--brand-text-weight-400);font-size:var(--brand-text-size-400);line-height:var(--brand-text-lineHeight-400);letter-spacing:var(--brand-text-letterSpacing-400)}.Primer_Brand__Text-module__Text--350___3wtcG{font-weight:var(--brand-text-weight-350);font-size:var(--brand-text-size-350);line-height:var(--brand-text-lineHeight-350);letter-spacing:var(--brand-text-letterSpacing-350)}.Primer_Brand__Text-module__Text--300___6_Yx4{font-weight:var(--brand-text-weight-300);font-size:var(--brand-text-size-300);line-height:var(--brand-text-lineHeight-300);letter-spacing:var(--brand-text-letterSpacing-300)}.Primer_Brand__Text-module__Text--200____P1wy{font-weight:var(--brand-text-weight-200);font-size:var(--brand-text-size-200);line-height:var(--brand-text-lineHeight-200);letter-spacing:var(--brand-text-letterSpacing-200)}.Primer_Brand__Text-module__Text--100___B2ueX{font-weight:var(--brand-text-weight-100);font-size:var(--brand-text-size-100);line-height:var(--brand-text-lineHeight-100);letter-spacing:var(--brand-text-letterSpacing-100)}.Primer_Brand__Text-module__Text--weight-heavy___QCeKv,.Primer_Brand__Text-module__Text-narrow--weight-heavy___24MXE{font-weight:var(--base-text-weight-heavy)}.Primer_Brand__Text-module__Text--weight-extrabold___VQOAJ,.Primer_Brand__Text-module__Text-narrow--weight-extrabold___EYii_{font-weight:var(--base-text-weight-extrabold)}.Primer_Brand__Text-module__Text--weight-bold___6UQaB,.Primer_Brand__Text-module__Text-narrow--weight-bold___yldzx{font-weight:var(--base-text-weight-bold)}.Primer_Brand__Text-module__Text--weight-semibold___RwHEI,.Primer_Brand__Text-module__Text-narrow--weight-semibold___WHElR{font-weight:var(--base-text-weight-semibold)}.Primer_Brand__Text-module__Text--weight-medium___qJKf_,.Primer_Brand__Text-module__Text-narrow--weight-medium___rrr6b{font-weight:var(--base-text-weight-medium)}.Primer_Brand__Text-module__Text--weight-normal___8EPr2,.Primer_Brand__Text-module__Text-narrow--weight-normal___2bidj{font-weight:var(--base-text-weight-normal)}.Primer_Brand__Text-module__Text--weight-light___6OYNB,.Primer_Brand__Text-module__Text-narrow--weight-light___LpqTO{font-weight:var(--base-text-weight-light)}.Primer_Brand__Text-module__Text--weight-extralight___C_7HK,.Primer_Brand__Text-module__Text-narrow--weight-extralight___4x_ZL{font-weight:var(--base-text-weight-extralight)}@media screen and (width>=48rem){.Primer_Brand__Text-module__Text-regular--weight-heavy___C6cCn{font-weight:var(--base-text-weight-heavy)}.Primer_Brand__Text-module__Text-regular--weight-extrabold___o622g{font-weight:var(--base-text-weight-extrabold)}.Primer_Brand__Text-module__Text-regular--weight-bold___EIEc7{font-weight:var(--base-text-weight-bold)}.Primer_Brand__Text-module__Text-regular--weight-semibold___5kMg1{font-weight:var(--base-text-weight-semibold)}.Primer_Brand__Text-module__Text-regular--weight-medium___OkZWd{font-weight:var(--base-text-weight-medium)}.Primer_Brand__Text-module__Text-regular--weight-normal___uxTUt{font-weight:var(--base-text-weight-normal)}.Primer_Brand__Text-module__Text-regular--weight-light___aTMvp{font-weight:var(--base-text-weight-light)}.Primer_Brand__Text-module__Text-regular--weight-extralight___GcMAT{font-weight:var(--base-text-weight-extralight)}}@media screen and (width>=80rem){.Primer_Brand__Text-module__Text-wide--weight-heavy___2TsqG{font-weight:var(--base-text-weight-heavy)}.Primer_Brand__Text-module__Text-wide--weight-extrabold___aGeMc{font-weight:var(--base-text-weight-extrabold)}.Primer_Brand__Text-module__Text-wide--weight-bold___nnBEA{font-weight:var(--base-text-weight-bold)}.Primer_Brand__Text-module__Text-wide--weight-semibold___Qz6Ns{font-weight:var(--base-text-weight-semibold)}.Primer_Brand__Text-module__Text-wide--weight-medium___azsiu{font-weight:var(--base-text-weight-medium)}.Primer_Brand__Text-module__Text-wide--weight-normal___qsXEg{font-weight:var(--base-text-weight-normal)}.Primer_Brand__Text-module__Text-wide--weight-light___bYqfS{font-weight:var(--base-text-weight-light)}.Primer_Brand__Text-module__Text-wide--weight-extralight___5n89w{font-weight:var(--base-text-weight-extralight)}}.Primer_Brand__Text-module__Text-align--start___hayyq{text-align:start}.Primer_Brand__Text-module__Text-align--end____rbX8{text-align:end}.Primer_Brand__Text-module__Text-align--center___NERb4{text-align:center}
@@ -1,4 +1,4 @@
1
- import './Text.module-D0UHZ0pq.css';//#region src/Text/Text.module.css
1
+ import './Text.module-Bf-3ooDP.css';//#region src/Text/Text.module.css
2
2
  var e = "Primer_Brand__Text-module__Text___XeGJJ", t = {
3
3
  Text: e,
4
4
  "Text--antialiased": "Primer_Brand__Text-module__Text--antialiased___TYoXS",
@@ -1 +1 @@
1
- {"version":3,"file":"Text.module.js","names":[],"sources":["../../src/Text/Text.module.css"],"sourcesContent":[".Text {\n font-family: var(--brand-body-fontFamily);\n}\n\n[data-color-mode='dark'] .Text--antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n}\n\n.Text--default {\n color: var(--brand-color-text-default);\n}\n\n.Text--muted {\n color: var(--brand-color-text-muted);\n}\n\n.Text-font--mona-sans {\n font-family: var(--brand-body-fontFamily);\n}\n\n.Text-font--hubot-sans {\n font-family: var(--brand-body-fontFamilyAlt);\n}\n\n.Text-font--monospace {\n font-family: var(--brand-fontStack-monospace);\n}\n\n.Text--1000 {\n font-weight: var(--brand-text-weight-1000);\n font-size: var(--brand-text-size-1000);\n line-height: var(--brand-text-lineHeight-1000);\n letter-spacing: var(--brand-text-letterSpacing-1000);\n}\n\n.Text--900 {\n font-weight: var(--brand-text-weight-900);\n font-size: var(--brand-text-size-900);\n line-height: var(--brand-text-lineHeight-900);\n letter-spacing: var(--brand-text-letterSpacing-900);\n}\n\n.Text--800 {\n font-weight: var(--brand-text-weight-800);\n font-size: var(--brand-text-size-800);\n line-height: var(--brand-text-lineHeight-800);\n letter-spacing: var(--brand-text-letterSpacing-800);\n}\n\n.Text--700 {\n font-weight: var(--brand-text-weight-700);\n font-size: var(--brand-text-size-700);\n line-height: var(--brand-text-lineHeight-700);\n letter-spacing: var(--brand-text-letterSpacing-700);\n}\n\n.Text--600 {\n font-weight: var(--brand-text-weight-600);\n font-size: var(--brand-text-size-600);\n line-height: var(--brand-text-lineHeight-600);\n}\n\n.Text--500 {\n font-weight: var(--brand-text-weight-500);\n font-size: var(--brand-text-size-500);\n line-height: var(--brand-text-lineHeight-500);\n}\n\n.Text--400 {\n font-weight: var(--brand-text-weight-400);\n font-size: var(--brand-text-size-400);\n line-height: var(--brand-text-lineHeight-400);\n letter-spacing: var(--brand-text-letterSpacing-400);\n}\n\n.Text--350 {\n font-weight: var(--brand-text-weight-350);\n font-size: var(--brand-text-size-350);\n line-height: var(--brand-text-lineHeight-350);\n letter-spacing: var(--brand-text-letterSpacing-350);\n}\n\n.Text--300 {\n font-weight: var(--brand-text-weight-300);\n font-size: var(--brand-text-size-300);\n line-height: var(--brand-text-lineHeight-300);\n letter-spacing: var(--brand-text-letterSpacing-300);\n}\n\n.Text--200 {\n font-weight: var(--brand-text-weight-200);\n font-size: var(--brand-text-size-200);\n line-height: var(--brand-text-lineHeight-200);\n letter-spacing: var(--brand-text-letterSpacing-200);\n}\n\n.Text--100 {\n font-weight: var(--brand-text-weight-100);\n font-size: var(--brand-text-size-100);\n line-height: var(--brand-text-lineHeight-100);\n letter-spacing: var(--brand-text-letterSpacing-100);\n}\n\n.Text--weight-heavy,\n.Text-narrow--weight-heavy {\n font-weight: var(--base-text-weight-heavy);\n}\n\n.Text--weight-extrabold,\n.Text-narrow--weight-extrabold {\n font-weight: var(--base-text-weight-extrabold);\n}\n\n.Text--weight-bold,\n.Text-narrow--weight-bold {\n font-weight: var(--base-text-weight-bold);\n}\n\n.Text--weight-semibold,\n.Text-narrow--weight-semibold {\n font-weight: var(--base-text-weight-semibold);\n}\n\n.Text--weight-medium,\n.Text-narrow--weight-medium {\n font-weight: var(--base-text-weight-medium);\n}\n\n.Text--weight-normal,\n.Text-narrow--weight-normal {\n font-weight: var(--base-text-weight-normal);\n}\n\n.Text--weight-light,\n.Text-narrow--weight-light {\n font-weight: var(--base-text-weight-light);\n}\n\n.Text--weight-extralight,\n.Text-narrow--weight-extralight {\n font-weight: var(--base-text-weight-extralight);\n}\n\n@media screen and (min-width: 48rem) {\n .Text-regular--weight-heavy {\n font-weight: var(--base-text-weight-heavy);\n }\n\n .Text-regular--weight-extrabold {\n font-weight: var(--base-text-weight-extrabold);\n }\n\n .Text-regular--weight-bold {\n font-weight: var(--base-text-weight-bold);\n }\n\n .Text-regular--weight-semibold {\n font-weight: var(--base-text-weight-semibold);\n }\n\n .Text-regular--weight-medium {\n font-weight: var(--base-text-weight-medium);\n }\n\n .Text-regular--weight-normal {\n font-weight: var(--base-text-weight-normal);\n }\n\n .Text-regular--weight-light {\n font-weight: var(--base-text-weight-light);\n }\n\n .Text-regular--weight-extralight {\n font-weight: var(--base-text-weight-extralight);\n }\n}\n\n@media screen and (min-width: 80rem) {\n .Text-wide--weight-heavy {\n font-weight: var(--base-text-weight-heavy);\n }\n\n .Text-wide--weight-extrabold {\n font-weight: var(--base-text-weight-extrabold);\n }\n\n .Text-wide--weight-bold {\n font-weight: var(--base-text-weight-bold);\n }\n\n .Text-wide--weight-semibold {\n font-weight: var(--base-text-weight-semibold);\n }\n\n .Text-wide--weight-medium {\n font-weight: var(--base-text-weight-medium);\n }\n\n .Text-wide--weight-normal {\n font-weight: var(--base-text-weight-normal);\n }\n\n .Text-wide--weight-light {\n font-weight: var(--base-text-weight-light);\n }\n\n .Text-wide--weight-extralight {\n font-weight: var(--base-text-weight-extralight);\n }\n}\n\n.Text-align--start {\n text-align: start;\n}\n\n.Text-align--end {\n text-align: end;\n}\n\n.Text-align--center {\n text-align: center;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"Text.module.js","names":[],"sources":["../../src/Text/Text.module.css"],"sourcesContent":[".Text {\n font-family: var(--brand-body-fontFamily);\n}\n\n[data-color-mode='dark'] .Text--antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n}\n\n@media (prefers-color-scheme: dark) {\n [data-color-mode='auto'] .Text--antialiased {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n }\n}\n\n.Text--default {\n color: var(--brand-color-text-default);\n}\n\n.Text--muted {\n color: var(--brand-color-text-muted);\n}\n\n.Text-font--mona-sans {\n font-family: var(--brand-body-fontFamily);\n}\n\n.Text-font--hubot-sans {\n font-family: var(--brand-body-fontFamilyAlt);\n}\n\n.Text-font--monospace {\n font-family: var(--brand-fontStack-monospace);\n}\n\n.Text--1000 {\n font-weight: var(--brand-text-weight-1000);\n font-size: var(--brand-text-size-1000);\n line-height: var(--brand-text-lineHeight-1000);\n letter-spacing: var(--brand-text-letterSpacing-1000);\n}\n\n.Text--900 {\n font-weight: var(--brand-text-weight-900);\n font-size: var(--brand-text-size-900);\n line-height: var(--brand-text-lineHeight-900);\n letter-spacing: var(--brand-text-letterSpacing-900);\n}\n\n.Text--800 {\n font-weight: var(--brand-text-weight-800);\n font-size: var(--brand-text-size-800);\n line-height: var(--brand-text-lineHeight-800);\n letter-spacing: var(--brand-text-letterSpacing-800);\n}\n\n.Text--700 {\n font-weight: var(--brand-text-weight-700);\n font-size: var(--brand-text-size-700);\n line-height: var(--brand-text-lineHeight-700);\n letter-spacing: var(--brand-text-letterSpacing-700);\n}\n\n.Text--600 {\n font-weight: var(--brand-text-weight-600);\n font-size: var(--brand-text-size-600);\n line-height: var(--brand-text-lineHeight-600);\n}\n\n.Text--500 {\n font-weight: var(--brand-text-weight-500);\n font-size: var(--brand-text-size-500);\n line-height: var(--brand-text-lineHeight-500);\n}\n\n.Text--400 {\n font-weight: var(--brand-text-weight-400);\n font-size: var(--brand-text-size-400);\n line-height: var(--brand-text-lineHeight-400);\n letter-spacing: var(--brand-text-letterSpacing-400);\n}\n\n.Text--350 {\n font-weight: var(--brand-text-weight-350);\n font-size: var(--brand-text-size-350);\n line-height: var(--brand-text-lineHeight-350);\n letter-spacing: var(--brand-text-letterSpacing-350);\n}\n\n.Text--300 {\n font-weight: var(--brand-text-weight-300);\n font-size: var(--brand-text-size-300);\n line-height: var(--brand-text-lineHeight-300);\n letter-spacing: var(--brand-text-letterSpacing-300);\n}\n\n.Text--200 {\n font-weight: var(--brand-text-weight-200);\n font-size: var(--brand-text-size-200);\n line-height: var(--brand-text-lineHeight-200);\n letter-spacing: var(--brand-text-letterSpacing-200);\n}\n\n.Text--100 {\n font-weight: var(--brand-text-weight-100);\n font-size: var(--brand-text-size-100);\n line-height: var(--brand-text-lineHeight-100);\n letter-spacing: var(--brand-text-letterSpacing-100);\n}\n\n.Text--weight-heavy,\n.Text-narrow--weight-heavy {\n font-weight: var(--base-text-weight-heavy);\n}\n\n.Text--weight-extrabold,\n.Text-narrow--weight-extrabold {\n font-weight: var(--base-text-weight-extrabold);\n}\n\n.Text--weight-bold,\n.Text-narrow--weight-bold {\n font-weight: var(--base-text-weight-bold);\n}\n\n.Text--weight-semibold,\n.Text-narrow--weight-semibold {\n font-weight: var(--base-text-weight-semibold);\n}\n\n.Text--weight-medium,\n.Text-narrow--weight-medium {\n font-weight: var(--base-text-weight-medium);\n}\n\n.Text--weight-normal,\n.Text-narrow--weight-normal {\n font-weight: var(--base-text-weight-normal);\n}\n\n.Text--weight-light,\n.Text-narrow--weight-light {\n font-weight: var(--base-text-weight-light);\n}\n\n.Text--weight-extralight,\n.Text-narrow--weight-extralight {\n font-weight: var(--base-text-weight-extralight);\n}\n\n@media screen and (min-width: 48rem) {\n .Text-regular--weight-heavy {\n font-weight: var(--base-text-weight-heavy);\n }\n\n .Text-regular--weight-extrabold {\n font-weight: var(--base-text-weight-extrabold);\n }\n\n .Text-regular--weight-bold {\n font-weight: var(--base-text-weight-bold);\n }\n\n .Text-regular--weight-semibold {\n font-weight: var(--base-text-weight-semibold);\n }\n\n .Text-regular--weight-medium {\n font-weight: var(--base-text-weight-medium);\n }\n\n .Text-regular--weight-normal {\n font-weight: var(--base-text-weight-normal);\n }\n\n .Text-regular--weight-light {\n font-weight: var(--base-text-weight-light);\n }\n\n .Text-regular--weight-extralight {\n font-weight: var(--base-text-weight-extralight);\n }\n}\n\n@media screen and (min-width: 80rem) {\n .Text-wide--weight-heavy {\n font-weight: var(--base-text-weight-heavy);\n }\n\n .Text-wide--weight-extrabold {\n font-weight: var(--base-text-weight-extrabold);\n }\n\n .Text-wide--weight-bold {\n font-weight: var(--base-text-weight-bold);\n }\n\n .Text-wide--weight-semibold {\n font-weight: var(--base-text-weight-semibold);\n }\n\n .Text-wide--weight-medium {\n font-weight: var(--base-text-weight-medium);\n }\n\n .Text-wide--weight-normal {\n font-weight: var(--base-text-weight-normal);\n }\n\n .Text-wide--weight-light {\n font-weight: var(--base-text-weight-light);\n }\n\n .Text-wide--weight-extralight {\n font-weight: var(--base-text-weight-extralight);\n }\n}\n\n.Text-align--start {\n text-align: start;\n}\n\n.Text-align--end {\n text-align: end;\n}\n\n.Text-align--center {\n text-align: center;\n}\n"],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  import { clsx as e } from "../node_modules/clsx/dist/clsx.js";
2
2
  import { useCursorAnimation as t } from "../hooks/useCursorAnimation.js";
3
3
  import { EyebrowText as n } from "../EyebrowText/EyebrowText.js";
4
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes-BucKYl1n.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/base-DKbXhPKv.css';/* empty css */
4
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes-wctZLA5X.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/base-DKbXhPKv.css';/* empty css */
5
5
  /* empty css */
6
6
  import r from "./TextCursorAnimation.module.js";
7
7
  import { useRef as i } from "react";
@@ -8,6 +8,7 @@ export type ColorMode = `${ColorModesEnum}` | (string & {});
8
8
  export type ResolvedColorMode = ColorModesEnum.LIGHT | ColorModesEnum.DARK;
9
9
  export type ThemeContextProps = {
10
10
  colorMode: ResolvedColorMode;
11
+ originalColorMode?: ColorMode;
11
12
  availableColorModes: ColorModesEnum[];
12
13
  };
13
14
  export type ThemeProviderProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAmC,cAAc,EAAE,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAGhG,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,SAAS,GAAG,GAAG,cAAc,EAAE,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAC3D,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,GAAG,cAAc,CAAC,IAAI,CAAA;AAW1E,MAAM,MAAM,iBAAiB,GAAG;IAI9B,SAAS,EAAE,iBAAiB,CAAA;IAK5B,mBAAmB,EAAE,cAAc,EAAE,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAA;AAGlC,eAAO,MAAM,YAAY,kCAGvB,CAAA;AAEF;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAC,SAAuB,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,qBAmBhH"}
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../src/ThemeProvider/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAmC,cAAc,EAAE,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAGhG,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,MAAM,SAAS,GAAG,GAAG,cAAc,EAAE,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;AAC3D,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,KAAK,GAAG,cAAc,CAAC,IAAI,CAAA;AAW1E,MAAM,MAAM,iBAAiB,GAAG;IAI9B,SAAS,EAAE,iBAAiB,CAAA;IAK5B,iBAAiB,CAAC,EAAE,SAAS,CAAA;IAK7B,mBAAmB,EAAE,cAAc,EAAE,CAAA;CACtC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAA;AAGlC,eAAO,MAAM,YAAY,kCAIvB,CAAA;AAEF;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAC,SAAuB,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,qBAyBhH"}
@@ -10,28 +10,30 @@ function o(e) {
10
10
  }
11
11
  var s = "light", c = t({
12
12
  colorMode: s,
13
+ originalColorMode: s,
13
14
  availableColorModes: Object.values(a)
14
15
  });
15
16
  function l({ colorMode: t = s, children: l, ...u }) {
16
- let [p, m] = r(s), h = t === "auto" ? p : o(t), g = n(() => Object.values(a), []);
17
+ let [d, f] = r(s), p = t === "auto" ? d : o(t), m = n(() => Object.values(a), []);
17
18
  return e(() => {
18
- if (t === "auto") return m(d()), f(m);
19
+ if (t !== "auto" || typeof window.matchMedia != "function") return;
20
+ let e = window.matchMedia("(prefers-color-scheme: dark)"), n = (e) => {
21
+ f(e.matches ? "dark" : "light");
22
+ };
23
+ return e.addEventListener("change", n), f(e.matches ? "dark" : "light"), () => e.removeEventListener("change", n);
19
24
  }, [t]), /* @__PURE__ */ i(c.Provider, {
20
25
  value: {
21
- colorMode: h,
22
- availableColorModes: g
26
+ colorMode: p,
27
+ originalColorMode: t,
28
+ availableColorModes: m
23
29
  },
24
30
  children: /* @__PURE__ */ i("div", {
25
- "data-color-mode": h,
31
+ "data-color-mode": t === "auto" ? "auto" : p,
26
32
  ...u,
27
33
  children: l
28
34
  })
29
35
  });
30
36
  }
31
- var u = () => window.matchMedia("(prefers-color-scheme: dark)"), d = () => u().matches ? "dark" : "light", f = (e) => {
32
- let t = u(), n = (t) => e(t.matches ? "dark" : "light");
33
- return t.addEventListener("change", n), () => t.removeEventListener("change", n);
34
- };
35
37
  //#endregion
36
38
  export { a as ColorModesEnum, c as ThemeContext, l as ThemeProvider };
37
39
 
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider.js","names":[],"sources":["../../src/ThemeProvider/ThemeProvider.tsx"],"sourcesContent":["import React, {useState, useMemo, createContext, HTMLAttributes, PropsWithChildren} from 'react'\nimport useIsomorphicLayoutEffect from '../hooks/useIsomorphicLayoutEffect'\n\nexport enum ColorModesEnum {\n LIGHT = 'light',\n DARK = 'dark',\n AUTO = 'auto',\n}\n\nexport type ColorMode = `${ColorModesEnum}` | (string & {})\nexport type ResolvedColorMode = ColorModesEnum.LIGHT | ColorModesEnum.DARK\n\n/**\n * Resolves a color mode to the light or dark theme it should use.\n */\nfunction resolveColorMode(mode: string): ResolvedColorMode {\n return mode === ColorModesEnum.DARK || mode.startsWith(`${ColorModesEnum.DARK}_`)\n ? ColorModesEnum.DARK\n : ColorModesEnum.LIGHT\n}\n\nexport type ThemeContextProps = {\n /*\n * The active color mode of the parent ThemeProvider.\n */\n colorMode: ResolvedColorMode\n\n /*\n * List of available color modes.\n */\n availableColorModes: ColorModesEnum[]\n}\n\nexport type ThemeProviderProps = {\n colorMode?: ColorMode\n} & HTMLAttributes<HTMLDivElement>\n\nconst defaultMode = ColorModesEnum.LIGHT\nexport const ThemeContext = createContext<ThemeContextProps>({\n colorMode: defaultMode,\n availableColorModes: Object.values(ColorModesEnum),\n})\n\n/**\n * ThemeProvider is used to provide theme-related context to its child components.\n */\nexport function ThemeProvider({colorMode = defaultMode, children, ...rest}: PropsWithChildren<ThemeProviderProps>) {\n const [autoMode, setAutoMode] = useState<ResolvedColorMode>(defaultMode)\n const activeMode = colorMode === ColorModesEnum.AUTO ? autoMode : resolveColorMode(colorMode)\n const availableColorModes = useMemo(() => Object.values(ColorModesEnum), [])\n\n useIsomorphicLayoutEffect(() => {\n if (colorMode !== ColorModesEnum.AUTO) return\n\n setAutoMode(getActiveAutoMode())\n return handleSystemPreferenceChange(setAutoMode)\n }, [colorMode])\n\n return (\n <ThemeContext.Provider value={{colorMode: activeMode, availableColorModes}}>\n <div data-color-mode={activeMode} {...rest}>\n {children}\n </div>\n </ThemeContext.Provider>\n )\n}\n\nconst queryBrowserPreference = () => window.matchMedia(`(prefers-color-scheme: ${ColorModesEnum.DARK})`)\n\nconst getActiveAutoMode = (): ResolvedColorMode => {\n const mediaQueryList: MediaQueryList = queryBrowserPreference()\n return mediaQueryList.matches ? ColorModesEnum.DARK : ColorModesEnum.LIGHT\n}\n\nconst handleSystemPreferenceChange = (callback: (mode: ResolvedColorMode) => void) => {\n const mediaQueryList = queryBrowserPreference()\n const changeHandler = (event: MediaQueryListEvent) =>\n callback(event.matches ? ColorModesEnum.DARK : ColorModesEnum.LIGHT)\n mediaQueryList.addEventListener('change', changeHandler)\n return () => mediaQueryList.removeEventListener('change', changeHandler)\n}\n"],"mappings":";;;;AAGA,IAAY,IAAL,yBAAA,GAAA;QACL,EAAA,QAAA,SACA,EAAA,OAAA,QACA,EAAA,OAAA;AACF,EAAA,CAAA,CAAA;AAQA,SAAS,EAAiB,GAAiC;CACzD,OAAO,MAAA,UAAgC,EAAK,WAAW,OAAyB,IAAA,SAAA;AAGlF;AAkBA,IAAM,IAAA,SACO,IAAe,EAAiC;CAC3D,WAAW;CACX,qBAAqB,OAAO,OAAO,CAAc;AACnD,CAAC;AAKD,SAAgB,EAAc,EAAC,eAAY,GAAa,aAAU,GAAG,KAA8C;CACjH,IAAM,CAAC,GAAU,KAAe,EAA4B,CAAW,GACjE,IAAa,MAAA,SAAoC,IAAW,EAAiB,CAAS,GACtF,IAAsB,QAAc,OAAO,OAAO,CAAc,GAAG,CAAC,CAAC;CAS3E,OAPA,QAAgC;EAC1B,UAAA,QAGJ,OADA,EAAY,EAAkB,CAAC,GACxB,EAA6B,CAAW;CACjD,GAAG,CAAC,CAAS,CAAC,GAGZ,kBAAC,EAAa,UAAd;EAAuB,OAAO;GAAC,WAAW;GAAY;EAAmB;YACvE,kBAAC,OAAD;GAAK,mBAAiB;GAAY,GAAI;GACnC;EACE,CAAA;CACgB,CAAA;AAE3B;AAEA,IAAM,UAA+B,OAAO,WAAW,8BAAgD,GAEjG,UACmC,EAChC,CAAA,CAAe,UAAA,SAAA,SAGlB,KAAgC,MAAgD;CACpF,IAAM,IAAiB,EAAuB,GACxC,KAAiB,MACrB,EAAS,EAAM,UAAA,SAAA,OAAoD;CAErE,OADA,EAAe,iBAAiB,UAAU,CAAa,SAC1C,EAAe,oBAAoB,UAAU,CAAa;AACzE"}
1
+ {"version":3,"file":"ThemeProvider.js","names":[],"sources":["../../src/ThemeProvider/ThemeProvider.tsx"],"sourcesContent":["import React, {useState, useMemo, createContext, HTMLAttributes, PropsWithChildren} from 'react'\nimport useIsomorphicLayoutEffect from '../hooks/useIsomorphicLayoutEffect'\n\nexport enum ColorModesEnum {\n LIGHT = 'light',\n DARK = 'dark',\n AUTO = 'auto',\n}\n\nexport type ColorMode = `${ColorModesEnum}` | (string & {})\nexport type ResolvedColorMode = ColorModesEnum.LIGHT | ColorModesEnum.DARK\n\n/**\n * Resolves a color mode to the light or dark theme it should use.\n */\nfunction resolveColorMode(mode: string): ResolvedColorMode {\n return mode === ColorModesEnum.DARK || mode.startsWith(`${ColorModesEnum.DARK}_`)\n ? ColorModesEnum.DARK\n : ColorModesEnum.LIGHT\n}\n\nexport type ThemeContextProps = {\n /*\n * The active color mode of the parent ThemeProvider.\n */\n colorMode: ResolvedColorMode\n\n /*\n * The colorMode prop before its resolved to a valid theme.\n */\n originalColorMode?: ColorMode\n\n /*\n * List of available color modes.\n */\n availableColorModes: ColorModesEnum[]\n}\n\nexport type ThemeProviderProps = {\n colorMode?: ColorMode\n} & HTMLAttributes<HTMLDivElement>\n\nconst defaultMode = ColorModesEnum.LIGHT\nexport const ThemeContext = createContext<ThemeContextProps>({\n colorMode: defaultMode,\n originalColorMode: defaultMode,\n availableColorModes: Object.values(ColorModesEnum),\n})\n\n/**\n * ThemeProvider is used to provide theme-related context to its child components.\n */\nexport function ThemeProvider({colorMode = defaultMode, children, ...rest}: PropsWithChildren<ThemeProviderProps>) {\n const [autoMode, setAutoMode] = useState<ResolvedColorMode>(defaultMode)\n const activeMode = colorMode === ColorModesEnum.AUTO ? autoMode : resolveColorMode(colorMode)\n const availableColorModes = useMemo(() => Object.values(ColorModesEnum), [])\n\n useIsomorphicLayoutEffect(() => {\n if (colorMode !== ColorModesEnum.AUTO || typeof window.matchMedia !== 'function') return\n\n const preference = window.matchMedia(`(prefers-color-scheme: ${ColorModesEnum.DARK})`)\n const handlePreferenceChange = (event: MediaQueryListEvent) => {\n setAutoMode(event.matches ? ColorModesEnum.DARK : ColorModesEnum.LIGHT)\n }\n\n preference.addEventListener('change', handlePreferenceChange)\n setAutoMode(preference.matches ? ColorModesEnum.DARK : ColorModesEnum.LIGHT)\n return () => preference.removeEventListener('change', handlePreferenceChange)\n }, [colorMode])\n\n return (\n <ThemeContext.Provider value={{colorMode: activeMode, originalColorMode: colorMode, availableColorModes}}>\n <div data-color-mode={colorMode === ColorModesEnum.AUTO ? ColorModesEnum.AUTO : activeMode} {...rest}>\n {children}\n </div>\n </ThemeContext.Provider>\n )\n}\n"],"mappings":";;;;AAGA,IAAY,IAAL,yBAAA,GAAA;QACL,EAAA,QAAA,SACA,EAAA,OAAA,QACA,EAAA,OAAA;AACF,EAAA,CAAA,CAAA;AAQA,SAAS,EAAiB,GAAiC;CACzD,OAAO,MAAA,UAAgC,EAAK,WAAW,OAAyB,IAAA,SAAA;AAGlF;AAuBA,IAAM,IAAA,SACO,IAAe,EAAiC;CAC3D,WAAW;CACX,mBAAmB;CACnB,qBAAqB,OAAO,OAAO,CAAc;AACnD,CAAC;AAKD,SAAgB,EAAc,EAAC,eAAY,GAAa,aAAU,GAAG,KAA8C;CACjH,IAAM,CAAC,GAAU,KAAe,EAA4B,CAAW,GACjE,IAAa,MAAA,SAAoC,IAAW,EAAiB,CAAS,GACtF,IAAsB,QAAc,OAAO,OAAO,CAAc,GAAG,CAAC,CAAC;CAe3E,OAbA,QAAgC;EAC9B,IAAI,MAAA,UAAqC,OAAO,OAAO,cAAe,YAAY;EAElF,IAAM,IAAa,OAAO,WAAW,8BAAgD,GAC/E,KAA0B,MAA+B;GAC7D,EAAY,EAAM,UAAA,SAAA,OAAoD;EACxE;EAIA,OAFA,EAAW,iBAAiB,UAAU,CAAsB,GAC5D,EAAY,EAAW,UAAA,SAAA,OAAoD,SAC9D,EAAW,oBAAoB,UAAU,CAAsB;CAC9E,GAAG,CAAC,CAAS,CAAC,GAGZ,kBAAC,EAAa,UAAd;EAAuB,OAAO;GAAC,WAAW;GAAY,mBAAmB;GAAW;EAAmB;YACrG,kBAAC,OAAD;GAAK,mBAAiB,MAAA,SAAA,SAA0D;GAAY,GAAI;GAC7F;EACE,CAAA;CACgB,CAAA;AAE3B"}
@@ -3,7 +3,7 @@ import { Text as t } from "../Text/Text.js";
3
3
  import { ArrowUpRightIcon as n } from "../node_modules/@primer/octicons-react/dist/icons/ArrowUpRightIcon.js";
4
4
  import r from "../component-helpers/shared.module.js";
5
5
  import { isFragmentElement as i } from "../utils/isFragmentElement.js";
6
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-DTTqGOfy.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/base-CX1T1tsR.css';/* empty css */
6
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-BLWCqYua.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/base-CX1T1tsR.css';/* empty css */
7
7
  /* empty css */
8
8
  import a from "./Tiles.module.js";
9
9
  import o, { createContext as s, forwardRef as c, useContext as l } from "react";
@@ -2,7 +2,7 @@ import { clsx as e } from "../node_modules/clsx/dist/clsx.js";
2
2
  import { useAnimation as t } from "../animation/useAnimation.js";
3
3
  import { Text as n } from "../Text/Text.js";
4
4
  import r from "./Timeline.module.js";
5
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/base-CXOJfjx4.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DDIdeMJX.css';/* empty css */
5
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/base-CXOJfjx4.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DNNJvx8C.css';/* empty css */
6
6
  /* empty css */
7
7
  import i, { useCallback as a, useMemo as o } from "react";
8
8
  import { jsx as s } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import { clsx as e } from "../node_modules/clsx/dist/clsx.js";
2
2
  import { useAnimation as t } from "../animation/useAnimation.js";
3
3
  import { Text as n } from "../Text/Text.js";
4
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes-5VT1x9eF.css';/* empty css */
4
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes-CzvPUrZu.css';/* empty css */
5
5
  import r from "./Token.module.js";
6
6
  import i, { forwardRef as a } from "react";
7
7
  import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
@@ -0,0 +1 @@
1
+ .Primer_Brand__Token-module__Token___nJxhW{border:var(--brand-borderWidth-thin) solid transparent;border-radius:var(--brand-borderRadius-small);align-items:center;gap:var(--base-size-8);min-width:0;max-width:100%;padding-inline:var(--base-size-8);padding-block:var(--base-size-6);vertical-align:middle;padding-block-end:var(--base-size-6);display:inline-flex}.Primer_Brand__Token-module__Token--hasLeadingVisual___Erv8L{padding-inline:calc((var(--base-size-4) + var(--base-size-8)) / 2);padding-block:calc((var(--base-size-4) + var(--base-size-8)) / 2)}.Primer_Brand__Token-module__Token--interactive___ZpgTX{cursor:pointer;-webkit-text-decoration:none;text-decoration:none}.Primer_Brand__Token-module__Token--interactive___ZpgTX:focus-visible{outline:var(--base-size-4) solid var(--brand-color-focus);outline-offset:var(--base-size-2)}[data-color-mode=dark] .Primer_Brand__Token-module__Token___nJxhW{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:auto}@media (prefers-color-scheme:dark){[data-color-mode=auto] .Primer_Brand__Token-module__Token___nJxhW{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:auto}}.Primer_Brand__Token-module__Token--variant-default___eMkcM{background-color:var(--brand-Token-bgColor-default);color:var(--brand-Token-fgColor-default)}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-default___eMkcM:hover{background-color:var(--brand-Token-bgColor-hover-default)}.Primer_Brand__Token-module__Token--variant-accent___fSxf7{background-color:var(--brand-Token-bgColor-accent);color:var(--brand-Token-fgColor-accent)}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-accent___fSxf7:hover{background-color:var(--brand-Token-bgColor-hover-accent)}.Primer_Brand__Token-module__Token--variant-outline___GTmIy{background-color:var(--brand-Token-bgColor-outline);border-color:var(--brand-Token-border-outline);color:var(--brand-Token-fgColor-outline)}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-outline___GTmIy:hover{background-color:var(--brand-Token-bgColor-hover-outline)}.Primer_Brand__Token-module__Token--variant-invisible___IR7Ki{color:var(--brand-Token-fgColor-invisible);background-color:#0000}.Primer_Brand__Token-module__Token--interactive___ZpgTX.Primer_Brand__Token-module__Token--variant-invisible___IR7Ki:hover{background-color:var(--brand-Token-bgColor-hover-invisible)}.Primer_Brand__Token-module__Token__label___e3Cx3{text-overflow:ellipsis;min-width:0;font-weight:var(--base-text-weight-normal);line-height:var(--brand-text-lineHeight-100);white-space:nowrap;letter-spacing:var(--brand-text-letterSpacing-100);flex:auto;display:block;overflow:hidden}.Primer_Brand__Token-module__Token___nJxhW>.Primer_Brand__Token-module__Token__label___e3Cx3{color:inherit}.Primer_Brand__Token-module__Token__leading-visual____uvYs{width:calc((var(--base-size-16) + var(--base-size-20)) / 2);height:calc((var(--base-size-16) + var(--base-size-20)) / 2);flex-shrink:0;justify-content:center;align-items:center;display:flex}.Primer_Brand__Token-module__Token__visual___Nlxfv{display:block}.Primer_Brand__Token-module__Token__leading-visual____uvYs>.Primer_Brand__Token-module__Token__visual___Nlxfv{width:calc((var(--base-size-16) + var(--base-size-20)) / 2);height:calc((var(--base-size-16) + var(--base-size-20)) / 2);max-width:calc((var(--base-size-16) + var(--base-size-20)) / 2);max-height:calc((var(--base-size-16) + var(--base-size-20)) / 2);border-radius:2px}.Primer_Brand__Token-module__Token__leading-visual____uvYs>.Primer_Brand__Token-module__Token__visual___Nlxfv svg,.Primer_Brand__Token-module__Token__leading-visual____uvYs>.Primer_Brand__Token-module__Token__visual___Nlxfv img{width:100%;height:100%}@media (forced-colors:active){.Primer_Brand__Token-module__Token___nJxhW{outline:var(--brand-borderWidth-thin) solid transparent}.Primer_Brand__Token-module__Token--interactive___ZpgTX:focus-visible{outline-color:highlight}}
@@ -1,4 +1,4 @@
1
- import './Token.module-DtWE9IPI.css';//#region src/Token/Token.module.css
1
+ import './Token.module-Di856FbT.css';//#region src/Token/Token.module.css
2
2
  var e = "Primer_Brand__Token-module__Token___nJxhW", t = "Primer_Brand__Token-module__Token__label___e3Cx3", n = "Primer_Brand__Token-module__Token__visual___Nlxfv", r = {
3
3
  Token: e,
4
4
  "Token--hasLeadingVisual": "Primer_Brand__Token-module__Token--hasLeadingVisual___Erv8L",
@@ -1 +1 @@
1
- {"version":3,"file":"Token.module.js","names":[],"sources":["../../src/Token/Token.module.css"],"sourcesContent":[".Token {\n align-items: center;\n border: var(--brand-borderWidth-thin) solid transparent;\n border-radius: var(--brand-borderRadius-small);\n display: inline-flex;\n gap: var(--base-size-8);\n min-width: 0;\n max-width: 100%;\n padding-inline: var(--base-size-8);\n padding-block: var(--base-size-6);\n padding-block-end: var(--base-size-6);\n vertical-align: middle;\n}\n\n.Token--hasLeadingVisual {\n padding-inline: calc((var(--base-size-4) + var(--base-size-8)) / 2);\n padding-block: calc((var(--base-size-4) + var(--base-size-8)) / 2);\n}\n\n.Token--interactive {\n cursor: pointer;\n text-decoration: none;\n}\n\n.Token--interactive:focus-visible {\n outline: var(--base-size-4) solid var(--brand-color-focus);\n outline-offset: var(--base-size-2);\n}\n\n[data-color-mode='dark'] .Token {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n}\n\n.Token--variant-default {\n background-color: var(--brand-Token-bgColor-default);\n color: var(--brand-Token-fgColor-default);\n}\n\n.Token--interactive.Token--variant-default:hover {\n background-color: var(--brand-Token-bgColor-hover-default);\n}\n\n.Token--variant-accent {\n background-color: var(--brand-Token-bgColor-accent);\n color: var(--brand-Token-fgColor-accent);\n}\n\n.Token--interactive.Token--variant-accent:hover {\n background-color: var(--brand-Token-bgColor-hover-accent);\n}\n\n.Token--variant-outline {\n background-color: var(--brand-Token-bgColor-outline);\n border-color: var(--brand-Token-border-outline);\n color: var(--brand-Token-fgColor-outline);\n}\n\n.Token--interactive.Token--variant-outline:hover {\n background-color: var(--brand-Token-bgColor-hover-outline);\n}\n\n.Token--variant-invisible {\n background-color: transparent;\n color: var(--brand-Token-fgColor-invisible);\n}\n\n.Token--interactive.Token--variant-invisible:hover {\n background-color: var(--brand-Token-bgColor-hover-invisible);\n}\n\n.Token__label {\n display: block;\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n font-weight: var(--base-text-weight-normal);\n line-height: var(--brand-text-lineHeight-100);\n white-space: nowrap;\n letter-spacing: var(--brand-text-letterSpacing-100);\n}\n\n.Token > .Token__label {\n color: inherit;\n}\n\n.Token__leading-visual {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n}\n\n.Token__visual {\n display: block;\n}\n\n/* Keep leading visuals inside a fixed 18x18 slot so larger children like Avatar dont increase Token height. */\n.Token__leading-visual > .Token__visual {\n width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n max-width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n max-height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n border-radius: 2px;\n}\n\n.Token__leading-visual > .Token__visual svg,\n.Token__leading-visual > .Token__visual img {\n width: 100%;\n height: 100%;\n}\n\n@media (forced-colors: active) {\n .Token {\n outline: var(--brand-borderWidth-thin) solid transparent;\n }\n\n .Token--interactive:focus-visible {\n outline-color: Highlight;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"Token.module.js","names":[],"sources":["../../src/Token/Token.module.css"],"sourcesContent":[".Token {\n align-items: center;\n border: var(--brand-borderWidth-thin) solid transparent;\n border-radius: var(--brand-borderRadius-small);\n display: inline-flex;\n gap: var(--base-size-8);\n min-width: 0;\n max-width: 100%;\n padding-inline: var(--base-size-8);\n padding-block: var(--base-size-6);\n padding-block-end: var(--base-size-6);\n vertical-align: middle;\n}\n\n.Token--hasLeadingVisual {\n padding-inline: calc((var(--base-size-4) + var(--base-size-8)) / 2);\n padding-block: calc((var(--base-size-4) + var(--base-size-8)) / 2);\n}\n\n.Token--interactive {\n cursor: pointer;\n text-decoration: none;\n}\n\n.Token--interactive:focus-visible {\n outline: var(--base-size-4) solid var(--brand-color-focus);\n outline-offset: var(--base-size-2);\n}\n\n[data-color-mode='dark'] .Token {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n}\n\n@media (prefers-color-scheme: dark) {\n [data-color-mode='auto'] .Token {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: auto;\n }\n}\n\n.Token--variant-default {\n background-color: var(--brand-Token-bgColor-default);\n color: var(--brand-Token-fgColor-default);\n}\n\n.Token--interactive.Token--variant-default:hover {\n background-color: var(--brand-Token-bgColor-hover-default);\n}\n\n.Token--variant-accent {\n background-color: var(--brand-Token-bgColor-accent);\n color: var(--brand-Token-fgColor-accent);\n}\n\n.Token--interactive.Token--variant-accent:hover {\n background-color: var(--brand-Token-bgColor-hover-accent);\n}\n\n.Token--variant-outline {\n background-color: var(--brand-Token-bgColor-outline);\n border-color: var(--brand-Token-border-outline);\n color: var(--brand-Token-fgColor-outline);\n}\n\n.Token--interactive.Token--variant-outline:hover {\n background-color: var(--brand-Token-bgColor-hover-outline);\n}\n\n.Token--variant-invisible {\n background-color: transparent;\n color: var(--brand-Token-fgColor-invisible);\n}\n\n.Token--interactive.Token--variant-invisible:hover {\n background-color: var(--brand-Token-bgColor-hover-invisible);\n}\n\n.Token__label {\n display: block;\n flex: 1 1 auto;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n font-weight: var(--base-text-weight-normal);\n line-height: var(--brand-text-lineHeight-100);\n white-space: nowrap;\n letter-spacing: var(--brand-text-letterSpacing-100);\n}\n\n.Token > .Token__label {\n color: inherit;\n}\n\n.Token__leading-visual {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n}\n\n.Token__visual {\n display: block;\n}\n\n/* Keep leading visuals inside a fixed 18x18 slot so larger children like Avatar dont increase Token height. */\n.Token__leading-visual > .Token__visual {\n width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n max-width: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n max-height: calc((var(--base-size-16) + var(--base-size-20)) / 2);\n border-radius: 2px;\n}\n\n.Token__leading-visual > .Token__visual svg,\n.Token__leading-visual > .Token__visual img {\n width: 100%;\n height: 100%;\n}\n\n@media (forced-colors: active) {\n .Token {\n outline: var(--brand-borderWidth-thin) solid transparent;\n }\n\n .Token--interactive:focus-visible {\n outline-color: Highlight;\n }\n}\n"],"mappings":""}
@@ -2,7 +2,7 @@ import { clsx as e } from "../node_modules/clsx/dist/clsx.js";
2
2
  import { useId as t } from "../hooks/useId.js";
3
3
  import { useProvidedRefOrCreate as n } from "../hooks/useRef.js";
4
4
  import r from "./Tooltip.module.js";
5
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes-BrRCxJ2E.css';/* empty css */
5
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes-CjEAA-Ic.css';/* empty css */
6
6
  import i, { Children as a, useEffect as o, useRef as s, useState as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
8
8
  import { getAnchoredPosition as d } from "@primer/behaviors";
@@ -14,7 +14,7 @@ import { MuteButton as m } from "./components/MuteButton/MuteButton.js";
14
14
  import { PlayPauseButton as h } from "./components/PlayPauseButton/PlayPauseButton.js";
15
15
  import { SeekControl as g } from "./components/SeekControl/SeekControl.js";
16
16
  import { VolumeControl as _ } from "./components/VolumeControl/VolumeControl.js";
17
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes-CTkp-z-l.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/base-Bs0Tq22P.css';/* empty css */
17
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes-M9ib_BKQ.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/base-Bs0Tq22P.css';/* empty css */
18
18
  /* empty css */
19
19
  import { forwardRef as v, useCallback as y, useContext as b } from "react";
20
20
  import { jsx as x, jsxs as S } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import './utilities-BivJncWo.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-Bdet_nBw.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/border-B0NqqX5b.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/breakpoints-DV9ZFHGu.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/typography/typography-responsive-D6GwCHec.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/size-SXubYfUg.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/animation/base-BIr7u5g8.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/base/typography/typography-CAC6sGQ3.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/base/size/size-6EfgMG7y.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes-BVk7bh0Y.css';import './reset-CbGp2YkS.css';/* empty css */
1
+ import './utilities-BivJncWo.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-CjksF091.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/border-B0NqqX5b.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/breakpoints-DV9ZFHGu.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/typography/typography-responsive-D6GwCHec.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/size-SXubYfUg.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/animation/base-BIr7u5g8.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/base/typography/typography-CAC6sGQ3.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/base/size/size-6EfgMG7y.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes-CBE7L2wV.css';import './reset-CbGp2YkS.css';/* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
@@ -2,7 +2,7 @@ import { clsx as e } from "../../node_modules/clsx/dist/clsx.js";
2
2
  import { useId as t } from "../../hooks/useId.js";
3
3
  import { useProvidedRefOrCreate as n } from "../../hooks/useRef.js";
4
4
  import r from "../../hooks/useIsomorphicLayoutEffect.js";
5
- import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-ChBPnVuN.css';/* empty css */
5
+ import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-DKA7xAYz.css';/* empty css */
6
6
  import i from "./Checkbox.module.js";
7
7
  import { forwardRef as a, useCallback as o } from "react";
8
8
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
@@ -4,7 +4,7 @@ import { Text as n } from "../../Text/Text.js";
4
4
  import { Spinner as r } from "../../Spinner/Spinner.js";
5
5
  import { AlertFillIcon as i } from "../../node_modules/@primer/octicons-react/dist/icons/AlertFillIcon.js";
6
6
  import { CheckCircleFillIcon as a } from "../../node_modules/@primer/octicons-react/dist/icons/CheckCircleFillIcon.js";
7
- import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-ChBPnVuN.css';/* empty css */
7
+ import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-DKA7xAYz.css';/* empty css */
8
8
  import { Checkbox as o } from "../Checkbox/Checkbox.js";
9
9
  import { Textarea as s } from "../Textarea/Textarea.js";
10
10
  import { TextInput as c } from "../TextInput/TextInput.js";
@@ -1,7 +1,7 @@
1
1
  import { clsx as e } from "../../node_modules/clsx/dist/clsx.js";
2
2
  import { useId as t } from "../../hooks/useId.js";
3
3
  import { useProvidedRefOrCreate as n } from "../../hooks/useRef.js";
4
- import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-ChBPnVuN.css';/* empty css */
4
+ import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-DKA7xAYz.css';/* empty css */
5
5
  import r from "./Radio.module.js";
6
6
  import { forwardRef as i, useCallback as a } from "react";
7
7
  import { jsx as o, jsxs as s } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { clsx as e } from "../../node_modules/clsx/dist/clsx.js";
2
- import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-ChBPnVuN.css';/* empty css */
2
+ import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-DKA7xAYz.css';/* empty css */
3
3
  import t from "./Select.module.js";
4
4
  import { forwardRef as n } from "react";
5
5
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import { clsx as e } from "../../node_modules/clsx/dist/clsx.js";
2
2
  import { useId as t } from "../../hooks/useId.js";
3
3
  import { Text as n } from "../../Text/Text.js";
4
- import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-ChBPnVuN.css';/* empty css */
4
+ import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-DKA7xAYz.css';/* empty css */
5
5
  import r from "./TextInput.module.js";
6
6
  import i, { forwardRef as a, useMemo as o } from "react";
7
7
  import { jsx as s, jsxs as c } from "react/jsx-runtime";