@arc-ui/community-components 2.0.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/.turbo/turbo-build.log +40 -10
  2. package/CHANGELOG.md +19 -0
  3. package/{dist/Accordion/Accordion.cjs.js → lib/Accordion/Accordion.cjs} +4 -4
  4. package/lib/Accordion/Accordion.mjs +10 -0
  5. package/{dist/ArticleSidebar/ArticleSidebar.cjs.js → lib/ArticleSidebar/ArticleSidebar.cjs} +3 -3
  6. package/{dist/ArticleSidebar/ArticleSidebar.esm.js → lib/ArticleSidebar/ArticleSidebar.mjs} +3 -3
  7. package/{dist/Author/Author.cjs.js → lib/Author/Author.cjs} +3 -3
  8. package/lib/Author/Author.mjs +8 -0
  9. package/{dist/BannerWithTabs/BannerWithTabs.cjs.js → lib/BannerWithTabs/BannerWithTabs.cjs} +4 -4
  10. package/{dist/BannerWithTabs/BannerWithTabs.esm.js → lib/BannerWithTabs/BannerWithTabs.mjs} +4 -4
  11. package/{dist/CopyLead/CopyLead.cjs.js → lib/CopyLead/CopyLead.cjs} +16 -9
  12. package/{dist/CopyLead/CopyLead.esm.js → lib/CopyLead/CopyLead.mjs} +16 -9
  13. package/{dist/DownloadList/DownloadList.cjs.js → lib/DownloadList/DownloadList.cjs} +4 -4
  14. package/{dist/DownloadList/DownloadList.esm.js → lib/DownloadList/DownloadList.mjs} +4 -4
  15. package/{dist/FAQs/FAQs.cjs.js → lib/FAQs/FAQs.cjs} +17 -12
  16. package/{dist/FAQs/FAQs.esm.js → lib/FAQs/FAQs.mjs} +17 -12
  17. package/lib/FAQs/styles.css +1 -0
  18. package/{dist/FeaturePost/FeaturePost.cjs.js → lib/FeaturePost/FeaturePost.cjs} +5 -5
  19. package/{dist/FeaturePost/FeaturePost.esm.js → lib/FeaturePost/FeaturePost.mjs} +5 -5
  20. package/{dist/Highlights/Highlights.cjs.js → lib/Highlights/Highlights.cjs} +37 -12
  21. package/{dist/Highlights/Highlights.esm.js → lib/Highlights/Highlights.mjs} +37 -12
  22. package/{dist/ProductNavigation/ProductNavigation.cjs.js → lib/ProductNavigation/ProductNavigation.cjs} +5 -5
  23. package/{dist/ProductNavigation/ProductNavigation.esm.js → lib/ProductNavigation/ProductNavigation.mjs} +5 -5
  24. package/lib/PromoListing/PromoListing.cjs +65 -0
  25. package/lib/PromoListing/PromoListing.mjs +63 -0
  26. package/lib/PromoListing/styles.css +1 -0
  27. package/{dist/Quote/Quote.cjs.js → lib/Quote/Quote.cjs} +4 -4
  28. package/{dist/Quote/Quote.esm.js → lib/Quote/Quote.mjs} +4 -4
  29. package/{dist/SectionHeading/SectionHeading.cjs.js → lib/SectionHeading/SectionHeading.cjs} +4 -4
  30. package/{dist/SectionHeading/SectionHeading.esm.js → lib/SectionHeading/SectionHeading.mjs} +4 -4
  31. package/{dist/Statistics/Statistics.cjs.js → lib/Statistics/Statistics.cjs} +4 -4
  32. package/{dist/Statistics/Statistics.esm.js → lib/Statistics/Statistics.mjs} +4 -4
  33. package/{dist/Summary/Summary.cjs.js → lib/Summary/Summary.cjs} +2 -2
  34. package/{dist/Summary/Summary.esm.js → lib/Summary/Summary.mjs} +2 -2
  35. package/{dist/_shared/cjs/Accordion-Bme0aSPi.js → lib/_shared/cjs/Accordion-C4XdbGCu.cjs} +5 -5
  36. package/{dist/_shared/cjs/Author-DltMey-3.js → lib/_shared/cjs/Author-X47pv31V.cjs} +2 -2
  37. package/{dist/_shared/cjs/SectionHeading-gjCR1F6E.js → lib/_shared/cjs/SectionHeading-DepTV4JA.cjs} +3 -3
  38. package/{dist/_shared/cjs/index.es-BVxxpECB.js → lib/_shared/cjs/index.es-D11PdokQ.cjs} +1 -1
  39. package/{dist/_shared/esm/Accordion-Brmx6oxT.js → lib/_shared/esm/Accordion-Ct7RuUbx.mjs} +5 -5
  40. package/{dist/_shared/esm/Author-DpT2Pcq_.js → lib/_shared/esm/Author-CydDYCma.mjs} +2 -2
  41. package/{dist/_shared/esm/SectionHeading-DVLKN_jI.js → lib/_shared/esm/SectionHeading-BayinGP_.mjs} +3 -3
  42. package/{dist/_shared/esm/index.es-CbCdNYwG.js → lib/_shared/esm/index.es-C4PyYMjI.mjs} +1 -1
  43. package/{dist/index.js → lib/index.cjs} +92 -42
  44. package/lib/index.cjs.map +1 -0
  45. package/lib/index.d.cts +528 -0
  46. package/lib/index.d.mts +528 -0
  47. package/{dist/index.es.js → lib/index.mjs} +92 -42
  48. package/lib/index.mjs.map +1 -0
  49. package/lib/styles.css +1 -0
  50. package/package.json +28 -28
  51. package/rollup.config.js +34 -50
  52. package/src/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.tsx +4 -0
  53. package/src/components/CopyLead/components/IconList/IconList.tsx +4 -2
  54. package/src/components/CopyLead/templates/Content/Content.tsx +13 -2
  55. package/src/components/CopyLead/templates/Media/Media.tsx +5 -1
  56. package/src/components/CopyLead/utils/getListHeadingLevel.ts +6 -0
  57. package/src/components/FAQs/FAQs.module.css +4 -4
  58. package/src/components/FAQs/FAQs.tsx +12 -6
  59. package/src/components/Highlights/Highlights.tsx +65 -7
  60. package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +7 -2
  61. package/src/components/Highlights/components/HighlightList/HighlightList.tsx +4 -0
  62. package/src/components/Highlights/utils/getListHeadingLevel.ts +6 -0
  63. package/src/components/PromoListing/PromoListing.module.css +36 -55
  64. package/src/components/PromoListing/PromoListing.tsx +72 -50
  65. package/versions.json +1 -1
  66. package/dist/Accordion/Accordion.esm.js +0 -10
  67. package/dist/Author/Author.esm.js +0 -8
  68. package/dist/FAQs/styles.css +0 -1
  69. package/dist/PromoListing/PromoListing.cjs.js +0 -51
  70. package/dist/PromoListing/PromoListing.esm.js +0 -49
  71. package/dist/PromoListing/styles.css +0 -1
  72. package/dist/index.es.js.map +0 -1
  73. package/dist/index.js.map +0 -1
  74. package/dist/styles.css +0 -1
  75. package/dist/types/cjs/components/Accordion/Accordion.d.ts +0 -9
  76. package/dist/types/cjs/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +0 -11
  77. package/dist/types/cjs/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts +0 -34
  78. package/dist/types/cjs/components/Accordion/components/AccordionHeading/index.d.ts +0 -1
  79. package/dist/types/cjs/components/Accordion/index.d.ts +0 -1
  80. package/dist/types/cjs/components/ArticleSidebar/ArticleSidebar.d.ts +0 -36
  81. package/dist/types/cjs/components/ArticleSidebar/index.d.ts +0 -1
  82. package/dist/types/cjs/components/ArticleSidebar/types/link-section.d.ts +0 -11
  83. package/dist/types/cjs/components/ArticleSidebar/types/share-button.d.ts +0 -7
  84. package/dist/types/cjs/components/ArticleSidebar/types/share.d.ts +0 -8
  85. package/dist/types/cjs/components/ArticleSidebar/types/sidebar-author.d.ts +0 -4
  86. package/dist/types/cjs/components/ArticleSidebar/types/text-section.d.ts +0 -6
  87. package/dist/types/cjs/components/ArticleSidebar/types/topic.d.ts +0 -7
  88. package/dist/types/cjs/components/Author/Author.d.ts +0 -17
  89. package/dist/types/cjs/components/Author/index.d.ts +0 -1
  90. package/dist/types/cjs/components/BannerWithTabs/BannerWithTabs.d.ts +0 -38
  91. package/dist/types/cjs/components/BannerWithTabs/index.d.ts +0 -1
  92. package/dist/types/cjs/components/ContentInfoWidget/ContentInfoWidget.d.ts +0 -6
  93. package/dist/types/cjs/components/ContentInfoWidget/index.d.ts +0 -1
  94. package/dist/types/cjs/components/CopyLead/CopyLead.d.ts +0 -42
  95. package/dist/types/cjs/components/CopyLead/components/Button/Button.d.ts +0 -3
  96. package/dist/types/cjs/components/CopyLead/components/Button/index.d.ts +0 -1
  97. package/dist/types/cjs/components/CopyLead/components/Column/Column.d.ts +0 -6
  98. package/dist/types/cjs/components/CopyLead/components/Column/index.d.ts +0 -1
  99. package/dist/types/cjs/components/CopyLead/components/Container/Container.d.ts +0 -9
  100. package/dist/types/cjs/components/CopyLead/components/Container/index.d.ts +0 -1
  101. package/dist/types/cjs/components/CopyLead/components/IconList/IconList.d.ts +0 -8
  102. package/dist/types/cjs/components/CopyLead/components/IconList/index.d.ts +0 -1
  103. package/dist/types/cjs/components/CopyLead/components/Image/Image.d.ts +0 -3
  104. package/dist/types/cjs/components/CopyLead/components/Image/index.d.ts +0 -1
  105. package/dist/types/cjs/components/CopyLead/components/MediaContent/MediaContent.d.ts +0 -9
  106. package/dist/types/cjs/components/CopyLead/components/MediaContent/index.d.ts +0 -1
  107. package/dist/types/cjs/components/CopyLead/index.d.ts +0 -1
  108. package/dist/types/cjs/components/CopyLead/templates/Content/Content.d.ts +0 -10
  109. package/dist/types/cjs/components/CopyLead/templates/Content/index.d.ts +0 -1
  110. package/dist/types/cjs/components/CopyLead/templates/Media/Media.d.ts +0 -16
  111. package/dist/types/cjs/components/CopyLead/templates/Media/index.d.ts +0 -1
  112. package/dist/types/cjs/components/CopyLead/types/copy-lead-button.d.ts +0 -2
  113. package/dist/types/cjs/components/CopyLead/types/copy-lead-image.d.ts +0 -4
  114. package/dist/types/cjs/components/CopyLead/types/copy-lead-list-item.d.ts +0 -5
  115. package/dist/types/cjs/components/CopyLead/types/copy-lead-transcript-link.d.ts +0 -6
  116. package/dist/types/cjs/components/CopyLead/types/index.d.ts +0 -4
  117. package/dist/types/cjs/components/DownloadList/DownloadList.d.ts +0 -7
  118. package/dist/types/cjs/components/DownloadList/index.d.ts +0 -1
  119. package/dist/types/cjs/components/FAQs/FAQs.d.ts +0 -13
  120. package/dist/types/cjs/components/FAQs/index.d.ts +0 -1
  121. package/dist/types/cjs/components/FeaturePost/FeaturePost.d.ts +0 -45
  122. package/dist/types/cjs/components/FeaturePost/components/Image/Image.d.ts +0 -3
  123. package/dist/types/cjs/components/FeaturePost/components/Image/index.d.ts +0 -1
  124. package/dist/types/cjs/components/FeaturePost/components/MediaContent/MediaContent.d.ts +0 -15
  125. package/dist/types/cjs/components/FeaturePost/index.d.ts +0 -1
  126. package/dist/types/cjs/components/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -6
  127. package/dist/types/cjs/components/FeaturePost/types/feature-post-cta-footer.d.ts +0 -7
  128. package/dist/types/cjs/components/FeaturePost/types/feature-post-image.d.ts +0 -4
  129. package/dist/types/cjs/components/FeaturePost/types/index.d.ts +0 -3
  130. package/dist/types/cjs/components/Highlights/Highlights.d.ts +0 -17
  131. package/dist/types/cjs/components/Highlights/components/HighlightItem/HighlightItem.d.ts +0 -11
  132. package/dist/types/cjs/components/Highlights/components/HighlightList/HighlightList.d.ts +0 -9
  133. package/dist/types/cjs/components/Highlights/index.d.ts +0 -1
  134. package/dist/types/cjs/components/Highlights/types/highlight-link.d.ts +0 -5
  135. package/dist/types/cjs/components/Highlights/types/highlight-list-item.d.ts +0 -7
  136. package/dist/types/cjs/components/Highlights/types/index.d.ts +0 -2
  137. package/dist/types/cjs/components/ProductNavigation/ProductNavigation.d.ts +0 -49
  138. package/dist/types/cjs/components/ProductNavigation/index.d.ts +0 -2
  139. package/dist/types/cjs/components/ProductNavigation/types/index.d.ts +0 -1
  140. package/dist/types/cjs/components/ProductNavigation/types/product-list.d.ts +0 -6
  141. package/dist/types/cjs/components/PromoListing/PromoListing.d.ts +0 -38
  142. package/dist/types/cjs/components/PromoListing/index.d.ts +0 -1
  143. package/dist/types/cjs/components/Quote/Quote.d.ts +0 -11
  144. package/dist/types/cjs/components/Quote/index.d.ts +0 -1
  145. package/dist/types/cjs/components/SectionHeading/SectionHeading.d.ts +0 -30
  146. package/dist/types/cjs/components/SectionHeading/index.d.ts +0 -1
  147. package/dist/types/cjs/components/Statistics/Statistics.d.ts +0 -7
  148. package/dist/types/cjs/components/Statistics/helpers/get-link-props.d.ts +0 -2
  149. package/dist/types/cjs/components/Statistics/index.d.ts +0 -1
  150. package/dist/types/cjs/components/Statistics/types/statistic-link.d.ts +0 -6
  151. package/dist/types/cjs/components/Statistics/types/statistic.d.ts +0 -8
  152. package/dist/types/cjs/components/Summary/Summary.d.ts +0 -19
  153. package/dist/types/cjs/components/Summary/index.d.ts +0 -1
  154. package/dist/types/cjs/components/index.d.ts +0 -16
  155. package/dist/types/cjs/index.d.ts +0 -1
  156. package/dist/types/esm/components/Accordion/Accordion.d.ts +0 -9
  157. package/dist/types/esm/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +0 -11
  158. package/dist/types/esm/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts +0 -34
  159. package/dist/types/esm/components/Accordion/components/AccordionHeading/index.d.ts +0 -1
  160. package/dist/types/esm/components/Accordion/index.d.ts +0 -1
  161. package/dist/types/esm/components/ArticleSidebar/ArticleSidebar.d.ts +0 -36
  162. package/dist/types/esm/components/ArticleSidebar/index.d.ts +0 -1
  163. package/dist/types/esm/components/ArticleSidebar/types/link-section.d.ts +0 -11
  164. package/dist/types/esm/components/ArticleSidebar/types/share-button.d.ts +0 -7
  165. package/dist/types/esm/components/ArticleSidebar/types/share.d.ts +0 -8
  166. package/dist/types/esm/components/ArticleSidebar/types/sidebar-author.d.ts +0 -4
  167. package/dist/types/esm/components/ArticleSidebar/types/text-section.d.ts +0 -6
  168. package/dist/types/esm/components/ArticleSidebar/types/topic.d.ts +0 -7
  169. package/dist/types/esm/components/Author/Author.d.ts +0 -17
  170. package/dist/types/esm/components/Author/index.d.ts +0 -1
  171. package/dist/types/esm/components/BannerWithTabs/BannerWithTabs.d.ts +0 -38
  172. package/dist/types/esm/components/BannerWithTabs/index.d.ts +0 -1
  173. package/dist/types/esm/components/ContentInfoWidget/ContentInfoWidget.d.ts +0 -6
  174. package/dist/types/esm/components/ContentInfoWidget/index.d.ts +0 -1
  175. package/dist/types/esm/components/CopyLead/CopyLead.d.ts +0 -42
  176. package/dist/types/esm/components/CopyLead/components/Button/Button.d.ts +0 -3
  177. package/dist/types/esm/components/CopyLead/components/Button/index.d.ts +0 -1
  178. package/dist/types/esm/components/CopyLead/components/Column/Column.d.ts +0 -6
  179. package/dist/types/esm/components/CopyLead/components/Column/index.d.ts +0 -1
  180. package/dist/types/esm/components/CopyLead/components/Container/Container.d.ts +0 -9
  181. package/dist/types/esm/components/CopyLead/components/Container/index.d.ts +0 -1
  182. package/dist/types/esm/components/CopyLead/components/IconList/IconList.d.ts +0 -8
  183. package/dist/types/esm/components/CopyLead/components/IconList/index.d.ts +0 -1
  184. package/dist/types/esm/components/CopyLead/components/Image/Image.d.ts +0 -3
  185. package/dist/types/esm/components/CopyLead/components/Image/index.d.ts +0 -1
  186. package/dist/types/esm/components/CopyLead/components/MediaContent/MediaContent.d.ts +0 -9
  187. package/dist/types/esm/components/CopyLead/components/MediaContent/index.d.ts +0 -1
  188. package/dist/types/esm/components/CopyLead/index.d.ts +0 -1
  189. package/dist/types/esm/components/CopyLead/templates/Content/Content.d.ts +0 -10
  190. package/dist/types/esm/components/CopyLead/templates/Content/index.d.ts +0 -1
  191. package/dist/types/esm/components/CopyLead/templates/Media/Media.d.ts +0 -16
  192. package/dist/types/esm/components/CopyLead/templates/Media/index.d.ts +0 -1
  193. package/dist/types/esm/components/CopyLead/types/copy-lead-button.d.ts +0 -2
  194. package/dist/types/esm/components/CopyLead/types/copy-lead-image.d.ts +0 -4
  195. package/dist/types/esm/components/CopyLead/types/copy-lead-list-item.d.ts +0 -5
  196. package/dist/types/esm/components/CopyLead/types/copy-lead-transcript-link.d.ts +0 -6
  197. package/dist/types/esm/components/CopyLead/types/index.d.ts +0 -4
  198. package/dist/types/esm/components/DownloadList/DownloadList.d.ts +0 -7
  199. package/dist/types/esm/components/DownloadList/index.d.ts +0 -1
  200. package/dist/types/esm/components/FAQs/FAQs.d.ts +0 -13
  201. package/dist/types/esm/components/FAQs/index.d.ts +0 -1
  202. package/dist/types/esm/components/FeaturePost/FeaturePost.d.ts +0 -45
  203. package/dist/types/esm/components/FeaturePost/components/Image/Image.d.ts +0 -3
  204. package/dist/types/esm/components/FeaturePost/components/Image/index.d.ts +0 -1
  205. package/dist/types/esm/components/FeaturePost/components/MediaContent/MediaContent.d.ts +0 -15
  206. package/dist/types/esm/components/FeaturePost/index.d.ts +0 -1
  207. package/dist/types/esm/components/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -6
  208. package/dist/types/esm/components/FeaturePost/types/feature-post-cta-footer.d.ts +0 -7
  209. package/dist/types/esm/components/FeaturePost/types/feature-post-image.d.ts +0 -4
  210. package/dist/types/esm/components/FeaturePost/types/index.d.ts +0 -3
  211. package/dist/types/esm/components/Highlights/Highlights.d.ts +0 -17
  212. package/dist/types/esm/components/Highlights/components/HighlightItem/HighlightItem.d.ts +0 -11
  213. package/dist/types/esm/components/Highlights/components/HighlightList/HighlightList.d.ts +0 -9
  214. package/dist/types/esm/components/Highlights/index.d.ts +0 -1
  215. package/dist/types/esm/components/Highlights/types/highlight-link.d.ts +0 -5
  216. package/dist/types/esm/components/Highlights/types/highlight-list-item.d.ts +0 -7
  217. package/dist/types/esm/components/Highlights/types/index.d.ts +0 -2
  218. package/dist/types/esm/components/ProductNavigation/ProductNavigation.d.ts +0 -49
  219. package/dist/types/esm/components/ProductNavigation/index.d.ts +0 -2
  220. package/dist/types/esm/components/ProductNavigation/types/index.d.ts +0 -1
  221. package/dist/types/esm/components/ProductNavigation/types/product-list.d.ts +0 -6
  222. package/dist/types/esm/components/PromoListing/PromoListing.d.ts +0 -38
  223. package/dist/types/esm/components/PromoListing/index.d.ts +0 -1
  224. package/dist/types/esm/components/Quote/Quote.d.ts +0 -11
  225. package/dist/types/esm/components/Quote/index.d.ts +0 -1
  226. package/dist/types/esm/components/SectionHeading/SectionHeading.d.ts +0 -30
  227. package/dist/types/esm/components/SectionHeading/index.d.ts +0 -1
  228. package/dist/types/esm/components/Statistics/Statistics.d.ts +0 -7
  229. package/dist/types/esm/components/Statistics/helpers/get-link-props.d.ts +0 -2
  230. package/dist/types/esm/components/Statistics/index.d.ts +0 -1
  231. package/dist/types/esm/components/Statistics/types/statistic-link.d.ts +0 -6
  232. package/dist/types/esm/components/Statistics/types/statistic.d.ts +0 -8
  233. package/dist/types/esm/components/Summary/Summary.d.ts +0 -19
  234. package/dist/types/esm/components/Summary/index.d.ts +0 -1
  235. package/dist/types/esm/components/index.d.ts +0 -16
  236. package/dist/types/esm/index.d.ts +0 -1
  237. /package/{dist → lib}/ArticleSidebar/styles.css +0 -0
  238. /package/{dist → lib}/Author/styles.css +0 -0
  239. /package/{dist → lib}/BannerWithTabs/styles.css +0 -0
  240. /package/{dist/ContentInfoWidget/ContentInfoWidget.cjs.js → lib/ContentInfoWidget/ContentInfoWidget.cjs} +0 -0
  241. /package/{dist/ContentInfoWidget/ContentInfoWidget.esm.js → lib/ContentInfoWidget/ContentInfoWidget.mjs} +0 -0
  242. /package/{dist → lib}/ContentInfoWidget/styles.css +0 -0
  243. /package/{dist → lib}/CopyLead/styles.css +0 -0
  244. /package/{dist → lib}/DownloadList/styles.css +0 -0
  245. /package/{dist → lib}/FeaturePost/styles.css +0 -0
  246. /package/{dist → lib}/Highlights/styles.css +0 -0
  247. /package/{dist → lib}/ProductNavigation/styles.css +0 -0
  248. /package/{dist → lib}/Quote/styles.css +0 -0
  249. /package/{dist → lib}/SectionHeading/styles.css +0 -0
  250. /package/{dist → lib}/Statistics/styles.css +0 -0
  251. /package/{dist → lib}/Summary/styles.css +0 -0
  252. /package/{dist/_shared/cjs/filter-data-attrs-ajtUvDAC.js → lib/_shared/cjs/filter-data-attrs-ajtUvDAC.cjs} +0 -0
  253. /package/{dist/_shared/cjs/index-Bp6Dd2i1.js → lib/_shared/cjs/index-Bp6Dd2i1.cjs} +0 -0
  254. /package/{dist/_shared/cjs/tslib.es6-BxB9I209.js → lib/_shared/cjs/tslib.es6-BxB9I209.cjs} +0 -0
  255. /package/{dist/_shared/esm/filter-data-attrs-V7cbJuwS.js → lib/_shared/esm/filter-data-attrs-V7cbJuwS.mjs} +0 -0
  256. /package/{dist/_shared/esm/index-BfTCfPZ1.js → lib/_shared/esm/index-BfTCfPZ1.mjs} +0 -0
  257. /package/{dist/_shared/esm/tslib.es6-D6Wu-xwB.js → lib/_shared/esm/tslib.es6-D6Wu-xwB.mjs} +0 -0
