@primer/react-brand 0.79.1-rc.ed00156c → 0.80.0-rc.4bfa3a79

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 (684) hide show
  1. package/docs/components/LogoSuite/react.md +215 -13
  2. package/docs/components/Spinner/index.md +56 -0
  3. package/docs/components/index.md +1 -0
  4. package/docs/forms/FormControl/index.md +5 -0
  5. package/docs/forms/ToggleSwitch/index.md +129 -0
  6. package/docs/forms/index.md +1 -0
  7. package/docs/index.md +4 -2
  8. package/docs/introduction/theming.md +13 -0
  9. package/esm/Accordion/Accordion.js +1 -1
  10. package/esm/Accordion/{Accordion.module-B-iFuyHy.css → Accordion.module-B-vGHUg7.css} +1 -1
  11. package/esm/Accordion/Accordion.module.js +1 -1
  12. package/esm/Accordion/Accordion.module.js.map +1 -1
  13. package/esm/ActionMenu/ActionMenu.js +3 -3
  14. package/esm/ActionMenu/ActionMenu.js.map +1 -1
  15. package/esm/AnchorNav/AnchorNav.js +1 -1
  16. package/esm/Breadcrumbs/Breadcrumbs.js +1 -1
  17. package/esm/Button/Button.js +1 -1
  18. package/esm/CTABanner/CTABanner.js +1 -1
  19. package/esm/Card/Card.js +1 -1
  20. package/esm/ComparisonTable/ComparisonTable.js +1 -1
  21. package/esm/EyebrowBanner/EyebrowBanner.js +1 -1
  22. package/esm/FAQ/FAQ.js +1 -1
  23. package/esm/FAQ/FAQGroup.js +1 -1
  24. package/esm/FeatureComparisonTable/FeatureComparisonTable.js +1 -1
  25. package/esm/FeatureComparisonTable/FeatureComparisonTable.module-BH8n2Ttj.css +1 -0
  26. package/esm/FeatureComparisonTable/FeatureComparisonTable.module.js +1 -2
  27. package/esm/FeatureComparisonTable/FeatureComparisonTable.module.js.map +1 -1
  28. package/esm/FeatureComparisonTable/sub-components/FeatureComparisonTableRow.d.ts.map +1 -1
  29. package/esm/FeatureComparisonTable/sub-components/FeatureComparisonTableRow.js +1 -1
  30. package/esm/FeatureComparisonTable/sub-components/FeatureComparisonTableRow.js.map +1 -1
  31. package/esm/FrostedGlassVFX/FrostedGlassVFX.js +1 -1
  32. package/esm/Grid/Grid.js +1 -1
  33. package/esm/Heading/Heading.module-ChqO_lH5.css +1 -0
  34. package/esm/Heading/Heading.module.js +1 -1
  35. package/esm/Heading/Heading.module.js.map +1 -1
  36. package/esm/IDE/IDE.js +1 -1
  37. package/esm/Icon/Icon.js +1 -1
  38. package/esm/IconButton/IconButton.d.ts.map +1 -1
  39. package/esm/IconButton/IconButton.js +44 -42
  40. package/esm/IconButton/IconButton.js.map +1 -1
  41. package/esm/IconButton/{IconButton.module-tmxv8TCl.css → IconButton.module-D2UJBm7x.css} +1 -1
  42. package/esm/IconButton/IconButton.module.js +4 -5
  43. package/esm/IconButton/IconButton.module.js.map +1 -1
  44. package/esm/InlineCode/InlineCode.js +1 -1
  45. package/esm/InlineLink/InlineLink.js +1 -1
  46. package/esm/InlineLink/{InlineLink.module-6R63us8B.css → InlineLink.module-BXx17-pO.css} +1 -1
  47. package/esm/InlineLink/InlineLink.module.js +1 -1
  48. package/esm/InlineLink/InlineLink.module.js.map +1 -1
  49. package/esm/Label/Label.js +1 -1
  50. package/esm/Label/Label.module-ChD9OmD6.css +1 -0
  51. package/esm/Label/Label.module.js +1 -1
  52. package/esm/Label/Label.module.js.map +1 -1
  53. package/esm/Link/Link.js +1 -1
  54. package/esm/LogoSuite/LogoSuite.d.ts +5 -1
  55. package/esm/LogoSuite/LogoSuite.d.ts.map +1 -1
  56. package/esm/LogoSuite/LogoSuite.js +37 -34
  57. package/esm/LogoSuite/LogoSuite.js.map +1 -1
  58. package/esm/LogoSuite/LogoSuite.module-BUJyNoZs.css +1 -0
  59. package/esm/LogoSuite/LogoSuite.module.js +3 -1
  60. package/esm/LogoSuite/LogoSuite.module.js.map +1 -1
  61. package/esm/MediaPlaylist/MediaPlaylist.js +1 -1
  62. package/esm/MinimalFooter/MinimalFooter.js +1 -1
  63. package/esm/MinimalVideoPlayer/MinimalVideoPlayer.d.ts.map +1 -1
  64. package/esm/MinimalVideoPlayer/MinimalVideoPlayer.js +33 -42
  65. package/esm/MinimalVideoPlayer/MinimalVideoPlayer.js.map +1 -1
  66. package/esm/NavList/NavList.js +1 -1
  67. package/esm/NavList/{NavList.module-zvpwnkzz.css → NavList.module-f9LV2-bb.css} +1 -1
  68. package/esm/NavList/NavList.module.js +1 -1
  69. package/esm/NavList/NavList.module.js.map +1 -1
  70. package/esm/PlayIcon.d.ts +3 -0
  71. package/esm/PlayIcon.d.ts.map +1 -0
  72. package/esm/PlayIcon.js +22 -0
  73. package/esm/PlayIcon.js.map +1 -0
  74. package/esm/PricingOptions/PricingOptions.js +1 -1
  75. package/esm/Prose/Prose.js +1 -1
  76. package/esm/Spinner/Spinner.d.ts +11 -0
  77. package/esm/Spinner/Spinner.d.ts.map +1 -0
  78. package/esm/Spinner/Spinner.js +48 -0
  79. package/esm/Spinner/Spinner.js.map +1 -0
  80. package/esm/Spinner/Spinner.module-BjDTZLR7.css +1 -0
  81. package/esm/Spinner/Spinner.module.js +13 -0
  82. package/esm/Spinner/Spinner.module.js.map +1 -0
  83. package/esm/Spinner/index.d.ts +3 -0
  84. package/esm/Spinner/index.d.ts.map +1 -0
  85. package/esm/SubNav/SubNav.js +1 -1
  86. package/esm/SubNav/SubNav.module-kWRa0Laq.css +1 -0
  87. package/esm/SubNav/SubNav.module.js +1 -1
  88. package/esm/SubNav/SubNav.module.js.map +1 -1
  89. package/esm/SubdomainNavBar/SubdomainNavBar.js +1 -1
  90. package/esm/Tabs/Tabs.js +1 -1
  91. package/esm/Testimonial/Testimonial.js +1 -1
  92. package/esm/Text/Text.module-Bf-3ooDP.css +1 -0
  93. package/esm/Text/Text.module.js +1 -1
  94. package/esm/Text/Text.module.js.map +1 -1
  95. package/esm/TextCursorAnimation/TextCursorAnimation.js +1 -1
  96. package/esm/ThemeProvider/ThemeProvider.d.ts +1 -0
  97. package/esm/ThemeProvider/ThemeProvider.d.ts.map +1 -1
  98. package/esm/ThemeProvider/ThemeProvider.js +11 -9
  99. package/esm/ThemeProvider/ThemeProvider.js.map +1 -1
  100. package/esm/Tiles/Tiles.js +1 -1
  101. package/esm/Timeline/Timeline.js +1 -1
  102. package/esm/Token/Token.js +1 -1
  103. package/esm/Token/Token.module-Di856FbT.css +1 -0
  104. package/esm/Token/Token.module.js +1 -1
  105. package/esm/Token/Token.module.js.map +1 -1
  106. package/esm/Tooltip/Tooltip.js +1 -1
  107. package/esm/VideoPlayer/VideoPlayer.js +1 -1
  108. package/esm/css/stylesheets.js +1 -1
  109. package/esm/forms/Checkbox/Checkbox.js +1 -1
  110. package/esm/forms/FormControl/FormControl.d.ts.map +1 -1
  111. package/esm/forms/FormControl/FormControl.js +125 -105
  112. package/esm/forms/FormControl/FormControl.js.map +1 -1
  113. package/esm/forms/FormControl/FormControl.module-NDvIk_Aq.css +1 -0
  114. package/esm/forms/FormControl/FormControl.module.js +7 -4
  115. package/esm/forms/FormControl/FormControl.module.js.map +1 -1
  116. package/esm/forms/Radio/Radio.js +1 -1
  117. package/esm/forms/Select/Select.js +1 -1
  118. package/esm/forms/TextInput/TextInput.js +1 -1
  119. package/esm/forms/Textarea/Textarea.js +1 -1
  120. package/esm/forms/ToggleSwitch/ToggleSwitch.d.ts +34 -0
  121. package/esm/forms/ToggleSwitch/ToggleSwitch.d.ts.map +1 -0
  122. package/esm/forms/ToggleSwitch/ToggleSwitch.js +81 -0
  123. package/esm/forms/ToggleSwitch/ToggleSwitch.js.map +1 -0
  124. package/esm/forms/ToggleSwitch/ToggleSwitch.module-C_gXnHNW.css +1 -0
  125. package/esm/forms/ToggleSwitch/ToggleSwitch.module.js +18 -0
  126. package/esm/forms/ToggleSwitch/ToggleSwitch.module.js.map +1 -0
  127. package/esm/forms/ToggleSwitch/index.d.ts +3 -0
  128. package/esm/forms/ToggleSwitch/index.d.ts.map +1 -0
  129. package/esm/forms/index.d.ts +1 -0
  130. package/esm/forms/index.d.ts.map +1 -1
  131. package/esm/index.d.ts +1 -0
  132. package/esm/index.d.ts.map +1 -1
  133. package/esm/index.esm.js +72 -70
  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/comparison-table/colors-with-modes-q-NjRozG.css +1 -0
  143. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-DKA7xAYz.css +1 -0
  144. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes-HElP20qs.css +1 -0
  145. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes-BTVqJ9iR.css +1 -0
  146. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes-BygKJG38.css +1 -0
  147. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/colors-with-modes-k7YIWAQV.css +1 -0
  148. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-PKZWykxm.css +1 -0
  149. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes-fV7rwA0l.css +1 -0
  150. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes-Chf_t26p.css +1 -0
  151. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes-BPFx95T7.css +1 -0
  152. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon-button/base-_lTjJKpQ.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/base-BUCpHNCY.css +1 -0
  166. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/spinner/colors-with-modes-ufFxqo2V.css +1 -0
  167. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-8aCELL7I.css +1 -0
  168. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes-J9EPudv_.css +1 -0
  169. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-D9l5QVGg.css +1 -0
  170. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-isyQx5qj.css +1 -0
  171. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes-wctZLA5X.css +1 -0
  172. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-BLWCqYua.css +1 -0
  173. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DNNJvx8C.css +1 -0
  174. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/toggle-switch/base-CWVI8qLT.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/LogoSuite/LogoSuite.d.ts +5 -1
  182. package/lib/PlayIcon.d.ts +2 -0
  183. package/lib/Spinner/Spinner.d.ts +10 -0
  184. package/lib/Spinner/index.d.ts +2 -0
  185. package/lib/ThemeProvider/ThemeProvider.d.ts +1 -0
  186. package/lib/css/main.css +1444 -165
  187. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +141 -2
  188. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  189. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  190. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  191. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  192. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +45 -2
  193. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  194. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +38 -2
  195. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +12 -2
  196. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +10 -2
  197. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  198. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +9 -2
  199. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +9 -2
  200. package/lib/design-tokens/css/tokens/functional/components/button/base.css +1 -1
  201. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +35 -2
  202. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  203. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +10 -2
  204. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  205. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +10 -2
  206. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  207. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +47 -2
  208. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +16 -2
  209. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +52 -2
  210. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  211. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  212. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +13 -2
  213. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  214. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  215. package/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/base.css +1 -1
  216. package/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/colors-with-modes.css +17 -2
  217. package/lib/design-tokens/css/tokens/functional/components/footer/base.css +1 -1
  218. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +18 -2
  219. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  220. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  221. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +11 -2
  222. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +9 -2
  223. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  224. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  225. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  226. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +36 -2
  227. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  228. package/lib/design-tokens/css/tokens/functional/components/icon-button/base.css +3 -3
  229. package/lib/design-tokens/css/tokens/functional/components/icon-button/colors-with-modes.css +22 -2
  230. package/lib/design-tokens/css/tokens/functional/components/icon-button/colors.css +1 -1
  231. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  232. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +29 -2
  233. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  234. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes.css +11 -2
  235. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors.css +1 -1
  236. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  237. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +10 -2
  238. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  239. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +33 -2
  240. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  241. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +10 -2
  242. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  243. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  244. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +14 -2
  245. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  246. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +9 -2
  247. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  248. package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +9 -2
  249. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +16 -2
  250. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  251. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  252. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  253. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +10 -2
  254. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  255. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  256. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +10 -2
  257. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  258. package/lib/design-tokens/css/tokens/functional/components/spinner/base.css +12 -0
  259. package/lib/design-tokens/css/tokens/functional/components/spinner/colors-with-modes.css +20 -0
  260. package/lib/design-tokens/css/tokens/functional/components/spinner/colors.css +8 -0
  261. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  262. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  263. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +20 -2
  264. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +19 -2
  265. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  266. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +14 -2
  267. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  268. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  269. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +55 -2
  270. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  271. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/base.css +1 -1
  272. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +11 -2
  273. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  274. package/lib/design-tokens/css/tokens/functional/components/tiles/base.css +1 -1
  275. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +11 -2
  276. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  277. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +9 -2
  278. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  279. package/lib/design-tokens/css/tokens/functional/components/toggle-switch/base.css +30 -0
  280. package/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors-with-modes.css +44 -0
  281. package/lib/design-tokens/css/tokens/functional/components/toggle-switch/colors.css +16 -0
  282. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +21 -2
  283. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  284. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +9 -2
  285. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  286. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  287. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +20 -2
  288. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  289. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  290. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  291. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  292. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  293. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  294. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  295. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  296. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  297. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  298. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  299. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  300. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  301. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  302. package/lib/design-tokens/js/module/tokens/functional/components/button/base.js +1 -1
  303. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  304. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  305. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  306. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  307. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  308. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  309. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  310. package/lib/design-tokens/js/module/tokens/functional/components/feature-comparison-table/base.js +1 -1
  311. package/lib/design-tokens/js/module/tokens/functional/components/footer/base.js +1 -1
  312. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  313. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  314. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  315. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  316. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  317. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  318. package/lib/design-tokens/js/module/tokens/functional/components/icon-button/base.js +2 -2
  319. package/lib/design-tokens/js/module/tokens/functional/components/icon-button/colors.js +1 -1
  320. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  321. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  322. package/lib/design-tokens/js/module/tokens/functional/components/inline-code/colors.js +1 -1
  323. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  324. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  325. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  326. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  327. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  328. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  329. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  330. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  331. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  332. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  333. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  334. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  335. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  336. package/lib/design-tokens/js/module/tokens/functional/components/spinner/base.js +20 -0
  337. package/lib/design-tokens/js/module/tokens/functional/components/spinner/colors.js +15 -0
  338. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  339. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  340. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  341. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  342. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  343. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  344. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/base.js +1 -1
  345. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  346. package/lib/design-tokens/js/module/tokens/functional/components/tiles/base.js +1 -1
  347. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  348. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  349. package/lib/design-tokens/js/module/tokens/functional/components/toggle-switch/base.js +56 -0
  350. package/lib/design-tokens/js/module/tokens/functional/components/toggle-switch/colors.js +63 -0
  351. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  352. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  353. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  354. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  355. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  356. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  357. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  358. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  359. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  360. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  361. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  362. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  363. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  364. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  365. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  366. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  367. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  368. package/lib/design-tokens/js/tokens/functional/components/button/base.js +1 -1
  369. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  370. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  371. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  372. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  373. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  374. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  375. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  376. package/lib/design-tokens/js/tokens/functional/components/feature-comparison-table/base.js +1 -1
  377. package/lib/design-tokens/js/tokens/functional/components/footer/base.js +1 -1
  378. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  379. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  380. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  381. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  382. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  383. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  384. package/lib/design-tokens/js/tokens/functional/components/icon-button/base.js +3 -3
  385. package/lib/design-tokens/js/tokens/functional/components/icon-button/colors.js +1 -1
  386. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  387. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  388. package/lib/design-tokens/js/tokens/functional/components/inline-code/colors.js +1 -1
  389. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  390. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  391. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  392. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  393. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  394. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  395. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  396. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  397. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  398. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  399. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  400. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  401. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  402. package/lib/design-tokens/js/tokens/functional/components/spinner/base.js +10 -0
  403. package/lib/design-tokens/js/tokens/functional/components/spinner/colors.js +6 -0
  404. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  405. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  406. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  407. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  408. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  409. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  410. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/base.js +1 -1
  411. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  412. package/lib/design-tokens/js/tokens/functional/components/tiles/base.js +1 -1
  413. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  414. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  415. package/lib/design-tokens/js/tokens/functional/components/toggle-switch/base.js +28 -0
  416. package/lib/design-tokens/js/tokens/functional/components/toggle-switch/colors.js +14 -0
  417. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  418. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  419. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  420. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  421. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  422. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  423. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  424. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  425. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  426. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  427. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  428. package/lib/design-tokens/json/colors.json +11 -0
  429. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  430. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  431. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  432. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  433. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  434. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  435. package/lib/design-tokens/scss/tokens/functional/components/button/base.scss +1 -1
  436. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  437. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  438. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  439. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  440. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  441. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  442. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  443. package/lib/design-tokens/scss/tokens/functional/components/feature-comparison-table/base.scss +1 -1
  444. package/lib/design-tokens/scss/tokens/functional/components/footer/base.scss +1 -1
  445. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  446. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  447. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  448. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  449. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  450. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  451. package/lib/design-tokens/scss/tokens/functional/components/icon-button/base.scss +3 -3
  452. package/lib/design-tokens/scss/tokens/functional/components/icon-button/colors.scss +1 -1
  453. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  454. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  455. package/lib/design-tokens/scss/tokens/functional/components/inline-code/colors.scss +1 -1
  456. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  457. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  458. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  459. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  460. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  461. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  462. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  463. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  464. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  465. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  466. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  467. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  468. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  469. package/lib/design-tokens/scss/tokens/functional/components/spinner/base.scss +9 -0
  470. package/lib/design-tokens/scss/tokens/functional/components/spinner/colors.scss +5 -0
  471. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  472. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  473. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  474. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  475. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  476. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  477. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/base.scss +1 -1
  478. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  479. package/lib/design-tokens/scss/tokens/functional/components/tiles/base.scss +1 -1
  480. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  481. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  482. package/lib/design-tokens/scss/tokens/functional/components/toggle-switch/base.scss +27 -0
  483. package/lib/design-tokens/scss/tokens/functional/components/toggle-switch/colors.scss +13 -0
  484. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  485. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  486. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  487. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  488. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  489. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  490. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  491. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  492. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  493. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  494. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  495. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  496. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  497. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  498. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  499. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  500. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  501. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  502. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  503. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  504. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  505. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  506. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  507. package/lib/design-tokens/ts/tokens/functional/components/button/base.d.ts +1 -1
  508. package/lib/design-tokens/ts/tokens/functional/components/button/base.js +1 -1
  509. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  510. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  511. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  512. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  513. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  514. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  515. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  516. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  517. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  518. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  519. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  520. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  521. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  522. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  523. package/lib/design-tokens/ts/tokens/functional/components/feature-comparison-table/base.d.ts +1 -1
  524. package/lib/design-tokens/ts/tokens/functional/components/feature-comparison-table/base.js +1 -1
  525. package/lib/design-tokens/ts/tokens/functional/components/footer/base.d.ts +1 -1
  526. package/lib/design-tokens/ts/tokens/functional/components/footer/base.js +1 -1
  527. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  528. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  529. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  530. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  531. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  532. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  533. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  534. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  535. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  536. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  537. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  538. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
  539. package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.d.ts +2 -2
  540. package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.js +2 -2
  541. package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.d.ts +1 -1
  542. package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.js +1 -1
  543. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  544. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  545. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  546. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  547. package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.d.ts +1 -1
  548. package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.js +1 -1
  549. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  550. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  551. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  552. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  553. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  554. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  555. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  556. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  557. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  558. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  559. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  560. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  561. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
  562. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
  563. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  564. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  565. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  566. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  567. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  568. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  569. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  570. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  571. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  572. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  573. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  574. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  575. package/lib/design-tokens/ts/tokens/functional/components/spinner/base.d.ts +23 -0
  576. package/lib/design-tokens/ts/tokens/functional/components/spinner/base.js +20 -0
  577. package/lib/design-tokens/ts/tokens/functional/components/spinner/colors.d.ts +15 -0
  578. package/lib/design-tokens/ts/tokens/functional/components/spinner/colors.js +12 -0
  579. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  580. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  581. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +1 -1
  582. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -1
  583. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  584. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  585. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  586. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  587. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  588. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  589. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  590. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  591. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.d.ts +1 -1
  592. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.js +1 -1
  593. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
  594. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  595. package/lib/design-tokens/ts/tokens/functional/components/tiles/base.d.ts +1 -1
  596. package/lib/design-tokens/ts/tokens/functional/components/tiles/base.js +1 -1
  597. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  598. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  599. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  600. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  601. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/base.d.ts +59 -0
  602. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/base.js +56 -0
  603. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/colors.d.ts +39 -0
  604. package/lib/design-tokens/ts/tokens/functional/components/toggle-switch/colors.js +36 -0
  605. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  606. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  607. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  608. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  609. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  610. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  611. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  612. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  613. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  614. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  615. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  616. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  617. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  618. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  619. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  620. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  621. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  622. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  623. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  624. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  625. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  626. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  627. package/lib/forms/ToggleSwitch/ToggleSwitch.d.ts +33 -0
  628. package/lib/forms/ToggleSwitch/index.d.ts +2 -0
  629. package/lib/forms/index.d.ts +1 -0
  630. package/lib/index.d.ts +1 -0
  631. package/lib/index.js +1 -1
  632. package/llms.txt +4 -2
  633. package/package.json +1 -1
  634. package/esm/FeatureComparisonTable/FeatureComparisonTable.module-CGnj3YJu.css +0 -1
  635. package/esm/Heading/Heading.module-YfiTxQkR.css +0 -1
  636. package/esm/Label/Label.module-DDkalJAE.css +0 -1
  637. package/esm/LogoSuite/LogoSuite.module-BCbX-lfy.css +0 -1
  638. package/esm/SubNav/SubNav.module-cyUt0N_h.css +0 -1
  639. package/esm/Text/Text.module-D0UHZ0pq.css +0 -1
  640. package/esm/Token/Token.module-DtWE9IPI.css +0 -1
  641. package/esm/forms/FormControl/FormControl.module-CSNT689n.css +0 -1
  642. package/esm/node_modules/@primer/octicons-react/dist/icons/PlayIcon.js +0 -20
  643. package/esm/node_modules/@primer/octicons-react/dist/icons/PlayIcon.js.map +0 -1
  644. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes-BVk7bh0Y.css +0 -1
  645. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/colors/global-with-modes-Bdet_nBw.css +0 -1
  646. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes-PcQKqJQI.css +0 -1
  647. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes-mgXFtgvP.css +0 -1
  648. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes-98imfMkq.css +0 -1
  649. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes-DYugDcQy.css +0 -1
  650. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes-kII0kqk3.css +0 -1
  651. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes-C43pQ5wc.css +0 -1
  652. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes-D2oNfyDt.css +0 -1
  653. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-C05YPRXo.css +0 -1
  654. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes-B9zRp3WA.css +0 -1
  655. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes-BzV3LYhH.css +0 -1
  656. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes-Dc8Ya1HV.css +0 -1
  657. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/feature-comparison-table/colors-with-modes-Dw8AMSYp.css +0 -1
  658. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-CMFhnjfv.css +0 -1
  659. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes-CMw13Yda.css +0 -1
  660. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes-6QocK2fy.css +0 -1
  661. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes-Bjhpbkke.css +0 -1
  662. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon-button/base-DLPw97mz.css +0 -1
  663. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/icon-button/colors-with-modes-D7iaptsa.css +0 -1
  664. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes-DSf1PV6b.css +0 -1
  665. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes-Bj7XtHMY.css +0 -1
  666. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes-DujakhtG.css +0 -1
  667. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes-BB1L_8rS.css +0 -1
  668. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes-Dh1w7a05.css +0 -1
  669. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes-B8ia26TA.css +0 -1
  670. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes-YId8eSZQ.css +0 -1
  671. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes-CGyt2t8f.css +0 -1
  672. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes-DBi2l0Re.css +0 -1
  673. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes-Y3yB1rAU.css +0 -1
  674. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes-omPmv64b.css +0 -1
  675. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-Bna3nyXf.css +0 -1
  676. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes-C_lnz8M6.css +0 -1
  677. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-DCEDN6wM.css +0 -1
  678. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-8ryG-BX6.css +0 -1
  679. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes-BucKYl1n.css +0 -1
  680. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes-DTTqGOfy.css +0 -1
  681. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes-DDIdeMJX.css +0 -1
  682. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes-5VT1x9eF.css +0 -1
  683. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes-BrRCxJ2E.css +0 -1
  684. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes-CTkp-z-l.css +0 -1
