@duetds/components 9.4.1 → 9.5.0

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 (724) hide show
  1. package/hydrate/index.js +2284 -205
  2. package/lib/cjs/{a11y-utils-d8d25cf4.js → a11y-utils-103b327e.js} +1 -1
  3. package/lib/cjs/{app-globals-99f2f39f.js → app-globals-2b7fff72.js} +1 -1
  4. package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
  5. package/lib/cjs/duet-alert.cjs.entry.js +3 -3
  6. package/lib/cjs/duet-badge.cjs.entry.js +3 -3
  7. package/lib/cjs/duet-banner.cjs.entry.js +2 -2
  8. package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
  9. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
  10. package/lib/cjs/duet-button_2.cjs.entry.js +10 -10
  11. package/lib/cjs/duet-callout.cjs.entry.js +4 -4
  12. package/lib/cjs/duet-caption_4.cjs.entry.js +11 -10
  13. package/lib/cjs/duet-card.cjs.entry.js +2 -2
  14. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  15. package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
  16. package/lib/cjs/{duet-chip_3.cjs.entry.js → duet-chip.cjs.entry.js} +3 -377
  17. package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
  18. package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
  19. package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
  20. package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
  21. package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
  22. package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
  23. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  24. package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
  25. package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
  26. package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
  27. package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
  28. package/lib/cjs/duet-footer.cjs.entry.js +7 -7
  29. package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
  31. package/lib/cjs/duet-hero.cjs.entry.js +8 -8
  32. package/lib/cjs/duet-icon.cjs.entry.js +4 -4
  33. package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
  34. package/lib/cjs/duet-layout.cjs.entry.js +7 -7
  35. package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
  36. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
  37. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
  38. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
  39. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
  40. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
  41. package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
  42. package/lib/cjs/duet-modal.cjs.entry.js +10 -10
  43. package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
  44. package/lib/cjs/duet-nav.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
  46. package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
  47. package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
  48. package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
  49. package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
  50. package/lib/cjs/duet-phone-input.cjs.entry.js +2002 -0
  51. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +426 -0
  52. package/lib/cjs/duet-progress.cjs.entry.js +2 -2
  53. package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
  54. package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
  55. package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
  56. package/lib/cjs/duet-scrollable_3.cjs.entry.js +27 -18
  57. package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
  58. package/lib/cjs/duet-select.cjs.entry.js +2 -2
  59. package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
  60. package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
  61. package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
  62. package/lib/cjs/duet-slideout-link.cjs.entry.js +22 -4
  63. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
  64. package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
  65. package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
  66. package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
  67. package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
  68. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
  69. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
  70. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
  71. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
  72. package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
  73. package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
  74. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  75. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
  76. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
  77. package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
  78. package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
  79. package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
  80. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
  81. package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
  82. package/lib/cjs/duet-tray.cjs.entry.js +4 -4
  83. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
  84. package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
  85. package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
  86. package/lib/cjs/duet.cjs.js +3 -3
  87. package/lib/cjs/{errorcodes.utils-2db03da6.js → errorcodes.utils-e3a0f607.js} +1 -1
  88. package/lib/cjs/{focus-utils-5578a0a5.js → focus-utils-47d23c45.js} +1 -1
  89. package/lib/cjs/{index-9c3aea30.js → index-7b1d76ef.js} +11 -3
  90. package/lib/cjs/{language-utils-9499975c.js → language-utils-a6a152b8.js} +1 -1
  91. package/lib/cjs/loader.cjs.js +3 -3
  92. package/lib/cjs/{slot-utils-58467702.js → slot-utils-6864011f.js} +1 -1
  93. package/lib/collection/collection-manifest.json +1 -0
  94. package/lib/collection/components/duet-badge/duet-badge.js +2 -2
  95. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
  96. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
  97. package/lib/collection/components/duet-button/duet-button.css +32 -18
  98. package/lib/collection/components/duet-button/duet-button.js +6 -6
  99. package/lib/collection/components/duet-callout/duet-callout.js +2 -2
  100. package/lib/collection/components/duet-chip/duet-chip.js +1 -1
  101. package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
  102. package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
  103. package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
  104. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  105. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  106. package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
  107. package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
  108. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
  109. package/lib/collection/components/duet-footer/duet-footer.js +4 -4
  110. package/lib/collection/components/duet-heading/duet-heading.js +22 -2
  111. package/lib/collection/components/duet-hero/duet-hero.js +5 -5
  112. package/lib/collection/components/duet-icon/duet-icon.js +3 -3
  113. package/lib/collection/components/duet-input/duet-input.css +34 -3
  114. package/lib/collection/components/duet-input/duet-input.js +4 -4
  115. package/lib/collection/components/duet-layout/duet-layout.js +5 -5
  116. package/lib/collection/components/duet-link/duet-link.js +2 -2
  117. package/lib/collection/components/duet-list/duet-list.js +1 -1
  118. package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
  119. package/lib/collection/components/duet-logo/duet-logo.js +1 -1
  120. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
  121. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
  122. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
  123. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
  124. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
  125. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
  126. package/lib/collection/components/duet-modal/duet-modal.js +6 -6
  127. package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
  128. package/lib/collection/components/duet-nav/duet-nav.js +1 -1
  129. package/lib/collection/components/duet-notification/duet-notification.js +2 -2
  130. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
  131. package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
  132. package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
  133. package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
  134. package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
  135. package/lib/collection/components/duet-phone-input/duet-phone-input.css +20 -0
  136. package/lib/collection/components/duet-phone-input/duet-phone-input.js +777 -0
  137. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +69 -9
  138. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
  139. package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
  140. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
  141. package/lib/collection/components/duet-scrollable/duet-scrollable.css +7 -6
  142. package/lib/collection/components/duet-scrollable/duet-scrollable.js +12 -9
  143. package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
  144. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
  145. package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
  146. package/lib/collection/components/duet-slideout/duet-slideout.js +4 -4
  147. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
  148. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +17 -2
  149. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +90 -2
  150. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
  151. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
  152. package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
  153. package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
  154. package/lib/collection/components/duet-status-icon/duet-status-icon.js +2 -2
  155. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  156. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
  157. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
  158. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
  159. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
  160. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
  161. package/lib/collection/components/duet-tab-group/duet-tab-group.js +11 -5
  162. package/lib/collection/components/duet-table/duet-table.js +2 -2
  163. package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
  164. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
  165. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
  166. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
  167. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
  168. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
  169. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
  170. package/lib/collection/components/duet-tray/duet-tray.js +2 -2
  171. package/lib/collection/components/duet-upload/duet-upload.js +2 -2
  172. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
  173. package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
  174. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  175. package/lib/collection/data/countries.js +1762 -0
  176. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  177. package/lib/dist-custom-elements/duet-alert.js +1 -1
  178. package/lib/dist-custom-elements/duet-badge.js +1 -1
  179. package/lib/dist-custom-elements/duet-banner.js +3 -3
  180. package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
  181. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  182. package/lib/dist-custom-elements/duet-button.js +1 -1
  183. package/lib/dist-custom-elements/duet-callout.js +4 -4
  184. package/lib/dist-custom-elements/duet-caption.js +1 -1
  185. package/lib/dist-custom-elements/duet-card.js +3 -3
  186. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  187. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  188. package/lib/dist-custom-elements/duet-chip.js +1 -1
  189. package/lib/dist-custom-elements/duet-choice-group.js +8 -8
  190. package/lib/dist-custom-elements/duet-choice.js +4 -4
  191. package/lib/dist-custom-elements/duet-collapsible.js +5 -5
  192. package/lib/dist-custom-elements/duet-combobox.js +15 -15
  193. package/lib/dist-custom-elements/duet-contact-card.js +10 -10
  194. package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
  195. package/lib/dist-custom-elements/duet-date-picker.js +13 -13
  196. package/lib/dist-custom-elements/duet-divider.js +1 -1
  197. package/lib/dist-custom-elements/duet-editable-table.js +7 -7
  198. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  199. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  200. package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
  201. package/lib/dist-custom-elements/duet-footer.js +11 -11
  202. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  203. package/lib/dist-custom-elements/duet-grid.js +1 -1
  204. package/lib/dist-custom-elements/duet-header.js +8 -8
  205. package/lib/dist-custom-elements/duet-heading.js +1 -1
  206. package/lib/dist-custom-elements/duet-hero.js +14 -14
  207. package/lib/dist-custom-elements/duet-icon.js +1 -1
  208. package/lib/dist-custom-elements/duet-input.js +1 -1
  209. package/lib/dist-custom-elements/duet-label.js +1 -1
  210. package/lib/dist-custom-elements/duet-layout.js +6 -6
  211. package/lib/dist-custom-elements/duet-link.js +1 -1
  212. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  213. package/lib/dist-custom-elements/duet-list.js +1 -1
  214. package/lib/dist-custom-elements/duet-logo.js +1 -1
  215. package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
  216. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
  217. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
  218. package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
  219. package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
  220. package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
  221. package/lib/dist-custom-elements/duet-modal.js +14 -14
  222. package/lib/dist-custom-elements/duet-multiselect.js +14 -14
  223. package/lib/dist-custom-elements/duet-nav.js +2 -2
  224. package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
  225. package/lib/dist-custom-elements/duet-notification.js +4 -4
  226. package/lib/dist-custom-elements/duet-number-input.js +11 -11
  227. package/lib/dist-custom-elements/duet-overlay.js +1 -1
  228. package/lib/dist-custom-elements/duet-page-heading.js +5 -5
  229. package/lib/dist-custom-elements/duet-pagination.js +24 -24
  230. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  231. package/lib/dist-custom-elements/duet-phone-input.d.ts +11 -0
  232. package/lib/dist-custom-elements/duet-phone-input.js +2128 -0
  233. package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
  234. package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
  235. package/lib/dist-custom-elements/duet-progress.js +1 -1
  236. package/lib/dist-custom-elements/duet-promo-card.js +5 -5
  237. package/lib/dist-custom-elements/duet-radio-group.js +8 -8
  238. package/lib/dist-custom-elements/duet-radio.js +1 -1
  239. package/lib/dist-custom-elements/duet-range-slider.js +2 -2
  240. package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
  241. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  242. package/lib/dist-custom-elements/duet-section-layout.js +4 -4
  243. package/lib/dist-custom-elements/duet-select.js +1 -1
  244. package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
  245. package/lib/dist-custom-elements/duet-show-more.js +1 -1
  246. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  247. package/lib/dist-custom-elements/duet-slideout-link.js +25 -6
  248. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
  249. package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
  250. package/lib/dist-custom-elements/duet-slideout.js +7 -7
  251. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  252. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  253. package/lib/dist-custom-elements/duet-status-icon.js +4 -4
  254. package/lib/dist-custom-elements/duet-step.js +4 -4
  255. package/lib/dist-custom-elements/duet-stepper.js +3 -3
  256. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
  257. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
  258. package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
  259. package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
  260. package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
  261. package/lib/dist-custom-elements/duet-tab-group.js +18 -12
  262. package/lib/dist-custom-elements/duet-tab.js +1 -1
  263. package/lib/dist-custom-elements/duet-table.js +1 -1
  264. package/lib/dist-custom-elements/duet-textarea.js +10 -10
  265. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  266. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
  267. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
  268. package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
  269. package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
  270. package/lib/dist-custom-elements/duet-toolbar.js +3 -3
  271. package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
  272. package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
  273. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  274. package/lib/dist-custom-elements/duet-tray.js +5 -5
  275. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  276. package/lib/dist-custom-elements/duet-upload-item.js +1 -1
  277. package/lib/dist-custom-elements/duet-upload.js +21 -21
  278. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  279. package/lib/dist-custom-elements/index.js +1 -1
  280. package/lib/dist-custom-elements/{p-705254ba.js → p-18bc63f3.js} +3 -3
  281. package/lib/dist-custom-elements/{p-d8ca9bb0.js → p-19b9ead1.js} +7 -7
  282. package/lib/dist-custom-elements/{p-77a6d407.js → p-26c7e23f.js} +1 -1
  283. package/lib/dist-custom-elements/{p-6617d6ac.js → p-2ecca38c.js} +3 -3
  284. package/lib/dist-custom-elements/{p-0a959269.js → p-2f6cc198.js} +4 -4
  285. package/lib/dist-custom-elements/{p-86bff8f2.js → p-32ca7625.js} +1 -1
  286. package/lib/dist-custom-elements/{p-f2e41ed9.js → p-39b87412.js} +2 -2
  287. package/lib/dist-custom-elements/{p-4c77c6a3.js → p-41403f71.js} +3 -3
  288. package/lib/dist-custom-elements/{p-2ccad3d5.js → p-4ccd7bcc.js} +4 -4
  289. package/lib/dist-custom-elements/{p-447bdf9c.js → p-4d6f6627.js} +3 -3
  290. package/lib/dist-custom-elements/{p-54a8c7e1.js → p-4ed8da23.js} +6 -4
  291. package/lib/dist-custom-elements/{p-e95fb79b.js → p-52df4164.js} +1 -1
  292. package/lib/dist-custom-elements/{p-1080a6c7.js → p-548610a6.js} +1 -1
  293. package/lib/dist-custom-elements/{p-81287261.js → p-7327e3d5.js} +264 -1
  294. package/lib/dist-custom-elements/{p-8381740e.js → p-76415eb2.js} +4 -4
  295. package/lib/dist-custom-elements/{p-195bcbbc.js → p-76f76fab.js} +119 -12
  296. package/lib/dist-custom-elements/{p-9a854b9b.js → p-7b74fee9.js} +3 -3
  297. package/lib/dist-custom-elements/{p-1b3d1a63.js → p-87df2d6e.js} +10 -10
  298. package/lib/dist-custom-elements/{p-e6396ef5.js → p-8ad5e64f.js} +3 -3
  299. package/lib/dist-custom-elements/{p-67704520.js → p-8f1394dd.js} +2 -2
  300. package/lib/dist-custom-elements/{p-ef906a44.js → p-9cb035b0.js} +5 -5
  301. package/lib/dist-custom-elements/{p-283c8c77.js → p-a013e7b0.js} +18 -15
  302. package/lib/dist-custom-elements/{p-02060606.js → p-a201b49f.js} +12 -12
  303. package/lib/dist-custom-elements/{p-c1f97fa7.js → p-ad89064b.js} +6 -6
  304. package/lib/dist-custom-elements/{p-a8859d41.js → p-b2599bdb.js} +2 -2
  305. package/lib/dist-custom-elements/{p-3392a6b5.js → p-b3a6e82a.js} +8 -8
  306. package/lib/dist-custom-elements/{p-5c11ac99.js → p-b8bae8c7.js} +2 -2
  307. package/lib/dist-custom-elements/{p-bcdec622.js → p-c577fbfe.js} +2 -2
  308. package/lib/dist-custom-elements/{p-269887e7.js → p-c69401c2.js} +4 -4
  309. package/lib/dist-custom-elements/{p-dafd01b3.js → p-cf1df71c.js} +1 -1
  310. package/lib/dist-custom-elements/{p-6657fbee.js → p-d01a8307.js} +5 -5
  311. package/lib/dist-custom-elements/{p-1e473975.js → p-d05c6565.js} +2 -2
  312. package/lib/dist-custom-elements/{p-159ce59f.js → p-d5859ccf.js} +3 -3
  313. package/lib/dist-custom-elements/{p-0323fc27.js → p-da60c00a.js} +4 -4
  314. package/lib/dist-custom-elements/{p-538c0817.js → p-db1f42f3.js} +3 -3
  315. package/lib/dist-custom-elements/{p-8885bff1.js → p-dce51f6d.js} +2 -2
  316. package/lib/dist-custom-elements/{p-ccfdbbfd.js → p-eb768545.js} +3 -3
  317. package/lib/dist-custom-elements/{p-d74ee462.js → p-ed6a907e.js} +1 -1
  318. package/lib/dist-custom-elements/{p-0a566079.js → p-fc9e69ed.js} +12 -12
  319. package/lib/duet/duet.esm.js +1 -1
  320. package/lib/duet/duet.js +1 -1
  321. package/lib/duet/{p-4f672fb0.entry.js → p-00ab909e.entry.js} +1 -1
  322. package/lib/duet/{p-f1ba826c.system.entry.js → p-00dd59e4.system.entry.js} +1 -1
  323. package/lib/duet/{p-e39d08e7.system.entry.js → p-033947e4.system.entry.js} +1 -1
  324. package/lib/duet/{p-a9d41a98.entry.js → p-03abf8be.entry.js} +1 -1
  325. package/lib/duet/{p-fbeb26a6.entry.js → p-04090a71.entry.js} +1 -1
  326. package/lib/duet/p-083bbc28.js +4 -0
  327. package/lib/duet/{p-ef40ca12.system.entry.js → p-0c5d595b.system.entry.js} +1 -1
  328. package/lib/duet/{p-1f059581.entry.js → p-0d1c524e.entry.js} +1 -1
  329. package/lib/duet/p-0d443be5.js +4 -0
  330. package/lib/duet/{p-41cced2e.entry.js → p-0d626d2e.entry.js} +1 -1
  331. package/lib/duet/{p-c5938aef.entry.js → p-0e2727b2.entry.js} +1 -1
  332. package/lib/duet/{p-54689a14.entry.js → p-0e3a6d04.entry.js} +1 -1
  333. package/lib/duet/p-1052f050.entry.js +4 -0
  334. package/lib/duet/{p-54e704a1.entry.js → p-1057eeaa.entry.js} +1 -1
  335. package/lib/duet/{p-a90beab2.entry.js → p-1275c867.entry.js} +1 -1
  336. package/lib/duet/{p-8984c2a3.system.entry.js → p-1317da1c.system.entry.js} +1 -1
  337. package/lib/duet/{p-86150b9f.system.entry.js → p-1364a715.system.entry.js} +1 -1
  338. package/lib/duet/{p-d3790473.entry.js → p-148be53e.entry.js} +1 -1
  339. package/lib/duet/{p-ca5d23f8.system.entry.js → p-15bd06bb.system.entry.js} +1 -1
  340. package/lib/duet/{p-2f021c6a.system.entry.js → p-1744b916.system.entry.js} +1 -1
  341. package/lib/duet/{p-59c9d492.entry.js → p-17592731.entry.js} +1 -1
  342. package/lib/duet/{p-126d3a77.system.entry.js → p-17d11f8c.system.entry.js} +1 -1
  343. package/lib/duet/p-19625473.entry.js +4 -0
  344. package/lib/duet/{p-8aa37257.entry.js → p-1b1d98b4.entry.js} +1 -1
  345. package/lib/duet/{p-36a9f7ef.entry.js → p-1c0ace6c.entry.js} +1 -1
  346. package/lib/duet/{p-6d41bea4.system.entry.js → p-1ea716c1.system.entry.js} +1 -1
  347. package/lib/duet/{p-51b198a9.entry.js → p-1fc48a8d.entry.js} +1 -1
  348. package/lib/duet/{p-03259614.entry.js → p-202f526f.entry.js} +1 -1
  349. package/lib/duet/{p-544acabc.system.entry.js → p-207e46dc.system.entry.js} +1 -1
  350. package/lib/duet/{p-56d8b241.system.entry.js → p-26df85b3.system.entry.js} +1 -1
  351. package/lib/duet/{p-291d313b.system.entry.js → p-28cc13b6.system.entry.js} +1 -1
  352. package/lib/duet/{p-afbd4b56.system.entry.js → p-28ef1aaf.system.entry.js} +1 -1
  353. package/lib/duet/{p-280630b2.entry.js → p-295396cd.entry.js} +1 -1
  354. package/lib/duet/{p-5b8a114c.system.entry.js → p-2a0c7157.system.entry.js} +1 -1
  355. package/lib/duet/{p-ab67d864.system.entry.js → p-2a0e1cd2.system.entry.js} +1 -1
  356. package/lib/duet/{p-e03a4cf1.system.entry.js → p-2a4f4522.system.entry.js} +1 -1
  357. package/lib/duet/{p-85641c26.entry.js → p-2b082283.entry.js} +1 -1
  358. package/lib/duet/{p-74aa0f9d.system.js → p-2bb44297.system.js} +1 -1
  359. package/lib/duet/{p-352dae35.entry.js → p-2c64554e.entry.js} +1 -1
  360. package/lib/duet/{p-63b854a7.system.entry.js → p-2efdf39c.system.entry.js} +1 -1
  361. package/lib/duet/{p-bc5fa50f.entry.js → p-3072addc.entry.js} +1 -1
  362. package/lib/duet/{p-086a3406.entry.js → p-345ac2e1.entry.js} +1 -1
  363. package/lib/duet/{p-66bfcb56.system.entry.js → p-346f8340.system.entry.js} +1 -1
  364. package/lib/duet/{p-c4c02007.entry.js → p-35600b76.entry.js} +1 -1
  365. package/lib/duet/{p-452883d8.entry.js → p-35c49132.entry.js} +1 -1
  366. package/lib/duet/{p-51f95f2e.entry.js → p-37c469ec.entry.js} +1 -1
  367. package/lib/duet/{p-99cdf534.entry.js → p-3ac058e8.entry.js} +1 -1
  368. package/lib/duet/{p-e5395121.system.entry.js → p-3bcc4ed9.system.entry.js} +1 -1
  369. package/lib/duet/p-42a1b0f0.system.js +4 -0
  370. package/lib/duet/{p-96201a4f.system.entry.js → p-433fad0d.system.entry.js} +1 -1
  371. package/lib/duet/{p-5c8de709.system.entry.js → p-435f700f.system.entry.js} +1 -1
  372. package/lib/duet/{p-f973c743.entry.js → p-45beef6d.entry.js} +1 -1
  373. package/lib/duet/{p-5645fe0f.entry.js → p-477e39b0.entry.js} +1 -1
  374. package/lib/duet/{p-8968462d.entry.js → p-48bb29d2.entry.js} +1 -1
  375. package/lib/duet/{p-87040cdc.entry.js → p-497fe0b1.entry.js} +1 -1
  376. package/lib/duet/p-4a2ccec7.entry.js +4 -0
  377. package/lib/duet/{p-7fb92a7e.system.entry.js → p-4af9bc5f.system.entry.js} +1 -1
  378. package/lib/duet/p-4ebb368b.entry.js +4 -0
  379. package/lib/duet/{p-fbc233bb.system.entry.js → p-4f2c25a0.system.entry.js} +1 -1
  380. package/lib/duet/{p-d080e1b9.system.js → p-4f945200.system.js} +1 -1
  381. package/lib/duet/{p-e7fe5dda.entry.js → p-4fc8517e.entry.js} +1 -1
  382. package/lib/duet/{p-d4d5010c.entry.js → p-4fc945d4.entry.js} +1 -1
  383. package/lib/duet/{p-33d04b9b.entry.js → p-52829324.entry.js} +1 -1
  384. package/lib/duet/{p-5555c8b1.system.entry.js → p-53b9b442.system.entry.js} +1 -1
  385. package/lib/duet/p-55bafbde.system.entry.js +4 -0
  386. package/lib/duet/{p-eeca1e90.entry.js → p-56b48e3d.entry.js} +1 -1
  387. package/lib/duet/{p-bcee92ef.entry.js → p-580a6591.entry.js} +1 -1
  388. package/lib/duet/p-587a9d58.system.entry.js +4 -0
  389. package/lib/duet/{p-8860ca98.system.entry.js → p-5ab4313d.system.entry.js} +1 -1
  390. package/lib/duet/{p-da959774.system.entry.js → p-5c561b82.system.entry.js} +1 -1
  391. package/lib/duet/{p-f5056fd8.system.entry.js → p-5d5ba6ed.system.entry.js} +1 -1
  392. package/lib/duet/{p-70a6edcd.system.entry.js → p-5e01a303.system.entry.js} +1 -1
  393. package/lib/duet/{p-3aa36e16.entry.js → p-5e2d4a51.entry.js} +1 -1
  394. package/lib/duet/{p-4289c19b.system.js → p-61173f11.system.js} +1 -1
  395. package/lib/duet/p-622e1ffc.js +4 -0
  396. package/lib/duet/{p-fef429fb.system.entry.js → p-64651bff.system.entry.js} +1 -1
  397. package/lib/duet/p-64853b73.entry.js +4 -0
  398. package/lib/duet/{p-839b3553.system.entry.js → p-66021b00.system.entry.js} +2 -2
  399. package/lib/duet/{p-795bf9ca.system.entry.js → p-68cbc985.system.entry.js} +1 -1
  400. package/lib/duet/{p-c705b8d5.entry.js → p-6c36ad85.entry.js} +1 -1
  401. package/lib/duet/p-6eb279dd.system.entry.js +4 -0
  402. package/lib/duet/{p-7069c290.system.entry.js → p-6fb72847.system.entry.js} +1 -1
  403. package/lib/duet/{p-a14a68fe.entry.js → p-71ec5b28.entry.js} +1 -1
  404. package/lib/duet/p-73853b36.system.entry.js +4 -0
  405. package/lib/duet/{p-8c78634e.system.entry.js → p-7567fef0.system.entry.js} +1 -1
  406. package/lib/duet/{p-e08088cb.system.entry.js → p-76361fed.system.entry.js} +2 -2
  407. package/lib/duet/p-7638da3f.entry.js +4 -0
  408. package/lib/duet/{p-cd4dce06.js → p-76927493.js} +1 -1
  409. package/lib/duet/{p-37085adb.entry.js → p-7ac466a3.entry.js} +1 -1
  410. package/lib/duet/{p-241e3985.system.entry.js → p-7b5541e9.system.entry.js} +1 -1
  411. package/lib/duet/{p-0a675075.js → p-7be5b9a7.js} +1 -1
  412. package/lib/duet/{p-4ca75b84.system.entry.js → p-7cad68ea.system.entry.js} +1 -1
  413. package/lib/duet/{p-fb713ab0.entry.js → p-7fceb8c8.entry.js} +1 -1
  414. package/lib/duet/{p-e4b910b4.system.entry.js → p-84b24dcc.system.entry.js} +1 -1
  415. package/lib/duet/{p-d5fedd59.system.entry.js → p-84c02ce1.system.entry.js} +1 -1
  416. package/lib/duet/p-84f2cc6b.entry.js +4 -0
  417. package/lib/duet/p-85261a28.entry.js +4 -0
  418. package/lib/duet/p-85a38287.system.entry.js +4 -0
  419. package/lib/duet/{p-c55fd9d3.entry.js → p-88e0e42c.entry.js} +1 -1
  420. package/lib/duet/{p-054f5ec6.system.js → p-89cf1a91.system.js} +1 -1
  421. package/lib/duet/p-8b59d885.entry.js +4 -0
  422. package/lib/duet/{p-95c6d4d0.entry.js → p-8bfb6649.entry.js} +1 -1
  423. package/lib/duet/{p-b4fb5d47.entry.js → p-8d6e249b.entry.js} +1 -1
  424. package/lib/duet/p-8ecbac63.system.entry.js +4 -0
  425. package/lib/duet/{p-8ff659e3.system.entry.js → p-8f698359.system.entry.js} +1 -1
  426. package/lib/duet/{p-b08ae8a2.system.entry.js → p-91a98b52.system.entry.js} +1 -1
  427. package/lib/duet/{p-b19b9511.system.entry.js → p-91f7ae75.system.entry.js} +1 -1
  428. package/lib/duet/{p-18cee812.system.entry.js → p-925da010.system.entry.js} +1 -1
  429. package/lib/duet/{p-f2311beb.entry.js → p-943edeef.entry.js} +1 -1
  430. package/lib/duet/{p-e8084ea9.system.entry.js → p-9525c31e.system.entry.js} +1 -1
  431. package/lib/duet/{p-ef2ee599.entry.js → p-95f1b9a1.entry.js} +1 -1
  432. package/lib/duet/p-96a6cca2.entry.js +4 -0
  433. package/lib/duet/p-98fd263d.entry.js +4 -0
  434. package/lib/duet/{p-38e51258.system.entry.js → p-9d3e0050.system.entry.js} +2 -2
  435. package/lib/duet/{p-296d5473.entry.js → p-9f377238.entry.js} +1 -1
  436. package/lib/duet/p-9f3a5506.entry.js +4 -0
  437. package/lib/duet/{p-c6384d36.entry.js → p-9f9e4b5a.entry.js} +1 -1
  438. package/lib/duet/{p-e73965c8.system.entry.js → p-a0229b56.system.entry.js} +1 -1
  439. package/lib/duet/p-a083b91a.js +5 -0
  440. package/lib/duet/{p-2d6410d0.system.js → p-a331ae6e.system.js} +1 -1
  441. package/lib/duet/{p-fa402e10.system.entry.js → p-a637d6a7.system.entry.js} +1 -1
  442. package/lib/duet/{p-257b436e.system.entry.js → p-a90243df.system.entry.js} +1 -1
  443. package/lib/duet/{p-b8327514.entry.js → p-afc011e1.entry.js} +1 -1
  444. package/lib/duet/p-aff748c3.entry.js +4 -0
  445. package/lib/duet/{p-f17324db.system.entry.js → p-b1c2ab61.system.entry.js} +1 -1
  446. package/lib/duet/p-b3076f6c.system.entry.js +4 -0
  447. package/lib/duet/{p-145d2c10.entry.js → p-b327a269.entry.js} +1 -1
  448. package/lib/duet/{p-def465ae.entry.js → p-b32dcb86.entry.js} +1 -1
  449. package/lib/duet/{p-c91ee9a4.system.entry.js → p-b336e3fb.system.entry.js} +1 -1
  450. package/lib/duet/{p-71b99868.entry.js → p-b410d85d.entry.js} +1 -1
  451. package/lib/duet/p-b56915bb.system.entry.js +4 -0
  452. package/lib/duet/{p-6899c158.system.entry.js → p-b642d349.system.entry.js} +1 -1
  453. package/lib/duet/{p-7718746e.entry.js → p-b79ca71d.entry.js} +1 -1
  454. package/lib/duet/{p-2eaefb06.entry.js → p-baf88ca9.entry.js} +1 -1
  455. package/lib/duet/{p-f739d912.system.entry.js → p-bbb9a30a.system.entry.js} +1 -1
  456. package/lib/duet/{p-e50de9e7.entry.js → p-bcd14101.entry.js} +1 -1
  457. package/lib/duet/{p-3a16a027.entry.js → p-bcfd5746.entry.js} +1 -1
  458. package/lib/duet/{p-1aac7b52.entry.js → p-bfb897ab.entry.js} +1 -1
  459. package/lib/duet/{p-36a1de2f.system.entry.js → p-c2befbf1.system.entry.js} +1 -1
  460. package/lib/duet/{p-0dfbe740.entry.js → p-c2d61f47.entry.js} +1 -1
  461. package/lib/duet/{p-26b99c47.system.entry.js → p-c3d6433f.system.entry.js} +1 -1
  462. package/lib/duet/{p-541429d7.system.entry.js → p-c50c0b02.system.entry.js} +2 -2
  463. package/lib/duet/{p-b501865b.system.entry.js → p-c5117f90.system.entry.js} +1 -1
  464. package/lib/duet/{p-ab885d81.entry.js → p-c56c0b41.entry.js} +1 -1
  465. package/lib/duet/{p-73ff5910.system.entry.js → p-c581e6d3.system.entry.js} +1 -1
  466. package/lib/duet/{p-74c70041.system.entry.js → p-c734cff9.system.entry.js} +1 -1
  467. package/lib/duet/p-ca29569e.system.js +4 -0
  468. package/lib/duet/{p-b2d5f07c.system.js → p-cdba12cc.system.js} +1 -1
  469. package/lib/duet/{p-a3efd322.system.entry.js → p-ce8d83cf.system.entry.js} +2 -2
  470. package/lib/duet/{p-21631e83.entry.js → p-d2059383.entry.js} +1 -1
  471. package/lib/duet/{p-673b20ea.system.entry.js → p-d2e9bcdf.system.entry.js} +1 -1
  472. package/lib/duet/{p-b6ea05f0.system.entry.js → p-d3e906da.system.entry.js} +1 -1
  473. package/lib/duet/{p-f937ba7d.entry.js → p-d49076b6.entry.js} +1 -1
  474. package/lib/duet/{p-140fd433.system.entry.js → p-d66a0251.system.entry.js} +1 -1
  475. package/lib/duet/{p-dd4374fe.system.entry.js → p-d8c356eb.system.entry.js} +1 -1
  476. package/lib/duet/{p-ae82df47.system.entry.js → p-d915362b.system.entry.js} +1 -1
  477. package/lib/duet/{p-cb00bf45.system.entry.js → p-da49ab05.system.entry.js} +2 -2
  478. package/lib/duet/{p-7f6a61f0.system.entry.js → p-dc186a2f.system.entry.js} +1 -1
  479. package/lib/duet/p-dcb8b2e2.entry.js +4 -0
  480. package/lib/duet/{p-8ca8ab58.system.entry.js → p-dd3fff16.system.entry.js} +2 -2
  481. package/lib/duet/{p-7c235af5.entry.js → p-dd7ec171.entry.js} +1 -1
  482. package/lib/duet/{p-4d06fd44.js → p-e3857119.js} +1 -1
  483. package/lib/duet/p-e67910bf.system.entry.js +4 -0
  484. package/lib/duet/{p-274b3451.system.entry.js → p-e81eade0.system.entry.js} +1 -1
  485. package/lib/duet/{p-4afae9c6.entry.js → p-e8b5235d.entry.js} +1 -1
  486. package/lib/duet/{p-59a32595.system.entry.js → p-eaff90e5.system.entry.js} +1 -1
  487. package/lib/duet/{p-8305c56f.system.entry.js → p-ed4e9cd6.system.entry.js} +1 -1
  488. package/lib/duet/{p-f90407fc.entry.js → p-edd39bb2.entry.js} +1 -1
  489. package/lib/duet/p-ef7b1342.entry.js +4 -0
  490. package/lib/duet/{p-91f6cf96.system.entry.js → p-f268a161.system.entry.js} +1 -1
  491. package/lib/duet/p-f3737a2b.entry.js +4 -0
  492. package/lib/duet/{p-10c5ce3a.entry.js → p-f38a5f44.entry.js} +1 -1
  493. package/lib/duet/{p-5f06bb51.entry.js → p-f631a689.entry.js} +1 -1
  494. package/lib/duet/{p-67da02dd.system.entry.js → p-f7d083c5.system.entry.js} +1 -1
  495. package/lib/duet/p-f89d7751.entry.js +4 -0
  496. package/lib/duet/{p-5df12983.system.entry.js → p-f8f56a8e.system.entry.js} +1 -1
  497. package/lib/duet/{p-db291b81.entry.js → p-fb9b0a2f.entry.js} +1 -1
  498. package/lib/duet/{p-55ecc86b.entry.js → p-fce0a87d.entry.js} +1 -1
  499. package/lib/duet/{p-e0e6e461.system.entry.js → p-ff2aca13.system.entry.js} +2 -2
  500. package/lib/esm/{a11y-utils-c9bd2c27.js → a11y-utils-9dbc7c3d.js} +1 -1
  501. package/lib/esm/{app-globals-f12e0500.js → app-globals-e00fbe9c.js} +1 -1
  502. package/lib/esm/duet-action-button.entry.js +2 -2
  503. package/lib/esm/duet-alert.entry.js +3 -3
  504. package/lib/esm/duet-badge.entry.js +3 -3
  505. package/lib/esm/duet-banner.entry.js +2 -2
  506. package/lib/esm/duet-breadcrumb.entry.js +6 -6
  507. package/lib/esm/duet-breadcrumbs.entry.js +4 -4
  508. package/lib/esm/duet-button_2.entry.js +10 -10
  509. package/lib/esm/duet-callout.entry.js +4 -4
  510. package/lib/esm/duet-caption_4.entry.js +11 -10
  511. package/lib/esm/duet-card.entry.js +2 -2
  512. package/lib/esm/duet-checkbox.entry.js +1 -1
  513. package/lib/esm/duet-checkmark.entry.js +3 -3
  514. package/lib/esm/{duet-chip_3.entry.js → duet-chip.entry.js} +5 -377
  515. package/lib/esm/duet-choice_2.entry.js +3 -3
  516. package/lib/esm/duet-collapsible.entry.js +4 -4
  517. package/lib/esm/duet-combobox.entry.js +3 -3
  518. package/lib/esm/duet-contact-card.entry.js +4 -4
  519. package/lib/esm/duet-cookie-consent.entry.js +2 -2
  520. package/lib/esm/duet-date-picker.entry.js +4 -4
  521. package/lib/esm/duet-divider_2.entry.js +3 -3
  522. package/lib/esm/duet-editable-table_3.entry.js +7 -7
  523. package/lib/esm/duet-empty-state.entry.js +3 -3
  524. package/lib/esm/duet-fieldset.entry.js +5 -5
  525. package/lib/esm/duet-file-chooser.entry.js +2 -2
  526. package/lib/esm/duet-footer.entry.js +7 -7
  527. package/lib/esm/duet-grid_2.entry.js +1 -1
  528. package/lib/esm/duet-header_2.entry.js +3 -3
  529. package/lib/esm/duet-hero.entry.js +8 -8
  530. package/lib/esm/duet-icon.entry.js +4 -4
  531. package/lib/esm/duet-input_2.entry.js +5 -5
  532. package/lib/esm/duet-layout.entry.js +7 -7
  533. package/lib/esm/duet-list_2.entry.js +4 -4
  534. package/lib/esm/duet-menu-bar-button.entry.js +3 -3
  535. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
  536. package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
  537. package/lib/esm/duet-menu-bar-item.entry.js +6 -6
  538. package/lib/esm/duet-menu-bar-link.entry.js +3 -3
  539. package/lib/esm/duet-menu-bar.entry.js +4 -4
  540. package/lib/esm/duet-modal.entry.js +10 -10
  541. package/lib/esm/duet-multiselect.entry.js +8 -8
  542. package/lib/esm/duet-nav.entry.js +2 -2
  543. package/lib/esm/duet-notification_2.entry.js +6 -6
  544. package/lib/esm/duet-number-input.entry.js +3 -3
  545. package/lib/esm/duet-overlay.entry.js +2 -2
  546. package/lib/esm/duet-page-heading.entry.js +3 -3
  547. package/lib/esm/duet-pagination_2.entry.js +15 -15
  548. package/lib/esm/duet-phone-input.entry.js +1998 -0
  549. package/lib/esm/duet-popup-menu_2.entry.js +421 -0
  550. package/lib/esm/duet-progress.entry.js +2 -2
  551. package/lib/esm/duet-promo-card.entry.js +4 -4
  552. package/lib/esm/duet-radio_2.entry.js +2 -2
  553. package/lib/esm/duet-range-slider.entry.js +1 -1
  554. package/lib/esm/duet-scrollable_3.entry.js +27 -18
  555. package/lib/esm/duet-section-layout.entry.js +4 -4
  556. package/lib/esm/duet-select.entry.js +2 -2
  557. package/lib/esm/duet-shaped-image.entry.js +3 -3
  558. package/lib/esm/duet-show-more.entry.js +4 -4
  559. package/lib/esm/duet-slideout-lang.entry.js +3 -3
  560. package/lib/esm/duet-slideout-link.entry.js +22 -4
  561. package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
  562. package/lib/esm/duet-slideout-panel.entry.js +10 -10
  563. package/lib/esm/duet-slideout.entry.js +8 -8
  564. package/lib/esm/duet-status-icon.entry.js +3 -3
  565. package/lib/esm/duet-step_2.entry.js +2 -2
  566. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
  567. package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
  568. package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
  569. package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
  570. package/lib/esm/duet-submenu-bar.entry.js +6 -6
  571. package/lib/esm/duet-textarea.entry.js +3 -3
  572. package/lib/esm/duet-toggle.entry.js +1 -1
  573. package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
  574. package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
  575. package/lib/esm/duet-toolbar-item.entry.js +7 -7
  576. package/lib/esm/duet-toolbar-link.entry.js +3 -3
  577. package/lib/esm/duet-toolbar.entry.js +3 -3
  578. package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
  579. package/lib/esm/duet-tooltip.entry.js +2 -2
  580. package/lib/esm/duet-tray.entry.js +4 -4
  581. package/lib/esm/duet-upload-aria-status.entry.js +2 -2
  582. package/lib/esm/duet-upload-item.entry.js +5 -5
  583. package/lib/esm/duet-visually-hidden.entry.js +2 -2
  584. package/lib/esm/duet.js +4 -4
  585. package/lib/esm/{errorcodes.utils-d594aed8.js → errorcodes.utils-416994cc.js} +1 -1
  586. package/lib/esm/{focus-utils-fc101536.js → focus-utils-7bc146cd.js} +1 -1
  587. package/lib/esm/{index-fa810c91.js → index-1a6cee61.js} +11 -3
  588. package/lib/esm/{language-utils-35eb1c9f.js → language-utils-8a9d5323.js} +1 -1
  589. package/lib/esm/loader.js +4 -4
  590. package/lib/esm/{slot-utils-adbc7a01.js → slot-utils-9633ef1e.js} +1 -1
  591. package/lib/esm-es5/{a11y-utils-c9bd2c27.js → a11y-utils-9dbc7c3d.js} +1 -1
  592. package/lib/esm-es5/{app-globals-f12e0500.js → app-globals-e00fbe9c.js} +1 -1
  593. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  594. package/lib/esm-es5/duet-alert.entry.js +1 -1
  595. package/lib/esm-es5/duet-badge.entry.js +1 -1
  596. package/lib/esm-es5/duet-banner.entry.js +1 -1
  597. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  598. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  599. package/lib/esm-es5/duet-button_2.entry.js +2 -2
  600. package/lib/esm-es5/duet-callout.entry.js +1 -1
  601. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  602. package/lib/esm-es5/duet-card.entry.js +1 -1
  603. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  604. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  605. package/lib/esm-es5/duet-chip.entry.js +4 -0
  606. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  607. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  608. package/lib/esm-es5/duet-combobox.entry.js +1 -1
  609. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  610. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  611. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  612. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  613. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  614. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  615. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  616. package/lib/esm-es5/duet-file-chooser.entry.js +2 -2
  617. package/lib/esm-es5/duet-footer.entry.js +1 -1
  618. package/lib/esm-es5/duet-grid_2.entry.js +1 -1
  619. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  620. package/lib/esm-es5/duet-hero.entry.js +2 -2
  621. package/lib/esm-es5/duet-icon.entry.js +1 -1
  622. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  623. package/lib/esm-es5/duet-layout.entry.js +1 -1
  624. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  625. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  626. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  627. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  628. package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
  629. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  630. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  631. package/lib/esm-es5/duet-modal.entry.js +1 -1
  632. package/lib/esm-es5/duet-multiselect.entry.js +1 -1
  633. package/lib/esm-es5/duet-nav.entry.js +1 -1
  634. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  635. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  636. package/lib/esm-es5/duet-overlay.entry.js +1 -1
  637. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  638. package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
  639. package/lib/esm-es5/duet-phone-input.entry.js +4 -0
  640. package/lib/esm-es5/duet-popup-menu_2.entry.js +4 -0
  641. package/lib/esm-es5/duet-progress.entry.js +1 -1
  642. package/lib/esm-es5/duet-promo-card.entry.js +2 -2
  643. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  644. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  645. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  646. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  647. package/lib/esm-es5/duet-select.entry.js +1 -1
  648. package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
  649. package/lib/esm-es5/duet-show-more.entry.js +1 -1
  650. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  651. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  652. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  653. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  654. package/lib/esm-es5/duet-slideout.entry.js +2 -2
  655. package/lib/esm-es5/duet-status-icon.entry.js +1 -1
  656. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  657. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  658. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  659. package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
  660. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  661. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  662. package/lib/esm-es5/duet-textarea.entry.js +2 -2
  663. package/lib/esm-es5/duet-toggle.entry.js +1 -1
  664. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  665. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  666. package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
  667. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  668. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  669. package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
  670. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  671. package/lib/esm-es5/duet-tray.entry.js +1 -1
  672. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  673. package/lib/esm-es5/duet-upload-item.entry.js +2 -2
  674. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  675. package/lib/esm-es5/duet.js +1 -1
  676. package/lib/esm-es5/{errorcodes.utils-d594aed8.js → errorcodes.utils-416994cc.js} +1 -1
  677. package/lib/esm-es5/focus-utils-7bc146cd.js +4 -0
  678. package/lib/esm-es5/index-1a6cee61.js +4 -0
  679. package/lib/esm-es5/{language-utils-35eb1c9f.js → language-utils-8a9d5323.js} +1 -1
  680. package/lib/esm-es5/loader.js +1 -1
  681. package/lib/esm-es5/{slot-utils-adbc7a01.js → slot-utils-9633ef1e.js} +1 -1
  682. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  683. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  684. package/lib/types/components/duet-input/duet-input.d.ts +4 -3
  685. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +156 -0
  686. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +11 -1
  687. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -0
  688. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  689. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +1 -0
  690. package/lib/types/components.d.ts +259 -2
  691. package/lib/types/data/countries.d.ts +22 -0
  692. package/package.json +4 -4
  693. package/lib/dist-custom-elements/p-35014c4b.js +0 -268
  694. package/lib/duet/p-0750dca1.entry.js +0 -4
  695. package/lib/duet/p-07f685d3.entry.js +0 -4
  696. package/lib/duet/p-28696d40.entry.js +0 -4
  697. package/lib/duet/p-2981b2b9.system.entry.js +0 -4
  698. package/lib/duet/p-344ead85.system.entry.js +0 -4
  699. package/lib/duet/p-3933c84c.system.entry.js +0 -4
  700. package/lib/duet/p-4a91b8bc.system.entry.js +0 -4
  701. package/lib/duet/p-56d9a98c.system.entry.js +0 -4
  702. package/lib/duet/p-659d4dd6.entry.js +0 -4
  703. package/lib/duet/p-745a94fa.entry.js +0 -4
  704. package/lib/duet/p-7648f559.system.js +0 -4
  705. package/lib/duet/p-76fd0ec2.entry.js +0 -4
  706. package/lib/duet/p-7d6ddeec.js +0 -4
  707. package/lib/duet/p-7efd74ca.entry.js +0 -4
  708. package/lib/duet/p-87302bc0.entry.js +0 -4
  709. package/lib/duet/p-8bfce1f7.entry.js +0 -4
  710. package/lib/duet/p-97fe4968.js +0 -5
  711. package/lib/duet/p-9d6f6707.entry.js +0 -4
  712. package/lib/duet/p-a17a2112.entry.js +0 -4
  713. package/lib/duet/p-ac7ef7e2.js +0 -4
  714. package/lib/duet/p-b5b8973c.js +0 -4
  715. package/lib/duet/p-b7ecf91a.entry.js +0 -4
  716. package/lib/duet/p-bc440286.entry.js +0 -4
  717. package/lib/duet/p-c1802d38.system.js +0 -4
  718. package/lib/duet/p-c403a5b5.entry.js +0 -4
  719. package/lib/duet/p-d819ba34.entry.js +0 -4
  720. package/lib/duet/p-e81db273.system.entry.js +0 -4
  721. package/lib/duet/p-eaa81178.system.entry.js +0 -4
  722. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  723. package/lib/esm-es5/focus-utils-fc101536.js +0 -4
  724. package/lib/esm-es5/index-fa810c91.js +0 -4