@@ -2,26 +2,41 @@
2
2
 
3
3
  var React = require('react');
4
4
  var useMediaQuery = require('@arc-ui/components/use-media-query');
5
- var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
6
- var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
5
+ var ButtonV2 = require('@arc-ui/components/ButtonV2');
6
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
7
+ var SectionHeading = require('../_shared/cjs/SectionHeading-DepTV4JA.cjs');
8
+ var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
7
9
  var Heading = require('@arc-ui/components/Heading');
8
10
  var Icon = require('@arc-ui/components/Icon');
9
11
  var Text = require('@arc-ui/components/Text');
10
12
  var Link = require('@arc-ui/components/Link');
11
- var VerticalSpace = require('@arc-ui/components/VerticalSpace');
12
- require('../_shared/cjs/tslib.es6-BxB9I209.js');
13
- require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
13
+ require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
14
+ require('../_shared/cjs/filter-data-attrs-ajtUvDAC.cjs');
14
15
  require('@arc-ui/components/Image');
15
16
 
17
+ /**
18
+ * Do not edit directly
19
+ * Generated file
20
+ */
21
+
22
+ const BtIconArrowRightFill =
23
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M2 16A14 14 0 1 0 16 2 14 14 0 0 0 2 16m16.854-4.354L23.207 16l-4.354 4.354a.5.5 0 0 1-.707-.707l3.147-3.147H9.5a.5.5 0 0 1 0-1h11.793l-3.146-3.146a.5.5 0 0 1 .707-.707'/%3e%3c/svg%3e";
24
+
16
25
  var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
