@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
@@ -0,0 +1,6 @@
1
+ import { type HeadingLevel } from "@arc-ui/components/Heading";
2
+
3
+ export const getListHeadingLevel = (level: HeadingLevel): HeadingLevel => {
4
+ const nextLevel = Math.min(parseInt(level) + 1, 6);
5
+ return nextLevel.toString() as HeadingLevel;
6
+ };
@@ -4,93 +4,74 @@
4
4
  max-width: 1280px;
5
5
  }
6
6
 
7
- .promoListingContainer {
8
- grid-column: span 2;
7
+ .carouselSlide {
9
8
  height: 100%;
10
- width: 100%;
9
+ padding: 6px;
11
10
  }
12
11
 
13
12
  .cardGrid {
14
13
  display: grid;
15
- gap: 24px;
16
- grid-template-columns: 2fr;
14
+ grid-template-columns: repeat(1, 1fr);
15
+ grid-auto-rows: 1fr;
16
+ gap: 16px;
17
+ list-style: none;
18
+ margin: 0;
19
+ padding: 0;
17
20
  }
18
21
 
19
- .carouselSlide {
22
+ .cardWrapper {
20
23
  height: 100%;
21
- padding: 6px;
22
24
  }
23
25
 
24
- @media (--arc-custom-media-min-width-xs-px) {
25
- .cardGrid {
26
- grid-auto-rows: minmax(430px, 1fr);
27
- }
26
+ .cardWrapper > * {
27
+ height: 100%;
28
28
  }
29
29
 
30
- @media (--arc-custom-media-min-width-s-px) {
31
- .cardGrid2Columns {
32
- grid-auto-rows: minmax(430px, 1fr);
33
- grid-template-columns: repeat(4, 1fr);
34
- }
35
-
36
- /* Dealing with single orphan */
37
- .cardGrid2Columns.cardGrid3Cards .promoListingContainer:last-child {
38
- grid-column-end: 4;
39
- }
40
-
41
- .cardGrid2Columns.cardGrid5Cards .promoListingContainer:last-child {
42
- grid-column-end: 4;
43
- }
30
+ .cardWrapperCarousel {
31
+ width: 288px;
32
+ height: 100%;
33
+ margin-right: 16px;
44
34
  }
45
35
 
46
- @media (--arc-custom-media-min-width-m-px) {
47
- .cardGrid2Columns {
48
- grid-auto-rows: minmax(430px, 1fr);
49
- }
36
+ .cardWrapperCarousel > * {
37
+ height: 100%;
50
38
  }
51
39
 
52
- @media (--arc-custom-media-min-width-l-px) {
53
- .cardGrid2Columns {
54
- grid-auto-rows: minmax(468px, 1fr);
40
+ @media (--arc-custom-media-min-width-s-px) {
41
+ .cardWrapperCarousel {
42
+ margin-right: 24px;
55
43
  }
56
44
 
57
- .cardGrid3Columns {
58
- grid-auto-rows: minmax(437px, 1fr);
59
- grid-template-columns: repeat(6, 1fr);
45
+ .cardGrid {
46
+ gap: 24px;
60
47
  }
61
48
 
62
- /* Dealing with single orphan */
63
- .cardGrid3Columns.cardGrid4Cards .promoListingContainer:last-child {
64
- grid-column-end: 5;
49
+ .cardGrid.columns-3 {
50
+ grid-template-columns: repeat(2, 1fr);
65
51
  }
66
52
 
67
- /* Dealing with two orphans */
68
- .cardGrid3Columns.cardGrid2Cards .promoListingContainer:last-child {
69
- grid-column-end: 6;
53
+ .cardGrid.columns-2 {
54
+ grid-template-columns: repeat(2, 1fr);
70
55
  }
56
+ }
71
57
 
72
- .cardGrid3Columns.cardGrid5Cards .promoListingContainer:last-child {
73
- grid-column-end: 6;
58
+ @media (--arc-custom-media-min-width-m-px) {
59
+ .cardWrapperCarousel {
60
+ width: 348px;
74
61
  }
62
+ }
75
63
 
76
- .cardGrid3Columns.cardGrid2Cards .promoListingContainer:nth-last-child(2) {
77
- grid-column-end: 4;
64
+ @media (--arc-custom-media-min-width-l-px) {
65
+ .cardGrid.columns-3 {
66
+ grid-template-columns: repeat(3, 1fr);
78
67
  }
79
68
 
80
- .cardGrid3Columns.cardGrid5Cards .promoListingContainer:nth-last-child(2) {
81
- grid-column-end: 4;
69
+ .cardGrid.columns-2 {
70
+ grid-template-columns: repeat(2, 1fr);
82
71
  }
83
72
  }
84
73
 
85
74
  @media (--arc-custom-media-min-width-xl-px) {
86
- .cardGrid2Columns {
87
- grid-auto-rows: minmax(592px, 1fr);
88
- }
89
-
90
- .cardGrid3Columns {
91
- grid-auto-rows: minmax(523px, 1fr);
92
- }
93
-
94
75
  .cardGrid {
95
76
  gap: 32px;
96
77
  }
@@ -1,7 +1,8 @@
1
- import React, { useId } from "react";
1
+ import React, { useId, ComponentType } from "react";
2
+
2
3
  import classNames from "classnames";
3
4
 
4
- import { ArcSizeBreakpointsL } from "@arc-ui/tokens-arc";
5
+ import { ArcSizeBreakpointsL, ArcSizeBreakpointsM } from "@arc-ui/tokens-arc";
5
6
 
6
7
  import { Carousel } from "@arc-ui/components/Carousel";
7
8
  import { useMediaQuery } from "@arc-ui/components/use-media-query";
@@ -33,7 +34,7 @@ import styles from "./PromoListing.module.css";
33
34
  export const PromoListing: React.FC<PromoListingProps> = ({
34
35
  heading,
35
36
  content,
36
- isCarousel,
37
+ isCarousel = false,
37
38
  cards,
38
39
  headingLevel,
39
40
  columns = "2",
@@ -44,17 +45,46 @@ export const PromoListing: React.FC<PromoListingProps> = ({
44
45
  `(min-width: ${ArcSizeBreakpointsL})`,
45
46
  );
46
47
 
47
- const columnCount = isMinWidthArcBreakpointL ? columns : 2;
48
-
49
- const getCard = (card: PromoListCard) => (
50
- <>
51
- {card.type === "media-card" && <MediaCard {...card} />}
52
- {card.type === "impact-card" && <ImpactCard {...card} />}
53
- {card.type === "information-card" && <InformationCard {...card} />}
54
- {card.type === "typography-card" && <TypographyCard {...card} />}
55
- </>
48
+ const isMinWidthArcBreakpointM = useMediaQuery(
49
+ `(min-width: ${ArcSizeBreakpointsM})`,
56
50
  );
57
51
 
52
+ const cardAspectRatios = columns === "3" ? "10-16" : "3-4";
53
+
54
+ const getCardAspectRatios = {
55
+ xs: !isCarousel ? "3-4" : undefined,
56
+ s: !isCarousel ? "10-16" : undefined,
57
+ m: !isCarousel ? "3-4" : undefined,
58
+ l: cardAspectRatios,
59
+ xl: cardAspectRatios,
60
+ xxl: cardAspectRatios,
61
+ xxxl: cardAspectRatios,
62
+ } as MediaCardProps["preserveAspectRatios"];
63
+
64
+ const commonProps = {
65
+ preserveAspectRatios: getCardAspectRatios,
66
+ minHeight:
67
+ isCarousel && !isMinWidthArcBreakpointL
68
+ ? isMinWidthArcBreakpointM
69
+ ? 557
70
+ : 461
71
+ : undefined,
72
+ };
73
+
74
+ const CARD_COMPONENTS = {
75
+ "media-card": MediaCard,
76
+ "impact-card": ImpactCard,
77
+ "information-card": InformationCard,
78
+ "typography-card": TypographyCard,
79
+ } as const;
80
+
81
+ const getCard = (card: PromoListCard) => {
82
+ const CardComponent = CARD_COMPONENTS[card.type] as ComponentType<
83
+ typeof card
84
+ >;
85
+ return <CardComponent {...card} {...commonProps} />;
86
+ };
87
+
58
88
  return (
59
89
  <div className={styles.PromoListing}>
60
90
  <SectionHeading
@@ -64,47 +94,39 @@ export const PromoListing: React.FC<PromoListingProps> = ({
64
94
  headingLevel={headingLevel}
65
95
  content={content}
66
96
  />
67
-
68
97
  {isCarousel && !isMinWidthArcBreakpointL ? (
69
- <Carousel
70
- itemsPerSlide={1}
71
- responsive={{
72
- s: {
73
- itemsToScroll: 1,
74
- isPartialVisible: false,
75
- itemsPerSlide: 2,
76
- },
77
- m: {
78
- itemsToScroll: 1,
79
- isPartialVisible: true,
80
- itemsPerSlide: 2,
81
- },
82
- }}
83
- >
84
- {cards?.map((card: PromoListCard, i) => (
85
- <div key={`card-${id}-${i}`} className={styles.carouselSlide}>
86
- {getCard(card)}
87
- </div>
88
- ))}
89
- </Carousel>
98
+ <div className={styles.promolistingCarouselWrapper}>
99
+ <Carousel
100
+ overflow="visible"
101
+ itemsPerSlide={1}
102
+ behavior="adaptive"
103
+ withGutter={false}
104
+ >
105
+ {cards?.map((card: PromoListCard, i) => (
106
+ <div
107
+ key={`promolist-carousel-card-${id}-${i}`}
108
+ className={(styles.carouselSlide, styles.cardWrapperCarousel)}
109
+ >
110
+ {getCard(card)}
111
+ </div>
112
+ ))}
113
+ </Carousel>
114
+ </div>
90
115
  ) : (
91
- <div
92
- className={classNames(
93
- styles.cardGrid,
94
- styles[`cardGrid${columnCount}Columns`],
95
- styles[`cardGrid${cards.length}Cards`],
96
- )}
116
+ <ul
117
+ className={classNames(styles.cardGrid, styles[`columns-${columns}`])}
97
118
  >
98
119
  {cards?.map((card: PromoListCard, index) => (
99
- <div
100
- data-testid={`promoList-card${index}`}
101
- className={classNames(styles.promoListingContainer)}
102
- key={index}
103
- >
104
- {getCard(card)}
105
- </div>
120
+ <li key={`promolist-card--${id}-${index}`}>
121
+ <div
122
+ data-testid={`promoList-card${index}`}
123
+ className={styles.cardWrapper}
124
+ >
125
+ {getCard(card)}
126
+ </div>
127
+ </li>
106
128
  ))}
107
- </div>
129
+ </ul>
108
130
  )}
109
131
  </div>
110
132
  );
@@ -140,9 +162,9 @@ export interface PromoListingProps
140
162
  cards: PromoListCard[];
141
163
 
142
164
  /**
143
- * Shows cards in a carousel on devices below 1024px if true.
165
+ * Shows cards in a carousel on devices below 1024px (m breakpoint) if true.
144
166
  */
145
- isCarousel?: true;
167
+ isCarousel?: boolean;
146
168
 
147
169
  /**
148
170
  * Number of columns for desktop breakpoints. "2" and "3" column options available.
package/versions.json CHANGED
@@ -1 +1 @@
1
- ["v2.0.0","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.1.0"]
1
+ ["v3.0.0","v2.0.0","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.1.0"]
@@ -1,10 +0,0 @@
1
- export { A as Accordion } from '../_shared/esm/Accordion-Brmx6oxT.js';
2
- import '../_shared/esm/tslib.es6-D6Wu-xwB.js';
3
- import 'react';
4
- import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
5
- import '../_shared/esm/index-BfTCfPZ1.js';
6
- import '@arc-ui/components/Heading';
7
- import '@arc-ui/components/Text';
8
- import '@arc-ui/components/VerticalSpace';
9
- import '@arc-ui/components/Image';
10
- import '@arc-ui/components/Disclosure';
@@ -1,8 +0,0 @@
1
- export { A as Author } from '../_shared/esm/Author-DpT2Pcq_.js';
2
- import '../_shared/esm/tslib.es6-D6Wu-xwB.js';
3
- import 'react';
4
- import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
5
- import '@arc-ui/components/Grid';
6
- import '@arc-ui/components/Avatar';
7
- import '@arc-ui/components/Heading';
8
- import '@arc-ui/components/Text';
@@ -1 +0,0 @@
1
- html{scroll-behavior:smooth}ul,li{list-style:none;margin:0;padding:0}.FAQs-module_linkListSection__RdQkU{display:flex;flex-direction:column;margin-bottom:40px}.FAQs-module_linkListTitle__RVni3{margin-bottom:8px}.FAQs-module_linkList__dPyXj{display:flex;flex-wrap:wrap;row-gap:8px}.FAQs-module_linkListItem__S83CL::after{content:"|";padding:0 8px;color:#d9d9d9}.FAQs-module_linkListItem__S83CL:last-child::after{content:""}@media (--arc-custom-media-min-width-s-px){.FAQs-module_linkList--padded__8Paxc{min-width:588px;width:auto}}@media (--arc-custom-media-min-width-m-px){.FAQs-module_linkList--padded__8Paxc{min-width:720px;padding-right:186px}}@media (--arc-custom-media-min-width-l-px){.FAQs-module_linkList--padded__8Paxc{min-width:960px;padding-right:246px}}@media (--arc-custom-media-min-width-xl-px){.FAQs-module_linkList--padded__8Paxc{min-width:1216px;padding-right:312px}}
@@ -1,51 +0,0 @@
1
- 'use strict';
2
-
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
- var React = require('react');
5
- var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
6
- var index_es = require('../_shared/cjs/index.es-BVxxpECB.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
- require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
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","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"};
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, isCarousel = _a.isCarousel, cards = _a.cards, headingLevel = _a.headingLevel, _b = _a.columns, columns = _b === void 0 ? "2" : _b;
27
- var id = React.useId();
28
- var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")"));
29
- var columnCount = isMinWidthArcBreakpointL ? columns : 2;
30
- var getCard = function (card) { return (React.createElement(React.Fragment, null,
31
- card.type === "media-card" && React.createElement(MediaCard.MediaCard, tslib_es6.__assign({}, card)),
32
- card.type === "impact-card" && React.createElement(ImpactCard.ImpactCard, tslib_es6.__assign({}, card)),
33
- card.type === "information-card" && React.createElement(InformationCard.InformationCard, tslib_es6.__assign({}, card)),
34
- card.type === "typography-card" && React.createElement(TypographyCard.TypographyCard, tslib_es6.__assign({}, card)))); };
35
- return (React.createElement("div", { className: styles.PromoListing },
36
- React.createElement(SectionHeading.SectionHeading, { isPadded: true, "data-testid": "PromoListing-header", heading: heading, headingLevel: headingLevel, content: content }),
37
- isCarousel && !isMinWidthArcBreakpointL ? (React.createElement(Carousel.Carousel, { itemsPerSlide: 1, responsive: {
38
- s: {
39
- itemsToScroll: 1,
40
- isPartialVisible: false,
41
- itemsPerSlide: 2,
42
- },
43
- m: {
44
- itemsToScroll: 1,
45
- isPartialVisible: true,
46
- itemsPerSlide: 2,
47
- },
48
- } }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "card-".concat(id, "-").concat(i), className: styles.carouselSlide }, getCard(card))); }))) : (React.createElement("div", { className: index.classNames(styles.cardGrid, styles["cardGrid".concat(columnCount, "Columns")], styles["cardGrid".concat(cards.length, "Cards")]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index$1) { return (React.createElement("div", { "data-testid": "promoList-card".concat(index$1), className: index.classNames(styles.promoListingContainer), key: index$1 }, getCard(card))); })))));
49
- };
50
-
51
- exports.PromoListing = PromoListing;
@@ -1,49 +0,0 @@
1
- import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.js';
2
- import React, { useId } from 'react';
3
- import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
4
- import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-CbCdNYwG.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-DVLKN_jI.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
- import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
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","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"};
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, isCarousel = _a.isCarousel, cards = _a.cards, headingLevel = _a.headingLevel, _b = _a.columns, columns = _b === void 0 ? "2" : _b;
25
- var id = useId();
26
- var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
27
- var columnCount = isMinWidthArcBreakpointL ? columns : 2;
28
- var getCard = function (card) { return (React.createElement(React.Fragment, null,
29
- card.type === "media-card" && React.createElement(MediaCard, __assign({}, card)),
30
- card.type === "impact-card" && React.createElement(ImpactCard, __assign({}, card)),
31
- card.type === "information-card" && React.createElement(InformationCard, __assign({}, card)),
32
- card.type === "typography-card" && React.createElement(TypographyCard, __assign({}, card)))); };
33
- return (React.createElement("div", { className: styles.PromoListing },
34
- React.createElement(SectionHeading, { isPadded: true, "data-testid": "PromoListing-header", heading: heading, headingLevel: headingLevel, content: content }),
35
- isCarousel && !isMinWidthArcBreakpointL ? (React.createElement(Carousel, { itemsPerSlide: 1, responsive: {
36
- s: {
37
- itemsToScroll: 1,
38
- isPartialVisible: false,
39
- itemsPerSlide: 2,
40
- },
41
- m: {
42
- itemsToScroll: 1,
43
- isPartialVisible: true,
44
- itemsPerSlide: 2,
45
- },
46
- } }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "card-".concat(id, "-").concat(i), className: styles.carouselSlide }, getCard(card))); }))) : (React.createElement("div", { className: classNames(styles.cardGrid, styles["cardGrid".concat(columnCount, "Columns")], styles["cardGrid".concat(cards.length, "Cards")]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("div", { "data-testid": "promoList-card".concat(index), className: classNames(styles.promoListingContainer), key: index }, getCard(card))); })))));
47
- };
48
-
49
- export { PromoListing };
@@ -1 +0,0 @@
1
- .PromoListing-module_PromoListing__6ensv{max-width:1280px}.PromoListing-module_promoListingContainer__vwez-{grid-column:span 2;height:100%;width:100%}.PromoListing-module_cardGrid__llf73{display:grid;grid-gap:24px;gap:24px;grid-template-columns:2fr}.PromoListing-module_carouselSlide__AMTPF{height:100%;padding:6px}@media (min-width:320px){.PromoListing-module_cardGrid__llf73{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:636px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr);grid-template-columns:repeat(4,1fr)}.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid3Cards__VKWMs .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:4}.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:4}}@media (min-width:768px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:1024px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(468px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(437px,1fr);grid-template-columns:repeat(6,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid4Cards__5Bv5u .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:5}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:6}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:6}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2){grid-column-end:4}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2){grid-column-end:4}}@media (min-width:1280px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(592px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(523px,1fr)}.PromoListing-module_cardGrid__llf73{gap:32px}}