@arc-ui/community-components 0.1.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/.turbo/turbo-build.log +6 -6
  2. package/CHANGELOG.md +28 -0
  3. package/dist/Accordion/Accordion.cjs.js +7 -6
  4. package/dist/Accordion/Accordion.esm.js +7 -6
  5. package/dist/ArticleSidebar/ArticleSidebar.cjs.js +148 -0
  6. package/dist/ArticleSidebar/ArticleSidebar.esm.js +146 -0
  7. package/dist/ArticleSidebar/styles.css +1 -0
  8. package/dist/Author/Author.cjs.js +6 -6
  9. package/dist/Author/Author.esm.js +6 -6
  10. package/dist/BannerWithTabs/BannerWithTabs.cjs.js +16 -25
  11. package/dist/BannerWithTabs/BannerWithTabs.esm.js +17 -26
  12. package/dist/BannerWithTabs/styles.css +1 -1
  13. package/dist/CopyLead/CopyLead.cjs.js +15 -16
  14. package/dist/CopyLead/CopyLead.esm.js +15 -16
  15. package/dist/DownloadList/DownloadList.cjs.js +10 -8
  16. package/dist/DownloadList/DownloadList.esm.js +10 -8
  17. package/dist/FeaturePost/FeaturePost.cjs.js +21 -23
  18. package/dist/FeaturePost/FeaturePost.esm.js +21 -23
  19. package/dist/Highlights/Highlights.cjs.js +10 -9
  20. package/dist/Highlights/Highlights.esm.js +10 -9
  21. package/dist/ProductNavigation/ProductNavigation.cjs.js +87 -0
  22. package/dist/ProductNavigation/ProductNavigation.esm.js +85 -0
  23. package/dist/ProductNavigation/styles.css +1 -0
  24. package/dist/PromoListing/PromoListing.cjs.js +13 -12
  25. package/dist/PromoListing/PromoListing.esm.js +13 -12
  26. package/dist/Quote/Quote.cjs.js +6 -6
  27. package/dist/Quote/Quote.esm.js +6 -6
  28. package/dist/SectionHeading/SectionHeading.cjs.js +6 -5
  29. package/dist/SectionHeading/SectionHeading.esm.js +6 -5
  30. package/dist/SectionHeading/styles.css +1 -1
  31. package/dist/Statistics/Statistics.cjs.js +13 -12
  32. package/dist/Statistics/Statistics.esm.js +13 -12
  33. package/dist/Summary/Summary.cjs.js +12 -11
  34. package/dist/Summary/Summary.esm.js +12 -11
  35. package/dist/Summary/styles.css +1 -1
  36. package/dist/_shared/cjs/{Author-CAo-qryZ.js → Author-DltMey-3.js} +8 -8
  37. package/dist/_shared/cjs/SectionHeading-gjCR1F6E.js +30 -0
  38. package/dist/_shared/cjs/{index.es-X428Cm3N.js → index.es-b6s9A4Ft.js} +1 -1
  39. package/dist/_shared/cjs/tslib.es6-BxB9I209.js +99 -0
  40. package/dist/_shared/esm/{Author-Bx-cE9Pz.js → Author-son1Cgke.js} +8 -8
  41. package/dist/_shared/esm/SectionHeading-BwbuyrYn.js +28 -0
  42. package/dist/_shared/esm/{index.es-BzmvPxje.js → index.es-B89aR7nq.js} +2 -2
  43. package/dist/_shared/esm/tslib.es6-BVXMhEem.js +94 -0
  44. package/dist/index.es.js +365 -131
  45. package/dist/index.es.js.map +1 -1
  46. package/dist/index.js +366 -129
  47. package/dist/index.js.map +1 -1
  48. package/dist/styles.css +1 -1
  49. package/dist/types/{components → cjs/components}/Accordion/Accordion.d.ts +1 -1
  50. package/dist/types/{components → cjs/components}/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +1 -1
  51. package/dist/types/cjs/components/ArticleSidebar/ArticleSidebar.d.ts +36 -0
  52. package/dist/types/cjs/components/ArticleSidebar/index.d.ts +1 -0
  53. package/dist/types/cjs/components/ArticleSidebar/types/link-section.d.ts +11 -0
  54. package/dist/types/cjs/components/ArticleSidebar/types/share-button.d.ts +7 -0
  55. package/dist/types/cjs/components/ArticleSidebar/types/share.d.ts +8 -0
  56. package/dist/types/cjs/components/ArticleSidebar/types/sidebar-author.d.ts +4 -0
  57. package/dist/types/cjs/components/ArticleSidebar/types/text-section.d.ts +6 -0
  58. package/dist/types/cjs/components/ArticleSidebar/types/topic.d.ts +7 -0
  59. package/dist/types/{components → cjs/components}/Author/Author.d.ts +1 -1
  60. package/dist/types/cjs/components/BannerWithTabs/BannerWithTabs.d.ts +42 -0
  61. package/dist/types/{components → cjs/components}/CopyLead/components/MediaContent/MediaContent.d.ts +1 -1
  62. package/dist/types/{components → cjs/components}/CopyLead/templates/Media/Media.d.ts +2 -2
  63. package/dist/types/cjs/components/CopyLead/types/copy-lead-list-item.d.ts +5 -0
  64. package/dist/types/cjs/components/DownloadList/DownloadList.d.ts +7 -0
  65. package/dist/types/{components → cjs/components}/FeaturePost/FeaturePost.d.ts +2 -2
  66. package/dist/types/{components → cjs/components}/FeaturePost/components/MediaContent/MediaContent.d.ts +1 -1
  67. package/dist/types/{components → cjs/components}/Highlights/Highlights.d.ts +1 -1
  68. package/dist/types/{components → cjs/components}/Highlights/components/HighlightItem/HighlightItem.d.ts +3 -6
  69. package/dist/types/cjs/components/Highlights/types/highlight-link.d.ts +5 -0
  70. package/dist/types/cjs/components/Highlights/types/highlight-list-item.d.ts +7 -0
  71. package/dist/types/{components → cjs/components}/Highlights/types/index.d.ts +1 -0
  72. package/dist/types/cjs/components/ProductNavigation/ProductNavigation.d.ts +49 -0
  73. package/dist/types/cjs/components/ProductNavigation/index.d.ts +2 -0
  74. package/dist/types/cjs/components/ProductNavigation/types/index.d.ts +1 -0
  75. package/dist/types/cjs/components/ProductNavigation/types/product-list.d.ts +6 -0
  76. package/dist/types/{components → cjs/components}/PromoListing/PromoListing.d.ts +5 -5
  77. package/dist/types/{components → cjs/components}/SectionHeading/SectionHeading.d.ts +6 -1
  78. package/dist/types/{components → cjs/components}/Summary/Summary.d.ts +2 -1
  79. package/dist/types/cjs/components/index.d.ts +14 -0
  80. package/dist/types/esm/components/Accordion/Accordion.d.ts +9 -0
  81. package/dist/types/esm/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +9 -0
  82. package/dist/types/esm/components/Accordion/index.d.ts +1 -0
  83. package/dist/types/esm/components/ArticleSidebar/ArticleSidebar.d.ts +36 -0
  84. package/dist/types/esm/components/ArticleSidebar/index.d.ts +1 -0
  85. package/dist/types/esm/components/ArticleSidebar/types/link-section.d.ts +11 -0
  86. package/dist/types/esm/components/ArticleSidebar/types/share-button.d.ts +7 -0
  87. package/dist/types/esm/components/ArticleSidebar/types/share.d.ts +8 -0
  88. package/dist/types/esm/components/ArticleSidebar/types/sidebar-author.d.ts +4 -0
  89. package/dist/types/esm/components/ArticleSidebar/types/text-section.d.ts +6 -0
  90. package/dist/types/esm/components/ArticleSidebar/types/topic.d.ts +7 -0
  91. package/dist/types/esm/components/Author/Author.d.ts +17 -0
  92. package/dist/types/esm/components/Author/index.d.ts +1 -0
  93. package/dist/types/esm/components/BannerWithTabs/BannerWithTabs.d.ts +42 -0
  94. package/dist/types/esm/components/BannerWithTabs/index.d.ts +1 -0
  95. package/dist/types/esm/components/CopyLead/CopyLead.d.ts +42 -0
  96. package/dist/types/esm/components/CopyLead/components/Button/Button.d.ts +3 -0
  97. package/dist/types/esm/components/CopyLead/components/Button/index.d.ts +1 -0
  98. package/dist/types/esm/components/CopyLead/components/Column/Column.d.ts +6 -0
  99. package/dist/types/esm/components/CopyLead/components/Column/index.d.ts +1 -0
  100. package/dist/types/esm/components/CopyLead/components/Container/Container.d.ts +9 -0
  101. package/dist/types/esm/components/CopyLead/components/Container/index.d.ts +1 -0
  102. package/dist/types/esm/components/CopyLead/components/IconList/IconList.d.ts +8 -0
  103. package/dist/types/esm/components/CopyLead/components/IconList/index.d.ts +1 -0
  104. package/dist/types/esm/components/CopyLead/components/Image/Image.d.ts +3 -0
  105. package/dist/types/esm/components/CopyLead/components/Image/index.d.ts +1 -0
  106. package/dist/types/esm/components/CopyLead/components/MediaContent/MediaContent.d.ts +9 -0
  107. package/dist/types/esm/components/CopyLead/components/MediaContent/index.d.ts +1 -0
  108. package/dist/types/esm/components/CopyLead/index.d.ts +1 -0
  109. package/dist/types/esm/components/CopyLead/templates/Content/Content.d.ts +10 -0
  110. package/dist/types/esm/components/CopyLead/templates/Content/index.d.ts +1 -0
  111. package/dist/types/esm/components/CopyLead/templates/Media/Media.d.ts +16 -0
  112. package/dist/types/esm/components/CopyLead/templates/Media/index.d.ts +1 -0
  113. package/dist/types/esm/components/CopyLead/types/copy-lead-button.d.ts +2 -0
  114. package/dist/types/esm/components/CopyLead/types/copy-lead-image.d.ts +4 -0
  115. package/dist/types/esm/components/CopyLead/types/copy-lead-list-item.d.ts +5 -0
  116. package/dist/types/esm/components/CopyLead/types/copy-lead-transcript-link.d.ts +6 -0
  117. package/dist/types/esm/components/CopyLead/types/index.d.ts +4 -0
  118. package/dist/types/esm/components/DownloadList/DownloadList.d.ts +7 -0
  119. package/dist/types/esm/components/DownloadList/index.d.ts +1 -0
  120. package/dist/types/esm/components/FeaturePost/FeaturePost.d.ts +45 -0
  121. package/dist/types/esm/components/FeaturePost/components/Image/Image.d.ts +3 -0
  122. package/dist/types/esm/components/FeaturePost/components/Image/index.d.ts +1 -0
  123. package/dist/types/esm/components/FeaturePost/components/MediaContent/MediaContent.d.ts +15 -0
  124. package/dist/types/esm/components/FeaturePost/index.d.ts +1 -0
  125. package/dist/types/esm/components/FeaturePost/types/feature-post-app-button-footer.d.ts +6 -0
  126. package/dist/types/esm/components/FeaturePost/types/feature-post-cta-footer.d.ts +7 -0
  127. package/dist/types/esm/components/FeaturePost/types/feature-post-image.d.ts +4 -0
  128. package/dist/types/esm/components/FeaturePost/types/index.d.ts +3 -0
  129. package/dist/types/esm/components/Highlights/Highlights.d.ts +17 -0
  130. package/dist/types/esm/components/Highlights/components/HighlightItem/HighlightItem.d.ts +11 -0
  131. package/dist/types/esm/components/Highlights/components/HighlightList/HighlightList.d.ts +9 -0
  132. package/dist/types/esm/components/Highlights/index.d.ts +1 -0
  133. package/dist/types/esm/components/Highlights/types/highlight-link.d.ts +5 -0
  134. package/dist/types/esm/components/Highlights/types/highlight-list-item.d.ts +7 -0
  135. package/dist/types/esm/components/Highlights/types/index.d.ts +2 -0
  136. package/dist/types/esm/components/ProductNavigation/ProductNavigation.d.ts +49 -0
  137. package/dist/types/esm/components/ProductNavigation/index.d.ts +2 -0
  138. package/dist/types/esm/components/ProductNavigation/types/index.d.ts +1 -0
  139. package/dist/types/esm/components/ProductNavigation/types/product-list.d.ts +6 -0
  140. package/dist/types/esm/components/PromoListing/PromoListing.d.ts +38 -0
  141. package/dist/types/esm/components/PromoListing/index.d.ts +1 -0
  142. package/dist/types/esm/components/Quote/Quote.d.ts +11 -0
  143. package/dist/types/esm/components/Quote/index.d.ts +1 -0
  144. package/dist/types/esm/components/SectionHeading/SectionHeading.d.ts +30 -0
  145. package/dist/types/esm/components/SectionHeading/index.d.ts +1 -0
  146. package/dist/types/esm/components/Statistics/Statistics.d.ts +7 -0
  147. package/dist/types/esm/components/Statistics/helpers/get-link-props.d.ts +2 -0
  148. package/dist/types/esm/components/Statistics/index.d.ts +1 -0
  149. package/dist/types/esm/components/Statistics/types/statistic-link.d.ts +6 -0
  150. package/dist/types/esm/components/Statistics/types/statistic.d.ts +8 -0
  151. package/dist/types/esm/components/Summary/Summary.d.ts +19 -0
  152. package/dist/types/esm/components/Summary/index.d.ts +1 -0
  153. package/dist/types/esm/components/index.d.ts +14 -0
  154. package/dist/types/esm/index.d.ts +1 -0
  155. package/generate-versions.js +19 -0
  156. package/package.json +37 -34
  157. package/rollup.config.js +15 -1
  158. package/src/components/Accordion/Accordion.tsx +1 -1
  159. package/src/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.tsx +1 -1
  160. package/src/components/ArticleSidebar/ArticleSidebar.module.css +35 -0
  161. package/src/components/ArticleSidebar/ArticleSidebar.tsx +219 -0
  162. package/src/components/ArticleSidebar/index.ts +1 -0
  163. package/src/components/ArticleSidebar/types/link-section.ts +12 -0
  164. package/src/components/ArticleSidebar/types/share-button.ts +7 -0
  165. package/src/components/ArticleSidebar/types/share.ts +9 -0
  166. package/src/components/ArticleSidebar/types/sidebar-author.ts +5 -0
  167. package/src/components/ArticleSidebar/types/text-section.ts +7 -0
  168. package/src/components/ArticleSidebar/types/topic.ts +8 -0
  169. package/src/components/Author/Author.tsx +10 -10
  170. package/src/components/BannerWithTabs/BannerWithTabs.module.css +22 -0
  171. package/src/components/BannerWithTabs/BannerWithTabs.tsx +65 -51
  172. package/src/components/CopyLead/CopyLead.tsx +1 -1
  173. package/src/components/CopyLead/components/Button/Button.tsx +1 -1
  174. package/src/components/CopyLead/components/IconList/IconList.tsx +4 -4
  175. package/src/components/CopyLead/components/Image/Image.tsx +2 -4
  176. package/src/components/CopyLead/components/MediaContent/MediaContent.tsx +3 -3
  177. package/src/components/CopyLead/templates/Content/Content.tsx +1 -1
  178. package/src/components/CopyLead/templates/Media/Media.tsx +7 -7
  179. package/src/components/CopyLead/types/copy-lead-list-item.ts +1 -3
  180. package/src/components/DownloadList/DownloadList.tsx +10 -13
  181. package/src/components/FeaturePost/FeaturePost.tsx +20 -20
  182. package/src/components/FeaturePost/components/Image/Image.tsx +2 -4
  183. package/src/components/FeaturePost/components/MediaContent/MediaContent.tsx +2 -2
  184. package/src/components/Highlights/Highlights.tsx +2 -2
  185. package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +10 -12
  186. package/src/components/Highlights/types/highlight-link.ts +5 -0
  187. package/src/components/Highlights/types/highlight-list-item.ts +3 -6
  188. package/src/components/Highlights/types/index.ts +1 -0
  189. package/src/components/ProductNavigation/ProductNavigation.module.css +51 -0
  190. package/src/components/ProductNavigation/ProductNavigation.tsx +200 -0
  191. package/src/components/ProductNavigation/index.ts +5 -0
  192. package/src/components/ProductNavigation/types/index.ts +1 -0
  193. package/src/components/ProductNavigation/types/product-list.ts +10 -0
  194. package/src/components/PromoListing/PromoListing.tsx +8 -10
  195. package/src/components/SectionHeading/SectionHeading.module.css +13 -1
  196. package/src/components/SectionHeading/SectionHeading.tsx +24 -7
  197. package/src/components/Statistics/Statistics.tsx +14 -14
  198. package/src/components/Summary/Summary.module.css +1 -1
  199. package/src/components/Summary/Summary.tsx +18 -11
  200. package/src/components/index.ts +14 -11
  201. package/versions.json +1 -0
  202. package/dist/_shared/cjs/SectionHeading-L2EpTQ79.js +0 -25
  203. package/dist/_shared/cjs/tslib.es6-DBA0GFPJ.js +0 -48
  204. package/dist/_shared/esm/SectionHeading-C70XNhqJ.js +0 -23
  205. package/dist/_shared/esm/tslib.es6-Cv15O4Nx.js +0 -46
  206. package/dist/types/components/BannerWithTabs/BannerWithTabs.d.ts +0 -17
  207. package/dist/types/components/CopyLead/types/copy-lead-list-item.d.ts +0 -6
  208. package/dist/types/components/DownloadList/DownloadList.d.ts +0 -10
  209. package/dist/types/components/Highlights/types/highlight-list-item.d.ts +0 -10
  210. package/dist/types/components/index.d.ts +0 -11
  211. /package/dist/types/{components → cjs/components}/Accordion/index.d.ts +0 -0
  212. /package/dist/types/{components → cjs/components}/Author/index.d.ts +0 -0
  213. /package/dist/types/{components → cjs/components}/BannerWithTabs/index.d.ts +0 -0
  214. /package/dist/types/{components → cjs/components}/CopyLead/CopyLead.d.ts +0 -0
  215. /package/dist/types/{components → cjs/components}/CopyLead/components/Button/Button.d.ts +0 -0
  216. /package/dist/types/{components → cjs/components}/CopyLead/components/Button/index.d.ts +0 -0
  217. /package/dist/types/{components → cjs/components}/CopyLead/components/Column/Column.d.ts +0 -0
  218. /package/dist/types/{components → cjs/components}/CopyLead/components/Column/index.d.ts +0 -0
  219. /package/dist/types/{components → cjs/components}/CopyLead/components/Container/Container.d.ts +0 -0
  220. /package/dist/types/{components → cjs/components}/CopyLead/components/Container/index.d.ts +0 -0
  221. /package/dist/types/{components → cjs/components}/CopyLead/components/IconList/IconList.d.ts +0 -0
  222. /package/dist/types/{components → cjs/components}/CopyLead/components/IconList/index.d.ts +0 -0
  223. /package/dist/types/{components → cjs/components}/CopyLead/components/Image/Image.d.ts +0 -0
  224. /package/dist/types/{components → cjs/components}/CopyLead/components/Image/index.d.ts +0 -0
  225. /package/dist/types/{components → cjs/components}/CopyLead/components/MediaContent/index.d.ts +0 -0
  226. /package/dist/types/{components → cjs/components}/CopyLead/index.d.ts +0 -0
  227. /package/dist/types/{components → cjs/components}/CopyLead/templates/Content/Content.d.ts +0 -0
  228. /package/dist/types/{components → cjs/components}/CopyLead/templates/Content/index.d.ts +0 -0
  229. /package/dist/types/{components → cjs/components}/CopyLead/templates/Media/index.d.ts +0 -0
  230. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-button.d.ts +0 -0
  231. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-image.d.ts +0 -0
  232. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-transcript-link.d.ts +0 -0
  233. /package/dist/types/{components → cjs/components}/CopyLead/types/index.d.ts +0 -0
  234. /package/dist/types/{components → cjs/components}/DownloadList/index.d.ts +0 -0
  235. /package/dist/types/{components → cjs/components}/FeaturePost/components/Image/Image.d.ts +0 -0
  236. /package/dist/types/{components → cjs/components}/FeaturePost/components/Image/index.d.ts +0 -0
  237. /package/dist/types/{components → cjs/components}/FeaturePost/index.d.ts +0 -0
  238. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -0
  239. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-cta-footer.d.ts +0 -0
  240. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-image.d.ts +0 -0
  241. /package/dist/types/{components → cjs/components}/FeaturePost/types/index.d.ts +0 -0
  242. /package/dist/types/{components → cjs/components}/Highlights/components/HighlightList/HighlightList.d.ts +0 -0
  243. /package/dist/types/{components → cjs/components}/Highlights/index.d.ts +0 -0
  244. /package/dist/types/{components → cjs/components}/PromoListing/index.d.ts +0 -0
  245. /package/dist/types/{components → cjs/components}/Quote/Quote.d.ts +0 -0
  246. /package/dist/types/{components → cjs/components}/Quote/index.d.ts +0 -0
  247. /package/dist/types/{components → cjs/components}/SectionHeading/index.d.ts +0 -0
  248. /package/dist/types/{components → cjs/components}/Statistics/Statistics.d.ts +0 -0
  249. /package/dist/types/{components → cjs/components}/Statistics/helpers/get-link-props.d.ts +0 -0
  250. /package/dist/types/{components → cjs/components}/Statistics/index.d.ts +0 -0
  251. /package/dist/types/{components → cjs/components}/Statistics/types/statistic-link.d.ts +0 -0
  252. /package/dist/types/{components → cjs/components}/Statistics/types/statistic.d.ts +0 -0
  253. /package/dist/types/{components → cjs/components}/Summary/index.d.ts +0 -0
  254. /package/dist/types/{index.d.ts → cjs/index.d.ts} +0 -0
