@postnord/pn-marketweb-components 4.3.5 → 4.3.7

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 (421) hide show
  1. package/cjs/{convert-9361e443.js → convert-aa209554.js} +27 -17
  2. package/cjs/convert-aa209554.js.map +1 -0
  3. package/cjs/pn-find-price.cjs.entry.js +1 -1
  4. package/cjs/pn-find-service-and-price.cjs.entry.js +1 -1
  5. package/cjs/pn-product-pricelist.cjs.entry.js +1 -1
  6. package/cjs/pn-teaser-card.cjs.entry.js +1 -1
  7. package/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
  8. package/collection/components/cards/pn-teaser-card/pn-teaser-card.css +2 -2
  9. package/collection/components/layout-components/pn-marketweb-header/pn-marketweb-header-salesforce-loader.stories.js +479 -0
  10. package/collection/components/layout-components/pn-marketweb-header/pn-marketweb-header-salesforce-loader.stories.js.map +1 -0
  11. package/components/convert.js +26 -16
  12. package/components/convert.js.map +1 -1
  13. package/components/pn-teaser-card.js +1 -1
  14. package/components/pn-teaser-card.js.map +1 -1
  15. package/esm/{convert-ecca01b6.js → convert-a9a18794.js} +27 -17
  16. package/esm/convert-a9a18794.js.map +1 -0
  17. package/esm/pn-find-price.entry.js +1 -1
  18. package/esm/pn-find-service-and-price.entry.js +1 -1
  19. package/esm/pn-product-pricelist.entry.js +1 -1
  20. package/esm/pn-teaser-card.entry.js +1 -1
  21. package/esm/pn-teaser-card.entry.js.map +1 -1
  22. package/package.json +1 -1
  23. package/pn-market-web-components/p-00e6bb4b.js +2 -0
  24. package/pn-market-web-components/p-00e6bb4b.js.map +1 -0
  25. package/pn-market-web-components/{p-c4059cc1.entry.js → p-181e40ee.entry.js} +2 -2
  26. package/pn-market-web-components/{p-6d263c6e.entry.js → p-96d81eb2.entry.js} +2 -2
  27. package/pn-market-web-components/p-96d81eb2.entry.js.map +1 -0
  28. package/pn-market-web-components/{p-f8ccc718.entry.js → p-a0d7154f.entry.js} +2 -2
  29. package/pn-market-web-components/{p-413afe7c.entry.js → p-c18154a4.entry.js} +2 -2
  30. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  31. package/types/components/layout-components/pn-marketweb-header/pn-marketweb-header-salesforce-loader.stories.d.ts +11 -0
  32. package/umd/modules/@postnord/web-components/cem.json +12220 -0
  33. package/umd/modules/@postnord/web-components/cjs/{index-CfUQZtlH.js → index-DWu-2oJc.js} +144 -85
  34. package/umd/modules/@postnord/web-components/cjs/{index-CNdVg5VI.js → index-vOySuOUW.js} +1 -1
  35. package/umd/modules/@postnord/web-components/cjs/index.cjs.js +18 -16
  36. package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +2 -2
  37. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +2 -2
  38. package/umd/modules/@postnord/web-components/cjs/pn-accordion.cjs.entry.js +5 -4
  39. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +6 -6
  40. package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.cjs.entry.js +1 -1
  41. package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +3 -3
  42. package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +4 -4
  43. package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +63 -21
  44. package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +38 -18
  45. package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +71 -37
  46. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +185 -103
  47. package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +33 -27
  48. package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +73 -42
  49. package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +2 -2
  50. package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +2 -2
  51. package/umd/modules/@postnord/web-components/cjs/pn-icon_2.cjs.entry.js +8 -10
  52. package/umd/modules/@postnord/web-components/cjs/pn-illustration.cjs.entry.js +3 -3
  53. package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +122 -89
  54. package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +24 -12
  55. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +136 -52
  56. package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +2 -2
  57. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +3 -3
  58. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +3 -3
  59. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +3 -3
  60. package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +4 -4
  61. package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +2 -2
  62. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +3 -3
  63. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +3 -3
  64. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +2 -2
  65. package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +61 -20
  66. package/umd/modules/@postnord/web-components/cjs/pn-range.cjs.entry.js +88 -43
  67. package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.cjs.entry.js +1 -1
  68. package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +42 -25
  69. package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +16 -11
  70. package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +21 -21
  71. package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +90 -35
  72. package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +15 -10
  73. package/umd/modules/@postnord/web-components/cjs/pn-table.cjs.entry.js +1 -1
  74. package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +5 -4
  75. package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +2 -2
  76. package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +88 -34
  77. package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +3 -3
  78. package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +5 -5
  79. package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +56 -20
  80. package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +2 -2
  81. package/umd/modules/@postnord/web-components/cjs/pn-wizard.cjs.entry.js +71 -49
  82. package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +3 -3
  83. package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +3 -3
  84. package/umd/modules/@postnord/web-components/collection/collection-manifest.json +4 -1
  85. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.css +1 -10
  86. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/pn-accordion.js +5 -4
  87. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.css +13 -9
  88. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.js +12 -14
  89. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.css +6 -2
  90. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.js +7 -1
  91. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.css +4 -1
  92. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js +71 -13
  93. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js +1 -1
  94. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js +1 -1
  95. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js +1 -1
  96. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js +1 -1
  97. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js +1 -1
  98. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js +1 -1
  99. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js +1 -1
  100. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.css +5 -5
  101. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.js +70 -45
  102. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.css +3 -1
  103. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +213 -52
  104. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.css +1 -1
  105. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js +128 -68
  106. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +305 -154
  107. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +562 -275
  108. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.css +21 -16
  109. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +114 -54
  110. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.css +37 -50
  111. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +159 -97
  112. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/translation.js +7 -0
  113. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.css +1 -1
  114. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +415 -264
  115. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.css +13 -24
  116. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +316 -131
  117. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.css +3 -1
  118. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +223 -63
  119. package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.css +3 -0
  120. package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js +357 -191
  121. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.css +6 -9
  122. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +177 -90
  123. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.css +1 -1
  124. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +24 -24
  125. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +84 -37
  126. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.css +18 -14
  127. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +237 -90
  128. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.css +6 -5
  129. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +255 -115
  130. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.css +5 -3
  131. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +216 -68
  132. package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +1 -1
  133. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.css +2 -2
  134. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -1
  135. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +1 -1
  136. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -1
  137. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -1
  138. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +1 -1
  139. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +1 -1
  140. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +4 -3
  141. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.css +3 -3
  142. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +11 -6
  143. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -1
  144. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -1
  145. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +1 -1
  146. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +1 -1
  147. package/umd/modules/@postnord/web-components/collection/globals/helpers.js +16 -14
  148. package/umd/modules/@postnord/web-components/components/helpers.js +1 -1
  149. package/umd/modules/@postnord/web-components/components/pn-accordion.js +1 -1
  150. package/umd/modules/@postnord/web-components/components/pn-action-menu.js +1 -1
  151. package/umd/modules/@postnord/web-components/components/pn-card.js +1 -1
  152. package/umd/modules/@postnord/web-components/components/pn-checkbox.js +1 -1
  153. package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -1
  154. package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -1
  155. package/umd/modules/@postnord/web-components/components/pn-date-picker.js +1 -1
  156. package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -1
  157. package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -1
  158. package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -1
  159. package/umd/modules/@postnord/web-components/components/pn-header.js +1 -1
  160. package/umd/modules/@postnord/web-components/components/pn-icon2.js +1 -1
  161. package/umd/modules/@postnord/web-components/components/pn-illustration2.js +1 -1
  162. package/umd/modules/@postnord/web-components/components/pn-input2.js +1 -1
  163. package/umd/modules/@postnord/web-components/components/pn-modal.js +1 -1
  164. package/umd/modules/@postnord/web-components/components/pn-multiselect.js +1 -1
  165. package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
  166. package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -1
  167. package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -1
  168. package/umd/modules/@postnord/web-components/components/pn-page-nav.js +1 -1
  169. package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -1
  170. package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js +1 -1
  171. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -1
  172. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js +1 -1
  173. package/umd/modules/@postnord/web-components/components/pn-progress-stepper2.js +1 -1
  174. package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
  175. package/umd/modules/@postnord/web-components/components/pn-range.js +1 -1
  176. package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -1
  177. package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
  178. package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -1
  179. package/umd/modules/@postnord/web-components/components/pn-select2.js +1 -1
  180. package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -1
  181. package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
  182. package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -1
  183. package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -1
  184. package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -1
  185. package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
  186. package/umd/modules/@postnord/web-components/components/pn-toast.js +1 -1
  187. package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
  188. package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -1
  189. package/umd/modules/@postnord/web-components/components/pn-wizard.js +1 -1
  190. package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
  191. package/umd/modules/@postnord/web-components/esm/{index-CosyroON.js → index-DyhO6xPY.js} +1 -1
  192. package/umd/modules/@postnord/web-components/esm/{index-CAEP792y.js → index-XKg-ydzH.js} +144 -85
  193. package/umd/modules/@postnord/web-components/esm/index.js +19 -17
  194. package/umd/modules/@postnord/web-components/esm/loader.js +3 -3
  195. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +2 -2
  196. package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js +5 -4
  197. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +6 -6
  198. package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js +1 -1
  199. package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +3 -3
  200. package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +4 -4
  201. package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +63 -21
  202. package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +38 -18
  203. package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +71 -37
  204. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +185 -103
  205. package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +33 -27
  206. package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +73 -42
  207. package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +2 -2
  208. package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +2 -2
  209. package/umd/modules/@postnord/web-components/esm/pn-icon_2.entry.js +8 -10
  210. package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js +3 -3
  211. package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +122 -89
  212. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +24 -12
  213. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +137 -53
  214. package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +2 -2
  215. package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +3 -3
  216. package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +3 -3
  217. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +3 -3
  218. package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +4 -4
  219. package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +2 -2
  220. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +3 -3
  221. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +3 -3
  222. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +2 -2
  223. package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +61 -20
  224. package/umd/modules/@postnord/web-components/esm/pn-range.entry.js +88 -43
  225. package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js +1 -1
  226. package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +42 -25
  227. package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +16 -11
  228. package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +21 -21
  229. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +90 -35
  230. package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +15 -10
  231. package/umd/modules/@postnord/web-components/esm/pn-table.entry.js +1 -1
  232. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +5 -4
  233. package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +2 -2
  234. package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +88 -34
  235. package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +3 -3
  236. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +5 -5
  237. package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +56 -20
  238. package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +2 -2
  239. package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js +71 -49
  240. package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +3 -3
  241. package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +4 -4
  242. package/umd/modules/@postnord/web-components/hydrate/index.js +1715 -940
  243. package/umd/modules/@postnord/web-components/hydrate/index.mjs +1715 -940
  244. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-gnu/package.json +1 -1
  245. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-gnu/rollup.linux-x64-gnu.node +0 -0
  246. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-musl/package.json +1 -1
  247. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node +0 -0
  248. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +3 -2
  249. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +3 -2
  250. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +1 -1
  251. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +1 -1
  252. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +3312 -561
  253. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +1 -1
  254. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +1 -1
  255. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +2 -2
  256. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +1 -1
  257. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +1 -1
  258. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +2 -2
  259. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +1 -1
  260. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-globals/package.json +1 -1
  261. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +246 -179
  262. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +1 -1
  263. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +1 -1
  264. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +1 -1
  265. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +245 -180
  266. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +1 -1
  267. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +59 -22
  268. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +1 -1
  269. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +1 -0
  270. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +1 -1
  271. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +49 -0
  272. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +51 -1
  273. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +26 -0
  274. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +23 -2
  275. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +238 -169
  276. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +1 -1
  277. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +59 -22
  278. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +12 -3
  279. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +59 -22
  280. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +1 -1
  281. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +10 -10
  282. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +1 -1
  283. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +1 -1
  284. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +1 -1
  285. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/460.node-fetch.js +3 -3
  286. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +2 -2
  287. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -1
  288. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +1 -1
  289. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +32 -32
  290. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +4 -4
  291. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +1 -1
  292. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +1 -1
  293. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +1 -1
  294. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +33 -1
  295. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +1 -1
  296. package/umd/modules/@postnord/web-components/package.json +16 -16
  297. package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js +1 -1
  298. package/umd/modules/@postnord/web-components/postnord-web-components/{p-ea50ecd2.entry.js → p-020ee3f4.entry.js} +1 -1
  299. package/umd/modules/@postnord/web-components/postnord-web-components/p-060b6ad2.entry.js +5 -0
  300. package/umd/modules/@postnord/web-components/postnord-web-components/p-0bf70d44.entry.js +5 -0
  301. package/umd/modules/@postnord/web-components/postnord-web-components/p-1ec52623.entry.js +5 -0
  302. package/umd/modules/@postnord/web-components/postnord-web-components/p-27c71f60.entry.js +5 -0
  303. package/umd/modules/@postnord/web-components/postnord-web-components/p-292a7591.entry.js +5 -0
  304. package/umd/modules/@postnord/web-components/postnord-web-components/{p-3d2cac86.entry.js → p-3709c995.entry.js} +1 -1
  305. package/umd/modules/@postnord/web-components/postnord-web-components/p-3db02038.entry.js +5 -0
  306. package/umd/modules/@postnord/web-components/postnord-web-components/{p-2f4ad4a4.entry.js → p-4b9fb0fc.entry.js} +1 -1
  307. package/umd/modules/@postnord/web-components/postnord-web-components/p-506a801d.entry.js +5 -0
  308. package/umd/modules/@postnord/web-components/postnord-web-components/p-518651ad.entry.js +5 -0
  309. package/umd/modules/@postnord/web-components/postnord-web-components/p-54917d9f.entry.js +5 -0
  310. package/umd/modules/@postnord/web-components/postnord-web-components/p-56ade97b.entry.js +5 -0
  311. package/umd/modules/@postnord/web-components/postnord-web-components/p-64207923.entry.js +5 -0
  312. package/umd/modules/@postnord/web-components/postnord-web-components/p-665af57e.entry.js +5 -0
  313. package/umd/modules/@postnord/web-components/postnord-web-components/p-6d85c967.entry.js +5 -0
  314. package/umd/modules/@postnord/web-components/postnord-web-components/p-6e407015.entry.js +5 -0
  315. package/umd/modules/@postnord/web-components/postnord-web-components/{p-01ac1c67.entry.js → p-720b8b90.entry.js} +1 -1
  316. package/umd/modules/@postnord/web-components/postnord-web-components/p-7aea3de5.entry.js +5 -0
  317. package/umd/modules/@postnord/web-components/postnord-web-components/p-7b6ae520.entry.js +5 -0
  318. package/umd/modules/@postnord/web-components/postnord-web-components/p-83d02093.entry.js +5 -0
  319. package/umd/modules/@postnord/web-components/postnord-web-components/p-88344f8d.entry.js +5 -0
  320. package/umd/modules/@postnord/web-components/postnord-web-components/{p-3c96cb61.entry.js → p-895acf7f.entry.js} +1 -1
  321. package/umd/modules/@postnord/web-components/postnord-web-components/p-8cedf2e0.entry.js +5 -0
  322. package/umd/modules/@postnord/web-components/postnord-web-components/p-91c6a8cf.entry.js +5 -0
  323. package/umd/modules/@postnord/web-components/postnord-web-components/p-98a37be9.entry.js +5 -0
  324. package/umd/modules/@postnord/web-components/postnord-web-components/p-9a6c90e4.entry.js +5 -0
  325. package/umd/modules/@postnord/web-components/postnord-web-components/p-9d2ee77a.entry.js +5 -0
  326. package/umd/modules/@postnord/web-components/postnord-web-components/p-9d56fb64.entry.js +5 -0
  327. package/umd/modules/@postnord/web-components/postnord-web-components/{p-BlM_xfdt.js → p-BWAVaTWQ.js} +1 -1
  328. package/umd/modules/@postnord/web-components/postnord-web-components/p-XKg-ydzH.js +6 -0
  329. package/umd/modules/@postnord/web-components/postnord-web-components/p-a1f92f19.entry.js +5 -0
  330. package/umd/modules/@postnord/web-components/postnord-web-components/p-a31d93db.entry.js +5 -0
  331. package/umd/modules/@postnord/web-components/postnord-web-components/p-aa15469e.entry.js +5 -0
  332. package/umd/modules/@postnord/web-components/postnord-web-components/{p-db2b7e5d.entry.js → p-b45e58df.entry.js} +1 -1
  333. package/umd/modules/@postnord/web-components/postnord-web-components/p-b72f9866.entry.js +5 -0
  334. package/umd/modules/@postnord/web-components/postnord-web-components/{p-b0710b87.entry.js → p-b7a2e5b0.entry.js} +1 -1
  335. package/umd/modules/@postnord/web-components/postnord-web-components/p-c09179d6.entry.js +5 -0
  336. package/umd/modules/@postnord/web-components/postnord-web-components/{p-38e44ed0.entry.js → p-ce2c2395.entry.js} +1 -1
  337. package/umd/modules/@postnord/web-components/postnord-web-components/p-d228b929.entry.js +5 -0
  338. package/umd/modules/@postnord/web-components/postnord-web-components/p-d71054df.entry.js +5 -0
  339. package/umd/modules/@postnord/web-components/postnord-web-components/p-d81b4ede.entry.js +5 -0
  340. package/umd/modules/@postnord/web-components/postnord-web-components/p-e11b4af5.entry.js +5 -0
  341. package/umd/modules/@postnord/web-components/postnord-web-components/{p-c4c4c75b.entry.js → p-e5574624.entry.js} +1 -1
  342. package/umd/modules/@postnord/web-components/postnord-web-components/p-e6ad75f9.entry.js +5 -0
  343. package/umd/modules/@postnord/web-components/postnord-web-components/p-e6cd4c7f.entry.js +5 -0
  344. package/umd/modules/@postnord/web-components/postnord-web-components/p-ede550f0.entry.js +5 -0
  345. package/umd/modules/@postnord/web-components/postnord-web-components/p-ef00ef4d.entry.js +5 -0
  346. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -1
  347. package/umd/modules/@postnord/web-components/types/components/buttons/pn-action-menu/pn-action-menu.d.ts +111 -0
  348. package/umd/modules/@postnord/web-components/types/components/content/pn-accordion/pn-accordion.d.ts +2 -2
  349. package/umd/modules/@postnord/web-components/types/components/design-tokens/pn-icon/pn-icon.d.ts +5 -7
  350. package/umd/modules/@postnord/web-components/types/components/design-tokens/pn-illustration/pn-illustration.d.ts +8 -2
  351. package/umd/modules/@postnord/web-components/types/components/feedback/pn-modal/pn-modal.d.ts +17 -6
  352. package/umd/modules/@postnord/web-components/types/components/feedback/pn-toast/pn-toast.d.ts +100 -0
  353. package/umd/modules/@postnord/web-components/types/components/feedback/pn-wizard/pn-wizard.d.ts +6 -1
  354. package/umd/modules/@postnord/web-components/types/components/input/pn-checkbox/pn-checkbox.d.ts +124 -0
  355. package/umd/modules/@postnord/web-components/types/components/input/pn-choice-chip/pn-choice-chip.d.ts +31 -15
  356. package/umd/modules/@postnord/web-components/types/components/input/pn-counter/pn-counter.d.ts +51 -27
  357. package/umd/modules/@postnord/web-components/types/components/input/pn-date-picker/pn-date-picker.d.ts +338 -0
  358. package/umd/modules/@postnord/web-components/types/components/input/pn-fieldset/pn-fieldset.d.ts +24 -15
  359. package/umd/modules/@postnord/web-components/types/components/input/pn-file-upload/pn-file-upload.d.ts +36 -27
  360. package/umd/modules/@postnord/web-components/types/components/input/pn-file-upload/translation.d.ts +7 -0
  361. package/umd/modules/@postnord/web-components/types/components/input/pn-input/pn-input.d.ts +89 -66
  362. package/umd/modules/@postnord/web-components/types/components/input/pn-multiselect/pn-multiselect.d.ts +265 -0
  363. package/umd/modules/@postnord/web-components/types/components/input/pn-radio-button/pn-radio-button.d.ts +124 -0
  364. package/umd/modules/@postnord/web-components/types/components/input/pn-range/pn-range.d.ts +73 -42
  365. package/umd/modules/@postnord/web-components/types/components/input/pn-search-field/pn-search-field.d.ts +32 -21
  366. package/umd/modules/@postnord/web-components/types/components/input/pn-segmented-control/pn-segmented-control.d.ts +19 -18
  367. package/umd/modules/@postnord/web-components/types/components/input/pn-segmented-control/segment/pn-segment.d.ts +12 -9
  368. package/umd/modules/@postnord/web-components/types/components/input/pn-select/pn-select.d.ts +51 -31
  369. package/umd/modules/@postnord/web-components/types/components/input/pn-textarea/pn-textarea.d.ts +58 -27
  370. package/umd/modules/@postnord/web-components/types/components/input/pn-toggle-switch/pn-toggle-switch.d.ts +36 -14
  371. package/umd/modules/@postnord/web-components/types/components.d.ts +1851 -511
  372. package/umd/modules/@postnord/web-components/types/globals/mixins/index.d.ts +21 -0
  373. package/umd/modules/@postnord/web-components/types/stencil-public-runtime.d.ts +23 -2
  374. package/umd/modules/@postnord/web-components/vscode-data.json +218 -38
  375. package/umd/pn-marketweb-salesforce-header.js +95 -0
  376. package/cjs/convert-9361e443.js.map +0 -1
  377. package/esm/convert-ecca01b6.js.map +0 -1
  378. package/pn-market-web-components/p-63ff7fa2.js +0 -2
  379. package/pn-market-web-components/p-63ff7fa2.js.map +0 -1
  380. package/pn-market-web-components/p-6d263c6e.entry.js.map +0 -1
  381. package/umd/modules/@postnord/web-components/postnord-web-components/p-0dd15cc3.entry.js +0 -5
  382. package/umd/modules/@postnord/web-components/postnord-web-components/p-0e94a4dd.entry.js +0 -5
  383. package/umd/modules/@postnord/web-components/postnord-web-components/p-0ed2ee53.entry.js +0 -5
  384. package/umd/modules/@postnord/web-components/postnord-web-components/p-109ba1fc.entry.js +0 -5
  385. package/umd/modules/@postnord/web-components/postnord-web-components/p-153311c8.entry.js +0 -5
  386. package/umd/modules/@postnord/web-components/postnord-web-components/p-1a3c49ba.entry.js +0 -5
  387. package/umd/modules/@postnord/web-components/postnord-web-components/p-2610f8ab.entry.js +0 -5
  388. package/umd/modules/@postnord/web-components/postnord-web-components/p-267c323e.entry.js +0 -5
  389. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a364778.entry.js +0 -5
  390. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a682ff9.entry.js +0 -5
  391. package/umd/modules/@postnord/web-components/postnord-web-components/p-2cce8a9f.entry.js +0 -5
  392. package/umd/modules/@postnord/web-components/postnord-web-components/p-306ec758.entry.js +0 -5
  393. package/umd/modules/@postnord/web-components/postnord-web-components/p-3d459401.entry.js +0 -5
  394. package/umd/modules/@postnord/web-components/postnord-web-components/p-3deb5a9e.entry.js +0 -5
  395. package/umd/modules/@postnord/web-components/postnord-web-components/p-41c09d4d.entry.js +0 -5
  396. package/umd/modules/@postnord/web-components/postnord-web-components/p-484dfaa4.entry.js +0 -5
  397. package/umd/modules/@postnord/web-components/postnord-web-components/p-50116c0d.entry.js +0 -5
  398. package/umd/modules/@postnord/web-components/postnord-web-components/p-502b8430.entry.js +0 -5
  399. package/umd/modules/@postnord/web-components/postnord-web-components/p-5b7c1333.entry.js +0 -5
  400. package/umd/modules/@postnord/web-components/postnord-web-components/p-67f55491.entry.js +0 -5
  401. package/umd/modules/@postnord/web-components/postnord-web-components/p-838c17b9.entry.js +0 -5
  402. package/umd/modules/@postnord/web-components/postnord-web-components/p-849d48c6.entry.js +0 -5
  403. package/umd/modules/@postnord/web-components/postnord-web-components/p-89aaa3c8.entry.js +0 -5
  404. package/umd/modules/@postnord/web-components/postnord-web-components/p-8b2b6f5d.entry.js +0 -5
  405. package/umd/modules/@postnord/web-components/postnord-web-components/p-93db2b9e.entry.js +0 -5
  406. package/umd/modules/@postnord/web-components/postnord-web-components/p-97ffc4b3.entry.js +0 -5
  407. package/umd/modules/@postnord/web-components/postnord-web-components/p-CAEP792y.js +0 -6
  408. package/umd/modules/@postnord/web-components/postnord-web-components/p-b3c4e3e8.entry.js +0 -5
  409. package/umd/modules/@postnord/web-components/postnord-web-components/p-b8c4423b.entry.js +0 -5
  410. package/umd/modules/@postnord/web-components/postnord-web-components/p-ba59528f.entry.js +0 -5
  411. package/umd/modules/@postnord/web-components/postnord-web-components/p-c0ae367c.entry.js +0 -5
  412. package/umd/modules/@postnord/web-components/postnord-web-components/p-c843ae5e.entry.js +0 -5
  413. package/umd/modules/@postnord/web-components/postnord-web-components/p-d1e27524.entry.js +0 -5
  414. package/umd/modules/@postnord/web-components/postnord-web-components/p-d214e930.entry.js +0 -5
  415. package/umd/modules/@postnord/web-components/postnord-web-components/p-d7091312.entry.js +0 -5
  416. package/umd/modules/@postnord/web-components/postnord-web-components/p-e3fb693e.entry.js +0 -5
  417. package/umd/modules/@postnord/web-components/postnord-web-components/p-e83de0b1.entry.js +0 -5
  418. package/umd/modules/@postnord/web-components/postnord-web-components/p-edc28eee.entry.js +0 -5
  419. /package/pn-market-web-components/{p-c4059cc1.entry.js.map → p-181e40ee.entry.js.map} +0 -0
  420. /package/pn-market-web-components/{p-f8ccc718.entry.js.map → p-a0d7154f.entry.js.map} +0 -0
  421. /package/pn-market-web-components/{p-413afe7c.entry.js.map → p-c18154a4.entry.js.map} +0 -0
