@primer/react-brand 0.78.0-rc.6fbe9fb5 → 0.78.0-rc.85e39cb4

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 (456) hide show
  1. package/docs/components/SubNav/index.md +53 -8
  2. package/docs/components/SubdomainNavBar/index.md +3 -1
  3. package/docs/index.md +2 -2
  4. package/esm/MinimalVideoPlayer/MinimalVideoPlayer.js +1 -0
  5. package/esm/MinimalVideoPlayer/MinimalVideoPlayer.js.map +1 -1
  6. package/esm/SubNav/SubNav.d.ts +19 -1
  7. package/esm/SubNav/SubNav.d.ts.map +1 -1
  8. package/esm/SubNav/SubNav.js +265 -166
  9. package/esm/SubNav/SubNav.js.map +1 -1
  10. package/esm/SubNav/SubNav.module-cyUt0N_h.css +1 -0
  11. package/esm/SubNav/SubNav.module.js +11 -4
  12. package/esm/SubNav/SubNav.module.js.map +1 -1
  13. package/esm/SubNav/useAnchorMenu.d.ts +5 -0
  14. package/esm/SubNav/useAnchorMenu.d.ts.map +1 -0
  15. package/esm/SubNav/useAnchorMenu.js +23 -0
  16. package/esm/SubNav/useAnchorMenu.js.map +1 -0
  17. package/esm/SubNav/useNarrowMenu.d.ts +8 -0
  18. package/esm/SubNav/useNarrowMenu.d.ts.map +1 -0
  19. package/esm/SubNav/useNarrowMenu.js +41 -0
  20. package/esm/SubNav/useNarrowMenu.js.map +1 -0
  21. package/esm/SubNav/useWideMenu.d.ts +13 -0
  22. package/esm/SubNav/useWideMenu.d.ts.map +1 -0
  23. package/esm/SubNav/useWideMenu.js +109 -0
  24. package/esm/SubNav/useWideMenu.js.map +1 -0
  25. package/esm/SubdomainNavBar/SubdomainNavBar.d.ts +2 -2
  26. package/esm/SubdomainNavBar/SubdomainNavBar.d.ts.map +1 -1
  27. package/esm/SubdomainNavBar/SubdomainNavBar.js +304 -298
  28. package/esm/SubdomainNavBar/SubdomainNavBar.js.map +1 -1
  29. package/esm/SubdomainNavBar/SubdomainNavBar.module-BLR1YjX-.css +1 -0
  30. package/esm/SubdomainNavBar/SubdomainNavBar.module.js +3 -3
  31. package/esm/SubdomainNavBar/SubdomainNavBar.module.js.map +1 -1
  32. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/base-Dl5rLq0_.css +1 -0
  33. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-Bna3nyXf.css +1 -0
  34. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes-C_lnz8M6.css +1 -0
  35. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.d.ts.map +1 -1
  36. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js +9 -5
  37. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.js.map +1 -1
  38. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module-C46WY_qp.css +1 -0
  39. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js +3 -2
  40. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module.js.map +1 -1
  41. package/lib/SubNav/SubNav.d.ts +19 -1
  42. package/lib/SubNav/useAnchorMenu.d.ts +4 -0
  43. package/lib/SubNav/useNarrowMenu.d.ts +7 -0
  44. package/lib/SubNav/useWideMenu.d.ts +12 -0
  45. package/lib/SubdomainNavBar/SubdomainNavBar.d.ts +2 -2
  46. package/lib/css/main.css +352 -239
  47. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  48. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  49. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  50. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  51. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  52. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  53. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  54. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  55. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  56. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  57. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  58. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
  59. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  60. package/lib/design-tokens/css/tokens/functional/components/button/base.css +1 -1
  61. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  62. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  63. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  64. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  65. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  66. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  67. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  68. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  69. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  70. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  71. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  72. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  73. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  74. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  75. package/lib/design-tokens/css/tokens/functional/components/footer/base.css +1 -1
  76. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +1 -1
  77. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +1 -1
  78. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  79. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
  80. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  81. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  82. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  83. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  84. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
  85. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  86. package/lib/design-tokens/css/tokens/functional/components/icon-button/base.css +1 -1
  87. package/lib/design-tokens/css/tokens/functional/components/icon-button/colors-with-modes.css +1 -1
  88. package/lib/design-tokens/css/tokens/functional/components/icon-button/colors.css +1 -1
  89. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  90. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  91. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  92. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes.css +1 -1
  93. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors.css +1 -1
  94. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  95. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  96. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  97. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  98. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  99. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  100. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  101. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  102. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  103. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  104. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
  105. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  106. package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +1 -1
  107. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
  108. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  109. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  110. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  111. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  112. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  113. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  114. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  115. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  116. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  117. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +6 -1
  118. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +15 -1
  119. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +3 -3
  120. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  121. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
  122. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  123. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  124. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  125. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  126. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/base.css +1 -1
  127. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
  128. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  129. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
  130. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  131. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  132. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  133. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
  134. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  135. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  136. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  137. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  138. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  139. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  140. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  141. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  142. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  143. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  144. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  145. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  146. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  147. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  148. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  149. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  150. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  151. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  152. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  153. package/lib/design-tokens/js/module/tokens/functional/components/button/base.js +1 -1
  154. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  155. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  156. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  157. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  158. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  159. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  160. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  161. package/lib/design-tokens/js/module/tokens/functional/components/footer/base.js +1 -1
  162. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +1 -1
  163. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  164. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  165. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  166. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  167. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  168. package/lib/design-tokens/js/module/tokens/functional/components/icon-button/base.js +1 -1
  169. package/lib/design-tokens/js/module/tokens/functional/components/icon-button/colors.js +1 -1
  170. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  171. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  172. package/lib/design-tokens/js/module/tokens/functional/components/inline-code/colors.js +1 -1
  173. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  174. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  175. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  176. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  177. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  178. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  179. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  180. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  181. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  182. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  183. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  184. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  185. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  186. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  187. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +10 -1
  188. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  189. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  190. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  191. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  192. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/base.js +1 -1
  193. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  194. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  195. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  196. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  197. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  198. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  199. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  200. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  201. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  202. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  203. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  204. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  205. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  206. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  207. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  208. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  209. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  210. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  211. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  212. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  213. package/lib/design-tokens/js/tokens/functional/components/button/base.js +1 -1
  214. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  215. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  216. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  217. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  218. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  219. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  220. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  221. package/lib/design-tokens/js/tokens/functional/components/footer/base.js +1 -1
  222. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +1 -1
  223. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  224. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  225. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  226. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  227. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  228. package/lib/design-tokens/js/tokens/functional/components/icon-button/base.js +1 -1
  229. package/lib/design-tokens/js/tokens/functional/components/icon-button/colors.js +1 -1
  230. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  231. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  232. package/lib/design-tokens/js/tokens/functional/components/inline-code/colors.js +1 -1
  233. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  234. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  235. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  236. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  237. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  238. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  239. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  240. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  241. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  242. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  243. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  244. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  245. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  246. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  247. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +6 -1
  248. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  249. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  250. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  251. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  252. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/base.js +1 -1
  253. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  254. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  255. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  256. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  257. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  258. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  259. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  260. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  261. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  262. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  263. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  264. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  265. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  266. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  267. package/lib/design-tokens/json/colors.json +8 -1
  268. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  269. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  270. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  271. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  272. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  273. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  274. package/lib/design-tokens/scss/tokens/functional/components/button/base.scss +1 -1
  275. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  276. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  277. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  278. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  279. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  280. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  281. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  282. package/lib/design-tokens/scss/tokens/functional/components/footer/base.scss +1 -1
  283. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +1 -1
  284. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  285. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  286. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  287. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  288. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  289. package/lib/design-tokens/scss/tokens/functional/components/icon-button/base.scss +1 -1
  290. package/lib/design-tokens/scss/tokens/functional/components/icon-button/colors.scss +1 -1
  291. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  292. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  293. package/lib/design-tokens/scss/tokens/functional/components/inline-code/colors.scss +1 -1
  294. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  295. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  296. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  297. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  298. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  299. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  300. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  301. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  302. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  303. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  304. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  305. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  306. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  307. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  308. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +6 -1
  309. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  310. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  311. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  312. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  313. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/base.scss +1 -1
  314. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  315. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  316. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  317. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  318. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  319. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  320. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  321. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  322. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  323. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  324. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  325. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  326. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  327. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  328. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  329. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  330. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  331. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  332. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  333. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  334. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  335. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  336. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  337. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  338. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  339. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  340. package/lib/design-tokens/ts/tokens/functional/components/button/base.d.ts +1 -1
  341. package/lib/design-tokens/ts/tokens/functional/components/button/base.js +1 -1
  342. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  343. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  344. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  345. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  346. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  347. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  348. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  349. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  350. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  351. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  352. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  353. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  354. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  355. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  356. package/lib/design-tokens/ts/tokens/functional/components/footer/base.d.ts +1 -1
  357. package/lib/design-tokens/ts/tokens/functional/components/footer/base.js +1 -1
  358. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +1 -1
  359. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +1 -1
  360. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  361. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  362. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  363. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  364. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  365. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  366. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  367. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  368. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  369. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.js +1 -1
  370. package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.d.ts +1 -1
  371. package/lib/design-tokens/ts/tokens/functional/components/icon-button/base.js +1 -1
  372. package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.d.ts +1 -1
  373. package/lib/design-tokens/ts/tokens/functional/components/icon-button/colors.js +1 -1
  374. package/lib/design-tokens/ts/tokens/functional/components/ide/base.d.ts +1 -1
  375. package/lib/design-tokens/ts/tokens/functional/components/ide/base.js +1 -1
  376. package/lib/design-tokens/ts/tokens/functional/components/image/base.d.ts +1 -1
  377. package/lib/design-tokens/ts/tokens/functional/components/image/base.js +1 -1
  378. package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.d.ts +1 -1
  379. package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.js +1 -1
  380. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.d.ts +1 -1
  381. package/lib/design-tokens/ts/tokens/functional/components/inline-link/base.js +1 -1
  382. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
  383. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
  384. package/lib/design-tokens/ts/tokens/functional/components/label/colors.d.ts +1 -1
  385. package/lib/design-tokens/ts/tokens/functional/components/label/colors.js +1 -1
  386. package/lib/design-tokens/ts/tokens/functional/components/link/colors.d.ts +1 -1
  387. package/lib/design-tokens/ts/tokens/functional/components/link/colors.js +1 -1
  388. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.d.ts +1 -1
  389. package/lib/design-tokens/ts/tokens/functional/components/logosuite/base.js +1 -1
  390. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.d.ts +1 -1
  391. package/lib/design-tokens/ts/tokens/functional/components/logosuite/colors.js +1 -1
  392. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.d.ts +1 -1
  393. package/lib/design-tokens/ts/tokens/functional/components/media-playlist/colors.js +1 -1
  394. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.d.ts +1 -1
  395. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/colors.js +1 -1
  396. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.d.ts +1 -1
  397. package/lib/design-tokens/ts/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  398. package/lib/design-tokens/ts/tokens/functional/components/prose/base.d.ts +1 -1
  399. package/lib/design-tokens/ts/tokens/functional/components/prose/base.js +1 -1
  400. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  401. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  402. package/lib/design-tokens/ts/tokens/functional/components/river/river.d.ts +1 -1
  403. package/lib/design-tokens/ts/tokens/functional/components/river/river.js +1 -1
  404. package/lib/design-tokens/ts/tokens/functional/components/section/section.d.ts +1 -1
  405. package/lib/design-tokens/ts/tokens/functional/components/section/section.js +1 -1
  406. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.d.ts +1 -1
  407. package/lib/design-tokens/ts/tokens/functional/components/statistic/base.js +1 -1
  408. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.d.ts +11 -2
  409. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +10 -1
  410. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.d.ts +1 -1
  411. package/lib/design-tokens/ts/tokens/functional/components/tabs/base.js +1 -1
  412. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.d.ts +1 -1
  413. package/lib/design-tokens/ts/tokens/functional/components/tabs/colors.js +1 -1
  414. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.d.ts +1 -1
  415. package/lib/design-tokens/ts/tokens/functional/components/testimonial/base.js +1 -1
  416. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.d.ts +1 -1
  417. package/lib/design-tokens/ts/tokens/functional/components/testimonial/colors.js +1 -1
  418. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.d.ts +1 -1
  419. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/base.js +1 -1
  420. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.d.ts +1 -1
  421. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  422. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  423. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  424. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  425. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  426. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  427. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  428. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  429. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  430. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  431. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  432. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  433. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  434. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  435. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  436. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  437. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  438. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  439. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  440. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  441. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  442. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  443. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  444. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  445. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  446. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  447. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  448. package/lib/index.js +1 -1
  449. package/llms.txt +2 -2
  450. package/package.json +1 -1
  451. package/esm/SubNav/SubNav.module-D-gLr0JO.css +0 -1
  452. package/esm/SubdomainNavBar/SubdomainNavBar.module-DLlWpwNa.css +0 -1
  453. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/base-DIkvLW-s.css +0 -1
  454. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-5gfdihUt.css +0 -1
  455. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes-BGj0AiDW.css +0 -1
  456. package/esm/river/RiverBreakoutTabs/RiverBreakoutTabs.module-CB2SZhbE.css +0 -1
