@duetds/components 10.0.0-alpha.3 → 10.0.0-alpha.31

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 (1233) hide show
  1. package/hydrate/index.d.ts +38 -7
  2. package/hydrate/index.js +11811 -4285
  3. package/hydrate/index.mjs +46055 -0
  4. package/lib/cjs/_commonjsHelpers-4N64IRaP.js +10 -0
  5. package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-DDfmTUFZ.js} +1 -1
  6. package/lib/cjs/action-arrow-down-small-CDsSJFvZ.js +21 -0
  7. package/lib/cjs/action-new-window-small-BWlVx6YN.js +21 -0
  8. package/lib/cjs/{app-globals-718a3704.js → app-globals-BUWupN9p.js} +2 -2
  9. package/lib/cjs/{common-strings-2984301e.js → common-strings-CSqtNIxt.js} +29 -0
  10. package/lib/cjs/duet-action-button.cjs.entry.js +84 -29
  11. package/lib/cjs/duet-alert.cjs.entry.js +102 -48
  12. package/lib/cjs/duet-badge.cjs.entry.js +31 -9
  13. package/lib/cjs/duet-banner.cjs.entry.js +71 -28
  14. package/lib/cjs/duet-breadcrumb.cjs.entry.js +37 -26
  15. package/lib/cjs/duet-breadcrumbs.cjs.entry.js +20 -14
  16. package/lib/cjs/duet-button_2.cjs.entry.js +157 -74
  17. package/lib/cjs/duet-callout.cjs.entry.js +13 -10
  18. package/lib/cjs/duet-caption_4.cjs.entry.js +211 -75
  19. package/lib/cjs/duet-card.cjs.entry.js +95 -34
  20. package/lib/cjs/duet-checkbox.cjs.entry.js +68 -32
  21. package/lib/cjs/duet-checkmark.cjs.entry.js +21 -9
  22. package/lib/cjs/duet-chip.cjs.entry.js +356 -0
  23. package/lib/cjs/duet-choice_2.cjs.entry.js +276 -128
  24. package/lib/cjs/duet-collapsible.cjs.entry.js +94 -29
  25. package/lib/cjs/duet-combobox.cjs.entry.js +85 -48
  26. package/lib/cjs/duet-contact-card.cjs.entry.js +17 -18
  27. package/lib/cjs/duet-cookie-consent.cjs.entry.js +14 -11
  28. package/lib/cjs/duet-date-picker.cjs.entry.js +163 -57
  29. package/lib/cjs/duet-divider_2.cjs.entry.js +30 -14
  30. package/lib/cjs/duet-editable-table_3.cjs.entry.js +553 -210
  31. package/lib/cjs/duet-empty-state.cjs.entry.js +15 -9
  32. package/lib/cjs/duet-fieldset.cjs.entry.js +51 -18
  33. package/lib/cjs/duet-file-chooser.cjs.entry.js +18 -11
  34. package/lib/cjs/duet-footer.cjs.entry.js +56 -30
  35. package/lib/cjs/duet-grid_2.cjs.entry.js +165 -64
  36. package/lib/cjs/duet-header_2.cjs.entry.js +302 -91
  37. package/lib/cjs/duet-hero.cjs.entry.js +155 -32
  38. package/lib/cjs/duet-icon.cjs.entry.js +64 -20
  39. package/lib/cjs/duet-indicator.cjs.entry.js +61 -0
  40. package/lib/cjs/duet-input_2.cjs.entry.js +204 -86
  41. package/lib/cjs/duet-layout.cjs.entry.js +33 -13
  42. package/lib/cjs/duet-list_2.cjs.entry.js +58 -14
  43. package/lib/cjs/duet-menu-bar-button.cjs.entry.js +24 -16
  44. package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +19 -14
  45. package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +21 -16
  46. package/lib/cjs/duet-menu-bar-item.cjs.entry.js +40 -19
  47. package/lib/cjs/duet-menu-bar-link.cjs.entry.js +18 -10
  48. package/lib/cjs/duet-menu-bar.cjs.entry.js +37 -58
  49. package/lib/cjs/duet-modal.cjs.entry.js +122 -35
  50. package/lib/cjs/duet-multiselect.cjs.entry.js +88 -42
  51. package/lib/cjs/duet-nav.cjs.entry.js +12 -8
  52. package/lib/cjs/duet-notification_2.cjs.entry.js +98 -32
  53. package/lib/cjs/duet-number-input.cjs.entry.js +185 -70
  54. package/lib/cjs/duet-overlay.cjs.entry.js +36 -14
  55. package/lib/cjs/duet-page-heading.cjs.entry.js +16 -11
  56. package/lib/cjs/duet-pagination_2.cjs.entry.js +162 -87
  57. package/lib/cjs/duet-panel.cjs.entry.js +53 -0
  58. package/lib/cjs/duet-phone-input.cjs.entry.js +2072 -0
  59. package/lib/cjs/duet-popup-menu_2.cjs.entry.js +552 -0
  60. package/lib/cjs/duet-progress.cjs.entry.js +32 -13
  61. package/lib/cjs/duet-promo-card.cjs.entry.js +27 -13
  62. package/lib/cjs/duet-radio_2.cjs.entry.js +114 -55
  63. package/lib/cjs/duet-range-slider.cjs.entry.js +73 -37
  64. package/lib/cjs/duet-scrollable_3.cjs.entry.js +269 -130
  65. package/lib/cjs/duet-section-layout.cjs.entry.js +17 -10
  66. package/lib/cjs/duet-select.cjs.entry.js +89 -43
  67. package/lib/cjs/duet-shaped-image.cjs.entry.js +16 -11
  68. package/lib/cjs/duet-share-chart-item.cjs.entry.js +22 -0
  69. package/lib/cjs/duet-share-chart.cjs.entry.js +85 -0
  70. package/lib/cjs/duet-show-more.cjs.entry.js +81 -38
  71. package/lib/cjs/duet-slideout-lang.cjs.entry.js +10 -10
  72. package/lib/cjs/duet-slideout-link.cjs.entry.js +61 -10
  73. package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +25 -14
  74. package/lib/cjs/duet-slideout-panel.cjs.entry.js +50 -36
  75. package/lib/cjs/duet-slideout.cjs.entry.js +110 -60
  76. package/lib/cjs/duet-status-icon.cjs.entry.js +99 -0
  77. package/lib/cjs/duet-step_2.cjs.entry.js +72 -24
  78. package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +25 -10
  79. package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +27 -18
  80. package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +40 -19
  81. package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +18 -9
  82. package/lib/cjs/duet-submenu-bar.cjs.entry.js +27 -21
  83. package/lib/cjs/duet-textarea.cjs.entry.js +109 -50
  84. package/lib/cjs/duet-toggle.cjs.entry.js +50 -29
  85. package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +22 -11
  86. package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +27 -16
  87. package/lib/cjs/duet-toolbar-item.cjs.entry.js +46 -19
  88. package/lib/cjs/duet-toolbar-link.cjs.entry.js +21 -10
  89. package/lib/cjs/duet-toolbar.cjs.entry.js +12 -10
  90. package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +24 -27
  91. package/lib/cjs/duet-tooltip.cjs.entry.js +98 -46
  92. package/lib/cjs/duet-tray.cjs.entry.js +63 -24
  93. package/lib/cjs/duet-upload-aria-status.cjs.entry.js +30 -11
  94. package/lib/cjs/duet-upload-item.cjs.entry.js +12 -22
  95. package/lib/cjs/duet-visually-hidden.cjs.entry.js +4 -7
  96. package/lib/cjs/duet.cjs.js +8 -8
  97. package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-HU_3reMl.js} +2 -2
  98. package/lib/cjs/floating-ui.dom.browser.min-Cj0r5YDz.js +709 -0
  99. package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-DHGNKs9U.js} +1 -1
  100. package/lib/cjs/form-search-CzPfHB80.js +21 -0
  101. package/lib/cjs/index-CKsfMbRW.js +3107 -0
  102. package/lib/cjs/{keyboard-utils-681e11ec.js → keyboard-utils-D9UlHbik.js} +4 -0
  103. package/lib/cjs/{label-2abeac23.js → label-DbnS5tex.js} +1 -1
  104. package/lib/cjs/{language-utils-b5940c7b.js → language-utils-CYOjMfnd.js} +10 -2
  105. package/lib/cjs/loader.cjs.js +3 -5
  106. package/lib/cjs/{slot-utils-382633cf.js → slot-utils-D4QyzHw3.js} +6 -1
  107. package/lib/cjs/{teleport-c6f8391a.js → teleport-D5NDbuu0.js} +22 -7
  108. package/lib/cjs/themeable-component-BuC0WY98.js +74 -0
  109. package/lib/cjs/{token-utils-5000595c.js → token-utils-COKjUxmn.js} +80 -9
  110. package/lib/cjs/{tokens-57e06fe4.js → tokens-9aevMbB1.js} +150 -8
  111. package/lib/cjs/{tokens.module-7c947029.js → tokens.module-Bhh9B2g8.js} +99 -3
  112. package/lib/cjs/{watch-options-30a12622.js → watch-options-D4JNsU3B.js} +0 -20
  113. package/lib/collection/collection-manifest.json +7 -1
  114. package/lib/collection/common/themeable-component.js +61 -3
  115. package/lib/collection/common-strings.js +27 -0
  116. package/lib/collection/components/duet-action-button/duet-action-button.css +29 -12
  117. package/lib/collection/components/duet-action-button/duet-action-button.js +92 -33
  118. package/lib/collection/components/duet-alert/duet-alert.css +88 -59
  119. package/lib/collection/components/duet-alert/duet-alert.js +141 -57
  120. package/lib/collection/components/duet-badge/duet-badge.css +24 -9
  121. package/lib/collection/components/duet-badge/duet-badge.js +30 -6
  122. package/lib/collection/components/duet-banner/duet-banner.css +50 -24
  123. package/lib/collection/components/duet-banner/duet-banner.js +94 -29
  124. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.css +10 -8
  125. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +26 -28
  126. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.css +18 -7
  127. package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +15 -6
  128. package/lib/collection/components/duet-button/duet-button.css +166 -48
  129. package/lib/collection/components/duet-button/duet-button.js +175 -91
  130. package/lib/collection/components/duet-callout/duet-callout.css +7 -2
  131. package/lib/collection/components/duet-callout/duet-callout.js +10 -4
  132. package/lib/collection/components/duet-caption/duet-caption.css +7 -3
  133. package/lib/collection/components/duet-caption/duet-caption.js +18 -6
  134. package/lib/collection/components/duet-card/duet-card.css +48 -16
  135. package/lib/collection/components/duet-card/duet-card.js +134 -37
  136. package/lib/collection/components/duet-checkbox/duet-checkbox.css +26 -8
  137. package/lib/collection/components/duet-checkbox/duet-checkbox.js +86 -47
  138. package/lib/collection/components/duet-chip/duet-chip.css +66 -25
  139. package/lib/collection/components/duet-chip/duet-chip.js +70 -36
  140. package/lib/collection/components/duet-choice/duet-checkmark.css +4 -0
  141. package/lib/collection/components/duet-choice/duet-checkmark.js +22 -7
  142. package/lib/collection/components/duet-choice/duet-choice.css +96 -38
  143. package/lib/collection/components/duet-choice/duet-choice.js +228 -133
  144. package/lib/collection/components/duet-choice-group/duet-choice-group.css +4 -4
  145. package/lib/collection/components/duet-choice-group/duet-choice-group.js +108 -47
  146. package/lib/collection/components/duet-collapsible/duet-collapsible.css +52 -13
  147. package/lib/collection/components/duet-collapsible/duet-collapsible.js +116 -28
  148. package/lib/collection/components/duet-combobox/duet-combobox.css +9 -2
  149. package/lib/collection/components/duet-combobox/duet-combobox.js +88 -46
  150. package/lib/collection/components/duet-contact-card/duet-contact-card.css +8 -4
  151. package/lib/collection/components/duet-contact-card/duet-contact-card.js +21 -19
  152. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.css +23 -14
  153. package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +11 -5
  154. package/lib/collection/components/duet-date-picker/date-picker-day.js +6 -1
  155. package/lib/collection/components/duet-date-picker/date-utils.js +6 -1
  156. package/lib/collection/components/duet-date-picker/duet-date-picker.css +99 -46
  157. package/lib/collection/components/duet-date-picker/duet-date-picker.js +177 -69
  158. package/lib/collection/components/duet-divider/duet-divider.css +12 -6
  159. package/lib/collection/components/duet-divider/duet-divider.js +14 -4
  160. package/lib/collection/components/duet-editable-table/duet-editable-table.css +2 -2
  161. package/lib/collection/components/duet-editable-table/duet-editable-table.js +83 -26
  162. package/lib/collection/components/duet-empty-state/duet-empty-state.css +11 -6
  163. package/lib/collection/components/duet-empty-state/duet-empty-state.js +14 -5
  164. package/lib/collection/components/duet-fieldset/duet-fieldset.css +13 -6
  165. package/lib/collection/components/duet-fieldset/duet-fieldset.js +58 -20
  166. package/lib/collection/components/duet-file-chooser/duet-file-chooser.css +2 -2
  167. package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +17 -7
  168. package/lib/collection/components/duet-footer/duet-footer.css +43 -14
  169. package/lib/collection/components/duet-footer/duet-footer.js +55 -27
  170. package/lib/collection/components/duet-grid/duet-grid.css +2 -6
  171. package/lib/collection/components/duet-grid/duet-grid.js +144 -67
  172. package/lib/collection/components/duet-grid-item/duet-grid-item.css +6 -2
  173. package/lib/collection/components/duet-grid-item/duet-grid-item.js +40 -13
  174. package/lib/collection/components/duet-header/duet-header.css +165 -65
  175. package/lib/collection/components/duet-header/duet-header.js +165 -76
  176. package/lib/collection/components/duet-heading/duet-heading.css +11 -5
  177. package/lib/collection/components/duet-heading/duet-heading.js +56 -12
  178. package/lib/collection/components/duet-hero/duet-hero.css +326 -18
  179. package/lib/collection/components/duet-hero/duet-hero.js +195 -53
  180. package/lib/collection/components/duet-icon/duet-icon.css +17 -5
  181. package/lib/collection/components/duet-icon/duet-icon.js +71 -24
  182. package/lib/collection/components/duet-indicator/duet-indicator.css +50 -0
  183. package/lib/collection/components/duet-indicator/duet-indicator.js +138 -0
  184. package/lib/collection/components/duet-input/duet-input.css +155 -53
  185. package/lib/collection/components/duet-input/duet-input.js +241 -138
  186. package/lib/collection/components/duet-label/duet-label.css +8 -4
  187. package/lib/collection/components/duet-label/duet-label.js +23 -8
  188. package/lib/collection/components/duet-layout/duet-layout.css +4 -7
  189. package/lib/collection/components/duet-layout/duet-layout.js +35 -12
  190. package/lib/collection/components/duet-link/duet-link.css +169 -22
  191. package/lib/collection/components/duet-link/duet-link.js +121 -70
  192. package/lib/collection/components/duet-list/duet-list.css +4 -4
  193. package/lib/collection/components/duet-list/duet-list.js +38 -9
  194. package/lib/collection/components/duet-list-item/duet-list-item.css +25 -5
  195. package/lib/collection/components/duet-list-item/duet-list-item.js +50 -4
  196. package/lib/collection/components/duet-logo/duet-logo.css +36 -8
  197. package/lib/collection/components/duet-logo/duet-logo.js +111 -11
  198. package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +110 -8
  199. package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +59 -57
  200. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.css +17 -8
  201. package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +33 -22
  202. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.css +28 -12
  203. package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +20 -12
  204. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.css +19 -9
  205. package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +18 -10
  206. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.css +28 -10
  207. package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +39 -16
  208. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.css +25 -10
  209. package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +19 -8
  210. package/lib/collection/components/duet-modal/duet-modal.css +23 -25
  211. package/lib/collection/components/duet-modal/duet-modal.js +193 -39
  212. package/lib/collection/components/duet-multiselect/duet-multiselect.css +70 -29
  213. package/lib/collection/components/duet-multiselect/duet-multiselect.js +98 -48
  214. package/lib/collection/components/duet-nav/duet-nav.css +8 -4
  215. package/lib/collection/components/duet-nav/duet-nav.js +10 -3
  216. package/lib/collection/components/duet-notification/duet-notification.css +33 -26
  217. package/lib/collection/components/duet-notification/duet-notification.js +46 -9
  218. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.css +38 -36
  219. package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +57 -24
  220. package/lib/collection/components/duet-number-input/duet-number-input.css +29 -14
  221. package/lib/collection/components/duet-number-input/duet-number-input.js +190 -95
  222. package/lib/collection/components/duet-overlay/duet-overlay.css +5 -1
  223. package/lib/collection/components/duet-overlay/duet-overlay.js +40 -15
  224. package/lib/collection/components/duet-page-heading/duet-page-heading.css +44 -16
  225. package/lib/collection/components/duet-page-heading/duet-page-heading.js +17 -9
  226. package/lib/collection/components/duet-pagination/duet-pagination.css +8 -4
  227. package/lib/collection/components/duet-pagination/duet-pagination.js +130 -76
  228. package/lib/collection/components/duet-panel/duet-panel.css +98 -0
  229. package/lib/collection/components/duet-panel/duet-panel.js +234 -0
  230. package/lib/collection/components/duet-paragraph/duet-paragraph.css +19 -6
  231. package/lib/collection/components/duet-paragraph/duet-paragraph.js +29 -8
  232. package/lib/collection/components/duet-phone-input/duet-phone-input.css +64 -0
  233. package/lib/collection/components/duet-phone-input/duet-phone-input.js +930 -0
  234. package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +14 -6
  235. package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +235 -76
  236. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.css +30 -12
  237. package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +64 -29
  238. package/lib/collection/components/duet-progress/duet-progress.css +27 -8
  239. package/lib/collection/components/duet-progress/duet-progress.js +36 -14
  240. package/lib/collection/components/duet-promo-card/duet-promo-card.css +18 -12
  241. package/lib/collection/components/duet-promo-card/duet-promo-card.js +47 -11
  242. package/lib/collection/components/duet-radio/duet-radio.css +41 -8
  243. package/lib/collection/components/duet-radio/duet-radio.js +67 -49
  244. package/lib/collection/components/duet-radio-group/duet-radio-group.css +4 -4
  245. package/lib/collection/components/duet-radio-group/duet-radio-group.js +78 -30
  246. package/lib/collection/components/duet-range-slider/duet-range-slider.css +63 -18
  247. package/lib/collection/components/duet-range-slider/duet-range-slider.js +85 -46
  248. package/lib/collection/components/duet-range-stepper/duet-range-stepper.css +8 -4
  249. package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +43 -14
  250. package/lib/collection/components/duet-scrollable/duet-scrollable.css +84 -47
  251. package/lib/collection/components/duet-scrollable/duet-scrollable.js +160 -43
  252. package/lib/collection/components/duet-section-layout/duet-section-layout.css +4 -7
  253. package/lib/collection/components/duet-section-layout/duet-section-layout.js +16 -6
  254. package/lib/collection/components/duet-select/duet-select.css +54 -23
  255. package/lib/collection/components/duet-select/duet-select.js +109 -60
  256. package/lib/collection/components/duet-shaped-image/duet-shaped-image.css +6 -6
  257. package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +17 -9
  258. package/lib/collection/components/duet-share-chart/duet-share-chart.css +82 -0
  259. package/lib/collection/components/duet-share-chart/duet-share-chart.js +141 -0
  260. package/lib/collection/components/duet-share-chart-item/duet-share-chart-item.js +67 -0
  261. package/lib/collection/components/duet-show-more/duet-show-more.css +15 -8
  262. package/lib/collection/components/duet-show-more/duet-show-more.js +87 -37
  263. package/lib/collection/components/duet-slideout/duet-slideout.css +72 -40
  264. package/lib/collection/components/duet-slideout/duet-slideout.js +109 -54
  265. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.css +10 -6
  266. package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +5 -2
  267. package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +41 -13
  268. package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +135 -12
  269. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +63 -40
  270. package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +47 -30
  271. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.css +29 -16
  272. package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +25 -11
  273. package/lib/collection/components/duet-spacer/duet-spacer.css +2 -2
  274. package/lib/collection/components/duet-spacer/duet-spacer.js +14 -4
  275. package/lib/collection/components/duet-spinner/duet-spinner.css +10 -16
  276. package/lib/collection/components/duet-spinner/duet-spinner.js +21 -23
  277. package/lib/collection/components/duet-status-icon/duet-status-icon.js +197 -0
  278. package/lib/collection/components/duet-step/duet-step.css +28 -13
  279. package/lib/collection/components/duet-step/duet-step.js +25 -16
  280. package/lib/collection/components/duet-stepper/duet-stepper.css +4 -4
  281. package/lib/collection/components/duet-stepper/duet-stepper.js +45 -10
  282. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.css +34 -16
  283. package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +25 -16
  284. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.css +49 -15
  285. package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +25 -13
  286. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.css +29 -8
  287. package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +26 -8
  288. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.css +33 -10
  289. package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +38 -15
  290. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.css +34 -9
  291. package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +17 -5
  292. package/lib/collection/components/duet-tab/duet-tab.css +15 -11
  293. package/lib/collection/components/duet-tab/duet-tab.js +88 -24
  294. package/lib/collection/components/duet-tab-group/duet-tab-group.css +218 -129
  295. package/lib/collection/components/duet-tab-group/duet-tab-group.js +228 -83
  296. package/lib/collection/components/duet-table/duet-table-styles.js +68 -4
  297. package/lib/collection/components/duet-table/duet-table.js +42 -13
  298. package/lib/collection/components/duet-textarea/duet-textarea.css +64 -22
  299. package/lib/collection/components/duet-textarea/duet-textarea.js +159 -74
  300. package/lib/collection/components/duet-toggle/duet-toggle.css +26 -10
  301. package/lib/collection/components/duet-toggle/duet-toggle.js +62 -38
  302. package/lib/collection/components/duet-toolbar/duet-toolbar.css +11 -4
  303. package/lib/collection/components/duet-toolbar/duet-toolbar.js +11 -6
  304. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +36 -12
  305. package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +28 -14
  306. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.css +21 -8
  307. package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +23 -9
  308. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +52 -30
  309. package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +48 -19
  310. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +42 -10
  311. package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +23 -9
  312. package/lib/collection/components/duet-tooltip/duet-tooltip-button.css +24 -14
  313. package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +9 -11
  314. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.css +48 -16
  315. package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +18 -14
  316. package/lib/collection/components/duet-tooltip/duet-tooltip.css +4 -4
  317. package/lib/collection/components/duet-tooltip/duet-tooltip.js +100 -45
  318. package/lib/collection/components/duet-tray/duet-tray.css +43 -27
  319. package/lib/collection/components/duet-tray/duet-tray.js +63 -21
  320. package/lib/collection/components/duet-upload/duet-upload.css +6 -6
  321. package/lib/collection/components/duet-upload/duet-upload.js +419 -213
  322. package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +35 -13
  323. package/lib/collection/components/duet-upload-item/duet-upload-item.js +17 -18
  324. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.css +3 -3
  325. package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
  326. package/lib/collection/data/countries.js +1762 -0
  327. package/lib/collection/index.js +1 -0
  328. package/lib/collection/utils/keyboard-utils.js +3 -0
  329. package/lib/collection/utils/language-utils.js +7 -0
  330. package/lib/collection/utils/slot-utils.js +4 -0
  331. package/lib/collection/utils/teleport.js +22 -7
  332. package/lib/collection/utils/test-utils.js +2 -2
  333. package/lib/collection/utils/token-utils.js +59 -7
  334. package/lib/collection/utils/turva2-color-tokens.js +42 -0
  335. package/lib/duet/duet.esm.js +1 -1
  336. package/lib/duet/p-06db096d.entry.js +4 -0
  337. package/lib/duet/p-0d373228.entry.js +4 -0
  338. package/lib/duet/p-15d39d1f.entry.js +4 -0
  339. package/lib/duet/p-16caa5b6.entry.js +4 -0
  340. package/lib/duet/p-18c37a64.entry.js +4 -0
  341. package/lib/duet/p-1e78e2c1.entry.js +4 -0
  342. package/lib/duet/p-1ff6c95a.entry.js +4 -0
  343. package/lib/duet/p-208c5266.entry.js +4 -0
  344. package/lib/duet/p-22297e2c.entry.js +4 -0
  345. package/lib/duet/p-23ab5f9a.entry.js +4 -0
  346. package/lib/duet/p-26948251.entry.js +4 -0
  347. package/lib/duet/p-28568a2e.entry.js +4 -0
  348. package/lib/duet/p-2892dd48.entry.js +4 -0
  349. package/lib/duet/p-2a1cbe32.entry.js +4 -0
  350. package/lib/duet/p-309afd7a.entry.js +4 -0
  351. package/lib/duet/p-3555559c.entry.js +4 -0
  352. package/lib/duet/p-391d7483.entry.js +4 -0
  353. package/lib/duet/{p-6be341c4.entry.js → p-3aecdd96.entry.js} +1 -1
  354. package/lib/duet/p-3d6a1cbd.entry.js +4 -0
  355. package/lib/duet/{p-ff4f7076.entry.js → p-4266fbf1.entry.js} +1 -1
  356. package/lib/duet/p-49cec27c.entry.js +4 -0
  357. package/lib/duet/p-4a54f0ec.entry.js +4 -0
  358. package/lib/duet/p-4a6a79ac.entry.js +4 -0
  359. package/lib/duet/p-4b6399eb.entry.js +4 -0
  360. package/lib/duet/p-4e05a8a2.entry.js +4 -0
  361. package/lib/duet/p-509d502b.entry.js +4 -0
  362. package/lib/duet/p-534e3e7e.entry.js +4 -0
  363. package/lib/duet/p-53eddd20.entry.js +4 -0
  364. package/lib/duet/p-5470d3ee.entry.js +4 -0
  365. package/lib/duet/p-5540e106.entry.js +4 -0
  366. package/lib/duet/p-581bd1e2.entry.js +4 -0
  367. package/lib/duet/p-594e10ea.entry.js +4 -0
  368. package/lib/duet/p-5c0847ed.entry.js +4 -0
  369. package/lib/duet/p-5eaf6c14.entry.js +4 -0
  370. package/lib/duet/p-5iZMFvpJ.js +4 -0
  371. package/lib/duet/p-60102fbf.entry.js +4 -0
  372. package/lib/duet/p-6952b6c4.entry.js +4 -0
  373. package/lib/duet/p-69fcd700.entry.js +4 -0
  374. package/lib/duet/p-7159567b.entry.js +4 -0
  375. package/lib/duet/p-72c34073.entry.js +4 -0
  376. package/lib/duet/p-7587023c.entry.js +4 -0
  377. package/lib/duet/p-75a6c4ea.entry.js +4 -0
  378. package/lib/duet/p-76906326.entry.js +4 -0
  379. package/lib/duet/p-7d8a853a.entry.js +4 -0
  380. package/lib/duet/p-7def72b6.entry.js +4 -0
  381. package/lib/duet/p-7e14f2af.entry.js +4 -0
  382. package/lib/duet/p-82a8d1b8.entry.js +4 -0
  383. package/lib/duet/p-83471afa.entry.js +4 -0
  384. package/lib/duet/p-83ea7a2c.entry.js +4 -0
  385. package/lib/duet/p-8c4cf422.entry.js +4 -0
  386. package/lib/duet/p-8fc3ee0c.entry.js +4 -0
  387. package/lib/duet/p-91f53c07.entry.js +4 -0
  388. package/lib/duet/p-93e08345.entry.js +4 -0
  389. package/lib/duet/p-94e4dcc5.entry.js +4 -0
  390. package/lib/duet/p-987f395f.entry.js +4 -0
  391. package/lib/duet/p-9e0e21eb.entry.js +4 -0
  392. package/lib/duet/p-9f038082.entry.js +4 -0
  393. package/lib/duet/p-B0SZpElh.js +4 -0
  394. package/lib/duet/p-BO8h6fkS.js +4 -0
  395. package/lib/duet/p-BVAkfiYN.js +5 -0
  396. package/lib/duet/p-BVgBUIYF.js +4 -0
  397. package/lib/duet/p-BWvtXbhA.js +4 -0
  398. package/lib/duet/{p-81287261.js → p-B_NkY9T0.js} +1 -1
  399. package/lib/duet/p-Bh9dkusU.js +4 -0
  400. package/lib/duet/p-BmMFVM-y.js +4 -0
  401. package/lib/duet/p-Bpx9VxA7.js +4 -0
  402. package/lib/duet/{p-8c9eb171.js → p-CSVmZZ1n.js} +1 -1
  403. package/lib/duet/p-CooAqTCj.js +4 -0
  404. package/lib/duet/{p-2eae4a0b.js → p-D8ISRP9m.js} +1 -1
  405. package/lib/duet/p-Db8rvjPI.js +4 -0
  406. package/lib/duet/p-DcQPCCbT.js +4 -0
  407. package/lib/duet/p-Df3Doz7n.js +4 -0
  408. package/lib/duet/p-DvwKrUS6.js +4 -0
  409. package/lib/duet/{p-2b6a7397.js → p-J96UYMqg.js} +1 -1
  410. package/lib/duet/p-b171fbba.entry.js +4 -0
  411. package/lib/duet/p-b95c5ccf.entry.js +4 -0
  412. package/lib/duet/p-b9869df2.entry.js +4 -0
  413. package/lib/duet/p-c05e4dae.entry.js +4 -0
  414. package/lib/duet/p-c0942782.entry.js +4 -0
  415. package/lib/duet/p-c2ca49c2.entry.js +4 -0
  416. package/lib/duet/p-c392eb8d.entry.js +4 -0
  417. package/lib/duet/p-c6b031aa.entry.js +4 -0
  418. package/lib/duet/p-c9000a76.entry.js +4 -0
  419. package/lib/duet/p-cbc310dc.entry.js +4 -0
  420. package/lib/duet/p-d3812b9c.entry.js +4 -0
  421. package/lib/duet/p-d3edd251.entry.js +4 -0
  422. package/lib/duet/p-d618c7d5.entry.js +4 -0
  423. package/lib/duet/p-ddcc5283.entry.js +4 -0
  424. package/lib/duet/p-e05b9e89.entry.js +4 -0
  425. package/lib/duet/p-e16141aa.entry.js +4 -0
  426. package/lib/duet/p-e2a75d7e.entry.js +4 -0
  427. package/lib/duet/p-e59a56b9.entry.js +4 -0
  428. package/lib/duet/p-e6f0473b.entry.js +4 -0
  429. package/lib/duet/p-e71cd888.entry.js +4 -0
  430. package/lib/duet/p-e832a646.entry.js +4 -0
  431. package/lib/duet/p-e9a32cd5.entry.js +4 -0
  432. package/lib/duet/p-ea010c0c.entry.js +4 -0
  433. package/lib/duet/p-ea333ff9.entry.js +4 -0
  434. package/lib/duet/p-eadd1f00.entry.js +4 -0
  435. package/lib/duet/p-f1e8ef6c.entry.js +4 -0
  436. package/lib/duet/p-f9010948.entry.js +4 -0
  437. package/lib/duet/p-fcd416b7.entry.js +4 -0
  438. package/lib/duet/p-fe5f6bf5.entry.js +4 -0
  439. package/lib/duet/p-ff8f848e.entry.js +4 -0
  440. package/lib/duet/p-s4mQ--kV.js +4 -0
  441. package/lib/duet/p-vVCYtBMj.js +4 -0
  442. package/lib/duet/p-zqnwKSPV.js +4 -0
  443. package/lib/esm/_commonjsHelpers-DvwKrUS6.js +8 -0
  444. package/lib/{dist-custom-elements/p-afb6f7fb.js → esm/a11y-utils-Cm7NmtQF.js} +1 -1
  445. package/lib/esm/action-arrow-down-small-Bk3GShyI.js +19 -0
  446. package/lib/esm/action-new-window-small-EH8_HdAm.js +19 -0
  447. package/lib/esm/{app-globals-00959ca9.js → app-globals-BfoWvhn6.js} +2 -2
  448. package/lib/esm/common-strings-BWvtXbhA.js +52 -0
  449. package/lib/esm/duet-action-button.entry.js +84 -27
  450. package/lib/esm/duet-alert.entry.js +102 -46
  451. package/lib/esm/duet-badge.entry.js +31 -7
  452. package/lib/esm/duet-banner.entry.js +71 -26
  453. package/lib/esm/duet-breadcrumb.entry.js +38 -25
  454. package/lib/esm/duet-breadcrumbs.entry.js +20 -12
  455. package/lib/esm/duet-button_2.entry.js +157 -72
  456. package/lib/esm/duet-callout.entry.js +13 -8
  457. package/lib/esm/duet-caption_4.entry.js +211 -73
  458. package/lib/esm/duet-card.entry.js +95 -32
  459. package/lib/esm/duet-checkbox.entry.js +68 -30
  460. package/lib/esm/duet-checkmark.entry.js +21 -7
  461. package/lib/esm/duet-chip.entry.js +354 -0
  462. package/lib/esm/duet-choice_2.entry.js +277 -127
  463. package/lib/esm/duet-collapsible.entry.js +94 -27
  464. package/lib/esm/duet-combobox.entry.js +85 -46
  465. package/lib/esm/duet-contact-card.entry.js +17 -16
  466. package/lib/esm/duet-cookie-consent.entry.js +14 -9
  467. package/lib/esm/duet-date-picker.entry.js +163 -55
  468. package/lib/esm/duet-divider_2.entry.js +30 -12
  469. package/lib/esm/duet-editable-table_3.entry.js +553 -208
  470. package/lib/esm/duet-empty-state.entry.js +15 -7
  471. package/lib/esm/duet-fieldset.entry.js +51 -16
  472. package/lib/esm/duet-file-chooser.entry.js +18 -9
  473. package/lib/esm/duet-footer.entry.js +56 -28
  474. package/lib/esm/duet-grid_2.entry.js +165 -62
  475. package/lib/esm/duet-header_2.entry.js +303 -90
  476. package/lib/esm/duet-hero.entry.js +155 -30
  477. package/lib/esm/duet-icon.entry.js +64 -18
  478. package/lib/esm/duet-indicator.entry.js +59 -0
  479. package/lib/esm/duet-input_2.entry.js +205 -85
  480. package/lib/esm/duet-layout.entry.js +33 -11
  481. package/lib/esm/duet-list_2.entry.js +58 -12
  482. package/lib/esm/duet-menu-bar-button.entry.js +24 -14
  483. package/lib/esm/duet-menu-bar-dropdown-link.entry.js +19 -12
  484. package/lib/esm/duet-menu-bar-dropdown.entry.js +21 -14
  485. package/lib/esm/duet-menu-bar-item.entry.js +40 -17
  486. package/lib/esm/duet-menu-bar-link.entry.js +18 -8
  487. package/lib/esm/duet-menu-bar.entry.js +37 -56
  488. package/lib/esm/duet-modal.entry.js +122 -33
  489. package/lib/esm/duet-multiselect.entry.js +88 -40
  490. package/lib/esm/duet-nav.entry.js +12 -6
  491. package/lib/esm/duet-notification_2.entry.js +98 -30
  492. package/lib/esm/duet-number-input.entry.js +186 -69
  493. package/lib/esm/duet-overlay.entry.js +36 -12
  494. package/lib/esm/duet-page-heading.entry.js +16 -9
  495. package/lib/esm/duet-pagination_2.entry.js +162 -85
  496. package/lib/esm/duet-panel.entry.js +51 -0
  497. package/lib/esm/duet-phone-input.entry.js +2070 -0
  498. package/lib/esm/duet-popup-menu_2.entry.js +549 -0
  499. package/lib/esm/duet-progress.entry.js +32 -11
  500. package/lib/esm/duet-promo-card.entry.js +27 -11
  501. package/lib/esm/duet-radio_2.entry.js +114 -53
  502. package/lib/esm/duet-range-slider.entry.js +73 -35
  503. package/lib/esm/duet-scrollable_3.entry.js +269 -128
  504. package/lib/esm/duet-section-layout.entry.js +17 -8
  505. package/lib/esm/duet-select.entry.js +89 -41
  506. package/lib/esm/duet-shaped-image.entry.js +16 -9
  507. package/lib/esm/duet-share-chart-item.entry.js +20 -0
  508. package/lib/esm/duet-share-chart.entry.js +83 -0
  509. package/lib/esm/duet-show-more.entry.js +81 -36
  510. package/lib/esm/duet-slideout-lang.entry.js +10 -8
  511. package/lib/esm/duet-slideout-link.entry.js +61 -8
  512. package/lib/esm/duet-slideout-panel-dropdown.entry.js +25 -12
  513. package/lib/esm/duet-slideout-panel.entry.js +50 -34
  514. package/lib/esm/duet-slideout.entry.js +110 -58
  515. package/lib/esm/duet-status-icon.entry.js +97 -0
  516. package/lib/esm/duet-step_2.entry.js +73 -23
  517. package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +25 -8
  518. package/lib/esm/duet-submenu-bar-dropdown.entry.js +27 -16
  519. package/lib/esm/duet-submenu-bar-item.entry.js +40 -17
  520. package/lib/esm/duet-submenu-bar-link.entry.js +18 -7
  521. package/lib/esm/duet-submenu-bar.entry.js +27 -19
  522. package/lib/esm/duet-textarea.entry.js +109 -48
  523. package/lib/esm/duet-toggle.entry.js +50 -27
  524. package/lib/esm/duet-toolbar-dropdown-link.entry.js +22 -9
  525. package/lib/esm/duet-toolbar-dropdown.entry.js +27 -14
  526. package/lib/esm/duet-toolbar-item.entry.js +46 -17
  527. package/lib/esm/duet-toolbar-link.entry.js +21 -8
  528. package/lib/esm/duet-toolbar.entry.js +12 -8
  529. package/lib/esm/duet-tooltip-button_2.entry.js +24 -25
  530. package/lib/esm/duet-tooltip.entry.js +97 -43
  531. package/lib/esm/duet-tray.entry.js +63 -22
  532. package/lib/esm/duet-upload-aria-status.entry.js +30 -9
  533. package/lib/esm/duet-upload-item.entry.js +12 -20
  534. package/lib/esm/duet-visually-hidden.entry.js +4 -5
  535. package/lib/esm/duet.js +7 -6
  536. package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-DCSMydPz.js} +3 -3
  537. package/lib/esm/floating-ui.dom.browser.min-B_NkY9T0.js +702 -0
  538. package/lib/{dist-custom-elements/p-e30dc66d.js → esm/focus-utils-C8cj1ygp.js} +1 -1
  539. package/lib/esm/form-search-CevX33LA.js +19 -0
  540. package/lib/esm/{index-1d0b7c66.js → index-BVAkfiYN.js} +2069 -1238
  541. package/lib/esm/{keyboard-utils-439bcc8b.js → keyboard-utils-Db8rvjPI.js} +4 -1
  542. package/lib/{dist-custom-elements/p-42619f94.js → esm/label-Cqxj4RVo.js} +1 -1
  543. package/lib/esm/{language-utils-14969cef.js → language-utils-uFQZRSPE.js} +10 -3
  544. package/lib/esm/loader.js +4 -4
  545. package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-D8NnYUf2.js} +6 -2
  546. package/lib/{dist-custom-elements/p-ca3cb21e.js → esm/teleport-CooAqTCj.js} +22 -7
  547. package/lib/esm/themeable-component-B8TGOi99.js +72 -0
  548. package/lib/esm/{token-utils-b9ba8c5e.js → token-utils-Dw-GA7-4.js} +80 -10
  549. package/lib/{dist-custom-elements/p-f6000a03.js → esm/tokens-DcQPCCbT.js} +151 -7
  550. package/lib/{dist-custom-elements/p-cea716f7.js → esm/tokens.module-Bh9dkusU.js} +100 -4
  551. package/lib/{dist-custom-elements/p-7d8a2628.js → esm/watch-options-BmMFVM-y.js} +1 -20
  552. package/lib/index.js +1 -1
  553. package/lib/loader/cdn.js +1 -2
  554. package/lib/loader/index.cjs.js +1 -2
  555. package/lib/loader/index.es2017.js +0 -1
  556. package/lib/loader/index.js +1 -2
  557. package/lib/types/common-strings.d.ts +3 -0
  558. package/lib/types/common-types.d.ts +1 -1
  559. package/lib/types/components/duet-alert/duet-alert.d.ts +20 -10
  560. package/lib/types/components/duet-badge/duet-badge.d.ts +1 -0
  561. package/lib/types/components/duet-banner/duet-banner.d.ts +6 -0
  562. package/lib/types/components/duet-breadcrumbs/duet-breadcrumb.d.ts +2 -4
  563. package/lib/types/components/duet-button/duet-button.d.ts +1 -1
  564. package/lib/types/components/duet-card/duet-card.d.ts +10 -0
  565. package/lib/types/components/duet-chip/duet-chip.d.ts +1 -0
  566. package/lib/types/components/duet-choice/duet-choice.d.ts +1 -5
  567. package/lib/types/components/duet-choice-group/duet-choice-group.d.ts +3 -2
  568. package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +8 -1
  569. package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
  570. package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -0
  571. package/lib/types/components/duet-fieldset/duet-fieldset.d.ts +3 -0
  572. package/lib/types/components/duet-grid/duet-grid.d.ts +9 -7
  573. package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
  574. package/lib/types/components/duet-hero/duet-hero.d.ts +10 -2
  575. package/lib/types/components/duet-indicator/duet-indicator.d.ts +24 -0
  576. package/lib/types/components/duet-input/duet-input.d.ts +13 -15
  577. package/lib/types/components/duet-link/duet-link.d.ts +3 -7
  578. package/lib/types/components/duet-list-item/duet-list-item.d.ts +9 -3
  579. package/lib/types/components/duet-logo/duet-logo.d.ts +8 -0
  580. package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -4
  581. package/lib/types/components/duet-modal/duet-modal.d.ts +17 -1
  582. package/lib/types/components/duet-notification/duet-notification.d.ts +1 -0
  583. package/lib/types/components/duet-number-input/duet-number-input.d.ts +5 -2
  584. package/lib/types/components/duet-overlay/duet-overlay.d.ts +4 -0
  585. package/lib/types/components/duet-panel/duet-panel.d.ts +47 -0
  586. package/lib/types/components/duet-paragraph/duet-paragraph.d.ts +1 -0
  587. package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +178 -0
  588. package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +19 -5
  589. package/lib/types/components/duet-popup-menu-item/duet-popup-menu-item.d.ts +1 -0
  590. package/lib/types/components/duet-promo-card/duet-promo-card.d.ts +4 -0
  591. package/lib/types/components/duet-radio-group/duet-radio-group.d.ts +1 -0
  592. package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +18 -1
  593. package/lib/types/components/duet-select/duet-select.d.ts +2 -0
  594. package/lib/types/components/duet-share-chart/duet-share-chart.d.ts +34 -0
  595. package/lib/types/components/duet-share-chart-item/duet-share-chart-item.d.ts +13 -0
  596. package/lib/types/components/duet-show-more/duet-show-more.d.ts +1 -0
  597. package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -3
  598. package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
  599. package/lib/types/components/duet-spinner/duet-spinner.d.ts +6 -3
  600. package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +27 -0
  601. package/lib/types/components/duet-stepper/duet-stepper.d.ts +5 -2
  602. package/lib/types/components/duet-tab/duet-tab.d.ts +10 -0
  603. package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +24 -4
  604. package/lib/types/components/duet-textarea/duet-textarea.d.ts +4 -2
  605. package/lib/types/components/duet-tooltip/duet-tooltip.d.ts +1 -1
  606. package/lib/types/components.d.ts +2392 -56
  607. package/lib/types/data/countries.d.ts +22 -0
  608. package/lib/types/index.d.ts +1 -0
  609. package/lib/types/stencil-public-runtime.d.ts +35 -6
  610. package/lib/types/utils/keyboard-utils.d.ts +1 -0
  611. package/lib/types/utils/language-utils.d.ts +1 -0
  612. package/lib/types/utils/slot-utils.d.ts +1 -0
  613. package/lib/types/utils/teleport.d.ts +4 -1
  614. package/lib/types/utils/token-utils.d.ts +4 -0
  615. package/lib/types/utils/turva2-color-tokens.d.ts +39 -0
  616. package/package.json +30 -16
  617. package/lib/cjs/action-arrow-down-small-ef77a2d1.js +0 -8
  618. package/lib/cjs/action-new-window-small-fa51dfb9.js +0 -8
  619. package/lib/cjs/duet-chip_3.cjs.entry.js +0 -699
  620. package/lib/cjs/floating-ui.dom.esm-806e7c53.js +0 -1355
  621. package/lib/cjs/form-search-d61b2843.js +0 -8
  622. package/lib/cjs/index-21e67ab3.js +0 -2278
  623. package/lib/cjs/themeable-component-996b489c.js +0 -15
  624. package/lib/dist-custom-elements/duet-action-button.d.ts +0 -11
  625. package/lib/dist-custom-elements/duet-action-button.js +0 -9
  626. package/lib/dist-custom-elements/duet-alert.d.ts +0 -11
  627. package/lib/dist-custom-elements/duet-alert.js +0 -9
  628. package/lib/dist-custom-elements/duet-badge.d.ts +0 -11
  629. package/lib/dist-custom-elements/duet-badge.js +0 -9
  630. package/lib/dist-custom-elements/duet-banner.d.ts +0 -11
  631. package/lib/dist-custom-elements/duet-banner.js +0 -157
  632. package/lib/dist-custom-elements/duet-breadcrumb.d.ts +0 -11
  633. package/lib/dist-custom-elements/duet-breadcrumb.js +0 -101
  634. package/lib/dist-custom-elements/duet-breadcrumbs.d.ts +0 -11
  635. package/lib/dist-custom-elements/duet-breadcrumbs.js +0 -88
  636. package/lib/dist-custom-elements/duet-button.d.ts +0 -11
  637. package/lib/dist-custom-elements/duet-button.js +0 -9
  638. package/lib/dist-custom-elements/duet-callout.d.ts +0 -11
  639. package/lib/dist-custom-elements/duet-callout.js +0 -72
  640. package/lib/dist-custom-elements/duet-caption.d.ts +0 -11
  641. package/lib/dist-custom-elements/duet-caption.js +0 -9
  642. package/lib/dist-custom-elements/duet-card.d.ts +0 -11
  643. package/lib/dist-custom-elements/duet-card.js +0 -171
  644. package/lib/dist-custom-elements/duet-checkbox.d.ts +0 -11
  645. package/lib/dist-custom-elements/duet-checkbox.js +0 -9
  646. package/lib/dist-custom-elements/duet-checkmark.d.ts +0 -11
  647. package/lib/dist-custom-elements/duet-checkmark.js +0 -9
  648. package/lib/dist-custom-elements/duet-chip.d.ts +0 -11
  649. package/lib/dist-custom-elements/duet-chip.js +0 -9
  650. package/lib/dist-custom-elements/duet-choice-group.d.ts +0 -11
  651. package/lib/dist-custom-elements/duet-choice-group.js +0 -228
  652. package/lib/dist-custom-elements/duet-choice.d.ts +0 -11
  653. package/lib/dist-custom-elements/duet-choice.js +0 -454
  654. package/lib/dist-custom-elements/duet-collapsible.d.ts +0 -11
  655. package/lib/dist-custom-elements/duet-collapsible.js +0 -158
  656. package/lib/dist-custom-elements/duet-combobox.d.ts +0 -11
  657. package/lib/dist-custom-elements/duet-combobox.js +0 -702
  658. package/lib/dist-custom-elements/duet-contact-card.d.ts +0 -11
  659. package/lib/dist-custom-elements/duet-contact-card.js +0 -134
  660. package/lib/dist-custom-elements/duet-cookie-consent.d.ts +0 -11
  661. package/lib/dist-custom-elements/duet-cookie-consent.js +0 -106
  662. package/lib/dist-custom-elements/duet-date-picker.d.ts +0 -11
  663. package/lib/dist-custom-elements/duet-date-picker.js +0 -932
  664. package/lib/dist-custom-elements/duet-divider.d.ts +0 -11
  665. package/lib/dist-custom-elements/duet-divider.js +0 -9
  666. package/lib/dist-custom-elements/duet-editable-table.d.ts +0 -11
  667. package/lib/dist-custom-elements/duet-editable-table.js +0 -258
  668. package/lib/dist-custom-elements/duet-empty-state.d.ts +0 -11
  669. package/lib/dist-custom-elements/duet-empty-state.js +0 -9
  670. package/lib/dist-custom-elements/duet-fieldset.d.ts +0 -11
  671. package/lib/dist-custom-elements/duet-fieldset.js +0 -9
  672. package/lib/dist-custom-elements/duet-file-chooser.d.ts +0 -11
  673. package/lib/dist-custom-elements/duet-file-chooser.js +0 -86
  674. package/lib/dist-custom-elements/duet-footer.d.ts +0 -11
  675. package/lib/dist-custom-elements/duet-footer.js +0 -223
  676. package/lib/dist-custom-elements/duet-grid-item.d.ts +0 -11
  677. package/lib/dist-custom-elements/duet-grid-item.js +0 -9
  678. package/lib/dist-custom-elements/duet-grid.d.ts +0 -11
  679. package/lib/dist-custom-elements/duet-grid.js +0 -9
  680. package/lib/dist-custom-elements/duet-header.d.ts +0 -11
  681. package/lib/dist-custom-elements/duet-header.js +0 -698
  682. package/lib/dist-custom-elements/duet-heading.d.ts +0 -11
  683. package/lib/dist-custom-elements/duet-heading.js +0 -9
  684. package/lib/dist-custom-elements/duet-hero.d.ts +0 -11
  685. package/lib/dist-custom-elements/duet-hero.js +0 -299
  686. package/lib/dist-custom-elements/duet-icon.d.ts +0 -11
  687. package/lib/dist-custom-elements/duet-icon.js +0 -9
  688. package/lib/dist-custom-elements/duet-input.d.ts +0 -11
  689. package/lib/dist-custom-elements/duet-input.js +0 -9
  690. package/lib/dist-custom-elements/duet-label.d.ts +0 -11
  691. package/lib/dist-custom-elements/duet-label.js +0 -70
  692. package/lib/dist-custom-elements/duet-layout.d.ts +0 -11
  693. package/lib/dist-custom-elements/duet-layout.js +0 -94
  694. package/lib/dist-custom-elements/duet-link.d.ts +0 -11
  695. package/lib/dist-custom-elements/duet-link.js +0 -9
  696. package/lib/dist-custom-elements/duet-list-item.d.ts +0 -11
  697. package/lib/dist-custom-elements/duet-list-item.js +0 -9
  698. package/lib/dist-custom-elements/duet-list.d.ts +0 -11
  699. package/lib/dist-custom-elements/duet-list.js +0 -9
  700. package/lib/dist-custom-elements/duet-logo.d.ts +0 -11
  701. package/lib/dist-custom-elements/duet-logo.js +0 -9
  702. package/lib/dist-custom-elements/duet-menu-bar-button.d.ts +0 -11
  703. package/lib/dist-custom-elements/duet-menu-bar-button.js +0 -94
  704. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.d.ts +0 -11
  705. package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +0 -87
  706. package/lib/dist-custom-elements/duet-menu-bar-dropdown.d.ts +0 -11
  707. package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +0 -108
  708. package/lib/dist-custom-elements/duet-menu-bar-item.d.ts +0 -11
  709. package/lib/dist-custom-elements/duet-menu-bar-item.js +0 -108
  710. package/lib/dist-custom-elements/duet-menu-bar-link.d.ts +0 -11
  711. package/lib/dist-custom-elements/duet-menu-bar-link.js +0 -70
  712. package/lib/dist-custom-elements/duet-menu-bar.d.ts +0 -11
  713. package/lib/dist-custom-elements/duet-menu-bar.js +0 -206
  714. package/lib/dist-custom-elements/duet-modal.d.ts +0 -11
  715. package/lib/dist-custom-elements/duet-modal.js +0 -382
  716. package/lib/dist-custom-elements/duet-multiselect.d.ts +0 -11
  717. package/lib/dist-custom-elements/duet-multiselect.js +0 -346
  718. package/lib/dist-custom-elements/duet-nav.d.ts +0 -11
  719. package/lib/dist-custom-elements/duet-nav.js +0 -54
  720. package/lib/dist-custom-elements/duet-notification-drawer.d.ts +0 -11
  721. package/lib/dist-custom-elements/duet-notification-drawer.js +0 -168
  722. package/lib/dist-custom-elements/duet-notification.d.ts +0 -11
  723. package/lib/dist-custom-elements/duet-notification.js +0 -95
  724. package/lib/dist-custom-elements/duet-number-input.d.ts +0 -11
  725. package/lib/dist-custom-elements/duet-number-input.js +0 -484
  726. package/lib/dist-custom-elements/duet-overlay.d.ts +0 -11
  727. package/lib/dist-custom-elements/duet-overlay.js +0 -9
  728. package/lib/dist-custom-elements/duet-page-heading.d.ts +0 -11
  729. package/lib/dist-custom-elements/duet-page-heading.js +0 -87
  730. package/lib/dist-custom-elements/duet-pagination.d.ts +0 -11
  731. package/lib/dist-custom-elements/duet-pagination.js +0 -493
  732. package/lib/dist-custom-elements/duet-paragraph.d.ts +0 -11
  733. package/lib/dist-custom-elements/duet-paragraph.js +0 -9
  734. package/lib/dist-custom-elements/duet-popup-menu-item.d.ts +0 -11
  735. package/lib/dist-custom-elements/duet-popup-menu-item.js +0 -9
  736. package/lib/dist-custom-elements/duet-popup-menu.d.ts +0 -11
  737. package/lib/dist-custom-elements/duet-popup-menu.js +0 -9
  738. package/lib/dist-custom-elements/duet-progress.d.ts +0 -11
  739. package/lib/dist-custom-elements/duet-progress.js +0 -9
  740. package/lib/dist-custom-elements/duet-promo-card.d.ts +0 -11
  741. package/lib/dist-custom-elements/duet-promo-card.js +0 -105
  742. package/lib/dist-custom-elements/duet-radio-group.d.ts +0 -11
  743. package/lib/dist-custom-elements/duet-radio-group.js +0 -213
  744. package/lib/dist-custom-elements/duet-radio.d.ts +0 -11
  745. package/lib/dist-custom-elements/duet-radio.js +0 -230
  746. package/lib/dist-custom-elements/duet-range-slider.d.ts +0 -11
  747. package/lib/dist-custom-elements/duet-range-slider.js +0 -181
  748. package/lib/dist-custom-elements/duet-range-stepper.d.ts +0 -11
  749. package/lib/dist-custom-elements/duet-range-stepper.js +0 -234
  750. package/lib/dist-custom-elements/duet-scrollable.d.ts +0 -11
  751. package/lib/dist-custom-elements/duet-scrollable.js +0 -9
  752. package/lib/dist-custom-elements/duet-section-layout.d.ts +0 -11
  753. package/lib/dist-custom-elements/duet-section-layout.js +0 -56
  754. package/lib/dist-custom-elements/duet-select.d.ts +0 -11
  755. package/lib/dist-custom-elements/duet-select.js +0 -9
  756. package/lib/dist-custom-elements/duet-shaped-image.d.ts +0 -11
  757. package/lib/dist-custom-elements/duet-shaped-image.js +0 -64
  758. package/lib/dist-custom-elements/duet-show-more.d.ts +0 -11
  759. package/lib/dist-custom-elements/duet-show-more.js +0 -9
  760. package/lib/dist-custom-elements/duet-slideout-lang.d.ts +0 -11
  761. package/lib/dist-custom-elements/duet-slideout-lang.js +0 -76
  762. package/lib/dist-custom-elements/duet-slideout-link.d.ts +0 -11
  763. package/lib/dist-custom-elements/duet-slideout-link.js +0 -79
  764. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.d.ts +0 -11
  765. package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +0 -93
  766. package/lib/dist-custom-elements/duet-slideout-panel.d.ts +0 -11
  767. package/lib/dist-custom-elements/duet-slideout-panel.js +0 -224
  768. package/lib/dist-custom-elements/duet-slideout.d.ts +0 -11
  769. package/lib/dist-custom-elements/duet-slideout.js +0 -311
  770. package/lib/dist-custom-elements/duet-spacer.d.ts +0 -11
  771. package/lib/dist-custom-elements/duet-spacer.js +0 -9
  772. package/lib/dist-custom-elements/duet-spinner.d.ts +0 -11
  773. package/lib/dist-custom-elements/duet-spinner.js +0 -9
  774. package/lib/dist-custom-elements/duet-step.d.ts +0 -11
  775. package/lib/dist-custom-elements/duet-step.js +0 -147
  776. package/lib/dist-custom-elements/duet-stepper.d.ts +0 -11
  777. package/lib/dist-custom-elements/duet-stepper.js +0 -151
  778. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.d.ts +0 -11
  779. package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +0 -81
  780. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.d.ts +0 -11
  781. package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +0 -152
  782. package/lib/dist-custom-elements/duet-submenu-bar-item.d.ts +0 -11
  783. package/lib/dist-custom-elements/duet-submenu-bar-item.js +0 -113
  784. package/lib/dist-custom-elements/duet-submenu-bar-link.d.ts +0 -11
  785. package/lib/dist-custom-elements/duet-submenu-bar-link.js +0 -72
  786. package/lib/dist-custom-elements/duet-submenu-bar.d.ts +0 -11
  787. package/lib/dist-custom-elements/duet-submenu-bar.js +0 -192
  788. package/lib/dist-custom-elements/duet-tab-group.d.ts +0 -11
  789. package/lib/dist-custom-elements/duet-tab-group.js +0 -339
  790. package/lib/dist-custom-elements/duet-tab.d.ts +0 -11
  791. package/lib/dist-custom-elements/duet-tab.js +0 -150
  792. package/lib/dist-custom-elements/duet-table.d.ts +0 -11
  793. package/lib/dist-custom-elements/duet-table.js +0 -9
  794. package/lib/dist-custom-elements/duet-textarea.d.ts +0 -11
  795. package/lib/dist-custom-elements/duet-textarea.js +0 -301
  796. package/lib/dist-custom-elements/duet-toggle.d.ts +0 -11
  797. package/lib/dist-custom-elements/duet-toggle.js +0 -146
  798. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.d.ts +0 -11
  799. package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +0 -80
  800. package/lib/dist-custom-elements/duet-toolbar-dropdown.d.ts +0 -11
  801. package/lib/dist-custom-elements/duet-toolbar-dropdown.js +0 -107
  802. package/lib/dist-custom-elements/duet-toolbar-item.d.ts +0 -11
  803. package/lib/dist-custom-elements/duet-toolbar-item.js +0 -120
  804. package/lib/dist-custom-elements/duet-toolbar-link.d.ts +0 -11
  805. package/lib/dist-custom-elements/duet-toolbar-link.js +0 -74
  806. package/lib/dist-custom-elements/duet-toolbar.d.ts +0 -11
  807. package/lib/dist-custom-elements/duet-toolbar.js +0 -67
  808. package/lib/dist-custom-elements/duet-tooltip-button.d.ts +0 -11
  809. package/lib/dist-custom-elements/duet-tooltip-button.js +0 -9
  810. package/lib/dist-custom-elements/duet-tooltip-popup.d.ts +0 -11
  811. package/lib/dist-custom-elements/duet-tooltip-popup.js +0 -9
  812. package/lib/dist-custom-elements/duet-tooltip.d.ts +0 -11
  813. package/lib/dist-custom-elements/duet-tooltip.js +0 -9
  814. package/lib/dist-custom-elements/duet-tray.d.ts +0 -11
  815. package/lib/dist-custom-elements/duet-tray.js +0 -146
  816. package/lib/dist-custom-elements/duet-upload-aria-status.d.ts +0 -11
  817. package/lib/dist-custom-elements/duet-upload-aria-status.js +0 -9
  818. package/lib/dist-custom-elements/duet-upload-item.d.ts +0 -11
  819. package/lib/dist-custom-elements/duet-upload-item.js +0 -9
  820. package/lib/dist-custom-elements/duet-upload.d.ts +0 -11
  821. package/lib/dist-custom-elements/duet-upload.js +0 -1444
  822. package/lib/dist-custom-elements/duet-visually-hidden.d.ts +0 -11
  823. package/lib/dist-custom-elements/duet-visually-hidden.js +0 -9
  824. package/lib/dist-custom-elements/index.d.ts +0 -33
  825. package/lib/dist-custom-elements/index.js +0 -29
  826. package/lib/dist-custom-elements/p-02f97b91.js +0 -39
  827. package/lib/dist-custom-elements/p-087d8c5a.js +0 -60
  828. package/lib/dist-custom-elements/p-115c79b6.js +0 -6
  829. package/lib/dist-custom-elements/p-1296f851.js +0 -63
  830. package/lib/dist-custom-elements/p-174a9d1d.js +0 -73
  831. package/lib/dist-custom-elements/p-1ccd7c39.js +0 -80
  832. package/lib/dist-custom-elements/p-1f4fbc7a.js +0 -138
  833. package/lib/dist-custom-elements/p-22147601.js +0 -642
  834. package/lib/dist-custom-elements/p-29be247b.js +0 -80
  835. package/lib/dist-custom-elements/p-2c70b9f4.js +0 -50
  836. package/lib/dist-custom-elements/p-2f25dfb3.js +0 -154
  837. package/lib/dist-custom-elements/p-330bcf1d.js +0 -205
  838. package/lib/dist-custom-elements/p-3431b690.js +0 -368
  839. package/lib/dist-custom-elements/p-35375593.js +0 -161
  840. package/lib/dist-custom-elements/p-36ab2d57.js +0 -83
  841. package/lib/dist-custom-elements/p-3ce1f7b8.js +0 -214
  842. package/lib/dist-custom-elements/p-41dca9e4.js +0 -63
  843. package/lib/dist-custom-elements/p-430f3778.js +0 -100
  844. package/lib/dist-custom-elements/p-43c4a1af.js +0 -81
  845. package/lib/dist-custom-elements/p-4da43fbc.js +0 -232
  846. package/lib/dist-custom-elements/p-68c629a8.js +0 -127
  847. package/lib/dist-custom-elements/p-6b77d4d3.js +0 -338
  848. package/lib/dist-custom-elements/p-81287261.js +0 -1348
  849. package/lib/dist-custom-elements/p-89b10856.js +0 -102
  850. package/lib/dist-custom-elements/p-956e3bce.js +0 -110
  851. package/lib/dist-custom-elements/p-993aea39.js +0 -175
  852. package/lib/dist-custom-elements/p-9df4cfa4.js +0 -25
  853. package/lib/dist-custom-elements/p-9f9423c6.js +0 -56
  854. package/lib/dist-custom-elements/p-9fa4eb51.js +0 -94
  855. package/lib/dist-custom-elements/p-a2147aff.js +0 -268
  856. package/lib/dist-custom-elements/p-aaa7a7bd.js +0 -13
  857. package/lib/dist-custom-elements/p-ab34075b.js +0 -124
  858. package/lib/dist-custom-elements/p-ad615991.js +0 -115
  859. package/lib/dist-custom-elements/p-b0925e24.js +0 -318
  860. package/lib/dist-custom-elements/p-b8de9a9c.js +0 -165
  861. package/lib/dist-custom-elements/p-c7d815f6.js +0 -194
  862. package/lib/dist-custom-elements/p-ca700701.js +0 -55
  863. package/lib/dist-custom-elements/p-d004da5f.js +0 -6
  864. package/lib/dist-custom-elements/p-d1f89e90.js +0 -124
  865. package/lib/dist-custom-elements/p-d2a5148f.js +0 -61
  866. package/lib/dist-custom-elements/p-d77db171.js +0 -2130
  867. package/lib/dist-custom-elements/p-dad518a5.js +0 -303
  868. package/lib/dist-custom-elements/p-de4ee016.js +0 -209
  869. package/lib/dist-custom-elements/p-de8f018a.js +0 -55
  870. package/lib/dist-custom-elements/p-df2042f8.js +0 -206
  871. package/lib/dist-custom-elements/p-e176f419.js +0 -61
  872. package/lib/dist-custom-elements/p-e37d189b.js +0 -607
  873. package/lib/dist-custom-elements/p-f11208c3.js +0 -6
  874. package/lib/dist-custom-elements/p-fe9e47d9.js +0 -287
  875. package/lib/duet/duet.js +0 -127
  876. package/lib/duet/p-021a4763.system.entry.js +0 -4
  877. package/lib/duet/p-031167a1.system.entry.js +0 -4
  878. package/lib/duet/p-051c4536.entry.js +0 -4
  879. package/lib/duet/p-053b71e6.system.js +0 -4
  880. package/lib/duet/p-05ca5aea.entry.js +0 -4
  881. package/lib/duet/p-07847129.system.entry.js +0 -4
  882. package/lib/duet/p-0a305aee.entry.js +0 -4
  883. package/lib/duet/p-0c4bbd65.system.js +0 -4
  884. package/lib/duet/p-0d7da85a.js +0 -4
  885. package/lib/duet/p-0dc9089b.system.js +0 -4
  886. package/lib/duet/p-0e348f96.system.entry.js +0 -4
  887. package/lib/duet/p-0e8e80b1.entry.js +0 -4
  888. package/lib/duet/p-0ee85b71.entry.js +0 -4
  889. package/lib/duet/p-115c79b6.js +0 -4
  890. package/lib/duet/p-1183d305.system.entry.js +0 -4
  891. package/lib/duet/p-1268b5a0.system.entry.js +0 -4
  892. package/lib/duet/p-153b6150.system.entry.js +0 -4
  893. package/lib/duet/p-192bba35.system.entry.js +0 -4
  894. package/lib/duet/p-1e17463d.system.js +0 -4
  895. package/lib/duet/p-1e904342.entry.js +0 -4
  896. package/lib/duet/p-1e9e887d.entry.js +0 -4
  897. package/lib/duet/p-209d6065.system.entry.js +0 -4
  898. package/lib/duet/p-20d056ac.entry.js +0 -4
  899. package/lib/duet/p-20eaf445.system.entry.js +0 -4
  900. package/lib/duet/p-215f4257.system.entry.js +0 -4
  901. package/lib/duet/p-237efb0c.system.entry.js +0 -4
  902. package/lib/duet/p-2437b4cb.js +0 -4
  903. package/lib/duet/p-250fb070.entry.js +0 -4
  904. package/lib/duet/p-25af4a6c.entry.js +0 -4
  905. package/lib/duet/p-25d79094.entry.js +0 -4
  906. package/lib/duet/p-27260106.entry.js +0 -4
  907. package/lib/duet/p-27ed5ca7.system.entry.js +0 -4
  908. package/lib/duet/p-2810c6dc.system.entry.js +0 -4
  909. package/lib/duet/p-2814473c.system.entry.js +0 -4
  910. package/lib/duet/p-29152853.entry.js +0 -4
  911. package/lib/duet/p-2a0ad29c.system.entry.js +0 -4
  912. package/lib/duet/p-2a979523.entry.js +0 -4
  913. package/lib/duet/p-2b2cd3be.entry.js +0 -4
  914. package/lib/duet/p-2b35de7b.entry.js +0 -4
  915. package/lib/duet/p-2b45d2e4.entry.js +0 -4
  916. package/lib/duet/p-2bf17427.entry.js +0 -4
  917. package/lib/duet/p-2dc360ee.entry.js +0 -4
  918. package/lib/duet/p-2de0ab3d.system.entry.js +0 -4
  919. package/lib/duet/p-2fa7ecef.entry.js +0 -4
  920. package/lib/duet/p-2fb96333.entry.js +0 -4
  921. package/lib/duet/p-3106c658.entry.js +0 -4
  922. package/lib/duet/p-34024554.system.entry.js +0 -4
  923. package/lib/duet/p-34d7dd10.system.js +0 -4
  924. package/lib/duet/p-380f74e8.system.entry.js +0 -4
  925. package/lib/duet/p-3810c7dc.entry.js +0 -4
  926. package/lib/duet/p-3c64dab9.entry.js +0 -4
  927. package/lib/duet/p-3d826a58.system.entry.js +0 -4
  928. package/lib/duet/p-3d96186f.system.entry.js +0 -4
  929. package/lib/duet/p-3df2981e.system.entry.js +0 -4
  930. package/lib/duet/p-3faaa469.entry.js +0 -4
  931. package/lib/duet/p-3fe7e109.system.entry.js +0 -4
  932. package/lib/duet/p-40bab9a0.system.entry.js +0 -4
  933. package/lib/duet/p-41552571.system.entry.js +0 -4
  934. package/lib/duet/p-41982d26.system.js +0 -4
  935. package/lib/duet/p-43cc4ad9.system.entry.js +0 -4
  936. package/lib/duet/p-43d16748.system.entry.js +0 -4
  937. package/lib/duet/p-44ee649f.system.entry.js +0 -4
  938. package/lib/duet/p-486576ee.entry.js +0 -4
  939. package/lib/duet/p-49957220.system.js +0 -4
  940. package/lib/duet/p-49fa4a07.entry.js +0 -4
  941. package/lib/duet/p-4a9978a4.entry.js +0 -4
  942. package/lib/duet/p-4cff3036.system.js +0 -4
  943. package/lib/duet/p-4e7f27d8.entry.js +0 -4
  944. package/lib/duet/p-4e9052cd.entry.js +0 -4
  945. package/lib/duet/p-4ee7eb8a.entry.js +0 -4
  946. package/lib/duet/p-5170726b.system.entry.js +0 -4
  947. package/lib/duet/p-55674524.entry.js +0 -4
  948. package/lib/duet/p-58caf53a.system.entry.js +0 -4
  949. package/lib/duet/p-5b927db3.entry.js +0 -4
  950. package/lib/duet/p-5db9497a.entry.js +0 -4
  951. package/lib/duet/p-5dbd1202.entry.js +0 -4
  952. package/lib/duet/p-5e25b406.entry.js +0 -4
  953. package/lib/duet/p-60547899.system.entry.js +0 -4
  954. package/lib/duet/p-605e69c8.system.js +0 -4
  955. package/lib/duet/p-612fbfcc.entry.js +0 -4
  956. package/lib/duet/p-620d4575.system.entry.js +0 -4
  957. package/lib/duet/p-629a9c13.entry.js +0 -4
  958. package/lib/duet/p-62bdecfb.system.entry.js +0 -4
  959. package/lib/duet/p-6324514a.system.entry.js +0 -4
  960. package/lib/duet/p-6447f20d.system.entry.js +0 -4
  961. package/lib/duet/p-6537159a.system.entry.js +0 -4
  962. package/lib/duet/p-670bd483.system.entry.js +0 -4
  963. package/lib/duet/p-6b436ca9.entry.js +0 -4
  964. package/lib/duet/p-7483d86c.entry.js +0 -4
  965. package/lib/duet/p-76563c02.entry.js +0 -4
  966. package/lib/duet/p-769a3309.system.entry.js +0 -4
  967. package/lib/duet/p-76b42e90.entry.js +0 -4
  968. package/lib/duet/p-76b84b22.entry.js +0 -4
  969. package/lib/duet/p-76d69a18.system.js +0 -4
  970. package/lib/duet/p-7972306f.entry.js +0 -4
  971. package/lib/duet/p-79dfc8e6.system.entry.js +0 -4
  972. package/lib/duet/p-7a67ce10.system.entry.js +0 -4
  973. package/lib/duet/p-7acabaa7.system.js +0 -4
  974. package/lib/duet/p-7cce22af.system.js +0 -4
  975. package/lib/duet/p-7d2fffc2.entry.js +0 -4
  976. package/lib/duet/p-7d8a2628.js +0 -4
  977. package/lib/duet/p-7dd3b7d1.entry.js +0 -4
  978. package/lib/duet/p-7f5c1da2.entry.js +0 -4
  979. package/lib/duet/p-8142169f.system.entry.js +0 -4
  980. package/lib/duet/p-8481bbda.entry.js +0 -4
  981. package/lib/duet/p-871d7ca1.system.entry.js +0 -4
  982. package/lib/duet/p-894c1be1.system.entry.js +0 -4
  983. package/lib/duet/p-8abb0984.js +0 -5
  984. package/lib/duet/p-8f477bd6.system.js +0 -4
  985. package/lib/duet/p-8f4cdf46.system.entry.js +0 -4
  986. package/lib/duet/p-8faaaf5f.system.js +0 -4
  987. package/lib/duet/p-9253e832.system.entry.js +0 -4
  988. package/lib/duet/p-965e597c.system.js +0 -4
  989. package/lib/duet/p-966bd64a.entry.js +0 -4
  990. package/lib/duet/p-98636086.system.js +0 -4
  991. package/lib/duet/p-9b04e4a2.entry.js +0 -4
  992. package/lib/duet/p-9fb9ba73.entry.js +0 -4
  993. package/lib/duet/p-a19244e5.system.js +0 -5
  994. package/lib/duet/p-a1b7f2a0.js +0 -4
  995. package/lib/duet/p-a2aa619b.system.entry.js +0 -4
  996. package/lib/duet/p-a2b93336.system.entry.js +0 -4
  997. package/lib/duet/p-a3341588.entry.js +0 -4
  998. package/lib/duet/p-a47047f2.entry.js +0 -4
  999. package/lib/duet/p-a51e1b9e.entry.js +0 -4
  1000. package/lib/duet/p-a600451a.entry.js +0 -4
  1001. package/lib/duet/p-a7d809b4.system.entry.js +0 -4
  1002. package/lib/duet/p-a8a381c9.system.entry.js +0 -4
  1003. package/lib/duet/p-aa82f9a1.entry.js +0 -4
  1004. package/lib/duet/p-aaa7a7bd.js +0 -4
  1005. package/lib/duet/p-ac9460ca.entry.js +0 -4
  1006. package/lib/duet/p-aca3a5a9.entry.js +0 -4
  1007. package/lib/duet/p-af209330.entry.js +0 -4
  1008. package/lib/duet/p-afad5fd3.system.js +0 -4
  1009. package/lib/duet/p-b010f56b.system.entry.js +0 -4
  1010. package/lib/duet/p-b69f3d9d.system.entry.js +0 -4
  1011. package/lib/duet/p-b6c584b6.entry.js +0 -4
  1012. package/lib/duet/p-b765710e.entry.js +0 -4
  1013. package/lib/duet/p-b864159a.system.js +0 -4
  1014. package/lib/duet/p-ba03d034.system.js +0 -4
  1015. package/lib/duet/p-bcc40139.system.entry.js +0 -4
  1016. package/lib/duet/p-beeb12f1.js +0 -4
  1017. package/lib/duet/p-c15cd383.system.entry.js +0 -4
  1018. package/lib/duet/p-c22935bf.system.entry.js +0 -4
  1019. package/lib/duet/p-c2dd561e.entry.js +0 -4
  1020. package/lib/duet/p-c3ba8e74.system.entry.js +0 -4
  1021. package/lib/duet/p-c52e8007.entry.js +0 -4
  1022. package/lib/duet/p-c6894b07.system.entry.js +0 -4
  1023. package/lib/duet/p-c694f12d.system.entry.js +0 -4
  1024. package/lib/duet/p-c79cbfdb.entry.js +0 -4
  1025. package/lib/duet/p-c8421271.system.entry.js +0 -4
  1026. package/lib/duet/p-c8d3cb52.entry.js +0 -4
  1027. package/lib/duet/p-c8e22ae2.system.entry.js +0 -4
  1028. package/lib/duet/p-ca3cb21e.js +0 -4
  1029. package/lib/duet/p-cbedbd77.system.entry.js +0 -4
  1030. package/lib/duet/p-cc5e6288.system.js +0 -4
  1031. package/lib/duet/p-cc67e773.js +0 -4
  1032. package/lib/duet/p-ce543cc1.system.entry.js +0 -4
  1033. package/lib/duet/p-cf30c088.entry.js +0 -4
  1034. package/lib/duet/p-d004da5f.js +0 -4
  1035. package/lib/duet/p-d3c304b5.system.js +0 -4
  1036. package/lib/duet/p-d43fc5e9.system.entry.js +0 -4
  1037. package/lib/duet/p-d6dc9819.system.entry.js +0 -4
  1038. package/lib/duet/p-d7d86092.js +0 -4
  1039. package/lib/duet/p-d86d8491.system.entry.js +0 -4
  1040. package/lib/duet/p-db2ccb9d.system.js +0 -4
  1041. package/lib/duet/p-dfd223d9.entry.js +0 -4
  1042. package/lib/duet/p-e0536bb5.entry.js +0 -4
  1043. package/lib/duet/p-e12066c8.system.js +0 -4
  1044. package/lib/duet/p-e1c881da.system.js +0 -4
  1045. package/lib/duet/p-e216bea4.system.js +0 -4
  1046. package/lib/duet/p-e258270f.entry.js +0 -4
  1047. package/lib/duet/p-e2daf94c.entry.js +0 -4
  1048. package/lib/duet/p-e38edd16.system.entry.js +0 -4
  1049. package/lib/duet/p-e44da0ff.system.entry.js +0 -4
  1050. package/lib/duet/p-e4c8559c.system.js +0 -4
  1051. package/lib/duet/p-e6b5a1c7.system.js +0 -4
  1052. package/lib/duet/p-e8dd29e7.entry.js +0 -4
  1053. package/lib/duet/p-e93849fd.system.entry.js +0 -4
  1054. package/lib/duet/p-e9d2f4a1.entry.js +0 -4
  1055. package/lib/duet/p-eca03d5e.js +0 -4
  1056. package/lib/duet/p-ee1eb7cb.system.entry.js +0 -4
  1057. package/lib/duet/p-efa5ec67.entry.js +0 -4
  1058. package/lib/duet/p-f0b0e2b2.system.entry.js +0 -4
  1059. package/lib/duet/p-f105f32a.system.entry.js +0 -4
  1060. package/lib/duet/p-f11208c3.js +0 -4
  1061. package/lib/duet/p-f3633004.entry.js +0 -4
  1062. package/lib/duet/p-f3cf6b50.entry.js +0 -4
  1063. package/lib/duet/p-f43e134e.system.entry.js +0 -4
  1064. package/lib/duet/p-f5dd7e7e.system.entry.js +0 -4
  1065. package/lib/duet/p-f6000a03.js +0 -4
  1066. package/lib/duet/p-f6b21d17.system.js +0 -4
  1067. package/lib/duet/p-f6bd2d4f.system.entry.js +0 -4
  1068. package/lib/duet/p-f75a6d54.system.entry.js +0 -4
  1069. package/lib/duet/p-f97500ff.system.entry.js +0 -4
  1070. package/lib/duet/p-fa3b3dbc.system.entry.js +0 -4
  1071. package/lib/duet/p-fbc396a7.system.entry.js +0 -4
  1072. package/lib/duet/p-fbf89657.system.entry.js +0 -4
  1073. package/lib/duet/p-fcb14b31.system.entry.js +0 -4
  1074. package/lib/duet/p-fd2299b4.entry.js +0 -4
  1075. package/lib/duet/p-fd78f61a.js +0 -4
  1076. package/lib/duet/p-fee25f59.entry.js +0 -4
  1077. package/lib/esm/a11y-utils-8fc393f6.js +0 -23
  1078. package/lib/esm/action-arrow-down-small-82273dc8.js +0 -6
  1079. package/lib/esm/action-new-window-small-1945be91.js +0 -6
  1080. package/lib/esm/body-scroll-46854769.js +0 -234
  1081. package/lib/esm/bodyScrollLock.es6-ecbf187e.js +0 -184
  1082. package/lib/esm/common-strings-af765cad.js +0 -25
  1083. package/lib/esm/create-id-149a1b6d.js +0 -11
  1084. package/lib/esm/duet-chip_3.entry.js +0 -693
  1085. package/lib/esm/floating-ui.dom.esm-ebc91b33.js +0 -1348
  1086. package/lib/esm/focus-utils-adcd9463.js +0 -18
  1087. package/lib/esm/form-search-ea8e19ae.js +0 -6
  1088. package/lib/esm/input-utils-85681162.js +0 -53
  1089. package/lib/esm/is-internet-explorer-2c48f686.js +0 -9
  1090. package/lib/esm/js-utils-9b9e0039.js +0 -47
  1091. package/lib/esm/label-ce262202.js +0 -20
  1092. package/lib/esm/polyfills/core-js.js +0 -11
  1093. package/lib/esm/polyfills/dom.js +0 -79
  1094. package/lib/esm/polyfills/es5-html-element.js +0 -1
  1095. package/lib/esm/polyfills/index.js +0 -34
  1096. package/lib/esm/polyfills/system.js +0 -6
  1097. package/lib/esm/string-utils-192eb3c8.js +0 -61
  1098. package/lib/esm/teleport-546f382d.js +0 -116
  1099. package/lib/esm/themeable-component-860041c5.js +0 -13
  1100. package/lib/esm/tokens-84fb2357.js +0 -753
  1101. package/lib/esm/tokens.module-2d02f5ff.js +0 -503
  1102. package/lib/esm/watch-options-e96ecd92.js +0 -57
  1103. package/lib/esm-es5/a11y-utils-8fc393f6.js +0 -4
  1104. package/lib/esm-es5/action-arrow-down-small-82273dc8.js +0 -4
  1105. package/lib/esm-es5/action-new-window-small-1945be91.js +0 -4
  1106. package/lib/esm-es5/app-globals-00959ca9.js +0 -4
  1107. package/lib/esm-es5/body-scroll-46854769.js +0 -4
  1108. package/lib/esm-es5/bodyScrollLock.es6-ecbf187e.js +0 -4
  1109. package/lib/esm-es5/common-strings-af765cad.js +0 -4
  1110. package/lib/esm-es5/create-id-149a1b6d.js +0 -4
  1111. package/lib/esm-es5/duet-action-button.entry.js +0 -4
  1112. package/lib/esm-es5/duet-alert.entry.js +0 -4
  1113. package/lib/esm-es5/duet-badge.entry.js +0 -4
  1114. package/lib/esm-es5/duet-banner.entry.js +0 -4
  1115. package/lib/esm-es5/duet-breadcrumb.entry.js +0 -4
  1116. package/lib/esm-es5/duet-breadcrumbs.entry.js +0 -4
  1117. package/lib/esm-es5/duet-button_2.entry.js +0 -4
  1118. package/lib/esm-es5/duet-callout.entry.js +0 -4
  1119. package/lib/esm-es5/duet-caption_4.entry.js +0 -4
  1120. package/lib/esm-es5/duet-card.entry.js +0 -4
  1121. package/lib/esm-es5/duet-checkbox.entry.js +0 -4
  1122. package/lib/esm-es5/duet-checkmark.entry.js +0 -4
  1123. package/lib/esm-es5/duet-chip_3.entry.js +0 -4
  1124. package/lib/esm-es5/duet-choice_2.entry.js +0 -4
  1125. package/lib/esm-es5/duet-collapsible.entry.js +0 -4
  1126. package/lib/esm-es5/duet-combobox.entry.js +0 -4
  1127. package/lib/esm-es5/duet-contact-card.entry.js +0 -4
  1128. package/lib/esm-es5/duet-cookie-consent.entry.js +0 -4
  1129. package/lib/esm-es5/duet-date-picker.entry.js +0 -4
  1130. package/lib/esm-es5/duet-divider_2.entry.js +0 -4
  1131. package/lib/esm-es5/duet-editable-table_3.entry.js +0 -4
  1132. package/lib/esm-es5/duet-empty-state.entry.js +0 -4
  1133. package/lib/esm-es5/duet-fieldset.entry.js +0 -4
  1134. package/lib/esm-es5/duet-file-chooser.entry.js +0 -4
  1135. package/lib/esm-es5/duet-footer.entry.js +0 -4
  1136. package/lib/esm-es5/duet-grid_2.entry.js +0 -4
  1137. package/lib/esm-es5/duet-header_2.entry.js +0 -4
  1138. package/lib/esm-es5/duet-hero.entry.js +0 -4
  1139. package/lib/esm-es5/duet-icon.entry.js +0 -4
  1140. package/lib/esm-es5/duet-input_2.entry.js +0 -4
  1141. package/lib/esm-es5/duet-layout.entry.js +0 -4
  1142. package/lib/esm-es5/duet-list_2.entry.js +0 -4
  1143. package/lib/esm-es5/duet-menu-bar-button.entry.js +0 -4
  1144. package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +0 -4
  1145. package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +0 -4
  1146. package/lib/esm-es5/duet-menu-bar-item.entry.js +0 -4
  1147. package/lib/esm-es5/duet-menu-bar-link.entry.js +0 -4
  1148. package/lib/esm-es5/duet-menu-bar.entry.js +0 -4
  1149. package/lib/esm-es5/duet-modal.entry.js +0 -4
  1150. package/lib/esm-es5/duet-multiselect.entry.js +0 -4
  1151. package/lib/esm-es5/duet-nav.entry.js +0 -4
  1152. package/lib/esm-es5/duet-notification_2.entry.js +0 -4
  1153. package/lib/esm-es5/duet-number-input.entry.js +0 -4
  1154. package/lib/esm-es5/duet-overlay.entry.js +0 -4
  1155. package/lib/esm-es5/duet-page-heading.entry.js +0 -4
  1156. package/lib/esm-es5/duet-pagination_2.entry.js +0 -4
  1157. package/lib/esm-es5/duet-progress.entry.js +0 -4
  1158. package/lib/esm-es5/duet-promo-card.entry.js +0 -4
  1159. package/lib/esm-es5/duet-radio_2.entry.js +0 -4
  1160. package/lib/esm-es5/duet-range-slider.entry.js +0 -4
  1161. package/lib/esm-es5/duet-scrollable_3.entry.js +0 -4
  1162. package/lib/esm-es5/duet-section-layout.entry.js +0 -4
  1163. package/lib/esm-es5/duet-select.entry.js +0 -4
  1164. package/lib/esm-es5/duet-shaped-image.entry.js +0 -4
  1165. package/lib/esm-es5/duet-show-more.entry.js +0 -4
  1166. package/lib/esm-es5/duet-slideout-lang.entry.js +0 -4
  1167. package/lib/esm-es5/duet-slideout-link.entry.js +0 -4
  1168. package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +0 -4
  1169. package/lib/esm-es5/duet-slideout-panel.entry.js +0 -4
  1170. package/lib/esm-es5/duet-slideout.entry.js +0 -4
  1171. package/lib/esm-es5/duet-step_2.entry.js +0 -4
  1172. package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +0 -4
  1173. package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +0 -4
  1174. package/lib/esm-es5/duet-submenu-bar-item.entry.js +0 -4
  1175. package/lib/esm-es5/duet-submenu-bar-link.entry.js +0 -4
  1176. package/lib/esm-es5/duet-submenu-bar.entry.js +0 -4
  1177. package/lib/esm-es5/duet-textarea.entry.js +0 -4
  1178. package/lib/esm-es5/duet-toggle.entry.js +0 -4
  1179. package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +0 -4
  1180. package/lib/esm-es5/duet-toolbar-dropdown.entry.js +0 -4
  1181. package/lib/esm-es5/duet-toolbar-item.entry.js +0 -4
  1182. package/lib/esm-es5/duet-toolbar-link.entry.js +0 -4
  1183. package/lib/esm-es5/duet-toolbar.entry.js +0 -4
  1184. package/lib/esm-es5/duet-tooltip-button_2.entry.js +0 -4
  1185. package/lib/esm-es5/duet-tooltip.entry.js +0 -4
  1186. package/lib/esm-es5/duet-tray.entry.js +0 -4
  1187. package/lib/esm-es5/duet-upload-aria-status.entry.js +0 -4
  1188. package/lib/esm-es5/duet-upload-item.entry.js +0 -4
  1189. package/lib/esm-es5/duet-visually-hidden.entry.js +0 -4
  1190. package/lib/esm-es5/duet.js +0 -4
  1191. package/lib/esm-es5/errorcodes.utils-d9431251.js +0 -4
  1192. package/lib/esm-es5/floating-ui.dom.esm-ebc91b33.js +0 -4
  1193. package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
  1194. package/lib/esm-es5/form-search-ea8e19ae.js +0 -4
  1195. package/lib/esm-es5/index-1d0b7c66.js +0 -5
  1196. package/lib/esm-es5/index.js +0 -3
  1197. package/lib/esm-es5/input-utils-85681162.js +0 -4
  1198. package/lib/esm-es5/is-internet-explorer-2c48f686.js +0 -4
  1199. package/lib/esm-es5/js-utils-9b9e0039.js +0 -4
  1200. package/lib/esm-es5/keyboard-utils-439bcc8b.js +0 -4
  1201. package/lib/esm-es5/label-ce262202.js +0 -4
  1202. package/lib/esm-es5/language-utils-14969cef.js +0 -4
  1203. package/lib/esm-es5/loader.js +0 -4
  1204. package/lib/esm-es5/slot-utils-4e5ed4eb.js +0 -4
  1205. package/lib/esm-es5/string-utils-192eb3c8.js +0 -4
  1206. package/lib/esm-es5/teleport-546f382d.js +0 -4
  1207. package/lib/esm-es5/themeable-component-860041c5.js +0 -4
  1208. package/lib/esm-es5/token-utils-b9ba8c5e.js +0 -4
  1209. package/lib/esm-es5/tokens-84fb2357.js +0 -4
  1210. package/lib/esm-es5/tokens.module-2d02f5ff.js +0 -4
  1211. package/lib/esm-es5/watch-options-e96ecd92.js +0 -4
  1212. package/lib/loader/package.json +0 -11
  1213. /package/lib/cjs/{body-scroll-dba42314.js → body-scroll-FWPe3_T_.js} +0 -0
  1214. /package/lib/cjs/{bodyScrollLock.es6-dd2d7d91.js → bodyScrollLock.es6-B2sCDud5.js} +0 -0
  1215. /package/lib/cjs/{create-id-1f8c438f.js → create-id-DtslnIOq.js} +0 -0
  1216. /package/lib/cjs/{input-utils-1096a2c5.js → input-utils-DUKdslOM.js} +0 -0
  1217. /package/lib/cjs/{is-internet-explorer-e7f58ebc.js → is-internet-explorer-BTLb_loH.js} +0 -0
  1218. /package/lib/cjs/{js-utils-92e24ba1.js → js-utils-hJ4A2edy.js} +0 -0
  1219. /package/lib/cjs/{string-utils-7b13c16e.js → string-utils-B35hEUBv.js} +0 -0
  1220. /package/lib/duet/{p-8354d1f1.js → p-B1B-PPrh.js} +0 -0
  1221. /package/lib/duet/{p-9e371678.js → p-BlUsLmbQ.js} +0 -0
  1222. /package/lib/duet/{p-fc09c464.js → p-C6CAT054.js} +0 -0
  1223. /package/lib/duet/{p-9c3c64b9.js → p-C6E9F6QT.js} +0 -0
  1224. /package/lib/duet/{p-df7874f9.js → p-CLDy7YaM.js} +0 -0
  1225. /package/lib/duet/{p-5e59e970.js → p-Cfr_DJqU.js} +0 -0
  1226. /package/lib/duet/{p-43b89e38.js → p-DxESMgwA.js} +0 -0
  1227. /package/lib/{dist-custom-elements/p-fc09c464.js → esm/body-scroll-C6CAT054.js} +0 -0
  1228. /package/lib/{dist-custom-elements/p-8354d1f1.js → esm/bodyScrollLock.es6-B1B-PPrh.js} +0 -0
  1229. /package/lib/{dist-custom-elements/p-5e59e970.js → esm/create-id-Cfr_DJqU.js} +0 -0
  1230. /package/lib/{dist-custom-elements/p-df7874f9.js → esm/input-utils-CLDy7YaM.js} +0 -0
  1231. /package/lib/{dist-custom-elements/p-43b89e38.js → esm/is-internet-explorer-DxESMgwA.js} +0 -0
  1232. /package/lib/{dist-custom-elements/p-9e371678.js → esm/js-utils-BlUsLmbQ.js} +0 -0
  1233. /package/lib/{dist-custom-elements/p-9c3c64b9.js → esm/string-utils-C6E9F6QT.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  /*!
2
2
  * Built with Duet Design System
3
3
  */
4
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-1d0b7c66.js';
5
- import { i as inheritGlobalTheme } from './themeable-component-860041c5.js';
6
- import { f as fieldSorter, d as debounce } from './js-utils-9b9e0039.js';
7
- import { i as isKeyboardClick } from './keyboard-utils-439bcc8b.js';
8
- import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString, s as sanitizeString } from './language-utils-14969cef.js';
9
- import { p as spaceLarge, q as fontFamilyText, r as fontSizeMedium, u as fontFamilyTextTurva, v as colorSecondary, w as colorSecondaryTurva, x as fontWeightSemiBold, y as lineHeightSmall, z as colorGrayDarker, A as colorGrayDarkTurva, B as spaceMedium, C as spaceXxSmall, n as colorGrayLightest, a as mediaQueryXSmall, D as spaceSmall, E as colorGrayLight, F as colorGrayLightTurva, G as colorGrayDarkerTurva, k as colorPrimary, H as sizeNavigation, s as sizeHeader } from './tokens.module-2d02f5ff.js';
10
- import { b as breakpointTokensUpTo, a as breakpointToToken } from './token-utils-b9ba8c5e.js';
11
- import { c as createID } from './create-id-149a1b6d.js';
12
- import { p as parsePossibleJSON } from './string-utils-192eb3c8.js';
13
- import { g as getError, a as getI18nError } from './errorcodes.utils-d9431251.js';
4
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement, F as Fragment } from './index-BVAkfiYN.js';
5
+ import { i as inheritGlobalTheme } from './themeable-component-B8TGOi99.js';
6
+ import { f as fieldSorter, d as debounce } from './js-utils-BlUsLmbQ.js';
7
+ import { i as isKeyboardClick } from './keyboard-utils-Db8rvjPI.js';
8
+ import { a as getLanguage, c as connectLanguageChangeObserver, d as disconnectLanguageChangeObserver, g as getLocaleString, s as sanitizeString } from './language-utils-uFQZRSPE.js';
9
+ import { o as spaceLarge, p as fontFamilyText, q as fontSizeMedium, r as fontFamilyTextTurva, u as colorSecondary, v as colorSecondaryTurva, w as fontWeightSemiBold, x as lineHeightSmall, y as colorGrayDarker, z as colorGrayDarkTurva, A as spaceMedium, B as spaceXxSmall, C as colorGrayLightest, j as mediaQueryXSmall, D as spaceSmall, E as colorGrayLight, F as colorGrayLightTurva, G as colorGrayDarkerTurva, a as colorPrimary, s as sizeHeader, H as sizeNavigation } from './tokens.module-Bh9dkusU.js';
10
+ import { b as breakpointTokensUpTo, a as breakpointToToken } from './token-utils-Dw-GA7-4.js';
11
+ import { c as createID } from './create-id-Cfr_DJqU.js';
12
+ import { p as parsePossibleJSON } from './string-utils-C6E9F6QT.js';
13
+ import { a as getError, g as getI18nError } from './errorcodes.utils-DCSMydPz.js';
14
14
 