@@ -2,12 +2,12 @@
2
2
  * Built with Stencil
3
3
  * By PostNord.
4
4
  */
5
- import { t as transformTag, M as Mixin, r as registerInstance, c as createEvent, g as getElement, h, a as Host } from './index-CAEP792y.js';
6
- import { a as animateHeightFactory } from './index-CosyroON.js';
5
+ import { t as transformTag, M as Mixin, r as registerInstance, c as createEvent, g as getElement, h, a as Host } from './index-XKg-ydzH.js';
6
+ import { a as animateHeightFactory } from './index-DyhO6xPY.js';
7
7
  import { a as alert_exclamation_circle } from './alert_exclamation_circle-B88w-Zxn.js';
8
8
  import { c as chevron_down } from './chevron_down-DrYFvs2M.js';
9
9
  import { c as close } from './close-BvuWkoyY.js';
10
- import { uuidv4, awaitTopbar, ripple, getTotalHeightOffset, en } from './index.js';
10
+ import { uuidv4, awaitTopbar, ripple, getTotalHeightOffset, getMenuWidth, en } from './index.js';
11
11
 
12
12
  const translations = {
13
13
  SELECT_AN_OPTION: {
@@ -110,23 +110,24 @@ const translations = {
110
110
  },
111
111
  };
112
112
 
113
- const pnMultiselectCss = () => `${transformTag("pn-multiselect")}{display:inline-block}${transformTag("pn-multiselect")} .pn-multiselect{position:relative;border:0;margin:0;padding:0}${transformTag("pn-multiselect")} .pn-multiselect[data-icon]{--pn-input-offset-left:2em}${transformTag("pn-multiselect")} .pn-multiselect[data-icon] .pn-multiselect-element{padding-left:2.75em}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-label{color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-label[data-compact]{color:#2d2013}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element{padding-right:5.5em;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:hover{border-color:#500715}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:focus-visible{background-color:#ffffff;border-color:#a70707;outline-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill,${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill:hover,${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill:focus,${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill:active{-webkit-box-shadow:0 0 0 10em #fef7f6 inset;-webkit-text-fill-color:#2d2013}${transformTag("pn-multiselect")} .pn-multiselect-label{width:100%;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-end;font-weight:400;color:#2d2013;margin:0 0 0.25em 0;gap:0.5em;-webkit-tap-highlight-color:transparent;transition-property:color, transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-label{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-label[data-compact]{position:absolute;top:1.5625em;left:calc(var(--pn-input-offset-left, 0px) + 0.75em + 0.0625em);margin:0;pointer-events:none;align-items:center;height:1.5em;max-width:calc(100% - (var(--pn-input-offset-left, 0px) + 0.75em) - (var(--pn-input-offset-right, 0px) + 0.75em));transform:translateY(-50%) scale(1) translateZ(0);transform-origin:0 0;transition-delay:0.2s}${transformTag("pn-multiselect")} .pn-multiselect-label[data-compact]>span{font-size:1em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:1.5em}${transformTag("pn-multiselect")} .pn-multiselect-label>span{font-size:0.875em}${transformTag("pn-multiselect")} .pn-multiselect-label[data-compact]{justify-content:start}${transformTag("pn-multiselect")} .pn-multiselect-sr-only{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);margin:-1px;white-space:nowrap}${transformTag("pn-multiselect")} .pn-multiselect-group{position:relative;padding:0;margin:0}${transformTag("pn-multiselect")} .pn-multiselect-input{position:relative}${transformTag("pn-multiselect")} .pn-multiselect-input>${transformTag("pn-icon")}{pointer-events:none;position:absolute;top:0.75em;right:3.5em}${transformTag("pn-multiselect")} .pn-multiselect-input>${transformTag("pn-icon")}[data-custom]{left:0.75em;right:unset}${transformTag("pn-multiselect")} .pn-multiselect-button{cursor:pointer;position:absolute;right:0.75em;top:50%;transform:translateY(-50%);padding:0;margin:0;border:0;width:2em;height:2em;font-size:1em;border-radius:50%;background-color:transparent;-webkit-tap-highlight-color:transparent;transition-property:background-color, outline-color, border-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-button{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-button{outline:0.2rem solid transparent;outline-offset:0.2rem}${transformTag("pn-multiselect")} .pn-multiselect-button:focus-visible{outline-color:#005d92;background-color:#ffffff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-button>${transformTag("pn-icon")}>svg>path{transition-property:transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-button>${transformTag("pn-icon")}>svg>path{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-button>${transformTag("pn-icon")}>svg>path{transition-delay:0.2s;transform-origin:center;transform:rotate(0deg)}${transformTag("pn-multiselect")} .pn-multiselect-button:hover{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-button[aria-expanded=true]{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-button[aria-expanded=true]>${transformTag("pn-icon")}>svg>path{transform:rotate(180deg);transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element{cursor:text;text-align:left;transition-delay:0.1s, 0.1s, 0s;width:100%;display:flex;align-items:center;justify-content:space-between;gap:0.5em;overflow:hidden;text-overflow:ellipsis;color:#2d2013;background-color:#ffffff;border:0.0625em solid #969087;border-radius:0.5em;padding:0.75em 3.5em 0.75em 0.75em;font-family:inherit;font-size:1em;font-weight:500;line-height:1.5em;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill,${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill:hover,${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill:focus,${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill:active{-webkit-box-shadow:0 0 0 10em #e0f8ff inset;-webkit-text-fill-color:#2d2013}${transformTag("pn-multiselect")} .pn-multiselect-element{outline:0.2rem solid transparent;outline-offset:0.2rem}${transformTag("pn-multiselect")} .pn-multiselect-element:focus-visible{outline-color:#005d92;background-color:#ffffff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-element{transition-property:outline-color, background-color, border-color, color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-element{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]{text-align:left;padding-top:1.125em;padding-bottom:0.375em;max-width:unset}${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]::placeholder{color:transparent}${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]:focus+.pn-multiselect-label,${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]:not(:placeholder-shown)+.pn-multiselect-label{transform:translateY(-85%) scale(0.75);transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element::placeholder{color:#5e554a;font-weight:normal}${transformTag("pn-multiselect")} .pn-multiselect-element:hover{border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2;pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled+.pn-multiselect-button{pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled+.pn-multiselect-button path{fill:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-element:placeholder{color:#5e554a;font-weight:normal}${transformTag("pn-multiselect")} .pn-multiselect-element[type=input]:hover{cursor:pointer;color:#2d2013;background-color:#effbff;transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element[type=input]:hover[aria-invalid=true]{background-color:#fdefee}${transformTag("pn-multiselect")} .pn-multiselect-element:focus-visible{transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element::-webkit-search-cancel-button,${transformTag("pn-multiselect")} .pn-multiselect-element::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}${transformTag("pn-multiselect")} .pn-multiselect-options{scroll-behavior:smooth;position:absolute;z-index:10;top:calc(100% + 0.5em);left:0;right:0;background-color:#ffffff;box-shadow:0em 0.075em 0.225em 0em rgba(0, 0, 0, 0.1), 0em 0.4em 0.9em 0em rgba(0, 0, 0, 0.13);border-radius:0.5em;list-style:none;margin:0;padding:0;width:var(--pn-select-options-width);max-height:var(--pn-select-max-height);overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;visibility:hidden;transform-origin:top left}${transformTag("pn-multiselect")} .pn-multiselect-options[data-open]{visibility:visible}${transformTag("pn-multiselect")} .pn-multiselect-options[data-upwards]{top:unset;bottom:calc(100% + 0.5em);transform-origin:bottom left;box-shadow:0 -0.0625em 0.125em rgba(0, 0, 0, 0.2)}${transformTag("pn-multiselect")} .pn-multiselect-options[data-moving]{overflow:hidden;visibility:visible}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar{background-color:#ffffff;width:0.875em;border-radius:0.5em}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-track{background-color:#ffffff;border-radius:0.5em}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-thumb{cursor:pointer;background-color:#969087;border-radius:1em;border:0.25em solid #ffffff}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-thumb:hover{background-color:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-corner,${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-button{display:none}${transformTag("pn-multiselect")} .pn-multiselect-options>${transformTag("pn-input")}{padding:0.5em}${transformTag("pn-multiselect")} .pn-multiselect-optgroup{list-style:none;padding:0}${transformTag("pn-multiselect")} .pn-multiselect-optgroup>.pn-multiselect-option>.pn-multiselect-option-content{padding-left:2em}${transformTag("pn-multiselect")} .pn-multiselect-chips{list-style:none;display:flex;flex-wrap:wrap;gap:0.5em;padding:0;margin:0.5em 0 0 0;color:#5e554a;font-weight:400}${transformTag("pn-multiselect")} .pn-multiselect-chips:empty{display:none}${transformTag("pn-multiselect")} .pn-multiselect-chip{margin:0;display:inline-flex;align-items:center;gap:0.25em;background-color:#ffffff;border-radius:0.5em;padding:0.125em 0.25em 0.125em 0.5em;line-height:1.5em;border:0.0625em solid #5e554a;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:background-color, outline-color, border-color, color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-chip{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-chip:focus-within{color:#005d92;outline-color:#005d92;background-color:#effbff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-chip[data-count]{pointer-events:none;border:0;padding-left:0;padding-right:0;background-color:unset}${transformTag("pn-multiselect")} .pn-multiselect-chip-label{font-size:0.875em;white-space:nowrap}${transformTag("pn-multiselect")} .pn-multiselect-chip-button{cursor:pointer;font-size:1em;padding:0.25em;height:1.5em;width:1.5em;border:0;background-color:unset;border-radius:50%;transition-property:background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-chip-button{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-chip-button{-webkit-tap-highlight-color:transparent}${transformTag("pn-multiselect")} .pn-multiselect-chip-button:hover{background-color:#8eddf9}${transformTag("pn-multiselect")} .pn-multiselect-chip-button:focus{outline:0}${transformTag("pn-multiselect")} .pn-multiselect-no-results{margin:0;padding:0.75em}${transformTag("pn-multiselect")} .pn-multiselect-description{color:#5e554a;font-size:0.875em;font-weight:400;margin:0.25em 0 0 0;display:flex;flex-direction:column;gap:0.25em}${transformTag("pn-multiselect")} .pn-multiselect-description[role=alert]{color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option{position:relative;margin:0;padding:0}${transformTag("pn-multiselect")} .pn-multiselect-option .pn-ripple{animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1);position:absolute;border-radius:50%;background-color:#005d92;transform:translate(-50%, -50%) scale(0);opacity:0.1;pointer-events:none;z-index:3}@keyframes ripple{to{transform:translate(-50%, -50%) scale(1);opacity:0}}${transformTag("pn-multiselect")} .pn-multiselect-option-input{cursor:pointer;position:absolute;opacity:0;left:0;top:0;height:100%;width:100%;margin:0;-webkit-tap-highlight-color:transparent}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled{pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled+.pn-multiselect-option-content{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2;pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#f3f2f2;border-color:#969087}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled+.pn-multiselect-option-content path{fill:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled:checked+.pn-multiselect-option-content{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#969087;border-color:#969087}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled:checked+.pn-multiselect-option-content path{fill:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]+.pn-multiselect-option-content .pn-ripple{background-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked+.pn-multiselect-option-content{background-color:#fdefee}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#a70707;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:focus-visible+.pn-multiselect-option-content{background-color:#fdefee}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#500715;border-color:#500715}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:hover+.pn-multiselect-option-content{background-color:#fef7f6}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#500715;border-color:#500715}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:hover+.pn-multiselect-option-content{background-color:#fef7f6}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#fdefee;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{outline-color:#a70707;background-color:#fdefee;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input:hover+.pn-multiselect-option-content{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#005d92;background-color:#e0f8ff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{outline-color:#005d92;background-color:#e0f8ff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked+.pn-multiselect-option-content{background-color:#e0f8ff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#005d92;background-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox svg polyline.pn-multiselect-option-checkbox-checkmark-path{transition-delay:0.2s;stroke-dashoffset:0}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:hover+.pn-multiselect-option-content{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#0d234b;background-color:#0d234b}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:focus-visible+.pn-multiselect-option-content{background-color:#e0f8ff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#0d234b;background-color:#0d234b}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#005d92;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate+.pn-multiselect-option-content svg .pn-multiselect-option-checkbox-checkmark-path{stroke-dashoffset:23}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate+.pn-multiselect-option-content svg .pn-multiselect-option-checkbox-indeterminate-path{stroke-dashoffset:0}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#0d234b;border-color:#0d234b}${transformTag("pn-multiselect")} .pn-multiselect-option-content{position:relative;overflow:hidden;z-index:-1;display:flex;align-items:center;padding:0.75em 1em;gap:0.5em;background-color:#ffffff;transition-property:background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-option-content{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-option-text{flex:1;text-overflow:ellipsis;overflow:hidden}${transformTag("pn-multiselect")} .pn-multiselect-option-helper{color:#5e554a;margin:0}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox{background-color:#ffffff;flex:0 0 1.5em;width:1.5em;height:1.5em;border:0.0625em solid #969087;border-radius:0.25em;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:background-color, border-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline{stroke:#ffffff;stroke-linecap:round;stroke-dasharray:23;transition-property:stroke-dashoffset;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline{transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline.pn-multiselect-option-checkbox-checkmark-path{stroke-dashoffset:23}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline.pn-multiselect-option-checkbox-indeterminate-path{stroke-dashoffset:23}`;
113
+ const pnMultiselectCss = () => `${transformTag("pn-multiselect")}{display:inline-block}${transformTag("pn-multiselect")} .pn-multiselect{position:relative;border:0;margin:0;padding:0}${transformTag("pn-multiselect")} .pn-multiselect[data-icon]{--pn-input-offset-left:2em}${transformTag("pn-multiselect")} .pn-multiselect[data-icon] .pn-multiselect-element{padding-left:2.75em}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-label{color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-label[data-compact]{color:#2d2013}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element{padding-right:5.5em;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:hover{border-color:#500715}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:focus-visible{background-color:#ffffff;border-color:#a70707;outline-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill,${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill:hover,${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill:focus,${transformTag("pn-multiselect")} .pn-multiselect[data-error] .pn-multiselect-element:-webkit-autofill:active{-webkit-box-shadow:0 0 0 10em #fef7f6 inset;-webkit-text-fill-color:#2d2013}${transformTag("pn-multiselect")} .pn-multiselect-label{width:100%;cursor:pointer;display:flex;justify-content:space-between;align-items:flex-end;font-weight:400;color:#2d2013;margin:0 0 0.25em 0;gap:0.5em;-webkit-tap-highlight-color:transparent;transition-property:color, transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-label{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-label[data-compact]{position:absolute;top:1.5625em;left:calc(var(--pn-input-offset-left, 0px) + 0.75em + 0.0625em);margin:0;pointer-events:none;align-items:center;height:1.5em;max-width:calc(100% - (var(--pn-input-offset-left, 0px) + 0.75em) - (var(--pn-input-offset-right, 0px) + 0.75em));transform:translateY(-50%) scale(1) translateZ(0);transform-origin:0 0;transition-delay:0.2s}${transformTag("pn-multiselect")} .pn-multiselect-label[data-compact]>span{font-size:1em;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;line-height:1.5em}${transformTag("pn-multiselect")} .pn-multiselect-label>span{font-size:0.875em}${transformTag("pn-multiselect")} .pn-multiselect-label[data-compact]{justify-content:start}${transformTag("pn-multiselect")} .pn-multiselect-sr-only{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);margin:-1px;white-space:nowrap}${transformTag("pn-multiselect")} .pn-multiselect-group{position:relative;padding:0;margin:0}${transformTag("pn-multiselect")} .pn-multiselect-input{position:relative}${transformTag("pn-multiselect")} .pn-multiselect-input>${transformTag("pn-icon")}{pointer-events:none;position:absolute;top:0.75em;right:3.5em}${transformTag("pn-multiselect")} .pn-multiselect-input>${transformTag("pn-icon")}[data-custom]{left:0.75em;right:unset}${transformTag("pn-multiselect")} .pn-multiselect-button{cursor:pointer;position:absolute;right:0.75em;top:50%;transform:translateY(-50%);padding:0;margin:0;border:0;width:2em;height:2em;font-size:1em;border-radius:50%;background-color:transparent;-webkit-tap-highlight-color:transparent;transition-property:background-color, outline-color, border-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-button{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-button{outline:0.2rem solid transparent;outline-offset:0.2rem}${transformTag("pn-multiselect")} .pn-multiselect-button:focus-visible{outline-color:#005d92;background-color:#ffffff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-button>${transformTag("pn-icon")} svg>path{transition-delay:0.2s;transform-origin:center;transform:rotate(0deg)}${transformTag("pn-multiselect")} .pn-multiselect-button:hover{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-button[aria-expanded=true]{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-button[aria-expanded=true]>${transformTag("pn-icon")} svg>path{transform:rotate(180deg);transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element{cursor:text;text-align:left;transition-delay:0.1s, 0.1s, 0s;width:100%;display:flex;align-items:center;justify-content:space-between;gap:0.5em;overflow:hidden;text-overflow:ellipsis;color:#2d2013;background-color:#ffffff;border:0.0625em solid #969087;border-radius:0.5em;padding:0.75em 3.5em 0.75em 0.75em;font-family:inherit;font-size:1em;font-weight:500;line-height:1.5em;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill,${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill:hover,${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill:focus,${transformTag("pn-multiselect")} .pn-multiselect-element:-webkit-autofill:active{-webkit-box-shadow:0 0 0 10em #e0f8ff inset;-webkit-text-fill-color:#2d2013}${transformTag("pn-multiselect")} .pn-multiselect-element{outline:0.2rem solid transparent;outline-offset:0.2rem}${transformTag("pn-multiselect")} .pn-multiselect-element:focus-visible{outline-color:#005d92;background-color:#ffffff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-element{transition-property:outline-color, background-color, border-color, color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-element{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]{text-align:left;padding-top:1.125em;padding-bottom:0.375em;max-width:unset}${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]::placeholder{color:transparent}${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]:focus+.pn-multiselect-label,${transformTag("pn-multiselect")} .pn-multiselect-element[data-compact]:not(:placeholder-shown)+.pn-multiselect-label{transform:translateY(-85%) scale(0.75);transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element::placeholder{color:#5e554a;font-weight:normal}${transformTag("pn-multiselect")} .pn-multiselect-element:hover{border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2;pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled+.pn-multiselect-button{pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-element:disabled+.pn-multiselect-button path{fill:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-element:placeholder{color:#5e554a;font-weight:normal}${transformTag("pn-multiselect")} .pn-multiselect-element[type=input]:hover{cursor:pointer;color:#2d2013;background-color:#effbff;transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element[type=input]:hover[aria-invalid=true]{background-color:#fdefee}${transformTag("pn-multiselect")} .pn-multiselect-element:focus-visible{transition-delay:0s}${transformTag("pn-multiselect")} .pn-multiselect-element::-webkit-search-cancel-button,${transformTag("pn-multiselect")} .pn-multiselect-element::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}${transformTag("pn-multiselect")} .pn-multiselect-options{scroll-behavior:smooth;position:absolute;z-index:10;top:calc(100% + 0.5em);left:0;right:0;background-color:#ffffff;box-shadow:0em 0.075em 0.225em 0em rgba(0, 0, 0, 0.1), 0em 0.4em 0.9em 0em rgba(0, 0, 0, 0.13);border-radius:0.5em;list-style:none;margin:0;padding:0;width:clamp(100%, 95vw, 20em);max-height:var(--pn-select-max-height);overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;visibility:hidden;transform-origin:top left;transform:translateX(var(--pn-select-options-offset, 0))}${transformTag("pn-multiselect")} .pn-multiselect-options[data-open]{visibility:visible}${transformTag("pn-multiselect")} .pn-multiselect-options[data-upwards]{top:unset;bottom:calc(100% + 0.5em);transform-origin:bottom left;box-shadow:0 -0.0625em 0.125em rgba(0, 0, 0, 0.2)}${transformTag("pn-multiselect")} .pn-multiselect-options[data-moving]{overflow:hidden;visibility:visible}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar{background-color:#ffffff;width:0.875em;border-radius:0.5em}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-track{background-color:#ffffff;border-radius:0.5em}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-thumb{cursor:pointer;background-color:#969087;border-radius:1em;border:0.25em solid #ffffff}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-thumb:hover{background-color:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-corner,${transformTag("pn-multiselect")} .pn-multiselect-options::-webkit-scrollbar-button{display:none}${transformTag("pn-multiselect")} .pn-multiselect-options>${transformTag("pn-input")}{padding:0.5em}${transformTag("pn-multiselect")} .pn-multiselect-optgroup{list-style:none;padding:0}${transformTag("pn-multiselect")} .pn-multiselect-optgroup>.pn-multiselect-option>.pn-multiselect-option-content{padding-left:2em}${transformTag("pn-multiselect")} .pn-multiselect-chips{list-style:none;display:flex;flex-wrap:wrap;gap:0.5em;padding:0;margin:0.5em 0 0 0;color:#5e554a;font-weight:400}${transformTag("pn-multiselect")} .pn-multiselect-chips:empty{display:none}${transformTag("pn-multiselect")} .pn-multiselect-chip{margin:0;display:inline-flex;align-items:center;gap:0.25em;background-color:#ffffff;border-radius:0.5em;padding:0.125em 0.25em 0.125em 0.5em;line-height:1.5em;border:0.0625em solid #5e554a;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:background-color, outline-color, border-color, color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-chip{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-chip:focus-within{color:#005d92;outline-color:#005d92;background-color:#effbff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-chip[data-count]{pointer-events:none;border:0;padding-left:0;padding-right:0;background-color:unset}${transformTag("pn-multiselect")} .pn-multiselect-chip-label{font-size:0.875em;white-space:nowrap}${transformTag("pn-multiselect")} .pn-multiselect-chip-button{cursor:pointer;font-size:1em;padding:0.25em;height:1.5em;width:1.5em;border:0;background-color:unset;border-radius:50%;-webkit-tap-highlight-color:transparent;transition-property:background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-chip-button{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-chip-button:hover{background-color:#8eddf9}${transformTag("pn-multiselect")} .pn-multiselect-chip-button:focus{outline:0}${transformTag("pn-multiselect")} .pn-multiselect-no-results{margin:0;padding:0.75em}${transformTag("pn-multiselect")} .pn-multiselect-text{color:#5e554a;font-size:0.875em;font-weight:400;margin:0.25em 0 0 0;display:flex;flex-direction:column;gap:0.25em}${transformTag("pn-multiselect")} .pn-multiselect-text[hidden]{display:none}${transformTag("pn-multiselect")} .pn-multiselect-text[role=alert]{color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option{position:relative;margin:0;padding:0}${transformTag("pn-multiselect")} .pn-multiselect-option .pn-ripple{animation:ripple 0.4s cubic-bezier(0.7, 0, 0.3, 1);position:absolute;border-radius:50%;background-color:#005d92;transform:translate(-50%, -50%) scale(0);opacity:0.1;pointer-events:none;z-index:3}@keyframes ripple{to{transform:translate(-50%, -50%) scale(1);opacity:0}}${transformTag("pn-multiselect")} .pn-multiselect-option-input{cursor:pointer;position:absolute;opacity:0;left:0;top:0;height:100%;width:100%;margin:0;-webkit-tap-highlight-color:transparent}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled{pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled+.pn-multiselect-option-content{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2;pointer-events:none}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#f3f2f2;border-color:#969087}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled+.pn-multiselect-option-content .pn-icon-svg path{fill:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled:checked+.pn-multiselect-option-content{color:#5e554a;background-color:#f3f2f2;border-color:#f3f2f2}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#969087;border-color:#969087}${transformTag("pn-multiselect")} .pn-multiselect-option-input:disabled:checked+.pn-multiselect-option-content .pn-icon-svg path{fill:#5e554a}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]+.pn-multiselect-option-content .pn-ripple{background-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked+.pn-multiselect-option-content{background-color:#fdefee}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#a70707;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:focus-visible+.pn-multiselect-option-content{background-color:#fdefee}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#500715;border-color:#500715}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:hover+.pn-multiselect-option-content{background-color:#fef7f6}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:checked:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#500715;border-color:#500715}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:hover+.pn-multiselect-option-content{background-color:#fef7f6}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#fdefee;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input[aria-invalid=true]:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{outline-color:#a70707;background-color:#fdefee;border-color:#a70707}${transformTag("pn-multiselect")} .pn-multiselect-option-input:hover+.pn-multiselect-option-content{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#005d92;background-color:#e0f8ff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{outline-color:#005d92;background-color:#e0f8ff;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked+.pn-multiselect-option-content{background-color:#e0f8ff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#005d92;background-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked+.pn-multiselect-option-content .pn-multiselect-option-checkbox svg polyline.pn-multiselect-option-checkbox-checkmark-path{transition-delay:0.2s;stroke-dashoffset:0}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:hover+.pn-multiselect-option-content{background-color:#effbff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#0d234b;background-color:#0d234b}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:focus-visible+.pn-multiselect-option-content{background-color:#e0f8ff}${transformTag("pn-multiselect")} .pn-multiselect-option-input:checked:focus-visible+.pn-multiselect-option-content .pn-multiselect-option-checkbox{border-color:#0d234b;background-color:#0d234b}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#005d92;border-color:#005d92}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate+.pn-multiselect-option-content svg .pn-multiselect-option-checkbox-checkmark-path{stroke-dashoffset:23}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate+.pn-multiselect-option-content svg .pn-multiselect-option-checkbox-indeterminate-path{stroke-dashoffset:0}${transformTag("pn-multiselect")} .pn-multiselect-option-input:indeterminate:hover+.pn-multiselect-option-content .pn-multiselect-option-checkbox{background-color:#0d234b;border-color:#0d234b}${transformTag("pn-multiselect")} .pn-multiselect-option-content{position:relative;overflow:hidden;z-index:-1;display:flex;align-items:center;padding:0.75em 1em;gap:0.5em;background-color:#ffffff;transition-property:background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-option-content{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-option-text{flex:1;text-overflow:ellipsis;overflow:hidden}${transformTag("pn-multiselect")} .pn-multiselect-option-helper{color:#5e554a;margin:0}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox{background-color:#ffffff;flex:0 0 1.5em;width:1.5em;height:1.5em;border:0.0625em solid #969087;border-radius:0.25em;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:background-color, border-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline{stroke:#ffffff;stroke-linecap:round;stroke-dasharray:23;transition-delay:0s;transition-property:stroke-dashoffset;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline{transition-duration:0s;transition-delay:0s}}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline.pn-multiselect-option-checkbox-checkmark-path{stroke-dashoffset:23}${transformTag("pn-multiselect")} .pn-multiselect-option-checkbox svg polyline.pn-multiselect-option-checkbox-indeterminate-path{stroke-dashoffset:23}`;
114
114
 
115
115
  const PnMultiselect = class extends Mixin(animateHeightFactory) {
116
116
  constructor(hostRef) {
117
117
  super();
118
118
  registerInstance(this, hostRef);
119
- this.toggleSelect = createEvent(this, "toggleSelect");
120
- this.allOptions = createEvent(this, "allOptions");
121
- this.selectedOption = createEvent(this, "selectedOption");
122
- this.selectedAllOptions = createEvent(this, "selectedAllOptions");
123
- this.searchInput = createEvent(this, "searchInput");
119
+ this.toggleSelect = createEvent(this, "toggleSelect", 7);
120
+ this.allOptions = createEvent(this, "allOptions", 7);
121
+ this.selectedOption = createEvent(this, "selectedOption", 7);
122
+ this.selectedAllOptions = createEvent(this, "selectedAllOptions", 7);
123
+ this.searchInput = createEvent(this, "searchInput", 7);
124
124
  }
125
125
  id = `pn-multiselect-${uuidv4()}`;
126
126
  idLegend = `${this.id}-legend`;
127
127
  idButton = `${this.id}-button`;
128
128
  idOptions = `${this.id}-options`;
129
129
  idHelper = `${this.id}-text`;
130
+ idError = `${this.id}-error`;
130
131
  idChips = `${this.id}-chips`;
131
132
  idSr = `${this.id}-sr`;
132
133
  elGroup;
@@ -145,28 +146,32 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
145
146
  label;
146
147
  /** Display a helper text underneath the select */
147
148
  helpertext;
149
+ /** Manually set the language, not needed if you have the pnTopbar available */
150
+ language = undefined;
151
+ /** HTML name of the checkbox elements. Used for each checkbox inside the multiselect. @category Native attributes */
152
+ name;
153
+ /** HTML name of the input element. @category Native attributes*/
154
+ selectName;
148
155
  /**
149
156
  * This is what will be shown on load if no value is used.
150
157
  * The `placeholder` will override the default text used if you have the `search` prop active.
158
+ * @category Native attributes
151
159
  */
152
160
  placeholder;
153
- /** HTML name of the checkbox elements. Used for each checkbox inside the multiselect. */
154
- name;
155
- /** Select HTML id */
156
- selectId = this.id;
157
- /** HTML name of the input element.*/
158
- selectName;
159
- /** Display an icon to the left of the select input */
160
- icon;
161
- /** Set the date picker label as compact. If used, the `placeholder` will no longer be displayed. @since v7.21.0 */
162
- compact = false;
163
- /** Manually set the language, not needed if you have the pnTopbar available */
164
- language = null;
161
+ /** Set the select as required. @category Native attributes */
162
+ required = false;
163
+ /** Disable the select. @category Native attributes */
164
+ disabled = false;
165
165
  /**
166
- * Array of options.
167
- * @hide true
166
+ * The array of `PnMultiselectOption` objects.
167
+ * @see {@link PnMultiselectOption} for the option object properties.
168
+ * @category Features
168
169
  **/
169
170
  options;
171
+ /** Set the date picker label as compact. If used, the `placeholder` will no longer be displayed. @since v7.21.0 @category Features */
172
+ compact = false;
173
+ /** Display an icon to the left of the select input @category Features */
174
+ icon;
170
175
  /**
171
176
  * Adds a "Select all" option into the list.
172
177
  * If you use the search feature at the same time, clicking this option will only toggle the options found.
@@ -201,8 +206,7 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
201
206
  **/
202
207
  itemCount = 5;
203
208
  /**
204
- * Use a custom max-height for the dropdown list.
205
- * @description The component will automatically set the max height of the dropdown list on its own.
209
+ * The component will automatically set the max height of the dropdown list on its own.
206
210
  * It takes the `pn-topbar` into account and will open in the direction that fits best.
207
211
  * Use this prop to override this behaviour and use a custom max-height.
208
212
  * @category Features
@@ -218,20 +222,34 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
218
222
  * @category Features
219
223
  **/
220
224
  bottom = false;
221
- /** Set the select as required. @category Validation */
222
- required = false;
223
- /** Disable the select. @category Validation */
224
- disabled = false;
225
- /** Trigger the invalid state. @category Validation */
225
+ /** Trigger the invalid state. @category Features */
226
226
  invalid = false;
227
- /** Display an error message and trigger the invalid state. @category Validation */
227
+ /** Display an error message and trigger the invalid state. @category Features */
228
228
  error;
229
+ /** Set a custom ID for the select. @since v7.25.0 @category HTML attributes */
230
+ pnId;
231
+ /**
232
+ * Provide the label via an aria attribute.
233
+ * We strongly recommend you use the `label` prop instead.
234
+ * @since v7.25.0
235
+ * @category HTML attributes
236
+ */
237
+ pnAriaLabel;
238
+ /**
239
+ * Provide the label from another element via its ID.
240
+ * We strongly recommend you use the `label` prop instead.
241
+ * @since v7.25.0
242
+ * @category HTML attributes
243
+ */
244
+ pnAriaLabelledby;
245
+ /** Select HTML id @deprecated Use `pn-id` instead. @category HTML attributes */
246
+ selectId;
229
247
  handleOpen() {
230
248
  if (this.open) {
231
249
  this.addGlobalEventListeners();
232
250
  this.handleDirection();
233
251
  this.handleMaxHeight();
234
- this.handleWidth();
252
+ this.handleOffset();
235
253
  }
236
254
  else {
237
255
  this.removeGlobalEventListeners();
@@ -257,11 +275,12 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
257
275
  this.handleInputSearch();
258
276
  }
259
277
  handleSelectId() {
260
- const id = this.selectId;
278
+ const id = this.getId();
261
279
  this.idLegend = `${id}-legend`;
262
280
  this.idButton = `${id}-button`;
263
281
  this.idOptions = `${id}-options`;
264
282
  this.idHelper = `${id}-text`;
283
+ this.idError = `${id}-error`;
265
284
  this.idChips = `${id}-chips`;
266
285
  this.idSr = `${id}-sr`;
267
286
  }
@@ -273,8 +292,8 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
273
292
  if (!this.open)
274
293
  return;
275
294
  this.toggleOpen(false);
276
- this.elList.style.removeProperty('--pn-select-options-width');
277
- this.elList.style.removeProperty('--pn-select-max-height');
295
+ this.elGroup.style.removeProperty('--pn-select-max-height');
296
+ this.elGroup.style.removeProperty('--pn-select-options-offset');
278
297
  }
279
298
  /** Dispatched everytime the multiselect is opened or closed. */
280
299
  toggleSelect;
@@ -293,19 +312,44 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
293
312
  **/
294
313
  searchInput;
295
314
  async componentWillLoad() {
296
- this.handleSelectId();
297
- if (this.language === null)
315
+ if (this.language === undefined)
298
316
  await awaitTopbar(this.hostElement);
299
317
  }
300
318
  componentDidLoad() {
301
319
  if (!!this.searchQuery?.length)
302
320
  this.handleSearchQuery();
303
321
  }
322
+ getId() {
323
+ return this.pnId || this.selectId || this.id;
324
+ }
325
+ hasHelperText() {
326
+ return this.helpertext?.length > 0 || this.checkSlottedHelper();
327
+ }
328
+ /** If any `error` text is present, either via prop/slot. */
329
+ hasErrorMessage() {
330
+ return this.error?.length > 0 || this.checkSlottedError();
331
+ }
332
+ /** If any `error` is active, either via the prop `invalid` or `error` prop/slot. */
333
+ hasError() {
334
+ return this.hasErrorMessage() || this.invalid;
335
+ }
336
+ checkSlottedHelper() {
337
+ return !!this.hostElement.querySelector('[slot=helpertext]');
338
+ }
339
+ checkSlottedError() {
340
+ return !!this.hostElement.querySelector('[slot=error]');
341
+ }
342
+ hideHelpertext() {
343
+ return this.hasErrorMessage() || !this.hasHelperText();
344
+ }
345
+ hideError() {
346
+ return !this.hasErrorMessage();
347
+ }
304
348
  globalEvents = (event) => {
305
349
  const target = event.target;
306
- const isWithinCalendar = target?.closest(this.hostElement.localName);
307
- if (!isWithinCalendar)
350
+ if (!this.hostElement.contains(target) || event?.key === 'Escape') {
308
351
  this.toggleOpen(false);
352
+ }
309
353
  };
310
354
  addGlobalEventListeners() {
311
355
  const root = this.hostElement.getRootNode();
@@ -498,9 +542,21 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
498
542
  const maxHeight = this.upwards ? inputHeight - offset : window.innerHeight - inputHeight - offset;
499
543
  this.elGroup.style.setProperty('--pn-select-max-height', `${Math.ceil(maxHeight)}px`);
500
544
  }
501
- handleWidth() {
502
- const { width } = this.getRect(this.elInput);
503
- this.elGroup.style.setProperty('--pn-select-options-width', `${Math.ceil(width)}px`);
545
+ handleOffset() {
546
+ this.elGroup.style.removeProperty('--pn-select-options-offset');
547
+ requestAnimationFrame(() => {
548
+ const { left, right } = this.getRect(this.elList);
549
+ const menuWidth = getMenuWidth();
550
+ const leftBoundary = menuWidth + 8;
551
+ const rightBoundary = window.innerWidth - 8;
552
+ let offset = 0;
553
+ if (left < leftBoundary)
554
+ offset = leftBoundary - left;
555
+ else if (right > rightBoundary)
556
+ offset = rightBoundary - right;
557
+ if (offset !== 0)
558
+ this.elGroup.style.setProperty('--pn-select-options-offset', `${Math.floor(offset)}px`);
559
+ });
504
560
  }
505
561
  setFocus() {
506
562
  if (this.search)
@@ -508,12 +564,6 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
508
564
  else
509
565
  this.elButton.focus({ preventScroll: true });
510
566
  }
511
- hasError() {
512
- return this.invalid || !!this.error;
513
- }
514
- hasMessage() {
515
- return !!this.helpertext || !!this.error;
516
- }
517
567
  toggleOpen(state) {
518
568
  if (typeof state === 'boolean' && state === this.open)
519
569
  return;
@@ -634,14 +684,45 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
634
684
  const single = `MORE_OPTION${count === 1 ? '' : 'S'}`;
635
685
  return `${count} ${this.translate(single)}`;
636
686
  }
687
+ displayLabel() {
688
+ return !!this.label;
689
+ }
690
+ getAriaLabel() {
691
+ return !this.displayLabel() && !this.pnAriaLabelledby ? this.pnAriaLabel : null;
692
+ }
693
+ /**
694
+ * If you use a label (technically a legend), use the `idLegend` to point to it.
695
+ * If not, make sure there is no pnAriaLabel and use pnAriaLabelledby.
696
+ * This is to make sure there are no double label/labelledby.
697
+ */
698
+ getAriaLabelledby() {
699
+ return this.displayLabel() ? this.idLegend : !this.pnAriaLabel ? this.pnAriaLabelledby : null;
700
+ }
637
701
  describedBy() {
638
- const list = [this.search && this.idChips, this.srMessage && this.idSr, !!this.helpertext && this.idHelper].filter(Boolean);
702
+ const list = [];
703
+ if (this.search)
704
+ list.push(this.idChips);
705
+ if (this.srMessage)
706
+ list.push(this.idSr);
707
+ if (this.hasHelperText() && !this.hasErrorMessage())
708
+ list.push(this.idHelper);
709
+ if (this.hasErrorMessage())
710
+ list.push(this.idError);
639
711
  if (list.length)
640
712
  return list.join(' ');
641
713
  return null;
642
714
  }
643
- renderOption({ label, value, checked, helpertext, icon, id = `${this.selectId}-${value || label}`, invalid, disabled, hide, group, }, indexGroup, indexNested) {
644
- return (h("li", { class: "pn-multiselect-option", key: id, hidden: hide }, h("input", { type: "checkbox", id: id, class: "pn-multiselect-option-input", checked: checked ?? this.optionSelected(value), indeterminate: indexNested === undefined && this.isIndeterminate(indexGroup), name: this.name, value: value, disabled: this.disabled || disabled, required: this.required, "aria-invalid": invalid ? 'true' : null, "aria-describedby": helpertext ? `${id}-helper` : null, onClick: (event) => this.ripple(event), onKeyDown: (event) => this.checkboxNav(event, value), onBlur: (event) => this.handleBlur(event) }), h("div", { class: "pn-multiselect-option-content" }, !!icon && h("pn-icon", { icon: icon, color: "blue900" }), h("div", { class: "pn-multiselect-option-text" }, h("label", { class: "pn-multiselect-option-label", htmlFor: id }, h("span", null, label)), helpertext && (h("p", { class: "pn-multiselect-option-helper", id: `${id}-helper` }, helpertext))), h("div", { class: "pn-multiselect-option-checkbox" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "pn-multiselect-option-checkbox-checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { class: "pn-multiselect-option-checkbox-indeterminate-path", points: "4,12 20,12", "stroke-width": "3" })))), group?.length && (h("ul", { class: "pn-multiselect-optgroup" }, group?.map((option, i) => this.renderOption(option, indexGroup, i))))));
715
+ /**
716
+ * This is to prevent a rare issue with rendering flag icons.
717
+ * Flags use a set ID to identify gradient colors. If the icon is rendered while the dropdown is closed,
718
+ * the ID is not unique and the icon will not be rendered for other pn-icons using it.
719
+ * This is a temp fix to address the root issue which is how the flags SVG styling is built.
720
+ */
721
+ renderItemIcon(icon, hide) {
722
+ return (this.open || this.isMoving()) && !!icon && !hide;
723
+ }
724
+ renderOption({ label, value, checked, helpertext, icon, id = `${this.getId()}-${value || label}`, invalid, disabled, hide, group, }, indexGroup, indexNested) {
725
+ return (h("li", { class: "pn-multiselect-option", key: id, hidden: hide }, h("input", { type: "checkbox", id: id, class: "pn-multiselect-option-input", checked: checked ?? this.optionSelected(value), indeterminate: indexNested === undefined && this.isIndeterminate(indexGroup), name: this.name, value: value, disabled: this.disabled || disabled, required: this.required, "aria-invalid": invalid ? 'true' : null, "aria-describedby": helpertext ? `${id}-helper` : null, onClick: (event) => this.ripple(event), onKeyDown: (event) => this.checkboxNav(event, value), onBlur: (event) => this.handleBlur(event) }), h("div", { class: "pn-multiselect-option-content" }, this.renderItemIcon(icon, hide) && h("pn-icon", { icon: icon, color: "blue900" }), h("div", { class: "pn-multiselect-option-text" }, h("label", { class: "pn-multiselect-option-label", htmlFor: id }, h("span", null, label)), helpertext && (h("p", { class: "pn-multiselect-option-helper", id: `${id}-helper` }, helpertext))), h("div", { class: "pn-multiselect-option-checkbox" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "pn-multiselect-option-checkbox-checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { class: "pn-multiselect-option-checkbox-indeterminate-path", points: "4,12 20,12", "stroke-width": "3" })))), group?.length && (h("ul", { class: "pn-multiselect-optgroup" }, group?.map((option, i) => this.renderOption(option, indexGroup, i))))));
645
726
  }
646
727
  renderOptions() {
647
728
  return (h("ul", { id: this.idOptions, class: "pn-multiselect-options", "data-open": this.open, "data-upwards": this.upwards, onChange: (event) => this.handleChange(event), style: { height: '0px' }, ref: el => (this.elList = el) }, this.showSelectAll() &&
@@ -652,7 +733,7 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
652
733
  }), this.options?.map((option, index) => this.renderOption(option, index)), this.showEmptyOption() && (h("li", { class: "pn-multiselect-option" }, h("div", { class: "pn-multiselect-option-content", role: "alert" }, h("div", { class: "pn-multiselect-option-text" }, h("span", { class: "pn-multiselect-option-label" }, this.translate(this.isEmpty() ? 'NO_OPTIONS' : 'NO_SEARCH_RESULTS'))))))));
653
734
  }
654
735
  renderChips() {
655
- return (h("ul", { id: this.idChips, class: "pn-multiselect-chips", "aria-label": this.translate('SELECTED_OPTIONS'), ref: el => (this.elChips = el) }, this.optionsCheckedPreview()?.map(({ label, value }, index) => (h("li", { class: "pn-multiselect-chip", "aria-setsize": this.optionsCheckedTotal(), "aria-posinset": index + 1, key: `${label}-${value}` }, h("span", { class: "pn-multiselect-chip-label" }, label), h("button", { type: "button", class: "pn-multiselect-chip-button", "aria-label": `${this.translate('REMOVE')} ${label}`, onClick: () => this.optionSelect({ val: value, checked: false, chip: index }) }, h("pn-icon", { icon: close, small: true, color: "blue700" }))))), this.optionsCheckedTotal() > this.itemCount && (h("li", { class: "pn-multiselect-chip", "data-count": true }, h("span", { class: "pn-multiselect-chip-label" }, "+ ", this.additonalOptions())))));
736
+ return (h("ul", { id: this.idChips, class: "pn-multiselect-chips", "aria-label": this.translate('SELECTED_OPTIONS'), ref: el => (this.elChips = el) }, this.optionsCheckedPreview()?.map(({ label, value, icon }, index) => (h("li", { class: "pn-multiselect-chip", "aria-setsize": this.optionsCheckedTotal(), "aria-posinset": index + 1, key: `${label}-${value}` }, !!icon && h("pn-icon", { icon: icon, small: true }), h("span", { class: "pn-multiselect-chip-label" }, label), h("button", { type: "button", class: "pn-multiselect-chip-button", "aria-label": `${this.translate('REMOVE')} ${label}`, onClick: () => this.optionSelect({ val: value, checked: false, chip: index }) }, h("pn-icon", { icon: close, small: true, color: "blue700" }))))), this.optionsCheckedTotal() > this.itemCount && (h("li", { class: "pn-multiselect-chip", "data-count": true }, h("span", { class: "pn-multiselect-chip-label" }, "+ ", this.additonalOptions())))));
656
737
  }
657
738
  renderLabel(compactLabel = false) {
658
739
  if (!this.label)
@@ -663,7 +744,7 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
663
744
  return (h(Tag, { id: id, class: { 'pn-multiselect-label': true, 'pn-multiselect-sr-only': this.compact && !compactLabel }, "data-compact": this.compact, ...attrs }, h("span", null, this.label), !!this.optionsChecked()?.length && (h("span", null, this.optionsCheckedTotal(), "/", this.optionsTotal()))));
664
745
  }
665
746
  render() {
666
- return (h(Host, { key: '55af777ec6dd7165b4d16bdad6ec784fe81b8f20' }, h("fieldset", { key: '41a5e9a45b3460a96676d606c458a062efe6ab80', class: "pn-multiselect", "data-icon": !!this.icon, "data-error": this.hasError(), disabled: this.disabled }, this.renderLabel(), h("div", { key: 'fb6874e8d17a70ec0e1e21bf3474575b01c3e669', class: "pn-multiselect-group", ref: el => (this.elGroup = el) }, h("div", { key: 'ab6aa995337f5a80e2026d98fe69399571249c24', class: "pn-multiselect-input" }, !!this.icon && h("pn-icon", { key: '0d9495e8864e266a6ababc752781b6e9c75595c3', class: "pn-multiselect-icon", "data-custom": true, icon: this.icon }), h("input", { key: '6b5adbc27ab64b9cdb7f53a99d2f4cd9a2185e47', tabindex: this.search ? null : '-1', type: this.search ? 'search' : 'input', id: this.selectId, class: "pn-multiselect-element", value: this.search ? this.searchQuery : this.optionsCheckedLabels(), name: this.selectName, placeholder: this.getPlaceholder(), required: this.search ? null : this.required, "aria-labelledby": this.idLegend, "aria-describedby": this.describedBy(), "aria-controls": `${this.idOptions} ${this.search ? this.idChips : ''}`, "aria-invalid": this.hasError()?.toString(), disabled: this.disabled, readonly: !this.search, "data-compact": this.compact, onClick: () => (this.search && this.open ? null : this.toggleOpen()), onKeyDown: e => this.handleInputKeyboard(e), onBlur: e => this.handleBlur(e), onInput: e => this.search && this.setSearchQuery(e.target.value), ref: el => (this.elInput = el) }), this.compact && this.renderLabel(true), this.hasError() && (h("pn-icon", { key: '36e6f1e307758cdec5f9eda59413b8a0c28af78c', class: "pn-multiselect-icon", "data-error": true, icon: alert_exclamation_circle, color: "warning" })), h("button", { key: '6197b7545b8646fecbd5a12e540e3011303f660c', id: this.idButton, type: "button", class: "pn-multiselect-button", "aria-label": this.translate(`BUTTON_${this.open ? 'CLOSE' : 'OPEN'}`), "aria-describedby": this.search ? null : this.selectId, "aria-controls": this.idOptions, "aria-expanded": this.open.toString(), onClick: () => this.toggleOpen(), ref: el => (this.elButton = el) }, h("pn-icon", { key: 'f9ddba2705b7782606897f6374f5963833bde76e', class: "pn-multiselect-icon", icon: chevron_down, color: "blue700" }))), this.renderOptions()), this.hasMessage() && (h("p", { key: 'd9fb544f999b9d779362f13090e9653bbd22fd4e', id: this.idHelper, class: "pn-multiselect-description", role: !!this.error ? 'alert' : null }, h("span", { key: 'ed1426909307379ba22c06a6870ad867f5a7cdad' }, this.error || this.helpertext))), this.search && this.renderChips(), h("slot", { key: 'd0bc44a9160fa4151e6f74c05fa3102189710454' }), this.search && (h("p", { key: '0d8c04c19227c1461a18ccc21a9fd7412a2f6ee1', id: this.idSr, class: "pn-multiselect-sr-only", role: "alert", "aria-live": "assertive" }, this.srMessage && h("span", { key: '610fc47f9a032c6e8931745e6b6d0b418eadd5ee' }, this.srMessage))))));
747
+ return (h(Host, { key: '326b1351c1600920a89b49a4ca04fb48af112bb7' }, h("fieldset", { key: '069b0689d499ad99b65f29597cc3968a47a3fc86', class: "pn-multiselect", "data-icon": !!this.icon, "data-error": this.hasError(), disabled: this.disabled }, this.renderLabel(), h("div", { key: '0a96f922421c6a1adb664714ec0d593cfdf950e5', class: "pn-multiselect-group", ref: el => (this.elGroup = el) }, h("div", { key: '3c6cadb7ff3dbc67fb8bab786133d64ad330c5d7', class: "pn-multiselect-input" }, !!this.icon && h("pn-icon", { key: '20bb5b6b273bea94903648a3465e14cf8dad2f77', class: "pn-multiselect-icon", "data-custom": true, icon: this.icon }), h("input", { key: '905179f50885d27bc7f41df667be93731dd5e4be', tabindex: this.search ? null : '-1', type: this.search ? 'search' : 'input', id: this.getId(), class: "pn-multiselect-element", value: this.search ? this.searchQuery : this.optionsCheckedLabels(), name: this.selectName, placeholder: this.getPlaceholder(), required: this.search ? null : this.required, "aria-label": this.getAriaLabel(), "aria-labelledby": this.getAriaLabelledby(), "aria-describedby": this.describedBy(), "aria-controls": `${this.idOptions} ${this.search ? this.idChips : ''}`, "aria-invalid": this.hasError()?.toString(), disabled: this.disabled, readonly: !this.search, "data-compact": this.compact, onClick: () => (this.search && this.open ? null : this.toggleOpen()), onKeyDown: e => this.handleInputKeyboard(e), onBlur: e => this.handleBlur(e), onInput: e => this.search && this.setSearchQuery(e.target.value), ref: el => (this.elInput = el) }), this.compact && this.renderLabel(true), this.hasError() && (h("pn-icon", { key: '635d97c6b8f780e6bd6daab225a97d1057b4bf0d', class: "pn-multiselect-icon", "data-error": true, icon: alert_exclamation_circle, color: "warning" })), h("button", { key: '77e9862561cd9ed80c5aa1b386ae772476a34e76', id: this.idButton, type: "button", class: "pn-multiselect-button", "aria-label": this.translate(`BUTTON_${this.open ? 'CLOSE' : 'OPEN'}`), "aria-describedby": this.search ? null : this.getId(), "aria-controls": this.idOptions, "aria-expanded": this.open.toString(), onClick: () => this.toggleOpen(), ref: el => (this.elButton = el) }, h("pn-icon", { key: '28092398e64c04af103142d8f459579eb2b70a1b', class: "pn-multiselect-icon", icon: chevron_down, color: "blue700" }))), this.renderOptions()), h("p", { key: '17d396f1b3175b502ce8d54c6ec059588bbe8128', id: this.idHelper, class: "pn-multiselect-text", hidden: this.hideHelpertext() }, h("span", { key: '693ba0a687b9b9766249e6703d0252beeeb762e9' }, this.helpertext), h("slot", { key: 'a70b1dff00b4ec936461f73354ebe18ce1a0a0c1', name: "helpertext" })), h("p", { key: '94c44db96a270fd7d3180c6dfddb53a46e85c2aa', id: this.idError, class: "pn-multiselect-text", role: "alert", hidden: this.hideError() }, h("span", { key: '0297ed1e18f374c0c3f0909a1ee5685b75c73a7c' }, this.error), h("slot", { key: '9c545b960d440978e46858b69ac86ad0112510c7', name: "error" })), this.search && this.renderChips(), h("slot", { key: '9551563c6a72fa6e06ce473eadbc73a0428b551e' }), this.search && (h("p", { key: '96863325f57e613f0272d652e05a70e1c5c35dde', id: this.idSr, class: "pn-multiselect-sr-only", role: "alert", "aria-live": "assertive" }, this.srMessage && h("span", { key: '21b84e0522ca16702a9ccabb071d30c0317631ef' }, this.srMessage))))));
667
748
  }
668
749
  static get watchers() { return {
669
750
  "open": [{
@@ -677,6 +758,9 @@ const PnMultiselect = class extends Mixin(animateHeightFactory) {
677
758
  }],
678
759
  "selectId": [{
679
760
  "handleSelectId": 0
761
+ }],
762
+ "pnId": [{
763
+ "handleSelectId": 1
680
764
  }]
681
765
  }; }
682
766
  };
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * By PostNord.
4
4
  */
5
- import { t as transformTag, r as registerInstance, g as getElement, h, a as Host } from './index-CAEP792y.js';
5
+ import { t as transformTag, r as registerInstance, g as getElement, h, a as Host } from './index-XKg-ydzH.js';
6
6
  import { awaitTopbar, sv } from './index.js';
7
7
 
8
8
  const translations = {
@@ -136,7 +136,7 @@ const PnOcrSearch = class {
136
136
  }
137
137
  }
138
138
  render() {
139
- return (h(Host, { key: 'edf8696a2d3f115868f13d3bfa9c5e9c4128426c' }, h("pn-search-field", { key: 'b54f8575a5ebdd518e4082f78799f417448d53e9', loading: this.loading, label: this.getTranslation('SEARCH_BUTTON'), button: "icon", buttonLabel: this.getTranslation('SEARCH_BUTTON'), placeholder: this.getTranslation('PLACEHOLDER_TEXT'), onSearch: e => this.handleSearch(e) }), this.renderSearchResult(), this.renderErrorMessage()));
139
+ return (h(Host, { key: '7cf50eabd6310124086f1674537bbb5f73ac6714' }, h("pn-search-field", { key: 'b8a24cdd8fdbb4ad6ac051bddd064f731bac8880', loading: this.loading, label: this.getTranslation('SEARCH_BUTTON'), button: "icon", buttonLabel: this.getTranslation('SEARCH_BUTTON'), placeholder: this.getTranslation('PLACEHOLDER_TEXT'), onSearch: e => this.handleSearch(e) }), this.renderSearchResult(), this.renderErrorMessage()));
140
140
  }
141
141
  };
142
142
  PnOcrSearch.style = pnOcrSearchCss();
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * By PostNord.
4
4
  */
5
- import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, h } from './index-CAEP792y.js';
5
+ import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, h } from './index-XKg-ydzH.js';
6
6
  import { a as arrow_right } from './arrow_right-D_UyW-KH.js';
7
7
 
8
8
  const pnPageNavDropdownItemCss = () => `${transformTag("pn-page-nav-dropdown-item")}:first-of-type li>a,${transformTag("pn-page-nav-dropdown-item")}:first-of-type li>button{border-radius:0.5em 0.5em 0 0}${transformTag("pn-page-nav-dropdown-item")}:last-of-type li>a,${transformTag("pn-page-nav-dropdown-item")}:last-of-type li>button{border-radius:0 0 0.5em 0.5em}${transformTag("pn-page-nav-dropdown-item")}:last-of-type li>hr{display:none}${transformTag("pn-page-nav-dropdown-item")} li{font-size:inherit}${transformTag("pn-page-nav-dropdown-item")} li>*{color:#ffffff;font-size:inherit;border:none;padding:1em;margin:0;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:background 0.15s;outline:none;width:100%;font-weight:500}${transformTag("pn-page-nav-dropdown-item")} li>*>${transformTag("pn-icon")}{margin-left:1em}${transformTag("pn-page-nav-dropdown-item")} li>*.pn-page-nav-dropdown-item-active{background:#005d92}${transformTag("pn-page-nav-dropdown-item")} li>*.pn-page-nav-dropdown-item-active:hover,${transformTag("pn-page-nav-dropdown-item")} li>*.pn-page-nav-dropdown-item-active:focus{background:#005d92}${transformTag("pn-page-nav-dropdown-item")} li>*:hover,${transformTag("pn-page-nav-dropdown-item")} li>*:focus{background:#0d234b}${transformTag("pn-page-nav-dropdown-item")} li>*:focus{box-shadow:inset 0 0 0 0.1em #005d92, inset 0 0 0 0.2em #d3cecb}${transformTag("pn-page-nav-dropdown-item")} li>a{text-decoration:none}${transformTag("pn-page-nav-dropdown-item")} li>button{background:none}${transformTag("pn-page-nav-dropdown-item")} li>hr{bottom:0;padding:0;margin:0 auto;border-top:0.0625em solid #d3cecb;opacity:0.6;width:85%}`;
@@ -10,7 +10,7 @@ const pnPageNavDropdownItemCss = () => `${transformTag("pn-page-nav-dropdown-ite
10
10
  const PnPageNavDropdownItem = class {
11
11
  constructor(hostRef) {
12
12
  registerInstance(this, hostRef);
13
- this.itemselection = createEvent(this, "itemselection");
13
+ this.itemselection = createEvent(this, "itemselection", 7);
14
14
  }
15
15
  get hostElement() { return getElement(this); }
16
16
  /**
@@ -43,7 +43,7 @@ const PnPageNavDropdownItem = class {
43
43
  }
44
44
  render() {
45
45
  const TagName = this.getTagName();
46
- return (h("li", { key: 'a4ca23ac5a53d78c87f2c955c3da18372a7d572d' }, h(TagName, { key: '20639a9f58133cf65d8719943d9d11630166b8d4', href: this.href || '#', class: this.setClassnames(), type: this.getType(), onClick: e => this.select(e), tabindex: "-1" }, h("slot", { key: '5440c1e919238f6aaa55ca9df2dec18ebbce2f83' }), h("pn-icon", { key: 'ff16474c7bc9fc6664c64c5b4567e88a88bd29fb', icon: arrow_right, color: "white" })), h("hr", { key: '5201ae642f54f3ad7b157762dedfddb08d865486' })));
46
+ return (h("li", { key: '93c6bd31a88c76797cee2bc915c31e6ecfa5aace' }, h(TagName, { key: '2818d4f3a1572f863f9b9a8609d572f5994f6e75', href: this.href || '#', class: this.setClassnames(), type: this.getType(), onClick: e => this.select(e), tabindex: "-1" }, h("slot", { key: 'e04f130737445747a2b93bf9d7372bf22889fcff' }), h("pn-icon", { key: '934d46f6bd482171d974efec7c4494f8b1b1faff', icon: arrow_right, color: "white" })), h("hr", { key: 'c5c9c4a24affe5b10d56e8a6ca5d6bee434aa571' })));
47
47
  }
48
48
  };
49
49
  PnPageNavDropdownItem.style = pnPageNavDropdownItemCss();
@@ -2,14 +2,14 @@
2
2
  * Built with Stencil
3
3
  * By PostNord.
4
4
  */
5
- import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, h, a as Host } from './index-CAEP792y.js';
5
+ import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, h, a as Host } from './index-XKg-ydzH.js';
6
6
 
7
7
  const pnPageNavItemCss = () => `${transformTag("pn-page-nav-item")}{position:relative;color:#ffffff;margin-right:0.5em;z-index:2;white-space:nowrap;scroll-snap-align:center;outline:none;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}${transformTag("pn-page-nav-item")} a{text-decoration:none;color:#ffffff;height:100%;width:100%;padding:0.5em;font-weight:500;border-radius:3em;border:0.0625em solid transparent;display:inline-flex;align-items:center;cursor:pointer;outline:none;transition:box-shadow 0.15s}${transformTag("pn-page-nav-item")} a:focus{box-shadow:0 0 0 0.1em #d3cecb}${transformTag("pn-page-nav-item")} a>${transformTag("pn-icon")}{margin-right:0.5em}${transformTag("pn-page-nav-item")}:last-of-type{margin-right:0}`;
8
8
 
9
9
  const PnPageNavItem = class {
10
10
  constructor(hostRef) {
11
11
  registerInstance(this, hostRef);
12
- this.itemselection = createEvent(this, "itemselection");
12
+ this.itemselection = createEvent(this, "itemselection", 7);
13
13
  }
14
14
  get hostElement() { return getElement(this); }
15
15
  /** The item value. Used by `pn-page-nav` to determine pre-selected item. */
@@ -26,7 +26,7 @@ const PnPageNavItem = class {
26
26
  this.itemselection.emit(this.value);
27
27
  }
28
28
  render() {
29
- return (h(Host, { key: '43346d6ed6211b3e6c4ee7c6dfd261112028445f' }, h("li", { key: '8a191825d21ae79f3c8bf69381151b8d258a7c64' }, h("a", { key: '3dab24d14cb027916343ae3b1f86ded224907ab6', href: this.href || '#', class: "pn-page-nav-item", onClick: e => this.select(e) }, this.icon && h("pn-icon", { key: 'fa382f49cb1602908dd53af48044826f934679cd', icon: this.icon, color: "white" }), h("slot", { key: '576b22e87a530ac0a8a19eaf8a094937ab227b67' })))));
29
+ return (h(Host, { key: 'b4249e533daa9f96259d5379fdfcd90d87f3cc11' }, h("li", { key: '86b933f5d6b4bc827826c679a6ddf04efca08ee9' }, h("a", { key: '217797b771a53db8bbf53272eaafe816fc668ebc', href: this.href || '#', class: "pn-page-nav-item", onClick: e => this.select(e) }, this.icon && h("pn-icon", { key: '8de359aa34e50caa65a66db5620590f24d409dae', icon: this.icon, color: "white" }), h("slot", { key: '5610d030d68f2e7f3f8eac68c02a01c3f9624f5e' })))));
30
30
  }
31
31
  };
32
32
  PnPageNavItem.style = pnPageNavItemCss();
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * By PostNord.
4
4
  */
5
- import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, f as forceUpdate, h, a as Host } from './index-CAEP792y.js';
5
+ import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, f as forceUpdate, h, a as Host } from './index-XKg-ydzH.js';
6
6
  import { uuidv4 } from './index.js';
7
7
  import { a as arrow_left } from './arrow_left-CQaMdITw.js';
8
8
  import { a as arrow_right } from './arrow_right-D_UyW-KH.js';
@@ -13,7 +13,7 @@ const pnPageNavCss = () => `${transformTag("pn-page-nav")}{display:block;positio
13
13
  const PnPageNav = class {
14
14
  constructor(hostRef) {
15
15
  registerInstance(this, hostRef);
16
- this.navchange = createEvent(this, "navchange");
16
+ this.navchange = createEvent(this, "navchange", 7);
17
17
  }
18
18
  mo;
19
19
  navContainer;
@@ -297,7 +297,7 @@ const PnPageNav = class {
297
297
  }
298
298
  /* ---------------------------------------/DROPDOWN LOGIC--------------------------------------- */
299
299
  render() {
300
- return (h(Host, { key: 'f76a115ccea11e238d2aee5288b06675abc80b8a' }, h("div", { key: '453102a432daf9b567be4f5dc415bab34b48bc84', class: "pn-page-nav-wrapper" }, h("nav", { key: '9207ade4b4d6cea4c22622c91988eef2b3c812bc', class: "pn-page-nav" }, this.dropdownActive && (h("button", { key: '3365178312cfe2b9d48fccbc794d2a8a857ed6f0', type: "button", class: this.dropdownButtonClasses(), onClick: () => this.toggleDropdown(), "aria-controls": "page-nav-dropdown", "aria-expanded": `${this.dropdownOpen}` }, this.dropdown, h("pn-icon", { key: '460172b12b334e96920d185dcbc868acafc0cdcc', icon: chevron_down, color: "white", small: true }), h("div", { key: 'f16219e3070e00ebd1ab143b8803a94c44e242bc', class: "pn-page-nav-divider" }))), h("ul", { key: '560ef88c95269f29b1f76ee65e3a2541fc2482ce', class: "pn-page-nav-items" }, h("slot", { key: '7b1cfc89976421963cc19f958f21e29bfc796621' }), h("li", { key: '7df00d0a42fc3f48f82afdb0bbbf943229604293', class: "pn-pn-bg pn-pn-active", role: "presentation" }), h("li", { key: '68fd6cc6f9dfcb834c62105f81ff2e21b332be94', class: "pn-pn-bg pn-pn-hover", role: "presentation" }))), this.showScrollArrows && (h("div", { key: 'ba26546a6fa3f750a5314dd80f80e1487b4962ec', class: this.scrollArrowClasses() }, h("button", { key: '57b43598cb3288b068c3583c822be35418b28e91', class: "pn-pn-arrow-left", onClick: () => this.scroll(-120), tabindex: "-1" }, h("pn-icon", { key: 'b812b5b471ba0982be6cb3bcacc84bb2f52fa0e3', icon: arrow_left, color: "white" })), h("button", { key: '70d5bffed71999aaf154f88590378496d79e7f55', class: "pn-pn-arrow-right", onClick: () => this.scroll(120), tabindex: "-1" }, h("pn-icon", { key: 'a2d4319bab3a80b092321873ff66e4b421f14743', icon: arrow_right, color: "blue700" }))))), this.dropdownActive && (h("ul", { key: '1e2a73e7b4d523f3feba0dc18ccc14871b551862', id: this.navid, class: this.dropdownClasses() }, h("slot", { key: '20f647483c10a84de4bf2f40126b83b65b61b99f', name: "dropdown-item" })))));
300
+ return (h(Host, { key: '2bca6384910b5b314ddbb6f4f646fa95ee084c09' }, h("div", { key: '2322adc21546db4fcf950f0136516ef3a059b409', class: "pn-page-nav-wrapper" }, h("nav", { key: '62ce2c8c14c2748b8e5f4fd91263c19b70db1559', class: "pn-page-nav" }, this.dropdownActive && (h("button", { key: 'a7839cdd22ca1fbb7f2a1dcb56ebf8d9d7dda05d', type: "button", class: this.dropdownButtonClasses(), onClick: () => this.toggleDropdown(), "aria-controls": "page-nav-dropdown", "aria-expanded": `${this.dropdownOpen}` }, this.dropdown, h("pn-icon", { key: '1a91a0a67c34295456c3bdb943740b257d942a53', icon: chevron_down, color: "white", small: true }), h("div", { key: '1197635d3c157fae6b5fd90b52a8a61af8de4b8e', class: "pn-page-nav-divider" }))), h("ul", { key: '3a19fcbe877e2dc81c76d378fffe1536ac1af54f', class: "pn-page-nav-items" }, h("slot", { key: 'aff622272002a021fc4606cb9d43aa9d86e06ba3' }), h("li", { key: 'eb6d08cc390d742576a633629ee930b979ee9fdf', class: "pn-pn-bg pn-pn-active", role: "presentation" }), h("li", { key: '86be3cba39c47f3bc7f3c87afedfef66afcd6fb2', class: "pn-pn-bg pn-pn-hover", role: "presentation" }))), this.showScrollArrows && (h("div", { key: '875412be070486024d5886f5f4099747b0d51b8a', class: this.scrollArrowClasses() }, h("button", { key: '358199bf37ce3473f002ae20e6dfab31a1ae0ac5', class: "pn-pn-arrow-left", onClick: () => this.scroll(-120), tabindex: "-1" }, h("pn-icon", { key: 'c40ceef73645e7bf9cec3935e892faf8c369a158', icon: arrow_left, color: "white" })), h("button", { key: '8ac847b47005a0d61f72de5122601c38ff268655', class: "pn-pn-arrow-right", onClick: () => this.scroll(120), tabindex: "-1" }, h("pn-icon", { key: 'dc21c3242fe32126adca3ebc38c8a8eeed705aca', icon: arrow_right, color: "blue700" }))))), this.dropdownActive && (h("ul", { key: '7666ab6c68d3b9fe0bd39ac4bd1cec2e240e6871', id: this.navid, class: this.dropdownClasses() }, h("slot", { key: '64c6a3b285fb8058eb8085f2557e001c6711db4c', name: "dropdown-item" })))));
301
301
  }
302
302
  static get watchers() { return {
303
303
  "value": [{
@@ -2,7 +2,7 @@
2
2
  * Built with Stencil
3
3
  * By PostNord.
4
4
  */
5
- import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, h, a as Host } from './index-CAEP792y.js';
5
+ import { t as transformTag, r as registerInstance, c as createEvent, g as getElement, h, a as Host } from './index-XKg-ydzH.js';
6
6
  import { a as arrow_left } from './arrow_left-CQaMdITw.js';
7
7
  import { a as arrow_right } from './arrow_right-D_UyW-KH.js';
8
8
  import { awaitTopbar, en } from './index.js';
@@ -50,8 +50,8 @@ const pnPaginationCss = () => `${transformTag("pn-pagination")}{display:block;ma
50
50
  const PnPagination = class {
51
51
  constructor(hostRef) {
52
52
  registerInstance(this, hostRef);
53
- this.pageSelected = createEvent(this, "pageSelected");
54
- this.rowsSelected = createEvent(this, "rowsSelected");
53
+ this.pageSelected = createEvent(this, "pageSelected", 7);
54
+ this.rowsSelected = createEvent(this, "rowsSelected", 7);
55
55
  }
56
56
  listElement;
57
57
  get hostElement() { return getElement(this); }
@@ -226,7 +226,7 @@ const PnPagination = class {
226
226
  return (h("pn-button", { arialabel: label, ariacurrent: current ? 'page' : null, href: this.getUrl(page), rel: current ? null : rel, appearance: "light", small: true, icon: icon, iconOnly: true, onPnClick: ({ detail }) => this.navigate({ page, event: detail }) }));
227
227
  }
228
228
  render() {
229
- return (h(Host, { key: '4b78edcca36adfd17035e9bed30ae5af6918d6e8' }, h("nav", { key: '600dd0a880e03b9b5e98de4ee2d55134a0a90b8e', id: this.paginationId, class: "pn-pagination", "aria-label": this.label || this.translate('PAGINATION') }, this.useRowList() && (h("pn-select", { key: '8cca49bb36c9b10fa05e7637acec36e28b25fb8e', class: "pn-pagination-rows", label: this.rowsLabel || this.translate('ROWS_PAGE'), onChange: event => this.setRows(event) }, this.getRowList().map(item => (h("option", { value: item, selected: this.rows === Number(item), innerHTML: `${item}` }))))), h("div", { key: 'd3fc1f233ab4d62c868a8a0a2076d7666d5dd53a', class: "pn-pagination-container", "data-right": this.useRowList() }, this.renderJumpButton(), this.renderButton({ page: 1, dataAttr: 'first' }), this.renderDivider(), h("ol", { key: '17be56bca6cd83e7f7dc3174e2e92d91a05930dd', class: "pn-pagination-list", ref: el => (this.listElement = el) }, this.getPagination().map(item => this.renderItem(item))), this.renderDivider(true), this.renderButton({ page: this.pages, dataAttr: 'last' }), this.renderJumpButton(true)))));
229
+ return (h(Host, { key: 'a975a04388ce0495aef863236d3fd2f936380fed' }, h("nav", { key: '920aeb21c535b7f09bc54924865d3b5be2a65652', id: this.paginationId, class: "pn-pagination", "aria-label": this.label || this.translate('PAGINATION') }, this.useRowList() && (h("pn-select", { key: '880de99ef3a2a1400ff08f420c8c81017846e1fa', class: "pn-pagination-rows", label: this.rowsLabel || this.translate('ROWS_PAGE'), onChange: event => this.setRows(event) }, this.getRowList().map(item => (h("option", { value: item, selected: this.rows === Number(item), innerHTML: `${item}` }))))), h("div", { key: 'd11a69a8d7f5efcaae031214f2abf417d8922207', class: "pn-pagination-container", "data-right": this.useRowList() }, this.renderJumpButton(), this.renderButton({ page: 1, dataAttr: 'first' }), this.renderDivider(), h("ol", { key: '2a5777aecd5210105ea26ed8c8cb9d99d1f1efc8', class: "pn-pagination-list", ref: el => (this.listElement = el) }, this.getPagination().map(item => this.renderItem(item))), this.renderDivider(true), this.renderButton({ page: this.pages, dataAttr: 'last' }), this.renderJumpButton(true)))));
230
230
  }
231
231
  static get watchers() { return {
232
232
  "page": [{