@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
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- var index = require('./index-CfUQZtlH.js');
7
+ var index = require('./index-DWu-2oJc.js');
8
8
  var alert_exclamation_circle = require('./alert_exclamation_circle-BiBEJK9P.js');
9
9
  var check_circle = require('./check_circle-BSQcdFEJ.js');
10
10
  var index$1 = require('./index.cjs.js');
@@ -76,7 +76,7 @@ const PnProgressBar = class {
76
76
  return 'green500';
77
77
  }
78
78
  render() {
79
- return (index.h(index.Host, { key: '141fef1da768dc423cf53dfa8088f1b98429236c' }, this.hasLabel() && (index.h("p", { key: '294199499037e6ed0e816f8a68850dfede795884', id: this.idLabel, class: "pn-progress-bar-label" }, index.h("span", { key: 'f292e951e29878d186b7f7896d7346fd41677006' }, this.label), this.hasIcon() && index.h("pn-icon", { key: '47b8065b97a8cd0f0d3e57ea4f68b07ad09c12a5', icon: this.getIconSvg(), color: this.getIconColor() }))), index.h("div", { key: '0dd5189948aad2e501ee10076ed212987a52e4d8', id: this.progressId, class: "pn-progress-bar-container", role: "progressbar", "aria-labelledby": this.idLabel, "aria-describedby": this.hasIcon() ? this.idText : null, "aria-valuenow": this.progress, "aria-valuetext": this.progressPercentage }, index.h("div", { key: '51ceae38d589385687dd3e25c86526b4758f2792', class: "pn-progress-bar-meter" }, index.h("div", { key: '714d0aa19a487bf625ae10bcdd68d21d54b6f48a', class: "pn-progress-bar-value", "data-error": this.hasError(), "data-valid": this.isValid() }))), index.h("p", { key: 'b540a56c9d7fdfae49f508472d315ce1eeda5e99', id: this.idText, class: "pn-progress-bar-subtext", role: this.hasError() ? 'alert' : null }, index.h("span", { key: '35d515a823d117a6ab31e3cda778a2ada8093233' }, this.getSubtext()))));
79
+ return (index.h(index.Host, { key: '09b5b426ac2b3b5ac6da052516f02a37e86a5ae6' }, this.hasLabel() && (index.h("p", { key: 'f63e4d6fcf21e46e809866fa9f25e92975665c60', id: this.idLabel, class: "pn-progress-bar-label" }, index.h("span", { key: '731610df6161f9d7724f85e1fc849983dd2c9e30' }, this.label), this.hasIcon() && index.h("pn-icon", { key: 'a9a823e21c9a6192ecd476fa7f993e2dc508f292', icon: this.getIconSvg(), color: this.getIconColor() }))), index.h("div", { key: 'b38c51cbc3bf30d73cc169053a97fd62acd95972', id: this.progressId, class: "pn-progress-bar-container", role: "progressbar", "aria-labelledby": this.idLabel, "aria-describedby": this.hasIcon() ? this.idText : null, "aria-valuenow": this.progress, "aria-valuetext": this.progressPercentage }, index.h("div", { key: '91f89839bf307d1b32f3735690ae6894b845fcc2', class: "pn-progress-bar-meter" }, index.h("div", { key: '01dd3151497db0d7a4bfaa401fb132e015708ca6', class: "pn-progress-bar-value", "data-error": this.hasError(), "data-valid": this.isValid() }))), index.h("p", { key: 'fe4122adfd2d4e1ea043f161bc217b59f3164cf0', id: this.idText, class: "pn-progress-bar-subtext", role: this.hasError() ? 'alert' : null }, index.h("span", { key: '7094b7dd7cf15e29cec6f710927a3b62151d8709' }, this.getSubtext()))));
80
80
  }