@@ -4,16 +4,17 @@ import { useProvidedRefOrCreate as n } from "../hooks/useRef.js";
4
4
  import { Text as r } from "../Text/Text.js";
5
5
  import { Button as i } from "../Button/Button.js";
6
6
  import { ThemeProvider as a } from "../ThemeProvider/ThemeProvider.js";
7
- import { useOnClickOutside as o } from "../hooks/useOnClickOutside.js";
8
- import { useKeyboardEscape as s } from "../hooks/useKeyboardEscape.js";
9
- import { TriangleDownIcon as c } from "../node_modules/@primer/octicons-react/dist/icons/TriangleDownIcon.js";
10
- import { TriangleUpIcon as l } from "../node_modules/@primer/octicons-react/dist/icons/TriangleUpIcon.js";
11
- import { useWindowSize as u } from "../hooks/useWindowSize.js";
12
- import { useFocusTrap as d } from "../hooks/useFocusTrap.js";
13
- import { useContainsFocus as f } from "./useContainsFocus.js";
14
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-5gfdihUt.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/base-DIkvLW-s.css';/* empty css */
7
+ import { useKeyboardEscape as o } from "../hooks/useKeyboardEscape.js";
8
+ import { TriangleDownIcon as s } from "../node_modules/@primer/octicons-react/dist/icons/TriangleDownIcon.js";
9
+ import { TriangleUpIcon as c } from "../node_modules/@primer/octicons-react/dist/icons/TriangleUpIcon.js";
10
+ import { useWindowSize as l } from "../hooks/useWindowSize.js";
11
+ import { useContainsFocus as u } from "./useContainsFocus.js";
12
+ import d from "./SubNav.module.js";
13
+ import { useAnchorMenu as f } from "./useAnchorMenu.js";
14
+ import { useNarrowMenu as p } from "./useNarrowMenu.js";
15
+ import { useWideMenu as ee } from "./useWideMenu.js";
16
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes-Bna3nyXf.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/sub-nav/base-Dl5rLq0_.css';/* empty css */
15
17
  /* empty css */
