@postnord/pn-marketweb-components 4.3.6 → 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 (417) 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/components/convert.js +26 -16
  10. package/components/convert.js.map +1 -1
  11. package/components/pn-teaser-card.js +1 -1
  12. package/components/pn-teaser-card.js.map +1 -1
  13. package/esm/{convert-ecca01b6.js → convert-a9a18794.js} +27 -17
  14. package/esm/convert-a9a18794.js.map +1 -0
  15. package/esm/pn-find-price.entry.js +1 -1
  16. package/esm/pn-find-service-and-price.entry.js +1 -1
  17. package/esm/pn-product-pricelist.entry.js +1 -1
  18. package/esm/pn-teaser-card.entry.js +1 -1
  19. package/esm/pn-teaser-card.entry.js.map +1 -1
  20. package/package.json +1 -1
  21. package/pn-market-web-components/p-00e6bb4b.js +2 -0
  22. package/pn-market-web-components/p-00e6bb4b.js.map +1 -0
  23. package/pn-market-web-components/{p-c4059cc1.entry.js → p-181e40ee.entry.js} +2 -2
  24. package/pn-market-web-components/{p-6d263c6e.entry.js → p-96d81eb2.entry.js} +2 -2
  25. package/pn-market-web-components/p-96d81eb2.entry.js.map +1 -0
  26. package/pn-market-web-components/{p-f8ccc718.entry.js → p-a0d7154f.entry.js} +2 -2
  27. package/pn-market-web-components/{p-413afe7c.entry.js → p-c18154a4.entry.js} +2 -2
  28. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  29. package/umd/modules/@postnord/web-components/cem.json +12220 -0
  30. package/umd/modules/@postnord/web-components/cjs/{index-CfUQZtlH.js → index-DWu-2oJc.js} +144 -85
  31. package/umd/modules/@postnord/web-components/cjs/{index-CNdVg5VI.js → index-vOySuOUW.js} +1 -1
  32. package/umd/modules/@postnord/web-components/cjs/index.cjs.js +18 -16
  33. package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +2 -2
  34. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +2 -2
  35. package/umd/modules/@postnord/web-components/cjs/pn-accordion.cjs.entry.js +5 -4
  36. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +6 -6
  37. package/umd/modules/@postnord/web-components/cjs/pn-button-dropdown.cjs.entry.js +1 -1
  38. package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +3 -3
  39. package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +4 -4
  40. package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +63 -21
  41. package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +38 -18
  42. package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +71 -37
  43. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +185 -103
  44. package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +33 -27
  45. package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +73 -42
  46. package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +2 -2
  47. package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +2 -2
  48. package/umd/modules/@postnord/web-components/cjs/pn-icon_2.cjs.entry.js +8 -10
  49. package/umd/modules/@postnord/web-components/cjs/pn-illustration.cjs.entry.js +3 -3
  50. package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +122 -89
  51. package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +24 -12
  52. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +136 -52
  53. package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +2 -2
  54. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +3 -3
  55. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +3 -3
  56. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +3 -3
  57. package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +4 -4
  58. package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +2 -2
  59. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +3 -3
  60. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +3 -3
  61. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +2 -2
  62. package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +61 -20
  63. package/umd/modules/@postnord/web-components/cjs/pn-range.cjs.entry.js +88 -43
  64. package/umd/modules/@postnord/web-components/cjs/pn-read-only-button.cjs.entry.js +1 -1
  65. package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +42 -25
  66. package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +16 -11
  67. package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +21 -21
  68. package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +90 -35
  69. package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +15 -10
  70. package/umd/modules/@postnord/web-components/cjs/pn-table.cjs.entry.js +1 -1
  71. package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +5 -4
  72. package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +2 -2
  73. package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +88 -34
  74. package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +3 -3
  75. package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +5 -5
  76. package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +56 -20
  77. package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +2 -2
  78. package/umd/modules/@postnord/web-components/cjs/pn-wizard.cjs.entry.js +71 -49
  79. package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +3 -3
  80. package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +3 -3
  81. package/umd/modules/@postnord/web-components/collection/collection-manifest.json +4 -1
  82. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.css +1 -10
  83. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/pn-accordion.js +5 -4
  84. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.css +13 -9
  85. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-icon/pn-icon.js +12 -14
  86. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.css +6 -2
  87. package/umd/modules/@postnord/web-components/collection/components/design-tokens/pn-illustration/pn-illustration.js +7 -1
  88. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.css +4 -1
  89. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js +71 -13
  90. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js +1 -1
  91. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js +1 -1
  92. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js +1 -1
  93. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js +1 -1
  94. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js +1 -1
  95. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js +1 -1
  96. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js +1 -1
  97. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.css +5 -5
  98. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-wizard/pn-wizard.js +70 -45
  99. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.css +3 -1
  100. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +213 -52
  101. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.css +1 -1
  102. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js +128 -68
  103. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +305 -154
  104. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +562 -275
  105. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.css +21 -16
  106. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +114 -54
  107. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.css +37 -50
  108. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +159 -97
  109. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/translation.js +7 -0
  110. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.css +1 -1
  111. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +415 -264
  112. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.css +13 -24
  113. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +316 -131
  114. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.css +3 -1
  115. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +223 -63
  116. package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.css +3 -0
  117. package/umd/modules/@postnord/web-components/collection/components/input/pn-range/pn-range.js +357 -191
  118. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.css +6 -9
  119. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +177 -90
  120. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.css +1 -1
  121. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +24 -24
  122. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +84 -37
  123. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.css +18 -14
  124. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +237 -90
  125. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.css +6 -5
  126. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +255 -115
  127. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.css +5 -3
  128. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +216 -68
  129. package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +1 -1
  130. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.css +2 -2
  131. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -1
  132. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +1 -1
  133. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -1
  134. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -1
  135. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +1 -1
  136. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +1 -1
  137. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +4 -3
  138. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.css +3 -3
  139. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +11 -6
  140. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -1
  141. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -1
  142. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +1 -1
  143. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +1 -1
  144. package/umd/modules/@postnord/web-components/collection/globals/helpers.js +16 -14
  145. package/umd/modules/@postnord/web-components/components/helpers.js +1 -1
  146. package/umd/modules/@postnord/web-components/components/pn-accordion.js +1 -1
  147. package/umd/modules/@postnord/web-components/components/pn-action-menu.js +1 -1
  148. package/umd/modules/@postnord/web-components/components/pn-card.js +1 -1
  149. package/umd/modules/@postnord/web-components/components/pn-checkbox.js +1 -1
  150. package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -1
  151. package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -1
  152. package/umd/modules/@postnord/web-components/components/pn-date-picker.js +1 -1
  153. package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -1
  154. package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -1
  155. package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -1
  156. package/umd/modules/@postnord/web-components/components/pn-header.js +1 -1
  157. package/umd/modules/@postnord/web-components/components/pn-icon2.js +1 -1
  158. package/umd/modules/@postnord/web-components/components/pn-illustration2.js +1 -1
  159. package/umd/modules/@postnord/web-components/components/pn-input2.js +1 -1
  160. package/umd/modules/@postnord/web-components/components/pn-modal.js +1 -1
  161. package/umd/modules/@postnord/web-components/components/pn-multiselect.js +1 -1
  162. package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
  163. package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -1
  164. package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -1
  165. package/umd/modules/@postnord/web-components/components/pn-page-nav.js +1 -1
  166. package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -1
  167. package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js +1 -1
  168. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -1
  169. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js +1 -1
  170. package/umd/modules/@postnord/web-components/components/pn-progress-stepper2.js +1 -1
  171. package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
  172. package/umd/modules/@postnord/web-components/components/pn-range.js +1 -1
  173. package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -1
  174. package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
  175. package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -1
  176. package/umd/modules/@postnord/web-components/components/pn-select2.js +1 -1
  177. package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -1
  178. package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
  179. package/umd/modules/@postnord/web-components/components/pn-tablist.js +1 -1
  180. package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -1
  181. package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -1
  182. package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
  183. package/umd/modules/@postnord/web-components/components/pn-toast.js +1 -1
  184. package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
  185. package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -1
  186. package/umd/modules/@postnord/web-components/components/pn-wizard.js +1 -1
  187. package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
  188. package/umd/modules/@postnord/web-components/esm/{index-CosyroON.js → index-DyhO6xPY.js} +1 -1
  189. package/umd/modules/@postnord/web-components/esm/{index-CAEP792y.js → index-XKg-ydzH.js} +144 -85
  190. package/umd/modules/@postnord/web-components/esm/index.js +19 -17
  191. package/umd/modules/@postnord/web-components/esm/loader.js +3 -3
  192. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +2 -2
  193. package/umd/modules/@postnord/web-components/esm/pn-accordion.entry.js +5 -4
  194. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +6 -6
  195. package/umd/modules/@postnord/web-components/esm/pn-button-dropdown.entry.js +1 -1
  196. package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +3 -3
  197. package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +4 -4
  198. package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +63 -21
  199. package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +38 -18
  200. package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +71 -37
  201. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +185 -103
  202. package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +33 -27
  203. package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +73 -42
  204. package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +2 -2
  205. package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +2 -2
  206. package/umd/modules/@postnord/web-components/esm/pn-icon_2.entry.js +8 -10
  207. package/umd/modules/@postnord/web-components/esm/pn-illustration.entry.js +3 -3
  208. package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +122 -89
  209. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +24 -12
  210. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +137 -53
  211. package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +2 -2
  212. package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +3 -3
  213. package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +3 -3
  214. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +3 -3
  215. package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +4 -4
  216. package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +2 -2
  217. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +3 -3
  218. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +3 -3
  219. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +2 -2
  220. package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +61 -20
  221. package/umd/modules/@postnord/web-components/esm/pn-range.entry.js +88 -43
  222. package/umd/modules/@postnord/web-components/esm/pn-read-only-button.entry.js +1 -1
  223. package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +42 -25
  224. package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +16 -11
  225. package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +21 -21
  226. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +90 -35
  227. package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +15 -10
  228. package/umd/modules/@postnord/web-components/esm/pn-table.entry.js +1 -1
  229. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +5 -4
  230. package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +2 -2
  231. package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +88 -34
  232. package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +3 -3
  233. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +5 -5
  234. package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +56 -20
  235. package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +2 -2
  236. package/umd/modules/@postnord/web-components/esm/pn-wizard.entry.js +71 -49
  237. package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +3 -3
  238. package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +4 -4
  239. package/umd/modules/@postnord/web-components/hydrate/index.js +1715 -940
  240. package/umd/modules/@postnord/web-components/hydrate/index.mjs +1715 -940
  241. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-gnu/package.json +1 -1
  242. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-gnu/rollup.linux-x64-gnu.node +0 -0
  243. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-musl/package.json +1 -1
  244. package/umd/modules/@postnord/web-components/node_modules/@rollup/rollup-linux-x64-musl/rollup.linux-x64-musl.node +0 -0
  245. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +3 -2
  246. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +3 -2
  247. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +1 -1
  248. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +1 -1
  249. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +3312 -561
  250. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +1 -1
  251. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +1 -1
  252. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +2 -2
  253. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +1 -1
  254. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +1 -1
  255. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +2 -2
  256. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +1 -1
  257. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-globals/package.json +1 -1
  258. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +246 -179
  259. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +1 -1
  260. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +1 -1
  261. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +1 -1
  262. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +245 -180
  263. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +1 -1
  264. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +59 -22
  265. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +1 -1
  266. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +1 -0
  267. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +1 -1
  268. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +49 -0
  269. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +51 -1
  270. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +26 -0
  271. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +23 -2
  272. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +238 -169
  273. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +1 -1
  274. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +59 -22
  275. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +12 -3
  276. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +59 -22
  277. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +1 -1
  278. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +10 -10
  279. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +1 -1
  280. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +1 -1
  281. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +1 -1
  282. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/460.node-fetch.js +3 -3
  283. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +2 -2
  284. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -1
  285. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +1 -1
  286. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +32 -32
  287. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +4 -4
  288. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +1 -1
  289. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +1 -1
  290. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +1 -1
  291. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +33 -1
  292. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +1 -1
  293. package/umd/modules/@postnord/web-components/package.json +16 -16
  294. package/umd/modules/@postnord/web-components/postnord-web-components/index.esm.js +1 -1
  295. package/umd/modules/@postnord/web-components/postnord-web-components/{p-ea50ecd2.entry.js → p-020ee3f4.entry.js} +1 -1
  296. package/umd/modules/@postnord/web-components/postnord-web-components/p-060b6ad2.entry.js +5 -0
  297. package/umd/modules/@postnord/web-components/postnord-web-components/p-0bf70d44.entry.js +5 -0
  298. package/umd/modules/@postnord/web-components/postnord-web-components/p-1ec52623.entry.js +5 -0
  299. package/umd/modules/@postnord/web-components/postnord-web-components/p-27c71f60.entry.js +5 -0
  300. package/umd/modules/@postnord/web-components/postnord-web-components/p-292a7591.entry.js +5 -0
  301. package/umd/modules/@postnord/web-components/postnord-web-components/{p-3d2cac86.entry.js → p-3709c995.entry.js} +1 -1
  302. package/umd/modules/@postnord/web-components/postnord-web-components/p-3db02038.entry.js +5 -0
  303. package/umd/modules/@postnord/web-components/postnord-web-components/{p-2f4ad4a4.entry.js → p-4b9fb0fc.entry.js} +1 -1
  304. package/umd/modules/@postnord/web-components/postnord-web-components/p-506a801d.entry.js +5 -0
  305. package/umd/modules/@postnord/web-components/postnord-web-components/p-518651ad.entry.js +5 -0
  306. package/umd/modules/@postnord/web-components/postnord-web-components/p-54917d9f.entry.js +5 -0
  307. package/umd/modules/@postnord/web-components/postnord-web-components/p-56ade97b.entry.js +5 -0
  308. package/umd/modules/@postnord/web-components/postnord-web-components/p-64207923.entry.js +5 -0
  309. package/umd/modules/@postnord/web-components/postnord-web-components/p-665af57e.entry.js +5 -0
  310. package/umd/modules/@postnord/web-components/postnord-web-components/p-6d85c967.entry.js +5 -0
  311. package/umd/modules/@postnord/web-components/postnord-web-components/p-6e407015.entry.js +5 -0
  312. package/umd/modules/@postnord/web-components/postnord-web-components/{p-01ac1c67.entry.js → p-720b8b90.entry.js} +1 -1
  313. package/umd/modules/@postnord/web-components/postnord-web-components/p-7aea3de5.entry.js +5 -0
  314. package/umd/modules/@postnord/web-components/postnord-web-components/p-7b6ae520.entry.js +5 -0
  315. package/umd/modules/@postnord/web-components/postnord-web-components/p-83d02093.entry.js +5 -0
  316. package/umd/modules/@postnord/web-components/postnord-web-components/p-88344f8d.entry.js +5 -0
  317. package/umd/modules/@postnord/web-components/postnord-web-components/{p-3c96cb61.entry.js → p-895acf7f.entry.js} +1 -1
  318. package/umd/modules/@postnord/web-components/postnord-web-components/p-8cedf2e0.entry.js +5 -0
  319. package/umd/modules/@postnord/web-components/postnord-web-components/p-91c6a8cf.entry.js +5 -0
  320. package/umd/modules/@postnord/web-components/postnord-web-components/p-98a37be9.entry.js +5 -0
  321. package/umd/modules/@postnord/web-components/postnord-web-components/p-9a6c90e4.entry.js +5 -0
  322. package/umd/modules/@postnord/web-components/postnord-web-components/p-9d2ee77a.entry.js +5 -0
  323. package/umd/modules/@postnord/web-components/postnord-web-components/p-9d56fb64.entry.js +5 -0
  324. package/umd/modules/@postnord/web-components/postnord-web-components/{p-BlM_xfdt.js → p-BWAVaTWQ.js} +1 -1
  325. package/umd/modules/@postnord/web-components/postnord-web-components/p-XKg-ydzH.js +6 -0
  326. package/umd/modules/@postnord/web-components/postnord-web-components/p-a1f92f19.entry.js +5 -0
  327. package/umd/modules/@postnord/web-components/postnord-web-components/p-a31d93db.entry.js +5 -0
  328. package/umd/modules/@postnord/web-components/postnord-web-components/p-aa15469e.entry.js +5 -0
  329. package/umd/modules/@postnord/web-components/postnord-web-components/{p-db2b7e5d.entry.js → p-b45e58df.entry.js} +1 -1
  330. package/umd/modules/@postnord/web-components/postnord-web-components/p-b72f9866.entry.js +5 -0
  331. package/umd/modules/@postnord/web-components/postnord-web-components/{p-b0710b87.entry.js → p-b7a2e5b0.entry.js} +1 -1
  332. package/umd/modules/@postnord/web-components/postnord-web-components/p-c09179d6.entry.js +5 -0
  333. package/umd/modules/@postnord/web-components/postnord-web-components/{p-38e44ed0.entry.js → p-ce2c2395.entry.js} +1 -1
  334. package/umd/modules/@postnord/web-components/postnord-web-components/p-d228b929.entry.js +5 -0
  335. package/umd/modules/@postnord/web-components/postnord-web-components/p-d71054df.entry.js +5 -0
  336. package/umd/modules/@postnord/web-components/postnord-web-components/p-d81b4ede.entry.js +5 -0
  337. package/umd/modules/@postnord/web-components/postnord-web-components/p-e11b4af5.entry.js +5 -0
  338. package/umd/modules/@postnord/web-components/postnord-web-components/{p-c4c4c75b.entry.js → p-e5574624.entry.js} +1 -1
  339. package/umd/modules/@postnord/web-components/postnord-web-components/p-e6ad75f9.entry.js +5 -0
  340. package/umd/modules/@postnord/web-components/postnord-web-components/p-e6cd4c7f.entry.js +5 -0
  341. package/umd/modules/@postnord/web-components/postnord-web-components/p-ede550f0.entry.js +5 -0
  342. package/umd/modules/@postnord/web-components/postnord-web-components/p-ef00ef4d.entry.js +5 -0
  343. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -1
  344. package/umd/modules/@postnord/web-components/types/components/buttons/pn-action-menu/pn-action-menu.d.ts +111 -0
  345. package/umd/modules/@postnord/web-components/types/components/content/pn-accordion/pn-accordion.d.ts +2 -2
  346. package/umd/modules/@postnord/web-components/types/components/design-tokens/pn-icon/pn-icon.d.ts +5 -7
  347. package/umd/modules/@postnord/web-components/types/components/design-tokens/pn-illustration/pn-illustration.d.ts +8 -2
  348. package/umd/modules/@postnord/web-components/types/components/feedback/pn-modal/pn-modal.d.ts +17 -6
  349. package/umd/modules/@postnord/web-components/types/components/feedback/pn-toast/pn-toast.d.ts +100 -0
  350. package/umd/modules/@postnord/web-components/types/components/feedback/pn-wizard/pn-wizard.d.ts +6 -1
  351. package/umd/modules/@postnord/web-components/types/components/input/pn-checkbox/pn-checkbox.d.ts +124 -0
  352. package/umd/modules/@postnord/web-components/types/components/input/pn-choice-chip/pn-choice-chip.d.ts +31 -15
  353. package/umd/modules/@postnord/web-components/types/components/input/pn-counter/pn-counter.d.ts +51 -27
  354. package/umd/modules/@postnord/web-components/types/components/input/pn-date-picker/pn-date-picker.d.ts +338 -0
  355. package/umd/modules/@postnord/web-components/types/components/input/pn-fieldset/pn-fieldset.d.ts +24 -15
  356. package/umd/modules/@postnord/web-components/types/components/input/pn-file-upload/pn-file-upload.d.ts +36 -27
  357. package/umd/modules/@postnord/web-components/types/components/input/pn-file-upload/translation.d.ts +7 -0
  358. package/umd/modules/@postnord/web-components/types/components/input/pn-input/pn-input.d.ts +89 -66
  359. package/umd/modules/@postnord/web-components/types/components/input/pn-multiselect/pn-multiselect.d.ts +265 -0
  360. package/umd/modules/@postnord/web-components/types/components/input/pn-radio-button/pn-radio-button.d.ts +124 -0
  361. package/umd/modules/@postnord/web-components/types/components/input/pn-range/pn-range.d.ts +73 -42
  362. package/umd/modules/@postnord/web-components/types/components/input/pn-search-field/pn-search-field.d.ts +32 -21
  363. package/umd/modules/@postnord/web-components/types/components/input/pn-segmented-control/pn-segmented-control.d.ts +19 -18
  364. package/umd/modules/@postnord/web-components/types/components/input/pn-segmented-control/segment/pn-segment.d.ts +12 -9
  365. package/umd/modules/@postnord/web-components/types/components/input/pn-select/pn-select.d.ts +51 -31
  366. package/umd/modules/@postnord/web-components/types/components/input/pn-textarea/pn-textarea.d.ts +58 -27
  367. package/umd/modules/@postnord/web-components/types/components/input/pn-toggle-switch/pn-toggle-switch.d.ts +36 -14
  368. package/umd/modules/@postnord/web-components/types/components.d.ts +1851 -511
  369. package/umd/modules/@postnord/web-components/types/globals/mixins/index.d.ts +21 -0
  370. package/umd/modules/@postnord/web-components/types/stencil-public-runtime.d.ts +23 -2
  371. package/umd/modules/@postnord/web-components/vscode-data.json +218 -38
  372. package/cjs/convert-9361e443.js.map +0 -1
  373. package/esm/convert-ecca01b6.js.map +0 -1
  374. package/pn-market-web-components/p-63ff7fa2.js +0 -2
  375. package/pn-market-web-components/p-63ff7fa2.js.map +0 -1
  376. package/pn-market-web-components/p-6d263c6e.entry.js.map +0 -1
  377. package/umd/modules/@postnord/web-components/postnord-web-components/p-0dd15cc3.entry.js +0 -5
  378. package/umd/modules/@postnord/web-components/postnord-web-components/p-0e94a4dd.entry.js +0 -5
  379. package/umd/modules/@postnord/web-components/postnord-web-components/p-0ed2ee53.entry.js +0 -5
  380. package/umd/modules/@postnord/web-components/postnord-web-components/p-109ba1fc.entry.js +0 -5
  381. package/umd/modules/@postnord/web-components/postnord-web-components/p-153311c8.entry.js +0 -5
  382. package/umd/modules/@postnord/web-components/postnord-web-components/p-1a3c49ba.entry.js +0 -5
  383. package/umd/modules/@postnord/web-components/postnord-web-components/p-2610f8ab.entry.js +0 -5
  384. package/umd/modules/@postnord/web-components/postnord-web-components/p-267c323e.entry.js +0 -5
  385. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a364778.entry.js +0 -5
  386. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a682ff9.entry.js +0 -5
  387. package/umd/modules/@postnord/web-components/postnord-web-components/p-2cce8a9f.entry.js +0 -5
  388. package/umd/modules/@postnord/web-components/postnord-web-components/p-306ec758.entry.js +0 -5
  389. package/umd/modules/@postnord/web-components/postnord-web-components/p-3d459401.entry.js +0 -5
  390. package/umd/modules/@postnord/web-components/postnord-web-components/p-3deb5a9e.entry.js +0 -5
  391. package/umd/modules/@postnord/web-components/postnord-web-components/p-41c09d4d.entry.js +0 -5
  392. package/umd/modules/@postnord/web-components/postnord-web-components/p-484dfaa4.entry.js +0 -5
  393. package/umd/modules/@postnord/web-components/postnord-web-components/p-50116c0d.entry.js +0 -5
  394. package/umd/modules/@postnord/web-components/postnord-web-components/p-502b8430.entry.js +0 -5
  395. package/umd/modules/@postnord/web-components/postnord-web-components/p-5b7c1333.entry.js +0 -5
  396. package/umd/modules/@postnord/web-components/postnord-web-components/p-67f55491.entry.js +0 -5
  397. package/umd/modules/@postnord/web-components/postnord-web-components/p-838c17b9.entry.js +0 -5
  398. package/umd/modules/@postnord/web-components/postnord-web-components/p-849d48c6.entry.js +0 -5
  399. package/umd/modules/@postnord/web-components/postnord-web-components/p-89aaa3c8.entry.js +0 -5
  400. package/umd/modules/@postnord/web-components/postnord-web-components/p-8b2b6f5d.entry.js +0 -5
  401. package/umd/modules/@postnord/web-components/postnord-web-components/p-93db2b9e.entry.js +0 -5
  402. package/umd/modules/@postnord/web-components/postnord-web-components/p-97ffc4b3.entry.js +0 -5
  403. package/umd/modules/@postnord/web-components/postnord-web-components/p-CAEP792y.js +0 -6
  404. package/umd/modules/@postnord/web-components/postnord-web-components/p-b3c4e3e8.entry.js +0 -5
  405. package/umd/modules/@postnord/web-components/postnord-web-components/p-b8c4423b.entry.js +0 -5
  406. package/umd/modules/@postnord/web-components/postnord-web-components/p-ba59528f.entry.js +0 -5
  407. package/umd/modules/@postnord/web-components/postnord-web-components/p-c0ae367c.entry.js +0 -5
  408. package/umd/modules/@postnord/web-components/postnord-web-components/p-c843ae5e.entry.js +0 -5
  409. package/umd/modules/@postnord/web-components/postnord-web-components/p-d1e27524.entry.js +0 -5
  410. package/umd/modules/@postnord/web-components/postnord-web-components/p-d214e930.entry.js +0 -5
  411. package/umd/modules/@postnord/web-components/postnord-web-components/p-d7091312.entry.js +0 -5
  412. package/umd/modules/@postnord/web-components/postnord-web-components/p-e3fb693e.entry.js +0 -5
  413. package/umd/modules/@postnord/web-components/postnord-web-components/p-e83de0b1.entry.js +0 -5
  414. package/umd/modules/@postnord/web-components/postnord-web-components/p-edc28eee.entry.js +0 -5
  415. /package/pn-market-web-components/{p-c4059cc1.entry.js.map → p-181e40ee.entry.js.map} +0 -0
  416. /package/pn-market-web-components/{p-f8ccc718.entry.js.map → p-a0d7154f.entry.js.map} +0 -0
  417. /package/pn-market-web-components/{p-413afe7c.entry.js.map → p-c18154a4.entry.js.map} +0 -0
