@postnord/pn-marketweb-components 3.5.3 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1509) hide show
  1. package/cjs/FetchHelper-2d4c697c.js +85 -0
  2. package/cjs/FetchHelper-2d4c697c.js.map +1 -0
  3. package/cjs/HeadingTag-19376e1f.js +12 -0
  4. package/cjs/HeadingTag-19376e1f.js.map +1 -0
  5. package/cjs/LocalStorageService-e1ee3fac.js +66 -0
  6. package/cjs/LocalStorageService-e1ee3fac.js.map +1 -0
  7. package/cjs/{FetchHelper-e951824f.js → MarketWebContextService-0fdc43c8.js} +1 -82
  8. package/cjs/MarketWebContextService-0fdc43c8.js.map +1 -0
  9. package/cjs/angle_up-049ec1d8.js +12 -0
  10. package/cjs/angle_up-049ec1d8.js.map +1 -0
  11. package/cjs/close-9e014a80.js +8 -0
  12. package/cjs/close-9e014a80.js.map +1 -0
  13. package/cjs/{index-1d8c9211.js → index-4067c6a5.js} +2 -2
  14. package/cjs/{index-1d8c9211.js.map → index-4067c6a5.js.map} +1 -1
  15. package/cjs/{index-34e1c673.js → index-b02670c2.js} +65 -8
  16. package/cjs/index-b02670c2.js.map +1 -0
  17. package/cjs/index.cjs.js +1 -1
  18. package/cjs/loader.cjs.js +2 -2
  19. package/cjs/pn-address-autofill.cjs.entry.js +5 -4
  20. package/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
  21. package/cjs/pn-animated-tile.cjs.entry.js +2 -2
  22. package/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
  23. package/cjs/pn-app-banner.cjs.entry.js +3 -3
  24. package/cjs/pn-app-banner.cjs.entry.js.map +1 -1
  25. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  26. package/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
  27. package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  28. package/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
  29. package/cjs/pn-breakpoints.cjs.entry.js +3 -3
  30. package/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
  31. package/cjs/pn-chart.cjs.entry.js +2 -2
  32. package/cjs/pn-chart.cjs.entry.js.map +1 -1
  33. package/cjs/pn-charts-card.cjs.entry.js +2 -2
  34. package/cjs/pn-charts-card.cjs.entry.js.map +1 -1
  35. package/cjs/pn-chat-message_2.cjs.entry.js +346 -0
  36. package/cjs/pn-chat-message_2.cjs.entry.js.map +1 -0
  37. package/cjs/pn-chat.cjs.entry.js +474 -0
  38. package/cjs/pn-chat.cjs.entry.js.map +1 -0
  39. package/cjs/pn-chat.service-eaf6ed50.js +157 -0
  40. package/cjs/pn-chat.service-eaf6ed50.js.map +1 -0
  41. package/cjs/pn-choice-button.cjs.entry.js +2 -2
  42. package/cjs/pn-choice-button.cjs.entry.js.map +1 -1
  43. package/cjs/pn-cta-block.cjs.entry.js +2 -2
  44. package/cjs/pn-cta-block.cjs.entry.js.map +1 -1
  45. package/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
  46. package/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
  47. package/cjs/pn-customernumber-selector.cjs.entry.js +4 -9
  48. package/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
  49. package/cjs/pn-date-and-time.cjs.entry.js +2 -2
  50. package/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
  51. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +2 -2
  52. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
  53. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
  54. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
  55. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
  56. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
  57. package/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
  58. package/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
  59. package/cjs/pn-find-price-result.cjs.entry.js +5 -5
  60. package/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
  61. package/cjs/{pn-find-price-store-051e931b.js → pn-find-price-store-0c8256c7.js} +2 -2
  62. package/cjs/{pn-find-price-store-051e931b.js.map → pn-find-price-store-0c8256c7.js.map} +1 -1
  63. package/cjs/pn-find-price.cjs.entry.js +6 -6
  64. package/cjs/pn-find-price.cjs.entry.js.map +1 -1
  65. package/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
  66. package/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
  67. package/cjs/{pn-find-service-and-price-store-3cec3d31.js → pn-find-service-and-price-store-13f060e0.js} +2 -2
  68. package/cjs/{pn-find-service-and-price-store-3cec3d31.js.map → pn-find-service-and-price-store-13f060e0.js.map} +1 -1
  69. package/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
  70. package/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
  71. package/cjs/pn-hero-block-international.cjs.entry.js +3 -3
  72. package/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
  73. package/cjs/pn-language-selector_9.cjs.entry.js +25 -27
  74. package/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
  75. package/cjs/pn-level-up-modal.cjs.entry.js +77 -0
  76. package/cjs/pn-level-up-modal.cjs.entry.js.map +1 -0
  77. package/cjs/pn-level-up.cjs.entry.js +139 -0
  78. package/cjs/pn-level-up.cjs.entry.js.map +1 -0
  79. package/cjs/pn-level-up.service-0e8e67c2.js +71 -0
  80. package/cjs/pn-level-up.service-0e8e67c2.js.map +1 -0
  81. package/cjs/pn-line-shape.cjs.entry.js +2 -2
  82. package/cjs/pn-line-shape.cjs.entry.js.map +1 -1
  83. package/cjs/pn-link-list.cjs.entry.js +3 -3
  84. package/cjs/pn-link-list.cjs.entry.js.map +1 -1
  85. package/cjs/pn-mainnav-link.cjs.entry.js +5 -5
  86. package/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
  87. package/cjs/{pn-mainnav-store-1a8153fd.js → pn-mainnav-store-5732f3ca.js} +2 -2
  88. package/cjs/{pn-mainnav-store-1a8153fd.js.map → pn-mainnav-store-5732f3ca.js.map} +1 -1
  89. package/cjs/pn-market-web-components.cjs.js +2 -2
  90. package/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
  91. package/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
  92. package/cjs/pn-marketweb-input.cjs.entry.js +2 -2
  93. package/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
  94. package/cjs/pn-marketweb-search.cjs.entry.js +6 -5
  95. package/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
  96. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +7 -10
  97. package/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
  98. package/cjs/{pn-marketweb-siteheader-login-button_5.cjs.entry.js → pn-marketweb-siteheader-login-button_4.cjs.entry.js} +8 -26
  99. package/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +1 -0
  100. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  101. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
  102. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +25 -0
  103. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +1 -0
  104. package/cjs/{pn-marketweb-siteheader-store-75853609.js → pn-marketweb-siteheader-store-ce9d9ac7.js} +2 -2
  105. package/cjs/{pn-marketweb-siteheader-store-75853609.js.map → pn-marketweb-siteheader-store-ce9d9ac7.js.map} +1 -1
  106. package/cjs/pn-marketweb-siteheader.cjs.entry.js +11 -10
  107. package/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
  108. package/cjs/pn-marketweb-table.cjs.entry.js +459 -0
  109. package/cjs/pn-marketweb-table.cjs.entry.js.map +1 -0
  110. package/cjs/pn-media-block.cjs.entry.js +6 -6
  111. package/cjs/pn-media-block.cjs.entry.js.map +1 -1
  112. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
  113. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
  114. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  115. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
  116. package/cjs/pn-multiple-input.cjs.entry.js +1 -1
  117. package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  118. package/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
  119. package/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
  120. package/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
  121. package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  122. package/cjs/pn-product-card_3.cjs.entry.js +5 -5
  123. package/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
  124. package/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
  125. package/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
  126. package/cjs/pn-product-pricelist.cjs.entry.js +6 -6
  127. package/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
  128. package/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
  129. package/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
  130. package/cjs/pn-product-tile.cjs.entry.js +3 -3
  131. package/cjs/pn-product-tile.cjs.entry.js.map +1 -1
  132. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
  133. package/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
  134. package/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
  135. package/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
  136. package/cjs/{pn-profile-modal-store-3b6fea24.js → pn-profile-modal-store-16f8092a.js} +2 -2
  137. package/cjs/{pn-profile-modal-store-3b6fea24.js.map → pn-profile-modal-store-16f8092a.js.map} +1 -1
  138. package/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
  139. package/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
  140. package/cjs/pn-profile-modal.cjs.entry.js +5 -5
  141. package/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
  142. package/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
  143. package/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
  144. package/cjs/pn-profile-selector.cjs.entry.js +3 -3
  145. package/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
  146. package/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
  147. package/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
  148. package/cjs/pn-proxio-findprice.cjs.entry.js +9 -8
  149. package/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
  150. package/cjs/pn-proxio-pricegroup.cjs.entry.js +6 -5
  151. package/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
  152. package/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
  153. package/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
  154. package/cjs/pn-qr-code-generator.cjs.entry.js +2945 -0
  155. package/cjs/pn-qr-code-generator.cjs.entry.js.map +1 -0
  156. package/cjs/pn-quick-cta.cjs.entry.js +2 -2
  157. package/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
  158. package/cjs/pn-quote-card.cjs.entry.js +2 -2
  159. package/cjs/pn-quote-card.cjs.entry.js.map +1 -1
  160. package/cjs/pn-scroll_2.cjs.entry.js +2 -2
  161. package/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
  162. package/cjs/pn-search.cjs.entry.js +54 -0
  163. package/cjs/pn-search.cjs.entry.js.map +1 -0
  164. package/cjs/pn-share-item.cjs.entry.js +2 -2
  165. package/cjs/pn-share-item.cjs.entry.js.map +1 -1
  166. package/cjs/pn-share.cjs.entry.js +2 -2
  167. package/cjs/pn-share.cjs.entry.js.map +1 -1
  168. package/cjs/pn-sidenav-level.cjs.entry.js +5 -5
  169. package/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
  170. package/cjs/pn-sidenav-link.cjs.entry.js +5 -5
  171. package/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
  172. package/cjs/{pn-sidenav-store-cf9c4996.js → pn-sidenav-store-236c8806.js} +2 -2
  173. package/cjs/{pn-sidenav-store-cf9c4996.js.map → pn-sidenav-store-236c8806.js.map} +1 -1
  174. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
  175. package/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
  176. package/cjs/pn-sidenav.cjs.entry.js +5 -5
  177. package/cjs/pn-sidenav.cjs.entry.js.map +1 -1
  178. package/cjs/pn-site-footer_3.cjs.entry.js +7 -7
  179. package/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
  180. package/cjs/pn-spotlight.cjs.entry.js +2 -2
  181. package/cjs/pn-spotlight.cjs.entry.js.map +1 -1
  182. package/cjs/pn-stats-info-data.cjs.entry.js +2 -2
  183. package/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
  184. package/cjs/pn-stats-info.cjs.entry.js +2 -2
  185. package/cjs/pn-stats-info.cjs.entry.js.map +1 -1
  186. package/cjs/pn-teaser-card.cjs.entry.js +5 -9
  187. package/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
  188. package/cjs/pn-titletag.cjs.entry.js +3 -3
  189. package/cjs/pn-titletag.cjs.entry.js.map +1 -1
  190. package/cjs/pn-usp-promoter.cjs.entry.js +3 -3
  191. package/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
  192. package/cjs/pn-usp-simple.cjs.entry.js +56 -0
  193. package/cjs/pn-usp-simple.cjs.entry.js.map +1 -0
  194. package/collection/collection-manifest.json +10 -1
  195. package/collection/components/animation/pn-animated-tile/pn-animated-tile.css +25 -0
  196. package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +25 -0
  197. package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +25 -0
  198. package/collection/components/cards/pn-quote-card/pn-quote-card.css +25 -0
  199. package/collection/components/cards/pn-teaser-card/pn-teaser-card.css +25 -0
  200. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +8 -11
  201. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
  202. package/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
  203. package/collection/components/charts/pn-chart/pn-chart.css +25 -0
  204. package/collection/components/charts/pn-charts-card/pn-charts-card.css +25 -0
  205. package/collection/components/cta/pn-cta-block/pn-cta-block.css +25 -0
  206. package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +25 -0
  207. package/collection/components/cta/pn-quick-cta/pn-quick-cta.css +25 -0
  208. package/collection/components/cta/pn-share/pn-share-item.css +25 -0
  209. package/collection/components/cta/pn-share/pn-share.css +25 -0
  210. package/collection/components/cta/pn-spotlight/pn-spotlight.css +25 -0
  211. package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +25 -0
  212. package/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +25 -0
  213. package/collection/components/input/pn-address-autofill/pn-address-autofill.css +25 -0
  214. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +25 -0
  215. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +25 -0
  216. package/collection/components/input/pn-choice-button/pn-choice-button.css +25 -0
  217. package/collection/components/input/pn-date-and-time/pn-date-and-time.css +25 -0
  218. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +25 -0
  219. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +25 -0
  220. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +25 -0
  221. package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +25 -0
  222. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +25 -0
  223. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +25 -0
  224. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +4 -3
  225. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
  226. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +25 -0
  227. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +25 -0
  228. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +50 -0
  229. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
  230. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
  231. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +25 -0
  232. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +25 -0
  233. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +25 -0
  234. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +1 -0
  235. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
  236. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +25 -0
  237. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
  238. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
  239. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +25 -0
  240. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +1 -37
  241. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
  242. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +25 -0
  243. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
  244. package/collection/components/media/pn-media-block/pn-media-block.css +25 -0
  245. package/collection/components/media/pn-media-block/pn-media-block.js +8 -8
  246. package/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
  247. package/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
  248. package/collection/components/minor/pn-app-banner/pn-app-banner.css +25 -0
  249. package/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
  250. package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +25 -0
  251. package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
  252. package/collection/components/minor/pn-swan/pn-swan.css +25 -0
  253. package/collection/components/minor/pn-swan/pn-swan.js +1 -1
  254. package/collection/components/minor/pn-titletag/pn-titletag.css +25 -0
  255. package/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
  256. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +50 -0
  257. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
  258. package/collection/components/navigation/pn-language-selector/pn-language-selector.css +50 -0
  259. package/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
  260. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +25 -0
  261. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
  262. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +25 -0
  263. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
  264. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +25 -0
  265. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
  266. package/collection/components/navigation/pn-mainnav/pn-mainnav.css +25 -0
  267. package/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
  268. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +25 -0
  269. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
  270. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +25 -0
  271. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
  272. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +25 -0
  273. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
  274. package/collection/components/navigation/pn-sidenav/pn-sidenav.css +25 -0
  275. package/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
  276. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +50 -0
  277. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
  278. package/collection/components/navigation/pn-site-footer/pn-site-footer.css +50 -0
  279. package/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
  280. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +25 -0
  281. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
  282. package/collection/components/navigation/pn-site-selector/pn-site-selector.css +25 -0
  283. package/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
  284. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +25 -0
  285. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
  286. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +25 -0
  287. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
  288. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +25 -0
  289. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
  290. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +25 -0
  291. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
  292. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +25 -0
  293. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
  294. package/collection/components/profile/pn-profile-modal/pn-profile-modal.css +25 -0
  295. package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
  296. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +25 -0
  297. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
  298. package/collection/components/profile/pn-profile-selector/pn-profile-selector.css +25 -0
  299. package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
  300. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +25 -0
  301. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
  302. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +146 -0
  303. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +118 -0
  304. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +1 -0
  305. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +219 -0
  306. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +1 -0
  307. package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +243 -0
  308. package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +1 -0
  309. package/collection/components/widgets/pn-chat/pn-chat.css +238 -0
  310. package/collection/components/widgets/pn-chat/pn-chat.js +840 -0
  311. package/collection/components/widgets/pn-chat/pn-chat.js.map +1 -0
  312. package/collection/components/widgets/pn-chat/pn-chat.models.js +2 -0
  313. package/collection/components/widgets/pn-chat/pn-chat.models.js.map +1 -0
  314. package/collection/components/widgets/pn-chat/pn-chat.service.js +151 -0
  315. package/collection/components/widgets/pn-chat/pn-chat.service.js.map +1 -0
  316. package/collection/components/widgets/pn-chat/pn-chat.stories.js +116 -0
  317. package/collection/components/widgets/pn-chat/pn-chat.stories.js.map +1 -0
  318. package/collection/components/widgets/pn-chat/translations.js +78 -0
  319. package/collection/components/widgets/pn-chat/translations.js.map +1 -0
  320. package/collection/components/widgets/pn-chat/types.js +2 -0
  321. package/collection/components/widgets/pn-chat/types.js.map +1 -0
  322. package/collection/components/widgets/pn-find-price/pn-find-price-result.css +25 -0
  323. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
  324. package/collection/components/widgets/pn-find-price/pn-find-price.css +25 -0
  325. package/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
  326. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +25 -0
  327. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
  328. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +25 -0
  329. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
  330. package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +25 -0
  331. package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
  332. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +94 -0
  333. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +262 -0
  334. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +1 -0
  335. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +31 -0
  336. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +1 -0
  337. package/collection/components/widgets/pn-level-up/pn-level-up.css +114 -0
  338. package/collection/components/widgets/pn-level-up/pn-level-up.js +476 -0
  339. package/collection/components/widgets/pn-level-up/pn-level-up.js.map +1 -0
  340. package/collection/components/widgets/pn-level-up/pn-level-up.models.js +2 -0
  341. package/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +1 -0
  342. package/collection/components/widgets/pn-level-up/pn-level-up.service.js +65 -0
  343. package/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +1 -0
  344. package/collection/components/widgets/pn-level-up/pn-level-up.stories.js +88 -0
  345. package/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +1 -0
  346. package/collection/components/widgets/pn-level-up/types.js +2 -0
  347. package/collection/components/widgets/pn-level-up/types.js.map +1 -0
  348. package/collection/components/widgets/pn-link-list/pn-link-list.css +25 -0
  349. package/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
  350. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +96 -0
  351. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +494 -0
  352. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +1 -0
  353. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +82 -0
  354. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +1 -0
  355. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +255 -0
  356. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +701 -0
  357. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +1 -0
  358. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +38 -0
  359. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +1 -0
  360. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +122 -0
  361. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +1 -0
  362. package/collection/components/widgets/pn-marketweb-table/translations.js +73 -0
  363. package/collection/components/widgets/pn-marketweb-table/translations.js.map +1 -0
  364. package/collection/components/widgets/pn-marketweb-table/types.js +2 -0
  365. package/collection/components/widgets/pn-marketweb-table/types.js.map +1 -0
  366. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +25 -0
  367. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
  368. package/collection/components/widgets/pn-product-card/pn-product-card-info.css +25 -0
  369. package/collection/components/widgets/pn-product-card/pn-product-card-price.css +25 -0
  370. package/collection/components/widgets/pn-product-card/pn-product-card.css +25 -0
  371. package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  372. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +25 -0
  373. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
  374. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +25 -0
  375. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
  376. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +25 -0
  377. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
  378. package/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +25 -0
  379. package/collection/components/widgets/pn-product-tile/pn-product-tile.css +25 -0
  380. package/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
  381. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +25 -0
  382. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
  383. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +25 -0
  384. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
  385. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +25 -0
  386. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
  387. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +25 -0
  388. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
  389. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +25 -0
  390. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
  391. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +25 -0
  392. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +25 -0
  393. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
  394. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +61 -0
  395. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +198 -0
  396. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +1 -0
  397. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +29 -0
  398. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +1 -0
  399. package/collection/components/widgets/pn-search/pn-search.css +140 -0
  400. package/collection/components/widgets/pn-search/pn-search.js +368 -0
  401. package/collection/components/widgets/pn-search/pn-search.js.map +1 -0
  402. package/collection/components/widgets/pn-search/pn-search.stories.js +54 -0
  403. package/collection/components/widgets/pn-search/pn-search.stories.js.map +1 -0
  404. package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +25 -0
  405. package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
  406. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.css +116 -0
  407. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.js +269 -0
  408. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.js.map +1 -0
  409. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.stories.js +63 -0
  410. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.stories.js.map +1 -0
  411. package/collection/globals/HeadingTag.js +2 -2
  412. package/collection/globals/HeadingTag.js.map +1 -1
  413. package/collection/globals/LocalStorageService.js +50 -0
  414. package/collection/globals/LocalStorageService.js.map +1 -0
  415. package/collection/globals/ScreensizeDetect.js +80 -0
  416. package/collection/globals/ScreensizeDetect.js.map +1 -0
  417. package/collection/globals/types.js +2 -0
  418. package/collection/globals/types.js.map +1 -0
  419. package/collection/utils/utils.js +11 -0
  420. package/collection/utils/utils.js.map +1 -1
  421. package/components/FetchHelper.js +1 -243
  422. package/components/FetchHelper.js.map +1 -1
  423. package/components/HeadingTag.js +10 -0
  424. package/components/HeadingTag.js.map +1 -0
  425. package/components/LocalStorageService.js +64 -0
  426. package/components/LocalStorageService.js.map +1 -0
  427. package/{esm/FetchHelper-746f2bb6.js → components/MarketWebContextService.js} +2 -82
  428. package/components/MarketWebContextService.js.map +1 -0
  429. package/components/angle_up.js +9 -0
  430. package/components/angle_up.js.map +1 -0
  431. package/components/close.js +6 -0
  432. package/components/close.js.map +1 -0
  433. package/components/pn-address-autofill.js +3 -2
  434. package/components/pn-address-autofill.js.map +1 -1
  435. package/components/pn-animated-tile.js +1 -1
  436. package/components/pn-animated-tile.js.map +1 -1
  437. package/components/pn-app-banner.js +2 -2
  438. package/components/pn-app-banner.js.map +1 -1
  439. package/components/pn-bonus-progressbar-level.js +1 -1
  440. package/components/pn-bonus-progressbar-level.js.map +1 -1
  441. package/components/pn-bonus-progressbar.js +1 -1
  442. package/components/pn-bonus-progressbar.js.map +1 -1
  443. package/components/pn-breakpoints.js +2 -2
  444. package/components/pn-breakpoints.js.map +1 -1
  445. package/components/pn-chart.js +1 -1
  446. package/components/pn-chart.js.map +1 -1
  447. package/components/pn-charts-card.js +1 -1
  448. package/components/pn-charts-card.js.map +1 -1
  449. package/components/pn-chat-message.d.ts +11 -0
  450. package/components/pn-chat-message.js +8 -0
  451. package/components/pn-chat-message.js.map +1 -0
  452. package/components/pn-chat-message2.js +69 -0
  453. package/components/pn-chat-message2.js.map +1 -0
  454. package/components/pn-chat.d.ts +11 -0
  455. package/components/pn-chat.js +534 -0
  456. package/components/pn-chat.js.map +1 -0
  457. package/components/pn-chat.service.js +155 -0
  458. package/components/pn-chat.service.js.map +1 -0
  459. package/components/pn-choice-button2.js +1 -1
  460. package/components/pn-choice-button2.js.map +1 -1
  461. package/components/pn-cta-block.js +1 -1
  462. package/components/pn-cta-block.js.map +1 -1
  463. package/components/pn-customernumber-selector-option.js +2 -2
  464. package/components/pn-customernumber-selector-option.js.map +1 -1
  465. package/components/pn-customernumber-selector.js +3 -8
  466. package/components/pn-customernumber-selector.js.map +1 -1
  467. package/components/pn-date-and-time.js +1 -1
  468. package/components/pn-date-and-time.js.map +1 -1
  469. package/components/pn-dropdown-choice-adds-row.js +1 -1
  470. package/components/pn-dropdown-choice-adds-row.js.map +1 -1
  471. package/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
  472. package/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
  473. package/components/pn-dropdown-with-multi-input-rows.js +1 -1
  474. package/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
  475. package/components/pn-filter-checkbox2.js +1 -1
  476. package/components/pn-filter-checkbox2.js.map +1 -1
  477. package/components/pn-find-price-result2.js +2 -2
  478. package/components/pn-find-price-result2.js.map +1 -1
  479. package/components/pn-find-price.js +3 -3
  480. package/components/pn-find-price.js.map +1 -1
  481. package/components/pn-find-service-and-price-result2.js +2 -2
  482. package/components/pn-find-service-and-price-result2.js.map +1 -1
  483. package/components/pn-find-service-and-price.js +2 -2
  484. package/components/pn-find-service-and-price.js.map +1 -1
  485. package/components/pn-hero-block-international.js +2 -2
  486. package/components/pn-hero-block-international.js.map +1 -1
  487. package/components/pn-language-selector-option2.js +2 -2
  488. package/components/pn-language-selector-option2.js.map +1 -1
  489. package/components/pn-language-selector2.js +2 -2
  490. package/components/pn-language-selector2.js.map +1 -1
  491. package/components/pn-level-up-modal.d.ts +11 -0
  492. package/components/pn-level-up-modal.js +8 -0
  493. package/components/pn-level-up-modal.js.map +1 -0
  494. package/components/pn-level-up-modal2.js +170 -0
  495. package/components/pn-level-up-modal2.js.map +1 -0
  496. package/components/pn-level-up.d.ts +11 -0
  497. package/components/pn-level-up.js +185 -0
  498. package/components/pn-level-up.js.map +1 -0
  499. package/components/pn-line-shape.js +1 -1
  500. package/components/pn-line-shape.js.map +1 -1
  501. package/components/pn-link-list.js +2 -2
  502. package/components/pn-link-list.js.map +1 -1
  503. package/components/pn-mainnav-level2.js +3 -3
  504. package/components/pn-mainnav-level2.js.map +1 -1
  505. package/components/pn-mainnav-link2.js +2 -2
  506. package/components/pn-mainnav-link2.js.map +1 -1
  507. package/components/pn-mainnav-list2.js +2 -2
  508. package/components/pn-mainnav-list2.js.map +1 -1
  509. package/components/pn-mainnav2.js +3 -5
  510. package/components/pn-mainnav2.js.map +1 -1
  511. package/components/pn-marketweb-carousel.d.ts +11 -0
  512. package/components/pn-marketweb-carousel.js +8 -0
  513. package/components/pn-marketweb-carousel.js.map +1 -0
  514. package/components/pn-marketweb-carousel2.js +326 -0
  515. package/components/pn-marketweb-carousel2.js.map +1 -0
  516. package/components/pn-marketweb-icon.js +2 -2
  517. package/components/pn-marketweb-icon.js.map +1 -1
  518. package/components/pn-marketweb-input2.js +1 -1
  519. package/components/pn-marketweb-input2.js.map +1 -1
  520. package/components/pn-marketweb-search.js +1 -125
  521. package/components/pn-marketweb-search.js.map +1 -1
  522. package/components/pn-marketweb-search2.js +130 -0
  523. package/components/pn-marketweb-search2.js.map +1 -0
  524. package/components/pn-marketweb-sitefooter.js +6 -9
  525. package/components/pn-marketweb-sitefooter.js.map +1 -1
  526. package/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
  527. package/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
  528. package/components/pn-marketweb-siteheader-login-links2.js +1 -1
  529. package/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
  530. package/components/pn-marketweb-siteheader-login-mypage-button.js +34 -1
  531. package/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
  532. package/components/pn-marketweb-siteheader-login-profileselection2.js +2 -1
  533. package/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
  534. package/components/pn-marketweb-siteheader-login2.js +8 -14
  535. package/components/pn-marketweb-siteheader-login2.js.map +1 -1
  536. package/components/pn-marketweb-siteheader-search2.js +1 -1
  537. package/components/pn-marketweb-siteheader-search2.js.map +1 -1
  538. package/components/pn-marketweb-siteheader-unified-login2.js +3 -13
  539. package/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
  540. package/components/pn-marketweb-siteheader.js +27 -32
  541. package/components/pn-marketweb-siteheader.js.map +1 -1
  542. package/components/pn-marketweb-table.d.ts +11 -0
  543. package/components/pn-marketweb-table.js +502 -0
  544. package/components/pn-marketweb-table.js.map +1 -0
  545. package/components/pn-media-block.js +6 -6
  546. package/components/pn-media-block.js.map +1 -1
  547. package/components/pn-multi-row-connected-dropdown-row2.js +1 -1
  548. package/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
  549. package/components/pn-multi-row-connected-dropdown.js +1 -1
  550. package/components/pn-multi-row-connected-dropdown.js.map +1 -1
  551. package/components/pn-parcel-tracker.js +1 -1
  552. package/components/pn-parcel-tracker.js.map +1 -1
  553. package/components/pn-pex-pricefinder.js +2 -2
  554. package/components/pn-pex-pricefinder.js.map +1 -1
  555. package/components/pn-product-card-info2.js +1 -1
  556. package/components/pn-product-card-info2.js.map +1 -1
  557. package/components/pn-product-card-price2.js +1 -1
  558. package/components/pn-product-card-price2.js.map +1 -1
  559. package/components/pn-product-card2.js +2 -2
  560. package/components/pn-product-card2.js.map +1 -1
  561. package/components/pn-product-pricelist-result.js +2 -2
  562. package/components/pn-product-pricelist-result.js.map +1 -1
  563. package/components/pn-product-pricelist.js +3 -3
  564. package/components/pn-product-pricelist.js.map +1 -1
  565. package/components/pn-product-tile-info2.js +2 -2
  566. package/components/pn-product-tile-info2.js.map +1 -1
  567. package/components/pn-product-tile-price2.js +1 -1
  568. package/components/pn-product-tile-price2.js.map +1 -1
  569. package/components/pn-product-tile.js +2 -2
  570. package/components/pn-product-tile.js.map +1 -1
  571. package/components/pn-profile-modal-customernumber.js +2 -2
  572. package/components/pn-profile-modal-customernumber.js.map +1 -1
  573. package/components/pn-profile-modal-profile.js +3 -3
  574. package/components/pn-profile-modal-profile.js.map +1 -1
  575. package/components/pn-profile-modal-type.js +2 -2
  576. package/components/pn-profile-modal-type.js.map +1 -1
  577. package/components/pn-profile-modal.js +2 -2
  578. package/components/pn-profile-modal.js.map +1 -1
  579. package/components/pn-profile-selector-option.js +2 -2
  580. package/components/pn-profile-selector-option.js.map +1 -1
  581. package/components/pn-profile-selector.js +2 -2
  582. package/components/pn-profile-selector.js.map +1 -1
  583. package/components/pn-proxio-findprice-result2.js +2 -2
  584. package/components/pn-proxio-findprice-result2.js.map +1 -1
  585. package/components/pn-proxio-findprice.js +6 -5
  586. package/components/pn-proxio-findprice.js.map +1 -1
  587. package/components/pn-proxio-pricegroup.js +4 -3
  588. package/components/pn-proxio-pricegroup.js.map +1 -1
  589. package/components/pn-proxio-productcard-description2.js +2 -2
  590. package/components/pn-proxio-productcard-description2.js.map +1 -1
  591. package/components/pn-proxio-productcard-information2.js +2 -2
  592. package/components/pn-proxio-productcard-information2.js.map +1 -1
  593. package/components/pn-proxio-productcard-pricelink2.js +1 -1
  594. package/components/pn-proxio-productcard-pricelink2.js.map +1 -1
  595. package/components/pn-proxio-productcard2.js +2 -2
  596. package/components/pn-proxio-productcard2.js.map +1 -1
  597. package/components/pn-qr-code-generator.d.ts +11 -0
  598. package/components/pn-qr-code-generator.js +8 -0
  599. package/components/pn-qr-code-generator.js.map +1 -0
  600. package/components/pn-qr-code-generator2.js +2967 -0
  601. package/components/pn-qr-code-generator2.js.map +1 -0
  602. package/components/pn-quick-cta.js +1 -1
  603. package/components/pn-quick-cta.js.map +1 -1
  604. package/components/pn-quote-card.js +1 -1
  605. package/components/pn-quote-card.js.map +1 -1
  606. package/components/pn-search.d.ts +11 -0
  607. package/components/pn-search.js +91 -0
  608. package/components/pn-search.js.map +1 -0
  609. package/components/pn-share-item2.js +1 -1
  610. package/components/pn-share-item2.js.map +1 -1
  611. package/components/pn-share.js +1 -1
  612. package/components/pn-share.js.map +1 -1
  613. package/components/pn-sidenav-level.js +2 -2
  614. package/components/pn-sidenav-level.js.map +1 -1
  615. package/components/pn-sidenav-link.js +2 -2
  616. package/components/pn-sidenav-link.js.map +1 -1
  617. package/components/pn-sidenav-togglebutton.js +2 -2
  618. package/components/pn-sidenav-togglebutton.js.map +1 -1
  619. package/components/pn-sidenav.js +2 -2
  620. package/components/pn-sidenav.js.map +1 -1
  621. package/components/pn-site-footer-col2.js +2 -2
  622. package/components/pn-site-footer-col2.js.map +1 -1
  623. package/components/pn-site-footer2.js +2 -2
  624. package/components/pn-site-footer2.js.map +1 -1
  625. package/components/pn-site-selector-item2.js +2 -2
  626. package/components/pn-site-selector-item2.js.map +1 -1
  627. package/components/pn-site-selector2.js +2 -2
  628. package/components/pn-site-selector2.js.map +1 -1
  629. package/components/pn-spotlight.js +1 -1
  630. package/components/pn-spotlight.js.map +1 -1
  631. package/components/pn-stats-info-data2.js +1 -1
  632. package/components/pn-stats-info-data2.js.map +1 -1
  633. package/components/pn-stats-info.js +1 -1
  634. package/components/pn-stats-info.js.map +1 -1
  635. package/components/pn-swan2.js +2 -2
  636. package/components/pn-swan2.js.map +1 -1
  637. package/components/pn-teaser-card.js +5 -9
  638. package/components/pn-teaser-card.js.map +1 -1
  639. package/components/pn-titletag2.js +2 -2
  640. package/components/pn-titletag2.js.map +1 -1
  641. package/components/pn-usp-promoter.js +2 -2
  642. package/components/pn-usp-promoter.js.map +1 -1
  643. package/components/pn-usp-simple.d.ts +11 -0
  644. package/components/pn-usp-simple.js +82 -0
  645. package/components/pn-usp-simple.js.map +1 -0
  646. package/components/pn-video-overlay2.js +1 -1
  647. package/components/pn-video-overlay2.js.map +1 -1
  648. package/esm/FetchHelper-4789695a.js +83 -0
  649. package/esm/FetchHelper-4789695a.js.map +1 -0
  650. package/esm/HeadingTag-e20016ab.js +10 -0
  651. package/esm/HeadingTag-e20016ab.js.map +1 -0
  652. package/esm/LocalStorageService-78b1794d.js +64 -0
  653. package/esm/LocalStorageService-78b1794d.js.map +1 -0
  654. package/esm/MarketWebContextService-16c15670.js +245 -0
  655. package/esm/MarketWebContextService-16c15670.js.map +1 -0
  656. package/esm/angle_up-b5f955ea.js +9 -0
  657. package/esm/angle_up-b5f955ea.js.map +1 -0
  658. package/esm/close-9e7bd787.js +6 -0
  659. package/esm/close-9e7bd787.js.map +1 -0
  660. package/esm/{index-89124075.js → index-ae60ebec.js} +2 -2
  661. package/esm/{index-89124075.js.map → index-ae60ebec.js.map} +1 -1
  662. package/esm/{index-51d67461.js → index-c311acd6.js} +65 -9
  663. package/esm/index-c311acd6.js.map +1 -0
  664. package/esm/index.js +1 -1
  665. package/esm/loader.js +3 -3
  666. package/esm/pn-address-autofill.entry.js +4 -3
  667. package/esm/pn-address-autofill.entry.js.map +1 -1
  668. package/esm/pn-animated-tile.entry.js +2 -2
  669. package/esm/pn-animated-tile.entry.js.map +1 -1
  670. package/esm/pn-app-banner.entry.js +3 -3
  671. package/esm/pn-app-banner.entry.js.map +1 -1
  672. package/esm/pn-bonus-progressbar-level.entry.js +2 -2
  673. package/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
  674. package/esm/pn-bonus-progressbar.entry.js +2 -2
  675. package/esm/pn-bonus-progressbar.entry.js.map +1 -1
  676. package/esm/pn-breakpoints.entry.js +3 -3
  677. package/esm/pn-breakpoints.entry.js.map +1 -1
  678. package/esm/pn-chart.entry.js +2 -2
  679. package/esm/pn-chart.entry.js.map +1 -1
  680. package/esm/pn-charts-card.entry.js +2 -2
  681. package/esm/pn-charts-card.entry.js.map +1 -1
  682. package/esm/pn-chat-message_2.entry.js +341 -0
  683. package/esm/pn-chat-message_2.entry.js.map +1 -0
  684. package/esm/pn-chat.entry.js +470 -0
  685. package/esm/pn-chat.entry.js.map +1 -0
  686. package/esm/pn-chat.service-f4037d6f.js +155 -0
  687. package/esm/pn-chat.service-f4037d6f.js.map +1 -0
  688. package/esm/pn-choice-button.entry.js +2 -2
  689. package/esm/pn-choice-button.entry.js.map +1 -1
  690. package/esm/pn-cta-block.entry.js +2 -2
  691. package/esm/pn-cta-block.entry.js.map +1 -1
  692. package/esm/pn-customernumber-selector-option.entry.js +3 -3
  693. package/esm/pn-customernumber-selector-option.entry.js.map +1 -1
  694. package/esm/pn-customernumber-selector.entry.js +4 -9
  695. package/esm/pn-customernumber-selector.entry.js.map +1 -1
  696. package/esm/pn-date-and-time.entry.js +2 -2
  697. package/esm/pn-date-and-time.entry.js.map +1 -1
  698. package/esm/pn-dropdown-choice-adds-row.entry.js +2 -2
  699. package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
  700. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
  701. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
  702. package/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
  703. package/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
  704. package/esm/pn-filter-checkbox.entry.js +2 -2
  705. package/esm/pn-filter-checkbox.entry.js.map +1 -1
  706. package/esm/pn-find-price-result.entry.js +5 -5
  707. package/esm/pn-find-price-result.entry.js.map +1 -1
  708. package/esm/{pn-find-price-store-c9a9d3d4.js → pn-find-price-store-f97f2325.js} +2 -2
  709. package/esm/{pn-find-price-store-c9a9d3d4.js.map → pn-find-price-store-f97f2325.js.map} +1 -1
  710. package/esm/pn-find-price.entry.js +6 -6
  711. package/esm/pn-find-price.entry.js.map +1 -1
  712. package/esm/pn-find-service-and-price-result.entry.js +5 -5
  713. package/esm/pn-find-service-and-price-result.entry.js.map +1 -1
  714. package/esm/{pn-find-service-and-price-store-60aa5801.js → pn-find-service-and-price-store-6553566d.js} +2 -2
  715. package/esm/{pn-find-service-and-price-store-60aa5801.js.map → pn-find-service-and-price-store-6553566d.js.map} +1 -1
  716. package/esm/pn-find-service-and-price.entry.js +5 -5
  717. package/esm/pn-find-service-and-price.entry.js.map +1 -1
  718. package/esm/pn-hero-block-international.entry.js +3 -3
  719. package/esm/pn-hero-block-international.entry.js.map +1 -1
  720. package/esm/pn-language-selector_9.entry.js +25 -27
  721. package/esm/pn-language-selector_9.entry.js.map +1 -1
  722. package/esm/pn-level-up-modal.entry.js +73 -0
  723. package/esm/pn-level-up-modal.entry.js.map +1 -0
  724. package/esm/pn-level-up.entry.js +135 -0
  725. package/esm/pn-level-up.entry.js.map +1 -0
  726. package/esm/pn-level-up.service-5c602f23.js +69 -0
  727. package/esm/pn-level-up.service-5c602f23.js.map +1 -0
  728. package/esm/pn-line-shape.entry.js +2 -2
  729. package/esm/pn-line-shape.entry.js.map +1 -1
  730. package/esm/pn-link-list.entry.js +3 -3
  731. package/esm/pn-link-list.entry.js.map +1 -1
  732. package/esm/pn-mainnav-link.entry.js +5 -5
  733. package/esm/pn-mainnav-link.entry.js.map +1 -1
  734. package/esm/{pn-mainnav-store-9c42bc66.js → pn-mainnav-store-23387019.js} +2 -2
  735. package/esm/{pn-mainnav-store-9c42bc66.js.map → pn-mainnav-store-23387019.js.map} +1 -1
  736. package/esm/pn-market-web-components.js +3 -3
  737. package/esm/pn-marketweb-icon.entry.js +3 -3
  738. package/esm/pn-marketweb-icon.entry.js.map +1 -1
  739. package/esm/pn-marketweb-input.entry.js +2 -2
  740. package/esm/pn-marketweb-input.entry.js.map +1 -1
  741. package/esm/pn-marketweb-search.entry.js +6 -5
  742. package/esm/pn-marketweb-search.entry.js.map +1 -1
  743. package/esm/pn-marketweb-sitefooter.entry.js +6 -9
  744. package/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
  745. package/esm/{pn-marketweb-siteheader-login-button_5.entry.js → pn-marketweb-siteheader-login-button_4.entry.js} +9 -26
  746. package/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +1 -0
  747. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  748. package/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
  749. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +21 -0
  750. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +1 -0
  751. package/esm/{pn-marketweb-siteheader-store-91f74255.js → pn-marketweb-siteheader-store-f60eb1e4.js} +2 -2
  752. package/esm/{pn-marketweb-siteheader-store-91f74255.js.map → pn-marketweb-siteheader-store-f60eb1e4.js.map} +1 -1
  753. package/esm/pn-marketweb-siteheader.entry.js +10 -9
  754. package/esm/pn-marketweb-siteheader.entry.js.map +1 -1
  755. package/esm/pn-marketweb-table.entry.js +455 -0
  756. package/esm/pn-marketweb-table.entry.js.map +1 -0
  757. package/esm/pn-media-block.entry.js +6 -6
  758. package/esm/pn-media-block.entry.js.map +1 -1
  759. package/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
  760. package/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
  761. package/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  762. package/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
  763. package/esm/pn-multiple-input.entry.js +1 -1
  764. package/esm/pn-parcel-tracker.entry.js +2 -2
  765. package/esm/pn-parcel-tracker.entry.js.map +1 -1
  766. package/esm/pn-pex-pricefinder.entry.js +3 -3
  767. package/esm/pn-pex-pricefinder.entry.js.map +1 -1
  768. package/esm/pn-play-on-scroll.entry.js +1 -1
  769. package/esm/pn-product-card_3.entry.js +5 -5
  770. package/esm/pn-product-card_3.entry.js.map +1 -1
  771. package/esm/pn-product-pricelist-result.entry.js +4 -4
  772. package/esm/pn-product-pricelist-result.entry.js.map +1 -1
  773. package/esm/pn-product-pricelist.entry.js +6 -6
  774. package/esm/pn-product-pricelist.entry.js.map +1 -1
  775. package/esm/pn-product-tile-info_2.entry.js +4 -4
  776. package/esm/pn-product-tile-info_2.entry.js.map +1 -1
  777. package/esm/pn-product-tile.entry.js +3 -3
  778. package/esm/pn-product-tile.entry.js.map +1 -1
  779. package/esm/pn-profile-modal-customernumber.entry.js +3 -3
  780. package/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
  781. package/esm/pn-profile-modal-profile.entry.js +6 -6
  782. package/esm/pn-profile-modal-profile.entry.js.map +1 -1
  783. package/esm/{pn-profile-modal-store-4655b124.js → pn-profile-modal-store-5d651bd5.js} +2 -2
  784. package/esm/{pn-profile-modal-store-4655b124.js.map → pn-profile-modal-store-5d651bd5.js.map} +1 -1
  785. package/esm/pn-profile-modal-type.entry.js +5 -5
  786. package/esm/pn-profile-modal-type.entry.js.map +1 -1
  787. package/esm/pn-profile-modal.entry.js +5 -5
  788. package/esm/pn-profile-modal.entry.js.map +1 -1
  789. package/esm/pn-profile-selector-option.entry.js +3 -3
  790. package/esm/pn-profile-selector-option.entry.js.map +1 -1
  791. package/esm/pn-profile-selector.entry.js +3 -3
  792. package/esm/pn-profile-selector.entry.js.map +1 -1
  793. package/esm/pn-proxio-findprice-result.entry.js +3 -3
  794. package/esm/pn-proxio-findprice-result.entry.js.map +1 -1
  795. package/esm/pn-proxio-findprice.entry.js +8 -7
  796. package/esm/pn-proxio-findprice.entry.js.map +1 -1
  797. package/esm/pn-proxio-pricegroup.entry.js +5 -4
  798. package/esm/pn-proxio-pricegroup.entry.js.map +1 -1
  799. package/esm/pn-proxio-productcard_4.entry.js +8 -8
  800. package/esm/pn-proxio-productcard_4.entry.js.map +1 -1
  801. package/esm/pn-qr-code-generator.entry.js +2941 -0
  802. package/esm/pn-qr-code-generator.entry.js.map +1 -0
  803. package/esm/pn-quick-cta.entry.js +2 -2
  804. package/esm/pn-quick-cta.entry.js.map +1 -1
  805. package/esm/pn-quote-card.entry.js +2 -2
  806. package/esm/pn-quote-card.entry.js.map +1 -1
  807. package/esm/pn-scroll_2.entry.js +2 -2
  808. package/esm/pn-scroll_2.entry.js.map +1 -1
  809. package/esm/pn-search.entry.js +50 -0
  810. package/esm/pn-search.entry.js.map +1 -0
  811. package/esm/pn-share-item.entry.js +2 -2
  812. package/esm/pn-share-item.entry.js.map +1 -1
  813. package/esm/pn-share.entry.js +2 -2
  814. package/esm/pn-share.entry.js.map +1 -1
  815. package/esm/pn-sidenav-level.entry.js +5 -5
  816. package/esm/pn-sidenav-level.entry.js.map +1 -1
  817. package/esm/pn-sidenav-link.entry.js +5 -5
  818. package/esm/pn-sidenav-link.entry.js.map +1 -1
  819. package/esm/{pn-sidenav-store-85bdb1e6.js → pn-sidenav-store-e2038d79.js} +2 -2
  820. package/esm/{pn-sidenav-store-85bdb1e6.js.map → pn-sidenav-store-e2038d79.js.map} +1 -1
  821. package/esm/pn-sidenav-togglebutton.entry.js +5 -5
  822. package/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
  823. package/esm/pn-sidenav.entry.js +5 -5
  824. package/esm/pn-sidenav.entry.js.map +1 -1
  825. package/esm/pn-site-footer_3.entry.js +7 -7
  826. package/esm/pn-site-footer_3.entry.js.map +1 -1
  827. package/esm/pn-spotlight.entry.js +2 -2
  828. package/esm/pn-spotlight.entry.js.map +1 -1
  829. package/esm/pn-stats-info-data.entry.js +2 -2
  830. package/esm/pn-stats-info-data.entry.js.map +1 -1
  831. package/esm/pn-stats-info.entry.js +2 -2
  832. package/esm/pn-stats-info.entry.js.map +1 -1
  833. package/esm/pn-teaser-card.entry.js +5 -9
  834. package/esm/pn-teaser-card.entry.js.map +1 -1
  835. package/esm/pn-titletag.entry.js +3 -3
  836. package/esm/pn-titletag.entry.js.map +1 -1
  837. package/esm/pn-usp-promoter.entry.js +3 -3
  838. package/esm/pn-usp-promoter.entry.js.map +1 -1
  839. package/esm/pn-usp-simple.entry.js +52 -0
  840. package/esm/pn-usp-simple.entry.js.map +1 -0
  841. package/package.json +5 -3
  842. package/pn-market-web-components/index.esm.js +1 -1
  843. package/pn-market-web-components/index.esm.js.map +1 -1
  844. package/pn-market-web-components/p-015127bf.entry.js +2 -0
  845. package/pn-market-web-components/{p-c5772021.entry.js.map → p-015127bf.entry.js.map} +1 -1
  846. package/pn-market-web-components/p-04107723.entry.js +2 -0
  847. package/pn-market-web-components/p-04107723.entry.js.map +1 -0
  848. package/pn-market-web-components/p-08b473e0.entry.js +2 -0
  849. package/pn-market-web-components/{p-a38118be.entry.js.map → p-08b473e0.entry.js.map} +1 -1
  850. package/pn-market-web-components/p-0b5a125d.entry.js +2 -0
  851. package/pn-market-web-components/p-0b5a125d.entry.js.map +1 -0
  852. package/pn-market-web-components/p-0b920554.js +2 -0
  853. package/pn-market-web-components/p-0b920554.js.map +1 -0
  854. package/pn-market-web-components/p-0fc01d3f.entry.js +2 -0
  855. package/pn-market-web-components/{p-4fa5bc85.entry.js.map → p-0fc01d3f.entry.js.map} +1 -1
  856. package/pn-market-web-components/p-10776075.entry.js +2 -0
  857. package/pn-market-web-components/p-10776075.entry.js.map +1 -0
  858. package/pn-market-web-components/p-17c43a96.entry.js +2 -0
  859. package/pn-market-web-components/p-17c43a96.entry.js.map +1 -0
  860. package/pn-market-web-components/p-19bbac6d.entry.js +2 -0
  861. package/pn-market-web-components/{p-ea3d6f7e.entry.js.map → p-19bbac6d.entry.js.map} +1 -1
  862. package/pn-market-web-components/p-230ef9aa.entry.js +2 -0
  863. package/pn-market-web-components/{p-a419cd91.entry.js.map → p-230ef9aa.entry.js.map} +1 -1
  864. package/pn-market-web-components/p-268dc1fa.entry.js +2 -0
  865. package/pn-market-web-components/p-268dc1fa.entry.js.map +1 -0
  866. package/pn-market-web-components/p-28d2f7fa.entry.js +2 -0
  867. package/pn-market-web-components/p-28d2f7fa.entry.js.map +1 -0
  868. package/pn-market-web-components/p-292db484.entry.js +2 -0
  869. package/pn-market-web-components/{p-76e6708b.entry.js.map → p-292db484.entry.js.map} +1 -1
  870. package/pn-market-web-components/p-2a58d83b.entry.js +2 -0
  871. package/pn-market-web-components/{p-55643d76.entry.js.map → p-2a58d83b.entry.js.map} +1 -1
  872. package/pn-market-web-components/p-2c19edca.entry.js +2 -0
  873. package/pn-market-web-components/{p-72dbca40.entry.js.map → p-2c19edca.entry.js.map} +1 -1
  874. package/pn-market-web-components/p-2fd60147.entry.js +2 -0
  875. package/pn-market-web-components/p-2fd60147.entry.js.map +1 -0
  876. package/pn-market-web-components/p-3478f368.js +2 -0
  877. package/pn-market-web-components/p-3478f368.js.map +1 -0
  878. package/pn-market-web-components/p-34a98554.entry.js +2 -0
  879. package/pn-market-web-components/{p-cf39491b.entry.js.map → p-34a98554.entry.js.map} +1 -1
  880. package/pn-market-web-components/p-35847eda.entry.js +2 -0
  881. package/pn-market-web-components/{p-e6e012fb.entry.js.map → p-35847eda.entry.js.map} +1 -1
  882. package/pn-market-web-components/p-366fd15a.js +2 -0
  883. package/pn-market-web-components/p-366fd15a.js.map +1 -0
  884. package/pn-market-web-components/p-389a94e7.entry.js +2 -0
  885. package/pn-market-web-components/{p-190c6938.entry.js.map → p-389a94e7.entry.js.map} +1 -1
  886. package/pn-market-web-components/p-39b75c62.entry.js +2 -0
  887. package/pn-market-web-components/{p-530274ae.entry.js.map → p-39b75c62.entry.js.map} +1 -1
  888. package/pn-market-web-components/p-3d10bc37.entry.js +2 -0
  889. package/pn-market-web-components/{p-45d1e1be.entry.js.map → p-3d10bc37.entry.js.map} +1 -1
  890. package/pn-market-web-components/p-3e197670.entry.js +2 -0
  891. package/pn-market-web-components/{p-6a5f7dee.entry.js.map → p-3e197670.entry.js.map} +1 -1
  892. package/pn-market-web-components/p-40bce1b1.entry.js +2 -0
  893. package/pn-market-web-components/p-40bce1b1.entry.js.map +1 -0
  894. package/pn-market-web-components/p-41cdac85.entry.js +2 -0
  895. package/pn-market-web-components/{p-65ab3003.entry.js.map → p-41cdac85.entry.js.map} +1 -1
  896. package/pn-market-web-components/p-4aedb76c.entry.js +2 -0
  897. package/pn-market-web-components/{p-ea7b0d21.entry.js.map → p-4aedb76c.entry.js.map} +1 -1
  898. package/pn-market-web-components/p-4e924d13.entry.js +2 -0
  899. package/pn-market-web-components/p-4e924d13.entry.js.map +1 -0
  900. package/pn-market-web-components/p-4f639380.entry.js +2 -0
  901. package/pn-market-web-components/{p-aeeabb32.entry.js.map → p-4f639380.entry.js.map} +1 -1
  902. package/pn-market-web-components/p-51f136f3.entry.js +2 -0
  903. package/pn-market-web-components/p-51f136f3.entry.js.map +1 -0
  904. package/pn-market-web-components/p-542f949d.entry.js +2 -0
  905. package/pn-market-web-components/{p-77a35f5e.entry.js.map → p-542f949d.entry.js.map} +1 -1
  906. package/pn-market-web-components/p-5a981927.entry.js +2 -0
  907. package/pn-market-web-components/{p-b35cdbac.entry.js.map → p-5a981927.entry.js.map} +1 -1
  908. package/pn-market-web-components/p-5f4ccd8a.js +2 -0
  909. package/pn-market-web-components/p-5f4ccd8a.js.map +1 -0
  910. package/pn-market-web-components/p-60b77eed.entry.js +2 -0
  911. package/pn-market-web-components/{p-e916e99d.entry.js.map → p-60b77eed.entry.js.map} +1 -1
  912. package/pn-market-web-components/p-619f2143.entry.js +2 -0
  913. package/pn-market-web-components/{p-a6866467.entry.js.map → p-619f2143.entry.js.map} +1 -1
  914. package/pn-market-web-components/p-61bd81d7.entry.js +2 -0
  915. package/pn-market-web-components/{p-8c26b98d.entry.js.map → p-61bd81d7.entry.js.map} +1 -1
  916. package/pn-market-web-components/p-64851da0.entry.js +2 -0
  917. package/pn-market-web-components/{p-776f3d51.entry.js.map → p-64851da0.entry.js.map} +1 -1
  918. package/pn-market-web-components/p-659a4db5.entry.js +2 -0
  919. package/pn-market-web-components/{p-231b97e1.entry.js.map → p-659a4db5.entry.js.map} +1 -1
  920. package/pn-market-web-components/p-65a046be.entry.js +2 -0
  921. package/pn-market-web-components/{p-0ec8d040.entry.js.map → p-65a046be.entry.js.map} +1 -1
  922. package/pn-market-web-components/p-66da6e15.entry.js +2 -0
  923. package/pn-market-web-components/{p-62cabd1e.entry.js.map → p-66da6e15.entry.js.map} +1 -1
  924. package/pn-market-web-components/{p-65f243c1.js → p-6b1d045c.js} +2 -2
  925. package/pn-market-web-components/p-6b1d045c.js.map +1 -0
  926. package/pn-market-web-components/p-71db6836.entry.js +2 -0
  927. package/pn-market-web-components/{p-3fb8e665.entry.js.map → p-71db6836.entry.js.map} +1 -1
  928. package/pn-market-web-components/p-72828265.js +2 -0
  929. package/pn-market-web-components/p-72f57a04.entry.js +2 -0
  930. package/pn-market-web-components/{p-25d53df2.entry.js.map → p-72f57a04.entry.js.map} +1 -1
  931. package/pn-market-web-components/p-763a4e13.entry.js +2 -0
  932. package/pn-market-web-components/{p-fc157a1e.entry.js.map → p-763a4e13.entry.js.map} +1 -1
  933. package/pn-market-web-components/{p-e09a907b.js → p-793e1339.js} +2 -2
  934. package/pn-market-web-components/p-79e4715c.entry.js +2 -0
  935. package/pn-market-web-components/{p-6647d2c4.entry.js.map → p-79e4715c.entry.js.map} +1 -1
  936. package/pn-market-web-components/p-7b4f9fdf.entry.js +2 -0
  937. package/pn-market-web-components/{p-066e9db9.entry.js.map → p-7b4f9fdf.entry.js.map} +1 -1
  938. package/pn-market-web-components/p-7b7629c5.entry.js +2 -0
  939. package/pn-market-web-components/{p-24086c59.entry.js.map → p-7b7629c5.entry.js.map} +1 -1
  940. package/pn-market-web-components/p-7db6ef34.entry.js +2 -0
  941. package/pn-market-web-components/{p-4e3059dd.entry.js.map → p-7db6ef34.entry.js.map} +1 -1
  942. package/pn-market-web-components/p-809ed802.entry.js +2 -0
  943. package/pn-market-web-components/p-809ed802.entry.js.map +1 -0
  944. package/pn-market-web-components/p-82546a44.js +3 -0
  945. package/pn-market-web-components/p-82546a44.js.map +1 -0
  946. package/pn-market-web-components/p-84fc8e05.entry.js +2 -0
  947. package/pn-market-web-components/{p-25dfc349.entry.js.map → p-84fc8e05.entry.js.map} +1 -1
  948. package/pn-market-web-components/p-85b42b44.entry.js +2 -0
  949. package/pn-market-web-components/{p-e8278e9e.entry.js.map → p-85b42b44.entry.js.map} +1 -1
  950. package/pn-market-web-components/{p-2509d18d.js → p-8836de82.js} +2 -2
  951. package/pn-market-web-components/{p-560e5291.entry.js → p-8a651698.entry.js} +2 -2
  952. package/pn-market-web-components/p-8d78b631.js +2 -0
  953. package/pn-market-web-components/p-8d78b631.js.map +1 -0
  954. package/pn-market-web-components/p-8d874454.entry.js +2 -0
  955. package/pn-market-web-components/{p-b5a0275d.entry.js.map → p-8d874454.entry.js.map} +1 -1
  956. package/pn-market-web-components/p-8d98f709.entry.js +2 -0
  957. package/pn-market-web-components/{p-74fd7435.entry.js.map → p-8d98f709.entry.js.map} +1 -1
  958. package/pn-market-web-components/p-9088d3f5.entry.js +2 -0
  959. package/pn-market-web-components/{p-a72c2729.entry.js.map → p-9088d3f5.entry.js.map} +1 -1
  960. package/pn-market-web-components/p-920ce5f2.entry.js +2 -0
  961. package/pn-market-web-components/{p-15d70aaf.entry.js.map → p-920ce5f2.entry.js.map} +1 -1
  962. package/pn-market-web-components/{p-959a37d9.js → p-930e2943.js} +2 -2
  963. package/pn-market-web-components/p-9454075f.entry.js +2 -0
  964. package/pn-market-web-components/{p-45b8cadb.entry.js.map → p-9454075f.entry.js.map} +1 -1
  965. package/pn-market-web-components/p-95d32ab4.entry.js +2 -0
  966. package/pn-market-web-components/{p-758f1b53.entry.js.map → p-95d32ab4.entry.js.map} +1 -1
  967. package/pn-market-web-components/p-a079c496.js +2 -0
  968. package/pn-market-web-components/p-a079c496.js.map +1 -0
  969. package/pn-market-web-components/{p-eaee1dd6.entry.js → p-a73e4811.entry.js} +2 -2
  970. package/pn-market-web-components/{p-eaee1dd6.entry.js.map → p-a73e4811.entry.js.map} +1 -1
  971. package/pn-market-web-components/p-ad282b7c.entry.js +2 -0
  972. package/pn-market-web-components/{p-4d2ca281.entry.js.map → p-ad282b7c.entry.js.map} +1 -1
  973. package/pn-market-web-components/{p-155c2049.entry.js → p-ad9a7633.entry.js} +2 -2
  974. package/pn-market-web-components/p-b9590d81.entry.js +2 -0
  975. package/pn-market-web-components/{p-59549c74.entry.js.map → p-b9590d81.entry.js.map} +1 -1
  976. package/pn-market-web-components/p-c4e353b3.entry.js +2 -0
  977. package/pn-market-web-components/{p-5a1b6e6d.entry.js.map → p-c4e353b3.entry.js.map} +1 -1
  978. package/pn-market-web-components/p-c89cb749.entry.js +2 -0
  979. package/pn-market-web-components/{p-95519556.entry.js.map → p-c89cb749.entry.js.map} +1 -1
  980. package/pn-market-web-components/p-c9038b03.entry.js +2 -0
  981. package/pn-market-web-components/{p-64d0dbba.entry.js.map → p-c9038b03.entry.js.map} +1 -1
  982. package/pn-market-web-components/p-cbb1d57d.entry.js +2 -0
  983. package/pn-market-web-components/{p-6fdd5b5a.entry.js.map → p-cbb1d57d.entry.js.map} +1 -1
  984. package/pn-market-web-components/p-cc7c596e.entry.js +2 -0
  985. package/pn-market-web-components/p-cc7c596e.entry.js.map +1 -0
  986. package/pn-market-web-components/p-cda742ba.entry.js +2 -0
  987. package/pn-market-web-components/p-cda742ba.entry.js.map +1 -0
  988. package/pn-market-web-components/p-ce87ff8a.entry.js +2 -0
  989. package/pn-market-web-components/{p-e2e3ac2f.entry.js.map → p-ce87ff8a.entry.js.map} +1 -1
  990. package/pn-market-web-components/p-cf8a1fb9.js +2 -0
  991. package/pn-market-web-components/p-cf8a1fb9.js.map +1 -0
  992. package/pn-market-web-components/p-d17af75d.entry.js +2 -0
  993. package/pn-market-web-components/{p-b693f78a.entry.js.map → p-d17af75d.entry.js.map} +1 -1
  994. package/pn-market-web-components/p-d5c45da2.entry.js +2 -0
  995. package/pn-market-web-components/{p-e5ae757f.entry.js.map → p-d5c45da2.entry.js.map} +1 -1
  996. package/pn-market-web-components/p-d7170c0e.entry.js +2 -0
  997. package/pn-market-web-components/{p-d0a085cc.entry.js.map → p-d7170c0e.entry.js.map} +1 -1
  998. package/pn-market-web-components/p-d75a2f7c.entry.js +2 -0
  999. package/pn-market-web-components/{p-0ac30ee9.entry.js.map → p-d75a2f7c.entry.js.map} +1 -1
  1000. package/pn-market-web-components/p-daa74e60.entry.js +2 -0
  1001. package/pn-market-web-components/{p-7076038b.entry.js.map → p-daa74e60.entry.js.map} +1 -1
  1002. package/pn-market-web-components/p-dc2ee6f8.entry.js +2 -0
  1003. package/pn-market-web-components/p-dc2ee6f8.entry.js.map +1 -0
  1004. package/pn-market-web-components/p-e733f44f.entry.js +2 -0
  1005. package/pn-market-web-components/p-e733f44f.entry.js.map +1 -0
  1006. package/pn-market-web-components/p-e8622338.entry.js +2 -0
  1007. package/pn-market-web-components/{p-b9505c69.entry.js.map → p-e8622338.entry.js.map} +1 -1
  1008. package/pn-market-web-components/p-eb21f772.entry.js +2 -0
  1009. package/pn-market-web-components/p-eb21f772.entry.js.map +1 -0
  1010. package/pn-market-web-components/p-efab81a9.entry.js +2 -0
  1011. package/pn-market-web-components/{p-a11fdf9f.entry.js.map → p-efab81a9.entry.js.map} +1 -1
  1012. package/pn-market-web-components/{p-278cda98.entry.js → p-f0df7694.entry.js} +4 -4
  1013. package/pn-market-web-components/{p-278cda98.entry.js.map → p-f0df7694.entry.js.map} +1 -1
  1014. package/pn-market-web-components/p-f21311ad.entry.js +2 -0
  1015. package/pn-market-web-components/{p-545c24c0.entry.js.map → p-f21311ad.entry.js.map} +1 -1
  1016. package/pn-market-web-components/p-f28059f4.entry.js +2 -0
  1017. package/pn-market-web-components/{p-856c235c.entry.js.map → p-f28059f4.entry.js.map} +1 -1
  1018. package/pn-market-web-components/p-f28d0971.entry.js +2 -0
  1019. package/pn-market-web-components/{p-54f3a3b6.entry.js.map → p-f28d0971.entry.js.map} +1 -1
  1020. package/pn-market-web-components/p-f4b14be8.entry.js +2 -0
  1021. package/pn-market-web-components/{p-1ec21bd6.entry.js.map → p-f4b14be8.entry.js.map} +1 -1
  1022. package/pn-market-web-components/p-f5d03222.entry.js +2 -0
  1023. package/pn-market-web-components/{p-90242f18.entry.js.map → p-f5d03222.entry.js.map} +1 -1
  1024. package/pn-market-web-components/{p-8af1b914.js → p-f9083b7a.js} +2 -2
  1025. package/pn-market-web-components/{p-cafe11a9.js → p-fb4cdf98.js} +2 -2
  1026. package/pn-market-web-components/p-fe466661.js +2 -0
  1027. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  1028. package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
  1029. package/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
  1030. package/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
  1031. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +0 -2
  1032. package/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
  1033. package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +10 -0
  1034. package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +7 -0
  1035. package/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +164 -0
  1036. package/types/components/widgets/pn-chat/pn-chat.d.ts +72 -0
  1037. package/types/components/widgets/pn-chat/pn-chat.models.d.ts +22 -0
  1038. package/types/components/widgets/pn-chat/pn-chat.service.d.ts +26 -0
  1039. package/types/components/widgets/pn-chat/pn-chat.stories.d.ts +8 -0
  1040. package/types/components/widgets/pn-chat/translations.d.ts +77 -0
  1041. package/types/components/widgets/pn-chat/types.d.ts +68 -0
  1042. package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +23 -0
  1043. package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +5 -0
  1044. package/types/components/widgets/pn-level-up/pn-level-up.d.ts +43 -0
  1045. package/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +22 -0
  1046. package/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +16 -0
  1047. package/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +7 -0
  1048. package/types/components/widgets/pn-level-up/types.d.ts +1 -0
  1049. package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +48 -0
  1050. package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +7 -0
  1051. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +55 -0
  1052. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +11 -0
  1053. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +26 -0
  1054. package/types/components/widgets/pn-marketweb-table/translations.d.ts +72 -0
  1055. package/types/components/widgets/pn-marketweb-table/types.d.ts +38 -0
  1056. package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +23 -0
  1057. package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +5 -0
  1058. package/types/components/widgets/pn-search/pn-search.d.ts +29 -0
  1059. package/types/components/widgets/pn-search/pn-search.stories.d.ts +7 -0
  1060. package/types/components/widgets/pn-usp-simple/pn-usp-simple.d.ts +19 -0
  1061. package/types/components/widgets/pn-usp-simple/pn-usp-simple.stories.d.ts +7 -0
  1062. package/types/components.d.ts +391 -8
  1063. package/types/globals/HeadingTag.d.ts +1 -1
  1064. package/types/globals/LocalStorageService.d.ts +14 -0
  1065. package/types/globals/ScreensizeDetect.d.ts +29 -0
  1066. package/types/globals/types.d.ts +18 -0
  1067. package/types/utils/utils.d.ts +1 -0
  1068. package/umd/modules/@postnord/web-components/cjs/{chevron_down-83e72319.js → angle_down-0b63ebde.js} +3 -3
  1069. package/umd/modules/@postnord/web-components/cjs/angle_down-0b63ebde.js.map +1 -0
  1070. package/umd/modules/@postnord/web-components/cjs/{chevron_right-aeb6aef3.js → angle_right-c8c55b43.js} +5 -5
  1071. package/umd/modules/@postnord/web-components/cjs/angle_right-c8c55b43.js.map +1 -0
  1072. package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +1 -1
  1073. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +2 -2
  1074. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js.map +1 -1
  1075. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +12 -42
  1076. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js.map +1 -1
  1077. package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +1 -1
  1078. package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +1 -1
  1079. package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +1 -1
  1080. package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +1 -1
  1081. package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +1 -1
  1082. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +6 -22
  1083. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js.map +1 -1
  1084. package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +1 -1
  1085. package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +1 -1
  1086. package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +1 -1
  1087. package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +1 -1
  1088. package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +2 -2
  1089. package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +7 -21
  1090. package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js.map +1 -1
  1091. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +2 -2
  1092. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js.map +1 -1
  1093. package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +1 -1
  1094. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +1 -1
  1095. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +1 -1
  1096. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +2 -2
  1097. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js.map +1 -1
  1098. package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +1 -1
  1099. package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +1 -1
  1100. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +1 -1
  1101. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js.map +1 -1
  1102. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +1 -1
  1103. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js.map +1 -1
  1104. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +41 -26
  1105. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js.map +1 -1
  1106. package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +1 -1
  1107. package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +1 -1
  1108. package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +1 -1
  1109. package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +1 -1
  1110. package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +2 -2
  1111. package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js.map +1 -1
  1112. package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +1 -1
  1113. package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +2 -2
  1114. package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js.map +1 -1
  1115. package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +1 -1
  1116. package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +1 -1
  1117. package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +1 -1
  1118. package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +16 -25
  1119. package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js.map +1 -1
  1120. package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +1 -1
  1121. package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +1 -1
  1122. package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +1 -1
  1123. package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +1 -1
  1124. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js +11 -41
  1125. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js.map +1 -1
  1126. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js +2 -2
  1127. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js.map +1 -1
  1128. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.css +40 -92
  1129. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js +9 -35
  1130. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js.map +1 -1
  1131. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js +1 -1
  1132. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js +1 -5
  1133. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js.map +1 -1
  1134. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js +1 -5
  1135. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js.map +1 -1
  1136. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.css +9 -85
  1137. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js +97 -100
  1138. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js.map +1 -1
  1139. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js +1 -1
  1140. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.css +1 -0
  1141. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js +15 -24
  1142. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js.map +1 -1
  1143. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js +1 -1
  1144. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +1 -1
  1145. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js +1 -1
  1146. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +1 -1
  1147. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.css +3 -2
  1148. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +6 -22
  1149. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js.map +1 -1
  1150. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +1 -1
  1151. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +1 -1
  1152. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +2 -2
  1153. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +2 -2
  1154. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js.map +1 -1
  1155. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +1 -1
  1156. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +1 -1
  1157. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +1 -1
  1158. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +1 -1
  1159. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +2 -2
  1160. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js.map +1 -1
  1161. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +1 -1
  1162. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +1 -1
  1163. package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +1 -1
  1164. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -1
  1165. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +1 -1
  1166. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -1
  1167. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -1
  1168. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +2 -2
  1169. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js.map +1 -1
  1170. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +1 -1
  1171. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +2 -2
  1172. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js.map +1 -1
  1173. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +1 -1
  1174. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -1
  1175. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -1
  1176. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +1 -1
  1177. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +1 -1
  1178. package/umd/modules/@postnord/web-components/collection/globals/types.js.map +1 -1
  1179. package/umd/modules/@postnord/web-components/components/{chevron_down.js → angle_down.js} +3 -3
  1180. package/umd/modules/@postnord/web-components/components/angle_down.js.map +1 -0
  1181. package/umd/modules/@postnord/web-components/components/{chevron_right.js → angle_right.js} +4 -4
  1182. package/umd/modules/@postnord/web-components/components/angle_right.js.map +1 -0
  1183. package/umd/modules/@postnord/web-components/components/pn-accordion-row.js +2 -2
  1184. package/umd/modules/@postnord/web-components/components/pn-accordion-row.js.map +1 -1
  1185. package/umd/modules/@postnord/web-components/components/pn-action-menu.js +12 -42
  1186. package/umd/modules/@postnord/web-components/components/pn-action-menu.js.map +1 -1
  1187. package/umd/modules/@postnord/web-components/components/pn-card.js +1 -1
  1188. package/umd/modules/@postnord/web-components/components/pn-checkbox.js +1 -1
  1189. package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -1
  1190. package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -1
  1191. package/umd/modules/@postnord/web-components/components/pn-date-picker.js +7 -23
  1192. package/umd/modules/@postnord/web-components/components/pn-date-picker.js.map +1 -1
  1193. package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -1
  1194. package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -1
  1195. package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -1
  1196. package/umd/modules/@postnord/web-components/components/pn-header.js +1 -1
  1197. package/umd/modules/@postnord/web-components/components/pn-input.js +2 -2
  1198. package/umd/modules/@postnord/web-components/components/pn-modal.js +10 -25
  1199. package/umd/modules/@postnord/web-components/components/pn-modal.js.map +1 -1
  1200. package/umd/modules/@postnord/web-components/components/pn-multiselect.js +2 -2
  1201. package/umd/modules/@postnord/web-components/components/pn-multiselect.js.map +1 -1
  1202. package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
  1203. package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -1
  1204. package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -1
  1205. package/umd/modules/@postnord/web-components/components/pn-page-nav.js +2 -2
  1206. package/umd/modules/@postnord/web-components/components/pn-page-nav.js.map +1 -1
  1207. package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -1
  1208. package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js +1 -1
  1209. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -1
  1210. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js.map +1 -1
  1211. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js +1 -1
  1212. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js.map +1 -1
  1213. package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js +48 -34
  1214. package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js.map +1 -1
  1215. package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
  1216. package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -1
  1217. package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
  1218. package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -1
  1219. package/umd/modules/@postnord/web-components/components/pn-select2.js +2 -2
  1220. package/umd/modules/@postnord/web-components/components/pn-select2.js.map +1 -1
  1221. package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -1
  1222. package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
  1223. package/umd/modules/@postnord/web-components/components/pn-tablist.js +2 -2
  1224. package/umd/modules/@postnord/web-components/components/pn-tablist.js.map +1 -1
  1225. package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -1
  1226. package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -1
  1227. package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
  1228. package/umd/modules/@postnord/web-components/components/pn-toast.js +16 -25
  1229. package/umd/modules/@postnord/web-components/components/pn-toast.js.map +1 -1
  1230. package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
  1231. package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -1
  1232. package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
  1233. package/umd/modules/@postnord/web-components/esm/{chevron_down-6e3fb42f.js → angle_down-d788f691.js} +3 -3
  1234. package/umd/modules/@postnord/web-components/esm/angle_down-d788f691.js.map +1 -0
  1235. package/umd/modules/@postnord/web-components/esm/{chevron_right-9d9305e8.js → angle_right-b52095c9.js} +4 -4
  1236. package/umd/modules/@postnord/web-components/esm/angle_right-b52095c9.js.map +1 -0
  1237. package/umd/modules/@postnord/web-components/esm/loader.js +1 -1
  1238. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +2 -2
  1239. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js.map +1 -1
  1240. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +12 -42
  1241. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js.map +1 -1
  1242. package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +1 -1
  1243. package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +1 -1
  1244. package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +1 -1
  1245. package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +1 -1
  1246. package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +1 -1
  1247. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +7 -23
  1248. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js.map +1 -1
  1249. package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +1 -1
  1250. package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +1 -1
  1251. package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +1 -1
  1252. package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +1 -1
  1253. package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +2 -2
  1254. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +8 -22
  1255. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js.map +1 -1
  1256. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +2 -2
  1257. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js.map +1 -1
  1258. package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +1 -1
  1259. package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +1 -1
  1260. package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +1 -1
  1261. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +2 -2
  1262. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js.map +1 -1
  1263. package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +1 -1
  1264. package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +1 -1
  1265. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +1 -1
  1266. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js.map +1 -1
  1267. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +1 -1
  1268. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js.map +1 -1
  1269. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +41 -26
  1270. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js.map +1 -1
  1271. package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +1 -1
  1272. package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +1 -1
  1273. package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +1 -1
  1274. package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +1 -1
  1275. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +2 -2
  1276. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js.map +1 -1
  1277. package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +1 -1
  1278. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +2 -2
  1279. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js.map +1 -1
  1280. package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +1 -1
  1281. package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +1 -1
  1282. package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +1 -1
  1283. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +16 -25
  1284. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js.map +1 -1
  1285. package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +1 -1
  1286. package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +1 -1
  1287. package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +1 -1
  1288. package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +1 -1
  1289. package/umd/modules/@postnord/web-components/hydrate/index.js +137 -204
  1290. package/umd/modules/@postnord/web-components/hydrate/index.mjs +137 -204
  1291. package/umd/modules/@postnord/web-components/package.json +14 -16
  1292. package/umd/modules/@postnord/web-components/postnord-web-components/{p-23fdc4b6.entry.js → p-203ad7de.entry.js} +2 -2
  1293. package/umd/modules/@postnord/web-components/postnord-web-components/p-203ad7de.entry.js.map +1 -0
  1294. package/umd/modules/@postnord/web-components/postnord-web-components/p-2615282e.entry.js +6 -0
  1295. package/umd/modules/@postnord/web-components/postnord-web-components/p-2615282e.entry.js.map +1 -0
  1296. package/umd/modules/@postnord/web-components/postnord-web-components/p-3bd59ac8.entry.js +6 -0
  1297. package/umd/modules/@postnord/web-components/postnord-web-components/p-3bd59ac8.entry.js.map +1 -0
  1298. package/umd/modules/@postnord/web-components/postnord-web-components/{p-eee2d131.entry.js → p-412fc8d6.entry.js} +2 -2
  1299. package/umd/modules/@postnord/web-components/postnord-web-components/{p-28357e12.entry.js → p-4f67fffa.entry.js} +2 -2
  1300. package/umd/modules/@postnord/web-components/postnord-web-components/p-4f67fffa.entry.js.map +1 -0
  1301. package/umd/modules/@postnord/web-components/postnord-web-components/p-514107a5.entry.js +6 -0
  1302. package/umd/modules/@postnord/web-components/postnord-web-components/p-514107a5.entry.js.map +1 -0
  1303. package/umd/modules/@postnord/web-components/postnord-web-components/{p-363f578a.entry.js → p-5b0000e9.entry.js} +2 -2
  1304. package/umd/modules/@postnord/web-components/postnord-web-components/{p-a440734f.entry.js → p-605d99df.entry.js} +2 -2
  1305. package/umd/modules/@postnord/web-components/postnord-web-components/p-6a30576b.entry.js +6 -0
  1306. package/umd/modules/@postnord/web-components/postnord-web-components/p-6a30576b.entry.js.map +1 -0
  1307. package/umd/modules/@postnord/web-components/postnord-web-components/{p-d2f7b4a9.entry.js → p-76b020f0.entry.js} +2 -2
  1308. package/umd/modules/@postnord/web-components/postnord-web-components/p-7ae9c053.entry.js +6 -0
  1309. package/umd/modules/@postnord/web-components/postnord-web-components/{p-240f6613.entry.js.map → p-7ae9c053.entry.js.map} +1 -1
  1310. package/umd/modules/@postnord/web-components/postnord-web-components/{p-8eaa2540.entry.js → p-7bd6d804.entry.js} +2 -2
  1311. package/umd/modules/@postnord/web-components/postnord-web-components/{p-01472170.entry.js → p-7e88df1f.entry.js} +2 -2
  1312. package/umd/modules/@postnord/web-components/postnord-web-components/{p-cebe3a25.entry.js → p-81f9f367.entry.js} +2 -2
  1313. package/umd/modules/@postnord/web-components/postnord-web-components/{p-10532427.entry.js → p-8773152d.entry.js} +2 -2
  1314. package/umd/modules/@postnord/web-components/postnord-web-components/p-8bc8f614.entry.js +6 -0
  1315. package/umd/modules/@postnord/web-components/postnord-web-components/p-8bc8f614.entry.js.map +1 -0
  1316. package/umd/modules/@postnord/web-components/postnord-web-components/{p-ae04e001.entry.js → p-936ed2a1.entry.js} +2 -2
  1317. package/umd/modules/@postnord/web-components/postnord-web-components/p-936ed2a1.entry.js.map +1 -0
  1318. package/umd/modules/@postnord/web-components/postnord-web-components/{p-6f9a21be.entry.js → p-9bc1d14f.entry.js} +2 -2
  1319. package/umd/modules/@postnord/web-components/postnord-web-components/{p-b202a599.entry.js → p-a4df55c4.entry.js} +2 -2
  1320. package/umd/modules/@postnord/web-components/postnord-web-components/{p-4eaab357.entry.js → p-ab29b9c0.entry.js} +2 -2
  1321. package/umd/modules/@postnord/web-components/postnord-web-components/{p-1e7c31ed.entry.js → p-adc6404b.entry.js} +2 -2
  1322. package/umd/modules/@postnord/web-components/postnord-web-components/p-adc6404b.entry.js.map +1 -0
  1323. package/umd/modules/@postnord/web-components/postnord-web-components/{p-4d371963.entry.js → p-b556b835.entry.js} +2 -2
  1324. package/umd/modules/@postnord/web-components/postnord-web-components/{p-ab553e80.entry.js → p-b9a494ae.entry.js} +2 -2
  1325. package/umd/modules/@postnord/web-components/postnord-web-components/{p-49f5fdd2.entry.js → p-bc95d4b0.entry.js} +2 -2
  1326. package/umd/modules/@postnord/web-components/postnord-web-components/p-bc95d4b0.entry.js.map +1 -0
  1327. package/umd/modules/@postnord/web-components/postnord-web-components/{p-8e07bc17.entry.js → p-bd14cdca.entry.js} +2 -2
  1328. package/umd/modules/@postnord/web-components/postnord-web-components/{p-699b7bde.entry.js → p-bf015c0f.entry.js} +2 -2
  1329. package/umd/modules/@postnord/web-components/postnord-web-components/{p-99600bc7.js → p-bf967b50.js} +2 -2
  1330. package/umd/modules/@postnord/web-components/postnord-web-components/p-bf967b50.js.map +1 -0
  1331. package/umd/modules/@postnord/web-components/postnord-web-components/{p-37297b9a.entry.js → p-c0d19737.entry.js} +2 -2
  1332. package/umd/modules/@postnord/web-components/postnord-web-components/{p-1fe6fc61.entry.js → p-c2bbbcaa.entry.js} +2 -2
  1333. package/umd/modules/@postnord/web-components/postnord-web-components/{p-e8050420.entry.js → p-c45dc75d.entry.js} +2 -2
  1334. package/umd/modules/@postnord/web-components/postnord-web-components/{p-2f7bb5e8.js → p-c96ff403.js} +2 -2
  1335. package/umd/modules/@postnord/web-components/postnord-web-components/p-c96ff403.js.map +1 -0
  1336. package/umd/modules/@postnord/web-components/postnord-web-components/{p-fb5d6d47.entry.js → p-d3521b5d.entry.js} +2 -2
  1337. package/umd/modules/@postnord/web-components/postnord-web-components/{p-1cd57319.entry.js → p-d74ccbb2.entry.js} +2 -2
  1338. package/umd/modules/@postnord/web-components/postnord-web-components/{p-5ed7e9b7.entry.js → p-da713fc1.entry.js} +2 -2
  1339. package/umd/modules/@postnord/web-components/postnord-web-components/{p-63aa3911.entry.js → p-e087c5c5.entry.js} +2 -2
  1340. package/umd/modules/@postnord/web-components/postnord-web-components/{p-06c7e91b.entry.js → p-ed4271af.entry.js} +2 -2
  1341. package/umd/modules/@postnord/web-components/postnord-web-components/p-ed4271af.entry.js.map +1 -0
  1342. package/umd/modules/@postnord/web-components/postnord-web-components/p-fc5f9092.entry.js +6 -0
  1343. package/umd/modules/@postnord/web-components/postnord-web-components/p-fc5f9092.entry.js.map +1 -0
  1344. package/umd/modules/@postnord/web-components/postnord-web-components/{p-bdb9bdc3.entry.js → p-fcd5028f.entry.js} +2 -2
  1345. package/umd/modules/@postnord/web-components/postnord-web-components/{p-9cecd28d.entry.js → p-ff068744.entry.js} +2 -2
  1346. package/umd/modules/@postnord/web-components/postnord-web-components/{p-11ef58ab.entry.js → p-ffe79fa4.entry.js} +2 -2
  1347. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -1
  1348. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js.map +1 -1
  1349. package/umd/modules/@postnord/web-components/readme.md +32 -0
  1350. package/umd/modules/@postnord/web-components/types/components/buttons/pn-action-menu/pn-action-menu.d.ts +0 -3
  1351. package/umd/modules/@postnord/web-components/types/components/feedback/pn-modal/pn-modal.d.ts +2 -12
  1352. package/umd/modules/@postnord/web-components/types/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.d.ts +0 -4
  1353. package/umd/modules/@postnord/web-components/types/components/feedback/pn-progress-indicator/pn-progress-indicator.d.ts +0 -4
  1354. package/umd/modules/@postnord/web-components/types/components/feedback/pn-progress-stepper/pn-progress-stepper.d.ts +22 -27
  1355. package/umd/modules/@postnord/web-components/types/components/feedback/pn-toast/pn-toast.d.ts +1 -2
  1356. package/umd/modules/@postnord/web-components/types/components.d.ts +12 -60
  1357. package/umd/modules/@postnord/web-components/types/globals/types.d.ts +1 -2
  1358. package/umd/modules/@postnord/web-components/vscode-data.json +3 -7
  1359. package/umd/pn-marketweb-init.js +1 -1
  1360. package/umd/pn-marketweb-salesforce.js +1 -1
  1361. package/vscode-data.json +673 -3
  1362. package/cjs/FetchHelper-e951824f.js.map +0 -1
  1363. package/cjs/index-34e1c673.js.map +0 -1
  1364. package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +0 -1
  1365. package/components/pn-marketweb-siteheader-login-mypage-button2.js +0 -38
  1366. package/components/pn-marketweb-siteheader-login-mypage-button2.js.map +0 -1
  1367. package/esm/FetchHelper-746f2bb6.js.map +0 -1
  1368. package/esm/index-51d67461.js.map +0 -1
  1369. package/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +0 -1
  1370. package/pn-market-web-components/p-066e9db9.entry.js +0 -2
  1371. package/pn-market-web-components/p-0ac30ee9.entry.js +0 -2
  1372. package/pn-market-web-components/p-0ec8d040.entry.js +0 -2
  1373. package/pn-market-web-components/p-13190b30.js +0 -2
  1374. package/pn-market-web-components/p-15d70aaf.entry.js +0 -2
  1375. package/pn-market-web-components/p-190c6938.entry.js +0 -2
  1376. package/pn-market-web-components/p-1ec21bd6.entry.js +0 -2
  1377. package/pn-market-web-components/p-231b97e1.entry.js +0 -2
  1378. package/pn-market-web-components/p-23d69d70.entry.js +0 -2
  1379. package/pn-market-web-components/p-23d69d70.entry.js.map +0 -1
  1380. package/pn-market-web-components/p-24086c59.entry.js +0 -2
  1381. package/pn-market-web-components/p-25d53df2.entry.js +0 -2
  1382. package/pn-market-web-components/p-25dfc349.entry.js +0 -2
  1383. package/pn-market-web-components/p-2b03a4e1.entry.js +0 -2
  1384. package/pn-market-web-components/p-2b03a4e1.entry.js.map +0 -1
  1385. package/pn-market-web-components/p-3fb8e665.entry.js +0 -2
  1386. package/pn-market-web-components/p-45b8cadb.entry.js +0 -2
  1387. package/pn-market-web-components/p-45d1e1be.entry.js +0 -2
  1388. package/pn-market-web-components/p-4d2ca281.entry.js +0 -2
  1389. package/pn-market-web-components/p-4e3059dd.entry.js +0 -2
  1390. package/pn-market-web-components/p-4fa5bc85.entry.js +0 -2
  1391. package/pn-market-web-components/p-530274ae.entry.js +0 -2
  1392. package/pn-market-web-components/p-545c24c0.entry.js +0 -2
  1393. package/pn-market-web-components/p-54f3a3b6.entry.js +0 -2
  1394. package/pn-market-web-components/p-55643d76.entry.js +0 -2
  1395. package/pn-market-web-components/p-572c4d81.entry.js +0 -2
  1396. package/pn-market-web-components/p-572c4d81.entry.js.map +0 -1
  1397. package/pn-market-web-components/p-59549c74.entry.js +0 -2
  1398. package/pn-market-web-components/p-5a1b6e6d.entry.js +0 -2
  1399. package/pn-market-web-components/p-5d06e48f.entry.js +0 -2
  1400. package/pn-market-web-components/p-5d06e48f.entry.js.map +0 -1
  1401. package/pn-market-web-components/p-62cabd1e.entry.js +0 -2
  1402. package/pn-market-web-components/p-64d0dbba.entry.js +0 -2
  1403. package/pn-market-web-components/p-652f97b9.js +0 -2
  1404. package/pn-market-web-components/p-65ab3003.entry.js +0 -2
  1405. package/pn-market-web-components/p-65f243c1.js.map +0 -1
  1406. package/pn-market-web-components/p-6647d2c4.entry.js +0 -2
  1407. package/pn-market-web-components/p-6a5f7dee.entry.js +0 -2
  1408. package/pn-market-web-components/p-6fdd5b5a.entry.js +0 -2
  1409. package/pn-market-web-components/p-7076038b.entry.js +0 -2
  1410. package/pn-market-web-components/p-725aba56.entry.js +0 -2
  1411. package/pn-market-web-components/p-725aba56.entry.js.map +0 -1
  1412. package/pn-market-web-components/p-72dbca40.entry.js +0 -2
  1413. package/pn-market-web-components/p-74fd7435.entry.js +0 -2
  1414. package/pn-market-web-components/p-758f1b53.entry.js +0 -2
  1415. package/pn-market-web-components/p-76e6708b.entry.js +0 -2
  1416. package/pn-market-web-components/p-776f3d51.entry.js +0 -2
  1417. package/pn-market-web-components/p-77a35f5e.entry.js +0 -2
  1418. package/pn-market-web-components/p-856c235c.entry.js +0 -2
  1419. package/pn-market-web-components/p-8c26b98d.entry.js +0 -2
  1420. package/pn-market-web-components/p-90242f18.entry.js +0 -2
  1421. package/pn-market-web-components/p-95519556.entry.js +0 -2
  1422. package/pn-market-web-components/p-a11fdf9f.entry.js +0 -2
  1423. package/pn-market-web-components/p-a38118be.entry.js +0 -2
  1424. package/pn-market-web-components/p-a419cd91.entry.js +0 -2
  1425. package/pn-market-web-components/p-a54a298b.entry.js +0 -2
  1426. package/pn-market-web-components/p-a54a298b.entry.js.map +0 -1
  1427. package/pn-market-web-components/p-a6866467.entry.js +0 -2
  1428. package/pn-market-web-components/p-a72c2729.entry.js +0 -2
  1429. package/pn-market-web-components/p-aeeabb32.entry.js +0 -2
  1430. package/pn-market-web-components/p-b35cdbac.entry.js +0 -2
  1431. package/pn-market-web-components/p-b5a0275d.entry.js +0 -2
  1432. package/pn-market-web-components/p-b693f78a.entry.js +0 -2
  1433. package/pn-market-web-components/p-b9340e9c.entry.js +0 -2
  1434. package/pn-market-web-components/p-b9340e9c.entry.js.map +0 -1
  1435. package/pn-market-web-components/p-b9505c69.entry.js +0 -2
  1436. package/pn-market-web-components/p-bb1c965e.js +0 -3
  1437. package/pn-market-web-components/p-bb1c965e.js.map +0 -1
  1438. package/pn-market-web-components/p-c5772021.entry.js +0 -2
  1439. package/pn-market-web-components/p-cf39491b.entry.js +0 -2
  1440. package/pn-market-web-components/p-d0a085cc.entry.js +0 -2
  1441. package/pn-market-web-components/p-e2e3ac2f.entry.js +0 -2
  1442. package/pn-market-web-components/p-e5ae757f.entry.js +0 -2
  1443. package/pn-market-web-components/p-e6e012fb.entry.js +0 -2
  1444. package/pn-market-web-components/p-e8278e9e.entry.js +0 -2
  1445. package/pn-market-web-components/p-e916e99d.entry.js +0 -2
  1446. package/pn-market-web-components/p-ea3d6f7e.entry.js +0 -2
  1447. package/pn-market-web-components/p-ea7b0d21.entry.js +0 -2
  1448. package/pn-market-web-components/p-fc157a1e.entry.js +0 -2
  1449. package/umd/modules/@postnord/web-components/cjs/chevron_down-83e72319.js.map +0 -1
  1450. package/umd/modules/@postnord/web-components/cjs/chevron_right-aeb6aef3.js.map +0 -1
  1451. package/umd/modules/@postnord/web-components/components/chevron_down.js.map +0 -1
  1452. package/umd/modules/@postnord/web-components/components/chevron_right.js.map +0 -1
  1453. package/umd/modules/@postnord/web-components/esm/chevron_down-6e3fb42f.js.map +0 -1
  1454. package/umd/modules/@postnord/web-components/esm/chevron_right-9d9305e8.js.map +0 -1
  1455. package/umd/modules/@postnord/web-components/postnord-web-components/p-06c7e91b.entry.js.map +0 -1
  1456. package/umd/modules/@postnord/web-components/postnord-web-components/p-16fb83d9.entry.js +0 -6
  1457. package/umd/modules/@postnord/web-components/postnord-web-components/p-16fb83d9.entry.js.map +0 -1
  1458. package/umd/modules/@postnord/web-components/postnord-web-components/p-1e7c31ed.entry.js.map +0 -1
  1459. package/umd/modules/@postnord/web-components/postnord-web-components/p-23fdc4b6.entry.js.map +0 -1
  1460. package/umd/modules/@postnord/web-components/postnord-web-components/p-240f6613.entry.js +0 -6
  1461. package/umd/modules/@postnord/web-components/postnord-web-components/p-28357e12.entry.js.map +0 -1
  1462. package/umd/modules/@postnord/web-components/postnord-web-components/p-2f7bb5e8.js.map +0 -1
  1463. package/umd/modules/@postnord/web-components/postnord-web-components/p-49a39ea1.entry.js +0 -6
  1464. package/umd/modules/@postnord/web-components/postnord-web-components/p-49a39ea1.entry.js.map +0 -1
  1465. package/umd/modules/@postnord/web-components/postnord-web-components/p-49f5fdd2.entry.js.map +0 -1
  1466. package/umd/modules/@postnord/web-components/postnord-web-components/p-617a946d.entry.js +0 -6
  1467. package/umd/modules/@postnord/web-components/postnord-web-components/p-617a946d.entry.js.map +0 -1
  1468. package/umd/modules/@postnord/web-components/postnord-web-components/p-65ae6360.entry.js +0 -6
  1469. package/umd/modules/@postnord/web-components/postnord-web-components/p-65ae6360.entry.js.map +0 -1
  1470. package/umd/modules/@postnord/web-components/postnord-web-components/p-75c5fb41.entry.js +0 -6
  1471. package/umd/modules/@postnord/web-components/postnord-web-components/p-75c5fb41.entry.js.map +0 -1
  1472. package/umd/modules/@postnord/web-components/postnord-web-components/p-99600bc7.js.map +0 -1
  1473. package/umd/modules/@postnord/web-components/postnord-web-components/p-ae04e001.entry.js.map +0 -1
  1474. package/umd/modules/@postnord/web-components/postnord-web-components/p-b83e6373.entry.js +0 -6
  1475. package/umd/modules/@postnord/web-components/postnord-web-components/p-b83e6373.entry.js.map +0 -1
  1476. /package/pn-market-web-components/{p-652f97b9.js.map → p-72828265.js.map} +0 -0
  1477. /package/pn-market-web-components/{p-e09a907b.js.map → p-793e1339.js.map} +0 -0
  1478. /package/pn-market-web-components/{p-2509d18d.js.map → p-8836de82.js.map} +0 -0
  1479. /package/pn-market-web-components/{p-560e5291.entry.js.map → p-8a651698.entry.js.map} +0 -0
  1480. /package/pn-market-web-components/{p-959a37d9.js.map → p-930e2943.js.map} +0 -0
  1481. /package/pn-market-web-components/{p-155c2049.entry.js.map → p-ad9a7633.entry.js.map} +0 -0
  1482. /package/pn-market-web-components/{p-8af1b914.js.map → p-f9083b7a.js.map} +0 -0
  1483. /package/pn-market-web-components/{p-cafe11a9.js.map → p-fb4cdf98.js.map} +0 -0
  1484. /package/pn-market-web-components/{p-13190b30.js.map → p-fe466661.js.map} +0 -0
  1485. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-eee2d131.entry.js.map → p-412fc8d6.entry.js.map} +0 -0
  1486. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-363f578a.entry.js.map → p-5b0000e9.entry.js.map} +0 -0
  1487. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-a440734f.entry.js.map → p-605d99df.entry.js.map} +0 -0
  1488. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-d2f7b4a9.entry.js.map → p-76b020f0.entry.js.map} +0 -0
  1489. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-8eaa2540.entry.js.map → p-7bd6d804.entry.js.map} +0 -0
  1490. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-01472170.entry.js.map → p-7e88df1f.entry.js.map} +0 -0
  1491. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-cebe3a25.entry.js.map → p-81f9f367.entry.js.map} +0 -0
  1492. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-10532427.entry.js.map → p-8773152d.entry.js.map} +0 -0
  1493. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-6f9a21be.entry.js.map → p-9bc1d14f.entry.js.map} +0 -0
  1494. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-b202a599.entry.js.map → p-a4df55c4.entry.js.map} +0 -0
  1495. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-4eaab357.entry.js.map → p-ab29b9c0.entry.js.map} +0 -0
  1496. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-4d371963.entry.js.map → p-b556b835.entry.js.map} +0 -0
  1497. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-ab553e80.entry.js.map → p-b9a494ae.entry.js.map} +0 -0
  1498. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-8e07bc17.entry.js.map → p-bd14cdca.entry.js.map} +0 -0
  1499. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-699b7bde.entry.js.map → p-bf015c0f.entry.js.map} +0 -0
  1500. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-37297b9a.entry.js.map → p-c0d19737.entry.js.map} +0 -0
  1501. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-1fe6fc61.entry.js.map → p-c2bbbcaa.entry.js.map} +0 -0
  1502. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-e8050420.entry.js.map → p-c45dc75d.entry.js.map} +0 -0
  1503. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-fb5d6d47.entry.js.map → p-d3521b5d.entry.js.map} +0 -0
  1504. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-1cd57319.entry.js.map → p-d74ccbb2.entry.js.map} +0 -0
  1505. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-5ed7e9b7.entry.js.map → p-da713fc1.entry.js.map} +0 -0
  1506. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-63aa3911.entry.js.map → p-e087c5c5.entry.js.map} +0 -0
  1507. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-bdb9bdc3.entry.js.map → p-fcd5028f.entry.js.map} +0 -0
  1508. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-9cecd28d.entry.js.map → p-ff068744.entry.js.map} +0 -0
  1509. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-11ef58ab.entry.js.map → p-ffe79fa4.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"pn-progress-stepper.js","sourceRoot":"","sources":["../../../../src/components/fe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AAC,GAAG,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE,CAAC,GAAI,CAChF,CAAC,CACE,CACP,CAAC,CAAC,CAAC,CACF,0BAAiB,MAAM,EAAC,KAAK,EAAC,aAAa;gBACzC,WAAK,KAAK,EAAC,mBAAmB,eAAY,IAAI,CAAC,WAAW,KAAK,IAAI,CAAC,UAAU,GAAI,CAC9E,CACP,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { translations } from './translations';\nimport { en, awaitTopbar, uuidv4 } from '@/globals/helpers';\nimport type { PnLanguages, PnStepProps } from '@/globals/types';\n\n/**\n * The `pn-progress-stepper` is used to visualize the users progress through a flow (checkout/survey, etc...).\n **/\n@Component({\n tag: 'pn-progress-stepper',\n styleUrl: 'pn-progress-stepper.scss',\n})\nexport class PnProgressStepper {\n private readonly id: string = `pn-progress-stepper-${uuidv4()}`;\n\n private readonly minStep: 1 = 1;\n private readonly maxStep: 7 = 7;\n\n @Element() hostElement: HTMLElement;\n\n @State() private builtInLabel: string;\n /** Percentage calculated with currentStep / totalSteps. */\n @State() private progressValue: number = 0;\n\n /** Set custom label for the stepper, default label is \"Step\". */\n @Prop() label?: string = '';\n /** Set a custom HTML id on the progress stepper element to associate progress bar with label. */\n @Prop() progressStepperId?: string = '';\n /**\n * Set the language manually, only use this prop if the pnTopbar is not loaded.\n * Will not overwrite the custom `label` prop if used.\n **/\n @Prop() language?: PnLanguages = null;\n\n /** Set total amount of steps, maximum allowed is `7`. @category Steps */\n @Prop({ mutable: true }) totalSteps: number = this.maxStep;\n /** The current step of the progress stepper. @category Steps */\n @Prop({ mutable: true }) currentStep: number = this.minStep;\n /** You can add a custom optional string to the label if you need a name for the current step. @category Steps */\n @Prop() stepName?: string;\n\n /**\n * Use the dots visual, instead of the bar.\n *\n * This will hide the label from view, but is still accessible to screenreaders.\n *\n * @category Visual\n */\n @Prop() dots: boolean = false;\n\n @Watch('currentStep')\n @Watch('totalSteps')\n stepWatchers(a: number, b: number, c: 'currentStep' | 'totalSteps') {\n if (c === 'currentStep') this.validate(a, 'currentStep');\n if (c === 'totalSteps') this.validate(b, 'totalSteps');\n this.calculateProgress();\n }\n\n @Watch('language')\n watchLanguage() {\n this.builtInLabel = translations.STEP[this.language || en];\n }\n\n async componentWillLoad() {\n this.watchLanguage();\n\n this.validate(this.currentStep, 'currentStep');\n this.validate(this.totalSteps, 'totalSteps');\n\n this.calculateProgress();\n\n if (this.language === null) await awaitTopbar(this.hostElement);\n }\n\n private validate(step: number, prop: PnStepProps) {\n const componentName = this.hostElement.localName;\n if (step < this.minStep) {\n console.warn(\n `${componentName}: The ${prop} ${step} is below the minimum allowed steps of ${this.minStep}. ${prop} will default to ${this.minStep}.`,\n );\n this[prop] = this.minStep;\n }\n if (prop === 'currentStep' && step > this.totalSteps) {\n console.warn(\n `${componentName}: The ${prop} ${step} is above totalSteps ${this.totalSteps}, ${prop} will default to ${this.totalSteps}.`,\n );\n this[prop] = this.totalSteps;\n }\n if (step > this.maxStep) {\n console.warn(\n `${componentName}: The ${prop} ${step} is above the maximum allowed steps of ${this.maxStep}. ${prop} will default to ${this.maxStep}.`,\n );\n this[prop] = this.maxStep;\n }\n }\n\n private calculateProgress() {\n try {\n this.progressValue = Math.floor((this.currentStep / this.totalSteps) * 100);\n this.hostElement.style.setProperty('--pn-progress-value', `${this.progressValue}%`);\n } catch (error) {\n console.error(`${this.hostElement.localName}:`, error.message);\n }\n }\n\n private getLabel() {\n return this.label || this.builtInLabel;\n }\n\n private getId() {\n return this.progressStepperId || this.id;\n }\n\n render() {\n return (\n <Host>\n <label htmlFor={this.getId()} class={'pn-progress-label' + (this.dots ? ' pn-progress-sr-only' : '')}>\n <span>\n {this.getLabel()} {this.currentStep}/{this.totalSteps}\n </span>\n {this.stepName && <span> - {this.stepName}</span>}\n </label>\n <progress id={this.getId()} class=\"pn-progress-sr-only\" max=\"100\" value={this.progressValue} />\n\n {this.dots ? (\n <div class=\"pn-progress-dots\" aria-hidden=\"true\">\n {[...Array(this.totalSteps)].map((_, i) => (\n <div class=\"pn-progress-dot\" data-active={i + 1 <= this.currentStep} key={i} />\n ))}\n </div>\n ) : (\n <div aria-hidden=\"true\" class=\"pn-progress\">\n <div class=\"pn-progress-value\" data-full={this.currentStep === this.totalSteps} />\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pn-progress-stepper.js","sourceRoot":"","sources":["../../../../src/components/feedback/pn-progress-stepper/pn-progress-stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG5D;;IAEI;AAKJ,MAAM,OAAO,iBAAiB;;6BAYK,CAAC;;0BAKa,IAAI,CAAC,OAAO;2BAEX,IAAI,CAAC,OAAO;;iCAIvB,EAAE;wBAKN,IAAI;;IA3BrC,EAAE,GAAW,uBAAuB,MAAM,EAAE,EAAE,CAAC;IAE/C,OAAO,GAAW,GAAG,IAAI,CAAC,EAAE,QAAQ,CAAC;IACrC,KAAK,GAAW,GAAG,IAAI,CAAC,EAAE,MAAM,CAAC;IAEjC,OAAO,GAAM,CAAC,CAAC;IACf,OAAO,GAAM,CAAC,CAAC;IAEJ,WAAW,CAAc;IAsBpC,mBAAmB,CAAC,IAAa;QAC/B,IAAI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AAG,IAAI,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,CAAC;YAC5E,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,WAAW,CAAC,kBAAkB,EAAE,GAAG,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC;QACnF,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,0DAAG,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,EAAC,2BAA2B;gBACpD;oBACG,IAAI,CAAC,KAAK;;oBAAG,IAAI,CAAC,WAAW;;oBAAG,IAAI,CAAC,UAAU,CAC3C;gBACN,IAAI,CAAC,QAAQ,IAAI;;oBAAU,IAAI,CAAC,QAAQ,CAAQ,CAC/C;YACJ,4DACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAC,aAAa,qBACD,IAAI,CAAC,OAAO,mBACd,IAAI,CAAC,aAAa,EACjC,EAAE,EAAE,IAAI,CAAC,KAAK,eACH,IAAI,CAAC,WAAW,KAAK,IAAI,CAAC,UAAU;gBAE/C,4DAAK,KAAK,EAAC,2BAA2B,GAAO,CACzC,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { translations } from './translations';\nimport { en, awaitTopbar, uuidv4 } from '@/globals/helpers';\nimport type { PnLanguages, PnSteps, PnStepProps } from '@/globals/types';\n\n/**\n * The `pn-progress-stepper` is used to visualize the users progress through a flow (checkout/survey, etc...).\n **/\n@Component({\n tag: 'pn-progress-stepper',\n styleUrl: 'pn-progress-stepper.scss',\n})\nexport class PnProgressStepper {\n id: string = `pn-progress-stepper-${uuidv4()}`;\n\n idLabel: string = `${this.id}-label`;\n idBar: string = `${this.id}-bar`;\n\n minStep: 1 = 1;\n maxStep: 7 = 7;\n\n @Element() hostElement: HTMLElement;\n\n /** Percentage calculated with currentStep / totalSteps. */\n @State() progressValue: number = 0;\n\n /** Set custom label for the stepper, recommended default label is \"Step\". */\n @Prop({ mutable: true }) label?: string;\n /** Set total amount of steps, maximum `7` is allowed. */\n @Prop({ mutable: true }) totalSteps: PnSteps = this.maxStep;\n /** The current step of the progress stepper. */\n @Prop({ mutable: true }) currentStep: PnSteps = this.minStep;\n /** You can add a custom optional string to the label if you need a name for the current step. */\n @Prop() stepName?: string;\n /** Set a custom HTML id on the progress stepper element to associate progress bar with label. */\n @Prop() progressStepperId?: string = '';\n /**\n * Set the language manually, only use this prop if the pnTopbar is not loaded.\n * Will not overwrite the `label` prop if used.\n **/\n @Prop() language?: PnLanguages = null;\n\n @Watch('currentStep')\n validateCurrentStep(step: PnSteps) {\n this.validate(step, 'currentStep');\n }\n\n @Watch('totalSteps')\n validateTotalSteps(step: PnSteps) {\n this.validate(step, 'totalSteps');\n }\n\n @Watch('language')\n watchLanguage() {\n if (this.hasCustomLabel()) return;\n this.label = translations.STEP[this.language || en];\n }\n\n @Watch('progressStepperId')\n watchId() {\n if (this.progressStepperId) {\n this.idLabel = `${this.progressStepperId}-label`;\n this.idBar = `${this.progressStepperId}-bar`;\n } else {\n this.idLabel = `${this.id}-label`;\n this.idBar = `${this.id}-bar`;\n }\n }\n\n async componentWillLoad() {\n this.watchLanguage();\n this.watchId();\n\n this.validate(this.currentStep, 'currentStep');\n this.validate(this.totalSteps, 'totalSteps');\n\n if (this.language) return;\n await awaitTopbar(this.hostElement);\n }\n\n componentWillRender() {\n this.calculateProgress();\n }\n\n hasCustomLabel(): boolean {\n if (this.label === undefined) return false;\n return !Object.keys(translations.STEP).find(step => translations.STEP[step] === this.label);\n }\n\n validate(step: PnSteps, prop: PnStepProps) {\n const componentName = this.hostElement.localName;\n if (step < this.minStep) {\n console.warn(\n `${componentName}: The ${prop} ${step} is below the minimum allowed steps of ${this.minStep}. ${prop} will default to ${this.minStep}.`,\n );\n this[prop] = this.minStep;\n }\n if (prop === 'currentStep' && step > this.totalSteps) {\n console.warn(\n `${componentName}: The ${prop} ${step} is above totalSteps ${this.totalSteps}, ${prop} will default to ${this.totalSteps}.`,\n );\n this[prop] = this.totalSteps;\n }\n if (step > this.maxStep) {\n console.warn(\n `${componentName}: The ${prop} ${step} is above the maximum allowed steps of ${this.maxStep}. ${prop} will default to ${this.maxStep}.`,\n );\n this[prop] = this.maxStep;\n }\n }\n\n calculateProgress() {\n try {\n this.progressValue = Math.floor((this.currentStep / this.totalSteps) * 100);\n this.hostElement.style.setProperty('--progress-value', `${this.progressValue}%`);\n } catch (error) {\n console.error(`${this.hostElement.localName}:`, error.message);\n }\n }\n\n render() {\n return (\n <Host>\n <p id={this.idLabel} class=\"pn-progress-stepper-label\">\n <span>\n {this.label} {this.currentStep}/{this.totalSteps}\n </span>\n {this.stepName && <span> - {this.stepName}</span>}\n </p>\n <div\n class=\"pn-progress-stepper\"\n role=\"progressbar\"\n aria-labelledby={this.idLabel}\n aria-valuenow={this.progressValue}\n id={this.idBar}\n data-full={this.currentStep === this.totalSteps}\n >\n <div class=\"pn-progress-stepper-value\"></div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -19,7 +19,7 @@ export class PnSpinner {
19
19
  return `${this.size}em`;
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: 'a9ecba01b5b30a660a44439c714b7ad57cf02a88' }, h("svg", { key: '03fbe990bf1ae0402fcb27707e0c1712d8a84492', class: "pn-spinner", style: { '--pn-spinner-size': this.getSize(), '--pn-spinner-color': this.getColor() }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("circle", { key: 'c48784865cd9c8c3d55cd9b1bd3e0dff7a4ebe35', class: "pn-spinner-circle", cx: "12", cy: "12", r: "10", "stroke-width": "3" }), h("circle", { key: '5f69d1bbbf864842f9ae54dc9a29b61603a83bff', class: "pn-spinner-dot", cx: "21.3", cy: "16", r: "1.48" }))));
22
+ return (h(Host, { key: '70929226e52cdda66312d599b0f8d4c83e902263' }, h("svg", { key: '0e4a3843737f29304996b5eb81b772b904f2d1c7', class: "pn-spinner", style: { '--pn-spinner-size': this.getSize(), '--pn-spinner-color': this.getColor() }, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("circle", { key: '09d5ab69786a82fa44fc8b62aeb00b93ae4e8c0d', class: "pn-spinner-circle", cx: "12", cy: "12", r: "10", "stroke-width": "3" }), h("circle", { key: 'de94ea674640b278406a32486d8dbac3ebaec156', class: "pn-spinner-dot", cx: "21.3", cy: "16", r: "1.48" }))));
23
23
  }
