@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
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import readme from "./readme.md";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: "widgets/Usp Promoter",
|
|
5
|
+
parameters: {
|
|
6
|
+
notes: readme
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const Template = ({ ...args }) => {
|
|
11
|
+
return `
|
|
12
|
+
<pn-breakpoints break-point-class="dotcom"></pn-breakpoints>
|
|
13
|
+
<pn-usp-promoter
|
|
14
|
+
heading="${args.heading}"
|
|
15
|
+
heading-extension="${args.headingExtension}"
|
|
16
|
+
body-text="${args.bodyText}"
|
|
17
|
+
background-gradient="${args.backgroundGradient}"
|
|
18
|
+
full-width="${args.fullWidth}"
|
|
19
|
+
right-align="${args.rightAlign}"
|
|
20
|
+
hide-mobile-image="${args.hideMobileImage}">
|
|
21
|
+
<div slot="app-store">
|
|
22
|
+
<a href="http://www.apple.com">
|
|
23
|
+
<img src="https://se-integration.postnord.com/globalassets/images/other/appstore-transparent.svg">
|
|
24
|
+
</a>
|
|
25
|
+
<a href="http://www.google.com">
|
|
26
|
+
<img src="https://se-integration.postnord.com/globalassets/images/other/googleplay-transparent.svg">
|
|
27
|
+
</a>
|
|
28
|
+
</div>
|
|
29
|
+
<div slot="usp-buttons">
|
|
30
|
+
<pn-button href=${args.buttonUrl}>${args.buttonLabel} <pn-icon symbol="arrow-right"></pn-icon></pn-button>
|
|
31
|
+
</div>
|
|
32
|
+
<div slot="illustration">
|
|
33
|
+
<pn-scroll>
|
|
34
|
+
<div slot="scroll-affected">
|
|
35
|
+
<picture>
|
|
36
|
+
<img src="https://se-preproduction.postnord.com/globalassets/illustrations/mobilephone.png" />
|
|
37
|
+
</picture>
|
|
38
|
+
</div>
|
|
39
|
+
</pn-scroll>
|
|
40
|
+
</div>
|
|
41
|
+
<pn-scroll>
|
|
42
|
+
<div slot="scroll-affected">
|
|
43
|
+
<picture>
|
|
44
|
+
<img src="https://se-preproduction.postnord.com/globalassets/illustrations/mobilephone.png" />
|
|
45
|
+
</picture>
|
|
46
|
+
</div>
|
|
47
|
+
</pn-scroll>
|
|
48
|
+
</div>
|
|
49
|
+
</pn-usp-promoter>
|
|
50
|
+
`;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const Primary = Template.bind({});
|
|
54
|
+
Primary.args = {
|
|
55
|
+
heading: "Track your PostNord",
|
|
56
|
+
headingExtension: "parcels automatically",
|
|
57
|
+
bodyText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sed sapien ornare, dictum massa eu, tristique quam. Suspendisse imperdiet a ipsum dictum laoreet. Praesent bibendum tincidunt sem sit amet pulvinar. Phasellus egestas orci non metus viverra malesuada. Nulla facilisi. Nulla et justo faucibus, sodales metus ",
|
|
58
|
+
buttonLabel: "See all about the app",
|
|
59
|
+
buttonUrl: "http://www.google.se",
|
|
60
|
+
backgroundGradient: "linear-gradient(90deg, #FFF 47.46%, #EFFBFF 70.86%)",
|
|
61
|
+
fullWidth: true,
|
|
62
|
+
rightAlign: true,
|
|
63
|
+
hideMobileImage: false,
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const WithImageTemplate = ({ ...args }) => {
|
|
67
|
+
return `
|
|
68
|
+
<pn-usp-promoter
|
|
69
|
+
heading="${args.heading}"
|
|
70
|
+
heading-extension="${args.headingExtension}"
|
|
71
|
+
body-text="${args.bodyText}"
|
|
72
|
+
background-gradient="${args.backgroundGradient}"
|
|
73
|
+
full-width="${args.fullWidth}"
|
|
74
|
+
right-align="${args.rightAlign}"
|
|
75
|
+
hide-mobile-image="${args.hideMobileImage}">
|
|
76
|
+
<div slot="app-store">
|
|
77
|
+
<a href="http://www.apple.com">
|
|
78
|
+
<img src="https://se-integration.postnord.com/globalassets/images/other/appstore-transparent.svg">
|
|
79
|
+
</a>
|
|
80
|
+
<a href="http://www.google.com">
|
|
81
|
+
<img src="https://se-integration.postnord.com/globalassets/images/other/googleplay-transparent.svg">
|
|
82
|
+
</a>
|
|
83
|
+
</div>
|
|
84
|
+
<div slot="usp-buttons">
|
|
85
|
+
<pn-button href=${args.buttonUrl}>${args.buttonLabel} <pn-icon symbol="arrow-right"></pn-icon></pn-button>
|
|
86
|
+
</div>
|
|
87
|
+
<div slot="illustration">
|
|
88
|
+
<pn-scroll>
|
|
89
|
+
<div slot="scroll-affected">
|
|
90
|
+
<picture>
|
|
91
|
+
<img src="https://se-preproduction.postnord.com/globalassets/illustrations/mobilephone.png" />
|
|
92
|
+
</picture>
|
|
93
|
+
</div>
|
|
94
|
+
</pn-scroll>
|
|
95
|
+
</div>
|
|
96
|
+
<pn-scroll>
|
|
97
|
+
<div slot="scroll-affected">
|
|
98
|
+
<picture>
|
|
99
|
+
<img src="https://se-preproduction.postnord.com/globalassets/illustrations/mobilephone.png" />
|
|
100
|
+
</picture>
|
|
101
|
+
</div>
|
|
102
|
+
</pn-scroll>
|
|
103
|
+
</div>
|
|
104
|
+
</pn-usp-promoter>
|
|
105
|
+
`;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export const WithImage = WithImageTemplate.bind({});
|
|
109
|
+
WithImage.args = {
|
|
110
|
+
heading: "Track your PostNord",
|
|
111
|
+
headingExtension: "parcels automatically",
|
|
112
|
+
bodyText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sed sapien ornare, dictum massa eu, tristique quam. Suspendisse imperdiet a ipsum dictum laoreet. Praesent bibendum tincidunt sem sit amet pulvinar. Phasellus egestas orci non metus viverra malesuada. Nulla facilisi. Nulla et justo faucibus, sodales metus ",
|
|
113
|
+
buttonLabel: "See all about the app",
|
|
114
|
+
buttonUrl: "http://www.google.se",
|
|
115
|
+
backgroundGradient: "linear-gradient(90deg, #FFF 47.46%, #EFFBFF 70.86%)",
|
|
116
|
+
fullWidth: true,
|
|
117
|
+
rightAlign: true,
|
|
118
|
+
hideMobileImage: false,
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const NoImageTemplate = ({ ...args }) => {
|
|
122
|
+
return `
|
|
123
|
+
<pn-usp-promoter
|
|
124
|
+
heading="${args.heading}"
|
|
125
|
+
heading-extension="${args.headingExtension}"
|
|
126
|
+
body-text="${args.bodyText}"
|
|
127
|
+
background-gradient="${args.backgroundGradient}"
|
|
128
|
+
full-width="${args.fullWidth}"
|
|
129
|
+
right-align="${args.rightAlign}"
|
|
130
|
+
hide-mobile-image="${args.hideMobileImage}">
|
|
131
|
+
<div slot="app-store">
|
|
132
|
+
<a href="http://www.apple.com">
|
|
133
|
+
<img src="https://se-integration.postnord.com/globalassets/images/other/appstore-transparent.svg">
|
|
134
|
+
</a>
|
|
135
|
+
<a href="http://www.google.com">
|
|
136
|
+
<img src="https://se-integration.postnord.com/globalassets/images/other/googleplay-transparent.svg">
|
|
137
|
+
</a>
|
|
138
|
+
</div>
|
|
139
|
+
<div slot="usp-buttons">
|
|
140
|
+
<a href=${args.buttonUrl}>${args.buttonLabel} <pn-icon symbol="arrow-right"> </pn-icon></a>
|
|
141
|
+
</div>
|
|
142
|
+
<pn-scroll>
|
|
143
|
+
<div slot="scroll-affected">
|
|
144
|
+
<picture>
|
|
145
|
+
<img src="https://se-preproduction.postnord.com/globalassets/illustrations/mobilephone.png" />
|
|
146
|
+
</picture>
|
|
147
|
+
</div>
|
|
148
|
+
</pn-scroll>
|
|
149
|
+
</div>
|
|
150
|
+
</pn-usp-promoter>
|
|
151
|
+
`;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export const NoImage = NoImageTemplate.bind({});
|
|
155
|
+
NoImage.args = {
|
|
156
|
+
heading: "Track your PostNord",
|
|
157
|
+
headingExtension: "parcels automatically",
|
|
158
|
+
bodyText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sed sapien ornare, dictum massa eu, tristique quam. Suspendisse imperdiet a ipsum dictum laoreet. Praesent bibendum tincidunt sem sit amet pulvinar. Phasellus egestas orci non metus viverra malesuada. Nulla facilisi. Nulla et justo faucibus, sodales metus ",
|
|
159
|
+
buttonLabel: "See all about the app",
|
|
160
|
+
buttonUrl: "http://www.google.se",
|
|
161
|
+
backgroundGradient: "linear-gradient(90deg, #FFF 47.46%, #EFFBFF 70.86%)",
|
|
162
|
+
fullWidth: true,
|
|
163
|
+
rightAlign: true,
|
|
164
|
+
hideMobileImage: false,
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
const MissingProperties = ({...args}) => {
|
|
168
|
+
return `
|
|
169
|
+
<pn-usp-promoter>
|
|
170
|
+
</pn-usp-promoter>
|
|
171
|
+
`;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export const Empty = MissingProperties.bind({});
|
|
175
|
+
Empty.args = {
|
|
176
|
+
heading: "Track your PostNord",
|
|
177
|
+
headingExtension: "parcels automatically",
|
|
178
|
+
bodyText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sed sapien ornare, dictum massa eu, tristique quam. Suspendisse imperdiet a ipsum dictum laoreet. Praesent bibendum tincidunt sem sit amet pulvinar. Phasellus egestas orci non metus viverra malesuada. Nulla facilisi. Nulla et justo faucibus, sodales metus ",
|
|
179
|
+
buttonLabel: "See all about the app",
|
|
180
|
+
buttonUrl: "http://www.google.se",
|
|
181
|
+
backgroundGradient: "linear-gradient(90deg, #FFF 47.46%, #EFFBFF 70.86%)",
|
|
182
|
+
fullWidth: true,
|
|
183
|
+
};
|
package/components/index.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export { PnStatsInfoData as PnStatsInfoData } from '../types/components/data-vis
|
|
|
88
88
|
export { PnSwan as PnSwan } from '../types/components/minor/pn-swan/pn-swan';
|
|
89
89
|
export { PnTeaserCard as PnTeaserCard } from '../types/components/cards/pn-teaser-card/pn-teaser-card';
|
|
90
90
|
export { PnTiletag as PnTitletag } from '../types/components/minor/pn-titletag/pn-titletag';
|
|
91
|
+
export { PnUspPromoter as PnUspPromoter } from '../types/components/widgets/pn-usp-promoter/pn-usp-promoter';
|
|
91
92
|
export { PnVideoOverlay as PnVideoOverlay } from '../types/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay';
|
|
92
93
|
|
|
93
94
|
/**
|
package/components/index.js
CHANGED
|
@@ -88,4 +88,5 @@ export { PnStatsInfoData, defineCustomElement as defineCustomElementPnStatsInfoD
|
|
|
88
88
|
export { PnSwan, defineCustomElement as defineCustomElementPnSwan } from './pn-swan.js';
|
|
89
89
|
export { PnTeaserCard, defineCustomElement as defineCustomElementPnTeaserCard } from './pn-teaser-card.js';
|
|
90
90
|
export { PnTitletag, defineCustomElement as defineCustomElementPnTitletag } from './pn-titletag.js';
|
|
91
|
+
export { PnUspPromoter, defineCustomElement as defineCustomElementPnUspPromoter } from './pn-usp-promoter.js';
|
|
91
92
|
export { PnVideoOverlay, defineCustomElement as defineCustomElementPnVideoOverlay } from './pn-video-overlay.js';
|
|
@@ -13,12 +13,6 @@ const PnCtaBlock$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
13
13
|
this.isCentered = false;
|
|
14
14
|
this.isSmall = false;
|
|
15
15
|
this.contentTop = false;
|
|
16
|
-
this.hasIllustrationSlot = true;
|
|
17
|
-
this.hasButtonSlot = true;
|
|
18
|
-
}
|
|
19
|
-
componentWillLoad() {
|
|
20
|
-
this.hasIllustrationSlot = !!this.hostElement.querySelector('[slot="illustration"]');
|
|
21
|
-
this.hasButtonSlot = !!this.hostElement.querySelector('[slot="cta-button"]');
|
|
22
16
|
}
|
|
23
17
|
render() {
|
|
24
18
|
return (h(Host, null, h("div", { "pn-background-color": this.pnBackgroundColor, class: `cta-block ${this.isLarge ? 'cta-block--large' : ''} ${this.isCentered ? 'cta-block--center' : ''} ${(this.isSmall ? 'cta-block--small' : '')} ${this.contentTop ? 'cta-block--content-top' : ''}` }, h("div", { class: "cta-block__image-wrapper" }, h("slot", { name: "illustration" })), h("div", { class: "cta-block__content" }, h("h2", { class: "cta-block__heading" }, this.heading), h("p", { class: "cta-block__text" }, this.bodyText)), h("div", { class: "cta-block__action" }, h("slot", { name: "cta-button" })))));
|
|
@@ -32,9 +26,7 @@ const PnCtaBlock$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
32
26
|
"isLarge": [4, "is-large"],
|
|
33
27
|
"isCentered": [4, "is-centered"],
|
|
34
28
|
"isSmall": [4, "is-small"],
|
|
35
|
-
"contentTop": [4, "content-top"]
|
|
36
|
-
"hasIllustrationSlot": [32],
|
|
37
|
-
"hasButtonSlot": [32]
|
|
29
|
+
"contentTop": [4, "content-top"]
|
|
38
30
|
}]);
|
|
39
31
|
function defineCustomElement$1() {
|
|
40
32
|
if (typeof customElements === "undefined") {
|
|
@@ -1,64 +1,70 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const pnLinkListCss = "pn-link-list .link-
|
|
3
|
+
const pnLinkListCss = "pn-link-list .link-list__header{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin-bottom:0.8rem}pn-link-list .link-list__heading{margin-bottom:0.8rem}@media screen and (min-width: 1140px){pn-link-list .link-list__heading{font-size:3.2rem}}pn-link-list .link-list__preamble{max-width:85rem;text-align:center;margin-bottom:0}@media screen and (min-width: 1140px){pn-link-list .link-list__preamble{text-wrap:balance}}pn-link-list .link-list{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative;overflow:hidden;margin:0;margin-bottom:2.4rem;padding:0}pn-link-list .link-list__container{overflow-x:auto;text-align:center;white-space:nowrap}pn-link-list .link-list__container.link-list__active a,pn-link-list .link-list__container.link-list__active li,pn-link-list .link-list__container.link-list__active ul{cursor:grab;cursor:-webkit-grab}pn-link-list .link-list__container::-webkit-scrollbar{height:0.4rem;margin-top:2rem;-webkit-appearance:none}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar{height:0.6rem}}pn-link-list .link-list__container::-webkit-scrollbar-thumb{background:#005D92;border-radius:2rem}pn-link-list .link-list__container::-webkit-scrollbar-track{background:#d3cecb;border-radius:2rem;width:100%;margin:0 5rem}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 10rem}}@media screen and (min-width: 1140px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 15rem}}@media screen and (min-width: 1440px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 20rem}}pn-link-list .link-list__container::-webkit-resizer{display:none}pn-link-list .link-list__container::before,pn-link-list .link-list__container::after{content:\"\";position:absolute;top:0;bottom:0;height:85%;width:10%}pn-link-list .link-list__container::before{background:-webkit-gradient(linear, right top, left top, color-stop(50%, rgba(255, 255, 255, 0)), color-stop(95%, #FFF));background:linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, #FFF 95%);left:0}pn-link-list .link-list__container::after{background:-webkit-gradient(linear, left top, right top, color-stop(50%, rgba(255, 255, 255, 0)), color-stop(95%, #FFF));background:linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, #FFF 95%);right:0}pn-link-list .link-list__scrollable{display:inline-block;padding:2rem 0 1rem}@media screen and (min-width: 992px){pn-link-list .link-list__scrollable{padding:0.5rem 2rem 1rem}}pn-link-list [slot=linklist] ul{display:-ms-flexbox;display:flex;list-style:none;margin:0;padding:0 1.6rem}pn-link-list [slot=linklist] li>a{display:block;color:#2D2013;font-size:1.4rem;font-weight:500;line-height:140%;text-decoration:none;cursor:pointer;background-color:#FFFFFF;border:0.1rem solid #D3CECB;border-radius:0.8rem;margin:0 0.8rem;padding:1rem}@media screen and (min-width: 1410px){pn-link-list [slot=linklist] li>a{font-size:1.6rem}}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:active,pn-link-list [slot=linklist] li>a:focus{color:#FFF}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:focus{background-color:#005D92}pn-link-list [slot=linklist] li>a:active{background-color:#0D234B}pn-link-list [slot=linklist] li>a:focus{outline:2px solid #005D92;outline-offset:2px}pn-link-list .link-list__button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@-moz-document url-prefix(){pn-link-list .link-list__container{scrollbar-color:#005D92 #d3cecb}pn-link-list .link-list__scrollable{padding:0.5rem 2rem 2rem}}";
|
|
4
4
|
|
|
5
5
|
const PnLinkList$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
7
7
|
super();
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
this.slider = null;
|
|
10
|
+
this.isDragging = false;
|
|
11
|
+
this.startX = 0;
|
|
12
|
+
this.scrollLeft = 0;
|
|
13
|
+
this.handleMouseDown = (e) => {
|
|
14
|
+
var _a, _b, _c;
|
|
15
|
+
const target = e.target;
|
|
16
|
+
const isContainerClick = target.classList.contains('link-list__container');
|
|
17
|
+
const isLinkClick = target.tagName === 'A';
|
|
18
|
+
if (isContainerClick || isLinkClick) {
|
|
19
|
+
this.isDragging = 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
|
+
if (isLinkClick) {
|
|
24
|
+
e.preventDefault();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
this.handleMouseLeave = () => {
|
|
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.handleMouseUp = () => {
|
|
34
|
+
var _a;
|
|
35
|
+
this.isDragging = false;
|
|
36
|
+
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.remove('link-list__active');
|
|
37
|
+
};
|
|
38
|
+
this.handleMouseMove = (e) => {
|
|
39
|
+
var _a;
|
|
40
|
+
if (this.isDragging) {
|
|
41
|
+
const x = e.pageX - ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.offsetLeft);
|
|
42
|
+
const move = (x - this.startX) * 2;
|
|
43
|
+
this.slider.scrollLeft = this.scrollLeft - move;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
10
46
|
this.heading = null;
|
|
11
47
|
this.label = null;
|
|
48
|
+
this.preamble = null;
|
|
12
49
|
this.url = null;
|
|
13
50
|
this.showMoreLabel = null;
|
|
14
51
|
this.showMoreUrl = null;
|
|
15
|
-
this.isDown = false;
|
|
16
|
-
this.startX = 0;
|
|
17
|
-
this.scrollLeft = 0;
|
|
18
52
|
}
|
|
19
53
|
componentDidLoad() {
|
|
20
54
|
this.slider = document.querySelector('.link-list__container');
|
|
21
55
|
}
|
|
22
|
-
handleMouseDown(e) {
|
|
23
|
-
var _a, _b, _c;
|
|
24
|
-
this.isDown = true;
|
|
25
|
-
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.add('link-list__active');
|
|
26
|
-
this.startX = e.pageX - ((_b = this.slider) === null || _b === void 0 ? void 0 : _b.offsetLeft);
|
|
27
|
-
this.scrollLeft = (_c = this.slider) === null || _c === void 0 ? void 0 : _c.scrollLeft;
|
|
28
|
-
}
|
|
29
|
-
handleMouseLeave() {
|
|
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
|
-
handleMouseUp() {
|
|
35
|
-
var _a;
|
|
36
|
-
this.isDown = false;
|
|
37
|
-
(_a = this.slider) === null || _a === void 0 ? void 0 : _a.classList.remove('link-list__active');
|
|
38
|
-
}
|
|
39
|
-
handleMouseMove(e) {
|
|
40
|
-
var _a;
|
|
41
|
-
if (!this.isDown)
|
|
42
|
-
return;
|
|
43
|
-
e.preventDefault();
|
|
44
|
-
const x = e.pageX - ((_a = this.slider) === null || _a === void 0 ? void 0 : _a.offsetLeft);
|
|
45
|
-
const move = (x - this.startX) * 2;
|
|
46
|
-
this.slider.scrollLeft = this.scrollLeft - move;
|
|
47
|
-
}
|
|
48
56
|
render() {
|
|
49
|
-
return (h(Host, null, h("div", { class: "link-
|
|
57
|
+
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), " ") : ""));
|
|
50
58
|
}
|
|
51
59
|
static get style() { return pnLinkListCss; }
|
|
52
60
|
}, [4, "pn-link-list", {
|
|
53
61
|
"heading": [1],
|
|
54
62
|
"label": [1],
|
|
63
|
+
"preamble": [1],
|
|
55
64
|
"url": [1],
|
|
56
65
|
"showMoreLabel": [1, "show-more-label"],
|
|
57
|
-
"showMoreUrl": [1, "show-more-url"]
|
|
58
|
-
|
|
59
|
-
"startX": [32],
|
|
60
|
-
"scrollLeft": [32]
|
|
61
|
-
}, [[5, "mousedown", "handleMouseDown"], [5, "mouseleave", "handleMouseLeave"], [5, "mouseup", "handleMouseUp"], [5, "mousemove", "handleMouseMove"]]]);
|
|
66
|
+
"showMoreUrl": [1, "show-more-url"]
|
|
67
|
+
}]);
|
|
62
68
|
function defineCustomElement$1() {
|
|
63
69
|
if (typeof customElements === "undefined") {
|
|
64
70
|
return;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface PnUspPromoter extends Components.PnUspPromoter, HTMLElement {}
|
|
4
|
+
export const PnUspPromoter: {
|
|
5
|
+
prototype: PnUspPromoter;
|
|
6
|
+
new (): PnUspPromoter;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const pnUspPromoterCss = "pn-usp-promoter{width:80%}pn-usp-promoter .usp-promoter{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:3rem 0.8rem}pn-usp-promoter .usp-promoter--full-width{overflow:hidden;margin:0 calc(-50vw + 50%)}@media screen and (min-width: 768px){pn-usp-promoter .usp-promoter--full-width{padding:8rem 4rem}}pn-usp-promoter .usp-promoter__content{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}@media screen and (min-width: 768px){pn-usp-promoter .usp-promoter__content{-ms-flex-align:center;align-items:center;text-align:left;-ms-flex-pack:center;justify-content:center}}pn-usp-promoter .usp-promoter__content-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 768px){pn-usp-promoter .usp-promoter__content-wrapper{-ms-flex-align:start;align-items:flex-start;padding-left:4rem}}pn-usp-promoter .usp-promoter__content-heading{margin-bottom:0.8rem}@media screen and (min-width: 768px){pn-usp-promoter .usp-promoter__content-heading{font-size:4.2rem;max-width:45rem}}@media screen and (min-width: 1140px){pn-usp-promoter .usp-promoter__content-heading{font-size:4.8rem;max-width:50rem}}@media screen and (min-width: 1440px){pn-usp-promoter .usp-promoter__content-heading{font-size:5.6rem;max-width:58rem}}pn-usp-promoter .usp-promoter__content-text{font-size:1.6rem;max-width:47rem;margin-bottom:2.6rem}@media screen and (min-width: 1140px){pn-usp-promoter .usp-promoter__content-text{font-size:1.8rem;max-width:60rem}}@media screen and (min-width: 1440px){pn-usp-promoter .usp-promoter__content-text{font-size:2rem;max-width:70rem}}pn-usp-promoter [slot=app-store]{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;margin-bottom:2.6rem;gap:1rem}pn-usp-promoter [slot=app-store]>a{background-color:black;border:0.1rem solid #A6A6A6;border-radius:0.8rem;color:#FFF;display:inline-block;line-height:0;text-decoration:none;-webkit-transition:background-color 0.2s ease-in-out;transition:background-color 0.2s ease-in-out}pn-usp-promoter [slot=app-store]>a::after{margin-left:0 !important;margin-right:0.5rem;top:0.2rem;position:relative}pn-usp-promoter [slot=app-store]>a:hover{background-color:#0D234B}pn-usp-promoter [slot=app-store]>a:focus{background-color:#0D234B;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #0D234B;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #0D234B}pn-usp-promoter [slot=app-store]>a:focus-visible{outline:none}pn-usp-promoter [slot=usp-buttons] pn-button{margin-bottom:1.6rem}pn-usp-promoter [slot=usp-buttons]>a{color:#005D92;font-weight:500;font-size:1.6rem;padding:0.1rem;text-decoration:none}pn-usp-promoter [slot=usp-buttons]>a pn-icon svg{-webkit-transition:-webkit-transform 0.3s ease-in-out;transition:-webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out}pn-usp-promoter [slot=usp-buttons]>a pn-icon svg path{fill:#005D92}pn-usp-promoter [slot=usp-buttons]>a:hover pn-icon svg{-webkit-transition:-webkit-transform 0.3s ease-in-out;transition:-webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;-webkit-transform:translateX(0.3rem);transform:translateX(0.3rem)}pn-usp-promoter [slot=usp-buttons]>a:hover pn-icon svg path{fill:#005D92}pn-usp-promoter [slot=app-store],pn-usp-promoter [slot=usp-buttons]{-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 768px){pn-usp-promoter [slot=app-store],pn-usp-promoter [slot=usp-buttons]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-usp-promoter [slot=illustration]{max-width:25%;position:relative;left:-1.6rem}pn-usp-promoter [slot=illustration] pn-scroll{position:-webkit-sticky;position:sticky;top:0}@media screen and (min-width: 768px){pn-usp-promoter [slot=illustration]{display:block}}pn-usp-promoter [slot=illustration] picture img{max-width:100%}@media screen and (min-width: 1140px){pn-usp-promoter [slot=illustration] picture img{width:32rem}}@media screen and (min-width: 1440px){pn-usp-promoter [slot=illustration] picture img{width:33.6rem}}pn-usp-promoter .usp-promoter__heading-extension{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-usp-promoter .usp-promoter--right-align .usp-promoter__content{-ms-flex-direction:row-reverse;flex-direction:row-reverse;text-align:right}@media screen and (min-width: 768px){pn-usp-promoter .usp-promoter--right-align .usp-promoter__content{-ms-flex-align:center;align-items:center}}pn-usp-promoter .usp-promoter--right-align .usp-promoter__content-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:flex-end;padding-left:0}@media screen and (min-width: 768px){pn-usp-promoter .usp-promoter--right-align .usp-promoter__content-wrapper{padding-right:4rem}}pn-usp-promoter .usp-promoter--right-align [slot=app-store],pn-usp-promoter .usp-promoter--right-align [slot=usp-buttons]{-ms-flex-align:end;align-items:flex-end}pn-usp-promoter .usp-promoter--right-align [slot=illustration]{left:1.6rem}@media screen and (max-width: 768px){pn-usp-promoter .usp-promoter--hide-image-small-screen [slot=illustration] picture img{display:none}pn-usp-promoter .usp-promoter--hide-image-small-screen .usp-promoter__content{text-align:center}pn-usp-promoter .usp-promoter--hide-image-small-screen .usp-promoter__content-wrapper{-ms-flex-align:center;align-items:center;padding-right:0}pn-usp-promoter .usp-promoter--hide-image-small-screen [slot=app-store],pn-usp-promoter .usp-promoter--hide-image-small-screen [slot=usp-buttons]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}}";
|
|
4
|
+
|
|
5
|
+
const PnUspPromoter$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.heading = null;
|
|
10
|
+
this.headingExtension = null;
|
|
11
|
+
this.bodyText = null;
|
|
12
|
+
this.backgroundGradient = null;
|
|
13
|
+
this.fullWidth = false;
|
|
14
|
+
this.rightAlign = false;
|
|
15
|
+
this.hideMobileImage = false;
|
|
16
|
+
}
|
|
17
|
+
centerMobileContent() {
|
|
18
|
+
const slot = this.hostElement.querySelector('[slot="illustration"]');
|
|
19
|
+
if (this.hideMobileImage || slot == null) {
|
|
20
|
+
return "usp-promoter--hide-image-small-screen";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
const isFullWidth = this.fullWidth ? "usp-promoter--full-width" : "";
|
|
25
|
+
const isRightAlign = this.rightAlign ? "usp-promoter--right-align" : "";
|
|
26
|
+
const hasHeadingExtension = this.headingExtension ? "usp-promoter__heading-extension" : "";
|
|
27
|
+
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" }))))));
|
|
28
|
+
}
|
|
29
|
+
get hostElement() { return this; }
|
|
30
|
+
static get style() { return pnUspPromoterCss; }
|
|
31
|
+
}, [4, "pn-usp-promoter", {
|
|
32
|
+
"heading": [1],
|
|
33
|
+
"headingExtension": [1, "heading-extension"],
|
|
34
|
+
"bodyText": [1, "body-text"],
|
|
35
|
+
"backgroundGradient": [1, "background-gradient"],
|
|
36
|
+
"fullWidth": [4, "full-width"],
|
|
37
|
+
"rightAlign": [4, "right-align"],
|
|
38
|
+
"hideMobileImage": [4, "hide-mobile-image"]
|
|
39
|
+
}]);
|
|
40
|
+
function defineCustomElement$1() {
|
|
41
|
+
if (typeof customElements === "undefined") {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const components = ["pn-usp-promoter"];
|
|
45
|
+
components.forEach(tagName => { switch (tagName) {
|
|
46
|
+
case "pn-usp-promoter":
|
|
47
|
+
if (!customElements.get(tagName)) {
|
|
48
|
+
customElements.define(tagName, PnUspPromoter$1);
|
|
49
|
+
}
|
|
50
|
+
break;
|
|
51
|
+
} });
|
|
52
|
+
}
|
|
53
|
+
defineCustomElement$1();
|
|
54
|
+
|
|
55
|
+
const PnUspPromoter = PnUspPromoter$1;
|
|
56
|
+
const defineCustomElement = defineCustomElement$1;
|
|
57
|
+
|
|
58
|
+
export { PnUspPromoter, defineCustomElement };
|
|
@@ -2055,8 +2055,6 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
2055
2055
|
}
|
|
2056
2056
|
};
|
|
2057
2057
|
const getHostListenerTarget = (elm, flags) => {
|
|
2058
|
-
if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
|
|
2059
|
-
return doc;
|
|
2060
2058
|
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
2061
2059
|
return win;
|
|
2062
2060
|
return elm;
|
|
@@ -2299,6 +2297,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2299
2297
|
return import(
|
|
2300
2298
|
/* webpackMode: "lazy" */
|
|
2301
2299
|
'./pn-teaser-card.entry.js').then(processMod, consoleError);
|
|
2300
|
+
case 'pn-usp-promoter':
|
|
2301
|
+
return import(
|
|
2302
|
+
/* webpackMode: "lazy" */
|
|
2303
|
+
'./pn-usp-promoter.entry.js').then(processMod, consoleError);
|
|
2302
2304
|
case 'pn-dropdown-with-multi-input-rows-row':
|
|
2303
2305
|
return import(
|
|
2304
2306
|
/* webpackMode: "lazy" */
|