@@ -0,0 +1,156 @@
1
+ import { EventEmitter } from "../../stencil-public-runtime";
2
+ import { A11yComponent, ThemeableComponent } from "../../common";
3
+ import { DuetLanguage, DuetMargin, DuetTheme } from "../../common-types";
4
+ import { Country } from "../../data/countries";
5
+ import { DuetLangObject } from "../../utils/language-utils";
6
+ export type DuetPhoneInputEvent = {
7
+ originalEvent?: Event;
8
+ component: "duet-phone-input";
9
+ value: string;
10
+ countryCode?: string;
11
+ };
12
+ export declare class DuetPhoneInput implements ThemeableComponent, A11yComponent {
13
+ private duetInputElement;
14
+ private countryCodeButton;
15
+ private countryCodePopup;
16
+ private countriesToList;
17
+ private countryFlagCDNUrl;
18
+ private inputId;
19
+ private _value;
20
+ /**
21
+ * Reference to host HTML element.
22
+ */
23
+ element: HTMLElement;
24
+ language: DuetLanguage;
25
+ currentCountry: Country | "error";
26
+ /**
27
+ * Theme of the input.
28
+ */
29
+ theme: DuetTheme;
30
+ /**
31
+ * Controls the margin of the component.
32
+ */
33
+ margin: DuetMargin;
34
+ /**
35
+ * Expands the input to fill 100% of the container width.
36
+ */
37
+ expand: boolean;
38
+ /**
39
+ * Adds a unique identifier for the input.
40
+ */
41
+ identifier: string;
42
+ /**
43
+ * Details of the component
44
+ */
45
+ accessibleDetails: string;
46
+ /**
47
+ * String of id's that indicate alternative labels elements
48
+ */
49
+ accessibleLabelledBy: string;
50
+ /**
51
+ * Aria description the button
52
+ */
53
+ accessibleDescription: string;
54
+ /**
55
+ * Indicates the id of a component that describes the input.
56
+ */
57
+ accessibleDescribedBy: string;
58
+ /**
59
+ * Makes the phone input component disabled. This prevents users from being able to
60
+ * interact with the input, and conveys its inactive state to assistive technologies.
61
+ */
62
+ disabled: boolean;
63
+ /**
64
+ * Set whether the input is required or not. Please note that this is required for
65
+ * accessible inputs when the user is required to fill them. When using this property
66
+ * you need to also set “novalidate” attribute to your form element to prevent
67
+ * browser from displaying its own validation errors.
68
+ */
69
+ required: boolean;
70
+ /**
71
+ * The phone input itself contains a comprehensive list of countries and their telephone country codes and it is
72
+ * advisable to hold to that. There may be situations where the set of possible country codes is narrowed down: e.g.
73
+ * if we have established that the person giving their details has a Nordic phone number, then we can give a narrowed
74
+ * down list. Do not make unjustified assumptions: e.g. a Finnish company may well have employees in Afganistan or
75
+ * Bhutan. List of countries can be given either as array of ISO 3166-1 alpha-2 codes or array of objects with keys:
76
+ * en, fi, sv, isoCode (two uppercase letters), telephoneCountryCode (one to three digits), or JSON array string of
77
+ * either two.
78
+ */
79
+ get countries(): Country[] | string[] | string;
80
+ set countries(countriesProp: Country[] | string[] | string);
81
+ /**
82
+ * Defaults for Label
83
+ * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
84
+ */
85
+ labelDefaults: DuetLangObject | string;
86
+ /**
87
+ * Label for the number input.
88
+ * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
89
+ */
90
+ label: string;
91
+ /**
92
+ * Visually hide the label, but still show it to screen readers.
93
+ */
94
+ labelHidden: boolean;
95
+ /**
96
+ * Name of the input.
97
+ */
98
+ name: string;
99
+ /**
100
+ * Display the input in error state along with an error message.
101
+ */
102
+ error: string;
103
+ /**
104
+ * Tooltip to display next to the label of the input.
105
+ */
106
+ tooltip: string;
107
+ /**
108
+ * Value of the input.
109
+ */
110
+ get value(): string;
111
+ set value(val: string);
112
+ /**
113
+ * Countries to list at the top of the popup-menu, given as an array or comma separated list of ISO 3166-2 codes.
114
+ * @default ["FI", "SE"]
115
+ */
116
+ listFirst: string | string[];
117
+ /**
118
+ * Emitted when the value has changed.
119
+ */
120
+ duetChange: EventEmitter<DuetPhoneInputEvent>;
121
+ /**
122
+ * Emitted when a keyboard input has ocurred.
123
+ */
124
+ duetInput: EventEmitter<DuetPhoneInputEvent>;
125
+ /**
126
+ * Emitted when the input loses focus.
127
+ */
128
+ duetBlur: EventEmitter<DuetPhoneInputEvent>;
129
+ /**
130
+ * Emitted when the input has focus.
131
+ */
132
+ duetFocus: EventEmitter<DuetPhoneInputEvent>;
133
+ /**t
134
+ * Component lifecycle events.
135
+ */
136
+ componentWillLoad(): void;
137
+ connectedCallback(): void;
138
+ disconnectedCallback(): void;
139
+ /**
140
+ * Sets focus on the contained input element, use this instead of the native `input.focus()`.
141
+ */
142
+ setFocus(options?: FocusOptions): Promise<void>;
143
+ private setListFirstCountries;
144
+ private handleFocus;
145
+ private handleChange;
146
+ private handleBlur;
147
+ private handleInput;
148
+ private handleCountryCodeSelectorOpen;
149
+ private handleCountryCodeSelectorSelect;
150
+ private setInputCountryCode;
151
+ private findCountryCode;
152
+ private findCountryForCode;
153
+ private renderFlag;
154
+ private getFlagForButton;
155
+ render(): any;
156
+ }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  import { FocusableComponent, OpenerComponent, ThemeableComponent } from "../../common";
3
- import { DuetTheme } from "../../common-types";
3
+ import { DuetLanguage, DuetTheme } from "../../common-types";
4
4
  export type DuetPopupMenuEvent = {
5
5
  open: boolean;
6
6
  component: "duet-popup-menu";
@@ -11,6 +11,8 @@ export declare class DuetPopupMenu implements ThemeableComponent {
11
11
  private openButton;
12
12
  private _controller?;
13
13
  private autoUpdateCleanup;
14
+ private filterInput?;
15
+ private filterLabel;
14
16
  /**
15
17
  * Reference to host HTML element.
16
18
  */
@@ -18,6 +20,7 @@ export declare class DuetPopupMenu implements ThemeableComponent {
18
20
  open: boolean;
19
21
  menuY: number;
20
22
  menuX: number;
23
+ language: DuetLanguage;
21
24
  /**
22
25
  * Adds accessible label for the menu that is only presented for users of assistive technologies.
23
26
  * A popup menu should always have an accessible label that describes the popup's function.
@@ -83,6 +86,10 @@ export declare class DuetPopupMenu implements ThemeableComponent {
83
86
  * Limit the amount of visible items in Popup Menu before showing a scroll bar.
84
87
  */
85
88
  scrollLimit: number;
89
+ /**
90
+ * Show input where user can type to filter popup-menu items to those that have a match in value or text content
91
+ */
92
+ showFilterInput: boolean;
86
93
  /**
87
94
  * Emitted when the popup menu is opened or closed.
88
95
  */
@@ -123,5 +130,8 @@ export declare class DuetPopupMenu implements ThemeableComponent {
123
130
  private get itemElements();
124
131
  private get popupMenuStyleHeight();
125
132
  private getFocusedItemIndex;
133
+ private getNonFilteredItems;
134
+ private filterItems;
135
+ private handleKeyDownOnFilter;
126
136
  render(): any;
127
137
  }
@@ -89,6 +89,7 @@ export declare class DuetScrollable implements ThemeableComponent {
89
89
  private scrollLeft;
90
90
  private scrollRight;
91
91
  private collapsedOnClick;
92
+ private getOverlayWidth;
92
93
  private renderButton;
93
94
  /**
94
95
  * render() function
@@ -1,5 +1,6 @@
1
1
  import { DuetTheme } from "../../common-types";
2
2
  import { ThemeableComponent } from "../../common/themeable-component";
3
+ import { DuetLangObject } from "../../utils/language-utils";
3
4
  export declare class DuetSlideoutLink implements ThemeableComponent {
4
5
  /**
5
6
  * Own Properties.
@@ -47,10 +48,26 @@ export declare class DuetSlideoutLink implements ThemeableComponent {
47
48
  * Indicates the component is used where aria-role menuitem is expected
48
49
  */
49
50
  menuItem: boolean;
51
+ /**
52
+ * Defaults for accessibleLabelExternal
53
+ * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
54
+ */
55
+ accessibleLabelExternalDefaults: DuetLangObject | string;
56
+ /**
57
+ * Adds accessible label for tooltip that is shown in external link (url & external have both been set)
58
+ * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
59
+ */
60
+ accessibleLabelExternal: string;
61
+ /**
62
+ * Forces URL to open in a new browser tab. Used together with URL prop.
63
+ */
64
+ external: boolean;
50
65
  /**
51
66
  * Component lifecycle events.
52
67
  */
53
68
  componentWillLoad(): void;
69
+ connectedCallback(): void;
70
+ disconnectedCallback(): void;
54
71
  /**
55
72
  * render() function
56
73
  * Always the last one in the class.
@@ -18,6 +18,7 @@ export declare class DuetTabGroup implements ThemeableComponent {
18
18
  private mutationO?;
19
19
  private id;
20
20
  private tabsContainer;
21
+ private intersectionObserver;
21
22
  /**
22
23
  * Reference to host HTML element.
23
24
  */
@@ -44,6 +44,8 @@ import { DuetNumberInputEvent } from "./components/duet-number-input/duet-number
44
44
  import { OverlayDisplayDevice } from "./components/duet-overlay/duet-overlay";
45
45
  import { DuetPaginationPageEvent, DuetPaginationVariation } from "./components/duet-pagination/duet-pagination";
46
46
  import { DuetParagraphSize, DuetParagraphVariation, DuetParagraphWeight } from "./components/duet-paragraph/duet-paragraph";
47
+ import { Country } from "./data/countries";
48
+ import { DuetPhoneInputEvent } from "./components/duet-phone-input/duet-phone-input";
47
49
  import { FocusableComponent, OpenerComponent } from "./common";
48
50
  import { DuetPopupMenuEvent } from "./components/duet-popup-menu/duet-popup-menu";
49
51
  import { DuetPopupMenuItemEvent } from "./components/duet-popup-menu-item/duet-popup-menu-item";
@@ -107,6 +109,8 @@ export { DuetNumberInputEvent } from "./components/duet-number-input/duet-number
107
109
  export { OverlayDisplayDevice } from "./components/duet-overlay/duet-overlay";
108
110
  export { DuetPaginationPageEvent, DuetPaginationVariation } from "./components/duet-pagination/duet-pagination";
109
111
  export { DuetParagraphSize, DuetParagraphVariation, DuetParagraphWeight } from "./components/duet-paragraph/duet-paragraph";
112
+ export { Country } from "./data/countries";
113
+ export { DuetPhoneInputEvent } from "./components/duet-phone-input/duet-phone-input";
110
114
  export { FocusableComponent, OpenerComponent } from "./common";
111
115
  export { DuetPopupMenuEvent } from "./components/duet-popup-menu/duet-popup-menu";
112
116
  export { DuetPopupMenuItemEvent } from "./components/duet-popup-menu-item/duet-popup-menu-item";
@@ -1689,6 +1693,10 @@ export namespace Components {
1689
1693
  "user": any;
1690
1694
  }
1691
1695
  interface DuetHeading {
1696
+ /**
1697
+ * Adds aria-label for the heading. It is important to note that this overrides the heading's text content for screen readers. Usually the same content should be provided for all users. Use this attribute only in specisl circumstances when an accessibility specialist instructs to do so.
1698
+ */
1699
+ "accessibleLabel": string;
1692
1700
  /**
1693
1701
  * Enable or disable the border underneath the heading, solid will darken the border
1694
1702
  */
@@ -2080,7 +2088,7 @@ export namespace Components {
2080
2088
  */
2081
2089
  "value": string;
2082
2090
  /**
2083
- * Variation of button. Use "button" to render a button element next to the input. Use "revealable" to render a button that reveals the password.
2091
+ * Variation of button. Use "button" to render a button element next to the input, "button-left" to render a button on the left edge of the input, and "revealable" to render a button that reveals the password.
2084
2092
  */
2085
2093
  "variation": DuetVariationType;
2086
2094
  }
@@ -3116,6 +3124,91 @@ export namespace Components {
3116
3124
  */
3117
3125
  "weight": DuetParagraphWeight;
3118
3126
  }
3127
+ interface DuetPhoneInput {
3128
+ /**
3129
+ * Indicates the id of a component that describes the input.
3130
+ */
3131
+ "accessibleDescribedBy": string;
3132
+ /**
3133
+ * Aria description the button
3134
+ */
3135
+ "accessibleDescription": string;
3136
+ /**
3137
+ * Details of the component
3138
+ */
3139
+ "accessibleDetails": string;
3140
+ /**
3141
+ * String of id's that indicate alternative labels elements
3142
+ */
3143
+ "accessibleLabelledBy": string;
3144
+ /**
3145
+ * The phone input itself contains a comprehensive list of countries and their telephone country codes and it is advisable to hold to that. There may be situations where the set of possible country codes is narrowed down: e.g. if we have established that the person giving their details has a Nordic phone number, then we can give a narrowed down list. Do not make unjustified assumptions: e.g. a Finnish company may well have employees in Afganistan or Bhutan. List of countries can be given either as array of ISO 3166-1 alpha-2 codes or array of objects with keys: en, fi, sv, isoCode (two uppercase letters), telephoneCountryCode (one to three digits), or JSON array string of either two.
3146
+ */
3147
+ "countries": string | string[] | Country[];
3148
+ /**
3149
+ * Makes the phone input component disabled. This prevents users from being able to interact with the input, and conveys its inactive state to assistive technologies.
3150
+ */
3151
+ "disabled": boolean;
3152
+ /**
3153
+ * Display the input in error state along with an error message.
3154
+ */
3155
+ "error": string;
3156
+ /**
3157
+ * Expands the input to fill 100% of the container width.
3158
+ */
3159
+ "expand": boolean;
3160
+ /**
3161
+ * Adds a unique identifier for the input.
3162
+ */
3163
+ "identifier": string;
3164
+ /**
3165
+ * Label for the number input.
3166
+ * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
3167
+ */
3168
+ "label": string;
3169
+ /**
3170
+ * Defaults for Label
3171
+ * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
3172
+ */
3173
+ "labelDefaults": DuetLangObject | string;
3174
+ /**
3175
+ * Visually hide the label, but still show it to screen readers.
3176
+ */
3177
+ "labelHidden": boolean;
3178
+ /**
3179
+ * Countries to list at the top of the popup-menu, given as an array or comma separated list of ISO 3166-2 codes.
3180
+ * @default ["FI", "SE"]
3181
+ */
3182
+ "listFirst": string | string[];
3183
+ /**
3184
+ * Controls the margin of the component.
3185
+ */
3186
+ "margin": DuetMargin;
3187
+ /**
3188
+ * Name of the input.
3189
+ */
3190
+ "name": string;
3191
+ /**
3192
+ * Set whether the input is required or not. Please note that this is required for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
3193
+ */
3194
+ "required": boolean;
3195
+ /**
3196
+ * Sets focus on the contained input element, use this instead of the native `input.focus()`.
3197
+ */
3198
+ "setFocus": (options?: FocusOptions) => Promise<void>;
3199
+ /**
3200
+ * Theme of the input.
3201
+ */
3202
+ "theme": DuetTheme;
3203
+ /**
3204
+ * Tooltip to display next to the label of the input.
3205
+ */
3206
+ "tooltip": string;
3207
+ /**
3208
+ * Value of the input.
3209
+ */
3210
+ "value": string;
3211
+ }
3119
3212
  interface DuetPopupMenu {
3120
3213
  /**
3121
3214
  * Adds accessible label for the menu that is only presented for users of assistive technologies. A popup menu should always have an accessible label that describes the popup's function.
@@ -3188,6 +3281,10 @@ export namespace Components {
3188
3281
  * Show.
3189
3282
  */
3190
3283
  "show": () => Promise<void>;
3284
+ /**
3285
+ * Show input where user can type to filter popup-menu items to those that have a match in value or text content
3286
+ */
3287
+ "showFilterInput": boolean;
3191
3288
  "skipTeleport": boolean;
3192
3289
  /**
3193
3290
  * Theme.
@@ -3916,6 +4013,16 @@ export namespace Components {
3916
4013
  * Adds accessible label for the button that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
3917
4014
  */
3918
4015
  "accessibleLabel": string;
4016
+ /**
4017
+ * Adds accessible label for tooltip that is shown in external link (url & external have both been set)
4018
+ * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
4019
+ */
4020
+ "accessibleLabelExternal": string;
4021
+ /**
4022
+ * Defaults for accessibleLabelExternal
4023
+ * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
4024
+ */
4025
+ "accessibleLabelExternalDefaults": DuetLangObject | string;
3919
4026
  /**
3920
4027
  * Active
3921
4028
  */
@@ -3924,6 +4031,10 @@ export namespace Components {
3924
4031
  * Caret
3925
4032
  */
3926
4033
  "caret": boolean;
4034
+ /**
4035
+ * Forces URL to open in a new browser tab. Used together with URL prop.
4036
+ */
4037
+ "external": boolean;
3927
4038
  /**
3928
4039
  * Href
3929
4040
  */
@@ -5330,6 +5441,10 @@ export interface DuetPaginationCustomEvent<T> extends CustomEvent<T> {
5330
5441
  detail: T;
5331
5442
  target: HTMLDuetPaginationElement;
5332
5443
  }
5444
+ export interface DuetPhoneInputCustomEvent<T> extends CustomEvent<T> {
5445
+ detail: T;
5446
+ target: HTMLDuetPhoneInputElement;
5447
+ }
5333
5448
  export interface DuetPopupMenuCustomEvent<T> extends CustomEvent<T> {
5334
5449
  detail: T;
5335
5450
  target: HTMLDuetPopupMenuElement;
@@ -6007,6 +6122,26 @@ declare global {
6007
6122
  prototype: HTMLDuetParagraphElement;
6008
6123
  new (): HTMLDuetParagraphElement;
6009
6124
  };
6125
+ interface HTMLDuetPhoneInputElementEventMap {
6126
+ "duetChange": DuetPhoneInputEvent;
6127
+ "duetInput": DuetPhoneInputEvent;
6128
+ "duetBlur": DuetPhoneInputEvent;
6129
+ "duetFocus": DuetPhoneInputEvent;
6130
+ }
6131
+ interface HTMLDuetPhoneInputElement extends Components.DuetPhoneInput, HTMLStencilElement {
6132
+ addEventListener<K extends keyof HTMLDuetPhoneInputElementEventMap>(type: K, listener: (this: HTMLDuetPhoneInputElement, ev: DuetPhoneInputCustomEvent<HTMLDuetPhoneInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6133
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6134
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6135
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6136
+ removeEventListener<K extends keyof HTMLDuetPhoneInputElementEventMap>(type: K, listener: (this: HTMLDuetPhoneInputElement, ev: DuetPhoneInputCustomEvent<HTMLDuetPhoneInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6137
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6138
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6139
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6140
+ }
6141
+ var HTMLDuetPhoneInputElement: {
6142
+ prototype: HTMLDuetPhoneInputElement;
6143
+ new (): HTMLDuetPhoneInputElement;
6144
+ };
6010
6145
  interface HTMLDuetPopupMenuElementEventMap {
6011
6146
  "duetToggle": DuetPopupMenuEvent;
6012
6147
  }
@@ -6525,6 +6660,7 @@ declare global {
6525
6660
  "duet-page-heading": HTMLDuetPageHeadingElement;
6526
6661
  "duet-pagination": HTMLDuetPaginationElement;
6527
6662
  "duet-paragraph": HTMLDuetParagraphElement;
6663
+ "duet-phone-input": HTMLDuetPhoneInputElement;
6528
6664
  "duet-popup-menu": HTMLDuetPopupMenuElement;
6529
6665
  "duet-popup-menu-item": HTMLDuetPopupMenuItemElement;
6530
6666
  "duet-progress": HTMLDuetProgressElement;
@@ -8220,6 +8356,10 @@ declare namespace LocalJSX {
8220
8356
  "user"?: any;
8221
8357
  }
8222
8358
  interface DuetHeading {
8359
+ /**
8360
+ * Adds aria-label for the heading. It is important to note that this overrides the heading's text content for screen readers. Usually the same content should be provided for all users. Use this attribute only in specisl circumstances when an accessibility specialist instructs to do so.
8361
+ */
8362
+ "accessibleLabel"?: string;
8223
8363
  /**
8224
8364
  * Enable or disable the border underneath the heading, solid will darken the border
8225
8365
  */
@@ -8619,7 +8759,7 @@ declare namespace LocalJSX {
8619
8759
  */
8620
8760
  "value"?: string;
8621
8761
  /**
8622
- * Variation of button. Use "button" to render a button element next to the input. Use "revealable" to render a button that reveals the password.
8762
+ * Variation of button. Use "button" to render a button element next to the input, "button-left" to render a button on the left edge of the input, and "revealable" to render a button that reveals the password.
8623
8763
  */
8624
8764
  "variation"?: DuetVariationType;
8625
8765
  }
@@ -9631,6 +9771,103 @@ declare namespace LocalJSX {
9631
9771
  */
9632
9772
  "weight"?: DuetParagraphWeight;
9633
9773
  }
9774
+ interface DuetPhoneInput {
9775
+ /**
9776
+ * Indicates the id of a component that describes the input.
9777
+ */
9778
+ "accessibleDescribedBy"?: string;
9779
+ /**
9780
+ * Aria description the button
9781
+ */
9782
+ "accessibleDescription"?: string;
9783
+ /**
9784
+ * Details of the component
9785
+ */
9786
+ "accessibleDetails"?: string;
9787
+ /**
9788
+ * String of id's that indicate alternative labels elements
9789
+ */
9790
+ "accessibleLabelledBy"?: string;
9791
+ /**
9792
+ * The phone input itself contains a comprehensive list of countries and their telephone country codes and it is advisable to hold to that. There may be situations where the set of possible country codes is narrowed down: e.g. if we have established that the person giving their details has a Nordic phone number, then we can give a narrowed down list. Do not make unjustified assumptions: e.g. a Finnish company may well have employees in Afganistan or Bhutan. List of countries can be given either as array of ISO 3166-1 alpha-2 codes or array of objects with keys: en, fi, sv, isoCode (two uppercase letters), telephoneCountryCode (one to three digits), or JSON array string of either two.
9793
+ */
9794
+ "countries"?: string | string[] | Country[];
9795
+ /**
9796
+ * Makes the phone input component disabled. This prevents users from being able to interact with the input, and conveys its inactive state to assistive technologies.
9797
+ */
9798
+ "disabled"?: boolean;
9799
+ /**
9800
+ * Display the input in error state along with an error message.
9801
+ */
9802
+ "error"?: string;
9803
+ /**
9804
+ * Expands the input to fill 100% of the container width.
9805
+ */
9806
+ "expand"?: boolean;
9807
+ /**
9808
+ * Adds a unique identifier for the input.
9809
+ */
9810
+ "identifier"?: string;
9811
+ /**
9812
+ * Label for the number input.
9813
+ * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
9814
+ */
9815
+ "label"?: string;
9816
+ /**
9817
+ * Defaults for Label
9818
+ * @default {fi: "Etiketti", en: "Label", sv: "Märka"}
9819
+ */
9820
+ "labelDefaults"?: DuetLangObject | string;
9821
+ /**
9822
+ * Visually hide the label, but still show it to screen readers.
9823
+ */
9824
+ "labelHidden"?: boolean;
9825
+ /**
9826
+ * Countries to list at the top of the popup-menu, given as an array or comma separated list of ISO 3166-2 codes.
9827
+ * @default ["FI", "SE"]
9828
+ */
9829
+ "listFirst"?: string | string[];
9830
+ /**
9831
+ * Controls the margin of the component.
9832
+ */
9833
+ "margin"?: DuetMargin;
9834
+ /**
9835
+ * Name of the input.
9836
+ */
9837
+ "name"?: string;
9838
+ /**
9839
+ * Emitted when the input loses focus.
9840
+ */
9841
+ "onDuetBlur"?: (event: DuetPhoneInputCustomEvent<DuetPhoneInputEvent>) => void;
9842
+ /**
9843
+ * Emitted when the value has changed.
9844
+ */
9845
+ "onDuetChange"?: (event: DuetPhoneInputCustomEvent<DuetPhoneInputEvent>) => void;
9846
+ /**
9847
+ * Emitted when the input has focus.
9848
+ */
9849
+ "onDuetFocus"?: (event: DuetPhoneInputCustomEvent<DuetPhoneInputEvent>) => void;
9850
+ /**
9851
+ * Emitted when a keyboard input has ocurred.
9852
+ */
9853
+ "onDuetInput"?: (event: DuetPhoneInputCustomEvent<DuetPhoneInputEvent>) => void;
9854
+ /**
9855
+ * Set whether the input is required or not. Please note that this is required for accessible inputs when the user is required to fill them. When using this property you need to also set “novalidate” attribute to your form element to prevent browser from displaying its own validation errors.
9856
+ */
9857
+ "required"?: boolean;
9858
+ /**
9859
+ * Theme of the input.
9860
+ */
9861
+ "theme"?: DuetTheme;
9862
+ /**
9863
+ * Tooltip to display next to the label of the input.
9864
+ */
9865
+ "tooltip"?: string;
9866
+ /**
9867
+ * Value of the input.
9868
+ */
9869
+ "value"?: string;
9870
+ }
9634
9871
  interface DuetPopupMenu {
9635
9872
  /**
9636
9873
  * Adds accessible label for the menu that is only presented for users of assistive technologies. A popup menu should always have an accessible label that describes the popup's function.
@@ -9695,6 +9932,10 @@ declare namespace LocalJSX {
9695
9932
  * Limit the amount of visible items in Popup Menu before showing a scroll bar.
9696
9933
  */
9697
9934
  "scrollLimit"?: number;
9935
+ /**
9936
+ * Show input where user can type to filter popup-menu items to those that have a match in value or text content
9937
+ */
9938
+ "showFilterInput"?: boolean;
9698
9939
  /**
9699
9940
  * Theme.
9700
9941
  */
@@ -10424,6 +10665,16 @@ declare namespace LocalJSX {
10424
10665
  * Adds accessible label for the button that is only shown for screen readers. Typically, this label text replaces the visible text on the button for users who use assistive technology.
10425
10666
  */
10426
10667
  "accessibleLabel"?: string;
10668
+ /**
10669
+ * Adds accessible label for tooltip that is shown in external link (url & external have both been set)
10670
+ * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
10671
+ */
10672
+ "accessibleLabelExternal"?: string;
10673
+ /**
10674
+ * Defaults for accessibleLabelExternal
10675
+ * @default {fi: "Avautuu uuteen ikkunaan",sv: "Öppnas i nytt fönster",en: "Opens in a new window"}
10676
+ */
10677
+ "accessibleLabelExternalDefaults"?: DuetLangObject | string;
10427
10678
  /**
10428
10679
  * Active
10429
10680
  */
@@ -10432,6 +10683,10 @@ declare namespace LocalJSX {
10432
10683
  * Caret
10433
10684
  */
10434
10685
  "caret"?: boolean;
10686
+ /**
10687
+ * Forces URL to open in a new browser tab. Used together with URL prop.
10688
+ */
10689
+ "external"?: boolean;
10435
10690
  /**
10436
10691
  * Href
10437
10692
  */
@@ -11798,6 +12053,7 @@ declare namespace LocalJSX {
11798
12053
  "duet-page-heading": DuetPageHeading;
11799
12054
  "duet-pagination": DuetPagination;
11800
12055
  "duet-paragraph": DuetParagraph;
12056
+ "duet-phone-input": DuetPhoneInput;
11801
12057
  "duet-popup-menu": DuetPopupMenu;
11802
12058
  "duet-popup-menu-item": DuetPopupMenuItem;
11803
12059
  "duet-progress": DuetProgress;
@@ -11905,6 +12161,7 @@ declare module "@stencil/core" {
11905
12161
  "duet-page-heading": LocalJSX.DuetPageHeading & JSXBase.HTMLAttributes<HTMLDuetPageHeadingElement>;
11906
12162
  "duet-pagination": LocalJSX.DuetPagination & JSXBase.HTMLAttributes<HTMLDuetPaginationElement>;
11907
12163
  "duet-paragraph": LocalJSX.DuetParagraph & JSXBase.HTMLAttributes<HTMLDuetParagraphElement>;
12164
+ "duet-phone-input": LocalJSX.DuetPhoneInput & JSXBase.HTMLAttributes<HTMLDuetPhoneInputElement>;
11908
12165
  "duet-popup-menu": LocalJSX.DuetPopupMenu & JSXBase.HTMLAttributes<HTMLDuetPopupMenuElement>;
11909
12166
  "duet-popup-menu-item": LocalJSX.DuetPopupMenuItem & JSXBase.HTMLAttributes<HTMLDuetPopupMenuItemElement>;
11910
12167
  "duet-progress": LocalJSX.DuetProgress & JSXBase.HTMLAttributes<HTMLDuetProgressElement>;
@@ -0,0 +1,22 @@
1
+ export type Country = {
2
+ en: string;
3
+ fi: string;
4
+ sv: string;
5
+ isoCode: string;
6
+ telephoneCountryCode?: string;
7
+ };
8
+ declare const countries: Record<string, Country>;
9
+ export declare const primaryCountriesForSharedCountryCodes: {
10
+ "1": string;
11
+ "7": string;
12
+ "39": string;
13
+ "44": string;
14
+ "47": string;
15
+ "61": string;
16
+ "212": string;
17
+ "262": string;
18
+ "358": string;
19
+ "590": string;
20
+ "599": string;
21
+ };
22
+ export default countries;