@postnord/pn-marketweb-components 4.3.6 → 4.3.8

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 (418) 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/umd/pn-marketweb-salesforce-header.js +1 -1
  373. package/cjs/convert-9361e443.js.map +0 -1
  374. package/esm/convert-ecca01b6.js.map +0 -1
  375. package/pn-market-web-components/p-63ff7fa2.js +0 -2
  376. package/pn-market-web-components/p-63ff7fa2.js.map +0 -1
  377. package/pn-market-web-components/p-6d263c6e.entry.js.map +0 -1
  378. package/umd/modules/@postnord/web-components/postnord-web-components/p-0dd15cc3.entry.js +0 -5
  379. package/umd/modules/@postnord/web-components/postnord-web-components/p-0e94a4dd.entry.js +0 -5
  380. package/umd/modules/@postnord/web-components/postnord-web-components/p-0ed2ee53.entry.js +0 -5
  381. package/umd/modules/@postnord/web-components/postnord-web-components/p-109ba1fc.entry.js +0 -5
  382. package/umd/modules/@postnord/web-components/postnord-web-components/p-153311c8.entry.js +0 -5
  383. package/umd/modules/@postnord/web-components/postnord-web-components/p-1a3c49ba.entry.js +0 -5
  384. package/umd/modules/@postnord/web-components/postnord-web-components/p-2610f8ab.entry.js +0 -5
  385. package/umd/modules/@postnord/web-components/postnord-web-components/p-267c323e.entry.js +0 -5
  386. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a364778.entry.js +0 -5
  387. package/umd/modules/@postnord/web-components/postnord-web-components/p-2a682ff9.entry.js +0 -5
  388. package/umd/modules/@postnord/web-components/postnord-web-components/p-2cce8a9f.entry.js +0 -5
  389. package/umd/modules/@postnord/web-components/postnord-web-components/p-306ec758.entry.js +0 -5
  390. package/umd/modules/@postnord/web-components/postnord-web-components/p-3d459401.entry.js +0 -5
  391. package/umd/modules/@postnord/web-components/postnord-web-components/p-3deb5a9e.entry.js +0 -5
  392. package/umd/modules/@postnord/web-components/postnord-web-components/p-41c09d4d.entry.js +0 -5
  393. package/umd/modules/@postnord/web-components/postnord-web-components/p-484dfaa4.entry.js +0 -5
  394. package/umd/modules/@postnord/web-components/postnord-web-components/p-50116c0d.entry.js +0 -5
  395. package/umd/modules/@postnord/web-components/postnord-web-components/p-502b8430.entry.js +0 -5
  396. package/umd/modules/@postnord/web-components/postnord-web-components/p-5b7c1333.entry.js +0 -5
  397. package/umd/modules/@postnord/web-components/postnord-web-components/p-67f55491.entry.js +0 -5
  398. package/umd/modules/@postnord/web-components/postnord-web-components/p-838c17b9.entry.js +0 -5
  399. package/umd/modules/@postnord/web-components/postnord-web-components/p-849d48c6.entry.js +0 -5
  400. package/umd/modules/@postnord/web-components/postnord-web-components/p-89aaa3c8.entry.js +0 -5
  401. package/umd/modules/@postnord/web-components/postnord-web-components/p-8b2b6f5d.entry.js +0 -5
  402. package/umd/modules/@postnord/web-components/postnord-web-components/p-93db2b9e.entry.js +0 -5
  403. package/umd/modules/@postnord/web-components/postnord-web-components/p-97ffc4b3.entry.js +0 -5
  404. package/umd/modules/@postnord/web-components/postnord-web-components/p-CAEP792y.js +0 -6
  405. package/umd/modules/@postnord/web-components/postnord-web-components/p-b3c4e3e8.entry.js +0 -5
  406. package/umd/modules/@postnord/web-components/postnord-web-components/p-b8c4423b.entry.js +0 -5
  407. package/umd/modules/@postnord/web-components/postnord-web-components/p-ba59528f.entry.js +0 -5
  408. package/umd/modules/@postnord/web-components/postnord-web-components/p-c0ae367c.entry.js +0 -5
  409. package/umd/modules/@postnord/web-components/postnord-web-components/p-c843ae5e.entry.js +0 -5
  410. package/umd/modules/@postnord/web-components/postnord-web-components/p-d1e27524.entry.js +0 -5
  411. package/umd/modules/@postnord/web-components/postnord-web-components/p-d214e930.entry.js +0 -5
  412. package/umd/modules/@postnord/web-components/postnord-web-components/p-d7091312.entry.js +0 -5
  413. package/umd/modules/@postnord/web-components/postnord-web-components/p-e3fb693e.entry.js +0 -5
  414. package/umd/modules/@postnord/web-components/postnord-web-components/p-e83de0b1.entry.js +0 -5
  415. package/umd/modules/@postnord/web-components/postnord-web-components/p-edc28eee.entry.js +0 -5
  416. /package/pn-market-web-components/{p-c4059cc1.entry.js.map → p-181e40ee.entry.js.map} +0 -0
  417. /package/pn-market-web-components/{p-f8ccc718.entry.js.map → p-a0d7154f.entry.js.map} +0 -0
  418. /package/pn-market-web-components/{p-413afe7c.entry.js.map → p-c18154a4.entry.js.map} +0 -0