17
26
 
27
+ var getListHeadingLevel = function (level) {
28
+ var nextLevel = Math.min(parseInt(level) + 1, 6);
29
+ return nextLevel.toString();
30
+ };
31
+
18
32
  var HighlightItem = function (_a) {
19
- var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon;
33
+ var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
34
+ var listHeadingLevel = getListHeadingLevel(headingLevel || "2");
20
35
  return (React.createElement("div", { "data-testid": "highlight-item-container", className: styles.highlightItem },
21
36
  icon && (React.createElement("div", { className: styles.Icon },
22
37
  React.createElement(Icon.Icon, { "data-testid": "highlight-icon", color: "brand", icon: icon, size: isSmallIcon ? 64 : 76 }))),
23
38
  React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
24
- React.createElement(Heading.Heading, { level: "3", size: "m" }, heading),
39
+ React.createElement(Heading.Heading, { level: listHeadingLevel, size: "m" }, heading),
25
40
  React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
26
41
  React.createElement(Text.Text, null, text),
27
42
  React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
@@ -29,23 +44,33 @@ var HighlightItem = function (_a) {
29
44
  };
30
45
 
31
46
  var HighlightList = function (_a) {
32
- var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon;
47
+ var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
33
48
  var id = React.useId();
34
49
  return (React.createElement("div", { "data-testid": "highlights-list", className: index.classNames(styles.highlights, styles["highlights".concat(columns, "Column")]) }, listItems.map(function (_a, i) {
35
50
  var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link;
36
- return (React.createElement(HighlightItem, { key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon }));
51
+ return (React.createElement(HighlightItem, { key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon, headingLevel: headingLevel }));
37
52
  })));
38
53
  };
39
54
 
40
55
  /**
41
- * Use `Highlights` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link. Both two and three column options are available.
56
+ * Use `Highlights` to give supporting information about a page or proposition. I
57
+ * t can be used to call out key benefits in bullet points, or link.
58
+ * Both two and three column options are available.
42
59
  */
43
60
  var Highlights = function (_a) {
44
- var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content, listItems = _a.listItems, _b = _a.columns, columns = _b === void 0 ? "2" : _b;
61
+ var _b, _c, _d;
62
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content, listItems = _a.listItems, _e = _a.columns, columns = _e === void 0 ? "2" : _e, cta = _a.cta;
45
63
  var isMaxWidthArcBreakpointXs = useMediaQuery.useMediaQuery("(max-width: 767px)");
46
64
  return (React.createElement("div", null,
47
65
  React.createElement(SectionHeading.SectionHeading, { isPadded: true, "data-testid": "highlights-header", heading: heading, headingLevel: headingLevel, content: content }),
48
- React.createElement(HighlightList, { "data-testid": "highlights-list-container", listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs })));
66
+ React.createElement(HighlightList, { "data-testid": "highlights-list-container", listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
67
+ cta && (React.createElement(React.Fragment, null,
68
+ React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
69
+ React.createElement(ButtonV2.ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, size: "m", buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
70
+ ? ((_b = cta.icon) !== null && _b !== void 0 ? _b : BtIconArrowRightFill)
71
+ : undefined, iconActive: cta.buttonStyle === "compact"
72
+ ? ((_c = cta.iconActive) !== null && _c !== void 0 ? _c : BtIconArrowRightFill)
73
+ : undefined, iconPosition: (_d = cta.iconPosition) !== null && _d !== void 0 ? _d : "beforeText" })))));
49
74
  };
50
75
 
51
76
  exports.Highlights = Highlights;
@@ -1,25 +1,40 @@
1
1
  import React, { useId } from 'react';
2
2
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
3
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-DVLKN_jI.js';
4
- import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
3
+ import { ButtonV2 } from '@arc-ui/components/ButtonV2';
4
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
5
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BayinGP_.mjs';
6
+ import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
5
7
  import { Heading } from '@arc-ui/components/Heading';
6
8
  import { Icon } from '@arc-ui/components/Icon';
7
9
  import { Text } from '@arc-ui/components/Text';
8
10
  import { Link } from '@arc-ui/components/Link';
9
- import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
10
- import '../_shared/esm/tslib.es6-D6Wu-xwB.js';
11
- import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
11
+ import '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
12
+ import '../_shared/esm/filter-data-attrs-V7cbJuwS.mjs';
12
13
  import '@arc-ui/components/Image';
13
14
 
15
+ /**
16
+ * Do not edit directly
17
+ * Generated file
18
+ */
19
+
20
+ const BtIconArrowRightFill =
21
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M2 16A14 14 0 1 0 16 2 14 14 0 0 0 2 16m16.854-4.354L23.207 16l-4.354 4.354a.5.5 0 0 1-.707-.707l3.147-3.147H9.5a.5.5 0 0 1 0-1h11.793l-3.146-3.146a.5.5 0 0 1 .707-.707'/%3e%3c/svg%3e";
22
+
14
23
  var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
15
24
 
25
+ var getListHeadingLevel = function (level) {
26
+ var nextLevel = Math.min(parseInt(level) + 1, 6);
27
+ return nextLevel.toString();
28
+ };
29
+
16
30
  var HighlightItem = function (_a) {
17
- var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon;
31
+ var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
32
+ var listHeadingLevel = getListHeadingLevel(headingLevel || "2");
18
33
  return (React.createElement("div", { "data-testid": "highlight-item-container", className: styles.highlightItem },
19
34
  icon && (React.createElement("div", { className: styles.Icon },
20
35
  React.createElement(Icon, { "data-testid": "highlight-icon", color: "brand", icon: icon, size: isSmallIcon ? 64 : 76 }))),
21
36
  React.createElement(VerticalSpace, { size: "16" }),
22
- React.createElement(Heading, { level: "3", size: "m" }, heading),
37
+ React.createElement(Heading, { level: listHeadingLevel, size: "m" }, heading),
23
38
  React.createElement(VerticalSpace, { size: "16" }),
24
39
  React.createElement(Text, null, text),
25
40
  React.createElement(VerticalSpace, { size: "16" }),
@@ -27,23 +42,33 @@ var HighlightItem = function (_a) {
27
42
  };
28
43
 
29
44
  var HighlightList = function (_a) {
30
- var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon;
45
+ var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
31
46
  var id = useId();
32
47
  return (React.createElement("div", { "data-testid": "highlights-list", className: classNames(styles.highlights, styles["highlights".concat(columns, "Column")]) }, listItems.map(function (_a, i) {
33
48
  var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link;
34
- return (React.createElement(HighlightItem, { key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon }));
49
+ return (React.createElement(HighlightItem, { key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon, headingLevel: headingLevel }));
35
50
  })));
36
51
  };
37
52
 
38
53
  /**
39
- * Use `Highlights` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link. Both two and three column options are available.
54
+ * Use `Highlights` to give supporting information about a page or proposition. I
55
+ * t can be used to call out key benefits in bullet points, or link.
56
+ * Both two and three column options are available.
40
57
  */
41
58
  var Highlights = function (_a) {
42
- var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content, listItems = _a.listItems, _b = _a.columns, columns = _b === void 0 ? "2" : _b;
59
+ var _b, _c, _d;
60
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content, listItems = _a.listItems, _e = _a.columns, columns = _e === void 0 ? "2" : _e, cta = _a.cta;
43
61
  var isMaxWidthArcBreakpointXs = useMediaQuery("(max-width: 767px)");
44
62
  return (React.createElement("div", null,
45
63
  React.createElement(SectionHeading, { isPadded: true, "data-testid": "highlights-header", heading: heading, headingLevel: headingLevel, content: content }),
46
- React.createElement(HighlightList, { "data-testid": "highlights-list-container", listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs })));
64
+ React.createElement(HighlightList, { "data-testid": "highlights-list-container", listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
65
+ cta && (React.createElement(React.Fragment, null,
66
+ React.createElement(VerticalSpace, { size: "24" }),
67
+ React.createElement(ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, size: "m", buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
68
+ ? ((_b = cta.icon) !== null && _b !== void 0 ? _b : BtIconArrowRightFill)
69
+ : undefined, iconActive: cta.buttonStyle === "compact"
70
+ ? ((_c = cta.iconActive) !== null && _c !== void 0 ? _c : BtIconArrowRightFill)
71
+ : undefined, iconPosition: (_d = cta.iconPosition) !== null && _d !== void 0 ? _d : "beforeText" })))));
47
72
  };
48
73
 
49
74
  export { Highlights };
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
- var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
- var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
5
+ var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
+ var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.cjs');
7
7
  var useMediaQuery = require('@arc-ui/components/use-media-query');
8
- var index_es = require('../_shared/cjs/index.es-BVxxpECB.js');
9
- var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
8
+ var index_es = require('../_shared/cjs/index.es-D11PdokQ.cjs');
9
+ var SectionHeading = require('../_shared/cjs/SectionHeading-DepTV4JA.cjs');
10
10
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
11
11
  var InformationCard = require('@arc-ui/components/InformationCard');
12
12
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
@@ -1,10 +1,10 @@
1
- import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.js';
1
+ import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
2
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';
3
+ import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
+ import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.mjs';
5
5
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
6
- import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-CbCdNYwG.js';
7
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-DVLKN_jI.js';
6
+ import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-C4PyYMjI.mjs';
7
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BayinGP_.mjs';
8
8
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
9
9
  import { InformationCard } from '@arc-ui/components/InformationCard';
10
10
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -0,0 +1,65 @@
1
+ 'use strict';
2
+
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
+ var React = require('react');
5
+ var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
+ var index_es = require('../_shared/cjs/index.es-D11PdokQ.cjs');
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-DepTV4JA.cjs');
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
+ require('../_shared/cjs/filter-data-attrs-ajtUvDAC.cjs');
15
+ require('@arc-ui/components/Heading');
16
+ require('@arc-ui/components/Text');
17
+ require('@arc-ui/components/VerticalSpace');
18
+ require('@arc-ui/components/Image');
19
+
20
+ var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
21
+
22
+ /**
23
+ * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
24
+ */
25
+ var PromoListing = function (_a) {
26
+ var heading = _a.heading, content = _a.content, _b = _a.isCarousel, isCarousel = _b === void 0 ? false : _b, cards = _a.cards, headingLevel = _a.headingLevel, _c = _a.columns, columns = _c === void 0 ? "2" : _c;
27
+ var id = React.useId();
28
+ var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")"));
29
+ var isMinWidthArcBreakpointM = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsM, ")"));
30
+ var cardAspectRatios = columns === "3" ? "10-16" : "3-4";
31
+ var getCardAspectRatios = {
32
+ xs: !isCarousel ? "3-4" : undefined,
33
+ s: !isCarousel ? "10-16" : undefined,
34
+ m: !isCarousel ? "3-4" : undefined,
35
+ l: cardAspectRatios,
36
+ xl: cardAspectRatios,
37
+ xxl: cardAspectRatios,
38
+ xxxl: cardAspectRatios,
39
+ };
40
+ var commonProps = {
41
+ preserveAspectRatios: getCardAspectRatios,
42
+ minHeight: isCarousel && !isMinWidthArcBreakpointL
43
+ ? isMinWidthArcBreakpointM
44
+ ? 557
45
+ : 461
46
+ : undefined,
47
+ };
48
+ var CARD_COMPONENTS = {
49
+ "media-card": MediaCard.MediaCard,
50
+ "impact-card": ImpactCard.ImpactCard,
51
+ "information-card": InformationCard.InformationCard,
52
+ "typography-card": TypographyCard.TypographyCard,
53
+ };
54
+ var getCard = function (card) {
55
+ var CardComponent = CARD_COMPONENTS[card.type];
56
+ return React.createElement(CardComponent, tslib_es6.__assign({}, card, commonProps));
57
+ };
58
+ return (React.createElement("div", { className: styles.PromoListing },
59
+ React.createElement(SectionHeading.SectionHeading, { isPadded: true, "data-testid": "PromoListing-header", heading: heading, headingLevel: headingLevel, content: content }),
60
+ isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles.promolistingCarouselWrapper },
61
+ React.createElement(Carousel.Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "promolist-carousel-card-".concat(id, "-").concat(i), className: (styles.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: index.classNames(styles.cardGrid, styles["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("li", { key: "promolist-card--".concat(id, "-").concat(index) },
62
+ React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles.cardWrapper }, getCard(card)))); })))));
63
+ };
64
+
65
+ exports.PromoListing = PromoListing;
@@ -0,0 +1,63 @@
1
+ import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
2
+ import React, { useId } from 'react';
3
+ import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
+ import { a as ArcSizeBreakpointsL, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-C4PyYMjI.mjs';
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-BayinGP_.mjs';
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
+ import '../_shared/esm/filter-data-attrs-V7cbJuwS.mjs';
13
+ import '@arc-ui/components/Heading';
14
+ import '@arc-ui/components/Text';
15
+ import '@arc-ui/components/VerticalSpace';
16
+ import '@arc-ui/components/Image';
17
+
18
+ var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
19
+
20
+ /**
21
+ * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
22
+ */
23
+ var PromoListing = function (_a) {
24
+ var heading = _a.heading, content = _a.content, _b = _a.isCarousel, isCarousel = _b === void 0 ? false : _b, cards = _a.cards, headingLevel = _a.headingLevel, _c = _a.columns, columns = _c === void 0 ? "2" : _c;
25
+ var id = useId();
26
+ var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
27
+ var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
28
+ var cardAspectRatios = columns === "3" ? "10-16" : "3-4";
29
+ var getCardAspectRatios = {
30
+ xs: !isCarousel ? "3-4" : undefined,
31
+ s: !isCarousel ? "10-16" : undefined,
32
+ m: !isCarousel ? "3-4" : undefined,
33
+ l: cardAspectRatios,
34
+ xl: cardAspectRatios,
35
+ xxl: cardAspectRatios,
36
+ xxxl: cardAspectRatios,
37
+ };
38
+ var commonProps = {
39
+ preserveAspectRatios: getCardAspectRatios,
40
+ minHeight: isCarousel && !isMinWidthArcBreakpointL
41
+ ? isMinWidthArcBreakpointM
42
+ ? 557
43
+ : 461
44
+ : undefined,
45
+ };
46
+ var CARD_COMPONENTS = {
47
+ "media-card": MediaCard,
48
+ "impact-card": ImpactCard,
49
+ "information-card": InformationCard,
50
+ "typography-card": TypographyCard,
51
+ };
52
+ var getCard = function (card) {
53
+ var CardComponent = CARD_COMPONENTS[card.type];
54
+ return React.createElement(CardComponent, __assign({}, card, commonProps));
55
+ };
56
+ return (React.createElement("div", { className: styles.PromoListing },
57
+ React.createElement(SectionHeading, { isPadded: true, "data-testid": "PromoListing-header", heading: heading, headingLevel: headingLevel, content: content }),
58
+ isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles.promolistingCarouselWrapper },
59
+ React.createElement(Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "promolist-carousel-card-".concat(id, "-").concat(i), className: (styles.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: classNames(styles.cardGrid, styles["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("li", { key: "promolist-card--".concat(id, "-").concat(index) },
60
+ React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles.cardWrapper }, getCard(card)))); })))));
61
+ };
62
+
63
+ export { PromoListing };
@@ -0,0 +1 @@
1
+ .PromoListing-module_PromoListing__6ensv{max-width:1280px}.PromoListing-module_carouselSlide__AMTPF{height:100%;padding:6px}.PromoListing-module_cardGrid__llf73{display:grid;grid-template-columns:repeat(1,1fr);grid-auto-rows:1fr;grid-gap:16px;gap:16px;list-style:none;margin:0;padding:0}.PromoListing-module_cardWrapper__I4iwh{height:100%}.PromoListing-module_cardWrapper__I4iwh>*{height:100%}.PromoListing-module_cardWrapperCarousel__t-2qM{width:288px;height:100%;margin-right:16px}.PromoListing-module_cardWrapperCarousel__t-2qM>*{height:100%}@media (min-width:636px){.PromoListing-module_cardWrapperCarousel__t-2qM{margin-right:24px}.PromoListing-module_cardGrid__llf73{gap:24px}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-3__y6jWS{grid-template-columns:repeat(2,1fr)}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-2__GRFxb{grid-template-columns:repeat(2,1fr)}}@media (min-width:768px){.PromoListing-module_cardWrapperCarousel__t-2qM{width:348px}}@media (min-width:1024px){.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-3__y6jWS{grid-template-columns:repeat(3,1fr)}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-2__GRFxb{grid-template-columns:repeat(2,1fr)}}@media (min-width:1280px){.PromoListing-module_cardGrid__llf73{gap:32px}}
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
- var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
- var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
7
- var Author = require('../_shared/cjs/Author-DltMey-3.js');
5
+ var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
+ var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.cjs');
7
+ var Author = require('../_shared/cjs/Author-X47pv31V.cjs');
8
8
  require('@arc-ui/components/Grid');
