@arc-ui/community-components 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +40 -10
- package/CHANGELOG.md +19 -0
- package/{dist/Accordion/Accordion.cjs.js → lib/Accordion/Accordion.cjs} +4 -4
- package/lib/Accordion/Accordion.mjs +10 -0
- package/{dist/ArticleSidebar/ArticleSidebar.cjs.js → lib/ArticleSidebar/ArticleSidebar.cjs} +3 -3
- package/{dist/ArticleSidebar/ArticleSidebar.esm.js → lib/ArticleSidebar/ArticleSidebar.mjs} +3 -3
- package/{dist/Author/Author.cjs.js → lib/Author/Author.cjs} +3 -3
- package/lib/Author/Author.mjs +8 -0
- package/{dist/BannerWithTabs/BannerWithTabs.cjs.js → lib/BannerWithTabs/BannerWithTabs.cjs} +4 -4
- package/{dist/BannerWithTabs/BannerWithTabs.esm.js → lib/BannerWithTabs/BannerWithTabs.mjs} +4 -4
- package/{dist/CopyLead/CopyLead.cjs.js → lib/CopyLead/CopyLead.cjs} +16 -9
- package/{dist/CopyLead/CopyLead.esm.js → lib/CopyLead/CopyLead.mjs} +16 -9
- package/{dist/DownloadList/DownloadList.cjs.js → lib/DownloadList/DownloadList.cjs} +4 -4
- package/{dist/DownloadList/DownloadList.esm.js → lib/DownloadList/DownloadList.mjs} +4 -4
- package/{dist/FAQs/FAQs.cjs.js → lib/FAQs/FAQs.cjs} +17 -12
- package/{dist/FAQs/FAQs.esm.js → lib/FAQs/FAQs.mjs} +17 -12
- package/lib/FAQs/styles.css +1 -0
- package/{dist/FeaturePost/FeaturePost.cjs.js → lib/FeaturePost/FeaturePost.cjs} +5 -5
- package/{dist/FeaturePost/FeaturePost.esm.js → lib/FeaturePost/FeaturePost.mjs} +5 -5
- package/{dist/Highlights/Highlights.cjs.js → lib/Highlights/Highlights.cjs} +37 -12
- package/{dist/Highlights/Highlights.esm.js → lib/Highlights/Highlights.mjs} +37 -12
- package/{dist/ProductNavigation/ProductNavigation.cjs.js → lib/ProductNavigation/ProductNavigation.cjs} +5 -5
- package/{dist/ProductNavigation/ProductNavigation.esm.js → lib/ProductNavigation/ProductNavigation.mjs} +5 -5
- package/lib/PromoListing/PromoListing.cjs +65 -0
- package/lib/PromoListing/PromoListing.mjs +63 -0
- package/lib/PromoListing/styles.css +1 -0
- package/{dist/Quote/Quote.cjs.js → lib/Quote/Quote.cjs} +4 -4
- package/{dist/Quote/Quote.esm.js → lib/Quote/Quote.mjs} +4 -4
- package/{dist/SectionHeading/SectionHeading.cjs.js → lib/SectionHeading/SectionHeading.cjs} +4 -4
- package/{dist/SectionHeading/SectionHeading.esm.js → lib/SectionHeading/SectionHeading.mjs} +4 -4
- package/{dist/Statistics/Statistics.cjs.js → lib/Statistics/Statistics.cjs} +4 -4
- package/{dist/Statistics/Statistics.esm.js → lib/Statistics/Statistics.mjs} +4 -4
- package/{dist/Summary/Summary.cjs.js → lib/Summary/Summary.cjs} +2 -2
- package/{dist/Summary/Summary.esm.js → lib/Summary/Summary.mjs} +2 -2
- package/{dist/_shared/cjs/Accordion-Bme0aSPi.js → lib/_shared/cjs/Accordion-C4XdbGCu.cjs} +5 -5
- package/{dist/_shared/cjs/Author-DltMey-3.js → lib/_shared/cjs/Author-X47pv31V.cjs} +2 -2
- package/{dist/_shared/cjs/SectionHeading-gjCR1F6E.js → lib/_shared/cjs/SectionHeading-DepTV4JA.cjs} +3 -3
- package/{dist/_shared/cjs/index.es-BVxxpECB.js → lib/_shared/cjs/index.es-D11PdokQ.cjs} +1 -1
- package/{dist/_shared/esm/Accordion-Brmx6oxT.js → lib/_shared/esm/Accordion-Ct7RuUbx.mjs} +5 -5
- package/{dist/_shared/esm/Author-DpT2Pcq_.js → lib/_shared/esm/Author-CydDYCma.mjs} +2 -2
- package/{dist/_shared/esm/SectionHeading-DVLKN_jI.js → lib/_shared/esm/SectionHeading-BayinGP_.mjs} +3 -3
- package/{dist/_shared/esm/index.es-CbCdNYwG.js → lib/_shared/esm/index.es-C4PyYMjI.mjs} +1 -1
- package/{dist/index.js → lib/index.cjs} +92 -42
- package/lib/index.cjs.map +1 -0
- package/lib/index.d.cts +528 -0
- package/lib/index.d.mts +528 -0
- package/{dist/index.es.js → lib/index.mjs} +92 -42
- package/lib/index.mjs.map +1 -0
- package/lib/styles.css +1 -0
- package/package.json +28 -28
- package/rollup.config.js +34 -50
- package/src/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.tsx +4 -0
- package/src/components/CopyLead/components/IconList/IconList.tsx +4 -2
- package/src/components/CopyLead/templates/Content/Content.tsx +13 -2
- package/src/components/CopyLead/templates/Media/Media.tsx +5 -1
- package/src/components/CopyLead/utils/getListHeadingLevel.ts +6 -0
- package/src/components/FAQs/FAQs.module.css +4 -4
- package/src/components/FAQs/FAQs.tsx +12 -6
- package/src/components/Highlights/Highlights.tsx +65 -7
- package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +7 -2
- package/src/components/Highlights/components/HighlightList/HighlightList.tsx +4 -0
- package/src/components/Highlights/utils/getListHeadingLevel.ts +6 -0
- package/src/components/PromoListing/PromoListing.module.css +36 -55
- package/src/components/PromoListing/PromoListing.tsx +72 -50
- package/versions.json +1 -1
- package/dist/Accordion/Accordion.esm.js +0 -10
- package/dist/Author/Author.esm.js +0 -8
- package/dist/FAQs/styles.css +0 -1
- package/dist/PromoListing/PromoListing.cjs.js +0 -51
- package/dist/PromoListing/PromoListing.esm.js +0 -49
- package/dist/PromoListing/styles.css +0 -1
- package/dist/index.es.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/styles.css +0 -1
- package/dist/types/cjs/components/Accordion/Accordion.d.ts +0 -9
- package/dist/types/cjs/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +0 -11
- package/dist/types/cjs/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts +0 -34
- package/dist/types/cjs/components/Accordion/components/AccordionHeading/index.d.ts +0 -1
- package/dist/types/cjs/components/Accordion/index.d.ts +0 -1
- package/dist/types/cjs/components/ArticleSidebar/ArticleSidebar.d.ts +0 -36
- package/dist/types/cjs/components/ArticleSidebar/index.d.ts +0 -1
- package/dist/types/cjs/components/ArticleSidebar/types/link-section.d.ts +0 -11
- package/dist/types/cjs/components/ArticleSidebar/types/share-button.d.ts +0 -7
- package/dist/types/cjs/components/ArticleSidebar/types/share.d.ts +0 -8
- package/dist/types/cjs/components/ArticleSidebar/types/sidebar-author.d.ts +0 -4
- package/dist/types/cjs/components/ArticleSidebar/types/text-section.d.ts +0 -6
- package/dist/types/cjs/components/ArticleSidebar/types/topic.d.ts +0 -7
- package/dist/types/cjs/components/Author/Author.d.ts +0 -17
- package/dist/types/cjs/components/Author/index.d.ts +0 -1
- package/dist/types/cjs/components/BannerWithTabs/BannerWithTabs.d.ts +0 -38
- package/dist/types/cjs/components/BannerWithTabs/index.d.ts +0 -1
- package/dist/types/cjs/components/ContentInfoWidget/ContentInfoWidget.d.ts +0 -6
- package/dist/types/cjs/components/ContentInfoWidget/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/CopyLead.d.ts +0 -42
- package/dist/types/cjs/components/CopyLead/components/Button/Button.d.ts +0 -3
- package/dist/types/cjs/components/CopyLead/components/Button/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/Column/Column.d.ts +0 -6
- package/dist/types/cjs/components/CopyLead/components/Column/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/Container/Container.d.ts +0 -9
- package/dist/types/cjs/components/CopyLead/components/Container/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/IconList/IconList.d.ts +0 -8
- package/dist/types/cjs/components/CopyLead/components/IconList/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/Image/Image.d.ts +0 -3
- package/dist/types/cjs/components/CopyLead/components/Image/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/MediaContent/MediaContent.d.ts +0 -9
- package/dist/types/cjs/components/CopyLead/components/MediaContent/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/templates/Content/Content.d.ts +0 -10
- package/dist/types/cjs/components/CopyLead/templates/Content/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/templates/Media/Media.d.ts +0 -16
- package/dist/types/cjs/components/CopyLead/templates/Media/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/types/copy-lead-button.d.ts +0 -2
- package/dist/types/cjs/components/CopyLead/types/copy-lead-image.d.ts +0 -4
- package/dist/types/cjs/components/CopyLead/types/copy-lead-list-item.d.ts +0 -5
- package/dist/types/cjs/components/CopyLead/types/copy-lead-transcript-link.d.ts +0 -6
- package/dist/types/cjs/components/CopyLead/types/index.d.ts +0 -4
- package/dist/types/cjs/components/DownloadList/DownloadList.d.ts +0 -7
- package/dist/types/cjs/components/DownloadList/index.d.ts +0 -1
- package/dist/types/cjs/components/FAQs/FAQs.d.ts +0 -13
- package/dist/types/cjs/components/FAQs/index.d.ts +0 -1
- package/dist/types/cjs/components/FeaturePost/FeaturePost.d.ts +0 -45
- package/dist/types/cjs/components/FeaturePost/components/Image/Image.d.ts +0 -3
- package/dist/types/cjs/components/FeaturePost/components/Image/index.d.ts +0 -1
- package/dist/types/cjs/components/FeaturePost/components/MediaContent/MediaContent.d.ts +0 -15
- package/dist/types/cjs/components/FeaturePost/index.d.ts +0 -1
- package/dist/types/cjs/components/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -6
- package/dist/types/cjs/components/FeaturePost/types/feature-post-cta-footer.d.ts +0 -7
- package/dist/types/cjs/components/FeaturePost/types/feature-post-image.d.ts +0 -4
- package/dist/types/cjs/components/FeaturePost/types/index.d.ts +0 -3
- package/dist/types/cjs/components/Highlights/Highlights.d.ts +0 -17
- package/dist/types/cjs/components/Highlights/components/HighlightItem/HighlightItem.d.ts +0 -11
- package/dist/types/cjs/components/Highlights/components/HighlightList/HighlightList.d.ts +0 -9
- package/dist/types/cjs/components/Highlights/index.d.ts +0 -1
- package/dist/types/cjs/components/Highlights/types/highlight-link.d.ts +0 -5
- package/dist/types/cjs/components/Highlights/types/highlight-list-item.d.ts +0 -7
- package/dist/types/cjs/components/Highlights/types/index.d.ts +0 -2
- package/dist/types/cjs/components/ProductNavigation/ProductNavigation.d.ts +0 -49
- package/dist/types/cjs/components/ProductNavigation/index.d.ts +0 -2
- package/dist/types/cjs/components/ProductNavigation/types/index.d.ts +0 -1
- package/dist/types/cjs/components/ProductNavigation/types/product-list.d.ts +0 -6
- package/dist/types/cjs/components/PromoListing/PromoListing.d.ts +0 -38
- package/dist/types/cjs/components/PromoListing/index.d.ts +0 -1
- package/dist/types/cjs/components/Quote/Quote.d.ts +0 -11
- package/dist/types/cjs/components/Quote/index.d.ts +0 -1
- package/dist/types/cjs/components/SectionHeading/SectionHeading.d.ts +0 -30
- package/dist/types/cjs/components/SectionHeading/index.d.ts +0 -1
- package/dist/types/cjs/components/Statistics/Statistics.d.ts +0 -7
- package/dist/types/cjs/components/Statistics/helpers/get-link-props.d.ts +0 -2
- package/dist/types/cjs/components/Statistics/index.d.ts +0 -1
- package/dist/types/cjs/components/Statistics/types/statistic-link.d.ts +0 -6
- package/dist/types/cjs/components/Statistics/types/statistic.d.ts +0 -8
- package/dist/types/cjs/components/Summary/Summary.d.ts +0 -19
- package/dist/types/cjs/components/Summary/index.d.ts +0 -1
- package/dist/types/cjs/components/index.d.ts +0 -16
- package/dist/types/cjs/index.d.ts +0 -1
- package/dist/types/esm/components/Accordion/Accordion.d.ts +0 -9
- package/dist/types/esm/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +0 -11
- package/dist/types/esm/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts +0 -34
- package/dist/types/esm/components/Accordion/components/AccordionHeading/index.d.ts +0 -1
- package/dist/types/esm/components/Accordion/index.d.ts +0 -1
- package/dist/types/esm/components/ArticleSidebar/ArticleSidebar.d.ts +0 -36
- package/dist/types/esm/components/ArticleSidebar/index.d.ts +0 -1
- package/dist/types/esm/components/ArticleSidebar/types/link-section.d.ts +0 -11
- package/dist/types/esm/components/ArticleSidebar/types/share-button.d.ts +0 -7
- package/dist/types/esm/components/ArticleSidebar/types/share.d.ts +0 -8
- package/dist/types/esm/components/ArticleSidebar/types/sidebar-author.d.ts +0 -4
- package/dist/types/esm/components/ArticleSidebar/types/text-section.d.ts +0 -6
- package/dist/types/esm/components/ArticleSidebar/types/topic.d.ts +0 -7
- package/dist/types/esm/components/Author/Author.d.ts +0 -17
- package/dist/types/esm/components/Author/index.d.ts +0 -1
- package/dist/types/esm/components/BannerWithTabs/BannerWithTabs.d.ts +0 -38
- package/dist/types/esm/components/BannerWithTabs/index.d.ts +0 -1
- package/dist/types/esm/components/ContentInfoWidget/ContentInfoWidget.d.ts +0 -6
- package/dist/types/esm/components/ContentInfoWidget/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/CopyLead.d.ts +0 -42
- package/dist/types/esm/components/CopyLead/components/Button/Button.d.ts +0 -3
- package/dist/types/esm/components/CopyLead/components/Button/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/Column/Column.d.ts +0 -6
- package/dist/types/esm/components/CopyLead/components/Column/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/Container/Container.d.ts +0 -9
- package/dist/types/esm/components/CopyLead/components/Container/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/IconList/IconList.d.ts +0 -8
- package/dist/types/esm/components/CopyLead/components/IconList/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/Image/Image.d.ts +0 -3
- package/dist/types/esm/components/CopyLead/components/Image/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/MediaContent/MediaContent.d.ts +0 -9
- package/dist/types/esm/components/CopyLead/components/MediaContent/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/templates/Content/Content.d.ts +0 -10
- package/dist/types/esm/components/CopyLead/templates/Content/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/templates/Media/Media.d.ts +0 -16
- package/dist/types/esm/components/CopyLead/templates/Media/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/types/copy-lead-button.d.ts +0 -2
- package/dist/types/esm/components/CopyLead/types/copy-lead-image.d.ts +0 -4
- package/dist/types/esm/components/CopyLead/types/copy-lead-list-item.d.ts +0 -5
- package/dist/types/esm/components/CopyLead/types/copy-lead-transcript-link.d.ts +0 -6
- package/dist/types/esm/components/CopyLead/types/index.d.ts +0 -4
- package/dist/types/esm/components/DownloadList/DownloadList.d.ts +0 -7
- package/dist/types/esm/components/DownloadList/index.d.ts +0 -1
- package/dist/types/esm/components/FAQs/FAQs.d.ts +0 -13
- package/dist/types/esm/components/FAQs/index.d.ts +0 -1
- package/dist/types/esm/components/FeaturePost/FeaturePost.d.ts +0 -45
- package/dist/types/esm/components/FeaturePost/components/Image/Image.d.ts +0 -3
- package/dist/types/esm/components/FeaturePost/components/Image/index.d.ts +0 -1
- package/dist/types/esm/components/FeaturePost/components/MediaContent/MediaContent.d.ts +0 -15
- package/dist/types/esm/components/FeaturePost/index.d.ts +0 -1
- package/dist/types/esm/components/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -6
- package/dist/types/esm/components/FeaturePost/types/feature-post-cta-footer.d.ts +0 -7
- package/dist/types/esm/components/FeaturePost/types/feature-post-image.d.ts +0 -4
- package/dist/types/esm/components/FeaturePost/types/index.d.ts +0 -3
- package/dist/types/esm/components/Highlights/Highlights.d.ts +0 -17
- package/dist/types/esm/components/Highlights/components/HighlightItem/HighlightItem.d.ts +0 -11
- package/dist/types/esm/components/Highlights/components/HighlightList/HighlightList.d.ts +0 -9
- package/dist/types/esm/components/Highlights/index.d.ts +0 -1
- package/dist/types/esm/components/Highlights/types/highlight-link.d.ts +0 -5
- package/dist/types/esm/components/Highlights/types/highlight-list-item.d.ts +0 -7
- package/dist/types/esm/components/Highlights/types/index.d.ts +0 -2
- package/dist/types/esm/components/ProductNavigation/ProductNavigation.d.ts +0 -49
- package/dist/types/esm/components/ProductNavigation/index.d.ts +0 -2
- package/dist/types/esm/components/ProductNavigation/types/index.d.ts +0 -1
- package/dist/types/esm/components/ProductNavigation/types/product-list.d.ts +0 -6
- package/dist/types/esm/components/PromoListing/PromoListing.d.ts +0 -38
- package/dist/types/esm/components/PromoListing/index.d.ts +0 -1
- package/dist/types/esm/components/Quote/Quote.d.ts +0 -11
- package/dist/types/esm/components/Quote/index.d.ts +0 -1
- package/dist/types/esm/components/SectionHeading/SectionHeading.d.ts +0 -30
- package/dist/types/esm/components/SectionHeading/index.d.ts +0 -1
- package/dist/types/esm/components/Statistics/Statistics.d.ts +0 -7
- package/dist/types/esm/components/Statistics/helpers/get-link-props.d.ts +0 -2
- package/dist/types/esm/components/Statistics/index.d.ts +0 -1
- package/dist/types/esm/components/Statistics/types/statistic-link.d.ts +0 -6
- package/dist/types/esm/components/Statistics/types/statistic.d.ts +0 -8
- package/dist/types/esm/components/Summary/Summary.d.ts +0 -19
- package/dist/types/esm/components/Summary/index.d.ts +0 -1
- package/dist/types/esm/components/index.d.ts +0 -16
- package/dist/types/esm/index.d.ts +0 -1
- /package/{dist → lib}/ArticleSidebar/styles.css +0 -0
- /package/{dist → lib}/Author/styles.css +0 -0
- /package/{dist → lib}/BannerWithTabs/styles.css +0 -0
- /package/{dist/ContentInfoWidget/ContentInfoWidget.cjs.js → lib/ContentInfoWidget/ContentInfoWidget.cjs} +0 -0
- /package/{dist/ContentInfoWidget/ContentInfoWidget.esm.js → lib/ContentInfoWidget/ContentInfoWidget.mjs} +0 -0
- /package/{dist → lib}/ContentInfoWidget/styles.css +0 -0
- /package/{dist → lib}/CopyLead/styles.css +0 -0
- /package/{dist → lib}/DownloadList/styles.css +0 -0
- /package/{dist → lib}/FeaturePost/styles.css +0 -0
- /package/{dist → lib}/Highlights/styles.css +0 -0
- /package/{dist → lib}/ProductNavigation/styles.css +0 -0
- /package/{dist → lib}/Quote/styles.css +0 -0
- /package/{dist → lib}/SectionHeading/styles.css +0 -0
- /package/{dist → lib}/Statistics/styles.css +0 -0
- /package/{dist → lib}/Summary/styles.css +0 -0
- /package/{dist/_shared/cjs/filter-data-attrs-ajtUvDAC.js → lib/_shared/cjs/filter-data-attrs-ajtUvDAC.cjs} +0 -0
- /package/{dist/_shared/cjs/index-Bp6Dd2i1.js → lib/_shared/cjs/index-Bp6Dd2i1.cjs} +0 -0
- /package/{dist/_shared/cjs/tslib.es6-BxB9I209.js → lib/_shared/cjs/tslib.es6-BxB9I209.cjs} +0 -0
- /package/{dist/_shared/esm/filter-data-attrs-V7cbJuwS.js → lib/_shared/esm/filter-data-attrs-V7cbJuwS.mjs} +0 -0
- /package/{dist/_shared/esm/index-BfTCfPZ1.js → lib/_shared/esm/index-BfTCfPZ1.mjs} +0 -0
- /package/{dist/_shared/esm/tslib.es6-D6Wu-xwB.js → lib/_shared/esm/tslib.es6-D6Wu-xwB.mjs} +0 -0
|
@@ -4,93 +4,74 @@
|
|
|
4
4
|
max-width: 1280px;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
8
|
-
grid-column: span 2;
|
|
7
|
+
.carouselSlide {
|
|
9
8
|
height: 100%;
|
|
10
|
-
|
|
9
|
+
padding: 6px;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
.cardGrid {
|
|
14
13
|
display: grid;
|
|
15
|
-
|
|
16
|
-
grid-
|
|
14
|
+
grid-template-columns: repeat(1, 1fr);
|
|
15
|
+
grid-auto-rows: 1fr;
|
|
16
|
+
gap: 16px;
|
|
17
|
+
list-style: none;
|
|
18
|
+
margin: 0;
|
|
19
|
+
padding: 0;
|
|
17
20
|
}
|
|
18
21
|
|
|
19
|
-
.
|
|
22
|
+
.cardWrapper {
|
|
20
23
|
height: 100%;
|
|
21
|
-
padding: 6px;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
grid-auto-rows: minmax(430px, 1fr);
|
|
27
|
-
}
|
|
26
|
+
.cardWrapper > * {
|
|
27
|
+
height: 100%;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* Dealing with single orphan */
|
|
37
|
-
.cardGrid2Columns.cardGrid3Cards .promoListingContainer:last-child {
|
|
38
|
-
grid-column-end: 4;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.cardGrid2Columns.cardGrid5Cards .promoListingContainer:last-child {
|
|
42
|
-
grid-column-end: 4;
|
|
43
|
-
}
|
|
30
|
+
.cardWrapperCarousel {
|
|
31
|
+
width: 288px;
|
|
32
|
+
height: 100%;
|
|
33
|
+
margin-right: 16px;
|
|
44
34
|
}
|
|
45
35
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
grid-auto-rows: minmax(430px, 1fr);
|
|
49
|
-
}
|
|
36
|
+
.cardWrapperCarousel > * {
|
|
37
|
+
height: 100%;
|
|
50
38
|
}
|
|
51
39
|
|
|
52
|
-
@media (--arc-custom-media-min-width-
|
|
53
|
-
.
|
|
54
|
-
|
|
40
|
+
@media (--arc-custom-media-min-width-s-px) {
|
|
41
|
+
.cardWrapperCarousel {
|
|
42
|
+
margin-right: 24px;
|
|
55
43
|
}
|
|
56
44
|
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
grid-template-columns: repeat(6, 1fr);
|
|
45
|
+
.cardGrid {
|
|
46
|
+
gap: 24px;
|
|
60
47
|
}
|
|
61
48
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
grid-column-end: 5;
|
|
49
|
+
.cardGrid.columns-3 {
|
|
50
|
+
grid-template-columns: repeat(2, 1fr);
|
|
65
51
|
}
|
|
66
52
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
grid-column-end: 6;
|
|
53
|
+
.cardGrid.columns-2 {
|
|
54
|
+
grid-template-columns: repeat(2, 1fr);
|
|
70
55
|
}
|
|
56
|
+
}
|
|
71
57
|
|
|
72
|
-
|
|
73
|
-
|
|
58
|
+
@media (--arc-custom-media-min-width-m-px) {
|
|
59
|
+
.cardWrapperCarousel {
|
|
60
|
+
width: 348px;
|
|
74
61
|
}
|
|
62
|
+
}
|
|
75
63
|
|
|
76
|
-
|
|
77
|
-
|
|
64
|
+
@media (--arc-custom-media-min-width-l-px) {
|
|
65
|
+
.cardGrid.columns-3 {
|
|
66
|
+
grid-template-columns: repeat(3, 1fr);
|
|
78
67
|
}
|
|
79
68
|
|
|
80
|
-
.
|
|
81
|
-
grid-
|
|
69
|
+
.cardGrid.columns-2 {
|
|
70
|
+
grid-template-columns: repeat(2, 1fr);
|
|
82
71
|
}
|
|
83
72
|
}
|
|
84
73
|
|
|
85
74
|
@media (--arc-custom-media-min-width-xl-px) {
|
|
86
|
-
.cardGrid2Columns {
|
|
87
|
-
grid-auto-rows: minmax(592px, 1fr);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.cardGrid3Columns {
|
|
91
|
-
grid-auto-rows: minmax(523px, 1fr);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
75
|
.cardGrid {
|
|
95
76
|
gap: 32px;
|
|
96
77
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import React, { useId } from "react";
|
|
1
|
+
import React, { useId, ComponentType } from "react";
|
|
2
|
+
|
|
2
3
|
import classNames from "classnames";
|
|
3
4
|
|
|
4
|
-
import { ArcSizeBreakpointsL } from "@arc-ui/tokens-arc";
|
|
5
|
+
import { ArcSizeBreakpointsL, ArcSizeBreakpointsM } from "@arc-ui/tokens-arc";
|
|
5
6
|
|
|
6
7
|
import { Carousel } from "@arc-ui/components/Carousel";
|
|
7
8
|
import { useMediaQuery } from "@arc-ui/components/use-media-query";
|
|
@@ -33,7 +34,7 @@ import styles from "./PromoListing.module.css";
|
|
|
33
34
|
export const PromoListing: React.FC<PromoListingProps> = ({
|
|
34
35
|
heading,
|
|
35
36
|
content,
|
|
36
|
-
isCarousel,
|
|
37
|
+
isCarousel = false,
|
|
37
38
|
cards,
|
|
38
39
|
headingLevel,
|
|
39
40
|
columns = "2",
|
|
@@ -44,17 +45,46 @@ export const PromoListing: React.FC<PromoListingProps> = ({
|
|
|
44
45
|
`(min-width: ${ArcSizeBreakpointsL})`,
|
|
45
46
|
);
|
|
46
47
|
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
const getCard = (card: PromoListCard) => (
|
|
50
|
-
<>
|
|
51
|
-
{card.type === "media-card" && <MediaCard {...card} />}
|
|
52
|
-
{card.type === "impact-card" && <ImpactCard {...card} />}
|
|
53
|
-
{card.type === "information-card" && <InformationCard {...card} />}
|
|
54
|
-
{card.type === "typography-card" && <TypographyCard {...card} />}
|
|
55
|
-
</>
|
|
48
|
+
const isMinWidthArcBreakpointM = useMediaQuery(
|
|
49
|
+
`(min-width: ${ArcSizeBreakpointsM})`,
|
|
56
50
|
);
|
|
57
51
|
|
|
52
|
+
const cardAspectRatios = columns === "3" ? "10-16" : "3-4";
|
|
53
|
+
|
|
54
|
+
const getCardAspectRatios = {
|
|
55
|
+
xs: !isCarousel ? "3-4" : undefined,
|
|
56
|
+
s: !isCarousel ? "10-16" : undefined,
|
|
57
|
+
m: !isCarousel ? "3-4" : undefined,
|
|
58
|
+
l: cardAspectRatios,
|
|
59
|
+
xl: cardAspectRatios,
|
|
60
|
+
xxl: cardAspectRatios,
|
|
61
|
+
xxxl: cardAspectRatios,
|
|
62
|
+
} as MediaCardProps["preserveAspectRatios"];
|
|
63
|
+
|
|
64
|
+
const commonProps = {
|
|
65
|
+
preserveAspectRatios: getCardAspectRatios,
|
|
66
|
+
minHeight:
|
|
67
|
+
isCarousel && !isMinWidthArcBreakpointL
|
|
68
|
+
? isMinWidthArcBreakpointM
|
|
69
|
+
? 557
|
|
70
|
+
: 461
|
|
71
|
+
: undefined,
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
const CARD_COMPONENTS = {
|
|
75
|
+
"media-card": MediaCard,
|
|
76
|
+
"impact-card": ImpactCard,
|
|
77
|
+
"information-card": InformationCard,
|
|
78
|
+
"typography-card": TypographyCard,
|
|
79
|
+
} as const;
|
|
80
|
+
|
|
81
|
+
const getCard = (card: PromoListCard) => {
|
|
82
|
+
const CardComponent = CARD_COMPONENTS[card.type] as ComponentType<
|
|
83
|
+
typeof card
|
|
84
|
+
>;
|
|
85
|
+
return <CardComponent {...card} {...commonProps} />;
|
|
86
|
+
};
|
|
87
|
+
|
|
58
88
|
return (
|
|
59
89
|
<div className={styles.PromoListing}>
|
|
60
90
|
<SectionHeading
|
|
@@ -64,47 +94,39 @@ export const PromoListing: React.FC<PromoListingProps> = ({
|
|
|
64
94
|
headingLevel={headingLevel}
|
|
65
95
|
content={content}
|
|
66
96
|
/>
|
|
67
|
-
|
|
68
97
|
{isCarousel && !isMinWidthArcBreakpointL ? (
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
{getCard(card)}
|
|
87
|
-
</div>
|
|
88
|
-
))}
|
|
89
|
-
</Carousel>
|
|
98
|
+
<div className={styles.promolistingCarouselWrapper}>
|
|
99
|
+
<Carousel
|
|
100
|
+
overflow="visible"
|
|
101
|
+
itemsPerSlide={1}
|
|
102
|
+
behavior="adaptive"
|
|
103
|
+
withGutter={false}
|
|
104
|
+
>
|
|
105
|
+
{cards?.map((card: PromoListCard, i) => (
|
|
106
|
+
<div
|
|
107
|
+
key={`promolist-carousel-card-${id}-${i}`}
|
|
108
|
+
className={(styles.carouselSlide, styles.cardWrapperCarousel)}
|
|
109
|
+
>
|
|
110
|
+
{getCard(card)}
|
|
111
|
+
</div>
|
|
112
|
+
))}
|
|
113
|
+
</Carousel>
|
|
114
|
+
</div>
|
|
90
115
|
) : (
|
|
91
|
-
<
|
|
92
|
-
className={classNames(
|
|
93
|
-
styles.cardGrid,
|
|
94
|
-
styles[`cardGrid${columnCount}Columns`],
|
|
95
|
-
styles[`cardGrid${cards.length}Cards`],
|
|
96
|
-
)}
|
|
116
|
+
<ul
|
|
117
|
+
className={classNames(styles.cardGrid, styles[`columns-${columns}`])}
|
|
97
118
|
>
|
|
98
119
|
{cards?.map((card: PromoListCard, index) => (
|
|
99
|
-
<
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
120
|
+
<li key={`promolist-card--${id}-${index}`}>
|
|
121
|
+
<div
|
|
122
|
+
data-testid={`promoList-card${index}`}
|
|
123
|
+
className={styles.cardWrapper}
|
|
124
|
+
>
|
|
125
|
+
{getCard(card)}
|
|
126
|
+
</div>
|
|
127
|
+
</li>
|
|
106
128
|
))}
|
|
107
|
-
</
|
|
129
|
+
</ul>
|
|
108
130
|
)}
|
|
109
131
|
</div>
|
|
110
132
|
);
|
|
@@ -140,9 +162,9 @@ export interface PromoListingProps
|
|
|
140
162
|
cards: PromoListCard[];
|
|
141
163
|
|
|
142
164
|
/**
|
|
143
|
-
* Shows cards in a carousel on devices below 1024px if true.
|
|
165
|
+
* Shows cards in a carousel on devices below 1024px (m breakpoint) if true.
|
|
144
166
|
*/
|
|
145
|
-
isCarousel?:
|
|
167
|
+
isCarousel?: boolean;
|
|
146
168
|
|
|
147
169
|
/**
|
|
148
170
|
* Number of columns for desktop breakpoints. "2" and "3" column options available.
|
package/versions.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
["v2.0.0","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.1.0"]
|
|
1
|
+
["v3.0.0","v2.0.0","v1.1.0","v1.0.2","v1.0.1","v1.0.0","v0.1.0"]
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { A as Accordion } from '../_shared/esm/Accordion-Brmx6oxT.js';
|
|
2
|
-
import '../_shared/esm/tslib.es6-D6Wu-xwB.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
5
|
-
import '../_shared/esm/index-BfTCfPZ1.js';
|
|
6
|
-
import '@arc-ui/components/Heading';
|
|
7
|
-
import '@arc-ui/components/Text';
|
|
8
|
-
import '@arc-ui/components/VerticalSpace';
|
|
9
|
-
import '@arc-ui/components/Image';
|
|
10
|
-
import '@arc-ui/components/Disclosure';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { A as Author } from '../_shared/esm/Author-DpT2Pcq_.js';
|
|
2
|
-
import '../_shared/esm/tslib.es6-D6Wu-xwB.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
5
|
-
import '@arc-ui/components/Grid';
|
|
6
|
-
import '@arc-ui/components/Avatar';
|
|
7
|
-
import '@arc-ui/components/Heading';
|
|
8
|
-
import '@arc-ui/components/Text';
|
package/dist/FAQs/styles.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
html{scroll-behavior:smooth}ul,li{list-style:none;margin:0;padding:0}.FAQs-module_linkListSection__RdQkU{display:flex;flex-direction:column;margin-bottom:40px}.FAQs-module_linkListTitle__RVni3{margin-bottom:8px}.FAQs-module_linkList__dPyXj{display:flex;flex-wrap:wrap;row-gap:8px}.FAQs-module_linkListItem__S83CL::after{content:"|";padding:0 8px;color:#d9d9d9}.FAQs-module_linkListItem__S83CL:last-child::after{content:""}@media (--arc-custom-media-min-width-s-px){.FAQs-module_linkList--padded__8Paxc{min-width:588px;width:auto}}@media (--arc-custom-media-min-width-m-px){.FAQs-module_linkList--padded__8Paxc{min-width:720px;padding-right:186px}}@media (--arc-custom-media-min-width-l-px){.FAQs-module_linkList--padded__8Paxc{min-width:960px;padding-right:246px}}@media (--arc-custom-media-min-width-xl-px){.FAQs-module_linkList--padded__8Paxc{min-width:1216px;padding-right:312px}}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
6
|
-
var index_es = require('../_shared/cjs/index.es-BVxxpECB.js');
|
|
7
|
-
var Carousel = require('@arc-ui/components/Carousel');
|
|
8
|
-
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
9
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
|
|
10
|
-
var MediaCard = require('@arc-ui/components/MediaCard');
|
|
11
|
-
var ImpactCard = require('@arc-ui/components/ImpactCard');
|
|
12
|
-
var InformationCard = require('@arc-ui/components/InformationCard');
|
|
13
|
-
var TypographyCard = require('@arc-ui/components/TypographyCard');
|
|
14
|
-
require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
15
|
-
require('@arc-ui/components/Heading');
|
|
16
|
-
require('@arc-ui/components/Text');
|
|
17
|
-
require('@arc-ui/components/VerticalSpace');
|
|
18
|
-
require('@arc-ui/components/Image');
|
|
19
|
-
|
|
20
|
-
var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","promoListingContainer":"PromoListing-module_promoListingContainer__vwez-","cardGrid":"PromoListing-module_cardGrid__llf73","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid2Columns":"PromoListing-module_cardGrid2Columns__qPLQk","cardGrid3Cards":"PromoListing-module_cardGrid3Cards__VKWMs","cardGrid5Cards":"PromoListing-module_cardGrid5Cards__ywl5k","cardGrid3Columns":"PromoListing-module_cardGrid3Columns__g0Xru","cardGrid4Cards":"PromoListing-module_cardGrid4Cards__5Bv5u","cardGrid2Cards":"PromoListing-module_cardGrid2Cards__wDc4S"};
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
|
|
24
|
-
*/
|
|
25
|
-
var PromoListing = function (_a) {
|
|
26
|
-
var heading = _a.heading, content = _a.content, isCarousel = _a.isCarousel, cards = _a.cards, headingLevel = _a.headingLevel, _b = _a.columns, columns = _b === void 0 ? "2" : _b;
|
|
27
|
-
var id = React.useId();
|
|
28
|
-
var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")"));
|
|
29
|
-
var columnCount = isMinWidthArcBreakpointL ? columns : 2;
|
|
30
|
-
var getCard = function (card) { return (React.createElement(React.Fragment, null,
|
|
31
|
-
card.type === "media-card" && React.createElement(MediaCard.MediaCard, tslib_es6.__assign({}, card)),
|
|
32
|
-
card.type === "impact-card" && React.createElement(ImpactCard.ImpactCard, tslib_es6.__assign({}, card)),
|
|
33
|
-
card.type === "information-card" && React.createElement(InformationCard.InformationCard, tslib_es6.__assign({}, card)),
|
|
34
|
-
card.type === "typography-card" && React.createElement(TypographyCard.TypographyCard, tslib_es6.__assign({}, card)))); };
|
|
35
|
-
return (React.createElement("div", { className: styles.PromoListing },
|
|
36
|
-
React.createElement(SectionHeading.SectionHeading, { isPadded: true, "data-testid": "PromoListing-header", heading: heading, headingLevel: headingLevel, content: content }),
|
|
37
|
-
isCarousel && !isMinWidthArcBreakpointL ? (React.createElement(Carousel.Carousel, { itemsPerSlide: 1, responsive: {
|
|
38
|
-
s: {
|
|
39
|
-
itemsToScroll: 1,
|
|
40
|
-
isPartialVisible: false,
|
|
41
|
-
itemsPerSlide: 2,
|
|
42
|
-
},
|
|
43
|
-
m: {
|
|
44
|
-
itemsToScroll: 1,
|
|
45
|
-
isPartialVisible: true,
|
|
46
|
-
itemsPerSlide: 2,
|
|
47
|
-
},
|
|
48
|
-
} }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "card-".concat(id, "-").concat(i), className: styles.carouselSlide }, getCard(card))); }))) : (React.createElement("div", { className: index.classNames(styles.cardGrid, styles["cardGrid".concat(columnCount, "Columns")], styles["cardGrid".concat(cards.length, "Cards")]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index$1) { return (React.createElement("div", { "data-testid": "promoList-card".concat(index$1), className: index.classNames(styles.promoListingContainer), key: index$1 }, getCard(card))); })))));
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
exports.PromoListing = PromoListing;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.js';
|
|
2
|
-
import React, { useId } from 'react';
|
|
3
|
-
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
4
|
-
import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-CbCdNYwG.js';
|
|
5
|
-
import { Carousel } from '@arc-ui/components/Carousel';
|
|
6
|
-
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
7
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-DVLKN_jI.js';
|
|
8
|
-
import { MediaCard } from '@arc-ui/components/MediaCard';
|
|
9
|
-
import { ImpactCard } from '@arc-ui/components/ImpactCard';
|
|
10
|
-
import { InformationCard } from '@arc-ui/components/InformationCard';
|
|
11
|
-
import { TypographyCard } from '@arc-ui/components/TypographyCard';
|
|
12
|
-
import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
13
|
-
import '@arc-ui/components/Heading';
|
|
14
|
-
import '@arc-ui/components/Text';
|
|
15
|
-
import '@arc-ui/components/VerticalSpace';
|
|
16
|
-
import '@arc-ui/components/Image';
|
|
17
|
-
|
|
18
|
-
var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","promoListingContainer":"PromoListing-module_promoListingContainer__vwez-","cardGrid":"PromoListing-module_cardGrid__llf73","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid2Columns":"PromoListing-module_cardGrid2Columns__qPLQk","cardGrid3Cards":"PromoListing-module_cardGrid3Cards__VKWMs","cardGrid5Cards":"PromoListing-module_cardGrid5Cards__ywl5k","cardGrid3Columns":"PromoListing-module_cardGrid3Columns__g0Xru","cardGrid4Cards":"PromoListing-module_cardGrid4Cards__5Bv5u","cardGrid2Cards":"PromoListing-module_cardGrid2Cards__wDc4S"};
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
|
|
22
|
-
*/
|
|
23
|
-
var PromoListing = function (_a) {
|
|
24
|
-
var heading = _a.heading, content = _a.content, isCarousel = _a.isCarousel, cards = _a.cards, headingLevel = _a.headingLevel, _b = _a.columns, columns = _b === void 0 ? "2" : _b;
|
|
25
|
-
var id = useId();
|
|
26
|
-
var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
|
|
27
|
-
var columnCount = isMinWidthArcBreakpointL ? columns : 2;
|
|
28
|
-
var getCard = function (card) { return (React.createElement(React.Fragment, null,
|
|
29
|
-
card.type === "media-card" && React.createElement(MediaCard, __assign({}, card)),
|
|
30
|
-
card.type === "impact-card" && React.createElement(ImpactCard, __assign({}, card)),
|
|
31
|
-
card.type === "information-card" && React.createElement(InformationCard, __assign({}, card)),
|
|
32
|
-
card.type === "typography-card" && React.createElement(TypographyCard, __assign({}, card)))); };
|
|
33
|
-
return (React.createElement("div", { className: styles.PromoListing },
|
|
34
|
-
React.createElement(SectionHeading, { isPadded: true, "data-testid": "PromoListing-header", heading: heading, headingLevel: headingLevel, content: content }),
|
|
35
|
-
isCarousel && !isMinWidthArcBreakpointL ? (React.createElement(Carousel, { itemsPerSlide: 1, responsive: {
|
|
36
|
-
s: {
|
|
37
|
-
itemsToScroll: 1,
|
|
38
|
-
isPartialVisible: false,
|
|
39
|
-
itemsPerSlide: 2,
|
|
40
|
-
},
|
|
41
|
-
m: {
|
|
42
|
-
itemsToScroll: 1,
|
|
43
|
-
isPartialVisible: true,
|
|
44
|
-
itemsPerSlide: 2,
|
|
45
|
-
},
|
|
46
|
-
} }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "card-".concat(id, "-").concat(i), className: styles.carouselSlide }, getCard(card))); }))) : (React.createElement("div", { className: classNames(styles.cardGrid, styles["cardGrid".concat(columnCount, "Columns")], styles["cardGrid".concat(cards.length, "Cards")]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("div", { "data-testid": "promoList-card".concat(index), className: classNames(styles.promoListingContainer), key: index }, getCard(card))); })))));
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export { PromoListing };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.PromoListing-module_PromoListing__6ensv{max-width:1280px}.PromoListing-module_promoListingContainer__vwez-{grid-column:span 2;height:100%;width:100%}.PromoListing-module_cardGrid__llf73{display:grid;grid-gap:24px;gap:24px;grid-template-columns:2fr}.PromoListing-module_carouselSlide__AMTPF{height:100%;padding:6px}@media (min-width:320px){.PromoListing-module_cardGrid__llf73{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:636px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr);grid-template-columns:repeat(4,1fr)}.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid3Cards__VKWMs .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:4}.PromoListing-module_cardGrid2Columns__qPLQk.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:4}}@media (min-width:768px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(430px,1fr)}}@media (min-width:1024px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(468px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(437px,1fr);grid-template-columns:repeat(6,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid4Cards__5Bv5u .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:5}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:6}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:last-child{grid-column-end:6}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid2Cards__wDc4S .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2){grid-column-end:4}.PromoListing-module_cardGrid3Columns__g0Xru.PromoListing-module_cardGrid5Cards__ywl5k .PromoListing-module_promoListingContainer__vwez-:nth-last-child(2){grid-column-end:4}}@media (min-width:1280px){.PromoListing-module_cardGrid2Columns__qPLQk{grid-auto-rows:minmax(592px,1fr)}.PromoListing-module_cardGrid3Columns__g0Xru{grid-auto-rows:minmax(523px,1fr)}.PromoListing-module_cardGrid__llf73{gap:32px}}
|