@arc-ui/community-components 12.0.0-beta.6 → 12.0.0-beta7

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 (55) hide show
  1. package/dist/Accordion/Accordion.cjs.js +48 -0
  2. package/dist/Accordion/Accordion.esm.js +40 -0
  3. package/dist/Accordion/package.json +7 -0
  4. package/dist/Accordion/styles.css +1 -0
  5. package/dist/Author/Author.cjs.js +16 -0
  6. package/dist/Author/Author.esm.js +8 -0
  7. package/dist/Author/package.json +7 -0
  8. package/dist/Author/styles.css +1 -0
  9. package/dist/CopyLead/CopyLead.cjs.js +56 -55
  10. package/dist/CopyLead/CopyLead.esm.js +53 -52
  11. package/dist/CopyLead/styles.css +1 -1
  12. package/dist/FeaturePost/FeaturePost.cjs.js +2245 -51
  13. package/dist/FeaturePost/FeaturePost.esm.js +2243 -49
  14. package/dist/FeaturePost/styles.css +1 -1
  15. package/dist/Highlights/Highlights.cjs.js +25 -26
  16. package/dist/Highlights/Highlights.esm.js +25 -26
  17. package/dist/PromoListing/PromoListing.cjs.js +44 -14937
  18. package/dist/PromoListing/PromoListing.esm.js +44 -14918
  19. package/dist/PromoListing/styles.css +1 -1
  20. package/dist/Quote/Quote.cjs.js +33 -0
  21. package/dist/Quote/Quote.esm.js +25 -0
  22. package/dist/Quote/package.json +7 -0
  23. package/dist/Quote/styles.css +1 -0
  24. package/dist/_shared/cjs/Author-cd166353.js +30 -0
  25. package/dist/_shared/cjs/index.es-875b2756.js +13 -0
  26. package/dist/_shared/{esm/index.es-8a0a3fd0.js → cjs/index.es-a9e01247.js} +2 -8
  27. package/dist/_shared/esm/Author-9c7cb4f2.js +24 -0
  28. package/dist/_shared/{cjs/index.es-5af2c2a1.js → esm/index.es-33860780.js} +1 -14
  29. package/dist/_shared/esm/index.es-a1591fd3.js +9 -0
  30. package/dist/index.es.js +2385 -15007
  31. package/dist/index.es.js.map +1 -1
  32. package/dist/index.js +2380 -15000
  33. package/dist/index.js.map +1 -1
  34. package/dist/styles.css +1 -1
  35. package/dist/types/components/Accordion/Accordion.d.ts +10 -0
  36. package/dist/types/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +9 -0
  37. package/dist/types/components/Accordion/components/AccordionHeader/AccordionHeader.d.ts +20 -0
  38. package/dist/types/components/Accordion/index.d.ts +1 -0
  39. package/dist/types/components/Author/Author.d.ts +17 -0
  40. package/dist/types/components/Author/index.d.ts +1 -0
  41. package/dist/types/components/CopyLead/CopyLead.d.ts +8 -3
  42. package/dist/types/components/CopyLead/components/MediaContent/MediaContent.d.ts +2 -0
  43. package/dist/types/components/CopyLead/templates/Content/Content.d.ts +3 -1
  44. package/dist/types/components/CopyLead/templates/Media/Media.d.ts +4 -2
  45. package/dist/types/components/FeaturePost/FeaturePost.d.ts +27 -1
  46. package/dist/types/components/FeaturePost/types/feature-post-cta-footer.d.ts +2 -6
  47. package/dist/types/components/Highlights/Highlights.d.ts +7 -2
  48. package/dist/types/components/Highlights/components/HighlightHeader/HighlightHeader.d.ts +6 -1
  49. package/dist/types/components/Highlights/components/HighlightList/HighlightList.d.ts +1 -1
  50. package/dist/types/components/PromoListing/PromoListing.d.ts +12 -5
  51. package/dist/types/components/PromoListing/components/PromoListingHeader/PromoListingHeader.d.ts +7 -2
  52. package/dist/types/components/Quote/Quote.d.ts +11 -0
  53. package/dist/types/components/Quote/index.d.ts +1 -0
  54. package/dist/types/components/index.d.ts +3 -0
  55. package/package.json +20 -22
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- .CopyLead-module_buttonContainer__3OaRG{margin:var(--sem-space-padding-150) auto 0;width:100%}.CopyLead-module_col__0Da5H{flex:1 1 auto;width:100%}.CopyLead-module_container__I91ym{align-items:flex-start;display:flex;gap:var(--sem-space-padding-150)}.CopyLead-module_container--content__e8LxG{flex-direction:column}.CopyLead-module_container--media__QcMWi{flex-direction:column-reverse}.CopyLead-module_container--align-center__Fh1Sd{align-items:center}.CopyLead-module_container--align-top__UIXOZ{align-items:flex-start}.CopyLead-module_list__arnJd{list-style:none;margin:0;max-width:480px;padding:0}.CopyLead-module_listItem__NscHE{display:flex}.CopyLead-module_listItem__NscHE:nth-of-type(n+2){margin-top:var(--sem-space-padding-150)}.CopyLead-module_listItemCentered__Kwdab{align-items:center}.CopyLead-module_listItemIconContainer__dgnhJ{flex:0 0 auto}.CopyLead-module_listItemTextContainer__Dl9lw{flex:1 1 auto;padding:0 0 0 var(--sem-space-padding-80)}.CopyLead-module_imgWrapper__HYP3w{border-radius:var(--sem-border-radius-xl);overflow:hidden}.CopyLead-module_mediaContainer__PxTnm{margin-bottom:var(--sem-space-padding-150)}.CopyLead-module_content__Bja1D{max-width:715px}@media (min-width:636px){.CopyLead-module_buttonContainer__3OaRG{width:-moz-max-content;width:max-content}}@media (min-width:768px){.CopyLead-module_container__I91ym{gap:var(--sem-space-padding-110)}.CopyLead-module_container--content__e8LxG,.CopyLead-module_container--media__QcMWi{flex-direction:row}.CopyLead-module_container--reverse__Gq9u8{flex-direction:row-reverse}.CopyLead-module_buttonContainer__3OaRG{margin:var(--sem-space-padding-150) 0 0}.CopyLead-module_col__0Da5H{width:50%}.CopyLead-module_list__arnJd{max-width:100%}.CopyLead-module_listItemTextContainer__Dl9lw{padding:0 var(--sem-space-padding-80)}}@media (min-width:1024px){.CopyLead-module_listItemTextContainer__Dl9lw{padding:0 var(--sem-space-padding-110)}}@media (min-width:1280px){.CopyLead-module_container__I91ym{gap:var(--sem-space-padding-130)}.CopyLead-module_listItemTextContainer__Dl9lw{padding:0 var(--sem-space-padding-130)}}.FeaturePost-module_labelDate__NXOgY{padding-top:var(--sem-space-padding-20)}.FeaturePost-module_authorContent__FEuRO{padding-left:var(--sem-space-padding-70)}.FeaturePost-module_googlePlayButtonWrapper__GI-ag{padding:var(--sem-space-padding-70) 0 0}.FeaturePost-module_imgWrapper__r6omd{border-radius:var(--sem-border-radius-xl);overflow:hidden}@media (min-width:636px){.FeaturePost-module_googlePlayButtonWrapper__GI-ag{padding:0 0 0 var(--sem-space-padding-70)}}@media (min-width:768px){.FeaturePost-module_featurePost__9jY21{display:flex;gap:24px}.FeaturePost-module_featurePostReversed__WQRXm{flex-direction:row-reverse}.FeaturePost-module_contentContainer__kdus7{padding:0 var(--sem-space-padding-110) 0 0}.FeaturePost-module_col__eW8gY{flex:0 1 auto;width:50%}.FeaturePost-module_labelDate__NXOgY{padding-left:var(--sem-space-padding-70)}}@media (min-width:1280px){.FeaturePost-module_featurePost__9jY21{gap:32px}.FeaturePost-module_contentContainer__kdus7{padding:0 var(--sem-space-padding-130) 0 0}}.Highlights-module_highlights__Hf7Zq{grid-gap:48px 24px;display:grid;gap:48px 24px;grid-template-columns:1fr}.Highlights-module_header__hIdDj{display:flex;flex-direction:column;padding-bottom:40px;width:auto}.Highlights-module_highlightItem__-N6le{max-width:480px;width:auto}.Highlights-module_headerContent__rt-Oj{color:#2a2a2a;font-size:20px;line-height:28px;margin:0}@media (min-width:636px){.Highlights-module_header__hIdDj{min-width:588px;width:auto}.Highlights-module_highlights__Hf7Zq{grid-template-columns:1fr 1fr}.Highlights-module_highlightItem__-N6le{min-width:282px;padding-right:0}}@media (min-width:768px){.Highlights-module_header__hIdDj{min-width:720px;padding:0 186px 40px 0}.Highlights-module_highlights2Column__6qIuI{grid-template-columns:1fr 1fr}.Highlights-module_highlights2Column__6qIuI .Highlights-module_highlightItem__-N6le{max-width:-moz-max-content;max-width:max-content;min-width:348px;padding-right:62px}.Highlights-module_highlights3Column__qsCMP{grid-template-columns:1fr 1fr 1fr}.Highlights-module_highlights3Column__qsCMP .Highlights-module_highlightItem__-N6le{min-width:224px}}@media (min-width:1024px){.Highlights-module_header__hIdDj{min-width:960px;padding:0 246px 40px 0}.Highlights-module_highlights2Column__6qIuI{grid-template-columns:1fr 1fr}.Highlights-module_highlights2Column__6qIuI .Highlights-module_highlightItem__-N6le{min-width:468px;padding-right:82px}.Highlights-module_highlights3Column__qsCMP{grid-template-columns:1fr 1fr 1fr}.Highlights-module_highlights3Column__qsCMP .Highlights-module_highlightItem__-N6le{min-width:304px}}@media (min-width:1280px){.Highlights-module_header__hIdDj{min-width:1216px;padding:0 312px 40px 0}.Highlights-module_highlights__Hf7Zq{gap:48px 32px}.Highlights-module_highlights2Column__6qIuI{grid-template-columns:1fr 1fr}.Highlights-module_highlights2Column__6qIuI .Highlights-module_highlightItem__-N6le{min-width:592px;padding-right:104px}.Highlights-module_highlights3Column__qsCMP{grid-template-columns:1fr 1fr 1fr}.Highlights-module_highlights3Column__qsCMP .Highlights-module_highlightItem__-N6le{min-width:384px}}.PromoListing-module_PromoListing__6ensv{max-width:1280px}.PromoListing-module_headerContent__rMt1t{color:#2a2a2a;font-size:20px;line-height:28px;margin:0}.PromoListing-module_header__PDGdP{align-items:flex-start;align-self:stretch;display:flex;flex-direction:column;padding-bottom:40px;width:auto}.PromoListing-module_promoListingContainer__vwez-{grid-column:span 2;height:100%;width:100%}.PromoListing-module_cardGrid__llf73{grid-gap:24px;display:grid;gap:24px;grid-template-columns:2fr}@media (min-width:320px){.PromoListing-module_cardGrid__llf73{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:636px){.PromoListing-module_header__PDGdP{min-width:588px}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr);grid-template-columns:repeat(4,1fr)}.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid3Cards__VKWMs .PromoListing-module_promoListingContainer__vwez-:last-child,.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:4}}@media (min-width:768px){.PromoListing-module_header__PDGdP{min-width:720px;padding:0 186px 40px 0}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:1024px){.PromoListing-module_header__PDGdP{min-width:960px;padding:0 246px 40px 0}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(468px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(437px,1fr);grid-template-columns:repeat(6,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid4Cards__5Bv5u .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:5}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:last-child,.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:6}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2),.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2){grid-column-end:4}}@media (min-width:1280px){.PromoListing-module_header__PDGdP{min-width:1216px;padding:0 312px 40px 0}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(592px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(523px,1fr)}.PromoListing-module_cardGrid__llf73{gap:32px}}
1
+ .Accordion-module_header__WaTdJ{display:flex;flex-direction:column;padding-bottom:40px;width:auto}.Accordion-module_headerContent__pjddt{color:#2a2a2a;font-size:20px;line-height:28px;margin:0}@media (min-width:636px){.Accordion-module_header__WaTdJ{min-width:588px;width:auto}}@media (min-width:768px){.Accordion-module_header__WaTdJ{min-width:720px;padding:0 186px 40px 0}}@media (min-width:1024px){.Accordion-module_header__WaTdJ{min-width:960px;padding:0 246px 40px 0}}@media (min-width:1280px){.Accordion-module_header__WaTdJ{min-width:1216px;padding:0 312px 40px 0}}.Author-module_authorContent__TBY7b{padding-left:var(--sem-space-padding-70)}.CopyLead-module_buttonContainer__3OaRG{margin:var(--sem-space-padding-150) auto 0;width:100%}.CopyLead-module_col__0Da5H{flex:1 1 auto;width:100%}.CopyLead-module_container__I91ym{align-items:flex-start;display:flex;gap:var(--sem-space-padding-150)}.CopyLead-module_container--content__e8LxG{flex-direction:column}.CopyLead-module_container--media__QcMWi{flex-direction:column-reverse}.CopyLead-module_container--align-center__Fh1Sd{align-items:center}.CopyLead-module_container--align-top__UIXOZ{align-items:flex-start}.CopyLead-module_list__arnJd{list-style:none;margin:0;max-width:480px;padding:0}.CopyLead-module_listItem__NscHE{display:flex}.CopyLead-module_listItem__NscHE:nth-of-type(n+2){margin-top:var(--sem-space-padding-150)}.CopyLead-module_listItemCentered__Kwdab{align-items:center}.CopyLead-module_listItemIconContainer__dgnhJ{flex:0 0 auto}.CopyLead-module_listItemTextContainer__Dl9lw{flex:1 1 auto;padding:0 0 0 var(--sem-space-padding-80)}.CopyLead-module_imgWrapper__HYP3w{border-radius:var(--sem-border-radius-s);overflow:hidden}.CopyLead-module_mediaContainer__PxTnm{margin-bottom:var(--sem-space-padding-150)}.CopyLead-module_content__Bja1D{max-width:715px}@media (min-width:636px){.CopyLead-module_buttonContainer__3OaRG{width:-moz-max-content;width:max-content}}@media (min-width:768px){.CopyLead-module_container__I91ym{gap:var(--sem-space-padding-110)}.CopyLead-module_container--content__e8LxG,.CopyLead-module_container--media__QcMWi{flex-direction:row}.CopyLead-module_container--reverse__Gq9u8{flex-direction:row-reverse}.CopyLead-module_buttonContainer__3OaRG{margin:var(--sem-space-padding-150) 0 0}.CopyLead-module_col__0Da5H{width:50%}.CopyLead-module_list__arnJd{max-width:100%}.CopyLead-module_listItemTextContainer__Dl9lw{padding:0 var(--sem-space-padding-80)}}@media (min-width:1024px){.CopyLead-module_listItemTextContainer__Dl9lw{padding:0 var(--sem-space-padding-110)}}@media (min-width:1280px){.CopyLead-module_container__I91ym{gap:var(--sem-space-padding-130)}.CopyLead-module_listItemTextContainer__Dl9lw{padding:0 var(--sem-space-padding-130)}}.FeaturePost-module_labelDate__NXOgY{padding-top:var(--sem-space-padding-20)}.FeaturePost-module_authorContent__FEuRO{padding-left:var(--sem-space-padding-70)}.FeaturePost-module_googlePlayButtonWrapper__GI-ag{padding:var(--sem-space-padding-70) 0 0}.FeaturePost-module_imgWrapper__r6omd{border-radius:var(--sem-border-radius-s);overflow:hidden}@media (min-width:636px){.FeaturePost-module_googlePlayButtonWrapper__GI-ag{padding:0 0 0 var(--sem-space-padding-70)}}@media (min-width:768px){.FeaturePost-module_featurePost__9jY21{display:flex;gap:24px}.FeaturePost-module_featurePostReversed__WQRXm{flex-direction:row-reverse}.FeaturePost-module_contentContainer__kdus7{padding:0 var(--sem-space-padding-110) 0 0}.FeaturePost-module_col__eW8gY{flex:0 1 auto;width:50%}.FeaturePost-module_labelDate__NXOgY{padding-left:var(--sem-space-padding-70)}}@media (min-width:1280px){.FeaturePost-module_featurePost__9jY21{gap:32px}.FeaturePost-module_contentContainer__kdus7{padding:0 var(--sem-space-padding-130) 0 0}}.Highlights-module_highlights__Hf7Zq{grid-gap:48px 24px;display:grid;gap:48px 24px;grid-template-columns:1fr}.Highlights-module_header__hIdDj{display:flex;flex-direction:column;padding-bottom:40px;width:auto}.Highlights-module_highlightItem__-N6le{max-width:480px;width:auto}.Highlights-module_headerContent__rt-Oj{color:#2a2a2a;font-size:20px;line-height:28px;margin:0}@media (min-width:636px){.Highlights-module_header__hIdDj{min-width:588px;width:auto}.Highlights-module_highlights__Hf7Zq{grid-template-columns:1fr 1fr}.Highlights-module_highlightItem__-N6le{min-width:282px;padding-right:0}}@media (min-width:768px){.Highlights-module_header__hIdDj{min-width:720px;padding:0 186px 40px 0}.Highlights-module_highlights2Column__6qIuI{grid-template-columns:1fr 1fr}.Highlights-module_highlights2Column__6qIuI .Highlights-module_highlightItem__-N6le{max-width:-moz-max-content;max-width:max-content;min-width:348px;padding-right:62px}.Highlights-module_highlights3Column__qsCMP{grid-template-columns:1fr 1fr 1fr}.Highlights-module_highlights3Column__qsCMP .Highlights-module_highlightItem__-N6le{min-width:224px}}@media (min-width:1024px){.Highlights-module_header__hIdDj{min-width:960px;padding:0 246px 40px 0}.Highlights-module_highlights2Column__6qIuI{grid-template-columns:1fr 1fr}.Highlights-module_highlights2Column__6qIuI .Highlights-module_highlightItem__-N6le{min-width:468px;padding-right:82px}.Highlights-module_highlights3Column__qsCMP{grid-template-columns:1fr 1fr 1fr}.Highlights-module_highlights3Column__qsCMP .Highlights-module_highlightItem__-N6le{min-width:304px}}@media (min-width:1280px){.Highlights-module_header__hIdDj{min-width:1216px;padding:0 312px 40px 0}.Highlights-module_highlights__Hf7Zq{gap:48px 32px}.Highlights-module_highlights2Column__6qIuI{grid-template-columns:1fr 1fr}.Highlights-module_highlights2Column__6qIuI .Highlights-module_highlightItem__-N6le{min-width:592px;padding-right:104px}.Highlights-module_highlights3Column__qsCMP{grid-template-columns:1fr 1fr 1fr}.Highlights-module_highlights3Column__qsCMP .Highlights-module_highlightItem__-N6le{min-width:384px}}.PromoListing-module_PromoListing__6ensv{max-width:1280px}.PromoListing-module_headerContent__rMt1t{color:#2a2a2a;font-size:20px;line-height:28px;margin:0}.PromoListing-module_header__PDGdP{display:flex;flex-direction:column;padding-bottom:40px;width:auto}.PromoListing-module_promoListingContainer__vwez-{grid-column:span 2;height:100%;width:100%}.PromoListing-module_cardGrid__llf73{grid-gap:24px;display:grid;gap:24px;grid-template-columns:2fr}@media (min-width:320px){.PromoListing-module_cardGrid__llf73{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:636px){.PromoListing-module_header__PDGdP{min-width:588px}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr);grid-template-columns:repeat(4,1fr)}.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid3Cards__VKWMs .PromoListing-module_promoListingContainer__vwez-:last-child,.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:4}}@media (min-width:768px){.PromoListing-module_header__PDGdP{min-width:720px;padding:0 186px 40px 0}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:1024px){.PromoListing-module_header__PDGdP{min-width:960px;padding:0 246px 40px 0}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(468px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(437px,1fr);grid-template-columns:repeat(6,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid4Cards__5Bv5u .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:5}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:last-child,.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:6}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2),.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2){grid-column-end:4}}@media (min-width:1280px){.PromoListing-module_header__PDGdP{min-width:1216px;padding:0 312px 40px 0}.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(592px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(523px,1fr)}.PromoListing-module_cardGrid__llf73{gap:32px}}.Quote-module_blockQuote__STj-z{font-size:36px;font-style:normal;font-weight:500;margin:0}.Quote-module_quoteContent__kWc51{line-height:44px;margin:0;padding-bottom:32px;padding-top:32px}.Quote-module_quoteDefault__tU5db{fill:#5514b4;color:#5514b4}.Quote-module_quoteSecondary__3Rk3f{fill:#434343;color:#434343}.Quote-module_quoteIcon__HK1TV{height:76.471px;width:100px}svg{padding:0}@media (min-width:768px){.Quote-module_blockQuote__STj-z{font-size:40px}.Quote-module_quoteContent__kWc51{line-height:48px}}@media (min-width:1024px){.Quote-module_quoteIcon__HK1TV{height:95.588px;width:125px}}@media (min-width:1280px){.Quote-module_blockQuote__STj-z{font-size:56px}.Quote-module_quoteContent__kWc51{line-height:64px}}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { AccordionHeaderProps } from "./components/AccordionHeader/AccordionHeader";
3
+ import { AccordionDisclosureListProps } from "./components/AccordionDisclosureList/AccordionDisclosureList";
4
+ /**
5
+ * Use the `Accordion` component to package together a title, content and a number of disclosure components into one section (maximum 10).
6
+ */
7
+ export declare const Accordion: React.FC<AccordionProps>;
8
+ interface AccordionProps extends AccordionHeaderProps, AccordionDisclosureListProps {
9
+ }
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type DisclosureProps } from "@arc-ui/components/dist/Disclosure";
3
+ export declare const AccordionDisclosureList: React.FC<AccordionDisclosureListProps>;
4
+ export interface AccordionDisclosureListProps {
5
+ /**
6
+ * Array of `Disclosure` components. Maximum 10 in one `Accordion`.
7
+ */
8
+ disclosureList: DisclosureProps[];
9
+ }
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
3
+ /**
4
+ * Use `Accordion` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link to a supporting explanatory video. An optional CTA can be used to link to further information or trigger a sales or enquiry journey.
5
+ */
6
+ export declare const AccordionHeader: React.FC<AccordionHeaderProps>;
7
+ export interface AccordionHeaderProps {
8
+ /**
9
+ * heading for `Accordion`.
10
+ */
11
+ heading: string;
12
+ /**
13
+ * heading level for `Accordion` heading.
14
+ */
15
+ headingLevel?: HeadingLevel;
16
+ /**
17
+ * Text content for `Accordion` header section.
18
+ */
19
+ content?: string;
20
+ }
@@ -0,0 +1 @@
1
+ export { Accordion } from "./Accordion";
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { type AvatarProps } from "@arc-ui/components/dist/Avatar";
3
+ export declare const Author: React.FC<AuthorProps>;
4
+ export interface AuthorProps {
5
+ /**
6
+ * Name of the Author.
7
+ */
8
+ name: string;
9
+ /**
10
+ * Job title of the Author.
11
+ */
12
+ title: string;
13
+ /**
14
+ * Optional Avatar for the Author.
15
+ */
16
+ avatar?: Omit<AvatarProps, "size">;
17
+ }
@@ -0,0 +1 @@
1
+ export { Author } from "./Author";
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
- import { type VideoPlayerProps } from "@arc-ui/components/dist/types/components/VideoPlayer/VideoPlayer";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
3
+ import { type VideoPlayerProps } from "@arc-ui/components/dist/VideoPlayer";
3
4
  import { type CopyLeadButton, type CopyLeadImage, type CopyLeadListItem } from "./types";
4
5
  /**
5
6
  * Use `CopyLead` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link to a supporting explanatory video. An optional CTA can be used to link to further information or trigger a sales or enquiry journey.
@@ -7,9 +8,13 @@ import { type CopyLeadButton, type CopyLeadImage, type CopyLeadListItem } from "
7
8
  export declare const CopyLead: React.FC<CopyLeadProps>;
8
9
  interface CopyLeadProps {
9
10
  /**
10
- * Title for `CopyLead`.
11
+ * heading for `CopyLead`.
11
12
  */
12
- title: string;
13
+ heading: string;
14
+ /**
15
+ * Determine a heading level for `<MediaTemplate />` and `<ContentTemplate />`
16
+ */
17
+ headingLevel?: HeadingLevel;
13
18
  /**
14
19
  * Reverse the columns so the image / video appears on the left. Doesn't affect mobile layouts, and is only applied if there is a video or an image.
15
20
  */
@@ -1,7 +1,9 @@
1
1
  import React from "react";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
2
3
  export declare const MediaContent: React.FC<MediaContentProps>;
3
4
  interface MediaContentProps {
4
5
  heading: string;
6
+ headingLevel?: HeadingLevel;
5
7
  children?: string;
6
8
  }
7
9
  export {};
@@ -1,8 +1,10 @@
1
1
  import React from "react";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
2
3
  import { type CopyLeadButton, type CopyLeadListItem } from "../../types";
3
4
  export declare const ContentTemplate: React.FC<ContentTemplateProps>;
4
5
  interface ContentTemplateProps {
5
- title: string;
6
+ heading: string;
7
+ headingLevel?: HeadingLevel;
6
8
  content: string;
7
9
  listItems: CopyLeadListItem[];
8
10
  button?: CopyLeadButton;
@@ -1,9 +1,11 @@
1
1
  import React from "react";
2
- import { type VideoPlayerProps } from "@arc-ui/components/dist/types/components/VideoPlayer/VideoPlayer";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
3
+ import { type VideoPlayerProps } from "@arc-ui/components/dist/VideoPlayer";
3
4
  import { type CopyLeadButton, type CopyLeadImage, type CopyLeadListItem } from "../../types";
4
5
  export declare const MediaTemplate: React.FC<MediaTemplateProps>;
5
6
  interface MediaTemplateProps {
6
- title: string;
7
+ heading: string;
8
+ headingLevel?: HeadingLevel;
7
9
  listItems: CopyLeadListItem[];
8
10
  content?: string;
9
11
  isReverseOrder?: boolean;
@@ -1,15 +1,41 @@
1
1
  import React from "react";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
2
3
  import { type FeaturePostAppButtonFooter, type FeaturePostCtaFooter, type FeaturePostImage } from "./types";
4
+ /**
5
+ * Use `FeaturePost` to direct traffic towards an article, case study, or product information page, or to a 3rd part App Store provider. Where the component links to an article page, the author attribution can be given here. The `FeaturePost` must be supported by an image, and in future, the component will support embedded video as well.
6
+ * */
3
7
  export declare const FeaturePost: React.FC<FeaturePostProps>;
4
8
  interface FeaturePostProps {
9
+ /**
10
+ * heading for `FeaturePost`.
11
+ */
5
12
  heading: string;
13
+ /**
14
+ * Determine a heading level for `<FeaturePost />`
15
+ */
16
+ headingLevel?: HeadingLevel;
17
+ /**
18
+ * Text content for `FeaturePost`.
19
+ */
6
20
  content: string;
21
+ /**
22
+ * Reverse the columns so the image / video appears on the left. Doesn't affect mobile layouts, and is only applied if there is a video or an image.
23
+ */
7
24
  isReverseOrder?: boolean;
25
+ /**
26
+ * Image for `FeaturePost`.
27
+ */
8
28
  image: FeaturePostImage;
29
+ /**
30
+ * Footer for `FeaturePost`. Types included are `cta` or `appButton`.
31
+ */
9
32
  footer?: FeaturePostCtaFooter | FeaturePostAppButtonFooter;
33
+ /**
34
+ * Label for `FeaturePost`.
35
+ */
10
36
  label?: {
11
37
  text: string;
12
- date: string;
38
+ date: string | Date;
13
39
  };
14
40
  }
15
41
  export {};
@@ -1,11 +1,7 @@
1
- import { type AvatarProps } from "@arc-ui/components/dist/types/components/Avatar/Avatar";
2
1
  import { type ButtonProps } from "@arc-ui/components/dist/types/components/Button/Button";
2
+ import { type AuthorProps } from "../../Author/Author";
3
3
  export interface FeaturePostCtaFooter {
4
4
  type: "cta";
5
- author?: {
6
- name: string;
7
- title: string;
8
- avatar?: Omit<AvatarProps, "size">;
9
- };
10
5
  button: Pick<ButtonProps, "label" | "onClick" | "href" | "target" | "ariaLabel">;
6
+ author?: AuthorProps;
11
7
  }
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
2
3
  import { type HighlightListItem } from "./types";
3
4
  /**
4
5
  * Use `Highlights` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link. Both two and three column options are available.
@@ -6,9 +7,13 @@ import { type HighlightListItem } from "./types";
6
7
  export declare const Highlights: React.FC<HighlightsProps>;
7
8
  interface HighlightsProps {
8
9
  /**
9
- * Title for `Highlights`.
10
+ * heading for `Highlights`.
10
11
  */
11
- title: string;
12
+ heading: string;
13
+ /**
14
+ * Determine a heading level for `<HighlightHeader />`.
15
+ */
16
+ headingLevel?: HeadingLevel;
12
17
  /**
13
18
  * Text content for `Highlights`.
14
19
  */
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
2
3
  /**
3
4
  * Use `Highlights` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link to a supporting explanatory video. An optional CTA can be used to link to further information or trigger a sales or enquiry journey.
4
5
  */
@@ -7,7 +8,11 @@ interface HighlightHeaderProps {
7
8
  /**
8
9
  * Title for `Highlights`.
9
10
  */
10
- title: string;
11
+ heading: string;
12
+ /**
13
+ * Determine a heading level for `<HighlightHeader />`.
14
+ */
15
+ headingLevel?: HeadingLevel;
11
16
  /**
12
17
  * Text content for `Highlights`.
13
18
  */
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { HighlightListItem } from "../../types/highlight-list-item";
2
+ import { type HighlightListItem } from "../../types/highlight-list-item";
3
3
  export declare const HighlightList: React.FC<HighlightListProps>;
4
4
  interface HighlightListProps {
5
5
  listItems: HighlightListItem[];
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
- import { PromoListingHeaderProps } from "./components/PromoListingHeader/PromoListingHeader";
3
- import { ImpactCardProps } from "@arc-ui/components/dist/types/components/ImpactCard/ImpactCard";
4
- import { InformationCardProps } from "@arc-ui/components/dist/types/components/InformationCard/InformationCard";
5
- import { MediaCardProps } from "@arc-ui/components/dist/types/components/MediaCard/MediaCard";
6
- import { TypographyCardProps } from "@arc-ui/components/dist/types/components/TypographyCard/TypographyCard";
2
+ import { type MediaCardProps } from "@arc-ui/components/dist/MediaCard";
3
+ import { type ImpactCardProps } from "@arc-ui/components/dist/ImpactCard";
4
+ import { type InformationCardProps } from "@arc-ui/components/dist/InformationCard";
5
+ import { type TypographyCardProps } from "@arc-ui/components/dist/TypographyCard";
6
+ import { type PromoListingHeaderProps } from "./components/PromoListingHeader/PromoListingHeader";
7
7
  /**
8
8
  * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
9
9
  */
@@ -22,7 +22,14 @@ interface PromoListTypographyCard extends TypographyCardProps {
22
22
  }
23
23
  type PromoListCard = PromoListMediaCard | PromoListInformationCard | PromoListTypographyCard | PromoListImpactCard;
24
24
  export interface PromoListingProps extends PromoListingHeaderProps {
25
+ /**
26
+ * Cards for the PromoListing.
27
+ */
25
28
  cards: PromoListCard[];
29
+ /**
30
+ * Shows cards in a carousel on devices below 1024px if true.
31
+ */
32
+ isCarousel?: true;
26
33
  /**
27
34
  * Number of columns for desktop breakpoints. "2" and "3" column options available.
28
35
  */
@@ -1,10 +1,15 @@
1
1
  import React from "react";
2
+ import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
2
3
  export declare const PromoListingHeader: React.FC<PromoListingHeaderProps>;
3
4
  export interface PromoListingHeaderProps {
4
5
  /**
5
- * Title for `PromoListingHeader`.
6
+ * heading for `PromoListingHeader`.
6
7
  */
7
- title: string;
8
+ heading: string;
9
+ /**
10
+ * Determine a heading level for `<PromoListingHeader />`.
11
+ */
12
+ headingLevel?: HeadingLevel;
8
13
  /**
9
14
  * Text content for `PromoListingHeader`.
10
15
  */
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { AuthorProps } from "../Author/Author";
3
+ /**
4
+ * Use `Quote` where a quote or testimonial from an existing customer or stakeholder would help build trust and credibility with potential new customers. It's commonly used on product pages where customers would learn about a product or service that we offer.*/
5
+ export declare const Quote: React.FC<QuoteProps>;
6
+ export interface QuoteProps {
7
+ styling?: "Default" | "Secondary";
8
+ content: string;
9
+ author?: AuthorProps;
10
+ citeUrl?: string;
11
+ }
@@ -0,0 +1 @@
1
+ export { Quote } from "./Quote";
@@ -1,4 +1,7 @@
1
+ export { Accordion } from "./Accordion";
2
+ export { Author } from "./Author";
1
3
  export { CopyLead } from "./CopyLead";
2
4
  export { FeaturePost } from "./FeaturePost";
3
5
  export { Highlights } from "./Highlights";
4
6
  export { PromoListing } from "./PromoListing";
7
+ export { Quote } from "./Quote";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arc-ui/community-components",
3
- "version": "12.0.0-beta.6",
3
+ "version": "12.0.0-beta7",
4
4
  "homepage": "https://ui.digital-ent-int.bt.com",
5
5
  "author": "BT Business Digital UI Team <ui-digital-ent-int@bt.com>",
6
6
  "main": "./dist/index.js",
@@ -13,10 +13,10 @@
13
13
  "access": "public"
14
14
  },
15
15
  "peerDependencies": {
16
- "@arc-ui/components": "12.0.0-beta.6",
17
- "@arc-ui/theme-bt-business": "12.0.0-beta.6",
18
- "@arc-ui/theme-bt-enterprise": "12.0.0-beta.6",
19
- "@arc-ui/theme-ee": "12.0.0-beta.6",
16
+ "@arc-ui/components": "12.0.0-beta7",
17
+ "@arc-ui/theme-bt-business": "12.0.0-beta7",
18
+ "@arc-ui/theme-bt-enterprise": "12.0.0-beta7",
19
+ "@arc-ui/theme-ee": "12.0.0-beta7",
20
20
  "react": "^18.0.0",
21
21
  "react-dom": "^18.0.0"
22
22
  },
@@ -53,11 +53,8 @@
53
53
  "@types/react-dom": "18.2.7",
54
54
  "classnames": "^2.2.6",
55
55
  "cypress": "^13.3.0",
56
+ "date-fns": "2.30.0",
56
57
  "postcss": "^8.0.0",
57
- "postcss-import": "^13.0.0",
58
- "postcss-minify": "^1.1.0",
59
- "postcss-modules": "^6.0.0",
60
- "postcss-preset-env": "^7.0.0",
61
58
  "react": "^18.0.0",
62
59
  "react-dom": "^18.0.0",
63
60
  "react-is": "^18.0.0",
@@ -74,27 +71,28 @@
74
71
  "typescript": "^4.9.5",
75
72
  "vite": "^4.4.5",
76
73
  "vite-plugin-istanbul": "^5.0.0",
77
- "@arc-ui/helpers": "^12.0.0-beta.6",
78
- "@arc-ui/components": "^12.0.0-beta.6",
79
- "@arc-ui/icons-bt": "^12.0.0-beta.6",
80
- "@arc-ui/icons-ee": "^12.0.0-beta.6",
81
- "@arc-ui/theme-bt-business": "^12.0.0-beta.6",
82
- "@arc-ui/theme-bt-enterprise": "^12.0.0-beta.6",
83
- "@arc-ui/theme-ee": "^12.0.0-beta.6",
84
- "@arc-ui/tokens-arc": "^12.0.0-beta.6",
85
- "@arc-ui/tokens-bt-enterprise": "^12.0.0-beta.6",
86
- "@arc-ui/tokens-bt-business": "^12.0.0-beta.6",
87
- "@arc-ui/tokens-ee": "^12.0.0-beta.6"
74
+ "@arc-ui/build-utils": "^12.0.0-beta7",
75
+ "@arc-ui/components": "^12.0.0-beta7",
76
+ "@arc-ui/helpers": "^12.0.0-beta7",
77
+ "@arc-ui/icons-bt": "^12.0.0-beta7",
78
+ "@arc-ui/icons-ee": "^12.0.0-beta7",
79
+ "@arc-ui/theme-bt-business": "^12.0.0-beta7",
80
+ "@arc-ui/theme-bt-enterprise": "^12.0.0-beta7",
81
+ "@arc-ui/theme-ee": "^12.0.0-beta7",
82
+ "@arc-ui/tokens-arc": "^12.0.0-beta7",
83
+ "@arc-ui/tokens-bt-business": "^12.0.0-beta7",
84
+ "@arc-ui/tokens-bt-enterprise": "^12.0.0-beta7",
85
+ "@arc-ui/tokens-ee": "^12.0.0-beta7"
88
86
  },
89
87
  "scripts": {
90
- "build": "rimraf dist && rollup -c && node subpath-postcss.js",
88
+ "build": "rimraf dist && rollup -c && generate-subpath-css --modules",
91
89
  "storybook": "storybook dev -p 6006",
92
90
  "storybook:build": "storybook build --quiet",
93
91
  "storybook:quiet": "pnpm run storybook --quiet",
94
92
  "build-storybook": "storybook build",
95
93
  "coverage:summary": "pnpm dlx nyc report --reporter=text-summary",
96
94
  "coverage:files": "pnpm dlx nyc report --reporter=text",
97
- "coverage:check": "pnpm dlx nyc report --check-coverage --lines 85 --functions 85 --branches 85 --statements 85",
95
+ "coverage:check": "pnpm dlx nyc report --check-coverage --lines 80 --functions 80 --branches 80 --statements 80",
98
96
  "test:components": "cypress open --component",
99
97
  "test:components:ci": "cypress run --component --browser chrome",
100
98
  "test:components:pipeline": "pnpm run test:components:ci && pnpm run coverage:check",