@@ -1,16 +1,16 @@
1
1
 
2
- > @arc-ui/community-components@0.1.0 build /builds/enterprise/frontend/arc-community/packages/components
2
+ > @arc-ui/community-components@1.0.1 build /builds/enterprise/frontend/arc-community/packages/components
3
3
  > rimraf dist && rollup -c && generate-subpath-css
4
4
 
5
5
  
6
6
  src/index.ts → dist...
7
- created dist in 6.1s
7
+ created dist in 7.7s
8
8
  
9
9
  src/index.ts → dist/index.es.js...
10
- created dist/index.es.js in 4.1s
10
+ created dist/index.es.js in 4.7s
11
11
  
12
- ./src/components/Accordion/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
13
- created dist in 3.9s
12
+ ./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
13
+ created dist in 3.7s
14
14
  
15
- ./src/components/Accordion/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
15
+ ./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts → dist...
16
16
  created dist in 3.8s
package/CHANGELOG.md CHANGED
@@ -1,7 +1,35 @@
1
1
  # @arc-ui/community-components
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Bumping the arc-ui version to v12.0.0-beta.21
8
+
3
9
  ## 1.0.0
4
10
 
5
11
  ### Major Changes
6
12
 
13
+ - b860730: Update community repo to use the arc repo changes, dot notation removed, theme and icon packages flattened, pkg paths updated
14
+
15
+ ### Minor Changes
16
+
17
+ - 60a7218: Allow Icon prop to accept custom svgs types for copylead and articlesidebar
18
+ - 6bbb300: Add new alignTypography and isInverted props to BannerWithTabs
19
+ - 233531a: Remove illustrations package and references
20
+ - 3030de7: Add script to generate json file containing all versions from changelog
21
+ - da5f2b0: Add optional image to sectionheading component
22
+ - 7de6006: Create new ProductNavigation component
23
+ - 1e6d75f: Add component generator and ArticleSidebar component.
24
+
25
+ ### Patch Changes
26
+
27
+ - 1eccea8: Update BannerWithTabs story copy and fix dark background bug
28
+ - 1e6d75f: Update SectionHeading component to use prop elementType p
29
+ - df655c9: Refactor ProductNavigation component to remove js DOM manipulation
30
+
31
+ ## 0.1.0
32
+
33
+ ### Minor Changes
34
+
7
35
  - initial version
@@ -1,14 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
4
  var React = require('react');
5
5
  var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
6
- var SectionHeading = require('../_shared/cjs/SectionHeading-L2EpTQ79.js');
7
- var Disclosure = require('@arc-ui/components/dist/Disclosure');
6
+ var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
7
+ var Disclosure = require('@arc-ui/components/Disclosure');
8
8
  require('../_shared/cjs/index-Bp6Dd2i1.js');
9
- require('@arc-ui/components/dist/Heading');
10
- require('@arc-ui/components/dist/Text');
11
- require('@arc-ui/components/dist/VerticalSpace');
9
+ require('@arc-ui/components/Heading');
10
+ require('@arc-ui/components/Text');
11
+ require('@arc-ui/components/VerticalSpace');
12
+ require('@arc-ui/components/Image');
12
13
 
13
14
  var AccordionDisclosureList = function (_a) {
14
15
  var disclosureList = _a.disclosureList;
@@ -1,12 +1,13 @@
1
- import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-Cv15O4Nx.js';
1
+ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
2
  import React from 'react';
3
3
  import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
4
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-C70XNhqJ.js';
5
- import { Disclosure } from '@arc-ui/components/dist/Disclosure';
4
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
5
+ import { Disclosure } from '@arc-ui/components/Disclosure';
6
6
  import '../_shared/esm/index-BfTCfPZ1.js';
7
- import '@arc-ui/components/dist/Heading';
8
- import '@arc-ui/components/dist/Text';
9
- import '@arc-ui/components/dist/VerticalSpace';
7
+ import '@arc-ui/components/Heading';
8
+ import '@arc-ui/components/Text';
9
+ import '@arc-ui/components/VerticalSpace';
10
+ import '@arc-ui/components/Image';
10
11
 
11
12
  var AccordionDisclosureList = function (_a) {
12
13
  var disclosureList = _a.disclosureList;
@@ -0,0 +1,148 @@
1
+ 'use strict';
2
+
3
+ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
4
+ var React = require('react');
5
+ var Heading = require('@arc-ui/components/Heading');
6
+ var Icon = require('@arc-ui/components/Icon');
7
+ var Text = require('@arc-ui/components/Text');
8
+ var Rule = require('@arc-ui/components/Rule');
9
+ var Link = require('@arc-ui/components/Link');
10
+ var Tag = require('@arc-ui/components/Tag');
11
+ var Toast = require('@arc-ui/components/Toast');
12
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
13
+ var Author = require('../_shared/cjs/Author-DltMey-3.js');
14
+ require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
15
+ require('@arc-ui/components/Grid');
16
+ require('@arc-ui/components/Avatar');
17
+
18
+ /**
19
+ * Do not edit directly
20
+ * Generated file
21
+ */
22
+
23
+ const ArcIconSocialLinkedin =
24
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M25.856 25.86H21.71v-6.496c0-1.55-.032-3.544-2.161-3.544-2.162 0-2.492 1.686-2.492 3.43v6.61H12.91V12.5h3.983v1.821h.053c.557-1.05 1.91-2.158 3.932-2.158 4.201 0 4.978 2.765 4.978 6.364v7.334zM8.226 10.673a2.406 2.406 0 0 1-2.406-2.41 2.408 2.408 0 1 1 2.407 2.41zm2.08 15.189H6.148V12.5h4.158v13.36zM27.929 2H4.066C2.924 2 2 2.903 2 4.017v23.966C2 29.098 2.924 30 4.066 30h23.86c1.14 0 2.074-.902 2.074-2.017V4.017C30 2.903 29.067 2 27.926 2z'/%3e%3c/svg%3e";
25
+
26
+ /**
27
+ * Do not edit directly
28
+ * Generated file
29
+ */
30
+
31
+ const ArcIconSocialX =
32
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M24.034 3h4.278l-9.343 10.639L30 28.103h-8.64l-6.781-8.768-7.739 8.768H2.563L12.58 16.738 2 3h8.864l6.107 8.014zm-1.491 22.562h2.364L9.57 5.402H7.009z'/%3e%3c/svg%3e";
33
+
34
+ /**
35
+ * Do not edit directly
36
+ * Generated file
37
+ */
38
+
39
+ const BtIconLink =
40
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M9.959 10.013h2.417a5.99 5.99 0 0 1 5.226 8.915.5.5 0 1 0 .872.49 6.99 6.99 0 0 0-6.098-10.405H9.959a6.989 6.989 0 0 0 0 13.977h1.54a.5.5 0 1 0 0-1h-1.54a5.989 5.989 0 0 1 0-11.977'/%3e%3cpath d='M22.063 9.013h-1.54a.5.5 0 0 0 0 1h1.54a5.989 5.989 0 0 1 0 11.977h-2.417a5.99 5.99 0 0 1-5.227-8.915.5.5 0 1 0-.871-.49 6.99 6.99 0 0 0 6.097 10.405h2.417a6.989 6.989 0 0 0 0-13.977'/%3e%3c/svg%3e";
41
+
42
+ /**
43
+ * Do not edit directly
44
+ * Generated file
45
+ */
46
+
47
+ const BtIconEmailUnread =
48
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M29 6H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1m0 1v1.716l-11 7.616a3.52 3.52 0 0 1-3.984 0L3 8.705V7Zm0 2.933v12.15l-8.775-6.075Zm-17.208 6.075L3 22.095V9.922ZM3 25v-1.689l9.67-6.695.777.538a4.52 4.52 0 0 0 5.123 0l.776-.538L29 23.3V25Z'/%3e%3c/svg%3e";
49
+
50
+ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"ArticleSidebar-module_textContent__3nCfG","shareButtonContainer":"ArticleSidebar-module_shareButtonContainer__iAfHL","shareButton":"ArticleSidebar-module_shareButton__rb-1E"};
51
+
52
+ /**
53
+ * Use `ArticleSidebar` to provide additional information about the article.
54
+ */
55
+ var ArticleSidebar = function (_a) {
56
+ var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
57
+ var id = React.useId();
58
+ var _b = React.useState(false), showToast = _b[0], setShowToast = _b[1];
59
+ var url = location.href;
60
+ var copyTextToClipBoard = function () { return tslib_es6.__awaiter(void 0, void 0, void 0, function () {
61
+ return tslib_es6.__generator(this, function (_a) {
62
+ switch (_a.label) {
63
+ case 0: return [4 /*yield*/, navigator.clipboard.writeText(url)];
64
+ case 1:
65
+ _a.sent();
66
+ setShowToast(true);
67
+ return [2 /*return*/];
68
+ }
69
+ });
70
+ }); };
71
+ var shareButtons = tslib_es6.__spreadArray(tslib_es6.__spreadArray([
72
+ {
73
+ isButton: true,
74
+ label: "Copy url to clipboard",
75
+ onClick: copyTextToClipBoard,
76
+ icon: BtIconLink,
77
+ },
78
+ {
79
+ label: "Share by email",
80
+ href: "mailto:?subject=".concat(share.articleTitle, "&body=").concat(url),
81
+ icon: BtIconEmailUnread,
82
+ }
83
+ ], (share.linkedin
84
+ ? [
85
+ {
86
+ label: "Share on LinkedIn",
87
+ href: "https://www.linkedin.com/sharing/share-offsite/?url=".concat(url),
88
+ icon: ArcIconSocialLinkedin,
89
+ },
90
+ ]
91
+ : []), true), (share.x
92
+ ? [
93
+ {
94
+ label: "Share on x",
95
+ href: "https://twitter.com/intent/tweet?url=".concat(url),
96
+ icon: ArcIconSocialX,
97
+ },
98
+ ]
99
+ : []), true);
100
+ return (React.createElement(React.Fragment, null,
101
+ React.createElement("div", { className: styles.textContent },
102
+ author && (React.createElement(React.Fragment, null,
103
+ React.createElement(Author.Author, tslib_es6.__assign({}, author, { avatar: tslib_es6.__assign(tslib_es6.__assign({}, author.avatar), { size: "xl" }) })))),
104
+ aboutSection && (React.createElement(React.Fragment, null,
105
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
106
+ React.createElement(Heading.Heading, { level: aboutSection.headingLevel }, aboutSection.heading),
107
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
108
+ React.createElement(Text.Text, { size: "s" }, aboutSection.content))),
109
+ additionalContent &&
110
+ additionalContent.map(function (_a) {
111
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content;
112
+ return (React.createElement(React.Fragment, null,
113
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
114
+ React.createElement(Heading.Heading, { level: headingLevel, size: "xxs" }, heading),
115
+ React.createElement(Text.Text, { size: "s" }, content)));
116
+ })),
117
+ (author || aboutSection || additionalContent) && (React.createElement("div", { "data-testid": "content-rule" },
118
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
119
+ React.createElement(Rule.Rule, null),
120
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }))),
121
+ React.createElement(Heading.Heading, { level: linkSection.headingLevel }, linkSection.heading),
122
+ linkSection.links.map(function (_a) {
123
+ var text = _a.text, url = _a.url;
124
+ return (React.createElement(React.Fragment, null,
125
+ React.createElement(VerticalSpace.VerticalSpace, { size: "8" }),
126
+ React.createElement("div", { key: "".concat(id, "-").concat(url) },
127
+ React.createElement(Link.Link, { size: "s", href: url }, text))));
128
+ }),
129
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
130
+ topics && (React.createElement(React.Fragment, null,
131
+ React.createElement(Heading.Heading, { level: topics.headingLevel }, topics.heading),
132
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
133
+ React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag.Tag, tslib_es6.__assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })),
134
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }))),
135
+ React.createElement(Rule.Rule, null),
136
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
137
+ React.createElement(Heading.Heading, { level: share.headingLevel }, share.heading),
138
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
139
+ React.createElement("div", { className: styles.shareButtonContainer }, shareButtons.map(function (_a) {
140
+ var isButton = _a.isButton, label = _a.label, href = _a.href, icon = _a.icon, onClick = _a.onClick;
141
+ return (React.createElement("a", { key: "".concat(id, "-").concat(label), role: isButton ? "button" : undefined, target: "_blank", rel: "noreferrer", className: styles.shareButton, "aria-label": label, href: href, onClick: isButton ? onClick : undefined },
142
+ React.createElement(Icon.Icon, { icon: icon, size: 24 })));
143
+ })),
144
+ React.createElement(Toast.Toast, null,
145
+ React.createElement(Toast.ToastNotification, { status: "success", title: "Copied to clipboard", isOpen: showToast, onOpenChange: function () { return setShowToast(false); } }))));
146
+ };
147
+
148
+ exports.ArticleSidebar = ArticleSidebar;
@@ -0,0 +1,146 @@
1
+ import { b as __spreadArray, a as __assign, c as __awaiter, d as __generator } from '../_shared/esm/tslib.es6-BVXMhEem.js';
2
+ import React, { useId, useState } from 'react';
3
+ import { Heading } from '@arc-ui/components/Heading';
4
+ import { Icon } from '@arc-ui/components/Icon';
5
+ import { Text } from '@arc-ui/components/Text';
6
+ import { Rule } from '@arc-ui/components/Rule';
7
+ import { Link } from '@arc-ui/components/Link';
8
+ import { Tag } from '@arc-ui/components/Tag';
9
+ import { Toast, ToastNotification } from '@arc-ui/components/Toast';
10
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
11
+ import { A as Author } from '../_shared/esm/Author-son1Cgke.js';
12
+ import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
13
+ import '@arc-ui/components/Grid';
14
+ import '@arc-ui/components/Avatar';
15
+
16
+ /**
17
+ * Do not edit directly
18
+ * Generated file
19
+ */
20
+
21
+ const ArcIconSocialLinkedin =
22
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M25.856 25.86H21.71v-6.496c0-1.55-.032-3.544-2.161-3.544-2.162 0-2.492 1.686-2.492 3.43v6.61H12.91V12.5h3.983v1.821h.053c.557-1.05 1.91-2.158 3.932-2.158 4.201 0 4.978 2.765 4.978 6.364v7.334zM8.226 10.673a2.406 2.406 0 0 1-2.406-2.41 2.408 2.408 0 1 1 2.407 2.41zm2.08 15.189H6.148V12.5h4.158v13.36zM27.929 2H4.066C2.924 2 2 2.903 2 4.017v23.966C2 29.098 2.924 30 4.066 30h23.86c1.14 0 2.074-.902 2.074-2.017V4.017C30 2.903 29.067 2 27.926 2z'/%3e%3c/svg%3e";
23
+
24
+ /**
25
+ * Do not edit directly
26
+ * Generated file
27
+ */
28
+
29
+ const ArcIconSocialX =
30
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M24.034 3h4.278l-9.343 10.639L30 28.103h-8.64l-6.781-8.768-7.739 8.768H2.563L12.58 16.738 2 3h8.864l6.107 8.014zm-1.491 22.562h2.364L9.57 5.402H7.009z'/%3e%3c/svg%3e";
31
+
32
+ /**
33
+ * Do not edit directly
34
+ * Generated file
35
+ */
36
+
37
+ const BtIconLink =
38
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M9.959 10.013h2.417a5.99 5.99 0 0 1 5.226 8.915.5.5 0 1 0 .872.49 6.99 6.99 0 0 0-6.098-10.405H9.959a6.989 6.989 0 0 0 0 13.977h1.54a.5.5 0 1 0 0-1h-1.54a5.989 5.989 0 0 1 0-11.977'/%3e%3cpath d='M22.063 9.013h-1.54a.5.5 0 0 0 0 1h1.54a5.989 5.989 0 0 1 0 11.977h-2.417a5.99 5.99 0 0 1-5.227-8.915.5.5 0 1 0-.871-.49 6.99 6.99 0 0 0 6.097 10.405h2.417a6.989 6.989 0 0 0 0-13.977'/%3e%3c/svg%3e";
39
+
40
+ /**
41
+ * Do not edit directly
42
+ * Generated file
43
+ */
44
+
45
+ const BtIconEmailUnread =
46
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M29 6H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1m0 1v1.716l-11 7.616a3.52 3.52 0 0 1-3.984 0L3 8.705V7Zm0 2.933v12.15l-8.775-6.075Zm-17.208 6.075L3 22.095V9.922ZM3 25v-1.689l9.67-6.695.777.538a4.52 4.52 0 0 0 5.123 0l.776-.538L29 23.3V25Z'/%3e%3c/svg%3e";
47
+
48
+ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"ArticleSidebar-module_textContent__3nCfG","shareButtonContainer":"ArticleSidebar-module_shareButtonContainer__iAfHL","shareButton":"ArticleSidebar-module_shareButton__rb-1E"};
49
+
50
+ /**
51
+ * Use `ArticleSidebar` to provide additional information about the article.
52
+ */
53
+ var ArticleSidebar = function (_a) {
54
+ var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
55
+ var id = useId();
56
+ var _b = useState(false), showToast = _b[0], setShowToast = _b[1];
57
+ var url = location.href;
58
+ var copyTextToClipBoard = function () { return __awaiter(void 0, void 0, void 0, function () {
59
+ return __generator(this, function (_a) {
60
+ switch (_a.label) {
61
+ case 0: return [4 /*yield*/, navigator.clipboard.writeText(url)];
62
+ case 1:
63
+ _a.sent();
64
+ setShowToast(true);
65
+ return [2 /*return*/];
66
+ }
67
+ });
68
+ }); };
69
+ var shareButtons = __spreadArray(__spreadArray([
70
+ {
71
+ isButton: true,
72
+ label: "Copy url to clipboard",
73
+ onClick: copyTextToClipBoard,
74
+ icon: BtIconLink,
75
+ },
76
+ {
77
+ label: "Share by email",
78
+ href: "mailto:?subject=".concat(share.articleTitle, "&body=").concat(url),
79
+ icon: BtIconEmailUnread,
80
+ }
81
+ ], (share.linkedin
82
+ ? [
83
+ {
84
+ label: "Share on LinkedIn",
85
+ href: "https://www.linkedin.com/sharing/share-offsite/?url=".concat(url),
86
+ icon: ArcIconSocialLinkedin,
87
+ },
88
+ ]
89
+ : []), true), (share.x
90
+ ? [
91
+ {
92
+ label: "Share on x",
93
+ href: "https://twitter.com/intent/tweet?url=".concat(url),
94
+ icon: ArcIconSocialX,
95
+ },
96
+ ]
97
+ : []), true);
98
+ return (React.createElement(React.Fragment, null,
99
+ React.createElement("div", { className: styles.textContent },
100
+ author && (React.createElement(React.Fragment, null,
101
+ React.createElement(Author, __assign({}, author, { avatar: __assign(__assign({}, author.avatar), { size: "xl" }) })))),
102
+ aboutSection && (React.createElement(React.Fragment, null,
103
+ React.createElement(VerticalSpace, { size: "32" }),
104
+ React.createElement(Heading, { level: aboutSection.headingLevel }, aboutSection.heading),
105
+ React.createElement(VerticalSpace, { size: "16" }),
106
+ React.createElement(Text, { size: "s" }, aboutSection.content))),
107
+ additionalContent &&
108
+ additionalContent.map(function (_a) {
109
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content;
110
+ return (React.createElement(React.Fragment, null,
111
+ React.createElement(VerticalSpace, { size: "16" }),
112
+ React.createElement(Heading, { level: headingLevel, size: "xxs" }, heading),
113
+ React.createElement(Text, { size: "s" }, content)));
114
+ })),
115
+ (author || aboutSection || additionalContent) && (React.createElement("div", { "data-testid": "content-rule" },
116
+ React.createElement(VerticalSpace, { size: "32" }),
117
+ React.createElement(Rule, null),
118
+ React.createElement(VerticalSpace, { size: "32" }))),
119
+ React.createElement(Heading, { level: linkSection.headingLevel }, linkSection.heading),
120
+ linkSection.links.map(function (_a) {
121
+ var text = _a.text, url = _a.url;
122
+ return (React.createElement(React.Fragment, null,
123
+ React.createElement(VerticalSpace, { size: "8" }),
124
+ React.createElement("div", { key: "".concat(id, "-").concat(url) },
125
+ React.createElement(Link, { size: "s", href: url }, text))));
126
+ }),
127
+ React.createElement(VerticalSpace, { size: "32" }),
128
+ topics && (React.createElement(React.Fragment, null,
129
+ React.createElement(Heading, { level: topics.headingLevel }, topics.heading),
130
+ React.createElement(VerticalSpace, { size: "16" }),
131
+ React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag, __assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })),
132
+ React.createElement(VerticalSpace, { size: "32" }))),
133
+ React.createElement(Rule, null),
134
+ React.createElement(VerticalSpace, { size: "32" }),
135
+ React.createElement(Heading, { level: share.headingLevel }, share.heading),
136
+ React.createElement(VerticalSpace, { size: "16" }),
137
+ React.createElement("div", { className: styles.shareButtonContainer }, shareButtons.map(function (_a) {
138
+ var isButton = _a.isButton, label = _a.label, href = _a.href, icon = _a.icon, onClick = _a.onClick;
139
+ return (React.createElement("a", { key: "".concat(id, "-").concat(label), role: isButton ? "button" : undefined, target: "_blank", rel: "noreferrer", className: styles.shareButton, "aria-label": label, href: href, onClick: isButton ? onClick : undefined },
140
+ React.createElement(Icon, { icon: icon, size: 24 })));
141
+ })),
142
+ React.createElement(Toast, null,
143
+ React.createElement(ToastNotification, { status: "success", title: "Copied to clipboard", isOpen: showToast, onOpenChange: function () { return setShowToast(false); } }))));
144
+ };
145
+
146
+ export { ArticleSidebar };
@@ -0,0 +1 @@
1
+ .ArticleSidebar-module_tagGroup__rIPQc{display:flex;gap:16px;flex-wrap:wrap}.ArticleSidebar-module_textContent__3nCfG{padding-right:16px}.ArticleSidebar-module_shareButtonContainer__iAfHL{display:flex;gap:8px}.arc a.ArticleSidebar-module_shareButton__rb-1E{color:var(--sem-color-fg-secondary-light-default);background:var(--sem-color-bg-secondary-light-default);border:1px solid var(--sem-color-border-secondary-light-subtle);cursor:pointer;border-radius:50%;padding:12px;display:block;transition:0.4s ease color,0.4s ease border-color}.arc a.ArticleSidebar-module_shareButton__rb-1E:hover{color:var(--sem-color-bg-primary-light-strong);border-color:var(--sem-color-bg-primary-light-strong)}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var Author = require('../_shared/cjs/Author-CAo-qryZ.js');
4
- require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
3
+ var Author = require('../_shared/cjs/Author-DltMey-3.js');
4
+ require('../_shared/cjs/tslib.es6-BxB9I209.js');
5
5
  require('react');
6
6
  require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
7
- require('@arc-ui/components/dist/Grid');
8
- require('@arc-ui/components/dist/Avatar');
9
- require('@arc-ui/components/dist/Heading');
10
- require('@arc-ui/components/dist/Text');
7
+ require('@arc-ui/components/Grid');
8
+ require('@arc-ui/components/Avatar');
9
+ require('@arc-ui/components/Heading');
10
+ require('@arc-ui/components/Text');
11
11
 
12
12
 
13
13
 
@@ -1,8 +1,8 @@
1
- export { A as Author } from '../_shared/esm/Author-Bx-cE9Pz.js';
2
- import '../_shared/esm/tslib.es6-Cv15O4Nx.js';
1
+ export { A as Author } from '../_shared/esm/Author-son1Cgke.js';
2
+ import '../_shared/esm/tslib.es6-BVXMhEem.js';
3
3
  import 'react';
4
4
  import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
5
- import '@arc-ui/components/dist/Grid';
6
- import '@arc-ui/components/dist/Avatar';
7
- import '@arc-ui/components/dist/Heading';
8
- import '@arc-ui/components/dist/Text';
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,36 +1,27 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
4
3
  var React = require('react');
5
- var HeroBanner = require('@arc-ui/components/dist/HeroBanner');
6
- var ContentSwitcher = require('@arc-ui/components/dist/ContentSwitcher');
7
- var ContentSwitcherDropdown = require('@arc-ui/components/dist/ContentSwitcherDropdown');
4
+ var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
5
+ var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
6
+ var components = require('@arc-ui/components');
7
+ require('../_shared/cjs/tslib.es6-BxB9I209.js');
8
+ require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
9
+ require('@arc-ui/components/Heading');
10
+ require('@arc-ui/components/Text');
11
+ require('@arc-ui/components/VerticalSpace');
12
+ require('@arc-ui/components/Image');
8
13
 
9
- var styles = {"contentSwitcherWrapper":"BannerWithTabs-module_contentSwitcherWrapper__xvz39","contentSwitcherDropdownWrapper":"BannerWithTabs-module_contentSwitcherDropdownWrapper__eT5zq"};
14
+ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
10
15
 
11
16
  var BannerWithTabs = function (_a) {
12
17
  var _b;
13
- var tabs = _a.tabs, defaultValue = _a.defaultValue;
14
- var initialTab = defaultValue !== null && defaultValue !== void 0 ? defaultValue : (_b = tabs[0]) === null || _b === void 0 ? void 0 : _b.value;
15
- var _c = React.useState(initialTab), selectedTab = _c[0], setSelectedTab = _c[1];
18
+ var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, _d = _a.isInverted, isInverted = _d === void 0 ? false : _d, minHeight = _a.minHeight, minHeightM = _a.minHeightM;
16
19
  return (React.createElement(React.Fragment, null,
17
- React.createElement("div", { className: styles.contentSwitcherWrapper },
18
- React.createElement(ContentSwitcher.ContentSwitcher, { value: selectedTab, onValueChange: function (value) { return setSelectedTab(value); } },
19
- React.createElement(ContentSwitcher.ContentSwitcher.List, { isInset: true }, tabs.map(function (_a, index) {
20
- var label = _a.label, value = _a.value;
21
- return (React.createElement(ContentSwitcher.ContentSwitcher.Tab, { label: label, value: value, key: "".concat(index, "-").concat(value) }));
22
- })),
23
- tabs.map(function (_a, index) {
24
- var value = _a.value, content = _a.content;
25
- return (React.createElement(ContentSwitcher.ContentSwitcher.Content, { value: value, key: index },
26
- React.createElement(HeroBanner.HeroBanner, tslib_es6.__assign({}, content))));
27
- }))),
28
- React.createElement("div", { className: styles.contentSwitcherDropdownWrapper },
29
- React.createElement(ContentSwitcherDropdown.ContentSwitcherDropdown, { value: selectedTab, tabs: tabs, isInset: true, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
30
- var value = _a.value, content = _a.content;
31
- return (React.createElement(ContentSwitcherDropdown.ContentSwitcherDropdown.Content, { value: value, key: "".concat(index, "-").concat(value) },
32
- React.createElement(HeroBanner.HeroBanner, tslib_es6.__assign({}, content))));
33
- })))));
20
+ React.createElement("div", { className: index.classNames(styles.bannerWithTabsHeading, (_b = {},
21
+ _b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
22
+ _b)), style: { color: isInverted ? "white" : "black" } },
23
+ React.createElement(SectionHeading.SectionHeading, { heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
24
+ React.createElement(components.TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
34
25
  };
35
26
 
36
27
  exports.BannerWithTabs = BannerWithTabs;
@@ -1,34 +1,25 @@
1
- import { a as __assign } from '../_shared/esm/tslib.es6-Cv15O4Nx.js';
2
- import React, { useState } from 'react';
3
- import { HeroBanner } from '@arc-ui/components/dist/HeroBanner';
4
- import { ContentSwitcher } from '@arc-ui/components/dist/ContentSwitcher';
5
- import { ContentSwitcherDropdown } from '@arc-ui/components/dist/ContentSwitcherDropdown';
1
+ import React from 'react';
2
+ import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
3
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
4
+ import { TabbedBanner } from '@arc-ui/components';
5
+ import '../_shared/esm/tslib.es6-BVXMhEem.js';
6
+ import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
7
+ import '@arc-ui/components/Heading';
8
+ import '@arc-ui/components/Text';
9
+ import '@arc-ui/components/VerticalSpace';
10
+ import '@arc-ui/components/Image';
6
11
 
7
- var styles = {"contentSwitcherWrapper":"BannerWithTabs-module_contentSwitcherWrapper__xvz39","contentSwitcherDropdownWrapper":"BannerWithTabs-module_contentSwitcherDropdownWrapper__eT5zq"};
12
+ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
8
13
 
9
14
  var BannerWithTabs = function (_a) {
10
15
  var _b;
11
- var tabs = _a.tabs, defaultValue = _a.defaultValue;
12
- var initialTab = defaultValue !== null && defaultValue !== void 0 ? defaultValue : (_b = tabs[0]) === null || _b === void 0 ? void 0 : _b.value;
13
- var _c = useState(initialTab), selectedTab = _c[0], setSelectedTab = _c[1];
16
+ var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, _d = _a.isInverted, isInverted = _d === void 0 ? false : _d, minHeight = _a.minHeight, minHeightM = _a.minHeightM;
14
17
  return (React.createElement(React.Fragment, null,
15
- React.createElement("div", { className: styles.contentSwitcherWrapper },
16
- React.createElement(ContentSwitcher, { value: selectedTab, onValueChange: function (value) { return setSelectedTab(value); } },
17
- React.createElement(ContentSwitcher.List, { isInset: true }, tabs.map(function (_a, index) {
18
- var label = _a.label, value = _a.value;
19
- return (React.createElement(ContentSwitcher.Tab, { label: label, value: value, key: "".concat(index, "-").concat(value) }));
20
- })),
21
- tabs.map(function (_a, index) {
22
- var value = _a.value, content = _a.content;
23
- return (React.createElement(ContentSwitcher.Content, { value: value, key: index },
24
- React.createElement(HeroBanner, __assign({}, content))));
25
- }))),
26
- React.createElement("div", { className: styles.contentSwitcherDropdownWrapper },
27
- React.createElement(ContentSwitcherDropdown, { value: selectedTab, tabs: tabs, isInset: true, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
28
- var value = _a.value, content = _a.content;
29
- return (React.createElement(ContentSwitcherDropdown.Content, { value: value, key: "".concat(index, "-").concat(value) },
30
- React.createElement(HeroBanner, __assign({}, content))));
31
- })))));
18
+ React.createElement("div", { className: classNames(styles.bannerWithTabsHeading, (_b = {},
19
+ _b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
20
+ _b)), style: { color: isInverted ? "white" : "black" } },
21
+ React.createElement(SectionHeading, { heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
22
+ React.createElement(TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
32
23
  };
33
24
 
34
25
  export { BannerWithTabs };
@@ -1 +1 @@
1
- .BannerWithTabs-module_contentSwitcherWrapper__xvz39{display:none}.BannerWithTabs-module_contentSwitcherDropdownWrapper__eT5zq{display:block}@media (min-width:636px){.BannerWithTabs-module_contentSwitcherWrapper__xvz39{display:block}.BannerWithTabs-module_contentSwitcherDropdownWrapper__eT5zq{display:none}}
1
+ .BannerWithTabs-module_contentSwitcherWrapper__xvz39{display:none}.BannerWithTabs-module_contentSwitcherDropdownWrapper__eT5zq{display:block}@media (min-width:636px){.BannerWithTabs-module_contentSwitcherWrapper__xvz39{display:block}.BannerWithTabs-module_contentSwitcherDropdownWrapper__eT5zq{display:none}}.BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO{text-align:center}@media (min-width:636px){.BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO{padding-left:62px;padding-right:62px}}@media (min-width:768px){.BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO{padding-left:86px;padding-right:86px}}@media (min-width:1024px){.BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO{padding-left:104px;padding-right:104px}}