@duetds/components 6.8.9 → 6.9.1

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 (596) hide show
  1. package/hydrate/index.js +337 -196
  2. package/lib/cjs/duet-action-button.cjs.entry.js +19 -4
  3. package/lib/cjs/duet-alert.cjs.entry.js +1 -1
  4. package/lib/cjs/duet-badge.cjs.entry.js +1 -1
  5. package/lib/cjs/duet-breadcrumb.cjs.entry.js +1 -1
  6. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +1 -1
  7. package/lib/cjs/duet-button_2.cjs.entry.js +3 -3
  8. package/lib/cjs/duet-caption_4.cjs.entry.js +3 -3
  9. package/lib/cjs/duet-card.cjs.entry.js +3 -3
  10. package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
  11. package/lib/cjs/duet-checkmark.cjs.entry.js +1 -1
  12. package/lib/cjs/duet-choice_2.cjs.entry.js +2 -2
  13. package/lib/cjs/duet-collapsible.cjs.entry.js +1 -1
  14. package/lib/cjs/duet-combobox.cjs.entry.js +12 -2
  15. package/lib/cjs/duet-contact-card.cjs.entry.js +1 -1
  16. package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
  17. package/lib/cjs/duet-date-picker.cjs.entry.js +2 -2
  18. package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
  19. package/lib/cjs/duet-editable-table_3.cjs.entry.js +112 -127
  20. package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
  21. package/lib/cjs/duet-fieldset.cjs.entry.js +1 -1
  22. package/lib/cjs/duet-footer.cjs.entry.js +1 -1
  23. package/lib/cjs/duet-grid_2.cjs.entry.js +14 -4
  24. package/lib/cjs/duet-header_2.cjs.entry.js +20 -6
  25. package/lib/cjs/duet-hero.cjs.entry.js +15 -3
  26. package/lib/cjs/duet-icon.cjs.entry.js +3 -3
  27. package/lib/cjs/duet-input_2.cjs.entry.js +1 -1
  28. package/lib/cjs/duet-layout.cjs.entry.js +1 -1
  29. package/lib/cjs/duet-list_2.cjs.entry.js +1 -1
  30. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +1 -1
  31. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +1 -1
  32. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +1 -1
  33. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +1 -1
  34. package/lib/cjs/duet-menu-bar.cjs.entry.js +1 -1
  35. package/lib/cjs/duet-modal.cjs.entry.js +2 -2
  36. package/lib/cjs/duet-multiselect.cjs.entry.js +9 -3
  37. package/lib/cjs/duet-nav.cjs.entry.js +1 -1
  38. package/lib/cjs/duet-notification_2.cjs.entry.js +15 -1
  39. package/lib/cjs/duet-number-input.cjs.entry.js +47 -27
  40. package/lib/cjs/duet-page-heading.cjs.entry.js +1 -1
  41. package/lib/cjs/duet-pagination_2.cjs.entry.js +21 -6
  42. package/lib/cjs/duet-progress.cjs.entry.js +1 -1
  43. package/lib/cjs/duet-radio_2.cjs.entry.js +1 -1
  44. package/lib/cjs/duet-range-slider.cjs.entry.js +2 -2
  45. package/lib/cjs/duet-scrollable_3.cjs.entry.js +1 -1
  46. package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
  47. package/lib/cjs/duet-select.cjs.entry.js +3 -3
  48. package/lib/cjs/duet-slideout-lang.cjs.entry.js +1 -1
  49. package/lib/cjs/duet-slideout-link.cjs.entry.js +1 -1
  50. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +1 -1
  51. package/lib/cjs/duet-slideout-panel.cjs.entry.js +4 -4
  52. package/lib/cjs/duet-slideout.cjs.entry.js +5 -5
  53. package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
  54. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +1 -1
  55. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +22 -7
  56. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +1 -1
  57. package/lib/cjs/duet-submenu-bar.cjs.entry.js +2 -2
  58. package/lib/cjs/duet-textarea.cjs.entry.js +1 -1
  59. package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
  60. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +1 -1
  61. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +1 -1
  62. package/lib/cjs/duet-toolbar-link.cjs.entry.js +1 -1
  63. package/lib/cjs/duet-toolbar.cjs.entry.js +1 -1
  64. package/lib/cjs/duet-tooltip.cjs.entry.js +16 -1
  65. package/lib/cjs/duet-tray.cjs.entry.js +2 -2
  66. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
  67. package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
  68. package/lib/cjs/duet.cjs.js +2 -2
  69. package/lib/cjs/{focus-utils-f5b81c1f.js → focus-utils-46e27452.js} +1 -1
  70. package/lib/cjs/{index-8a8ba131.js → index-8512a70b.js} +1 -1
  71. package/lib/cjs/loader.cjs.js +2 -2
  72. package/lib/cjs/{token-utils-2e10264d.js → token-utils-4bfb15d4.js} +4 -1
  73. package/lib/cjs/{tokens.module-69170ddd.js → tokens.module-d402cfac.js} +0 -1
  74. package/lib/collection/components/duet-action-button/duet-action-button.js +27 -8
  75. package/lib/collection/components/duet-alert/duet-alert.js +1 -1
  76. package/lib/collection/components/duet-button/duet-button.js +5 -5
  77. package/lib/collection/components/duet-caption/duet-caption.js +1 -1
  78. package/lib/collection/components/duet-card/duet-card.js +3 -3
  79. package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
  80. package/lib/collection/components/duet-choice/duet-choice.js +3 -3
  81. package/lib/collection/components/duet-collapsible/duet-collapsible.js +3 -3
  82. package/lib/collection/components/duet-combobox/duet-combobox.js +19 -6
  83. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
  84. package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
  85. package/lib/collection/components/duet-divider/duet-divider.js +1 -1
  86. package/lib/collection/components/duet-editable-table/duet-editable-table.js +21 -9
  87. package/lib/collection/components/duet-empty-state/duet-empty-state.js +1 -1
  88. package/lib/collection/components/duet-footer/duet-footer.js +7 -7
  89. package/lib/collection/components/duet-grid/duet-grid.css +18 -0
  90. package/lib/collection/components/duet-grid/duet-grid.js +27 -3
  91. package/lib/collection/components/duet-grid-item/duet-grid-item.css +3 -2
  92. package/lib/collection/components/duet-grid-item/duet-grid-item.js +32 -0
  93. package/lib/collection/components/duet-header/duet-header.js +35 -19
  94. package/lib/collection/components/duet-heading/duet-heading.js +1 -1
  95. package/lib/collection/components/duet-hero/duet-hero.css +10 -0
  96. package/lib/collection/components/duet-hero/duet-hero.js +22 -8
  97. package/lib/collection/components/duet-icon/duet-icon.js +1 -1
  98. package/lib/collection/components/duet-input/duet-input.js +8 -8
  99. package/lib/collection/components/duet-label/duet-label.js +2 -2
  100. package/lib/collection/components/duet-layout/duet-layout.js +1 -1
  101. package/lib/collection/components/duet-list/duet-list.js +4 -4
  102. package/lib/collection/components/duet-logo/duet-logo.js +7 -7
  103. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +1 -1
  104. package/lib/collection/components/duet-modal/duet-modal.js +3 -3
  105. package/lib/collection/components/duet-multiselect/duet-multiselect.js +16 -9
  106. package/lib/collection/components/duet-notification/duet-notification.js +22 -5
  107. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +1 -1
  108. package/lib/collection/components/duet-number-input/duet-number-input.js +50 -30
  109. package/lib/collection/components/duet-pagination/duet-pagination.js +29 -11
  110. package/lib/collection/components/duet-paragraph/duet-paragraph.js +3 -3
  111. package/lib/collection/components/duet-radio/duet-radio.js +3 -3
  112. package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
  113. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +1 -1
  114. package/lib/collection/components/duet-select/duet-select.css +0 -4
  115. package/lib/collection/components/duet-select/duet-select.js +6 -6
  116. package/lib/collection/components/duet-slideout/duet-slideout.css +2 -0
  117. package/lib/collection/components/duet-slideout/duet-slideout.js +1 -1
  118. package/lib/collection/components/duet-spacer/duet-spacer.js +2 -2
  119. package/lib/collection/components/duet-spinner/duet-spinner.js +1 -1
  120. package/lib/collection/components/duet-step/duet-step.js +2 -2
  121. package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
  122. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +5 -21
  123. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +1 -0
  124. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +21 -5
  125. package/lib/collection/components/duet-tab-group/duet-tab-group.js +4 -4
  126. package/lib/collection/components/duet-table/duet-table.js +20 -4
  127. package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
  128. package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
  129. package/lib/collection/components/duet-tooltip/duet-tooltip.js +22 -5
  130. package/lib/collection/components/duet-upload/duet-upload.css +89 -13
  131. package/lib/collection/components/duet-upload/duet-upload.js +113 -90
  132. package/lib/collection/components/duet-upload/upload-item-header.js +8 -0
  133. package/lib/collection/components/duet-upload/upload-item.js +22 -6
  134. package/lib/collection/utils/token-utils.js +2 -0
  135. package/lib/dist-custom-elements/duet-action-button.js +1 -1
  136. package/lib/dist-custom-elements/duet-alert.js +1 -1
  137. package/lib/dist-custom-elements/duet-badge.js +1 -1
  138. package/lib/dist-custom-elements/duet-breadcrumb.js +2 -2
  139. package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
  140. package/lib/dist-custom-elements/duet-button.js +1 -1
  141. package/lib/dist-custom-elements/duet-caption.js +1 -1
  142. package/lib/dist-custom-elements/duet-card.js +4 -4
  143. package/lib/dist-custom-elements/duet-checkbox.js +1 -1
  144. package/lib/dist-custom-elements/duet-checkmark.js +1 -1
  145. package/lib/dist-custom-elements/duet-choice-group.js +6 -6
  146. package/lib/dist-custom-elements/duet-choice.js +6 -6
  147. package/lib/dist-custom-elements/duet-collapsible.js +2 -2
  148. package/lib/dist-custom-elements/duet-combobox.js +16 -5
  149. package/lib/dist-custom-elements/duet-contact-card.js +9 -9
  150. package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
  151. package/lib/dist-custom-elements/duet-date-picker.js +11 -11
  152. package/lib/dist-custom-elements/duet-divider.js +1 -1
  153. package/lib/dist-custom-elements/duet-editable-table.js +246 -1
  154. package/lib/dist-custom-elements/duet-empty-state.js +1 -1
  155. package/lib/dist-custom-elements/duet-fieldset.js +1 -1
  156. package/lib/dist-custom-elements/duet-footer.js +5 -5
  157. package/lib/dist-custom-elements/duet-grid-item.js +1 -1
  158. package/lib/dist-custom-elements/duet-grid.js +1 -1
  159. package/lib/dist-custom-elements/duet-header.js +26 -12
  160. package/lib/dist-custom-elements/duet-heading.js +1 -1
  161. package/lib/dist-custom-elements/duet-hero.js +25 -13
  162. package/lib/dist-custom-elements/duet-icon.js +1 -1
  163. package/lib/dist-custom-elements/duet-input.js +1 -1
  164. package/lib/dist-custom-elements/duet-label.js +1 -1
  165. package/lib/dist-custom-elements/duet-layout.js +1 -1
  166. package/lib/dist-custom-elements/duet-link.js +1 -1
  167. package/lib/dist-custom-elements/duet-list-item.js +1 -1
  168. package/lib/dist-custom-elements/duet-list.js +1 -1
  169. package/lib/dist-custom-elements/duet-logo.js +1 -1
  170. package/lib/dist-custom-elements/duet-menu-bar-button.js +2 -2
  171. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
  172. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
  173. package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
  174. package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
  175. package/lib/dist-custom-elements/duet-modal.js +8 -8
  176. package/lib/dist-custom-elements/duet-multiselect.js +18 -11
  177. package/lib/dist-custom-elements/duet-nav.js +1 -1
  178. package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
  179. package/lib/dist-custom-elements/duet-notification.js +19 -5
  180. package/lib/dist-custom-elements/duet-number-input.js +56 -36
  181. package/lib/dist-custom-elements/duet-page-heading.js +2 -2
  182. package/lib/dist-custom-elements/duet-pagination.js +31 -15
  183. package/lib/dist-custom-elements/duet-paragraph.js +1 -1
  184. package/lib/dist-custom-elements/duet-progress.js +1 -1
  185. package/lib/dist-custom-elements/duet-radio-group.js +6 -6
  186. package/lib/dist-custom-elements/duet-radio.js +1 -1
  187. package/lib/dist-custom-elements/duet-range-slider.js +3 -3
  188. package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
  189. package/lib/dist-custom-elements/duet-scrollable.js +1 -1
  190. package/lib/dist-custom-elements/duet-section-layout.js +1 -1
  191. package/lib/dist-custom-elements/duet-select.js +1 -1
  192. package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
  193. package/lib/dist-custom-elements/duet-slideout-link.js +2 -2
  194. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
  195. package/lib/dist-custom-elements/duet-slideout-panel.js +4 -4
  196. package/lib/dist-custom-elements/duet-slideout.js +5 -5
  197. package/lib/dist-custom-elements/duet-spacer.js +1 -1
  198. package/lib/dist-custom-elements/duet-spinner.js +1 -1
  199. package/lib/dist-custom-elements/duet-step.js +4 -4
  200. package/lib/dist-custom-elements/duet-stepper.js +2 -2
  201. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +2 -2
  202. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +24 -8
  203. package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
  204. package/lib/dist-custom-elements/duet-submenu-bar.js +3 -3
  205. package/lib/dist-custom-elements/duet-tab-group.js +10 -10
  206. package/lib/dist-custom-elements/duet-tab.js +2 -2
  207. package/lib/dist-custom-elements/duet-table.js +1 -1
  208. package/lib/dist-custom-elements/duet-textarea.js +8 -8
  209. package/lib/dist-custom-elements/duet-toggle.js +2 -2
  210. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
  211. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +2 -2
  212. package/lib/dist-custom-elements/duet-toolbar-link.js +2 -2
  213. package/lib/dist-custom-elements/duet-toolbar.js +1 -1
  214. package/lib/dist-custom-elements/duet-tooltip.js +1 -1
  215. package/lib/dist-custom-elements/duet-tray.js +5 -5
  216. package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
  217. package/lib/dist-custom-elements/duet-upload.js +123 -159
  218. package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
  219. package/lib/dist-custom-elements/index.js +1 -1
  220. package/lib/dist-custom-elements/{p-35d1520f.js → p-00afad07.js} +1 -1
  221. package/lib/dist-custom-elements/{p-6c05e879.js → p-076452be.js} +1 -1
  222. package/lib/dist-custom-elements/{p-aa453ca9.js → p-117109e4.js} +2 -2
  223. package/lib/dist-custom-elements/{p-0f07edcd.js → p-11fbe397.js} +1 -1
  224. package/lib/dist-custom-elements/{p-8563290f.js → p-2a919c81.js} +21 -6
  225. package/lib/dist-custom-elements/{p-db993558.js → p-414fdb0c.js} +2 -2
  226. package/lib/dist-custom-elements/{p-48ee4427.js → p-43bbb094.js} +2 -2
  227. package/lib/dist-custom-elements/{p-33e00967.js → p-505389ac.js} +1 -1
  228. package/lib/dist-custom-elements/{p-cefc1697.js → p-51307fda.js} +2 -2
  229. package/lib/dist-custom-elements/{p-23e46e22.js → p-528cdd3e.js} +6 -6
  230. package/lib/dist-custom-elements/{p-2bfc9c26.js → p-57d6495c.js} +1 -1
  231. package/lib/dist-custom-elements/{p-4af6c136.js → p-5e60f757.js} +9 -9
  232. package/lib/dist-custom-elements/{p-9ed347f9.js → p-68024252.js} +4 -2
  233. package/lib/dist-custom-elements/{p-ce3afba1.js → p-69fa1743.js} +8 -8
  234. package/lib/dist-custom-elements/{p-babace4d.js → p-6f661b09.js} +2 -2
  235. package/lib/dist-custom-elements/{p-88d347ec.js → p-72635656.js} +9 -2
  236. package/lib/dist-custom-elements/{p-3dca144f.js → p-7392a942.js} +2 -2
  237. package/lib/dist-custom-elements/{p-297a6774.js → p-7c4c8cf0.js} +1 -1
  238. package/lib/dist-custom-elements/{p-fa582233.js → p-84d75d9d.js} +4 -4
  239. package/lib/dist-custom-elements/{p-03367341.js → p-8d12a863.js} +1 -1
  240. package/lib/dist-custom-elements/{p-8348ca39.js → p-9175529e.js} +3 -3
  241. package/lib/dist-custom-elements/{p-799100e3.js → p-94df5d2c.js} +1 -1
  242. package/lib/dist-custom-elements/{p-697167af.js → p-98b0f345.js} +1 -1
  243. package/lib/dist-custom-elements/p-9f027a93.js +183 -0
  244. package/lib/dist-custom-elements/{p-2e320d47.js → p-afc65a24.js} +2 -2
  245. package/lib/dist-custom-elements/{p-fbfbd3c9.js → p-b51fbd15.js} +2 -2
  246. package/lib/dist-custom-elements/{p-2697a4f6.js → p-b7b7c63b.js} +2 -2
  247. package/lib/dist-custom-elements/{p-e95c3a28.js → p-bbf48894.js} +1 -1
  248. package/lib/dist-custom-elements/{p-7cc3a9b6.js → p-bdc087cb.js} +18 -5
  249. package/lib/dist-custom-elements/{p-35c660bf.js → p-c272c5d5.js} +6 -6
  250. package/lib/dist-custom-elements/{p-0853da89.js → p-c57eccd3.js} +23 -7
  251. package/lib/dist-custom-elements/{p-2f2a5be2.js → p-c8659d75.js} +7 -7
  252. package/lib/dist-custom-elements/{p-d409a0fc.js → p-cefb33f9.js} +1 -1
  253. package/lib/dist-custom-elements/{p-eabaa24d.js → p-f1b800f0.js} +1 -1
  254. package/lib/duet/duet.esm.js +1 -1
  255. package/lib/duet/duet.js +1 -1
  256. package/lib/duet/{p-062d4c6b.entry.js → p-00c11b87.entry.js} +1 -1
  257. package/lib/duet/{p-abde6822.entry.js → p-018b0ffe.entry.js} +1 -1
  258. package/lib/duet/p-01ca2f64.system.entry.js +4 -0
  259. package/lib/duet/{p-bf91e001.entry.js → p-02fb736a.entry.js} +1 -1
  260. package/lib/duet/{p-ad9b1943.entry.js → p-04ccc444.entry.js} +1 -1
  261. package/lib/duet/{p-398584d4.entry.js → p-05f30291.entry.js} +1 -1
  262. package/lib/duet/p-08b03779.system.entry.js +4 -0
  263. package/lib/duet/{p-55e5bf94.entry.js → p-097c4d0c.entry.js} +1 -1
  264. package/lib/duet/p-0ab4083f.entry.js +4 -0
  265. package/lib/duet/{p-808cc181.system.entry.js → p-0ca53854.system.entry.js} +1 -1
  266. package/lib/duet/{p-dc0d47f6.system.entry.js → p-0e8dab5b.system.entry.js} +1 -1
  267. package/lib/duet/{p-236447b8.entry.js → p-1254c99a.entry.js} +1 -1
  268. package/lib/duet/{p-3db073f3.system.entry.js → p-1263323e.system.entry.js} +1 -1
  269. package/lib/duet/{p-1dfc8eb0.system.entry.js → p-133d2ee1.system.entry.js} +1 -1
  270. package/lib/duet/{p-d35c775f.system.entry.js → p-14e3383d.system.entry.js} +1 -1
  271. package/lib/duet/{p-8da23c48.entry.js → p-154c0d34.entry.js} +1 -1
  272. package/lib/duet/{p-45b4586f.system.entry.js → p-1666fed9.system.entry.js} +1 -1
  273. package/lib/duet/{p-fdf5e1b6.entry.js → p-1739bdd1.entry.js} +1 -1
  274. package/lib/duet/p-187c9ec6.system.entry.js +4 -0
  275. package/lib/duet/{p-477efcbc.entry.js → p-2078d7cd.entry.js} +1 -1
  276. package/lib/duet/{p-3cdfb467.entry.js → p-22caa775.entry.js} +1 -1
  277. package/lib/duet/{p-060f8f64.entry.js → p-2695e6c6.entry.js} +1 -1
  278. package/lib/duet/{p-8c5399f3.entry.js → p-27cc2332.entry.js} +1 -1
  279. package/lib/duet/{p-96853ebb.entry.js → p-2c28eb80.entry.js} +1 -1
  280. package/lib/duet/{p-365bc70c.entry.js → p-2c6e4614.entry.js} +1 -1
  281. package/lib/duet/{p-3023d41a.system.entry.js → p-2d6e3927.system.entry.js} +1 -1
  282. package/lib/duet/{p-936a1b6b.entry.js → p-2e1e2d3d.entry.js} +1 -1
  283. package/lib/duet/{p-0226f751.system.entry.js → p-2f936baf.system.entry.js} +1 -1
  284. package/lib/duet/{p-36cb9f64.system.entry.js → p-33bf6eed.system.entry.js} +1 -1
  285. package/lib/duet/{p-7c9bdbe1.system.entry.js → p-340bef19.system.entry.js} +1 -1
  286. package/lib/duet/{p-c9ac338f.system.entry.js → p-35907d51.system.entry.js} +1 -1
  287. package/lib/duet/p-361ce072.system.entry.js +4 -0
  288. package/lib/duet/{p-61b2e583.entry.js → p-376ec229.entry.js} +1 -1
  289. package/lib/duet/{p-6aeb4931.entry.js → p-3856f3a8.entry.js} +1 -1
  290. package/lib/duet/{p-7e4af76c.system.entry.js → p-3a21d43b.system.entry.js} +1 -1
  291. package/lib/duet/{p-6a011296.entry.js → p-3a28cf58.entry.js} +1 -1
  292. package/lib/duet/p-3d3e5e9e.entry.js +4 -0
  293. package/lib/duet/{p-2e8ae6ef.system.entry.js → p-417c1eca.system.entry.js} +2 -2
  294. package/lib/duet/{p-837acc55.entry.js → p-45a939b3.entry.js} +1 -1
  295. package/lib/duet/{p-337b32f1.system.entry.js → p-46ca69cf.system.entry.js} +1 -1
  296. package/lib/duet/{p-cfc2b098.js → p-4879ffe9.js} +1 -1
  297. package/lib/duet/p-4b7f3ac1.system.js +4 -0
  298. package/lib/duet/{p-8e831193.system.entry.js → p-4bdd34bc.system.entry.js} +1 -1
  299. package/lib/duet/{p-d1ad24a0.system.entry.js → p-4c286dee.system.entry.js} +1 -1
  300. package/lib/duet/{p-c6083026.entry.js → p-50b51053.entry.js} +1 -1
  301. package/lib/duet/p-51160aa4.entry.js +4 -0
  302. package/lib/duet/{p-73627cbb.system.entry.js → p-539034b3.system.entry.js} +1 -1
  303. package/lib/duet/{p-77fbdca2.system.entry.js → p-54a44e1e.system.entry.js} +1 -1
  304. package/lib/duet/{p-d6cd2bb9.system.entry.js → p-56b4f6e5.system.entry.js} +1 -1
  305. package/lib/duet/{p-fd74020b.entry.js → p-57f981bd.entry.js} +1 -1
  306. package/lib/duet/{p-4d40f304.entry.js → p-58833aca.entry.js} +1 -1
  307. package/lib/duet/{p-0c89b6f9.system.entry.js → p-5abf961b.system.entry.js} +1 -1
  308. package/lib/duet/{p-e7ecad67.system.entry.js → p-5c2dd50b.system.entry.js} +2 -2
  309. package/lib/duet/p-5c83e833.entry.js +4 -0
  310. package/lib/duet/p-614194b1.entry.js +4 -0
  311. package/lib/duet/p-618615d1.system.entry.js +4 -0
  312. package/lib/duet/{p-ade32ce7.entry.js → p-61e84177.entry.js} +1 -1
  313. package/lib/duet/p-621e8af8.js +4 -0
  314. package/lib/duet/{p-0d95bf16.system.entry.js → p-64297b4d.system.entry.js} +1 -1
  315. package/lib/duet/{p-5822c65a.system.entry.js → p-64b14d85.system.entry.js} +1 -1
  316. package/lib/duet/p-6a1f0973.system.entry.js +4 -0
  317. package/lib/duet/{p-8169f888.entry.js → p-6a8341c1.entry.js} +1 -1
  318. package/lib/duet/p-71779b62.entry.js +4 -0
  319. package/lib/duet/{p-b97b1676.system.entry.js → p-71e63186.system.entry.js} +1 -1
  320. package/lib/duet/p-736eb6f6.system.entry.js +4 -0
  321. package/lib/duet/p-75a307e4.entry.js +4 -0
  322. package/lib/duet/{p-f98b9ae8.system.entry.js → p-76bac602.system.entry.js} +1 -1
  323. package/lib/duet/{p-313fe3f5.entry.js → p-7743d05c.entry.js} +1 -1
  324. package/lib/duet/{p-44d753ee.entry.js → p-78973e79.entry.js} +1 -1
  325. package/lib/duet/p-7c4baf1c.js +4 -0
  326. package/lib/duet/{p-00676a36.system.entry.js → p-7cbc8aa1.system.entry.js} +1 -1
  327. package/lib/duet/{p-2abe8f54.entry.js → p-7dd4e3f6.entry.js} +1 -1
  328. package/lib/duet/p-7e9e10ab.entry.js +4 -0
  329. package/lib/duet/{p-2c39a50d.system.entry.js → p-80973cda.system.entry.js} +1 -1
  330. package/lib/duet/{p-2ad517e0.system.entry.js → p-825c4e47.system.entry.js} +1 -1
  331. package/lib/duet/{p-6ed854c9.system.entry.js → p-84881c84.system.entry.js} +1 -1
  332. package/lib/duet/p-86201340.system.entry.js +4 -0
  333. package/lib/duet/{p-59673927.system.entry.js → p-8a517f70.system.entry.js} +1 -1
  334. package/lib/duet/{p-ebbbcd73.entry.js → p-8b7b4c46.entry.js} +1 -1
  335. package/lib/duet/{p-c54774ab.entry.js → p-90fece55.entry.js} +1 -1
  336. package/lib/duet/{p-f2893a52.entry.js → p-9389ce47.entry.js} +1 -1
  337. package/lib/duet/{p-200c17f6.system.entry.js → p-94f2509c.system.entry.js} +1 -1
  338. package/lib/duet/p-960503a3.entry.js +4 -0
  339. package/lib/duet/p-9616579e.entry.js +4 -0
  340. package/lib/duet/{p-8cf75c3e.entry.js → p-981b43c2.entry.js} +1 -1
  341. package/lib/duet/{p-0782a91f.system.entry.js → p-99ccb2c2.system.entry.js} +1 -1
  342. package/lib/duet/p-9cd3ea60.system.entry.js +4 -0
  343. package/lib/duet/p-9d36613e.system.entry.js +4 -0
  344. package/lib/duet/{p-b708a4c0.system.entry.js → p-9fc991c2.system.entry.js} +1 -1
  345. package/lib/duet/{p-cfbf4269.system.entry.js → p-a0bcc46c.system.entry.js} +1 -1
  346. package/lib/duet/p-a113525c.entry.js +4 -0
  347. package/lib/duet/{p-5782d12a.system.js → p-a190f8b9.system.js} +1 -1
  348. package/lib/duet/{p-c42fad8c.entry.js → p-a29118e6.entry.js} +1 -1
  349. package/lib/duet/{p-7a096435.entry.js → p-a3f23363.entry.js} +1 -1
  350. package/lib/duet/{p-43e589c8.entry.js → p-a4a9705f.entry.js} +1 -1
  351. package/lib/duet/{p-7e3541f6.system.entry.js → p-a4e42811.system.entry.js} +1 -1
  352. package/lib/duet/p-a6751ba6.entry.js +4 -0
  353. package/lib/duet/{p-ea109080.entry.js → p-a7d9728a.entry.js} +1 -1
  354. package/lib/duet/{p-749fc136.entry.js → p-abbcf5dc.entry.js} +1 -1
  355. package/lib/duet/{p-7675eb6f.system.entry.js → p-aee38b4a.system.entry.js} +1 -1
  356. package/lib/duet/{p-42ff082a.system.entry.js → p-b1abb582.system.entry.js} +1 -1
  357. package/lib/duet/{p-71917207.system.entry.js → p-b2be54b5.system.entry.js} +1 -1
  358. package/lib/duet/{p-63dc5d85.system.entry.js → p-b308ce5d.system.entry.js} +1 -1
  359. package/lib/duet/{p-881ed26f.entry.js → p-b3f12c59.entry.js} +1 -1
  360. package/lib/duet/{p-f40d72fb.entry.js → p-b656b461.entry.js} +1 -1
  361. package/lib/duet/{p-a335e0bc.entry.js → p-bb536ec4.entry.js} +1 -1
  362. package/lib/duet/{p-46fb20ed.entry.js → p-bc0ce7e7.entry.js} +1 -1
  363. package/lib/duet/{p-9bc8d785.system.entry.js → p-bf37cb60.system.entry.js} +1 -1
  364. package/lib/duet/{p-f59c99ac.system.entry.js → p-c141d219.system.entry.js} +1 -1
  365. package/lib/duet/p-c16de43f.system.entry.js +4 -0
  366. package/lib/duet/{p-2c44d7d1.system.entry.js → p-c19d32af.system.entry.js} +1 -1
  367. package/lib/duet/{p-ac5df61e.system.entry.js → p-c213c2f2.system.entry.js} +1 -1
  368. package/lib/duet/{p-df4c44a0.entry.js → p-c3c98ddf.entry.js} +1 -1
  369. package/lib/duet/{p-5c28fd80.system.entry.js → p-c70da05a.system.entry.js} +1 -1
  370. package/lib/duet/{p-c5191cdc.entry.js → p-cb5771c5.entry.js} +1 -1
  371. package/lib/duet/{p-63dfae1b.entry.js → p-cd410e2a.entry.js} +1 -1
  372. package/lib/duet/{p-2011c8e6.system.entry.js → p-cfebc130.system.entry.js} +1 -1
  373. package/lib/duet/{p-f591ed1f.entry.js → p-d22e694c.entry.js} +1 -1
  374. package/lib/duet/{p-a9448361.system.entry.js → p-d2d14d3b.system.entry.js} +1 -1
  375. package/lib/duet/p-d51ed3e2.system.entry.js +4 -0
  376. package/lib/duet/{p-ca597046.system.js → p-d8422099.system.js} +1 -1
  377. package/lib/duet/{p-53c13b55.entry.js → p-d924703a.entry.js} +1 -1
  378. package/lib/duet/{p-4ef2841d.entry.js → p-db9f9e24.entry.js} +1 -1
  379. package/lib/duet/{p-8941bf37.system.entry.js → p-dc1f60cd.system.entry.js} +1 -1
  380. package/lib/duet/p-dc566220.entry.js +4 -0
  381. package/lib/duet/{p-230830eb.system.entry.js → p-df1531b7.system.entry.js} +1 -1
  382. package/lib/duet/{p-cd98e431.system.entry.js → p-e13d0460.system.entry.js} +1 -1
  383. package/lib/duet/p-e1919861.js +4 -0
  384. package/lib/duet/{p-8bc10d1a.entry.js → p-e4626c0e.entry.js} +1 -1
  385. package/lib/duet/{p-f9141695.system.entry.js → p-e920e34f.system.entry.js} +1 -1
  386. package/lib/duet/{p-8b8eec00.system.entry.js → p-e9fb2c3b.system.entry.js} +1 -1
  387. package/lib/duet/{p-9e704252.entry.js → p-eb4393ed.entry.js} +1 -1
  388. package/lib/duet/p-eb6c4a2a.system.js +4 -0
  389. package/lib/duet/{p-556fa590.entry.js → p-ed222f86.entry.js} +1 -1
  390. package/lib/duet/p-f25db9b8.entry.js +4 -0
  391. package/lib/duet/{p-c520d4ea.system.entry.js → p-f28d27a4.system.entry.js} +1 -1
  392. package/lib/duet/p-f67ee736.system.js +4 -0
  393. package/lib/duet/{p-b32d877a.system.entry.js → p-fa0896f4.system.entry.js} +1 -1
  394. package/lib/duet/{p-62587a99.entry.js → p-faeed6cf.entry.js} +1 -1
  395. package/lib/duet/{p-406c6277.system.entry.js → p-fb352dcf.system.entry.js} +1 -1
  396. package/lib/duet/{p-a6df6c15.entry.js → p-fec9ec39.entry.js} +1 -1
  397. package/lib/esm/duet-action-button.entry.js +20 -5
  398. package/lib/esm/duet-alert.entry.js +1 -1
  399. package/lib/esm/duet-badge.entry.js +1 -1
  400. package/lib/esm/duet-breadcrumb.entry.js +1 -1
  401. package/lib/esm/duet-breadcrumbs.entry.js +1 -1
  402. package/lib/esm/duet-button_2.entry.js +3 -3
  403. package/lib/esm/duet-caption_4.entry.js +3 -3
  404. package/lib/esm/duet-card.entry.js +3 -3
  405. package/lib/esm/duet-checkbox.entry.js +1 -1
  406. package/lib/esm/duet-checkmark.entry.js +1 -1
  407. package/lib/esm/duet-choice_2.entry.js +2 -2
  408. package/lib/esm/duet-collapsible.entry.js +1 -1
  409. package/lib/esm/duet-combobox.entry.js +13 -3
  410. package/lib/esm/duet-contact-card.entry.js +1 -1
  411. package/lib/esm/duet-cookie-consent.entry.js +1 -1
  412. package/lib/esm/duet-date-picker.entry.js +2 -2
  413. package/lib/esm/duet-divider_2.entry.js +3 -3
  414. package/lib/esm/duet-editable-table_3.entry.js +113 -128
  415. package/lib/esm/duet-empty-state.entry.js +1 -1
  416. package/lib/esm/duet-fieldset.entry.js +1 -1
  417. package/lib/esm/duet-footer.entry.js +1 -1
  418. package/lib/esm/duet-grid_2.entry.js +14 -4
  419. package/lib/esm/duet-header_2.entry.js +20 -6
  420. package/lib/esm/duet-hero.entry.js +16 -4
  421. package/lib/esm/duet-icon.entry.js +3 -3
  422. package/lib/esm/duet-input_2.entry.js +1 -1
  423. package/lib/esm/duet-layout.entry.js +1 -1
  424. package/lib/esm/duet-list_2.entry.js +1 -1
  425. package/lib/esm/duet-menu-bar-button.entry.js +1 -1
  426. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +1 -1
  427. package/lib/esm/duet-menu-bar-dropdown.entry.js +1 -1
  428. package/lib/esm/duet-menu-bar-link.entry.js +1 -1
  429. package/lib/esm/duet-menu-bar.entry.js +1 -1
  430. package/lib/esm/duet-modal.entry.js +2 -2
  431. package/lib/esm/duet-multiselect.entry.js +10 -4
  432. package/lib/esm/duet-nav.entry.js +1 -1
  433. package/lib/esm/duet-notification_2.entry.js +16 -2
  434. package/lib/esm/duet-number-input.entry.js +47 -27
  435. package/lib/esm/duet-page-heading.entry.js +1 -1
  436. package/lib/esm/duet-pagination_2.entry.js +22 -7
  437. package/lib/esm/duet-progress.entry.js +1 -1
  438. package/lib/esm/duet-radio_2.entry.js +1 -1
  439. package/lib/esm/duet-range-slider.entry.js +2 -2
  440. package/lib/esm/duet-scrollable_3.entry.js +1 -1
  441. package/lib/esm/duet-section-layout.entry.js +1 -1
  442. package/lib/esm/duet-select.entry.js +3 -3
  443. package/lib/esm/duet-slideout-lang.entry.js +1 -1
  444. package/lib/esm/duet-slideout-link.entry.js +1 -1
  445. package/lib/esm/duet-slideout-panel-dropdown.entry.js +1 -1
  446. package/lib/esm/duet-slideout-panel.entry.js +4 -4
  447. package/lib/esm/duet-slideout.entry.js +5 -5
  448. package/lib/esm/duet-step_2.entry.js +1 -1
  449. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +1 -1
  450. package/lib/esm/duet-submenu-bar-dropdown.entry.js +22 -7
  451. package/lib/esm/duet-submenu-bar-link.entry.js +1 -1
  452. package/lib/esm/duet-submenu-bar.entry.js +2 -2
  453. package/lib/esm/duet-textarea.entry.js +1 -1
  454. package/lib/esm/duet-toggle.entry.js +1 -1
  455. package/lib/esm/duet-toolbar-dropdown-link.entry.js +1 -1
  456. package/lib/esm/duet-toolbar-dropdown.entry.js +1 -1
  457. package/lib/esm/duet-toolbar-link.entry.js +1 -1
  458. package/lib/esm/duet-toolbar.entry.js +1 -1
  459. package/lib/esm/duet-tooltip.entry.js +17 -2
  460. package/lib/esm/duet-tray.entry.js +2 -2
  461. package/lib/esm/duet-upload-aria-status.entry.js +1 -1
  462. package/lib/esm/duet-visually-hidden.entry.js +1 -1
  463. package/lib/esm/duet.js +3 -3
  464. package/lib/esm/{focus-utils-f1ddeb69.js → focus-utils-3483f616.js} +1 -1
  465. package/lib/esm/{index-57a87c63.js → index-fff18e02.js} +1 -1
  466. package/lib/esm/loader.js +3 -3
  467. package/lib/esm/{token-utils-b531747a.js → token-utils-6e0e2653.js} +4 -2
  468. package/lib/esm/{tokens.module-d3321092.js → tokens.module-5601adc9.js} +1 -1
  469. package/lib/esm-es5/duet-action-button.entry.js +1 -1
  470. package/lib/esm-es5/duet-alert.entry.js +1 -1
  471. package/lib/esm-es5/duet-badge.entry.js +1 -1
  472. package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
  473. package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
  474. package/lib/esm-es5/duet-button_2.entry.js +1 -1
  475. package/lib/esm-es5/duet-caption_4.entry.js +1 -1
  476. package/lib/esm-es5/duet-card.entry.js +1 -1
  477. package/lib/esm-es5/duet-checkbox.entry.js +1 -1
  478. package/lib/esm-es5/duet-checkmark.entry.js +1 -1
  479. package/lib/esm-es5/duet-choice_2.entry.js +1 -1
  480. package/lib/esm-es5/duet-collapsible.entry.js +1 -1
  481. package/lib/esm-es5/duet-combobox.entry.js +2 -2
  482. package/lib/esm-es5/duet-contact-card.entry.js +1 -1
  483. package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
  484. package/lib/esm-es5/duet-date-picker.entry.js +1 -1
  485. package/lib/esm-es5/duet-divider_2.entry.js +1 -1
  486. package/lib/esm-es5/duet-editable-table_3.entry.js +1 -1
  487. package/lib/esm-es5/duet-empty-state.entry.js +1 -1
  488. package/lib/esm-es5/duet-fieldset.entry.js +1 -1
  489. package/lib/esm-es5/duet-footer.entry.js +1 -1
  490. package/lib/esm-es5/duet-grid_2.entry.js +2 -2
  491. package/lib/esm-es5/duet-header_2.entry.js +1 -1
  492. package/lib/esm-es5/duet-hero.entry.js +2 -2
  493. package/lib/esm-es5/duet-icon.entry.js +1 -1
  494. package/lib/esm-es5/duet-input_2.entry.js +1 -1
  495. package/lib/esm-es5/duet-layout.entry.js +1 -1
  496. package/lib/esm-es5/duet-list_2.entry.js +1 -1
  497. package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
  498. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
  499. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
  500. package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
  501. package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
  502. package/lib/esm-es5/duet-modal.entry.js +1 -1
  503. package/lib/esm-es5/duet-multiselect.entry.js +2 -2
  504. package/lib/esm-es5/duet-nav.entry.js +1 -1
  505. package/lib/esm-es5/duet-notification_2.entry.js +2 -2
  506. package/lib/esm-es5/duet-number-input.entry.js +1 -1
  507. package/lib/esm-es5/duet-page-heading.entry.js +1 -1
  508. package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
  509. package/lib/esm-es5/duet-progress.entry.js +1 -1
  510. package/lib/esm-es5/duet-radio_2.entry.js +1 -1
  511. package/lib/esm-es5/duet-range-slider.entry.js +1 -1
  512. package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
  513. package/lib/esm-es5/duet-section-layout.entry.js +1 -1
  514. package/lib/esm-es5/duet-select.entry.js +1 -1
  515. package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
  516. package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
  517. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
  518. package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
  519. package/lib/esm-es5/duet-slideout.entry.js +1 -1
  520. package/lib/esm-es5/duet-step_2.entry.js +1 -1
  521. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
  522. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
  523. package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
  524. package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
  525. package/lib/esm-es5/duet-textarea.entry.js +1 -1
  526. package/lib/esm-es5/duet-toggle.entry.js +2 -2
  527. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
  528. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
  529. package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
  530. package/lib/esm-es5/duet-toolbar.entry.js +1 -1
  531. package/lib/esm-es5/duet-tooltip.entry.js +1 -1
  532. package/lib/esm-es5/duet-tray.entry.js +1 -1
  533. package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
  534. package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
  535. package/lib/esm-es5/duet.js +1 -1
  536. package/lib/esm-es5/focus-utils-3483f616.js +4 -0
  537. package/lib/esm-es5/{index-57a87c63.js → index-fff18e02.js} +1 -1
  538. package/lib/esm-es5/loader.js +1 -1
  539. package/lib/esm-es5/{token-utils-b531747a.js → token-utils-6e0e2653.js} +1 -1
  540. package/lib/esm-es5/{tokens.module-d3321092.js → tokens.module-5601adc9.js} +1 -1
  541. package/lib/types/common-types.d.ts +3 -0
  542. package/lib/types/components/duet-action-button/duet-action-button.d.ts +8 -1
  543. package/lib/types/components/duet-combobox/duet-combobox.d.ts +3 -1
  544. package/lib/types/components/duet-editable-table/duet-editable-table.d.ts +4 -1
  545. package/lib/types/components/duet-grid/duet-grid.d.ts +5 -0
  546. package/lib/types/components/duet-grid-item/duet-grid-item.d.ts +7 -1
  547. package/lib/types/components/duet-header/duet-header.d.ts +1 -0
  548. package/lib/types/components/duet-hero/duet-hero.d.ts +3 -0
  549. package/lib/types/components/duet-multiselect/duet-multiselect.d.ts +4 -1
  550. package/lib/types/components/duet-notification/duet-notification.d.ts +3 -0
  551. package/lib/types/components/duet-number-input/duet-number-input.d.ts +1 -0
  552. package/lib/types/components/duet-pagination/duet-pagination.d.ts +5 -1
  553. package/lib/types/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.d.ts +2 -1
  554. package/lib/types/components/duet-table/duet-table.d.ts +6 -1
  555. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +3 -0
  556. package/lib/types/components/duet-upload/duet-upload.d.ts +21 -4
  557. package/lib/types/components/duet-upload/upload-item-header.d.ts +8 -0
  558. package/lib/types/components/duet-upload/upload-item.d.ts +10 -1
  559. package/lib/types/components.d.ts +35 -0
  560. package/lib/types/utils/token-utils.d.ts +2 -0
  561. package/package.json +5 -5
  562. package/lib/dist-custom-elements/p-00635432.js +0 -243
  563. package/lib/dist-custom-elements/p-4b9ef5dc.js +0 -178
  564. package/lib/duet/p-01006278.js +0 -4
  565. package/lib/duet/p-17063917.system.js +0 -4
  566. package/lib/duet/p-255ede66.entry.js +0 -4
  567. package/lib/duet/p-29851757.system.entry.js +0 -4
  568. package/lib/duet/p-2fc1306e.entry.js +0 -4
  569. package/lib/duet/p-352ef7d4.entry.js +0 -4
  570. package/lib/duet/p-3693927d.system.entry.js +0 -4
  571. package/lib/duet/p-429ae180.system.entry.js +0 -4
  572. package/lib/duet/p-43c99bf1.entry.js +0 -4
  573. package/lib/duet/p-508d3dcb.system.entry.js +0 -4
  574. package/lib/duet/p-54dca5e8.system.entry.js +0 -4
  575. package/lib/duet/p-5d46f619.system.js +0 -4
  576. package/lib/duet/p-633dced0.entry.js +0 -4
  577. package/lib/duet/p-65b8dc2a.entry.js +0 -4
  578. package/lib/duet/p-69671377.system.js +0 -4
  579. package/lib/duet/p-728bfa77.entry.js +0 -4
  580. package/lib/duet/p-75effec6.system.entry.js +0 -4
  581. package/lib/duet/p-79a9746e.js +0 -4
  582. package/lib/duet/p-7cf7fde9.entry.js +0 -4
  583. package/lib/duet/p-86270afd.entry.js +0 -4
  584. package/lib/duet/p-9052b6f5.js +0 -4
  585. package/lib/duet/p-96ee76aa.entry.js +0 -4
  586. package/lib/duet/p-99967a86.entry.js +0 -4
  587. package/lib/duet/p-9d7a6b9d.system.entry.js +0 -4
  588. package/lib/duet/p-ac8174e5.system.entry.js +0 -4
  589. package/lib/duet/p-ac90e4ba.entry.js +0 -4
  590. package/lib/duet/p-db511eee.system.entry.js +0 -4
  591. package/lib/duet/p-e827c36c.system.entry.js +0 -4
  592. package/lib/duet/p-e9dae4ed.system.entry.js +0 -4
  593. package/lib/duet/p-ec6683f4.system.entry.js +0 -4
  594. package/lib/duet/p-f5103ded.entry.js +0 -4
  595. package/lib/duet/p-fe31c401.entry.js +0 -4
  596. package/lib/esm-es5/focus-utils-f1ddeb69.js +0 -4