9
9
  require('@arc-ui/components/Avatar');
10
10
  require('@arc-ui/components/Heading');
@@ -1,8 +1,8 @@
1
- import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.js';
1
+ import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
2
2
  import React 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 { A as Author } from '../_shared/esm/Author-DpT2Pcq_.js';
3
+ import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
+ import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.mjs';
5
+ import { A as Author } from '../_shared/esm/Author-CydDYCma.mjs';
6
6
  import '@arc-ui/components/Grid';
7
7
  import '@arc-ui/components/Avatar';
8
8
  import '@arc-ui/components/Heading';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
4
- require('../_shared/cjs/tslib.es6-BxB9I209.js');
3
+ var SectionHeading = require('../_shared/cjs/SectionHeading-DepTV4JA.cjs');
4
+ require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
5
5
  require('react');
6
- require('../_shared/cjs/index-Bp6Dd2i1.js');
7
- require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
6
+ require('../_shared/cjs/index-Bp6Dd2i1.cjs');
7
+ require('../_shared/cjs/filter-data-attrs-ajtUvDAC.cjs');
8
8
  require('@arc-ui/components/Heading');
9
9
  require('@arc-ui/components/Text');
10
10
  require('@arc-ui/components/VerticalSpace');
@@ -1,8 +1,8 @@
1
- export { S as SectionHeading } from '../_shared/esm/SectionHeading-DVLKN_jI.js';
2
- import '../_shared/esm/tslib.es6-D6Wu-xwB.js';
1
+ export { S as SectionHeading } from '../_shared/esm/SectionHeading-BayinGP_.mjs';
2
+ import '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
3
3
  import 'react';