@@ -8,8 +8,8 @@ import { Fragment, Host, forceUpdate, h, } from "@stencil/core";
8
8
  * Allow the user to use the slider to set a number value. Its built on the native `input[type=range]` element and
9
9
  * has support for most attributes.
10
10
  *
11
- * @slot helpertext - Set the helpertext via a slot instead of prop. Wrap the content like this: `<span slot="helpertext">`.
12
- * @slot error - Set the error message via a slot instead of prop. Wrap the content like this: `<span slot="error">`.
11
+ * @slot helpertext - Set the helpertext via a slot instead of prop. Wrap the content like this: `<span slot="helpertext" />`.
12
+ * @slot error - Set the error message via a slot instead of prop. Wrap the content like this: `<span slot="error" />`.
13
13
  *
14
14
  * @nativeInput Use the `input` event to listen to the range / input value being modified by the user. It is emitted everytime the user changes the value.
15
15
  * @nativeChange The `change` event is emitted when the user makes a final selection (letting go of the range/input).
@@ -41,51 +41,35 @@ export class PnRange {
41
41
  labelEnd;
42
42
  /** Set a helpertext for the range input. */
43
43
  helpertext = null;
44
- /**
45
- * Add markers. This will also render a `datalist` element with `options`.
46
- * Omitting the `label` for a marker will use the `value` as label instead.
47
- * Set `label` to `null` or `''` to hide it completely.
48
- */
49
- markers = [];
50
- /** Set a prefix for the range/input field. */
51
- textPrefix = null;
52
- /** Set a suffix for the range/input field. */
53
- textSuffix = null;
54
- /** Set an icon for the range/input field. */
55
- icon = null;
56
- /** Set an icon at the end of the range or for the second input field when using `multiple`. */
57
- iconEnd = null;
58
- /** Set a custom HTML id. */
59
- pnId = this.id;
60
- /** Set a custom HTML id. */
61
- pnIdEnd = this.idEnd;
62
- /** The range input name. @category HTML Attributes */
44
+ /** The range input value. @category Native attributes */
45
+ value = 0;
46
+ /** The range end input value. @category Native attributes */
47
+ valueEnd = 0;
48
+ /** The range input name. @category Native attributes */
63
49
  name;
64
- /** The range input name. @category HTML Attributes */
50
+ /** The range input name. @category Native attributes */
65
51
  nameEnd;
66
- /** The range input min value. @category HTML Attributes */
52
+ /** The range input min value. @category Native attributes */
67
53
  min = 0;
68
- /** The range input max value. @category HTML Attributes */
54
+ /** The range input max value. @category Native attributes */
69
55
  max = 100;
70
- /** The range input value. @category HTML Attributes */
71
- value = 0;
72
- /** The range end input value. @category HTML Attributes */
73
- valueEnd = 0;
74
- /** Set a step value for the range input. @category HTML Attributes */
56
+ /** Set a step value for the range input. @category Native attributes */
75
57
  step = '';
58
+ /** Disable the range input. @category Native attributes */
59
+ disabled = false;
76
60
  /**
77
- * Allow multiple values to be selected
61
+ * Add markers. This will also render a `datalist` element with `options`.
62
+ * Omitting the `label` for a marker will use the `value` as label instead.
63
+ * Set `label` to `null` or `''` to hide it completely.
78
64
  * @category Features
79
65
  */
80
- multiple = false;
66
+ markers = [];
81
67
  /**
82
68
  * Display an input for the range value.
83
69
  * Allowing the user to type or use the slider to set the value.
84
70
  * @category Features
85
71
  */
86
72
  input = false;
87
- /** Hide the tooltip. @category Features */
88
- tooltipHide = false;
89
73
  /**
90
74
  * Range tooltip label template. Default is simply the value of the range input.
91
75
  * @example
@@ -94,12 +78,57 @@ export class PnRange {
94
78
  * @category Features
95
79
  */
96
80
  tooltipTemplate = this.tooltipDefault;
97
- /** Disable the range input. @category State */
98
- disabled = false;
99
- /** Set an error message for the range input. @category State */
100
- error = null;
101
- /** Set the error visual for the range input, same as `error`, but without a message. @category State */
81
+ /** Hide the tooltip. @category Features */
82
+ tooltipHide = false;
83
+ /** Set a prefix for the range/input field. @category Features */
84
+ textPrefix = null;
85
+ /** Set a suffix for the range/input field. @category Features */
86
+ textSuffix = null;
87
+ /** Set an icon for the range/input field. @category Features */
88
+ icon = null;
89
+ /** Set an icon at the end of the range or for the second input field when using `multiple`. @category Features */
90
+ iconEnd = null;
91
+ /**
92
+ * Allow multiple values to be selected
93
+ * @category Features
94
+ */
95
+ multiple = false;
96
+ /** Set the error visual for the range input, same as `error`, but without a message. @category Features */
102
97
  invalid = false;
98
+ /** Set an error message for the range input. @category Features */
99
+ error = null;
100
+ /** Set a custom ID for the input. @category HTML attributes */
101
+ pnId = this.id;
102
+ /** Set a custom ID for the end input. @category HTML attributes */
103
+ pnIdEnd = this.idEnd;
104
+ /**
105
+ * Provide the label via an aria attribute.
106
+ * We strongly recommend you use the `label` prop instead.
107
+ * @since v7.25.0
108
+ * @category HTML attributes
109
+ */
110
+ pnAriaLabel;
111
+ /**
112
+ * Provide the label for the end input via an aria attribute.
113
+ * We strongly recommend you use the `label-end` prop instead.
114
+ * @since v7.25.0
115
+ * @category HTML attributes
116
+ */
117
+ pnAriaLabelEnd;
118
+ /**
119
+ * Provide the label from another element via its ID.
120
+ * We strongly recommend you use the `label` prop instead.
121
+ * @since v7.25.0
122
+ * @category HTML attributes
123
+ */
124
+ pnAriaLabelledby;
125
+ /**
126
+ * Provide the label for the end input from another element via its ID.
127
+ * We strongly recommend you use the `label-end` prop instead.
128
+ * @since v7.25.0
129
+ * @category HTML attributes
130
+ */
131
+ pnAriaLabelledbyEnd;
103
132
  handleValue() {
104
133
  if (this.multiple && this.value > this.valueEnd) {
105
134
  this.valueEnd = this.value;
@@ -117,6 +146,8 @@ export class PnRange {
117
146
  requestAnimationFrame(() => this.hostElement.style.setProperty('--pn-range-progress-end', `${percentage}%`));
118
147
  }
119
148
  handleId() {
149
+ this.idInput = `${this.pnId}-input`;
150
+ this.idInputEnd = `${this.pnIdEnd}-input`;
120
151
  this.idHelpertext = `${this.pnId}-helpertext`;
121
152
  this.idError = `${this.pnId}-error`;
122
153
  this.idDatalist = `${this.pnId}-data`;
@@ -139,6 +170,16 @@ export class PnRange {
139
170
  if (this.mo)
140
171
  this.mo.disconnect();
141
172
  }
173
+ getAriaLabel(end) {
174
+ if (end)
175
+ return !this.labelEnd && !this.pnAriaLabelledbyEnd ? this.pnAriaLabelEnd : null;
176
+ return !this.label && !this.pnAriaLabelledby ? this.pnAriaLabel : null;
177
+ }
178
+ getAriaLabelledby(end) {
179
+ if (end)
180
+ return !this.labelEnd && !this.pnAriaLabelEnd ? this.pnAriaLabelledbyEnd : null;
181
+ return !this.label && !this.pnAriaLabel ? this.pnAriaLabelledby : null;
182
+ }
142
183
  tooltipDirection(isEnd = false) {
143
184
  if (this.multiple) {
144
185
  const isSmall = this.hostElement.offsetWidth < 384;
@@ -169,7 +210,7 @@ export class PnRange {
169
210
  }
170
211
  /** If any `error` is active, either via the prop `invalid` or `error` prop/slot. */
171
212
  hasError() {
172
- return this.hasErrorMessage() || this.invalid || this.showErrorSlot;
213
+ return this.hasErrorMessage() || this.invalid;
173
214
  }
174
215
  checkSlottedHelper() {
175
216
  const slottedHelper = this.hostElement.querySelector('[slot=helpertext]')?.textContent;
@@ -280,13 +321,14 @@ export class PnRange {
280
321
  const label = isEnd ? this.labelEnd : this.label;
281
322
  const value = isEnd ? this.valueEnd : this.value;
282
323
  const idInput = isEnd ? this.idInputEnd : this.idInput;
283
- return (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() }));
324
+ const name = isEnd ? (this.nameEnd ? `${this.nameEnd}-input` : null) : this.name ? `${this.name}-input` : null;
325
+ return (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() }));
284
326
  }
285
327
  renderRangeInput(isEnd = false) {
286
328
  const id = isEnd ? this.pnIdEnd : this.pnId;
287
329
  const value = isEnd ? this.valueEnd : this.value;
288
330
  const customTooltip = this.tooltipDefault !== this.tooltipTemplate;
289
- return (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() }));
331
+ return (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() }));
290
332
  }
