@postnord/pn-marketweb-components 1.0.49-beta4 → 2.0.1
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-9027dc96.js → index-28bbc937.js} +1 -1
- package/cjs/{index-0a6b1eef.js → index-e3e27c79.js} +6 -0
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +5 -5
- package/cjs/{pn-find-price-store-f9766c41.js → pn-find-price-store-6aab7fd0.js} +1 -2
- package/cjs/pn-find-price.cjs.entry.js +9 -12
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-service-and-price-store-914d170b.js → pn-find-service-and-price-store-16a7936c.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
- package/cjs/pn-language-selector_9.cjs.entry.js +65 -5
- package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
- package/cjs/{pn-mainnav-store-f8bacb50.js → pn-mainnav-store-61a75ea0.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +76 -0
- package/cjs/pn-marketweb-search.cjs.entry.js +103 -0
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +6 -4
- package/cjs/pn-pex-pricefinder.cjs.entry.js +11 -3
- package/cjs/pn-product-card_3.cjs.entry.js +9 -9
- package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
- package/cjs/{pn-product-pricelist-store-d101b50e.js → pn-product-pricelist-store-86310b5a.js} +1 -1
- package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
- package/cjs/pn-product-tile_3.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.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-eed02285.js → pn-sidenav-store-d9bd9e00.js} +1 -1
- package/cjs/pn-sidenav.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_2.cjs.entry.js +1 -1
- package/collection/collection-manifest.json +2 -1
- package/collection/components/input/pn-marketweb-input/marketweb-input.stories.js +51 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +156 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +412 -0
- package/collection/components/input/{pn-filter-search/search-field.stories.js → pn-marketweb-search/marketweb-search-field.stories.js} +15 -3
- package/collection/components/input/{pn-filter-search/pn-filter-search.css → pn-marketweb-search/pn-marketweb-search.css} +22 -17
- package/collection/components/input/{pn-filter-search/pn-filter-search.js → pn-marketweb-search/pn-marketweb-search.js} +67 -9
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.js +9 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +79 -3
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +23 -3
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -3
- package/collection/components/widgets/pn-find-price/img/clouds.svg +5 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-store.js +0 -1
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +1 -6
- package/collection/components/widgets/pn-find-price/pn-find-price.css +14 -4
- package/collection/components/widgets/pn-find-price/pn-find-price.js +4 -3
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +10 -2
- package/collection/components/widgets/pn-product-card/pn-product-card-info.css +6 -7
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +2 -3
- package/collection/components/widgets/pn-product-card/pn-product-card-price.css +22 -5
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +1 -1
- package/collection/components/widgets/pn-product-card/pn-product-card.css +88 -30
- package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +1 -0
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +1 -1
- package/custom-elements/index.d.ts +12 -6
- package/custom-elements/index.js +298 -126
- package/esm/{index-70b099b5.js → index-5397620b.js} +7 -1
- package/esm/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
- package/esm/loader.js +2 -2
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-choice-button.entry.js +1 -1
- package/esm/pn-filter-checkbox.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +5 -5
- package/esm/{pn-find-price-store-ddd3f427.js → pn-find-price-store-3301df0a.js} +1 -2
- package/esm/pn-find-price.entry.js +9 -12
- package/esm/pn-find-service-and-price-result.entry.js +3 -3
- package/esm/{pn-find-service-and-price-store-012f2e49.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +3 -3
- package/esm/pn-language-selector_9.entry.js +79 -19
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm/pn-market-web-components.js +2 -2
- package/esm/pn-marketweb-input.entry.js +72 -0
- package/esm/pn-marketweb-search.entry.js +99 -0
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +6 -4
- package/esm/pn-pex-pricefinder.entry.js +11 -3
- package/esm/pn-product-card_3.entry.js +9 -9
- package/esm/pn-product-pricelist-result.entry.js +3 -3
- package/esm/{pn-product-pricelist-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
- package/esm/pn-product-pricelist.entry.js +4 -4
- package/esm/pn-product-tile_3.entry.js +1 -1
- package/esm/pn-profile-selector-option.entry.js +1 -1
- package/esm/pn-profile-selector.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-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm/pn-sidenav.entry.js +3 -3
- package/esm/pn-site-footer_2.entry.js +1 -1
- package/esm-es5/{index-70b099b5.js → index-5397620b.js} +1 -1
- package/esm-es5/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
- package/esm-es5/loader.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-choice-button.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-3301df0a.js +1 -0
- 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-012f2e49.js → pn-find-service-and-price-store-65df46a0.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-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -0
- package/esm-es5/pn-marketweb-search.entry.js +1 -0
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.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-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile_3.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-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_2.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/{p-b49c9d34.system.entry.js → p-01fbbbbc.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7ce21cb3.system.js → p-02ea55ad.system.js} +1 -1
- package/pn-market-web-components/{p-71a31b15.entry.js → p-045a349a.entry.js} +1 -1
- package/pn-market-web-components/p-07cc9f6b.system.entry.js +1 -0
- package/pn-market-web-components/{p-24df62a2.js → p-0cacf9fb.js} +1 -1
- package/pn-market-web-components/{p-d26967cb.entry.js → p-10b95894.entry.js} +1 -1
- package/pn-market-web-components/p-13eb4c66.system.entry.js +1 -0
- package/pn-market-web-components/{p-9aac6bd5.entry.js → p-15112837.entry.js} +1 -1
- package/pn-market-web-components/{p-69b751a8.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d546d0c3.entry.js → p-227e1d46.entry.js} +1 -1
- package/pn-market-web-components/{p-39760c45.system.entry.js → p-2718b89a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-702f06b7.system.entry.js → p-2870b0c5.system.entry.js} +1 -1
- package/pn-market-web-components/p-36654f2a.system.js +1 -0
- package/pn-market-web-components/p-3971ddb9.system.js +1 -0
- package/pn-market-web-components/{p-5d34bb8f.system.entry.js → p-401b57b1.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7598c3ac.entry.js → p-40264b65.entry.js} +1 -1
- package/pn-market-web-components/{p-aea09ac6.entry.js → p-51df9292.entry.js} +1 -1
- package/pn-market-web-components/{p-a439468a.system.entry.js → p-57cc0679.system.entry.js} +1 -1
- package/pn-market-web-components/p-58e8d7d5.js +1 -0
- package/pn-market-web-components/{p-3ba257c5.entry.js → p-5c41acb2.entry.js} +1 -1
- package/pn-market-web-components/p-5d587499.js +1 -0
- package/pn-market-web-components/p-5e78891a.entry.js +1 -0
- package/pn-market-web-components/{p-42da096a.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
- package/pn-market-web-components/p-67887512.system.js +1 -0
- package/pn-market-web-components/{p-544f8fb9.entry.js → p-715d1ef7.entry.js} +1 -1
- package/pn-market-web-components/p-72195bd8.entry.js +1 -0
- package/pn-market-web-components/{p-4d5aa13e.entry.js → p-774b7a9f.entry.js} +1 -1
- package/pn-market-web-components/{p-802afa1f.system.entry.js → p-7b93d570.system.entry.js} +1 -1
- package/pn-market-web-components/{p-56ba3951.entry.js → p-7d75ea68.entry.js} +1 -1
- package/pn-market-web-components/p-7e494e9d.system.entry.js +1 -0
- package/pn-market-web-components/p-80dce81e.system.entry.js +1 -0
- package/pn-market-web-components/{p-acd9d186.system.entry.js → p-8144bcbc.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ac5a749b.entry.js → p-81d764a0.entry.js} +1 -1
- package/pn-market-web-components/p-825b8fb8.system.js +1 -0
- package/pn-market-web-components/{p-99e471b8.js → p-84699999.js} +1 -1
- package/pn-market-web-components/{p-ab699e09.entry.js → p-86b271f4.entry.js} +1 -1
- package/pn-market-web-components/p-86f06e26.js +1 -0
- package/pn-market-web-components/{p-38e0dc75.system.entry.js → p-885bc8d7.system.entry.js} +1 -1
- package/pn-market-web-components/p-8fc7732d.system.entry.js +1 -0
- package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
- package/pn-market-web-components/p-9e8c5793.system.entry.js +1 -0
- package/pn-market-web-components/p-9edaf6b6.system.entry.js +1 -0
- package/pn-market-web-components/p-a5bc1695.system.js +1 -0
- package/pn-market-web-components/{p-b4f843da.system.js → p-a5f75560.system.js} +1 -1
- package/pn-market-web-components/{p-8897e421.entry.js → p-adc639c8.entry.js} +1 -1
- package/pn-market-web-components/{p-6fea1ae6.system.js → p-add7d76c.system.js} +1 -1
- package/pn-market-web-components/{p-9ae8e043.js → p-ae2bd55f.js} +1 -1
- package/pn-market-web-components/{p-2c361d9e.system.entry.js → p-aeb26d10.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3552ae09.entry.js → p-b4f0228c.entry.js} +1 -1
- package/pn-market-web-components/p-bb626ab4.js +1 -0
- package/pn-market-web-components/p-c0c52dc6.entry.js +1 -0
- package/pn-market-web-components/{p-8325d608.entry.js → p-c240b614.entry.js} +1 -1
- package/pn-market-web-components/p-c34db063.entry.js +1 -0
- package/pn-market-web-components/{p-da2fa398.system.entry.js → p-c418bb48.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3f8b459a.system.entry.js → p-d46d9b6e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0b796318.system.entry.js → p-d7776336.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7fca7510.entry.js → p-e056d2c6.entry.js} +1 -1
- package/pn-market-web-components/p-e474b831.entry.js +1 -0
- package/pn-market-web-components/p-e5fffc92.entry.js +1 -0
- package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
- package/pn-market-web-components/p-f4cb2104.system.entry.js +1 -0
- package/pn-market-web-components/{p-00d6033e.entry.js → p-f774e2cc.entry.js} +1 -1
- package/pn-market-web-components/{p-4f0f8e9f.system.entry.js → p-f7b013a7.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2b120338.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
- package/pn-market-web-components/p-fc6a09e0.system.entry.js +1 -0
- 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/input/pn-marketweb-input/pn-marketweb-input.d.ts +32 -0
- package/types/components/input/{pn-filter-search/pn-filter-search.d.ts → pn-marketweb-search/pn-marketweb-search.d.ts} +9 -1
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.d.ts +11 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.d.ts +6 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types.d.ts +1 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.d.ts +2 -0
- package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +0 -2
- package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +0 -5
- package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +0 -1
- package/types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.d.ts +1 -0
- package/types/components.d.ts +156 -65
- package/cjs/pn-filter-search.cjs.entry.js +0 -69
- package/esm/pn-filter-search.entry.js +0 -65
- package/esm-es5/pn-filter-search.entry.js +0 -1
- package/esm-es5/pn-find-price-store-ddd3f427.js +0 -1
- package/pn-market-web-components/p-15836764.js +0 -1
- package/pn-market-web-components/p-1ccd3831.entry.js +0 -1
- package/pn-market-web-components/p-208a0a7b.entry.js +0 -1
- package/pn-market-web-components/p-28316927.js +0 -1
- package/pn-market-web-components/p-39ecfda9.system.entry.js +0 -1
- package/pn-market-web-components/p-39ff2013.system.entry.js +0 -1
- package/pn-market-web-components/p-4c9b1ae9.system.js +0 -1
- package/pn-market-web-components/p-4f8537fb.system.js +0 -1
- package/pn-market-web-components/p-58623439.entry.js +0 -1
- package/pn-market-web-components/p-66fb0f57.entry.js +0 -1
- package/pn-market-web-components/p-6df0b06e.entry.js +0 -1
- package/pn-market-web-components/p-731efb7b.system.entry.js +0 -1
- package/pn-market-web-components/p-7a7f380b.system.js +0 -1
- package/pn-market-web-components/p-87a4810e.system.entry.js +0 -1
- package/pn-market-web-components/p-ad5b20ce.js +0 -1
- package/pn-market-web-components/p-b4a0e5fd.system.entry.js +0 -1
- package/pn-market-web-components/p-b4b6ab95.system.js +0 -1
- package/pn-market-web-components/p-cf516409.js +0 -1
- package/pn-market-web-components/p-cfa3be4a.entry.js +0 -1
- package/pn-market-web-components/p-dc48d8f8.system.entry.js +0 -1
- package/pn-market-web-components/p-e732c60a.system.entry.js +0 -1
- package/pn-market-web-components/p-fbdc9ea5.system.entry.js +0 -1
- package/pn-market-web-components/p-fdad9fb6.entry.js +0 -1
- package/pn-market-web-components/p-ff678bef.system.js +0 -1
|
@@ -1,53 +1,63 @@
|
|
|
1
1
|
pn-product-card {
|
|
2
|
-
margin-bottom: 1em;
|
|
3
2
|
border: 0.1rem solid #D3CECB;
|
|
4
3
|
outline: none;
|
|
5
4
|
background: #FFFFFF;
|
|
6
5
|
box-shadow: 0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);
|
|
7
6
|
display: flex;
|
|
8
|
-
padding: 1.5em;
|
|
9
7
|
word-break: break-word;
|
|
10
8
|
text-decoration: none;
|
|
11
9
|
border-radius: 0.8rem;
|
|
10
|
+
position: relative;
|
|
11
|
+
padding: 11rem 2.4rem 2.4rem;
|
|
12
|
+
margin-bottom: 1.6rem;
|
|
13
|
+
}
|
|
14
|
+
@media screen and (min-width: 36em) {
|
|
15
|
+
pn-product-card {
|
|
16
|
+
padding: 2.4rem;
|
|
17
|
+
}
|
|
12
18
|
}
|
|
13
19
|
pn-product-card [slot=title] {
|
|
14
20
|
display: flex;
|
|
15
21
|
width: 100%;
|
|
16
|
-
margin-bottom: 0.
|
|
22
|
+
margin-bottom: 0.8rem;
|
|
23
|
+
gap: 1.6rem;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: center;
|
|
17
26
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
@media screen and (min-width: 36em) {
|
|
28
|
+
pn-product-card [slot=title] {
|
|
29
|
+
flex-direction: row;
|
|
30
|
+
align-items: inherit;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
pn-product-card [slot=title] h2 {
|
|
34
|
+
width: 100%;
|
|
35
|
+
}
|
|
36
|
+
@media screen and (min-width: 36em) {
|
|
37
|
+
pn-product-card [slot=title] h2 {
|
|
38
|
+
width: auto;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
pn-product-card [slot=title] > [slot] {
|
|
42
|
+
border-radius: 0.4rem;
|
|
43
|
+
height: 2.5em;
|
|
25
44
|
font-weight: normal;
|
|
26
45
|
font-size: 0.75em;
|
|
27
46
|
text-align: center;
|
|
28
47
|
vertical-align: bottom;
|
|
29
|
-
padding
|
|
48
|
+
padding: 0.6rem;
|
|
30
49
|
}
|
|
31
|
-
pn-product-card [slot=title] > [slot
|
|
50
|
+
pn-product-card [slot=title] > [slot] pn-icon {
|
|
32
51
|
vertical-align: middle;
|
|
33
52
|
margin-left: 0.6em;
|
|
34
53
|
}
|
|
54
|
+
pn-product-card [slot=title] > [slot=Billigast] {
|
|
55
|
+
color: #005E41;
|
|
56
|
+
background: #DCF6E7;
|
|
57
|
+
}
|
|
35
58
|
pn-product-card [slot=title] > [slot=Snabbast] {
|
|
36
59
|
background: #E0F8FF;
|
|
37
60
|
color: #005D92;
|
|
38
|
-
border-radius: 0.37em;
|
|
39
|
-
width: 7em;
|
|
40
|
-
height: 2em;
|
|
41
|
-
margin-left: 1.5em;
|
|
42
|
-
font-weight: normal;
|
|
43
|
-
font-size: 0.75em;
|
|
44
|
-
text-align: center;
|
|
45
|
-
vertical-align: bottom;
|
|
46
|
-
padding-top: 0.25em;
|
|
47
|
-
}
|
|
48
|
-
pn-product-card [slot=title] > [slot=Snabbast] pn-icon {
|
|
49
|
-
vertical-align: middle;
|
|
50
|
-
margin-left: 0.6em;
|
|
51
61
|
}
|
|
52
62
|
pn-product-card [slot=note] {
|
|
53
63
|
margin-top: 1em;
|
|
@@ -73,22 +83,70 @@ pn-product-card > pn-illustration {
|
|
|
73
83
|
min-width: 8rem;
|
|
74
84
|
width: 8rem;
|
|
75
85
|
height: 8rem;
|
|
76
|
-
margin-right: 3rem;
|
|
77
86
|
align-self: center;
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: 1.6rem;
|
|
89
|
+
transform: translateX(-50%);
|
|
90
|
+
left: 50%;
|
|
91
|
+
box-shadow: 0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);
|
|
92
|
+
border-radius: 100%;
|
|
93
|
+
}
|
|
94
|
+
@media screen and (min-width: 36em) {
|
|
95
|
+
pn-product-card > pn-illustration {
|
|
96
|
+
box-shadow: none;
|
|
97
|
+
top: 1.6rem;
|
|
98
|
+
right: 1.6rem;
|
|
99
|
+
left: auto;
|
|
100
|
+
transform: none;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
@media screen and (min-width: 48em) {
|
|
104
|
+
pn-product-card > pn-illustration {
|
|
105
|
+
position: static;
|
|
106
|
+
top: auto;
|
|
107
|
+
right: auto;
|
|
108
|
+
margin-right: 3rem;
|
|
109
|
+
}
|
|
78
110
|
}
|
|
79
111
|
pn-product-card .cardcontent {
|
|
80
112
|
display: flex;
|
|
81
|
-
flex-direction:
|
|
113
|
+
flex-direction: column;
|
|
82
114
|
justify-content: center;
|
|
83
115
|
flex-grow: 1;
|
|
84
116
|
}
|
|
117
|
+
@media screen and (min-width: 48em) {
|
|
118
|
+
pn-product-card .cardcontent {
|
|
119
|
+
flex-direction: row;
|
|
120
|
+
gap: 1.6rem;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
pn-product-card .cardcontent .description :first-child {
|
|
124
|
+
max-width: calc(100% - 10rem);
|
|
125
|
+
}
|
|
126
|
+
@media screen and (min-width: 48em) {
|
|
127
|
+
pn-product-card .cardcontent .description :first-child {
|
|
128
|
+
max-width: none;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
85
131
|
pn-product-card [slot=cardprice] {
|
|
86
|
-
display:
|
|
87
|
-
flex-direction:
|
|
88
|
-
align-items: flex-end;
|
|
132
|
+
display: flex;
|
|
133
|
+
flex-direction: column;
|
|
89
134
|
justify-content: center;
|
|
90
135
|
flex-grow: 1;
|
|
91
136
|
}
|
|
137
|
+
@media screen and (min-width: 36em) {
|
|
138
|
+
pn-product-card [slot=cardprice] {
|
|
139
|
+
flex-direction: row;
|
|
140
|
+
justify-content: space-between;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
@media screen and (min-width: 48em) {
|
|
144
|
+
pn-product-card [slot=cardprice] {
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
align-items: flex-end;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
92
150
|
pn-product-card .details {
|
|
93
151
|
display: flex;
|
|
94
152
|
flex-direction: column;
|
|
@@ -11,7 +11,7 @@ export class PnProductCard {
|
|
|
11
11
|
h("slot", null)),
|
|
12
12
|
h("slot", { name: "note" }),
|
|
13
13
|
h("slot", { name: "additionalUSP" })),
|
|
14
|
-
h("div",
|
|
14
|
+
h("div", { class: "cardprice" },
|
|
15
15
|
h("slot", { name: "cardprice" })))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "pn-product-card"; }
|
|
@@ -21,6 +21,7 @@ pn-product-pricelist .weightoption {
|
|
|
21
21
|
pn-product-pricelist .weightoption-input {
|
|
22
22
|
width: 5em;
|
|
23
23
|
position: relative;
|
|
24
|
+
display: none;
|
|
24
25
|
}
|
|
25
26
|
pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,
|
|
26
27
|
pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button {
|
|
@@ -26,12 +26,6 @@ export const PnFilterCheckbox: {
|
|
|
26
26
|
new (): PnFilterCheckbox;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
interface PnFilterSearch extends Components.PnFilterSearch, HTMLElement {}
|
|
30
|
-
export const PnFilterSearch: {
|
|
31
|
-
prototype: PnFilterSearch;
|
|
32
|
-
new (): PnFilterSearch;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
29
|
interface PnFindPrice extends Components.PnFindPrice, HTMLElement {}
|
|
36
30
|
export const PnFindPrice: {
|
|
37
31
|
prototype: PnFindPrice;
|
|
@@ -92,6 +86,18 @@ export const PnMainnavList: {
|
|
|
92
86
|
new (): PnMainnavList;
|
|
93
87
|
};
|
|
94
88
|
|
|
89
|
+
interface PnMarketwebInput extends Components.PnMarketwebInput, HTMLElement {}
|
|
90
|
+
export const PnMarketwebInput: {
|
|
91
|
+
prototype: PnMarketwebInput;
|
|
92
|
+
new (): PnMarketwebInput;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
interface PnMarketwebSearch extends Components.PnMarketwebSearch, HTMLElement {}
|
|
96
|
+
export const PnMarketwebSearch: {
|
|
97
|
+
prototype: PnMarketwebSearch;
|
|
98
|
+
new (): PnMarketwebSearch;
|
|
99
|
+
};
|
|
100
|
+
|
|
95
101
|
interface PnMarketwebSitefooter extends Components.PnMarketwebSitefooter, HTMLElement {}
|
|
96
102
|
export const PnMarketwebSitefooter: {
|
|
97
103
|
prototype: PnMarketwebSitefooter;
|