@primer/react-brand 0.73.0 → 0.74.0-rc.101f122b

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 (459) hide show
  1. package/docs/components/Card/react.md +39 -31
  2. package/docs/components/InlineCode/index.md +53 -0
  3. package/docs/components/MinimalFooter/index.md +54 -10
  4. package/docs/components/index.md +2 -1
  5. package/docs/index.md +4 -3
  6. package/docs/introduction/mcp.md +3 -1
  7. package/esm/CTABanner/CTABanner.d.ts +1 -0
  8. package/esm/CTABanner/CTABanner.d.ts.map +1 -1
  9. package/esm/CTABanner/CTABanner.js +4 -3
  10. package/esm/CTABanner/CTABanner.js.map +1 -1
  11. package/esm/CTABanner/{CTABanner.module-CDLOww8c.css → CTABanner.module-D4pYR4mY.css} +1 -1
  12. package/esm/CTABanner/CTABanner.module.js +1 -2
  13. package/esm/CTABanner/CTABanner.module.js.map +1 -1
  14. package/esm/Card/Card.d.ts +1 -0
  15. package/esm/Card/Card.d.ts.map +1 -1
  16. package/esm/Card/Card.js +2 -1
  17. package/esm/Card/Card.js.map +1 -1
  18. package/esm/Card/Card.module-Svi04dp7.css +1 -0
  19. package/esm/Card/Card.module.js +1 -4
  20. package/esm/Card/Card.module.js.map +1 -1
  21. package/esm/Card/index.d.ts +0 -1
  22. package/esm/Card/index.d.ts.map +1 -1
  23. package/esm/InlineCode/InlineCode.d.ts +19 -0
  24. package/esm/InlineCode/InlineCode.d.ts.map +1 -0
  25. package/esm/InlineCode/InlineCode.js +22 -0
  26. package/esm/InlineCode/InlineCode.js.map +1 -0
  27. package/esm/InlineCode/InlineCode.module-Br3-YmSA.css +1 -0
  28. package/esm/InlineCode/InlineCode.module.js +9 -0
  29. package/esm/InlineCode/InlineCode.module.js.map +1 -0
  30. package/esm/InlineCode/index.d.ts +2 -0
  31. package/esm/InlineCode/index.d.ts.map +1 -0
  32. package/esm/MinimalFooter/MinimalFooter.d.ts +25 -1
  33. package/esm/MinimalFooter/MinimalFooter.d.ts.map +1 -1
  34. package/esm/MinimalFooter/MinimalFooter.js +140 -100
  35. package/esm/MinimalFooter/MinimalFooter.js.map +1 -1
  36. package/esm/MinimalFooter/MinimalFooter.module-CGtOtT5r.css +1 -0
  37. package/esm/MinimalFooter/MinimalFooter.module.js +26 -13
  38. package/esm/MinimalFooter/MinimalFooter.module.js.map +1 -1
  39. package/esm/Stack/Stack.js +1 -1
  40. package/esm/animation/AnimationProvider/AnimationProvider.js +1 -1
  41. package/esm/css/stylesheets.d.ts +2 -0
  42. package/esm/css/stylesheets.d.ts.map +1 -1
  43. package/esm/css/stylesheets.js +3 -1
  44. package/esm/css/stylesheets.js.map +1 -1
  45. package/esm/index.d.ts +1 -0
  46. package/esm/index.d.ts.map +1 -1
  47. package/esm/index.esm.js +25 -25
  48. package/esm/node_modules/@primer/octicons-react/dist/index.esm.js +22 -28
  49. package/esm/node_modules/@primer/octicons-react/dist/index.esm.js.map +1 -1
  50. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/base-C0fjI9_t.css +1 -0
  51. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-CMFhnjfv.css +1 -0
  52. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes-Bj7XtHMY.css +1 -0
  53. package/esm/river/River/River.d.ts +1 -0
  54. package/esm/river/River/River.d.ts.map +1 -1
  55. package/esm/river/River/River.js +3 -3
  56. package/esm/river/River/River.js.map +1 -1
  57. package/esm/river/river-shared.module-B1HvdKsP.css +1 -0
  58. package/esm/river/river-shared.module.js +1 -2
  59. package/esm/river/river-shared.module.js.map +1 -1
  60. package/lib/CTABanner/CTABanner.d.ts +1 -0
  61. package/lib/Card/Card.d.ts +1 -0
  62. package/lib/Card/index.d.ts +0 -1
  63. package/lib/InlineCode/InlineCode.d.ts +18 -0
  64. package/lib/InlineCode/index.d.ts +1 -0
  65. package/lib/MinimalFooter/MinimalFooter.d.ts +25 -1
  66. package/lib/css/main.css +500 -335
  67. package/lib/css/stylesheets.d.ts +2 -0
  68. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  69. package/lib/design-tokens/css/tokens/base/colors/light.css +1 -1
  70. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  71. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  72. package/lib/design-tokens/css/tokens/functional/animation/base.css +1 -1
  73. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +1 -1
  74. package/lib/design-tokens/css/tokens/functional/colors/global.css +1 -1
  75. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +1 -1
  76. package/lib/design-tokens/css/tokens/functional/components/action-menu/colors-with-modes.css +1 -1
  77. package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
  78. package/lib/design-tokens/css/tokens/functional/components/bento/base.css +1 -1
  79. package/lib/design-tokens/css/tokens/functional/components/blinking-cursor/colors-with-modes.css +1 -1
  80. package/lib/design-tokens/css/tokens/functional/components/breadcrumbs/colors-with-modes.css +1 -1
  81. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  82. package/lib/design-tokens/css/tokens/functional/components/card/base.css +1 -1
  83. package/lib/design-tokens/css/tokens/functional/components/card/colors-with-modes.css +1 -1
  84. package/lib/design-tokens/css/tokens/functional/components/card/colors.css +1 -1
  85. package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
  86. package/lib/design-tokens/css/tokens/functional/components/comparison-table/comparison-table.css +1 -1
  87. package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
  88. package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
  89. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/colors-with-modes.css +1 -1
  90. package/lib/design-tokens/css/tokens/functional/components/eyebrow-banner/eyebrow-banner.css +1 -1
  91. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
  92. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
  93. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
  94. package/lib/design-tokens/css/tokens/functional/components/faq/faq.css +1 -1
  95. package/lib/design-tokens/css/tokens/functional/components/footer/base.css +8 -0
  96. package/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css +19 -3
  97. package/lib/design-tokens/css/tokens/functional/components/footer/colors.css +10 -2
  98. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/base.css +1 -1
  99. package/lib/design-tokens/css/tokens/functional/components/frosted-glass-vfx/colors-with-modes.css +1 -1
  100. package/lib/design-tokens/css/tokens/functional/components/grid/colors-with-modes.css +1 -1
  101. package/lib/design-tokens/css/tokens/functional/components/grid/colors.css +1 -1
  102. package/lib/design-tokens/css/tokens/functional/components/grid/grid.css +1 -1
  103. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  104. package/lib/design-tokens/css/tokens/functional/components/icon/colors-with-modes.css +1 -1
  105. package/lib/design-tokens/css/tokens/functional/components/icon/colors.css +1 -1
  106. package/lib/design-tokens/css/tokens/functional/components/ide/base.css +1 -1
  107. package/lib/design-tokens/css/tokens/functional/components/ide/colors-with-modes.css +1 -1
  108. package/lib/design-tokens/css/tokens/functional/components/image/base.css +1 -1
  109. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors-with-modes.css +17 -0
  110. package/lib/design-tokens/css/tokens/functional/components/inline-code/colors.css +10 -0
  111. package/lib/design-tokens/css/tokens/functional/components/inline-link/base.css +1 -1
  112. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
  113. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
  114. package/lib/design-tokens/css/tokens/functional/components/label/colors-with-modes.css +1 -1
  115. package/lib/design-tokens/css/tokens/functional/components/label/colors.css +1 -1
  116. package/lib/design-tokens/css/tokens/functional/components/link/colors-with-modes.css +1 -1
  117. package/lib/design-tokens/css/tokens/functional/components/link/colors.css +1 -1
  118. package/lib/design-tokens/css/tokens/functional/components/logosuite/base.css +1 -1
  119. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors-with-modes.css +1 -1
  120. package/lib/design-tokens/css/tokens/functional/components/logosuite/colors.css +1 -1
  121. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors-with-modes.css +1 -1
  122. package/lib/design-tokens/css/tokens/functional/components/media-playlist/colors.css +1 -1
  123. package/lib/design-tokens/css/tokens/functional/components/nav-list/colors-with-modes.css +1 -1
  124. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors-with-modes.css +1 -1
  125. package/lib/design-tokens/css/tokens/functional/components/pricing-options/colors.css +1 -1
  126. package/lib/design-tokens/css/tokens/functional/components/pricing-options/pricing-options.css +1 -1
  127. package/lib/design-tokens/css/tokens/functional/components/prose/base.css +1 -1
  128. package/lib/design-tokens/css/tokens/functional/components/prose/colors-with-modes.css +1 -1
  129. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  130. package/lib/design-tokens/css/tokens/functional/components/river/river.css +1 -1
  131. package/lib/design-tokens/css/tokens/functional/components/river-story-scroll/colors-with-modes.css +1 -1
  132. package/lib/design-tokens/css/tokens/functional/components/section/section.css +1 -1
  133. package/lib/design-tokens/css/tokens/functional/components/statistic/base.css +1 -1
  134. package/lib/design-tokens/css/tokens/functional/components/sub-nav/base.css +1 -1
  135. package/lib/design-tokens/css/tokens/functional/components/sub-nav/colors-with-modes.css +1 -1
  136. package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
  137. package/lib/design-tokens/css/tokens/functional/components/tabs/base.css +1 -1
  138. package/lib/design-tokens/css/tokens/functional/components/tabs/colors-with-modes.css +1 -1
  139. package/lib/design-tokens/css/tokens/functional/components/tabs/colors.css +1 -1
  140. package/lib/design-tokens/css/tokens/functional/components/testimonial/base.css +1 -1
  141. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css +1 -1
  142. package/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css +1 -1
  143. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors-with-modes.css +1 -1
  144. package/lib/design-tokens/css/tokens/functional/components/text-cursor-animation/colors.css +1 -1
  145. package/lib/design-tokens/css/tokens/functional/components/tiles/colors-with-modes.css +1 -1
  146. package/lib/design-tokens/css/tokens/functional/components/timeline/base.css +1 -1
  147. package/lib/design-tokens/css/tokens/functional/components/timeline/colors-with-modes.css +1 -1
  148. package/lib/design-tokens/css/tokens/functional/components/timeline/colors.css +1 -1
  149. package/lib/design-tokens/css/tokens/functional/components/token/colors-with-modes.css +1 -1
  150. package/lib/design-tokens/css/tokens/functional/components/token/colors.css +1 -1
  151. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors-with-modes.css +1 -1
  152. package/lib/design-tokens/css/tokens/functional/components/tooltip/colors.css +1 -1
  153. package/lib/design-tokens/css/tokens/functional/components/video-player/base.css +1 -1
  154. package/lib/design-tokens/css/tokens/functional/components/video-player/colors-with-modes.css +1 -1
  155. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  156. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  157. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  158. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  159. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  160. package/lib/design-tokens/css/tokens/functional/size/viewport.css +1 -1
  161. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
  162. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  163. package/lib/design-tokens/js/module/tokens/base/colors/light.js +1 -1
  164. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  165. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  166. package/lib/design-tokens/js/module/tokens/functional/animation/base.js +1 -1
  167. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +1 -1
  168. package/lib/design-tokens/js/module/tokens/functional/components/bento/base.js +1 -1
  169. package/lib/design-tokens/js/module/tokens/functional/components/card/base.js +1 -1
  170. package/lib/design-tokens/js/module/tokens/functional/components/card/colors.js +1 -1
  171. package/lib/design-tokens/js/module/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  172. package/lib/design-tokens/js/module/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  173. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
  174. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
  175. package/lib/design-tokens/js/module/tokens/functional/components/faq/faq.js +1 -1
  176. package/lib/design-tokens/js/module/tokens/functional/components/footer/base.js +14 -0
  177. package/lib/design-tokens/js/module/tokens/functional/components/footer/colors.js +41 -3
  178. package/lib/design-tokens/js/module/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  179. package/lib/design-tokens/js/module/tokens/functional/components/grid/colors.js +1 -1
  180. package/lib/design-tokens/js/module/tokens/functional/components/grid/grid.js +1 -1
  181. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  182. package/lib/design-tokens/js/module/tokens/functional/components/icon/colors.js +1 -1
  183. package/lib/design-tokens/js/module/tokens/functional/components/ide/base.js +1 -1
  184. package/lib/design-tokens/js/module/tokens/functional/components/image/base.js +1 -1
  185. package/lib/design-tokens/js/module/tokens/functional/components/inline-code/colors.js +27 -0
  186. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/base.js +1 -1
  187. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
  188. package/lib/design-tokens/js/module/tokens/functional/components/label/colors.js +1 -1
  189. package/lib/design-tokens/js/module/tokens/functional/components/link/colors.js +1 -1
  190. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/base.js +1 -1
  191. package/lib/design-tokens/js/module/tokens/functional/components/logosuite/colors.js +1 -1
  192. package/lib/design-tokens/js/module/tokens/functional/components/media-playlist/colors.js +1 -1
  193. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/colors.js +1 -1
  194. package/lib/design-tokens/js/module/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  195. package/lib/design-tokens/js/module/tokens/functional/components/prose/base.js +1 -1
  196. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  197. package/lib/design-tokens/js/module/tokens/functional/components/river/river.js +1 -1
  198. package/lib/design-tokens/js/module/tokens/functional/components/section/section.js +1 -1
  199. package/lib/design-tokens/js/module/tokens/functional/components/statistic/base.js +1 -1
  200. package/lib/design-tokens/js/module/tokens/functional/components/sub-nav/base.js +1 -1
  201. package/lib/design-tokens/js/module/tokens/functional/components/tabs/base.js +1 -1
  202. package/lib/design-tokens/js/module/tokens/functional/components/tabs/colors.js +1 -1
  203. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/base.js +1 -1
  204. package/lib/design-tokens/js/module/tokens/functional/components/testimonial/colors.js +1 -1
  205. package/lib/design-tokens/js/module/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  206. package/lib/design-tokens/js/module/tokens/functional/components/timeline/base.js +1 -1
  207. package/lib/design-tokens/js/module/tokens/functional/components/timeline/colors.js +1 -1
  208. package/lib/design-tokens/js/module/tokens/functional/components/token/colors.js +1 -1
  209. package/lib/design-tokens/js/module/tokens/functional/components/tooltip/colors.js +1 -1
  210. package/lib/design-tokens/js/module/tokens/functional/components/video-player/base.js +1 -1
  211. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  212. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  213. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  214. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  215. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  216. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  217. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
  218. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  219. package/lib/design-tokens/js/tokens/base/colors/light.js +1 -1
  220. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  221. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  222. package/lib/design-tokens/js/tokens/functional/animation/base.js +1 -1
  223. package/lib/design-tokens/js/tokens/functional/colors/global.js +1 -1
  224. package/lib/design-tokens/js/tokens/functional/components/bento/base.js +1 -1
  225. package/lib/design-tokens/js/tokens/functional/components/card/base.js +1 -1
  226. package/lib/design-tokens/js/tokens/functional/components/card/colors.js +1 -1
  227. package/lib/design-tokens/js/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  228. package/lib/design-tokens/js/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  229. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
  230. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
  231. package/lib/design-tokens/js/tokens/functional/components/faq/faq.js +1 -1
  232. package/lib/design-tokens/js/tokens/functional/components/footer/base.js +6 -0
  233. package/lib/design-tokens/js/tokens/functional/components/footer/colors.js +10 -2
  234. package/lib/design-tokens/js/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  235. package/lib/design-tokens/js/tokens/functional/components/grid/colors.js +1 -1
  236. package/lib/design-tokens/js/tokens/functional/components/grid/grid.js +1 -1
  237. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  238. package/lib/design-tokens/js/tokens/functional/components/icon/colors.js +1 -1
  239. package/lib/design-tokens/js/tokens/functional/components/ide/base.js +1 -1
  240. package/lib/design-tokens/js/tokens/functional/components/image/base.js +1 -1
  241. package/lib/design-tokens/js/tokens/functional/components/inline-code/colors.js +8 -0
  242. package/lib/design-tokens/js/tokens/functional/components/inline-link/base.js +1 -1
  243. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
  244. package/lib/design-tokens/js/tokens/functional/components/label/colors.js +1 -1
  245. package/lib/design-tokens/js/tokens/functional/components/link/colors.js +1 -1
  246. package/lib/design-tokens/js/tokens/functional/components/logosuite/base.js +1 -1
  247. package/lib/design-tokens/js/tokens/functional/components/logosuite/colors.js +1 -1
  248. package/lib/design-tokens/js/tokens/functional/components/media-playlist/colors.js +1 -1
  249. package/lib/design-tokens/js/tokens/functional/components/pricing-options/colors.js +1 -1
  250. package/lib/design-tokens/js/tokens/functional/components/pricing-options/pricing-options.js +1 -1
  251. package/lib/design-tokens/js/tokens/functional/components/prose/base.js +1 -1
  252. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  253. package/lib/design-tokens/js/tokens/functional/components/river/river.js +1 -1
  254. package/lib/design-tokens/js/tokens/functional/components/section/section.js +1 -1
  255. package/lib/design-tokens/js/tokens/functional/components/statistic/base.js +1 -1
  256. package/lib/design-tokens/js/tokens/functional/components/sub-nav/base.js +1 -1
  257. package/lib/design-tokens/js/tokens/functional/components/tabs/base.js +1 -1
  258. package/lib/design-tokens/js/tokens/functional/components/tabs/colors.js +1 -1
  259. package/lib/design-tokens/js/tokens/functional/components/testimonial/base.js +1 -1
  260. package/lib/design-tokens/js/tokens/functional/components/testimonial/colors.js +1 -1
  261. package/lib/design-tokens/js/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  262. package/lib/design-tokens/js/tokens/functional/components/timeline/base.js +1 -1
  263. package/lib/design-tokens/js/tokens/functional/components/timeline/colors.js +1 -1
  264. package/lib/design-tokens/js/tokens/functional/components/token/colors.js +1 -1
  265. package/lib/design-tokens/js/tokens/functional/components/tooltip/colors.js +1 -1
  266. package/lib/design-tokens/js/tokens/functional/components/video-player/base.js +1 -1
  267. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  268. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  269. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  270. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  271. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  272. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  273. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
  274. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  275. package/lib/design-tokens/json/colors.json +11 -1
  276. package/lib/design-tokens/json/size.json +78 -0
  277. package/lib/design-tokens/json/typography.json +111 -0
  278. package/lib/design-tokens/scss/tokens/base/colors/light.scss +1 -1
  279. package/lib/design-tokens/scss/tokens/base/size/size.scss +1 -1
  280. package/lib/design-tokens/scss/tokens/base/typography/typography.scss +1 -1
  281. package/lib/design-tokens/scss/tokens/functional/animation/base.scss +1 -1
  282. package/lib/design-tokens/scss/tokens/functional/colors/global.scss +1 -1
  283. package/lib/design-tokens/scss/tokens/functional/components/bento/base.scss +1 -1
  284. package/lib/design-tokens/scss/tokens/functional/components/card/base.scss +1 -1
  285. package/lib/design-tokens/scss/tokens/functional/components/card/colors.scss +1 -1
  286. package/lib/design-tokens/scss/tokens/functional/components/comparison-table/comparison-table.scss +1 -1
  287. package/lib/design-tokens/scss/tokens/functional/components/eyebrow-banner/eyebrow-banner.scss +1 -1
  288. package/lib/design-tokens/scss/tokens/functional/components/faq/base.scss +1 -1
  289. package/lib/design-tokens/scss/tokens/functional/components/faq/colors.scss +1 -1
  290. package/lib/design-tokens/scss/tokens/functional/components/faq/faq.scss +1 -1
  291. package/lib/design-tokens/scss/tokens/functional/components/footer/base.scss +5 -0
  292. package/lib/design-tokens/scss/tokens/functional/components/footer/colors.scss +10 -2
  293. package/lib/design-tokens/scss/tokens/functional/components/frosted-glass-vfx/base.scss +1 -1
  294. package/lib/design-tokens/scss/tokens/functional/components/grid/colors.scss +1 -1
  295. package/lib/design-tokens/scss/tokens/functional/components/grid/grid.scss +1 -1
  296. package/lib/design-tokens/scss/tokens/functional/components/hero/base.scss +1 -1
  297. package/lib/design-tokens/scss/tokens/functional/components/icon/colors.scss +1 -1
  298. package/lib/design-tokens/scss/tokens/functional/components/ide/base.scss +1 -1
  299. package/lib/design-tokens/scss/tokens/functional/components/image/base.scss +1 -1
  300. package/lib/design-tokens/scss/tokens/functional/components/inline-code/colors.scss +7 -0
  301. package/lib/design-tokens/scss/tokens/functional/components/inline-link/base.scss +1 -1
  302. package/lib/design-tokens/scss/tokens/functional/components/inline-link/colors.scss +1 -1
  303. package/lib/design-tokens/scss/tokens/functional/components/label/colors.scss +1 -1
  304. package/lib/design-tokens/scss/tokens/functional/components/link/colors.scss +1 -1
  305. package/lib/design-tokens/scss/tokens/functional/components/logosuite/base.scss +1 -1
  306. package/lib/design-tokens/scss/tokens/functional/components/logosuite/colors.scss +1 -1
  307. package/lib/design-tokens/scss/tokens/functional/components/media-playlist/colors.scss +1 -1
  308. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/colors.scss +1 -1
  309. package/lib/design-tokens/scss/tokens/functional/components/pricing-options/pricing-options.scss +1 -1
  310. package/lib/design-tokens/scss/tokens/functional/components/prose/base.scss +1 -1
  311. package/lib/design-tokens/scss/tokens/functional/components/river/base.scss +1 -1
  312. package/lib/design-tokens/scss/tokens/functional/components/river/river.scss +1 -1
  313. package/lib/design-tokens/scss/tokens/functional/components/section/section.scss +1 -1
  314. package/lib/design-tokens/scss/tokens/functional/components/statistic/base.scss +1 -1
  315. package/lib/design-tokens/scss/tokens/functional/components/sub-nav/base.scss +1 -1
  316. package/lib/design-tokens/scss/tokens/functional/components/tabs/base.scss +1 -1
  317. package/lib/design-tokens/scss/tokens/functional/components/tabs/colors.scss +1 -1
  318. package/lib/design-tokens/scss/tokens/functional/components/testimonial/base.scss +1 -1
  319. package/lib/design-tokens/scss/tokens/functional/components/testimonial/colors.scss +1 -1
  320. package/lib/design-tokens/scss/tokens/functional/components/text-cursor-animation/colors.scss +1 -1
  321. package/lib/design-tokens/scss/tokens/functional/components/timeline/base.scss +1 -1
  322. package/lib/design-tokens/scss/tokens/functional/components/timeline/colors.scss +1 -1
  323. package/lib/design-tokens/scss/tokens/functional/components/token/colors.scss +1 -1
  324. package/lib/design-tokens/scss/tokens/functional/components/tooltip/colors.scss +1 -1
  325. package/lib/design-tokens/scss/tokens/functional/components/video-player/base.scss +1 -1
  326. package/lib/design-tokens/scss/tokens/functional/size/border.scss +1 -1
  327. package/lib/design-tokens/scss/tokens/functional/size/breakpoints.scss +1 -1
  328. package/lib/design-tokens/scss/tokens/functional/size/size-coarse.scss +1 -1
  329. package/lib/design-tokens/scss/tokens/functional/size/size-fine.scss +1 -1
  330. package/lib/design-tokens/scss/tokens/functional/size/size.scss +1 -1
  331. package/lib/design-tokens/scss/tokens/functional/size/viewport.scss +1 -1
  332. package/lib/design-tokens/scss/tokens/functional/typography/typography-responsive.scss +1 -1
  333. package/lib/design-tokens/scss/tokens/functional/typography/typography.scss +1 -1
  334. package/lib/design-tokens/ts/tokens/base/colors/light.d.ts +1 -1
  335. package/lib/design-tokens/ts/tokens/base/colors/light.js +1 -1
  336. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  337. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  338. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  339. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  340. package/lib/design-tokens/ts/tokens/functional/animation/base.d.ts +1 -1
  341. package/lib/design-tokens/ts/tokens/functional/animation/base.js +1 -1
  342. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +1 -1
  343. package/lib/design-tokens/ts/tokens/functional/colors/global.js +1 -1
  344. package/lib/design-tokens/ts/tokens/functional/components/bento/base.d.ts +1 -1
  345. package/lib/design-tokens/ts/tokens/functional/components/bento/base.js +1 -1
  346. package/lib/design-tokens/ts/tokens/functional/components/card/base.d.ts +1 -1
  347. package/lib/design-tokens/ts/tokens/functional/components/card/base.js +1 -1
  348. package/lib/design-tokens/ts/tokens/functional/components/card/colors.d.ts +1 -1
  349. package/lib/design-tokens/ts/tokens/functional/components/card/colors.js +1 -1
  350. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.d.ts +1 -1
  351. package/lib/design-tokens/ts/tokens/functional/components/comparison-table/comparison-table.js +1 -1
  352. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.d.ts +1 -1
  353. package/lib/design-tokens/ts/tokens/functional/components/eyebrow-banner/eyebrow-banner.js +1 -1
  354. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
  355. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
  356. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
  357. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
  358. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.d.ts +1 -1
  359. package/lib/design-tokens/ts/tokens/functional/components/faq/faq.js +1 -1
  360. package/lib/design-tokens/ts/tokens/functional/components/footer/base.d.ts +17 -0
  361. package/lib/design-tokens/ts/tokens/functional/components/footer/base.js +14 -0
  362. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.d.ts +15 -1
  363. package/lib/design-tokens/ts/tokens/functional/components/footer/colors.js +16 -2
  364. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.d.ts +1 -1
  365. package/lib/design-tokens/ts/tokens/functional/components/frosted-glass-vfx/base.js +1 -1
  366. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.d.ts +1 -1
  367. package/lib/design-tokens/ts/tokens/functional/components/grid/colors.js +1 -1
  368. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.d.ts +1 -1
  369. package/lib/design-tokens/ts/tokens/functional/components/grid/grid.js +1 -1
  370. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  371. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  372. package/lib/design-tokens/ts/tokens/functional/components/icon/colors.d.ts +1 -1
  373. package/lib/design-tokens/ts/tokens/functional/components/icon/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 +21 -0
  379. package/lib/design-tokens/ts/tokens/functional/components/inline-code/colors.js +18 -0
  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 +1 -1
  409. package/lib/design-tokens/ts/tokens/functional/components/sub-nav/base.js +1 -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/colors.d.ts +1 -1
  419. package/lib/design-tokens/ts/tokens/functional/components/text-cursor-animation/colors.js +1 -1
  420. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.d.ts +1 -1
  421. package/lib/design-tokens/ts/tokens/functional/components/timeline/base.js +1 -1
  422. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.d.ts +1 -1
  423. package/lib/design-tokens/ts/tokens/functional/components/timeline/colors.js +1 -1
  424. package/lib/design-tokens/ts/tokens/functional/components/token/colors.d.ts +1 -1
  425. package/lib/design-tokens/ts/tokens/functional/components/token/colors.js +1 -1
  426. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.d.ts +1 -1
  427. package/lib/design-tokens/ts/tokens/functional/components/tooltip/colors.js +1 -1
  428. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.d.ts +1 -1
  429. package/lib/design-tokens/ts/tokens/functional/components/video-player/base.js +1 -1
  430. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  431. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  432. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  433. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  434. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  435. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  436. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  437. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  438. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  439. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  440. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  441. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  442. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
  443. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
  444. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  445. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  446. package/lib/index.d.ts +1 -0
  447. package/lib/index.js +1 -1
  448. package/lib/river/River/River.d.ts +1 -0
  449. package/llms.txt +4 -3
  450. package/package.json +1 -1
  451. package/esm/Card/Card.module-4GGxtM9r.css +0 -1
  452. package/esm/Card/CardSkewEffect.d.ts +0 -9
  453. package/esm/Card/CardSkewEffect.d.ts.map +0 -1
  454. package/esm/Card/CardSkewEffect.js +0 -42
  455. package/esm/Card/CardSkewEffect.js.map +0 -1
  456. package/esm/MinimalFooter/MinimalFooter.module-Cl2g38SO.css +0 -1
  457. package/esm/packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-DhME9i-y.css +0 -1
  458. package/esm/river/river-shared.module-5fefR7ip.css +0 -1
  459. package/lib/Card/CardSkewEffect.d.ts +0 -8
