@arc-ui/community-components 0.1.0 → 1.0.1

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 (254) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/CHANGELOG.md +28 -0
  3. package/dist/Accordion/Accordion.cjs.js +7 -6
  4. package/dist/Accordion/Accordion.esm.js +7 -6
  5. package/dist/ArticleSidebar/ArticleSidebar.cjs.js +148 -0
  6. package/dist/ArticleSidebar/ArticleSidebar.esm.js +146 -0
  7. package/dist/ArticleSidebar/styles.css +1 -0
  8. package/dist/Author/Author.cjs.js +6 -6
  9. package/dist/Author/Author.esm.js +6 -6
  10. package/dist/BannerWithTabs/BannerWithTabs.cjs.js +16 -25
  11. package/dist/BannerWithTabs/BannerWithTabs.esm.js +17 -26
  12. package/dist/BannerWithTabs/styles.css +1 -1
  13. package/dist/CopyLead/CopyLead.cjs.js +15 -16
  14. package/dist/CopyLead/CopyLead.esm.js +15 -16
  15. package/dist/DownloadList/DownloadList.cjs.js +10 -8
  16. package/dist/DownloadList/DownloadList.esm.js +10 -8
  17. package/dist/FeaturePost/FeaturePost.cjs.js +21 -23
  18. package/dist/FeaturePost/FeaturePost.esm.js +21 -23
  19. package/dist/Highlights/Highlights.cjs.js +10 -9
  20. package/dist/Highlights/Highlights.esm.js +10 -9
  21. package/dist/ProductNavigation/ProductNavigation.cjs.js +87 -0
  22. package/dist/ProductNavigation/ProductNavigation.esm.js +85 -0
  23. package/dist/ProductNavigation/styles.css +1 -0
  24. package/dist/PromoListing/PromoListing.cjs.js +13 -12
  25. package/dist/PromoListing/PromoListing.esm.js +13 -12
  26. package/dist/Quote/Quote.cjs.js +6 -6
  27. package/dist/Quote/Quote.esm.js +6 -6
  28. package/dist/SectionHeading/SectionHeading.cjs.js +6 -5
  29. package/dist/SectionHeading/SectionHeading.esm.js +6 -5
  30. package/dist/SectionHeading/styles.css +1 -1
  31. package/dist/Statistics/Statistics.cjs.js +13 -12
  32. package/dist/Statistics/Statistics.esm.js +13 -12
  33. package/dist/Summary/Summary.cjs.js +12 -11
  34. package/dist/Summary/Summary.esm.js +12 -11
  35. package/dist/Summary/styles.css +1 -1
  36. package/dist/_shared/cjs/{Author-CAo-qryZ.js → Author-DltMey-3.js} +8 -8
  37. package/dist/_shared/cjs/SectionHeading-gjCR1F6E.js +30 -0
  38. package/dist/_shared/cjs/{index.es-X428Cm3N.js → index.es-b6s9A4Ft.js} +1 -1
  39. package/dist/_shared/cjs/tslib.es6-BxB9I209.js +99 -0
  40. package/dist/_shared/esm/{Author-Bx-cE9Pz.js → Author-son1Cgke.js} +8 -8
  41. package/dist/_shared/esm/SectionHeading-BwbuyrYn.js +28 -0
  42. package/dist/_shared/esm/{index.es-BzmvPxje.js → index.es-B89aR7nq.js} +2 -2
  43. package/dist/_shared/esm/tslib.es6-BVXMhEem.js +94 -0
  44. package/dist/index.es.js +365 -131
  45. package/dist/index.es.js.map +1 -1
  46. package/dist/index.js +366 -129
  47. package/dist/index.js.map +1 -1
  48. package/dist/styles.css +1 -1
  49. package/dist/types/{components → cjs/components}/Accordion/Accordion.d.ts +1 -1
  50. package/dist/types/{components → cjs/components}/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +1 -1
  51. package/dist/types/cjs/components/ArticleSidebar/ArticleSidebar.d.ts +36 -0
  52. package/dist/types/cjs/components/ArticleSidebar/index.d.ts +1 -0
  53. package/dist/types/cjs/components/ArticleSidebar/types/link-section.d.ts +11 -0
  54. package/dist/types/cjs/components/ArticleSidebar/types/share-button.d.ts +7 -0
  55. package/dist/types/cjs/components/ArticleSidebar/types/share.d.ts +8 -0
  56. package/dist/types/cjs/components/ArticleSidebar/types/sidebar-author.d.ts +4 -0
  57. package/dist/types/cjs/components/ArticleSidebar/types/text-section.d.ts +6 -0
  58. package/dist/types/cjs/components/ArticleSidebar/types/topic.d.ts +7 -0
  59. package/dist/types/{components → cjs/components}/Author/Author.d.ts +1 -1
  60. package/dist/types/cjs/components/BannerWithTabs/BannerWithTabs.d.ts +42 -0
  61. package/dist/types/{components → cjs/components}/CopyLead/components/MediaContent/MediaContent.d.ts +1 -1
  62. package/dist/types/{components → cjs/components}/CopyLead/templates/Media/Media.d.ts +2 -2
  63. package/dist/types/cjs/components/CopyLead/types/copy-lead-list-item.d.ts +5 -0
  64. package/dist/types/cjs/components/DownloadList/DownloadList.d.ts +7 -0
  65. package/dist/types/{components → cjs/components}/FeaturePost/FeaturePost.d.ts +2 -2
  66. package/dist/types/{components → cjs/components}/FeaturePost/components/MediaContent/MediaContent.d.ts +1 -1
  67. package/dist/types/{components → cjs/components}/Highlights/Highlights.d.ts +1 -1
  68. package/dist/types/{components → cjs/components}/Highlights/components/HighlightItem/HighlightItem.d.ts +3 -6
  69. package/dist/types/cjs/components/Highlights/types/highlight-link.d.ts +5 -0
  70. package/dist/types/cjs/components/Highlights/types/highlight-list-item.d.ts +7 -0
  71. package/dist/types/{components → cjs/components}/Highlights/types/index.d.ts +1 -0
  72. package/dist/types/cjs/components/ProductNavigation/ProductNavigation.d.ts +49 -0
  73. package/dist/types/cjs/components/ProductNavigation/index.d.ts +2 -0
  74. package/dist/types/cjs/components/ProductNavigation/types/index.d.ts +1 -0
  75. package/dist/types/cjs/components/ProductNavigation/types/product-list.d.ts +6 -0
  76. package/dist/types/{components → cjs/components}/PromoListing/PromoListing.d.ts +5 -5
  77. package/dist/types/{components → cjs/components}/SectionHeading/SectionHeading.d.ts +6 -1
  78. package/dist/types/{components → cjs/components}/Summary/Summary.d.ts +2 -1
  79. package/dist/types/cjs/components/index.d.ts +14 -0
  80. package/dist/types/esm/components/Accordion/Accordion.d.ts +9 -0
  81. package/dist/types/esm/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +9 -0
  82. package/dist/types/esm/components/Accordion/index.d.ts +1 -0
  83. package/dist/types/esm/components/ArticleSidebar/ArticleSidebar.d.ts +36 -0
  84. package/dist/types/esm/components/ArticleSidebar/index.d.ts +1 -0
  85. package/dist/types/esm/components/ArticleSidebar/types/link-section.d.ts +11 -0
  86. package/dist/types/esm/components/ArticleSidebar/types/share-button.d.ts +7 -0
  87. package/dist/types/esm/components/ArticleSidebar/types/share.d.ts +8 -0
  88. package/dist/types/esm/components/ArticleSidebar/types/sidebar-author.d.ts +4 -0
  89. package/dist/types/esm/components/ArticleSidebar/types/text-section.d.ts +6 -0
  90. package/dist/types/esm/components/ArticleSidebar/types/topic.d.ts +7 -0
  91. package/dist/types/esm/components/Author/Author.d.ts +17 -0
  92. package/dist/types/esm/components/Author/index.d.ts +1 -0
  93. package/dist/types/esm/components/BannerWithTabs/BannerWithTabs.d.ts +42 -0
  94. package/dist/types/esm/components/BannerWithTabs/index.d.ts +1 -0
  95. package/dist/types/esm/components/CopyLead/CopyLead.d.ts +42 -0
  96. package/dist/types/esm/components/CopyLead/components/Button/Button.d.ts +3 -0
  97. package/dist/types/esm/components/CopyLead/components/Button/index.d.ts +1 -0
  98. package/dist/types/esm/components/CopyLead/components/Column/Column.d.ts +6 -0
  99. package/dist/types/esm/components/CopyLead/components/Column/index.d.ts +1 -0
  100. package/dist/types/esm/components/CopyLead/components/Container/Container.d.ts +9 -0
  101. package/dist/types/esm/components/CopyLead/components/Container/index.d.ts +1 -0
  102. package/dist/types/esm/components/CopyLead/components/IconList/IconList.d.ts +8 -0
  103. package/dist/types/esm/components/CopyLead/components/IconList/index.d.ts +1 -0
  104. package/dist/types/esm/components/CopyLead/components/Image/Image.d.ts +3 -0
  105. package/dist/types/esm/components/CopyLead/components/Image/index.d.ts +1 -0
  106. package/dist/types/esm/components/CopyLead/components/MediaContent/MediaContent.d.ts +9 -0
  107. package/dist/types/esm/components/CopyLead/components/MediaContent/index.d.ts +1 -0
  108. package/dist/types/esm/components/CopyLead/index.d.ts +1 -0
  109. package/dist/types/esm/components/CopyLead/templates/Content/Content.d.ts +10 -0
  110. package/dist/types/esm/components/CopyLead/templates/Content/index.d.ts +1 -0
  111. package/dist/types/esm/components/CopyLead/templates/Media/Media.d.ts +16 -0
  112. package/dist/types/esm/components/CopyLead/templates/Media/index.d.ts +1 -0
  113. package/dist/types/esm/components/CopyLead/types/copy-lead-button.d.ts +2 -0
  114. package/dist/types/esm/components/CopyLead/types/copy-lead-image.d.ts +4 -0
  115. package/dist/types/esm/components/CopyLead/types/copy-lead-list-item.d.ts +5 -0
  116. package/dist/types/esm/components/CopyLead/types/copy-lead-transcript-link.d.ts +6 -0
  117. package/dist/types/esm/components/CopyLead/types/index.d.ts +4 -0
  118. package/dist/types/esm/components/DownloadList/DownloadList.d.ts +7 -0
  119. package/dist/types/esm/components/DownloadList/index.d.ts +1 -0
  120. package/dist/types/esm/components/FeaturePost/FeaturePost.d.ts +45 -0
  121. package/dist/types/esm/components/FeaturePost/components/Image/Image.d.ts +3 -0
  122. package/dist/types/esm/components/FeaturePost/components/Image/index.d.ts +1 -0
  123. package/dist/types/esm/components/FeaturePost/components/MediaContent/MediaContent.d.ts +15 -0
  124. package/dist/types/esm/components/FeaturePost/index.d.ts +1 -0
  125. package/dist/types/esm/components/FeaturePost/types/feature-post-app-button-footer.d.ts +6 -0
  126. package/dist/types/esm/components/FeaturePost/types/feature-post-cta-footer.d.ts +7 -0
  127. package/dist/types/esm/components/FeaturePost/types/feature-post-image.d.ts +4 -0
  128. package/dist/types/esm/components/FeaturePost/types/index.d.ts +3 -0
  129. package/dist/types/esm/components/Highlights/Highlights.d.ts +17 -0
  130. package/dist/types/esm/components/Highlights/components/HighlightItem/HighlightItem.d.ts +11 -0
  131. package/dist/types/esm/components/Highlights/components/HighlightList/HighlightList.d.ts +9 -0
  132. package/dist/types/esm/components/Highlights/index.d.ts +1 -0
  133. package/dist/types/esm/components/Highlights/types/highlight-link.d.ts +5 -0
  134. package/dist/types/esm/components/Highlights/types/highlight-list-item.d.ts +7 -0
  135. package/dist/types/esm/components/Highlights/types/index.d.ts +2 -0
  136. package/dist/types/esm/components/ProductNavigation/ProductNavigation.d.ts +49 -0
  137. package/dist/types/esm/components/ProductNavigation/index.d.ts +2 -0
  138. package/dist/types/esm/components/ProductNavigation/types/index.d.ts +1 -0
  139. package/dist/types/esm/components/ProductNavigation/types/product-list.d.ts +6 -0
  140. package/dist/types/esm/components/PromoListing/PromoListing.d.ts +38 -0
  141. package/dist/types/esm/components/PromoListing/index.d.ts +1 -0
  142. package/dist/types/esm/components/Quote/Quote.d.ts +11 -0
  143. package/dist/types/esm/components/Quote/index.d.ts +1 -0
  144. package/dist/types/esm/components/SectionHeading/SectionHeading.d.ts +30 -0
  145. package/dist/types/esm/components/SectionHeading/index.d.ts +1 -0
  146. package/dist/types/esm/components/Statistics/Statistics.d.ts +7 -0
  147. package/dist/types/esm/components/Statistics/helpers/get-link-props.d.ts +2 -0
  148. package/dist/types/esm/components/Statistics/index.d.ts +1 -0
  149. package/dist/types/esm/components/Statistics/types/statistic-link.d.ts +6 -0
  150. package/dist/types/esm/components/Statistics/types/statistic.d.ts +8 -0
  151. package/dist/types/esm/components/Summary/Summary.d.ts +19 -0
  152. package/dist/types/esm/components/Summary/index.d.ts +1 -0
  153. package/dist/types/esm/components/index.d.ts +14 -0
  154. package/dist/types/esm/index.d.ts +1 -0
  155. package/generate-versions.js +19 -0
  156. package/package.json +37 -34
  157. package/rollup.config.js +15 -1
  158. package/src/components/Accordion/Accordion.tsx +1 -1
  159. package/src/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.tsx +1 -1
  160. package/src/components/ArticleSidebar/ArticleSidebar.module.css +35 -0
  161. package/src/components/ArticleSidebar/ArticleSidebar.tsx +219 -0
  162. package/src/components/ArticleSidebar/index.ts +1 -0
  163. package/src/components/ArticleSidebar/types/link-section.ts +12 -0
  164. package/src/components/ArticleSidebar/types/share-button.ts +7 -0
  165. package/src/components/ArticleSidebar/types/share.ts +9 -0
  166. package/src/components/ArticleSidebar/types/sidebar-author.ts +5 -0
  167. package/src/components/ArticleSidebar/types/text-section.ts +7 -0
  168. package/src/components/ArticleSidebar/types/topic.ts +8 -0
  169. package/src/components/Author/Author.tsx +10 -10
  170. package/src/components/BannerWithTabs/BannerWithTabs.module.css +22 -0
  171. package/src/components/BannerWithTabs/BannerWithTabs.tsx +65 -51
  172. package/src/components/CopyLead/CopyLead.tsx +1 -1
  173. package/src/components/CopyLead/components/Button/Button.tsx +1 -1
  174. package/src/components/CopyLead/components/IconList/IconList.tsx +4 -4
  175. package/src/components/CopyLead/components/Image/Image.tsx +2 -4
  176. package/src/components/CopyLead/components/MediaContent/MediaContent.tsx +3 -3
  177. package/src/components/CopyLead/templates/Content/Content.tsx +1 -1
  178. package/src/components/CopyLead/templates/Media/Media.tsx +7 -7
  179. package/src/components/CopyLead/types/copy-lead-list-item.ts +1 -3
  180. package/src/components/DownloadList/DownloadList.tsx +10 -13
  181. package/src/components/FeaturePost/FeaturePost.tsx +20 -20
  182. package/src/components/FeaturePost/components/Image/Image.tsx +2 -4
  183. package/src/components/FeaturePost/components/MediaContent/MediaContent.tsx +2 -2
  184. package/src/components/Highlights/Highlights.tsx +2 -2
  185. package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +10 -12
  186. package/src/components/Highlights/types/highlight-link.ts +5 -0
  187. package/src/components/Highlights/types/highlight-list-item.ts +3 -6
  188. package/src/components/Highlights/types/index.ts +1 -0
  189. package/src/components/ProductNavigation/ProductNavigation.module.css +51 -0
  190. package/src/components/ProductNavigation/ProductNavigation.tsx +200 -0
  191. package/src/components/ProductNavigation/index.ts +5 -0
  192. package/src/components/ProductNavigation/types/index.ts +1 -0
  193. package/src/components/ProductNavigation/types/product-list.ts +10 -0
  194. package/src/components/PromoListing/PromoListing.tsx +8 -10
  195. package/src/components/SectionHeading/SectionHeading.module.css +13 -1
  196. package/src/components/SectionHeading/SectionHeading.tsx +24 -7
  197. package/src/components/Statistics/Statistics.tsx +14 -14
  198. package/src/components/Summary/Summary.module.css +1 -1
  199. package/src/components/Summary/Summary.tsx +18 -11
  200. package/src/components/index.ts +14 -11
  201. package/versions.json +1 -0
  202. package/dist/_shared/cjs/SectionHeading-L2EpTQ79.js +0 -25
  203. package/dist/_shared/cjs/tslib.es6-DBA0GFPJ.js +0 -48
  204. package/dist/_shared/esm/SectionHeading-C70XNhqJ.js +0 -23
  205. package/dist/_shared/esm/tslib.es6-Cv15O4Nx.js +0 -46
  206. package/dist/types/components/BannerWithTabs/BannerWithTabs.d.ts +0 -17
  207. package/dist/types/components/CopyLead/types/copy-lead-list-item.d.ts +0 -6
  208. package/dist/types/components/DownloadList/DownloadList.d.ts +0 -10
  209. package/dist/types/components/Highlights/types/highlight-list-item.d.ts +0 -10
  210. package/dist/types/components/index.d.ts +0 -11
  211. /package/dist/types/{components → cjs/components}/Accordion/index.d.ts +0 -0
  212. /package/dist/types/{components → cjs/components}/Author/index.d.ts +0 -0
  213. /package/dist/types/{components → cjs/components}/BannerWithTabs/index.d.ts +0 -0
  214. /package/dist/types/{components → cjs/components}/CopyLead/CopyLead.d.ts +0 -0
  215. /package/dist/types/{components → cjs/components}/CopyLead/components/Button/Button.d.ts +0 -0
  216. /package/dist/types/{components → cjs/components}/CopyLead/components/Button/index.d.ts +0 -0
  217. /package/dist/types/{components → cjs/components}/CopyLead/components/Column/Column.d.ts +0 -0
  218. /package/dist/types/{components → cjs/components}/CopyLead/components/Column/index.d.ts +0 -0
  219. /package/dist/types/{components → cjs/components}/CopyLead/components/Container/Container.d.ts +0 -0
  220. /package/dist/types/{components → cjs/components}/CopyLead/components/Container/index.d.ts +0 -0
  221. /package/dist/types/{components → cjs/components}/CopyLead/components/IconList/IconList.d.ts +0 -0
  222. /package/dist/types/{components → cjs/components}/CopyLead/components/IconList/index.d.ts +0 -0
  223. /package/dist/types/{components → cjs/components}/CopyLead/components/Image/Image.d.ts +0 -0
  224. /package/dist/types/{components → cjs/components}/CopyLead/components/Image/index.d.ts +0 -0
  225. /package/dist/types/{components → cjs/components}/CopyLead/components/MediaContent/index.d.ts +0 -0
  226. /package/dist/types/{components → cjs/components}/CopyLead/index.d.ts +0 -0
  227. /package/dist/types/{components → cjs/components}/CopyLead/templates/Content/Content.d.ts +0 -0
  228. /package/dist/types/{components → cjs/components}/CopyLead/templates/Content/index.d.ts +0 -0
  229. /package/dist/types/{components → cjs/components}/CopyLead/templates/Media/index.d.ts +0 -0
  230. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-button.d.ts +0 -0
  231. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-image.d.ts +0 -0
  232. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-transcript-link.d.ts +0 -0
  233. /package/dist/types/{components → cjs/components}/CopyLead/types/index.d.ts +0 -0
  234. /package/dist/types/{components → cjs/components}/DownloadList/index.d.ts +0 -0
  235. /package/dist/types/{components → cjs/components}/FeaturePost/components/Image/Image.d.ts +0 -0
  236. /package/dist/types/{components → cjs/components}/FeaturePost/components/Image/index.d.ts +0 -0
  237. /package/dist/types/{components → cjs/components}/FeaturePost/index.d.ts +0 -0
  238. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -0
  239. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-cta-footer.d.ts +0 -0
  240. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-image.d.ts +0 -0
  241. /package/dist/types/{components → cjs/components}/FeaturePost/types/index.d.ts +0 -0
  242. /package/dist/types/{components → cjs/components}/Highlights/components/HighlightList/HighlightList.d.ts +0 -0
  243. /package/dist/types/{components → cjs/components}/Highlights/index.d.ts +0 -0
  244. /package/dist/types/{components → cjs/components}/PromoListing/index.d.ts +0 -0
  245. /package/dist/types/{components → cjs/components}/Quote/Quote.d.ts +0 -0
  246. /package/dist/types/{components → cjs/components}/Quote/index.d.ts +0 -0
  247. /package/dist/types/{components → cjs/components}/SectionHeading/index.d.ts +0 -0
  248. /package/dist/types/{components → cjs/components}/Statistics/Statistics.d.ts +0 -0
  249. /package/dist/types/{components → cjs/components}/Statistics/helpers/get-link-props.d.ts +0 -0
  250. /package/dist/types/{components → cjs/components}/Statistics/index.d.ts +0 -0
  251. /package/dist/types/{components → cjs/components}/Statistics/types/statistic-link.d.ts +0 -0
  252. /package/dist/types/{components → cjs/components}/Statistics/types/statistic.d.ts +0 -0
  253. /package/dist/types/{components → cjs/components}/Summary/index.d.ts +0 -0
  254. /package/dist/types/{index.d.ts → cjs/index.d.ts} +0 -0
