@postnord/pn-marketweb-components 2.8.6 → 2.8.9
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/cjs/{index-820d92a8.js → index-2e97451f.js} +1 -1
- package/cjs/{index-6d18c5e9.js → index-b3b6d3c1.js} +4 -2
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-address-autofill.cjs.entry.js +1 -1
- package/cjs/pn-animated-tile.cjs.entry.js +1 -1
- package/cjs/pn-app-banner.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-breakpoints.cjs.entry.js +1 -1
- package/cjs/pn-chart.cjs.entry.js +1 -1
- package/cjs/pn-charts-card.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-cta-block.cjs.entry.js +1 -7
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
- package/cjs/pn-date-and-time.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-price-store-e05a9145.js → pn-find-price-store-dca982f0.js} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +3 -3
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-service-and-price-store-3ffe0634.js → pn-find-service-and-price-store-9b8e28fe.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
- package/cjs/pn-language-selector_9.cjs.entry.js +4 -4
- package/cjs/pn-line-shape.cjs.entry.js +1 -1
- package/cjs/pn-link-list.cjs.entry.js +40 -32
- package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
- package/cjs/{pn-mainnav-store-96e66f69.js → pn-mainnav-store-03d31f7e.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-search.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +3 -3
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +3 -3
- package/cjs/{pn-marketweb-siteheader-store-ccf82b09.js → pn-marketweb-siteheader-store-22b4d42d.js} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
- package/cjs/pn-media-block.cjs.entry.js +1 -1
- package/cjs/pn-multi-formfield.cjs.entry.js +1 -1
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +1 -1
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +1 -1
- package/cjs/pn-multiple-input.cjs.entry.js +1 -1
- package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
- package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
- package/cjs/pn-product-card_3.cjs.entry.js +1 -1
- package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
- package/cjs/pn-product-pricelist.cjs.entry.js +3 -3
- package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
- package/cjs/pn-product-tile.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -3
- package/cjs/{pn-profile-modal-store-14bc937f.js → pn-profile-modal-store-6f83ea6b.js} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +3 -3
- package/cjs/pn-profile-modal.cjs.entry.js +3 -3
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +2 -2
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +1 -1
- package/cjs/pn-quick-cta.cjs.entry.js +1 -1
- package/cjs/pn-quote-card.cjs.entry.js +1 -1
- package/cjs/pn-scroll_2.cjs.entry.js +1 -1
- package/cjs/pn-share-item.cjs.entry.js +1 -1
- package/cjs/pn-share.cjs.entry.js +1 -1
- package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
- package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
- package/cjs/{pn-sidenav-store-d3f7bdfa.js → pn-sidenav-store-846a26c6.js} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +3 -3
- package/cjs/pn-sidenav.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
- package/cjs/pn-spotlight.cjs.entry.js +1 -1
- package/cjs/pn-stats-info-data.cjs.entry.js +1 -1
- package/cjs/pn-stats-info.cjs.entry.js +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js +1 -1
- package/cjs/pn-titletag.cjs.entry.js +1 -1
- package/cjs/pn-usp-promoter.cjs.entry.js +36 -0
- package/collection/collection-manifest.json +2 -1
- package/collection/components/cta/pn-cta-block/pn-cta-block.js +0 -12
- package/collection/components/widgets/pn-link-list/link-list.stories.js +2 -1
- package/collection/components/widgets/pn-link-list/pn-link-list.css +23 -6
- package/collection/components/widgets/pn-link-list/pn-link-list.js +56 -64
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +219 -0
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +166 -0
- package/collection/components/widgets/pn-usp-promoter/usp-promoter.stories.js +183 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/pn-cta-block.js +1 -9
- package/components/pn-link-list.js +42 -36
- package/components/pn-usp-promoter.d.ts +11 -0
- package/components/pn-usp-promoter.js +58 -0
- package/esm/{index-6ee8c83f.js → index-6a2abc18.js} +1 -1
- package/esm/{index-70664d8e.js → index-6e611ed9.js} +4 -2
- package/esm/loader.js +3 -3
- package/esm/pn-address-autofill.entry.js +1 -1
- package/esm/pn-animated-tile.entry.js +1 -1
- package/esm/pn-app-banner.entry.js +1 -1
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-breakpoints.entry.js +1 -1
- package/esm/pn-chart.entry.js +1 -1
- package/esm/pn-charts-card.entry.js +1 -1
- package/esm/pn-choice-button.entry.js +1 -1
- package/esm/pn-cta-block.entry.js +1 -7
- package/esm/pn-customernumber-selector-option.entry.js +1 -1
- package/esm/pn-customernumber-selector.entry.js +1 -1
- package/esm/pn-date-and-time.entry.js +1 -1
- package/esm/pn-dropdown-choice-adds-row.entry.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows.entry.js +1 -1
- package/esm/pn-filter-checkbox.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +3 -3
- package/esm/{pn-find-price-store-0835039f.js → pn-find-price-store-3577991d.js} +1 -1
- package/esm/pn-find-price.entry.js +3 -3
- package/esm/pn-find-service-and-price-result.entry.js +3 -3
- package/esm/{pn-find-service-and-price-store-ce4ca6e6.js → pn-find-service-and-price-store-a49d61f3.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +3 -3
- package/esm/pn-language-selector_9.entry.js +4 -4
- package/esm/pn-line-shape.entry.js +1 -1
- package/esm/pn-link-list.entry.js +40 -32
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/{pn-mainnav-store-054d67c4.js → pn-mainnav-store-3041a893.js} +1 -1
- package/esm/pn-market-web-components.js +3 -3
- package/esm/pn-marketweb-input.entry.js +1 -1
- package/esm/pn-marketweb-search.entry.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js +3 -3
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +3 -3
- package/esm/{pn-marketweb-siteheader-store-de85e557.js → pn-marketweb-siteheader-store-f31ee409.js} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +3 -3
- package/esm/pn-media-block.entry.js +1 -1
- package/esm/pn-multi-formfield.entry.js +1 -1
- package/esm/pn-multi-row-connected-dropdown-row.entry.js +1 -1
- package/esm/pn-multi-row-connected-dropdown.entry.js +1 -1
- package/esm/pn-multiple-input.entry.js +1 -1
- package/esm/pn-parcel-tracker.entry.js +1 -1
- package/esm/pn-pex-pricefinder.entry.js +1 -1
- package/esm/pn-play-on-scroll.entry.js +1 -1
- package/esm/pn-product-card_3.entry.js +1 -1
- package/esm/pn-product-pricelist-result.entry.js +2 -2
- package/esm/pn-product-pricelist.entry.js +3 -3
- package/esm/pn-product-tile-info_2.entry.js +1 -1
- package/esm/pn-product-tile.entry.js +1 -1
- package/esm/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm/pn-profile-modal-profile.entry.js +3 -3
- package/esm/{pn-profile-modal-store-3424856b.js → pn-profile-modal-store-17855bd2.js} +1 -1
- package/esm/pn-profile-modal-type.entry.js +3 -3
- package/esm/pn-profile-modal.entry.js +3 -3
- package/esm/pn-profile-selector-option.entry.js +1 -1
- package/esm/pn-profile-selector.entry.js +1 -1
- package/esm/pn-proxio-findprice-result.entry.js +1 -1
- package/esm/pn-proxio-findprice.entry.js +2 -2
- package/esm/pn-proxio-pricegroup.entry.js +1 -1
- package/esm/pn-proxio-productcard_4.entry.js +1 -1
- package/esm/pn-quick-cta.entry.js +1 -1
- package/esm/pn-quote-card.entry.js +1 -1
- package/esm/pn-scroll_2.entry.js +1 -1
- package/esm/pn-share-item.entry.js +1 -1
- package/esm/pn-share.entry.js +1 -1
- package/esm/pn-sidenav-level.entry.js +3 -3
- package/esm/pn-sidenav-link.entry.js +3 -3
- package/esm/{pn-sidenav-store-e667e8ea.js → pn-sidenav-store-c4d92fd2.js} +1 -1
- package/esm/pn-sidenav-togglebutton.entry.js +3 -3
- package/esm/pn-sidenav.entry.js +3 -3
- package/esm/pn-site-footer_3.entry.js +1 -1
- package/esm/pn-spotlight.entry.js +1 -1
- package/esm/pn-stats-info-data.entry.js +1 -1
- package/esm/pn-stats-info.entry.js +1 -1
- package/esm/pn-teaser-card.entry.js +1 -1
- package/esm/pn-titletag.entry.js +1 -1
- package/esm/pn-usp-promoter.entry.js +32 -0
- package/esm-es5/{index-6ee8c83f.js → index-6a2abc18.js} +1 -1
- package/esm-es5/{index-70664d8e.js → index-6e611ed9.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-address-autofill.entry.js +1 -1
- package/esm-es5/pn-animated-tile.entry.js +1 -1
- package/esm-es5/pn-app-banner.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-breakpoints.entry.js +1 -1
- package/esm-es5/pn-chart.entry.js +1 -1
- package/esm-es5/pn-charts-card.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-cta-block.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector.entry.js +1 -1
- package/esm-es5/pn-date-and-time.entry.js +1 -1
- package/esm-es5/pn-dropdown-choice-adds-row.entry.js +1 -1
- package/esm-es5/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
- package/esm-es5/pn-dropdown-with-multi-input-rows.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-price-store-0835039f.js → pn-find-price-store-3577991d.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-ce4ca6e6.js → pn-find-service-and-price-store-a49d61f3.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-line-shape.entry.js +1 -1
- package/esm-es5/pn-link-list.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-054d67c4.js → pn-mainnav-store-3041a893.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -1
- package/esm-es5/pn-marketweb-search.entry.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-store-f31ee409.js +1 -0
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-media-block.entry.js +1 -1
- package/esm-es5/pn-multi-formfield.entry.js +1 -1
- package/esm-es5/pn-multi-row-connected-dropdown-row.entry.js +1 -1
- package/esm-es5/pn-multi-row-connected-dropdown.entry.js +1 -1
- package/esm-es5/pn-multiple-input.entry.js +1 -1
- package/esm-es5/pn-parcel-tracker.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-play-on-scroll.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
- package/esm-es5/pn-product-tile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/{pn-profile-modal-store-3424856b.js → pn-profile-modal-store-17855bd2.js} +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/pn-profile-modal.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
- package/esm-es5/pn-quick-cta.entry.js +1 -1
- package/esm-es5/pn-quote-card.entry.js +1 -1
- package/esm-es5/pn-scroll_2.entry.js +1 -1
- package/esm-es5/pn-share-item.entry.js +1 -1
- package/esm-es5/pn-share.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-e667e8ea.js → pn-sidenav-store-c4d92fd2.js} +1 -1
- package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_3.entry.js +1 -1
- package/esm-es5/pn-spotlight.entry.js +1 -1
- package/esm-es5/pn-stats-info-data.entry.js +1 -1
- package/esm-es5/pn-stats-info.entry.js +1 -1
- package/esm-es5/pn-teaser-card.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -1
- package/esm-es5/pn-usp-promoter.entry.js +1 -0
- package/package.json +1 -1
- package/pn-market-web-components/{p-e356a2cf.system.entry.js → p-02dba6d3.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3d2ac1f6.system.entry.js → p-03593c2c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7e4b979c.entry.js → p-03981c36.entry.js} +1 -1
- package/pn-market-web-components/{p-e2f1add7.system.js → p-03f5acf3.system.js} +1 -1
- package/pn-market-web-components/{p-3cc00541.entry.js → p-07c04e4a.entry.js} +1 -1
- package/pn-market-web-components/{p-94ce23b4.system.js → p-0cb0317e.system.js} +1 -1
- package/pn-market-web-components/{p-96b7535f.entry.js → p-0ddc464c.entry.js} +1 -1
- package/pn-market-web-components/{p-4ef22c01.system.entry.js → p-16bb93bf.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8bdad77d.system.entry.js → p-16f566e4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8e142421.entry.js → p-17e04222.entry.js} +1 -1
- package/pn-market-web-components/{p-fec6a09c.entry.js → p-1aa2008f.entry.js} +1 -1
- package/pn-market-web-components/{p-b8d4a319.system.entry.js → p-1c43dc8d.system.entry.js} +1 -1
- package/pn-market-web-components/p-1caef6e7.js +1 -0
- package/pn-market-web-components/p-1cd40ab8.js +1 -0
- package/pn-market-web-components/{p-a21e99fa.system.entry.js → p-1cfc9d10.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2bc0fbd6.entry.js → p-1d088d9c.entry.js} +1 -1
- package/pn-market-web-components/{p-6fd874c0.entry.js → p-1d84acae.entry.js} +1 -1
- package/pn-market-web-components/{p-eb702bcd.system.js → p-20f09ba2.system.js} +1 -1
- package/pn-market-web-components/{p-92ebab4a.entry.js → p-21c6ed35.entry.js} +1 -1
- package/pn-market-web-components/{p-6f07da13.entry.js → p-24c54547.entry.js} +1 -1
- package/pn-market-web-components/{p-54ae554a.entry.js → p-250b0083.entry.js} +1 -1
- package/pn-market-web-components/{p-d435617c.system.entry.js → p-2b374219.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3dad0ce4.entry.js → p-2c29062d.entry.js} +1 -1
- package/pn-market-web-components/{p-62603a41.system.entry.js → p-2ea64615.system.entry.js} +1 -1
- package/pn-market-web-components/{p-586991f8.system.entry.js → p-2ed45e96.system.entry.js} +1 -1
- package/pn-market-web-components/{p-85d8ccbd.system.entry.js → p-3076020a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a69bd189.system.entry.js → p-326d13ca.system.entry.js} +1 -1
- package/pn-market-web-components/p-326d57d0.entry.js +1 -0
- package/pn-market-web-components/p-346c3772.system.entry.js +1 -0
- package/pn-market-web-components/{p-d1f90b53.system.entry.js → p-3542525e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8986f45e.system.entry.js → p-376b860e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-20a08e7a.entry.js → p-38b16c1a.entry.js} +1 -1
- package/pn-market-web-components/{p-35a4aa56.entry.js → p-3b5df6ae.entry.js} +1 -1
- package/pn-market-web-components/p-3e6db900.system.entry.js +1 -0
- package/pn-market-web-components/{p-c4ec9a7f.entry.js → p-3f96b45f.entry.js} +1 -1
- package/pn-market-web-components/{p-52c91186.system.entry.js → p-404703bc.system.entry.js} +1 -1
- package/pn-market-web-components/p-40fc893a.js +1 -0
- package/pn-market-web-components/{p-1165f7d0.system.entry.js → p-412669a4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7e3b87bd.entry.js → p-46088d8c.entry.js} +1 -1
- package/pn-market-web-components/{p-b29adc65.system.entry.js → p-4c38b1b5.system.entry.js} +1 -1
- package/pn-market-web-components/p-4c4f7ab0.entry.js +1 -0
- package/pn-market-web-components/{p-abcde0d8.entry.js → p-4e7a470b.entry.js} +1 -1
- package/pn-market-web-components/{p-4a4d1f12.system.entry.js → p-4ee4767f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-bfed70cc.entry.js → p-4f38aeea.entry.js} +1 -1
- package/pn-market-web-components/{p-52df172b.system.entry.js → p-4fe46903.system.entry.js} +1 -1
- package/pn-market-web-components/{p-77db84fd.system.entry.js → p-51fc7a64.system.entry.js} +1 -1
- package/pn-market-web-components/{p-5ee67059.entry.js → p-54dfc74e.entry.js} +1 -1
- package/pn-market-web-components/{p-9dd478d9.js → p-5a55d3ef.js} +1 -1
- package/pn-market-web-components/{p-23357475.system.entry.js → p-5a74b363.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fa4c8587.entry.js → p-5b535af5.entry.js} +1 -1
- package/pn-market-web-components/{p-1a4194d3.system.entry.js → p-5cf6111c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d762d2eb.system.entry.js → p-5d253c27.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4b05a2a7.entry.js → p-6131fdb9.entry.js} +1 -1
- package/pn-market-web-components/{p-2647f023.entry.js → p-613c6df4.entry.js} +1 -1
- package/pn-market-web-components/p-626a68dc.system.js +2 -0
- package/pn-market-web-components/{p-98bafa28.system.entry.js → p-6368e239.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0010aad7.entry.js → p-64df1c4d.entry.js} +1 -1
- package/pn-market-web-components/{p-1dafb003.system.entry.js → p-65e9ed4b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4e9b9584.system.entry.js → p-66775d88.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0ad6efd1.entry.js → p-68e68770.entry.js} +1 -1
- package/pn-market-web-components/{p-54548525.system.entry.js → p-6b98aefa.system.entry.js} +1 -1
- package/pn-market-web-components/{p-28f745d6.system.entry.js → p-6bdbfdf2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b14e29f1.entry.js → p-6c8fbcda.entry.js} +1 -1
- package/pn-market-web-components/{p-19be5eed.system.entry.js → p-6ca7eb0a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1fbdecfb.system.entry.js → p-70f338c2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3f74ef14.js → p-71a0acac.js} +1 -1
- package/pn-market-web-components/{p-225e581e.entry.js → p-72526890.entry.js} +1 -1
- package/pn-market-web-components/{p-7da9b27b.entry.js → p-726f1ba5.entry.js} +1 -1
- package/pn-market-web-components/{p-3a2f44d6.entry.js → p-732d5bf1.entry.js} +1 -1
- package/pn-market-web-components/{p-aaf31bc1.system.entry.js → p-739f296c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fa666ea0.system.entry.js → p-73ac15b9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-caf88cd1.entry.js → p-745eef3e.entry.js} +1 -1
- package/pn-market-web-components/{p-9c22f141.entry.js → p-7480e40c.entry.js} +1 -1
- package/pn-market-web-components/{p-312ca954.entry.js → p-7542a277.entry.js} +1 -1
- package/pn-market-web-components/{p-87f9ac84.system.entry.js → p-7613b490.system.entry.js} +1 -1
- package/pn-market-web-components/{p-38ea83a3.entry.js → p-76563549.entry.js} +1 -1
- package/pn-market-web-components/{p-4e5efb81.system.entry.js → p-78ee80d4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-154e2826.system.entry.js → p-7902d31a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fb84605d.system.js → p-79459743.system.js} +1 -1
- package/pn-market-web-components/{p-984a13ac.system.entry.js → p-7a2d4f1a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-55095fd4.system.entry.js → p-7b7ca449.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e96ed1ba.system.entry.js → p-7cee798b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6bc810e3.entry.js → p-819494d3.entry.js} +1 -1
- package/pn-market-web-components/{p-ba9c3757.system.entry.js → p-81b5430c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9f8c3f1a.system.entry.js → p-894178a2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-05f643e4.system.entry.js → p-8a8fe9b8.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9afa3afc.entry.js → p-8ab74cc4.entry.js} +1 -1
- package/pn-market-web-components/{p-a2b062a1.entry.js → p-8b189558.entry.js} +1 -1
- package/pn-market-web-components/{p-704058ed.entry.js → p-8b471f23.entry.js} +1 -1
- package/pn-market-web-components/{p-f840e5bb.entry.js → p-8c9da166.entry.js} +1 -1
- package/pn-market-web-components/{p-29d60871.entry.js → p-90dafa04.entry.js} +1 -1
- package/pn-market-web-components/{p-bc645d84.entry.js → p-93e3b8cc.entry.js} +1 -1
- package/pn-market-web-components/{p-a0ac3794.entry.js → p-93e4245f.entry.js} +1 -1
- package/pn-market-web-components/{p-f3f44a2c.system.entry.js → p-9508d1b3.system.entry.js} +1 -1
- package/pn-market-web-components/{p-32528f2e.system.entry.js → p-95189aa2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e15b72a3.entry.js → p-962292bf.entry.js} +1 -1
- package/pn-market-web-components/{p-e9884417.entry.js → p-97281fd6.entry.js} +1 -1
- package/pn-market-web-components/{p-7dfd7851.system.entry.js → p-978a7be6.system.entry.js} +1 -1
- package/pn-market-web-components/{p-51e673f9.system.entry.js → p-97a9ce4f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-963f55a9.entry.js → p-991eef67.entry.js} +1 -1
- package/pn-market-web-components/{p-b96dbfea.js → p-9a6ee73f.js} +1 -1
- package/pn-market-web-components/{p-83a8af5a.system.entry.js → p-9b758fa4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-052508de.entry.js → p-9b9b9b56.entry.js} +1 -1
- package/pn-market-web-components/{p-0b071480.entry.js → p-9dc2163c.entry.js} +1 -1
- package/pn-market-web-components/{p-2248b584.system.entry.js → p-9f49664e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-08fa8d4a.system.entry.js → p-a1294675.system.entry.js} +1 -1
- package/pn-market-web-components/{p-14a189d3.system.js → p-a179066e.system.js} +1 -1
- package/pn-market-web-components/{p-a93f2e9d.system.entry.js → p-a19b539f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1d69c613.entry.js → p-a1c5431f.entry.js} +1 -1
- package/pn-market-web-components/{p-d10b8ae0.entry.js → p-a544b937.entry.js} +1 -1
- package/pn-market-web-components/{p-ce2f007f.system.entry.js → p-a57848a9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7c8ad9cc.system.entry.js → p-a5eaa1b6.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ae33ef56.entry.js → p-a69a0544.entry.js} +1 -1
- package/pn-market-web-components/{p-6caaf51b.system.js → p-a990da8b.system.js} +1 -1
- package/pn-market-web-components/{p-4905a61d.entry.js → p-a9e89ca3.entry.js} +1 -1
- package/pn-market-web-components/{p-d287cfdf.system.entry.js → p-aa42b255.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b3871ac2.entry.js → p-abef3453.entry.js} +1 -1
- package/pn-market-web-components/{p-d1eacc9a.entry.js → p-ac275a13.entry.js} +1 -1
- package/pn-market-web-components/{p-04b382ae.system.entry.js → p-ad1f9612.system.entry.js} +1 -1
- package/pn-market-web-components/{p-42cde64b.entry.js → p-b18ce512.entry.js} +1 -1
- package/pn-market-web-components/{p-fe358a44.system.entry.js → p-b1b0f5e9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6ff2c262.system.entry.js → p-b7cdb982.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2dca907e.entry.js → p-bc22cb7b.entry.js} +1 -1
- package/pn-market-web-components/{p-6107c744.js → p-bda66a3c.js} +1 -1
- package/pn-market-web-components/{p-820065a3.entry.js → p-be43040b.entry.js} +1 -1
- package/pn-market-web-components/{p-3a8410c6.entry.js → p-bea9522f.entry.js} +1 -1
- package/pn-market-web-components/{p-85c52e0c.system.entry.js → p-bf85df01.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ef602321.system.entry.js → p-bfee099c.system.entry.js} +1 -1
- package/pn-market-web-components/p-c475abe8.system.js +1 -0
- package/pn-market-web-components/{p-a6cc80f6.entry.js → p-c6171d29.entry.js} +1 -1
- package/pn-market-web-components/{p-55a12ded.system.entry.js → p-c94586e5.system.entry.js} +1 -1
- package/pn-market-web-components/{p-68862e73.entry.js → p-cdf31352.entry.js} +1 -1
- package/pn-market-web-components/{p-260016e2.entry.js → p-ceddef4d.entry.js} +1 -1
- package/pn-market-web-components/{p-874d96b9.system.entry.js → p-d15bca21.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8b42b65a.system.entry.js → p-d3d78acd.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1f2d226e.entry.js → p-d8b3f505.entry.js} +1 -1
- package/pn-market-web-components/{p-af1af661.system.entry.js → p-d9292bd0.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3410b18e.system.entry.js → p-d9d3078b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-97825032.system.js → p-dc25c859.system.js} +1 -1
- package/pn-market-web-components/{p-e0c27b9f.entry.js → p-e0cb8b29.entry.js} +1 -1
- package/pn-market-web-components/{p-7b879f2c.system.entry.js → p-e11eb99c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7c167f65.entry.js → p-e197f20b.entry.js} +1 -1
- package/pn-market-web-components/{p-9a6b3f55.system.entry.js → p-e251b0c2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-c5e35374.entry.js → p-e28fcf9c.entry.js} +1 -1
- package/pn-market-web-components/p-e33a8c98.entry.js +1 -0
- package/pn-market-web-components/{p-812e4d0b.system.entry.js → p-e372332f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1aa1ccd2.entry.js → p-e56093da.entry.js} +1 -1
- package/pn-market-web-components/{p-3ab1bf8b.system.entry.js → p-ee42154f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e97ac85f.js → p-ef137f0d.js} +1 -1
- package/pn-market-web-components/{p-2ac346c8.system.entry.js → p-ef910604.system.entry.js} +1 -1
- package/pn-market-web-components/{p-191edfa8.entry.js → p-f550b051.entry.js} +1 -1
- package/pn-market-web-components/{p-a8cab386.system.entry.js → p-f91eb6a9.system.entry.js} +1 -1
- package/pn-market-web-components/p-f9e862db.entry.js +1 -0
- package/pn-market-web-components/{p-d28011f2.system.entry.js → p-fa4c3121.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ead762ff.entry.js → p-fc27fb49.entry.js} +1 -1
- package/pn-market-web-components/{p-8bba7ba7.entry.js → p-fe877a0f.entry.js} +1 -1
- package/pn-market-web-components/{p-fe8172f7.entry.js → p-ffb197d9.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +1 -1
- package/types/components/cta/pn-cta-block/pn-cta-block.d.ts +0 -3
- package/types/components/widgets/pn-link-list/pn-link-list.d.ts +8 -7
- package/types/components/widgets/pn-usp-promoter/pn-usp-promoter.d.ts +12 -0
- package/types/components.d.ts +29 -0
- package/esm-es5/pn-marketweb-siteheader-store-de85e557.js +0 -1
- package/pn-market-web-components/p-05f99c22.system.entry.js +0 -1
- package/pn-market-web-components/p-17e61235.js +0 -1
- package/pn-market-web-components/p-441c6ecf.entry.js +0 -1
- package/pn-market-web-components/p-53d7aeb5.js +0 -1
- package/pn-market-web-components/p-986ed2b6.system.js +0 -1
- package/pn-market-web-components/p-a9930e79.entry.js +0 -1
- package/pn-market-web-components/p-c98ae4d8.js +0 -1
- package/pn-market-web-components/p-d17fb67d.system.js +0 -2
- package/pn-market-web-components/p-f3dbfe72.entry.js +0 -1
|
@@ -2,46 +2,54 @@ import { Host, h } from "@stencil/core";
|
|
|
2
2
|
export class PnLinkList {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.slider = null;
|
|
5
|
+
this.isDragging = false;
|
|
6
|
+
this.startX = 0;
|
|
7
|
+
this.scrollLeft = 0;
|
|
8
|
+
this.handleMouseDown = (e) => {
|
|
9
|
+
var _a, _b, _c;
|
|
10
|
+
const target = e.target;
|
|
11
|
+
const isContainerClick = target.classList.contains('link-list__container');
|
|
12
|
+
const isLinkClick = target.tagName === 'A';
|
|
13
|
+
if (isContainerClick || isLinkClick) {
|
|
14
|
+
this.isDragging = true;
|
|
15
|
+
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.add('link-list__active');
|
|
16
|
+
this.startX = e.pageX - ((_b = this.slider) === null || _b === void 0 ? void 0 : _b.offsetLeft);
|
|
17
|
+
this.scrollLeft = (_c = this.slider) === null || _c === void 0 ? void 0 : _c.scrollLeft;
|
|
18
|
+
if (isLinkClick) {
|
|
19
|
+
e.preventDefault();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
this.handleMouseLeave = () => {
|
|
24
|
+
var _a;
|
|
25
|
+
this.isDragging = false;
|
|
26
|
+
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.remove('link-list__active');
|
|
27
|
+
};
|
|
28
|
+
this.handleMouseUp = () => {
|
|
29
|
+
var _a;
|
|
30
|
+
this.isDragging = false;
|
|
31
|
+
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.remove('link-list__active');
|
|
32
|
+
};
|
|
33
|
+
this.handleMouseMove = (e) => {
|
|
34
|
+
var _a;
|
|
35
|
+
if (this.isDragging) {
|
|
36
|
+
const x = e.pageX - ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.offsetLeft);
|
|
37
|
+
const move = (x - this.startX) * 2;
|
|
38
|
+
this.slider.scrollLeft = this.scrollLeft - move;
|
|
39
|
+
}
|
|
40
|
+
};
|
|
5
41
|
this.heading = null;
|
|
6
42
|
this.label = null;
|
|
43
|
+
this.preamble = null;
|
|
7
44
|
this.url = null;
|
|
8
45
|
this.showMoreLabel = null;
|
|
9
46
|
this.showMoreUrl = null;
|
|
10
|
-
this.isDown = false;
|
|
11
|
-
this.startX = 0;
|
|
12
|
-
this.scrollLeft = 0;
|
|
13
47
|
}
|
|
14
48
|
componentDidLoad() {
|
|
15
49
|
this.slider = document.querySelector('.link-list__container');
|
|
16
50
|
}
|
|
17
|
-
handleMouseDown(e) {
|
|
18
|
-
var _a, _b, _c;
|
|
19
|
-
this.isDown = true;
|
|
20
|
-
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.add('link-list__active');
|
|
21
|
-
this.startX = e.pageX - ((_b = this.slider) === null || _b === void 0 ? void 0 : _b.offsetLeft);
|
|
22
|
-
this.scrollLeft = (_c = this.slider) === null || _c === void 0 ? void 0 : _c.scrollLeft;
|
|
23
|
-
}
|
|
24
|
-
handleMouseLeave() {
|
|
25
|
-
var _a;
|
|
26
|
-
this.isDown = false;
|
|
27
|
-
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.remove('link-list__active');
|
|
28
|
-
}
|
|
29
|
-
handleMouseUp() {
|
|
30
|
-
var _a;
|
|
31
|
-
this.isDown = false;
|
|
32
|
-
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.remove('link-list__active');
|
|
33
|
-
}
|
|
34
|
-
handleMouseMove(e) {
|
|
35
|
-
var _a;
|
|
36
|
-
if (!this.isDown)
|
|
37
|
-
return;
|
|
38
|
-
e.preventDefault();
|
|
39
|
-
const x = e.pageX - ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.offsetLeft);
|
|
40
|
-
const move = (x - this.startX) * 2;
|
|
41
|
-
this.slider.scrollLeft = this.scrollLeft - move;
|
|
42
|
-
}
|
|
43
51
|
render() {
|
|
44
|
-
return (h(Host, null, h("div", { class: "link-
|
|
52
|
+
return (h(Host, null, h("div", { class: "link-list__header" }, h("h2", { class: "link-list__heading" }, this.heading), h("p", { class: "link-list__preamble" }, this.preamble)), h("div", { class: "link-list" }, h("div", { class: "link-list__container", onMouseDown: this.handleMouseDown, onMouseUp: this.handleMouseUp, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove }, h("div", { class: "link-list__scrollable" }, h("slot", { name: "linklist" })))), this.showMoreUrl ? h("div", { class: "link-list__button" }, h("pn-button", { appearance: "light", href: this.showMoreUrl }, this.showMoreLabel), " ") : ""));
|
|
45
53
|
}
|
|
46
54
|
static get is() { return "pn-link-list"; }
|
|
47
55
|
static get originalStyleUrls() {
|
|
@@ -92,6 +100,24 @@ export class PnLinkList {
|
|
|
92
100
|
"reflect": false,
|
|
93
101
|
"defaultValue": "null"
|
|
94
102
|
},
|
|
103
|
+
"preamble": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"mutable": false,
|
|
106
|
+
"complexType": {
|
|
107
|
+
"original": "string",
|
|
108
|
+
"resolved": "string",
|
|
109
|
+
"references": {}
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"optional": false,
|
|
113
|
+
"docs": {
|
|
114
|
+
"tags": [],
|
|
115
|
+
"text": ""
|
|
116
|
+
},
|
|
117
|
+
"attribute": "preamble",
|
|
118
|
+
"reflect": false,
|
|
119
|
+
"defaultValue": "null"
|
|
120
|
+
},
|
|
95
121
|
"url": {
|
|
96
122
|
"type": "string",
|
|
97
123
|
"mutable": false,
|
|
@@ -148,38 +174,4 @@ export class PnLinkList {
|
|
|
148
174
|
}
|
|
149
175
|
};
|
|
150
176
|
}
|
|
151
|
-
static get states() {
|
|
152
|
-
return {
|
|
153
|
-
"isDown": {},
|
|
154
|
-
"startX": {},
|
|
155
|
-
"scrollLeft": {}
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
static get listeners() {
|
|
159
|
-
return [{
|
|
160
|
-
"name": "mousedown",
|
|
161
|
-
"method": "handleMouseDown",
|
|
162
|
-
"target": "document",
|
|
163
|
-
"capture": false,
|
|
164
|
-
"passive": true
|
|
165
|
-
}, {
|
|
166
|
-
"name": "mouseleave",
|
|
167
|
-
"method": "handleMouseLeave",
|
|
168
|
-
"target": "document",
|
|
169
|
-
"capture": false,
|
|
170
|
-
"passive": true
|
|
171
|
-
}, {
|
|
172
|
-
"name": "mouseup",
|
|
173
|
-
"method": "handleMouseUp",
|
|
174
|
-
"target": "document",
|
|
175
|
-
"capture": false,
|
|
176
|
-
"passive": true
|
|
177
|
-
}, {
|
|
178
|
-
"name": "mousemove",
|
|
179
|
-
"method": "handleMouseMove",
|
|
180
|
-
"target": "document",
|
|
181
|
-
"capture": false,
|
|
182
|
-
"passive": true
|
|
183
|
-
}];
|
|
184
|
-
}
|
|
185
177
|
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
pn-usp-promoter {
|
|
2
|
+
width: 80%;
|
|
3
|
+
}
|
|
4
|
+
pn-usp-promoter .usp-promoter {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
padding: 3rem 0.8rem;
|
|
8
|
+
}
|
|
9
|
+
pn-usp-promoter .usp-promoter--full-width {
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
margin: 0 calc(-50vw + 50%);
|
|
12
|
+
}
|
|
13
|
+
@media screen and (min-width: 768px) {
|
|
14
|
+
pn-usp-promoter .usp-promoter--full-width {
|
|
15
|
+
padding: 8rem 4rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
pn-usp-promoter .usp-promoter__content {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: row;
|
|
21
|
+
}
|
|
22
|
+
@media screen and (min-width: 768px) {
|
|
23
|
+
pn-usp-promoter .usp-promoter__content {
|
|
24
|
+
align-items: center;
|
|
25
|
+
text-align: left;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
pn-usp-promoter .usp-promoter__content-wrapper {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
@media screen and (min-width: 768px) {
|
|
34
|
+
pn-usp-promoter .usp-promoter__content-wrapper {
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
padding-left: 4rem;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
pn-usp-promoter .usp-promoter__content-heading {
|
|
40
|
+
margin-bottom: 0.8rem;
|
|
41
|
+
}
|
|
42
|
+
@media screen and (min-width: 768px) {
|
|
43
|
+
pn-usp-promoter .usp-promoter__content-heading {
|
|
44
|
+
font-size: 4.2rem;
|
|
45
|
+
max-width: 45rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@media screen and (min-width: 1140px) {
|
|
49
|
+
pn-usp-promoter .usp-promoter__content-heading {
|
|
50
|
+
font-size: 4.8rem;
|
|
51
|
+
max-width: 50rem;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
@media screen and (min-width: 1440px) {
|
|
55
|
+
pn-usp-promoter .usp-promoter__content-heading {
|
|
56
|
+
font-size: 5.6rem;
|
|
57
|
+
max-width: 58rem;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
pn-usp-promoter .usp-promoter__content-text {
|
|
61
|
+
font-size: 1.6rem;
|
|
62
|
+
max-width: 47rem;
|
|
63
|
+
margin-bottom: 2.6rem;
|
|
64
|
+
}
|
|
65
|
+
@media screen and (min-width: 1140px) {
|
|
66
|
+
pn-usp-promoter .usp-promoter__content-text {
|
|
67
|
+
font-size: 1.8rem;
|
|
68
|
+
max-width: 60rem;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
@media screen and (min-width: 1440px) {
|
|
72
|
+
pn-usp-promoter .usp-promoter__content-text {
|
|
73
|
+
font-size: 2rem;
|
|
74
|
+
max-width: 70rem;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
pn-usp-promoter [slot=app-store] {
|
|
78
|
+
display: flex;
|
|
79
|
+
align-items: flex-start;
|
|
80
|
+
margin-bottom: 2.6rem;
|
|
81
|
+
gap: 1rem;
|
|
82
|
+
}
|
|
83
|
+
pn-usp-promoter [slot=app-store] > a {
|
|
84
|
+
background-color: black;
|
|
85
|
+
border: 0.1rem solid #A6A6A6;
|
|
86
|
+
border-radius: 0.8rem;
|
|
87
|
+
color: #FFF;
|
|
88
|
+
display: inline-block;
|
|
89
|
+
line-height: 0;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
transition: background-color 0.2s ease-in-out;
|
|
92
|
+
}
|
|
93
|
+
pn-usp-promoter [slot=app-store] > a::after {
|
|
94
|
+
margin-left: 0 !important;
|
|
95
|
+
margin-right: 0.5rem;
|
|
96
|
+
top: 0.2rem;
|
|
97
|
+
position: relative;
|
|
98
|
+
}
|
|
99
|
+
pn-usp-promoter [slot=app-store] > a:hover {
|
|
100
|
+
background-color: #0D234B;
|
|
101
|
+
}
|
|
102
|
+
pn-usp-promoter [slot=app-store] > a:focus {
|
|
103
|
+
background-color: #0D234B;
|
|
104
|
+
box-shadow: 0 0 0 0.2rem #fff, 0 0 0 0.4rem #0D234B;
|
|
105
|
+
}
|
|
106
|
+
pn-usp-promoter [slot=app-store] > a:focus-visible {
|
|
107
|
+
outline: none;
|
|
108
|
+
}
|
|
109
|
+
pn-usp-promoter [slot=usp-buttons] pn-button {
|
|
110
|
+
margin-bottom: 1.6rem;
|
|
111
|
+
}
|
|
112
|
+
pn-usp-promoter [slot=usp-buttons] > a {
|
|
113
|
+
color: #005D92;
|
|
114
|
+
font-weight: 500;
|
|
115
|
+
font-size: 1.6rem;
|
|
116
|
+
padding: 0.1rem;
|
|
117
|
+
text-decoration: none;
|
|
118
|
+
}
|
|
119
|
+
pn-usp-promoter [slot=usp-buttons] > a pn-icon svg {
|
|
120
|
+
transition: transform 0.3s ease-in-out;
|
|
121
|
+
}
|
|
122
|
+
pn-usp-promoter [slot=usp-buttons] > a pn-icon svg path {
|
|
123
|
+
fill: #005D92;
|
|
124
|
+
}
|
|
125
|
+
pn-usp-promoter [slot=usp-buttons] > a:hover pn-icon svg {
|
|
126
|
+
transition: transform 0.3s ease-in-out;
|
|
127
|
+
transform: translateX(0.3rem);
|
|
128
|
+
}
|
|
129
|
+
pn-usp-promoter [slot=usp-buttons] > a:hover pn-icon svg path {
|
|
130
|
+
fill: #005D92;
|
|
131
|
+
}
|
|
132
|
+
pn-usp-promoter [slot=app-store],
|
|
133
|
+
pn-usp-promoter [slot=usp-buttons] {
|
|
134
|
+
flex-direction: column;
|
|
135
|
+
}
|
|
136
|
+
@media screen and (min-width: 768px) {
|
|
137
|
+
pn-usp-promoter [slot=app-store],
|
|
138
|
+
pn-usp-promoter [slot=usp-buttons] {
|
|
139
|
+
display: flex;
|
|
140
|
+
flex-direction: row;
|
|
141
|
+
gap: 1.6rem;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
pn-usp-promoter [slot=illustration] {
|
|
145
|
+
max-width: 25%;
|
|
146
|
+
position: relative;
|
|
147
|
+
left: -1.6rem;
|
|
148
|
+
}
|
|
149
|
+
pn-usp-promoter [slot=illustration] pn-scroll {
|
|
150
|
+
position: sticky;
|
|
151
|
+
top: 0;
|
|
152
|
+
}
|
|
153
|
+
@media screen and (min-width: 768px) {
|
|
154
|
+
pn-usp-promoter [slot=illustration] {
|
|
155
|
+
display: block;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
pn-usp-promoter [slot=illustration] picture img {
|
|
159
|
+
max-width: 100%;
|
|
160
|
+
}
|
|
161
|
+
@media screen and (min-width: 1140px) {
|
|
162
|
+
pn-usp-promoter [slot=illustration] picture img {
|
|
163
|
+
width: 32rem;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
@media screen and (min-width: 1440px) {
|
|
167
|
+
pn-usp-promoter [slot=illustration] picture img {
|
|
168
|
+
width: 33.6rem;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
pn-usp-promoter .usp-promoter__heading-extension {
|
|
172
|
+
display: flex;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
}
|
|
175
|
+
pn-usp-promoter .usp-promoter--right-align .usp-promoter__content {
|
|
176
|
+
flex-direction: row-reverse;
|
|
177
|
+
text-align: right;
|
|
178
|
+
}
|
|
179
|
+
@media screen and (min-width: 768px) {
|
|
180
|
+
pn-usp-promoter .usp-promoter--right-align .usp-promoter__content {
|
|
181
|
+
align-items: center;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
pn-usp-promoter .usp-promoter--right-align .usp-promoter__content-wrapper {
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-direction: column;
|
|
187
|
+
align-items: flex-end;
|
|
188
|
+
padding-left: 0;
|
|
189
|
+
}
|
|
190
|
+
@media screen and (min-width: 768px) {
|
|
191
|
+
pn-usp-promoter .usp-promoter--right-align .usp-promoter__content-wrapper {
|
|
192
|
+
padding-right: 4rem;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
pn-usp-promoter .usp-promoter--right-align [slot=app-store],
|
|
196
|
+
pn-usp-promoter .usp-promoter--right-align [slot=usp-buttons] {
|
|
197
|
+
align-items: flex-end;
|
|
198
|
+
}
|
|
199
|
+
pn-usp-promoter .usp-promoter--right-align [slot=illustration] {
|
|
200
|
+
left: 1.6rem;
|
|
201
|
+
}
|
|
202
|
+
@media screen and (max-width: 768px) {
|
|
203
|
+
pn-usp-promoter .usp-promoter--hide-image-small-screen [slot=illustration] picture img {
|
|
204
|
+
display: none;
|
|
205
|
+
}
|
|
206
|
+
pn-usp-promoter .usp-promoter--hide-image-small-screen .usp-promoter__content {
|
|
207
|
+
text-align: center;
|
|
208
|
+
}
|
|
209
|
+
pn-usp-promoter .usp-promoter--hide-image-small-screen .usp-promoter__content-wrapper {
|
|
210
|
+
align-items: center;
|
|
211
|
+
padding-right: 0;
|
|
212
|
+
}
|
|
213
|
+
pn-usp-promoter .usp-promoter--hide-image-small-screen [slot=app-store],
|
|
214
|
+
pn-usp-promoter .usp-promoter--hide-image-small-screen [slot=usp-buttons] {
|
|
215
|
+
display: flex;
|
|
216
|
+
flex-direction: row;
|
|
217
|
+
justify-content: center;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class PnUspPromoter {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.heading = null;
|
|
5
|
+
this.headingExtension = null;
|
|
6
|
+
this.bodyText = null;
|
|
7
|
+
this.backgroundGradient = null;
|
|
8
|
+
this.fullWidth = false;
|
|
9
|
+
this.rightAlign = false;
|
|
10
|
+
this.hideMobileImage = false;
|
|
11
|
+
}
|
|
12
|
+
centerMobileContent() {
|
|
13
|
+
const slot = this.hostElement.querySelector('[slot="illustration"]');
|
|
14
|
+
if (this.hideMobileImage || slot == null) {
|
|
15
|
+
return "usp-promoter--hide-image-small-screen";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const isFullWidth = this.fullWidth ? "usp-promoter--full-width" : "";
|
|
20
|
+
const isRightAlign = this.rightAlign ? "usp-promoter--right-align" : "";
|
|
21
|
+
const hasHeadingExtension = this.headingExtension ? "usp-promoter__heading-extension" : "";
|
|
22
|
+
return (h(Host, null, h("div", { class: `usp-promoter ${isFullWidth} ${isRightAlign} ${this.centerMobileContent()}`, style: { 'background': `${this.backgroundGradient}` } }, h("div", { class: "usp-promoter__content" }, h("slot", { name: "illustration" }), h("div", { class: "usp-promoter__content-wrapper" }, h("h2", { class: `usp-promoter__content-heading ${hasHeadingExtension}` }, h("span", null, this.heading), (this.headingExtension) ? h("span", null, this.headingExtension) : null), h("p", { class: "usp-promoter__content-text" }, this.bodyText), h("slot", { name: "app-store" }), h("slot", { name: "usp-buttons" }))))));
|
|
23
|
+
}
|
|
24
|
+
static get is() { return "pn-usp-promoter"; }
|
|
25
|
+
static get originalStyleUrls() {
|
|
26
|
+
return {
|
|
27
|
+
"$": ["pn-usp-promoter.scss"]
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
static get styleUrls() {
|
|
31
|
+
return {
|
|
32
|
+
"$": ["pn-usp-promoter.css"]
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
static get properties() {
|
|
36
|
+
return {
|
|
37
|
+
"heading": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"mutable": false,
|
|
40
|
+
"complexType": {
|
|
41
|
+
"original": "string",
|
|
42
|
+
"resolved": "string",
|
|
43
|
+
"references": {}
|
|
44
|
+
},
|
|
45
|
+
"required": false,
|
|
46
|
+
"optional": false,
|
|
47
|
+
"docs": {
|
|
48
|
+
"tags": [],
|
|
49
|
+
"text": ""
|
|
50
|
+
},
|
|
51
|
+
"attribute": "heading",
|
|
52
|
+
"reflect": false,
|
|
53
|
+
"defaultValue": "null"
|
|
54
|
+
},
|
|
55
|
+
"headingExtension": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "string",
|
|
60
|
+
"resolved": "string",
|
|
61
|
+
"references": {}
|
|
62
|
+
},
|
|
63
|
+
"required": false,
|
|
64
|
+
"optional": false,
|
|
65
|
+
"docs": {
|
|
66
|
+
"tags": [],
|
|
67
|
+
"text": ""
|
|
68
|
+
},
|
|
69
|
+
"attribute": "heading-extension",
|
|
70
|
+
"reflect": false,
|
|
71
|
+
"defaultValue": "null"
|
|
72
|
+
},
|
|
73
|
+
"bodyText": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "string",
|
|
78
|
+
"resolved": "string",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": false,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": ""
|
|
86
|
+
},
|
|
87
|
+
"attribute": "body-text",
|
|
88
|
+
"reflect": false,
|
|
89
|
+
"defaultValue": "null"
|
|
90
|
+
},
|
|
91
|
+
"backgroundGradient": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "string",
|
|
96
|
+
"resolved": "string",
|
|
97
|
+
"references": {}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": false,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": ""
|
|
104
|
+
},
|
|
105
|
+
"attribute": "background-gradient",
|
|
106
|
+
"reflect": false,
|
|
107
|
+
"defaultValue": "null"
|
|
108
|
+
},
|
|
109
|
+
"fullWidth": {
|
|
110
|
+
"type": "boolean",
|
|
111
|
+
"mutable": false,
|
|
112
|
+
"complexType": {
|
|
113
|
+
"original": "boolean",
|
|
114
|
+
"resolved": "boolean",
|
|
115
|
+
"references": {}
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"optional": false,
|
|
119
|
+
"docs": {
|
|
120
|
+
"tags": [],
|
|
121
|
+
"text": ""
|
|
122
|
+
},
|
|
123
|
+
"attribute": "full-width",
|
|
124
|
+
"reflect": false,
|
|
125
|
+
"defaultValue": "false"
|
|
126
|
+
},
|
|
127
|
+
"rightAlign": {
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"mutable": false,
|
|
130
|
+
"complexType": {
|
|
131
|
+
"original": "boolean",
|
|
132
|
+
"resolved": "boolean",
|
|
133
|
+
"references": {}
|
|
134
|
+
},
|
|
135
|
+
"required": false,
|
|
136
|
+
"optional": false,
|
|
137
|
+
"docs": {
|
|
138
|
+
"tags": [],
|
|
139
|
+
"text": ""
|
|
140
|
+
},
|
|
141
|
+
"attribute": "right-align",
|
|
142
|
+
"reflect": false,
|
|
143
|
+
"defaultValue": "false"
|
|
144
|
+
},
|
|
145
|
+
"hideMobileImage": {
|
|
146
|
+
"type": "boolean",
|
|
147
|
+
"mutable": false,
|
|
148
|
+
"complexType": {
|
|
149
|
+
"original": "boolean",
|
|
150
|
+
"resolved": "boolean",
|
|
151
|
+
"references": {}
|
|
152
|
+
},
|
|
153
|
+
"required": false,
|
|
154
|
+
"optional": false,
|
|
155
|
+
"docs": {
|
|
156
|
+
"tags": [],
|
|
157
|
+
"text": ""
|
|
158
|
+
},
|
|
159
|
+
"attribute": "hide-mobile-image",
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"defaultValue": "false"
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
static get elementRef() { return "hostElement"; }
|
|
166
|
+
}
|