4
- import '../_shared/esm/index-BfTCfPZ1.js';
5
- import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
4
+ import '../_shared/esm/index-BfTCfPZ1.mjs';
5
+ import '../_shared/esm/filter-data-attrs-V7cbJuwS.mjs';
6
6
  import '@arc-ui/components/Heading';
7
7
  import '@arc-ui/components/Text';
8
8
  import '@arc-ui/components/VerticalSpace';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
5
  var Columns = require('@arc-ui/components/Columns');
6
6
  var Rule = require('@arc-ui/components/Rule');
@@ -8,9 +8,9 @@ var Text = require('@arc-ui/components/Text');
8
8
  var Align = require('@arc-ui/components/Align');
9
9
  var Heading = require('@arc-ui/components/Heading');
10
10
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
11
- var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
12
- require('../_shared/cjs/index-Bp6Dd2i1.js');
13
- require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
11
+ var SectionHeading = require('../_shared/cjs/SectionHeading-DepTV4JA.cjs');
12
+ require('../_shared/cjs/index-Bp6Dd2i1.cjs');
13
+ require('../_shared/cjs/filter-data-attrs-ajtUvDAC.cjs');
14
14
  require('@arc-ui/components/Image');
15
15
 
16
16
  var styles = {"list":"Statistics-module_list__BI-eQ","mutedText":"Statistics-module_mutedText__MR1JM","statWrapper":"Statistics-module_statWrapper__83OnM"};