291
333
  renderTooltip(isEnd = false) {
292
334
  return (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 && (h("div", { class: "pn-range-tooltip" }, h("span", { class: "pn-range-tooltip-label" }, this.getTooltipLabel(isEnd))))));
@@ -301,7 +343,7 @@ export class PnRange {
301
343
  this.setValue(numberValue, this.pressControl === 'end');
302
344
  }
303
345
  render() {
304
- return (h(Host, { key: '0a79e6606d509d701b83da4a2c3d3636c7d73979' }, h("div", { key: 'f56834025691e3c67544e4ddb2b54630bfa46095', class: "pn-range", "data-markers": !!this.markers?.length, "data-input": this.input }, h("div", { key: 'e39b5994468fc6f50ad479c5b3875732a29a4761', class: "pn-range-header", "data-input": this.input }, h("label", { key: '724a16a534343838e392480163517afc7bd15b6f', htmlFor: this.pnId, class: "pn-range-label" }, h("span", { key: 'ebd27275aeb63e79df5f2f0f5f4d1f5d118cd137' }, this.label)), this.multiple && (h("label", { key: 'aebe4d8b124cc5a905b61624566dc4db52f1f4a0', htmlFor: this.pnIdEnd, class: "pn-range-label" }, h("span", { key: '7a90745fadc39d81bac3083d562c9d7fe47c1d00' }, this.labelEnd)))), this.renderPrefix(), h("div", { key: '28fcae728841f246bfac7ae488710459d468e4f2', class: "pn-range-group", "data-pressing": this.isPressing }, this.renderRangeInput(), this.multiple && (h(Fragment, { key: '87dae83eea2f5e4eb5318759767dfabc74a0f128' }, this.renderRangeInput(true), 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) }))), 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 && (h("ul", { key: '1692843e137439b5bdedb5728104a3312d26ffc2', "aria-hidden": "true", class: "pn-range-markers" }, this.markers.map(({ label, value }) => (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)}%` } }, h("span", { class: "pn-range-markers-label", "data-active": this.isActiveMarker(value) }, this.getMarkerLabel({ value, label })))))))), this.renderSuffix(), !!this.markers?.length && (h("datalist", { key: 'ed0ea3e4e284366f3e4eaf94245a1a71ccf20a17', id: this.idDatalist }, this.markers.map(({ label, value }) => (h("option", { value: value, label: label === null ? null : label }))))), h("p", { key: '3dd6afe5a2f142b1df60fdd87c0c23f942d83a71', id: this.idHelpertext, class: "pn-range-message", hidden: !this.hasHelperText() || this.hasError() }, h("span", { key: '048797709bcb778a9c1f2d71ae1ee1b1eef665f0' }, this.helpertext), h("slot", { key: '2fabbbc425b643917415653f831126e9d7319efd', name: "helpertext" })), h("p", { key: '65061b23a86338d7490bbfc2759308c1326f5d4e', id: this.idError, class: "pn-range-message pn-range-error", role: "alert", hidden: !this.hasErrorMessage() }, h("span", { key: 'a0be85a1e70ac6b07bb1447b6c8e9a04c72aade0' }, this.error), h("slot", { key: 'c13f70e99ec137373be96fa9d5a06b0266808fcf', name: "error" })))));
346
+ return (h(Host, { key: '9945b3c7f372134797de134a550106602a88a864' }, h("div", { key: 'd940ec70592f62a4a22f30fbee67ec9736b06560', class: "pn-range", "data-markers": !!this.markers?.length, "data-input": this.input }, h("div", { key: '9bcc2d50329ff1d77b6e60e32de8e6c7ff355271', class: "pn-range-header", "data-input": this.input }, this.label && (h("label", { key: '5888cd96c03e60f5311f877bf84e6aa62d47e97f', htmlFor: this.pnId, class: "pn-range-label" }, h("span", { key: '2072db6913d555fac653694a9e0d07c7d76fc695' }, this.label))), this.multiple && this.labelEnd && (h("label", { key: 'ae8dd61026a936c210c73ba6efe811e93760e60f', htmlFor: this.pnIdEnd, class: "pn-range-label" }, h("span", { key: '28bccee780ec10bd2b13b46f7e71ee0bcd68d559' }, this.labelEnd)))), this.renderPrefix(), h("div", { key: '278a597274b88d050ca240367e89677b5e302b97', class: "pn-range-group", "data-pressing": this.isPressing }, this.renderRangeInput(), this.multiple && (h(Fragment, { key: '840c4fc833463c6844157a3211707224777157ed' }, this.renderRangeInput(true), 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) }))), 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 && (h("ul", { key: '9e49ca3fd348c9994b72129d6c10236935f14197', "aria-hidden": "true", class: "pn-range-markers" }, this.markers.map(({ label, value }) => (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)}%` } }, h("span", { class: "pn-range-markers-label", "data-active": this.isActiveMarker(value) }, this.getMarkerLabel({ value, label })))))))), this.renderSuffix(), !!this.markers?.length && (h("datalist", { key: '1de13cbec1006384d3ff3a00b1b04542f7202c41', id: this.idDatalist }, this.markers.map(({ label, value }) => (h("option", { value: value, label: label === null ? null : label }))))), h("p", { key: '2a188f9aedf5a406f61b76124a1d50439fff9113', id: this.idHelpertext, class: "pn-range-message", hidden: !this.hasHelperText() || this.hasErrorMessage() }, h("span", { key: '487bc4892db02156d88b683e96bb576897926b6a' }, this.helpertext), h("slot", { key: '5145e5f591e33da198650034c8d4dcf0e47d30a9', name: "helpertext" })), h("p", { key: '969947b6672fcd16c7b0947a2d2dc2faf58a9334', id: this.idError, class: "pn-range-message pn-range-error", role: "alert", hidden: !this.hasErrorMessage() }, h("span", { key: '5a0d01b2a9ca80f17cdf45329f3b900e1e1eabf7' }, this.error), h("slot", { key: '375f36337b860afd1d8b4c2b7bc8001d8653745f', name: "error" })))));
305
347
  }