@@ -0,0 +1,85 @@
1
+ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
+ import React, { useState, useRef, useEffect } from 'react';
3
+ import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
4
+ import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
5
+ import { useMediaQuery } from '@arc-ui/components/use-media-query';
6
+ import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-B89aR7nq.js';
7
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
8
+ import { InformationCard, VerticalSpace, ButtonV2, VisuallyHidden } from '@arc-ui/components';
9
+ import '@arc-ui/components/Heading';
10
+ import '@arc-ui/components/Text';
11
+ import '@arc-ui/components/VerticalSpace';
12
+ import '@arc-ui/components/Image';
13
+
14
+ var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
15
+
16
+ /**
17
+ * Use `ProductNavigation` to give a collection of product information cards collected within a grid that has optional show/hide capability
18
+ */
19
+ var ProductNavigation = function (_a) {
20
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content, _b = _a.hideButton, hideButton = _b === void 0 ? false : _b, productList = _a.productList, _c = _a.defaultExpanded, defaultExpanded = _c === void 0 ? false : _c, minHeight = _a.minHeight, _d = _a.cardsToDisplay, cardsToDisplay = _d === void 0 ? 3 : _d, _e = _a.listIncrement, listIncrement = _e === void 0 ? 6 : _e, onClickMore = _a.onClickMore, onClickLess = _a.onClickLess, _f = _a.hideShowLess, hideShowLess = _f === void 0 ? false : _f, isLoading = _a.isLoading, image = _a.image, props = __rest(_a, ["heading", "headingLevel", "content", "hideButton", "productList", "defaultExpanded", "minHeight", "cardsToDisplay", "listIncrement", "onClickMore", "onClickLess", "hideShowLess", "isLoading", "image"]);
21
+ var _g = useState(false), hideLessButton = _g[0], setHideLessButton = _g[1];
22
+ var _h = useState(cardsToDisplay), skipLinkCard = _h[0], setSkipLinkCard = _h[1];
23
+ var _j = useState(productList.slice(0, cardsToDisplay)), displayList = _j[0], setDisplayList = _j[1];
24
+ var cardRef = useRef(null);
25
+ useEffect(function () {
26
+ if (defaultExpanded) {
27
+ setDisplayList(productList);
28
+ }
29
+ }, []);
30
+ var moveFocus = function () {
31
+ var _a;
32
+ (_a = cardRef.current) === null || _a === void 0 ? void 0 : _a.focus();
33
+ };
34
+ var clickController = function () {
35
+ // show more / current list length + increment
36
+ if (displayList.length < productList.length) {
37
+ if (onClickMore)
38
+ onClickMore();
39
+ setSkipLinkCard(displayList.length);
40
+ setDisplayList(productList.slice(0, displayList.length + listIncrement));
41
+ }
42
+ // show less / reset to original list length
43
+ else {
44
+ if (onClickLess)
45
+ onClickLess();
46
+ setSkipLinkCard(cardsToDisplay);
47
+ setDisplayList(productList.slice(0, cardsToDisplay));
48
+ }
49
+ // hide "show less" button option when fully expanded
50
+ if (hideShowLess &&
51
+ displayList.length + listIncrement >= productList.length) {
52
+ setHideLessButton(true);
53
+ }
54
+ };
55
+ var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
56
+ return (React.createElement("div", __assign({}, filterDataAttrs(props)),
57
+ React.createElement(SectionHeading, { isPadded: true, "data-testid": "ProductNavigation-header", heading: heading, headingLevel: headingLevel, content: content, image: image }),
58
+ React.createElement("ul", { className: classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (_a, i) {
59
+ var label = _a.label, href = _a.href, heading = _a.heading, text = _a.text;
60
+ return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
61
+ React.createElement(InformationCard, { button: {
62
+ label: label,
63
+ href: href,
64
+ }, minHeight: minHeight, heading: heading, headingLevel: "2", text: text })));
65
+ })),
66
+ React.createElement(VerticalSpace, { size: "40" }),
67
+ React.createElement("div", { style: { display: "flex" } },
68
+ !hideButton && !hideLessButton && (React.createElement(ButtonV2, { label: displayList.length < productList.length
69
+ ? "Show more"
70
+ : "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
71
+ displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
72
+ React.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
73
+ React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
74
+ React.createElement(VisuallyHidden, null,
75
+ React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
76
+ React.createElement("p", null,
77
+ "Total products listed ",
78
+ displayList.length,
79
+ ". Total products hidden",
80
+ " ",
81
+ productList.length - displayList.length,
82
+ "."))))));
83
+ };
84
+
85
+ export { ProductNavigation };
@@ -0,0 +1 @@
1
+ .ProductNavigation-module_product-navigation-grid__RzFq8{display:grid;grid-auto-rows:1fr;grid-template-columns:repeat(1,1fr);grid-gap:24px;list-style:none;margin:0;max-width:1216px;padding:0}@media (min-width:636px){.ProductNavigation-module_product-navigation-grid__RzFq8{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.ProductNavigation-module_product-navigation-grid__RzFq8{grid-template-columns:repeat(3,1fr)}}@media (min-width:1280px){.ProductNavigation-module_product-navigation-grid__RzFq8{grid-gap:32px}}.ProductNavigation-module_productNavigation-skipLink__fy8ZJ{position:absolute;margin-top:56px;width:calc(100% - 32px);scale:0}@media (min-width:768px){.ProductNavigation-module_productNavigation-skipLink__fy8ZJ{position:static;position:initial;margin-top:0;width:auto;margin-left:12px;scale:0}}.ProductNavigation-module_productNavigation-skipLink__fy8ZJ[focus-within]{scale:1}.ProductNavigation-module_productNavigation-skipLink__fy8ZJ:focus-within{scale:1}
@@ -1,20 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
- var index_es = require('../_shared/cjs/index.es-X428Cm3N.js');
7
- var Carousel = require('@arc-ui/components/dist/Carousel');
8
- var useMediaQuery = require('@arc-ui/components/dist/use-media-query');
9
- var SectionHeading = require('../_shared/cjs/SectionHeading-L2EpTQ79.js');
10
- var MediaCard = require('@arc-ui/components/dist/MediaCard');
11
- var ImpactCard = require('@arc-ui/components/dist/ImpactCard');
12
- var InformationCard = require('@arc-ui/components/dist/InformationCard');
13
- var TypographyCard = require('@arc-ui/components/dist/TypographyCard');
6
+ var index_es = require('../_shared/cjs/index.es-b6s9A4Ft.js');
7
+ var Carousel = require('@arc-ui/components/Carousel');
8
+ var useMediaQuery = require('@arc-ui/components/use-media-query');
9
+ var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
10
+ var MediaCard = require('@arc-ui/components/MediaCard');
11
+ var ImpactCard = require('@arc-ui/components/ImpactCard');
12
+ var InformationCard = require('@arc-ui/components/InformationCard');
13
+ var TypographyCard = require('@arc-ui/components/TypographyCard');
14
14
  require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
15
- require('@arc-ui/components/dist/Heading');
16
- require('@arc-ui/components/dist/Text');
17
- require('@arc-ui/components/dist/VerticalSpace');
15
+ require('@arc-ui/components/Heading');
16
+ require('@arc-ui/components/Text');
17
+ require('@arc-ui/components/VerticalSpace');
18
+ require('@arc-ui/components/Image');
18
19
 
19
20
  var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","promoListingContainer":"PromoListing-module_promoListingContainer__vwez-","cardGrid":"PromoListing-module_cardGrid__llf73","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid2Columns":"PromoListing-module_cardGrid2Columns__qPLQk","cardGrid3Cards":"PromoListing-module_cardGrid3Cards__VKWMs","cardGrid5Cards":"PromoListing-module_cardGrid5Cards__ywl5k","cardGrid3Columns":"PromoListing-module_cardGrid3Columns__g0Xru","cardGrid4Cards":"PromoListing-module_cardGrid4Cards__5Bv5u","cardGrid2Cards":"PromoListing-module_cardGrid2Cards__wDc4S"};
20
21
 
@@ -1,18 +1,19 @@
1
- import { a as __assign } from '../_shared/esm/tslib.es6-Cv15O4Nx.js';
1
+ import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
2
  import React, { useId } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
4
- import { A as ArcSizeBreakpointsL } from '../_shared/esm/index.es-BzmvPxje.js';
5
- import { Carousel } from '@arc-ui/components/dist/Carousel';
6
- import { useMediaQuery } from '@arc-ui/components/dist/use-media-query';
7
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-C70XNhqJ.js';
8
- import { MediaCard } from '@arc-ui/components/dist/MediaCard';
9
- import { ImpactCard } from '@arc-ui/components/dist/ImpactCard';
10
- import { InformationCard } from '@arc-ui/components/dist/InformationCard';
11
- import { TypographyCard } from '@arc-ui/components/dist/TypographyCard';
4
+ import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-B89aR7nq.js';
5
+ import { Carousel } from '@arc-ui/components/Carousel';
6
+ import { useMediaQuery } from '@arc-ui/components/use-media-query';
7
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
8
+ import { MediaCard } from '@arc-ui/components/MediaCard';
9
+ import { ImpactCard } from '@arc-ui/components/ImpactCard';
10
+ import { InformationCard } from '@arc-ui/components/InformationCard';
11
+ import { TypographyCard } from '@arc-ui/components/TypographyCard';
12
12
  import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
13
- import '@arc-ui/components/dist/Heading';
14
- import '@arc-ui/components/dist/Text';
15
- import '@arc-ui/components/dist/VerticalSpace';
13
+ import '@arc-ui/components/Heading';
14
+ import '@arc-ui/components/Text';
15
+ import '@arc-ui/components/VerticalSpace';
16
+ import '@arc-ui/components/Image';
16
17
 
17
18
  var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","promoListingContainer":"PromoListing-module_promoListingContainer__vwez-","cardGrid":"PromoListing-module_cardGrid__llf73","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid2Columns":"PromoListing-module_cardGrid2Columns__qPLQk","cardGrid3Cards":"PromoListing-module_cardGrid3Cards__VKWMs","cardGrid5Cards":"PromoListing-module_cardGrid5Cards__ywl5k","cardGrid3Columns":"PromoListing-module_cardGrid3Columns__g0Xru","cardGrid4Cards":"PromoListing-module_cardGrid4Cards__5Bv5u","cardGrid2Cards":"PromoListing-module_cardGrid2Cards__wDc4S"};
18
19
 
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
6
  var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
7
- var Author = require('../_shared/cjs/Author-CAo-qryZ.js');
8
- require('@arc-ui/components/dist/Grid');
9
- require('@arc-ui/components/dist/Avatar');
10
- require('@arc-ui/components/dist/Heading');
11
- require('@arc-ui/components/dist/Text');
7
+ var Author = require('../_shared/cjs/Author-DltMey-3.js');
8
+ require('@arc-ui/components/Grid');
9
+ require('@arc-ui/components/Avatar');
10
+ require('@arc-ui/components/Heading');
11
+ require('@arc-ui/components/Text');
12
12
 
13
13
  var styles = {"blockQuote":"Quote-module_blockQuote__STj-z","quoteContent":"Quote-module_quoteContent__kWc51","quoteDefault":"Quote-module_quoteDefault__tU5db","quoteSecondary":"Quote-module_quoteSecondary__3Rk3f","quoteIcon":"Quote-module_quoteIcon__HK1TV"};
14
14
 
@@ -1,12 +1,12 @@
1
- import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-Cv15O4Nx.js';
1
+ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
2
  import React from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
4
4
  import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
5
- import { A as Author } from '../_shared/esm/Author-Bx-cE9Pz.js';
6
- import '@arc-ui/components/dist/Grid';
7
- import '@arc-ui/components/dist/Avatar';
8
- import '@arc-ui/components/dist/Heading';
9
- import '@arc-ui/components/dist/Text';
5
+ import { A as Author } from '../_shared/esm/Author-son1Cgke.js';
6
+ import '@arc-ui/components/Grid';
7
+ import '@arc-ui/components/Avatar';
8
+ import '@arc-ui/components/Heading';
9
+ import '@arc-ui/components/Text';
10
10
 
11
11
  var styles = {"blockQuote":"Quote-module_blockQuote__STj-z","quoteContent":"Quote-module_quoteContent__kWc51","quoteDefault":"Quote-module_quoteDefault__tU5db","quoteSecondary":"Quote-module_quoteSecondary__3Rk3f","quoteIcon":"Quote-module_quoteIcon__HK1TV"};
12
12
 
@@ -1,13 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var SectionHeading = require('../_shared/cjs/SectionHeading-L2EpTQ79.js');
4
- require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
3
+ var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
4
+ require('../_shared/cjs/tslib.es6-BxB9I209.js');
5
5
  require('react');
6
6
  require('../_shared/cjs/index-Bp6Dd2i1.js');
7
7
  require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
8
- require('@arc-ui/components/dist/Heading');
9
- require('@arc-ui/components/dist/Text');
10
- require('@arc-ui/components/dist/VerticalSpace');
8
+ require('@arc-ui/components/Heading');
9
+ require('@arc-ui/components/Text');
10
+ require('@arc-ui/components/VerticalSpace');
11
+ require('@arc-ui/components/Image');
11
12
 
12
13
 
13
14
 
@@ -1,8 +1,9 @@
1
- export { S as SectionHeading } from '../_shared/esm/SectionHeading-C70XNhqJ.js';
2
- import '../_shared/esm/tslib.es6-Cv15O4Nx.js';
1
+ export { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
2
+ import '../_shared/esm/tslib.es6-BVXMhEem.js';
3
3
  import 'react';
4
4
  import '../_shared/esm/index-BfTCfPZ1.js';
5
5
  import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
6
- import '@arc-ui/components/dist/Heading';
7
- import '@arc-ui/components/dist/Text';
8
- import '@arc-ui/components/dist/VerticalSpace';
6
+ import '@arc-ui/components/Heading';
7
+ import '@arc-ui/components/Text';
8
+ import '@arc-ui/components/VerticalSpace';
9
+ import '@arc-ui/components/Image';
@@ -1 +1 @@
1
- .SectionHeading-module_section-header--padded__0FXP2{padding-bottom:40px;width:auto}@media (min-width:636px){.SectionHeading-module_section-header--padded__0FXP2{min-width:588px;width:auto}}@media (min-width:768px){.SectionHeading-module_section-header--padded__0FXP2{min-width:720px;padding:0 186px 40px 0}}@media (min-width:1024px){.SectionHeading-module_section-header--padded__0FXP2{min-width:960px;padding:0 246px 40px 0}}@media (min-width:1280px){.SectionHeading-module_section-header--padded__0FXP2{min-width:1216px;padding:0 312px 40px 0}}
1
+ .SectionHeading-module_section-header__iB07I{padding-bottom:40px;width:auto}.SectionHeading-module_section-header--hasImage__Ka3T7{display:flex;flex-direction:column;gap:16px}@media (min-width:636px){.SectionHeading-module_section-header--padded__0FXP2{min-width:588px;width:auto}.SectionHeading-module_section-header--hasImage__Ka3T7{align-items:center;flex-direction:row;gap:32px}}@media (min-width:768px){.SectionHeading-module_section-header--padded__0FXP2{min-width:720px;padding:0 186px 40px 0}}@media (min-width:1024px){.SectionHeading-module_section-header--padded__0FXP2{min-width:960px;padding:0 246px 40px 0}}@media (min-width:1280px){.SectionHeading-module_section-header--padded__0FXP2{min-width:1216px;padding:0 312px 40px 0}}
@@ -1,16 +1,17 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
- var Columns = require('@arc-ui/components/dist/Columns');
6
- var Rule = require('@arc-ui/components/dist/Rule');
7
- var Text = require('@arc-ui/components/dist/Text');
8
- var Align = require('@arc-ui/components/dist/Align');
9
- var Heading = require('@arc-ui/components/dist/Heading');
10
- var VerticalSpace = require('@arc-ui/components/dist/VerticalSpace');
11
- var SectionHeading = require('../_shared/cjs/SectionHeading-L2EpTQ79.js');
5
+ var Columns = require('@arc-ui/components/Columns');
6
+ var Rule = require('@arc-ui/components/Rule');
7
+ var Text = require('@arc-ui/components/Text');
8
+ var Align = require('@arc-ui/components/Align');
9
+ var Heading = require('@arc-ui/components/Heading');
10
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
11
+ var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
12
12
  require('../_shared/cjs/index-Bp6Dd2i1.js');
13
13
  require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
14
+ require('@arc-ui/components/Image');
14
15
 
15
16
  var styles = {"list":"Statistics-module_list__BI-eQ","mutedText":"Statistics-module_mutedText__MR1JM","statWrapper":"Statistics-module_statWrapper__83OnM"};
16
17
 
@@ -27,10 +28,10 @@ var Statistics = function (_a) {
27
28
  var headingLevel = _a.headingLevel, heading = _a.heading, content = _a.content, statistics = _a.statistics;
28
29
  var id = React.useId();
29
30
  return (React.createElement(Columns.Columns, null,
30
- React.createElement(Columns.Columns.Col, { spanM: 9 },
31
+ React.createElement(Columns.ColumnsCol, { spanM: 9 },
31
32
  React.createElement(SectionHeading.SectionHeading, { heading: heading, headingLevel: headingLevel, content: content }),
32
33
  React.createElement(VerticalSpace.VerticalSpace, { size: "16" })),
33
- React.createElement(Columns.Columns.Col, { spanL: 9 },
34
+ React.createElement(Columns.ColumnsCol, { spanL: 9 },
34
35
  React.createElement("ul", { className: styles.list }, statistics.map(function (_a, i) {
35
36
  var stat = _a.stat, copy = _a.copy, link = _a.link, source = _a.source, sourceUrl = _a.sourceUrl;
36
37
  return (React.createElement("li", { key: "statistic-".concat(id, "-").concat(i) },
@@ -39,11 +40,11 @@ var Statistics = function (_a) {
39
40
  React.createElement(Rule.Rule, null),
40
41
  React.createElement(VerticalSpace.VerticalSpace, { size: "24", sizeS: "32", sizeXL: "40" }))),
41
42
  React.createElement(Columns.Columns, null,
42
- React.createElement(Columns.Columns.Col, { spanS: 6, spanM: 8 },
43
+ React.createElement(Columns.ColumnsCol, { spanS: 6, spanM: 8 },
43
44
  React.createElement(Align.Align, { vertical: "center" },
44
45
  React.createElement("div", { className: styles.statWrapper },
45
46
  React.createElement(Heading.Heading, { color: "brand", size: "xxl" }, stat)))),
46
- React.createElement(Columns.Columns.Col, { spanS: 6, spanM: 4 },
47
+ React.createElement(Columns.ColumnsCol, { spanS: 6, spanM: 4 },
47
48
  React.createElement(Text.Text, null, copy),
48
49
  link && (React.createElement(React.Fragment, null,
49
50
  React.createElement(VerticalSpace.VerticalSpace, { size: "12" }),
@@ -1,14 +1,15 @@
1
- import { a as __assign } from '../_shared/esm/tslib.es6-Cv15O4Nx.js';
1
+ import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
2
  import React, { useId } from 'react';
3
- import { Columns } from '@arc-ui/components/dist/Columns';
4
- import { Rule } from '@arc-ui/components/dist/Rule';
5
- import { Text } from '@arc-ui/components/dist/Text';
6
- import { Align } from '@arc-ui/components/dist/Align';
7
- import { Heading } from '@arc-ui/components/dist/Heading';
8
- import { VerticalSpace } from '@arc-ui/components/dist/VerticalSpace';
9
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-C70XNhqJ.js';
3
+ import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
4
+ import { Rule } from '@arc-ui/components/Rule';
5
+ import { Text } from '@arc-ui/components/Text';
6
+ import { Align } from '@arc-ui/components/Align';
7
+ import { Heading } from '@arc-ui/components/Heading';
8
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
9
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
10
10
  import '../_shared/esm/index-BfTCfPZ1.js';
11
11
  import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
12
+ import '@arc-ui/components/Image';
12
13
 
13
14
  var styles = {"list":"Statistics-module_list__BI-eQ","mutedText":"Statistics-module_mutedText__MR1JM","statWrapper":"Statistics-module_statWrapper__83OnM"};
14
15
 
@@ -25,10 +26,10 @@ var Statistics = function (_a) {
25
26
  var headingLevel = _a.headingLevel, heading = _a.heading, content = _a.content, statistics = _a.statistics;
26
27
  var id = useId();
27
28
  return (React.createElement(Columns, null,
28
- React.createElement(Columns.Col, { spanM: 9 },
29
+ React.createElement(ColumnsCol, { spanM: 9 },
29
30
  React.createElement(SectionHeading, { heading: heading, headingLevel: headingLevel, content: content }),
30
31
  React.createElement(VerticalSpace, { size: "16" })),
31
- React.createElement(Columns.Col, { spanL: 9 },
32
+ React.createElement(ColumnsCol, { spanL: 9 },
32
33
  React.createElement("ul", { className: styles.list }, statistics.map(function (_a, i) {
33
34
  var stat = _a.stat, copy = _a.copy, link = _a.link, source = _a.source, sourceUrl = _a.sourceUrl;
34
35
  return (React.createElement("li", { key: "statistic-".concat(id, "-").concat(i) },
@@ -37,11 +38,11 @@ var Statistics = function (_a) {
37
38
  React.createElement(Rule, null),
38
39
  React.createElement(VerticalSpace, { size: "24", sizeS: "32", sizeXL: "40" }))),
39
40
  React.createElement(Columns, null,
40
- React.createElement(Columns.Col, { spanS: 6, spanM: 8 },
41
+ React.createElement(ColumnsCol, { spanS: 6, spanM: 8 },
41
42
  React.createElement(Align, { vertical: "center" },
42
43
  React.createElement("div", { className: styles.statWrapper },
43
44
  React.createElement(Heading, { color: "brand", size: "xxl" }, stat)))),
44
- React.createElement(Columns.Col, { spanS: 6, spanM: 4 },
45
+ React.createElement(ColumnsCol, { spanS: 6, spanM: 4 },
45
46
  React.createElement(Text, null, copy),
46
47
  link && (React.createElement(React.Fragment, null,
47
48
  React.createElement(VerticalSpace, { size: "12" }),
@@ -1,20 +1,21 @@
1
1
  'use strict';
2
2
 
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
3
4
  var React = require('react');
4
- var index_es = require('../_shared/cjs/index.es-X428Cm3N.js');
5
- var Heading = require('@arc-ui/components/dist/Heading');
6
- var Text = require('@arc-ui/components/dist/Text');
7
- var Box = require('@arc-ui/components/dist/Box');
8
- var Rule = require('@arc-ui/components/dist/Rule');
9
- var VerticalSpace = require('@arc-ui/components/dist/VerticalSpace');
10
- var useMediaQuery = require('@arc-ui/components/dist/use-media-query');
5
+ var index_es = require('../_shared/cjs/index.es-b6s9A4Ft.js');
6
+ var Heading = require('@arc-ui/components/Heading');
7
+ var Text = require('@arc-ui/components/Text');
8
+ var Box = require('@arc-ui/components/Box');
9
+ var Rule = require('@arc-ui/components/Rule');
10
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
11
+ var useMediaQuery = require('@arc-ui/components/use-media-query');
11
12
 
12
13
  var styles = {"ruleContainer":"Summary-module_ruleContainer__ydWlG","row":"Summary-module_row__SKV--"};
13
14
 
14
15
  var Summary = function (_a) {
15
- var content = _a.content, _b = _a.headingLevel, headingLevel = _b === void 0 ? "3" : _b;
16
- var isMinWidthArcBreakpointS = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsS, ")"));
17
- return (React.createElement(Box.Box, { isBorderRadius: true, borderWidth: "thin", padding: "24" },
16
+ var content = _a.content, _b = _a.noBorder, noBorder = _b === void 0 ? false : _b, _c = _a.headingLevel, headingLevel = _c === void 0 ? "3" : _c;
17
+ var isMinWidthArcBreakpointM = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsM, ")"));
18
+ return (React.createElement(Box.Box, tslib_es6.__assign({ isBorderRadius: true }, (!noBorder ? { borderWidth: "thin" } : { elevationLevel: "1" }), { padding: "24" }),
18
19
  React.createElement("div", { className: styles.row }, content.map(function (_a, i) {
19
20
  var heading = _a.heading, text = _a.text;
20
21
  return (React.createElement(React.Fragment, null,
@@ -23,7 +24,7 @@ var Summary = function (_a) {
23
24
  React.createElement(VerticalSpace.VerticalSpace, { size: "8" }),
24
25
  React.createElement(Text.Text, { size: "s" }, text)),
25
26
  i !== content.length - 1 && (React.createElement("div", { className: styles.ruleContainer },
26
- React.createElement(Rule.Rule, { orientation: isMinWidthArcBreakpointS ? "vertical" : "horizontal" })))));
27
+ React.createElement(Rule.Rule, { orientation: isMinWidthArcBreakpointM ? "vertical" : "horizontal" })))));
27
28
  }))));
28
29
  };
29
30
 
@@ -1,18 +1,19 @@
1
+ import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
1
2
  import React from 'react';
2
- import { a as ArcSizeBreakpointsS } from '../_shared/esm/index.es-BzmvPxje.js';
3
- import { Heading } from '@arc-ui/components/dist/Heading';
4
- import { Text } from '@arc-ui/components/dist/Text';
5
- import { Box } from '@arc-ui/components/dist/Box';
6
- import { Rule } from '@arc-ui/components/dist/Rule';
7
- import { VerticalSpace } from '@arc-ui/components/dist/VerticalSpace';
8
- import { useMediaQuery } from '@arc-ui/components/dist/use-media-query';
3
+ import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-B89aR7nq.js';
4
+ import { Heading } from '@arc-ui/components/Heading';
5
+ import { Text } from '@arc-ui/components/Text';
6
+ import { Box } from '@arc-ui/components/Box';
7
+ import { Rule } from '@arc-ui/components/Rule';
8
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
9
+ import { useMediaQuery } from '@arc-ui/components/use-media-query';
9
10
 
10
11
  var styles = {"ruleContainer":"Summary-module_ruleContainer__ydWlG","row":"Summary-module_row__SKV--"};
11
12
 
12
13
  var Summary = function (_a) {
13
- var content = _a.content, _b = _a.headingLevel, headingLevel = _b === void 0 ? "3" : _b;
14
- var isMinWidthArcBreakpointS = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsS, ")"));
15
- return (React.createElement(Box, { isBorderRadius: true, borderWidth: "thin", padding: "24" },
14
+ var content = _a.content, _b = _a.noBorder, noBorder = _b === void 0 ? false : _b, _c = _a.headingLevel, headingLevel = _c === void 0 ? "3" : _c;
15
+ var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
16
+ return (React.createElement(Box, __assign({ isBorderRadius: true }, (!noBorder ? { borderWidth: "thin" } : { elevationLevel: "1" }), { padding: "24" }),
16
17
  React.createElement("div", { className: styles.row }, content.map(function (_a, i) {
17
18
  var heading = _a.heading, text = _a.text;
18
19
  return (React.createElement(React.Fragment, null,
@@ -21,7 +22,7 @@ var Summary = function (_a) {
21
22
  React.createElement(VerticalSpace, { size: "8" }),
22
23
  React.createElement(Text, { size: "s" }, text)),
23
24
  i !== content.length - 1 && (React.createElement("div", { className: styles.ruleContainer },
24
- React.createElement(Rule, { orientation: isMinWidthArcBreakpointS ? "vertical" : "horizontal" })))));
25
+ React.createElement(Rule, { orientation: isMinWidthArcBreakpointM ? "vertical" : "horizontal" })))));
25
26
  }))));
26
27
  };
27
28
 
@@ -1 +1 @@
1
- .Summary-module_ruleContainer__ydWlG{flex:0 1 auto;padding:24px}.Summary-module_ruleContainer__ydWlG .arc-Rule{margin:0}@media (min-width:636px){.Summary-module_row__SKV--{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr)}}@media (min-width:1024px){.Summary-module_ruleContainer__ydWlG{padding:12px 48px}.Summary-module_row__SKV--{padding:0 24px}}
1
+ .Summary-module_ruleContainer__ydWlG{flex:0 1 auto;padding:24px}.Summary-module_ruleContainer__ydWlG .arc-Rule{margin:0}@media (min-width:768px){.Summary-module_row__SKV--{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr)}}@media (min-width:1024px){.Summary-module_ruleContainer__ydWlG{padding:12px 48px}.Summary-module_row__SKV--{padding:0 24px}}
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-DBA0GFPJ.js');
3
+ var tslib_es6 = require('./tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
5
  var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.js');
6
- var Grid = require('@arc-ui/components/dist/Grid');
7
- var Avatar = require('@arc-ui/components/dist/Avatar');
8
- var Heading = require('@arc-ui/components/dist/Heading');
9
- var Text = require('@arc-ui/components/dist/Text');
6
+ var Grid = require('@arc-ui/components/Grid');
7
+ var Avatar = require('@arc-ui/components/Avatar');
8
+ var Heading = require('@arc-ui/components/Heading');
9
+ var Text = require('@arc-ui/components/Text');
10
10
 
11
11
  var styles = {"authorContent":"Author-module_authorContent__TBY7b","largeAvatar":"Author-module_largeAvatar__Vco03"};
12
12
 
@@ -17,11 +17,11 @@ var Author = function (_a) {
17
17
  var isLargeAvatar = avatar.size === "l" || avatar.size === "xl";
18
18
  return (React.createElement("div", tslib_es6.__assign({}, filterDataAttrs.filterDataAttrs(props)),
19
19
  React.createElement(Grid.Grid, { isFluid: true, isGutterless: true },
20
- React.createElement(Grid.Grid.Row, { align: "center" },
21
- React.createElement(Grid.Grid.Col, { xs: isLargeAvatar ? 12 : "auto" },
20
+ React.createElement(Grid.GridRow, { align: "center" },
21
+ React.createElement(Grid.GridCol, { xs: isLargeAvatar ? 12 : "auto" },
22
22
  React.createElement("div", { className: isLargeAvatar ? styles.largeAvatar : undefined },
23
23
  React.createElement(Avatar.Avatar, tslib_es6.__assign({}, avatar)))),
24
- React.createElement(Grid.Grid.Col, null,
24
+ React.createElement(Grid.GridCol, null,
25
25
  React.createElement("div", { className: "".concat(!isLargeAvatar && styles.authorContent), "data-testid": "authorContent" },
26
26
  React.createElement(Heading.Heading, { size: "xs" }, name),
27
27
  React.createElement(Text.Text, { size: "s" }, title)))))));
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ var tslib_es6 = require('./tslib.es6-BxB9I209.js');
4
+ var React = require('react');
5
+ var index = require('./index-Bp6Dd2i1.js');
6
+ var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.js');
7
+ var Heading = require('@arc-ui/components/Heading');
8
+ var Text = require('@arc-ui/components/Text');
9
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
10
+ var Image = require('@arc-ui/components/Image');
11
+
12
+ var styles = {"section-header":"SectionHeading-module_section-header__iB07I","section-header--hasImage":"SectionHeading-module_section-header--hasImage__Ka3T7","section-header--padded":"SectionHeading-module_section-header--padded__0FXP2"};
13
+
14
+ var SectionHeading = function (_a) {
15
+ var _b, _c;
16
+ var heading = _a.heading, content = _a.content, id = _a.id, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, image = _a.image, props = tslib_es6.__rest(_a, ["heading", "content", "id", "isPadded", "headingLevel", "image"]);
17
+ return (React.createElement("div", tslib_es6.__assign({ className: index.classNames((_b = {},
18
+ _b[styles["section-header"]] = true,
19
+ _b[styles["section-header--padded"]] = isPadded,
20
+ _b)) }, filterDataAttrs.filterDataAttrs(props)),
21
+ React.createElement("div", { className: index.classNames((_c = {}, _c[styles["section-header--hasImage"]] = image, _c)) },
22
+ image && (React.createElement("div", null,
23
+ React.createElement(Image.Image, tslib_es6.__assign({}, image, { width: 68, fit: "cover" })))),
24
+ React.createElement(Heading.Heading, { level: headingLevel, id: id, size: "xl" }, heading)),
25
+ content && (React.createElement(React.Fragment, null,
26
+ React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
27
+ React.createElement(Text.Text, { size: "l", elementType: "p" }, content)))));
28
+ };
29
+
30
+ exports.SectionHeading = SectionHeading;
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * Do not edit directly
5
- * Generated on Fri, 29 Nov 2024 12:01:05 GMT
5
+ * Generated on Fri, 25 Jul 2025 07:43:07 GMT
6
6
  */
7
7
  var ArcSizeBreakpointsS = "636px";
8
8
  var ArcSizeBreakpointsM = "768px";
@@ -0,0 +1,99 @@
1
+ 'use strict';
2
+
3
+ /******************************************************************************
4
+ Copyright (c) Microsoft Corporation.
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
16
+ ***************************************************************************** */
17
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
18
+
19
+
20
+ exports.__assign = function() {
21
+ exports.__assign = Object.assign || function __assign(t) {
22
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
23
+ s = arguments[i];
24
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
25
+ }
26
+ return t;
27
+ };
28
+ return exports.__assign.apply(this, arguments);
29
+ };
30
+
31
+ function __rest(s, e) {
32
+ var t = {};
33
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
34
+ t[p] = s[p];
35
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
36
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
37
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
38
+ t[p[i]] = s[p[i]];
39
+ }
40
+ return t;
41
+ }
42
+
43
+ function __awaiter(thisArg, _arguments, P, generator) {
44
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
45
+ return new (P || (P = Promise))(function (resolve, reject) {
46
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
47
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
48
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
49
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
50
+ });
51
+ }
52
+
53
+ function __generator(thisArg, body) {
54
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
55
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
56
+ function verb(n) { return function (v) { return step([n, v]); }; }
57
+ function step(op) {
58
+ if (f) throw new TypeError("Generator is already executing.");
59
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
60
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
61
+ if (y = 0, t) op = [op[0] & 2, t.value];
62
+ switch (op[0]) {
63
+ case 0: case 1: t = op; break;
64
+ case 4: _.label++; return { value: op[1], done: false };
65
+ case 5: _.label++; y = op[1]; op = [0]; continue;
66
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
67
+ default:
68
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
69
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
70
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
71
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
72
+ if (t[2]) _.ops.pop();
73
+ _.trys.pop(); continue;
74
+ }
75
+ op = body.call(thisArg, _);
76
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
77
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
78
+ }
79
+ }
80
+
81
+ function __spreadArray(to, from, pack) {
82
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
83
+ if (ar || !(i in from)) {
84
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
85
+ ar[i] = from[i];
86
+ }
87
+ }
88
+ return to.concat(ar || Array.prototype.slice.call(from));
89
+ }
90
+
91
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
92
+ var e = new Error(message);
93
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
94
+ };
95
+
96
+ exports.__awaiter = __awaiter;
97
+ exports.__generator = __generator;
98
+ exports.__rest = __rest;
99
+ exports.__spreadArray = __spreadArray;