@@ -1,4 +1,4 @@
1
- import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.js';
1
+ import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
2
2
  import React, { useId } from 'react';
3
3
  import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
4
4
  import { Rule } from '@arc-ui/components/Rule';
@@ -6,9 +6,9 @@ import { Text } from '@arc-ui/components/Text';
6
6
  import { Align } from '@arc-ui/components/Align';
7
7
  import { Heading } from '@arc-ui/components/Heading';
8
8
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
9
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-DVLKN_jI.js';
10
- import '../_shared/esm/index-BfTCfPZ1.js';
11
- import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
9
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BayinGP_.mjs';
10
+ import '../_shared/esm/index-BfTCfPZ1.mjs';
11
+ import '../_shared/esm/filter-data-attrs-V7cbJuwS.mjs';
12
12
  import '@arc-ui/components/Image';
13
13
 
14
14
  var styles = {"list":"Statistics-module_list__BI-eQ","mutedText":"Statistics-module_mutedText__MR1JM","statWrapper":"Statistics-module_statWrapper__83OnM"};
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
- var index_es = require('../_shared/cjs/index.es-BVxxpECB.js');
5
+ var index_es = require('../_shared/cjs/index.es-D11PdokQ.cjs');
6
6
  var Heading = require('@arc-ui/components/Heading');