16
- import p from "./SubNav.module.js";
17
18
  import m, { Children as h, createContext as g, forwardRef as _, isValidElement as v, memo as y, useCallback as b, useContext as x, useEffect as S, useMemo as C, useRef as w, useState as T } from "react";
18
19
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
19
20
  import { createPortal as O } from "react-dom";
@@ -37,6 +38,12 @@ var k = {
37
38
  },
38
39
  get subMenu() {
39
40
  return `${this.root}-sub-menu`;
41
+ },
42
+ get overflowButton() {
43
+ return `${this.root}-overflow-button`;
44
+ },
45
+ get overflowMenu() {
46
+ return `${this.root}-overflow-menu`;
40
47
  }
41
48
  }, A = ["dropdown", "anchor"], j = g(void 0), M = () => {
42
49
  let e = x(j);
@@ -44,67 +51,50 @@ var k = {
44
51
  return e;
45
52
  };
46
53
  function N({ children: t }) {
47
- let n = m.useRef(null), r = m.useRef(null), i = C(() => ({ portalRef: r }), []);
48
- return S(() => {
49
- let e = n.current, t = new IntersectionObserver(([e]) => {
50
- e.target.classList.toggle(p["SubNav__anchor-menu-outer-container--stuck"], e.intersectionRatio < 1);
51
- }, { threshold: [1] });
52
- return e && t.observe(e), () => {
53
- e && t.unobserve(e);
54
- };
55
- }, []), /* @__PURE__ */ D(j.Provider, {
54
+ let { anchorMenuRef: n, portalRef: r } = f(), i = C(() => ({ portalRef: r }), [r]);
55
+ return /* @__PURE__ */ D(j.Provider, {
56
56
  value: i,
57
57
  children: [t, /* @__PURE__ */ E("div", {
58
- className: p["SubNav__anchor-menu-outer-container"],
58
+ className: d["SubNav__anchor-menu-outer-container"],
59
59
  ref: n,
60
60
  children: /* @__PURE__ */ E("div", {
61
- className: e(p["SubNav__anchor-menu-container"]),
61
+ className: e(d["SubNav__anchor-menu-container"]),
62
62
  ref: r
63
63
  })
64
64
  })]
65
65
  });
66
66
  }
67
- var P = y(_(({ id: i, children: a, className: f, "data-testid": g, fullWidth: _, hasShadow: y }, x) => {
68
- let O = n(x), A = m.useRef(null), j = m.useRef(null), M = m.useRef(null), P = w(null), [L, V] = T(!1), H = t(), [ee, te] = T(!1), { isLarge: U } = u();
69
- d({
70
- containerRef: A,
71
- disabled: !L
72
- });
73
- let W = h.toArray(a), G = b(() => {
74
- U || V(!1);
75
- }, [U]), K = b(() => {
76
- U || V((e) => !e);
77
- }, [U]);
78
- o(A, G), s(G), S(() => {
79
- let e = j.current, t = () => {
80
- if (e) {
81
- let t = e.getBoundingClientRect().top;
82
- e.style.setProperty("--subnav-available-height", `${window.innerHeight - t}px`);
83
- }
84
- };
85
- return L && !U ? (document.body.style.overflow = "hidden", t(), window.addEventListener("resize", t)) : (document.body.style.overflow = "auto", e && e.style.removeProperty("--subnav-available-height")), () => {
86
- document.body.style.overflow = "auto", window.removeEventListener("resize", t), e && e.style.removeProperty("--subnav-available-height");
87
- };
88
- }, [L, U]);
89
- let q = W.find((e) => v(e) && !!e.props["aria-current"]);
67
+ var te = {
68
+ menuLabel: "Navigation menu",
69
+ closeLabel: "Close navigation menu",
70
+ activeLabel: "Navigation menu. Current page:",
71
+ closeActiveLabel: "Close navigation menu. Current page:",
72
+ overflowMenuLabel: "More"
73
+ }, P = y(_(({ id: i, children: a, className: o, "data-testid": u, fullWidth: f, hasShadow: g, menuLabels: _ }, y) => {
74
+ let b = n(y), x = w(null), O = t(), A = t(), [j, M] = T(!1), P = {
75
+ ...te,
76
+ ..._
77
+ }, { isLarge: L } = l(), { navRef: V, narrowMenuRef: ne, isNarrowMenuOpen: H, closeNarrowMenu: U, toggleNarrowMenu: W } = p(L), G = h.toArray(a), re = G.find((e) => v(e) && !!e.props["aria-current"]);
90
78
  S(() => {
91
- let e = W.some((e) => {
79
+ let e = G.some((e) => {
92
80
  if (v(e) && e.type === R) {
93
81
  let t = h.toArray(e.props.children)[1];
94
82
  if (v(t) && t.type === z && t.props.variant === "anchor") return !0;
95
83
  }
96
84
  return !1;
97
85
  });
98
- te(e);
99
- }, [W]);
100
- let { heading: J, subheading: Y, links: ne, action: re } = W.reduce((e, t) => {
86
+ M(e);
87
+ }, [G]);
88
+ let { heading: ie, subheading: K, links: q, action: ae } = G.reduce((e, t) => {
101
89
  if (v(t)) if (t.type === F) e.heading = t;
102
90
  else if (t.type === I) e.subheading = t;
103
91
  else if (t.type === R) {
104
92
  let n = t, [r, i] = h.toArray(n.props.children), a = v(i) && i.type === z && i.props.variant === "anchor";
105
93
  e.links.push(m.cloneElement(n, {
106
94
  ...a ? { children: [r] } : {},
107
- onClick: n.props["aria-current"] ? G : n.props.onClick
95
+ onClick: (e) => {
96
+ n.props.onClick?.(e), !e.defaultPrevented && n.props["aria-current"] && U();
97
+ }
108
98
  }));
109
99
  } else t.type === B && (e.action = t);
110
100
  return e;
@@ -113,73 +103,143 @@ var P = y(_(({ id: i, children: a, className: f, "data-testid": g, fullWidth: _,
113
103
  subheading: void 0,
114
104
  links: [],
115
105
  action: void 0
116
- }), ie = q ? h.toArray(q.props.children) : [], X = ie[0], Z = ie[1], ae = v(Z) && Z.type === z && Z.props.variant === "anchor" ? Z : null, Q = v(Y) && Y.type === I && !!Y.props["aria-current"], $ = Y ? X : null, oe = C(() => /* @__PURE__ */ E("div", {
117
- className: e(p["SubNav__overlay-toggle"], L && p["SubNav__overlay-toggle--open"]),
106
+ }), { overlayRef: oe, overflowRef: se, overflowButtonRef: ce, overflowMenuRef: le, visibleLinkCount: J, hasOverflow: Y, isOverflowMenuOpen: ue, closeOverflowMenu: de, handleOverflowMenuBlur: fe } = ee(a, L, q.length), pe = re ? h.toArray(re.props.children) : [], X = pe[0], Z = pe[1], me = v(Z) && Z.type === z && Z.props.variant === "anchor" ? Z : null, Q = v(K) && K.type === I && !!K.props["aria-current"], $ = K ? X : null, he = q.slice(J).some((e) => !!e.props["aria-current"] && e.props["aria-current"] !== "false"), ge = C(() => /* @__PURE__ */ E("div", {
107
+ className: e(d["SubNav__overlay-toggle"], H && d["SubNav__overlay-toggle--open"]),
118
108
  children: /* @__PURE__ */ E("span", {
119
- className: e(p["SubNav__overlay-toggle-content"], !$ && p["SubNav__overlay-toggle-content--end"]),
109
+ className: e(d["SubNav__overlay-toggle-content"], !$ && d["SubNav__overlay-toggle-content--end"]),
120
110
  children: /* @__PURE__ */ D("button", {
121
- ref: P,
122
- className: p["SubNav__overlay-toggle-label"],
111
+ ref: x,
112
+ className: d["SubNav__overlay-toggle-label"],
123
113
  "data-testid": k.button,
124
- onClick: L ? G : K,
125
- "aria-expanded": L ? "true" : "false",
126
- "aria-controls": H,
127
- "aria-label": X ? `Navigation menu. Current page: ${X}` : "Navigation menu",
114
+ onClick: H ? U : W,
115
+ "aria-expanded": H ? "true" : "false",
116
+ "aria-controls": O,
117
+ "aria-label": X ? `${H ? P.closeActiveLabel : P.activeLabel} ${X}` : H ? P.closeLabel : P.menuLabel,
128
118
  children: [$ && /* @__PURE__ */ E(r, {
129
119
  as: "span",
130
120
  size: "100",
131
121
  children: $
132
- }), E(L ? l : c, {
133
- className: p["SubNav__overlay-toggle-icon"],
122
+ }), E(H ? c : s, {
123
+ className: d["SubNav__overlay-toggle-icon"],
134
124
  size: 13
135
125
  })]
136
126
  })
137
127
  })
138
128
  }), [
139
- X,
140
- G,
141
- K,
129
+ U,
130
+ W,
131
+ O,
142
132
  H,
143
- L,
144
- $
145
- ]);
133
+ X,
134
+ $,
135
+ P.closeLabel,
136
+ P.menuLabel,
137
+ P.activeLabel,
138
+ P.closeActiveLabel
139
+ ]), _e = {
140
+ id: void 0,
141
+ ref: null,
142
+ "aria-activedescendant": void 0,
143
+ "aria-controls": void 0,
144
+ "aria-describedby": void 0,
145
+ "aria-details": void 0,
146
+ "aria-flowto": void 0,
147
+ "aria-labelledby": void 0,
148
+ "aria-owns": void 0
149
+ }, ve = (e) => h.map(e, (e) => {
150
+ if (!v(e)) return e;
151
+ let t = e.type === m.Fragment ? {} : _e;
152
+ return m.cloneElement(e, {
153
+ ...t,
154
+ ...e.props.children === void 0 ? {} : { children: ve(e.props.children) }
155
+ });
156
+ });
146
157
  return /* @__PURE__ */ E("div", {
147
- ref: O,
148
- className: e(p.SubNav__container, Y && p["SubNav--has-sub-heading"], Y && Q && p["SubNav--subHeadingActive"], ee && p["SubNav__container--with-anchor-nav"]),
158
+ ref: b,
159
+ className: e(d.SubNav__container, K && d["SubNav--has-sub-heading"], K && Q && d["SubNav--subHeadingActive"], j && d["SubNav__container--with-anchor-nav"]),
149
160
  children: /* @__PURE__ */ E(N, { children: /* @__PURE__ */ E("nav", {
150
- ref: j,
161
+ ref: V,
151
162
  id: i,
152
- className: e(p.SubNav, L && p["SubNav--open"], y && p["SubNav--has-shadow"], _ && p["SubNav--full-width"], f),
153
- "data-testid": g || k.root,
163
+ className: e(d.SubNav, H && d["SubNav--open"], g && d["SubNav--has-shadow"], f && d["SubNav--full-width"], o),
164
+ "data-testid": u || k.root,
154
165
  children: /* @__PURE__ */ D("div", {
155
- ref: A,
156
- className: p["SubNav--header-container-outer"],
166
+ ref: ne,
167
+ className: d["SubNav--header-container-outer"],
157
168
  children: [
158
169
  /* @__PURE__ */ D("div", {
159
- className: p["SubNav__header-container"],
170
+ className: d["SubNav__header-container"],
160
171
  children: [
161
- J && /* @__PURE__ */ E("div", {
162
- className: p["SubNav__heading-container"],
163
- children: J
172
+ ie && /* @__PURE__ */ E("div", {
173
+ className: d["SubNav__heading-container"],
174
+ children: ie
164
175
  }),
165
- Y && /* @__PURE__ */ E("div", {
166
- className: e(p["SubNav__heading-container"], p["SubNav__subheading-container"], Q && p["SubNav__subheading-container-active"]),
167
- children: Y
176
+ K && /* @__PURE__ */ E("div", {
177
+ className: e(d["SubNav__heading-container"], d["SubNav__subheading-container"], Q && d["SubNav__subheading-container-active"]),
178
+ children: K
168
179
  }),
169
- !U && (!Y || Q) && oe,
170
- ae && ae
180
+ !L && (!K || Q) && ge,
181
+ me && me
171
182
  ]
172
183
  }),
173
- !U && Y && !Q && oe,
174
- ne.length > 0 && /* @__PURE__ */ D("ul", {
175
- ref: M,
176
- id: H,
177
- className: e(p["SubNav__links-overlay"], L && p["SubNav__links-overlay--open"]),
184
+ !L && K && !Q && ge,
185
+ q.length > 0 && /* @__PURE__ */ D("ul", {
186
+ ref: oe,
187
+ id: O,
188
+ className: e(d["SubNav__links-overlay"], H && d["SubNav__links-overlay--open"]),
178
189
  "data-testid": k.overlay,
179
- children: [ne, re && /* @__PURE__ */ E("li", {
180
- className: p["SubNav__action-container"],
181
- children: re
182
- })]
190
+ children: [
191
+ q.map((t, n) => {
192
+ let r = !!L && n >= J, i = h.toArray(t.props.children).some((e) => v(e) && e.type === z);
193
+ return m.cloneElement(t, {
194
+ className: e(t.props.className, !i && d["SubNav__link--in-overlay"]),
195
+ _isOverflowed: r,
196
+ ...r ? {
197
+ ..._e,
198
+ children: ve(t.props.children)
199
+ } : {}
200
+ });
201
+ }),
202
+ /* @__PURE__ */ D("li", {
203
+ ref: se,
204
+ className: e(d["SubNav__overflow-container"], Y && d["SubNav__overflow-container--visible"]),
205
+ "aria-hidden": !Y || void 0,
206
+ onBlur: fe,
207
+ children: [/* @__PURE__ */ D("button", {
208
+ ref: ce,
209
+ type: "button",
210
+ className: e(d["SubNav__overflow-toggle"], he && d["SubNav__overflow-toggle--active"]),
211
+ "data-testid": k.overflowButton,
212
+ "aria-expanded": ue,
213
+ "aria-controls": A,
214
+ tabIndex: Y ? void 0 : -1,
215
+ children: [/* @__PURE__ */ E(r, {
216
+ as: "span",
217
+ size: "100",
218
+ className: d["SubNav__link-label"],
219
+ children: P.overflowMenuLabel
220
+ }), E(ue ? c : s, {})]
221
+ }), /* @__PURE__ */ E("div", {
222
+ ref: le,
223
+ id: A,
224
+ popover: "auto",
225
+ "data-testid": k.overflowMenu,
226
+ className: d["SubNav__overflow-menu"],
227
+ children: /* @__PURE__ */ E("ul", {
228
+ className: d["SubNav__overflow-menu-list"],
229
+ "aria-label": P.overflowMenuLabel,
230
+ children: q.slice(J).map((e) => m.cloneElement(e, {
231
+ _isOverflowed: !1,
232
+ _isOverflowMenu: !0,
233
+ _onOverflowLinkActivate: de
234
+ }))
235
+ })
236
+ })]
237
+ }),
238
+ ae && /* @__PURE__ */ E("li", {
239
+ className: d["SubNav__action-container"],
240
+ children: ae
241
+ })
242
+ ]
183
243
  })
184
244
  ]
185
245
  })
@@ -187,73 +247,87 @@ var P = y(_(({ id: i, children: a, className: f, "data-testid": g, fullWidth: _,
187
247
  });
188
248
  })), F = ({ href: t, children: n, className: r, "data-testid": i, ...a }) => /* @__PURE__ */ E("a", {
189
249
  href: t,
190
- className: e(p.SubNav__heading, r),
250
+ className: e(d.SubNav__heading, r),
191
251
  "data-testid": k.heading || i,
192
252
  ...a,
193
253
  children: n
194
254
  }), I = ({ href: t, children: n, className: r, "data-testid": i, ...a }) => /* @__PURE__ */ E("a", {
195
255
  href: t,
196
- className: e(p.SubNav__heading, p.SubNav__link, p.SubNav__subHeading, r),
256
+ className: e(d.SubNav__heading, d.SubNav__link, d.SubNav__subHeading, r),
197
257
  "data-testid": k.heading || i,
198
258
  ...a,
199
259
  children: n
200
- }), L = _(({ children: i, href: a, "aria-current": o, "data-testid": l, className: d, _subMenuVariant: m, variant: h, ...g }, _) => {
201
- let v = t(), { isLarge: y } = u(), [x, C] = T(!1), O = n(_), A = w(null);
202
- f(O, (e) => {
203
- e || C(!1);
260
+ }), L = _(({ children: i, href: a, "aria-current": c, "data-testid": f, className: p, _subMenuVariant: ee, _isOverflowMenu: h = !1, _onOverflowLinkActivate: g, variant: _, ...y }, x) => {
261
+ let C = t(), { isLarge: O } = l(), [A, j] = T(!1), M = n(x), N = w(null);
262
+ u(M, (e) => {
263
+ e || j(!1);
204
264
  });
205
- let j = b(() => C(!0), []), M = b(() => C(!1), []), N = b(() => C((e) => !e), []), P = !!o && o !== "false";
206
- s(M), S(() => {
207
- A.current && A.current.toggleAttribute("inert", y && !x);
208
- }, [y, x]);
209
- let [F, I] = i;
265
+ let te = b(() => j(!0), []), P = b(() => j(!1), []), F = b(() => j((e) => !e), []), I = !!c && c !== "false";
266
+ o(P), S(() => {
267
+ N.current && N.current.toggleAttribute("inert", !!O && !h && !A);
268
+ }, [
269
+ O,
270
+ h,
271
+ A
272
+ ]);
273
+ let [L, R] = i, B = v(R) && R.type === z ? R.props["aria-label"] : void 0, V = h && v(R) && R.type === z ? m.cloneElement(R, {
274
+ _isOverflowMenu: h,
275
+ _onOverflowLinkActivate: g
276
+ }) : R;
210
277
  return /* @__PURE__ */ D("div", {
211
- className: e(p["SubNav__link--has-sub-menu"], x && p["SubNav__link--expanded"], P && p["SubNav__link--has-active-sub-menu"]),
212
- "data-testid": l || k.subMenu,
213
- ref: O,
214
- onMouseOver: j,
215
- onMouseOut: M,
278
+ className: e(d["SubNav__link--has-sub-menu"], A && d["SubNav__link--expanded"], I && d["SubNav__link--has-active-sub-menu"]),
279
+ "data-testid": f || k.subMenu,
280
+ ref: M,
281
+ onMouseOver: te,
282
+ onMouseOut: P,
216
283
  onFocus: () => null,
217
284
  onBlur: () => null,
218
285
  children: [
219
286
  /* @__PURE__ */ E("a", {
220
287
  href: a,
221
- className: e(p.SubNav__link, o && p["SubNav__link--active"], d),
222
- "aria-current": o,
223
- ...g,
288
+ className: e(d.SubNav__link, c && d["SubNav__link--active"], p),
289
+ "aria-current": c,
290
+ ...y,
291
+ onClick: (e) => {
292
+ y.onClick?.(e), e.defaultPrevented || g?.();
293
+ },
224
294
  children: /* @__PURE__ */ E(r, {
225
295
  as: "span",
226
296
  size: "100",
227
297
  weight: "medium",
228
- className: p["SubNav__link-label"],
229
- children: F
298
+ className: d["SubNav__link-label"],
299
+ children: L
230
300
  })
231
301
  }),
232
- y && /* @__PURE__ */ E("button", {
233
- className: p["SubNav__sub-menu-toggle"],
234
- onClick: N,
235
- "aria-expanded": x ? "true" : "false",
236
- "aria-controls": v,
237
- "aria-label": `${F?.toString().trim()} submenu`,
238
- children: /* @__PURE__ */ E(c, {
239
- className: p["SubNav__sub-menu-icon"],
302
+ O && !h && /* @__PURE__ */ E("button", {
303
+ className: d["SubNav__sub-menu-toggle"],
304
+ onClick: F,
305
+ "aria-expanded": A ? "true" : "false",
306
+ "aria-controls": C,
307
+ "aria-label": B ?? `${L?.toString().trim()} submenu`,
308
+ children: /* @__PURE__ */ E(s, {
309
+ className: d["SubNav__sub-menu-icon"],
240
310
  size: 16
241
311
  })
242
312
  }),
243
313
  /* @__PURE__ */ E("div", {
244
- id: v,
245
- className: p["SubNav__sub-menu-children"],
246
- ref: A,
247
- children: I
314
+ id: C,
315
+ className: d["SubNav__sub-menu-children"],
316
+ ref: N,
317
+ children: V
248
318
  })
249
319
  ]
250
320
  });
251
321
  }), R = _((t, n) => {
252
- let [i, a] = T(!1), o = h.toArray(t.children), s = o.some((e) => {
322
+ let [i, a] = T(!1), o = w(null), { _isOverflowed: s, _isOverflowMenu: c = !1, _onOverflowLinkActivate: l, ...u } = t, f = h.toArray(t.children);
323
+ S(() => {
324
+ o.current?.toggleAttribute("inert", !!s);
325
+ }, [s]);
326
+ let p = f.some((e) => {
253
327
  if (v(e)) return e.type === z;
254
328
  });
255
329
  if (S(() => {
256
- if (s) return;
330
+ if (p) return;
257
331
  let e = t.href.replace("#", ""), n = document.getElementById(e);
258
332
  if (!n) return;
259
333
  let r = new IntersectionObserver(([e]) => {
@@ -264,64 +338,89 @@ var P = y(_(({ id: i, children: a, className: f, "data-testid": g, fullWidth: _,
264
338
  rootMargin: "0px 0px -100%"
265
339
  });
266
340
  return r.observe(n), () => r.disconnect();
267
- }, [s, t.href]), s) {
268
- let e = o.some((e) => v(e) && e.type === z && e.props.variant === "anchor");
269
- return /* @__PURE__ */ E("li", { children: /* @__PURE__ */ E(L, {
270
- ref: n,
271
- ...t,
272
- _subMenuVariant: e ? "anchor" : void 0
273
- }) });
341
+ }, [p, t.href]), p) {
342
+ let t = f.some((e) => v(e) && e.type === z && e.props.variant === "anchor");
343
+ return /* @__PURE__ */ E("li", {
344
+ ref: o,
345
+ "aria-hidden": s ? !0 : void 0,
346
+ className: e(d["SubNav__link-item"], s && d["SubNav__link-item--overflowed"]),
347
+ children: /* @__PURE__ */ E(L, {
348
+ ref: n,
349
+ ...u,
350
+ _isOverflowMenu: c,
351
+ _onOverflowLinkActivate: l,
352
+ _subMenuVariant: t ? "anchor" : void 0
353
+ })
354
+ });
274
355
  }
275
- let { children: c, href: l, "aria-current": u, "data-testid": d, variant: f, className: m, ...g } = t;
276
- return /* @__PURE__ */ E("li", { children: /* @__PURE__ */ E("a", {
277
- href: l,
278
- className: e(p.SubNav__link, u && p["SubNav__link--active"], i && p["SubNav__link--is-in-view"], m),
279
- "aria-current": u,
280
- "data-testid": d || k.link,
281
- ref: n,
282
- ...g,
283
- children: /* @__PURE__ */ E(r, {
284
- as: "span",
285
- size: "100",
286
- weight: "medium",
287
- className: p["SubNav__link-label"],
288
- children: c
356
+ let { children: ee, href: m, "aria-current": g, "data-testid": _, variant: y, className: b, ...x } = u;
357
+ return /* @__PURE__ */ E("li", {
358
+ ref: o,
359
+ "aria-hidden": s ? !0 : void 0,
360
+ className: e(d["SubNav__link-item"], s && d["SubNav__link-item--overflowed"]),
361
+ children: /* @__PURE__ */ E("a", {
362
+ href: m,
363
+ className: e(d.SubNav__link, g && d["SubNav__link--active"], i && d["SubNav__link--is-in-view"], b),
364
+ "aria-current": g,
365
+ "data-testid": _ || k.link,
366
+ ref: n,
367
+ ...x,
368
+ onClick: (e) => {
369
+ x.onClick?.(e), e.defaultPrevented || l?.();
370
+ },
371
+ children: /* @__PURE__ */ E(r, {
372
+ as: "span",
373
+ size: "100",
374
+ weight: "medium",
375
+ className: d["SubNav__link-label"],
376
+ children: ee
377
+ })
289
378
  })
290
- }) });
379
+ });
291
380
  });
292
- function z({ children: t, className: n, variant: r = "dropdown", ...i }) {
293
- let o = m.useContext(j), s = w(null), { isLarge: c } = u();
381
+ function z({ children: t, className: n, "aria-label": r = "Sub navigation", variant: i = "dropdown", _isOverflowMenu: o = !1, _onOverflowLinkActivate: s, ...c }) {
382
+ let u = m.useContext(j), f = w(null), { isLarge: p } = l();
294
383
  return S(() => {
295
384
  let e = (e) => {
296
- s.current && !s.current.contains(e.target) || e.target instanceof HTMLAnchorElement || e.stopPropagation();
385
+ f.current && !f.current.contains(e.target) || e.target instanceof HTMLAnchorElement || e.stopPropagation();
297
386
  };
298
- return r === "anchor" && document.addEventListener("click", e, !0), () => {
387
+ return i === "anchor" && document.addEventListener("click", e, !0), () => {
299
388
  document.removeEventListener("click", e, !0);
300
389
  };
301
- }, [r]), r === "anchor" && o?.portalRef.current ? O(/* @__PURE__ */ E("nav", {
302
- ref: s,
303
- className: e(p["SubNav__sub-menu"], p["SubNav__sub-menu--anchor"], n),
390
+ }, [i]), i === "anchor" && u?.portalRef.current ? O(/* @__PURE__ */ E("nav", {
391
+ ref: f,
392
+ className: e(d["SubNav__sub-menu"], d["SubNav__sub-menu--anchor"], n),
304
393
  role: "navigation",
305
- "aria-label": "Sub navigation",
394
+ "aria-label": r,
306
395
  children: /* @__PURE__ */ E("ul", {
307
- className: p["SubNav__sub-menu-list"],
308
- ...i,
309
- children: m.Children.map(t, (e) => v(e) && e.type === R ? m.cloneElement(e, { onClick: (t) => {
310
- e.props.onClick?.(t);
311
- } }) : null)
396
+ className: d["SubNav__sub-menu-list"],
397
+ ...c,
398
+ children: m.Children.map(t, (e) => v(e) && e.type === R ? m.cloneElement(e, {
399
+ ...o ? {
400
+ _isOverflowMenu: o,
401
+ _onOverflowLinkActivate: s
402
+ } : {},
403
+ onClick: (t) => {
404
+ e.props.onClick?.(t);
405
+ }
406
+ }) : null)
312
407
  })
313
- }), o.portalRef.current) : /* @__PURE__ */ E(c ? a : m.Fragment, {
314
- ...c ? { colorMode: "light" } : {},
408
+ }), u.portalRef.current) : /* @__PURE__ */ E(p && !o ? a : m.Fragment, {
409
+ ...p && !o ? { colorMode: "light" } : {},
315
410
  children: /* @__PURE__ */ E("ul", {
316
- className: e(p["SubNav__sub-menu"], p[`SubNav__sub-menu--${r}`], n),
317
- ...i,
318
- children: t
411
+ className: e(d["SubNav__sub-menu"], d[`SubNav__sub-menu--${i}`], n),
412
+ "aria-label": r,
413
+ ...c,
414
+ children: o ? h.map(t, (e) => v(e) && e.type === R ? m.cloneElement(e, {
415
+ _isOverflowMenu: o,
416
+ _onOverflowLinkActivate: s
417
+ }) : e) : t
319
418
  })
320
419
  });
321
420
  }
322
421
  function B({ children: e, href: t, variant: n = "primary", size: r = "small", ...a }) {
323
422
  return /* @__PURE__ */ E(i, {
324
- className: p.SubNav__action,
423
+ className: d.SubNav__action,
325
424
  as: "a",
326
425
  href: t,
327
426
  variant: n,