81
81
  static get watchers() { return {
82
82
  "progress": [{
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- var index = require('./index-CfUQZtlH.js');
7
+ var index = require('./index-DWu-2oJc.js');
8
8
  var colors = require('./colors-Dzlq0FRO.js');
9
9
 
10
10
  const pnProgressIndicatorStepCss = () => `${index.transformTag("pn-progress-indicator-step")}{display:flex;flex:1 0 4em}${index.transformTag("pn-progress-indicator-step")}:first-child{flex:0 0 auto}${index.transformTag("pn-progress-indicator-step")}:first-child .progress-line{display:none}${index.transformTag("pn-progress-indicator-step")}:first-child .info-container{transform:translateX(-50%);left:50%}.pn-progress-indicator-step{position:relative;display:flex;flex:1 0 4em;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);-webkit-tap-highlight-color:transparent}.pn-progress-indicator-step .circle{width:1.5em;height:1.5em;padding:0.3rem;border-radius:50%;background-color:#f3f2f2;transition-property:background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){.pn-progress-indicator-step .circle{transition-duration:0s;transition-delay:0s}}.pn-progress-indicator-step .info-container{position:absolute;bottom:-2.5em;right:0;transform:translateX(50%) translateX(-1.2rem);white-space:nowrap;color:#f3f2f2;display:flex;align-items:center;flex-direction:column;font-size:1em;font-weight:normal;transition-property:color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){.pn-progress-indicator-step .info-container{transition-duration:0s;transition-delay:0s}}.pn-progress-indicator-step .info-container .pn-icon-svg{height:1.7em;width:1.7em;margin-bottom:0.1em}.pn-progress-indicator-step .info-container .pn-icon-svg path,.pn-progress-indicator-step .info-container .pn-icon-svg polygon{fill:#f3f2f2}.pn-progress-indicator-step .progress-line{flex:1 1 auto;margin:auto 4px;height:0.8rem;background-color:#f3f2f2;position:relative;overflow:hidden;pointer-events:none;border-radius:10rem}.pn-progress-indicator-step .progress-line:after{content:"";position:absolute;top:0;left:0;height:0.8rem;width:100%;background-color:#005d92;transform:translateX(-100%);transition-property:transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){.pn-progress-indicator-step .progress-line:after{transition-duration:0s;transition-delay:0s}}.pn-progress-indicator-step .progress-line:after{transition-delay:0.2s}.pn-progress-indicator-step.active .info-container{color:#000000}.pn-progress-indicator-step.active .info-container .pn-icon-svg path{fill:#000000}.pn-progress-indicator-step.active .info-container .pn-icon-svg polygon{fill:#000000}.pn-progress-indicator-step.activated{cursor:pointer}.pn-progress-indicator-step.done .progress-line:after,.pn-progress-indicator-step.active .progress-line:after{transform:translateX(0)}.pn-progress-indicator-step.done .circle,.pn-progress-indicator-step.active .circle{background-color:#005d92}.pn-progress-indicator-step.done .checkmark-path{stroke-linecap:round;stroke-dasharray:27;stroke-dashoffset:-23;animation:dash 0.2s cubic-bezier(0.55, 0, 0.1, 1) both}@keyframes dash{to{stroke-dashoffset:0}}`;
@@ -12,7 +12,7 @@ const pnProgressIndicatorStepCss = () => `${index.transformTag("pn-progress-indi
12
12
  const PnProgressIndicatorStep = class {
13
13
  constructor(hostRef) {
14
14
  index.registerInstance(this, hostRef);
15
- this.setactivestep = index.createEvent(this, "setactivestep");
15
+ this.setactivestep = index.createEvent(this, "setactivestep", 7);
16
16
  }
17
17
  activated;
18
18
  done;
@@ -64,7 +64,7 @@ const PnProgressIndicatorStep = class {
64
64
  return className;
65
65
  }
66
66
  render() {
67
- return (index.h(index.Host, { key: 'e5518f2d8c21c889738beb3a42e6865e7c64ac76', class: this.getClassNames(), onClick: () => this.setActiveStepHandler() }, index.h("div", { key: 'b0f5f684ca12fda2b22b51945d3b0b41ab490fa3', class: "progress-line" }), index.h("div", { key: '8d05494d4cc77145e44270666b678cf48eb05a96', class: "info-container" }, index.h("slot", { key: '864bea1ce3dd348be1abadcc3f8fb3757ac009b9' }), this.name), index.h("div", { key: '7d8394e5a4919404a137fd30ce125dfda5ed3034', class: "circle" }, this.done || this.checked ? (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", "enable-background": "new 0 0 24 24", id: "checkmark", version: "1.0", viewBox: "0 0 24 24" }, index.h("polyline", { class: "checkmark-path", fill: "none", points: "20,6 9,17 4,12", stroke: colors.white, "stroke-miterlimit": "10", "stroke-width": "3" }))) : (''))));
67
+ return (index.h(index.Host, { key: '8e3e6d57379a0e7fbc4fa481ed58f320b0a7e270', class: this.getClassNames(), onClick: () => this.setActiveStepHandler() }, index.h("div", { key: 'f07ace31e400c93a84043d4402bff452b2f3a5ea', class: "progress-line" }), index.h("div", { key: '1b7b7fcdbcf11091b66a29f936cb144cb8d7b948', class: "info-container" }, index.h("slot", { key: '9e075b50e5c16f7313d0442c889cd7ccbc2cbac9' }), this.name), index.h("div", { key: '8240501b137f38915d3a42139e340593a1975977', class: "circle" }, this.done || this.checked ? (index.h("svg", { xmlns: "http://www.w3.org/2000/svg", "enable-background": "new 0 0 24 24", id: "checkmark", version: "1.0", viewBox: "0 0 24 24" }, index.h("polyline", { class: "checkmark-path", fill: "none", points: "20,6 9,17 4,12", stroke: colors.white, "stroke-miterlimit": "10", "stroke-width": "3" }))) : (''))));
68
68
  }
69
69
  };
70
70
  PnProgressIndicatorStep.style = pnProgressIndicatorStepCss();
@@ -4,14 +4,14 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- var index = require('./index-CfUQZtlH.js');
7
+ var index = require('./index-DWu-2oJc.js');
8
8
 
9
9
  const pnProgressIndicatorCss = () => `.pn-progress-indicator{display:flex;padding:2.8em 1em 0}`;
10
10
 
11
11
  const PnProgressIndicator = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
- this.progresschange = index.createEvent(this, "progresschange");
14
+ this.progresschange = index.createEvent(this, "progresschange", 7);
15
15
  }
16
16
  get hostElement() { return index.getElement(this); }
17
17
  /** Takes the index of the active step */
@@ -36,7 +36,7 @@ const PnProgressIndicator = class {
36
36
  });
37
37
  }
38
38
  render() {
39
- return (index.h("div", { key: '1108f70edf525c6e7e0e45d34a6d58e69c5b9ab2', class: "pn-progress-indicator" }, index.h("slot", { key: 'c4035cf9fadb46f4e573c0225bebb2f8f7187da6' })));
39
+ return (index.h("div", { key: '55eb279175a09345ebcb087ac6b0f819d5032a1e', class: "pn-progress-indicator" }, index.h("slot", { key: '70f0273b605df274663752dadde8585411a74bd7' })));
40
40
  }
41
41
  };
42
42
  PnProgressIndicator.style = pnProgressIndicatorCss();
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- var index = require('./index-CfUQZtlH.js');
7
+ var index = require('./index-DWu-2oJc.js');
8
8
  var index$1 = require('./index.cjs.js');
9
9
 
10
10
  const translations = {
@@ -103,7 +103,7 @@ const PnProgressStepper = class {
103
103
  return this.progressStepperId || this.id;
104
104
  }
105
105
  render() {
106
- return (index.h(index.Host, { key: 'a93457e5c8ec35858e7f15e45578feb67ec37f4e' }, index.h("label", { key: '86a36ba455f7433f072a9b38b8af09c9fda45fc4', htmlFor: this.getId(), class: 'pn-progress-label' + (this.dots ? ' pn-progress-sr-only' : '') }, index.h("span", { key: 'eeb9163062bd19b03c394fe6c936440f040dd246' }, this.getLabel(), " ", this.currentStep, "/", this.totalSteps), this.stepName && index.h("span", { key: 'f43fd84597ee5adcee54f8d16c3cba9c4fe3f2cf' }, " - ", this.stepName)), index.h("progress", { key: '81658eb2942d0b1712bbbb4e22904d0b4c3a5229', id: this.getId(), class: "pn-progress-sr-only", max: "100", value: this.progressValue }), this.dots ? (index.h("div", { class: "pn-progress-dots", "aria-hidden": "true" }, [...Array(this.totalSteps)].map((_, i) => (index.h("div", { class: "pn-progress-dot", "data-active": i + 1 <= this.currentStep, key: i }))))) : (index.h("div", { "aria-hidden": "true", class: "pn-progress" }, index.h("div", { class: "pn-progress-value", "data-full": this.currentStep === this.totalSteps })))));
106
+ return (index.h(index.Host, { key: 'eae49d6f5d3085e714bff2e668694523185c6fb6' }, index.h("label", { key: 'd5ec64934b8e8eab33b771d20aa34cdfb595f600', htmlFor: this.getId(), class: 'pn-progress-label' + (this.dots ? ' pn-progress-sr-only' : '') }, index.h("span", { key: 'a30465882d45cdc3ee6513c79a9b9a0cacb68a88' }, this.getLabel(), " ", this.currentStep, "/", this.totalSteps), this.stepName && index.h("span", { key: 'fb4f2eb25ccd60c648c7a2d077dfce35b6888f52' }, " - ", this.stepName)), index.h("progress", { key: '6822b750b6d86644f5a77115d449c050b7be418d', id: this.getId(), class: "pn-progress-sr-only", max: "100", value: this.progressValue }), this.dots ? (index.h("div", { class: "pn-progress-dots", "aria-hidden": "true" }, [...Array(this.totalSteps)].map((_, i) => (index.h("div", { class: "pn-progress-dot", "data-active": i + 1 <= this.currentStep, key: i }))))) : (index.h("div", { "aria-hidden": "true", class: "pn-progress" }, index.h("div", { class: "pn-progress-value", "data-full": this.currentStep === this.totalSteps })))));
107
107
  }
108
108
  static get watchers() { return {
109
109
  "currentStep": [{
@@ -4,16 +4,17 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- var index = require('./index-CfUQZtlH.js');
7
+ var index = require('./index-DWu-2oJc.js');
8
8
  var index$2 = require('./index.cjs.js');
9
- var index$1 = require('./index-CNdVg5VI.js');
9
+ var index$1 = require('./index-vOySuOUW.js');
10
10
 
11
- const pnRadioButtonCss = () => `${index.transformTag("pn-radio-button")}{position:relative;display:inline-block}${index.transformTag("pn-radio-button")} .pn-radio{position:relative;display:flex;flex-wrap:wrap;flex-direction:row}${index.transformTag("pn-radio-button")} .pn-radio-label{cursor:pointer;color:#2d2013;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-radio-button")} .pn-radio-helpertext{color:#5e554a;margin:0 0 0.5em 0}${index.transformTag("pn-radio-button")} .pn-radio-helpertext:last-child{margin:0}${index.transformTag("pn-radio-button")} .pn-radio-content{display:flex;flex-direction:column;align-items:flex-start;font-weight:400;line-height:1.5;flex:1;margin:0 0 0 0.75em}${index.transformTag("pn-radio-button")} .pn-radio-button{display:flex;gap:0.75em;padding:0}${index.transformTag("pn-radio-button")} .pn-radio-outer{background-color:#ffffff;border:0.0625em solid #969087;border-radius:50%;height:1.5em;width:1.5em;display:flex;justify-content:center;align-items:center;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:border-color, background-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-radio-button")} .pn-radio-outer{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-radio-button")} .pn-radio-inner{height:0.75em;width:0.75em;background-color:#005d92;border-radius:50%;transform:scale(0);transform-origin:center center;transition-property:background-color, transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-radio-button")} .pn-radio-inner{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-radio-button")} .pn-radio[data-tile]{padding:1em;border:0.0625em solid #969087;border-radius:0.5em;background-color:#ffffff;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:border-color, background-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-radio-button")} .pn-radio[data-tile]{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-radio-button")} .pn-radio[data-tile] .pn-radio-outer{outline:none}${index.transformTag("pn-radio-button")} .pn-radio[data-invalid]{border-color:#a70707}${index.transformTag("pn-radio-button")} .pn-radio[data-invalid] .pn-radio-outer{border-color:#a70707}${index.transformTag("pn-radio-button")} .pn-radio[data-invalid] .pn-radio-inner{background-color:#a70707}${index.transformTag("pn-radio-button")} .pn-radio-container{flex:1 1 100%;overflow:hidden;visibility:hidden}${index.transformTag("pn-radio-button")} .pn-radio-container[data-open]{visibility:visible;overflow:unset}${index.transformTag("pn-radio-button")} .pn-radio-container[data-moving]{visibility:visible;overflow:hidden}${index.transformTag("pn-radio-button")} .pn-radio-area{padding:0.75em 0 0 2.25em;display:flex;flex-direction:column;flex-wrap:nowrap;gap:1em}${index.transformTag("pn-radio-button")} .pn-radio>${index.transformTag("pn-icon")}{margin-left:0.75em}${index.transformTag("pn-radio-button")}>input[type=radio]{cursor:pointer;opacity:0;position:absolute;margin:0;z-index:1;top:0;left:0;font-size:1em;width:1.5em;height:1.5em;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-radio-button")}>input[type=radio][data-tile]:not([data-expand]){width:100%;height:100%}${index.transformTag("pn-radio-button")}>input[type=radio][data-expand]{top:1em;left:1em}${index.transformTag("pn-radio-button")}>input[type=radio][aria-describedby]+.pn-radio[data-tile] .pn-radio-label{font-weight:500}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile]{border-color:#005d92;background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile] .pn-radio-outer{background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile][data-invalid]{border-color:#a70707;background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile][data-invalid] .pn-radio-outer{background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-invalid] .pn-radio-outer{border-color:#a70707;background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio .pn-radio-outer{border-color:#005d92;background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:checked:hover+.pn-radio[data-tile][data-invalid]{border-color:#500715}${index.transformTag("pn-radio-button")}>input[type=radio]:checked:hover+.pn-radio[data-invalid]>.pn-radio-button>.pn-radio-outer{border-color:#500715}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio .pn-radio-outer{outline-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-invalid] .pn-radio-outer{outline-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-tile]{outline-color:#005d92;border-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-tile][data-invalid]{outline-color:#a70707;border-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-tile]>.pn-radio-button>.pn-radio-outer{outline:none}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-tile]{border-color:#005d92;background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-tile][data-invalid]{border-color:#a70707;background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio>.pn-radio-button>.pn-radio-outer{border-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio>.pn-radio-button>.pn-radio-outer>.pn-radio-inner{transform:scale(1);background-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-invalid]>.pn-radio-button>.pn-radio-outer{border-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-invalid]>.pn-radio-button>.pn-radio-outer>.pn-radio-inner{background-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled{pointer-events:none}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio .pn-radio-label{pointer-events:none}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio[data-tile]{background-color:#f3f2f2;border-color:#f3f2f2}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio[data-tile]>${index.transformTag("pn-icon")}>.pn-icon-svg path{fill:#5e554a}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio[data-tile]>.pn-radio-content>.pn-radio-label{color:#5e554a}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio>.pn-radio-button>.pn-radio-outer{background-color:#f3f2f2;border-color:#969087;outline:none}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio>.pn-radio-button>.pn-radio-outer>.pn-radio-inner{background-color:#969087}`;
11
+ const pnRadioButtonCss = () => `${index.transformTag("pn-radio-button")}{position:relative;display:inline-block}${index.transformTag("pn-radio-button")} .pn-radio{position:relative;display:flex;flex-wrap:wrap;flex-direction:row}${index.transformTag("pn-radio-button")} .pn-radio-label{cursor:pointer;color:#2d2013;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-radio-button")} .pn-radio-helpertext{color:#5e554a;margin:0 0 0.5em 0;display:flex;flex-direction:column}${index.transformTag("pn-radio-button")} .pn-radio-helpertext:last-child{margin:0}${index.transformTag("pn-radio-button")} .pn-radio-content{display:flex;flex-direction:column;align-items:flex-start;font-weight:400;line-height:1.5;flex:1;margin:0 0 0 0.75em}${index.transformTag("pn-radio-button")} .pn-radio-button{display:flex;gap:0.75em;padding:0}${index.transformTag("pn-radio-button")} .pn-radio-outer{background-color:#ffffff;border:0.0625em solid #969087;border-radius:50%;height:1.5em;width:1.5em;display:flex;justify-content:center;align-items:center;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:border-color, background-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-radio-button")} .pn-radio-outer{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-radio-button")} .pn-radio-inner{height:0.75em;width:0.75em;background-color:#005d92;border-radius:50%;transform:scale(0);transform-origin:center center;transition-property:background-color, transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-radio-button")} .pn-radio-inner{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-radio-button")} .pn-radio[data-tile]{padding:1em;border:0.0625em solid #969087;border-radius:0.5em;background-color:#ffffff;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:border-color, background-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-radio-button")} .pn-radio[data-tile]{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-radio-button")} .pn-radio[data-tile] .pn-radio-outer{outline:none}${index.transformTag("pn-radio-button")} .pn-radio[data-invalid]{border-color:#a70707}${index.transformTag("pn-radio-button")} .pn-radio[data-invalid] .pn-radio-outer{border-color:#a70707}${index.transformTag("pn-radio-button")} .pn-radio[data-invalid] .pn-radio-inner{background-color:#a70707}${index.transformTag("pn-radio-button")} .pn-radio-container{flex:1 1 100%;overflow:hidden;visibility:hidden}${index.transformTag("pn-radio-button")} .pn-radio-container[data-open]{visibility:visible;overflow:unset}${index.transformTag("pn-radio-button")} .pn-radio-container[data-moving]{visibility:visible;overflow:hidden}${index.transformTag("pn-radio-button")} .pn-radio-area{padding:0.75em 0 0 2.25em;display:flex;flex-direction:column;flex-wrap:nowrap;gap:1em}${index.transformTag("pn-radio-button")} .pn-radio>${index.transformTag("pn-icon")}{margin-left:0.75em}${index.transformTag("pn-radio-button")}>input[type=radio]{cursor:pointer;opacity:0;position:absolute;margin:0;z-index:1;top:0;left:0;font-size:1em;width:1.5em;height:1.5em;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-radio-button")}>input[type=radio][data-tile]:not([data-expand]){width:100%;height:100%}${index.transformTag("pn-radio-button")}>input[type=radio][data-expand]{top:1em;left:1em}${index.transformTag("pn-radio-button")}>input[type=radio][aria-describedby]+.pn-radio[data-tile] .pn-radio-label{font-weight:500}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile]{border-color:#005d92;background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile] .pn-radio-outer{background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile][data-invalid]{border-color:#a70707;background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-tile][data-invalid] .pn-radio-outer{background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio[data-invalid] .pn-radio-outer{border-color:#a70707;background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:hover+.pn-radio .pn-radio-outer{border-color:#005d92;background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:checked:hover+.pn-radio[data-tile][data-invalid]{border-color:#500715}${index.transformTag("pn-radio-button")}>input[type=radio]:checked:hover+.pn-radio[data-invalid]>.pn-radio-button>.pn-radio-outer{border-color:#500715}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio .pn-radio-outer{outline-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-invalid] .pn-radio-outer{outline-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-tile]{outline-color:#005d92;border-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-tile][data-invalid]{outline-color:#a70707;border-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:focus-visible+.pn-radio[data-tile]>.pn-radio-button>.pn-radio-outer{outline:none}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-tile]{border-color:#005d92;background-color:#e0f8ff}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-tile][data-invalid]{border-color:#a70707;background-color:#fdefee}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio>.pn-radio-button>.pn-radio-outer{border-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio>.pn-radio-button>.pn-radio-outer>.pn-radio-inner{transform:scale(1);background-color:#005d92}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-invalid]>.pn-radio-button>.pn-radio-outer{border-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:checked+.pn-radio[data-invalid]>.pn-radio-button>.pn-radio-outer>.pn-radio-inner{background-color:#a70707}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled{pointer-events:none}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio .pn-radio-label{pointer-events:none}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio[data-tile]{background-color:#f3f2f2;border-color:#f3f2f2}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio[data-tile]>${index.transformTag("pn-icon")} .pn-icon-svg path{fill:#5e554a}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio[data-tile]>.pn-radio-content>.pn-radio-label{color:#5e554a}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio>.pn-radio-button>.pn-radio-outer{background-color:#f3f2f2;border-color:#969087;outline:none}${index.transformTag("pn-radio-button")}>input[type=radio]:disabled+.pn-radio>.pn-radio-button>.pn-radio-outer>.pn-radio-inner{background-color:#969087}`;
12
12
 
13
13
  const PnRadioButton = class extends index.Mixin(index$1.animateHeightFactory) {
14
14
  constructor(hostRef) {
15
15
  super();
16
16
  index.registerInstance(this, hostRef);
17
+ this.pnRadioChange = index.createEvent(this, "pnRadioChange", 3);
17
18
  }
18
19
  id = `pn-radio-${index$2.uuidv4()}`;
19
20
  idHelpertext = `${this.id}-helpertext`;
@@ -24,20 +25,16 @@ const PnRadioButton = class extends index.Mixin(index$1.animateHeightFactory) {
24
25
  label;
25
26
  /** This adds an optional helpertext under the label. */
26
27
  helpertext;
27
- /** This will be emitted on change and input events. */
28
+ /** This will be emitted on change and input events. @category Native attributes */
28
29
  value;
29
- /** The name of the radio group. */
30
+ /** The name of the radio group. @category Native attributes */
30
31
  name;
31
- /** Check the radio. */
32
+ /** Programmatically check the input. @category Native attributes */
32
33
  checked = false;
33
- /** A unique HTML ID for the radio. */
34
- radioid = this.id;
35
- /** Set the radio as required. @category State */
34
+ /** Set the radio as required. @category Native attributes */
36
35
  required = false;
37
- /** Disable the radio. @category State */
36
+ /** Disable the radio. @category Native attributes */
38
37
  disabled = false;
39
- /** If set to true, color scheme will turn red, indicating that there is an issue or incorrect input related the radio. @category State */
40
- invalid = false;
41
38
  /**
42
39
  * Turn the radio into a clickable tile. A border and padding is added.
43
40
  *
@@ -45,7 +42,7 @@ const PnRadioButton = class extends index.Mixin(index$1.animateHeightFactory) {
45
42
  * An exception is made when using the `tile` + `expand` props together,
46
43
  * which allows you to use interactive elements.
47
44
  *
48
- * @category Tile
45
+ * @category Features
49
46
  */
50
47
  tile = false;
51
48
  /**
@@ -55,17 +52,44 @@ const PnRadioButton = class extends index.Mixin(index$1.animateHeightFactory) {
55
52
  * The prop `tile` must be used at the same time.
56
53
  * @see {@link tile}
57
54
  * @since v7.17.0
58
- * @category Tile
55
+ * @category Features
59
56
  */
60
57
  expand = false;
61
58
  /**
62
59
  * Add an icon on the right of your radio tile. The `tile` prop must be `true` for the icon to work.
63
60
  * @see {@link tile}
64
- * @category Tile
61
+ * @category Features
65
62
  */
66
63
  icon = null;
64
+ /**
65
+ * If set to true, color scheme will turn red, indicating that there is an issue or incorrect input related the radio.
66
+ * @category Features
67
+ */
68
+ invalid = false;
69
+ /** A unique HTML ID for the radio. @since v7.25.0 @category HTML attributes */
70
+ pnId;
71
+ /**
72
+ * Provide the label via an aria attribute.
73
+ * We strongly recommend you use the `label` prop instead.
74
+ * @since v7.25.0
75
+ * @category HTML attributes
76
+ */
77
+ pnAriaLabel;
78
+ /**
79
+ * Provide the label from another element via its ID.
80
+ * We strongly recommend you use the `label` prop instead.
81
+ * @since v7.25.0
82
+ * @category HTML attributes
83
+ */
84
+ pnAriaLabelledby;
85
+ /**
86
+ * A unique HTML ID for the radio.
87
+ * @deprecated Use `pn-id` instead.
88
+ * @category HTML attributes
89
+ */
90
+ radioid;
67
91
  handleId() {
68
- this.idHelpertext = `${this.radioid}-helpertext`;
92
+ this.idHelpertext = `${this.getId()}-helpertext`;
69
93
  }
70
94
  handleChecked(checked) {
71
95
  this.checked = checked ?? this.radioInput.checked;
@@ -91,12 +115,20 @@ const PnRadioButton = class extends index.Mixin(index$1.animateHeightFactory) {
91
115
  if (isSameRadioGroup)
92
116
  this.checked = isSameRadio;
93
117
  }
94
- componentWillLoad() {
95
- this.handleId();
96
- }
118
+ /**
119
+ * This is the same as the native `change` event, but without bubbling.
120
+ * This is useful when you want to listen to the event directly on the `pn-radio-button` element without
121
+ * having to worry about catching events from nested pn-radio-buttons.
122
+ *
123
+ * @since v7.25.0
124
+ **/
125
+ pnRadioChange;
97
126
  componentDidLoad() {
98
127
  requestAnimationFrame(() => this.displayContent() && this.checked && this.openDropdown(this.contentArea));
99
128
  }
129
+ getId() {
130
+ return this.pnId || this.radioid || this.id;
131
+ }
100
132
  uncheckOtherRadios() {
101
133
  if (!this.name)
102
134
  return;
@@ -123,13 +155,22 @@ const PnRadioButton = class extends index.Mixin(index$1.animateHeightFactory) {
123
155
  displayContent() {
124
156
  return this.tile && this.expand;
125
157
  }
158
+ getAriaLabel() {
159
+ return !this.displayLabel() && !this.pnAriaLabelledby ? this.pnAriaLabel : null;
160
+ }
161
+ getAriaLabelledby() {
162
+ return !this.displayLabel() && !this.pnAriaLabel ? this.pnAriaLabelledby : null;
163
+ }
126
164
  render() {
127
- return (index.h(index.Host, { key: 'f386b0de0377d3dbe6891a2396d32b91a808d53c' }, index.h("input", { key: '189e352a198275f4dbd733425166e9cb2ed417ef', type: "radio", id: this.radioid, class: "pn-radio-input", value: this.value, name: this.name, disabled: this.disabled, checked: this.checked, required: this.required, "aria-invalid": this.isInvalid()?.toString(), "aria-describedby": this.displayHelpertext() ? this.idHelpertext : null, "data-tile": this.tile, "data-expand": this.expand, ref: el => (this.radioInput = el) }), index.h("div", { key: '710dcfe5b1660d25a9d98eb2c3739eb092f2ab4e', class: "pn-radio", "data-tile": this.tile, "data-expand": this.expand, "data-invalid": this.isInvalid() }, index.h("div", { key: '2d6bd1b03ee6565b88773c60a529ae2c5be89ffd', class: "pn-radio-button" }, index.h("div", { key: '8b15488acb65132b2498d361d320bb804af793de', class: "pn-radio-outer" }, index.h("div", { key: '64ebbe9b4d18f158a43bb5d82116ef4b19325ca1', class: "pn-radio-inner" }))), index.h("p", { key: '3b5ed02eeae60cff45b3b4999055c6d853a6c22f', class: "pn-radio-content", hidden: !this.displayText() }, index.h("label", { key: 'd5f3c5f59630407a45cc48fcb26e60fe7419c73c', htmlFor: this.radioid, class: "pn-radio-label", hidden: !this.displayLabel() }, this.label), index.h("span", { key: 'd4329417f178f6e7bcff365a1c051ebaa51b0447', id: this.idHelpertext, class: "pn-radio-helpertext", hidden: !this.displayHelpertext() }, this.helpertext, index.h("slot", { key: 'defddc5970a0ea4c94c4f7b07e2cec3e7616d8c2', name: "helpertext" })), index.h("slot", { key: 'edaaf37351bb5d05bdc92696ac9ee2c8bc8e13f7' })), this.displayIcon() && index.h("pn-icon", { key: 'b9cd0ab07c691020efe39e8bb6ec39d02d5be826', icon: this.icon, color: "gray900" }), index.h("div", { key: '89655e67304498950e11c0388fddbbde350239a1', class: "pn-radio-container", "data-open": this.checked, hidden: !this.displayContent(), style: { height: '0px' }, ref: el => (this.contentArea = el) }, index.h("div", { key: 'eeebaf7c0b1fe8327810faec62877888cb6ff95d', class: "pn-radio-area" }, index.h("slot", { key: 'c997ee7e8ef719ff4b830df30a414cea637a54ff', name: "content" }))))));
165
+ return (index.h(index.Host, { key: '4cc4729921eef5f9076bb2b3ce409d105c37e7fc' }, index.h("input", { key: '5081a5a1be4ebd3bfeca8559c3973b60e6257f6c', type: "radio", id: this.getId(), class: "pn-radio-input", value: this.value, name: this.name, disabled: this.disabled, checked: this.checked, required: this.required, "aria-label": this.getAriaLabel(), "aria-labelledby": this.getAriaLabelledby(), "aria-invalid": this.isInvalid()?.toString(), "aria-describedby": this.displayHelpertext() ? this.idHelpertext : null, "data-tile": this.tile, "data-expand": this.expand, onChange: event => this.pnRadioChange.emit(event), ref: el => (this.radioInput = el) }), index.h("div", { key: 'a933fc7fe850449df7c3c94ee387fa882b905fac', class: "pn-radio", "data-tile": this.tile, "data-expand": this.expand, "data-invalid": this.isInvalid() }, index.h("div", { key: '83f27a39013bd0674d1155aced4258da5c2cba58', class: "pn-radio-button" }, index.h("div", { key: 'fab4f7fbe57a2e9ae9c7cae444c2d603b23b6acb', class: "pn-radio-outer" }, index.h("div", { key: 'd672da19315841a7e1a46ada320739d8ced84a93', class: "pn-radio-inner" }))), index.h("div", { key: 'e863aa9e7396ccead7fed2227bbee45ca96c2187', class: "pn-radio-content", hidden: !this.displayText() }, index.h("label", { key: '221ea43c549af80b6b8c54fc611b0b48fe709f17', htmlFor: this.getId(), class: "pn-radio-label", hidden: !this.displayLabel() }, this.label), index.h("p", { key: '9a1cc75ef224d5d6830c35ee20742a14ef2268ba', id: this.idHelpertext, class: "pn-radio-helpertext", hidden: !this.displayHelpertext() }, this.helpertext, index.h("slot", { key: 'fb77032b6ce781fbc45bc9a5914b7c64b6cb3fd5', name: "helpertext" })), index.h("slot", { key: '73d298a9ef742031d83de42b737f5a6289ec692d' })), this.displayIcon() && index.h("pn-icon", { key: '8850771543bb69709196805cb46096bd706d32f7', icon: this.icon, color: "gray900" }), index.h("div", { key: '9ac6ed23cc447f4f7ed1bd0ab5311a211fc2f25d', class: "pn-radio-container", "data-open": this.checked, hidden: !this.displayContent(), style: { height: '0px' }, ref: el => (this.contentArea = el) }, index.h("div", { key: 'b952ea9f31572a6d5933f3ea3342283aaf9901e4', class: "pn-radio-area" }, index.h("slot", { key: '41e31f73b12b07ae647ccf89abcac486e5820592', name: "content" }))))));
128
166
  }
129
167
  static get watchers() { return {
130
168
  "radioid": [{
131
169
  "handleId": 0
132
170
  }],
171
+ "pnId": [{
172
+ "handleId": 1
173
+ }],
133
174
  "checked": [{
134
175
  "handleChecked": 0
135
176
  }]
@@ -4,15 +4,15 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- var index = require('./index-CfUQZtlH.js');
7
+ var index = require('./index-DWu-2oJc.js');
8
8
  var index$1 = require('./index.cjs.js');
9
9
 
10
- const pnRangeCss = () => `${index.transformTag("pn-range")}{display:block}${index.transformTag("pn-range")} .pn-range{color:#2d2013;display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(0.25em, 5vw, 0.75em);align-items:center;container-type:inline-size}@container (max-width: 24em){${index.transformTag("pn-range")} .pn-range .pn-range-header[data-input]{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);margin:-1px;white-space:nowrap}${index.transformTag("pn-range")} .pn-range>${index.transformTag("pn-input")}{flex:1 1 100%}${index.transformTag("pn-range")} .pn-range>${index.transformTag("pn-input")} .pn-input-label{position:unset;height:unset;width:unset;overflow:unset;clip:unset;margin:0 0 0.25em 0;white-space:unset}}${index.transformTag("pn-range")} .pn-range[data-markers]{margin-bottom:1em}${index.transformTag("pn-range")} .pn-range[data-markers][data-input]{margin-bottom:0.5em}${index.transformTag("pn-range")} .pn-range-header{display:flex;justify-content:space-between;flex:1 1 100%;width:100%}${index.transformTag("pn-range")} .pn-range-label{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){${index.transformTag("pn-range")} .pn-range-label{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-label>span{font-size:0.875em}${index.transformTag("pn-range")} .pn-range-message{color:#5e554a;font-size:0.875em;font-weight:400;margin:0.25em 0 0 0;display:flex;flex-direction:column;gap:0.25em;text-align:left;flex:1 1 100%;width:100%}${index.transformTag("pn-range")} .pn-range-message[hidden],${index.transformTag("pn-range")} .pn-range-message>span[hidden]{display:none}${index.transformTag("pn-range")} .pn-range-error{color:#a70707}${index.transformTag("pn-range")} .pn-range-field{flex:0 0 auto}${index.transformTag("pn-range")} .pn-range-field .pn-input-label{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);margin:-1px;white-space:nowrap}${index.transformTag("pn-range")} .pn-range-group{position:relative;min-height:0.75em;padding:0.75em 0;flex:1 1 auto}${index.transformTag("pn-range")} .pn-range-group[data-pressing] *,${index.transformTag("pn-range")} .pn-range-group[data-pressing] *:before,${index.transformTag("pn-range")} .pn-range-group[data-pressing] *:after{transition-duration:0s}${index.transformTag("pn-range")} .pn-range-text{font-weight:400;font-size:0.875em;color:#2d2013}${index.transformTag("pn-range")} .pn-range-input{z-index:1;position:absolute;top:0;left:0;height:100%;width:100%;margin:0;opacity:0;cursor:pointer;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-range")} .pn-range-input:focus~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-input:hover~.pn-range-thumb:before{background-color:#0d234b}${index.transformTag("pn-range")} .pn-range-input:focus~.pn-range-thumb .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-input:hover~.pn-range-thumb .pn-range-tooltip{opacity:1;transform:translateX(50%) translateY(0%);transition-delay:0s}${index.transformTag("pn-range")} .pn-range-input:focus-visible[data-single]~.pn-range-thumb:before{outline-color:#005d92}${index.transformTag("pn-range")} .pn-range-input:focus-visible[data-start]~.pn-range-thumb[data-start]:before,${index.transformTag("pn-range")} .pn-range-input:focus-visible[data-end]~.pn-range-thumb[data-end]:before{outline-color:#005d92}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]~.pn-range-thumb:before{background-color:#a70707}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]~.pn-range-thumb .pn-range-tooltip{background-color:#500715}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]~.pn-range-track:before{background-color:#a70707}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]:focus-visible[data-start]~.pn-range-thumb[data-start]:before,${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]:focus-visible[data-end]~.pn-range-thumb[data-end]:before{outline-color:#a70707}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]:hover~.pn-range-thumb:before{background-color:#500715}${index.transformTag("pn-range")} .pn-range-input:disabled{cursor:not-allowed}${index.transformTag("pn-range")} .pn-range-input:disabled+.pn-range-track:before{background-color:#969087}${index.transformTag("pn-range")} .pn-range-input:disabled~.pn-range-thumb:before{background-color:#5e554a}${index.transformTag("pn-range")} .pn-range-input:disabled~.pn-range-thumb .pn-range-tooltip{background-color:#2d2013}${index.transformTag("pn-range")} .pn-range-overlay-input{z-index:5;cursor:pointer;position:absolute;appearance:none;top:0;left:0;height:100%;width:100%;margin:0;padding:0;border:0;outline:0;opacity:0;display:block;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb:before{background-color:#0d234b}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb[data-align=right] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb[data-align=right] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb[data-align=right] .pn-range-tooltip{transform:translateX(0%) translateY(0%);border-bottom-right-radius:0em}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb[data-align=left] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb[data-align=left] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb[data-align=left] .pn-range-tooltip{transform:translateX(100%) translateY(0%);border-bottom-left-radius:0em}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb .pn-range-tooltip{opacity:1;transform:translateX(50%) translateY(0%);transition-delay:0s}${index.transformTag("pn-range")} .pn-range-overlay-input[aria-invalid=true]:focus~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input[aria-invalid=true]:focus-visible~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input[aria-invalid=true]:hover~.pn-range-thumb:before{background-color:#500715}${index.transformTag("pn-range")} .pn-range-track{pointer-events:none;position:relative;min-height:inherit;display:block;background-color:#d3cecb;border-radius:2em;overflow:hidden}${index.transformTag("pn-range")} .pn-range-track:before,${index.transformTag("pn-range")} .pn-range-track:after{content:"";z-index:0;position:absolute;right:100%;pointer-events:none;height:100%;width:100%;background-color:#005d92;transform:translateX(var(--pn-range-progress));transition-property:transform, background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-track:before,${index.transformTag("pn-range")} .pn-range-track:after{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-track:after{display:none}${index.transformTag("pn-range")} .pn-range-track:before{background-color:#005d92;transform:translateX(var(--pn-range-progress))}${index.transformTag("pn-range")} .pn-range-track[data-multiple]:before{transform:translateX(var(--pn-range-progress-end))}${index.transformTag("pn-range")} .pn-range-track[data-multiple]:after{display:unset;background-color:#d3cecb;transform:translateX(var(--pn-range-progress))}${index.transformTag("pn-range")} .pn-range-thumb{pointer-events:none;position:absolute;height:100%;width:calc(100% - 1em);top:0;right:calc(100% - 0.5em);transform:translateX(var(--pn-range-progress));transition-property:transform, border-radius;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-thumb{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-thumb[data-end]{transform:translateX(var(--pn-range-progress-end))}${index.transformTag("pn-range")} .pn-range-thumb[data-align=right] .pn-range-tooltip{transform:translateX(0%) translateY(10%)}${index.transformTag("pn-range")} .pn-range-thumb[data-align=right] .pn-range-tooltip:before{transform:translateX(50%) translateY(-50%) rotate(0deg)}${index.transformTag("pn-range")} .pn-range-thumb[data-align=left] .pn-range-tooltip{transform:translateX(100%) translateY(10%)}${index.transformTag("pn-range")} .pn-range-thumb[data-align=left] .pn-range-tooltip:before{transform:translateX(50%) translateY(-50%) rotate(0deg)}${index.transformTag("pn-range")} .pn-range-thumb:before{content:"";position:absolute;top:0.5em;right:-0.65625em;height:1.3125em;width:1.3125em;background-color:#005d92;border-radius:5em;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:background-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-thumb:before{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-tooltip{position:absolute;z-index:10;top:-85%;right:0;text-align:center;line-height:1.25em;white-space:nowrap;height:1.75em;min-width:2em;padding:0.25em 0.5em;border-radius:0.5em;background-color:#0d234b;color:#ffffff;transform:translateX(50%) translateY(10%);opacity:0;transition-property:opacity, transform, border-radius, background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-tooltip{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-tooltip{transition-delay:0.4s}${index.transformTag("pn-range")} .pn-range-tooltip-label{font-size:0.875em;font-weight:400}${index.transformTag("pn-range")} .pn-range-tooltip:before{content:"";z-index:-1;position:absolute;left:50%;bottom:-0.25em;height:0.5em;width:0.5em;background-color:inherit;transform:translateX(-50%) translateY(0%) rotate(45deg);transition-property:left, transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-tooltip:before{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-markers{position:absolute;top:100%;left:0.5em;min-height:1em;width:calc(100% - 1em);padding:0;margin:0;list-style:none;display:flex;flex-direction:row;flex-wrap:nowrap}${index.transformTag("pn-range")} .pn-range-markers-item{position:relative;left:var(--pn-range-marker-position)}${index.transformTag("pn-range")} .pn-range-markers-item[data-min] .pn-range-markers-label{left:-0.0625em;transform:translateX(0%)}${index.transformTag("pn-range")} .pn-range-markers-item[data-max] .pn-range-markers-label{left:unset;right:0;transform:translateX(0%)}${index.transformTag("pn-range")} .pn-range-markers-item:before{content:"";position:absolute;left:0;top:-100%;border-left:0.0625em solid #d3cecb;height:1em;z-index:-1}${index.transformTag("pn-range")} .pn-range-markers-label{position:absolute;top:0;left:50%;transform:translateX(-50%);font-weight:400;font-size:0.875em;color:#5e554a;transition-property:color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-markers-label{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-markers-label[data-active]{color:#2d2013}`;
10
+ const pnRangeCss = () => `${index.transformTag("pn-range")}{display:block}${index.transformTag("pn-range")} .pn-range{color:#2d2013;display:flex;flex-direction:row;flex-wrap:wrap;gap:clamp(0.25em, 5vw, 0.75em);align-items:center;container-type:inline-size}@container (max-width: 24em){${index.transformTag("pn-range")} .pn-range .pn-range-header[data-input]{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);margin:-1px;white-space:nowrap}${index.transformTag("pn-range")} .pn-range>${index.transformTag("pn-input")}{flex:1 1 100%}${index.transformTag("pn-range")} .pn-range>${index.transformTag("pn-input")} .pn-input-label{position:unset;height:unset;width:unset;overflow:unset;clip:unset;margin:0 0 0.25em 0;white-space:unset}}${index.transformTag("pn-range")} .pn-range[data-markers]{margin-bottom:1em}${index.transformTag("pn-range")} .pn-range[data-markers][data-input]{margin-bottom:0.5em}${index.transformTag("pn-range")} .pn-range-header{display:flex;justify-content:space-between;flex:1 1 100%;width:100%}${index.transformTag("pn-range")} .pn-range-header:empty{display:none}${index.transformTag("pn-range")} .pn-range-label{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){${index.transformTag("pn-range")} .pn-range-label{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-label>span{font-size:0.875em}${index.transformTag("pn-range")} .pn-range-message{color:#5e554a;font-size:0.875em;font-weight:400;margin:0.25em 0 0 0;display:flex;flex-direction:column;gap:0.25em;text-align:left;flex:1 1 100%;width:100%}${index.transformTag("pn-range")} .pn-range-message[hidden],${index.transformTag("pn-range")} .pn-range-message>span[hidden]{display:none}${index.transformTag("pn-range")} .pn-range-error{color:#a70707}${index.transformTag("pn-range")} .pn-range-field{flex:0 0 auto}${index.transformTag("pn-range")} .pn-range-field .pn-input-label{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);margin:-1px;white-space:nowrap}${index.transformTag("pn-range")} .pn-range-group{position:relative;min-height:0.75em;padding:0.75em 0;flex:1 1 auto}${index.transformTag("pn-range")} .pn-range-group[data-pressing] *,${index.transformTag("pn-range")} .pn-range-group[data-pressing] *:before,${index.transformTag("pn-range")} .pn-range-group[data-pressing] *:after{transition-duration:0s}${index.transformTag("pn-range")} .pn-range-text{font-weight:400;font-size:0.875em;color:#2d2013}${index.transformTag("pn-range")} .pn-range-input{z-index:1;position:absolute;top:0;left:0;height:100%;width:100%;margin:0;opacity:0;cursor:pointer;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-range")} .pn-range-input:focus~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-input:hover~.pn-range-thumb:before{background-color:#0d234b}${index.transformTag("pn-range")} .pn-range-input:focus~.pn-range-thumb .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-input:hover~.pn-range-thumb .pn-range-tooltip{opacity:1;transform:translateX(50%) translateY(0%);transition-delay:0s}${index.transformTag("pn-range")} .pn-range-input:focus-visible[data-single]~.pn-range-thumb:before{outline-color:#005d92}${index.transformTag("pn-range")} .pn-range-input:focus-visible[data-start]~.pn-range-thumb[data-start]:before,${index.transformTag("pn-range")} .pn-range-input:focus-visible[data-end]~.pn-range-thumb[data-end]:before{outline-color:#005d92}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]~.pn-range-thumb:before{background-color:#a70707}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]~.pn-range-thumb .pn-range-tooltip{background-color:#500715}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]~.pn-range-track:before{background-color:#a70707}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]:focus-visible[data-start]~.pn-range-thumb[data-start]:before,${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]:focus-visible[data-end]~.pn-range-thumb[data-end]:before{outline-color:#a70707}${index.transformTag("pn-range")} .pn-range-input[aria-invalid=true]:hover~.pn-range-thumb:before{background-color:#500715}${index.transformTag("pn-range")} .pn-range-input:disabled{cursor:not-allowed}${index.transformTag("pn-range")} .pn-range-input:disabled+.pn-range-track:before{background-color:#969087}${index.transformTag("pn-range")} .pn-range-input:disabled~.pn-range-thumb:before{background-color:#5e554a}${index.transformTag("pn-range")} .pn-range-input:disabled~.pn-range-thumb .pn-range-tooltip{background-color:#2d2013}${index.transformTag("pn-range")} .pn-range-overlay-input{z-index:5;cursor:pointer;position:absolute;appearance:none;top:0;left:0;height:100%;width:100%;margin:0;padding:0;border:0;outline:0;opacity:0;display:block;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb:before{background-color:#0d234b}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb[data-align=right] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb[data-align=right] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb[data-align=right] .pn-range-tooltip{transform:translateX(0%) translateY(0%);border-bottom-right-radius:0em}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb[data-align=left] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb[data-align=left] .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb[data-align=left] .pn-range-tooltip{transform:translateX(100%) translateY(0%);border-bottom-left-radius:0em}${index.transformTag("pn-range")} .pn-range-overlay-input:focus~.pn-range-thumb .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:focus-visible~.pn-range-thumb .pn-range-tooltip,${index.transformTag("pn-range")} .pn-range-overlay-input:hover~.pn-range-thumb .pn-range-tooltip{opacity:1;transform:translateX(50%) translateY(0%);transition-delay:0s}${index.transformTag("pn-range")} .pn-range-overlay-input[aria-invalid=true]:focus~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input[aria-invalid=true]:focus-visible~.pn-range-thumb:before,${index.transformTag("pn-range")} .pn-range-overlay-input[aria-invalid=true]:hover~.pn-range-thumb:before{background-color:#500715}${index.transformTag("pn-range")} .pn-range-track{pointer-events:none;position:relative;min-height:inherit;display:block;background-color:#d3cecb;border-radius:2em;overflow:hidden}${index.transformTag("pn-range")} .pn-range-track:before,${index.transformTag("pn-range")} .pn-range-track:after{content:"";z-index:0;position:absolute;right:100%;pointer-events:none;height:100%;width:100%;background-color:#005d92;transform:translateX(var(--pn-range-progress));transition-property:transform, background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-track:before,${index.transformTag("pn-range")} .pn-range-track:after{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-track:after{display:none}${index.transformTag("pn-range")} .pn-range-track:before{background-color:#005d92;transform:translateX(var(--pn-range-progress))}${index.transformTag("pn-range")} .pn-range-track[data-multiple]:before{transform:translateX(var(--pn-range-progress-end))}${index.transformTag("pn-range")} .pn-range-track[data-multiple]:after{display:unset;background-color:#d3cecb;transform:translateX(var(--pn-range-progress))}${index.transformTag("pn-range")} .pn-range-thumb{pointer-events:none;position:absolute;height:100%;width:calc(100% - 1em);top:0;right:calc(100% - 0.5em);transform:translateX(var(--pn-range-progress));transition-property:transform, border-radius;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-thumb{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-thumb[data-end]{transform:translateX(var(--pn-range-progress-end))}${index.transformTag("pn-range")} .pn-range-thumb[data-align=right] .pn-range-tooltip{transform:translateX(0%) translateY(10%)}${index.transformTag("pn-range")} .pn-range-thumb[data-align=right] .pn-range-tooltip:before{transform:translateX(50%) translateY(-50%) rotate(0deg)}${index.transformTag("pn-range")} .pn-range-thumb[data-align=left] .pn-range-tooltip{transform:translateX(100%) translateY(10%)}${index.transformTag("pn-range")} .pn-range-thumb[data-align=left] .pn-range-tooltip:before{transform:translateX(50%) translateY(-50%) rotate(0deg)}${index.transformTag("pn-range")} .pn-range-thumb:before{content:"";position:absolute;top:0.5em;right:-0.65625em;height:1.3125em;width:1.3125em;background-color:#005d92;border-radius:5em;outline:0.2rem solid transparent;outline-offset:0.2rem;transition-property:background-color, outline-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-thumb:before{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-tooltip{position:absolute;z-index:10;top:-85%;right:0;text-align:center;line-height:1.25em;white-space:nowrap;height:1.75em;min-width:2em;padding:0.25em 0.5em;border-radius:0.5em;background-color:#0d234b;color:#ffffff;transform:translateX(50%) translateY(10%);opacity:0;transition-property:opacity, transform, border-radius, background-color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-tooltip{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-tooltip{transition-delay:0.4s}${index.transformTag("pn-range")} .pn-range-tooltip-label{font-size:0.875em;font-weight:400}${index.transformTag("pn-range")} .pn-range-tooltip:before{content:"";z-index:-1;position:absolute;left:50%;bottom:-0.25em;height:0.5em;width:0.5em;background-color:inherit;transform:translateX(-50%) translateY(0%) rotate(45deg);transition-property:left, transform;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-tooltip:before{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-markers{position:absolute;top:100%;left:0.5em;min-height:1em;width:calc(100% - 1em);padding:0;margin:0;list-style:none;display:flex;flex-direction:row;flex-wrap:nowrap}${index.transformTag("pn-range")} .pn-range-markers-item{position:relative;left:var(--pn-range-marker-position)}${index.transformTag("pn-range")} .pn-range-markers-item[data-min] .pn-range-markers-label{left:-0.0625em;transform:translateX(0%)}${index.transformTag("pn-range")} .pn-range-markers-item[data-max] .pn-range-markers-label{left:unset;right:0;transform:translateX(0%)}${index.transformTag("pn-range")} .pn-range-markers-item:before{content:"";position:absolute;left:0;top:-100%;border-left:0.0625em solid #d3cecb;height:1em;z-index:-1}${index.transformTag("pn-range")} .pn-range-markers-label{position:absolute;top:0;left:50%;transform:translateX(-50%);font-weight:400;font-size:0.875em;color:#5e554a;transition-property:color;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-range")} .pn-range-markers-label{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-range")} .pn-range-markers-label[data-active]{color:#2d2013}`;
11
11
 
12
12
  const PnRange = class {
13
13
  constructor(hostRef) {
14
14
  index.registerInstance(this, hostRef);
15
- this.rangeSelected = index.createEvent(this, "rangeSelected");
15
+ this.rangeSelected = index.createEvent(this, "rangeSelected", 7);
16
16
  }
17
17
  id = `pn-range-${index$1.uuidv4()}`;
18
18
  idEnd = `${this.id}-end`;
@@ -38,51 +38,35 @@ const PnRange = class {
38
38
  labelEnd;
39
39
  /** Set a helpertext for the range input. */
40
40
  helpertext = null;
41
- /**
42
- * Add markers. This will also render a `datalist` element with `options`.
43
- * Omitting the `label` for a marker will use the `value` as label instead.
44
- * Set `label` to `null` or `''` to hide it completely.
45
- */
46
- markers = [];
47
- /** Set a prefix for the range/input field. */
48
- textPrefix = null;
49
- /** Set a suffix for the range/input field. */
50
- textSuffix = null;
51
- /** Set an icon for the range/input field. */
52
- icon = null;
53
- /** Set an icon at the end of the range or for the second input field when using `multiple`. */
54
- iconEnd = null;
55
- /** Set a custom HTML id. */
56
- pnId = this.id;
57
- /** Set a custom HTML id. */
58
- pnIdEnd = this.idEnd;
59
- /** The range input name. @category HTML Attributes */
41
+ /** The range input value. @category Native attributes */
42
+ value = 0;
43
+ /** The range end input value. @category Native attributes */
44
+ valueEnd = 0;
45
+ /** The range input name. @category Native attributes */
60
46
  name;
61
- /** The range input name. @category HTML Attributes */
47
+ /** The range input name. @category Native attributes */
62
48
  nameEnd;
63
- /** The range input min value. @category HTML Attributes */
49
+ /** The range input min value. @category Native attributes */
64
50
  min = 0;
65
- /** The range input max value. @category HTML Attributes */
51
+ /** The range input max value. @category Native attributes */
66
52
  max = 100;
67
- /** The range input value. @category HTML Attributes */
68
- value = 0;
69
- /** The range end input value. @category HTML Attributes */
70
- valueEnd = 0;
71
- /** Set a step value for the range input. @category HTML Attributes */
53
+ /** Set a step value for the range input. @category Native attributes */
72
54
  step = '';
55
+ /** Disable the range input. @category Native attributes */
56
+ disabled = false;
73
57
  /**
74
- * Allow multiple values to be selected
58
+ * Add markers. This will also render a `datalist` element with `options`.
59
+ * Omitting the `label` for a marker will use the `value` as label instead.
60
+ * Set `label` to `null` or `''` to hide it completely.
75
61
  * @category Features
76
62
  */
77
- multiple = false;
63
+ markers = [];
78
64
  /**
79
65
  * Display an input for the range value.
80
66
  * Allowing the user to type or use the slider to set the value.
81
67
  * @category Features
82
68
  */
83
69
  input = false;
84
- /** Hide the tooltip. @category Features */
85
- tooltipHide = false;
86
70
  /**
87
71
  * Range tooltip label template. Default is simply the value of the range input.
88
72
  * @example
@@ -91,12 +75,57 @@ const PnRange = class {
91
75
  * @category Features
92
76
  */
93
77
  tooltipTemplate = this.tooltipDefault;
94
- /** Disable the range input. @category State */
95
- disabled = false;
96
- /** Set an error message for the range input. @category State */
97
- error = null;
98
- /** Set the error visual for the range input, same as `error`, but without a message. @category State */
78
+ /** Hide the tooltip. @category Features */
79
+ tooltipHide = false;
80
+ /** Set a prefix for the range/input field. @category Features */
81
+ textPrefix = null;
82
+ /** Set a suffix for the range/input field. @category Features */
83
+ textSuffix = null;
84
+ /** Set an icon for the range/input field. @category Features */
85
+ icon = null;
86
+ /** Set an icon at the end of the range or for the second input field when using `multiple`. @category Features */
87
+ iconEnd = null;
88
+ /**
89
+ * Allow multiple values to be selected
90
+ * @category Features
91
+ */
92
+ multiple = false;
93
+ /** Set the error visual for the range input, same as `error`, but without a message. @category Features */
99
94
  invalid = false;
95
+ /** Set an error message for the range input. @category Features */
96
+ error = null;
97
+ /** Set a custom ID for the input. @category HTML attributes */
98
+ pnId = this.id;
99
+ /** Set a custom ID for the end input. @category HTML attributes */
100
+ pnIdEnd = this.idEnd;
101
+ /**
102
+ * Provide the label via an aria attribute.
103
+ * We strongly recommend you use the `label` prop instead.
104
+ * @since v7.25.0
105
+ * @category HTML attributes
106
+ */
107
+ pnAriaLabel;
108
+ /**
109
+ * Provide the label for the end input via an aria attribute.
110
+ * We strongly recommend you use the `label-end` prop instead.
111
+ * @since v7.25.0
112
+ * @category HTML attributes
113
+ */
114
+ pnAriaLabelEnd;
115
+ /**
116
+ * Provide the label from another element via its ID.
117
+ * We strongly recommend you use the `label` prop instead.
118
+ * @since v7.25.0
119
+ * @category HTML attributes
120
+ */
121
+ pnAriaLabelledby;
122
+ /**
123
+ * Provide the label for the end input from another element via its ID.
124
+ * We strongly recommend you use the `label-end` prop instead.
125
+ * @since v7.25.0
126
+ * @category HTML attributes
127
+ */
128
+ pnAriaLabelledbyEnd;
100
129
  handleValue() {
101
130
  if (this.multiple && this.value > this.valueEnd) {
102
131
  this.valueEnd = this.value;
@@ -114,6 +143,8 @@ const PnRange = class {
114
143
  requestAnimationFrame(() => this.hostElement.style.setProperty('--pn-range-progress-end', `${percentage}%`));
115
144
  }
116
145
  handleId() {
146
+ this.idInput = `${this.pnId}-input`;
147
+ this.idInputEnd = `${this.pnIdEnd}-input`;
117
148
  this.idHelpertext = `${this.pnId}-helpertext`;
118
149
  this.idError = `${this.pnId}-error`;
119
150
  this.idDatalist = `${this.pnId}-data`;
@@ -136,6 +167,16 @@ const PnRange = class {
136
167
  if (this.mo)
137
168
  this.mo.disconnect();
138
169
  }
170
+ getAriaLabel(end) {
171
+ if (end)
172
+ return !this.labelEnd && !this.pnAriaLabelledbyEnd ? this.pnAriaLabelEnd : null;
173
+ return !this.label && !this.pnAriaLabelledby ? this.pnAriaLabel : null;
174
+ }
175
+ getAriaLabelledby(end) {
176
+ if (end)
177
+ return !this.labelEnd && !this.pnAriaLabelEnd ? this.pnAriaLabelledbyEnd : null;
178
+ return !this.label && !this.pnAriaLabel ? this.pnAriaLabelledby : null;
179
+ }
139
180
  tooltipDirection(isEnd = false) {
140
181
  if (this.multiple) {
141
182
  const isSmall = this.hostElement.offsetWidth < 384;
@@ -166,7 +207,7 @@ const PnRange = class {
166
207
  }
167
208
  /** If any `error` is active, either via the prop `invalid` or `error` prop/slot. */
168
209
  hasError() {
169
- return this.hasErrorMessage() || this.invalid || this.showErrorSlot;
210
+ return this.hasErrorMessage() || this.invalid;
170
211
  }
171
212
  checkSlottedHelper() {
172
213
  const slottedHelper = this.hostElement.querySelector('[slot=helpertext]')?.textContent;
@@ -277,13 +318,14 @@ const PnRange = class {
277
318
  const label = isEnd ? this.labelEnd : this.label;
278
319
  const value = isEnd ? this.valueEnd : this.value;
279
320
  const idInput = isEnd ? this.idInputEnd : this.idInput;
280
- return (index.h("pn-input", { class: "pn-range-field", label: label, type: "number", name: `${isEnd ? this.nameEnd : this.name}-input`, ...this.commonAttrs(), icon: isEnd ? this.iconEnd : this.icon, textPrefix: this.textPrefix, textSuffix: this.textSuffix, value: value?.toString(), inputid: idInput, invalid: this.hasError(), "data-single": !this.multiple, ...this.setListeners() }));
321
+ const name = isEnd ? (this.nameEnd ? `${this.nameEnd}-input` : null) : this.name ? `${this.name}-input` : null;
322
+ return (index.h("pn-input", { class: "pn-range-field", label: label, type: "number", name: name, ...this.commonAttrs(), icon: isEnd ? this.iconEnd : this.icon, textPrefix: this.textPrefix, textSuffix: this.textSuffix, value: value?.toString(), inputid: idInput, invalid: this.hasError(), "pn-aria-label": this.getAriaLabel(isEnd), "pn-aria-labelledby": this.getAriaLabelledby(isEnd), "data-single": !this.multiple, ...this.setListeners() }));
281
323
  }
282
324
  renderRangeInput(isEnd = false) {
283
325
  const id = isEnd ? this.pnIdEnd : this.pnId;
284
326
  const value = isEnd ? this.valueEnd : this.value;
285
327
  const customTooltip = this.tooltipDefault !== this.tooltipTemplate;
286
- return (index.h("input", { id: id, class: "pn-range-input", type: "range", name: isEnd ? this.nameEnd : this.name, ...this.commonAttrs(), value: value, "aria-valuetext": customTooltip ? this.getTooltipLabel(isEnd) : null, "aria-describedby": this.ariaDescribedby(), "aria-invalid": this.hasError().toString(), "data-start": isEnd ? null : true, "data-end": isEnd ? true : null, ...this.setListeners() }));
328
+ return (index.h("input", { id: id, class: "pn-range-input", type: "range", name: isEnd ? this.nameEnd : this.name, ...this.commonAttrs(), value: value, "aria-label": this.getAriaLabel(isEnd), "aria-labelledby": this.getAriaLabelledby(isEnd), "aria-valuetext": customTooltip ? this.getTooltipLabel(isEnd) : null, "aria-describedby": this.ariaDescribedby(), "aria-invalid": this.hasError().toString(), "data-start": isEnd ? null : true, "data-end": isEnd ? true : null, ...this.setListeners() }));
287
329
  }
288
330
  renderTooltip(isEnd = false) {
289
331
  return (index.h("div", { class: "pn-range-thumb", "data-start": isEnd ? null : true, "data-end": isEnd ? true : null, "data-align": this.tooltipDirection(isEnd), "aria-hidden": "true" }, !this.tooltipHide && (index.h("div", { class: "pn-range-tooltip" }, index.h("span", { class: "pn-range-tooltip-label" }, this.getTooltipLabel(isEnd))))));
@@ -298,7 +340,7 @@ const PnRange = class {
298
340
  this.setValue(numberValue, this.pressControl === 'end');
299
341
  }
300
342
  render() {
301
- return (index.h(index.Host, { key: '0a79e6606d509d701b83da4a2c3d3636c7d73979' }, index.h("div", { key: 'f56834025691e3c67544e4ddb2b54630bfa46095', class: "pn-range", "data-markers": !!this.markers?.length, "data-input": this.input }, index.h("div", { key: 'e39b5994468fc6f50ad479c5b3875732a29a4761', class: "pn-range-header", "data-input": this.input }, index.h("label", { key: '724a16a534343838e392480163517afc7bd15b6f', htmlFor: this.pnId, class: "pn-range-label" }, index.h("span", { key: 'ebd27275aeb63e79df5f2f0f5f4d1f5d118cd137' }, this.label)), this.multiple && (index.h("label", { key: 'aebe4d8b124cc5a905b61624566dc4db52f1f4a0', htmlFor: this.pnIdEnd, class: "pn-range-label" }, index.h("span", { key: '7a90745fadc39d81bac3083d562c9d7fe47c1d00' }, this.labelEnd)))), this.renderPrefix(), index.h("div", { key: '28fcae728841f246bfac7ae488710459d468e4f2', class: "pn-range-group", "data-pressing": this.isPressing }, this.renderRangeInput(), this.multiple && (index.h(index.Fragment, { key: '87dae83eea2f5e4eb5318759767dfabc74a0f128' }, this.renderRangeInput(true), index.h("input", { key: 'aa461034dfe94c78310409f87c1efaa0a4fb0a4d', id: this.idInputHidden, type: "range", class: "pn-range-overlay-input", ...this.commonAttrs(), "aria-invalid": this.hasError().toString(), hidden: true, tabIndex: -1, ...this.setListeners(true) }))), index.h("div", { key: '3282ce9652ff135db9e5bfa533af1c7fd1d29adb', class: "pn-range-track", "data-multiple": this.multiple, "aria-hidden": "true" }), this.renderTooltip(), this.multiple && this.renderTooltip(true), !!this.markers?.length && (index.h("ul", { key: '1692843e137439b5bdedb5728104a3312d26ffc2', "aria-hidden": "true", class: "pn-range-markers" }, this.markers.map(({ label, value }) => (index.h("li", { class: "pn-range-markers-item", "data-min": this.calcPercentage(value) === this.min, "data-max": this.calcPercentage(value) === this.max, style: { '--pn-range-marker-position': `${this.calcPercentage(value)}%` } }, index.h("span", { class: "pn-range-markers-label", "data-active": this.isActiveMarker(value) }, this.getMarkerLabel({ value, label })))))))), this.renderSuffix(), !!this.markers?.length && (index.h("datalist", { key: 'ed0ea3e4e284366f3e4eaf94245a1a71ccf20a17', id: this.idDatalist }, this.markers.map(({ label, value }) => (index.h("option", { value: value, label: label === null ? null : label }))))), index.h("p", { key: '3dd6afe5a2f142b1df60fdd87c0c23f942d83a71', id: this.idHelpertext, class: "pn-range-message", hidden: !this.hasHelperText() || this.hasError() }, index.h("span", { key: '048797709bcb778a9c1f2d71ae1ee1b1eef665f0' }, this.helpertext), index.h("slot", { key: '2fabbbc425b643917415653f831126e9d7319efd', name: "helpertext" })), index.h("p", { key: '65061b23a86338d7490bbfc2759308c1326f5d4e', id: this.idError, class: "pn-range-message pn-range-error", role: "alert", hidden: !this.hasErrorMessage() }, index.h("span", { key: 'a0be85a1e70ac6b07bb1447b6c8e9a04c72aade0' }, this.error), index.h("slot", { key: 'c13f70e99ec137373be96fa9d5a06b0266808fcf', name: "error" })))));
343
+ return (index.h(index.Host, { key: '9945b3c7f372134797de134a550106602a88a864' }, index.h("div", { key: 'd940ec70592f62a4a22f30fbee67ec9736b06560', class: "pn-range", "data-markers": !!this.markers?.length, "data-input": this.input }, index.h("div", { key: '9bcc2d50329ff1d77b6e60e32de8e6c7ff355271', class: "pn-range-header", "data-input": this.input }, this.label && (index.h("label", { key: '5888cd96c03e60f5311f877bf84e6aa62d47e97f', htmlFor: this.pnId, class: "pn-range-label" }, index.h("span", { key: '2072db6913d555fac653694a9e0d07c7d76fc695' }, this.label))), this.multiple && this.labelEnd && (index.h("label", { key: 'ae8dd61026a936c210c73ba6efe811e93760e60f', htmlFor: this.pnIdEnd, class: "pn-range-label" }, index.h("span", { key: '28bccee780ec10bd2b13b46f7e71ee0bcd68d559' }, this.labelEnd)))), this.renderPrefix(), index.h("div", { key: '278a597274b88d050ca240367e89677b5e302b97', class: "pn-range-group", "data-pressing": this.isPressing }, this.renderRangeInput(), this.multiple && (index.h(index.Fragment, { key: '840c4fc833463c6844157a3211707224777157ed' }, this.renderRangeInput(true), index.h("input", { key: '8eb75af8c97670d7cadb0fe91fd9f3314802953d', id: this.idInputHidden, type: "range", class: "pn-range-overlay-input", ...this.commonAttrs(), "aria-invalid": this.hasError().toString(), hidden: true, tabIndex: -1, ...this.setListeners(true) }))), index.h("div", { key: 'e2132f04eb0feca32916042bf0f3cd59f721dc8f', class: "pn-range-track", "data-multiple": this.multiple, "aria-hidden": "true" }), this.renderTooltip(), this.multiple && this.renderTooltip(true), !!this.markers?.length && (index.h("ul", { key: '9e49ca3fd348c9994b72129d6c10236935f14197', "aria-hidden": "true", class: "pn-range-markers" }, this.markers.map(({ label, value }) => (index.h("li", { class: "pn-range-markers-item", "data-min": this.calcPercentage(value) === this.min, "data-max": this.calcPercentage(value) === this.max, style: { '--pn-range-marker-position': `${this.calcPercentage(value)}%` } }, index.h("span", { class: "pn-range-markers-label", "data-active": this.isActiveMarker(value) }, this.getMarkerLabel({ value, label })))))))), this.renderSuffix(), !!this.markers?.length && (index.h("datalist", { key: '1de13cbec1006384d3ff3a00b1b04542f7202c41', id: this.idDatalist }, this.markers.map(({ label, value }) => (index.h("option", { value: value, label: label === null ? null : label }))))), index.h("p", { key: '2a188f9aedf5a406f61b76124a1d50439fff9113', id: this.idHelpertext, class: "pn-range-message", hidden: !this.hasHelperText() || this.hasErrorMessage() }, index.h("span", { key: '487bc4892db02156d88b683e96bb576897926b6a' }, this.helpertext), index.h("slot", { key: '5145e5f591e33da198650034c8d4dcf0e47d30a9', name: "helpertext" })), index.h("p", { key: '969947b6672fcd16c7b0947a2d2dc2faf58a9334', id: this.idError, class: "pn-range-message pn-range-error", role: "alert", hidden: !this.hasErrorMessage() }, index.h("span", { key: '5a0d01b2a9ca80f17cdf45329f3b900e1e1eabf7' }, this.error), index.h("slot", { key: '375f36337b860afd1d8b4c2b7bc8001d8653745f', name: "error" })))));
302
344
  }
303
345
  static get watchers() { return {
304
346
  "value": [{
@@ -308,6 +350,9 @@ const PnRange = class {
308
350
  "handleValueEnd": 1
309
351
  }],
310
352
  "pnId": [{
353
+ "handleId": 0
354
+ }],
355
+ "pnIdEnd": [{
311
356
  "handleId": 1
312
357
  }],
313
358
  "helpertext": [{
@@ -4,7 +4,7 @@
4
4
  */
5
5
  'use strict';
6
6
 
7
- var index = require('./index-CfUQZtlH.js');
7
+ var index = require('./index-DWu-2oJc.js');
8
8
  var index$1 = require('./index.cjs.js');
9
9
 
10
10
  const pnReadOnlyButtonCss = () => `${index.transformTag("pn-read-only-button")}{display:inline-block}${index.transformTag("pn-read-only-button")} button{cursor:not-allowed;color:#5e554a;background:#f3f2f2;padding:0.75em 1.2em;width:100%;border:none;border-radius:3em;outline:none;position:relative;font-size:1em;min-height:3em;min-width:5.5em;font-weight:500;display:flex;justify-content:center;align-items:center;-webkit-tap-highlight-color:transparent}${index.transformTag("pn-read-only-button")} button ${index.transformTag("pn-icon")}{flex-shrink:0;margin:0 0 0 0.5em}${index.transformTag("pn-read-only-button")} button .button-tooltip{position:absolute;bottom:calc(100% + 0.35em);left:50%;background:#a70707;color:#ffffff;padding:0.25em 0.75em;font-size:0.875em;font-weight:300;border-radius:1em;box-shadow:0 1.2px 3.6px rgba(0, 0, 0, 0.1), 0 6.4px 14.4px rgba(0, 0, 0, 0.13);z-index:5;max-width:min(95vw, 40em);transform:translateX(-50%);width:max-content;pointer-events:none;opacity:0;transition-property:opacity;transition-duration:0.2s;transition-timing-function:cubic-bezier(0.7, 0, 0.3, 1)}@media (prefers-reduced-motion: reduce){${index.transformTag("pn-read-only-button")} button .button-tooltip{transition-duration:0s;transition-delay:0s}}${index.transformTag("pn-read-only-button")} button[data-tooltip-open] .button-tooltip{opacity:1}${index.transformTag("pn-read-only-button")} button.pn-button-left-icon{flex-direction:row-reverse}${index.transformTag("pn-read-only-button")} button.pn-button-left-icon ${index.transformTag("pn-icon")}{margin:0 0.5em 0 0}${index.transformTag("pn-read-only-button")} button.icon-only{width:3em;min-width:0}${index.transformTag("pn-read-only-button")} button.icon-only ${index.transformTag("pn-icon")}{margin:0}${index.transformTag("pn-read-only-button")} button.icon-only.pn-button-small{width:2.286em;min-width:0;padding:0}${index.transformTag("pn-read-only-button")} button.icon-only span.read-only-icon-only{display:none}${index.transformTag("pn-read-only-button")} button.pn-button-small{font-size:0.875em;padding:0.5em 1em;font-weight:normal;min-height:2.286em;min-width:none}${index.transformTag("pn-read-only-button")} button.pn-button-small ${index.transformTag("pn-icon")} .pn-icon-svg{height:1.28em;width:1.28em}`;