7
7
  var Text = require('@arc-ui/components/Text');
8
8
  var Box = require('@arc-ui/components/Box');
@@ -1,6 +1,6 @@
1
- import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.js';
1
+ import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
2
2
  import React from 'react';
3
- import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-CbCdNYwG.js';
3
+ import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-C4PyYMjI.mjs';
4
4
  import { Heading } from '@arc-ui/components/Heading';
5
5
  import { Text } from '@arc-ui/components/Text';
6
6
  import { Box } from '@arc-ui/components/Box';
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-BxB9I209.js');
3
+ var tslib_es6 = require('./tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
- var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.js');
6
- var index = require('./index-Bp6Dd2i1.js');
5
+ var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.cjs');
6
+ var index = require('./index-Bp6Dd2i1.cjs');
7
7
  var Heading = require('@arc-ui/components/Heading');
8
8
  var Text = require('@arc-ui/components/Text');
9
9
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
@@ -34,9 +34,9 @@ var styles = {"AccordionDisclosureListItem":"AccordionDisclosureList-module_Acco
34
34
  var AccordionDisclosureList = function (_a) {
35
35
  var disclosureList = _a.disclosureList;
36
36
  return (React.createElement("ul", null, disclosureList.map(function (_a) {
37
- var children = _a.children, summary = _a.summary, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.indentDetails, indentDetails = _c === void 0 ? false : _c, headingLevel = _a.headingLevel, id = _a.id;
37
+ var children = _a.children, summary = _a.summary, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.indentDetails, indentDetails = _c === void 0 ? false : _c, headingLevel = _a.headingLevel, id = _a.id, props = tslib_es6.__rest(_a, ["children", "summary", "isOpen", "indentDetails", "headingLevel", "id"]);
38
38
  return (React.createElement("li", { key: id, className: styles.AccordionDisclosureListItem },
39
- React.createElement(Disclosure.Disclosure, { summary: summary, isOpen: isOpen, indentDetails: indentDetails, headingLevel: headingLevel }, children)));
39
+ React.createElement(Disclosure.Disclosure, tslib_es6.__assign({ summary: summary, isOpen: isOpen, indentDetails: indentDetails, headingLevel: headingLevel }, filterDataAttrs.filterDataAttrs(props)), children)));
40
40
  })));
41
41
  };
