@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,528 @@
1
+ import React$1, { ReactNode, FC } from 'react';
2
+ import { HeadingLevel } from '@arc-ui/components/Heading';
3
+ import { ImageProps, ImageSourceProps } from '@arc-ui/components/dist/types/components/Image/Image';
4
+ import { DisclosureProps } from '@arc-ui/components/Disclosure';
5
+ import { AvatarProps } from '@arc-ui/components/Avatar';
6
+ import { HeadingLevel as HeadingLevel$1 } from '@arc-ui/components/dist/Heading';
7
+ import { VideoPlayerProps } from '@arc-ui/components/dist/VideoPlayer';
8
+ import { ButtonProps } from '@arc-ui/components/dist/types/components/Button/Button';
9
+ import { DownloadProps } from '@arc-ui/components/Download';
10
+ import { VideoPlayerProps as VideoPlayerProps$1 } from '@arc-ui/components/VideoPlayer';
11
+ import { AppButtonProps } from '@arc-ui/components/dist/types/components/AppButton';
12
+ import { ButtonV2Props } from '@arc-ui/components/ButtonV2';
13
+ import { MediaCardProps } from '@arc-ui/components/MediaCard';
14
+ import { ImpactCardProps } from '@arc-ui/components/ImpactCard';
15
+ import { InformationCardProps } from '@arc-ui/components/InformationCard';
16
+ import { TypographyCardProps } from '@arc-ui/components/TypographyCard';
17
+ import { TemplateBannerProps } from '@arc-ui/components/dist/types/components/TemplateBanner/TemplateBanner';
18
+ import { TagProps } from '@arc-ui/components/dist/types/components/Tag/Tag';
19
+ import { ButtonV2Props as ButtonV2Props$1 } from '@arc-ui/components/types/components/ButtonV2/ButtonV2';
20
+
21
+ interface AccordionHeadingProps {
22
+ /**
23
+ * heading for `AccordionHeading`.
24
+ */
25
+ heading: string;
26
+ /**
27
+ * Adds padding to `AccordionHeading`.
28
+ */
29
+ isPadded?: boolean;
30
+ /**
31
+ * Determine a heading level for `AccordionHeading`.
32
+ */
33
+ headingLevel?: HeadingLevel;
34
+ /**
35
+ * Text content for `AccordionHeading`.
36
+ */
37
+ content?: string;
38
+ /**
39
+ * Id content for `AccordionHeading`.
40
+ */
41
+ id?: string;
42
+ /**
43
+ * Header image for the `AccordionHeading`.
44
+ */
45
+ image?: ImageProps;
46
+ /**
47
+ * Header size for the `AccordionHeading`.
48
+ */
49
+ headingSize?: "xl" | "m";
50
+ }
51
+
52
+ interface AccordionDisclosureListProps {
53
+ /**
54
+ * Array of `Disclosure` components. Maximum 10 in one `Accordion`.
55
+ */
56
+ disclosureList: (DisclosureProps & {
57
+ id: string;
58
+ })[];
59
+ }
60
+
61
+ /**
62
+ * Use the `Accordion` component to package together a title, content and a number of disclosure components into one section (maximum 10).
63
+ */
64
+ declare const Accordion: React$1.FC<AccordionProps>;
65
+ interface AccordionProps extends Omit<AccordionHeadingProps, "isPadded">, AccordionDisclosureListProps {
66
+ }
67
+
68
+ declare const Author: React$1.FC<AuthorProps>;
69
+ interface AuthorProps {
70
+ /**
71
+ * Name of the Author.
72
+ */
73
+ name: string;
74
+ /**
75
+ * Job title of the Author.
76
+ */
77
+ title: string;
78
+ /**
79
+ * Optional Avatar for the Author.
80
+ */
81
+ avatar?: AvatarProps;
82
+ }
83
+
84
+ interface CopyLeadImage extends Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad"> {
85
+ sources?: Pick<ImageSourceProps, "media" | "sizes" | "srcSet">[];
86
+ }
87
+
88
+ interface CopyLeadListItem {
89
+ icon: string;
90
+ heading: string;
91
+ text?: string;
92
+ }
93
+
94
+ type CopyLeadButton = Pick<ButtonProps, "label" | "onClick" | "href" | "target" | "ariaLabel">;
95
+
96
+ /**
97
+ * Use `CopyLead` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link to a supporting explanatory video. An optional CTA can be used to link to further information or trigger a sales or enquiry journey.
98
+ */
99
+ declare const CopyLead: React$1.FC<CopyLeadProps>;
100
+ interface CopyLeadProps {
101
+ /**
102
+ * heading for `CopyLead`.
103
+ */
104
+ heading: string;
105
+ /**
106
+ * Determine a heading level for `<MediaTemplate />` and `<ContentTemplate />`
107
+ */
108
+ headingLevel?: HeadingLevel$1;
109
+ /**
110
+ * Reverse the columns so the image / video appears on the left. Doesn't affect mobile layouts, and is only applied if there is a video or an image.
111
+ */
112
+ isReverseOrder?: boolean;
113
+ /**
114
+ * Text content for `CopyLead`.
115
+ */
116
+ content?: string;
117
+ /**
118
+ * Button for `CopyLead`.
119
+ */
120
+ button?: CopyLeadButton;
121
+ /**
122
+ * Image for `CopyLead`.
123
+ */
124
+ image?: CopyLeadImage;
125
+ /**
126
+ * Video embed. Supported platforms are YouTube and Vimeo.
127
+ */
128
+ video?: VideoPlayerProps;
129
+ /**
130
+ * List items for `CopyLead`
131
+ */
132
+ listItems: CopyLeadListItem[];
133
+ }
134
+
135
+ declare const SectionHeading: React$1.FC<SectionHeadingProps>;
136
+ interface SectionHeadingProps {
137
+ /**
138
+ * heading for `SectionHeading`.
139
+ */
140
+ heading: string;
141
+ /**
142
+ * Adds padding to `SectionHeading`.
143
+ */
144
+ isPadded?: boolean;
145
+ /**
146
+ * Determine a heading level for `SectionHeading`.
147
+ */
148
+ headingLevel?: HeadingLevel;
149
+ /**
150
+ * Text content for `SectionHeading`.
151
+ */
152
+ content?: string | ReactNode;
153
+ /**
154
+ * Id content for `SectionHeading`.
155
+ */
156
+ id?: string;
157
+ /**
158
+ * Header image for the `SectionHeading`.
159
+ */
160
+ image?: ImageProps;
161
+ }
162
+
163
+ declare const DownloadList: React$1.FC<DownloadListProps>;
164
+ interface DownloadListProps extends Omit<SectionHeadingProps, "isPadded"> {
165
+ downloads: DownloadProps[];
166
+ }
167
+
168
+ declare const FAQs: React$1.FC<FAQsProps>;
169
+ interface ExtendedAccordionProps extends AccordionProps {
170
+ altLinkTitle?: string;
171
+ }
172
+ interface FAQsProps extends SectionHeadingProps {
173
+ type: "list" | "listWithLinks" | "tabs";
174
+ linkListHeading?: string;
175
+ accordionData: ExtendedAccordionProps[];
176
+ }
177
+
178
+ interface FeaturePostAppButtonFooter {
179
+ type: "appButton";
180
+ googlePlay?: Omit<AppButtonProps, "type">;
181
+ appStore?: Omit<AppButtonProps, "type">;
182
+ }
183
+
184
+ interface FeaturePostCtaFooter {
185
+ type: "cta";
186
+ button: Pick<ButtonProps, "label" | "onClick" | "href" | "target" | "ariaLabel">;
187
+ author?: AuthorProps;
188
+ }
189
+
190
+ interface FeaturePostImage extends Pick<ImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad"> {
191
+ sources?: Pick<ImageSourceProps, "media" | "sizes" | "srcSet">[];
192
+ }
193
+
194
+ /**
195
+ * Use `FeaturePost` to direct traffic towards an article, case study, or product information page, or to a 3rd part App Store provider. Where the component links to an article page, the author attribution can be given here. The `FeaturePost` must be supported by an image, and in future, the component will support embedded video as well.
196
+ * */
197
+ declare const FeaturePost: React$1.FC<FeaturePostProps>;
198
+ interface FeaturePostProps {
199
+ /**
200
+ * heading for `FeaturePost`.
201
+ */
202
+ heading: string;
203
+ /**
204
+ * Determine a heading level for `<FeaturePost />`
205
+ */
206
+ headingLevel?: HeadingLevel;
207
+ /**
208
+ * Text content for `FeaturePost`.
209
+ */
210
+ content: string;
211
+ /**
212
+ * Reverse the columns so the image / video appears on the left. Doesn't affect mobile layouts, and is only applied if there is a video or an image.
213
+ */
214
+ isReverseOrder?: boolean;
215
+ /**
216
+ * Image for `FeaturePost`.
217
+ */
218
+ image?: FeaturePostImage;
219
+ /**
220
+ * Footer for `FeaturePost`. Types included are `cta` or `appButton`.
221
+ */
222
+ footer?: FeaturePostCtaFooter | FeaturePostAppButtonFooter;
223
+ /**
224
+ * Label for `FeaturePost`.
225
+ */
226
+ label?: {
227
+ text: string;
228
+ date: string | Date;
229
+ };
230
+ /**
231
+ * Video embed. Supported platforms are YouTube and Vimeo.
232
+ */
233
+ video?: VideoPlayerProps$1;
234
+ }
235
+
236
+ interface HighlightLink {
237
+ url: string;
238
+ textLink: string;
239
+ onClick?: (e: React.MouseEvent) => void;
240
+ }
241
+
242
+ interface HighlightListItem {
243
+ icon?: string;
244
+ heading: string;
245
+ text?: string | React.ReactNode;
246
+ link?: HighlightLink;
247
+ }
248
+
249
+ /**
250
+ * Use `Highlights` to give supporting information about a page or proposition. I
251
+ * t can be used to call out key benefits in bullet points, or link.
252
+ * Both two and three column options are available.
253
+ */
254
+ declare const Highlights: React$1.FC<HighlightsProps>;
255
+ interface HighlightsProps extends Omit<SectionHeadingProps, "isPadded"> {
256
+ /**
257
+ * List items for `Highlights`.
258
+ * List length should be a minimum of 2 and a maximum of 6.
259
+ */
260
+ listItems: HighlightListItem[];
261
+ /**
262
+ * Number of columns for option desktop & tablet breakpoints only.
263
+ */
264
+ columns?: "2" | "3";
265
+ /**
266
+ * Optional CTA rendered at the end of Highlights.
267
+ * Only ONE CTA is allowed.
268
+ */
269
+ cta?: HighlightsCTAProps;
270
+ }
271
+ /**
272
+ * CTA configuration for Highlights
273
+ */
274
+ type HighlightsCTAProps = Pick<ButtonV2Props, "label" | "href" | "onClick" | "iconPosition"> & {
275
+ /**
276
+ * Allowed button styles only.
277
+ * Primary is intentionally NOT supported.
278
+ */
279
+ buttonStyle: "secondary" | "compact";
280
+ /**
281
+ * Icon override & Active icon override
282
+ * - undefined → uses default BtIconArrowRightFill for compact style
283
+ * - null → icon disabled
284
+ * - string → custom icon
285
+ */
286
+ icon?: string | null;
287
+ iconActive?: string | null;
288
+ };
289
+
290
+ /**
291
+ * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
292
+ */
293
+ declare const PromoListing: React$1.FC<PromoListingProps>;
294
+ interface PromoListMediaCard extends MediaCardProps {
295
+ type: "media-card";
296
+ }
297
+ interface PromoListImpactCard extends ImpactCardProps {
298
+ type: "impact-card";
299
+ }
300
+ interface PromoListInformationCard extends InformationCardProps {
301
+ type: "information-card";
302
+ }
303
+ interface PromoListTypographyCard extends TypographyCardProps {
304
+ type: "typography-card";
305
+ }
306
+ type PromoListCard = PromoListMediaCard | PromoListInformationCard | PromoListTypographyCard | PromoListImpactCard;
307
+ interface PromoListingProps extends Omit<SectionHeadingProps, "isPadded"> {
308
+ /**
309
+ * Cards for the PromoListing.
310
+ */
311
+ cards: PromoListCard[];
312
+ /**
313
+ * Shows cards in a carousel on devices below 1024px (m breakpoint) if true.
314
+ */
315
+ isCarousel?: boolean;
316
+ /**
317
+ * Number of columns for desktop breakpoints. "2" and "3" column options available.
318
+ */
319
+ columns?: "2" | "3";
320
+ }
321
+
322
+ /**
323
+ * Use `Quote` where a quote or testimonial from an existing customer or stakeholder would help build trust and credibility with potential new customers. It's commonly used on product pages where customers would learn about a product or service that we offer.*/
324
+ declare const Quote: React$1.FC<QuoteProps>;
325
+ interface QuoteProps {
326
+ styling?: "Default" | "Secondary";
327
+ content: string;
328
+ author?: AuthorProps;
329
+ citeUrl?: string;
330
+ }
331
+
332
+ declare const Summary: React$1.FC<SummaryProps>;
333
+ interface SummaryContent {
334
+ heading: string;
335
+ text: string;
336
+ }
337
+ interface SummaryProps {
338
+ /**
339
+ * Content for <Summary />
340
+ */
341
+ content: [SummaryContent, SummaryContent, SummaryContent];
342
+ /**
343
+ * Determine a heading level for each column.
344
+ */
345
+ headingLevel?: HeadingLevel;
346
+ noBorder?: boolean;
347
+ }
348
+
349
+ interface StatisticlLink {
350
+ text: string;
351
+ href: string;
352
+ openInNewTab?: boolean;
353
+ ariaLabel?: string;
354
+ }
355
+
356
+ interface Statistic {
357
+ stat: string;
358
+ copy: string;
359
+ link?: StatisticlLink;
360
+ source?: string;
361
+ sourceUrl?: string;
362
+ }
363
+
364
+ declare const Statistics: React$1.FC<StatisticsProps>;
365
+ interface StatisticsProps extends Omit<SectionHeadingProps, "isPadded"> {
366
+ statistics: Statistic[];
367
+ }
368
+
369
+ declare const BannerWithTabs: FC<BannerWithTabsProps>;
370
+ interface BannerWithTabsProps extends Omit<SectionHeadingProps, "image" | "isPadded"> {
371
+ /**
372
+ * Align `SectionHeading` component.
373
+ */
374
+ alignTypography?: "left" | "center";
375
+ /**
376
+ * Default to an inital value of a tab. If this is left blank it will default to first tab.
377
+ */
378
+ defaultValue?: string;
379
+ /**
380
+ * Determine what tabs to render. They need both a `value` and `label` prop
381
+ */
382
+ tabs: {
383
+ value: string;
384
+ label: string;
385
+ content: TemplateBannerProps;
386
+ }[];
387
+ /**
388
+ * Set the minimum height of the all banners M and above.
389
+ */
390
+ minHeight?: number;
391
+ /**
392
+ * Set the minimum height all of the banner for the M breakpoint. This will be active when the TabbedBanner switches to the mobile layout at the medium breakpoint.
393
+ */
394
+ minHeightM?: number;
395
+ /**
396
+ * heading for `SectionHeading`.
397
+ */
398
+ heading: string;
399
+ /**
400
+ * Text content for `SectionHeading`.
401
+ */
402
+ content?: string;
403
+ }
404
+
405
+ interface TextSection {
406
+ heading: string;
407
+ content: string;
408
+ headingLevel?: HeadingLevel$1;
409
+ }
410
+
411
+ interface Link {
412
+ text: string;
413
+ url: string;
414
+ }
415
+ interface LinkSection {
416
+ heading: string;
417
+ links: Link[];
418
+ headingLevel?: HeadingLevel$1;
419
+ }
420
+
421
+ interface Topic {
422
+ heading: string;
423
+ tags: TagProps[];
424
+ headingLevel?: HeadingLevel$1;
425
+ }
426
+
427
+ interface Share {
428
+ heading: string;
429
+ articleTitle: string;
430
+ x?: boolean;
431
+ headingLevel?: HeadingLevel$1;
432
+ linkedin?: boolean;
433
+ }
434
+
435
+ interface SidebarAuthor extends AuthorProps {
436
+ avatar?: Omit<NonNullable<AuthorProps["avatar"]>, "size">;
437
+ }
438
+
439
+ /**
440
+ * Use `ArticleSidebar` to provide additional information about the article.
441
+ */
442
+ declare const ArticleSidebar: React$1.FC<ArticleSidebarProps>;
443
+ interface ArticleSidebarProps {
444
+ /**
445
+ * Props for Author component.
446
+ */
447
+ author?: SidebarAuthor;
448
+ /**
449
+ * Content for the about section.
450
+ */
451
+ aboutSection?: TextSection;
452
+ /**
453
+ * Array of headings and text for additional text sections.
454
+ */
455
+ additionalContent?: TextSection[];
456
+ /**
457
+ * Links that are relevant to the article.
458
+ */
459
+ linkSection: LinkSection;
460
+ /**
461
+ * Topics rendered as tags that are relevant to the article.
462
+ */
463
+ topics?: Topic;
464
+ /**
465
+ * Sharing options for the article.
466
+ */
467
+ share: Share;
468
+ }
469
+
470
+ type ListInformationCardButtonProps = Pick<ButtonV2Props$1, "label" | "onClick" | "href">;
471
+ type ListInformationCardProps = Pick<InformationCardProps, "heading" | "text">;
472
+ type ListProps = ListInformationCardButtonProps & ListInformationCardProps;
473
+
474
+ /**
475
+ * Use `ProductNavigation` to give a collection of product information cards collected within a grid that has optional show/hide capability
476
+ */
477
+ declare const ProductNavigation: React$1.FC<ProductNavigationProps>;
478
+ interface ProductNavigationProps extends Omit<SectionHeadingProps, "isPadded"> {
479
+ /**
480
+ * List items for `ProductNavigation`.
481
+ */
482
+ productList: ListProps[];
483
+ /**
484
+ * Include "show more" or "show less" buttons.
485
+ */
486
+ hideButton?: boolean;
487
+ /**
488
+ * Prevent "show less" button from appearing after full productList is displayed.
489
+ */
490
+ hideShowLess?: boolean;
491
+ /**
492
+ * Set default expand or collapse view of product on page load.
493
+ */
494
+ defaultExpanded?: boolean;
495
+ /**
496
+ * Set number of products to hide or show.
497
+ */
498
+ listIncrement?: number;
499
+ /**
500
+ * Set number of products to show by default.
501
+ */
502
+ cardsToDisplay?: number;
503
+ /**
504
+ * Custom onClick handler called everytime "show more" is pressed
505
+ */
506
+ onClickMore?: () => void;
507
+ /**
508
+ * Custom onClick handler called everytime "show less" is pressed
509
+ */
510
+ onClickLess?: () => void;
511
+ /**
512
+ * Set a loading state for the "show more" and "show less" buttons
513
+ */
514
+ isLoading?: boolean;
515
+ /**
516
+ * Set minHeight for all products.
517
+ */
518
+ minHeight?: number;
519
+ }
520
+
521
+ declare const ContentInfoWidget: React$1.FC<ContentInfoWidgetProps>;
522
+ interface ContentInfoWidgetProps {
523
+ icon: string;
524
+ text: string;
525
+ }
526
+
527
+ export { Accordion, ArticleSidebar, Author, BannerWithTabs, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, ProductNavigation, PromoListing, Quote, SectionHeading, Statistics, Summary };
528
+ export type { AccordionProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HighlightsProps, ListProps, ProductNavigationProps, PromoListingProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps };