@arc-ui/community-components 0.1.0 → 1.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 +127 -7
  2. package/CHANGELOG.md +22 -0
  3. package/dist/Accordion/Accordion.cjs.js +9 -9
  4. package/dist/Accordion/Accordion.esm.js +7 -7
  5. package/dist/ArticleSidebar/ArticleSidebar.cjs.js +185 -0
  6. package/dist/ArticleSidebar/ArticleSidebar.esm.js +183 -0
  7. package/dist/ArticleSidebar/styles.css +1 -0
  8. package/dist/Author/Author.cjs.js +6 -7
  9. package/dist/Author/Author.esm.js +6 -7
  10. package/dist/BannerWithTabs/BannerWithTabs.cjs.js +15 -25
  11. package/dist/BannerWithTabs/BannerWithTabs.esm.js +16 -26
  12. package/dist/BannerWithTabs/styles.css +1 -1
  13. package/dist/CopyLead/CopyLead.cjs.js +25 -27
  14. package/dist/CopyLead/CopyLead.esm.js +15 -17
  15. package/dist/DownloadList/DownloadList.cjs.js +10 -9
  16. package/dist/DownloadList/DownloadList.esm.js +9 -8
  17. package/dist/FeaturePost/FeaturePost.cjs.js +28 -31
  18. package/dist/FeaturePost/FeaturePost.esm.js +21 -24
  19. package/dist/Highlights/Highlights.cjs.js +10 -10
  20. package/dist/Highlights/Highlights.esm.js +10 -10
  21. package/dist/ProductNavigation/ProductNavigation.cjs.js +86 -0
  22. package/dist/ProductNavigation/ProductNavigation.esm.js +84 -0
  23. package/dist/ProductNavigation/styles.css +1 -0
  24. package/dist/PromoListing/PromoListing.cjs.js +17 -17
  25. package/dist/PromoListing/PromoListing.esm.js +13 -13
  26. package/dist/Quote/Quote.cjs.js +8 -9
  27. package/dist/Quote/Quote.esm.js +6 -7
  28. package/dist/SectionHeading/SectionHeading.cjs.js +6 -6
  29. package/dist/SectionHeading/SectionHeading.esm.js +6 -6
  30. package/dist/SectionHeading/styles.css +1 -1
  31. package/dist/Statistics/Statistics.cjs.js +14 -14
  32. package/dist/Statistics/Statistics.esm.js +13 -13
  33. package/dist/Summary/Summary.cjs.js +7 -7
  34. package/dist/Summary/Summary.esm.js +7 -7
  35. package/dist/_shared/cjs/{Author-CAo-qryZ.js → Author-BXxxwh6E.js} +11 -12
  36. package/dist/_shared/cjs/SectionHeading-7IxNz67p.js +29 -0
  37. package/dist/_shared/cjs/filter-data-attrs-DlS_Fyr9.js +112 -0
  38. package/dist/_shared/cjs/{index.es-X428Cm3N.js → index.es-HAMLJhPd.js} +1 -1
  39. package/dist/_shared/esm/{Author-Bx-cE9Pz.js → Author-B8tJxqB8.js} +8 -9
  40. package/dist/_shared/esm/SectionHeading-Dz0GfXsP.js +27 -0
  41. package/dist/_shared/esm/filter-data-attrs-DAx-HNG5.js +106 -0
  42. package/dist/_shared/esm/{index.es-BzmvPxje.js → index.es-BI7la-9v.js} +2 -2
  43. package/dist/index.es.js +399 -127
  44. package/dist/index.es.js.map +1 -1
  45. package/dist/index.js +400 -125
  46. package/dist/index.js.map +1 -1
  47. package/dist/styles.css +1 -1
  48. package/dist/types/{components → cjs/components}/Accordion/Accordion.d.ts +1 -1
  49. package/dist/types/{components → cjs/components}/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +1 -1
  50. package/dist/types/cjs/components/ArticleSidebar/ArticleSidebar.d.ts +36 -0
  51. package/dist/types/cjs/components/ArticleSidebar/index.d.ts +1 -0
  52. package/dist/types/cjs/components/ArticleSidebar/types/link-section.d.ts +11 -0
  53. package/dist/types/cjs/components/ArticleSidebar/types/share-button.d.ts +8 -0
  54. package/dist/types/cjs/components/ArticleSidebar/types/share.d.ts +8 -0
  55. package/dist/types/cjs/components/ArticleSidebar/types/sidebar-author.d.ts +4 -0
  56. package/dist/types/cjs/components/ArticleSidebar/types/text-section.d.ts +6 -0
  57. package/dist/types/cjs/components/ArticleSidebar/types/topic.d.ts +7 -0
  58. package/dist/types/{components → cjs/components}/Author/Author.d.ts +1 -1
  59. package/dist/types/cjs/components/BannerWithTabs/BannerWithTabs.d.ts +42 -0
  60. package/dist/types/{components → cjs/components}/CopyLead/components/MediaContent/MediaContent.d.ts +1 -1
  61. package/dist/types/{components → cjs/components}/CopyLead/templates/Media/Media.d.ts +2 -2
  62. package/dist/types/cjs/components/CopyLead/types/copy-lead-list-item.d.ts +6 -0
  63. package/dist/types/cjs/components/DownloadList/DownloadList.d.ts +7 -0
  64. package/dist/types/{components → cjs/components}/FeaturePost/FeaturePost.d.ts +2 -2
  65. package/dist/types/{components → cjs/components}/FeaturePost/components/MediaContent/MediaContent.d.ts +1 -1
  66. package/dist/types/{components → cjs/components}/Highlights/Highlights.d.ts +1 -1
  67. package/dist/types/{components → cjs/components}/Highlights/components/HighlightItem/HighlightItem.d.ts +3 -5
  68. package/dist/types/cjs/components/Highlights/types/highlight-link.d.ts +5 -0
  69. package/dist/types/cjs/components/Highlights/types/highlight-list-item.d.ts +8 -0
  70. package/dist/types/{components → cjs/components}/Highlights/types/index.d.ts +1 -0
  71. package/dist/types/cjs/components/ProductNavigation/ProductNavigation.d.ts +49 -0
  72. package/dist/types/cjs/components/ProductNavigation/index.d.ts +2 -0
  73. package/dist/types/cjs/components/ProductNavigation/types/index.d.ts +1 -0
  74. package/dist/types/cjs/components/ProductNavigation/types/product-list.d.ts +6 -0
  75. package/dist/types/{components → cjs/components}/PromoListing/PromoListing.d.ts +5 -5
  76. package/dist/types/{components → cjs/components}/SectionHeading/SectionHeading.d.ts +6 -1
  77. package/dist/types/{components → cjs/components}/Summary/Summary.d.ts +1 -1
  78. package/dist/types/cjs/components/index.d.ts +14 -0
  79. package/dist/types/cjs/types/arc-icon.d.ts +2 -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 +8 -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 +6 -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 +12 -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 +8 -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 +18 -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/dist/types/esm/types/arc-icon.d.ts +2 -0
  156. package/generate-versions.js +19 -0
  157. package/package.json +37 -34
  158. package/rollup.config.js +15 -1
  159. package/src/components/Accordion/Accordion.tsx +1 -1
  160. package/src/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.tsx +1 -1
  161. package/src/components/ArticleSidebar/ArticleSidebar.module.css +35 -0
  162. package/src/components/ArticleSidebar/ArticleSidebar.tsx +219 -0
  163. package/src/components/ArticleSidebar/index.ts +1 -0
  164. package/src/components/ArticleSidebar/types/link-section.ts +12 -0
  165. package/src/components/ArticleSidebar/types/share-button.ts +9 -0
  166. package/src/components/ArticleSidebar/types/share.ts +9 -0
  167. package/src/components/ArticleSidebar/types/sidebar-author.ts +5 -0
  168. package/src/components/ArticleSidebar/types/text-section.ts +7 -0
  169. package/src/components/ArticleSidebar/types/topic.ts +8 -0
  170. package/src/components/Author/Author.tsx +10 -10
  171. package/src/components/BannerWithTabs/BannerWithTabs.module.css +22 -0
  172. package/src/components/BannerWithTabs/BannerWithTabs.tsx +65 -51
  173. package/src/components/CopyLead/CopyLead.tsx +1 -1
  174. package/src/components/CopyLead/components/Button/Button.tsx +1 -1
  175. package/src/components/CopyLead/components/IconList/IconList.tsx +4 -4
  176. package/src/components/CopyLead/components/Image/Image.tsx +2 -4
  177. package/src/components/CopyLead/components/MediaContent/MediaContent.tsx +3 -3
  178. package/src/components/CopyLead/templates/Content/Content.tsx +1 -1
  179. package/src/components/CopyLead/templates/Media/Media.tsx +7 -7
  180. package/src/components/CopyLead/types/copy-lead-list-item.ts +2 -2
  181. package/src/components/DownloadList/DownloadList.tsx +10 -13
  182. package/src/components/FeaturePost/FeaturePost.tsx +20 -20
  183. package/src/components/FeaturePost/components/Image/Image.tsx +2 -4
  184. package/src/components/FeaturePost/components/MediaContent/MediaContent.tsx +2 -2
  185. package/src/components/Highlights/Highlights.tsx +2 -2
  186. package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +11 -11
  187. package/src/components/Highlights/types/highlight-link.ts +5 -0
  188. package/src/components/Highlights/types/highlight-list-item.ts +3 -5
  189. package/src/components/Highlights/types/index.ts +1 -0
  190. package/src/components/ProductNavigation/ProductNavigation.module.css +51 -0
  191. package/src/components/ProductNavigation/ProductNavigation.tsx +200 -0
  192. package/src/components/ProductNavigation/index.ts +5 -0
  193. package/src/components/ProductNavigation/types/index.ts +1 -0
  194. package/src/components/ProductNavigation/types/product-list.ts +10 -0
  195. package/src/components/PromoListing/PromoListing.tsx +8 -10
  196. package/src/components/SectionHeading/SectionHeading.module.css +13 -1
  197. package/src/components/SectionHeading/SectionHeading.tsx +24 -7
  198. package/src/components/Statistics/Statistics.tsx +14 -14
  199. package/src/components/Summary/Summary.tsx +6 -6
  200. package/src/components/index.ts +14 -11
  201. package/src/types/arc-icon.ts +2 -0
  202. package/versions.json +1 -0
  203. package/dist/_shared/cjs/SectionHeading-L2EpTQ79.js +0 -25
  204. package/dist/_shared/cjs/filter-data-attrs-ajtUvDAC.js +0 -15
  205. package/dist/_shared/cjs/tslib.es6-DBA0GFPJ.js +0 -48
  206. package/dist/_shared/esm/SectionHeading-C70XNhqJ.js +0 -23
  207. package/dist/_shared/esm/filter-data-attrs-V7cbJuwS.js +0 -13
  208. package/dist/_shared/esm/tslib.es6-Cv15O4Nx.js +0 -46
  209. package/dist/types/components/BannerWithTabs/BannerWithTabs.d.ts +0 -17
  210. package/dist/types/components/CopyLead/types/copy-lead-list-item.d.ts +0 -6
  211. package/dist/types/components/DownloadList/DownloadList.d.ts +0 -10
  212. package/dist/types/components/Highlights/types/highlight-list-item.d.ts +0 -10
  213. package/dist/types/components/index.d.ts +0 -11
  214. /package/dist/types/{components → cjs/components}/Accordion/index.d.ts +0 -0
  215. /package/dist/types/{components → cjs/components}/Author/index.d.ts +0 -0
  216. /package/dist/types/{components → cjs/components}/BannerWithTabs/index.d.ts +0 -0
  217. /package/dist/types/{components → cjs/components}/CopyLead/CopyLead.d.ts +0 -0
  218. /package/dist/types/{components → cjs/components}/CopyLead/components/Button/Button.d.ts +0 -0
  219. /package/dist/types/{components → cjs/components}/CopyLead/components/Button/index.d.ts +0 -0
  220. /package/dist/types/{components → cjs/components}/CopyLead/components/Column/Column.d.ts +0 -0
  221. /package/dist/types/{components → cjs/components}/CopyLead/components/Column/index.d.ts +0 -0
  222. /package/dist/types/{components → cjs/components}/CopyLead/components/Container/Container.d.ts +0 -0
  223. /package/dist/types/{components → cjs/components}/CopyLead/components/Container/index.d.ts +0 -0
  224. /package/dist/types/{components → cjs/components}/CopyLead/components/IconList/IconList.d.ts +0 -0
  225. /package/dist/types/{components → cjs/components}/CopyLead/components/IconList/index.d.ts +0 -0
  226. /package/dist/types/{components → cjs/components}/CopyLead/components/Image/Image.d.ts +0 -0
  227. /package/dist/types/{components → cjs/components}/CopyLead/components/Image/index.d.ts +0 -0
  228. /package/dist/types/{components → cjs/components}/CopyLead/components/MediaContent/index.d.ts +0 -0
  229. /package/dist/types/{components → cjs/components}/CopyLead/index.d.ts +0 -0
  230. /package/dist/types/{components → cjs/components}/CopyLead/templates/Content/Content.d.ts +0 -0
  231. /package/dist/types/{components → cjs/components}/CopyLead/templates/Content/index.d.ts +0 -0
  232. /package/dist/types/{components → cjs/components}/CopyLead/templates/Media/index.d.ts +0 -0
  233. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-button.d.ts +0 -0
  234. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-image.d.ts +0 -0
  235. /package/dist/types/{components → cjs/components}/CopyLead/types/copy-lead-transcript-link.d.ts +0 -0
  236. /package/dist/types/{components → cjs/components}/CopyLead/types/index.d.ts +0 -0
  237. /package/dist/types/{components → cjs/components}/DownloadList/index.d.ts +0 -0
  238. /package/dist/types/{components → cjs/components}/FeaturePost/components/Image/Image.d.ts +0 -0
  239. /package/dist/types/{components → cjs/components}/FeaturePost/components/Image/index.d.ts +0 -0
  240. /package/dist/types/{components → cjs/components}/FeaturePost/index.d.ts +0 -0
  241. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -0
  242. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-cta-footer.d.ts +0 -0
  243. /package/dist/types/{components → cjs/components}/FeaturePost/types/feature-post-image.d.ts +0 -0
  244. /package/dist/types/{components → cjs/components}/FeaturePost/types/index.d.ts +0 -0
  245. /package/dist/types/{components → cjs/components}/Highlights/components/HighlightList/HighlightList.d.ts +0 -0
  246. /package/dist/types/{components → cjs/components}/Highlights/index.d.ts +0 -0
  247. /package/dist/types/{components → cjs/components}/PromoListing/index.d.ts +0 -0
  248. /package/dist/types/{components → cjs/components}/Quote/Quote.d.ts +0 -0
  249. /package/dist/types/{components → cjs/components}/Quote/index.d.ts +0 -0
  250. /package/dist/types/{components → cjs/components}/SectionHeading/index.d.ts +0 -0
  251. /package/dist/types/{components → cjs/components}/Statistics/Statistics.d.ts +0 -0
  252. /package/dist/types/{components → cjs/components}/Statistics/helpers/get-link-props.d.ts +0 -0
  253. /package/dist/types/{components → cjs/components}/Statistics/index.d.ts +0 -0
  254. /package/dist/types/{components → cjs/components}/Statistics/types/statistic-link.d.ts +0 -0
  255. /package/dist/types/{components → cjs/components}/Statistics/types/statistic.d.ts +0 -0
  256. /package/dist/types/{components → cjs/components}/Summary/index.d.ts +0 -0
  257. /package/dist/types/{index.d.ts → cjs/index.d.ts} +0 -0
@@ -1,16 +1,136 @@
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.0 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
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs" was ignored.
8
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs:1:0
9
+ 1: "use client";
10
+ ^
11
+ 2:
12
+ 3: import React from "react";
13
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs" was ignored.
14
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs:1:0
15
+ 1: "use client";
16
+ ^
17
+ 2:
18
+ 3: import React from "react";
19
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs" was ignored.
20
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs:1:0
21
+ 1: "use client";
22
+ ^
23
+ 2:
24
+ 3: import React from "react";
25
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs" was ignored.
26
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs:1:0
27
+ 1: "use client";
28
+ ^
29
+ 2:
30
+ 3: import React from "react";
31
+ (!) [plugin typescript] src/components/ProductNavigation/ProductNavigation.tsx (53:22): @rollup/plugin-typescript TS2339: Property 'focus' does not exist on type 'never'.
32
+ /builds/enterprise/frontend/arc-community/packages/components/src/components/ProductNavigation/ProductNavigation.tsx:53:22
33
+ 
34
+ 53 cardRef.current?.focus();
35
+    ~~~~~
36
+ 
37
+ created dist in 4.5s
8
38
  
9
39
  src/index.ts → dist/index.es.js...
10
- created dist/index.es.js in 4.1s
40
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs" was ignored.
41
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs:1:0
42
+ 1: "use client";
43
+ ^
44
+ 2:
45
+ 3: import React from "react";
46
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs" was ignored.
47
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs:1:0
48
+ 1: "use client";
49
+ ^
50
+ 2:
51
+ 3: import React from "react";
52
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs" was ignored.
53
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs:1:0
54
+ 1: "use client";
55
+ ^
56
+ 2:
57
+ 3: import React from "react";
58
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs" was ignored.
59
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs:1:0
60
+ 1: "use client";
61
+ ^
62
+ 2:
63
+ 3: import React from "react";
64
+ (!) [plugin typescript] src/components/ProductNavigation/ProductNavigation.tsx (53:22): @rollup/plugin-typescript TS2339: Property 'focus' does not exist on type 'never'.
65
+ /builds/enterprise/frontend/arc-community/packages/components/src/components/ProductNavigation/ProductNavigation.tsx:53:22
66
+ 
67
+ 53 cardRef.current?.focus();
68
+    ~~~~~
69
+ 
70
+ created dist/index.es.js in 3.2s
11
71
  
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
72
+ ./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...
73
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs" was ignored.
74
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs:1:0
75
+ 1: "use client";
76
+ ^
77
+ 2:
78
+ 3: import React from "react";
79
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs" was ignored.
80
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs:1:0
81
+ 1: "use client";
82
+ ^
83
+ 2:
84
+ 3: import React from "react";
85
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs" was ignored.
86
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs:1:0
87
+ 1: "use client";
88
+ ^
89
+ 2:
90
+ 3: import React from "react";
91
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs" was ignored.
92
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs:1:0
93
+ 1: "use client";
94
+ ^
95
+ 2:
96
+ 3: import React from "react";
97
+ (!) [plugin typescript] src/components/ProductNavigation/ProductNavigation.tsx (53:22): @rollup/plugin-typescript TS2339: Property 'focus' does not exist on type 'never'.
98
+ /builds/enterprise/frontend/arc-community/packages/components/src/components/ProductNavigation/ProductNavigation.tsx:53:22
99
+ 
100
+ 53 cardRef.current?.focus();
101
+    ~~~~~
102
+ 
103
+ created dist in 2.8s
14
104
  
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...
16
- created dist in 3.8s
105
+ ./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...
106
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs" was ignored.
107
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialX/ArcIconSocialX.mjs:1:0
108
+ 1: "use client";
109
+ ^
110
+ 2:
111
+ 3: import React from "react";
112
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs" was ignored.
113
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconLink/BtIconLink.mjs:1:0
114
+ 1: "use client";
115
+ ^
116
+ 2:
117
+ 3: import React from "react";
118
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs" was ignored.
119
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/ArcIconSocialLinkedin/ArcIconSocialLinkedin.mjs:1:0
120
+ 1: "use client";
121
+ ^
122
+ 2:
123
+ 3: import React from "react";
124
+ (!) ../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs" was ignored.
125
+ /builds/enterprise/frontend/arc-community/node_modules/.pnpm/@arc-ui+icons@12.0.0-beta.16/node_modules/@arc-ui/icons/lib/icons/BtIconEmailUnread/BtIconEmailUnread.mjs:1:0
126
+ 1: "use client";
127
+ ^
128
+ 2:
129
+ 3: import React from "react";
130
+ (!) [plugin typescript] src/components/ProductNavigation/ProductNavigation.tsx (53:22): @rollup/plugin-typescript TS2339: Property 'focus' does not exist on type 'never'.
131
+ /builds/enterprise/frontend/arc-community/packages/components/src/components/ProductNavigation/ProductNavigation.tsx:53:22
132
+ 
133
+ 53 cardRef.current?.focus();
134
+    ~~~~~
135
+ 
136
+ created dist in 2.7s
package/CHANGELOG.md CHANGED
@@ -4,4 +4,26 @@
4
4
 
5
5
  ### Major Changes
6
6
 
7
+ - b860730: Update community repo to use the arc repo changes, dot notation removed, theme and icon packages flattened, pkg paths updated
8
+
9
+ ### Minor Changes
10
+
11
+ - 60a7218: Allow Icon prop to accept custom svgs types for copylead and articlesidebar
12
+ - 6bbb300: Add new alignTypography and isInverted props to BannerWithTabs
13
+ - 233531a: Remove illustrations package and references
14
+ - 3030de7: Add script to generate json file containing all versions from changelog
15
+ - da5f2b0: Add optional image to sectionheading component
16
+ - 7de6006: Create new ProductNavigation component
17
+ - 1e6d75f: Add component generator and ArticleSidebar component.
18
+
19
+ ### Patch Changes
20
+
21
+ - 1eccea8: Update BannerWithTabs story copy and fix dark background bug
22
+ - 1e6d75f: Update SectionHeading component to use prop elementType p
23
+ - df655c9: Refactor ProductNavigation component to remove js DOM manipulation
24
+
25
+ ## 0.1.0
26
+
27
+ ### Minor Changes
28
+
7
29
  - initial version
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-DBA0GFPJ.js');
3
+ var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-DlS_Fyr9.js');
4
4
  var React = require('react');
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');
5
+ var SectionHeading = require('../_shared/cjs/SectionHeading-7IxNz67p.js');
6
+ var Disclosure = require('@arc-ui/components/Disclosure');
8
7
  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');
8
+ require('@arc-ui/components/Heading');
9
+ require('@arc-ui/components/Text');
10
+ require('@arc-ui/components/VerticalSpace');
11
+ require('@arc-ui/components/Image');
12
12
 
13
13
  var AccordionDisclosureList = function (_a) {
14
14
  var disclosureList = _a.disclosureList;
@@ -22,8 +22,8 @@ var AccordionDisclosureList = function (_a) {
22
22
  * Use the `Accordion` component to package together a title, content and a number of disclosure components into one section (maximum 10).
23
23
  */
24
24
  var Accordion = function (_a) {
25
- var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content, disclosureList = _a.disclosureList, props = tslib_es6.__rest(_a, ["heading", "headingLevel", "content", "disclosureList"]);
26
- return (React.createElement("div", tslib_es6.__assign({}, filterDataAttrs.filterDataAttrs(props)),
25
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content, disclosureList = _a.disclosureList, props = filterDataAttrs.__rest(_a, ["heading", "headingLevel", "content", "disclosureList"]);
26
+ return (React.createElement("div", filterDataAttrs.__assign({}, filterDataAttrs.filterDataAttrs(props)),
27
27
  React.createElement(SectionHeading.SectionHeading, { isPadded: true, "data-testid": "Accordion-header", heading: heading, headingLevel: headingLevel, content: content }),
28
28
  React.createElement(AccordionDisclosureList, { disclosureList: disclosureList })));
29
29
  };
@@ -1,12 +1,12 @@
1
- import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-Cv15O4Nx.js';
1
+ import { _ as __rest, a as __assign, f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-DAx-HNG5.js';
2
2
  import React from 'react';
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';
3
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-Dz0GfXsP.js';
4
+ import { Disclosure } from '@arc-ui/components/Disclosure';
6
5
  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';
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
10
 
11
11
  var AccordionDisclosureList = function (_a) {
12
12
  var disclosureList = _a.disclosureList;
@@ -0,0 +1,185 @@
1
+ 'use strict';
2
+
3
+ var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-DlS_Fyr9.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-BXxxwh6E.js');
14
+ require('@arc-ui/components/Grid');
15
+ require('@arc-ui/components/Avatar');
16
+
17
+ const ArcIconSocialLinkedin = (props) =>
18
+ /*#__PURE__*/ React.createElement(
19
+ "svg",
20
+ Object.assign(
21
+ {
22
+ viewBox: "0 0 32 32",
23
+ xmlns: "http://www.w3.org/2000/svg",
24
+ },
25
+ props,
26
+ ),
27
+ /*#__PURE__*/ React.createElement("path", {
28
+ 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 01-2.406-2.41 2.408 2.408 0 112.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 2h.003z",
29
+ fill: "currentColor",
30
+ }),
31
+ );
32
+
33
+ const ArcIconSocialX = (props) =>
34
+ /*#__PURE__*/ React.createElement(
35
+ "svg",
36
+ Object.assign(
37
+ {
38
+ viewBox: "0 0 32 32",
39
+ xmlns: "http://www.w3.org/2000/svg",
40
+ },
41
+ props,
42
+ ),
43
+ /*#__PURE__*/ React.createElement("path", {
44
+ d: "M24.0342 3H28.3116L18.9688 13.6389L30 28.1034H21.3608L14.5789 19.3354L6.8402 28.1034H2.56281L12.5809 16.7385L2 3H10.8643L16.9709 11.0141L24.0342 3ZM22.5427 25.5624H24.9065L9.56985 5.40144H7.00905L22.5427 25.5624Z",
45
+ fill: "currentColor",
46
+ }),
47
+ );
48
+
49
+ const BtIconLink = (props) =>
50
+ /*#__PURE__*/ React.createElement(
51
+ "svg",
52
+ Object.assign(
53
+ {
54
+ xmlns: "http://www.w3.org/2000/svg",
55
+ viewBox: "0 0 32 32",
56
+ },
57
+ props,
58
+ ),
59
+ /*#__PURE__*/ React.createElement("defs", null),
60
+ /*#__PURE__*/ React.createElement("path", {
61
+ d: "M9.959,10.0127h2.417a5.99044,5.99044,0,0,1,5.22558,8.91552.5.5,0,1,0,.87207.48926A6.99034,6.99034,0,0,0,12.376,9.0127H9.959a6.98853,6.98853,0,0,0,0,13.97705h1.54a.5.5,0,1,0,0-1H9.959a5.98853,5.98853,0,0,1,0-11.977Z",
62
+ fill: "currentColor",
63
+ }),
64
+ /*#__PURE__*/ React.createElement("path", {
65
+ d: "M22.0625,9.0127h-1.54a.5.5,0,0,0,0,1h1.54a5.98853,5.98853,0,0,1,0,11.97705h-2.417a5.99145,5.99145,0,0,1-5.22656-8.915.49955.49955,0,1,0-.8711-.48926,6.99,6.99,0,0,0,6.09766,10.4043h2.417a6.98853,6.98853,0,0,0,0-13.977Z",
66
+ fill: "currentColor",
67
+ }),
68
+ );
69
+
70
+ const BtIconEmailUnread = (props) =>
71
+ /*#__PURE__*/ React.createElement(
72
+ "svg",
73
+ Object.assign(
74
+ {
75
+ xmlns: "http://www.w3.org/2000/svg",
76
+ viewBox: "0 0 32 32",
77
+ },
78
+ props,
79
+ ),
80
+ /*#__PURE__*/ React.createElement("defs", null),
81
+ /*#__PURE__*/ React.createElement("path", {
82
+ d: "M29,6H3A1,1,0,0,0,2,7V25a1,1,0,0,0,1,1H29a1,1,0,0,0,1-1V7A1,1,0,0,0,29,6Zm0,1V8.71649L18.00049,16.33154a3.5158,3.5158,0,0,1-3.98438,0L3,8.70532V7Zm0,2.93292V22.08368l-8.77545-6.07544Zm-17.20819,6.0752L3,22.09485V9.92175ZM3,25V23.31128l9.67035-6.695.77643.53754a4.52223,4.52223,0,0,0,5.123,0l.77619-.53735L29,23.30011V25Z",
83
+ fill: "currentColor",
84
+ }),
85
+ );
86
+
87
+ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"ArticleSidebar-module_textContent__3nCfG","shareButtonContainer":"ArticleSidebar-module_shareButtonContainer__iAfHL","shareButton":"ArticleSidebar-module_shareButton__rb-1E"};
88
+
89
+ /**
90
+ * Use `ArticleSidebar` to provide additional information about the article.
91
+ */
92
+ var ArticleSidebar = function (_a) {
93
+ var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
94
+ var id = React.useId();
95
+ var _b = React.useState(false), showToast = _b[0], setShowToast = _b[1];
96
+ var url = location.href;
97
+ var copyTextToClipBoard = function () { return filterDataAttrs.__awaiter(void 0, void 0, void 0, function () {
98
+ return filterDataAttrs.__generator(this, function (_a) {
99
+ switch (_a.label) {
100
+ case 0: return [4 /*yield*/, navigator.clipboard.writeText(url)];
101
+ case 1:
102
+ _a.sent();
103
+ setShowToast(true);
104
+ return [2 /*return*/];
105
+ }
106
+ });
107
+ }); };
108
+ var shareButtons = filterDataAttrs.__spreadArray(filterDataAttrs.__spreadArray([
109
+ {
110
+ isButton: true,
111
+ label: "Copy url to clipboard",
112
+ onClick: copyTextToClipBoard,
113
+ icon: BtIconLink,
114
+ },
115
+ {
116
+ label: "Share by email",
117
+ href: "mailto:?subject=".concat(share.articleTitle, "&body=").concat(url),
118
+ icon: BtIconEmailUnread,
119
+ }
120
+ ], (share.linkedin
121
+ ? [
122
+ {
123
+ label: "Share on LinkedIn",
124
+ href: "https://www.linkedin.com/sharing/share-offsite/?url=".concat(url),
125
+ icon: ArcIconSocialLinkedin,
126
+ },
127
+ ]
128
+ : []), true), (share.x
129
+ ? [
130
+ {
131
+ label: "Share on x",
132
+ href: "https://twitter.com/intent/tweet?url=".concat(url),
133
+ icon: ArcIconSocialX,
134
+ },
135
+ ]
136
+ : []), true);
137
+ return (React.createElement(React.Fragment, null,
138
+ React.createElement("div", { className: styles.textContent },
139
+ author && (React.createElement(React.Fragment, null,
140
+ React.createElement(Author.Author, filterDataAttrs.__assign({}, author, { avatar: filterDataAttrs.__assign(filterDataAttrs.__assign({}, author.avatar), { size: "xl" }) })))),
141
+ aboutSection && (React.createElement(React.Fragment, null,
142
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
143
+ React.createElement(Heading.Heading, { level: aboutSection.headingLevel }, aboutSection.heading),
144
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
145
+ React.createElement(Text.Text, { size: "s" }, aboutSection.content))),
146
+ additionalContent &&
147
+ additionalContent.map(function (_a) {
148
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content;
149
+ return (React.createElement(React.Fragment, null,
150
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
151
+ React.createElement(Heading.Heading, { level: headingLevel, size: "xxs" }, heading),
152
+ React.createElement(Text.Text, { size: "s" }, content)));
153
+ })),
154
+ (author || aboutSection || additionalContent) && (React.createElement("div", { "data-testid": "content-rule" },
155
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
156
+ React.createElement(Rule.Rule, null),
157
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }))),
158
+ React.createElement(Heading.Heading, { level: linkSection.headingLevel }, linkSection.heading),
159
+ linkSection.links.map(function (_a) {
160
+ var text = _a.text, url = _a.url;
161
+ return (React.createElement(React.Fragment, null,
162
+ React.createElement(VerticalSpace.VerticalSpace, { size: "8" }),
163
+ React.createElement("div", { key: "".concat(id, "-").concat(url) },
164
+ React.createElement(Link.Link, { size: "s", href: url }, text))));
165
+ }),
166
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
167
+ topics && (React.createElement(React.Fragment, null,
168
+ React.createElement(Heading.Heading, { level: topics.headingLevel }, topics.heading),
169
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
170
+ React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag.Tag, filterDataAttrs.__assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })),
171
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }))),
172
+ React.createElement(Rule.Rule, null),
173
+ React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
174
+ React.createElement(Heading.Heading, { level: share.headingLevel }, share.heading),
175
+ React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
176
+ React.createElement("div", { className: styles.shareButtonContainer }, shareButtons.map(function (_a) {
177
+ var isButton = _a.isButton, label = _a.label, href = _a.href, icon = _a.icon, onClick = _a.onClick;
178
+ 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: onClick },
179
+ React.createElement(Icon.Icon, { icon: icon, size: 24 })));
180
+ })),
181
+ React.createElement(Toast.Toast, null,
182
+ React.createElement(Toast.ToastNotification, { status: "success", title: "Copied to clipboard", isOpen: showToast, onOpenChange: function () { return setShowToast(false); } }))));
183
+ };
184
+
185
+ exports.ArticleSidebar = ArticleSidebar;
@@ -0,0 +1,183 @@
1
+ import { b as __spreadArray, a as __assign, c as __awaiter, d as __generator } from '../_shared/esm/filter-data-attrs-DAx-HNG5.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-B8tJxqB8.js';
12
+ import '@arc-ui/components/Grid';
13
+ import '@arc-ui/components/Avatar';
14
+
15
+ const ArcIconSocialLinkedin = (props) =>
16
+ /*#__PURE__*/ React.createElement(
17
+ "svg",
18
+ Object.assign(
19
+ {
20
+ viewBox: "0 0 32 32",
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ },
23
+ props,
24
+ ),
25
+ /*#__PURE__*/ React.createElement("path", {
26
+ 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 01-2.406-2.41 2.408 2.408 0 112.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 2h.003z",
27
+ fill: "currentColor",
28
+ }),
29
+ );
30
+
31
+ const ArcIconSocialX = (props) =>
32
+ /*#__PURE__*/ React.createElement(
33
+ "svg",
34
+ Object.assign(
35
+ {
36
+ viewBox: "0 0 32 32",
37
+ xmlns: "http://www.w3.org/2000/svg",
38
+ },
39
+ props,
40
+ ),
41
+ /*#__PURE__*/ React.createElement("path", {
42
+ d: "M24.0342 3H28.3116L18.9688 13.6389L30 28.1034H21.3608L14.5789 19.3354L6.8402 28.1034H2.56281L12.5809 16.7385L2 3H10.8643L16.9709 11.0141L24.0342 3ZM22.5427 25.5624H24.9065L9.56985 5.40144H7.00905L22.5427 25.5624Z",
43
+ fill: "currentColor",
44
+ }),
45
+ );
46
+
47
+ const BtIconLink = (props) =>
48
+ /*#__PURE__*/ React.createElement(
49
+ "svg",
50
+ Object.assign(
51
+ {
52
+ xmlns: "http://www.w3.org/2000/svg",
53
+ viewBox: "0 0 32 32",
54
+ },
55
+ props,
56
+ ),
57
+ /*#__PURE__*/ React.createElement("defs", null),
58
+ /*#__PURE__*/ React.createElement("path", {
59
+ d: "M9.959,10.0127h2.417a5.99044,5.99044,0,0,1,5.22558,8.91552.5.5,0,1,0,.87207.48926A6.99034,6.99034,0,0,0,12.376,9.0127H9.959a6.98853,6.98853,0,0,0,0,13.97705h1.54a.5.5,0,1,0,0-1H9.959a5.98853,5.98853,0,0,1,0-11.977Z",
60
+ fill: "currentColor",
61
+ }),
62
+ /*#__PURE__*/ React.createElement("path", {
63
+ d: "M22.0625,9.0127h-1.54a.5.5,0,0,0,0,1h1.54a5.98853,5.98853,0,0,1,0,11.97705h-2.417a5.99145,5.99145,0,0,1-5.22656-8.915.49955.49955,0,1,0-.8711-.48926,6.99,6.99,0,0,0,6.09766,10.4043h2.417a6.98853,6.98853,0,0,0,0-13.977Z",
64
+ fill: "currentColor",
65
+ }),
66
+ );
67
+
68
+ const BtIconEmailUnread = (props) =>
69
+ /*#__PURE__*/ React.createElement(
70
+ "svg",
71
+ Object.assign(
72
+ {
73
+ xmlns: "http://www.w3.org/2000/svg",
74
+ viewBox: "0 0 32 32",
75
+ },
76
+ props,
77
+ ),
78
+ /*#__PURE__*/ React.createElement("defs", null),
79
+ /*#__PURE__*/ React.createElement("path", {
80
+ d: "M29,6H3A1,1,0,0,0,2,7V25a1,1,0,0,0,1,1H29a1,1,0,0,0,1-1V7A1,1,0,0,0,29,6Zm0,1V8.71649L18.00049,16.33154a3.5158,3.5158,0,0,1-3.98438,0L3,8.70532V7Zm0,2.93292V22.08368l-8.77545-6.07544Zm-17.20819,6.0752L3,22.09485V9.92175ZM3,25V23.31128l9.67035-6.695.77643.53754a4.52223,4.52223,0,0,0,5.123,0l.77619-.53735L29,23.30011V25Z",
81
+ fill: "currentColor",
82
+ }),
83
+ );
84
+
85
+ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"ArticleSidebar-module_textContent__3nCfG","shareButtonContainer":"ArticleSidebar-module_shareButtonContainer__iAfHL","shareButton":"ArticleSidebar-module_shareButton__rb-1E"};
86
+
87
+ /**
88
+ * Use `ArticleSidebar` to provide additional information about the article.
89
+ */
90
+ var ArticleSidebar = function (_a) {
91
+ var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
92
+ var id = useId();
93
+ var _b = useState(false), showToast = _b[0], setShowToast = _b[1];
94
+ var url = location.href;
95
+ var copyTextToClipBoard = function () { return __awaiter(void 0, void 0, void 0, function () {
96
+ return __generator(this, function (_a) {
97
+ switch (_a.label) {
98
+ case 0: return [4 /*yield*/, navigator.clipboard.writeText(url)];
99
+ case 1:
100
+ _a.sent();
101
+ setShowToast(true);
102
+ return [2 /*return*/];
103
+ }
104
+ });
105
+ }); };
106
+ var shareButtons = __spreadArray(__spreadArray([
107
+ {
108
+ isButton: true,
109
+ label: "Copy url to clipboard",
110
+ onClick: copyTextToClipBoard,
111
+ icon: BtIconLink,
112
+ },
113
+ {
114
+ label: "Share by email",
115
+ href: "mailto:?subject=".concat(share.articleTitle, "&body=").concat(url),
116
+ icon: BtIconEmailUnread,
117
+ }
118
+ ], (share.linkedin
119
+ ? [
120
+ {
121
+ label: "Share on LinkedIn",
122
+ href: "https://www.linkedin.com/sharing/share-offsite/?url=".concat(url),
123
+ icon: ArcIconSocialLinkedin,
124
+ },
125
+ ]
126
+ : []), true), (share.x
127
+ ? [
128
+ {
129
+ label: "Share on x",
130
+ href: "https://twitter.com/intent/tweet?url=".concat(url),
131
+ icon: ArcIconSocialX,
132
+ },
133
+ ]
134
+ : []), true);
135
+ return (React.createElement(React.Fragment, null,
136
+ React.createElement("div", { className: styles.textContent },
137
+ author && (React.createElement(React.Fragment, null,
138
+ React.createElement(Author, __assign({}, author, { avatar: __assign(__assign({}, author.avatar), { size: "xl" }) })))),
139
+ aboutSection && (React.createElement(React.Fragment, null,
140
+ React.createElement(VerticalSpace, { size: "32" }),
141
+ React.createElement(Heading, { level: aboutSection.headingLevel }, aboutSection.heading),
142
+ React.createElement(VerticalSpace, { size: "16" }),
143
+ React.createElement(Text, { size: "s" }, aboutSection.content))),
144
+ additionalContent &&
145
+ additionalContent.map(function (_a) {
146
+ var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content;
147
+ return (React.createElement(React.Fragment, null,
148
+ React.createElement(VerticalSpace, { size: "16" }),
149
+ React.createElement(Heading, { level: headingLevel, size: "xxs" }, heading),
150
+ React.createElement(Text, { size: "s" }, content)));
151
+ })),
152
+ (author || aboutSection || additionalContent) && (React.createElement("div", { "data-testid": "content-rule" },
153
+ React.createElement(VerticalSpace, { size: "32" }),
154
+ React.createElement(Rule, null),
155
+ React.createElement(VerticalSpace, { size: "32" }))),
156
+ React.createElement(Heading, { level: linkSection.headingLevel }, linkSection.heading),
157
+ linkSection.links.map(function (_a) {
158
+ var text = _a.text, url = _a.url;
159
+ return (React.createElement(React.Fragment, null,
160
+ React.createElement(VerticalSpace, { size: "8" }),
161
+ React.createElement("div", { key: "".concat(id, "-").concat(url) },
162
+ React.createElement(Link, { size: "s", href: url }, text))));
163
+ }),
164
+ React.createElement(VerticalSpace, { size: "32" }),
165
+ topics && (React.createElement(React.Fragment, null,
166
+ React.createElement(Heading, { level: topics.headingLevel }, topics.heading),
167
+ React.createElement(VerticalSpace, { size: "16" }),
168
+ React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag, __assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })),
169
+ React.createElement(VerticalSpace, { size: "32" }))),
170
+ React.createElement(Rule, null),
171
+ React.createElement(VerticalSpace, { size: "32" }),
172
+ React.createElement(Heading, { level: share.headingLevel }, share.heading),
173
+ React.createElement(VerticalSpace, { size: "16" }),
174
+ React.createElement("div", { className: styles.shareButtonContainer }, shareButtons.map(function (_a) {
175
+ var isButton = _a.isButton, label = _a.label, href = _a.href, icon = _a.icon, onClick = _a.onClick;
176
+ 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: onClick },
177
+ React.createElement(Icon, { icon: icon, size: 24 })));
178
+ })),
179
+ React.createElement(Toast, null,
180
+ React.createElement(ToastNotification, { status: "success", title: "Copied to clipboard", isOpen: showToast, onOpenChange: function () { return setShowToast(false); } }))));
181
+ };
182
+
183
+ 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,12 @@
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-BXxxwh6E.js');
4
+ require('../_shared/cjs/filter-data-attrs-DlS_Fyr9.js');
5
5
  require('react');
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');
6
+ require('@arc-ui/components/Grid');
7
+ require('@arc-ui/components/Avatar');
8
+ require('@arc-ui/components/Heading');
9
+ require('@arc-ui/components/Text');
11
10
 
12
11
 
13
12