@postnord/pn-marketweb-components 4.1.0 → 4.1.2

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 (1268) hide show
  1. package/cjs/{HeadingTag-19376e1f.js → HeadingTag-190a9892.js} +2 -2
  2. package/cjs/{HeadingTag-19376e1f.js.map → HeadingTag-190a9892.js.map} +1 -1
  3. package/cjs/{index-b02670c2.js → index-9a9efa1c.js} +10 -4
  4. package/cjs/index-9a9efa1c.js.map +1 -0
  5. package/cjs/{index-4067c6a5.js → index-a8de2b09.js} +2 -2
  6. package/cjs/{index-4067c6a5.js.map → index-a8de2b09.js.map} +1 -1
  7. package/cjs/index.cjs.js +1 -1
  8. package/cjs/loader.cjs.js +2 -2
  9. package/cjs/pn-address-autofill.cjs.entry.js +1 -1
  10. package/cjs/pn-animated-tile.cjs.entry.js +1 -1
  11. package/cjs/pn-app-banner.cjs.entry.js +1 -1
  12. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
  13. package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
  14. package/cjs/pn-breakpoints.cjs.entry.js +1 -1
  15. package/cjs/pn-chart.cjs.entry.js +1 -1
  16. package/cjs/pn-charts-card.cjs.entry.js +1 -1
  17. package/cjs/pn-chat-message_2.cjs.entry.js +1 -1
  18. package/cjs/pn-chat.cjs.entry.js +1 -1
  19. package/cjs/pn-choice-button.cjs.entry.js +1 -1
  20. package/cjs/pn-cta-block.cjs.entry.js +1 -1
  21. package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
  22. package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
  23. package/cjs/pn-date-and-time.cjs.entry.js +1 -1
  24. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +18 -4
  25. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
  26. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +1 -1
  27. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +1 -1
  28. package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
  29. package/cjs/pn-find-price-result.cjs.entry.js +3 -3
  30. package/cjs/{pn-find-price-store-0c8256c7.js → pn-find-price-store-880fb647.js} +2 -2
  31. package/cjs/{pn-find-price-store-0c8256c7.js.map → pn-find-price-store-880fb647.js.map} +1 -1
  32. package/cjs/pn-find-price.cjs.entry.js +3 -3
  33. package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
  34. package/cjs/{pn-find-service-and-price-store-13f060e0.js → pn-find-service-and-price-store-1b5945fe.js} +2 -2
  35. package/cjs/{pn-find-service-and-price-store-13f060e0.js.map → pn-find-service-and-price-store-1b5945fe.js.map} +1 -1
  36. package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
  37. package/cjs/pn-hero-block-international.cjs.entry.js +1 -1
  38. package/cjs/pn-language-selector_9.cjs.entry.js +4 -4
  39. package/cjs/pn-level-up-modal.cjs.entry.js +11 -5
  40. package/cjs/pn-level-up-modal.cjs.entry.js.map +1 -1
  41. package/cjs/pn-level-up.cjs.entry.js +11 -9
  42. package/cjs/pn-level-up.cjs.entry.js.map +1 -1
  43. package/cjs/pn-line-shape.cjs.entry.js +1 -1
  44. package/cjs/pn-link-list.cjs.entry.js +1 -1
  45. package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
  46. package/cjs/{pn-mainnav-store-5732f3ca.js → pn-mainnav-store-13aaa243.js} +2 -2
  47. package/cjs/{pn-mainnav-store-5732f3ca.js.map → pn-mainnav-store-13aaa243.js.map} +1 -1
  48. package/cjs/pn-market-web-components.cjs.js +2 -2
  49. package/cjs/pn-marketweb-icon.cjs.entry.js +1 -1
  50. package/cjs/pn-marketweb-input.cjs.entry.js +1 -1
  51. package/cjs/pn-marketweb-search.cjs.entry.js +1 -1
  52. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +2 -2
  53. package/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js +3 -3
  54. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +3 -3
  55. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +1 -1
  56. package/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js → pn-marketweb-siteheader-store-7548aafe.js} +2 -2
  57. package/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js.map → pn-marketweb-siteheader-store-7548aafe.js.map} +1 -1
  58. package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
  59. package/cjs/pn-marketweb-table.cjs.entry.js +2 -2
  60. package/cjs/pn-media-block.cjs.entry.js +2 -2
  61. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +1 -1
  62. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +1 -1
  63. package/cjs/pn-multiple-input.cjs.entry.js +1 -1
  64. package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
  65. package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
  66. package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  67. package/cjs/pn-product-card_3.cjs.entry.js +1 -1
  68. package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
  69. package/cjs/pn-product-pricelist.cjs.entry.js +3 -3
  70. package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
  71. package/cjs/pn-product-tile.cjs.entry.js +1 -1
  72. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
  73. package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -3
  74. package/cjs/{pn-profile-modal-store-16f8092a.js → pn-profile-modal-store-d96aaa77.js} +2 -2
  75. package/cjs/{pn-profile-modal-store-16f8092a.js.map → pn-profile-modal-store-d96aaa77.js.map} +1 -1
  76. package/cjs/pn-profile-modal-type.cjs.entry.js +3 -3
  77. package/cjs/pn-profile-modal.cjs.entry.js +3 -3
  78. package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
  79. package/cjs/pn-profile-selector.cjs.entry.js +1 -1
  80. package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
  81. package/cjs/pn-proxio-findprice.cjs.entry.js +2 -2
  82. package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
  83. package/cjs/pn-proxio-productcard_4.cjs.entry.js +1 -1
  84. package/cjs/pn-qr-code-generator.cjs.entry.js +25 -9
  85. package/cjs/pn-qr-code-generator.cjs.entry.js.map +1 -1
  86. package/cjs/pn-quick-cta.cjs.entry.js +1 -1
  87. package/cjs/pn-quote-card.cjs.entry.js +1 -1
  88. package/cjs/pn-scroll_2.cjs.entry.js +1 -1
  89. package/cjs/pn-share-item.cjs.entry.js +1 -1
  90. package/cjs/pn-share.cjs.entry.js +1 -1
  91. package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
  92. package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
  93. package/cjs/{pn-sidenav-store-236c8806.js → pn-sidenav-store-41848c2e.js} +2 -2
  94. package/cjs/{pn-sidenav-store-236c8806.js.map → pn-sidenav-store-41848c2e.js.map} +1 -1
  95. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +3 -3
  96. package/cjs/pn-sidenav.cjs.entry.js +3 -3
  97. package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
  98. package/cjs/pn-spotlight.cjs.entry.js +1 -1
  99. package/cjs/pn-stats-info-data.cjs.entry.js +1 -1
  100. package/cjs/pn-stats-info.cjs.entry.js +1 -1
  101. package/cjs/pn-teaser-card.cjs.entry.js +2 -2
  102. package/cjs/pn-titletag.cjs.entry.js +1 -1
  103. package/cjs/pn-usp-promoter.cjs.entry.js +1 -1
  104. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +53 -3
  105. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
  106. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.stories.js +4 -0
  107. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +30 -7
  108. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +1 -1
  109. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +1 -1
  110. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +1 -1
  111. package/collection/components/widgets/pn-level-up/pn-level-up.js +9 -7
  112. package/collection/components/widgets/pn-level-up/pn-level-up.js.map +1 -1
  113. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +24 -8
  114. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +1 -1
  115. package/components/pn-dropdown-choice-adds-row.js +19 -3
  116. package/components/pn-dropdown-choice-adds-row.js.map +1 -1
  117. package/components/pn-level-up-modal2.js +12 -6
  118. package/components/pn-level-up-modal2.js.map +1 -1
  119. package/components/pn-level-up.js +9 -7
  120. package/components/pn-level-up.js.map +1 -1
  121. package/components/pn-qr-code-generator2.js +24 -8
  122. package/components/pn-qr-code-generator2.js.map +1 -1
  123. package/esm/{HeadingTag-e20016ab.js → HeadingTag-11a27410.js} +2 -2
  124. package/esm/{HeadingTag-e20016ab.js.map → HeadingTag-11a27410.js.map} +1 -1
  125. package/esm/{index-ae60ebec.js → index-a0a6fb88.js} +2 -2
  126. package/esm/{index-ae60ebec.js.map → index-a0a6fb88.js.map} +1 -1
  127. package/esm/{index-c311acd6.js → index-c0a4d8bd.js} +10 -4
  128. package/esm/index-c0a4d8bd.js.map +1 -0
  129. package/esm/index.js +1 -1
  130. package/esm/loader.js +3 -3
  131. package/esm/pn-address-autofill.entry.js +1 -1
  132. package/esm/pn-animated-tile.entry.js +1 -1
  133. package/esm/pn-app-banner.entry.js +1 -1
  134. package/esm/pn-bonus-progressbar-level.entry.js +1 -1
  135. package/esm/pn-bonus-progressbar.entry.js +1 -1
  136. package/esm/pn-breakpoints.entry.js +1 -1
  137. package/esm/pn-chart.entry.js +1 -1
  138. package/esm/pn-charts-card.entry.js +1 -1
  139. package/esm/pn-chat-message_2.entry.js +1 -1
  140. package/esm/pn-chat.entry.js +1 -1
  141. package/esm/pn-choice-button.entry.js +1 -1
  142. package/esm/pn-cta-block.entry.js +1 -1
  143. package/esm/pn-customernumber-selector-option.entry.js +1 -1
  144. package/esm/pn-customernumber-selector.entry.js +1 -1
  145. package/esm/pn-date-and-time.entry.js +1 -1
  146. package/esm/pn-dropdown-choice-adds-row.entry.js +18 -4
  147. package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
  148. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
  149. package/esm/pn-dropdown-with-multi-input-rows.entry.js +1 -1
  150. package/esm/pn-filter-checkbox.entry.js +1 -1
  151. package/esm/pn-find-price-result.entry.js +3 -3
  152. package/esm/{pn-find-price-store-f97f2325.js → pn-find-price-store-8a0a5cf0.js} +2 -2
  153. package/esm/{pn-find-price-store-f97f2325.js.map → pn-find-price-store-8a0a5cf0.js.map} +1 -1
  154. package/esm/pn-find-price.entry.js +3 -3
  155. package/esm/pn-find-service-and-price-result.entry.js +3 -3
  156. package/esm/{pn-find-service-and-price-store-6553566d.js → pn-find-service-and-price-store-0302dd23.js} +2 -2
  157. package/esm/{pn-find-service-and-price-store-6553566d.js.map → pn-find-service-and-price-store-0302dd23.js.map} +1 -1
  158. package/esm/pn-find-service-and-price.entry.js +3 -3
  159. package/esm/pn-hero-block-international.entry.js +1 -1
  160. package/esm/pn-language-selector_9.entry.js +4 -4
  161. package/esm/pn-level-up-modal.entry.js +11 -5
  162. package/esm/pn-level-up-modal.entry.js.map +1 -1
  163. package/esm/pn-level-up.entry.js +11 -9
  164. package/esm/pn-level-up.entry.js.map +1 -1
  165. package/esm/pn-line-shape.entry.js +1 -1
  166. package/esm/pn-link-list.entry.js +1 -1
  167. package/esm/pn-mainnav-link.entry.js +3 -3
  168. package/esm/{pn-mainnav-store-23387019.js → pn-mainnav-store-c98d831e.js} +2 -2
  169. package/esm/{pn-mainnav-store-23387019.js.map → pn-mainnav-store-c98d831e.js.map} +1 -1
  170. package/esm/pn-market-web-components.js +3 -3
  171. package/esm/pn-marketweb-icon.entry.js +1 -1
  172. package/esm/pn-marketweb-input.entry.js +1 -1
  173. package/esm/pn-marketweb-search.entry.js +1 -1
  174. package/esm/pn-marketweb-sitefooter.entry.js +2 -2
  175. package/esm/pn-marketweb-siteheader-login-button_4.entry.js +3 -3
  176. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +3 -3
  177. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +1 -1
  178. package/esm/{pn-marketweb-siteheader-store-f60eb1e4.js → pn-marketweb-siteheader-store-69bcd7eb.js} +2 -2
  179. package/esm/{pn-marketweb-siteheader-store-f60eb1e4.js.map → pn-marketweb-siteheader-store-69bcd7eb.js.map} +1 -1
  180. package/esm/pn-marketweb-siteheader.entry.js +3 -3
  181. package/esm/pn-marketweb-table.entry.js +2 -2
  182. package/esm/pn-media-block.entry.js +2 -2
  183. package/esm/pn-multi-row-connected-dropdown-row.entry.js +1 -1
  184. package/esm/pn-multi-row-connected-dropdown.entry.js +1 -1
  185. package/esm/pn-multiple-input.entry.js +1 -1
  186. package/esm/pn-parcel-tracker.entry.js +1 -1
  187. package/esm/pn-pex-pricefinder.entry.js +1 -1
  188. package/esm/pn-play-on-scroll.entry.js +1 -1
  189. package/esm/pn-product-card_3.entry.js +1 -1
  190. package/esm/pn-product-pricelist-result.entry.js +2 -2
  191. package/esm/pn-product-pricelist.entry.js +3 -3
  192. package/esm/pn-product-tile-info_2.entry.js +1 -1
  193. package/esm/pn-product-tile.entry.js +1 -1
  194. package/esm/pn-profile-modal-customernumber.entry.js +1 -1
  195. package/esm/pn-profile-modal-profile.entry.js +3 -3
  196. package/esm/{pn-profile-modal-store-5d651bd5.js → pn-profile-modal-store-2832b3e3.js} +2 -2
  197. package/esm/{pn-profile-modal-store-5d651bd5.js.map → pn-profile-modal-store-2832b3e3.js.map} +1 -1
  198. package/esm/pn-profile-modal-type.entry.js +3 -3
  199. package/esm/pn-profile-modal.entry.js +3 -3
  200. package/esm/pn-profile-selector-option.entry.js +1 -1
  201. package/esm/pn-profile-selector.entry.js +1 -1
  202. package/esm/pn-proxio-findprice-result.entry.js +1 -1
  203. package/esm/pn-proxio-findprice.entry.js +2 -2
  204. package/esm/pn-proxio-pricegroup.entry.js +1 -1
  205. package/esm/pn-proxio-productcard_4.entry.js +1 -1
  206. package/esm/pn-qr-code-generator.entry.js +25 -9
  207. package/esm/pn-qr-code-generator.entry.js.map +1 -1
  208. package/esm/pn-quick-cta.entry.js +1 -1
  209. package/esm/pn-quote-card.entry.js +1 -1
  210. package/esm/pn-scroll_2.entry.js +1 -1
  211. package/esm/pn-share-item.entry.js +1 -1
  212. package/esm/pn-share.entry.js +1 -1
  213. package/esm/pn-sidenav-level.entry.js +3 -3
  214. package/esm/pn-sidenav-link.entry.js +3 -3
  215. package/esm/{pn-sidenav-store-e2038d79.js → pn-sidenav-store-e1da18e9.js} +2 -2
  216. package/esm/{pn-sidenav-store-e2038d79.js.map → pn-sidenav-store-e1da18e9.js.map} +1 -1
  217. package/esm/pn-sidenav-togglebutton.entry.js +3 -3
  218. package/esm/pn-sidenav.entry.js +3 -3
  219. package/esm/pn-site-footer_3.entry.js +1 -1
  220. package/esm/pn-spotlight.entry.js +1 -1
  221. package/esm/pn-stats-info-data.entry.js +1 -1
  222. package/esm/pn-stats-info.entry.js +1 -1
  223. package/esm/pn-teaser-card.entry.js +2 -2
  224. package/esm/pn-titletag.entry.js +1 -1
  225. package/esm/pn-usp-promoter.entry.js +1 -1
  226. package/package.json +3 -2
  227. package/pn-market-web-components/index.esm.js +1 -1
  228. package/pn-market-web-components/p-02094ddb.entry.js +2 -0
  229. package/pn-market-web-components/p-02094ddb.entry.js.map +1 -0
  230. package/pn-market-web-components/{p-41cdac85.entry.js → p-02cc3319.entry.js} +2 -2
  231. package/pn-market-web-components/{p-34a98554.entry.js → p-096cbbcb.entry.js} +2 -2
  232. package/pn-market-web-components/{p-79e4715c.entry.js → p-0b092a5c.entry.js} +2 -2
  233. package/pn-market-web-components/{p-17c43a96.entry.js → p-0b7d3d23.entry.js} +2 -2
  234. package/pn-market-web-components/{p-f28059f4.entry.js → p-0d67f0af.entry.js} +2 -2
  235. package/pn-market-web-components/{p-eb21f772.entry.js → p-0f2148b7.entry.js} +2 -2
  236. package/pn-market-web-components/{p-920ce5f2.entry.js → p-133c7313.entry.js} +2 -2
  237. package/pn-market-web-components/{p-230ef9aa.entry.js → p-1cb0f3fa.entry.js} +2 -2
  238. package/pn-market-web-components/{p-8836de82.js → p-2132ad75.js} +2 -2
  239. package/pn-market-web-components/{p-0b5a125d.entry.js → p-24bfee5d.entry.js} +2 -2
  240. package/pn-market-web-components/{p-9454075f.entry.js → p-2f324058.entry.js} +2 -2
  241. package/pn-market-web-components/{p-71db6836.entry.js → p-315b9cba.entry.js} +2 -2
  242. package/pn-market-web-components/{p-389a94e7.entry.js → p-317fcddf.entry.js} +2 -2
  243. package/pn-market-web-components/{p-b85c020c.entry.js → p-34cb1e2e.entry.js} +2 -2
  244. package/pn-market-web-components/{p-95d32ab4.entry.js → p-368aa69f.entry.js} +2 -2
  245. package/pn-market-web-components/{p-015127bf.entry.js → p-3737defb.entry.js} +2 -2
  246. package/pn-market-web-components/{p-5a981927.entry.js → p-3a298543.entry.js} +2 -2
  247. package/pn-market-web-components/{p-8a651698.entry.js → p-3d11fd8a.entry.js} +2 -2
  248. package/pn-market-web-components/{p-72f57a04.entry.js → p-44175dbd.entry.js} +2 -2
  249. package/pn-market-web-components/{p-4aedb76c.entry.js → p-46711387.entry.js} +2 -2
  250. package/pn-market-web-components/{p-7b4f9fdf.entry.js → p-4aa7cec5.entry.js} +2 -2
  251. package/pn-market-web-components/{p-930e2943.js → p-4bd72b91.js} +2 -2
  252. package/pn-market-web-components/{p-0fc01d3f.entry.js → p-4bf2c8ab.entry.js} +2 -2
  253. package/pn-market-web-components/{p-fb4cdf98.js → p-53039fa7.js} +2 -2
  254. package/pn-market-web-components/{p-c89cb749.entry.js → p-588525ac.entry.js} +2 -2
  255. package/pn-market-web-components/{p-84fc8e05.entry.js → p-5d70be75.entry.js} +2 -2
  256. package/pn-market-web-components/{p-d7170c0e.entry.js → p-5d8eb438.entry.js} +2 -2
  257. package/pn-market-web-components/{p-8d98f709.entry.js → p-5f904742.entry.js} +2 -2
  258. package/pn-market-web-components/{p-268dc1fa.entry.js → p-60e3ba3d.entry.js} +2 -2
  259. package/pn-market-web-components/p-62ce6700.entry.js +2 -0
  260. package/pn-market-web-components/p-62ce6700.entry.js.map +1 -0
  261. package/pn-market-web-components/{p-efab81a9.entry.js → p-6a5cb4ca.entry.js} +2 -2
  262. package/pn-market-web-components/{p-7ab49269.entry.js → p-6b6aeeab.entry.js} +2 -2
  263. package/pn-market-web-components/{p-bfd604f2.entry.js → p-6d263c6e.entry.js} +2 -2
  264. package/pn-market-web-components/{p-923aa6d2.entry.js → p-6d6ae33e.entry.js} +2 -2
  265. package/pn-market-web-components/{p-542f949d.entry.js → p-6e3c311a.entry.js} +2 -2
  266. package/pn-market-web-components/{p-b9590d81.entry.js → p-6f1bf16b.entry.js} +2 -2
  267. package/pn-market-web-components/{p-f9083b7a.js → p-70a9d4eb.js} +2 -2
  268. package/pn-market-web-components/{p-64851da0.entry.js → p-7526d49d.entry.js} +2 -2
  269. package/pn-market-web-components/{p-28d2f7fa.entry.js → p-778ae152.entry.js} +2 -2
  270. package/pn-market-web-components/p-778ae152.entry.js.map +1 -0
  271. package/pn-market-web-components/{p-ad9a7633.entry.js → p-7a721a2a.entry.js} +2 -2
  272. package/pn-market-web-components/{p-0b920554.js → p-885d59e8.js} +2 -2
  273. package/pn-market-web-components/{p-daa74e60.entry.js → p-89272a6b.entry.js} +2 -2
  274. package/pn-market-web-components/{p-a298a263.entry.js → p-8afc2d30.entry.js} +2 -2
  275. package/pn-market-web-components/{p-763a4e13.entry.js → p-8b506b9b.entry.js} +2 -2
  276. package/pn-market-web-components/p-8c42f598.js +2 -0
  277. package/pn-market-web-components/{p-ef668a3b.entry.js → p-92e8e287.entry.js} +2 -2
  278. package/pn-market-web-components/{p-8d874454.entry.js → p-9638d206.entry.js} +2 -2
  279. package/pn-market-web-components/{p-2a58d83b.entry.js → p-9b709942.entry.js} +2 -2
  280. package/pn-market-web-components/{p-da56370b.entry.js → p-9c0243fd.entry.js} +2 -2
  281. package/pn-market-web-components/{p-2c19edca.entry.js → p-9fc3711d.entry.js} +2 -2
  282. package/pn-market-web-components/{p-39b75c62.entry.js → p-a6941ea3.entry.js} +2 -2
  283. package/pn-market-web-components/{p-40bce1b1.entry.js → p-ab291285.entry.js} +2 -2
  284. package/pn-market-web-components/{p-35847eda.entry.js → p-ad807e2c.entry.js} +2 -2
  285. package/pn-market-web-components/p-ae5756dd.js +2 -0
  286. package/pn-market-web-components/{p-f4b14be8.entry.js → p-aee65729.entry.js} +2 -2
  287. package/pn-market-web-components/{p-659a4db5.entry.js → p-b20d2e1b.entry.js} +2 -2
  288. package/pn-market-web-components/{p-292db484.entry.js → p-b3605a96.entry.js} +2 -2
  289. package/pn-market-web-components/{p-82546a44.js → p-b3a13b6a.js} +3 -3
  290. package/pn-market-web-components/p-b3a13b6a.js.map +1 -0
  291. package/pn-market-web-components/{p-f0df7694.entry.js → p-b697755f.entry.js} +2 -2
  292. package/pn-market-web-components/{p-c4e353b3.entry.js → p-b9774a2d.entry.js} +2 -2
  293. package/pn-market-web-components/{p-ce87ff8a.entry.js → p-bb5a6883.entry.js} +2 -2
  294. package/pn-market-web-components/{p-65a046be.entry.js → p-c030c263.entry.js} +2 -2
  295. package/pn-market-web-components/{p-4f639380.entry.js → p-c6db243c.entry.js} +2 -2
  296. package/pn-market-web-components/{p-51f136f3.entry.js → p-c7d41f58.entry.js} +2 -2
  297. package/pn-market-web-components/{p-08b473e0.entry.js → p-d07efc2e.entry.js} +2 -2
  298. package/pn-market-web-components/{p-f28d0971.entry.js → p-d18b9aff.entry.js} +2 -2
  299. package/pn-market-web-components/{p-59bf4b98.entry.js → p-d3b4c8d7.entry.js} +2 -2
  300. package/pn-market-web-components/{p-85b42b44.entry.js → p-d49d093f.entry.js} +2 -2
  301. package/pn-market-web-components/p-d5d1098a.entry.js +2 -0
  302. package/pn-market-web-components/{p-3e197670.entry.js.map → p-d5d1098a.entry.js.map} +1 -1
  303. package/pn-market-web-components/{p-61bd81d7.entry.js → p-dc11fc75.entry.js} +2 -2
  304. package/pn-market-web-components/{p-7b7629c5.entry.js → p-de55f656.entry.js} +2 -2
  305. package/pn-market-web-components/{p-9088d3f5.entry.js → p-e07d8b18.entry.js} +2 -2
  306. package/pn-market-web-components/{p-619f2143.entry.js → p-e1c20440.entry.js} +2 -2
  307. package/pn-market-web-components/{p-60b77eed.entry.js → p-e1ccd651.entry.js} +2 -2
  308. package/pn-market-web-components/{p-793e1339.js → p-e3b2486a.js} +2 -2
  309. package/pn-market-web-components/{p-cbb1d57d.entry.js → p-e55e5b49.entry.js} +2 -2
  310. package/pn-market-web-components/{p-4e924d13.entry.js → p-e69d8395.entry.js} +2 -2
  311. package/pn-market-web-components/p-e69d8395.entry.js.map +1 -0
  312. package/pn-market-web-components/{p-d17af75d.entry.js → p-e9d495e3.entry.js} +2 -2
  313. package/pn-market-web-components/{p-809ed802.entry.js → p-eafffc4b.entry.js} +2 -2
  314. package/pn-market-web-components/{p-66da6e15.entry.js → p-ebba8dd2.entry.js} +2 -2
  315. package/pn-market-web-components/{p-d5c45da2.entry.js → p-ec7a8e5a.entry.js} +2 -2
  316. package/pn-market-web-components/{p-7db6ef34.entry.js → p-ed5c0dcc.entry.js} +2 -2
  317. package/pn-market-web-components/{p-19bbac6d.entry.js → p-f6c5c4de.entry.js} +2 -2
  318. package/pn-market-web-components/{p-ad282b7c.entry.js → p-f962fd3e.entry.js} +2 -2
  319. package/pn-market-web-components/{p-3a936c5d.entry.js → p-f97e58b8.entry.js} +2 -2
  320. package/pn-market-web-components/{p-3d10bc37.entry.js → p-fc5c33e7.entry.js} +2 -2
  321. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  322. package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
  323. package/types/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.d.ts +2 -0
  324. package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +3 -1
  325. package/types/components/widgets/pn-level-up/pn-level-up.d.ts +2 -0
  326. package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +3 -2
  327. package/types/components.d.ts +22 -2
  328. package/umd/modules/@postnord/web-components/cjs/alert_exclamation_circle-BiBEJK9P.js +0 -3
  329. package/umd/modules/@postnord/web-components/cjs/alert_info_circle-BaN88M1m.js +0 -3
  330. package/umd/modules/@postnord/web-components/cjs/app-globals-DztCprK-.js +0 -3
  331. package/umd/modules/@postnord/web-components/cjs/arrow_left-Crkz484c.js +0 -3
  332. package/umd/modules/@postnord/web-components/cjs/arrow_right-CABi9Wkp.js +0 -3
  333. package/umd/modules/@postnord/web-components/cjs/check-CQU2BD5S.js +0 -3
  334. package/umd/modules/@postnord/web-components/cjs/check_circle-BSQcdFEJ.js +0 -3
  335. package/umd/modules/@postnord/web-components/cjs/chevron_down-BLU6_yOG.js +0 -3
  336. package/umd/modules/@postnord/web-components/cjs/chevron_right-CApgqZb0.js +0 -3
  337. package/umd/modules/@postnord/web-components/cjs/close-Bn5ieKko.js +0 -3
  338. package/umd/modules/@postnord/web-components/cjs/colors-Dzlq0FRO.js +0 -3
  339. package/umd/modules/@postnord/web-components/cjs/{index-Bbyn8a0b.js → index-CNdVg5VI.js} +1 -4
  340. package/umd/modules/@postnord/web-components/cjs/{index-ChnvH99O.js → index-CfUQZtlH.js} +412 -304
  341. package/umd/modules/@postnord/web-components/cjs/index.cjs.js +11 -6
  342. package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +2 -3
  343. package/umd/modules/@postnord/web-components/cjs/open_in_new-B-zmn5xr.js +0 -3
  344. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +3 -4
  345. package/umd/modules/@postnord/web-components/cjs/pn-accordion.cjs.entry.js +5 -6
  346. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +13 -8
  347. package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.cjs.entry.js +6 -5
  348. package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +11 -8
  349. package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +7 -6
  350. package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +10 -7
  351. package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +3 -4
  352. package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +20 -19
  353. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +52 -21
  354. package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +7 -6
  355. package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +10 -7
  356. package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +4 -5
  357. package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +7 -6
  358. package/umd/modules/@postnord/web-components/cjs/pn-icon_2.cjs.entry.js +8 -7
  359. package/umd/modules/@postnord/web-components/cjs/pn-illustration.cjs.entry.js +6 -5
  360. package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +46 -22
  361. package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +9 -6
  362. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +29 -11
  363. package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +4 -5
  364. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +4 -5
  365. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +4 -5
  366. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +16 -13
  367. package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +13 -8
  368. package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +6 -5
  369. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +3 -4
  370. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +4 -5
  371. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +12 -7
  372. package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +11 -8
  373. package/umd/modules/@postnord/web-components/cjs/pn-range.cjs.entry.js +326 -0
  374. package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.cjs.entry.js +9 -6
  375. package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +4 -5
  376. package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +4 -5
  377. package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +9 -8
  378. package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +11 -5
  379. package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +7 -8
  380. package/umd/modules/@postnord/web-components/cjs/pn-table.cjs.entry.js +3 -4
  381. package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +11 -8
  382. package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +4 -5
  383. package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +20 -11
  384. package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +4 -5
  385. package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +7 -6
  386. package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +7 -6
  387. package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +6 -5
  388. package/umd/modules/@postnord/web-components/cjs/pn-wizard.cjs.entry.js +12 -8
  389. package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +4 -5
  390. package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +3 -4
  391. package/umd/modules/@postnord/web-components/collection/collection-manifest.json +3 -2
  392. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js +10 -6
  393. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/translation.js +0 -1
  394. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button/pn-button.js +4 -3
  395. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button-dropdown/pn-button-dropdown.js +4 -3
  396. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-read-only-button/pn-read-only-button.js +2 -2
  397. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/pn-accordion.js +0 -1
  398. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js +0 -1
  399. package/umd/modules/@postnord/web-components/collection/components/content/pn-table/pn-table.js +0 -1
  400. package/umd/modules/@postnord/web-components/collection/components/content/pn-tag/pn-tag.js +0 -1
  401. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.js +3 -3
  402. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.js +0 -1
  403. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js +2 -2
  404. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/translation.js +0 -1
  405. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js +0 -1
  406. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js +0 -1
  407. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js +0 -1
  408. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js +2 -2
  409. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/translations.js +0 -1
  410. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js +0 -1
  411. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js +2 -2
  412. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/translation.js +0 -1
  413. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js +0 -1
  414. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.js +5 -4
  415. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/translation.js +0 -1
  416. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +0 -1
  417. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js +0 -1
  418. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.css +69 -27
  419. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +36 -15
  420. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/translations.js +0 -1
  421. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.css +38 -1
  422. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +42 -9
  423. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/translations.js +0 -1
  424. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +1 -2
  425. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload-error.js +0 -1
  426. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +17 -10
  427. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/translation.js +0 -1
  428. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.css +49 -10
  429. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +57 -17
  430. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/translations.js +0 -1
  431. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.css +63 -22
  432. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +48 -9
  433. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/translations.js +0 -1
  434. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +1 -2
  435. package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.css +417 -0
  436. package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js +905 -0
  437. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +5 -4
  438. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/translations.js +0 -1
  439. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +1 -2
  440. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +1 -2
  441. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.css +53 -14
  442. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +31 -2
  443. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/translations.js +0 -1
  444. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.css +54 -5
  445. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +45 -14
  446. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.css +1 -1
  447. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +1 -2
  448. package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +3 -3
  449. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -2
  450. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +5 -4
  451. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/translations.js +0 -1
  452. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/urls.js +0 -1
  453. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -2
  454. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -2
  455. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +1 -2
  456. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +5 -4
  457. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/translations.js +0 -1
  458. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +3 -3
  459. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +1 -2
  460. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/translations.js +0 -1
  461. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -2
  462. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -2
  463. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +3 -3
  464. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/translations.js +0 -1
  465. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +3 -3
  466. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/translations.js +0 -1
  467. package/umd/modules/@postnord/web-components/collection/globals/date/index.js +0 -1
  468. package/umd/modules/@postnord/web-components/collection/globals/helpers.js +0 -1
  469. package/umd/modules/@postnord/web-components/collection/globals/mixins/index.js +0 -1
  470. package/umd/modules/@postnord/web-components/collection/globals/types.js +0 -1
  471. package/umd/modules/@postnord/web-components/collection/index.js +1 -1
  472. package/umd/modules/@postnord/web-components/components/alert_exclamation_circle.js +1 -7
  473. package/umd/modules/@postnord/web-components/components/alert_info_circle.js +1 -7
  474. package/umd/modules/@postnord/web-components/components/arrow_left.js +1 -7
  475. package/umd/modules/@postnord/web-components/components/arrow_right.js +1 -7
  476. package/umd/modules/@postnord/web-components/components/check.js +1 -7
  477. package/umd/modules/@postnord/web-components/components/check_circle.js +1 -7
  478. package/umd/modules/@postnord/web-components/components/chevron_down.js +1 -7
  479. package/umd/modules/@postnord/web-components/components/chevron_right.js +1 -10
  480. package/umd/modules/@postnord/web-components/components/close.js +1 -7
  481. package/umd/modules/@postnord/web-components/components/colors.js +1 -81
  482. package/umd/modules/@postnord/web-components/components/helpers.js +1 -186
  483. package/umd/modules/@postnord/web-components/components/index.d.ts +3 -0
  484. package/umd/modules/@postnord/web-components/components/index.js +1 -52
  485. package/umd/modules/@postnord/web-components/components/index2.js +1 -71
  486. package/umd/modules/@postnord/web-components/components/open_in_new.js +1 -7
  487. package/umd/modules/@postnord/web-components/components/pn-accordion-row.js +1 -152
  488. package/umd/modules/@postnord/web-components/components/pn-accordion.js +1 -62
  489. package/umd/modules/@postnord/web-components/components/pn-action-menu.js +1 -456
  490. package/umd/modules/@postnord/web-components/components/pn-button-dropdown.js +1 -151
  491. package/umd/modules/@postnord/web-components/components/pn-button.js +1 -9
  492. package/umd/modules/@postnord/web-components/components/pn-button2.js +1 -278
  493. package/umd/modules/@postnord/web-components/components/pn-card.js +1 -145
  494. package/umd/modules/@postnord/web-components/components/pn-checkbox.js +1 -157
  495. package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -82
  496. package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -301
  497. package/umd/modules/@postnord/web-components/components/pn-date-picker.js +1 -1333
  498. package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -116
  499. package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -523
  500. package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -217
  501. package/umd/modules/@postnord/web-components/components/pn-header.js +1 -114
  502. package/umd/modules/@postnord/web-components/components/pn-icon.js +1 -9
  503. package/umd/modules/@postnord/web-components/components/pn-icon2.js +1 -68
  504. package/umd/modules/@postnord/web-components/components/pn-illustration.js +1 -9
  505. package/umd/modules/@postnord/web-components/components/pn-illustration2.js +1 -84
  506. package/umd/modules/@postnord/web-components/components/pn-input.js +1 -378
  507. package/umd/modules/@postnord/web-components/components/pn-input2.js +5 -0
  508. package/umd/modules/@postnord/web-components/components/pn-modal.js +1 -244
  509. package/umd/modules/@postnord/web-components/components/pn-multiselect.js +1 -722
  510. package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -193
  511. package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -79
  512. package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -62
  513. package/umd/modules/@postnord/web-components/components/pn-page-nav.js +1 -347
  514. package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -297
  515. package/umd/modules/@postnord/web-components/components/pn-progress-bar.js +1 -9
  516. package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js +1 -116
  517. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -96
  518. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js +1 -62
  519. package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js +1 -9
  520. package/umd/modules/@postnord/web-components/components/pn-progress-stepper2.js +1 -143
  521. package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -175
  522. package/umd/modules/@postnord/web-components/components/pn-range.d.ts +11 -0
  523. package/umd/modules/@postnord/web-components/components/pn-range.js +5 -0
  524. package/umd/modules/@postnord/web-components/components/pn-read-only-button.js +1 -153
  525. package/umd/modules/@postnord/web-components/components/pn-search-field.js +1 -9
  526. package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -192
  527. package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -74
  528. package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -168
  529. package/umd/modules/@postnord/web-components/components/pn-select.js +1 -9
  530. package/umd/modules/@postnord/web-components/components/pn-select2.js +1 -106
  531. package/umd/modules/@postnord/web-components/components/pn-spinner.js +1 -9
  532. package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -50
  533. package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -163
  534. package/umd/modules/@postnord/web-components/components/pn-table.js +1 -52
  535. package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -224
  536. package/umd/modules/@postnord/web-components/components/pn-tag.js +1 -85
  537. package/umd/modules/@postnord/web-components/components/pn-text-link.js +1 -9
  538. package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -78
  539. package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -120
  540. package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -118
  541. package/umd/modules/@postnord/web-components/components/pn-toast.js +1 -210
  542. package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -102
  543. package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -123
  544. package/umd/modules/@postnord/web-components/components/pn-wizard.js +1 -437
  545. package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -179
  546. package/umd/modules/@postnord/web-components/esm/alert_exclamation_circle-B88w-Zxn.js +0 -3
  547. package/umd/modules/@postnord/web-components/esm/alert_info_circle-BTqkgfeH.js +0 -3
  548. package/umd/modules/@postnord/web-components/esm/app-globals-Dh478Si7.js +0 -3
  549. package/umd/modules/@postnord/web-components/esm/arrow_left-CQaMdITw.js +0 -3
  550. package/umd/modules/@postnord/web-components/esm/arrow_right-D_UyW-KH.js +0 -3
  551. package/umd/modules/@postnord/web-components/esm/check-BpI8peGn.js +0 -3
  552. package/umd/modules/@postnord/web-components/esm/check_circle-D4GZ__oQ.js +0 -3
  553. package/umd/modules/@postnord/web-components/esm/chevron_down-DrYFvs2M.js +0 -3
  554. package/umd/modules/@postnord/web-components/esm/chevron_right-B6SVpr61.js +0 -3
  555. package/umd/modules/@postnord/web-components/esm/close-BvuWkoyY.js +0 -3
  556. package/umd/modules/@postnord/web-components/esm/colors-C_nYl55V.js +0 -3
  557. package/umd/modules/@postnord/web-components/esm/{index-BNA0ko5y.js → index-CAEP792y.js} +409 -304
  558. package/umd/modules/@postnord/web-components/esm/{index-CJTbRJfo.js → index-CosyroON.js} +1 -4
  559. package/umd/modules/@postnord/web-components/esm/index.js +11 -6
  560. package/umd/modules/@postnord/web-components/esm/loader.js +3 -4
  561. package/umd/modules/@postnord/web-components/esm/open_in_new-IFVOY5Gf.js +0 -3
  562. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +3 -4
  563. package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js +5 -6
  564. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +13 -8
  565. package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js +6 -5
  566. package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +11 -8
  567. package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +7 -6
  568. package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +10 -7
  569. package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +3 -4
  570. package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +20 -19
  571. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +52 -21
  572. package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +7 -6
  573. package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +10 -7
  574. package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +4 -5
  575. package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +7 -6
  576. package/umd/modules/@postnord/web-components/esm/pn-icon_2.entry.js +8 -7
  577. package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js +6 -5
  578. package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +46 -22
  579. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +9 -6
  580. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +29 -11
  581. package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +4 -5
  582. package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +4 -5
  583. package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +4 -5
  584. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +16 -13
  585. package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +13 -8
  586. package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +6 -5
  587. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +3 -4
  588. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +4 -5
  589. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +12 -7
  590. package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +11 -8
  591. package/umd/modules/@postnord/web-components/esm/pn-range.entry.js +324 -0
  592. package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js +9 -6
  593. package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +4 -5
  594. package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +4 -5
  595. package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +9 -8
  596. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +11 -5
  597. package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +7 -8
  598. package/umd/modules/@postnord/web-components/esm/pn-table.entry.js +3 -4
  599. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +11 -8
  600. package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +4 -5
  601. package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +20 -11
  602. package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +4 -5
  603. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +7 -6
  604. package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +7 -6
  605. package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +6 -5
  606. package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js +12 -8
  607. package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +4 -5
  608. package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +4 -5
  609. package/umd/modules/@postnord/web-components/hydrate/index.d.ts +12 -0
  610. package/umd/modules/@postnord/web-components/hydrate/index.js +6041 -2029
  611. package/umd/modules/@postnord/web-components/hydrate/index.mjs +6040 -2030
  612. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +2 -2
  613. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +1625 -61
  614. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +1625 -61
  615. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +1 -1
  616. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +4826 -14645
  617. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +25 -103
  618. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +1 -1
  619. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +1 -1
  620. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +1 -25
  621. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +2 -9
  622. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +0 -2
  623. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.float16.d.ts +0 -2
  624. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +1342 -4598
  625. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +19 -72
  626. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +1 -1
  627. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +27894 -17484
  628. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +12 -12
  629. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +1 -1
  630. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +3 -3
  631. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +2 -2
  632. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +1 -1
  633. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +1685 -119
  634. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +2 -0
  635. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +2 -0
  636. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +1 -1
  637. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-globals/package.json +1 -1
  638. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +468 -341
  639. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +1 -1
  640. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +1 -1
  641. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +3 -3
  642. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +2258 -466
  643. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +1 -1
  644. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +12 -0
  645. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +2188 -448
  646. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +1 -1
  647. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +2 -0
  648. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-dev-runtime.cjs +7 -0
  649. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-dev-runtime.d.ts +41 -0
  650. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-dev-runtime.js +2 -0
  651. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-runtime.cjs +8 -0
  652. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-runtime.d.ts +40 -0
  653. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/jsx-runtime.js +2 -0
  654. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +48 -2
  655. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +62 -3
  656. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +11 -0
  657. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +87 -4
  658. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +2353 -548
  659. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-dev-runtime.d.ts +2 -0
  660. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-dev-runtime.js +8 -0
  661. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-runtime.d.ts +2 -0
  662. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/jsx-runtime.js +9 -0
  663. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +1 -1
  664. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +435 -383
  665. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +4 -3
  666. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +436 -383
  667. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +1 -1
  668. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +28 -4
  669. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +1635 -52
  670. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +1 -1
  671. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +3 -3
  672. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +2 -2
  673. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -1
  674. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +40 -40
  675. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +1 -1
  676. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +1 -1
  677. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +1 -1
  678. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +1844 -183
  679. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +1 -1
  680. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +1 -1
  681. package/umd/modules/@postnord/web-components/package.json +20 -20
  682. package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js +1 -2
  683. package/umd/modules/@postnord/web-components/postnord-web-components/p-01ac1c67.entry.js +5 -0
  684. package/umd/modules/@postnord/web-components/postnord-web-components/p-0dd15cc3.entry.js +5 -0
  685. package/umd/modules/@postnord/web-components/postnord-web-components/p-0e94a4dd.entry.js +5 -0
  686. package/umd/modules/@postnord/web-components/postnord-web-components/p-0ed2ee53.entry.js +5 -0
  687. package/umd/modules/@postnord/web-components/postnord-web-components/p-109ba1fc.entry.js +5 -0
  688. package/umd/modules/@postnord/web-components/postnord-web-components/p-1a3c49ba.entry.js +5 -0
  689. package/umd/modules/@postnord/web-components/postnord-web-components/p-2610f8ab.entry.js +5 -0
  690. package/umd/modules/@postnord/web-components/postnord-web-components/p-267c323e.entry.js +5 -0
  691. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a364778.entry.js +5 -0
  692. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a682ff9.entry.js +5 -0
  693. package/umd/modules/@postnord/web-components/postnord-web-components/p-2cce8a9f.entry.js +5 -0
  694. package/umd/modules/@postnord/web-components/postnord-web-components/p-2f4ad4a4.entry.js +5 -0
  695. package/umd/modules/@postnord/web-components/postnord-web-components/p-306ec758.entry.js +5 -0
  696. package/umd/modules/@postnord/web-components/postnord-web-components/p-38e44ed0.entry.js +5 -0
  697. package/umd/modules/@postnord/web-components/postnord-web-components/p-3c96cb61.entry.js +5 -0
  698. package/umd/modules/@postnord/web-components/postnord-web-components/p-3d2cac86.entry.js +5 -0
  699. package/umd/modules/@postnord/web-components/postnord-web-components/p-3d459401.entry.js +5 -0
  700. package/umd/modules/@postnord/web-components/postnord-web-components/p-3deb5a9e.entry.js +5 -0
  701. package/umd/modules/@postnord/web-components/postnord-web-components/p-41c09d4d.entry.js +5 -0
  702. package/umd/modules/@postnord/web-components/postnord-web-components/p-484dfaa4.entry.js +5 -0
  703. package/umd/modules/@postnord/web-components/postnord-web-components/p-50116c0d.entry.js +5 -0
  704. package/umd/modules/@postnord/web-components/postnord-web-components/p-502b8430.entry.js +5 -0
  705. package/umd/modules/@postnord/web-components/postnord-web-components/p-5b7c1333.entry.js +5 -0
  706. package/umd/modules/@postnord/web-components/postnord-web-components/p-67f55491.entry.js +5 -0
  707. package/umd/modules/@postnord/web-components/postnord-web-components/p-838c17b9.entry.js +5 -0
  708. package/umd/modules/@postnord/web-components/postnord-web-components/p-849d48c6.entry.js +5 -0
  709. package/umd/modules/@postnord/web-components/postnord-web-components/p-89aaa3c8.entry.js +5 -0
  710. package/umd/modules/@postnord/web-components/postnord-web-components/p-8b2b6f5d.entry.js +5 -0
  711. package/umd/modules/@postnord/web-components/postnord-web-components/p-93db2b9e.entry.js +5 -0
  712. package/umd/modules/@postnord/web-components/postnord-web-components/p-97ffc4b3.entry.js +5 -0
  713. package/umd/modules/@postnord/web-components/postnord-web-components/p-B6SVpr61.js +1 -2
  714. package/umd/modules/@postnord/web-components/postnord-web-components/p-B88w-Zxn.js +1 -2
  715. package/umd/modules/@postnord/web-components/postnord-web-components/p-BTqkgfeH.js +1 -2
  716. package/umd/modules/@postnord/web-components/postnord-web-components/p-BlM_xfdt.js +5 -0
  717. package/umd/modules/@postnord/web-components/postnord-web-components/p-BpI8peGn.js +1 -2
  718. package/umd/modules/@postnord/web-components/postnord-web-components/p-BvuWkoyY.js +1 -2
  719. package/umd/modules/@postnord/web-components/postnord-web-components/p-CAEP792y.js +6 -0
  720. package/umd/modules/@postnord/web-components/postnord-web-components/p-CQaMdITw.js +1 -2
  721. package/umd/modules/@postnord/web-components/postnord-web-components/p-C_nYl55V.js +1 -2
  722. package/umd/modules/@postnord/web-components/postnord-web-components/p-D4GZ__oQ.js +1 -2
  723. package/umd/modules/@postnord/web-components/postnord-web-components/p-D_UyW-KH.js +1 -2
  724. package/umd/modules/@postnord/web-components/postnord-web-components/p-Dh478Si7.js +1 -2
  725. package/umd/modules/@postnord/web-components/postnord-web-components/p-DrYFvs2M.js +1 -2
  726. package/umd/modules/@postnord/web-components/postnord-web-components/p-IFVOY5Gf.js +1 -2
  727. package/umd/modules/@postnord/web-components/postnord-web-components/p-b0710b87.entry.js +5 -0
  728. package/umd/modules/@postnord/web-components/postnord-web-components/p-b3c4e3e8.entry.js +5 -0
  729. package/umd/modules/@postnord/web-components/postnord-web-components/p-b8c4423b.entry.js +5 -0
  730. package/umd/modules/@postnord/web-components/postnord-web-components/p-ba59528f.entry.js +5 -0
  731. package/umd/modules/@postnord/web-components/postnord-web-components/p-c0ae367c.entry.js +5 -0
  732. package/umd/modules/@postnord/web-components/postnord-web-components/p-c3e851f9.entry.js +5 -0
  733. package/umd/modules/@postnord/web-components/postnord-web-components/p-c4c4c75b.entry.js +5 -0
  734. package/umd/modules/@postnord/web-components/postnord-web-components/p-c843ae5e.entry.js +5 -0
  735. package/umd/modules/@postnord/web-components/postnord-web-components/p-d1e27524.entry.js +5 -0
  736. package/umd/modules/@postnord/web-components/postnord-web-components/p-d214e930.entry.js +5 -0
  737. package/umd/modules/@postnord/web-components/postnord-web-components/p-d7091312.entry.js +5 -0
  738. package/umd/modules/@postnord/web-components/postnord-web-components/p-db2b7e5d.entry.js +5 -0
  739. package/umd/modules/@postnord/web-components/postnord-web-components/p-e3fb693e.entry.js +5 -0
  740. package/umd/modules/@postnord/web-components/postnord-web-components/p-e83de0b1.entry.js +5 -0
  741. package/umd/modules/@postnord/web-components/postnord-web-components/p-ea50ecd2.entry.js +5 -0
  742. package/umd/modules/@postnord/web-components/postnord-web-components/p-edc28eee.entry.js +5 -0
  743. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -2
  744. package/umd/modules/@postnord/web-components/readme.md +97 -0
  745. package/umd/modules/@postnord/web-components/types/components/input/pn-counter/pn-counter.d.ts +27 -26
  746. package/umd/modules/@postnord/web-components/types/components/input/pn-input/pn-input.d.ts +9 -0
  747. package/umd/modules/@postnord/web-components/types/components/input/pn-range/pn-range.d.ts +141 -0
  748. package/umd/modules/@postnord/web-components/types/components/input/pn-select/pn-select.d.ts +3 -0
  749. package/umd/modules/@postnord/web-components/types/components/input/pn-textarea/pn-textarea.d.ts +10 -8
  750. package/umd/modules/@postnord/web-components/types/components.d.ts +410 -0
  751. package/umd/modules/@postnord/web-components/types/index.d.ts +1 -0
  752. package/umd/modules/@postnord/web-components/types/stencil-public-runtime.d.ts +87 -4
  753. package/umd/modules/@postnord/web-components/vscode-data.json +160 -35
  754. package/vscode-data.json +9 -9
  755. package/cjs/index-b02670c2.js.map +0 -1
  756. package/esm/index-c311acd6.js.map +0 -1
  757. package/pn-market-web-components/p-28d2f7fa.entry.js.map +0 -1
  758. package/pn-market-web-components/p-3e197670.entry.js +0 -2
  759. package/pn-market-web-components/p-4e924d13.entry.js.map +0 -1
  760. package/pn-market-web-components/p-72828265.js +0 -2
  761. package/pn-market-web-components/p-82546a44.js.map +0 -1
  762. package/pn-market-web-components/p-d75a2f7c.entry.js +0 -2
  763. package/pn-market-web-components/p-d75a2f7c.entry.js.map +0 -1
  764. package/pn-market-web-components/p-dc2ee6f8.entry.js +0 -2
  765. package/pn-market-web-components/p-dc2ee6f8.entry.js.map +0 -1
  766. package/pn-market-web-components/p-fe466661.js +0 -2
  767. package/umd/modules/@postnord/web-components/cjs/alert_exclamation_circle-BiBEJK9P.js.map +0 -1
  768. package/umd/modules/@postnord/web-components/cjs/alert_info_circle-BaN88M1m.js.map +0 -1
  769. package/umd/modules/@postnord/web-components/cjs/app-globals-DztCprK-.js.map +0 -1
  770. package/umd/modules/@postnord/web-components/cjs/arrow_left-Crkz484c.js.map +0 -1
  771. package/umd/modules/@postnord/web-components/cjs/arrow_right-CABi9Wkp.js.map +0 -1
  772. package/umd/modules/@postnord/web-components/cjs/check-CQU2BD5S.js.map +0 -1
  773. package/umd/modules/@postnord/web-components/cjs/check_circle-BSQcdFEJ.js.map +0 -1
  774. package/umd/modules/@postnord/web-components/cjs/chevron_down-BLU6_yOG.js.map +0 -1
  775. package/umd/modules/@postnord/web-components/cjs/chevron_right-CApgqZb0.js.map +0 -1
  776. package/umd/modules/@postnord/web-components/cjs/close-Bn5ieKko.js.map +0 -1
  777. package/umd/modules/@postnord/web-components/cjs/colors-Dzlq0FRO.js.map +0 -1
  778. package/umd/modules/@postnord/web-components/cjs/index-Bbyn8a0b.js.map +0 -1
  779. package/umd/modules/@postnord/web-components/cjs/index-ChnvH99O.js.map +0 -1
  780. package/umd/modules/@postnord/web-components/cjs/index.cjs.js.map +0 -1
  781. package/umd/modules/@postnord/web-components/cjs/loader.cjs.js.map +0 -1
  782. package/umd/modules/@postnord/web-components/cjs/open_in_new-B-zmn5xr.js.map +0 -1
  783. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.entry.cjs.js.map +0 -1
  784. package/umd/modules/@postnord/web-components/cjs/pn-accordion.entry.cjs.js.map +0 -1
  785. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.entry.cjs.js.map +0 -1
  786. package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.entry.cjs.js.map +0 -1
  787. package/umd/modules/@postnord/web-components/cjs/pn-button.pn-spinner.entry.cjs.js.map +0 -1
  788. package/umd/modules/@postnord/web-components/cjs/pn-card.entry.cjs.js.map +0 -1
  789. package/umd/modules/@postnord/web-components/cjs/pn-checkbox.entry.cjs.js.map +0 -1
  790. package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.entry.cjs.js.map +0 -1
  791. package/umd/modules/@postnord/web-components/cjs/pn-counter.entry.cjs.js.map +0 -1
  792. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.entry.cjs.js.map +0 -1
  793. package/umd/modules/@postnord/web-components/cjs/pn-fieldset.entry.cjs.js.map +0 -1
  794. package/umd/modules/@postnord/web-components/cjs/pn-file-upload.entry.cjs.js.map +0 -1
  795. package/umd/modules/@postnord/web-components/cjs/pn-footer.entry.cjs.js.map +0 -1
  796. package/umd/modules/@postnord/web-components/cjs/pn-header.entry.cjs.js.map +0 -1
  797. package/umd/modules/@postnord/web-components/cjs/pn-icon.pn-tag.entry.cjs.js.map +0 -1
  798. package/umd/modules/@postnord/web-components/cjs/pn-illustration.entry.cjs.js.map +0 -1
  799. package/umd/modules/@postnord/web-components/cjs/pn-input.entry.cjs.js.map +0 -1
  800. package/umd/modules/@postnord/web-components/cjs/pn-modal.entry.cjs.js.map +0 -1
  801. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.entry.cjs.js.map +0 -1
  802. package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.entry.cjs.js.map +0 -1
  803. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.entry.cjs.js.map +0 -1
  804. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.entry.cjs.js.map +0 -1
  805. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.entry.cjs.js.map +0 -1
  806. package/umd/modules/@postnord/web-components/cjs/pn-pagination.entry.cjs.js.map +0 -1
  807. package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.entry.cjs.js.map +0 -1
  808. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.entry.cjs.js.map +0 -1
  809. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.entry.cjs.js.map +0 -1
  810. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.entry.cjs.js.map +0 -1
  811. package/umd/modules/@postnord/web-components/cjs/pn-radio-button.entry.cjs.js.map +0 -1
  812. package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.entry.cjs.js.map +0 -1
  813. package/umd/modules/@postnord/web-components/cjs/pn-search-field.entry.cjs.js.map +0 -1
  814. package/umd/modules/@postnord/web-components/cjs/pn-segment.entry.cjs.js.map +0 -1
  815. package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.entry.cjs.js.map +0 -1
  816. package/umd/modules/@postnord/web-components/cjs/pn-select.entry.cjs.js.map +0 -1
  817. package/umd/modules/@postnord/web-components/cjs/pn-tab.entry.cjs.js.map +0 -1
  818. package/umd/modules/@postnord/web-components/cjs/pn-table.entry.cjs.js.map +0 -1
  819. package/umd/modules/@postnord/web-components/cjs/pn-tablist.entry.cjs.js.map +0 -1
  820. package/umd/modules/@postnord/web-components/cjs/pn-text-link.entry.cjs.js.map +0 -1
  821. package/umd/modules/@postnord/web-components/cjs/pn-textarea.entry.cjs.js.map +0 -1
  822. package/umd/modules/@postnord/web-components/cjs/pn-tile.entry.cjs.js.map +0 -1
  823. package/umd/modules/@postnord/web-components/cjs/pn-toast.entry.cjs.js.map +0 -1
  824. package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.entry.cjs.js.map +0 -1
  825. package/umd/modules/@postnord/web-components/cjs/pn-tooltip.entry.cjs.js.map +0 -1
  826. package/umd/modules/@postnord/web-components/cjs/pn-wizard.entry.cjs.js.map +0 -1
  827. package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.entry.cjs.js.map +0 -1
  828. package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js.map +0 -1
  829. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js.map +0 -1
  830. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/translation.js.map +0 -1
  831. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button/pn-button.js.map +0 -1
  832. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-button-dropdown/pn-button-dropdown.js.map +0 -1
  833. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-read-only-button/pn-read-only-button.js.map +0 -1
  834. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/pn-accordion.js.map +0 -1
  835. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js.map +0 -1
  836. package/umd/modules/@postnord/web-components/collection/components/content/pn-table/pn-table.js.map +0 -1
  837. package/umd/modules/@postnord/web-components/collection/components/content/pn-tag/pn-tag.js.map +0 -1
  838. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.js.map +0 -1
  839. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.js.map +0 -1
  840. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js.map +0 -1
  841. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/translation.js.map +0 -1
  842. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js.map +0 -1
  843. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js.map +0 -1
  844. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js.map +0 -1
  845. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js.map +0 -1
  846. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/translations.js.map +0 -1
  847. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js.map +0 -1
  848. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js.map +0 -1
  849. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/translation.js.map +0 -1
  850. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js.map +0 -1
  851. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.js.map +0 -1
  852. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/translation.js.map +0 -1
  853. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js.map +0 -1
  854. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js.map +0 -1
  855. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js.map +0 -1
  856. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/translations.js.map +0 -1
  857. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js.map +0 -1
  858. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/translations.js.map +0 -1
  859. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js.map +0 -1
  860. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload-error.js.map +0 -1
  861. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js.map +0 -1
  862. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/translation.js.map +0 -1
  863. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js.map +0 -1
  864. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/translations.js.map +0 -1
  865. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js.map +0 -1
  866. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/translations.js.map +0 -1
  867. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js.map +0 -1
  868. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js.map +0 -1
  869. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/translations.js.map +0 -1
  870. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js.map +0 -1
  871. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js.map +0 -1
  872. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js.map +0 -1
  873. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/translations.js.map +0 -1
  874. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js.map +0 -1
  875. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js.map +0 -1
  876. package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js.map +0 -1
  877. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js.map +0 -1
  878. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js.map +0 -1
  879. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/translations.js.map +0 -1
  880. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/urls.js.map +0 -1
  881. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js.map +0 -1
  882. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js.map +0 -1
  883. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js.map +0 -1
  884. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js.map +0 -1
  885. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/translations.js.map +0 -1
  886. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js.map +0 -1
  887. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js.map +0 -1
  888. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/translations.js.map +0 -1
  889. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js.map +0 -1
  890. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js.map +0 -1
  891. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js.map +0 -1
  892. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/translations.js.map +0 -1
  893. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js.map +0 -1
  894. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/translations.js.map +0 -1
  895. package/umd/modules/@postnord/web-components/collection/globals/date/index.js.map +0 -1
  896. package/umd/modules/@postnord/web-components/collection/globals/helpers.js.map +0 -1
  897. package/umd/modules/@postnord/web-components/collection/globals/mixins/index.js.map +0 -1
  898. package/umd/modules/@postnord/web-components/collection/globals/types.js.map +0 -1
  899. package/umd/modules/@postnord/web-components/collection/index.js.map +0 -1
  900. package/umd/modules/@postnord/web-components/components/alert_exclamation_circle.js.map +0 -1
  901. package/umd/modules/@postnord/web-components/components/alert_info_circle.js.map +0 -1
  902. package/umd/modules/@postnord/web-components/components/arrow_left.js.map +0 -1
  903. package/umd/modules/@postnord/web-components/components/arrow_right.js.map +0 -1
  904. package/umd/modules/@postnord/web-components/components/check.js.map +0 -1
  905. package/umd/modules/@postnord/web-components/components/check_circle.js.map +0 -1
  906. package/umd/modules/@postnord/web-components/components/chevron_down.js.map +0 -1
  907. package/umd/modules/@postnord/web-components/components/chevron_right.js.map +0 -1
  908. package/umd/modules/@postnord/web-components/components/close.js.map +0 -1
  909. package/umd/modules/@postnord/web-components/components/colors.js.map +0 -1
  910. package/umd/modules/@postnord/web-components/components/helpers.js.map +0 -1
  911. package/umd/modules/@postnord/web-components/components/index.js.map +0 -1
  912. package/umd/modules/@postnord/web-components/components/index2.js.map +0 -1
  913. package/umd/modules/@postnord/web-components/components/open_in_new.js.map +0 -1
  914. package/umd/modules/@postnord/web-components/components/pn-accordion-row.js.map +0 -1
  915. package/umd/modules/@postnord/web-components/components/pn-accordion.js.map +0 -1
  916. package/umd/modules/@postnord/web-components/components/pn-action-menu.js.map +0 -1
  917. package/umd/modules/@postnord/web-components/components/pn-button-dropdown.js.map +0 -1
  918. package/umd/modules/@postnord/web-components/components/pn-button.js.map +0 -1
  919. package/umd/modules/@postnord/web-components/components/pn-button2.js.map +0 -1
  920. package/umd/modules/@postnord/web-components/components/pn-card.js.map +0 -1
  921. package/umd/modules/@postnord/web-components/components/pn-checkbox.js.map +0 -1
  922. package/umd/modules/@postnord/web-components/components/pn-choice-chip.js.map +0 -1
  923. package/umd/modules/@postnord/web-components/components/pn-counter.js.map +0 -1
  924. package/umd/modules/@postnord/web-components/components/pn-date-picker.js.map +0 -1
  925. package/umd/modules/@postnord/web-components/components/pn-fieldset.js.map +0 -1
  926. package/umd/modules/@postnord/web-components/components/pn-file-upload.js.map +0 -1
  927. package/umd/modules/@postnord/web-components/components/pn-footer.js.map +0 -1
  928. package/umd/modules/@postnord/web-components/components/pn-header.js.map +0 -1
  929. package/umd/modules/@postnord/web-components/components/pn-icon.js.map +0 -1
  930. package/umd/modules/@postnord/web-components/components/pn-icon2.js.map +0 -1
  931. package/umd/modules/@postnord/web-components/components/pn-illustration.js.map +0 -1
  932. package/umd/modules/@postnord/web-components/components/pn-illustration2.js.map +0 -1
  933. package/umd/modules/@postnord/web-components/components/pn-input.js.map +0 -1
  934. package/umd/modules/@postnord/web-components/components/pn-modal.js.map +0 -1
  935. package/umd/modules/@postnord/web-components/components/pn-multiselect.js.map +0 -1
  936. package/umd/modules/@postnord/web-components/components/pn-ocr-search.js.map +0 -1
  937. package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js.map +0 -1
  938. package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js.map +0 -1
  939. package/umd/modules/@postnord/web-components/components/pn-page-nav.js.map +0 -1
  940. package/umd/modules/@postnord/web-components/components/pn-pagination.js.map +0 -1
  941. package/umd/modules/@postnord/web-components/components/pn-progress-bar.js.map +0 -1
  942. package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js.map +0 -1
  943. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js.map +0 -1
  944. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js.map +0 -1
  945. package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js.map +0 -1
  946. package/umd/modules/@postnord/web-components/components/pn-progress-stepper2.js.map +0 -1
  947. package/umd/modules/@postnord/web-components/components/pn-radio-button.js.map +0 -1
  948. package/umd/modules/@postnord/web-components/components/pn-read-only-button.js.map +0 -1
  949. package/umd/modules/@postnord/web-components/components/pn-search-field.js.map +0 -1
  950. package/umd/modules/@postnord/web-components/components/pn-search-field2.js.map +0 -1
  951. package/umd/modules/@postnord/web-components/components/pn-segment.js.map +0 -1
  952. package/umd/modules/@postnord/web-components/components/pn-segmented-control.js.map +0 -1
  953. package/umd/modules/@postnord/web-components/components/pn-select.js.map +0 -1
  954. package/umd/modules/@postnord/web-components/components/pn-select2.js.map +0 -1
  955. package/umd/modules/@postnord/web-components/components/pn-spinner.js.map +0 -1
  956. package/umd/modules/@postnord/web-components/components/pn-spinner2.js.map +0 -1
  957. package/umd/modules/@postnord/web-components/components/pn-tab.js.map +0 -1
  958. package/umd/modules/@postnord/web-components/components/pn-table.js.map +0 -1
  959. package/umd/modules/@postnord/web-components/components/pn-tablist.js.map +0 -1
  960. package/umd/modules/@postnord/web-components/components/pn-tag.js.map +0 -1
  961. package/umd/modules/@postnord/web-components/components/pn-text-link.js.map +0 -1
  962. package/umd/modules/@postnord/web-components/components/pn-text-link2.js.map +0 -1
  963. package/umd/modules/@postnord/web-components/components/pn-textarea.js.map +0 -1
  964. package/umd/modules/@postnord/web-components/components/pn-tile.js.map +0 -1
  965. package/umd/modules/@postnord/web-components/components/pn-toast.js.map +0 -1
  966. package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js.map +0 -1
  967. package/umd/modules/@postnord/web-components/components/pn-tooltip.js.map +0 -1
  968. package/umd/modules/@postnord/web-components/components/pn-wizard.js.map +0 -1
  969. package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js.map +0 -1
  970. package/umd/modules/@postnord/web-components/esm/alert_exclamation_circle-B88w-Zxn.js.map +0 -1
  971. package/umd/modules/@postnord/web-components/esm/alert_info_circle-BTqkgfeH.js.map +0 -1
  972. package/umd/modules/@postnord/web-components/esm/app-globals-Dh478Si7.js.map +0 -1
  973. package/umd/modules/@postnord/web-components/esm/arrow_left-CQaMdITw.js.map +0 -1
  974. package/umd/modules/@postnord/web-components/esm/arrow_right-D_UyW-KH.js.map +0 -1
  975. package/umd/modules/@postnord/web-components/esm/check-BpI8peGn.js.map +0 -1
  976. package/umd/modules/@postnord/web-components/esm/check_circle-D4GZ__oQ.js.map +0 -1
  977. package/umd/modules/@postnord/web-components/esm/chevron_down-DrYFvs2M.js.map +0 -1
  978. package/umd/modules/@postnord/web-components/esm/chevron_right-B6SVpr61.js.map +0 -1
  979. package/umd/modules/@postnord/web-components/esm/close-BvuWkoyY.js.map +0 -1
  980. package/umd/modules/@postnord/web-components/esm/colors-C_nYl55V.js.map +0 -1
  981. package/umd/modules/@postnord/web-components/esm/index-BNA0ko5y.js.map +0 -1
  982. package/umd/modules/@postnord/web-components/esm/index-CJTbRJfo.js.map +0 -1
  983. package/umd/modules/@postnord/web-components/esm/index.js.map +0 -1
  984. package/umd/modules/@postnord/web-components/esm/loader.js.map +0 -1
  985. package/umd/modules/@postnord/web-components/esm/open_in_new-IFVOY5Gf.js.map +0 -1
  986. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js.map +0 -1
  987. package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js.map +0 -1
  988. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js.map +0 -1
  989. package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js.map +0 -1
  990. package/umd/modules/@postnord/web-components/esm/pn-button.pn-spinner.entry.js.map +0 -1
  991. package/umd/modules/@postnord/web-components/esm/pn-card.entry.js.map +0 -1
  992. package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js.map +0 -1
  993. package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js.map +0 -1
  994. package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js.map +0 -1
  995. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js.map +0 -1
  996. package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js.map +0 -1
  997. package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js.map +0 -1
  998. package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js.map +0 -1
  999. package/umd/modules/@postnord/web-components/esm/pn-header.entry.js.map +0 -1
  1000. package/umd/modules/@postnord/web-components/esm/pn-icon.pn-tag.entry.js.map +0 -1
  1001. package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js.map +0 -1
  1002. package/umd/modules/@postnord/web-components/esm/pn-input.entry.js.map +0 -1
  1003. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js.map +0 -1
  1004. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js.map +0 -1
  1005. package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js.map +0 -1
  1006. package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js.map +0 -1
  1007. package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js.map +0 -1
  1008. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js.map +0 -1
  1009. package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js.map +0 -1
  1010. package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js.map +0 -1
  1011. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js.map +0 -1
  1012. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js.map +0 -1
  1013. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js.map +0 -1
  1014. package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js.map +0 -1
  1015. package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js.map +0 -1
  1016. package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js.map +0 -1
  1017. package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js.map +0 -1
  1018. package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js.map +0 -1
  1019. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js.map +0 -1
  1020. package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js.map +0 -1
  1021. package/umd/modules/@postnord/web-components/esm/pn-table.entry.js.map +0 -1
  1022. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js.map +0 -1
  1023. package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js.map +0 -1
  1024. package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js.map +0 -1
  1025. package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js.map +0 -1
  1026. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js.map +0 -1
  1027. package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js.map +0 -1
  1028. package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js.map +0 -1
  1029. package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js.map +0 -1
  1030. package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js.map +0 -1
  1031. package/umd/modules/@postnord/web-components/esm/postnord-web-components.js.map +0 -1
  1032. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.error.d.ts +0 -24
  1033. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.sharedmemory.d.ts +0 -25
  1034. package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js.map +0 -1
  1035. package/umd/modules/@postnord/web-components/postnord-web-components/loader.esm.js.map +0 -1
  1036. package/umd/modules/@postnord/web-components/postnord-web-components/p-0b73e708.entry.js +0 -6
  1037. package/umd/modules/@postnord/web-components/postnord-web-components/p-0b73e708.entry.js.map +0 -1
  1038. package/umd/modules/@postnord/web-components/postnord-web-components/p-13d5a525.entry.js +0 -6
  1039. package/umd/modules/@postnord/web-components/postnord-web-components/p-13d5a525.entry.js.map +0 -1
  1040. package/umd/modules/@postnord/web-components/postnord-web-components/p-16aacb54.entry.js +0 -6
  1041. package/umd/modules/@postnord/web-components/postnord-web-components/p-16aacb54.entry.js.map +0 -1
  1042. package/umd/modules/@postnord/web-components/postnord-web-components/p-1943dc9a.entry.js +0 -6
  1043. package/umd/modules/@postnord/web-components/postnord-web-components/p-1943dc9a.entry.js.map +0 -1
  1044. package/umd/modules/@postnord/web-components/postnord-web-components/p-1ab03b27.entry.js +0 -6
  1045. package/umd/modules/@postnord/web-components/postnord-web-components/p-1ab03b27.entry.js.map +0 -1
  1046. package/umd/modules/@postnord/web-components/postnord-web-components/p-26f6191c.entry.js +0 -6
  1047. package/umd/modules/@postnord/web-components/postnord-web-components/p-26f6191c.entry.js.map +0 -1
  1048. package/umd/modules/@postnord/web-components/postnord-web-components/p-2abae92e.entry.js +0 -6
  1049. package/umd/modules/@postnord/web-components/postnord-web-components/p-2abae92e.entry.js.map +0 -1
  1050. package/umd/modules/@postnord/web-components/postnord-web-components/p-34d50f65.entry.js +0 -6
  1051. package/umd/modules/@postnord/web-components/postnord-web-components/p-34d50f65.entry.js.map +0 -1
  1052. package/umd/modules/@postnord/web-components/postnord-web-components/p-37e91e60.entry.js +0 -6
  1053. package/umd/modules/@postnord/web-components/postnord-web-components/p-37e91e60.entry.js.map +0 -1
  1054. package/umd/modules/@postnord/web-components/postnord-web-components/p-40e79be6.entry.js +0 -6
  1055. package/umd/modules/@postnord/web-components/postnord-web-components/p-40e79be6.entry.js.map +0 -1
  1056. package/umd/modules/@postnord/web-components/postnord-web-components/p-4306cd57.entry.js +0 -6
  1057. package/umd/modules/@postnord/web-components/postnord-web-components/p-4306cd57.entry.js.map +0 -1
  1058. package/umd/modules/@postnord/web-components/postnord-web-components/p-4d17461c.entry.js +0 -6
  1059. package/umd/modules/@postnord/web-components/postnord-web-components/p-4d17461c.entry.js.map +0 -1
  1060. package/umd/modules/@postnord/web-components/postnord-web-components/p-56a6680a.entry.js +0 -6
  1061. package/umd/modules/@postnord/web-components/postnord-web-components/p-56a6680a.entry.js.map +0 -1
  1062. package/umd/modules/@postnord/web-components/postnord-web-components/p-61269e0d.entry.js +0 -6
  1063. package/umd/modules/@postnord/web-components/postnord-web-components/p-61269e0d.entry.js.map +0 -1
  1064. package/umd/modules/@postnord/web-components/postnord-web-components/p-6894a9d1.entry.js +0 -6
  1065. package/umd/modules/@postnord/web-components/postnord-web-components/p-6894a9d1.entry.js.map +0 -1
  1066. package/umd/modules/@postnord/web-components/postnord-web-components/p-68c63ef9.entry.js +0 -6
  1067. package/umd/modules/@postnord/web-components/postnord-web-components/p-68c63ef9.entry.js.map +0 -1
  1068. package/umd/modules/@postnord/web-components/postnord-web-components/p-72a8abdf.entry.js +0 -6
  1069. package/umd/modules/@postnord/web-components/postnord-web-components/p-72a8abdf.entry.js.map +0 -1
  1070. package/umd/modules/@postnord/web-components/postnord-web-components/p-8662ed7c.entry.js +0 -6
  1071. package/umd/modules/@postnord/web-components/postnord-web-components/p-8662ed7c.entry.js.map +0 -1
  1072. package/umd/modules/@postnord/web-components/postnord-web-components/p-86b58ebf.entry.js +0 -6
  1073. package/umd/modules/@postnord/web-components/postnord-web-components/p-86b58ebf.entry.js.map +0 -1
  1074. package/umd/modules/@postnord/web-components/postnord-web-components/p-8c66a482.entry.js +0 -6
  1075. package/umd/modules/@postnord/web-components/postnord-web-components/p-8c66a482.entry.js.map +0 -1
  1076. package/umd/modules/@postnord/web-components/postnord-web-components/p-8d356d3e.entry.js +0 -6
  1077. package/umd/modules/@postnord/web-components/postnord-web-components/p-8d356d3e.entry.js.map +0 -1
  1078. package/umd/modules/@postnord/web-components/postnord-web-components/p-8ec90dfa.entry.js +0 -6
  1079. package/umd/modules/@postnord/web-components/postnord-web-components/p-8ec90dfa.entry.js.map +0 -1
  1080. package/umd/modules/@postnord/web-components/postnord-web-components/p-8fff1887.entry.js +0 -6
  1081. package/umd/modules/@postnord/web-components/postnord-web-components/p-8fff1887.entry.js.map +0 -1
  1082. package/umd/modules/@postnord/web-components/postnord-web-components/p-983152d9.entry.js +0 -6
  1083. package/umd/modules/@postnord/web-components/postnord-web-components/p-983152d9.entry.js.map +0 -1
  1084. package/umd/modules/@postnord/web-components/postnord-web-components/p-9884ede8.entry.js +0 -6
  1085. package/umd/modules/@postnord/web-components/postnord-web-components/p-9884ede8.entry.js.map +0 -1
  1086. package/umd/modules/@postnord/web-components/postnord-web-components/p-9e8f6ffa.entry.js +0 -6
  1087. package/umd/modules/@postnord/web-components/postnord-web-components/p-9e8f6ffa.entry.js.map +0 -1
  1088. package/umd/modules/@postnord/web-components/postnord-web-components/p-B6SVpr61.js.map +0 -1
  1089. package/umd/modules/@postnord/web-components/postnord-web-components/p-B88w-Zxn.js.map +0 -1
  1090. package/umd/modules/@postnord/web-components/postnord-web-components/p-BNA0ko5y.js +0 -7
  1091. package/umd/modules/@postnord/web-components/postnord-web-components/p-BNA0ko5y.js.map +0 -1
  1092. package/umd/modules/@postnord/web-components/postnord-web-components/p-BTqkgfeH.js.map +0 -1
  1093. package/umd/modules/@postnord/web-components/postnord-web-components/p-BpI8peGn.js.map +0 -1
  1094. package/umd/modules/@postnord/web-components/postnord-web-components/p-BvuWkoyY.js.map +0 -1
  1095. package/umd/modules/@postnord/web-components/postnord-web-components/p-C18BEeVU.js +0 -6
  1096. package/umd/modules/@postnord/web-components/postnord-web-components/p-C18BEeVU.js.map +0 -1
  1097. package/umd/modules/@postnord/web-components/postnord-web-components/p-CQaMdITw.js.map +0 -1
  1098. package/umd/modules/@postnord/web-components/postnord-web-components/p-C_nYl55V.js.map +0 -1
  1099. package/umd/modules/@postnord/web-components/postnord-web-components/p-D4GZ__oQ.js.map +0 -1
  1100. package/umd/modules/@postnord/web-components/postnord-web-components/p-D_UyW-KH.js.map +0 -1
  1101. package/umd/modules/@postnord/web-components/postnord-web-components/p-Dh478Si7.js.map +0 -1
  1102. package/umd/modules/@postnord/web-components/postnord-web-components/p-DrYFvs2M.js.map +0 -1
  1103. package/umd/modules/@postnord/web-components/postnord-web-components/p-IFVOY5Gf.js.map +0 -1
  1104. package/umd/modules/@postnord/web-components/postnord-web-components/p-a6bb25f4.entry.js +0 -6
  1105. package/umd/modules/@postnord/web-components/postnord-web-components/p-a6bb25f4.entry.js.map +0 -1
  1106. package/umd/modules/@postnord/web-components/postnord-web-components/p-aa2d25dc.entry.js +0 -6
  1107. package/umd/modules/@postnord/web-components/postnord-web-components/p-aa2d25dc.entry.js.map +0 -1
  1108. package/umd/modules/@postnord/web-components/postnord-web-components/p-ab18b769.entry.js +0 -6
  1109. package/umd/modules/@postnord/web-components/postnord-web-components/p-ab18b769.entry.js.map +0 -1
  1110. package/umd/modules/@postnord/web-components/postnord-web-components/p-afb1f37a.entry.js +0 -6
  1111. package/umd/modules/@postnord/web-components/postnord-web-components/p-afb1f37a.entry.js.map +0 -1
  1112. package/umd/modules/@postnord/web-components/postnord-web-components/p-b0ce2c3d.entry.js +0 -6
  1113. package/umd/modules/@postnord/web-components/postnord-web-components/p-b0ce2c3d.entry.js.map +0 -1
  1114. package/umd/modules/@postnord/web-components/postnord-web-components/p-b6449612.entry.js +0 -6
  1115. package/umd/modules/@postnord/web-components/postnord-web-components/p-b6449612.entry.js.map +0 -1
  1116. package/umd/modules/@postnord/web-components/postnord-web-components/p-b6bf5958.entry.js +0 -6
  1117. package/umd/modules/@postnord/web-components/postnord-web-components/p-b6bf5958.entry.js.map +0 -1
  1118. package/umd/modules/@postnord/web-components/postnord-web-components/p-ba6de886.entry.js +0 -6
  1119. package/umd/modules/@postnord/web-components/postnord-web-components/p-ba6de886.entry.js.map +0 -1
  1120. package/umd/modules/@postnord/web-components/postnord-web-components/p-c0c9b98e.entry.js +0 -6
  1121. package/umd/modules/@postnord/web-components/postnord-web-components/p-c0c9b98e.entry.js.map +0 -1
  1122. package/umd/modules/@postnord/web-components/postnord-web-components/p-c9dd5e8b.entry.js +0 -6
  1123. package/umd/modules/@postnord/web-components/postnord-web-components/p-c9dd5e8b.entry.js.map +0 -1
  1124. package/umd/modules/@postnord/web-components/postnord-web-components/p-cd527042.entry.js +0 -6
  1125. package/umd/modules/@postnord/web-components/postnord-web-components/p-cd527042.entry.js.map +0 -1
  1126. package/umd/modules/@postnord/web-components/postnord-web-components/p-ce2a97e3.entry.js +0 -6
  1127. package/umd/modules/@postnord/web-components/postnord-web-components/p-ce2a97e3.entry.js.map +0 -1
  1128. package/umd/modules/@postnord/web-components/postnord-web-components/p-d096c083.entry.js +0 -6
  1129. package/umd/modules/@postnord/web-components/postnord-web-components/p-d096c083.entry.js.map +0 -1
  1130. package/umd/modules/@postnord/web-components/postnord-web-components/p-da0b4675.entry.js +0 -6
  1131. package/umd/modules/@postnord/web-components/postnord-web-components/p-da0b4675.entry.js.map +0 -1
  1132. package/umd/modules/@postnord/web-components/postnord-web-components/p-da7b4e15.entry.js +0 -6
  1133. package/umd/modules/@postnord/web-components/postnord-web-components/p-da7b4e15.entry.js.map +0 -1
  1134. package/umd/modules/@postnord/web-components/postnord-web-components/p-e78da8bd.entry.js +0 -6
  1135. package/umd/modules/@postnord/web-components/postnord-web-components/p-e78da8bd.entry.js.map +0 -1
  1136. package/umd/modules/@postnord/web-components/postnord-web-components/p-e9955b50.entry.js +0 -6
  1137. package/umd/modules/@postnord/web-components/postnord-web-components/p-e9955b50.entry.js.map +0 -1
  1138. package/umd/modules/@postnord/web-components/postnord-web-components/p-ee2a687f.entry.js +0 -6
  1139. package/umd/modules/@postnord/web-components/postnord-web-components/p-ee2a687f.entry.js.map +0 -1
  1140. package/umd/modules/@postnord/web-components/postnord-web-components/p-f5b054fb.entry.js +0 -6
  1141. package/umd/modules/@postnord/web-components/postnord-web-components/p-f5b054fb.entry.js.map +0 -1
  1142. package/umd/modules/@postnord/web-components/postnord-web-components/pn-accordion-row.entry.esm.js.map +0 -1
  1143. package/umd/modules/@postnord/web-components/postnord-web-components/pn-accordion.entry.esm.js.map +0 -1
  1144. package/umd/modules/@postnord/web-components/postnord-web-components/pn-action-menu.entry.esm.js.map +0 -1
  1145. package/umd/modules/@postnord/web-components/postnord-web-components/pn-button-dropdown.entry.esm.js.map +0 -1
  1146. package/umd/modules/@postnord/web-components/postnord-web-components/pn-button.pn-spinner.entry.esm.js.map +0 -1
  1147. package/umd/modules/@postnord/web-components/postnord-web-components/pn-card.entry.esm.js.map +0 -1
  1148. package/umd/modules/@postnord/web-components/postnord-web-components/pn-checkbox.entry.esm.js.map +0 -1
  1149. package/umd/modules/@postnord/web-components/postnord-web-components/pn-choice-chip.entry.esm.js.map +0 -1
  1150. package/umd/modules/@postnord/web-components/postnord-web-components/pn-counter.entry.esm.js.map +0 -1
  1151. package/umd/modules/@postnord/web-components/postnord-web-components/pn-date-picker.entry.esm.js.map +0 -1
  1152. package/umd/modules/@postnord/web-components/postnord-web-components/pn-fieldset.entry.esm.js.map +0 -1
  1153. package/umd/modules/@postnord/web-components/postnord-web-components/pn-file-upload.entry.esm.js.map +0 -1
  1154. package/umd/modules/@postnord/web-components/postnord-web-components/pn-footer.entry.esm.js.map +0 -1
  1155. package/umd/modules/@postnord/web-components/postnord-web-components/pn-header.entry.esm.js.map +0 -1
  1156. package/umd/modules/@postnord/web-components/postnord-web-components/pn-icon.pn-tag.entry.esm.js.map +0 -1
  1157. package/umd/modules/@postnord/web-components/postnord-web-components/pn-illustration.entry.esm.js.map +0 -1
  1158. package/umd/modules/@postnord/web-components/postnord-web-components/pn-input.entry.esm.js.map +0 -1
  1159. package/umd/modules/@postnord/web-components/postnord-web-components/pn-modal.entry.esm.js.map +0 -1
  1160. package/umd/modules/@postnord/web-components/postnord-web-components/pn-multiselect.entry.esm.js.map +0 -1
  1161. package/umd/modules/@postnord/web-components/postnord-web-components/pn-ocr-search.entry.esm.js.map +0 -1
  1162. package/umd/modules/@postnord/web-components/postnord-web-components/pn-page-nav-dropdown-item.entry.esm.js.map +0 -1
  1163. package/umd/modules/@postnord/web-components/postnord-web-components/pn-page-nav-item.entry.esm.js.map +0 -1
  1164. package/umd/modules/@postnord/web-components/postnord-web-components/pn-page-nav.entry.esm.js.map +0 -1
  1165. package/umd/modules/@postnord/web-components/postnord-web-components/pn-pagination.entry.esm.js.map +0 -1
  1166. package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-bar.entry.esm.js.map +0 -1
  1167. package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-indicator-step.entry.esm.js.map +0 -1
  1168. package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-indicator.entry.esm.js.map +0 -1
  1169. package/umd/modules/@postnord/web-components/postnord-web-components/pn-progress-stepper.entry.esm.js.map +0 -1
  1170. package/umd/modules/@postnord/web-components/postnord-web-components/pn-radio-button.entry.esm.js.map +0 -1
  1171. package/umd/modules/@postnord/web-components/postnord-web-components/pn-read-only-button.entry.esm.js.map +0 -1
  1172. package/umd/modules/@postnord/web-components/postnord-web-components/pn-search-field.entry.esm.js.map +0 -1
  1173. package/umd/modules/@postnord/web-components/postnord-web-components/pn-segment.entry.esm.js.map +0 -1
  1174. package/umd/modules/@postnord/web-components/postnord-web-components/pn-segmented-control.entry.esm.js.map +0 -1
  1175. package/umd/modules/@postnord/web-components/postnord-web-components/pn-select.entry.esm.js.map +0 -1
  1176. package/umd/modules/@postnord/web-components/postnord-web-components/pn-tab.entry.esm.js.map +0 -1
  1177. package/umd/modules/@postnord/web-components/postnord-web-components/pn-table.entry.esm.js.map +0 -1
  1178. package/umd/modules/@postnord/web-components/postnord-web-components/pn-tablist.entry.esm.js.map +0 -1
  1179. package/umd/modules/@postnord/web-components/postnord-web-components/pn-text-link.entry.esm.js.map +0 -1
  1180. package/umd/modules/@postnord/web-components/postnord-web-components/pn-textarea.entry.esm.js.map +0 -1
  1181. package/umd/modules/@postnord/web-components/postnord-web-components/pn-tile.entry.esm.js.map +0 -1
  1182. package/umd/modules/@postnord/web-components/postnord-web-components/pn-toast.entry.esm.js.map +0 -1
  1183. package/umd/modules/@postnord/web-components/postnord-web-components/pn-toggle-switch.entry.esm.js.map +0 -1
  1184. package/umd/modules/@postnord/web-components/postnord-web-components/pn-tooltip.entry.esm.js.map +0 -1
  1185. package/umd/modules/@postnord/web-components/postnord-web-components/pn-wizard.entry.esm.js.map +0 -1
  1186. package/umd/modules/@postnord/web-components/postnord-web-components/pn-zipcode-search.entry.esm.js.map +0 -1
  1187. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js.map +0 -1
  1188. /package/pn-market-web-components/{p-41cdac85.entry.js.map → p-02cc3319.entry.js.map} +0 -0
  1189. /package/pn-market-web-components/{p-34a98554.entry.js.map → p-096cbbcb.entry.js.map} +0 -0
  1190. /package/pn-market-web-components/{p-79e4715c.entry.js.map → p-0b092a5c.entry.js.map} +0 -0
  1191. /package/pn-market-web-components/{p-17c43a96.entry.js.map → p-0b7d3d23.entry.js.map} +0 -0
  1192. /package/pn-market-web-components/{p-f28059f4.entry.js.map → p-0d67f0af.entry.js.map} +0 -0
  1193. /package/pn-market-web-components/{p-eb21f772.entry.js.map → p-0f2148b7.entry.js.map} +0 -0
  1194. /package/pn-market-web-components/{p-920ce5f2.entry.js.map → p-133c7313.entry.js.map} +0 -0
  1195. /package/pn-market-web-components/{p-230ef9aa.entry.js.map → p-1cb0f3fa.entry.js.map} +0 -0
  1196. /package/pn-market-web-components/{p-8836de82.js.map → p-2132ad75.js.map} +0 -0
  1197. /package/pn-market-web-components/{p-0b5a125d.entry.js.map → p-24bfee5d.entry.js.map} +0 -0
  1198. /package/pn-market-web-components/{p-9454075f.entry.js.map → p-2f324058.entry.js.map} +0 -0
  1199. /package/pn-market-web-components/{p-71db6836.entry.js.map → p-315b9cba.entry.js.map} +0 -0
  1200. /package/pn-market-web-components/{p-389a94e7.entry.js.map → p-317fcddf.entry.js.map} +0 -0
  1201. /package/pn-market-web-components/{p-b85c020c.entry.js.map → p-34cb1e2e.entry.js.map} +0 -0
  1202. /package/pn-market-web-components/{p-95d32ab4.entry.js.map → p-368aa69f.entry.js.map} +0 -0
  1203. /package/pn-market-web-components/{p-015127bf.entry.js.map → p-3737defb.entry.js.map} +0 -0
  1204. /package/pn-market-web-components/{p-5a981927.entry.js.map → p-3a298543.entry.js.map} +0 -0
  1205. /package/pn-market-web-components/{p-8a651698.entry.js.map → p-3d11fd8a.entry.js.map} +0 -0
  1206. /package/pn-market-web-components/{p-72f57a04.entry.js.map → p-44175dbd.entry.js.map} +0 -0
  1207. /package/pn-market-web-components/{p-4aedb76c.entry.js.map → p-46711387.entry.js.map} +0 -0
  1208. /package/pn-market-web-components/{p-7b4f9fdf.entry.js.map → p-4aa7cec5.entry.js.map} +0 -0
  1209. /package/pn-market-web-components/{p-930e2943.js.map → p-4bd72b91.js.map} +0 -0
  1210. /package/pn-market-web-components/{p-0fc01d3f.entry.js.map → p-4bf2c8ab.entry.js.map} +0 -0
  1211. /package/pn-market-web-components/{p-fb4cdf98.js.map → p-53039fa7.js.map} +0 -0
  1212. /package/pn-market-web-components/{p-c89cb749.entry.js.map → p-588525ac.entry.js.map} +0 -0
  1213. /package/pn-market-web-components/{p-84fc8e05.entry.js.map → p-5d70be75.entry.js.map} +0 -0
  1214. /package/pn-market-web-components/{p-d7170c0e.entry.js.map → p-5d8eb438.entry.js.map} +0 -0
  1215. /package/pn-market-web-components/{p-8d98f709.entry.js.map → p-5f904742.entry.js.map} +0 -0
  1216. /package/pn-market-web-components/{p-268dc1fa.entry.js.map → p-60e3ba3d.entry.js.map} +0 -0
  1217. /package/pn-market-web-components/{p-efab81a9.entry.js.map → p-6a5cb4ca.entry.js.map} +0 -0
  1218. /package/pn-market-web-components/{p-7ab49269.entry.js.map → p-6b6aeeab.entry.js.map} +0 -0
  1219. /package/pn-market-web-components/{p-bfd604f2.entry.js.map → p-6d263c6e.entry.js.map} +0 -0
  1220. /package/pn-market-web-components/{p-923aa6d2.entry.js.map → p-6d6ae33e.entry.js.map} +0 -0
  1221. /package/pn-market-web-components/{p-542f949d.entry.js.map → p-6e3c311a.entry.js.map} +0 -0
  1222. /package/pn-market-web-components/{p-b9590d81.entry.js.map → p-6f1bf16b.entry.js.map} +0 -0
  1223. /package/pn-market-web-components/{p-f9083b7a.js.map → p-70a9d4eb.js.map} +0 -0
  1224. /package/pn-market-web-components/{p-64851da0.entry.js.map → p-7526d49d.entry.js.map} +0 -0
  1225. /package/pn-market-web-components/{p-ad9a7633.entry.js.map → p-7a721a2a.entry.js.map} +0 -0
  1226. /package/pn-market-web-components/{p-0b920554.js.map → p-885d59e8.js.map} +0 -0
  1227. /package/pn-market-web-components/{p-daa74e60.entry.js.map → p-89272a6b.entry.js.map} +0 -0
  1228. /package/pn-market-web-components/{p-a298a263.entry.js.map → p-8afc2d30.entry.js.map} +0 -0
  1229. /package/pn-market-web-components/{p-763a4e13.entry.js.map → p-8b506b9b.entry.js.map} +0 -0
  1230. /package/pn-market-web-components/{p-fe466661.js.map → p-8c42f598.js.map} +0 -0
  1231. /package/pn-market-web-components/{p-ef668a3b.entry.js.map → p-92e8e287.entry.js.map} +0 -0
  1232. /package/pn-market-web-components/{p-8d874454.entry.js.map → p-9638d206.entry.js.map} +0 -0
  1233. /package/pn-market-web-components/{p-2a58d83b.entry.js.map → p-9b709942.entry.js.map} +0 -0
  1234. /package/pn-market-web-components/{p-da56370b.entry.js.map → p-9c0243fd.entry.js.map} +0 -0
  1235. /package/pn-market-web-components/{p-2c19edca.entry.js.map → p-9fc3711d.entry.js.map} +0 -0
  1236. /package/pn-market-web-components/{p-39b75c62.entry.js.map → p-a6941ea3.entry.js.map} +0 -0
  1237. /package/pn-market-web-components/{p-40bce1b1.entry.js.map → p-ab291285.entry.js.map} +0 -0
  1238. /package/pn-market-web-components/{p-35847eda.entry.js.map → p-ad807e2c.entry.js.map} +0 -0
  1239. /package/pn-market-web-components/{p-72828265.js.map → p-ae5756dd.js.map} +0 -0
  1240. /package/pn-market-web-components/{p-f4b14be8.entry.js.map → p-aee65729.entry.js.map} +0 -0
  1241. /package/pn-market-web-components/{p-659a4db5.entry.js.map → p-b20d2e1b.entry.js.map} +0 -0
  1242. /package/pn-market-web-components/{p-292db484.entry.js.map → p-b3605a96.entry.js.map} +0 -0
  1243. /package/pn-market-web-components/{p-f0df7694.entry.js.map → p-b697755f.entry.js.map} +0 -0
  1244. /package/pn-market-web-components/{p-c4e353b3.entry.js.map → p-b9774a2d.entry.js.map} +0 -0
  1245. /package/pn-market-web-components/{p-ce87ff8a.entry.js.map → p-bb5a6883.entry.js.map} +0 -0
  1246. /package/pn-market-web-components/{p-65a046be.entry.js.map → p-c030c263.entry.js.map} +0 -0
  1247. /package/pn-market-web-components/{p-4f639380.entry.js.map → p-c6db243c.entry.js.map} +0 -0
  1248. /package/pn-market-web-components/{p-51f136f3.entry.js.map → p-c7d41f58.entry.js.map} +0 -0
  1249. /package/pn-market-web-components/{p-08b473e0.entry.js.map → p-d07efc2e.entry.js.map} +0 -0
  1250. /package/pn-market-web-components/{p-f28d0971.entry.js.map → p-d18b9aff.entry.js.map} +0 -0
  1251. /package/pn-market-web-components/{p-59bf4b98.entry.js.map → p-d3b4c8d7.entry.js.map} +0 -0
  1252. /package/pn-market-web-components/{p-85b42b44.entry.js.map → p-d49d093f.entry.js.map} +0 -0
  1253. /package/pn-market-web-components/{p-61bd81d7.entry.js.map → p-dc11fc75.entry.js.map} +0 -0
  1254. /package/pn-market-web-components/{p-7b7629c5.entry.js.map → p-de55f656.entry.js.map} +0 -0
  1255. /package/pn-market-web-components/{p-9088d3f5.entry.js.map → p-e07d8b18.entry.js.map} +0 -0
  1256. /package/pn-market-web-components/{p-619f2143.entry.js.map → p-e1c20440.entry.js.map} +0 -0
  1257. /package/pn-market-web-components/{p-60b77eed.entry.js.map → p-e1ccd651.entry.js.map} +0 -0
  1258. /package/pn-market-web-components/{p-793e1339.js.map → p-e3b2486a.js.map} +0 -0
  1259. /package/pn-market-web-components/{p-cbb1d57d.entry.js.map → p-e55e5b49.entry.js.map} +0 -0
  1260. /package/pn-market-web-components/{p-d17af75d.entry.js.map → p-e9d495e3.entry.js.map} +0 -0
  1261. /package/pn-market-web-components/{p-809ed802.entry.js.map → p-eafffc4b.entry.js.map} +0 -0
  1262. /package/pn-market-web-components/{p-66da6e15.entry.js.map → p-ebba8dd2.entry.js.map} +0 -0
  1263. /package/pn-market-web-components/{p-d5c45da2.entry.js.map → p-ec7a8e5a.entry.js.map} +0 -0
  1264. /package/pn-market-web-components/{p-7db6ef34.entry.js.map → p-ed5c0dcc.entry.js.map} +0 -0
  1265. /package/pn-market-web-components/{p-19bbac6d.entry.js.map → p-f6c5c4de.entry.js.map} +0 -0
  1266. /package/pn-market-web-components/{p-ad282b7c.entry.js.map → p-f962fd3e.entry.js.map} +0 -0
  1267. /package/pn-market-web-components/{p-3a936c5d.entry.js.map → p-f97e58b8.entry.js.map} +0 -0
  1268. /package/pn-market-web-components/{p-3d10bc37.entry.js.map → p-fc5c33e7.entry.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":["node_modules/uuid/dist/esm-browser/stringify.js","node_modules/uuid/dist/esm-browser/rng.js","node_modules/uuid/dist/esm-browser/native.js","node_modules/uuid/dist/esm-browser/v4.js","src/globals/helpers.ts"],"sourcesContent":["import validate from './validate.js';\nconst byteToHex = [];\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\nexport function unsafeStringify(arr, offset = 0) {\n return (byteToHex[arr[offset + 0]] +\n byteToHex[arr[offset + 1]] +\n byteToHex[arr[offset + 2]] +\n byteToHex[arr[offset + 3]] +\n '-' +\n byteToHex[arr[offset + 4]] +\n byteToHex[arr[offset + 5]] +\n '-' +\n byteToHex[arr[offset + 6]] +\n byteToHex[arr[offset + 7]] +\n '-' +\n byteToHex[arr[offset + 8]] +\n byteToHex[arr[offset + 9]] +\n '-' +\n byteToHex[arr[offset + 10]] +\n byteToHex[arr[offset + 11]] +\n byteToHex[arr[offset + 12]] +\n byteToHex[arr[offset + 13]] +\n byteToHex[arr[offset + 14]] +\n byteToHex[arr[offset + 15]]).toLowerCase();\n}\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset);\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n return uuid;\n}\nexport default stringify;\n","let getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n if (!getRandomValues) {\n if (typeof crypto === 'undefined' || !crypto.getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n getRandomValues = crypto.getRandomValues.bind(crypto);\n }\n return getRandomValues(rnds8);\n}\n","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default { randomUUID };\n","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n options = options || {};\n const rnds = options.random ?? options.rng?.() ?? rng();\n if (rnds.length < 16) {\n throw new Error('Random bytes length must be >= 16');\n }\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n if (buf) {\n offset = offset || 0;\n if (offset < 0 || offset + 16 > buf.length) {\n throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);\n }\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n return buf;\n }\n return unsafeStringify(rnds);\n}\nexport default v4;\n","import type { PnTopbar, PnLanguages } from './types';\nimport { v4 } from 'uuid';\n\nexport const SE = 'SE';\nexport const DK = 'DK';\nexport const FI = 'FI';\nexport const NO = 'NO';\n\nexport const sv = 'sv';\nexport const en = 'en';\nexport const da = 'da';\nexport const fi = 'fi';\nexport const no = 'no';\n\nexport const markets = [SE, DK, FI, NO];\nexport const languages = [sv, en, da, fi, no];\n\nexport const marketMap: { [key: string]: PnLanguages[] } = {\n SE: [sv, en],\n DK: [da, en],\n FI: [fi, sv, en],\n NO: [no, en],\n};\n\nconst humanReadableFileSize: { [key: string]: number } = {\n KB: 1024,\n MB: 1024 * 1024,\n GB: 1024 * 1024,\n TB: 1024 * 1024 * 1024,\n};\n\nexport const getBytesFromHumanReadableFileSize = function (sizeString: string): number {\n const fileSizeChecker = /(\\d+\\.?\\d*)\\s?([a-zA-Z]{2})?$/;\n\n if (fileSizeChecker.test(sizeString)) {\n const matches = sizeString.match(fileSizeChecker);\n const unit = (matches[2] || '').toLocaleUpperCase();\n const size = parseInt(matches[1]);\n\n if (unit && humanReadableFileSize[unit]) {\n const baseSize = humanReadableFileSize[unit];\n\n return size * baseSize;\n }\n\n return size;\n }\n\n return 0;\n};\n\nexport function isSmallScreen(): boolean {\n return window.innerWidth / 16 < 55;\n}\n\nexport function reduceMotion(): boolean {\n const { matches } = window.matchMedia('(prefers-reduced-motion: reduce)');\n return matches;\n}\n\nexport const uuidv4 = () => v4();\n\nexport function getTopbarHeight(): number {\n return document?.querySelector<HTMLElement>('pn-topbar')?.offsetHeight || 0;\n}\n\nexport function getMenuHeight(): number {\n return isSmallScreen() ? document?.querySelector<HTMLElement>('pn-side-menu')?.offsetHeight || 0 : 0;\n}\n\nexport function getMenuWidth(): number {\n return isSmallScreen() ? 0 : document?.querySelector<HTMLElement>('pn-side-menu')?.offsetWidth || 0;\n}\n\nexport function getTotalHeightOffset(): number {\n const totalOffset = getTopbarHeight() + getMenuHeight();\n return totalOffset > window.scrollY ? totalOffset - window.scrollY : 0;\n}\n\n/**\n * @param {HTMLElement} host Use the `this.hostElement` property.\n *\n * @description The `awaitTopbar` function can be used to wait for the topbar to be available.\n *\n * The function will also setup listeners for any market/language changes from the topbar and updates the host element with the `setAttribute` function.\n *\n * Remember to use a Stencil `@Prop` named `market` and/or `language` to take advantage of the auto update feature.\n *\n * @returns The pnTopbar object.\n */\nexport async function awaitTopbar(host: HTMLElement | any): Promise<PnTopbar> {\n const topbar = () => (window as any).pnTopbar;\n\n function finishSetup(fallBack?: PnTopbar): PnTopbar {\n const data = fallBack || topbar();\n\n host.market = data.market;\n host.language = data.language;\n\n if (data.hasLoaded) {\n topbar().onChangeMarket = (market: string) => (host.market = market);\n topbar().onChangeLanguage = (language: string) => (host.language = language);\n }\n\n return data;\n }\n\n return await new Promise(resolve => {\n // If the pntopbar script does not exist. Resolve with default values.\n if (!document.querySelector('pn-topbar'))\n return resolve(finishSetup({ hasLoaded: false, market: host.market || SE, language: host.language || en }));\n\n if (topbar()?.hasLoaded) return resolve(finishSetup());\n\n window.addEventListener('topbarLoaded', () => resolve(finishSetup()));\n });\n}\n\n/**\n * @description Apply the Ripple effect quick and easy.\n *\n * @example\n * ```css\n * // CSS\n * pn-component-name { `@include pn-ripple($blue700) }\n * ```\n *\n * ```js\n * // tsx\n * onClick((e) => ripple(e, this.hostElement, '.pn-ripple-container'))\n * ```\n * @param event The MouseEvent from a onClick handler.\n * @param host The hostElement of the component (root element).\n * @param rippleClass Append the ripple event to this selector instead of the host element.\n */\nexport const ripple = (\n event: MouseEvent | { clientX: number; clientY: number },\n host: HTMLElement,\n rippleClass?: string,\n) => {\n if (reduceMotion()) return;\n\n const { left, top, width, height } = host.getBoundingClientRect();\n const { clientX = 0, clientY = 0 } = event || {};\n\n const elSize = width > height ? width : height;\n\n const element = document.createElement('div');\n element.classList.add('pn-ripple');\n\n element.style.height = `${elSize * 2}px`;\n element.style.width = `${elSize * 2}px`;\n element.style.left = clientX > 0 ? `${clientX - left}px` : `50%`;\n element.style.top = clientY > 0 ? `${clientY - top}px` : `50%`;\n\n if (rippleClass) host.querySelector(rippleClass).appendChild(element);\n else host.appendChild(element);\n\n setTimeout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;QAAE;AAEpB,IAAA,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC,qBAAqB,EAAE;AACjE,IAAA,MAAM,EAAE,OAAO,GAAG,CAAC,EAAE,OAAO,GAAG,CAAC,EAAE,GAAG,KAAK,IAAI,EAAE;AAEhD,IAAA,MAAM,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM;IAE9C,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC;AAC7C,IAAA,OAAO,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC;IAElC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,CAAA,EAAA,CAAI;IACxC,OAAO,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,MAAM,GAAG,CAAC,CAAA,EAAA,CAAI;IACvC,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,OAAO,GAAG,CAAC,GAAG,CAAG,EAAA,OAAO,GAAG,IAAI,CAAA,EAAA,CAAI,GAAG,KAAK;IAChE,OAAO,CAAC,KAAK,CAAC,GAAG,GAAG,OAAO,GAAG,CAAC,GAAG,CAAG,EAAA,OAAO,GAAG,GAAG,CAAA,EAAA,CAAI,GAAG,KAAK;AAE9D,IAAA,IAAI,WAAW;QAAE,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC;;AAChE,QAAA,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;IAE9B,UAAU,CAAC,MAAM,OAAO,CAAC,MAAM,EAAE,EAAE,GAAG,CAAC;AACzC;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1,2,3]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"loader.cjs.js","sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = async (win, options) => {\n if (typeof window === 'undefined') return undefined;\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"names":["globalScripts","bootstrapLazy"],"mappings":";;;;;;;;;AAGY,MAAC,oBAAoB,GAAG,OAAO,GAAG,EAAE,OAAO,KAAK;AAC5D,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,SAAS;AACrD,EAAE,MAAMA,wBAAa,EAAE;AACvB,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC;AAC7D;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"open_in_new-B-zmn5xr.js","sources":["node_modules/pn-design-assets/pn-assets/icons/open_in_new.js"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M7 6a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 1 1 2 0v1a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1a1 1 0 0 1 0 2zm5-1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V7.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L16.586 6H13a1 1 0 0 1-1-1m-1.283 8.283a1 1 0 0 1 0 1.414l-.01.01a1 1 0 0 1-1.414-1.414l.01-.01a1 1 0 0 1 1.414 0\" clip-rule=\"evenodd\"/></svg>';\nexport const open_in_new = icon;\nexport const openInNew = icon;\n"],"names":[],"mappings":";;;;;;AAAA,MAAM,IAAI,GAAG,sfAAsf;AACvf,MAAC,WAAW,GAAG;;;;","x_google_ignoreList":[0]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-accordion-row.entry.cjs.js","sources":["src/components/content/pn-accordion/row/pn-accordion-row.scss?tag=pn-accordion-row","src/components/content/pn-accordion/row/pn-accordion-row.tsx"],"sourcesContent":["@use 'src/globals/main';\n\npn-accordion-row {\n position: relative;\n margin: 0 -0.25em 0;\n}\n\npn-accordion-row .pn-accordion-row {\n width: 100%;\n display: flex;\n flex-direction: column;\n\n &-summary {\n color: main.$gray900;\n position: relative;\n border: none;\n outline: 0;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n\n width: 100%;\n padding: 0.25em;\n font-size: 1em;\n font-weight: 400;\n border-radius: 0.5em;\n\n list-style: none;\n\n &:hover > .pn-accordion-row-text {\n background-color: main.$blue50;\n }\n\n &:focus-visible > .pn-accordion-row-text {\n @include main.pn-focus-visible();\n }\n\n &::-webkit-details-marker {\n display: none;\n }\n }\n\n &-text {\n position: relative;\n overflow: hidden;\n display: flex;\n align-items: center;\n padding: 0.75em;\n background-color: main.$white;\n border-radius: 0.5em;\n -webkit-tap-highlight-color: transparent;\n\n &[data-transparent] {\n background-color: transparent;\n }\n\n @include main.pn-focus-base();\n @include main.pn-transition('background-color, outline-color');\n @include main.pn-ripple(main.$blue700);\n }\n\n &-icon {\n margin-left: auto;\n flex-shrink: 0;\n @include main.pn-transition('transform');\n path {\n fill: main.$blue700;\n }\n }\n\n &[open] .pn-accordion-row-icon {\n transform: rotate(-180deg);\n }\n\n &-content {\n color: main.$gray900;\n display: block;\n padding: 1em;\n }\n}\n","import { Component, h, Host, Element, Event, EventEmitter, Prop, State, Listen } from '@stencil/core';\nimport { chevron_down } from 'pn-design-assets/pn-assets/icons.js';\nimport { reduceMotion, ripple } from '@/index';\n\n/**\n * Use this row component inside a `pn-accordion` to create an accordion group.\n *\n * **Note**: you can use the `pn-accordion-row` without the parent accordion.\n * But you will have to style the gap between each row.\n *\n * @slot label - Include your own HTML as the label.\n * ```\n * <h3 slot=\"label\">Custom title</h3>\n * ```\n */\n@Component({\n tag: 'pn-accordion-row',\n styleUrl: 'pn-accordion-row.scss',\n})\nexport class PnAccordionRow {\n private details: HTMLDetailsElement;\n private summary: HTMLElement;\n private content: HTMLDivElement;\n private animation: Animation;\n\n private readonly defaultAnimationDuration: number = 400;\n private animationDuration: number = this.defaultAnimationDuration;\n\n @Element() hostElement: HTMLElement;\n\n @State() isClosing = false;\n @State() isExpanding = false;\n\n /** The label/title of the accordion row, you can also pass a slot with the name \"label\" if you want to put custom HTML content in there. */\n @Prop({ mutable: true }) label: string;\n /** The open/close status of the accordion row. */\n @Prop({ mutable: true }) state?: boolean = false;\n\n /** Optional unique id for the `summary` element. @category ID */\n @Prop() buttonid?: string;\n /** Optional unique id for the `div` element containing the content. @category ID */\n @Prop() contentid?: string;\n /** Optional prop that removes the default white background on the accordion row. @since v7.10.0 */\n @Prop() transparent: boolean = false;\n\n /** Dispatched every time the row is toggled. Includes the row element and the boolean `state` prop. */\n @Event() togglerow: EventEmitter<{ element: HTMLElement; state: Boolean }>;\n\n /** Internal function for closing rows when using the `single` prop on the `pn-accordion`. */\n @Listen('rowstate')\n handleRowState(event: CustomEvent) {\n if (event.detail !== this.state) {\n this.details.style.overflow = 'hidden';\n this.closeAccordion();\n }\n }\n\n componentWillLoad() {\n const slottedLabel = !!this.hostElement.querySelector('[slot=\"label\"]');\n this.label = slottedLabel ? null : this.label;\n }\n\n private toggleOpen(open?: boolean) {\n const state = open ?? !this.state;\n if (this.state !== open) this.togglerow.emit({ element: this.details, state });\n this.state = state;\n }\n\n private clickHandler(e: MouseEvent) {\n e.preventDefault();\n\n this.details.style.overflow = 'hidden';\n\n if (this.isClosing || !this.state) this.openAccordion();\n else if (this.isClosing || this.state) this.closeAccordion();\n\n const { x, width, y, top } = this.hostElement.getBoundingClientRect();\n const clientCor = e.clientX === 0 && e.clientY === 0 ? { clientX: x + width - 24, clientY: y - top } : e;\n\n ripple(clientCor, this.hostElement, '.pn-accordion-row-text');\n }\n\n private openAccordion() {\n this.details.style.height = `${this.details.offsetHeight}px`;\n this.toggleOpen(true);\n\n requestAnimationFrame(() => {\n this.isExpanding = true;\n\n const startHeight = `${this.details.offsetHeight}px`;\n const endHeight = `${this.summary.offsetHeight + this.content.offsetHeight}px`;\n\n this.cancelAnimations();\n\n this.animate(true, startHeight, endHeight);\n });\n }\n\n private closeAccordion() {\n this.isClosing = true;\n\n const startHeight = `${this.details.offsetHeight}px`;\n const endHeight = `${this.summary.offsetHeight}px`;\n\n this.cancelAnimations();\n\n this.animate(false, startHeight, endHeight);\n }\n\n private animate(open: boolean, startHeight: string, endHeight: string) {\n if (reduceMotion()) this.animationDuration = 0;\n else this.animationDuration = this.defaultAnimationDuration;\n\n this.animation = this.details.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\n this.animation.onfinish = () => this.animationFinish(open);\n\n this.animation.oncancel = () => {\n if (open) this.isExpanding = false;\n else this.isClosing = false;\n };\n }\n\n private animationFinish(open: boolean) {\n this.toggleOpen(open);\n this.cancelAnimations();\n\n this.isClosing = false;\n this.isExpanding = false;\n\n this.details.style.height = '';\n this.details.style.overflow = '';\n }\n\n private cancelAnimations() {\n if (this.animation) this.animation.cancel();\n }\n\n render() {\n return (\n <Host>\n <details class=\"pn-accordion-row\" open={this.state} ref={(el: HTMLDetailsElement) => (this.details = el)}>\n <summary\n id={this.buttonid}\n class=\"pn-accordion-row-summary\"\n onClick={e => this.clickHandler(e)}\n ref={el => (this.summary = el)}\n >\n <div class=\"pn-accordion-row-text\" data-transparent={this.transparent}>\n {this.label ? this.label : ''}\n <slot name=\"label\" />\n\n <pn-icon class=\"pn-accordion-row-icon\" icon={chevron_down} />\n </div>\n </summary>\n\n <div id={this.contentid} class=\"pn-accordion-row-content\" ref={(el: HTMLDivElement) => (this.content = el)}>\n <slot />\n </div>\n </details>\n </Host>\n );\n }\n}\n"],"names":["ripple","reduceMotion","h","Host","chevron_down"],"mappings":";;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,inEAAinE;;MCm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AAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,CACE,CACL;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-accordion.entry.cjs.js","sources":["src/components/content/pn-accordion/pn-accordion.scss?tag=pn-accordion","src/components/content/pn-accordion/pn-accordion.tsx"],"sourcesContent":["@use 'src/globals/main';\n\npn-accordion {\n position: relative;\n background-color: main.$white;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 0.25em;\n\n &[data-transparent] {\n background-color: transparent;\n }\n > pn-accordion-row + pn-accordion-row:after {\n content: '';\n position: absolute;\n top: -0.125em;\n left: 0.25em;\n width: calc(100% - 0.5em);\n height: 0;\n border-top: main.$onepixel solid main.$gray200;\n }\n}\n","import { Component, h, Host, Element, forceUpdate, Prop, Listen } from '@stencil/core';\n\n/**\n * The `pn-accordion` is a wrapper for `pn-accordion-row` components.\n * This component gives the accordion rows some space between each one and provides the `single` feature.\n * Which will force the rule that only a single row to be open at one time.\n */\n@Component({\n tag: 'pn-accordion',\n styleUrl: 'pn-accordion.scss',\n})\nexport class PnAccordion {\n mo?: MutationObserver;\n\n closeEvent = new CustomEvent('rowstate', { detail: false });\n\n @Element() hostElement: HTMLElement;\n\n /** Only allow a single row to be open at once. @since v7.8.0 */\n @Prop() single: boolean = false;\n /** Optional prop that removes the default white background on the accordion row. @since v7.10.0 */\n @Prop() transparent: boolean = false;\n\n connectedCallback() {\n this.mo = new MutationObserver(() => forceUpdate(this.hostElement));\n\n this.mo.observe(this.hostElement, { childList: true, subtree: true });\n }\n\n disconnectedCallback() {\n this.mo.disconnect();\n }\n\n @Listen('togglerow')\n handleSingleRow({ detail }) {\n if (!this.single) return;\n\n const element: HTMLDetailsElement = detail.element;\n const activeRow = element.closest('pn-accordion-row');\n\n const rows = Array.from(this.hostElement.querySelectorAll('pn-accordion-row'));\n\n rows.forEach(row => !row.isSameNode(activeRow) && row.dispatchEvent(this.closeEvent));\n }\n render() {\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EAAA,kBAAA,EAAmB,IAAI,CAAC,WAAW,EAAA,EAC3DD,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-action-menu.entry.cjs.js","sources":["src/components/buttons/pn-action-menu/translation.ts","src/components/buttons/pn-action-menu/pn-action-menu.scss?tag=pn-action-menu","src/components/buttons/pn-action-menu/pn-action-menu.tsx"],"sourcesContent":["export const translations = {\n BACK: {\n sv: 'Tillbaka',\n en: 'Back',\n da: 'Tilbage',\n fi: 'Takaisin',\n no: 'Tilbake',\n },\n};\n\nexport type PnMenuTextProp = keyof typeof translations;\n","@use 'src/globals/main';\n\npn-action-menu {\n --pn-menu-height: unset;\n display: inline-block;\n position: relative;\n}\n\npn-action-menu .pn-action-menu {\n position: relative;\n\n &-container {\n --pn-action-menu-offset: 0;\n\n scroll-behavior: smooth;\n list-style: none;\n text-align: left;\n\n position: absolute;\n z-index: 100;\n\n top: calc(100% + 0.5em);\n left: var(--pn-action-menu-offset);\n right: 0;\n\n background-color: main.$white;\n box-shadow:\n 0em 0.075em 0.225em 0em rgba(0, 0, 0, 0.1),\n 0em 0.4em 0.9em 0em rgba(0, 0, 0, 0.13);\n\n border-radius: main.$border-radius;\n margin: 0;\n padding: 0;\n width: 16em;\n\n visibility: hidden;\n overflow: hidden;\n\n &[data-open] {\n visibility: visible;\n overflow: unset;\n }\n\n &[data-left] {\n right: 0;\n left: unset;\n }\n\n &[data-upwards] {\n top: unset;\n bottom: calc(100% + 0.5em);\n transform-origin: bottom left;\n }\n\n &[data-moving] {\n overflow: hidden;\n visibility: visible;\n pointer-events: none;\n }\n\n /** Special rules for the small menu */\n &[data-small] {\n .pn-action-menu-list {\n border-radius: 0.5em;\n visibility: hidden;\n @include main.pn-transition('visibility');\n transition-delay: main.$timing;\n &[data-current] {\n overflow-x: auto;\n visibility: visible;\n transition-delay: 0s;\n }\n }\n\n &[data-moving] > .pn-action-menu-list {\n visibility: visible;\n }\n\n .pn-action-menu-item {\n position: unset;\n }\n\n .pn-action-menu-sub {\n left: 0;\n height: 100%;\n box-shadow: unset;\n transform: translateX(0);\n visibility: hidden;\n &[data-current] {\n visibility: visible;\n overflow-x: auto;\n }\n }\n }\n\n @include main.pn-scrollbar();\n }\n\n &-list {\n margin: 0;\n padding: 0;\n list-style: none;\n height: var(--pn-menu-height);\n @include main.pn-scrollbar();\n }\n\n &-group {\n margin: 0;\n padding: 0;\n list-style: none;\n &-label {\n display: block;\n color: main.$gray900;\n font-weight: 700;\n font-size: 0.875em;\n padding: 1em 1em 0.5em;\n }\n &-helpertext {\n display: block;\n color: main.$gray700;\n font-weight: 400;\n margin: 0.25em 0 0;\n }\n }\n\n &-sub {\n z-index: 110;\n position: absolute;\n top: 0;\n\n width: 100%;\n min-width: 12em;\n\n margin: 0;\n padding: 0;\n\n list-style: none;\n background: main.$white;\n border-radius: main.$border-radius;\n box-shadow:\n 0em 0.075em 0.225em 0em rgba(0, 0, 0, 0.1),\n 0em 0.4em 0.9em 0em rgba(0, 0, 0, 0.13);\n\n transform: translateX(-0.5em);\n opacity: 0;\n visibility: hidden;\n\n @include main.pn-scrollbar();\n @include main.pn-transition('transform, opacity, visibility');\n transition-delay: 0s, 0s, main.$timing;\n\n &[data-open='true'] {\n transform: translateX(0);\n opacity: 1;\n visibility: visible;\n transition-delay: 0s, 0s, 0s;\n }\n\n &[data-open='false'] {\n pointer-events: none;\n }\n\n &[data-x='left'] {\n left: -100%;\n }\n\n &[data-x='center'] {\n left: 0;\n }\n\n &[data-x='right'] {\n left: 100%;\n }\n\n &[data-y='top'] {\n top: unset;\n bottom: 0;\n }\n\n &[data-y='bottom'] {\n top: 0;\n }\n }\n\n &-item {\n position: relative;\n\n &:first-child > .pn-action-menu-item-content > .pn-action-menu-button {\n border-top-left-radius: 0.5em;\n border-top-right-radius: 0.5em;\n }\n &:last-child > .pn-action-menu-item-content > .pn-action-menu-button {\n border-bottom-right-radius: 0.5em;\n border-bottom-left-radius: 0.5em;\n }\n\n &-text {\n display: flex;\n flex-direction: column;\n margin-right: auto;\n }\n\n &-label {\n color: main.$blue700;\n font-weight: 500;\n text-decoration: none;\n }\n\n &-suffix {\n margin-left: auto;\n font-weight: 400;\n color: main.$gray700;\n }\n\n &-helpertext {\n color: main.$gray700;\n font-weight: 400;\n }\n\n &-content {\n display: flex;\n align-items: center;\n flex-direction: row;\n flex: 1 1 100%;\n gap: 0.5em;\n position: relative;\n\n &[data-close] {\n border-bottom: 0.0625em solid main.$gray200;\n }\n\n > pn-icon {\n padding: 0 0.25em;\n }\n }\n\n &[data-group],\n &[data-sub] {\n flex-direction: column;\n }\n }\n\n &-button {\n cursor: pointer;\n position: relative;\n -webkit-tap-highlight-color: transparent;\n\n line-height: 1.5;\n padding: 0.75em 1em;\n border: 0;\n width: 100%;\n text-align: left;\n text-decoration-color: transparent;\n\n overflow: hidden;\n\n display: flex;\n align-items: center;\n flex: 1 1 100%;\n gap: 0.5em;\n\n font-size: 1em;\n min-height: 1.5em;\n background-color: main.$white;\n\n @include main.pn-transition('background-color, color, outline-color, text-decoration-color');\n @include main.pn-ripple(main.$blue900);\n @include main.pn-focus();\n outline-offset: -0.2rem;\n\n > pn-icon {\n .pn-icon-svg > path {\n transform-origin: center;\n transform: rotate(0deg);\n @include main.pn-transition('transform');\n }\n\n &[data-suffix][data-active] > .pn-icon-svg > path {\n transform: rotate(180deg);\n }\n\n &:last-child {\n margin-left: auto;\n }\n }\n\n &:disabled {\n pointer-events: none;\n color: main.$gray700;\n background-color: main.$gray50;\n }\n\n &:hover {\n background-color: main.$blue25;\n }\n\n &:focus {\n background-color: main.$blue50;\n }\n\n &[href] {\n &:hover,\n &:focus {\n text-decoration-color: main.$blue700;\n }\n }\n\n /*\n &::before {\n content: '';\n position: absolute;\n left: 0;\n top: 0;\n width: 0.25em;\n height: 100%;\n background-color: transparent;\n @include main.pn-transition('background-color');\n }\n\n &[aria-expanded='true']::before {\n background-color: main.$blue700;\n }\n */\n }\n\n &-checkbox {\n background-color: main.$white;\n flex: 0 0 1.5em;\n width: 1.5em;\n height: 1.5em;\n border: 0.0625em solid main.$gray400;\n border-radius: 0.25em;\n margin-left: auto;\n\n @include main.pn-focus-base;\n @include main.pn-transition('background-color, border-color, outline-color');\n\n svg polyline {\n stroke: main.$white;\n stroke-linecap: round;\n stroke-dasharray: 23;\n @include main.pn-transition('stroke-dashoffset');\n transition-delay: 0s;\n\n &.pn-action-menu-checkbox-checkmark-path {\n stroke-dashoffset: 23;\n }\n }\n }\n\n &-radio {\n display: flex;\n gap: 0.75em;\n padding: 0;\n margin-left: auto;\n\n &-outer {\n background-color: main.$input-background;\n border: main.$input-border;\n border-radius: 50%;\n height: 1.5em;\n width: 1.5em;\n display: flex;\n justify-content: center;\n align-items: center;\n\n @include main.pn-focus-base;\n @include main.pn-transition('border-color, background-color, outline-color');\n }\n\n &-inner {\n transform: scale(0);\n height: 0.75em;\n width: 0.75em;\n background-color: main.$input-button-background-box-active;\n border-radius: 50%;\n transform-origin: center center;\n @include main.pn-transition('background-color, transform');\n }\n }\n\n &-input {\n position: absolute;\n z-index: 10;\n cursor: pointer;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n margin: 0;\n opacity: 0;\n -webkit-tap-highlight-color: transparent;\n\n &:checked {\n + .pn-action-menu-button {\n background-color: main.$blue25;\n .pn-action-menu-checkbox {\n border-color: main.$blue700;\n background-color: main.$blue700;\n polyline.pn-action-menu-checkbox-checkmark-path {\n transition-delay: main.$timing;\n stroke-dashoffset: 0;\n }\n }\n .pn-action-menu-radio {\n &-outer {\n border-color: main.$border-color-default-active;\n }\n &-inner {\n transform: scale(1);\n background-color: main.$input-button-background-box-active;\n }\n }\n }\n\n &:hover {\n background-color: main.$blue50;\n }\n }\n\n &:focus-visible + .pn-action-menu-button {\n background-color: main.$blue50;\n }\n\n &:disabled {\n pointer-events: none;\n + .pn-action-menu-button {\n pointer-events: none;\n color: main.$gray700;\n background-color: main.$gray50;\n\n .pn-action-menu-item-label {\n color: main.$gray700;\n }\n .pn-action-menu-checkbox {\n background-color: main.$gray50;\n }\n .pn-action-menu-radio-outer {\n border-color: main.$gray400;\n background-color: main.$gray50;\n }\n .pn-icon-svg path {\n fill: main.$gray700;\n }\n }\n\n &:checked + .pn-action-menu-button {\n .pn-action-menu-radio-inner {\n background-color: main.$gray400;\n }\n .pn-action-menu-checkbox {\n border-color: main.$gray400;\n background-color: main.$gray400;\n }\n }\n }\n\n &:hover + .pn-action-menu-button {\n background-color: main.$blue50;\n .pn-action-menu-radio-outer {\n border-color: main.$input-button-background-box-active;\n background-color: main.$input-button-background-hover;\n }\n }\n\n &:focus-visible + .pn-action-menu-button {\n background-color: main.$blue50;\n .pn-action-menu-checkbox,\n .pn-action-menu-radio .pn-action-menu-radio-outer {\n @include main.pn-focus-visible();\n }\n }\n }\n\n &-p {\n margin: 0;\n }\n\n > pn-button[data-default-icon] .pn-button {\n &[aria-expanded='true'] .pn-icon-svg {\n transform: rotate(180deg);\n transition-delay: 0s;\n }\n .pn-icon-svg {\n transform: rotate(0deg);\n transition-delay: main.$timing;\n @include main.pn-transition('transform');\n }\n }\n}\n","import { Component, Prop, State, Watch, Element, h, Host, Event, EventEmitter, Listen, Mixin } from '@stencil/core';\nimport { HTMLStencilElement } from '@stencil/core/internal';\nimport { animateHeightFactory } from '@/globals/mixins';\n\nimport { awaitTopbar, en, getMenuWidth, getTotalHeightOffset, isSmallScreen, ripple, uuidv4 } from '@/index';\nimport type {\n PnLanguages,\n PnActionMenuItem,\n Components,\n PnActionMenuInput,\n PnActionMenuGroup,\n PnMeasurements,\n} from '@/index';\n\nimport { translations, PnMenuTextProp } from './translation';\n\nimport { chevron_down, chevron_left, chevron_right, open_in_new } from 'pn-design-assets/pn-assets/icons.js';\n\n/**\n * Create a list of actions in an accessible way.\n *\n * Option types include:\n *\n * - Regular button, click and it will collapse the menu,\n * - Checkbox/radio, toggle the option on/off\n * - Link, behaves like a regular `a[href]` element.\n *\n * You can group these actions in groups and/or sub menus.\n *\n * - `group`, an array of options. The label will act as a title for the items.\n * - `options`, an array of options. These items will appear in a sub-menu that can be toggled.\n *\n * @since v7.13.0\n * @see {@link PnActionMenuItem}\n */\n@Component({\n tag: 'pn-action-menu',\n styleUrl: 'pn-action-menu.scss',\n})\nexport class PnActionMenu extends Mixin(animateHeightFactory) {\n private readonly id: string = `pn-action-menu-${uuidv4()}`;\n\n private menuButtonId: string = `${this.id}-button`;\n private menuListId: string = `${this.id}-list`;\n\n private menuTrigger: HTMLPnButtonElement;\n private menuContainer: HTMLDivElement;\n private menuList: HTMLMenuElement;\n\n private timeout: NodeJS.Timeout;\n\n /** 16em */\n private readonly menuWidth: number = 256;\n\n @Element() private hostElement: HTMLElement;\n\n @State() private smallMenu: boolean = null;\n @State() private upwards: boolean = false;\n\n @State() private activeSubmenu: PnActionMenuItem['value'][] = [];\n\n /** Array of action menu options. @see {@link PnActionMenuItem} */\n @Prop() options: PnActionMenuItem[] = [];\n /** Set any prop from the `pn-button` component here. @see {@link Components.PnButton} */\n @Prop() button: Components.PnButton;\n\n /** Set a custom ID for the menu. */\n @Prop() menuId?: string = this.id;\n /** Manually set the language. */\n @Prop({ mutable: true }) language?: PnLanguages = null;\n\n /** Open/close the action menu manually. @category Features */\n @Prop({ mutable: true, reflect: true }) open?: boolean = false;\n /** Prefer that the menu open upwards, if there is enough space. @category Features */\n @Prop() menuUp?: boolean = false;\n /** Prefer that the submenus opens to the left, if there is enough space. @category Features */\n @Prop() menuLeft?: boolean = false;\n\n /** Emitted when the menu is opened or closed. */\n @Event() private menuToggle: EventEmitter<{ open: boolean }>;\n /** Emitted when the menu is fully hidden/visible after the animation has played. */\n @Event() private menuVisible: EventEmitter<{ visible: boolean }>;\n /** Emitted when an option is clicked (button, link, input or submenus). */\n @Event() private menuOption: EventEmitter<{\n /** Which type of menu item was clicked. */\n type: 'button' | 'link' | 'input' | 'submenu';\n /** If its an `input` type (checkbox/radio), it will be a generic `Event` (ChangeEvent) instead of `MouseEvent`. */\n click: MouseEvent | Event;\n /** The full {@link PnActionMenuItem} object. */\n option: PnActionMenuItem;\n /** If the submenu is open/closed. */\n open?: Boolean;\n }>;\n\n @Watch('options')\n handleOptions() {\n this.setMenuLayout();\n }\n\n @Watch('open')\n openHandler() {\n this.setAnimationDuration();\n\n requestAnimationFrame(() => {\n if (this.open && !this.isMoving()) {\n this.setOffset();\n this.setMenuLayout();\n }\n\n this.dropdownHandler();\n\n this.menuToggle.emit({ open: this.open });\n\n clearTimeout(this.timeout);\n this.timeout = setTimeout(() => {\n if (!this.open) {\n this.activeSubmenu = [];\n const subMenus = this.hostElement.querySelectorAll<HTMLUListElement>('[data-x]');\n Array.from(subMenus).forEach(el => {\n el.removeAttribute('data-x');\n el.removeAttribute('data-y');\n });\n }\n\n this.menuVisible.emit({ visible: this.open });\n }, this.animationDuration);\n });\n }\n\n @Watch('menuId')\n handleMenuId() {\n this.menuButtonId = `${this.menuId}-button`;\n this.menuListId = `${this.menuId}-list`;\n }\n\n @Listen('resize', { target: 'window' })\n handleResize() {\n if (this.open) this.toggleActionMenu(false);\n }\n\n async componentWillLoad() {\n if (!this.options.length) console.warn(`${this.hostElement.localName}: No options set.`);\n\n this.handleMenuId();\n this.setAnimationDuration();\n\n if (this.language !== null) await awaitTopbar(this.hostElement);\n }\n\n componentDidLoad() {\n this.setOffset();\n\n requestAnimationFrame(() => this.open && this.dropdownHandler());\n }\n\n private translate(prop: PnMenuTextProp) {\n return translations[prop][this.language || en];\n }\n\n private globalEvents = (event: PointerEvent | KeyboardEvent) => {\n const target = event.target as HTMLElement;\n const isWithinActionMenu = target?.closest(this.hostElement.localName);\n if (!isWithinActionMenu) this.closeEachSubMenu(true);\n };\n\n private addGlobalEventListeners() {\n const root: Document = this.hostElement.getRootNode() as Document;\n\n root.addEventListener('click', this.globalEvents);\n }\n\n private removeGlobalEventListeners() {\n const root: Document = this.hostElement.getRootNode() as Document;\n\n root.removeEventListener('click', this.globalEvents);\n }\n\n /** Open/close the action menu. */\n private toggleActionMenu(state?: boolean) {\n this.open = state ?? !this.open;\n }\n\n private setMenuLayout() {\n if (!this.menuContainer) return;\n\n if (!this.isMoving()) this.resetMaxHeight();\n\n const measurements = this.getMenuMeasurements();\n\n this.setDirection(measurements);\n this.setMenuSize(measurements);\n this.setMaxHeight(measurements);\n }\n\n private setDirection({ hUp, hDown, sUp, sDown }: PnMeasurements) {\n const fitsUpwards = sUp > hUp;\n const fitsDownards = sDown > hDown;\n const moreSpaceDown = sDown > sUp;\n this.upwards = (this.menuUp && fitsUpwards) || (!fitsDownards && !moreSpaceDown);\n }\n\n private setMenuSize({ hUp, hDown, sUp, sDown }: PnMeasurements) {\n const isWidthSmall = isSmallScreen();\n const menuFits = this.upwards ? sUp > hUp : sDown > hDown;\n const isSmall = isWidthSmall || !menuFits;\n\n if (isSmall !== this.smallMenu) {\n this.smallMenu = isSmall;\n }\n }\n\n private setMaxHeight({ hUp, hDown, sUp, sDown }: PnMeasurements) {\n if (this.smallMenu) {\n const heightUp = hUp > sUp ? hUp - 16 : hUp;\n const heightDown = hDown > sDown ? hDown - 8 : hDown;\n this.hostElement.style.setProperty('--pn-menu-height', `${this.upwards ? heightUp : heightDown}px`);\n } else this.resetMaxHeight();\n }\n\n private resetMaxHeight() {\n this.hostElement.style.setProperty('--pn-menu-height', 'unset');\n }\n\n private getRect(element: HTMLStencilElement | HTMLElement): DOMRect {\n return element.getBoundingClientRect();\n }\n\n private getMenuMeasurements(): PnMeasurements {\n const allLists = Array.from(this.menuContainer.querySelectorAll('menu'));\n const maxHeight = Math.max(...allLists.map(el => el.scrollHeight));\n\n const rectButton = this.getRect(this.menuTrigger);\n const rectMenu = this.getRect(this.menuContainer);\n\n /** Measurements upwards. */\n const sUp = rectButton.top - getTotalHeightOffset();\n const hUp = sUp > maxHeight ? maxHeight : sUp;\n\n /** Measurements downwards. */\n const sDown = innerHeight - rectMenu.top;\n const hDown = sDown > maxHeight ? maxHeight : sDown;\n\n return {\n hUp,\n hDown,\n sUp,\n sDown,\n };\n }\n\n private setOffset() {\n const data = this.getRect(this.hostElement);\n const sideMenuWidth = getMenuWidth();\n\n // Calculate potential menu position\n const menuLeft = data.left;\n const menuRight = data.left + this.menuWidth;\n\n // Define boundaries\n const leftBoundary = sideMenuWidth + 16; // Left menu + buffer\n const rightBoundary = innerWidth - 16; // Right edge - buffer\n\n let offset = 0;\n\n // Check if menu would overlap left menu or go off left edge\n if (menuLeft < leftBoundary) {\n offset = leftBoundary - menuLeft;\n }\n // Check if menu would go off right edge\n else if (menuRight > rightBoundary) {\n offset = rightBoundary - menuRight;\n }\n\n if (this.menuContainer) this.menuContainer.style.setProperty('--pn-action-menu-offset', `${offset}px`);\n }\n\n private getListId(option: PnActionMenuItem) {\n return `pn-menu-${option.value}-list`;\n }\n\n private getButtonId(option: PnActionMenuItem) {\n return `pn-menu-${option.value}-button`;\n }\n\n private getTriggerIcon() {\n if (this.button?.icon) return;\n return chevron_down;\n }\n\n /** Set the path of open sub menus. */\n private getSubMenuPath(options: PnActionMenuItem[], value: string, path = []): string[] {\n for (const item of options) {\n const newPath = [...path, item.value];\n if (item.value === value) return newPath;\n\n if (item.options || item.group) {\n const result = this.getSubMenuPath(item.options || item.group, value, newPath);\n if (result) return result;\n }\n }\n return null;\n }\n\n private closeEachSubMenu(preventFocus: boolean = false) {\n if (!preventFocus) this.menuTrigger?.querySelector('button')?.focus({ preventScroll: true });\n\n const interval = setInterval(() => {\n if (this.smallMenu || this.activeSubmenu.length === 0) {\n clearInterval(interval);\n this.toggleActionMenu(false);\n } else {\n this.activeSubmenu.pop();\n this.activeSubmenu = [...this.activeSubmenu];\n }\n }, 150);\n }\n\n private escButton(event: KeyboardEvent, option: PnActionMenuItem) {\n const { key } = event;\n\n if (key === 'Escape') {\n event.preventDefault();\n event.stopImmediatePropagation();\n\n this.isSubmenuActive(option.value) ? this.toggleSub(option) : this.toggleActionMenu();\n }\n }\n\n // Animation Start\n\n private dropdownHandler() {\n if (this.open) {\n this.addGlobalEventListeners();\n this.openDropdown(this.menuContainer, this.menuList.clientHeight);\n } else {\n this.removeGlobalEventListeners();\n this.closeDropdown(this.menuContainer, this.menuList.clientHeight);\n }\n }\n\n // Animation end\n\n private async optionSelect(option: PnActionMenuItem, click: MouseEvent | Event) {\n const type = option?.options?.length ? 'submenu' : !!option.input ? 'input' : option.href ? 'link' : 'button';\n const isSubMenu = type === 'submenu';\n\n if (isSubMenu) this.toggleSub(option);\n else if (type === 'button') this.closeEachSubMenu();\n else if (type === 'input') option.checked = (click.target as HTMLInputElement).checked;\n\n this.menuOption.emit({\n option,\n type,\n click,\n open: isSubMenu ? this.isSubmenuActive(option.value) : null,\n });\n\n const target = click.target as HTMLElement;\n const element =\n target.localName === 'input'\n ? (target.nextElementSibling as HTMLElement)\n : target.className === 'pn-action-menu-button'\n ? target\n : target.closest<HTMLElement>('.pn-action-menu-button');\n\n const { x, width, y, top } = this.getRect(element as HTMLElement);\n const clientCor = { clientX: x + width - 24, clientY: y - top };\n\n ripple(click.type === 'click' ? (click as MouseEvent) : clientCor, element);\n\n this.menuContainer.scrollTo({ top: 0 });\n }\n\n /** Toggle individual sub-menus inside the action menu by using the `option['value']`. */\n private toggleSub(option: PnActionMenuItem) {\n const { value } = option;\n\n const path = this.getSubMenuPath(this.options, value);\n const isActive = this.activeSubmenu.includes(value);\n isActive && path.splice(this.activeSubmenu.indexOf(value), 1);\n\n const item = this.hostElement.querySelector<HTMLElement>(`#${this.getListId(option)}`);\n const data = this.getRect(item);\n\n const spaceLeft = data.left;\n const spaceRight = innerWidth - data.right - 8;\n\n const fitsLeft = spaceLeft > data.width;\n const fitsRight = spaceRight > data.width;\n\n const climbUp = this.menuUp && data.top - data.height > 0;\n const yDirection = climbUp ? 'top' : 'bottom';\n\n if (!isActive && !item.dataset.x)\n item.setAttribute(\n 'data-x',\n this.menuLeft && fitsLeft ? 'left' : fitsRight ? 'right' : fitsLeft ? 'left' : 'center',\n );\n if (!isActive && !item.dataset.y) item.setAttribute('data-y', yDirection);\n\n if (JSON.stringify(path) === JSON.stringify(this.activeSubmenu))\n this.activeSubmenu = this.activeSubmenu.filter(item => item !== value);\n else this.activeSubmenu = [...path];\n }\n\n /** Check if a sub-menu is active. */\n private isSubmenuActive(value: string): boolean {\n return this.activeSubmenu.includes(value);\n }\n\n private isMenuActive() {\n const isRootSubInsideGroup = this.options.find(({ value }) => this.activeSubmenu.every(val => val === value));\n return this.smallMenu && (this.activeSubmenu?.length === 0 || isRootSubInsideGroup);\n }\n\n private isCurrentSubMenu(value: string) {\n return Boolean(this.activeSubmenu[this.activeSubmenu.length - 1] === value);\n }\n\n private getOptionTrailing(option: PnActionMenuItem) {\n const useButtonIcon = option.options?.length && chevron_right;\n const useTrailingIcon = option.trailingIcon;\n const useLinkIcon = option.target === '_blank' && open_in_new;\n\n /** If the user has defined a trialing icon, use it first. */\n const icon = useButtonIcon || useTrailingIcon || useLinkIcon;\n\n if (icon) {\n return <pn-icon icon={icon} color=\"blue700\" data-suffix data-active={this.isSubmenuActive(option.value)} />;\n }\n if (option.suffix) {\n return <span class=\"pn-action-menu-item-suffix\">{option.suffix}</span>;\n }\n }\n\n private renderCheckbox(option: PnActionMenuInput) {\n const id = `pn-menu-${option.value}-label`;\n const idHelper = `pn-menu-${option.value}-helpertext`;\n return (\n <div class=\"pn-action-menu-item-content\">\n <input\n type={option.input}\n id={id}\n class=\"pn-action-menu-input\"\n name={option.name}\n value={option.value}\n checked={option.checked}\n disabled={option.disabled}\n aria-describedby={option.helpertext ? idHelper : null}\n onInput={event => this.optionSelect(option, event)}\n tabIndex={this.open ? null : -1}\n />\n\n <div class=\"pn-action-menu-button\">\n {!!option.icon && <pn-icon icon={option.icon} color=\"blue700\" />}\n\n <div class=\"pn-action-menu-item-text\">\n <label htmlFor={id} class=\"pn-action-menu-item-label\">\n {option.label}\n </label>\n {option.helpertext && (\n <p id={idHelper} class=\"pn-action-menu-item-helpertext\">\n <span>{option.helpertext}</span>\n </p>\n )}\n </div>\n {option.input === 'checkbox' ? (\n <div class=\"pn-action-menu-checkbox\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <polyline class=\"pn-action-menu-checkbox-checkmark-path\" points=\"4,12 9,17 20,6\" stroke-width=\"3\" />\n </svg>\n </div>\n ) : (\n <div class=\"pn-action-menu-radio\">\n <div class=\"pn-action-menu-radio-outer\">\n <div class=\"pn-action-menu-radio-inner\" />\n </div>\n </div>\n )}\n </div>\n </div>\n );\n }\n\n private renderButton(option: PnActionMenuItem) {\n const isCloseButton = option.label === 'BACK';\n const isSub = !!option?.options?.length;\n const isGroup = !!option?.group?.length;\n const isLink = !!option.href && !isSub && !isGroup;\n\n const appendedId = isCloseButton ? '-close' : '';\n const hasIcon = isCloseButton || !!option.icon;\n\n const trailingObject = isCloseButton ? null : this.getOptionTrailing(option);\n const open = this.isSubmenuActive(option.value);\n const subMenuAttrs = isSub\n ? {\n 'aria-haspopup': 'true',\n 'aria-controls': open ? this.getListId(option) : null,\n 'aria-expanded': open?.toString(),\n }\n : {};\n\n const attrs = isLink\n ? {\n href: option.href,\n target: option.target,\n }\n : {\n disabled: option.disabled,\n };\n\n const Tag = isLink ? 'a' : 'button';\n\n return isGroup ? (\n <div class=\"pn-action-menu-group-label\">\n <p class=\"pn-action-menu-p\">{option.label}</p>\n {option.helpertext && <p class=\"pn-action-menu-group-helpertext\">{option.helpertext}</p>}\n </div>\n ) : (\n <div class=\"pn-action-menu-item-content\" data-close={isCloseButton}>\n <Tag\n id={this.getButtonId(option) + appendedId}\n class=\"pn-action-menu-button\"\n {...subMenuAttrs}\n {...attrs}\n tabIndex={this.open ? null : -1}\n onClick={event => this.optionSelect(option, event)}\n onKeyDown={(event: KeyboardEvent) => this.escButton(event, option)}\n >\n {hasIcon && <pn-icon icon={isCloseButton ? chevron_left : option.icon} color=\"blue700\" />}\n <div class=\"pn-action-menu-item-text\">\n <span class=\"pn-action-menu-item-label\">{isCloseButton ? this.translate('BACK') : option.label}</span>\n {option.helpertext && !isLink && <span class=\"pn-action-menu-item-helpertext\">{option.helpertext}</span>}\n </div>\n {trailingObject}\n </Tag>\n </div>\n );\n }\n\n private renderSub(option: PnActionMenuItem) {\n return (\n <menu\n id={this.getListId(option)}\n aria-labelledby={this.getButtonId(option)}\n class=\"pn-action-menu-sub\"\n data-open={this.isSubmenuActive(option.value)?.toString()}\n data-current={this.isCurrentSubMenu(option.value)}\n >\n {this.smallMenu && (\n <li class=\"pn-action-menu-item\">\n {this.renderButton({\n label: 'BACK',\n value: option.value,\n options: option.options,\n })}\n </li>\n )}\n {option.options.map(item => this.renderMenuItem(item))}\n </menu>\n );\n }\n\n private renderGroup(option: PnActionMenuGroup) {\n return <menu class=\"pn-action-menu-group\">{option.group.map(item => this.renderMenuItem(item))}</menu>;\n }\n\n private renderMenuItem(option: PnActionMenuItem) {\n const isSub = !!option?.options?.length;\n const isGroup = !isSub && !!option?.group?.length;\n\n const isCheckbox = !!option.input && !isSub && !isGroup;\n\n return (\n <li class=\"pn-action-menu-item\" data-group={isGroup} data-sub={isSub}>\n {isCheckbox ? this.renderCheckbox(option) : this.renderButton(option)}\n {isSub ? this.renderSub(option) : isGroup && this.renderGroup(option)}\n </li>\n );\n }\n\n private renderMenu() {\n return (\n <div\n id={this.menuListId}\n class=\"pn-action-menu-container\"\n role=\"region\"\n aria-labelledby={this.menuButtonId}\n data-open={this.open}\n data-upwards={this.upwards}\n data-small={this.smallMenu}\n style={{ height: '0px' }}\n ref={el => (this.menuContainer = el)}\n >\n <menu class=\"pn-action-menu-list\" data-current={this.isMenuActive()} ref={el => (this.menuList = el)}>\n {this.options?.map(option => this.renderMenuItem(option))}\n </menu>\n </div>\n );\n }\n\n render() {\n return (\n <Host>\n <div id={this.menuId !== this.id ? this.menuId : null} class=\"pn-action-menu\">\n <pn-button\n icon={this.getTriggerIcon()}\n {...this.button}\n buttonId={this.menuButtonId}\n tooltipUp={!this.upwards}\n ariahaspopup=\"true\"\n ariacontrols={this.open ? this.menuListId : null}\n ariaexpanded={this.open.toString()}\n data-default-icon={!this.button?.icon}\n onPnClick={() => this.toggleActionMenu()}\n ref={el => (this.menuTrigger = el)}\n />\n {this.renderMenu()}\n </div>\n </Host>\n );\n }\n}\n"],"names":["Mixin","animateHeightFactory","uuidv4","awaitTopbar","en","isSmallScreen","getTotalHeightOffset","getMenuWidth","chevron_down","ripple","chevron_right","open_in_new","h","chevron_left","Host"],"mappings":";;;;;;;;;;;;;AAAO,MAAM,YAAY,GAAG;AAC1B,IAAA,IAAI,EAAE;AACJ,QAAA,EAAE,EAAE,UAAU;AACd,QAAA,EAAE,EAAE,MAAM;AACV,QAAA,EAAE,EAAE,SAAS;AACb,QAAA,EAAE,EAAE,UAAU;AACd,QAAA,EAAE,EAAE,SAAS;AACd,KAAA;CACF;;ACRD,MAAM,eAAe,GAAG,ypbAAypb;;ACuCpqb,MAAA,YAAa,GAAA,cAAQA,WAAK,CAACC,4BAAoB,CAAC,CAAA;;;;;;;;AAC1C,IAAA,EAAE,GAAW,CAAA,eAAA,EAAkBC,cAAM,EAAE,EAAE;AAElD,IAAA,YAAY,GAAW,CAAG,EAAA,IAAI,CAAC,EAAE,SAAS;AAC1C,IAAA,UAAU,GAAW,CAAG,EAAA,IAAI,CAAC,EAAE,OAAO;AAEtC,IAAA,WAAW;AACX,IAAA,aAAa;AACb,IAAA,QAAQ;AAER,IAAA,OAAO;;IAGE,SAAS,GAAW,GAAG;;IAIvB,SAAS,GAAY,IAAI;IACzB,OAAO,GAAY,KAAK;IAExB,aAAa,GAAgC,EAAE;;IAGxD,OAAO,GAAuB,EAAE;;AAEhC,IAAA,MAAM;;AAGN,IAAA,MAAM,GAAY,IAAI,CAAC,EAAE;;IAER,QAAQ,GAAiB,IAAI;;IAGd,IAAI,GAAa,KAAK;;IAEtD,MAAM,GAAa,KAAK;;IAExB,QAAQ,GAAa,KAAK;;AAGjB,IAAA,UAAU;;AAEV,IAAA,WAAW;;AAEX,I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EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACHF,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAE,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,MAAM,GAAG,IAAI,EAAE,KAAK,EAAC,gBAAgB,EAAA,EAC3EA,OAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,EACvB,GAAA,IAAI,CAAC,MAAM,EACf,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,SAAS,EAAE,CAAC,IAAI,CAAC,OAAO,EACxB,YAAY,EAAC,MAAM,EACnB,YAAY,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,UAAU,GAAG,IAAI,EAChD,YAAY,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EACf,mBAAA,EAAA,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EACrC,SAAS,EAAE,MAAM,IAAI,CAAC,gBAAgB,EAAE,EACxC,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC,EAClC,CAAA,EACD,IAAI,CAAC,UAAU,EAAE,CACd,CACD;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-button-dropdown.entry.cjs.js","sources":["src/components/buttons/pn-button-dropdown/pn-button-dropdown.scss?tag=pn-button-dropdown","src/components/buttons/pn-button-dropdown/pn-button-dropdown.tsx"],"sourcesContent":["@use 'src/globals/main';\n\npn-button-dropdown {\n display: inline-block;\n position: relative;\n}\npn-button-dropdown .pn-button-dropdown {\n &-container {\n z-index: 10;\n position: absolute;\n\n top: 130%;\n left: 0;\n\n background-color: main.$white;\n border-radius: 1em;\n box-shadow: 0 0.125em 1em rgba(0, 0, 0, 0.2);\n overflow-y: auto;\n\n max-width: 95vw;\n max-width: min(95vw, 40em);\n max-height: 80vh;\n\n transform: scale(0);\n transform-origin: top left;\n @include main.pn-transition('transform');\n transition-delay: main.$timing;\n\n &[data-right] {\n left: unset;\n right: 0;\n transform-origin: top right;\n }\n\n &[data-top] {\n top: unset;\n bottom: 130%;\n transform-origin: bottom left;\n }\n }\n\n &-content {\n position: relative;\n padding: 1em;\n opacity: 0;\n width: max-content;\n max-width: 100%;\n visibility: hidden;\n\n @include main.pn-transition('opacity, visibility');\n transition-delay: 0s, main.$timing;\n }\n\n &[data-open='true'] {\n .pn-button-dropdown-container {\n transition-delay: 0s;\n }\n .pn-button-dropdown-content {\n opacity: 1;\n visibility: visible;\n }\n }\n}\n","import { Component, Prop, State, Watch, Element, h, Host } from '@stencil/core';\nimport { uuidv4, PnButtonAppearance, PnButtonVariant } from '@/index';\n\n/**\n * The open/closing of the dropdown is handled by the component itself.\n *\n * @nativeClick Use the `click` event to listen when the button is clicked.\n */\n@Component({\n tag: 'pn-button-dropdown',\n styleUrl: 'pn-button-dropdown.scss',\n})\nexport class PnButtonDropdown {\n id: string = `pn-button-${uuidv4()}`;\n focusableElements: Array<HTMLLinkElement | HTMLButtonElement | HTMLInputElement>;\n container: HTMLDivElement;\n\n dropdownButtonId: string = `${this.id}-dropdown`;\n dropdownContentId: string = `${this.id}-content`;\n\n @Element() hostElement: HTMLElement;\n\n @State() right: boolean = false;\n @State() top: boolean = false;\n\n /** The required label on the button. */\n @Prop() label!: string;\n /** The optional SVG content of the icon you want. */\n @Prop() icon?: string;\n /** Select between `light` and `warning`. */\n @Prop() appearance?: PnButtonAppearance = '';\n /** Select between `outlined` and `borderless`. */\n @Prop() variant?: PnButtonVariant = '';\n /** Smaller button. */\n @Prop() small: boolean = false;\n /** Tooltip (required for Icon Only). */\n @Prop() tooltip: string;\n /** Open/close the dropdown without user interaction. */\n @Prop({ mutable: true, reflect: true }) open: boolean = false;\n\n @Watch('open')\n openHandler() {\n this.toggleDropdown();\n\n if (this.open) {\n document.addEventListener('click', this.globalHandler);\n document.addEventListener('keyup', this.globalHandler);\n } else {\n document.removeEventListener('click', this.globalHandler);\n document.removeEventListener('keyup', this.globalHandler);\n }\n }\n\n componentDidLoad() {\n if (this.open) this.openHandler();\n }\n\n getRect(element: HTMLElement): DOMRect {\n return element.getBoundingClientRect();\n }\n\n globalHandler = (e: KeyboardEvent) => {\n // global events that we want to track to close the select, like \"click outside\" or tab out\n if (!this.hostElement.contains(e.target as Element) || e?.key === 'Escape') {\n this.open = false;\n }\n };\n\n toggleDropdown() {\n this.right = this.hostElement.offsetLeft > window.innerWidth / 2;\n\n requestAnimationFrame(() => {\n if (this.open) {\n this.container.style.transition = 'none';\n this.container.style.transform = 'none';\n }\n\n const containerRect = this.getRect(this.container);\n const hostElementRect = this.getRect(this.hostElement);\n\n // Calculate if dropdown should open upwards\n // if there is enough space above button\n const enoughSpaceAbove = hostElementRect.top > containerRect.height + window.innerWidth * 0.025;\n this.top =\n enoughSpaceAbove &&\n hostElementRect.top + hostElementRect.height + containerRect.height >\n window.innerHeight - window.innerWidth * 0.025;\n\n let xAxis: number = 0;\n\n if (containerRect.right > window.innerWidth || containerRect.x < 0) {\n // 0.025 because the max width of the element is 95vw and we want the same margin on both sides\n xAxis = containerRect.x + containerRect.width + window.innerWidth * 0.025 - window.innerWidth;\n }\n\n this.container.style.transform = '';\n\n requestAnimationFrame(() => {\n this.container.style.transition = '';\n this.container.style.transform = this.open ? `scale(1) translateX(-${xAxis}px)` : '';\n\n requestAnimationFrame(() => {\n this.hostElement.querySelector<HTMLDivElement>('.pn-button-dropdown').dataset.open = `${this.open}`;\n });\n });\n });\n }\n\n toggle = () => {\n this.open = !this.open;\n };\n\n render() {\n return (\n <Host>\n <div class=\"pn-button-dropdown\">\n <pn-button\n label={this.label}\n buttonId={this.dropdownButtonId}\n class=\"pn-button-dropdown-label\"\n appearance={this.appearance}\n variant={this.variant}\n small={this.small}\n icon={this.icon}\n iconOnly={!!this.tooltip && !!this.icon && !this.label}\n ariacontrols={this.dropdownContentId}\n ariahaspopup=\"true\"\n ariaexpanded={this.open.toString()}\n tooltip={this.tooltip}\n tooltipUp={!this.top}\n onPnClick={this.toggle}\n />\n <div\n ref={el => (this.container = el)}\n id={this.dropdownContentId}\n class=\"pn-button-dropdown-container\"\n role=\"region\"\n aria-labelledby={this.dropdownButtonId}\n data-right={this.right}\n data-top={this.top}\n >\n <div class=\"pn-button-dropdown-content\">\n <slot />\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"names":["uuidv4","h","Host"],"mappings":";;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,miDAAmiD;;MCYljD,gBAAgB,GAAA,MAAA;;;;AAC3B,IAAA,EAAE,GAAW,CAAA,UAAA,EAAaA,cAAM,EAAE,EAAE;AACpC,IAAA,iBAAiB;AACjB,IAAA,SAAS;AAET,IAAA,gBAAgB,GAAW,CAAG,EAAA,IAAI,CAAC,EAAE,WAAW;AAChD,IAAA,iBAAiB,GAAW,CAAG,EAAA,IAAI,CAAC,EAAE,UAAU;;IAIvC,KAAK,GAAY,KAAK;IACtB,GAAG,GAAY,KAAK;;AAGrB,IAAA,KAAK;;AAEL,IAAA,IAAI;;IAEJ,UAAU,GAAwB,EAAE;;IAEpC,OAAO,GAAqB,EAAE;;IAE9B,KAAK,GAAY,KAAK;;AAEtB,IAAA,OAAO;;IAEyB,IAAI,GAAY,KAAK;IAG7D,WAAW,GAAA;QACT,IAAI,CAAC,cAAc,EAAE;AAErB,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC;YACtD,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC;;aACjD;YACL,QAAQ,CAAC,mBAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC;YACzD,QAAQ,CAAC,mBAAmB,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,CAAC;;;IAI7D,gBAAgB,GAAA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,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,EACtD,YAAY,EAAE,IAAI,CAAC,iBAAiB,EACpC,YAAY,EAAC,MAAM,EACnB,YAAY,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,SAAS,EAAE,CAAC,IAAI,CAAC,GAAG,EACpB,SAAS,EAAE,IAAI,CAAC,MAAM,EACtB,CAAA,EACFA,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,SAAS,GAAG,EAAE,CAAC,EAChC,EAAE,EAAE,IAAI,CAAC,iBAAiB,EAC1B,KAAK,EAAC,8BAA8B,EACpC,IAAI,EAAC,QAAQ,EACI,iBAAA,EAAA,IAAI,CAAC,gBAAgB,gBAC1B,IAAI,CAAC,KAAK,EACZ,UAAA,EAAA,IAAI,CAAC,GAAG,EAAA,EAElBA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,4BAA4B,EAAA,EACrCA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACJ,CACF,CACF,CACD;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-button.pn-spinner.entry.cjs.js","sources":["src/components/buttons/pn-button/pn-button.scss?tag=pn-button","src/components/buttons/pn-button/pn-button.tsx","src/components/feedback/pn-spinner/pn-spinner.scss?tag=pn-spinner","src/components/feedback/pn-spinner/pn-spinner.tsx"],"sourcesContent":["@use 'sass:string';\n@use 'src/globals/main';\n\npn-button {\n display: inline-block;\n}\n\npn-button .pn-button {\n position: relative;\n cursor: pointer;\n\n padding: 0.75em 1.5em;\n width: string.unquote('round(up, 100%, 1px)');\n min-height: 3em;\n min-width: 5.5em;\n\n border: none;\n border-radius: 3em;\n\n font-family: inherit;\n font-size: 1em;\n font-weight: 500;\n\n color: main.$white;\n background-color: transparent;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n text-decoration: none;\n line-height: 1.5em;\n -webkit-tap-highlight-color: transparent;\n\n @include main.pn-transition('color, outline-color');\n @include main.pn-focus();\n\n &:disabled,\n &[aria-disabled] {\n cursor: auto;\n pointer-events: none;\n }\n\n &-content {\n z-index: 2;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 0.5em;\n\n @include main.pn-transition('opacity, transform');\n transition-delay: main.$timing;\n }\n\n // This is a separate element because it has to be a leaf node to avoid bogging down performance when animating\n &-bg {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 50%;\n transform: translateX(-50%) translateY(0);\n border-radius: 3em;\n border: none;\n background-color: main.$blue700;\n overflow: hidden;\n\n @include main.pn-transition('width, background-color, border-color');\n transition-delay: main.$timing, 0s, 0s;\n\n // Hover element (sliding background)\n &::after {\n content: '';\n position: absolute;\n will-change: transform;\n width: 100%;\n height: 100%;\n background-color: main.$blue900;\n border-radius: inherit;\n left: 0;\n transform: translateX(-103%);\n opacity: 0.5;\n @include main.pn-transition('transform');\n }\n }\n\n @include main.pn-ripple(main.$white);\n\n &-tooltip {\n z-index: 5;\n position: absolute;\n top: calc(100% + 0.35em);\n left: 50%;\n pointer-events: none;\n\n color: main.$white;\n background-color: main.$blue900;\n box-shadow:\n 0 0.075em 0.225em rgba(0, 0, 0, 0.1),\n 0 0.4em 0.9em rgba(0, 0, 0, 0.13);\n\n padding: 0.25em 0.75em;\n border-radius: inherit;\n\n max-width: min(95vw, 40em);\n transform: translateX(-50%) translateX(var(--pn-dx));\n width: max-content;\n\n opacity: 0;\n @include main.pn-transition('opacity');\n\n &-text {\n font-size: 0.875em;\n font-weight: 300;\n }\n }\n\n pn-icon {\n flex-shrink: 0;\n .pn-icon-svg path {\n fill: main.$white;\n }\n }\n\n pn-spinner {\n position: absolute;\n transform: scale(0);\n }\n\n &:hover,\n &:focus {\n .pn-button-bg:after {\n transform: translateX(0);\n }\n }\n\n &[data-appearance='light'] {\n color: main.$blue700;\n\n pn-icon .pn-icon-svg path {\n fill: main.$blue700;\n }\n\n pn-spinner {\n .pn-spinner-circle {\n stroke: main.$blue700;\n }\n .pn-spinner-dot {\n fill: main.$blue700;\n }\n }\n\n .pn-button-bg {\n border-color: main.$blue700;\n background-color: main.$white;\n\n &:after {\n background-color: main.$blue50;\n opacity: 1;\n }\n\n .pn-ripple {\n background-color: main.$blue700;\n }\n }\n }\n\n &[data-appearance='warning'] {\n color: main.$warning;\n\n pn-icon .pn-icon-svg path {\n fill: main.$warning;\n }\n\n pn-spinner {\n .pn-spinner-circle {\n stroke: main.$warning;\n }\n .pn-spinner-dot {\n fill: main.$warning;\n }\n }\n\n .pn-button-bg {\n border: 0.0625em solid main.$warning;\n background-color: main.$coral50;\n\n &:after {\n background-color: main.$warning;\n opacity: 1;\n }\n }\n\n &:hover,\n &:focus {\n color: main.$white;\n pn-icon .pn-icon-svg path {\n fill: main.$white;\n }\n\n pn-spinner {\n .pn-spinner-circle {\n stroke: main.$white;\n }\n .pn-spinner-dot {\n fill: main.$white;\n }\n }\n }\n\n @include main.pn-focus(main.$warning);\n }\n\n &[data-variant='borderless'] {\n .pn-button-bg {\n border: none;\n background-color: transparent;\n }\n\n .pn-button-bg:after {\n background-color: main.$white;\n opacity: 0.1;\n }\n &[data-appearance='light'] {\n .pn-button-bg:after {\n background-color: main.$blue50;\n opacity: 1;\n }\n }\n &[data-appearance='warning'] {\n .pn-button-bg:after {\n background-color: main.$warning;\n opacity: 1;\n }\n }\n }\n\n &[data-variant='outlined'] {\n .pn-button-bg {\n border: 0.0625em solid main.$white;\n background-color: transparent;\n &:after {\n background-color: main.$white;\n opacity: 0.1;\n }\n }\n\n &[data-appearance='light'] .pn-button-bg {\n border-color: main.$blue700;\n background-color: main.$white;\n &:after {\n background-color: main.$blue400;\n opacity: 0.1;\n }\n }\n\n &[data-appearance='warning'] .pn-button-bg {\n border-color: main.$warning;\n &:after {\n background-color: main.$warning;\n opacity: 1;\n }\n }\n }\n\n &[data-left-icon] .pn-button-content {\n flex-direction: row-reverse;\n }\n\n &[data-icon-only] {\n width: 3em;\n min-width: 0;\n\n &[data-small] {\n width: 2em;\n min-width: 0;\n padding: 0;\n }\n }\n\n &[data-small] {\n padding: 0.375em 1em;\n min-height: 2em;\n min-width: unset;\n line-height: 1.25em;\n\n .pn-button-content {\n gap: 0.25em;\n }\n\n .pn-button-text {\n font-size: 0.875em;\n }\n\n pn-icon .pn-icon-svg {\n height: 1.25em;\n width: 1.25em;\n }\n }\n\n &[data-tooltip-open] {\n .pn-button-tooltip {\n opacity: 1;\n }\n }\n\n &[data-tooltip-upwards] {\n .pn-button-tooltip {\n top: auto;\n bottom: calc(100% + 0.35em);\n }\n }\n\n &[data-loading] {\n pn-spinner {\n transform: scale(1);\n @include main.pn-transition('transform');\n transition-delay: main.$timing;\n }\n\n .pn-button-content {\n pointer-events: none;\n opacity: 0;\n transition-delay: 0s;\n transform: translateY(100%);\n }\n\n .pn-button-bg {\n width: 3em;\n }\n\n &[data-small] .pn-button-bg {\n width: 2em;\n }\n }\n}\n","import { Component, Host, Prop, h, Element, State, Watch, Event, EventEmitter } from '@stencil/core';\nimport { ripple, PnButtonAppearance, PnButtonVariant } from '@/index';\n\n/**\n * The `pn-button` is built with a native `button` or `a` element, if you use the `href` attribute.\n *\n * @nativeClick Use the `click` event to listen when the button is clicked.\n */\n@Component({\n tag: 'pn-button',\n styleUrl: 'pn-button.scss',\n})\nexport class PnButton {\n buttonEl: HTMLElement;\n tooltipEl: HTMLDivElement;\n tooltipDx: number;\n\n openEvents: string[] = ['mouseover', 'focus'];\n closeEvents: string[] = ['mouseleave', 'blur', 'touchcancel', 'touchleave'];\n eventListeners: string[] = [...this.openEvents, ...this.closeEvents];\n\n @Element() hostElement: HTMLElement;\n\n @State() tooltipOpen: boolean = false;\n @State() tooltipUpwards: boolean = false;\n\n /** The label of the button, this is the same as using the default slot. @since v7.4.0 */\n @Prop() label?: string = '';\n /**\n * Select the button appearance: default (blue), `light` (white) and `warning` (red).\n *\n * @category Visual\n */\n @Prop() appearance?: PnButtonAppearance = '';\n /**\n * Select the button variant: default (colored background), `outlined` (bordered, no background) and `borderless` (borderless, no background).\n *\n * @category Visual\n */\n @Prop() variant?: PnButtonVariant = '';\n /** Use the small button. @category Visual */\n @Prop() small?: boolean = false;\n /** Display the loading indicator. @category Visual */\n @Prop({ reflect: true }) loading?: boolean = false;\n\n /**\n * The SVG content of the icon you want.\n * @see {@link https://portal.postnord.com/web-components/?path=/docs/docs-assets--docs pn-design-assets}\n * @category Icon\n */\n @Prop() icon?: string;\n /**\n * Turn the button into an icon only. Requires `icon` and one of the following props to work: `tooltip`, `arialabel` or `arialabelledby`.\n * @summary __You need an `icon` selected, as well as either `tooltip`, `arialabel` or `arialabelledby` for this to work__.\n * @see {@link icon}\n * @since v7.4.0\n * @category Icon\n */\n @Prop() iconOnly?: boolean = false;\n /**\n * Place the `icon` to the left of the button.\n *\n * @summary __You need an `icon` selected for this to work__.\n * @see {@link icon}\n * @category Icon\n */\n @Prop() leftIcon?: boolean = false;\n\n /**\n * When the user focus/hover the button, the `tooltip` text will show up.\n *\n * @category Tooltip\n */\n @Prop() tooltip?: string;\n /**\n * Prefer the tooltip to open upwards. Will still go downwards if there is no space.\n * @since v7.4.0\n * @category Tooltip\n */\n @Prop() tooltipUp?: boolean = false;\n\n /** Select HTML button type. @category Button */\n @Prop() type?: 'button' | 'reset' | 'submit' | '' = 'button';\n /**\n * Connect this button to a HTML form.\n * @category Button\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#form HTML button form}\n */\n @Prop() form?: string;\n\n /** Pass an href to make the button into link (a-tag). @category Link */\n @Prop() href?: string;\n /** The rel attribute of the link. @category Link */\n @Prop() rel?: string;\n /** The target attribute of the link. @category Link */\n @Prop() target?: string;\n /** The download attribute of the link. @category Link */\n @Prop() download?: string;\n\n /** HTML ID. @category HTML attributes */\n @Prop() buttonId?: string = null;\n /** HTML aria-label attribute. @category HTML attributes */\n @Prop() arialabel?: string = null;\n /** HTML aria-labelledby attribute. @category HTML attributes */\n @Prop() arialabelledby?: string = null;\n /** HTML aria-current attribute. @since v7.9.0 @category HTML attributes */\n @Prop() ariacurrent?: string = null;\n /** HTML aria-controls attribute. @category HTML attributes */\n @Prop() ariacontrols?: string = null;\n /** HTML aria-pressed attribute. @category HTML attributes */\n @Prop() ariapressed?: string = null;\n /** HTML aria-haspopup attribute. @category HTML attributes */\n @Prop() ariahaspopup?: string = null;\n /** HTML aria-expanded attribute. @category HTML attributes */\n @Prop() ariaexpanded?: string = null;\n /** HTML tabindex. @category HTML attributes */\n @Prop() noTab?: boolean = false;\n\n @Watch('tooltipOpen')\n openHandler() {\n if (this.tooltipOpen) this.checkTooltipPosition();\n }\n\n @Watch('tooltip')\n iconOnlyHandler() {\n this.checkTooltipPosition();\n if (this.tooltip) this.initTooltip();\n else this.removeTooltip();\n }\n\n /**\n * This event is fired when the `button`/`a` element of the `pn-button` is clicked.\n * Setting an eventListener for `click` on the `pn-button` will trigger if you click outside of the button area\n * or if the button is `disabled` with the `loading` prop.\n * @since v7.4.0\n **/\n @Event() pnClick: EventEmitter<MouseEvent>;\n\n componentWillLoad() {\n this.tooltipUpwards = this.tooltipUp;\n }\n\n componentDidLoad() {\n this.iconOnlyHandler();\n }\n\n getRect(element: HTMLElement): DOMRect {\n return element.getBoundingClientRect();\n }\n\n initTooltip() {\n this.eventListeners.forEach(e => this.buttonEl.addEventListener(e, this.toggleTooltip));\n }\n\n removeTooltip() {\n this.eventListeners.forEach(e => this.buttonEl.removeEventListener(e, this.toggleTooltip));\n }\n\n toggleTooltip = (event: MouseEvent | FocusEvent) => {\n this.tooltipOpen = this.openEvents.includes(event.type);\n };\n\n setTooltipOffset() {\n this.tooltipEl.style.setProperty('--pn-dx', `${this.tooltipDx}px`);\n }\n\n checkTooltipPosition() {\n this.tooltipEl.style.transform = 'translateX(-50%)';\n this.tooltipUpwards = this.tooltipUp;\n\n requestAnimationFrame(() => {\n const { top, x, y, right, height } = this.getRect(this.tooltipEl);\n const extraMargin = 16;\n this.tooltipDx = 0;\n\n this.tooltipUpwards = this.tooltipUp ? top > height : y + height > window.innerHeight;\n this.tooltipEl.style.transform = '';\n\n if (x < 0) this.tooltipDx = x * -1 + extraMargin;\n if (right > window.innerWidth) this.tooltipDx = window.innerWidth - right - extraMargin - 8;\n\n requestAnimationFrame(() => this.setTooltipOffset());\n });\n }\n\n getAttributes() {\n const attrs = this.href\n ? {\n 'href': this.href,\n 'rel': !this.rel && this.target === '_blank' ? 'noopener' : this.rel,\n 'target': this.target ?? null,\n 'download': this.download ?? null,\n 'aria-current': this.ariacurrent,\n 'aria-disabled': this.loading ? 'true' : null,\n }\n : {\n 'type': this.type,\n 'form': this.form,\n 'disabled': this.loading,\n 'aria-pressed': this.ariapressed,\n 'aria-controls': this.ariacontrols,\n 'aria-haspopup': this.ariahaspopup,\n 'aria-expanded': this.ariaexpanded,\n };\n\n const appearances: PnButtonAppearance[] = ['light', 'warning'];\n const variations: PnButtonVariant[] = ['borderless', 'outlined'];\n\n return {\n 'tabindex': this.noTab || (this.href && this.loading) ? '-1' : null,\n 'data-small': this.small,\n 'data-loading': this.loading,\n 'data-tooltip-open': this.tooltipOpen,\n 'data-tooltip-upwards': this.tooltipUpwards,\n 'data-icon-only': this.showIconOnly(),\n 'data-left-icon': this.leftIcon,\n 'data-appearance': appearances.includes(this.appearance) ? this.appearance : null,\n 'data-variant': variations.includes(this.variant) ? this.variant : null,\n ...attrs,\n };\n }\n\n getTagName() {\n return this.href ? 'a' : 'button';\n }\n\n showIconOnly(): boolean {\n return !!this.icon && this.iconOnly && !!(this.tooltip || this.arialabel || this.arialabelledby);\n }\n\n handleClick(event: MouseEvent) {\n ripple(event, this.hostElement, '.pn-button-bg');\n this.pnClick.emit(event);\n }\n\n render() {\n const TagName = this.getTagName();\n\n return (\n <Host>\n <TagName\n class=\"pn-button\"\n id={this.buttonId}\n aria-label={this.arialabel}\n aria-labelledby={this.arialabelledby}\n onClick={e => this.handleClick(e)}\n {...this.getAttributes()}\n ref={(el: HTMLElement) => (this.buttonEl = el)}\n >\n <div class=\"pn-button-bg\"></div>\n <div class=\"pn-button-content\">\n <div class=\"pn-button-text\" hidden={this.showIconOnly()}>\n {this.label}\n <slot />\n </div>\n {!!this.icon && <pn-icon icon={this.icon} />}\n </div>\n <pn-spinner light />\n\n <div class=\"pn-button-tooltip\" hidden={!this.tooltip} ref={el => (this.tooltipEl = el)}>\n <span class=\"pn-button-tooltip-text\">{this.tooltip}</span>\n </div>\n </TagName>\n </Host>\n );\n }\n}\n","@use 'src/globals/main';\n\npn-spinner {\n display: inline-block;\n}\n\npn-spinner .pn-spinner {\n --pn-spinner-size: 1.5em;\n --pn-spinner-color: main.$blue700;\n\n height: var(--pn-spinner-size);\n width: var(--pn-spinner-size);\n display: block;\n\n animation: rotate 1s infinite;\n animation-timing-function: main.$easing;\n\n @media (prefers-reduced-motion: reduce) {\n animation-duration: 2s;\n }\n\n &-circle {\n stroke: var(--pn-spinner-color);\n transform-origin: center center;\n transform: rotate(-310deg);\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-dasharray: 64;\n animation: loading 2s infinite;\n animation-timing-function: main.$easing;\n\n @media (prefers-reduced-motion: reduce) {\n animation-duration: 4s;\n }\n }\n\n &-dot {\n fill: var(--pn-spinner-color);\n }\n}\n\n@keyframes loading {\n 0% {\n stroke-dashoffset: 55;\n }\n 50% {\n stroke-dashoffset: 12;\n }\n 100% {\n stroke-dashoffset: 55;\n }\n}\n\n@keyframes rotate {\n from {\n transform: rotate(-180deg) scaleX(-1);\n }\n to {\n transform: rotate(180deg) scaleX(-1);\n }\n}\n","import { Component, Element, Prop, h, Host } from '@stencil/core';\n\n/** Display a spinner to indicate a loading state. */\n@Component({\n tag: 'pn-spinner',\n styleUrl: 'pn-spinner.scss',\n})\nexport class PnSpinner {\n @Element() hostElement: HTMLElement;\n\n /** Light version of the spinner. */\n @Prop() light: boolean = false;\n /** Size in em. */\n @Prop() size: number = 1.5;\n\n private getColor() {\n if (this.light) return '#fff';\n return '#005d92';\n }\n\n private getSize() {\n return `${this.size}em`;\n }\n\n render() {\n return (\n <Host>\n <svg\n class=\"pn-spinner\"\n style={{ '--pn-spinner-size': this.getSize(), '--pn-spinner-color': this.getColor() }}\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n >\n <circle class=\"pn-spinner-circle\" cx=\"12\" cy=\"12\" r=\"10\" stroke-width=\"3\" />\n <circle class=\"pn-spinner-dot\" cx=\"21.3\" cy=\"16\" r=\"1.48\" />\n </svg>\n </Host>\n );\n }\n}\n"],"names":["ripple","h","Host"],"mappings":";;;;;;;;;AAAA,MAAM,WAAW,GAAG,suPAAsuP;;MCY7uP,QAAQ,GAAA,MAAA;;;;;AACnB,IAAA,QAAQ;AACR,IAAA,SAAS;AACT,IAAA,SAAS;AAET,IAAA,UAAU,GAAa,CAAC,WAAW,EAAE,OAAO,CAAC;IAC7C,WAAW,GAAa,CAAC,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,CAAC;AAC3E,IAAA,cAAc,GAAa,CAAC,GAAG,IAAI,CAAC,UAAU,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC;;IAI3D,WAAW,GAAY,KAAK;IAC5B,cAAc,GAAY,KAAK;;IAGhC,KAAK,GAAY,EAAE;AAC3B;;;;AAIG;IACK,UAAU,GAAwB,EAAE;AAC5C;;;;AAIG;IACK,OAAO,GAAqB,EAAE;;IAE9B,KAAK,GAAa,KAAK;;IAEN,OAAO,GAAa,KAAK;AAElD;;;;AAIG;AACK,IAAA,IAAI;AACZ;;;;;;AAMG;IACK,QAAQ,GAAa,KAAK;AAClC;;;;;;AAMG;IACK,QAAQ,GAAa,KAAK;AAElC;;;;AAIG;AACK,IAAA,OAAO;AACf;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,EAAE,mBAAmB,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,oBAAoB,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,EACrF,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EAAA,EAEXA,OAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,KAAK,EAAC,mBAAmB,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAA,cAAA,EAAc,GAAG,EAAG,CAAA,EAC5EA,OAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,KAAK,EAAC,gBAAgB,EAAC,EAAE,EAAC,MAAM,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,MAAM,GAAG,CACxD,CACD;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-card.entry.cjs.js","sources":["src/components/navigation/pn-card/pn-card.scss?tag=pn-card","src/components/navigation/pn-card/pn-card.tsx"],"sourcesContent":["@use 'src/globals/main';\n\npn-card {\n position: relative;\n display: block;\n}\n\npn-card .pn-card {\n position: relative;\n\n background-color: main.$white;\n color: main.$gray900;\n\n border-radius: 0.5em;\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: hidden;\n\n box-shadow:\n 0em 0.0625em 0.125em 0em rgba(20, 20, 20, 0.11),\n 0em 0.1875em 0.4375em 0em rgba(0, 0, 0, 0.13);\n\n @include main.pn-focus-base;\n @include main.pn-transition('background-color, outline-color');\n\n &[data-link]:hover {\n background-color: main.$blue50;\n }\n\n &[data-link][data-focus] {\n @include main.pn-focus-visible;\n }\n\n /** If you use a `href`, hide the navigation slot. */\n &[data-link] .pn-card-navigation > [slot='navigation'] {\n display: none;\n }\n\n &[data-horizontal] {\n flex-direction: row;\n &[data-reverse] {\n flex-direction: row-reverse;\n .pn-card-picture {\n clip-path: ellipse(100% 175% at right center);\n }\n }\n .pn-card-content {\n flex: 1 1 50%;\n }\n .pn-card-image {\n flex: 1 1 50%;\n flex-direction: row;\n }\n\n .pn-card-picture {\n width: 100%;\n clip-path: ellipse(100% 175% at left center);\n }\n }\n\n &[data-reverse] {\n flex-direction: column-reverse;\n .pn-card-picture {\n clip-path: ellipse(175% 100% at bottom center);\n }\n }\n\n &-header {\n display: flex;\n flex-direction: column;\n gap: clamp(0.5em, 5vw, 0.75em);\n }\n\n &-label {\n font-size: clamp(1.125em, 5vw, 1.5em);\n font-weight: 700;\n margin: 0;\n &-overline {\n color: main.$gray700;\n font-size: 0.875em;\n font-weight: 400;\n margin: 0;\n }\n }\n\n &-link {\n display: inline-flex;\n align-items: center;\n gap: 0.25em;\n\n color: main.$blue700;\n text-decoration-color: transparent;\n -webkit-tap-highlight-color: transparent;\n\n @include main.pn-transition('color, text-decoration-color');\n\n &:hover {\n color: main.$blue900;\n text-decoration-color: main.$blue900;\n > pn-icon > .pn-icon-svg > path {\n fill: main.$blue900;\n }\n }\n\n &:focus {\n outline: 0;\n color: main.$blue900;\n text-decoration-color: main.$blue900;\n > pn-icon > .pn-icon-svg > path {\n fill: main.$blue900;\n }\n }\n\n &:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n }\n\n &-content {\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n flex: 1;\n gap: clamp(0.5em, 5vw, 0.75em);\n padding: clamp(0.75em, 5vw, 1.5em) clamp(0.75em, 5vw, 1.5em);\n }\n\n &-section {\n display: flex;\n flex-direction: column;\n gap: 0.5em;\n color: main.$gray700;\n\n &-paragraph,\n p {\n margin: 0 0 0.25em;\n &:last-child {\n margin: 0em;\n }\n }\n }\n\n &-navigation {\n margin-top: auto;\n padding-top: clamp(0.5em, 5vw, 0.75em);\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 0.5em;\n\n > pn-button {\n flex: 1 1 12em;\n }\n\n &:empty {\n display: none;\n }\n }\n\n &-image {\n position: relative;\n display: flex;\n flex-direction: column;\n }\n\n &-picture {\n margin: 0;\n padding: 0;\n display: block;\n overflow: hidden;\n clip-path: ellipse(175% 100% at top center);\n aspect-ratio: var(--pn-card-aspect-ratio);\n\n &:empty {\n display: none;\n }\n > *[slot='image'] {\n display: block;\n height: 100%;\n width: 100%;\n object-fit: cover;\n }\n }\n\n &-tags {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n gap: 0.5em;\n\n &:empty {\n display: none;\n }\n }\n\n > {\n @include main.pn-ripple(main.$blue700);\n }\n}\n","import { Host, Component, Prop, h, Element, Event, EventEmitter, State, Watch } from '@stencil/core';\nimport { arrow_right, open_in_new } from 'pn-design-assets/pn-assets/icons.js';\nimport { ripple, uuidv4 } from '@/index';\n\n/**\n * The card component is more than just a navigational element.\n * It is a flexible component that can be used as a product item, a clickable link card, etc...\n *\n * Setting the `href` prop will transform the entire `pn-card` into a clickable element.\n * If you need content to be interactable inside the card, do not use the `href` prop.\n *\n * @slot - The default slot is the primary content of the card. This is the same area where the `text` prop is located.\n * @slot image - Set a custom image/svg/illustration. Simply use an `img` tag with the slot \"image\".\n * @slot tags - Add `pn-tags` that will be positioned above the `label` and `overline` if used.\n * @slot header - The header content, same area that the `label` and `overline` props will appear.\n * @slot navigation - This slot is intended for one or more `pn-button` components.\n * Only use **without** the `href` prop. Having both at the same time makes the component inaccessible.\n *\n * @since v7.12.0\n */\n@Component({\n tag: 'pn-card',\n styleUrl: 'pn-card.scss',\n})\nexport class PnCard {\n private readonly id: string = `pn-card-${uuidv4()}`;\n private idTitle: string = `${this.id}-title`;\n\n @State() visibleOutline: boolean = false;\n\n @Element() hostElement: HTMLElement;\n\n /** Headline of the card. Will act as label for the link if there is no `href-label` set. */\n @Prop() label: string;\n /** The label HTML tag. Default is `h3`. */\n @Prop() labelTag?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' = 'h3';\n /** Set a smaller text above the `label` text. */\n @Prop() overline?: string;\n /** Text content of the card. */\n @Prop() text?: string;\n /** Set a HTML id for the card. Optional and not required. */\n @Prop() cardId?: string = null;\n\n /**\n * Uee the horizontal card layout.\n * @category Features\n * */\n @Prop() horizontal?: boolean = false;\n /** Reverse the order of which the image will wrap. @category Features */\n @Prop() reverse?: boolean = false;\n /**\n * Select image aspect ratio. Example: '3/3', '16/9'.\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio CSS documentation.}\n * @category Features\n * */\n @Prop() aspectRatio?: string | '3/3' | '16/9' = '';\n\n /** The card link. @category Href */\n @Prop() href?: string;\n /** The link text. @category Href */\n @Prop() hrefLabel?: string;\n /** The target attribute of the link. @category Href */\n @Prop() target?: string;\n /** The rel attribute of the link. @category Href */\n @Prop() rel?: string = 'noopener noreferrer';\n /** The link icon. Defaults to `arrow_right` or `open_in_new` if `target=\"_blank\"`. @category Href */\n @Prop() icon?: string = null;\n\n @Watch('cardId')\n watchCardId() {\n const id = this.cardId || this.id;\n this.idTitle = `${id}-title`;\n }\n\n /** Emitted when you click on the card link (if you use the `href` prop). */\n @Event() pnCard: EventEmitter<{ click: MouseEvent }>;\n\n componentWillLoad() {\n this.watchCardId();\n }\n\n private isExternal() {\n return this.target === '_blank';\n }\n\n private showTitle() {\n return !!this.label;\n }\n\n private showHref() {\n return !!this.href && (this.hrefLabel || this.showTitle());\n }\n\n private getTitleId() {\n return this.hrefLabel ? null : this.idTitle;\n }\n\n private getLabelledby() {\n return this.hrefLabel ? null : this.showTitle() ? this.idTitle : null;\n }\n\n private getIcon() {\n if (!!this.icon) return this.icon;\n return this.isExternal() ? open_in_new : arrow_right;\n }\n\n private getHeadingTag() {\n const tags = ['h2', 'h3', 'h4', 'h5', 'h6', 'p'];\n return tags.includes(this.labelTag) ? this.labelTag : 'h3';\n }\n\n private handleFocus({ type, target }: FocusEvent) {\n this.visibleOutline = type === 'focus' && (target as HTMLLinkElement).matches(':focus-visible');\n }\n\n private handleClick(event: MouseEvent) {\n ripple(event, this.hostElement, '.pn-card');\n this.pnCard.emit({ click: event });\n }\n\n render() {\n const TitleTag = this.getHeadingTag();\n\n return (\n <Host>\n <article\n id={this.cardId}\n class=\"pn-card\"\n data-link={!!this.href}\n data-horizontal={this.horizontal}\n data-reverse={this.reverse}\n data-focus={this.visibleOutline}\n >\n <div class=\"pn-card-image\">\n <picture class=\"pn-card-picture\" style={{ '--pn-card-aspect-ratio': this.aspectRatio || 'unset' }}>\n <slot name=\"image\"></slot>\n </picture>\n </div>\n <div class=\"pn-card-content\">\n <header class=\"pn-card-header\">\n <div class=\"pn-card-tags\">\n <slot name=\"tags\"></slot>\n </div>\n {!!this.overline && <p class=\"pn-card-label-overline\">{this.overline}</p>}\n {!!this.label && (\n <TitleTag id={this.getTitleId()} class=\"pn-card-label\">\n {this.label}\n </TitleTag>\n )}\n <slot name=\"header\"></slot>\n </header>\n <section class=\"pn-card-section\">\n {!!this.text && <p class=\"pn-card-section-paragraph\">{this.text}</p>}\n <slot></slot>\n </section>\n <nav class=\"pn-card-navigation\">\n {this.showHref() && (\n <a\n class=\"pn-card-link\"\n href={this.href}\n target={this.target}\n rel={this.rel}\n aria-labelledby={this.getLabelledby()}\n onClick={event => this.handleClick(event)}\n onFocus={event => this.handleFocus(event)}\n onBlur={event => this.handleFocus(event)}\n >\n {this.hrefLabel}\n <pn-icon color=\"blue700\" icon={this.getIcon()} />\n </a>\n )}\n <slot name=\"navigation\"></slot>\n </nav>\n </div>\n </article>\n </Host>\n );\n }\n}\n"],"names":["uuidv4","open_in_new","arrow_right","ripple","h","Host"],"mappings":";;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,25HAA25H;;MCwBh6H,MAAM,GAAA,MAAA;;;;;AACA,IAAA,EAAE,GAAW,CAAA,QAAA,EAAWA,cAAM,EAAE,EAAE;AAC3C,IAAA,OAAO,GAAW,CAAG,EAAA,IAAI,CAAC,EAAE,QAAQ;IAEnC,cAAc,GAAY,KAAK;;;AAKhC,IAAA,K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A,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,oBAAoB,EAAA,EAC5B,IAAI,CAAC,QAAQ,EAAE,KACdA,OACE,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,cAAc,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,GAAG,EAAE,IAAI,CAAC,GAAG,qBACI,IAAI,CAAC,aAAa,EAAE,EACrC,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EACzC,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EACzC,MAAM,EAAE,KAAK,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAAA,EAEvC,IAAI,CAAC,SAAS,EACfA,OAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAS,KAAK,EAAC,SAAS,EAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,EAAI,CAAA,CAC/C,CACL,EACDA,OAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,YAAY,EAAA,CAAQ,CAC3B,CACF,CACE,CACL;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-checkbox.entry.cjs.js","sources":["src/components/input/pn-checkbox/pn-checkbox.scss?tag=pn-checkbox","src/components/input/pn-checkbox/pn-checkbox.tsx"],"sourcesContent":["@use 'src/globals/main';\n\npn-checkbox {\n position: relative;\n display: inline-block;\n}\n\npn-checkbox .pn-checkbox {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n\n &-label {\n cursor: pointer;\n color: main.$label-color;\n -webkit-tap-highlight-color: transparent;\n }\n\n &-helpertext {\n color: main.$helpertext-color;\n margin: 0 0 0.5em 0;\n &:last-child {\n margin: 0;\n }\n }\n\n &-content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n font-weight: 400;\n line-height: 1.5;\n flex: 1;\n margin: 0 0 0 0.75em;\n }\n\n &-outer {\n width: 1.5em;\n height: 1.5em;\n background-color: main.$input-background;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n border: main.$input-border;\n border-radius: 0.25em;\n\n @include main.pn-focus-base();\n @include main.pn-transition('outline-color, border-color, background-color');\n }\n\n &-svg {\n width: 1.25em;\n fill: none;\n\n &-line {\n stroke: main.$white;\n transform-origin: 0 0;\n stroke-linecap: round;\n stroke-dasharray: 23;\n stroke-dashoffset: 23;\n @include main.pn-transition('stroke-dashoffset');\n transition-delay: 0s;\n }\n }\n\n &[data-tile] {\n position: relative;\n background-color: main.$input-background;\n border: main.$input-border;\n border-radius: main.$input-border-radius;\n padding: 1em;\n\n @include main.pn-focus-base();\n @include main.pn-transition('outline-color, background-color, border-color');\n\n &[data-invalid] {\n border-color: main.$border-color-error;\n }\n }\n\n &[data-invalid] .pn-checkbox-outer {\n border-color: main.$border-color-error;\n }\n\n &-container {\n flex: 1 1 100%;\n overflow: hidden;\n visibility: hidden;\n &[data-open] {\n visibility: visible;\n overflow: unset;\n }\n &[data-moving] {\n visibility: visible;\n overflow: hidden;\n }\n }\n\n &-area {\n padding: 0.75em 0 0 2.25em;\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n gap: 1em;\n }\n\n > pn-icon {\n margin-left: 0.75em;\n }\n}\n\npn-checkbox > input {\n cursor: pointer;\n opacity: 0;\n position: absolute;\n margin: 0;\n z-index: 1;\n top: 0;\n left: 0;\n\n font-size: 1em;\n width: 1.5em;\n height: 1.5em;\n -webkit-tap-highlight-color: transparent;\n\n &[data-tile]:not([data-expand]) {\n width: 100%;\n height: 100%;\n }\n\n &[data-expand] {\n top: 1em;\n left: 1em;\n }\n\n &[aria-describedby] + .pn-checkbox[data-tile] .pn-checkbox-label {\n font-weight: 500;\n }\n\n &:hover + .pn-checkbox {\n > .pn-checkbox-outer {\n background-color: main.$input-button-background-hover;\n border-color: main.$border-color-default-active;\n }\n &[data-tile] {\n background-color: main.$input-button-background-hover;\n border-color: main.$border-color-default-hover;\n &[data-invalid] {\n background-color: main.$input-background-error-hover;\n border-color: main.$border-color-error;\n }\n }\n &[data-invalid] > .pn-checkbox-outer {\n background-color: main.$input-background-error-hover;\n border-color: main.$border-color-error;\n }\n }\n\n &:focus-visible + .pn-checkbox {\n > .pn-checkbox-outer {\n @include main.pn-focus-visible(main.$border-color-default-focus);\n }\n &[data-tile] {\n @include main.pn-focus-visible(main.$border-color-default-focus, null, main.$border-color-default-focus);\n &[data-invalid] {\n @include main.pn-focus-visible(main.$border-color-error, null, main.$border-color-error);\n > .pn-checkbox-outer {\n @include main.pn-focus-visible(transparent);\n }\n }\n > .pn-checkbox-outer {\n @include main.pn-focus-visible(transparent);\n }\n }\n &[data-invalid] > .pn-checkbox-outer {\n @include main.pn-focus-visible(main.$border-color-error);\n }\n }\n\n &:checked {\n + .pn-checkbox {\n > .pn-checkbox-outer {\n background-color: main.$input-button-background-box-active;\n border-color: main.$border-color-default-active;\n\n .pn-checkbox-svg > {\n .pn-checkbox-svg-indeterminate {\n stroke-dashoffset: 23;\n }\n .pn-checkbox-svg-checkmark {\n transition-delay: main.$timing;\n stroke-dashoffset: 0;\n }\n }\n }\n\n &[data-tile] {\n background-color: main.$input-button-background-active;\n border-color: main.$border-color-default-active;\n &[data-invalid] {\n background-color: main.$input-background-error-active;\n border-color: main.$border-color-error-active;\n }\n }\n\n &[data-invalid] > .pn-checkbox-outer {\n background-color: main.$input-button-active-error;\n border-color: main.$border-color-error;\n }\n }\n\n &:hover + .pn-checkbox {\n &[data-tile] {\n border-color: main.$input-button-active-hover;\n }\n > .pn-checkbox-outer {\n background-color: main.$input-button-active-focus;\n border-color: main.$input-button-active-focus;\n }\n &[data-invalid] {\n border-color: main.$input-button-active-error-focus;\n > .pn-checkbox-outer {\n background-color: main.$input-button-active-error-focus;\n border-color: main.$input-button-active-error-focus;\n }\n }\n }\n }\n\n &:indeterminate {\n + .pn-checkbox {\n > .pn-checkbox-outer {\n background-color: main.$input-button-background-box-active;\n border-color: main.$input-button-background-box-active;\n .pn-checkbox-svg > {\n .pn-checkbox-svg-checkmark {\n stroke-dashoffset: 23;\n }\n .pn-checkbox-svg-indeterminate {\n stroke-dashoffset: 0;\n }\n }\n }\n\n &[data-invalid] > .pn-checkbox-outer {\n background-color: main.$input-button-active-error;\n border-color: main.$border-color-error;\n }\n }\n\n &:hover + .pn-checkbox {\n > .pn-checkbox-outer {\n background-color: main.$input-button-active;\n border-color: main.$input-button-active;\n }\n &[data-invalid] > .pn-checkbox-outer {\n background-color: main.$input-button-active-error-hover;\n border-color: main.$border-color-error-hover;\n }\n }\n }\n\n &:disabled {\n pointer-events: none;\n + .pn-checkbox {\n .pn-checkbox-label {\n pointer-events: none;\n }\n > .pn-checkbox-outer {\n background-color: main.$input-background-disabled;\n border-color: main.$border-color-default;\n }\n\n &[data-tile] {\n background-color: main.$input-background-disabled;\n border-color: main.$border-color-disabled;\n > pn-icon > .pn-icon-svg path {\n fill: main.$input-color-disabled;\n }\n > .pn-checkbox-content > .pn-checkbox-label {\n color: main.$input-color-disabled;\n }\n }\n }\n\n &:checked + .pn-checkbox > .pn-checkbox-outer {\n background-color: main.$input-button-disabled;\n border-color: main.$input-border-disabled;\n }\n\n &:indeterminate + .pn-checkbox > .pn-checkbox-outer {\n background-color: main.$input-button-disabled;\n border-color: main.$input-border-disabled;\n }\n }\n}\n","import { uuidv4 } from '@/globals/helpers';\nimport { Component, Element, h, Host, Prop, Watch, Mixin } from '@stencil/core';\nimport { animateHeightFactory } from '@/globals/mixins';\n\n/**\n * The `pn-checkbox` is built with a native `input[type=\"checkbox\"]` in the background.\n * This means you can use native events to listen to the changes.\n *\n * @nativeChange Use the `change` event to listen when the checkbox state is being toggled.\n *\n * @slot - The default slot for adding custom HTML under the label/helpertext. {@since v7.17.0}\n * @slot helpertext - Use this slot to add custom HTML inside of the helpertext element.\n * Only recommended if you need a link without the `tile` prop. {@since v7.17.0}\n * @slot content - When using the `tile` and `expand` props, this slot will be revealed when the input is checked. {@since v7.17.0}\n */\n@Component({\n tag: 'pn-checkbox',\n styleUrl: 'pn-checkbox.scss',\n})\nexport class PnCheckbox extends Mixin(animateHeightFactory) {\n private readonly id: string = `pn-checkbox-${uuidv4()}`;\n private idHelpertext: string = `${this.id}-helpertext`;\n\n private contentArea: HTMLElement;\n\n @Element() hostElement: HTMLElement;\n\n /** The checkbox label */\n @Prop() label?: string;\n /** This adds an optional helpertext under the label. */\n @Prop() helpertext?: string;\n\n /** This will be emitted on change and input events. */\n @Prop({ reflect: true }) value!: string;\n /** The name of the checkbox group. */\n @Prop() name?: string;\n /** Check the checkbox. */\n @Prop({ mutable: true }) checked?: boolean = false;\n /** A unique HTML ID for the checkbox. */\n @Prop() checkboxid?: string = this.id;\n\n /** Set the checkbox as required. @category State */\n @Prop() required?: boolean = false;\n /** Disable the checkbox. @category State */\n @Prop() disabled?: boolean = false;\n /** If set to true, color scheme will turn red, indicating that there is an issue or incorrect input related the checkbox. @category State */\n @Prop() invalid?: boolean = false;\n /** Sets the checkbox to an indeterminate state, allowing for a mixed or intermediate checkbox state. @category State */\n @Prop({ mutable: true }) indeterminate: boolean = false;\n\n /**\n * Turn the checkbox into a clickable tile. A border and padding is added.\n *\n * **Do not** use interactive elements (links/buttons) inside of the slots when using this prop.\n * An exception is made when using the `tile` + `expand` props together,\n * which allows you to use interactive elements.\n *\n * @category Tile\n */\n @Prop() tile?: boolean = false;\n /**\n * Allow the checkbox to control the slot area \"content\".\n * When checked, the area is visible, when unchecked, the area is hidden.\n *\n * The prop `tile` must be used at the same time.\n * @see {@link tile}\n * @since v7.17.0\n * @category Tile\n */\n @Prop() expand?: boolean = false;\n /**\n * Add an icon on the right of your checkbox tile. The `tile` prop must be `true` for the icon to work.\n * @see {@link tile}\n * @category Tile\n */\n @Prop() icon?: string = null;\n\n @Watch('checkboxid')\n handleId() {\n this.idHelpertext = `${this.checkboxid}-helpertext`;\n }\n\n @Watch('checked')\n handleChecked() {\n if (this.displayContent()) {\n this.checked ? this.openDropdown(this.contentArea) : this.closeDropdown(this.contentArea);\n }\n }\n\n componentWillLoad() {\n this.handleId();\n }\n\n componentDidLoad() {\n if (this.displayContent() && this.checked) {\n requestAnimationFrame(() => this.openDropdown(this.contentArea));\n }\n }\n\n private handleChange(e: Event) {\n const { checked } = e.target as HTMLInputElement;\n this.indeterminate = false;\n this.checked = checked;\n }\n\n private isInvalid(): boolean {\n return this.invalid && !this.disabled;\n }\n\n private displayText(): boolean {\n return this.displayLabel() || this.displayHelpertext();\n }\n\n private displayLabel(): boolean {\n return !!this.label;\n }\n\n private displayHelpertext(): boolean {\n return !!(this.helpertext || this.hostElement.querySelector('[slot=\"helpertext\"]')?.textContent);\n }\n\n private displayIcon(): boolean {\n return this.tile && !!this.icon;\n }\n\n private displayContent(): boolean {\n return this.tile && this.expand;\n }\n\n render() {\n return (\n <Host>\n <input\n type=\"checkbox\"\n id={this.checkboxid}\n class=\"pn-checkbox-input\"\n value={this.value}\n name={this.name}\n disabled={this.disabled}\n checked={this.checked}\n required={this.required}\n indeterminate={this.indeterminate}\n aria-invalid={this.isInvalid()?.toString()}\n aria-describedby={this.helpertext && this.idHelpertext}\n data-tile={this.tile}\n data-expand={this.expand}\n onChange={e => this.handleChange(e)}\n />\n <div class=\"pn-checkbox\" data-tile={this.tile} data-expand={this.expand} data-invalid={this.isInvalid()}>\n <div class=\"pn-checkbox-outer\">\n <svg class=\"pn-checkbox-svg\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <polyline\n class=\"pn-checkbox-svg-line pn-checkbox-svg-checkmark\"\n points=\"4,12 9,17 20,6\"\n stroke-width=\"3\"\n />\n <polyline\n class=\"pn-checkbox-svg-line pn-checkbox-svg-indeterminate\"\n points=\"4,12 20,12\"\n stroke-width=\"3\"\n />\n </svg>\n </div>\n\n <p class=\"pn-checkbox-content\" hidden={!this.displayText()}>\n <label htmlFor={this.checkboxid} class=\"pn-checkbox-label\" hidden={!this.displayLabel()}>\n {this.label}\n </label>\n <span id={this.idHelpertext} class=\"pn-checkbox-helpertext\" hidden={!this.displayHelpertext()}>\n {this.helpertext}\n <slot name=\"helpertext\"></slot>\n </span>\n <slot></slot>\n </p>\n\n {this.displayIcon() && <pn-icon icon={this.icon} color=\"gray900\" />}\n\n <div\n class=\"pn-checkbox-container\"\n data-open={this.checked}\n hidden={!this.displayContent()}\n style={{ height: '0px' }}\n ref={el => (this.contentArea = el)}\n >\n <div class=\"pn-checkbox-area\">\n <slot name=\"content\"></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"names":["Mixin","animateHeightFactory","uuidv4","h","Host"],"mappings":";;;;;;;;;;AAAA,MAAM,aAAa,GAAG,o5MAAo5M;;ACmB75M,MAAA,UAAW,GAAA,cAAQA,WAAK,CAACC,4BAAoB,CAAC,CAAA;;;;;AACxC,IAAA,EAAE,GAAW,CAAA,YAAA,EAAeC,cAAM,EAAE,EAAE;AAC/C,IAAA,YAAY,GAAW,CAAG,EAAA,IAAI,CAAC,EAAE,aAAa;AAE9C,IAAA,WAAW;;;AAKX,IAAA,KAAK;;AAEL,IAAA,UAAU;;AAGO,IAAA,KAAK;;AAEtB,IAAA,IAAI;;IAEa,OAAO,GAAa,KAAK;;AAE1C,IAAA,UAAU,GAAY,IAAI,CAAC,EAAE;;IAG7B,QAAQ,GAAa,KAAK;;IAE1B,QAAQ,GAAa,KAAK;;IAE1B,OAAO,GAAa,KAAK;;IAER,aAAa,GAAY,KAAK;AAEvD;;;;;;;;AAQG;IACK,IAAI,GAAa,KAAK;AAC9B;;;;;;;;AAQG;IACK,MAAM,GAAa,KAAK;AAChC;;;;AAIG;IACK,IAAI,GAAY,IAAI;IAG5B,QAAQ,GAAA;QACN,IAAI,CAAC,YAAY,GAAG,CAAA,EAAG,IAAI,CAAC,UAAU,aAAa;;IAIrD,aAAa,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C,WAAW,GAAG,EAAE,CAAC,EAAA,EAElCA,OAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAA,EAC3BA,OAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,CAAQ,CACxB,CACF,CACF,CACD;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-choice-chip.entry.cjs.js","sources":["src/components/input/pn-choice-chip/pn-choice-chip.scss?tag=pn-choice-chip","src/components/input/pn-choice-chip/pn-choice-chip.tsx"],"sourcesContent":["@use 'src/globals/main';\n\npn-choice-chip {\n display: inline-block;\n}\n\npn-choice-chip .pn-choice-chip {\n position: relative;\n font-size: 1em;\n font-weight: 500;\n text-align: center;\n\n &-container {\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n gap: 0;\n padding: 0.5em 1em;\n border: main.$input-border;\n border-radius: 0.5em;\n background-color: main.$input-background;\n @include main.pn-transition('border-color, outline-color, background-color, padding, gap');\n @include main.pn-focus-base;\n\n &[data-icon] {\n gap: 0.25em;\n padding-left: 0.75em;\n &[data-small] {\n padding-left: 0.5em;\n }\n &[data-large] {\n padding-left: 1em;\n }\n > .pn-choice-chip-icon {\n width: 1.5em;\n }\n }\n\n &[data-small] {\n padding: 0.25em 0.75em;\n .pn-choice-chip-label {\n line-height: 1.25em;\n > span {\n font-size: 0.875em;\n }\n }\n }\n\n &[data-large] {\n padding: 0.625em 1.25em;\n }\n }\n\n &-icon {\n position: relative;\n width: 0;\n height: 1.5em;\n @include main.pn-transition('width');\n pn-icon {\n opacity: 0;\n transform: scale(0);\n position: absolute;\n top: 0;\n left: 0;\n @include main.pn-transition('transform, opacity');\n\n &.pn-choice-chip-icon-user {\n opacity: 1;\n transform: scale(1);\n }\n }\n }\n\n &-label {\n color: main.$input-chip-color;\n line-height: 1.5em;\n @include main.pn-transition('color');\n cursor: pointer;\n display: flex;\n align-items: center;\n flex-grow: 1;\n height: 100%;\n }\n\n > input {\n position: absolute;\n z-index: 1;\n opacity: 0;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n cursor: pointer;\n\n &:not(:checked) ~ .pn-choice-chip-container > .pn-choice-chip-icon > .pn-choice-chip-icon-user {\n transform: scale(1);\n opacity: 1;\n }\n\n &:hover ~ .pn-choice-chip-container {\n background-color: main.$blue25;\n border-color: main.$blue700;\n\n .pn-choice-chip-icon {\n &-user,\n &-check {\n .pn-icon-svg path {\n fill: main.$blue700;\n }\n }\n }\n\n .pn-choice-chip-label {\n color: main.$blue700;\n }\n }\n\n &:checked {\n ~ .pn-choice-chip-container {\n gap: 0.25em;\n background-color: main.$blue50;\n border-color: main.$border-color-default-active;\n > .pn-choice-chip-icon {\n width: 1.5em;\n stroke-dashoffset: 23;\n\n > .pn-choice-chip-icon-check {\n transform: scale(1);\n opacity: 1;\n }\n > .pn-choice-chip-icon-user {\n transform: scale(0);\n opacity: 0;\n }\n }\n > .pn-choice-chip-label {\n color: main.$input-chip-color-active;\n }\n }\n &:hover ~ .pn-choice-chip-container {\n background-color: main.$blue25;\n border-color: main.$input-button-active-hover;\n > .pn-choice-chip-icon > .pn-choice-chip-icon-check path {\n fill: main.$input-button-active;\n }\n > .pn-choice-chip-label {\n color: main.$input-button-active;\n }\n }\n }\n\n &:focus-visible ~ .pn-choice-chip-container {\n @include main.pn-focus-visible(main.$border-color-default-active);\n border-color: main.$border-color-default-active;\n }\n\n &:disabled {\n cursor: not-allowed;\n &:active ~ .pn-choice-chip-container {\n outline: none;\n }\n ~ .pn-choice-chip-container {\n background-color: main.$input-background-disabled;\n border-color: main.$border-color-disabled;\n cursor: not-allowed;\n .pn-choice-chip-label {\n color: main.$input-color-disabled;\n cursor: not-allowed;\n }\n pn-icon .pn-icon-svg path {\n fill: main.$input-color-disabled;\n }\n }\n }\n }\n}\n","import { Component, Prop, h, Host, Element, State } from '@stencil/core';\nimport { uuidv4 } from '@/globals/helpers';\nimport { check } from 'pn-design-assets/pn-assets/icons.js';\n\n/**\n * The `pn-choice-chip` is built with a native `input[type=\"checkbox|radio\"]` in the background.\n * This means you can use native events to listen to the changes.\n *\n * @nativeChange Use the `change` event to listen when the choice chip state is being toggled. Works for both checkbox/radio variant.\n */\n@Component({\n tag: 'pn-choice-chip',\n styleUrl: 'pn-choice-chip.scss',\n})\nexport class PnChoiceChip {\n @Element() hostElement: HTMLElement;\n\n @State() moving: boolean = false;\n\n /** The choice chip label */\n @Prop() label!: string;\n /** This will be emitted on change and input */\n @Prop({ reflect: true }) value!: string;\n /** The name of the checkbox group */\n @Prop() name?: string;\n /** Precheck the choice chip */\n @Prop({ mutable: true }) checked?: boolean = false;\n /** Make the choice chip a radio */\n @Prop() radio: boolean = false;\n /** A unique HTML id */\n @Prop() choiceid: string = `pn-choice-chip-${uuidv4()}`;\n\n /** Include an icon */\n @Prop() icon?: string;\n\n /** Set the choice chip as required. @category State */\n @Prop() required: boolean = false;\n /** Disable the choice chip. @category State */\n @Prop() disabled: boolean = false;\n\n /** Set the size to small. @category Size */\n @Prop() small: boolean = false;\n /** Set the size to large. @category Size */\n @Prop() large: boolean = false;\n\n render() {\n return (\n <Host>\n <div class=\"pn-choice-chip\">\n <input\n type={this.radio ? 'radio' : 'checkbox'}\n id={this.choiceid}\n value={this.value}\n name={this.name}\n checked={this.checked}\n required={this.required}\n disabled={this.disabled}\n />\n <div class=\"pn-choice-chip-container\" data-icon={!!this.icon} data-small={this.small} data-large={this.large}>\n <div class=\"pn-choice-chip-icon\">\n <pn-icon color=\"blue700\" class=\"pn-choice-chip-icon-check\" icon={check} />\n {!!this.icon && <pn-icon color=\"blue700\" class=\"pn-choice-chip-icon-user\" icon={this.icon} />}\n </div>\n <label class=\"pn-choice-chip-label\" htmlFor={this.choiceid}>\n <span>{this.label}</span>\n <slot />\n </label>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"names":["uuidv4","h","Host","check"],"mappings":";;;;;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CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAEE,WAAK,EAAI,CAAA,EACzE,CAAC,CAAC,IAAI,CAAC,IAAI,IAAIF,OAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,SAAS,EAAC,KAAK,EAAC,0BAA0B,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,CACzF,EACNA,OAAO,CAAA,OAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,sBAAsB,EAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAA,EACxDA,OAAO,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAA,IAAI,CAAC,KAAK,CAAQ,EACzBA,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACF,CACJ,CACF,CACD;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pn-counter.entry.cjs.js","sources":["node_modules/pn-design-assets/pn-assets/icons/minus.js","node_modules/pn-design-assets/pn-assets/icons/plus.js","src/components/input/pn-counter/translations.ts","src/components/input/pn-counter/pn-counter.scss?tag=pn-counter","src/components/input/pn-counter/pn-counter.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M2 12a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1\" clip-rule=\"evenodd\"/></svg>';\nexport const minus = icon;\n","const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12 2a1 1 0 0 1 1 1v8h8a1 1 0 1 1 0 2h-8v8a1 1 0 1 1-2 0v-8H3a1 1 0 1 1 0-2h8V3a1 1 0 0 1 1-1\" clip-rule=\"evenodd\"/></svg>';\nexport const plus = icon;\n","export const translations = {\n DECREASE: {\n en: 'Decrease',\n sv: 'Minska',\n da: 'Reducere',\n fi: 'Vähentää',\n no: 'Redusere',\n },\n INCREASE: {\n en: 'Increase',\n sv: 'Öka',\n da: 'Øge',\n fi: 'Lisääntyä',\n no: 'Øke',\n },\n MAX_VALUE_MESSAGE: {\n en: 'Maximum value is ',\n sv: 'Högsta värde är ',\n da: 'Højeste værdi er',\n fi: 'Korkein arvo on',\n no: 'Høyeste verdi er',\n },\n MIN_VALUE_MESSAGE: {\n en: 'Minimum value is ',\n sv: 'Lägsta värde är ',\n da: 'Laveste værdi er ',\n fi: 'Pienin arvo on ',\n no: 'Laveste verdi er ',\n },\n};\n","@use 'src/globals/main';\n\npn-counter {\n display: inline-block;\n}\n\npn-counter .pn-counter {\n display: inline-flex;\n flex-direction: column;\n\n &-label {\n @include main.pn-input-label;\n }\n\n &-input {\n --pn-counter-ch: 0ch;\n @include main.pn-input-field;\n text-align: center;\n width: 100%;\n max-width: calc(3.5em + var(--pn-counter-ch));\n\n @include main.pn-focus;\n\n &:read-only {\n @include main.pn-readonly;\n }\n\n &:disabled {\n @include main.pn-disabled;\n }\n\n &::-webkit-inner-spin-button,\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n\n &[type='number'] {\n appearance: textfield;\n }\n }\n\n &-items {\n display: inline-flex;\n flex-direction: row;\n gap: 0.5em;\n @include main.pn-transition('gap');\n\n &[data-hidebuttons] {\n gap: 0;\n > pn-button {\n transform: scale(0) translateZ(0);\n width: 0;\n }\n }\n\n > pn-button {\n transform: scale(1) translateZ(0);\n transform-origin: center center;\n width: 3em;\n @include main.pn-transition('transform, width');\n }\n }\n\n &-helpertext {\n @include main.pn-input-helpertext;\n }\n\n //hidden element with aria-live containing updates for screen reader\n @include main.pn-sr-only-class;\n}\n","import { Component, Element, Event, EventEmitter, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { uuidv4, en, awaitTopbar } from '@/globals/helpers';\nimport { minus, plus } from 'pn-design-assets/pn-assets/icons.js';\nimport { PnLanguages } from '@/globals/types';\nimport { translations } from './translations';\n\n/**\n * The `pn-counter` is an input with a button on each side that can be used to increase and decrease the input value.\n *\n * @nativeInput Use the `input` event to listen to content being modified by the user. It is emitted everytime a user writes or removes content in the input.\n * @nativeChange The `change` event is emitted when the input loses focus, the user clicks `Enter` or makes a selection (such as auto complete or suggestions).\n */\n@Component({\n tag: 'pn-counter',\n styleUrl: 'pn-counter.scss',\n})\nexport class PnCounter {\n id: string = `pn-counter-${uuidv4()}`;\n\n idLabel: string = `${this.id}-label`;\n idText: string = `${this.id}-text`;\n idAmount: string = `${this.id}-count`;\n\n counterElement: HTMLInputElement;\n\n @Element() hostElement: HTMLElement;\n\n @State() clearAriaTimer: NodeJS.Timeout;\n @State() displaySrValue: boolean = false;\n @State() showMinMaxMessage: boolean = false;\n /** Prevent double events when reaching min/max values. */\n @State() lastDispatchedValue: number;\n @State() interactType: 'input' | 'decrease' | 'increase';\n\n /** Label for the counter */\n @Prop() label!: string;\n /** Set a helpertext for the counter. */\n @Prop() helpertext?: string;\n /** Set a predefined value */\n @Prop({ mutable: true, reflect: true }) value: number = 0;\n /** Set a unique HTML ID for the counter */\n @Prop() counterid: string = this.id;\n /** Set the language manually for the built in translations. */\n @Prop() language?: PnLanguages = null;\n\n /** Text for the decrease button. Default is \"Decrease\". @category Translation */\n @Prop() labelDecrease?: string;\n /** Text for the increase button. Default is \"Increase\". @category Translation */\n @Prop() labelIncrease?: string;\n /** Set a message that shows below input when user wants to set a value that is below `min`. Default is \"Minimum value is x\" @category Translation */\n @Prop() minMessage?: string;\n /** Set a message that shows below input when user wants to set a value that is above `max`. Default is \"Maximum value is x\" @category Translation */\n @Prop() maxMessage?: string;\n\n /** HTML input name. @category HTML input */\n @Prop() name?: string;\n /** Minimum value. @category HTML input */\n @Prop() min: number;\n /** Maximum value. @category HTML input */\n @Prop() max: number;\n /** Increase/decrease the value in steps, default is 1. @category HTML input */\n @Prop() step: number = 1;\n /** Suggest values for the counter input. @category HTML input */\n @Prop() list?: string;\n\n /** Set the counter as required. @category State */\n @Prop() required: boolean = false;\n /** Set the counter as readonly. @category State */\n @Prop() readonly: boolean = false;\n /** Set the counter as disabled. @category State */\n @Prop() disabled: boolean = false;\n\n /**\n * Instead of listening to multiple input, change and/or click events, we bundled them into one.\n * - `value` is the current counter value.\n * - `input` is true if the user changed the value with the HTML input.\n * - `decrease` is true if the user clicked on the decrease button.\n * - `increase` is true if the user clicked on the increase button.\n */\n @Event() counterInput: EventEmitter<{ value: number; input?: boolean; decrease?: boolean; increase?: boolean }>;\n\n @Watch('value')\n watchValue() {\n this.showSrContent();\n\n this.showMinMaxMessage = false;\n\n if (this.hasMin() && this.value < this.min) {\n this.setMin();\n this.showMinMaxMessage = true;\n }\n\n if (this.hasMax() && this.value > this.max) {\n this.setMax();\n this.showMinMaxMessage = true;\n }\n\n if (this.lastDispatchedValue !== this.value)\n this.counterInput.emit({\n value: this.value,\n input: this.interactType === 'input',\n decrease: this.interactType === 'decrease',\n increase: this.interactType === 'increase',\n });\n\n this.lastDispatchedValue = this.value;\n\n this.handleInputLength();\n }\n\n @Watch('counterid')\n handleId() {\n this.idLabel = `${this.counterid}-label`;\n this.idText = `${this.counterid}-text`;\n this.idAmount = `${this.counterid}-count`;\n }\n\n async componentWillLoad() {\n this.handleId();\n if (this.language) return;\n await awaitTopbar(this.hostElement);\n }\n\n componentDidLoad() {\n this.counterElement = this.hostElement.querySelector<HTMLInputElement>('.pn-counter-input');\n this.handleInputLength();\n }\n\n setVal(event: InputEvent) {\n const { valueAsNumber } = event.target as HTMLInputElement;\n\n if (isNaN(valueAsNumber)) return;\n\n this.interactType = 'input';\n this.value = valueAsNumber;\n }\n\n setMin() {\n if (this.hasMin()) this.value = this.min;\n }\n\n setMax() {\n if (this.hasMax()) this.value = this.max;\n }\n\n hasMin(): boolean {\n return typeof this.min === 'number';\n }\n\n hasMax(): boolean {\n return typeof this.max === 'number';\n }\n\n decreaseAmount() {\n if (this.hasMin() && this.value <= this.min) this.showMinMaxMessage = true;\n\n this.interactType = 'decrease';\n this.value = this.value - this.step;\n }\n\n increaseAmount() {\n if (this.hasMax() && this.value >= this.max) this.showMinMaxMessage = true;\n\n this.interactType = 'increase';\n this.value = this.value + this.step;\n }\n\n keyBoardInput(event: KeyboardEvent) {\n event.stopImmediatePropagation();\n\n if (!/^(Home|End)$/.test(event.key)) return;\n\n event.preventDefault();\n\n this.interactType = 'input';\n if (event.key === 'Home') this.setMin();\n if (event.key === 'End') this.setMax();\n }\n\n showSrContent() {\n if (this.clearAriaTimer) {\n clearTimeout(this.clearAriaTimer);\n }\n\n this.displaySrValue = true;\n\n this.clearAriaTimer = setTimeout(() => {\n this.displaySrValue = false;\n }, 4000);\n }\n\n toggleMinMaxMessage(): string {\n const isMax = this.value === this.max;\n const i18ntxt = `${isMax ? 'MAX' : 'MIN'}_VALUE_MESSAGE`;\n\n const message = this.translate(i18ntxt) + `${isMax ? this.max : this.min}`.toString();\n\n return isMax ? this.maxMessage || message : this.minMessage || message;\n }\n\n getTextMessage(showValue: boolean = false): string {\n if (this.showMinMaxMessage) return this.toggleMinMaxMessage();\n return showValue ? this.value.toString() : this.helpertext;\n }\n\n describedbyIds(): string {\n const list = [];\n if (this.helpertext) list.push(this.idText);\n if (this.displaySrValue) list.push(this.idAmount);\n if (list.length === 0) return null;\n return list.join(' ');\n }\n\n translate(prop: string): string {\n return translations?.[prop]?.[this.language || en];\n }\n\n noButtons(): boolean {\n return this.disabled || this.readonly;\n }\n\n handleInputLength() {\n const ch = this.max ? this.max.toString() : this.value.toString();\n if (ch.length > 3) this.counterElement.style.setProperty('--pn-counter-ch', `${ch.length - 3}ch`);\n else this.counterElement.style.setProperty('--pn-counter-ch', '0ch');\n }\n\n render() {\n return (\n <Host>\n <div class=\"pn-counter\" role=\"group\" aria-labelledby={this.idLabel} aria-describedby={this.describedbyIds()}>\n <label htmlFor={this.counterid} class=\"pn-counter-label\" id={this.idLabel}>\n <span>{this.label}</span>\n </label>\n <div class=\"pn-counter-items\" data-hidebuttons={this.noButtons()}>\n <pn-button\n data-decrease\n appearance=\"light\"\n variant=\"outlined\"\n no-tab={this.noButtons()}\n icon={minus}\n iconOnly={true}\n arialabel={this.labelDecrease || this.translate('DECREASE')}\n onClick={() => this.decreaseAmount()}\n />\n <input\n id={this.counterid}\n class=\"pn-counter-input\"\n type=\"number\"\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.value}\n name={this.name}\n required={this.required}\n readonly={this.readonly}\n disabled={this.disabled}\n aria-describedby={this.describedbyIds()}\n onInput={e => this.setVal(e)}\n onKeyDown={(e: KeyboardEvent) => this.keyBoardInput(e)}\n />\n <pn-button\n data-increase\n appearance=\"light\"\n variant=\"outlined\"\n no-tab={this.noButtons()}\n icon={plus}\n iconOnly={true}\n arialabel={this.labelIncrease || this.translate('INCREASE')}\n onClick={() => this.increaseAmount()}\n />\n </div>\n\n {!!this.getTextMessage() && (\n <p id={this.idText} class=\"pn-counter-helpertext\">\n <span>{this.getTextMessage()}</span>\n </p>\n )}\n\n <p id={this.idAmount} class=\"pn-counter-sr-only\" aria-live=\"assertive\">\n {this.displaySrValue ? this.getTextMessage(true) : ''}\n </p>\n </div>\n </Host>\n );\n }\n}\n"],"names":["icon","uuidv4","awaitTopbar","en","h","Host"],"mappings":";;;;;;;;;AAAA,MAAMA,MAAI,GAAG,wNAAwN;AAC9N,MAAM,KAAK,GAAGA,MAAI;;ACDzB,MAAM,IAAI,GAAG,iQAAiQ;AACvQ,MAAM,IAAI,GAAG,IAAI;;ACDjB,MAAM,YAAY,GAAG;AAC1B,IAAA,QAAQ,EAAE;AACR,QAAA,EAAE,EAAE,UAAU;AACd,QAAA,EAAE,EAAE,QAAQ;AACZ,QAAA,EAAE,EAAE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