@@ -3,8 +3,8 @@ import { EventEmitter } from '../../../stencil-public-runtime';
3
3
  * Allow the user to use the slider to set a number value. Its built on the native `input[type=range]` element and
4
4
  * has support for most attributes.
5
5
  *
6
- * @slot helpertext - Set the helpertext via a slot instead of prop. Wrap the content like this: `<span slot="helpertext">`.
7
- * @slot error - Set the error message via a slot instead of prop. Wrap the content like this: `<span slot="error">`.
6
+ * @slot helpertext - Set the helpertext via a slot instead of prop. Wrap the content like this: `<span slot="helpertext" />`.
7
+ * @slot error - Set the error message via a slot instead of prop. Wrap the content like this: `<span slot="error" />`.
8
8
  *
9
9
  * @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.
10
10
  * @nativeChange The `change` event is emitted when the user makes a final selection (letting go of the range/input).
@@ -31,59 +31,43 @@ export declare class PnRange {
31
31
  /** When using `multiple`, decide which control is being pressed. */
32
32
  private pressControl?;
33
33
  /** Label for the range input. */
34
- label: string;
34
+ label?: string;
35
35
  /** Label for the range end input. */
36
- labelEnd: string;
36
+ labelEnd?: string;
37
37
  /** Set a helpertext for the range input. */
38
38
  helpertext?: string;
39
+ /** The range input value. @category Native attributes */
40
+ value?: number;
41
+ /** The range end input value. @category Native attributes */
42
+ valueEnd?: number;
43
+ /** The range input name. @category Native attributes */
44
+ name?: string;
45
+ /** The range input name. @category Native attributes */
46
+ nameEnd?: string;
47
+ /** The range input min value. @category Native attributes */
48
+ min?: number;
49
+ /** The range input max value. @category Native attributes */
50
+ max?: number;
51
+ /** Set a step value for the range input. @category Native attributes */
52
+ step?: HTMLInputElement['step'];
53
+ /** Disable the range input. @category Native attributes */
54
+ disabled?: boolean;
39
55
  /**
40
56
  * Add markers. This will also render a `datalist` element with `options`.
41
57
  * Omitting the `label` for a marker will use the `value` as label instead.
42
58
  * Set `label` to `null` or `''` to hide it completely.
59
+ * @category Features
43
60
  */
44
61
  markers?: {
45
62
  value: number;
46
63
  label?: string;
47
64
  }[];
48
- /** Set a prefix for the range/input field. */
49
- textPrefix?: string;
50
- /** Set a suffix for the range/input field. */
51
- textSuffix?: string;
52
- /** Set an icon for the range/input field. */
53
- icon?: string;
54
- /** Set an icon at the end of the range or for the second input field when using `multiple`. */
55
- iconEnd?: string;
56
- /** Set a custom HTML id. */
57
- pnId?: string;
58
- /** Set a custom HTML id. */
59
- pnIdEnd?: string;
60
- /** The range input name. @category HTML Attributes */
61
- name?: string;
62
- /** The range input name. @category HTML Attributes */
63
- nameEnd?: string;
64
- /** The range input min value. @category HTML Attributes */
65
- min?: number;
66
- /** The range input max value. @category HTML Attributes */
67
- max?: number;
68
- /** The range input value. @category HTML Attributes */
69
- value?: number;
70
- /** The range end input value. @category HTML Attributes */
71
- valueEnd?: number;
72
- /** Set a step value for the range input. @category HTML Attributes */
73
- step?: HTMLInputElement['step'];
74
- /**
75
- * Allow multiple values to be selected
76
- * @category Features
77
- */
78
- multiple?: boolean;
79
65
  /**
80
66
  * Display an input for the range value.
81
67
  * Allowing the user to type or use the slider to set the value.
82
68
  * @category Features
83
69
  */
84
70
  input?: boolean;
85
- /** Hide the tooltip. @category Features */
86
- tooltipHide?: boolean;
87
71
  /**
88
72
  * Range tooltip label template. Default is simply the value of the range input.
89
73
  * @example
@@ -92,12 +76,57 @@ export declare class PnRange {
92
76
  * @category Features
93
77
  */
94
78
  tooltipTemplate?: string;
95
- /** Disable the range input. @category State */
96
- disabled?: boolean;
97
- /** Set an error message for the range input. @category State */
98
- error?: string;
99
- /** Set the error visual for the range input, same as `error`, but without a message. @category State */
79
+ /** Hide the tooltip. @category Features */
80
+ tooltipHide?: boolean;
81
+ /** Set a prefix for the range/input field. @category Features */
82
+ textPrefix?: string;
83
+ /** Set a suffix for the range/input field. @category Features */
84
+ textSuffix?: string;
85
+ /** Set an icon for the range/input field. @category Features */
86
+ icon?: string;
87
+ /** Set an icon at the end of the range or for the second input field when using `multiple`. @category Features */
88
+ iconEnd?: string;
89
+ /**
90
+ * Allow multiple values to be selected
91
+ * @category Features
92
+ */
93
+ multiple?: boolean;
94
+ /** Set the error visual for the range input, same as `error`, but without a message. @category Features */
100
95
  invalid?: boolean;
96
+ /** Set an error message for the range input. @category Features */
97
+ error?: string;
98
+ /** Set a custom ID for the input. @category HTML attributes */
99
+ pnId?: string;
100
+ /** Set a custom ID for the end input. @category HTML attributes */
101
+ pnIdEnd?: string;
102
+ /**
103
+ * Provide the label via an aria attribute.
104
+ * We strongly recommend you use the `label` prop instead.
105
+ * @since v7.25.0
106
+ * @category HTML attributes
107
+ */
108
+ pnAriaLabel?: string;
109
+ /**
110
+ * Provide the label for the end input via an aria attribute.
111
+ * We strongly recommend you use the `label-end` prop instead.
112
+ * @since v7.25.0
113
+ * @category HTML attributes
114
+ */
115
+ pnAriaLabelEnd?: string;
116
+ /**
117
+ * Provide the label from another element via its ID.
118
+ * We strongly recommend you use the `label` prop instead.
119
+ * @since v7.25.0
120
+ * @category HTML attributes
121
+ */
122
+ pnAriaLabelledby?: string;
123
+ /**
124
+ * Provide the label for the end input from another element via its ID.
125
+ * We strongly recommend you use the `label-end` prop instead.
126
+ * @since v7.25.0
127
+ * @category HTML attributes
128
+ */
129
+ pnAriaLabelledbyEnd?: string;
101
130
  handleValue(): void;
102
131
  handleValueEnd(): void;
103
132
  handleId(): void;
@@ -112,6 +141,8 @@ export declare class PnRange {
112
141
  }>;
113
142
  connectedCallback(): void;
114
143
  disconnectedCallback(): void;
144
+ private getAriaLabel;
145
+ private getAriaLabelledby;
115
146
  private tooltipDirection;
116
147
  private isActiveMarker;
117
148
  private hasHelperText;
@@ -7,30 +7,27 @@ import type { PnLanguages, PnSearchFieldButton } from "../../../globals/types";
7
7
  * @nativeChange The `change` event is emitted when the input loses focus, the user clicks `Enter` or makes a selection (such as auto complete or suggestions).
8
8
  */
9
9
  export declare class PnSearchField {
10
- id: string;
11
- searchElement: HTMLInputElement;
10
+ private readonly id;
12
11
  hostElement: HTMLElement;
13
12
  /** Provide an aria-label for the search field. */
14
- label: string;
15
- /** Set the value of the search field. */
13
+ label?: string;
14
+ /** Override the pntopbar language. */
15
+ language?: PnLanguages;
16
+ /** Set the value of the search field. @category Native attributes */
16
17
  value: string;
17
- /** Set a search field placeholder. This is no replacement for a `label`. */
18
- placeholder?: string;
19
- /** Set a unique ID for the search input. */
20
- searchid: string;
21
- /** Set HTML name of the search input. */
18
+ /** Set HTML name of the search input. @category Native attributes */
22
19
  name?: string;
23
- /** Allow the browser to autocomplete the search field. */
20
+ /** Set a search field placeholder. @category Native attributes */
21
+ placeholder?: string;
22
+ /** Allow the browser to autocomplete the search field. @category Native attributes */
24
23
  autocomplete?: string;
25
- /** Point to a datalist element with this id. */
24
+ /** Point to a datalist element with this id. @category Native attributes */
26
25
  list?: string;
27
- /** Override the pntopbar language. */
28
- language?: PnLanguages;
29
- /** Disable the search field. @category State */
30
- disabled: boolean;
31
- /** Set the search field as required. @category State */
26
+ /** Set the search field as required. @category Native attributes */
32
27
  required: boolean;
33
- /** Display loading animation. @category State */
28
+ /** Disable the search field. @category Native attributes */
29
+ disabled: boolean;
30
+ /** Display loading animation. @category Features */
34
31
  loading: boolean;
35
32
  /**
36
33
  * Button variant changes the visual of the search field:
@@ -41,30 +38,44 @@ export declare class PnSearchField {
41
38
  *
42
39
  * @since v7.18.0: Use `''`, `simple`, `auto` or `jumbo`.
43
40
  *
44
- * @category Button
41
+ * @category Features
45
42
  */
46
43
  button: PnSearchFieldButton;
47
- /** Label for the button element. @category Button */
44
+ /** Label for the button element. @category Features */
48
45
  buttonLabel?: string;
49
- /** Add a tooltip to the search button. @category Button */
46
+ /** Add a tooltip to the search button. @category Features */
50
47
  buttonTooltip?: string;
51
48
  /**
52
49
  * Light instead of dark search button.
53
50
  *
54
51
  * @deprecated The color is now set automatically based on the button prop.
55
- * @category Button
52
+ * @category Features
56
53
  */
57
54
  buttonLight: boolean;
55
+ /** Set a custom ID for the search input. @since v7.25.0 @category HTML attributes */
56
+ pnId?: string;
57
+ /**
58
+ * Provide the label from another element via its ID.
59
+ * We strongly recommend you use the `label` prop instead.
60
+ * @since v7.25.0
61
+ * @category HTML attributes
62
+ */
63
+ pnAriaLabelledby?: string;
64
+ /** Set a unique ID for the search input. @deprecated Use `pn-id` instead. @category HTML attributes */
65
+ searchid?: string;
58
66
  /** This is emitted on search submission both with keyboard and mouse. */
59
67
  search: EventEmitter<string>;
60
68
  /** Custom event that handles both clearing and input to have the option of just binding listeners to one event instead of two. */
61
69
  update: EventEmitter<string>;
62
70
  inputHandler(): void;
63
71
  componentWillLoad(): Promise<void>;
72
+ private getId;
64
73
  private translate;
65
74
  private emitSearch;
66
75
  private setVal;
67
76
  private clearInput;
77
+ private displayLabel;
78
+ private getAriaLabelledby;
68
79
  private getButtonLabel;
69
80
  /** icon === simple-search */
70
81
  private searchSimple;
@@ -5,31 +5,32 @@
5
5
  * @nativeChange Use the `change` event to listen when the segment state is being changed.
6
6
  */
7
7
  export declare class PnSegmentedControl {
8
- mo: MutationObserver;
9
- segmentContainer: HTMLDivElement;
10
- segments: HTMLPnSegmentElement[];
11
- activeBg: HTMLDivElement;
12
- hoverBg: HTMLDivElement;
13
- scrollRegistered: boolean;
8
+ private mo;
9
+ private segmentContainer;
10
+ private segments;
11
+ private activeBg;
12
+ private hoverBg;
13
+ private scrollRegistered;
14
14
  hostElement: HTMLElement;
15
- showScrollArrows: boolean;
16
- showLeftArrow: boolean;
17
- showRightArrow: boolean;
15
+ private showScrollArrows;
16
+ private showLeftArrow;
17
+ private showRightArrow;
18
18
  /** This is the name of the radio buttons inside the controller. @deprecated Set the name in the nested `pn-segment` components. */
19
- name: string;
19
+ name?: string;
20
20
  /** Currently active segment value. */
21
- value: string;
21
+ value?: string;
22
22
  valueHandler(): void;
23
23
  changeHandler(event: InputEvent): void;
24
24
  handleResize(): void;
25
25
  handleHover(event: CustomEvent): void;
26
+ connectedCallback(): void;
27
+ disconnectedCallback(): void;
26
28
  componentDidLoad(): void;
27
- setSegments(): void;
28
- setActiveSegment(): void;
29
- rerender(): void;
30
- calcHighlight(element?: HTMLElement, hover?: boolean): void;
31
- scrollArrowRender(): void;
32
- scroll(val: number): void;
33
- scrollArrowClasses(): string;
29
+ private setSegments;
30
+ private setActiveSegment;
31
+ private rerender;
32
+ private calcHighlight;
33
+ private scrollArrowRender;
34
+ private scroll;
34
35
  render(): any;
35
36
  }
@@ -4,24 +4,27 @@ import { EventEmitter } from '../../../../stencil-public-runtime';
4
4
  * Do not listen to events on the `pn-segment`, but on the `pn-segmented-control` instead.
5
5
  */
6
6
  export declare class PnSegment {
7
- id: string;
7
+ private readonly id;
8
8
  hostElement: HTMLElement;
9
9
  /** The segment label, same as the slot. @since v7.7.0 */
10
10
  label?: string;
11
- /** The segment controller name. */
12
- name: string;
13
- /** The segment value. */
11
+ /** The segment value. @category Native attributes */
14
12
  value: string;
13
+ /** The segment controller name. @category Native attributes */
14
+ name: string;
15
+ /** Disable the segment. @since v7.7.0 @category Native attributes */
16
+ disabled: boolean;
15
17
  /** Set the segment as selected. Used by the `pn-segmented-control`. **Do not use manually**. @hide true */
16
18
  selected: boolean;
17
- /** A unique HTML id. */
18
- segmentid: string;
19
- /** The SVG content of the icon you want. */
19
+ /** The SVG content of the icon you want. @category Features */
20
20
  icon?: string;
21
- /** Disable the segment. @since v7.7.0 */
22
- disabled: boolean;
21
+ /** Set a custom ID for the segment. @since v7.25.0 @category HTML attributes */
22
+ pnId?: string;
23
+ /** Set a custom ID for the segment. @deprecated Use `pn-id` instead. @category HTML attributes */
24
+ segmentid?: string;
23
25
  /** This event is used by the `pn-segmented-control` component. Do not use manually. */
24
26
  segmentHover: EventEmitter<MouseEvent>;
25
27
  handleHover(mouse: MouseEvent): void;
28
+ private getId;
26
29
  render(): any;
27
30
  }
@@ -5,54 +5,74 @@
5
5
  * Just like a regular `select`, you can use the `selected` prop on the nested option elements to preselect an option.
6
6
  *
7
7
  * @slot - This is the default slot, where the `option` elements go.
8
+ * @slot helpertext - You can use this slot instead of the prop `helpertext`. Recommended, only if you need to include additional HTML markup. Such as a `pn-text-link`. Use a `span` element to wrap the text and link. {@since v7.25.0}
9
+ * @slot error - You can use this slot instead of the prop `error`. Recommended, only if you need to include additional HTML markup. Such as a `pn-text-link`. Use a `span` element to wrap the text and link. {@since v7.25.0}
8
10
  *
9
11
  * @nativeChange Use the `change` event to listen to changes on the select element.
10
12
  */
11
13
  export declare class PnSelect {
12
- id: string;
13
- idHelpertext: string;
14
- select: HTMLSelectElement;
15
- mo: MutationObserver;
14
+ private readonly id;
15
+ private idHelper;
16
+ private idError;
17
+ private mo;
16
18
  hostElement: HTMLElement;
17
19
  /** Label placed above the select. */
18
- label: string;
20
+ label?: string;
19
21
  /** Display a helper text underneath the select. */
20
22
  helpertext?: string;
21
- /** Select HTML id */
22
- selectId: string;
23
- /** Display an icon to the left of the select input. */
24
- icon?: string;
25
- /** Use the compact label variant. @since v7.21.0 */
26
- compact?: boolean;
27
- /** HTML select name. @category HTML */
23
+ /** HTML select name. @category Native attributes */
28
24
  name: string;
29
- /** HTML form name. @category HTML */
25
+ /** HTML form name. @category Native attributes */
30
26
  form: string;
31
- /** HTML autocomplete. @category HTML */
27
+ /** HTML autocomplete. @category Native attributes */
32
28
  autocomplete: string;
33
- /**
34
- * Set the select as required.
35
- * @category Validation
36
- */
29
+ /** Set the select as required. @category Native attributes */
37
30
  required?: boolean;
38
- /**
39
- * Disable the select.
40
- * @category Validation
41
- */
31
+ /** Disable the select. @category Native attributes */
42
32
  disabled?: boolean;
33
+ /** Use the compact label variant. @since v7.21.0 @category Features */
34
+ compact?: boolean;
35
+ /** Display an icon to the left of the select input. @category Features */
36
+ icon?: string;
37
+ /** Trigger the invalid state. @category Features */
38
+ invalid?: boolean;
39
+ /** Display an error message and trigger the invalid state. @category Features */
40
+ error?: string;
41
+ /** Set a custom ID for the select. @since v7.25.0 @category HTML attributes */
42
+ pnId?: string;
43
43
  /**
44
- * Trigger the invalid state.
45
- * @category Validation
44
+ * Provide the label via an aria attribute.
45
+ * We strongly recommend you use the `label` prop instead.
46
+ * @since v7.25.0
47
+ * @category HTML attributes
46
48
  */
47
- invalid?: boolean;
49
+ pnAriaLabel?: string;
48
50
  /**
49
- * Display an error message and trigger the invalid state.
50
- * @category Validation
51
+ * Provide the label from another element via its ID.
52
+ * We strongly recommend you use the `label` prop instead.
53
+ * @since v7.25.0
54
+ * @category HTML attributes
51
55
  */
52
- error?: string;
53
- componentDidLoad(): void;
54
- hasError(): boolean;
55
- hasMessage(): boolean;
56
+ pnAriaLabelledby?: string;
57
+ /** Set a custom ID for the select. @deprecated Use `pn-id` instead. @category HTML attributes */
58
+ selectId?: string;
59
+ handleId(): void;
60
+ connectedCallback(): void;
61
+ disconnectedCallback(): void;
62
+ private hasHelperText;
63
+ /** If any `error` text is present, either via prop/slot. */
64
+ private hasErrorMessage;
65
+ /** If any `error` is active, either via the prop `invalid` or `error` prop/slot. */
66
+ private hasError;
67
+ private checkSlottedHelper;
68
+ private checkSlottedError;
69
+ private hideHelpertext;
70
+ private hideError;
71
+ private getId;
72
+ private displayLabel;
73
+ private getAriaLabel;
74
+ private getAriaLabelledby;
75
+ private getAriaDescribedby;
56
76
  private renderLabel;
57
77
  render(): any;
58
78
  }
@@ -3,58 +3,89 @@
3
3
  * This means you can use native events to listen to the input.
4
4
  *
5
5
  * @nativeInput Use the `input` event to listen to content being modified by the user.
6
+ *
7
+ * @slot helpertext - You can use this slot instead of the prop `helpertext`. Recommended, only if you need to include additional HTML markup. Such as a `pn-text-link`. Use a `span` element to wrap the text and link. {@since v7.25.0}
8
+ * @slot error - You can use this slot instead of the prop `error`. Recommended, only if you need to include additional HTML markup. Such as a `pn-text-link`. Use a `span` element to wrap the text and link. {@since v7.25.0}
6
9
  */
7
10
  export declare class PnTextarea {
8
11
  private readonly id;
9
12
  private idHelper;
13
+ private idError;
10
14
  hostElement: HTMLElement;
11
15
  /** The label describing the textarea. */
12
- label: string;
13
- /** The textarea content, do not provide slotted content. */
14
- value: string;
16
+ label?: string;
15
17
  /** Helper text that will appear underneath the textarea. Will be overwritten if you set an `error` string */
16
18
  helpertext?: string;
17
- /** Use the compact label variant. @since v7.21.0 */
18
- compact?: boolean;
19
- /** A unique ID connecting the element to the label. @category HTML Textarea */
20
- textareaid?: string;
21
- /** HTML name. @category HTML Textarea */
19
+ /** The textarea content, do not provide slotted content. @category Native attributes */
20
+ value: string;
21
+ /** HTML name. @category Native attributes */
22
22
  name?: string;
23
- /** Set the associated form. @category HTML Textarea*/
23
+ /** Placeholder for the textarea. @category Native attributes */
24
+ placeholder?: string;
25
+ /** Set the associated form. @category Native attributes */
24
26
  form?: string;
25
- /** Set the row count for the textarea. @category HTML Textarea */
27
+ /** Set the row count for the textarea. @category Native attributes */
26
28
  rows?: number;
27
- /** Set the col count for the textarea. @category HTML Textarea */
29
+ /** Set the col count for the textarea. @category Native attributes */
28
30
  cols?: number;
29
- /** Set the wrap control. @category HTML Textarea */
31
+ /** Set the wrap control. @category Native attributes */
30
32
  wrap?: string;
31
- /** The maximum number of characters the user should be able to add, also adds a visible counter. @category HTML Textarea */
33
+ /** The maximum number of characters the user should be able to add, also adds a visible counter. @category Native attributes */
32
34
  maxlength?: number;
33
- /** Allow the browser to autocomplete the textarea. @category HTML Textarea */
35
+ /** Allow the browser to autocomplete the textarea. @category Native attributes */
34
36
  autocomplete?: string;
35
- /** Allow the browser to spellcheck the textarea. @category HTML Textarea */
37
+ /** Allow the browser to spellcheck the textarea. @category Native attributes */
36
38
  spellcheck: boolean;
37
- /** Placeholder for the textarea. @category HTML Textarea */
38
- placeholder?: string;
39
- /** Allow the user to resize the textarea vertically. Handle width in your own layout. @category HTML Textarea */
39
+ /** Allow the user to resize the textarea vertically. Handle width in your own layout. @category Native attributes */
40
40
  resize?: boolean;
41
- /** Make the textarea required. @category HTML Textarea */
41
+ /** Make the textarea required. @category Native attributes */
42
42
  required?: boolean;
43
- /** Set the textarea as `valid`, will make the Label and focus rings green. @category State */
43
+ /** Disable the textarea. @category Native attributes */
44
+ disabled?: boolean;
45
+ /** Make the textarea readonly. @category Native attributes */
46
+ readonly?: boolean;
47
+ /** Use the compact label variant. @since v7.21.0 @category Features */
48
+ compact?: boolean;
49
+ /** Set the textarea as `valid`, will make the Label and focus rings green. @category Features */
44
50
  valid?: boolean;
45
- /** Set the textarea as `invalid`, will make the Label and focus rings red. @category State */
51
+ /** Set the textarea as `invalid`, will make the Label and focus rings red. @category Features */
46
52
  invalid?: boolean;
47
- /** Same as `invalid`, but will display the string as an error message under the textarea. @category State */
53
+ /** Same as `invalid`, but will display the string as an error message under the textarea. @category Features */
48
54
  error?: string;
49
- /** Disable the textarea. @category State */
50
- disabled?: boolean;
51
- /** Make the textarea readonly. @category State */
52
- readonly?: boolean;
55
+ /** Set a custom ID for the textarea. @since v7.25.0 @category HTML attributes */
56
+ pnId?: string;
57
+ /**
58
+ * Provide the label via an aria attribute.
59
+ * We strongly recommend you use the `label` prop instead.
60
+ * @since v7.25.0
61
+ * @category HTML attributes
62
+ */
63
+ pnAriaLabel?: string;
64
+ /**
65
+ * Provide the label from another element via its ID.
66
+ * We strongly recommend you use the `label` prop instead.
67
+ * @since v7.25.0
68
+ * @category HTML attributes
69
+ */
70
+ pnAriaLabelledby?: string;
71
+ /** Set a custom ID for the textarea. @deprecated Use `pn-id` instead. @category HTML attributes */
72
+ textareaid?: string;
53
73
  handleId(): void;
54
74
  private setVal;
75
+ private hasHelperText;
76
+ /** If any `error` text is present, either via prop/slot. */
77
+ private hasErrorMessage;
78
+ /** If any `error` is active, either via the prop `invalid` or `error` prop/slot. */
55
79
  private hasError;
56
- private hasMessage;
80
+ private checkSlottedHelper;
81
+ private checkSlottedError;
82
+ private hideHelpertext;
83
+ private hideError;
57
84
  private getId;
85
+ private displayLabel;
86
+ private getAriaLabel;
87
+ private getAriaLabelledby;
88
+ private getAriaDescribedby;
58
89
  private renderLabel;
59
90
  render(): any;
60
91
  }
@@ -12,30 +12,52 @@ export declare class PnToggleSwitch {
12
12
  private idHelper;
13
13
  hostElement: HTMLElement;
14
14
  /** A label for the toggle switch. */
15
- label: string;
15
+ label?: string;
16
16
  /** Provide a helpertext for the toggle switch. */
17
17
  helpertext?: string;
18
- /** Precheck the toggle. */
19
- checked: boolean;
20
- /** Set a unique HTML id. */
21
- toggleid: string;
22
- /** HTML toggle name. @category HTML */
23
- name?: string;
24
- /** HTML toggle value. @category HTML */
18
+ /** HTML toggle value. @category Native attributes */
25
19
  value?: string;
26
- /** Make the toggle smaller. @category Visual */
20
+ /** HTML toggle name. @category Native attributes */
21
+ name?: string;
22
+ /** Precheck the toggle. @category Native attributes */
23
+ checked: boolean;
24
+ /** Set the switch as required. @since v7.25.0 @category Native attributes */
25
+ required: boolean;
26
+ /** Disable the toggle. @category Native attributes */
27
+ disabled: boolean;
28
+ /** Make the toggle smaller. @category Features */
27
29
  small: boolean;
28
- /** Make the toggle larger. @category Visual */
30
+ /** Make the toggle larger. @category Features */
29
31
  large: boolean;
30
- /** Disable the toggle. @category State */
31
- disabled: boolean;
32
- /** Set the loading state. @category State */
32
+ /** Set the loading state. @category Features */
33
33
  loading: boolean;
34
+ /** Set a custom ID for the switch. @since v7.25.0 @category HTML attributes */
35
+ pnId?: string;
36
+ /**
37
+ * Provide the label via an aria attribute.
38
+ * We strongly recommend you use the `label` prop instead.
39
+ * @since v7.25.0
40
+ * @category HTML attributes
41
+ */
42
+ pnAriaLabel?: string;
43
+ /**
44
+ * Provide the label from another element via its ID.
45
+ * We strongly recommend you use the `label` prop instead.
46
+ * @since v7.25.0
47
+ * @category HTML attributes
48
+ */
49
+ pnAriaLabelledby?: string;
50
+ /** Set a custom ID for the switch. @deprecated Use `pn-id` instead. @category HTML attributes */
51
+ toggleid?: string;
34
52
  handleHelperId(): void;
35
- componentWillLoad(): void;
53
+ private getId;
54
+ private getSpinnerSize;
36
55
  private hasHelpertextProp;
37
56
  private hasHelpertextSlot;
38
57
  private showHelpertext;
39
58
  private describedBy;
59
+ private displayLabel;
60
+ private getAriaLabel;
61
+ private getAriaLabelledby;
40
62
  render(): any;
41
63
  }