24
24
  static get is() { return "pn-spinner"; }
25
25
  static get originalStyleUrls() {
@@ -4,6 +4,7 @@
4
4
  pn-toast {
5
5
  position: relative;
6
6
  display: block;
7
+ overflow: hidden;
7
8
  }
8
9
 
9
10
  pn-toast .pn-toast {
@@ -40,13 +40,10 @@ export class PnToast {
40
40
  this.animationDuration = 0;
41
41
  else
42
42
  this.animationDuration = this.duration;
43
- this.hostElement.style.overflow = 'hidden';
44
- requestAnimationFrame(() => {
45
- if (this.hide)
46
- this.closeToast();
47
- else
48
- this.openToast();
49
- });
43
+ if (this.hide)
44
+ this.closeToast();
45
+ else
46
+ this.openToast();
50
47
  }
51
48
  /** Event fired when the close button is pressed. */
52
49
  close;
@@ -56,10 +53,8 @@ export class PnToast {
56
53
  **/
57
54
  hidden;
58
55
  async componentWillLoad() {
59
- if (this.hide) {
56
+ if (this.hide)
60
57
  this.hostElement.style.height = '0';
61
- this.hostElement.style.overflow = 'hidden';
62
- }
63
58
  if (this.language === null)
64
59
  await awaitTopbar(this.hostElement);
65
60
  // Any text content at this stage means there is slotted content present.
@@ -74,18 +69,19 @@ export class PnToast {
74
69
  }
75
70
  openToast() {
76
71
  requestAnimationFrame(() => {
77
- const { clientHeight } = this.toast;
72
+ const { scrollHeight } = this.hostElement;
78
73
  const { height } = this.getRect(this.hostElement);
79
74
  this.hostElement.style.height = `${height}px`;
80
75
  this.isExpanding = true;
81
- this.animateToast(true, `${height}px`, `${clientHeight}px`);
76
+ this.animateToast(true, `${height}px`, `${scrollHeight}px`);
82
77
  });
83
78
  }
84
79
  closeToast() {
85
- const { clientHeight } = this.hostElement;
80
+ const { scrollHeight, clientHeight } = this.hostElement;
81
+ const height = this.isExpanding ? clientHeight : scrollHeight;
86
82
  this.hostElement.style.height = `0px`;
87
83
  this.isClosing = true;
88
- this.animateToast(false, `${clientHeight}px`, `0px`);
84
+ this.animateToast(false, `${height}px`, `0px`);
89
85
  }
90
86
  animateToast(open, startHeight, endHeight) {
91
87
  this.cancelAnimations();
@@ -100,12 +96,10 @@ export class PnToast {
100
96
  }
101
97
  animationFinish() {
102
98
  this.cancelAnimations();
103
- if (this.hide)
104
- this.hidden.emit(this.hide);
105
- else {
99
+ if (!this.hide)
106
100
  this.hostElement.style.height = '';
107
- this.hostElement.style.overflow = '';
108
- }
101
+ else
102
+ this.hidden.emit(this.hide);
109
103
  this.isClosing = false;
110
104
  this.isExpanding = false;
111
105
  }
@@ -146,14 +140,11 @@ export class PnToast {
146
140
  translate(prop) {
147
141
  return translations?.[prop]?.[this.language || en] || prop;
148
142
  }
149
- isMoving() {
150
- return this.isClosing || this.isExpanding;
151
- }
152
143
  hideToast() {
153
- return this.hide && !this.isMoving();
144
+ return this.hide && !(this.isClosing || this.isExpanding);
154
145
  }
155
146
  render() {
156
- return (h(Host, { key: 'b0f490bf139ccd8682e8d43f75ae99f6d5e4a054' }, h("div", { key: '8bdd1b6525b579d06b82d762e56c0ec34c4bb822', id: this.toastId, class: "pn-toast", role: this.getRole(), "data-appearance": this.appearance, "data-temporary": this.temporary, "data-hide": this.hideToast(), ref: el => (this.toast = el) }, this.showIcon() && h("pn-icon", { key: 'fc5626dbbe0f5a5939179f02be8e1e70eec22ebd', class: "pn-toast-icon", icon: this.getIcon() }), h("div", { key: 'f1aabfdd5d9e62d895cd4cfdaf31a7abb92e0749', class: "pn-toast-content" }, this.showTitle() && h("h4", { key: '6267fa5e2eb67c8a0d16506db0586f9b2fa6b18a', class: "pn-toast-heading" }, this.heading), this.text && h("p", { key: 'b1a2ee4468223afc9c43bb57f3aa72c38d86cb1c', class: "pn-toast-text" }, this.text), h("slot", { key: '2508212f2afc63d3faa5a189dd9ddba33cff3eaa' })), this.showIllustration() && h("pn-illustration", { key: 'bee93e5623aa57d1a1f765dd6ad13a8cdd1ea1d8', illustration: this.illustration, width: "5.5em", height: "5.5em" }), this.closable && (h("button", { key: '0db9441d732d60bd37446c92b0df34e44f1f61e9', class: "pn-toast-button", type: "button", "aria-label": this.translate('HIDE'), onClick: (event) => this.handleClick(event), ref: el => (this.button = el) }, h("pn-icon", { key: 'a1325ada64366284633932d4ba775e67b3ae6f59', icon: close }))))));
147
+ return (h(Host, { key: 'c735e200d6cf3061569c3e55caf583abed738725' }, h("output", { key: '7911e4ca88367ea8130a20abda58449a1f7e3098', id: this.toastId, class: "pn-toast", role: this.getRole(), "data-appearance": this.appearance, "data-temporary": this.temporary, "data-hide": this.hideToast(), ref: el => (this.toast = el) }, this.showIcon() && h("pn-icon", { key: 'b064b710d21583eaba8d5ce1c3b162fb1c71f4e4', class: "pn-toast-icon", icon: this.getIcon() }), h("div", { key: '6e24b6771be924b56e2406ac92c5639f7da4b0b6', class: "pn-toast-content" }, this.showTitle() && h("h4", { key: 'eb24bcbbd70b1b77e86c2598569f443bd7d1bdfb', class: "pn-toast-heading" }, this.heading), this.text && h("p", { key: '713b372860897ef9bc55f401282765bc5684b6f6', class: "pn-toast-text" }, this.text), h("slot", { key: 'e567f676f28d20370407fc481c52c92bc34a06e1' })), this.showIllustration() && h("pn-illustration", { key: '6b0b4f9c1f588f71eb1154b6170994f59aaaae4a', illustration: this.illustration, width: "5.5em", height: "5.5em" }), this.closable && (h("button", { key: '4111381fb279dc2d5abe520188869133aa948246', class: "pn-toast-button", type: "button", "aria-label": this.translate('HIDE'), onClick: (event) => this.handleClick(event), ref: el => (this.button = el) }, h("pn-icon", { key: '020fe8b66ce1d955dcb5420c44b0b4b5b1845ab9', icon: close }))))));
157
148
  }
158
149
  static get is() { return "pn-toast"; }
159
150
  static get originalStyleUrls() {
@@ -1 +1 @@
1
- {"version":3,"file":"pn-toast.js","sourceRoot":"","sources":["../../../../src/components/feedback/pn-toast/pn-toast.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAgB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrG,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,KAAK,GACN,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C;;;;;;GAMG;AAKH,MAAM,OAAO,OAAO;;yBAUG,KAAK;2BACH,KAAK;iCAEU,KAAK;uBAMhB,EAAE;oBAKL,EAAE;;;yBAYG,KAAK;;;oBAgBsB,KAAK;wBAKjC,KAAK;wBAMiB,IAAI;;IA9DtD,KAAK,CAAiB;IACtB,MAAM,CAAoB;IAET,QAAQ,GAAW,GAAG,CAAC;IAChC,iBAAiB,GAAW,IAAI,CAAC,QAAQ,CAAC;IAC1C,SAAS,CAAY;IAElB,WAAW,CAAc;IA0DpC,UAAU;QACR,IAAI,YAAY,EAAE;YAAE,IAAI,CAAC,iBAAiB,GAAG,CAAC,CAAC;;YAC1C,IAAI,CAAC,iBA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I,wEAAiB,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,KAAK,EAAC,OAAO,EAAC,MAAM,EAAC,OAAO,GAAG;gBAE5G,IAAI,CAAC,QAAQ,IAAI,CAChB,+DACE,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAC,QAAQ,gBACD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAClC,OAAO,EAAE,CAAC,KAAmB,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EACzD,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;oBAE7B,gEAAS,IAAI,EAAE,KAAK,GAAI,CACjB,CACV,CACG,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import type { PnLanguages } from '@/index';\nimport { awaitTopbar, en, ripple, reduceMotion } from '@/index';\nimport { Component, Host, Prop, h, Element, EventEmitter, Event, State, Watch } from '@stencil/core';\nimport {\n alert_info_circle,\n check_circle,\n alert_exclamation_triangle,\n alert_exclamation_circle,\n close,\n} from 'pn-design-assets/pn-assets/icons.js';\nimport { translations } from './translation';\n\n/**\n * This component is able to fill many roles of a classic toast.\n * It has 4 different colors, a temporary state, hide button, icon and illustration support.\n *\n * The `pn-toast` will expand to its parent containers full width.\n * Either limit the parent width or set a CSS rule to your specific width if needed.\n */\n@Component({\n tag: 'pn-toast',\n styleUrl: 'pn-toast.scss',\n})\nexport class PnToast {\n toast: HTMLDivElement;\n button: HTMLButtonElement;\n\n private readonly duration: number = 400;\n private animationDuration: number = this.duration;\n private animation: Animation;\n\n @Element() hostElement: HTMLElement;\n\n @State() isClosing = false;\n @State() isExpanding = false;\n\n @State() hasSlottedContent: boolean = false;\n\n /**\n * Set a title for the toast. Requires the `text` prop in order to work.\n * @description Can be used together with slotted content.\n */\n @Prop() heading?: string = '';\n /**\n * Set a paragraph of text for the toast.\n * @description Can be used together with slotted content.\n */\n @Prop() text?: string = '';\n /** Give the toast a HTML ID. */\n @Prop() toastId?: string;\n /**\n * Default color is blue, you also have the option of success (green), warning (orange) and error (red).\n * @category Visual\n */\n @Prop() appearance?: '' | 'success' | 'warning' | 'error';\n /**\n * This will apply a shadow and border to the toast.\n * @category Visual\n */\n @Prop() temporary: boolean = false;\n /**\n * Set an SVG icon.\n * @category Visual\n */\n @Prop() icon?: string;\n /**\n * Set an SVG illustration.\n * @category Visual\n */\n @Prop() illustration?: string;\n /**\n * Control the visibility of the toast. If the `closable` prop is active, the toast will set the `hide` prop on its own.\n * @see {@link closable}\n * @category Features\n */\n @Prop({ mutable: true, reflect: true }) hide: boolean = false;\n /**\n * Show close button.\n * @category Features\n */\n @Prop() closable: boolean = false;\n /**\n * Manually set the language, only needed if the `closable` prop is enabled.\n * @see {@link closable}\n * @category Features\n */\n @Prop({ mutable: true }) language?: PnLanguages = null;\n\n @Watch('hide')\n handleHide() {\n if (reduceMotion()) this.animationDuration = 0;\n else this.animationDuration = this.duration;\n\n this.hostElement.style.overflow = 'hidden';\n\n requestAnimationFrame(() => {\n if (this.hide) this.closeToast();\n else this.openToast();\n });\n }\n\n /** Event fired when the close button is pressed. */\n @Event() close: EventEmitter<boolean>;\n /**\n * This event is fired when the toast is fully hidden after the animation is finished.\n * Triggers from the close button or if the prop `hide` is set to true.\n **/\n @Event() hidden: EventEmitter<boolean>;\n\n async componentWillLoad() {\n if (this.hide) {\n this.hostElement.style.height = '0';\n this.hostElement.style.overflow = 'hidden';\n }\n\n if (this.language === null) await awaitTopbar(this.hostElement);\n // Any text content at this stage means there is slotted content present.\n this.hasSlottedContent = !!this.hostElement.textContent;\n }\n\n componentDidLoad() {\n if (!!this.heading && !this.text && !this.hasSlottedContent)\n console.warn('The %s prop is only available if you use the %s prop or slotted content.', 'heading', 'text');\n }\n\n private getRect(element: HTMLElement): DOMRect {\n return element.getBoundingClientRect();\n }\n\n private openToast() {\n requestAnimationFrame(() => {\n const { clientHeight } = this.toast;\n const { height } = this.getRect(this.hostElement);\n\n this.hostElement.style.height = `${height}px`;\n\n this.isExpanding = true;\n this.animateToast(true, `${height}px`, `${clientHeight}px`);\n });\n }\n\n private closeToast() {\n const { clientHeight } = this.hostElement;\n this.hostElement.style.height = `0px`;\n\n this.isClosing = true;\n this.animateToast(false, `${clientHeight}px`, `0px`);\n }\n\n private animateToast(open: boolean, startHeight: string, endHeight: string) {\n this.cancelAnimations();\n this.animation = this.hostElement.animate(\n {\n height: [startHeight, endHeight],\n },\n {\n duration: this.animationDuration,\n easing: 'cubic-bezier(0.6, 0, 0.2, 1)',\n },\n );\n this.animation.onfinish = () => this.animationFinish();\n this.animation.oncancel = () => (open ? (this.isExpanding = false) : (this.isClosing = false));\n }\n\n private animationFinish() {\n this.cancelAnimations();\n if (this.hide) this.hidden.emit(this.hide);\n else {\n this.hostElement.style.height = '';\n this.hostElement.style.overflow = '';\n }\n this.isClosing = false;\n this.isExpanding = false;\n }\n\n private cancelAnimations() {\n if (this.animation) this.animation.cancel();\n }\n\n private handleClick(event: PointerEvent) {\n this.hide = true;\n this.close.emit(this.hide);\n ripple(event, this.toast);\n }\n\n private getIcon(): string {\n if (this.illustration) return '';\n if (this.icon) return this.icon;\n if (this.appearance === 'success') return check_circle;\n if (this.appearance === 'warning') return alert_exclamation_triangle;\n if (this.appearance === 'error') return alert_exclamation_circle;\n return alert_info_circle;\n }\n\n private getRole(): string {\n return this.appearance === 'error' ? 'alert' : 'status';\n }\n\n private showIcon(): boolean {\n return !this.illustration;\n }\n\n private showIllustration(): boolean {\n return !this.showIcon();\n }\n\n private showTitle(): boolean {\n return (this.hasSlottedContent || !!this.text) && !!this.heading;\n }\n\n private translate(prop: string): string {\n return translations?.[prop]?.[this.language || en] || prop;\n }\n\n private isMoving(): boolean {\n return this.isClosing || this.isExpanding;\n }\n\n private hideToast(): boolean {\n return this.hide && !this.isMoving();\n }\n\n render() {\n return (\n <Host>\n <div\n id={this.toastId}\n class=\"pn-toast\"\n role={this.getRole()}\n data-appearance={this.appearance}\n data-temporary={this.temporary}\n data-hide={this.hideToast()}\n ref={el => (this.toast = el)}\n >\n {this.showIcon() && <pn-icon class=\"pn-toast-icon\" icon={this.getIcon()} />}\n\n <div class=\"pn-toast-content\">\n {this.showTitle() && <h4 class=\"pn-toast-heading\">{this.heading}</h4>}\n {this.text && <p class=\"pn-toast-text\">{this.text}</p>}\n <slot />\n </div>\n\n {this.showIllustration() && <pn-illustration illustration={this.illustration} width=\"5.5em\" height=\"5.5em\" />}\n\n {this.closable && (\n <button\n class=\"pn-toast-button\"\n type=\"button\"\n aria-label={this.translate('HIDE')}\n onClick={(event: PointerEvent) => this.handleClick(event)}\n ref={el => (this.button = el)}\n >\n <pn-icon icon={close} />\n </button>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pn-toast.js","sourceRoot":"","sources":["../../../../src/components/feedback/pn-toast/pn-toast.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAgB,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrG,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,0BAA0B,EAC1B,wBAAwB,EACxB,KAAK,GACN,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,YAAY,EA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,IAAI,2DAAI,KAAK,EAAC,kBAAkB,IAAE,IAAI,CAAC,OAAO,CAAM;oBACpE,IAAI,CAAC,IAAI,IAAI,0DAAG,KAAK,EAAC,eAAe,IAAE,IAAI,CAAC,IAAI,CAAK;oBACtD,8DAAQ,CACJ;gBAEL,IAAI,CAAC,gBAAgB,EAAE,IAAI,wEAAiB,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,KAAK,EAAC,OAAO,EAAC,MAAM,EAAC,OAAO,GAAG;gBAE5G,IAAI,CAAC,QAAQ,IAAI,CAChB,+DACE,KAAK,EAAC,iBAAiB,EACvB,IAAI,EAAC,QAAQ,gBACD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAClC,OAAO,EAAE,CAAC,KAAmB,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EACzD,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;oBAE7B,gEAAS,IAAI,EAAE,KAAK,GAAI,CACjB,CACV,CACM,CACJ,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import type { PnLanguages } from '@/index';\nimport { awaitTopbar, en, ripple, reduceMotion } from '@/index';\nimport { Component, Host, Prop, h, Element, EventEmitter, Event, State, Watch } from '@stencil/core';\nimport {\n alert_info_circle,\n check_circle,\n alert_exclamation_triangle,\n alert_exclamation_circle,\n close,\n} from 'pn-design-assets/pn-assets/icons.js';\nimport { translations } from './translation';\n\n/**\n * This component is able to fill many roles of a classic toast.\n * It has 4 different colors, a temporary state, hide button, icon and illustration support.\n *\n * The `pn-toast` will expand to its parent containers full width.\n * Either limit the parent width or set a CSS rule to your specific width if needed.\n */\n@Component({\n tag: 'pn-toast',\n styleUrl: 'pn-toast.scss',\n})\nexport class PnToast {\n toast: HTMLOutputElement;\n button: HTMLButtonElement;\n\n private readonly duration: number = 400;\n private animationDuration: number = this.duration;\n private animation: Animation;\n\n @Element() hostElement: HTMLElement;\n\n @State() isClosing = false;\n @State() isExpanding = false;\n\n @State() hasSlottedContent: boolean = false;\n\n /**\n * Set a title for the toast. Requires the `text` prop in order to work.\n * @description Can be used together with slotted content.\n */\n @Prop() heading?: string = '';\n /**\n * Set a paragraph of text for the toast.\n * @description Can be used together with slotted content.\n */\n @Prop() text?: string = '';\n /** Give the toast a HTML ID. */\n @Prop() toastId?: string;\n /**\n * Default color is blue, you also have the option of success (green), warning (orange) and error (red).\n * @category Visual\n */\n @Prop() appearance?: '' | 'success' | 'warning' | 'error';\n /**\n * This will apply a shadow and border to the toast.\n * @category Visual\n */\n @Prop() temporary: boolean = false;\n /**\n * Set an SVG icon.\n * @category Visual\n */\n @Prop() icon?: string;\n /**\n * Set an SVG illustration.\n * @category Visual\n */\n @Prop() illustration?: string;\n /**\n * Control the visibility of the toast. If the `closable` prop is active, the toast will set the `hide` prop on its own.\n * @see {@link closable}\n * @category Features\n */\n @Prop({ mutable: true, reflect: true }) hide: boolean = false;\n /**\n * Show close button.\n * @category Features\n */\n @Prop() closable: boolean = false;\n /**\n * Manually set the language, only needed if the `closable` prop is enabled.\n * @see {@link closable}\n * @category Features\n */\n @Prop({ mutable: true }) language?: PnLanguages = null;\n\n @Watch('hide')\n handleHide() {\n if (reduceMotion()) this.animationDuration = 0;\n else this.animationDuration = this.duration;\n\n if (this.hide) this.closeToast();\n else this.openToast();\n }\n\n /** Event fired when the close button is pressed. */\n @Event() close: EventEmitter<boolean>;\n /**\n * This event is fired when the toast is fully hidden after the animation is finished.\n * Triggers from the close button or if the prop `hide` is set to true.\n **/\n @Event() hidden: EventEmitter<boolean>;\n\n async componentWillLoad() {\n if (this.hide) this.hostElement.style.height = '0';\n\n if (this.language === null) await awaitTopbar(this.hostElement);\n // Any text content at this stage means there is slotted content present.\n this.hasSlottedContent = !!this.hostElement.textContent;\n }\n\n componentDidLoad() {\n if (!!this.heading && !this.text && !this.hasSlottedContent)\n console.warn('The %s prop is only available if you use the %s prop or slotted content.', 'heading', 'text');\n }\n\n private getRect(element: HTMLElement): DOMRect {\n return element.getBoundingClientRect();\n }\n\n private openToast() {\n requestAnimationFrame(() => {\n const { scrollHeight } = this.hostElement;\n const { height } = this.getRect(this.hostElement);\n\n this.hostElement.style.height = `${height}px`;\n\n this.isExpanding = true;\n this.animateToast(true, `${height}px`, `${scrollHeight}px`);\n });\n }\n\n private closeToast() {\n const { scrollHeight, clientHeight } = this.hostElement;\n const height = this.isExpanding ? clientHeight : scrollHeight;\n this.hostElement.style.height = `0px`;\n\n this.isClosing = true;\n this.animateToast(false, `${height}px`, `0px`);\n }\n\n private animateToast(open: boolean, startHeight: string, endHeight: string) {\n this.cancelAnimations();\n this.animation = this.hostElement.animate(\n {\n height: [startHeight, endHeight],\n },\n {\n duration: this.animationDuration,\n easing: 'cubic-bezier(0.6, 0, 0.2, 1)',\n },\n );\n this.animation.onfinish = () => this.animationFinish();\n this.animation.oncancel = () => (open ? (this.isExpanding = false) : (this.isClosing = false));\n }\n\n private animationFinish() {\n this.cancelAnimations();\n if (!this.hide) this.hostElement.style.height = '';\n else this.hidden.emit(this.hide);\n this.isClosing = false;\n this.isExpanding = false;\n }\n\n private cancelAnimations() {\n if (this.animation) this.animation.cancel();\n }\n\n private handleClick(event: PointerEvent) {\n this.hide = true;\n this.close.emit(this.hide);\n ripple(event, this.toast);\n }\n\n private getIcon(): string {\n if (this.illustration) return '';\n if (this.icon) return this.icon;\n if (this.appearance === 'success') return check_circle;\n if (this.appearance === 'warning') return alert_exclamation_triangle;\n if (this.appearance === 'error') return alert_exclamation_circle;\n return alert_info_circle;\n }\n\n private getRole(): string {\n return this.appearance === 'error' ? 'alert' : 'status';\n }\n\n private showIcon(): boolean {\n return !this.illustration;\n }\n\n private showIllustration(): boolean {\n return !this.showIcon();\n }\n\n private showTitle(): boolean {\n return (this.hasSlottedContent || !!this.text) && !!this.heading;\n }\n\n private translate(prop: string): string {\n return translations?.[prop]?.[this.language || en] || prop;\n }\n\n private hideToast() {\n return this.hide && !(this.isClosing || this.isExpanding);\n }\n\n render() {\n return (\n <Host>\n <output\n id={this.toastId}\n class=\"pn-toast\"\n role={this.getRole()}\n data-appearance={this.appearance}\n data-temporary={this.temporary}\n data-hide={this.hideToast()}\n ref={el => (this.toast = el)}\n >\n {this.showIcon() && <pn-icon class=\"pn-toast-icon\" icon={this.getIcon()} />}\n\n <div class=\"pn-toast-content\">\n {this.showTitle() && <h4 class=\"pn-toast-heading\">{this.heading}</h4>}\n {this.text && <p class=\"pn-toast-text\">{this.text}</p>}\n <slot />\n </div>\n\n {this.showIllustration() && <pn-illustration illustration={this.illustration} width=\"5.5em\" height=\"5.5em\" />}\n\n {this.closable && (\n <button\n class=\"pn-toast-button\"\n type=\"button\"\n aria-label={this.translate('HIDE')}\n onClick={(event: PointerEvent) => this.handleClick(event)}\n ref={el => (this.button = el)}\n >\n <pn-icon icon={close} />\n </button>\n )}\n </output>\n </Host>\n );\n }\n}\n"]}
@@ -75,7 +75,7 @@ export class PnTooltip {
75
75
  }, time);
76
76
  }
77
77
  render() {
78
- return (h("button", { key: 'a421dbdcba2a38e9adc8f7364c5ff185372f1deb', class: "pn-tooltip", "data-light": this.light, "data-warning": this.warning, "data-downwards": this.downwards, "data-open": this.open, ref: el => (this.button = el) }, h("pn-icon", { key: '61409db0c58289bf1b606e0dc323266c0322b64b', icon: this.getSymbol(), "data-simple": !!this.tooltip }), h("div", { key: '2164d90ba6dabac1309d751772c9ae20c9c118c1', class: "pn-tooltip-content", "data-simple": !!this.tooltip, ref: el => (this.content = el) }, this.tooltip, h("div", { key: 'e30e4bdee6fe1666b5ad6154773a06fd5649dd92', hidden: !!this.tooltip }, h("slot", { key: '4456ff966d227bbca13599565c9ceb0adb6c91d6' })))));
78
+ return (h("button", { key: '7b0253721fbc44e83afc6daa41d984e9dbf16c0b', class: "pn-tooltip", "data-light": this.light, "data-warning": this.warning, "data-downwards": this.downwards, "data-open": this.open, ref: el => (this.button = el) }, h("pn-icon", { key: 'd6086755274289dad52757b42aa508927d0746d2', icon: this.getSymbol(), "data-simple": !!this.tooltip }), h("div", { key: 'e155c88aa2ee2b33c5622741efa59bb07ba548c7', class: "pn-tooltip-content", "data-simple": !!this.tooltip, ref: el => (this.content = el) }, this.tooltip, h("div", { key: '62a3db64ee0d4e3da5d3e2f414850f3792235f1c', hidden: !!this.tooltip }, h("slot", { key: 'e769400a4d5e1ceddc7fb6a953fe37eeea1b4218' })))));
79
79
  }
80
80
  static get is() { return "pn-tooltip"; }
81
81
  static get originalStyleUrls() {
@@ -38,7 +38,7 @@ export class PnCheckbox {
38
38
  this.handleId();
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: 'c3bcdee583919c5f6f11f2e21cb5362f96ac1633' }, h("input", { key: '10e34d60ff748c2d99c9e3740c69a17016ca3223', type: "checkbox", id: this.checkboxid, value: this.value, name: this.name || this.checkboxid, disabled: this.disabled, checked: this.checked, required: this.required, indeterminate: this.indeterminate, "aria-invalid": this.invalid?.toString(), "aria-describedby": this.helpertext && this.idHelpertext }), h("div", { key: '15e4f62557b23b99ab344f32dcfa2103c395b9ed', class: "pn-checkbox", "data-tile": this.tile, "data-invalid": this.invalid }, h("div", { key: '98e4eb05092b3fe4d9e30b748e89d3bd104925ff', class: "pn-checkbox-outer" }, h("svg", { key: 'a39edd1e675ba5b131059f1bd8b0d7f6fea9370b', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { key: 'a355d7729c12497f133cde364c7ff9601f9940db', class: "pn-checkbox-checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { key: '18c274c70036a5a3aae8b333c513d053061945cf', class: "pn-checkbox-indeterminate-path", points: "4,12 20,12", "stroke-width": "3" }))), (!!this.label || !!this.helpertext) && (h("p", { key: '1499f1e5d14dc15cc5691429fd8565c1e16b4fda', class: "pn-checkbox-content" }, !!this.label && (h("label", { key: '87ca925b4af005c6cbec279a3209fcd5d92a4ae8', htmlFor: this.checkboxid, class: "pn-checkbox-label" }, this.label)), !!this.helpertext && (h("span", { key: '6808421c4151d5ad4711477d165e0d8a9bdaceae', id: this.idHelpertext, class: "pn-checkbox-helpertext" }, this.helpertext)))), this.tile && this.icon && h("pn-icon", { key: '0f182a49401f04adf6944a82490d838bd114f38b', icon: this.icon, color: "gray900" }))));
41
+ return (h(Host, { key: 'f0639bf5c45347c39ef933b7f4967be10e671e46' }, h("input", { key: '560e64e32b38b40a847b3b7283255dc9e9f36f72', type: "checkbox", id: this.checkboxid, value: this.value, name: this.name || this.checkboxid, disabled: this.disabled, checked: this.checked, required: this.required, indeterminate: this.indeterminate, "aria-invalid": this.invalid?.toString(), "aria-describedby": this.helpertext && this.idHelpertext }), h("div", { key: 'ac86d6c2bd460ce3b29fe8862b9a7b64ca23e2dd', class: "pn-checkbox", "data-tile": this.tile, "data-invalid": this.invalid }, h("div", { key: '6df97a9582503dc04946f3e590dff276bf87d885', class: "pn-checkbox-outer" }, h("svg", { key: '37d8212ac1b0088ebcbe28cd02d5cc6e59352e63', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { key: 'b19a548634e5fe186291a0d24c4c3f81efe8eab1', class: "pn-checkbox-checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { key: '040639fc42060dff6db8fab45dc713ccf81631bf', class: "pn-checkbox-indeterminate-path", points: "4,12 20,12", "stroke-width": "3" }))), (!!this.label || !!this.helpertext) && (h("p", { key: '3006b0ba0826003608453423259914a3b9622168', class: "pn-checkbox-content" }, !!this.label && (h("label", { key: '2de986fd9df0d639e5b398c24b4aa95e6e416c5d', htmlFor: this.checkboxid, class: "pn-checkbox-label" }, this.label)), !!this.helpertext && (h("span", { key: '13c417fef46e456a1e036a22c9655da2fa19de24', id: this.idHelpertext, class: "pn-checkbox-helpertext" }, this.helpertext)))), this.tile && this.icon && h("pn-icon", { key: '204b119d1bf7da4ce2fb90d1f53114b6a5ada7dd', icon: this.icon, color: "gray900" }))));
42
42
  }
43
43
  static get is() { return "pn-checkbox"; }
44
44
  static get originalStyleUrls() {
@@ -28,7 +28,7 @@ export class PnChoiceChip {
28
28
  }
29
29
  hostElement;
30
30
  render() {
31
- return (h(Host, { key: '163abbbcca43588ea04866d4826bd7b30b88324d' }, h("div", { key: '2af33c1a26f70b59d22db00a943c09b43eaf3523', class: "pn-choice-chip" }, h("input", { key: '23dbbfe5102e681efbf6d08c30e64fb6f8761300', type: this.radio ? 'radio' : 'checkbox', id: this.choiceid, value: this.value, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled }), h("div", { key: 'c57f848d0458880a41f030691e9fa6bef497bf18', class: "pn-choice-chip-container", "data-icon": !!this.icon, "data-small": this.small, "data-large": this.large }, h("div", { key: '2978e8c81a0f4057a70e1cb29d94768040ecfd95', class: "pn-choice-chip-icon" }, h("pn-icon", { key: '62101eaa67f7351df8657b4df56e145d54ca4468', color: "blue700", class: "pn-choice-chip-icon-check", icon: check }), !!this.icon && h("pn-icon", { key: '06c50dad1d7e2b78a36d4c923878633d489b0d55', color: "blue700", class: "pn-choice-chip-icon-user", icon: this.icon })), h("label", { key: '502b02b9c9e30d56a39aa425af8b6c9bf755b8c9', class: "pn-choice-chip-label", htmlFor: this.choiceid }, h("span", { key: '79f7c5b812fbd06c54af2d14f08d2e0a7ae1f520' }, this.label), h("slot", { key: 'f90c14659d035a662fca81e4045e7523b60f8a46' }))))));
31
+ return (h(Host, { key: '5ff90532fb75531aa8fcb23fd4dd0ae0dfc7d33a' }, h("div", { key: '500cb322689763c229ac303d1d62643a620c74ed', class: "pn-choice-chip" }, h("input", { key: '88feb0c54e20951c8c6e9d761323e1806e4583bd', type: this.radio ? 'radio' : 'checkbox', id: this.choiceid, value: this.value, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled }), h("div", { key: 'd1ed91ded7233f9229bdbde4f9c40b5c86a67fba', class: "pn-choice-chip-container", "data-icon": !!this.icon, "data-small": this.small, "data-large": this.large }, h("div", { key: '29f8378c640a6553416507e2ca0454bca47c557c', class: "pn-choice-chip-icon" }, h("pn-icon", { key: 'f70f7191ade89323265b312cc881141edffc4296', color: "blue700", class: "pn-choice-chip-icon-check", icon: check }), !!this.icon && h("pn-icon", { key: '87d85e74effe1b65d949b0735a50f5b4a56acf25', color: "blue700", class: "pn-choice-chip-icon-user", icon: this.icon })), h("label", { key: '772f0726fcaada44af2c10ab922bb3eb151886b7', class: "pn-choice-chip-label", htmlFor: this.choiceid }, h("span", { key: '7c5bf78b2811a70308663bfb1be95420ce7ca30d' }, this.label), h("slot", { key: '6fd6ee5beb63f38285b273f0a73d41e5895cc8e6' }))))));
32
32
  }
33
33
  static get is() { return "pn-choice-chip"; }
34
34
  static get originalStyleUrls() {
@@ -175,7 +175,7 @@ export class PnCounter {
175
175
  this.counterElement.style.setProperty('--pn-counter-ch', '0ch');
176
176
  }
177
177
  render() {
178
- return (h(Host, { key: 'ae9451959e2ebc720b69af2942deaa5d94e36565' }, h("div", { key: 'f631dd7d8c7acbb4a459b46da53ea3445ae96480', class: "pn-counter", role: "group", "aria-labelledby": this.idLabel, "aria-describedby": this.describedbyIds() }, h("label", { key: '2538568f65666aedc3a0f9e2f3f681b4b9647cd6', htmlFor: this.counterid, class: "pn-counter-label", id: this.idLabel }, h("span", { key: '73abf4ec6f185201f95799910a70518f61f85577' }, this.label)), h("div", { key: '8e99e77f67aae105b90052ed74ba6c3a438e22ca', class: "pn-counter-items", "data-hidebuttons": this.noButtons() }, h("pn-button", { key: '8d6f5c4af2a524bb43a3023c130b2a6e1814c53d', "data-decrease": true, appearance: "light", variant: "outlined", "no-tab": this.noButtons(), icon: minus, iconOnly: true, arialabel: this.labelDecrease || this.translate('DECREASE'), onClick: () => this.decreaseAmount() }), h("input", { key: '93ab63799f90cdecdbf3694ca56dfe92a5fe9e80', id: this.counterid, class: "pn-counter-input", type: "number", min: this.min, max: this.max, step: this.step, value: this.value, name: this.name, required: this.required, readonly: this.readonly, disabled: this.disabled, "aria-describedby": this.describedbyIds(), onInput: e => this.setVal(e), onKeyDown: (e) => this.keyBoardInput(e) }), h("pn-button", { key: 'a39f90c5ace631d8973a700f72d57a2490cad342', "data-increase": true, appearance: "light", variant: "outlined", "no-tab": this.noButtons(), icon: plus, iconOnly: true, arialabel: this.labelIncrease || this.translate('INCREASE'), onClick: () => this.increaseAmount() })), !!this.getTextMessage() && (h("p", { key: '0ed6cc20cb56637faa7d70c6fe903a5e412fff0e', id: this.idText, class: "pn-counter-helpertext" }, h("span", { key: 'def00a454a70d4ebc952cdfbfdb5b11eece74452' }, this.getTextMessage()))), h("p", { key: 'eef2cf6b2f193779d616e09c32a9fc0ece4c5104', id: this.idAmount, class: "pn-counter-sr-only", "aria-live": "assertive" }, this.displaySrValue ? this.getTextMessage(true) : ''))));
178
+ return (h(Host, { key: '2fe59aa7c06e3005cd3f9c8b633bf3ee3c85833b' }, h("div", { key: '206308ce9ff21a303013164a3ec4015074d494b2', class: "pn-counter", role: "group", "aria-labelledby": this.idLabel, "aria-describedby": this.describedbyIds() }, h("label", { key: '6843e23ed0c46cf33aaa6b83c9c7304775dba549', htmlFor: this.counterid, class: "pn-counter-label", id: this.idLabel }, h("span", { key: 'cbc609092923ef8806d7b5e77beb26021b490d44' }, this.label)), h("div", { key: 'df51b364dc11c020d390f3bed823caf7063a9c94', class: "pn-counter-items", "data-hidebuttons": this.noButtons() }, h("pn-button", { key: '52413b869322b9398eddfb81713609205594d59f', "data-decrease": true, appearance: "light", variant: "outlined", "no-tab": this.noButtons(), icon: minus, iconOnly: true, arialabel: this.labelDecrease || this.translate('DECREASE'), onClick: () => this.decreaseAmount() }), h("input", { key: '8c9dd73dba29a17df0515758a48be4f4f8798bbf', id: this.counterid, class: "pn-counter-input", type: "number", min: this.min, max: this.max, step: this.step, value: this.value, name: this.name, required: this.required, readonly: this.readonly, disabled: this.disabled, "aria-describedby": this.describedbyIds(), onInput: e => this.setVal(e), onKeyDown: (e) => this.keyBoardInput(e) }), h("pn-button", { key: 'c10fc2e4f25708ed81dc95b8ea07c0c07803df1f', "data-increase": true, appearance: "light", variant: "outlined", "no-tab": this.noButtons(), icon: plus, iconOnly: true, arialabel: this.labelIncrease || this.translate('INCREASE'), onClick: () => this.increaseAmount() })), !!this.getTextMessage() && (h("p", { key: 'e01ab71ae17a042681b5c3a87766bac914c6be10', id: this.idText, class: "pn-counter-helpertext" }, h("span", { key: 'd51a1a0e851e7a6afe79a3c384167324c906939a' }, this.getTextMessage()))), h("p", { key: 'c89af26fd950c7166cec80b08feb1651feb54bba', id: this.idAmount, class: "pn-counter-sr-only", "aria-live": "assertive" }, this.displaySrValue ? this.getTextMessage(true) : ''))));
179
179
  }
180
180
  static get is() { return "pn-counter"; }
181
181
  static get originalStyleUrls() {
@@ -243,6 +243,7 @@ pn-date-picker .pn-date-picker-calendar {
243
243
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
244
244
  }
245
245
  pn-date-picker .pn-date-picker-calendar[data-range] {
246
+ width: 100%;
246
247
  max-width: unset;
247
248
  }
248
249
  pn-date-picker .pn-date-picker-calendar[data-open], pn-date-picker .pn-date-picker-calendar[data-moving] {
@@ -378,8 +379,8 @@ pn-date-picker .pn-date-picker-td[aria-selected=true][data-single]:before {
378
379
  }
379
380
  pn-date-picker .pn-date-picker-td[aria-selected=true][data-range]:before {
380
381
  border-radius: 0;
381
- border-left-width: 0;
382
- border-right-width: 0;
382
+ border-left: 0;
383
+ border-right: 0;
383
384
  }
384
385
  pn-date-picker .pn-date-picker-td[aria-selected=true][data-range-from]:before {
385
386
  border-radius: 0.5em 0 0 0.5em;
@@ -3,7 +3,7 @@
3
3
  * By PostNord.
4
4
  */
5
5
  import { h, Host } from "@stencil/core";
6
- import { awaitTopbar, uuidv4, en, getTotalHeightOffset, reduceMotion, getMenuWidth } from "../../../index";
6
+ import { awaitTopbar, uuidv4, en, getTotalHeightOffset, reduceMotion } from "../../../index";
7
7
  import { translations } from "./translations";
8
8
  import { CALENDAR, MONTHS, YEARS, validateDate, isBefore, isAfter, selectedDate, getDateObject, getDiff, getToday, getDate, getReadableDate, getGrid, setYear, setMonth, navigateGrid, } from "../../../globals/date/index";
9
9
  import { calendar, arrow_left, arrow_right, pn_return } from "pn-design-assets/pn-assets/icons.js";
@@ -165,27 +165,11 @@ export class PnDatePicker {
165
165
  const fitDownwards = spaceDownwards > scrollHeight;
166
166
  const openTop = (this.openUp && (fitUpwards || spaceUpwards > spaceDownwards)) || (!fitDownwards && fitUpwards);
167
167
  this.openUp = openTop;
168
- // Calc horizontal positioning - center calendar relative to host element
168
+ // Calc y-axis
169
169
  const rectCal = this.getRect(this.calendarElement);
170
- const menuWidth = getMenuWidth();
171
- // Calculate center position: host center minus half of calendar width
172
- const hostCenterX = rectHost.x + rectHost.width / 2;
173
- const calendarHalfWidth = rectCal.width / 2;
174
- const idealCenterOffset = hostCenterX - calendarHalfWidth - rectCal.x;
175
- // Check boundaries, accounting for menu width on the left
176
- const calendarLeftEdge = rectCal.x + idealCenterOffset;
177
- const calendarRightEdge = calendarLeftEdge + rectCal.width;
178
- const leftBoundary = menuWidth + 16; // Menu width + buffer
179
- let finalOffset = idealCenterOffset;
180
- // Adjust if calendar would go beyond left edge of viewport or over the menu
181
- if (calendarLeftEdge < leftBoundary) {
182
- finalOffset = leftBoundary - rectCal.x;
183
- }
184
- // Adjust if calendar would go beyond right edge of viewport
185
- else if (calendarRightEdge > innerWidth - 16) {
186
- finalOffset = innerWidth - 16 - rectCal.width - rectCal.x;
187
- }
188
- this.calendarElement.style.setProperty('--pn-calendar-offset-left', `${Math.floor(finalOffset)}px`);
170
+ const widthMinusRight = innerWidth - rectCal.right;
171
+ const offset = 0 > widthMinusRight ? widthMinusRight - 8 : 0;
172
+ this.calendarElement.style.setProperty('--pn-calendar-offset-left', `${Math.floor(offset)}px`);
189
173
  });
190
174
  }
191
175
  handleMessage() {
@@ -678,7 +662,7 @@ export class PnDatePicker {
678
662
  return (h("div", { class: "pn-date-picker-container", "data-error": this.hasError() }, h("label", { class: "pn-date-picker-label", htmlFor: id }, h("span", null, label)), h("div", { class: "pn-date-picker-field" }, h("input", { type: "text", id: id, class: "pn-date-picker-input", name: this.name, placeholder: placeholder, autocomplete: this.autocomplete, maxlength: this.disableMaxLength ? null : this.format.length, list: list, pattern: this.pattern, value: value, disabled: this.disabled, required: this.required, readonly: this.readonly, "aria-describedby": this.ariaDescribedby(), "aria-invalid": this.hasError()?.toString(), onInput: e => this.inputHandler(e, to), "data-active": editing }), showButton && (h("pn-button", { class: "pn-date-picker-toggle", buttonId: idButton, icon: calendar, iconOnly: true, appearance: "light", arialabel: textButton, ariaexpanded: this.open.toString(), ariacontrols: this.idCalendar, "data-active": this.open, "data-input": true, small: true, onPnClick: () => this.toggleGrid(null, to), onKeyDown: e => this.handleButtonBlur(e) })))));
679
663
  }
680
664
  render() {
681
- return (h(Host, { key: '683125ae4363ce235cc3aec68a1d4003593425d1' }, h("div", { key: 'cf4cf8baae7d387533013fe59722bb4401431dbd', class: "pn-date-picker" }, this.renderInput(), this.range && (h("div", { key: 'fae36c22bd631fde3313c2240cd33e6f871ff405', class: "pn-date-picker-range-icon test" }, h("pn-icon", { key: 'd0f18d8a7ff81248471b27975eb24242fc8b5157', icon: arrow_right }))), this.range && this.renderInput({ to: this.range })), h("div", { key: '6f4f250edc36dd15d4a5a330bf5d8c5125289a09', id: this.idCalendar, class: "pn-date-picker-calendar", role: "dialog", "aria-label": this.translate('CALENDAR_NAVIGATION'), "data-open": this.open, "data-moving": this.isClosing || this.isExpanding, "data-direction": this.openUp ? 'top' : 'bottom', "data-range": this.range, style: { height: '0px' }, ref: el => (this.calendarElement = el), onKeyDown: e => this.handleCalendarTabEsc(e) }, h("div", { key: 'a8821cca04a6301bd148c3dbfee28bf86c94e543', class: "pn-date-picker-wrapper" }, h("nav", { key: '38f404ea6187d754ac44160bcda2291e0739610d', class: "pn-date-picker-nav", "aria-labelledby": this.idCalendar }, h("pn-button", { key: '923845f5df9f35ff74ffeb2ed63c903696a4399d', hidden: this.viewingMonth(), small: true, appearance: "light", arialabel: this.translate(`PREVIOUS_${this.viewType().toUpperCase()}`), icon: arrow_left, iconOnly: true, onPnClick: () => this.setNavView({ minus: true }) }), h("pn-button", { key: '32e6f337bc1b82adcf11b2668974c0c4b9f2c730', hidden: !this.viewingCalendar(), small: true, appearance: "light", onPnClick: () => this.setView(MONTHS) }, h("span", { key: 'e1bcc4e89726d5c25e94d87b283b543987674f2d', class: "pn-date-picker-month", "data-full": true }, this.translateDateText({ date: 1 }, 'MMMM')), h("span", { key: 'b93becc6c92ef4693f158e08276aa21e496d10c3', class: "pn-date-picker-month", "data-abbr": true }, this.translateDateText({ date: 1 }, 'MMM'))), h("h2", { key: '1aa3fc4c553858c947205610a4958fc153f63527', hidden: this.viewingCalendar(), class: "pn-date-picker-title" }, this.translate(`SELECT_${this.viewType().toUpperCase()}`)), h("pn-button", { key: '16fdeb8efb9744d9fb5db3b41eea172ad9b49c32', hidden: !this.viewingCalendar(), small: true, appearance: "light", onPnClick: () => this.setView(YEARS) }, h("span", { key: '491246d413dd42fe794d155720f847d9339bf81f' }, this.dateViewYear)), h("pn-button", { key: '8a2acfd530f049d13972125dd6e6fc8120020b18', hidden: this.viewingMonth(), small: true, appearance: "light", arialabel: this.translate(`NEXT_${this.viewType().toUpperCase()}`), icon: arrow_right, iconOnly: true, onPnClick: () => this.setNavView({ plus: true }) })), this.viewingYears() && this.renderYearGrid(), this.viewingMonth() && this.renderMonthGrid(), this.viewingCalendar() && this.renderDateGrid(), h("aside", { key: '7905780579fdbea9ff9bc03c05208c6714a1b690', class: "pn-date-picker-chips" }, h("slot", { key: '3aacde33dde852b97b75327c378248395bf74b03', name: "chips" })), h("nav", { key: '37bf1f4447f480986bf905375149d40d42318374', class: "pn-date-picker-bottom", hidden: this.viewingCalendar() }, h("pn-button", { key: '0ba2954cf4f994e5befcf0546e45333b1a0030c2', appearance: "light", variant: "outlined", small: true, icon: pn_return, onPnClick: () => this.setView(CALENDAR) }, h("span", { key: 'f6af5dbb4dff963d6b07147f1573f22797abd4e4' }, this.translate('GO_CALENDAR')))))), h("p", { key: '4ceaeea86eeeb3e6cafa2b09343ee1b3ff7fada8', id: this.idHelper, class: "pn-date-picker-helpertext", hidden: !this.hasHelperText() || this.hasError() }, h("span", { key: 'b40445ded778af04b0313e84645226fe59e0bc9a' }, this.helpertext), h("slot", { key: '0cf4aee251e8aaf33618c9f318451069b6bfe22f', name: "helpertext" })), h("p", { key: 'dbcc74e7fdea8f7b1053226448cbc419ebaf9498', id: this.idError, class: "pn-date-picker-error", role: "alert", hidden: !this.hasErrorMessage() }, h("span", { key: '9cc3055b8389abadd3f7d2303cc755b71cc238b3' }, this.error), h("slot", { key: '4c1eef7f48dba08b33f05b836f55abcc39b5abe3', name: "error" }))));
665
+ return (h(Host, { key: '6122e6224b4aa8570a714522dc323088074f5185' }, h("div", { key: 'd7d3c86378c680d3ddd14d9f3cb073f4bb42e2cf', class: "pn-date-picker" }, this.renderInput(), this.range && (h("div", { key: '3f02b31a0e03aef31b84777d6047d1b328ff633d', class: "pn-date-picker-range-icon test" }, h("pn-icon", { key: 'ad328bd870726dea04b2496d2059a67de218ceac', icon: arrow_right }))), this.range && this.renderInput({ to: this.range })), h("div", { key: '71c8518c6500591a4c0d7dc72681d9bcad264641', id: this.idCalendar, class: "pn-date-picker-calendar", role: "dialog", "aria-label": this.translate('CALENDAR_NAVIGATION'), "data-open": this.open, "data-moving": this.isClosing || this.isExpanding, "data-direction": this.openUp ? 'top' : 'bottom', "data-range": this.range, style: { height: '0px' }, ref: el => (this.calendarElement = el), onKeyDown: e => this.handleCalendarTabEsc(e) }, h("div", { key: '277f45e3372d096521889fa4bca4c1971346f0d3', class: "pn-date-picker-wrapper" }, h("nav", { key: '06336288e1d9a65ba4aa796328b09003cb79271d', class: "pn-date-picker-nav", "aria-labelledby": this.idCalendar }, h("pn-button", { key: '6361907855287330a3e9c537ce02bd948baccaa4', hidden: this.viewingMonth(), small: true, appearance: "light", arialabel: this.translate(`PREVIOUS_${this.viewType().toUpperCase()}`), icon: arrow_left, iconOnly: true, onPnClick: () => this.setNavView({ minus: true }) }), h("pn-button", { key: '21ae6b846df3bd12b314cb6b40f6d60dc8a0cc02', hidden: !this.viewingCalendar(), small: true, appearance: "light", onPnClick: () => this.setView(MONTHS) }, h("span", { key: '9f555bfea7f07abb32d8e96e6d84b547b4946899', class: "pn-date-picker-month", "data-full": true }, this.translateDateText({ date: 1 }, 'MMMM')), h("span", { key: '0a434038cb6ceb7fb52e89161408da00c8f3e0e3', class: "pn-date-picker-month", "data-abbr": true }, this.translateDateText({ date: 1 }, 'MMM'))), h("h2", { key: 'c63bfdcb83caf9fe9aec34416060d4ffe6ae6b08', hidden: this.viewingCalendar(), class: "pn-date-picker-title" }, this.translate(`SELECT_${this.viewType().toUpperCase()}`)), h("pn-button", { key: '502e44a09ca6194365542c1223e3e994e2fbe9d0', hidden: !this.viewingCalendar(), small: true, appearance: "light", onPnClick: () => this.setView(YEARS) }, h("span", { key: 'e0e9bbe7234ae0ce544fc3b89c94c798f3a60123' }, this.dateViewYear)), h("pn-button", { key: 'f93f7301ab9b61cd386dcdb19df482a7b1f4a15d', hidden: this.viewingMonth(), small: true, appearance: "light", arialabel: this.translate(`NEXT_${this.viewType().toUpperCase()}`), icon: arrow_right, iconOnly: true, onPnClick: () => this.setNavView({ plus: true }) })), this.viewingYears() && this.renderYearGrid(), this.viewingMonth() && this.renderMonthGrid(), this.viewingCalendar() && this.renderDateGrid(), h("aside", { key: '3473b9b53b3d0007828a367f05dcbb6fb3959e7e', class: "pn-date-picker-chips" }, h("slot", { key: '94e47d8d7feb1caa5db4fd24d97500258e1c4f98', name: "chips" })), h("nav", { key: '2245cab78f67e9ecf3932bda19075b13cfa27d61', class: "pn-date-picker-bottom", hidden: this.viewingCalendar() }, h("pn-button", { key: 'e8163e75c8197331f7ab77ed6a2fb94fde445131', appearance: "light", variant: "outlined", small: true, icon: pn_return, onPnClick: () => this.setView(CALENDAR) }, h("span", { key: '3a9028867b88cb831ef4cfc35039a10299c8fdeb' }, this.translate('GO_CALENDAR')))))), h("p", { key: 'dd4412fdfff7ef9c1c254a09c38831908c10c010', id: this.idHelper, class: "pn-date-picker-helpertext", hidden: !this.hasHelperText() || this.hasError() }, h("span", { key: 'd61ee102ecb131c481e220c073fe268b9228ebbb' }, this.helpertext), h("slot", { key: '3d54b17455d0e7a2a72564856978eee3e3f8ef45', name: "helpertext" })), h("p", { key: 'f42fd4bdff5c0ad22c3de99725bf1dbedd5788c8', id: this.idError, class: "pn-date-picker-error", role: "alert", hidden: !this.hasErrorMessage() }, h("span", { key: '69d7fd68b1157960d095ace9a423a1a3a08702fc' }, this.error), h("slot", { key: 'd2676dccff19ee3a22fe62b077f44c509500f267', name: "error" }))));
682
666
  }
683
667
  static get is() { return "pn-date-picker"; }
684
668
  static get originalStyleUrls() {