@@ -1,13 +1,12 @@
1
1
  import e from "../node_modules/clsx/dist/clsx.js";
2
- import { Stack as t } from "../Stack/Stack.js";
2
+ import { useReducedMotion as t } from "../hooks/useReducedMotion.js";
3
3
  import { Text as n } from "../Text/Text.js";
4
- import { ColorModesEnum as r } from "../ThemeProvider/ThemeProvider.js";
5
- import { useTheme as i } from "../ThemeProvider/useTheme.js";
6
- import { LogoGithubIcon as a } from "../node_modules/@primer/octicons-react/dist/index.esm.js";
7
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-DhME9i-y.css';/* empty css */
8
- import o from "./MinimalFooter.module.js";
9
- import s from "react";
10
- import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
4
+ import { ArrowUpIcon as r, MarkGithubIcon as i } from "../node_modules/@primer/octicons-react/dist/index.esm.js";
5
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes-CMFhnjfv.css';import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/components/footer/base-C0fjI9_t.css';/* empty css */
6
+ /* empty css */
7
+ import a from "./MinimalFooter.module.js";
8
+ import o, { forwardRef as s, useCallback as c } from "react";
9
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
11
10
  //#region src/MinimalFooter/MinimalFooter.tsx
12
11
  var d = {
13
12
  x: {
@@ -67,77 +66,88 @@ var d = {
67
66
  iconHeight: 24
68
67
  }
69
68
  }, f = Object.keys(d);
70
- function p({ className: r, children: i, copyrightStatement: a, logoHref: d = "https://github.com", socialLinks: f, ...p }) {
71
- let h = () => s.Children.toArray(i).find((e) => {
72
- if (!s.isValidElement(e)) return !1;
73
- if (e.type && e.type === m) return !0;
74
- }), v = s.Children.toArray(i).filter((e) => {
75
- if (s.isValidElement(e) && e.type === _) return e;
76
- }).slice(0, 5), y = (/* @__PURE__ */ new Date()).getFullYear();
69
+ function p({ centerComponent: t, className: r, children: i, copyrightStatement: s, logoHref: c = "https://github.com", socialLinks: d, ...p }) {
70
+ let h, b, x = [];
71
+ for (let e of o.Children.toArray(i)) o.isValidElement(e) && (e.type === m ? h ??= e : e.type === y ? b ??= e : e.type === v && x.length < 5 && x.push(e));
72
+ let S = (/* @__PURE__ */ new Date()).getFullYear(), C = d === void 0 ? f : d, w = C === !1 ? [] : C, T = w.length > 0, E = x.length > 0, D = E ? /* @__PURE__ */ l("div", {
73
+ className: a.MinimalFooter__links,
74
+ children: x
75
+ }) : null, O = /* @__PURE__ */ l(n, {
76
+ as: "p",
77
+ size: "100",
78
+ font: "monospace",
79
+ weight: {
80
+ narrow: "medium",
81
+ wide: "normal"
82
+ },
83
+ variant: "muted",
84
+ className: e(a.MinimalFooter__copyright, a.MinimalFooter__metaText),
85
+ children: s || `\u00A9 ${S} GitHub. All rights reserved.`
86
+ });
77
87
  return /* @__PURE__ */ u("footer", {
78
- className: e(o.Footer, r),
88
+ className: e(a.MinimalFooter, h && a["MinimalFooter--withFootnotes"], r),
79
89
  ...p,
80
90
  children: [
81
- h(),
82
- /* @__PURE__ */ l(g, {
83
- socialLinks: f,
84
- logoHref: d
91
+ h,
92
+ /* @__PURE__ */ l("div", {
93
+ className: a.MinimalFooter__section,
94
+ children: /* @__PURE__ */ l("section", {
95
+ className: a.MinimalFooter__top,
96
+ children: /* @__PURE__ */ l("div", {
97
+ className: a.MinimalFooter__container,
98
+ children: /* @__PURE__ */ u("div", {
99
+ className: a["MinimalFooter__top-row"],
100
+ children: [/* @__PURE__ */ l(g, { logoHref: c }), E || b ? /* @__PURE__ */ u("div", {
101
+ className: a["MinimalFooter__top-actions"],
102
+ children: [b, D]
103
+ }) : null]
104
+ })
105
+ })
106
+ })
85
107
  }),
86
- /* @__PURE__ */ l("section", { children: /* @__PURE__ */ l("div", {
87
- className: o["Footer__legal-and-links"],
88
- children: /* @__PURE__ */ l("div", {
89
- className: o.Footer__container,
90
- children: /* @__PURE__ */ u(t, {
91
- direction: {
92
- narrow: "vertical",
93
- regular: "horizontal"
94
- },
95
- gap: "normal",
96
- padding: "none",
97
- justifyContent: "space-between",
98
- children: [/* @__PURE__ */ l(t, {
99
- padding: "none",
100
- gap: "condensed",
101
- justifyContent: {
102
- narrow: "center",
103
- regular: "flex-end"
104
- },
105
- direction: {
106
- narrow: "vertical",
107
- regular: "horizontal"
108
- },
109
- className: o.Footer__links,
110
- children: /* @__PURE__ */ l(c, { children: v })
111
- }), /* @__PURE__ */ l(n, {
112
- as: "p",
113
- size: "200",
114
- variant: "muted",
115
- className: o.Footer__copyright,
116
- children: a || `\u00A9 ${y} GitHub. All rights reserved.`
117
- })]
108
+ t ? /* @__PURE__ */ l("div", {
109
+ className: e(a.MinimalFooter__section, a["MinimalFooter__section--center"]),
110
+ children: /* @__PURE__ */ l("section", {
111
+ className: a.MinimalFooter__container,
112
+ children: t
113
+ })
114
+ }) : null,
115
+ /* @__PURE__ */ l("div", {
116
+ className: e(a.MinimalFooter__section, a["MinimalFooter__section--bottom"]),
117
+ children: /* @__PURE__ */ l("section", {
118
+ className: a.MinimalFooter__bottom,
119
+ children: /* @__PURE__ */ l("div", {
120
+ className: a.MinimalFooter__container,
121
+ children: /* @__PURE__ */ u("div", {
122
+ className: a["MinimalFooter__bottom-row"],
123
+ children: [O, T ? /* @__PURE__ */ l(_, { socialLinks: w }) : null]
124
+ })
118
125
  })
119
126
  })
120
- }) })
127
+ })
121
128
  ]
122
129
  });
123
130
  }
124
131
  function m({ children: t, className: r }) {
125
- let i = s.Children.map(t, (t) => {
126
- if (s.isValidElement(t) && t.type === n) {
132
+ let i = o.Children.map(t, (t) => {
133
+ if (o.isValidElement(t) && t.type === n) {
127
134
  let n = t, r = {
128
135
  variant: "muted",
129
136
  size: "100",
130
- className: e(o["Footer__terms-item"], n.props.className)
137
+ className: e(a["MinimalFooter__terms-item"], n.props.className)
131
138
  };
132
- return n.props.as || (r.as = "p"), s.cloneElement(n, r);
139
+ return n.props.as || (r.as = "p"), o.cloneElement(n, r);
133
140
  }
134
141
  return null;
135
142
  });
136
- return /* @__PURE__ */ l("section", {
137
- className: o.Footer__container,
138
- children: /* @__PURE__ */ l("div", {
139
- className: e(o.Footer__terms, r),
140
- children: i
143
+ return /* @__PURE__ */ l("div", {
144
+ className: e(a.MinimalFooter__section, a["MinimalFooter__section--footnotes"]),
145
+ children: /* @__PURE__ */ l("section", {
146
+ className: a.MinimalFooter__container,
147
+ children: /* @__PURE__ */ l("div", {
148
+ className: e(a.MinimalFooter__terms, r),
149
+ children: i
150
+ })
141
151
  })
142
152
  });
143
153
  }
@@ -145,10 +155,10 @@ var h = ({ name: e }) => {
145
155
  let t = d[e];
146
156
  return /* @__PURE__ */ l("li", { children: /* @__PURE__ */ u("a", {
147
157
  href: t.url,
148
- className: o["Footer__social-link"],
158
+ className: a["MinimalFooter__social-link"],
149
159
  "data-analytics-event": `{"category":"Footer","action":"go to ${t.fullName}","label":"text:${e}"}`,
150
160
  children: [/* @__PURE__ */ l("img", {
151
- className: o["Footer__social-icon"],
161
+ className: a["MinimalFooter__social-icon"],
152
162
  src: t.icon,
153
163
  height: t.iconHeight,
154
164
  width: t.iconWidth,
@@ -159,53 +169,83 @@ var h = ({ name: e }) => {
159
169
  className: "visually-hidden",
160
170
  children: ["GitHub on ", t.fullName]
161
171
  })]
162
- }) }, e);
172
+ }) });
163
173
  };
164
- function g({ socialLinks: n = f, logoHref: s }) {
165
- let { colorMode: c } = i();
166
- return /* @__PURE__ */ l("section", {
167
- className: e(o.Footer__logomarks),
168
- children: /* @__PURE__ */ l("div", {
169
- className: o.Footer__container,
170
- children: /* @__PURE__ */ u(t, {
171
- alignItems: "center",
172
- direction: {
173
- narrow: "vertical",
174
- regular: "horizontal"
175
- },
176
- gap: "normal",
177
- padding: "none",
178
- justifyContent: "space-between",
179
- children: [/* @__PURE__ */ l("div", { children: /* @__PURE__ */ l("a", {
180
- href: s,
181
- "data-analytics-event": "{\"category\":\"Footer\",\"action\":\"go to home\",\"label\":\"text:home\"}",
182
- "aria-label": "GitHub",
183
- children: /* @__PURE__ */ l(a, {
184
- fill: c === r.DARK ? "white" : "black",
185
- size: "medium"
186
- })
187
- }) }), n ? /* @__PURE__ */ l("ul", {
188
- className: o["Footer__social-links"],
189
- children: n.map((e) => /* @__PURE__ */ l(h, { name: e }, e))
190
- }) : null]
191
- })
192
- })
174
+ function g({ logoHref: e }) {
175
+ return /* @__PURE__ */ l("a", {
176
+ href: e,
177
+ className: a.MinimalFooter__logo,
178
+ "data-analytics-event": "{\"category\":\"Footer\",\"action\":\"go to home\",\"label\":\"text:home\"}",
179
+ "aria-label": "GitHub",
180
+ children: /* @__PURE__ */ l(i, { size: 24 })
181
+ });
182
+ }
183
+ function _({ socialLinks: e }) {
184
+ return /* @__PURE__ */ l("ul", {
185
+ className: a["MinimalFooter__social-links"],
186
+ children: e.map((e) => /* @__PURE__ */ l(h, { name: e }, e))
193
187
  });
194
188
  }
195
- var _ = ({ as: e, children: t, ...r }) => /* @__PURE__ */ l(e || "a", {
196
- className: o.Footer__link,
189
+ var v = ({ as: e, children: t, ...r }) => /* @__PURE__ */ l(e || "a", {
190
+ className: a.MinimalFooter__link,
197
191
  "data-analytics-event": r.href ? `{"category":"Footer","action":"go to ${r.href}","label":"text:${t}"}` : void 0,
198
192
  ...r,
199
193
  children: /* @__PURE__ */ l(n, {
200
194
  variant: "muted",
201
- size: "200",
195
+ size: "100",
196
+ font: "monospace",
197
+ weight: {
198
+ narrow: "medium",
199
+ wide: "normal"
200
+ },
201
+ className: a.MinimalFooter__metaText,
202
202
  children: t
203
203
  })
204
- }), v = Object.assign(p, {
204
+ }), y = s(({ children: i, className: o, focusTargetId: s, onClick: d, type: f = "button", ...p }, m) => {
205
+ let h = t(), g = c((e) => {
206
+ if (d?.(e), !e.defaultPrevented && (window.scrollTo({
207
+ top: 0,
208
+ behavior: h ? "instant" : "smooth"
209
+ }), e.detail === 0)) {
210
+ let e = s ? document.getElementById(s) : document.querySelector("main") ?? document.querySelector("body") ?? document.documentElement;
211
+ if (!e) {
212
+ (process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test") && console.warn(`MinimalFooter.BackToTop: No element found with id "${s}".`);
213
+ return;
214
+ }
215
+ e.hasAttribute("tabindex") || (e.tabIndex = -1, e.addEventListener("blur", () => e.removeAttribute("tabindex"), { once: !0 })), e.focus({ preventScroll: !0 });
216
+ }
217
+ }, [
218
+ s,
219
+ d,
220
+ h
221
+ ]);
222
+ return /* @__PURE__ */ l("button", {
223
+ ref: m,
224
+ type: f,
225
+ className: e(a.MinimalFooter__backToTop, o),
226
+ onClick: g,
227
+ ...p,
228
+ children: /* @__PURE__ */ u("span", {
229
+ className: a["MinimalFooter__backToTop-content"],
230
+ children: [/* @__PURE__ */ l(n, {
231
+ as: "span",
232
+ size: "100",
233
+ weight: "medium",
234
+ className: a.MinimalFooter__metaText,
235
+ children: i
236
+ }), /* @__PURE__ */ l("span", {
237
+ className: a["MinimalFooter__backToTop-icon"],
238
+ "aria-hidden": "true",
239
+ children: /* @__PURE__ */ l(r, {})
240
+ })]
241
+ })
242
+ });
243
+ }), b = Object.assign(p, {
205
244
  Footnotes: m,
206
- Link: _
245
+ Link: v,
246
+ BackToTop: y
207
247
  });
208
248
  //#endregion
209
- export { v as MinimalFooter };
249
+ export { b as MinimalFooter };
210
250
 
211
251
  //# sourceMappingURL=MinimalFooter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MinimalFooter.js","names":[],"sources":["../../src/MinimalFooter/MinimalFooter.tsx"],"sourcesContent":["import React, {PropsWithChildren} from 'react'\nimport {clsx} from 'clsx'\nimport {LogoGithubIcon} from '@primer/octicons-react'\n\nimport {ColorModesEnum, Stack, Text, useTheme} from '../'\nimport {BaseProps} from '../component-helpers'\n\n/**\n * Design tokens\n */\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css'\n\n/**\n * Main Stylesheet (as a CSS Module)\n */\nimport styles from './MinimalFooter.module.css'\n\nconst socialLinkData = {\n x: {\n fullName: 'X',\n url: 'https://x.com/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/x.svg',\n iconWidth: 20,\n iconHeight: 16,\n },\n github: {\n fullName: 'GitHub',\n url: 'https://github.com/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/github-mark.svg',\n iconWidth: 20,\n iconHeight: 20,\n },\n linkedin: {\n fullName: 'LinkedIn',\n url: 'https://www.linkedin.com/company/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/linkedin.svg',\n iconWidth: 19,\n iconHeight: 18,\n },\n youtube: {\n fullName: 'YouTube',\n url: 'https://www.youtube.com/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/youtube.svg',\n iconWidth: 23,\n iconHeight: 16,\n },\n facebook: {\n fullName: 'Facebook',\n url: 'https://www.facebook.com/GitHub',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/facebook.svg',\n iconWidth: 18,\n iconHeight: 18,\n },\n twitch: {\n fullName: 'Twitch',\n url: 'https://www.twitch.tv/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/twitch.svg',\n iconWidth: 18,\n iconHeight: 18,\n },\n tiktok: {\n fullName: 'TikTok',\n url: 'https://www.tiktok.com/@github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/tiktok.svg',\n iconWidth: 18,\n iconHeight: 18,\n },\n instagram: {\n fullName: 'Instagram',\n url: 'https://www.instagram.com/github/',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/instagram.svg',\n iconWidth: 24,\n iconHeight: 24,\n },\n} as const\n\ntype SocialLinkName = keyof typeof socialLinkData\ntype SocialLink = (typeof socialLinkData)[SocialLinkName]\n\nconst socialLinkNames = Object.keys(socialLinkData) as SocialLinkName[]\n\nexport type MinimalFooterProps = {\n /**\n * An array of social links to be displayed in the footer.\n */\n socialLinks?: SocialLinkName[] | false\n /**\n * The href for the GitHub logo.\n */\n logoHref?: string\n /**\n * The copyright statement to be displayed in the footer.\n * If not provided, the copyright statement will be the default GitHub copyright statement.\n */\n copyrightStatement?: string | React.ReactElement\n} & BaseProps<HTMLElement>\n\nfunction Root({\n className,\n children,\n copyrightStatement,\n logoHref = 'https://github.com',\n socialLinks,\n ...rest\n}: PropsWithChildren<MinimalFooterProps>) {\n // find Footer.Footnotes children\n const footerFootnoteChild = () => {\n const footnotes = React.Children.toArray(children).find(child => {\n if (!React.isValidElement(child)) {\n return false\n }\n\n if (child.type && child.type === Footnotes) {\n return true\n }\n })\n return footnotes\n }\n\n /**\n * Renders a maximum of 5 links.\n * If more than 5 links are required, we should encourage usage of Footer instead.\n */\n const LinkChildren = React.Children.toArray(children)\n .filter(child => {\n // if not valid element\n if (React.isValidElement(child)) {\n if (child.type === Link) {\n return child\n }\n }\n })\n .slice(0, 5)\n\n const currentYear = new Date().getFullYear()\n\n return (\n <footer className={clsx(styles.Footer, className)} {...rest}>\n {footerFootnoteChild()}\n <SocialLogomarks socialLinks={socialLinks} logoHref={logoHref} />\n <section>\n <div className={styles['Footer__legal-and-links']}>\n <div className={styles['Footer__container']}>\n <Stack\n direction={{narrow: 'vertical', regular: 'horizontal'}}\n gap=\"normal\"\n padding=\"none\"\n justifyContent=\"space-between\"\n >\n <Stack\n padding=\"none\"\n gap=\"condensed\"\n justifyContent={{\n narrow: 'center',\n regular: 'flex-end',\n }}\n direction={{\n narrow: 'vertical',\n regular: 'horizontal',\n }}\n className={styles['Footer__links']}\n >\n <>{LinkChildren}</>\n </Stack>\n <Text as=\"p\" size=\"200\" variant=\"muted\" className={styles['Footer__copyright']}>\n {copyrightStatement ? copyrightStatement : `\\u00A9 ${currentYear} GitHub. All rights reserved.`}\n </Text>\n </Stack>\n </div>\n </div>\n </section>\n </footer>\n )\n}\n\ntype FootnoteProps = BaseProps<HTMLElement>\n\nfunction Footnotes({children, className}: PropsWithChildren<FootnoteProps>) {\n const styledChildren = React.Children.map(children, child => {\n if (React.isValidElement<React.ComponentProps<typeof Text>>(child) && child.type === Text) {\n const textChild = child as React.ReactElement<React.ComponentProps<typeof Text>>\n const overrideProps: Partial<React.ComponentProps<typeof Text>> = {\n variant: 'muted',\n size: '100',\n className: clsx(styles['Footer__terms-item'], textChild.props.className),\n }\n\n if (!textChild.props.as) {\n overrideProps.as = 'p'\n }\n\n return React.cloneElement(textChild, overrideProps)\n }\n\n return null\n })\n\n return (\n <section className={styles.Footer__container}>\n <div className={clsx(styles.Footer__terms, className)}>{styledChildren}</div>\n </section>\n )\n}\n\ntype SocialLinkProps = {name: SocialLinkName}\n\nconst SocialLink = ({name}: SocialLinkProps) => {\n const link = socialLinkData[name]\n return (\n <li key={name}>\n <a\n href={link.url}\n className={styles['Footer__social-link']}\n data-analytics-event={`{\"category\":\"Footer\",\"action\":\"go to ${link.fullName}\",\"label\":\"text:${name}\"}`}\n >\n <img\n className={styles['Footer__social-icon']}\n src={link.icon}\n height={link.iconHeight}\n width={link.iconWidth}\n loading=\"lazy\"\n decoding=\"async\"\n alt=\"\"\n />\n <span className=\"visually-hidden\">GitHub on {link.fullName}</span>\n </a>\n </li>\n )\n}\n\ntype SocialLogomarksProps = {\n socialLinks?: SocialLinkName[] | false\n logoHref?: string\n}\n\nfunction SocialLogomarks({socialLinks = socialLinkNames, logoHref}: SocialLogomarksProps) {\n const {colorMode} = useTheme()\n\n return (\n <section className={clsx(styles['Footer__logomarks'])}>\n <div className={styles['Footer__container']}>\n <Stack\n alignItems=\"center\"\n direction={{narrow: 'vertical', regular: 'horizontal'}}\n gap=\"normal\"\n padding=\"none\"\n justifyContent=\"space-between\"\n >\n <div>\n <a\n href={logoHref}\n data-analytics-event='{\"category\":\"Footer\",\"action\":\"go to home\",\"label\":\"text:home\"}'\n aria-label=\"GitHub\"\n >\n <LogoGithubIcon fill={colorMode === ColorModesEnum.DARK ? 'white' : 'black'} size=\"medium\" />\n </a>\n </div>\n {socialLinks ? (\n <ul className={styles['Footer__social-links']}>\n {socialLinks.map(name => (\n <SocialLink key={name} name={name} />\n ))}\n </ul>\n ) : null}\n </Stack>\n </div>\n </section>\n )\n}\n\ntype LinkProps<C extends React.ElementType> = BaseProps<C> & {as?: 'a' | 'button'} & Omit<\n React.ComponentPropsWithoutRef<C>,\n keyof C\n >\n\nconst Link = <C extends React.ElementType = 'a'>({as, children, ...rest}: PropsWithChildren<LinkProps<C>>) => {\n const Component = as || 'a'\n return (\n <Component\n className={styles['Footer__link']}\n data-analytics-event={\n rest['href'] ? `{\"category\":\"Footer\",\"action\":\"go to ${rest['href']}\",\"label\":\"text:${children}\"}` : undefined\n }\n {...rest}\n >\n <Text variant=\"muted\" size=\"200\">\n {children}\n </Text>\n </Component>\n )\n}\n\n/**\n * Use MinimalFooter to render a global footer on all GitHub pages.\n * @see https://primer.style/brand/components/MinimalFooter\n */\nexport const MinimalFooter = Object.assign(Root, {\n Footnotes,\n Link,\n})\n"],"mappings":";;;;;;;;;;;AAiBA,IAAM,IAAiB;CACrB,GAAG;EACD,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EACb;CACD,QAAQ;EACN,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EACb;CACD,UAAU;EACR,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EACb;CACD,SAAS;EACP,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EACb;CACD,UAAU;EACR,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EACb;CACD,QAAQ;EACN,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EAC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,SAAQ;IACR,gBAAe;cALjB,CAOE,kBAAC,OAAD,EAAA,UACE,kBAAC,KAAD;KACE,MAAM;KACN,wBAAqB;KACrB,cAAW;eAEX,kBAAC,GAAD;MAAgB,MAAM,MAAc,EAAe,OAAO,UAAU;MAAS,MAAK;MAAW,CAAA;KAC3F,CAAA,EACA,CAAA,EACL,IACC,kBAAC,MAAD;KAAI,WAAW,EAAO;eACnB,EAAY,KAAI,MACf,kBAAC,GAAD,EAA6B,SAAQ,EAApB,EAAoB,CACrC;KACC,CAAA,GACH,KACE;;GACJ,CAAA;EACE,CAAA;;AASd,IAAM,KAA2C,EAAC,OAAI,aAAU,GAAG,QAG/D,kBAFgB,KAAM,KAEtB;CACE,WAAW,EAAO;CAClB,wBACE,EAAK,OAAU,wCAAwC,EAAK,KAAQ,kBAAkB,EAAS,MAAM,KAAA;CAEvG,GAAI;WAEJ,kBAAC,GAAD;EAAM,SAAQ;EAAQ,MAAK;EACxB;EACI,CAAA;CACG,CAAA,EAQH,IAAgB,OAAO,OAAO,GAAM;CAC/C;CACA;CACD,CAAC"}
1
+ {"version":3,"file":"MinimalFooter.js","names":[],"sources":["../../src/MinimalFooter/MinimalFooter.tsx"],"sourcesContent":["import React, {forwardRef, PropsWithChildren, useCallback} from 'react'\nimport {clsx} from 'clsx'\nimport {ArrowUpIcon, MarkGithubIcon} from '@primer/octicons-react'\n\nimport {Text} from '../'\nimport {BaseProps} from '../component-helpers'\nimport {useReducedMotion} from '../hooks/useReducedMotion'\n\n/**\n * Design tokens\n */\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/footer/colors-with-modes.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/footer/base.css'\n\n/**\n * Main Stylesheet (as a CSS Module)\n */\nimport styles from './MinimalFooter.module.css'\n\nconst socialLinkData = {\n x: {\n fullName: 'X',\n url: 'https://x.com/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/x.svg',\n iconWidth: 20,\n iconHeight: 16,\n },\n github: {\n fullName: 'GitHub',\n url: 'https://github.com/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/github-mark.svg',\n iconWidth: 20,\n iconHeight: 20,\n },\n linkedin: {\n fullName: 'LinkedIn',\n url: 'https://www.linkedin.com/company/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/linkedin.svg',\n iconWidth: 19,\n iconHeight: 18,\n },\n youtube: {\n fullName: 'YouTube',\n url: 'https://www.youtube.com/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/youtube.svg',\n iconWidth: 23,\n iconHeight: 16,\n },\n facebook: {\n fullName: 'Facebook',\n url: 'https://www.facebook.com/GitHub',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/facebook.svg',\n iconWidth: 18,\n iconHeight: 18,\n },\n twitch: {\n fullName: 'Twitch',\n url: 'https://www.twitch.tv/github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/twitch.svg',\n iconWidth: 18,\n iconHeight: 18,\n },\n tiktok: {\n fullName: 'TikTok',\n url: 'https://www.tiktok.com/@github',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/tiktok.svg',\n iconWidth: 18,\n iconHeight: 18,\n },\n instagram: {\n fullName: 'Instagram',\n url: 'https://www.instagram.com/github/',\n icon: 'https://github.githubassets.com/images/modules/site/icons/footer/instagram.svg',\n iconWidth: 24,\n iconHeight: 24,\n },\n} as const\n\ntype SocialLinkName = keyof typeof socialLinkData\nconst socialLinkNames = Object.keys(socialLinkData) as SocialLinkName[]\n\nexport type MinimalFooterProps = {\n /**\n * Escape-hatch for inserting custom React components.\n * Warning:\n * This prop isn't advertised in our docs but remains part of the public API for edge-cases.\n * Need to use this prop? Please check in with #primer-brand first to confirm correct usage.\n */\n centerComponent?: React.ReactElement\n /**\n * An array of social links to be displayed in the footer.\n */\n socialLinks?: SocialLinkName[] | false\n /**\n * The href for the GitHub logo.\n */\n logoHref?: string\n /**\n * The copyright statement to be displayed in the footer.\n * If not provided, the copyright statement will be the default GitHub copyright statement.\n */\n copyrightStatement?: string | React.ReactElement\n} & BaseProps<HTMLElement>\n\nfunction Root({\n centerComponent,\n className,\n children,\n copyrightStatement,\n logoHref = 'https://github.com',\n socialLinks,\n ...rest\n}: PropsWithChildren<MinimalFooterProps>) {\n let footnotes: React.ReactElement | undefined\n let backToTop: React.ReactElement | undefined\n const links: React.ReactElement[] = []\n\n for (const child of React.Children.toArray(children)) {\n if (!React.isValidElement(child)) {\n continue\n }\n\n if (child.type === Footnotes) {\n footnotes ??= child\n } else if (child.type === BackToTop) {\n backToTop ??= child\n } else if (child.type === Link && links.length < 5) {\n links.push(child)\n }\n }\n\n const currentYear = new Date().getFullYear()\n const resolvedSocialLinks = socialLinks === undefined ? socialLinkNames : socialLinks\n const renderedSocialLinks = resolvedSocialLinks === false ? [] : resolvedSocialLinks\n const hasSocialLinks = renderedSocialLinks.length > 0\n const hasLinks = links.length > 0\n const renderedLinks = hasLinks ? <div className={styles.MinimalFooter__links}>{links}</div> : null\n const copyright = (\n <Text\n as=\"p\"\n size=\"100\"\n font=\"monospace\"\n weight={{narrow: 'medium', wide: 'normal'}}\n variant=\"muted\"\n className={clsx(styles.MinimalFooter__copyright, styles.MinimalFooter__metaText)}\n >\n {copyrightStatement ? copyrightStatement : `\\u00A9 ${currentYear} GitHub. All rights reserved.`}\n </Text>\n )\n\n return (\n <footer\n className={clsx(styles.MinimalFooter, footnotes && styles['MinimalFooter--withFootnotes'], className)}\n {...rest}\n >\n {footnotes}\n <div className={styles.MinimalFooter__section}>\n <section className={styles.MinimalFooter__top}>\n <div className={styles.MinimalFooter__container}>\n <div className={styles['MinimalFooter__top-row']}>\n <LogoLink logoHref={logoHref} />\n {hasLinks || backToTop ? (\n <div className={styles['MinimalFooter__top-actions']}>\n {backToTop}\n {renderedLinks}\n </div>\n ) : null}\n </div>\n </div>\n </section>\n </div>\n {centerComponent ? (\n <div className={clsx(styles.MinimalFooter__section, styles['MinimalFooter__section--center'])}>\n <section className={styles.MinimalFooter__container}>{centerComponent}</section>\n </div>\n ) : null}\n <div className={clsx(styles.MinimalFooter__section, styles['MinimalFooter__section--bottom'])}>\n <section className={styles.MinimalFooter__bottom}>\n <div className={styles.MinimalFooter__container}>\n <div className={styles['MinimalFooter__bottom-row']}>\n {copyright}\n {hasSocialLinks ? <SocialLinks socialLinks={renderedSocialLinks} /> : null}\n </div>\n </div>\n </section>\n </div>\n </footer>\n )\n}\n\ntype FootnoteProps = BaseProps<HTMLElement>\n\nfunction Footnotes({children, className}: PropsWithChildren<FootnoteProps>) {\n const styledChildren = React.Children.map(children, child => {\n if (React.isValidElement<React.ComponentProps<typeof Text>>(child) && child.type === Text) {\n const textChild = child as React.ReactElement<React.ComponentProps<typeof Text>>\n const overrideProps: Partial<React.ComponentProps<typeof Text>> = {\n variant: 'muted',\n size: '100',\n className: clsx(styles['MinimalFooter__terms-item'], textChild.props.className),\n }\n\n if (!textChild.props.as) {\n overrideProps.as = 'p'\n }\n\n return React.cloneElement(textChild, overrideProps)\n }\n\n return null\n })\n\n return (\n <div className={clsx(styles.MinimalFooter__section, styles['MinimalFooter__section--footnotes'])}>\n <section className={styles.MinimalFooter__container}>\n <div className={clsx(styles.MinimalFooter__terms, className)}>{styledChildren}</div>\n </section>\n </div>\n )\n}\n\ntype SocialLinkProps = {name: SocialLinkName}\n\nconst SocialLink = ({name}: SocialLinkProps) => {\n const link = socialLinkData[name]\n return (\n <li>\n <a\n href={link.url}\n className={styles['MinimalFooter__social-link']}\n data-analytics-event={`{\"category\":\"Footer\",\"action\":\"go to ${link.fullName}\",\"label\":\"text:${name}\"}`}\n >\n <img\n className={styles['MinimalFooter__social-icon']}\n src={link.icon}\n height={link.iconHeight}\n width={link.iconWidth}\n loading=\"lazy\"\n decoding=\"async\"\n alt=\"\"\n />\n <span className=\"visually-hidden\">GitHub on {link.fullName}</span>\n </a>\n </li>\n )\n}\n\nfunction LogoLink({logoHref}: {logoHref?: string}) {\n return (\n <a\n href={logoHref}\n className={styles.MinimalFooter__logo}\n data-analytics-event='{\"category\":\"Footer\",\"action\":\"go to home\",\"label\":\"text:home\"}'\n aria-label=\"GitHub\"\n >\n <MarkGithubIcon size={24} />\n </a>\n )\n}\n\nfunction SocialLinks({socialLinks}: {socialLinks: SocialLinkName[]}) {\n return (\n <ul className={styles['MinimalFooter__social-links']}>\n {socialLinks.map(name => (\n <SocialLink key={name} name={name} />\n ))}\n </ul>\n )\n}\n\ntype LinkProps<C extends React.ElementType> = BaseProps<C> & {as?: 'a' | 'button'} & Omit<\n React.ComponentPropsWithoutRef<C>,\n keyof C\n >\n\nconst Link = <C extends React.ElementType = 'a'>({as, children, ...rest}: PropsWithChildren<LinkProps<C>>) => {\n const Component = as || 'a'\n return (\n <Component\n className={styles.MinimalFooter__link}\n data-analytics-event={\n rest['href'] ? `{\"category\":\"Footer\",\"action\":\"go to ${rest['href']}\",\"label\":\"text:${children}\"}` : undefined\n }\n {...rest}\n >\n <Text\n variant=\"muted\"\n size=\"100\"\n font=\"monospace\"\n weight={{narrow: 'medium', wide: 'normal'}}\n className={styles.MinimalFooter__metaText}\n >\n {children}\n </Text>\n </Component>\n )\n}\n\nexport type MinimalFooterBackToTopProps = {\n /**\n * The visible and accessible label.\n */\n children: React.ReactNode\n /**\n * The ID of the semantic top-of-page element that receives focus after keyboard activation.\n * Defaults to the first `<main>` element, then falls back to `<body>`.\n */\n focusTargetId?: string\n /**\n * Runs before the built-in behavior. Call `event.preventDefault()` to cancel scrolling and focus transfer.\n */\n onClick?: React.MouseEventHandler<HTMLButtonElement>\n} & BaseProps<HTMLButtonElement> &\n Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'children'>\n\n/**\n * Scrolls to the top and, after keyboard activation, moves focus to the configured top-of-page destination.\n */\nconst BackToTop = forwardRef<HTMLButtonElement, MinimalFooterBackToTopProps>(\n ({children, className, focusTargetId, onClick, type = 'button', ...rest}, ref) => {\n const prefersReducedMotion = useReducedMotion()\n\n const handleClick = useCallback<React.MouseEventHandler<HTMLButtonElement>>(\n event => {\n onClick?.(event)\n\n if (event.defaultPrevented) {\n return\n }\n\n window.scrollTo({\n top: 0,\n behavior: prefersReducedMotion ? 'instant' : 'smooth',\n })\n\n if (event.detail === 0) {\n const focusTarget = focusTargetId\n ? document.getElementById(focusTargetId)\n : document.querySelector<HTMLElement>('main') ??\n document.querySelector<HTMLElement>('body') ??\n document.documentElement\n\n if (!focusTarget) {\n if (process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test') {\n // eslint-disable-next-line no-console\n console.warn(`MinimalFooter.BackToTop: No element found with id \"${focusTargetId}\".`)\n }\n return\n }\n\n const hadTabIndex = focusTarget.hasAttribute('tabindex')\n\n if (!hadTabIndex) {\n focusTarget.tabIndex = -1\n focusTarget.addEventListener('blur', () => focusTarget.removeAttribute('tabindex'), {once: true})\n }\n\n focusTarget.focus({preventScroll: true})\n }\n },\n [focusTargetId, onClick, prefersReducedMotion],\n )\n\n return (\n <button\n ref={ref}\n type={type}\n className={clsx(styles.MinimalFooter__backToTop, className)}\n onClick={handleClick}\n {...rest}\n >\n <span className={styles['MinimalFooter__backToTop-content']}>\n <Text as=\"span\" size=\"100\" weight=\"medium\" className={styles.MinimalFooter__metaText}>\n {children}\n </Text>\n <span className={styles['MinimalFooter__backToTop-icon']} aria-hidden=\"true\">\n <ArrowUpIcon />\n </span>\n </span>\n </button>\n )\n },\n)\n\n/**\n * Use MinimalFooter to render a global footer on all GitHub pages.\n * @see https://primer.style/brand/components/MinimalFooter\n */\nexport const MinimalFooter = Object.assign(Root, {\n Footnotes,\n Link,\n BackToTop,\n})\n"],"mappings":";;;;;;;;;;AAmBA,IAAM,IAAiB;CACrB,GAAG;EACD,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EACb;CACD,QAAQ;EACN,UAAU;EACV,KAAK;EACL,MAAM;EACN,WAAW;EACX,YAAY;EACb;CACD,UAAU;EACR,UAAU;EACV,KAAK;EACL,MAAM;EACN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AAS,UAAO,UAAU,GAAG,KAAO,MAAQ;CAChF,IAAM,IAAuB,GAAkB,EAEzC,IAAc,GAClB,MAAS;AACP,UAAU,EAAM,EAEZ,GAAM,qBAIV,OAAO,SAAS;GACd,KAAK;GACL,UAAU,IAAuB,YAAY;GAC9C,CAAC,EAEE,EAAM,WAAW,IAAG;GACtB,IAAM,IAAc,IAChB,SAAS,eAAe,EAAc,GACtC,SAAS,cAA2B,OAAO,IAC3C,SAAS,cAA2B,OAAO,IAC3C,SAAS;AAEb,OAAI,CAAC,GAAa;AAChB,KAAA,QAAA,IAAA,aAA6B,iBAAA,QAAA,IAAA,aAA0C,WAErE,QAAQ,KAAK,sDAAsD,EAAc,IAAI;AAEvF;;AAUF,GAPoB,EAAY,aAAa,WAExC,KACH,EAAY,WAAW,IACvB,EAAY,iBAAiB,cAAc,EAAY,gBAAgB,WAAW,EAAE,EAAC,MAAM,IAAK,CAAC,GAGnG,EAAY,MAAM,EAAC,eAAe,IAAK,CAAC;;IAG5C;EAAC;EAAe;EAAS;EAAqB,CAC/C;AAED,QACE,kBAAC,UAAD;EACO;EACC;EACN,WAAW,EAAK,EAAO,0BAA0B,EAAU;EAC3D,SAAS;EACT,GAAI;YAEJ,kBAAC,QAAD;GAAM,WAAW,EAAO;aAAxB,CACE,kBAAC,GAAD;IAAM,IAAG;IAAO,MAAK;IAAM,QAAO;IAAS,WAAW,EAAO;IAC1D;IACI,CAAA,EACP,kBAAC,QAAD;IAAM,WAAW,EAAO;IAAkC,eAAY;cACpE,kBAAC,GAAD,EAAe,CAAA;IACV,CAAA,CACF;;EACA,CAAA;EAGd,EAMY,IAAgB,OAAO,OAAO,GAAM;CAC/C;CACA;CACA;CACD,CAAC"}
@@ -0,0 +1 @@
1
+ .Primer_Brand__MinimalFooter-module__MinimalFooter___xLq65{border-top:var(--brand-borderWidth-thick) solid var(--brand-footer-borderColor);background-color:var(--brand-footer-bg-color);position:relative}.Primer_Brand__MinimalFooter-module__MinimalFooter--withFootnotes___oUvH8{border-top:0}.Primer_Brand__MinimalFooter-module__MinimalFooter__container___mhY_8{max-width:1280px;max-width:var(--brand-footer-max-width,1280px);padding-inline:var(--base-size-20);margin-left:auto;margin-right:auto}@media screen and (width>=48rem){.Primer_Brand__MinimalFooter-module__MinimalFooter__container___mhY_8{padding-inline:var(--base-size-32)}}.Primer_Brand__MinimalFooter-module__MinimalFooter__terms___gwB2R{padding:var(--base-size-48) 0}.Primer_Brand__MinimalFooter-module__MinimalFooter__terms-item___VB5Sx{margin-bottom:var(--base-size-24)}.Primer_Brand__MinimalFooter-module__MinimalFooter__terms-item___VB5Sx sup{font-size:var(--base-size-12);vertical-align:super;margin-right:var(--base-size-4);display:inline-block}.Primer_Brand__MinimalFooter-module__MinimalFooter__terms-item___VB5Sx:last-child{margin-bottom:0}.Primer_Brand__MinimalFooter-module__MinimalFooter__top___UXzkJ{padding-top:var(--base-size-48);padding-bottom:var(--base-size-32);border-bottom:var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle)}.Primer_Brand__MinimalFooter-module__MinimalFooter__top-row____WR7L{grid-gap:var(--base-size-24);align-items:center;gap:var(--base-size-24);grid-template-columns:auto 1fr;display:grid}.Primer_Brand__MinimalFooter-module__MinimalFooter__top-actions___dz_zd{display:contents}.Primer_Brand__MinimalFooter-module__MinimalFooter__top-actions___dz_zd>.Primer_Brand__MinimalFooter-module__MinimalFooter__links___kwBz2{grid-area:2/1/auto/-1;justify-content:flex-start}.Primer_Brand__MinimalFooter-module__MinimalFooter__top-actions___dz_zd>.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit{grid-area:1/2;justify-self:flex-end}.Primer_Brand__MinimalFooter-module__MinimalFooter__logo___rFLvw{color:var(--brand-color-text-default);display:inline-flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__logo___rFLvw>svg{width:var(--base-size-24);height:var(--base-size-24)}.Primer_Brand__MinimalFooter-module__MinimalFooter__bottom___oi9Jk{padding-top:var(--base-size-32);padding-bottom:var(--base-size-32)}@media screen and (width>=80rem){.Primer_Brand__MinimalFooter-module__MinimalFooter__top___UXzkJ{padding-top:var(--base-size-32)}.Primer_Brand__MinimalFooter-module__MinimalFooter__top-row____WR7L{justify-content:space-between;display:flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__top-actions___dz_zd{justify-content:flex-end;align-items:center;gap:var(--base-size-20);flex-wrap:wrap;flex:1;min-width:0;display:flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__top-actions___dz_zd>.Primer_Brand__MinimalFooter-module__MinimalFooter__links___kwBz2{justify-content:flex-end}.Primer_Brand__MinimalFooter-module__MinimalFooter__logo___rFLvw>svg{width:var(--base-size-32);height:var(--base-size-32)}}.Primer_Brand__MinimalFooter-module__MinimalFooter__section___W7x7a{min-width:0}.Primer_Brand__MinimalFooter-module__MinimalFooter__section--footnotes___9t40F{border-bottom:var(--brand-borderWidth-thick) solid var(--brand-footer-borderColor);background-color:var(--brand-color-canvas-default)}.Primer_Brand__MinimalFooter-module__MinimalFooter__section--center___K3_Ia>.Primer_Brand__MinimalFooter-module__MinimalFooter__container___mhY_8{padding-top:var(--base-size-32);padding-bottom:var(--base-size-32)}.Primer_Brand__MinimalFooter-module__MinimalFooter__section--center___K3_Ia+.Primer_Brand__MinimalFooter-module__MinimalFooter__section--bottom___HwSJJ{border-top:var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle)}.Primer_Brand__MinimalFooter-module__MinimalFooter__bottom-row___kcZck{align-items:flex-start;gap:var(--base-size-24);flex-direction:column;display:flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__social-links___0zKRs{justify-content:flex-start;align-items:center;gap:var(--base-size-16);margin:0;padding:0;list-style:none;display:flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__social-link___T5TF0{min-width:var(--base-size-24);min-height:var(--base-size-24);justify-content:center;align-items:center;display:flex;position:relative}.Primer_Brand__MinimalFooter-module__MinimalFooter__social-link___T5TF0:hover .Primer_Brand__MinimalFooter-module__MinimalFooter__social-icon___N1tDK,.Primer_Brand__MinimalFooter-module__MinimalFooter__social-link___T5TF0:focus-visible .Primer_Brand__MinimalFooter-module__MinimalFooter__social-icon___N1tDK{filter:var(--brand-footer-socialIcon-hoverFilter)}.Primer_Brand__MinimalFooter-module__MinimalFooter__social-icon___N1tDK{width:auto;height:auto;max-height:var(--base-size-20);filter:var(--brand-footer-socialIcon-restFilter);display:block}.Primer_Brand__MinimalFooter-module__MinimalFooter__copyright___qQ3QR{text-transform:uppercase;margin:0}.Primer_Brand__MinimalFooter-module__MinimalFooter__metaText___peNSx{font-size:var(--base-size-12)}.Primer_Brand__MinimalFooter-module__MinimalFooter__links___kwBz2{align-items:center;gap:var(--base-size-20);flex-wrap:wrap;display:flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__link___T4gI3{color:var(--brand-color-text-muted);cursor:pointer;text-transform:uppercase;background-color:#0000;border:0;align-self:center;padding:0;-webkit-text-decoration:none;text-decoration:none}.Primer_Brand__MinimalFooter-module__MinimalFooter__link___T4gI3:hover{-webkit-text-decoration:underline;text-decoration:underline}@media screen and (width>=48rem){.Primer_Brand__MinimalFooter-module__MinimalFooter__social-links___0zKRs{gap:var(--base-size-20)}}@media screen and (width>=80rem){.Primer_Brand__MinimalFooter-module__MinimalFooter__bottom-row___kcZck{flex-direction:row;justify-content:space-between;align-items:center}}.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit{appearance:none;color:var(--brand-color-text-default);cursor:pointer;background:0 0;border:0;padding:0;display:inline-flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit:focus-visible{outline:var(--base-size-4) solid var(--brand-color-focus);outline-offset:var(--base-size-2)}.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit:disabled,.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit[aria-disabled=true]{cursor:not-allowed}.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop-content___umaLY{align-items:center;gap:var(--base-size-12);display:inline-flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop-icon___y85GZ{border:var(--brand-borderWidth-thin) solid var(--brand-footer-backToTop-borderColor-rest);border-radius:var(--base-size-6);background-color:var(--brand-footer-backToTop-bgColor-rest);min-width:var(--brand-footer-backToTop-minTarget);min-height:var(--brand-footer-backToTop-minTarget);transition:background-color var(--brand-animation-duration-fast) var(--brand-animation-easing-glide), border-color var(--brand-animation-duration-fast) var(--brand-animation-easing-glide);justify-content:center;align-items:center;display:inline-flex}.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit:not([disabled]):not([aria-disabled=true]):hover .Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop-icon___y85GZ{border-color:var(--brand-footer-backToTop-borderColor-hover);background-color:var(--brand-footer-backToTop-bgColor-hover)}.Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit:not([disabled]):not([aria-disabled=true]):active .Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop-icon___y85GZ{border-color:var(--brand-footer-backToTop-borderColor-active);background-color:var(--brand-footer-backToTop-bgColor-active)}@media (prefers-reduced-motion:reduce){.Primer_Brand__MinimalFooter-module__MinimalFooter___xLq65,.Primer_Brand__MinimalFooter-module__MinimalFooter___xLq65:before,.Primer_Brand__MinimalFooter-module__MinimalFooter___xLq65:after,.Primer_Brand__MinimalFooter-module__MinimalFooter___xLq65 *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@@ -1,16 +1,29 @@
1
- import './MinimalFooter.module-Cl2g38SO.css';var e = {
2
- Footer: "Primer_Brand__MinimalFooter-module__Footer___N646_",
3
- Footer__container: "Primer_Brand__MinimalFooter-module__Footer__container___YiFAB",
4
- Footer__terms: "Primer_Brand__MinimalFooter-module__Footer__terms___0JWoT",
5
- "Footer__terms-item": "Primer_Brand__MinimalFooter-module__Footer__terms-item___G5hh9",
6
- "Footer__social-links": "Primer_Brand__MinimalFooter-module__Footer__social-links___VWTjM",
7
- Footer__logomarks: "Primer_Brand__MinimalFooter-module__Footer__logomarks___Sak80",
8
- "Footer__legal-and-links": "Primer_Brand__MinimalFooter-module__Footer__legal-and-links___2FEd5",
9
- "Footer__social-link": "Primer_Brand__MinimalFooter-module__Footer__social-link___eXQoF",
10
- "Footer__social-icon": "Primer_Brand__MinimalFooter-module__Footer__social-icon___nEyso",
11
- Footer__copyright: "Primer_Brand__MinimalFooter-module__Footer__copyright___M5PJu",
12
- Footer__links: "Primer_Brand__MinimalFooter-module__Footer__links___7RcTo",
13
- Footer__link: "Primer_Brand__MinimalFooter-module__Footer__link___lYG6f"
1
+ import './MinimalFooter.module-CGtOtT5r.css';var e = {
2
+ MinimalFooter: "Primer_Brand__MinimalFooter-module__MinimalFooter___xLq65",
3
+ "MinimalFooter--withFootnotes": "Primer_Brand__MinimalFooter-module__MinimalFooter--withFootnotes___oUvH8",
4
+ MinimalFooter__container: "Primer_Brand__MinimalFooter-module__MinimalFooter__container___mhY_8",
5
+ MinimalFooter__terms: "Primer_Brand__MinimalFooter-module__MinimalFooter__terms___gwB2R",
6
+ "MinimalFooter__terms-item": "Primer_Brand__MinimalFooter-module__MinimalFooter__terms-item___VB5Sx",
7
+ MinimalFooter__top: "Primer_Brand__MinimalFooter-module__MinimalFooter__top___UXzkJ",
8
+ "MinimalFooter__top-row": "Primer_Brand__MinimalFooter-module__MinimalFooter__top-row____WR7L",
9
+ "MinimalFooter__top-actions": "Primer_Brand__MinimalFooter-module__MinimalFooter__top-actions___dz_zd",
10
+ MinimalFooter__links: "Primer_Brand__MinimalFooter-module__MinimalFooter__links___kwBz2",
11
+ MinimalFooter__backToTop: "Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop___fmxit",
12
+ MinimalFooter__logo: "Primer_Brand__MinimalFooter-module__MinimalFooter__logo___rFLvw",
13
+ MinimalFooter__bottom: "Primer_Brand__MinimalFooter-module__MinimalFooter__bottom___oi9Jk",
14
+ MinimalFooter__section: "Primer_Brand__MinimalFooter-module__MinimalFooter__section___W7x7a",
15
+ "MinimalFooter__section--footnotes": "Primer_Brand__MinimalFooter-module__MinimalFooter__section--footnotes___9t40F",
16
+ "MinimalFooter__section--center": "Primer_Brand__MinimalFooter-module__MinimalFooter__section--center___K3_Ia",
17
+ "MinimalFooter__section--bottom": "Primer_Brand__MinimalFooter-module__MinimalFooter__section--bottom___HwSJJ",
18
+ "MinimalFooter__bottom-row": "Primer_Brand__MinimalFooter-module__MinimalFooter__bottom-row___kcZck",
19
+ "MinimalFooter__social-links": "Primer_Brand__MinimalFooter-module__MinimalFooter__social-links___0zKRs",
20
+ "MinimalFooter__social-link": "Primer_Brand__MinimalFooter-module__MinimalFooter__social-link___T5TF0",
21
+ "MinimalFooter__social-icon": "Primer_Brand__MinimalFooter-module__MinimalFooter__social-icon___N1tDK",
22
+ MinimalFooter__copyright: "Primer_Brand__MinimalFooter-module__MinimalFooter__copyright___qQ3QR",
23
+ MinimalFooter__metaText: "Primer_Brand__MinimalFooter-module__MinimalFooter__metaText___peNSx",
24
+ MinimalFooter__link: "Primer_Brand__MinimalFooter-module__MinimalFooter__link___T4gI3",
25
+ "MinimalFooter__backToTop-content": "Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop-content___umaLY",
26
+ "MinimalFooter__backToTop-icon": "Primer_Brand__MinimalFooter-module__MinimalFooter__backToTop-icon___y85GZ"
14
27
  };
15
28
  //#endregion
16
29
  export { e as default };
@@ -1 +1 @@
1
- {"version":3,"file":"MinimalFooter.module.js","names":[],"sources":["../../src/MinimalFooter/MinimalFooter.module.css"],"sourcesContent":[".Footer {\n position: relative;\n background-color: var(--brand-footer-bg-color);\n}\n\n/**\n * Footer shared styles\n */\n.Footer__container {\n max-width: var(--brand-footer-max-width, 1280px);\n padding: 0 28px; /* should match SubdomainNavBar */\n margin-right: auto;\n margin-left: auto;\n}\n\n/**\n * Footer terms section\n */\n.Footer__terms {\n padding: var(--base-size-48) 0;\n}\n\n.Footer__terms-item {\n margin-bottom: var(--base-size-24);\n}\n\n.Footer__terms-item sup {\n font-size: var(--base-size-12);\n vertical-align: super;\n display: inline-block;\n margin-right: var(--base-size-4);\n}\n\n.Footer__terms-item:last-child {\n margin-bottom: 0;\n}\n\n/**\n * Footer social and logomarks section\n */\n.Footer__social-links {\n display: flex;\n padding: 0;\n margin: 0;\n list-style: none;\n justify-content: flex-start;\n align-items: center;\n gap: var(--base-size-16);\n}\n\n.Footer__logomarks {\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);\n border-bottom: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);\n}\n\n.Footer__logomarks,\n.Footer__legal-and-links {\n padding-top: var(--base-size-48);\n padding-bottom: var(--base-size-48);\n}\n\n.Footer__social-link {\n position: relative;\n}\n\n.Footer__social-link::before {\n content: '';\n display: block;\n position: absolute;\n min-width: var(--base-size-24);\n min-height: var(--base-size-24);\n}\n\n.Footer__social-link:hover .Footer__social-icon,\n.Footer__social-link:focus-visible .Footer__social-icon {\n filter: var(--brand-footer-socialIcon-hoverFilter);\n}\n\n.Footer__social-icon {\n display: block;\n width: 24px;\n height: auto;\n}\n\n[data-color-mode='light'] .Footer__social-icon {\n filter: brightness(95%) saturate(100%);\n}\n\n/**\n * Footer legal section\n */\n\n.Footer__copyright {\n display: flex;\n order: 2;\n padding-bottom: var(--base-size-4);\n}\n\n@media screen and (min-width: 48rem) {\n .Footer__copyright {\n order: 1;\n }\n}\n\n.Footer__links {\n order: 1;\n}\n\n@media screen and (min-width: 48rem) {\n .Footer__links {\n order: 2;\n }\n}\n\n.Footer__link {\n align-self: flex-start;\n color: var(--brand-color-text-muted);\n text-decoration: none;\n border-top: none;\n border-right: none;\n border-left: none;\n border-bottom: var(--brand-borderWidth-thin) solid transparent;\n background-color: inherit;\n cursor: pointer;\n padding: 0 0 var(--base-size-4) 0;\n transition: border var(--brand-animation-duration-fast) var(--brand-animation-easing-glide);\n}\n\n.Footer__link:hover {\n color: var(--brand-color-text-default);\n border-bottom-color: var(--brand-color-text-muted);\n text-decoration: none;\n}\n\n/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n@media (prefers-reduced-motion: reduce) {\n .Footer,\n .Footer::before,\n .Footer::after,\n .Footer * {\n animation: none !important;\n transition: none !important;\n scroll-behavior: auto !important;\n }\n}\n"],"mappings":""}
1
+ {"version":3,"file":"MinimalFooter.module.js","names":[],"sources":["../../src/MinimalFooter/MinimalFooter.module.css"],"sourcesContent":[".MinimalFooter {\n position: relative;\n border-top: var(--brand-borderWidth-thick) solid var(--brand-footer-borderColor);\n background-color: var(--brand-footer-bg-color);\n}\n\n.MinimalFooter--withFootnotes {\n border-top: 0;\n}\n\n/**\n * MinimalFooter shared styles\n */\n.MinimalFooter__container {\n max-width: var(--brand-footer-max-width, 1280px);\n padding-inline: var(--base-size-20);\n margin-right: auto;\n margin-left: auto;\n}\n\n@media screen and (min-width: 48rem) {\n .MinimalFooter__container {\n padding-inline: var(--base-size-32);\n }\n}\n\n/**\n * MinimalFooter terms section\n */\n.MinimalFooter__terms {\n padding: var(--base-size-48) 0;\n}\n\n.MinimalFooter__terms-item {\n margin-bottom: var(--base-size-24);\n}\n\n.MinimalFooter__terms-item sup {\n font-size: var(--base-size-12);\n vertical-align: super;\n display: inline-block;\n margin-right: var(--base-size-4);\n}\n\n.MinimalFooter__terms-item:last-child {\n margin-bottom: 0;\n}\n\n/**\n * MinimalFooter top section\n */\n.MinimalFooter__top {\n padding-top: var(--base-size-48);\n padding-bottom: var(--base-size-32);\n border-bottom: var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle);\n}\n\n.MinimalFooter__top-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: center;\n gap: var(--base-size-24);\n}\n\n.MinimalFooter__top-actions {\n display: contents;\n}\n\n.MinimalFooter__top-actions > .MinimalFooter__links {\n grid-column: 1 / -1;\n grid-row: 2;\n justify-content: flex-start;\n}\n\n.MinimalFooter__top-actions > .MinimalFooter__backToTop {\n grid-column: 2;\n grid-row: 1;\n justify-self: flex-end;\n}\n\n.MinimalFooter__logo {\n display: inline-flex;\n color: var(--brand-color-text-default);\n}\n\n.MinimalFooter__logo > svg {\n width: var(--base-size-24);\n height: var(--base-size-24);\n}\n\n.MinimalFooter__bottom {\n padding-top: var(--base-size-32);\n padding-bottom: var(--base-size-32);\n}\n\n@media screen and (min-width: 80rem) {\n .MinimalFooter__top {\n padding-top: var(--base-size-32);\n }\n\n .MinimalFooter__top-row {\n display: flex;\n justify-content: space-between;\n }\n\n .MinimalFooter__top-actions {\n display: flex;\n flex: 1;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-end;\n gap: var(--base-size-20);\n min-width: 0;\n }\n\n .MinimalFooter__top-actions > .MinimalFooter__links {\n justify-content: flex-end;\n }\n\n .MinimalFooter__logo > svg {\n width: var(--base-size-32);\n height: var(--base-size-32);\n }\n}\n\n.MinimalFooter__section {\n min-width: 0;\n}\n\n.MinimalFooter__section--footnotes {\n border-bottom: var(--brand-borderWidth-thick) solid var(--brand-footer-borderColor);\n background-color: var(--brand-color-canvas-default);\n}\n\n.MinimalFooter__section--center > .MinimalFooter__container {\n padding-top: var(--base-size-32);\n padding-bottom: var(--base-size-32);\n}\n\n.MinimalFooter__section--center + .MinimalFooter__section--bottom {\n border-top: var(--brand-borderWidth-thin) solid var(--brand-color-border-subtle);\n}\n\n/**\n * MinimalFooter bottom section\n */\n.MinimalFooter__bottom-row {\n display: flex;\n}\n\n.MinimalFooter__bottom-row {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--base-size-24);\n}\n\n.MinimalFooter__social-links {\n display: flex;\n padding: 0;\n margin: 0;\n list-style: none;\n justify-content: flex-start;\n align-items: center;\n gap: var(--base-size-16);\n}\n\n.MinimalFooter__social-link {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: var(--base-size-24);\n min-height: var(--base-size-24);\n}\n\n.MinimalFooter__social-link:hover .MinimalFooter__social-icon,\n.MinimalFooter__social-link:focus-visible .MinimalFooter__social-icon {\n filter: var(--brand-footer-socialIcon-hoverFilter);\n}\n\n.MinimalFooter__social-icon {\n display: block;\n width: auto;\n height: auto;\n max-height: var(--base-size-20);\n filter: var(--brand-footer-socialIcon-restFilter);\n}\n\n.MinimalFooter__copyright {\n margin: 0;\n text-transform: uppercase;\n}\n\n/* Keep the size-100 text rhythm, but use the approved 12px size token for footer chrome. */\n.MinimalFooter__metaText {\n font-size: var(--base-size-12);\n}\n\n.MinimalFooter__links {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: var(--base-size-20);\n}\n\n.MinimalFooter__link {\n align-self: center;\n color: var(--brand-color-text-muted);\n text-decoration: none;\n border: 0;\n background-color: transparent;\n cursor: pointer;\n padding: 0;\n text-transform: uppercase;\n}\n\n.MinimalFooter__link:hover {\n text-decoration: underline;\n}\n\n@media screen and (min-width: 48rem) {\n .MinimalFooter__social-links {\n gap: var(--base-size-20);\n }\n}\n\n@media screen and (min-width: 80rem) {\n .MinimalFooter__bottom-row {\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n }\n}\n\n.MinimalFooter__backToTop {\n appearance: none;\n display: inline-flex;\n padding: 0;\n border: 0;\n color: var(--brand-color-text-default);\n background: none;\n cursor: pointer;\n}\n\n.MinimalFooter__backToTop:focus-visible {\n outline: var(--base-size-4) solid var(--brand-color-focus);\n outline-offset: var(--base-size-2);\n}\n\n.MinimalFooter__backToTop:disabled,\n.MinimalFooter__backToTop[aria-disabled='true'] {\n cursor: not-allowed;\n}\n\n.MinimalFooter__backToTop-content {\n display: inline-flex;\n align-items: center;\n gap: var(--base-size-12);\n}\n\n.MinimalFooter__backToTop-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border: var(--brand-borderWidth-thin) solid var(--brand-footer-backToTop-borderColor-rest);\n border-radius: var(--base-size-6);\n background-color: var(--brand-footer-backToTop-bgColor-rest);\n min-width: var(--brand-footer-backToTop-minTarget);\n min-height: var(--brand-footer-backToTop-minTarget);\n transition: background-color var(--brand-animation-duration-fast) var(--brand-animation-easing-glide),\n border-color var(--brand-animation-duration-fast) var(--brand-animation-easing-glide);\n}\n\n.MinimalFooter__backToTop:not([disabled], [aria-disabled='true']):hover .MinimalFooter__backToTop-icon {\n border-color: var(--brand-footer-backToTop-borderColor-hover);\n background-color: var(--brand-footer-backToTop-bgColor-hover);\n}\n\n.MinimalFooter__backToTop:not([disabled], [aria-disabled='true']):active .MinimalFooter__backToTop-icon {\n border-color: var(--brand-footer-backToTop-borderColor-active);\n background-color: var(--brand-footer-backToTop-bgColor-active);\n}\n\n/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */\n@media (prefers-reduced-motion: reduce) {\n .MinimalFooter,\n .MinimalFooter::before,\n .MinimalFooter::after,\n .MinimalFooter * {\n animation: none !important;\n transition: none !important;\n scroll-behavior: auto !important;\n }\n}\n"],"mappings":""}
@@ -1,7 +1,7 @@
1
+ import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/size-SXubYfUg.css';/* empty css */
1
2
  import e from "../node_modules/clsx/dist/clsx.js";
2
3
  import { BaseSizeScale as t } from "../constants.js";
3
4
  import { useAnimation as n } from "../animation/useAnimation.js";
4
- import '../packages/design-tokens/lib/design-tokens/css/tokens/functional/size/size-SXubYfUg.css';/* empty css */
5
5
  import r from "./Stack.module.js";
6
6
  import { forwardRef as i, useMemo as a } from "react";
7
7
  import { jsx as o } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { useId as e } from "../../hooks/useId.js";
2
1
  import '../../packages/design-tokens/lib/design-tokens/css/tokens/functional/animation/base-BIr7u5g8.css';/* empty css */
2
+ import { useId as e } from "../../hooks/useId.js";
3
3
  import t from "../Animation.module.js";
4
4
  import { createContext as n, useEffect as r, useState as i } from "react";
5
5
  import { jsx as a } from "react/jsx-runtime";
@@ -5,6 +5,8 @@ import './reset.css';
5
5
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css';
6
6
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/base/size/size.css';
7
7
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/base/typography/typography.css';
8
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/animation/base.css';
9
+ import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/size.css';
8
10
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css';
9
11
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/breakpoints.css';
10
12
  import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/border.css';
@@ -1 +1 @@
1
- {"version":3,"file":"stylesheets.d.ts","sourceRoot":"","sources":["../../src/css/stylesheets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,aAAa,CAAA;AAGpB,OAAO,+FAA+F,CAAA;AACtG,OAAO,0EAA0E,CAAA;AACjF,OAAO,sFAAsF,CAAA;AAC7F,OAAO,uGAAuG,CAAA;AAC9G,OAAO,uFAAuF,CAAA;AAC9F,OAAO,kFAAkF,CAAA;AACzF,OAAO,+FAA+F,CAAA;AAGtG,OAAO,iBAAiB,CAAA;AAGxB,eAAO,MAAM,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"stylesheets.d.ts","sourceRoot":"","sources":["../../src/css/stylesheets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,aAAa,CAAA;AAGpB,OAAO,+FAA+F,CAAA;AACtG,OAAO,0EAA0E,CAAA;AACjF,OAAO,sFAAsF,CAAA;AAC7F,OAAO,qFAAqF,CAAA;AAC5F,OAAO,gFAAgF,CAAA;AACvF,OAAO,uGAAuG,CAAA;AAC9G,OAAO,uFAAuF,CAAA;AAC9F,OAAO,kFAAkF,CAAA;AACzF,OAAO,+FAA+F,CAAA;AAGtG,OAAO,iBAAiB,CAAA;AAGxB,eAAO,MAAM,cAAc,OAAO,CAAA"}
@@ -1,7 +1,9 @@
1
- import './utilities-BivJncWo.css';import './reset-CSgu34_f.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/breakpoints-DV9ZFHGu.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/colors/global-with-modes-Bdet_nBw.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';/* empty css */
1
+ import './utilities-BivJncWo.css';import './reset-CSgu34_f.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/size/breakpoints-DV9ZFHGu.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/colors/global-with-modes-Bdet_nBw.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';/* empty css */
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  /* empty css */
5
+ /* empty css */
6
+ /* empty css */
5
7
  /* empty css */
6
8
  /* empty css */
7
9
  /* empty css */
@@ -1 +1 @@
1
- {"version":3,"file":"stylesheets.js","names":[],"sources":["../../src/css/stylesheets.ts"],"sourcesContent":["/**\n * Add external stylesheets below.\n */\n\n// Reset\nimport './reset.css'\n\n// Primitives\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/base/size/size.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/base/typography/typography.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/breakpoints.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/border.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css'\n\n// Misc\nimport './utilities.css'\n\n// Noop export to make sure this file isn't dropped when tree-shaken\nexport const _GLOBAL_STYLES = true\n"],"mappings":";;;;;;;;;;AAoBA,IAAa,IAAiB"}
1
+ {"version":3,"file":"stylesheets.js","names":[],"sources":["../../src/css/stylesheets.ts"],"sourcesContent":["/**\n * Add external stylesheets below.\n */\n\n// Reset\nimport './reset.css'\n\n// Primitives\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/base/size/size.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/base/typography/typography.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/animation/base.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/size.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/breakpoints.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/size/border.css'\nimport '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css'\n\n// Misc\nimport './utilities.css'\n\n// Noop export to make sure this file isn't dropped when tree-shaken\nexport const _GLOBAL_STYLES = true\n"],"mappings":";;;;;;;;;;;;AAsBA,IAAa,IAAiB"}
package/esm/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from './river';
9
9
  export * from './MediaPlaylist';
10
10
  export * from './SubdomainNavBar';
11
11
  export * from './InlineLink';
12
+ export * from './InlineCode';
12
13
  export * from './Link';
13
14
  export * from './Label';
14
15
  export * from './Token';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AAEjC,cAAc,QAAQ,CAAA;AACtB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA;AACrB,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,c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