package/esm/Tabs/Tabs.js CHANGED
@@ -7,7 +7,7 @@ import { Text as a } from "../Text/Text.js";
7
7
  import { ChevronLeftIcon as o } from "../node_modules/@primer/octicons-react/dist/icons/ChevronLeftIcon.js";
8
8
  import { ChevronRightIcon as s } from "../node_modules/@primer/octicons-react/dist/icons/ChevronRightIcon.js";
9
9
  import { useTabs as c } from "../hooks/useTabs.js";
10
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-DCEDN6wM.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/base-T7ABwZVf.css';/* empty css */
10
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes-D9l5QVGg.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/tabs/base-T7ABwZVf.css';/* empty css */
11
11
  /* empty css */
12
12
  import l from "./Tabs.module.js";
13
13
  import { Children as u, cloneElement as d, forwardRef as f, isValidElement as p, memo as m, useCallback as h, useEffect as g, useRef as _ } from "react";
@@ -5,7 +5,7 @@ import { Text as i } from "../Text/Text.js";
5
5
  import { TextCursorAnimation as a } from "../TextCursorAnimation/TextCursorAnimation.js";
6
6
  import { Link as o } from "../Link/Link.js";
7
7
  import { Avatar as s } from "../Avatar/Avatar.js";
8
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-8ryG-BX6.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/base-CAG7koNB.css';/* empty css */
8
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes-isyQx5qj.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/testimonial/base-CAG7koNB.css';/* empty css */
9
9
  /* empty css */