15
15
  //simple functional component that renders the data in the table
16
16
  const TableData = ({ data, groupId, alignment }, _children) => {
@@ -23,8 +23,7 @@ const TableData = ({ data, groupId, alignment }, _children) => {
23
23
  }
24
24
  };
25
25
 
26
- const duetEditableTableCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-editable-table-actions-menu,td.duet-editable-table-actions-menu{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon .duet-icon{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row .duet-text-right{text-align:right}.duet-editable-table-header tr .duet-editable-table-header-hidden{padding:0 !important;font-size:0;border-bottom:0}";
27
- const DuetEditableTableStyle0 = duetEditableTableCss;
26
+ const duetEditableTableCss = ":host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-editable-table-actions-menu,td.duet-editable-table-actions-menu{position:relative;padding:0 !important;margin:0}.duet-editable-table-actions-menu-button{position:relative;right:-16px;float:right;padding:0}.duet-editable-table-actions-menu-icon .duet-icon{max-width:16px;max-height:16px}.duet-editable-table-row.duet-table-action-row .duet-text-right{text-align:right}.duet-editable-table-header tr .duet-editable-table-header-hidden{padding:0 !important;font-size:0;border-bottom:0}";
28
27
 
29
28
  const DuetEditableTable = class {
30
29
  constructor(hostRef) {
@@ -34,6 +33,74 @@ const DuetEditableTable = class {
34
33
  this.hasHeadSlotFirst = false;
35
34
  this.hasHeadSlotLast = false;
36
35
  this.hasFootSlot = false;
36
+ this.language = getLanguage();
37
+ /**
38
+ * Duet-table: margin of the component.
39
+ */
40
+ this.margin = "auto";
41
+ /**
42
+ * Duet-table: Style variation of the table.
43
+ */
44
+ this.variation = "striped";
45
+ /**
46
+ * Duet-table: Controls whether the table has a sticky header.
47
+ * Sticky headers are not compatible with breakpoint="none-scrollable".
48
+ */
49
+ this.sticky = false;
50
+ /**
51
+ * Duet-table: Adjust the distance from top of the viewport (in pixels) when the
52
+ * table header becomes sticky.
53
+ */
54
+ this.stickyDistance = "with-links";
55
+ /**
56
+ * Duet-table: By default the table is responsive - it will be flattened at narrow viewport widths.
57
+ * This prop controls the breakpoint at which the table should be rendered as a _regular_ table.
58
+ * Set to "none" to disable the responsive functionality.
59
+ * Set to "none-scrollable" to disable responsive functionality _and_ allow horizontal scrolling -
60
+ * this is useful for comparison tables where it's important to maintain column and row layout.
61
+ */
62
+ this.breakpoint = "small";
63
+ /**
64
+ * Define actions for all items in a table
65
+ * An alternative to inline HTML table.
66
+ * required for Sortable tables
67
+ * @default undefined
68
+ */
69
+ this.actions = undefined;
70
+ /**
71
+ * Define columns for a table
72
+ * An alternative to inline HTML table.
73
+ * required for Sortable tables
74
+ * @default undefined
75
+ */
76
+ this.columns = undefined;
77
+ /**
78
+ * Define rows for a table
79
+ * An alternative to inline HTML table.
80
+ * required for Sortable tables
81
+ * @default undefined
82
+ */
83
+ this.rows = undefined;
84
+ /**
85
+ * Controls whether the table is sortable by headers
86
+ */
87
+ this.sortable = false;
88
+ /**
89
+ * Optional id that get passed to the table and used to setup ::parts
90
+ */
91
+ this.groupId = "";
92
+ /**
93
+ * Theme of the table.
94
+ */
95
+ this.theme = "";
96
+ /**
97
+ * Exposes the aria role for optimizing accessibility.
98
+ */
99
+ this.accessibleRole = undefined;
100
+ /**
101
+ * Hide a thead section visually. The content is still available to screen readers.
102
+ */
103
+ this.hideHeadVisually = false;
37
104
  this.sortableDefaultLabel = {
38
105
  fi: "Järjestä",
39
106
  en: "Click to sort",
@@ -64,20 +131,6 @@ const DuetEditableTable = class {
64
131
  this.toggleColumn(column, e);
65
132
  }
66
133
  };
67
- this.language = getLanguage();
68
- this.margin = "auto";
69
- this.variation = "striped";
70
- this.sticky = false;
71
- this.stickyDistance = "with-links";
72
- this.breakpoint = "small";
73
- this.actions = undefined;
74
- this.columns = undefined;
75
- this.rows = undefined;
76
- this.sortable = false;
77
- this.groupId = "";
78
- this.theme = "";
79
- this.accessibleRole = undefined;
80
- this.hideHeadVisually = false;
81
134
  }
82
135
  /**
83
136
  * Component lifecycle events.
@@ -174,7 +227,7 @@ const DuetEditableTable = class {
174
227
  * Render Methods
175
228
  */
176
229
  render() {
177
- return (h(Host, { key: '3d5bf5011822ef87cfa0e0286c8cf91e8496bae2', class: {
230
+ return (h(Host, { key: '05720c6ef38164df71b02c23fb45d3d84808c2ac', class: {
178
231
  [`duet-editable-table-${this.variation}`]: true,
179
232
  "duet-editable-table": true,
180
233
  [`duet-editable-table-${this.theme}`]: true,
@@ -184,12 +237,15 @@ const DuetEditableTable = class {
184
237
  "duet-editable-table-actions": !!this.actions,
185
238
  "duet-m-0": this.margin === "none",
186
239
  "duet-theme-turva": this.theme === "turva",
187
- } }, h("duet-table", { key: 'ec986291dd0b4a8210449af3dd0f233e7ea5951b', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h("table", { key: '1ae7b6227d4fb16d38ca46fcd3c164ba625cf18d', role: this.accessibleRole }, h("caption", { key: 'a78c14e03fad988f4b985eecb07674d90be9dafc' }, h("slot", { key: '3ab4a9d8f4f7a6818c4051e811d222bb31731fca', name: "tcaption" })), h("thead", { key: 'aca3450e23a6981df8a9bfefc6d4942914900138' }, this.hasHeadSlotFirst && (h("tr", { key: '95caf52351b79194f468e5f1b537e27514e3558e' }, h("td", { key: '35bea84e7baa12021a122bf6851d3a6b0a0105b3', class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { key: '6969c828d8f6717d2bc16daa2bb4d34225aacdcc', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (h("tr", { key: '64dc523c0369648863e076499b0ebb18f8f56ff4' }, h("td", { key: '64816f523901cd17e0f4481cb86e1596a0a079c3', class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { key: '6d69e2ee753e7dce6d3f47a7e7268cc5c0c10e12', name: "thead-last" }))))), h("tbody", { key: 'f5a526b833834a5d3601a479a9be3fd7de341d80' }, this.renderTableBody()), this.hasFootSlot && (h("tfoot", { key: '87bb8cfcad29c6033f95205666c0e09ae18f946b' }, h("tr", { key: '373cf5a124095988d9917422fd6c63da0bdd11b7' }, h("td", { key: 'ac6478d51c42552576d8e4f1708faebbec2d04fb', class: "duet-editable-table-footer-menu", colSpan: 99 }, h("slot", { key: 'b1257579708c35c4be3cb8148c63fd9d221ac8b3', name: "tfoot" })))))))));
240
+ } }, h("duet-table", { key: '52033d6f9c4e8ca460bacee6e2b8ea93da3b9eb8', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, h("table", { key: '7f0689d1e576d5f0c5324715feaf21ce21c42e97', role: this.accessibleRole }, h("caption", { key: '4e18555d5513dde6724a449d12030cc666937367' }, h("slot", { key: 'df9bcd3bde75a2669a08eb2ff0c67720750e5450', name: "tcaption" })), h("thead", { key: 'efbbe81840f6e9ae9e0cc91fee5653c43181f131' }, this.hasHeadSlotFirst && (h("tr", { key: '36d1a860bf16229740501f3b076b02125d1b3d85' }, h("td", { key: '24c22fca3cbfef4ab9e2582cf32bf967654b8b43', class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { key: 'a02148a1d13dc8c3147b26da2f5aa84e3b359cdf', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (h("tr", { key: '7b7ab392f982f5f7ce4caa5e86f7a1062412aad2' }, h("td", { key: 'cd739dea8b81f3290bb86d7e977fa83d124fdd03', class: "duet-editable-table-actions-menu", colSpan: 99 }, h("slot", { key: '068a9f86388a25ca00944d8e9ecfbed6cf0e2cfe', name: "thead-last" }))))), h("tbody", { key: 'f65077b6dee57c962826c459ddb044d4230753c5' }, this.renderTableBody()), this.hasFootSlot && (h("tfoot", { key: 'eceeface4ad0a0bbb15dc188a343291cef04ec72' }, h("tr", { key: 'aff41dc81c24e09a03db4742bf6d51c17b8ce937' }, h("td", { key: '5d332218393462356c02ca19ff9c3398fbeb89a7', class: "duet-editable-table-footer-menu", colSpan: 99 }, h("slot", { key: 'b438187cfa67ef90452783e9522d106ecf9ab9d3', name: "tfoot" })))))))));
188
241
  }
189
242
  get element() { return getElement(this); }
190
243
  };
191
- DuetEditableTable.style = DuetEditableTableStyle0;
244
+ DuetEditableTable.style = duetEditableTableCss;
192
245
 
246
+ const rgbable = (value) => {
247
+ return value.replace("rgb(", "").replace(")", "");
248
+ };
193
249
  const styles = `
194
250
  duet-table {
195
251
  box-sizing: border-box;
@@ -355,6 +411,7 @@ duet-table {
355
411
  .duet-table-sticky thead th {
356
412
  position: sticky;
357
413
  top: 0;
414
+ z-index: $z-index-sticky;
358
415
  background: ${colorGrayLightest};
359
416
  }
360
417
 
@@ -390,7 +447,7 @@ duet-table {
390
447
  }
391
448
 
392
449
  &.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
393
- background: rgba(${colorSecondaryTurva}, 0.04);
450
+ background: rgba(${rgbable(colorSecondaryTurva)}, 0.04);
394
451
  }
395
452
 
396
453
  tbody:not(:only-of-type) tr:nth-of-type(even) {
@@ -398,7 +455,7 @@ duet-table {
398
455
  }
399
456
 
400
457
  &.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
401
- background: rgba(${colorSecondaryTurva}, 0.04);
458
+ background: rgba(${rgbable(colorSecondaryTurva)}, 0.04);
402
459
  }
403
460
 
404
461
  tfoot td {
@@ -599,10 +656,10 @@ duet-table {
599
656
  }
600
657
 
601
658
  .duet-table-selected-column {
602
- background: rgba(${colorPrimary}, 0.08);
659
+ background: rgba(${rgbable(colorPrimary)}, 0.08);
603
660
 
604
661
  .duet-theme-turva & {
605
- background: rgba(${colorGrayDarkerTurva}, 0.08);
662
+ background: rgba(${rgbable(colorGrayDarkerTurva)}, 0.08);
606
663
  }
607
664
  }
608
665
 
@@ -663,6 +720,66 @@ duet-table {
663
720
  grid-column: 2;
664
721
  }
665
722
  }
723
+
724
+ duet-table.duet-theme-turva2 {
725
+ &.duet-theme-turva td {
726
+ color: $color-turva2-gray-900;
727
+ }
728
+
729
+ &.duet-theme-turva tbody th {
730
+ color: $color-turva2-gray-900;
731
+ }
732
+
733
+ &.duet-table-striped.duet-theme-turva.duet-table-sticky thead {
734
+ th,
735
+ td {
736
+ border-bottom-color: $color-turva-nude-100;
737
+ }
738
+ }
739
+
740
+ &.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
741
+ background: rgba($color-turva2-gray-900, 0.04);
742
+ }
743
+
744
+ &.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
745
+ background: rgba($color-turva2-gray-900, 0.04);
746
+ }
747
+
748
+ &.duet-table-striped.duet-theme-turva tfoot td {
749
+ border-top-color: $color-turva-nude-100;
750
+ }
751
+
752
+ &.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr {
753
+ border-top-color: $color-turva-nude-100;
754
+ }
755
+
756
+ &.duet-table-plain.duet-theme-turva tbody {
757
+ th,
758
+ td {
759
+ border-bottom-color: $color-turva-nude-100;
760
+ }
761
+ }
762
+
763
+ &.duet-table-plain.duet-theme-turva tbody td {
764
+ border-bottom-color: $color-turva-nude-100;
765
+ }
766
+
767
+ &.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr {
768
+ border-bottom-color: $color-turva-nude-100;
769
+ }
770
+
771
+ &.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot {
772
+ border-top-color: $color-turva-nude-100;
773
+ }
774
+
775
+ &.duet-table-fixed.duet-theme-turva:not(.duet-table-flattened) tfoot {
776
+ border-top-color: $color-turva-nude-100;
777
+ }
778
+
779
+ &.duet-table-sortable.duet-theme-turva:not(.duet-table-flattened) tfoot {
780
+ border-top-color: $color-turva-nude-100;
781
+ }
782
+ }
666
783
  }
667
784
  `.replace(/[\n\r\t]/gm, "");
668
785
  function createStyles(element) {
@@ -695,18 +812,47 @@ const DuetTable = class {
695
812
  constructor(hostRef) {
696
813
  registerInstance(this, hostRef);
697
814
  this.headingSelector = "thead tr > :not(*.duet-editable-table-actions-menu)";
698
- this.handleMediaQueryChange = (mq) => {
699
- this.matchesBreakpoint = breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
700
- };
815
+ /**
816
+ * Tracks whether the breakpoint is matched. This is set to true by default so that JavaScript disabled in SSR mode we get accessible table data first.
817
+ */
701
818
  this.matchesBreakpoint = true;
819
+ /**
820
+ * While table itself does not use language, the copyHeadingsToCells() method needs to be triggered when language changes.
821
+ */
702
822
  this.language = getLanguage();
703
- this.theme = undefined;
823
+ /**
824
+ * Controls the margin of the component.
825
+ */
704
826
  this.margin = "auto";
827
+ /**
828
+ * Style variation of the table.
829
+ */
705
830
  this.variation = "striped";
831
+ /**
832
+ * Controls whether the table has a sticky header.
833
+ * Sticky headers are not compatible with breakpoint="none-scrollable".
834
+ */
706
835
  this.sticky = false;
836
+ /**
837
+ * Adjust the distance from top of the viewport (in pixels) when the
838
+ * table header becomes sticky.
839
+ */
707
840
  this.stickyDistance = "with-links";
841
+ /**
842
+ * By default the table is responsive - it will be flattened at narrow viewport widths.
843
+ * This prop controls the breakpoint at which the table should be rendered as a _regular_ table.
844
+ * Set to "none" to disable the responsive functionality.
845
+ * Set to "none-scrollable" to disable responsive functionality _and_ allow horizontal scrolling -
846
+ * this is useful for comparison tables where it's important to maintain column and row layout.
847
+ */
708
848
  this.breakpoint = "small";
849
+ /**
850
+ * Hide a thead section visually. The content is still available to screen readers.
851
+ */
709
852
  this.hideHeadVisually = false;
853
+ this.handleMediaQueryChange = (mq) => {
854
+ this.matchesBreakpoint = breakpointTokensUpTo.includes(this.breakpoint) ? !mq.matches : mq.matches;
855
+ };
710
856
  }
711
857
  watchLanguageStateHandler(newValue, oldValue) {
712
858
  if (newValue !== oldValue) {
@@ -777,7 +923,7 @@ const DuetTable = class {
777
923
  });
778
924
  }
779
925
  render() {
780
- return (h(Host, { key: 'a02e59e614dfac870270c7e3d74e04fb2802c527', class: {
926
+ return (h(Host, { key: 'f7fa5871fe4bbfc89ec3683ad0d4d9824fb9347a', class: {
781
927
  [`duet-table-${this.variation}`]: true,
782
928
  "duet-table-flattened": !this.matchesBreakpoint,
783
929
  // sticky only valid when in regular table layout
@@ -786,7 +932,7 @@ const DuetTable = class {
786
932
  "duet-m-0": this.margin === "none",
787
933
  "duet-theme-turva": this.theme === "turva",
788
934
  "duet-table-hide-head-visually": this.hideHeadVisually,
789
- } }, h("slot", { key: 'd3938a251798e10cd525715687c827fd449272cc' })));
935
+ } }, h("slot", { key: '0bdd203be920ca5f48f82473ce69f63d0ee3aa86' })));
790
936
  }
791
937
  get element() { return getElement(this); }
792
938
  static get watchers() { return {
@@ -794,7 +940,7 @@ const DuetTable = class {
794
940
  }; }
795
941
  };
796
942
 
797
- const errorCodes = [
943
+ var errorCodes = [
798
944
  {
799
945
  type: "default",
800
946
  system_message: "unknown error",
@@ -1100,8 +1246,7 @@ const makeXhrRequest = ({ payload, options, onFailure, onSuccess, onProgress })
1100
1246
  return xhr;
1101
1247
  };
1102
1248
 
1103
- const duetUploadCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(212, 223, 229)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";
1104
- const DuetUploadStyle0 = duetUploadCss;
1249
+ const duetUploadCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}::slotted([slot=header]){margin-bottom:16px}::slotted([slot=fileheader]){margin:16px 0 0 0}::slotted([slot=filefooter]){margin-top:16px}::slotted([slot=uploadfooter]){margin-top:20px}.duet-upload{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-upload-item-size{font-size:0.75rem;font-weight:400}.duet-upload-filelist{margin-bottom:25px}.duet-upload-filelist-empty{display:flex;align-items:center;justify-content:center;width:100%;height:75px;margin:0 auto;font-size:1rem;font-weight:400;background-color:rgb(245, 248, 250)}.duet-upload-filelist-empty-label{font-size:1rem;font-weight:400}.duet-upload-editable-table-header-hidden{display:none}.duet-upload-editable-table tbody .duet-upload-editable-table-data{padding:0 !important;border:0}.duet-upload-editable-table duet-editable-table tfoot,.duet-upload-editable-table duet-editable-table thead{display:none}.duet-upload-editable-table duet-editable-table .duet-editable-table-content{padding-right:0 !important;padding-left:0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td{padding:1rem 0 !important}.duet-upload-editable-table duet-editable-table duet-table .duet-table-action-row td:last-child{padding-right:0 !important}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending{position:relative}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-progress,.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-progress{position:absolute;bottom:0;width:100%}.duet-upload-editable-table duet-editable-table .duet-editable-table-row-inprogress duet-action-button::part(button),.duet-upload-editable-table duet-editable-table .duet-editable-table-row-pending duet-action-button::part(button){border:0}duet-paragraph::part(duet-paragraph){word-break:break-word}duet-editable-table tfoot{display:none}.upload-bottom-caption{margin-top:12px;margin-bottom:16px;line-height:1.4rem}.items-header{display:none;flex-direction:row;margin-bottom:0}@media (min-width: 36em){.items-header{display:flex}}.items-header:not(:last-child),.items-header:not(:first-child){margin-top:12px}.items-header .category-header{width:35%}.items-header .filename-header{width:65%}.items-header .filename-header.no-category{width:100%}.upload-item-row{display:flex;flex-direction:column;gap:16px;align-content:center;align-items:center;padding:16px 0 16px 0;border-bottom:1px solid rgb(212, 223, 229)}@media (min-width: 36em){.upload-item-row{flex-direction:row;gap:10px}}.upload-item-row .item-categories{width:100%}@media (min-width: 36em){.upload-item-row .item-categories{width:35%}}.upload-item-row .item-name{position:relative;bottom:2px;width:100%;text-align:left}@media (min-width: 36em){.upload-item-row .item-name{width:50%}.upload-item-row .item-name.no-category{width:85%}}.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:block}@media (min-width: 36em){.upload-item-row .item-categories .heading,.upload-item-row .item-name .heading{display:none}}.upload-item-row .item-actions{width:100%;margin-left:-8px;text-align:left}@media (min-width: 36em){.upload-item-row .item-actions{width:15%;padding-top:0;margin-left:auto;text-align:right}}.upload-item-row .duet-upload-item-name duet-icon{position:relative;top:4px}.upload-item-row .duet-upload-item-name duet-progress{display:block;margin-top:16px}";
1105
1250
 
1106
1251
  const DuetUpload = class {
1107
1252
  constructor(hostRef) {
@@ -1117,6 +1262,330 @@ const DuetUpload = class {
1117
1262
  this.duetProgress = createEvent(this, "duetProgress", 3);
1118
1263
  this.duetUpload = createEvent(this, "duetUpload", 3);
1119
1264
  this.linkClick = createEvent(this, "linkClick", 3);
1265
+ /**
1266
+ * State() variables
1267
+ */
1268
+ this.tick = Date.now();
1269
+ /**
1270
+ * If external is set to true, the upload component will not actually upload the files, but only keep states
1271
+ * it will be up to you to handle the upload and return progress information to the upload-component
1272
+ */
1273
+ this.external = false;
1274
+ /**
1275
+ * If internal upload method is used, and this has been set to a function - it will be called with the XHR options before the reqeust is sent, return an updated XHR options object in order to manipulate the request
1276
+ */
1277
+ this.middleware = null;
1278
+ /**
1279
+ * If defer-upload is true, duet-upload will not (as recommended) instantly upload files but await a call to uploadPending()
1280
+ */
1281
+ this.deferUpload = false;
1282
+ /**
1283
+ * If set the upload component will not display an upload button, you will have to create one yourself
1284
+ * and call the exposed method startUpload to open the upload dialog
1285
+ */
1286
+ this.hideButton = false;
1287
+ /**
1288
+ * Default actions added to the internally used duet-editable-table
1289
+ */
1290
+ this.actions = [
1291
+ {
1292
+ icon: "action-delete",
1293
+ color: "color-danger",
1294
+ size: "x-small",
1295
+ background: "gray-lightest",
1296
+ name: "delete",
1297
+ map: ["success", "failure"],
1298
+ label: {
1299
+ fi: "Poista tiedosto",
1300
+ en: "Delete the file",
1301
+ sv: "Ta bort filen",
1302
+ },
1303
+ },
1304
+ {
1305
+ icon: "navigation-close",
1306
+ color: "primary",
1307
+ size: "x-small",
1308
+ background: "gray-lightest",
1309
+ name: "cancel",
1310
+ map: ["inprogress", "pending"],
1311
+ label: {
1312
+ fi: "Keskeytä lähetys",
1313
+ en: "Cancel the upload",
1314
+ sv: "Stop överföringen",
1315
+ },
1316
+ },
1317
+ ];
1318
+ /**
1319
+ * If enabled the editable-table will display links on successfully uploaded items,
1320
+ * this requires the server can respond with link URIs in the correct format
1321
+ * and that the files are accessible to the user
1322
+ */
1323
+ this.showLinks = false;
1324
+ /**
1325
+ * Property to change the aria upload progress text read aloud by screenreaders
1326
+ * @default {
1327
+ * fi: {
1328
+ * inProgress: "Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",
1329
+ * inProgressWithErrors:
1330
+ * "Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",
1331
+ * done: "Lähetys valmis, {filesTotal} lisätty onnistuneesti",
1332
+ * doneWithErrors: "Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",
1333
+ * files: "tiedostoa",
1334
+ * file: "tiedosto",
1335
+ * },
1336
+ * sv: {
1337
+ * inProgress: "Laddar upp {filesUploaded} av {filesTotal}",
1338
+ * inProgressWithErrors:
1339
+ * "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
1340
+ * done: "Uppladdningen slutförd, {filesTotal} har lagts till",
1341
+ * doneWithErrors: "Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1342
+ * files: "filer",
1343
+ * file: "fil",
1344
+ * },
1345
+ * en: {
1346
+ * inProgress: "Uploading {filesUploaded} of {filesTotal}",
1347
+ * inProgressWithErrors:
1348
+ * "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
1349
+ * done: "Upload completed, {filesTotal} added successfully",
1350
+ * doneWithErrors: "Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",
1351
+ * files: "files",
1352
+ * file: "file",
1353
+ * },
1354
+ * }
1355
+ */
1356
+ this.statusLabelDefaults = {
1357
+ fi: {
1358
+ inProgress: "Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",
1359
+ inProgressWithErrors: "Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",
1360
+ done: "Lähetys valmis, {filesTotal} lisätty onnistuneesti",
1361
+ doneWithErrors: "Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",
1362
+ files: "tiedostoa",
1363
+ file: "tiedosto",
1364
+ },
1365
+ sv: {
1366
+ inProgress: "Laddar upp {filesUploaded} av {filesTotal}",
1367
+ inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
1368
+ done: "Uppladdningen slutförd, {filesTotal} har lagts till",
1369
+ doneWithErrors: "Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1370
+ files: "filer",
1371
+ file: "fil",
1372
+ },
1373
+ en: {
1374
+ inProgress: "Uploading {filesUploaded} of {filesTotal}",
1375
+ inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
1376
+ done: "Upload completed, {filesTotal} added successfully",
1377
+ doneWithErrors: "Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",
1378
+ files: "files",
1379
+ file: "file",
1380
+ },
1381
+ };
1382
+ /**
1383
+ * Strings used for the status aria-label
1384
+ */
1385
+ this.statusMessageLabel = getLocaleString(this.statusLabelDefaults);
1386
+ /**
1387
+ * Property to change button label defaults on the component.
1388
+ * @default {
1389
+ fi: "Lisää liite",
1390
+ sv: "Lägg till en bilaga",
1391
+ en: "Add an attachment",
1392
+ }
1393
+ */
1394
+ this.buttonLabelDefaults = {
1395
+ fi: "Lisää liite",
1396
+ sv: "Lägg till en bilaga",
1397
+ en: "Add an attachment",
1398
+ };
1399
+ /**
1400
+ * Label of button
1401
+ * @default { fi: "Lisää liite", sv: "Lägg till en bilaga", en: "Add an attachment" }
1402
+ */
1403
+ this.buttonLabel = getLocaleString(this.buttonLabelDefaults);
1404
+ /**
1405
+ * accessible aria-Label of button
1406
+ */
1407
+ this.accessibleButtonLabel = undefined;
1408
+ /**
1409
+ * Theme of the input.
1410
+ */
1411
+ this.theme = "";
1412
+ /**
1413
+ * Makes the input component disabled. This prevents users from being able to
1414
+ * interact with the upload component, and conveys its inactive state to assistive technologies.
1415
+ */
1416
+ this.disabled = false;
1417
+ /**
1418
+ * Controls the margin of the component.
1419
+ */
1420
+ this.margin = "auto";
1421
+ /**
1422
+ * Set whether the input is required or not. Please note that this is necessary for
1423
+ * accessible inputs when the user is required to fill them. When using this property
1424
+ * you need to also set “novalidate” attribute to your form element to prevent
1425
+ * browser from displaying its own validation errors.
1426
+ */
1427
+ this.required = false;
1428
+ /**
1429
+ * Key used to set vertical alignment of action buttons
1430
+ */
1431
+ this.alignment = "middle";
1432
+ /**
1433
+ * Visually hides the groups labels in the editable table list used to display the list of files
1434
+ */
1435
+ this.hideGroups = false;
1436
+ /**
1437
+ * Map of string that contain list of uploaded files.
1438
+ */
1439
+ this.files = new Map();
1440
+ /**
1441
+ * Property to read if the internally used editable-table contains errors or not
1442
+ */
1443
+ this.valid = !this.required;
1444
+ /**
1445
+ * Property to change labelDefaults defaults on the component.
1446
+ * normally you would handle these strings on an application level and override label when needed
1447
+ * @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
1448
+ */
1449
+ this.labelDefaults = {
1450
+ fi: "Lisää liite",
1451
+ sv: "Lägg till en bilaga",
1452
+ en: "Add attachments",
1453
+ };
1454
+ /**
1455
+ * Label for the input.
1456
+ * @default { fi: "Lisää liite",sv: "Lägg till en bilaga",en: "Add attachments"}
1457
+ */
1458
+ this.label = getLocaleString(this.labelDefaults);
1459
+ /**
1460
+ * Property to change descriptionDefaults defaults on the component.
1461
+ * @default {
1462
+ * en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
1463
+ * sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
1464
+ * fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
1465
+ * }
1466
+ */
1467
+ this.descriptionDefaults = {
1468
+ en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
1469
+ sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
1470
+ fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
1471
+ };
1472
+ /**
1473
+ * Description for the upload component.
1474
+ * @default {
1475
+ * en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
1476
+ * sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
1477
+ * fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
1478
+ * }
1479
+ */
1480
+ this.description = getLocaleString(this.descriptionDefaults);
1481
+ /**
1482
+ * Defaults for the filelist's empty state.
1483
+ * @default {
1484
+ fi: "Ei vielä lisättyjä tiedostoja.",
1485
+ sv: "Inga filer har lagts till ännu.",
1486
+ en: "No files added yet.",
1487
+ }
1488
+ */
1489
+ this.fileListEmptyDefaults = {
1490
+ fi: "Ei vielä lisättyjä tiedostoja.",
1491
+ sv: "Inga filer har lagts till ännu.",
1492
+ en: "No files added yet.",
1493
+ };
1494
+ /**
1495
+ * Label for the filelist's empty state.
1496
+ * @default { fi: "Ei vielä lisättyjä tiedostoja.",sv: "Inga filer har lagts till ännu.",en: "No files added yet."}
1497
+ */
1498
+ this.fileListEmpty = getLocaleString(this.fileListEmptyDefaults);
1499
+ /**
1500
+ * Display the input in error state along with an error message.
1501
+ */
1502
+ this.error = "";
1503
+ /**
1504
+ * Default errorcodes used by the component, modifiable via javascript
1505
+ */
1506
+ this.errorCodes = errorCodes;
1507
+ /**
1508
+ * Use maxBytes to specify the maximum size in Bytes of a file that can be uploaded.
1509
+ */
1510
+ this.maxBytes = 200000000;
1511
+ /**
1512
+ * Use maxBytesTotal to specify the maximum size in Bytes of All files combined that can be uploaded.
1513
+ */
1514
+ this.maxBytesTotal = undefined;
1515
+ /**
1516
+ * Use maxFiles to specify the maximum amount of files that can be uploaded
1517
+ */
1518
+ this.maxFiles = 99;
1519
+ /**
1520
+ * A string of commaseperated file type values that are allowed
1521
+ * @example: .pdf,.doc,.docx
1522
+ */
1523
+ this.allowedExtensions = "all";
1524
+ /**
1525
+ * A string of commaseperated mime type values that are allowed
1526
+ * @example: image/*,application/msword,
1527
+ */
1528
+ this.allowedMimetypes = "";
1529
+ /**
1530
+ * Use multiple to allow the user to select multiple files when uploading
1531
+ */
1532
+ this.multiple = true;
1533
+ /**
1534
+ * Use limitSelection to enforce the value in allowedExtension & allowedMimetypes when selecting files,
1535
+ * by default this is off, setting this to true will limit the users choices to what has been explicitly set
1536
+ */
1537
+ this.limitSelection = false;
1538
+ /**
1539
+ * Use hideCancelButton to hide cancel button for pending and in progress uploads
1540
+ */
1541
+ this.hideCancelButton = false;
1542
+ /**
1543
+ * If true the input caption will be placed below file list and footer
1544
+ */
1545
+ this.captionOnBottom = false;
1546
+ /**
1547
+ * Use show-uploaded-items-header to show single, generic, header for uploaded items
1548
+ */
1549
+ this.showUploadedItemsHeader = false;
1550
+ /**
1551
+ * Property to change single uploaded items header label
1552
+ * @default {
1553
+ * fi: "Ladattu tiedosto.",
1554
+ * sv: "Nedladdad fil.",
1555
+ * en: "Uploaded file.",
1556
+ * }
1557
+ */
1558
+ this.uploadedItemsHeaderLabel = {
1559
+ fi: "Ladattu tiedosto",
1560
+ sv: "Lägg till en bilaga",
1561
+ en: "Uploaded file",
1562
+ };
1563
+ /**
1564
+ * Heading level for the label in the legend element. This is only used to give screen readers better logical structure.
1565
+ * This does not affect visual appearance.
1566
+ */
1567
+ this.headerHeadingLevel = "h3";
1568
+ /**
1569
+ * Use hide-header to hide upload component header and caption (if caption is not on bottom)
1570
+ */
1571
+ this.hideHeader = false;
1572
+ /**
1573
+ * If link-click-event is set to true then upload component
1574
+ * will emit an event on uploaded file link click (check linkClick event).
1575
+ */
1576
+ this.emitEvent = false;
1577
+ /**
1578
+ * Map action name to DuetLangObject or boolean. Sets upload item action buttons titles
1579
+ * (show as DOM tooltip when hovering).
1580
+ */
1581
+ this.actionButtonTitles = {
1582
+ cancel: false,
1583
+ delete: false,
1584
+ };
1585
+ /**
1586
+ * Use rename-duplicates to auto rename files with the same name instead of replacing them.
1587
+ */
1588
+ this.renameDuplicates = false;
1120
1589
  /**
1121
1590
  * Own Properties
1122
1591
  */
@@ -1139,6 +1608,45 @@ const DuetUpload = class {
1139
1608
  pending: "pending",
1140
1609
  failure: "failure",
1141
1610
  };
1611
+ /**
1612
+ * Array of group names that you want the editable table to use to display files
1613
+ * @required
1614
+ * @example [{ id: "success", label: {fi: "Onnistunut", en: "Success", sv: "Alt klart", }}]
1615
+ */
1616
+ this.groups = [
1617
+ {
1618
+ id: this.DefaultGroups.success,
1619
+ label: {
1620
+ fi: "Valmiit tiedostot",
1621
+ sv: "Files success",
1622
+ en: "Files success",
1623
+ },
1624
+ },
1625
+ {
1626
+ id: this.DefaultGroups.failure,
1627
+ label: {
1628
+ fi: "Tiedostot, joissa on virheitä",
1629
+ sv: "Filer med fel",
1630
+ en: "Files with errors",
1631
+ },
1632
+ },
1633
+ {
1634
+ id: this.DefaultGroups.inprogress,
1635
+ label: {
1636
+ fi: "Kesken olevat tiedostot",
1637
+ sv: "Filer inprogress",
1638
+ en: "Files inprogress",
1639
+ },
1640
+ },
1641
+ {
1642
+ id: this.DefaultGroups.pending,
1643
+ label: {
1644
+ en: "Files to upload",
1645
+ sv: "Filer att ladda",
1646
+ fi: "Ladattavat tiedostot",
1647
+ },
1648
+ },
1649
+ ];
1142
1650
  this.kick = debounce(() => {
1143
1651
  this.tick = Date.now();
1144
1652
  }, 30); // will trigger re-render
@@ -1578,169 +2086,6 @@ const DuetUpload = class {
1578
2086
  });
1579
2087
  return (h(Fragment, null, this.showUploadedItemsHeader && (h(UploadItemHeader, { categoryLabel: hasCategory ? this.categoryLabel : undefined, label: this.uploadedItemsHeaderLabel })), ItemRows));
1580
2088
  };
1581
- this.tick = Date.now();
1582
- this.accessibleActiveDescendant = undefined;
1583
- this.accessibleDescribedBy = undefined;
1584
- this.accessibleControls = undefined;
1585
- this.accessibleOwns = undefined;
1586
- this.external = false;
1587
- this.middleware = null;
1588
- this.deferUpload = false;
1589
- this.hideButton = false;
1590
- this.actions = [
1591
- {
1592
- icon: "action-delete",
1593
- color: "color-danger",
1594
- size: "x-small",
1595
- background: "gray-lightest",
1596
- name: "delete",
1597
- map: ["success", "failure"],
1598
- label: {
1599
- fi: "Poista tiedosto",
1600
- en: "Delete the file",
1601
- sv: "Ta bort filen",
1602
- },
1603
- },
1604
- {
1605
- icon: "navigation-close",
1606
- color: "primary",
1607
- size: "x-small",
1608
- background: "gray-lightest",
1609
- name: "cancel",
1610
- map: ["inprogress", "pending"],
1611
- label: {
1612
- fi: "Keskeytä lähetys",
1613
- en: "Cancel the upload",
1614
- sv: "Stop överföringen",
1615
- },
1616
- },
1617
- ];
1618
- this.uri = undefined;
1619
- this.showLinks = false;
1620
- this.caption = undefined;
1621
- this.statusLabelDefaults = {
1622
- fi: {
1623
- inProgress: "Lähetetään {filesUploaded}, yhteensä lähetettävänä {filesTotal}.",
1624
- inProgressWithErrors: "Lähetetään {filesInProgress}, lähetetty {filesUploaded}, yhteensä lähetettävänä {filesTotal}, {filesWithErrors} epäonnistui",
1625
- done: "Lähetys valmis, {filesTotal} lisätty onnistuneesti",
1626
- doneWithErrors: "Lähetys valmis, {filesUploaded} lisätty onnistuneesti, {filesWithErrors} epäonnistui",
1627
- files: "tiedostoa",
1628
- file: "tiedosto",
1629
- },
1630
- sv: {
1631
- inProgress: "Laddar upp {filesUploaded} av {filesTotal}",
1632
- inProgressWithErrors: "Laddar upp {filesInProgress}, {filesUploaded} uppladdad av {filesTotal}, {filesWithErrors} misslyckades",
1633
- done: "Uppladdningen slutförd, {filesTotal} har lagts till",
1634
- doneWithErrors: "Uppladdningen slutförd, {filesUploaded} har lagts till, {filesWithErrors} misslyckades",
1635
- files: "filer",
1636
- file: "fil",
1637
- },
1638
- en: {
1639
- inProgress: "Uploading {filesUploaded} of {filesTotal}",
1640
- inProgressWithErrors: "Uploading {filesInProgress}, {filesUploaded} uploaded of {filesTotal}, {filesWithErrors} failed",
1641
- done: "Upload completed, {filesTotal} added successfully",
1642
- doneWithErrors: "Upload completed, {filesUploaded} added successfully, {filesWithErrors} failed.",
1643
- files: "files",
1644
- file: "file",
1645
- },
1646
- };
1647
- this.statusMessageLabel = getLocaleString(this.statusLabelDefaults);
1648
- this.buttonLabelDefaults = {
1649
- fi: "Lisää liite",
1650
- sv: "Lägg till en bilaga",
1651
- en: "Add an attachment",
1652
- };
1653
- this.buttonLabel = getLocaleString(this.buttonLabelDefaults);
1654
- this.accessibleButtonLabel = undefined;
1655
- this.theme = "";
1656
- this.disabled = false;
1657
- this.identifier = undefined;
1658
- this.margin = "auto";
1659
- this.required = false;
1660
- this.alignment = "middle";
1661
- this.hideGroups = false;
1662
- this.files = new Map();
1663
- this.valid = !this.required;
1664
- this.labelDefaults = {
1665
- fi: "Lisää liite",
1666
- sv: "Lägg till en bilaga",
1667
- en: "Add attachments",
1668
- };
1669
- this.label = getLocaleString(this.labelDefaults);
1670
- this.descriptionDefaults = {
1671
- en: "You may attach the following filetypes: {filetypes} - as well as the most common video files. You can upload {maxbytestotal} of files at a time, and add up to {maxfiles} attachments at a time each no larger than {maxbytes}.",
1672
- sv: "Du kan bifoga följande filtyper: {filetypes} - samt de vanligaste videofilerna. Du kan ladda upp {maxbytestotal} av filer åt gången, och lägga till upp till {maxfiles} bilagor åt gången varje inte större än {maxbytes}.",
1673
- fi: "Voit liittää seuraavat tiedostotyypit: {filetypes} - sekä yleisimmät videotiedostot. Voit lähettää {maxbytestotal} tiedostoa kerrallaan, ja lisätä enintään {maxfiles} liitettä kerrallaan, jokainen enintään {maxbytes} kokoisena.",
1674
- };
1675
- this.description = getLocaleString(this.descriptionDefaults);
1676
- this.fileListEmptyDefaults = {
1677
- fi: "Ei vielä lisättyjä tiedostoja.",
1678
- sv: "Inga filer har lagts till ännu.",
1679
- en: "No files added yet.",
1680
- };
1681
- this.fileListEmpty = getLocaleString(this.fileListEmptyDefaults);
1682
- this.error = "";
1683
- this.errorCodes = errorCodes;
1684
- this.name = undefined;
1685
- this.maxBytes = 200000000;
1686
- this.maxBytesTotal = undefined;
1687
- this.maxFiles = 99;
1688
- this.allowedExtensions = "all";
1689
- this.allowedMimetypes = "";
1690
- this.multiple = true;
1691
- this.limitSelection = false;
1692
- this.hideCancelButton = false;
1693
- this.value = undefined;
1694
- this.externalUploadButtonId = undefined;
1695
- this.captionOnBottom = false;
1696
- this.showUploadedItemsHeader = false;
1697
- this.uploadedItemsHeaderLabel = {
1698
- fi: "Ladattu tiedosto",
1699
- sv: "Lägg till en bilaga",
1700
- en: "Uploaded file",
1701
- };
1702
- this.headerHeadingLevel = "h3";
1703
- this.hideHeader = false;
1704
- this.emitEvent = false;
1705
- this.actionButtonTitles = {
1706
- cancel: false,
1707
- delete: false,
1708
- };
1709
- this.renameDuplicates = false;
1710
- this.groups = [
1711
- {
1712
- id: this.DefaultGroups.success,
1713
- label: {
1714
- fi: "Valmiit tiedostot",
1715
- sv: "Files success",
1716
- en: "Files success",
1717
- },
1718
- },
1719
- {
1720
- id: this.DefaultGroups.failure,
1721
- label: {
1722
- fi: "Tiedostot, joissa on virheitä",
1723
- sv: "Filer med fel",
1724
- en: "Files with errors",
1725
- },
1726
- },
1727
- {
1728
- id: this.DefaultGroups.inprogress,
1729
- label: {
1730
- fi: "Kesken olevat tiedostot",
1731
- sv: "Filer inprogress",
1732
- en: "Files inprogress",
1733
- },
1734
- },
1735
- {
1736
- id: this.DefaultGroups.pending,
1737
- label: {
1738
- en: "Files to upload",
1739
- sv: "Filer att ladda",
1740
- fi: "Ladattavat tiedostot",
1741
- },
1742
- },
1743
- ];
1744
2089
  }
1745
2090
  watchValidHandler(newValue, oldValue) {
1746
2091
  if (newValue !== oldValue) {
@@ -1845,10 +2190,10 @@ const DuetUpload = class {
1845
2190
  this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
1846
2191
  }
1847
2192
  // @ts-ignore
1848
- return (h(Host, { key: 'f22b72ae72f670b1d3b96699cc22b916e44805bb', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: 'd9062ebd9b108b426984ea6336014d707816be6a', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: 'f05cf1d0a76d07a12e0169d4554344860fe8d5e9', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '5f6ea952dccd0579fa97ae6e751c727bb2b72383', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: 'b99e0d6949b2377b83a5b8e3ba4fab263685e427', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: '0de37444dc62aac38f4ce95cb488cbd9c6485814', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: '0d169ad657e0ae9af98769dd2c7b007899826afe', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: 'a957b0255feb705762d39f4615bd9a49a4569017', name: "filefooter" }), h("slot", { key: 'f76b8605d58a7659c2dd0aa29c48a1f34e4a18a9', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: '3c3b2d1cc4929a960035feb0055c41d435a2cfba', margin: "none", size: "small" }, h("div", { key: 'e5f8bd26ec72800dd78794620d3d1dcfb4c55ad8', class: "upload-bottom-caption" }, caption))), h("slot", { key: 'c3d1e3f1725fdddfaad3eec7fdc9ed7cb3ef8b5b', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '25b1dfcfeb51ed4dce30e9dc0dfd4bf3e5adb41e' }, h("duet-spacer", { key: 'd19f3991e372c617a6b9509adbc062a03f390090', size: "large" }), h("duet-button", { key: '8536bf08e8becf2c50e0fff041facbe975f18ad5', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
2193
+ return (h(Host, { key: '855e27e55645747625669bf080e6f65423b9bbf0', class: { "duet-m-0": this.margin === "none" } }, h("duet-fieldset", { key: '89d6b1b88260ccb7ffa2f4a3130fdf74d904e048', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, h("slot", { key: '10b9cdc44bd94871f538a9299ea6252f4375a864', name: "header" }), !this.files.size && (h("duet-empty-state", { key: '924905b1aafa76175b93f12dd6e7d7ac8ac5b5e3', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, h("duet-paragraph", { key: 'f744c2afdb520cd0e69a15c0a942f6ecd8e30b75', margin: "none" }, this.fileListEmpty))), !!this.files.size && h("slot", { key: 'da55dafcb732e24b895185995040decfe40382c6', name: "fileheader" }), !!this.files.size && (h("duet-upload-aria-status", { key: '199e78733f262f857124540bbd055e7c6cbcaf6a', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && h("slot", { key: 'd6327694548a1ee39188af3935c67d0a6eaead79', name: "filefooter" }), h("slot", { key: '718e1e5d1f7041d2d596ada75a717942b74999f6', name: "uploadfooter" }), this.captionOnBottom && (h("duet-caption", { key: 'd15f3fd09b07de11dc1f725bc9ee344889b6445f', margin: "none", size: "small" }, h("div", { key: '1e4e1c3a29338fa3339cd2de701ba3c776c1166a', class: "upload-bottom-caption" }, caption))), h("slot", { key: '90f1e8de4c8359df2b8dded1bf5211857ce48a79', name: "afterfooter" }), !this.hideButton && (h(Fragment, { key: '431fb04536068eefdf974fc34f89f56e712674c9' }, h("duet-spacer", { key: 'c98d3f3e0f06d17b1b86ab40486a663ef8c6a75e', size: "large" }), h("duet-button", { key: '1f057848bdacb5e69ef63e2bfdc81e216271f455', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
1849
2194
  this.bytesMaxReached ||
1850
2195
  this.filesToUploadExceedsLimit ||
1851
- this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '970bfa230702ba75dc8f8ac9e71f4183c4c3c0d7' }, h("duet-spacer", { key: '72b8c0c087760db99ce3fdda33e33471b9606d61', size: "medium" }), h("duet-alert", { key: '0769bcb8f099a5094dba69584d27909b915a1b18', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: 'fba8af1631c5f83e159c7070c9680fb36e5e2d80', "aria-hidden": "true" }, h("input", { key: '0c7c75a5a7328dfde2317095e37b363108c6423f', ref: input => {
2196
+ this.filesToUploadTotalSizeIsAboveMax) && (h(Fragment, { key: '8169162805d7ec3a093344e09a4bd9241c1b9c58' }, h("duet-spacer", { key: '0f6500a4ada6c4b3c73f6524bf224ee1d79f0ae6', size: "medium" }), h("duet-alert", { key: '8bbc63eb777fa98ff0f797d970d66835ac6155a5', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), h("duet-visually-hidden", { key: '5fb70459ca757cc24041ce6e01414165ba6497b5', "aria-hidden": "true" }, h("input", { key: '808b15c23e12cf691f85e48e1a03106409b81565', ref: input => {
1852
2197
  this.nativeInput = input;
1853
2198
  }, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
1854
2199
  "duet-upload": true,
@@ -2033,6 +2378,6 @@ const DuetUpload = class {
2033
2378
  "valid": ["watchValidHandler"]
2034
2379
  }; }
2035
2380
  };
2036
- DuetUpload.style = DuetUploadStyle0;
2381
+ DuetUpload.style = duetUploadCss;
2037
2382
 
2038
2383
  export { DuetEditableTable as duet_editable_table, DuetTable as duet_table, DuetUpload as duet_upload };