42
42
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-BxB9I209.js');
3
+ var tslib_es6 = require('./tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
- var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.js');
5
+ var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.cjs');
6
6
  var Grid = require('@arc-ui/components/Grid');
7
7
  var Avatar = require('@arc-ui/components/Avatar');
8
8
  var Heading = require('@arc-ui/components/Heading');
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-BxB9I209.js');
3
+ var tslib_es6 = require('./tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
- var index = require('./index-Bp6Dd2i1.js');
6
- var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.js');
5
+ var index = require('./index-Bp6Dd2i1.cjs');
6
+ var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.cjs');
7
7
  var Heading = require('@arc-ui/components/Heading');
8
8
  var Text = require('@arc-ui/components/Text');
9
9
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * Do not edit directly
5
- * Generated on Tue, 23 Dec 2025 14:36:38 GMT
5
+ * Generated on Wed, 18 Feb 2026 11:14:49 GMT
6
6
  */
7
7
  var ArcSizeBreakpointsS = "636px";
8
8
  var ArcSizeBreakpointsM = "768px";
@@ -1,7 +1,7 @@
1
- import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.js';
1
+ import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.mjs';
2
2
  import React from 'react';
3
- import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.js';
4
- import { c as classNames } from './index-BfTCfPZ1.js';
3
+ import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.mjs';
4
+ import { c as classNames } from './index-BfTCfPZ1.mjs';
5
5
  import { Heading } from '@arc-ui/components/Heading';
6
6
  import { Text } from '@arc-ui/components/Text';
7
7
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -32,9 +32,9 @@ var styles = {"AccordionDisclosureListItem":"AccordionDisclosureList-module_Acco
32
32
  var AccordionDisclosureList = function (_a) {
33
33
  var disclosureList = _a.disclosureList;
34
34
  return (React.createElement("ul", null, disclosureList.map(function (_a) {
35
- var children = _a.children, summary = _a.summary, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.indentDetails, indentDetails = _c === void 0 ? false : _c, headingLevel = _a.headingLevel, id = _a.id;
35
+ var children = _a.children, summary = _a.summary, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.indentDetails, indentDetails = _c === void 0 ? false : _c, headingLevel = _a.headingLevel, id = _a.id, props = __rest(_a, ["children", "summary", "isOpen", "indentDetails", "headingLevel", "id"]);
36
36
  return (React.createElement("li", { key: id, className: styles.AccordionDisclosureListItem },
37
- React.createElement(Disclosure, { summary: summary, isOpen: isOpen, indentDetails: indentDetails, headingLevel: headingLevel }, children)));
37
+ React.createElement(Disclosure, __assign({ summary: summary, isOpen: isOpen, indentDetails: indentDetails, headingLevel: headingLevel }, filterDataAttrs(props)), children)));
38
38
  })));
39
39
  };
40
40
 
@@ -1,6 +1,6 @@
1
- import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.js';
1
+ import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.mjs';
2
2
  import React from 'react';
3
- import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.js';
3
+ import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.mjs';
4
4
  import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
5
5
  import { Avatar } from '@arc-ui/components/Avatar';
6
6
  import { Heading } from '@arc-ui/components/Heading';
@@ -1,7 +1,7 @@
1
- import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.js';
1
+ import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.mjs';
2
2
  import React from 'react';
3
- import { c as classNames } from './index-BfTCfPZ1.js';
4
- import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.js';
3
+ import { c as classNames } from './index-BfTCfPZ1.mjs';
4
+ import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.mjs';
5
5
  import { Heading } from '@arc-ui/components/Heading';
6
6
  import { Text } from '@arc-ui/components/Text';
7
7
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 23 Dec 2025 14:36:38 GMT
3
+ * Generated on Wed, 18 Feb 2026 11:14:49 GMT
4
4
  */
5
5
  var ArcSizeBreakpointsS = "636px";
6
6
  var ArcSizeBreakpointsM = "768px";