306
348
  static get is() { return "pn-range"; }
307
349
  static get originalStyleUrls() {
@@ -324,8 +366,8 @@ export class PnRange {
324
366
  "resolved": "string",
325
367
  "references": {}
326
368
  },
327
- "required": true,
328
- "optional": false,
369
+ "required": false,
370
+ "optional": true,
329
371
  "docs": {
330
372
  "tags": [],
331
373
  "text": "Label for the range input."
@@ -344,7 +386,7 @@ export class PnRange {
344
386
  "references": {}
345
387
  },
346
388
  "required": false,
347
- "optional": false,
389
+ "optional": true,
348
390
  "docs": {
349
391
  "tags": [],
350
392
  "text": "Label for the range end input."
@@ -374,25 +416,53 @@ export class PnRange {
374
416
  "attribute": "helpertext",
375
417
  "defaultValue": "null"
376
418
  },
377
- "markers": {
378
- "type": "unknown",
379
- "mutable": false,
419
+ "value": {
420
+ "type": "number",
421
+ "mutable": true,
380
422
  "complexType": {
381
- "original": "{ value: number; label?: string }[]",
382
- "resolved": "{ value: number; label?: string; }[]",
423
+ "original": "number",
424
+ "resolved": "number",
383
425
  "references": {}
384
426
  },
385
427
  "required": false,
386
428
  "optional": true,
387
429
  "docs": {
388
- "tags": [],
389
- "text": "Add markers. This will also render a `datalist` element with `options`.\nOmitting the `label` for a marker will use the `value` as label instead.\nSet `label` to `null` or `''` to hide it completely."
430
+ "tags": [{
431
+ "name": "category",
432
+ "text": "Native attributes"
433
+ }],
434
+ "text": "The range input value."
390
435
  },
391
436
  "getter": false,
392
437
  "setter": false,
393
- "defaultValue": "[]"
438
+ "reflect": true,
439
+ "attribute": "value",
440
+ "defaultValue": "0"
394
441
  },
395
- "textPrefix": {
442
+ "valueEnd": {
443
+ "type": "number",
444
+ "mutable": true,
445
+ "complexType": {
446
+ "original": "number",
447
+ "resolved": "number",
448
+ "references": {}
449
+ },
450
+ "required": false,
451
+ "optional": true,
452
+ "docs": {
453
+ "tags": [{
454
+ "name": "category",
455
+ "text": "Native attributes"
456
+ }],
457
+ "text": "The range end input value."
458
+ },
459
+ "getter": false,
460
+ "setter": false,
461
+ "reflect": true,
462
+ "attribute": "value-end",
463
+ "defaultValue": "0"
464
+ },
465
+ "name": {
396
466
  "type": "string",
397
467
  "mutable": false,
398
468
  "complexType": {
@@ -403,16 +473,18 @@ export class PnRange {
403
473
  "required": false,
404
474
  "optional": true,
405
475
  "docs": {
406
- "tags": [],
407
- "text": "Set a prefix for the range/input field."
476
+ "tags": [{
477
+ "name": "category",
478
+ "text": "Native attributes"
479
+ }],
480
+ "text": "The range input name."
408
481
  },
409
482
  "getter": false,
410
483
  "setter": false,
411
484
  "reflect": false,
412
- "attribute": "text-prefix",
413
- "defaultValue": "null"
485
+ "attribute": "name"
414
486
  },
415
- "textSuffix": {
487
+ "nameEnd": {
416
488
  "type": "string",
417
489
  "mutable": false,
418
490
  "complexType": {
@@ -423,101 +495,120 @@ export class PnRange {
423
495
  "required": false,
424
496
  "optional": true,
425
497
  "docs": {
426
- "tags": [],
427
- "text": "Set a suffix for the range/input field."
498
+ "tags": [{
499
+ "name": "category",
500
+ "text": "Native attributes"
501
+ }],
502
+ "text": "The range input name."
428
503
  },
429
504
  "getter": false,
430
505
  "setter": false,
431
506
  "reflect": false,
432
- "attribute": "text-suffix",
433
- "defaultValue": "null"
507
+ "attribute": "name-end"
434
508
  },
435
- "icon": {
436
- "type": "string",
509
+ "min": {
510
+ "type": "number",
437
511
  "mutable": false,
438
512
  "complexType": {
439
- "original": "string",
440
- "resolved": "string",
513
+ "original": "number",
514
+ "resolved": "number",
441
515
  "references": {}
442
516
  },
443
517
  "required": false,
444
518
  "optional": true,
445
519
  "docs": {
446
- "tags": [],
447
- "text": "Set an icon for the range/input field."
520
+ "tags": [{
521
+ "name": "category",
522
+ "text": "Native attributes"
523
+ }],
524
+ "text": "The range input min value."
448
525
  },
449
526
  "getter": false,
450
527
  "setter": false,
451
528
  "reflect": false,
452
- "attribute": "icon",
453
- "defaultValue": "null"
529
+ "attribute": "min",
530
+ "defaultValue": "0"
454
531
  },
455
- "iconEnd": {
456
- "type": "string",
532
+ "max": {
533
+ "type": "number",
457
534
  "mutable": false,
458
535
  "complexType": {
459
- "original": "string",
460
- "resolved": "string",
536
+ "original": "number",
537
+ "resolved": "number",
461
538
  "references": {}
462
539
  },
463
540
  "required": false,
464
541
  "optional": true,
465
542
  "docs": {
466
- "tags": [],
467
- "text": "Set an icon at the end of the range or for the second input field when using `multiple`."
543
+ "tags": [{
544
+ "name": "category",
545
+ "text": "Native attributes"
546
+ }],
547
+ "text": "The range input max value."
468
548
  },
469
549
  "getter": false,
470
550
  "setter": false,
471
551
  "reflect": false,
472
- "attribute": "icon-end",
473
- "defaultValue": "null"
552
+ "attribute": "max",
553
+ "defaultValue": "100"
474
554
  },
475
- "pnId": {
555
+ "step": {
476
556
  "type": "string",
477
557
  "mutable": false,
478
558
  "complexType": {
479
- "original": "string",
559
+ "original": "HTMLInputElement['step']",
480
560
  "resolved": "string",
481
- "references": {}
561
+ "references": {
562
+ "HTMLInputElement": {
563
+ "location": "global",
564
+ "id": "global::HTMLInputElement"
565
+ }
566
+ }
482
567
  },
483
568
  "required": false,
484
569
  "optional": true,
485
570
  "docs": {
486
- "tags": [],
487
- "text": "Set a custom HTML id."
571
+ "tags": [{
572
+ "name": "category",
573
+ "text": "Native attributes"
574
+ }],
575
+ "text": "Set a step value for the range input."
488
576
  },
489
577
  "getter": false,
490
578
  "setter": false,
491
579
  "reflect": false,
492
- "attribute": "pn-id",
493
- "defaultValue": "this.id"
580
+ "attribute": "step",
581
+ "defaultValue": "''"
494
582
  },
495
- "pnIdEnd": {
496
- "type": "string",
583
+ "disabled": {
584
+ "type": "boolean",
497
585
  "mutable": false,
498
586
  "complexType": {
499
- "original": "string",
500
- "resolved": "string",
587
+ "original": "boolean",
588
+ "resolved": "boolean",
501
589
  "references": {}
502
590
  },
503
591
  "required": false,
504
592
  "optional": true,
505
593
  "docs": {
506
- "tags": [],
507
- "text": "Set a custom HTML id."
594
+ "tags": [{
595
+ "name": "category",
596
+ "text": "Native attributes"
597
+ }],
598
+ "text": "Disable the range input."
508
599
  },
509
600
  "getter": false,
510
601
  "setter": false,
511
602
  "reflect": false,
512
- "attribute": "pn-id-end",
513
- "defaultValue": "this.idEnd"
603
+ "attribute": "disabled",
604
+ "defaultValue": "false"
514
605
  },
515
- "name": {
516
- "type": "string",
606
+ "markers": {
607
+ "type": "unknown",
517
608
  "mutable": false,
518
609
  "complexType": {
519
- "original": "string",
520
- "resolved": "string",
610
+ "original": "{ value: number; label?: string }[]",
611
+ "resolved": "{ value: number; label?: string; }[]",
521
612
  "references": {}
522
613
  },
523
614
  "required": false,
@@ -525,16 +616,38 @@ export class PnRange {
525
616
  "docs": {
526
617
  "tags": [{
527
618
  "name": "category",
528
- "text": "HTML Attributes"
619
+ "text": "Features"
529
620
  }],
530
- "text": "The range input name."
621
+ "text": "Add markers. This will also render a `datalist` element with `options`.\nOmitting the `label` for a marker will use the `value` as label instead.\nSet `label` to `null` or `''` to hide it completely."
622
+ },
623
+ "getter": false,
624
+ "setter": false,
625
+ "defaultValue": "[]"
626
+ },
627
+ "input": {
628
+ "type": "boolean",
629
+ "mutable": false,
630
+ "complexType": {
631
+ "original": "boolean",
632
+ "resolved": "boolean",
633
+ "references": {}
634
+ },
635
+ "required": false,
636
+ "optional": true,
637
+ "docs": {
638
+ "tags": [{
639
+ "name": "category",
640
+ "text": "Features"
641
+ }],
642
+ "text": "Display an input for the range value.\nAllowing the user to type or use the slider to set the value."
531
643
  },
532
644
  "getter": false,
533
645
  "setter": false,
534
646
  "reflect": false,
535
- "attribute": "name"
647
+ "attribute": "input",
648
+ "defaultValue": "false"
536
649
  },
537
- "nameEnd": {
650
+ "tooltipTemplate": {
538
651
  "type": "string",
539
652
  "mutable": false,
540
653
  "complexType": {
@@ -546,22 +659,26 @@ export class PnRange {
546
659
  "optional": true,
547
660
  "docs": {
548
661
  "tags": [{
662
+ "name": "example",
663
+ "text": "// Show a suffixed '%' in the tooltip with '{value} %'.\n<pn-range tooltip-template=\"{value} %\" value=\"25\" />"
664
+ }, {
549
665
  "name": "category",
550
- "text": "HTML Attributes"
666
+ "text": "Features"
551
667
  }],
552
- "text": "The range input name."
668
+ "text": "Range tooltip label template. Default is simply the value of the range input."
553
669
  },
554
670
  "getter": false,
555
671
  "setter": false,
556
672
  "reflect": false,
557
- "attribute": "name-end"
673
+ "attribute": "tooltip-template",
674
+ "defaultValue": "this.tooltipDefault"
558
675
  },
559
- "min": {
560
- "type": "number",
676
+ "tooltipHide": {
677
+ "type": "boolean",
561
678
  "mutable": false,
562
679
  "complexType": {
563
- "original": "number",
564
- "resolved": "number",
680
+ "original": "boolean",
681
+ "resolved": "boolean",
565
682
  "references": {}
566
683
  },
567
684
  "required": false,
@@ -569,22 +686,22 @@ export class PnRange {
569
686
  "docs": {
570
687
  "tags": [{
571
688
  "name": "category",
572
- "text": "HTML Attributes"
689
+ "text": "Features"
573
690
  }],
574
- "text": "The range input min value."
691
+ "text": "Hide the tooltip."
575
692
  },
576
693
  "getter": false,
577
694
  "setter": false,
578
695
  "reflect": false,
579
- "attribute": "min",
580
- "defaultValue": "0"
696
+ "attribute": "tooltip-hide",
697
+ "defaultValue": "false"
581
698
  },
582
- "max": {
583
- "type": "number",
699
+ "textPrefix": {
700
+ "type": "string",
584
701
  "mutable": false,
585
702
  "complexType": {
586
- "original": "number",
587
- "resolved": "number",
703
+ "original": "string",
704
+ "resolved": "string",
588
705
  "references": {}
589
706
  },
590
707
  "required": false,
@@ -592,22 +709,22 @@ export class PnRange {
592
709
  "docs": {
593
710
  "tags": [{
594
711
  "name": "category",
595
- "text": "HTML Attributes"
712
+ "text": "Features"
596
713
  }],
597
- "text": "The range input max value."
714
+ "text": "Set a prefix for the range/input field."
598
715
  },
599
716
  "getter": false,
600
717
  "setter": false,
601
718
  "reflect": false,
602
- "attribute": "max",
603
- "defaultValue": "100"
719
+ "attribute": "text-prefix",
720
+ "defaultValue": "null"
604
721
  },
605
- "value": {
606
- "type": "number",
607
- "mutable": true,
722
+ "textSuffix": {
723
+ "type": "string",
724
+ "mutable": false,
608
725
  "complexType": {
609
- "original": "number",
610
- "resolved": "number",
726
+ "original": "string",
727
+ "resolved": "string",
611
728
  "references": {}
612
729
  },
613
730
  "required": false,
@@ -615,22 +732,22 @@ export class PnRange {
615
732
  "docs": {
616
733
  "tags": [{
617
734
  "name": "category",
618
- "text": "HTML Attributes"
735
+ "text": "Features"
619
736
  }],
620
- "text": "The range input value."
737
+ "text": "Set a suffix for the range/input field."
621
738
  },
622
739
  "getter": false,
623
740
  "setter": false,
624
- "reflect": true,
625
- "attribute": "value",
626
- "defaultValue": "0"
741
+ "reflect": false,
742
+ "attribute": "text-suffix",
743
+ "defaultValue": "null"
627
744
  },
628
- "valueEnd": {
629
- "type": "number",
630
- "mutable": true,
745
+ "icon": {
746
+ "type": "string",
747
+ "mutable": false,
631
748
  "complexType": {
632
- "original": "number",
633
- "resolved": "number",
749
+ "original": "string",
750
+ "resolved": "string",
634
751
  "references": {}
635
752
  },
636
753
  "required": false,
@@ -638,43 +755,38 @@ export class PnRange {
638
755
  "docs": {
639
756
  "tags": [{
640
757
  "name": "category",
641
- "text": "HTML Attributes"
758
+ "text": "Features"
642
759
  }],
643
- "text": "The range end input value."
760
+ "text": "Set an icon for the range/input field."
644
761
  },
645
762
  "getter": false,
646
763
  "setter": false,
647
- "reflect": true,
648
- "attribute": "value-end",
649
- "defaultValue": "0"
764
+ "reflect": false,
765
+ "attribute": "icon",
766
+ "defaultValue": "null"
650
767
  },
651
- "step": {
768
+ "iconEnd": {
652
769
  "type": "string",
653
770
  "mutable": false,
654
771
  "complexType": {
655
- "original": "HTMLInputElement['step']",
772
+ "original": "string",
656
773
  "resolved": "string",
657
- "references": {
658
- "HTMLInputElement": {
659
- "location": "global",
660
- "id": "global::HTMLInputElement"
661
- }
662
- }
774
+ "references": {}
663
775
  },
664
776
  "required": false,
665
777
  "optional": true,
666
778
  "docs": {
667
779
  "tags": [{
668
780
  "name": "category",
669
- "text": "HTML Attributes"
781
+ "text": "Features"
670
782
  }],
671
- "text": "Set a step value for the range input."
783
+ "text": "Set an icon at the end of the range or for the second input field when using `multiple`."
672
784
  },
673
785
  "getter": false,
674
786
  "setter": false,
675
787
  "reflect": false,
676
- "attribute": "step",
677
- "defaultValue": "''"
788
+ "attribute": "icon-end",
789
+ "defaultValue": "null"
678
790
  },
679
791
  "multiple": {
680
792
  "type": "boolean",
@@ -699,7 +811,7 @@ export class PnRange {
699
811
  "attribute": "multiple",
700
812
  "defaultValue": "false"
701
813
  },
702
- "input": {
814
+ "invalid": {
703
815
  "type": "boolean",
704
816
  "mutable": false,
705
817
  "complexType": {
@@ -714,20 +826,20 @@ export class PnRange {
714
826
  "name": "category",
715
827
  "text": "Features"
716
828
  }],
717
- "text": "Display an input for the range value.\nAllowing the user to type or use the slider to set the value."
829
+ "text": "Set the error visual for the range input, same as `error`, but without a message."
718
830
  },
719
831
  "getter": false,
720
832
  "setter": false,
721
833
  "reflect": false,
722
- "attribute": "input",
834
+ "attribute": "invalid",
723
835
  "defaultValue": "false"
724
836
  },
725
- "tooltipHide": {
726
- "type": "boolean",
837
+ "error": {
838
+ "type": "string",
727
839
  "mutable": false,
728
840
  "complexType": {
729
- "original": "boolean",
730
- "resolved": "boolean",
841
+ "original": "string",
842
+ "resolved": "string",
731
843
  "references": {}
732
844
  },
733
845
  "required": false,
@@ -737,15 +849,15 @@ export class PnRange {
737
849
  "name": "category",
738
850
  "text": "Features"
739
851
  }],
740
- "text": "Hide the tooltip."
852
+ "text": "Set an error message for the range input."
741
853
  },
742
854
  "getter": false,
743
855
  "setter": false,
744
856
  "reflect": false,
745
- "attribute": "tooltip-hide",
746
- "defaultValue": "false"
857
+ "attribute": "error",
858
+ "defaultValue": "null"
747
859
  },
748
- "tooltipTemplate": {
860
+ "pnId": {
749
861
  "type": "string",
750
862
  "mutable": false,
751
863
  "complexType": {
@@ -757,44 +869,91 @@ export class PnRange {
757
869
  "optional": true,
758
870
  "docs": {
759
871
  "tags": [{
760
- "name": "example",
761
- "text": "// Show a suffixed '%' in the tooltip with '{value} %'.\n<pn-range tooltip-template=\"{value} %\" value=\"25\" />"
872
+ "name": "category",
873
+ "text": "HTML attributes"
874
+ }],
875
+ "text": "Set a custom ID for the input."
876
+ },
877
+ "getter": false,
878
+ "setter": false,
879
+ "reflect": false,
880
+ "attribute": "pn-id",
881
+ "defaultValue": "this.id"
882
+ },
883
+ "pnIdEnd": {
884
+ "type": "string",
885
+ "mutable": false,
886
+ "complexType": {
887
+ "original": "string",
888
+ "resolved": "string",
889
+ "references": {}
890
+ },
891
+ "required": false,
892
+ "optional": true,
893
+ "docs": {
894
+ "tags": [{
895
+ "name": "category",
896
+ "text": "HTML attributes"
897
+ }],
898
+ "text": "Set a custom ID for the end input."
899
+ },
900
+ "getter": false,
901
+ "setter": false,
902
+ "reflect": false,
903
+ "attribute": "pn-id-end",
904
+ "defaultValue": "this.idEnd"
905
+ },
906
+ "pnAriaLabel": {
907
+ "type": "string",
908
+ "mutable": false,
909
+ "complexType": {
910
+ "original": "string",
911
+ "resolved": "string",
912
+ "references": {}
913
+ },
914
+ "required": false,
915
+ "optional": true,
916
+ "docs": {
917
+ "tags": [{
918
+ "name": "since",
919
+ "text": "v7.25.0"
762
920
  }, {
763
921
  "name": "category",
764
- "text": "Features"
922
+ "text": "HTML attributes"
765
923
  }],
766
- "text": "Range tooltip label template. Default is simply the value of the range input."
924
+ "text": "Provide the label via an aria attribute.\nWe strongly recommend you use the `label` prop instead."
767
925
  },
768
926
  "getter": false,
769
927
  "setter": false,
770
928
  "reflect": false,
771
- "attribute": "tooltip-template",
772
- "defaultValue": "this.tooltipDefault"
929
+ "attribute": "pn-aria-label"
773
930
  },
774
- "disabled": {
775
- "type": "boolean",
931
+ "pnAriaLabelEnd": {
932
+ "type": "string",
776
933
  "mutable": false,
777
934
  "complexType": {
778
- "original": "boolean",
779
- "resolved": "boolean",
935
+ "original": "string",
936
+ "resolved": "string",
780
937
  "references": {}
781
938
  },
782
939
  "required": false,
783
940
  "optional": true,
784
941
  "docs": {
785
942
  "tags": [{
943
+ "name": "since",
944
+ "text": "v7.25.0"
945
+ }, {
786
946
  "name": "category",
787
- "text": "State"
947
+ "text": "HTML attributes"
788
948
  }],
789
- "text": "Disable the range input."
949
+ "text": "Provide the label for the end input via an aria attribute.\nWe strongly recommend you use the `label-end` prop instead."
790
950
  },
791
951
  "getter": false,
792
952
  "setter": false,
793
953
  "reflect": false,
794
- "attribute": "disabled",
795
- "defaultValue": "false"
954
+ "attribute": "pn-aria-label-end"
796
955
  },
797
- "error": {
956
+ "pnAriaLabelledby": {
798
957
  "type": "string",
799
958
  "mutable": false,
800
959
  "complexType": {
@@ -806,39 +965,43 @@ export class PnRange {
806
965
  "optional": true,
807
966
  "docs": {
808
967
  "tags": [{
968
+ "name": "since",
969
+ "text": "v7.25.0"
970
+ }, {
809
971
  "name": "category",
810
- "text": "State"
972
+ "text": "HTML attributes"
811
973
  }],
812
- "text": "Set an error message for the range input."
974
+ "text": "Provide the label from another element via its ID.\nWe strongly recommend you use the `label` prop instead."
813
975
  },
814
976
  "getter": false,
815
977
  "setter": false,
816
978
  "reflect": false,
817
- "attribute": "error",
818
- "defaultValue": "null"
979
+ "attribute": "pn-aria-labelledby"
819
980
  },
820
- "invalid": {
821
- "type": "boolean",
981
+ "pnAriaLabelledbyEnd": {
982
+ "type": "string",
822
983
  "mutable": false,
823
984
  "complexType": {
824
- "original": "boolean",
825
- "resolved": "boolean",
985
+ "original": "string",
986
+ "resolved": "string",
826
987
  "references": {}
827
988
  },
828
989
  "required": false,
829
990
  "optional": true,
830
991
  "docs": {
831
992
  "tags": [{
993
+ "name": "since",
994
+ "text": "v7.25.0"
995
+ }, {
832
996
  "name": "category",
833
- "text": "State"
997
+ "text": "HTML attributes"
834
998
  }],
835
- "text": "Set the error visual for the range input, same as `error`, but without a message."
999
+ "text": "Provide the label for the end input from another element via its ID.\nWe strongly recommend you use the `label-end` prop instead."
836
1000
  },
837
1001
  "getter": false,
838
1002
  "setter": false,
839
1003
  "reflect": false,
840
- "attribute": "invalid",
841
- "defaultValue": "false"
1004
+ "attribute": "pn-aria-labelledby-end"
842
1005
  }
843
1006
  };
844
1007
  }
@@ -884,6 +1047,9 @@ export class PnRange {
884
1047
  }
885
1048
  }, {
886
1049
  "propName": "pnId",
1050
+ "methodName": "handleId"
1051
+ }, {
1052
+ "propName": "pnIdEnd",
887
1053
  "methodName": "handleId",
888
1054
  "handlerOptions": {
889
1055
  "immediate": true