@@ -5,7 +5,7 @@ import { h, Host } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
6
  import { createID } from "../../utils/create-id";
7
7
  import { isArrowDownKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isEnterKey, isEscapeKey, isTabKey, } from "../../utils/keyboard-utils";
8
- import { getLocaleString } from "../../utils/language-utils";
8
+ import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, } from "../../utils/language-utils";
9
9
  import { parsePossibleJSON } from "../../utils/string-utils";
10
10
  function toggleInArray(arr, item) {
11
11
  return arr.includes(item) ? arr.filter(i => i !== item) : [...arr, item];
@@ -97,6 +97,7 @@ export class DuetMultiselect {
97
97
  this.processedItems = [];
98
98
  this.checkboxesVisible = false;
99
99
  this.activeDescendant = "";
100
+ this.language = getLanguage();
100
101
  this.margin = "auto";
101
102
  this.error = "";
102
103
  this.expand = false;
@@ -126,6 +127,12 @@ export class DuetMultiselect {
126
127
  this.isCaptionVisible = !!this.caption;
127
128
  this.refresh();
128
129
  }
130
+ connectedCallback() {
131
+ connectLanguageChangeObserver(this);
132
+ }
133
+ disconnectedCallback() {
134
+ disconnectLanguageChangeObserver(this);
135
+ }
129
136
  /**
130
137
  * Sets focus on the specified `duet-multiselect`. Use this method instead of the global
131
138
  * `multiselect.focus()`.
@@ -146,7 +153,6 @@ export class DuetMultiselect {
146
153
  * Always the last one in the class.
147
154
  */
148
155
  render() {
149
- const selectedTranslation = getLocaleString(this.selectedLangObject);
150
156
  return (h(Host, { class: {
151
157
  "duet-m-0": this.margin === "none",
152
158
  "duet-expand": this.expand,
@@ -156,7 +162,7 @@ export class DuetMultiselect {
156
162
  "duet-theme-turva": this.theme === "turva",
157
163
  "duet-input-top-caption-shown": this.isCaptionVisible,
158
164
  "has-error": !!this.error,
159
- }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": `${this.labelId} ${this.errorId}`, "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes` }, this.placeholder), this.value && this.value.length > 0 && (h("duet-badge", { class: "duet-multiselect-badge", margin: "none", theme: this.theme }, this.value.length, " ", selectedTranslation, h("duet-visually-hidden", null, ", ", this.value.map(item => item.label).join(", ")))), h("svg", { role: "img", class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
165
+ }, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, h("duet-label", { theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (h("duet-tooltip", { class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), this.caption && (h("duet-caption", { id: this.topCaptionId, size: "medium" }, this.caption)), h("div", { class: "duet-multiselect-wrapper" }, h("button", { id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": `${this.labelId} ${this.errorId}`, "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, h("span", { role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes` }, this.placeholder), this.value && this.value.length > 0 && (h("duet-badge", { class: "duet-multiselect-badge", margin: "none", theme: this.theme }, this.value.length, " ", this.selectedLangObject[this.language], h("duet-visually-hidden", null, ", ", this.value.map(item => item.label).join(", ")))), h("svg", { role: "img", class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), h("div", { id: `${this.identifier}-checkboxes`, role: "listbox", class: {
160
166
  "duet-multiselect-checkboxes": true,
161
167
  "duet-multiselect-checkboxes-active": this.checkboxesVisible,
162
168
  }, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, this.processedItems &&
@@ -247,7 +253,7 @@ export class DuetMultiselect {
247
253
  "references": {
248
254
  "DuetMultiselectItem": {
249
255
  "location": "local",
250
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
256
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
251
257
  }
252
258
  }
253
259
  },
@@ -362,7 +368,7 @@ export class DuetMultiselect {
362
368
  "references": {
363
369
  "DuetMultiselectItem": {
364
370
  "location": "local",
365
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
371
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
366
372
  }
367
373
  }
368
374
  },
@@ -458,7 +464,8 @@ export class DuetMultiselect {
458
464
  return {
459
465
  "processedItems": {},
460
466
  "checkboxesVisible": {},
461
- "activeDescendant": {}
467
+ "activeDescendant": {},
468
+ "language": {}
462
469
  };
463
470
  }
464
471
  static get events() {
@@ -478,7 +485,7 @@ export class DuetMultiselect {
478
485
  "references": {
479
486
  "DuetMultiselectEvent": {
480
487
  "location": "local",
481
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
488
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
482
489
  }
483
490
  }
484
491
  }
@@ -498,7 +505,7 @@ export class DuetMultiselect {
498
505
  "references": {
499
506
  "DuetMultiselectEvent": {
500
507
  "location": "local",
501
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
508
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
502
509
  }
503
510
  }
504
511
  }
@@ -518,7 +525,7 @@ export class DuetMultiselect {
518
525
  "references": {
519
526
  "DuetMultiselectEvent": {
520
527
  "location": "local",
521
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
528
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-multiselect/duet-multiselect.tsx"
522
529
  }
523
530
  }
524
531
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { h } from "@stencil/core";
5
5
  import { inheritGlobalTheme } from "../../common/themeable-component";
6
- import { getLanguage, getLocaleString } from "../../utils/language-utils";
6
+ import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
7
7
  export class DuetNotification {
8
8
  constructor() {
9
9
  this.language = getLanguage();
@@ -19,12 +19,23 @@ export class DuetNotification {
19
19
  this.external = false;
20
20
  this.theme = "";
21
21
  }
22
+ watchLanguageStateHandler(newValue, oldValue) {
23
+ if (newValue !== oldValue && this.accessibleLabelUnread === this.accessibleLabelUnreadDefaults[oldValue]) {
24
+ this.accessibleLabelUnread = getLocaleString(this.accessibleLabelUnreadDefaults, newValue);
25
+ }
26
+ }
22
27
  /**
23
28
  * Component lifecycle events.
24
29
  */
25
30
  componentWillLoad() {
26
31
  inheritGlobalTheme(this);
27
32
  }
33
+ connectedCallback() {
34
+ connectLanguageChangeObserver(this);
35
+ }
36
+ disconnectedCallback() {
37
+ disconnectLanguageChangeObserver(this);
38
+ }
28
39
  /**
29
40
  * Move focus to the notification's link element.
30
41
  * Use this method instead of the native `focus()` method.
@@ -56,7 +67,7 @@ export class DuetNotification {
56
67
  return {
57
68
  "language": {
58
69
  "type": "string",
59
- "mutable": false,
70
+ "mutable": true,
60
71
  "complexType": {
61
72
  "original": "DuetLanguage",
62
73
  "resolved": "\"en\" | \"fi\" | \"sv\"",
@@ -80,7 +91,7 @@ export class DuetNotification {
80
91
  "text": "The currently active language.\nUsed for announcing unread notifications to screen readers."
81
92
  },
82
93
  "attribute": "language",
83
- "reflect": false,
94
+ "reflect": true,
84
95
  "defaultValue": "getLanguage()"
85
96
  },
86
97
  "accessibleLabelUnreadDefaults": {
@@ -106,7 +117,7 @@ export class DuetNotification {
106
117
  },
107
118
  "accessibleLabelUnread": {
108
119
  "type": "string",
109
- "mutable": false,
120
+ "mutable": true,
110
121
  "complexType": {
111
122
  "original": "string",
112
123
  "resolved": "string",
@@ -123,7 +134,7 @@ export class DuetNotification {
123
134
  },
124
135
  "attribute": "accessible-label-unread",
125
136
  "reflect": false,
126
- "defaultValue": "getLocaleString(this.accessibleLabelUnreadDefaults, this.language)"
137
+ "defaultValue": "getLocaleString(\n this.accessibleLabelUnreadDefaults,\n this.language\n )"
127
138
  },
128
139
  "url": {
129
140
  "type": "string",
@@ -255,4 +266,10 @@ export class DuetNotification {
255
266
  };
256
267
  }
257
268
  static get elementRef() { return "element"; }
269
+ static get watchers() {
270
+ return [{
271
+ "propName": "language",
272
+ "methodName": "watchLanguageStateHandler"
273
+ }];
274
+ }
258
275
  }
@@ -278,7 +278,7 @@ export class DuetNotificationDrawer {
278
278
  "references": {
279
279
  "DuetNotificationDrawerDirection": {
280
280
  "location": "local",
281
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-notification-drawer/duet-notification-drawer.tsx"
281
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-notification-drawer/duet-notification-drawer.tsx"
282
282
  }
283
283
  }
284
284
  },
@@ -33,19 +33,29 @@ export class DuetNumberInput {
33
33
  this.handleChange = (ev) => {
34
34
  const input = ev.target;
35
35
  if (input && input.value) {
36
- let value = SafeParseFloat(input.value, this.locale);
37
- // Make sure that everything works if the user clears the input and
38
- // starts typing non-numeric characters.
39
- if (isNaN(value) || value == null) {
40
- value = this.min || 0;
36
+ try {
37
+ let value = SafeParseFloat(input.value, this.locale);
38
+ // Make sure that everything works if the user clears the input and
39
+ // starts typing non-numeric characters.
40
+ if (isNaN(value) || value == null) {
41
+ value = this.min || 0;
42
+ }
43
+ this.setValue(value);
44
+ this.duetInput.emit({
45
+ component: "duet-number-input",
46
+ originalEvent: ev,
47
+ value: SafeParseFloat(this.value, this.locale).toString(),
48
+ valueAsNumber: value,
49
+ });
50
+ }
51
+ catch (e) {
52
+ this.duetInput.emit({
53
+ component: "duet-number-input",
54
+ originalEvent: ev,
55
+ value: null,
56
+ valueAsNumber: null,
57
+ });
41
58
  }
42
- this.setValue(value);
43
- this.duetInput.emit({
44
- component: "duet-number-input",
45
- originalEvent: ev,
46
- value: SafeParseFloat(this.value, this.locale).toString(),
47
- valueAsNumber: value,
48
- });
49
59
  }
50
60
  else {
51
61
  this.duetInput.emit({
@@ -64,23 +74,25 @@ export class DuetNumberInput {
64
74
  if (input.value) {
65
75
  // On blur we want to make sure that the user input is between the min and max values,
66
76
  // and also round it up or down to the nearest step.
67
- let value = SafeParseFloat(input.value, this.locale);
68
- if (this.rounding) {
69
- value = roundTo(value, this.step);
77
+ try {
78
+ let value = SafeParseFloat(input.value, this.locale);
79
+ if (this.rounding) {
80
+ value = roundTo(value, this.step);
81
+ }
82
+ value = clamp(value, this.min, this.max);
83
+ if (value !== SafeParseFloat(this.value, this.locale) ||
84
+ value !== SafeParseFloat(this.focusedValue, this.locale)) {
85
+ this.setValue(value);
86
+ this.emitChange(ev);
87
+ }
70
88
  }
71
- value = clamp(value, this.min, this.max);
72
- if (value !== SafeParseFloat(this.value, this.locale) ||
73
- value !== SafeParseFloat(this.focusedValue, this.locale)) {
74
- this.setValue(value);
75
- this.emitChange(ev);
89
+ catch (e) {
90
+ this.emitNull(ev);
76
91
  }
77
92
  }
78
- this.duetChange.emit({
79
- originalEvent: ev,
80
- value: null,
81
- valueAsNumber: null,
82
- component: "duet-number-input",
83
- });
93
+ else {
94
+ this.emitNull(ev);
95
+ }
84
96
  };
85
97
  /**
86
98
  * Local methods.
@@ -94,6 +106,14 @@ export class DuetNumberInput {
94
106
  component: "duet-number-input",
95
107
  });
96
108
  };
109
+ this.emitNull = (ev) => {
110
+ this.duetChange.emit({
111
+ originalEvent: ev,
112
+ value: null,
113
+ valueAsNumber: null,
114
+ component: "duet-number-input",
115
+ });
116
+ };
97
117
  this.localizeValue = (value) => {
98
118
  // Returns a localized string that can be used as input value.
99
119
  return value.toLocaleString(this.locale);
@@ -976,7 +996,7 @@ export class DuetNumberInput {
976
996
  "references": {
977
997
  "DuetNumberInputEvent": {
978
998
  "location": "local",
979
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx"
999
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx"
980
1000
  }
981
1001
  }
982
1002
  }
@@ -996,7 +1016,7 @@ export class DuetNumberInput {
996
1016
  "references": {
997
1017
  "DuetNumberInputEvent": {
998
1018
  "location": "local",
999
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx"
1019
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx"
1000
1020
  }
1001
1021
  }
1002
1022
  }
@@ -1016,7 +1036,7 @@ export class DuetNumberInput {
1016
1036
  "references": {
1017
1037
  "DuetNumberInputEvent": {
1018
1038
  "location": "local",
1019
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx"
1039
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx"
1020
1040
  }
1021
1041
  }
1022
1042
  }
@@ -1036,7 +1056,7 @@ export class DuetNumberInput {
1036
1056
  "references": {
1037
1057
  "DuetNumberInputEvent": {
1038
1058
  "location": "local",
1039
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-number-input/duet-number-input.tsx"
1059
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-number-input/duet-number-input.tsx"
1040
1060
  }
1041
1061
  }
1042
1062
  }
@@ -6,7 +6,7 @@ import { inheritGlobalTheme } from "../../common";
6
6
  import { createID } from "../../utils/create-id";
7
7
  import { debounce } from "../../utils/js-utils";
8
8
  import { isArrowDownKey, isArrowKey, isArrowLeftKey, isArrowRightKey, isArrowUpKey, isNumber, } from "../../utils/keyboard-utils";
9
- import { getLocaleString } from "../../utils/language-utils";
9
+ import { connectLanguageChangeObserver, disconnectLanguageChangeObserver, getLanguage, getLocaleString, } from "../../utils/language-utils";
10
10
  import { shouldDisplayNavigation } from "./duet-pagination-utils";
11
11
  /**
12
12
  * @part navigation-arrow - this part enables style overrides for the navigation-arrow
@@ -65,6 +65,7 @@ export class DuetPagination {
65
65
  this.numbersStore = "";
66
66
  this.totalPages = 10;
67
67
  this.internalSectionIndex = 0;
68
+ this.language = getLanguage();
68
69
  this.theme = "";
69
70
  this.jumpString = "...";
70
71
  this.variation = "default";
@@ -80,7 +81,7 @@ export class DuetPagination {
80
81
  last_page: "Last page",
81
82
  jump_to: "Jump to page",
82
83
  go_to: "Go to page",
83
- description: "You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page",
84
+ description: "You may use arrow keys to select page number",
84
85
  pagination_label: "Pagination, choose a number to jump to a page",
85
86
  prev_section: "Show previous {0} page numbers, screen reader user should use arrowkeys to navigate",
86
87
  next_section: "Show next {0} page numbers, screen reader user should use arrowkeys to navigate",
@@ -92,7 +93,7 @@ export class DuetPagination {
92
93
  last_page: "Viimeinen sivu",
93
94
  jump_to: "Siirry sivulle",
94
95
  go_to: "Siirry sivulle",
95
- description: "Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos tämä elementti on aktiivinen, siirtymään sivulle",
96
+ description: "Voit käyttää nuolinäppäimiä sivunumeron valitsemiseen",
96
97
  pagination_label: "Sivutus, valitse sivunumero siirtyäksesi sivulle",
97
98
  prev_section: "Näytä edelliset {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",
98
99
  next_section: "Näytä seuraavat {0} sivunumerot, käyttäjän pitää käyttää nuolinäppäimiä navigoidaksesi",
@@ -104,7 +105,7 @@ export class DuetPagination {
104
105
  last_page: "Sista sidan",
105
106
  jump_to: "Hoppa till sida",
106
107
  go_to: "Hoppa till sida",
107
- description: "Du kan använda piltangenterna för att välja sida, eller skriva in sida när elementet är i fokus för att hoppa till en sida",
108
+ description: "Du kan använda piltangenterna för att välja sida",
108
109
  pagination_label: "Sidutning, välj en siffra för att hoppa till en sida",
109
110
  prev_section: "Visa föregående {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",
110
111
  next_section: "Visa nästa {0} sidnummer, skrivbordsläsare ska använda piltangenterna för att navigera",
@@ -117,6 +118,11 @@ export class DuetPagination {
117
118
  this.ariaControls = "";
118
119
  this.current = 1;
119
120
  }
121
+ watchLanguageStateHandler(newValue, oldValue) {
122
+ if (newValue !== oldValue && this.accessibleLabels === this.accessibleLabelsDefaults[oldValue]) {
123
+ this.accessibleLabels = getLocaleString(this.accessibleLabelsDefaults, newValue);
124
+ }
125
+ }
120
126
  watchPropTotalHandler( /*newValue: boolean, oldValue: boolean*/) {
121
127
  this.calculatePageTake();
122
128
  return true;
@@ -141,6 +147,12 @@ export class DuetPagination {
141
147
  componentDidRender() {
142
148
  this.setFocus();
143
149
  }
150
+ connectedCallback() {
151
+ connectLanguageChangeObserver(this);
152
+ }
153
+ disconnectedCallback() {
154
+ disconnectLanguageChangeObserver(this);
155
+ }
144
156
  //get totalpages from visible and total
145
157
  calculatePageTake() {
146
158
  this.totalPages = Math.ceil(this.total / this.take);
@@ -169,6 +181,8 @@ export class DuetPagination {
169
181
  }
170
182
  }
171
183
  //handle the jump feature, where numbers can be entered
184
+ // this isn't supported in NVDA where the number buttons are used by NVDA itself
185
+ // and because of that the feature is not announced for screenreaders
172
186
  if (isNumber(e) && this.shouldDisplayNavigation()) {
173
187
  this.numbersStore = this.numbersStore + e.key;
174
188
  if (Number(this.numbersStore) > this.totalPages) {
@@ -258,8 +272,8 @@ export class DuetPagination {
258
272
  }, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, h("li", { class: {
259
273
  "duet-pagination-page-button": true,
260
274
  "duet-pagination-button-first": true,
261
- }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.internalSectionIndex === 0 && this.current <= 1, "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme }, h("div", { class: "duet-pagination-page-number" }, "1"))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))))), this.renderPageNumbers(), this.internalSectionIndex * (this.visibleItems + 2) < this.totalPages &&
262
- this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme }, h("div", { class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { class: {
275
+ }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.internalSectionIndex === 0 && this.current <= 1, "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme }, h("div", { class: "duet-pagination-page-number" }, "1"))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))))), this.renderPageNumbers(), this.internalSectionIndex * (this.visibleItems + 2) < this.totalPages && this.shouldDisplayNavigation() && // eslint-disable-line
276
+ (h(Fragment, null, h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, h("div", { class: "duet-pagination-page-number", "aria-hidden": "true" }, "..."))), h("li", { class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, h("duet-button", { class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme }, h("div", { class: "duet-pagination-page-number" }, this.totalPages))))), h("li", { class: {
263
277
  "duet-pagination-page-button": true,
264
278
  "duet-pagination-button-last": true,
265
279
  }, role: "menuitem", part: "navigation-arrow" }, h("duet-action-button", { disabled: this.current === this.totalPages &&
@@ -329,7 +343,7 @@ export class DuetPagination {
329
343
  "references": {
330
344
  "DuetPaginationVariation": {
331
345
  "location": "local",
332
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-pagination/duet-pagination.tsx"
346
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-pagination/duet-pagination.tsx"
333
347
  }
334
348
  }
335
349
  },
@@ -434,11 +448,11 @@ export class DuetPagination {
434
448
  "tags": [],
435
449
  "text": "Default pagination labels"
436
450
  },
437
- "defaultValue": "{\n en: {\n next_page: \"Next page\",\n previous_page: \"Previous page\",\n first_page: \"First page\",\n last_page: \"Last page\",\n jump_to: \"Jump to page\",\n go_to: \"Go to page\",\n description:\n \"You may use arrow keys to select page number, or enter a page number when this element is in focus to jump to a page\",\n pagination_label: \"Pagination, choose a number to jump to a page\",\n prev_section: \"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate\",\n next_section: \"Show next {0} page numbers, screen reader user should use arrowkeys to navigate\",\n },\n fi: {\n next_page: \"Seuraava sivu\",\n previous_page: \"Edellinen sivu\",\n first_page: \"Ensimm\u00E4inen sivu\",\n last_page: \"Viimeinen sivu\",\n jump_to: \"Siirry sivulle\",\n go_to: \"Siirry sivulle\",\n description:\n \"Voit k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 sivunumeron valitsemiseen, tai kirjoittaa sivunumeron, jos t\u00E4m\u00E4 elementti on aktiivinen, siirtym\u00E4\u00E4n sivulle\",\n pagination_label: \"Sivutus, valitse sivunumero siirty\u00E4ksesi sivulle\",\n prev_section: \"N\u00E4yt\u00E4 edelliset {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n next_section: \"N\u00E4yt\u00E4 seuraavat {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n },\n sv: {\n next_page: \"N\u00E4sta sida\",\n previous_page: \"F\u00F6reg\u00E5ende sida\",\n first_page: \"F\u00F6rsta sidan\",\n last_page: \"Sista sidan\",\n jump_to: \"Hoppa till sida\",\n go_to: \"Hoppa till sida\",\n description:\n \"Du kan anv\u00E4nda piltangenterna f\u00F6r att v\u00E4lja sida, eller skriva in sida n\u00E4r elementet \u00E4r i fokus f\u00F6r att hoppa till en sida\",\n pagination_label: \"Sidutning, v\u00E4lj en siffra f\u00F6r att hoppa till en sida\",\n prev_section: \"Visa f\u00F6reg\u00E5ende {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n next_section: \"Visa n\u00E4sta {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n },\n }"
451
+ "defaultValue": "{\n en: {\n next_page: \"Next page\",\n previous_page: \"Previous page\",\n first_page: \"First page\",\n last_page: \"Last page\",\n jump_to: \"Jump to page\",\n go_to: \"Go to page\",\n description: \"You may use arrow keys to select page number\",\n pagination_label: \"Pagination, choose a number to jump to a page\",\n prev_section: \"Show previous {0} page numbers, screen reader user should use arrowkeys to navigate\",\n next_section: \"Show next {0} page numbers, screen reader user should use arrowkeys to navigate\",\n },\n fi: {\n next_page: \"Seuraava sivu\",\n previous_page: \"Edellinen sivu\",\n first_page: \"Ensimm\u00E4inen sivu\",\n last_page: \"Viimeinen sivu\",\n jump_to: \"Siirry sivulle\",\n go_to: \"Siirry sivulle\",\n description: \"Voit k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 sivunumeron valitsemiseen\",\n pagination_label: \"Sivutus, valitse sivunumero siirty\u00E4ksesi sivulle\",\n prev_section: \"N\u00E4yt\u00E4 edelliset {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n next_section: \"N\u00E4yt\u00E4 seuraavat {0} sivunumerot, k\u00E4ytt\u00E4j\u00E4n pit\u00E4\u00E4 k\u00E4ytt\u00E4\u00E4 nuolin\u00E4pp\u00E4imi\u00E4 navigoidaksesi\",\n },\n sv: {\n next_page: \"N\u00E4sta sida\",\n previous_page: \"F\u00F6reg\u00E5ende sida\",\n first_page: \"F\u00F6rsta sidan\",\n last_page: \"Sista sidan\",\n jump_to: \"Hoppa till sida\",\n go_to: \"Hoppa till sida\",\n description: \"Du kan anv\u00E4nda piltangenterna f\u00F6r att v\u00E4lja sida\",\n pagination_label: \"Sidutning, v\u00E4lj en siffra f\u00F6r att hoppa till en sida\",\n prev_section: \"Visa f\u00F6reg\u00E5ende {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n next_section: \"Visa n\u00E4sta {0} sidnummer, skrivbordsl\u00E4sare ska anv\u00E4nda piltangenterna f\u00F6r att navigera\",\n },\n }"
438
452
  },
439
453
  "accessibleLabels": {
440
454
  "type": "unknown",
441
- "mutable": false,
455
+ "mutable": true,
442
456
  "complexType": {
443
457
  "original": "Record<string, string>",
444
458
  "resolved": "{ [x: string]: string; }",
@@ -552,7 +566,8 @@ export class DuetPagination {
552
566
  return {
553
567
  "numbersStore": {},
554
568
  "totalPages": {},
555
- "internalSectionIndex": {}
569
+ "internalSectionIndex": {},
570
+ "language": {}
556
571
  };
557
572
  }
558
573
  static get events() {
@@ -572,7 +587,7 @@ export class DuetPagination {
572
587
  "references": {
573
588
  "DuetPaginationPageEvent": {
574
589
  "location": "local",
575
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-pagination/duet-pagination.tsx"
590
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-pagination/duet-pagination.tsx"
576
591
  }
577
592
  }
578
593
  }
@@ -581,6 +596,9 @@ export class DuetPagination {
581
596
  static get elementRef() { return "element"; }
582
597
  static get watchers() {
583
598
  return [{
599
+ "propName": "language",
600
+ "methodName": "watchLanguageStateHandler"
601
+ }, {
584
602
  "propName": "total",
585
603
  "methodName": "watchPropTotalHandler"
586
604
  }, {
@@ -107,7 +107,7 @@ export class DuetParagraph {
107
107
  "references": {
108
108
  "DuetParagraphSize": {
109
109
  "location": "local",
110
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
110
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
111
111
  }
112
112
  }
113
113
  },
@@ -130,7 +130,7 @@ export class DuetParagraph {
130
130
  "references": {
131
131
  "DuetParagraphWeight": {
132
132
  "location": "local",
133
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
133
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
134
134
  }
135
135
  }
136
136
  },
@@ -153,7 +153,7 @@ export class DuetParagraph {
153
153
  "references": {
154
154
  "DuetParagraphVariation": {
155
155
  "location": "local",
156
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
156
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-paragraph/duet-paragraph.tsx"
157
157
  }
158
158
  }
159
159
  },
@@ -534,7 +534,7 @@ export class DuetRadio {
534
534
  "references": {
535
535
  "DuetRadioEvent": {
536
536
  "location": "local",
537
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-radio/duet-radio.tsx"
537
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-radio/duet-radio.tsx"
538
538
  }
539
539
  }
540
540
  }
@@ -554,7 +554,7 @@ export class DuetRadio {
554
554
  "references": {
555
555
  "DuetRadioEvent": {
556
556
  "location": "local",
557
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-radio/duet-radio.tsx"
557
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-radio/duet-radio.tsx"
558
558
  }
559
559
  }
560
560
  }
@@ -574,7 +574,7 @@ export class DuetRadio {
574
574
  "references": {
575
575
  "DuetRadioEvent": {
576
576
  "location": "local",
577
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-radio/duet-radio.tsx"
577
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-radio/duet-radio.tsx"
578
578
  }
579
579
  }
580
580
  }
@@ -512,7 +512,7 @@ export class DuetRangeSlider {
512
512
  "references": {
513
513
  "DuetRangeChangeEvent": {
514
514
  "location": "local",
515
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-range-slider/duet-range-slider.tsx"
515
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-range-slider/duet-range-slider.tsx"
516
516
  }
517
517
  }
518
518
  }
@@ -532,7 +532,7 @@ export class DuetRangeSlider {
532
532
  "references": {
533
533
  "DuetRangeChangeEvent": {
534
534
  "location": "local",
535
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-range-slider/duet-range-slider.tsx"
535
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-range-slider/duet-range-slider.tsx"
536
536
  }
537
537
  }
538
538
  }
@@ -357,7 +357,7 @@ export class DuetRangeStepper {
357
357
  "references": {
358
358
  "DuetRangeStepperUpdateEvent": {
359
359
  "location": "local",
360
- "path": "/Users/laaksju3/duetds/packages/components/src/components/duet-range-stepper/duet-range-stepper.tsx"
360
+ "path": "/Users/mgibas/workspace/duet/packages/components/src/components/duet-range-stepper/duet-range-stepper.tsx"
361
361
  }
362
362
  }
363
363
  }
@@ -1,4 +1,3 @@
1
- @charset "UTF-8";
2
1
  *,
3
2
  *::after,
4
3
  *::before {
@@ -103,9 +102,6 @@ duet-tooltip {
103
102
  width: 81px;
104
103
  padding: 0 !important;
105
104
  }
106
- .duet-select-wrapper::after {
107
- content: "  ";
108
- }
109
105
  .duet-select-wrapper select {
110
106
  position: absolute;
111
107
  top: 0;