10
10
  import c from "./Testimonial.module.js";
11
11
  import l, { forwardRef as u } from "react";
@@ -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-C05YPRXo.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";
@@ -1 +1 @@
1
- {"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../../src/forms/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAK9C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAC,oBAAoB,EAAE,cAAc,EAAC,MAAM,KAAK,CAAA;AAS7D,OAAO,2GAA2G,CAAA;AAGlH,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,WAAW,CAAC,GAAG;IACtD;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;CACxC,CAAA;AA2JD,KAAK,qBAAqB,GAAG;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;IACvC,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAAA;AA4C/B,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;CACxC,GAAG,SAAS,CAAC,eAAe,CAAC,CAAA;AA8B9B,KAAK,oBAAoB,GAAG,iBAAiB,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAA;AAMzE;;;GAGG;AACH,eAAO,MAAM,WAAW,kGAnOrB,iBAAiB,CAAC,gBAAgB,CAAC;gIAwJnC,iBAAiB,CAAC,qBAAqB,CAAC;sEAqCuC,0BAA0B;mCA8B7D,oBAAoB;CAYjE,CAAA"}
1
+ {"version":3,"file":"FormControl.d.ts","sourceRoot":"","sources":["../../../src/forms/FormControl/FormControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAA;AAK9C,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAC,oBAAoB,EAAE,cAAc,EAAC,MAAM,KAAK,CAAA;AAY7D,OAAO,2GAA2G,CAAA;AAIlH,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,WAAW,CAAC,GAAG;IACtD;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;CACxC,CAAA;AAmMD,KAAK,qBAAqB,GAAG;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;IACvC,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAAA;AA4C/B,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,oBAAoB,CAAA;CACxC,GAAG,SAAS,CAAC,eAAe,CAAC,CAAA;AA8B9B,KAAK,oBAAoB,GAAG,iBAAiB,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAA;AAMzE;;;GAGG;AACH,eAAO,MAAM,WAAW,kGA3QrB,iBAAiB,CAAC,gBAAgB,CAAC;gIAgMnC,iBAAiB,CAAC,qBAAqB,CAAC;sEAqCuC,0BAA0B;mCA8B7D,oBAAoB;CAYjE,CAAA"}
@@ -1,151 +1,171 @@
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 { AlertFillIcon as r } from "../../node_modules/@primer/octicons-react/dist/icons/AlertFillIcon.js";
5
- import { CheckCircleFillIcon as i } from "../../node_modules/@primer/octicons-react/dist/icons/CheckCircleFillIcon.js";
6
- import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes-C05YPRXo.css';/* empty css */
7
- import { Checkbox as a } from "../Checkbox/Checkbox.js";
8
- import { Textarea as o } from "../Textarea/Textarea.js";
9
- import { TextInput as s } from "../TextInput/TextInput.js";
10
- import { Select as c } from "../Select/Select.js";
11
- import { Radio as l } from "../Radio/Radio.js";
12
- import u from "./FormControl.module.js";
13
- import d from "react";
14
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
4
+ import { Spinner as r } from "../../Spinner/Spinner.js";
5
+ import { AlertFillIcon as i } from "../../node_modules/@primer/octicons-react/dist/icons/AlertFillIcon.js";
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-DKA7xAYz.css';/* empty css */
8
+ import { Checkbox as o } from "../Checkbox/Checkbox.js";
9
+ import { Textarea as s } from "../Textarea/Textarea.js";
10
+ import { TextInput as c } from "../TextInput/TextInput.js";
11
+ import { Select as l } from "../Select/Select.js";
12
+ import { Radio as u } from "../Radio/Radio.js";
13
+ import d from "../ToggleSwitch/ToggleSwitch.module.js";
14
+ import { ToggleSwitch as f } from "../ToggleSwitch/ToggleSwitch.js";
15
+ import p from "./FormControl.module.js";
16
+ import m from "react";
17
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
15
18
  //#region src/forms/FormControl/FormControl.tsx
16
- var m = ({ children: n, className: r, hasBorder: i, fullWidth: p, id: m, required: v, size: y = "medium", validationStatus: b, ...x }) => {
17
- let S = t(m), C = d.Children.toArray(n), w = C.some((e) => d.isValidElement(e) && (e.type === a || e.type === l)), T = C.some((e) => d.isValidElement(e) && e.type === _), E = C.some((e) => d.isValidElement(e) && e.type === g);
18
- return /* @__PURE__ */ f("section", {
19
- id: `FormControl--${S}`,
20
- className: e(u.FormControl, p && u["FormControl--fullWidth"], w && u["FormControl--checkbox"], i && u["FormControl--border"], r),
21
- ...x,
22
- children: d.Children.map(n, (t) => {
23
- if (!d.isValidElement(t)) return t;
24
- let n = [T && `${S}-hint`, E && `${S}-validation`].filter(Boolean).join(" ") || void 0;
19
+ var _ = ({ children: n, className: i, hasBorder: a, fullWidth: g, id: _, required: x, size: S = "medium", validationStatus: C, ...w }) => {
20
+ let T = t(_), E = m.Children.toArray(n), D = E.some((e) => m.isValidElement(e) && (e.type === o || e.type === u)), O = E.find((e) => m.isValidElement(e) && e.type === f), k = !!O, A = [E.some((e) => m.isValidElement(e) && e.type === b) && `${T}-hint`, E.some((e) => m.isValidElement(e) && e.type === y) && `${T}-validation`].filter(Boolean).join(" ") || void 0;
21
+ return /* @__PURE__ */ h("section", {
22
+ id: `FormControl--${T}`,
23
+ className: e(p.FormControl, g && p["FormControl--fullWidth"], D && p["FormControl--checkbox"], k && p["FormControl--toggle-switch"], a && p["FormControl--border"], i),
24
+ ...w,
25
+ children: m.Children.map(n, (t) => {
26
+ if (!m.isValidElement(t)) return t;
27
+ if (t.type === c) {
28
+ let n = t;
29
+ return m.cloneElement(n, {
30
+ className: e(n.props.className),
31
+ id: T,
32
+ name: n.props.name || T,
33
+ required: n.props.required || x,
34
+ validationStatus: n.props.validationStatus || C,
35
+ fullWidth: g,
36
+ size: S,
37
+ "aria-describedby": A
38
+ });
39
+ }
25
40
  if (t.type === s) {
26
- let r = t;
27
- return d.cloneElement(r, {
28
- className: e(r.props.className),
29
- id: S,
30
- name: r.props.name || S,
31
- required: r.props.required || v,
32
- validationStatus: r.props.validationStatus || b,
33
- fullWidth: p,
34
- size: y,
35
- "aria-describedby": n
41
+ let n = t;
42
+ return m.cloneElement(n, {
43
+ className: e(n.props.className),
44
+ id: T,
45
+ name: n.props.name || T,
46
+ required: n.props.required || x,
47
+ validationStatus: n.props.validationStatus || C,
48
+ fullWidth: g,
49
+ size: S,
50
+ "aria-describedby": A
36
51
  });
37
52
  }
38
- if (t.type === o) {
39
- let r = t;
40
- return d.cloneElement(r, {
41
- className: e(r.props.className),
42
- id: S,
43
- name: r.props.name || S,
44
- required: r.props.required || v,
45
- validationStatus: r.props.validationStatus || b,
46
- fullWidth: p,
47
- size: y,
48
- "aria-describedby": n
53
+ if (t.type === l) {
54
+ let n = t;
55
+ return m.cloneElement(n, {
56
+ className: e(n.props.className),
57
+ id: T,
58
+ name: n.props.name || T,
59
+ required: n.props.required || x,
60
+ validationStatus: n.props.validationStatus || C,
61
+ fullWidth: g,
62
+ size: S,
63
+ "aria-describedby": A
49
64
  });
50
65
  }
51
- if (t.type === c) {
52
- let r = t;
53
- return d.cloneElement(r, {
54
- className: e(r.props.className),
55
- id: S,
56
- name: r.props.name || S,
57
- required: r.props.required || v,
58
- validationStatus: r.props.validationStatus || b,
59
- fullWidth: p,
60
- size: y,
61
- "aria-describedby": n
66
+ if (t.type === o) {
67
+ let n = t;
68
+ return m.cloneElement(n, {
69
+ className: e(n.props.className, p["FormControl-control--checkbox"]),
70
+ id: T,
71
+ name: n.props.name || T,
72
+ required: n.props.required || x,
73
+ validationStatus: n.props.validationStatus || C,
74
+ "aria-describedby": A
62
75
  });
63
76
  }
64
- if (t.type === a) {
65
- let r = t;
66
- return d.cloneElement(r, {
67
- className: e(r.props.className, u["FormControl-control--checkbox"]),
68
- id: S,
69
- name: r.props.name || S,
70
- required: r.props.required || v,
71
- validationStatus: r.props.validationStatus || b,
72
- "aria-describedby": n
77
+ if (t.type === u) {
78
+ let n = t;
79
+ return m.cloneElement(n, {
80
+ className: e(D && p["FormControl-control--radio"], n.props.className),
81
+ id: T,
82
+ name: n.props.name,
83
+ required: n.props.required || x,
84
+ "aria-describedby": A
73
85
  });
74
86
  }
75
- if (t.type === l) {
76
- let r = t;
77
- return d.cloneElement(r, {
78
- className: e(w && u["FormControl-control--radio"], r.props.className),
79
- id: S,
80
- name: r.props.name,
81
- required: r.props.required || v,
82
- "aria-describedby": n
87
+ if (t.type === f) {
88
+ let n = t, r = [n.props["aria-describedby"], A].filter(Boolean).join(" ");
89
+ return m.cloneElement(n, {
90
+ className: e(p["FormControl-control--toggle-switch"], n.props.className),
91
+ id: T,
92
+ toggleSwitchSpinnerInLabel: E.some((e) => m.isValidElement(e) && e.type === v && !e.props.visuallyHidden),
93
+ "aria-describedby": r ? [...new Set(r.split(/\s+/))].join(" ") : void 0,
94
+ "aria-invalid": n.props["aria-invalid"] ?? (C === "error" || void 0)
83
95
  });
84
96
  }
85
- if (t.type === h) {
97
+ if (t.type === v) {
86
98
  let n = t;
87
- return d.cloneElement(n, {
88
- className: e(w && u["FormControl-label--checkbox"], n.props.className),
89
- htmlFor: S,
90
- children: n.props.children,
91
- required: v,
92
- validationStatus: b,
93
- size: y,
94
- showRequiredIndicator: !w && n.props.showRequiredIndicator
99
+ return m.cloneElement(n, {
100
+ className: e(D && p["FormControl-label--checkbox"], k && p["FormControl-label--toggle-switch"], n.props.className),
101
+ htmlFor: T,
102
+ children: O?.props.loading && !n.props.visuallyHidden ? [...m.Children.toArray(n.props.children), /* @__PURE__ */ h("span", {
103
+ "aria-hidden": "true",
104
+ className: p["FormControl-toggleSwitch-spinnerSlot"],
105
+ children: /* @__PURE__ */ h(r, {
106
+ size: "small",
107
+ accessibleLabel: null,
108
+ className: d["ToggleSwitch-spinner"],
109
+ "data-testid": f.testIds.spinner
110
+ })
111
+ }, "toggleSwitch-spinner")] : n.props.children,
112
+ required: !k && x,
113
+ validationStatus: C,
114
+ size: S,
115
+ showRequiredIndicator: !D && n.props.showRequiredIndicator
95
116
  });
96
117
  }
97
- if (t.type === g) {
98
- let n = t;
99
- return d.cloneElement(n, {
100
- className: e(w && u["FormControl-validation-checkbox"], n.props.className),
101
- validationStatus: b,
102
- id: `${S}-validation`
118
+ if (t.type === y) {
119
+ let e = t;
120
+ return m.cloneElement(e, {
121
+ validationStatus: C,
122
+ id: `${T}-validation`
103
123
  });
104
124
  }
105
- if (t.type === _) {
125
+ if (t.type === b) {
106
126
  let e = t;
107
- return d.cloneElement(e, { id: `${S}-hint` });
127
+ return m.cloneElement(e, { id: `${T}-hint` });
108
128
  }
109
129
  return t;
110
130
  })
111
131
  });
112
- }, h = ({ children: t, className: n, htmlFor: r, required: i, showRequiredIndicator: a = !0, size: o = "medium", validationStatus: s, visuallyHidden: c, ...l }) => /* @__PURE__ */ p("label", {
132
+ }, v = ({ children: t, className: n, htmlFor: r, required: i, showRequiredIndicator: a = !0, size: o = "medium", validationStatus: s, visuallyHidden: c, ...l }) => /* @__PURE__ */ g("label", {
113
133
  htmlFor: r,
114
- className: e(u["FormControl-label"], s && u[`FormControl-label--${s}`], u[`FormControl-label--${o}`], c && u["FormControl-label--visually-hidden"], n),
134
+ className: e(p["FormControl-label"], s && p[`FormControl-label--${s}`], p[`FormControl-label--${o}`], c && p["FormControl-label--visually-hidden"], n),
115
135
  ...l,
116
- children: [d.Children.map(t, (t) => d.isValidElement(t) && t.type === _ ? d.cloneElement(t, { className: e(u["FormControl--visible"], t.props.className) }) : t), i && a && /* @__PURE__ */ p("span", {
117
- className: u["FormControl-label-required"],
136
+ children: [m.Children.map(t, (t) => m.isValidElement(t) && t.type === b ? m.cloneElement(t, { className: e(p["FormControl--visible"], t.props.className) }) : t), i && a && /* @__PURE__ */ g("span", {
137
+ className: p["FormControl-label-required"],
118
138
  "aria-hidden": !0,
119
139
  children: [" ", "*"]
120
140
  })]
121
- }), g = ({ children: t, validationStatus: a, className: o, ...s }) => /* @__PURE__ */ p(n, {
141
+ }), y = ({ children: t, validationStatus: r, className: o, ...s }) => /* @__PURE__ */ g(n, {
122
142
  as: "span",
123
143
  size: "100",
124
- className: e(u["FormControl-validation"], a && u["FormControl-validation--animate-in"], a && u[`FormControl-validation--${a}`], o),
144
+ className: e(p["FormControl-validation"], r && p["FormControl-validation--animate-in"], r && p[`FormControl-validation--${r}`], o),
125
145
  ...s,
126
146
  children: [
127
- a === "error" && /* @__PURE__ */ f("span", {
128
- className: u["FormControl-validation-error-icon"],
129
- children: /* @__PURE__ */ f(r, {})
147
+ r === "error" && /* @__PURE__ */ h("span", {
148
+ className: p["FormControl-validation-error-icon"],
149
+ children: /* @__PURE__ */ h(i, {})
130
150
  }),
131
- a === "success" && /* @__PURE__ */ f("span", {
132
- className: u["FormControl-validation-success-icon"],
133
- children: /* @__PURE__ */ f(i, {})
151
+ r === "success" && /* @__PURE__ */ h("span", {
152
+ className: p["FormControl-validation-success-icon"],
153
+ children: /* @__PURE__ */ h(a, {})
134
154
  }),
135
155
  t
136
156
  ]
137
- }), _ = ({ className: t, ...r }) => /* @__PURE__ */ f(n, {
157
+ }), b = ({ className: t, ...r }) => /* @__PURE__ */ h(n, {
138
158
  as: "span",
139
159
  size: "100",
140
160
  variant: "muted",
141
- className: e(u["FormControl-hint"], t),
161
+ className: e(p["FormControl-hint"], t),
142
162
  ...r
143
- }), v = Object.assign(m, {
144
- Label: h,
145
- Validation: g,
146
- Hint: _
163
+ }), x = Object.assign(_, {
164
+ Label: v,
165
+ Validation: y,
166
+ Hint: b
147
167
  });
148
168
  //#endregion
149
- export { v as FormControl };
169
+ export { x as FormControl };
150
170
 
151
171
  //# sourceMappingURL=FormControl.js.map