@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.
Files changed (237) hide show
  1. package/cjs/{index-9027dc96.js → index-28bbc937.js} +1 -1
  2. package/cjs/{index-0a6b1eef.js → index-e3e27c79.js} +6 -0
  3. package/cjs/loader.cjs.js +2 -2
  4. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
  5. package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
  6. package/cjs/pn-choice-button.cjs.entry.js +1 -1
  7. package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
  8. package/cjs/pn-find-price-result.cjs.entry.js +5 -5
  9. package/cjs/{pn-find-price-store-f9766c41.js → pn-find-price-store-6aab7fd0.js} +1 -2
  10. package/cjs/pn-find-price.cjs.entry.js +9 -12
  11. package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
  12. package/cjs/{pn-find-service-and-price-store-914d170b.js → pn-find-service-and-price-store-16a7936c.js} +1 -1
  13. package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
  14. package/cjs/pn-language-selector_9.cjs.entry.js +65 -5
  15. package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
  16. package/cjs/{pn-mainnav-store-f8bacb50.js → pn-mainnav-store-61a75ea0.js} +1 -1
  17. package/cjs/pn-market-web-components.cjs.js +2 -2
  18. package/cjs/pn-marketweb-input.cjs.entry.js +76 -0
  19. package/cjs/pn-marketweb-search.cjs.entry.js +103 -0
  20. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
  21. package/cjs/pn-marketweb-siteheader.cjs.entry.js +6 -4
  22. package/cjs/pn-pex-pricefinder.cjs.entry.js +11 -3
  23. package/cjs/pn-product-card_3.cjs.entry.js +9 -9
  24. package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
  25. package/cjs/{pn-product-pricelist-store-d101b50e.js → pn-product-pricelist-store-86310b5a.js} +1 -1
  26. package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
  27. package/cjs/pn-product-tile_3.cjs.entry.js +1 -1
  28. package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
  29. package/cjs/pn-profile-selector.cjs.entry.js +1 -1
  30. package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
  31. package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
  32. package/cjs/{pn-sidenav-store-eed02285.js → pn-sidenav-store-d9bd9e00.js} +1 -1
  33. package/cjs/pn-sidenav.cjs.entry.js +3 -3
  34. package/cjs/pn-site-footer_2.cjs.entry.js +1 -1
  35. package/collection/collection-manifest.json +2 -1
  36. package/collection/components/input/pn-marketweb-input/marketweb-input.stories.js +51 -0
  37. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +156 -0
  38. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +412 -0
  39. package/collection/components/input/{pn-filter-search/search-field.stories.js → pn-marketweb-search/marketweb-search-field.stories.js} +15 -3
  40. package/collection/components/input/{pn-filter-search/pn-filter-search.css → pn-marketweb-search/pn-marketweb-search.css} +22 -17
  41. package/collection/components/input/{pn-filter-search/pn-filter-search.js → pn-marketweb-search/pn-marketweb-search.js} +67 -9
  42. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.js +9 -0
  43. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +79 -3
  44. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +23 -3
  45. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -3
  46. package/collection/components/widgets/pn-find-price/img/clouds.svg +5 -0
  47. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +2 -2
  48. package/collection/components/widgets/pn-find-price/pn-find-price-store.js +0 -1
  49. package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +1 -6
  50. package/collection/components/widgets/pn-find-price/pn-find-price.css +14 -4
  51. package/collection/components/widgets/pn-find-price/pn-find-price.js +4 -3
  52. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +10 -2
  53. package/collection/components/widgets/pn-product-card/pn-product-card-info.css +6 -7
  54. package/collection/components/widgets/pn-product-card/pn-product-card-info.js +2 -3
  55. package/collection/components/widgets/pn-product-card/pn-product-card-price.css +22 -5
  56. package/collection/components/widgets/pn-product-card/pn-product-card-price.js +1 -1
  57. package/collection/components/widgets/pn-product-card/pn-product-card.css +88 -30
  58. package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  59. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +1 -0
  60. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +1 -1
  61. package/custom-elements/index.d.ts +12 -6
  62. package/custom-elements/index.js +298 -126
  63. package/esm/{index-70b099b5.js → index-5397620b.js} +7 -1
  64. package/esm/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
  65. package/esm/loader.js +2 -2
  66. package/esm/pn-bonus-progressbar-level.entry.js +1 -1
  67. package/esm/pn-bonus-progressbar.entry.js +1 -1
  68. package/esm/pn-choice-button.entry.js +1 -1
  69. package/esm/pn-filter-checkbox.entry.js +1 -1
  70. package/esm/pn-find-price-result.entry.js +5 -5
  71. package/esm/{pn-find-price-store-ddd3f427.js → pn-find-price-store-3301df0a.js} +1 -2
  72. package/esm/pn-find-price.entry.js +9 -12
  73. package/esm/pn-find-service-and-price-result.entry.js +3 -3
  74. package/esm/{pn-find-service-and-price-store-012f2e49.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  75. package/esm/pn-find-service-and-price.entry.js +3 -3
  76. package/esm/pn-language-selector_9.entry.js +79 -19
  77. package/esm/pn-mainnav-link.entry.js +3 -3
  78. package/esm/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
  79. package/esm/pn-market-web-components.js +2 -2
  80. package/esm/pn-marketweb-input.entry.js +72 -0
  81. package/esm/pn-marketweb-search.entry.js +99 -0
  82. package/esm/pn-marketweb-sitefooter.entry.js +1 -1
  83. package/esm/pn-marketweb-siteheader.entry.js +6 -4
  84. package/esm/pn-pex-pricefinder.entry.js +11 -3
  85. package/esm/pn-product-card_3.entry.js +9 -9
  86. package/esm/pn-product-pricelist-result.entry.js +3 -3
  87. package/esm/{pn-product-pricelist-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
  88. package/esm/pn-product-pricelist.entry.js +4 -4
  89. package/esm/pn-product-tile_3.entry.js +1 -1
  90. package/esm/pn-profile-selector-option.entry.js +1 -1
  91. package/esm/pn-profile-selector.entry.js +1 -1
  92. package/esm/pn-sidenav-level.entry.js +3 -3
  93. package/esm/pn-sidenav-link.entry.js +3 -3
  94. package/esm/{pn-sidenav-store-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
  95. package/esm/pn-sidenav.entry.js +3 -3
  96. package/esm/pn-site-footer_2.entry.js +1 -1
  97. package/esm-es5/{index-70b099b5.js → index-5397620b.js} +1 -1
  98. package/esm-es5/{index-d3007e8f.js → index-7b21ecff.js} +1 -1
  99. package/esm-es5/loader.js +1 -1
  100. package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
  101. package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
  102. package/esm-es5/pn-choice-button.entry.js +1 -1
  103. package/esm-es5/pn-filter-checkbox.entry.js +1 -1
  104. package/esm-es5/pn-find-price-result.entry.js +1 -1
  105. package/esm-es5/pn-find-price-store-3301df0a.js +1 -0
  106. package/esm-es5/pn-find-price.entry.js +1 -1
  107. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  108. package/esm-es5/{pn-find-service-and-price-store-012f2e49.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  109. package/esm-es5/pn-find-service-and-price.entry.js +1 -1
  110. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  111. package/esm-es5/pn-mainnav-link.entry.js +1 -1
  112. package/esm-es5/{pn-mainnav-store-395ee066.js → pn-mainnav-store-28571e54.js} +1 -1
  113. package/esm-es5/pn-market-web-components.js +1 -1
  114. package/esm-es5/pn-marketweb-input.entry.js +1 -0
  115. package/esm-es5/pn-marketweb-search.entry.js +1 -0
  116. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  117. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  118. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  119. package/esm-es5/pn-product-card_3.entry.js +1 -1
  120. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  121. package/esm-es5/{pn-product-pricelist-store-909c5238.js → pn-product-pricelist-store-2c336043.js} +1 -1
  122. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  123. package/esm-es5/pn-product-tile_3.entry.js +1 -1
  124. package/esm-es5/pn-profile-selector-option.entry.js +1 -1
  125. package/esm-es5/pn-profile-selector.entry.js +1 -1
  126. package/esm-es5/pn-sidenav-level.entry.js +1 -1
  127. package/esm-es5/pn-sidenav-link.entry.js +1 -1
  128. package/esm-es5/{pn-sidenav-store-f0db4a1f.js → pn-sidenav-store-50b186d6.js} +1 -1
  129. package/esm-es5/pn-sidenav.entry.js +1 -1
  130. package/esm-es5/pn-site-footer_2.entry.js +1 -1
  131. package/package.json +1 -1
  132. package/pn-market-web-components/{p-b49c9d34.system.entry.js → p-01fbbbbc.system.entry.js} +1 -1
  133. package/pn-market-web-components/{p-7ce21cb3.system.js → p-02ea55ad.system.js} +1 -1
  134. package/pn-market-web-components/{p-71a31b15.entry.js → p-045a349a.entry.js} +1 -1
  135. package/pn-market-web-components/p-07cc9f6b.system.entry.js +1 -0
  136. package/pn-market-web-components/{p-24df62a2.js → p-0cacf9fb.js} +1 -1
  137. package/pn-market-web-components/{p-d26967cb.entry.js → p-10b95894.entry.js} +1 -1
  138. package/pn-market-web-components/p-13eb4c66.system.entry.js +1 -0
  139. package/pn-market-web-components/{p-9aac6bd5.entry.js → p-15112837.entry.js} +1 -1
  140. package/pn-market-web-components/{p-69b751a8.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
  141. package/pn-market-web-components/{p-d546d0c3.entry.js → p-227e1d46.entry.js} +1 -1
  142. package/pn-market-web-components/{p-39760c45.system.entry.js → p-2718b89a.system.entry.js} +1 -1
  143. package/pn-market-web-components/{p-702f06b7.system.entry.js → p-2870b0c5.system.entry.js} +1 -1
  144. package/pn-market-web-components/p-36654f2a.system.js +1 -0
  145. package/pn-market-web-components/p-3971ddb9.system.js +1 -0
  146. package/pn-market-web-components/{p-5d34bb8f.system.entry.js → p-401b57b1.system.entry.js} +1 -1
  147. package/pn-market-web-components/{p-7598c3ac.entry.js → p-40264b65.entry.js} +1 -1
  148. package/pn-market-web-components/{p-aea09ac6.entry.js → p-51df9292.entry.js} +1 -1
  149. package/pn-market-web-components/{p-a439468a.system.entry.js → p-57cc0679.system.entry.js} +1 -1
  150. package/pn-market-web-components/p-58e8d7d5.js +1 -0
  151. package/pn-market-web-components/{p-3ba257c5.entry.js → p-5c41acb2.entry.js} +1 -1
  152. package/pn-market-web-components/p-5d587499.js +1 -0
  153. package/pn-market-web-components/p-5e78891a.entry.js +1 -0
  154. package/pn-market-web-components/{p-42da096a.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
  155. package/pn-market-web-components/p-67887512.system.js +1 -0
  156. package/pn-market-web-components/{p-544f8fb9.entry.js → p-715d1ef7.entry.js} +1 -1
  157. package/pn-market-web-components/p-72195bd8.entry.js +1 -0
  158. package/pn-market-web-components/{p-4d5aa13e.entry.js → p-774b7a9f.entry.js} +1 -1
  159. package/pn-market-web-components/{p-802afa1f.system.entry.js → p-7b93d570.system.entry.js} +1 -1
  160. package/pn-market-web-components/{p-56ba3951.entry.js → p-7d75ea68.entry.js} +1 -1
  161. package/pn-market-web-components/p-7e494e9d.system.entry.js +1 -0
  162. package/pn-market-web-components/p-80dce81e.system.entry.js +1 -0
  163. package/pn-market-web-components/{p-acd9d186.system.entry.js → p-8144bcbc.system.entry.js} +1 -1
  164. package/pn-market-web-components/{p-ac5a749b.entry.js → p-81d764a0.entry.js} +1 -1
  165. package/pn-market-web-components/p-825b8fb8.system.js +1 -0
  166. package/pn-market-web-components/{p-99e471b8.js → p-84699999.js} +1 -1
  167. package/pn-market-web-components/{p-ab699e09.entry.js → p-86b271f4.entry.js} +1 -1
  168. package/pn-market-web-components/p-86f06e26.js +1 -0
  169. package/pn-market-web-components/{p-38e0dc75.system.entry.js → p-885bc8d7.system.entry.js} +1 -1
  170. package/pn-market-web-components/p-8fc7732d.system.entry.js +1 -0
  171. package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
  172. package/pn-market-web-components/p-9e8c5793.system.entry.js +1 -0
  173. package/pn-market-web-components/p-9edaf6b6.system.entry.js +1 -0
  174. package/pn-market-web-components/p-a5bc1695.system.js +1 -0
  175. package/pn-market-web-components/{p-b4f843da.system.js → p-a5f75560.system.js} +1 -1
  176. package/pn-market-web-components/{p-8897e421.entry.js → p-adc639c8.entry.js} +1 -1
  177. package/pn-market-web-components/{p-6fea1ae6.system.js → p-add7d76c.system.js} +1 -1
  178. package/pn-market-web-components/{p-9ae8e043.js → p-ae2bd55f.js} +1 -1
  179. package/pn-market-web-components/{p-2c361d9e.system.entry.js → p-aeb26d10.system.entry.js} +1 -1
  180. package/pn-market-web-components/{p-3552ae09.entry.js → p-b4f0228c.entry.js} +1 -1
  181. package/pn-market-web-components/p-bb626ab4.js +1 -0
  182. package/pn-market-web-components/p-c0c52dc6.entry.js +1 -0
  183. package/pn-market-web-components/{p-8325d608.entry.js → p-c240b614.entry.js} +1 -1
  184. package/pn-market-web-components/p-c34db063.entry.js +1 -0
  185. package/pn-market-web-components/{p-da2fa398.system.entry.js → p-c418bb48.system.entry.js} +1 -1
  186. package/pn-market-web-components/{p-3f8b459a.system.entry.js → p-d46d9b6e.system.entry.js} +1 -1
  187. package/pn-market-web-components/{p-0b796318.system.entry.js → p-d7776336.system.entry.js} +1 -1
  188. package/pn-market-web-components/{p-7fca7510.entry.js → p-e056d2c6.entry.js} +1 -1
  189. package/pn-market-web-components/p-e474b831.entry.js +1 -0
  190. package/pn-market-web-components/p-e5fffc92.entry.js +1 -0
  191. package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
  192. package/pn-market-web-components/p-f4cb2104.system.entry.js +1 -0
  193. package/pn-market-web-components/{p-00d6033e.entry.js → p-f774e2cc.entry.js} +1 -1
  194. package/pn-market-web-components/{p-4f0f8e9f.system.entry.js → p-f7b013a7.system.entry.js} +1 -1
  195. package/pn-market-web-components/{p-2b120338.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
  196. package/pn-market-web-components/p-fc6a09e0.system.entry.js +1 -0
  197. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  198. package/pn-market-web-components/pn-market-web-components.js +1 -1
  199. package/types/components/input/pn-marketweb-input/pn-marketweb-input.d.ts +32 -0
  200. package/types/components/input/{pn-filter-search/pn-filter-search.d.ts → pn-marketweb-search/pn-marketweb-search.d.ts} +9 -1
  201. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search-store.d.ts +11 -0
  202. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.d.ts +6 -0
  203. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types.d.ts +1 -0
  204. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.d.ts +2 -0
  205. package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +0 -2
  206. package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +0 -5
  207. package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +0 -1
  208. package/types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.d.ts +1 -0
  209. package/types/components.d.ts +156 -65
  210. package/cjs/pn-filter-search.cjs.entry.js +0 -69
  211. package/esm/pn-filter-search.entry.js +0 -65
  212. package/esm-es5/pn-filter-search.entry.js +0 -1
  213. package/esm-es5/pn-find-price-store-ddd3f427.js +0 -1
  214. package/pn-market-web-components/p-15836764.js +0 -1
  215. package/pn-market-web-components/p-1ccd3831.entry.js +0 -1
  216. package/pn-market-web-components/p-208a0a7b.entry.js +0 -1
  217. package/pn-market-web-components/p-28316927.js +0 -1
  218. package/pn-market-web-components/p-39ecfda9.system.entry.js +0 -1
  219. package/pn-market-web-components/p-39ff2013.system.entry.js +0 -1
  220. package/pn-market-web-components/p-4c9b1ae9.system.js +0 -1
  221. package/pn-market-web-components/p-4f8537fb.system.js +0 -1
  222. package/pn-market-web-components/p-58623439.entry.js +0 -1
  223. package/pn-market-web-components/p-66fb0f57.entry.js +0 -1
  224. package/pn-market-web-components/p-6df0b06e.entry.js +0 -1
  225. package/pn-market-web-components/p-731efb7b.system.entry.js +0 -1
  226. package/pn-market-web-components/p-7a7f380b.system.js +0 -1
  227. package/pn-market-web-components/p-87a4810e.system.entry.js +0 -1
  228. package/pn-market-web-components/p-ad5b20ce.js +0 -1
  229. package/pn-market-web-components/p-b4a0e5fd.system.entry.js +0 -1
  230. package/pn-market-web-components/p-b4b6ab95.system.js +0 -1
  231. package/pn-market-web-components/p-cf516409.js +0 -1
  232. package/pn-market-web-components/p-cfa3be4a.entry.js +0 -1
  233. package/pn-market-web-components/p-dc48d8f8.system.entry.js +0 -1
  234. package/pn-market-web-components/p-e732c60a.system.entry.js +0 -1
  235. package/pn-market-web-components/p-fbdc9ea5.system.entry.js +0 -1
  236. package/pn-market-web-components/p-fdad9fb6.entry.js +0 -1
  237. 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.5em;
22
+ margin-bottom: 0.8rem;
23
+ gap: 1.6rem;
24
+ flex-direction: column;
25
+ align-items: center;
17
26
  }
18
- pn-product-card [slot=title] > [slot=Biligast] {
19
- color: #005E41;
20
- background: #DCF6E7;
21
- border-radius: 0.37em;
22
- width: 6.3em;
23
- height: 2em;
24
- margin-left: 1.5em;
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-top: 0.25em;
48
+ padding: 0.6rem;
30
49
  }
31
- pn-product-card [slot=title] > [slot=Biligast] pn-icon {
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: row;
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: block;
87
- flex-direction: row;
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", null,
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 {
@@ -31,5 +31,5 @@ Primary.args = {
31
31
  source: 'https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx',
32
32
  language: 'sv',
33
33
  market: 'se',
34
- productid: 'expressletter'
34
+ productid: 'registered10000'
35
35
  };
@@ -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;